/*
 * Statsbook explainer — Portal-native styles.
 *
 * Scoped under .statsbook-app / .statsbook-doc so the doc's ELEMENT styling
 * (endpoint <pre> blocks, prose lists) coexists with Bootstrap instead of
 * colliding the way the classic standalone CSS did. All colors go through
 * Bootstrap tokens (var(--bs-*)) and Portal tokens.
 *
 * There is no heading rule here any more. Each endpoint section is a
 * components/group.twig, so its title is a .portal-ios-group-title and takes
 * the kit's voice. The rule this file used to carry — uppercase, accent color,
 * a bottom hairline — was that voice re-implemented privately, which is the
 * drift the kit-namespace contract exists to prevent. Its --sb-accent-text
 * token went with it: nothing else consumed it.
 */

.statsbook-app {
    padding-block: 1.5rem;
}

.statsbook-doc {
    max-width: 860px;
    line-height: 1.6;
}

/* API endpoint URLs */
.statsbook-doc pre {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: 0.75rem 1rem;
    margin: 0 0 0.9rem;
    font-family: var(--portal-font-mono);
    font-size: var(--portal-text-md);
    color: var(--bs-body-color);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.statsbook-doc ul {
    color: var(--bs-secondary-color);
    padding-left: 1.5rem;
}
.statsbook-doc li { padding: 0.15rem 0; }
.statsbook-doc li strong { color: var(--bs-body-color); }
