/* veelscp.com — browse pages (hubs, characters, people, collections, genres).
   Self-contained: t4 tokens + the shared nav/footer chrome + the page components.
   Rendered by api/browse.js. Everything is driven by the tokens so the light theme
   needs no component overrides. */

:root {
    --t4-bg:#000; --t4-fg:#fff; --t4-muted:rgba(255,255,255,.66); --t4-faint:rgba(255,255,255,.42);
    --t4-line:rgba(255,255,255,.12); --t4-window-bg:#08080a; --t4-pill-bg:#fff; --t4-pill-fg:#000;
    --t4-dot:rgba(255,255,255,.16); --t4-soft:rgba(255,255,255,.06); --t4-softer:rgba(255,255,255,.03);
    --blue:#4A90E2;
    --bp-hover-line:rgba(255,255,255,.2); --bp-hover-shadow:0 12px 34px rgba(0,0,0,.45);
    --mono:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}
html.t4-light {
    --t4-bg:#e7e8ec; --t4-fg:#0a0a0c; --t4-muted:rgba(0,0,0,.6); --t4-faint:rgba(0,0,0,.44);
    --t4-line:rgba(0,0,0,.14); --t4-window-bg:#f5f5f7; --t4-pill-bg:#0a0a0c; --t4-pill-fg:#fff;
    --t4-dot:rgba(0,0,0,.2); --t4-soft:rgba(0,0,0,.05); --t4-softer:rgba(0,0,0,.025);
    --bp-hover-line:rgba(0,0,0,.18); --bp-hover-shadow:0 12px 34px rgba(0,0,0,.14);
}

* { box-sizing:border-box; }
html, body { background:var(--t4-bg); font-family:'Geist','Inter',sans-serif; color:var(--t4-fg); margin:0; }
html { -webkit-text-size-adjust:100%; }
body { overflow-x:hidden; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
button, input { font-family:inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
.t4-page-frame { position:fixed; inset:8px; z-index:9000; pointer-events:none; border:1px solid var(--t4-line); border-radius:26px; box-shadow:0 0 0 9px var(--t4-bg); }

/* ── nav (same as every other t4 page) ───────────────────────────────────── */
.t4-nav { position:fixed; top:8px; left:8px; right:8px; z-index:100; padding:8px 0; transition:background .3s ease; border-radius:26px 26px 0 0; }
.t4-nav-inner { max-width:1300px; margin:0 auto; padding:0 clamp(12px,1.4vw,20px); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; }
.t4-nav.scrolled { background:rgba(0,0,0,.78); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
html.t4-light .t4-nav.scrolled { background:rgba(255,255,255,.8); }
.t4-logo { justify-self:start; display:flex; align-items:center; text-decoration:none; }
.t4-logo img { height:30px; width:auto; object-fit:contain; }
html.t4-light .t4-logo img { filter:invert(1); }
.t4-links { justify-self:center; display:flex; gap:clamp(16px,2vw,32px); }
.t4-links a { color:var(--t4-muted); font-size:15px; font-weight:500; text-decoration:none; transition:color .2s ease; }
.t4-links a:hover { color:var(--t4-fg); }
.t4-links a.active { color:var(--t4-fg); font-weight:600; }
.t4-right { justify-self:end; display:flex; align-items:center; gap:12px; }
.t4-pill { display:inline-flex; align-items:center; gap:9px; background:var(--t4-pill-bg); color:var(--t4-pill-fg); font-weight:600; font-size:15px; padding:11px 22px; border-radius:9999px; text-decoration:none; border:none; cursor:pointer; line-height:1; transition:transform .15s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease; }
.t4-pill:hover { transform:translateY(-2px); opacity:.9; }
.t4-theme { width:40px; height:40px; border-radius:50%; border:1px solid var(--t4-line); background:transparent; color:var(--t4-fg); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s ease; }
.t4-theme:hover { background:var(--t4-soft); }
.t4-theme .sun { display:none; } .t4-theme .moon { display:flex; }
html.t4-light .t4-theme .moon { display:none; } html.t4-light .t4-theme .sun { display:flex; }
.t4-profile { background:var(--t4-soft); color:var(--t4-fg); border:1px solid var(--t4-line); padding:5px 14px 5px 5px; gap:9px; font-weight:400; }
.t4-avatar { width:28px; height:28px; border-radius:50%; overflow:hidden; flex:0 0 auto; background:var(--t4-pill-bg); color:var(--t4-pill-fg); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; }
.t4-avatar img { width:100%; height:100%; object-fit:cover; }
.t4-uname { font-size:14px; font-weight:400; }
.t4-caret { opacity:.55; transition:transform .2s ease; }
.t4-profile-wrap { position:relative; }
.t4-profile-wrap.open .t4-caret { transform:rotate(180deg); }
.t4-dropdown { position:absolute; top:calc(100% + 10px); right:0; min-width:200px; background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), rgba(14,14,18,.55); backdrop-filter:blur(28px) saturate(1.5); -webkit-backdrop-filter:blur(28px) saturate(1.5); border:1px solid var(--t4-line); border-radius:14px; padding:6px; box-shadow:0 24px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12); opacity:0; transform:translateY(-6px) scale(.98); pointer-events:none; transition:opacity .2s ease, transform .2s ease; z-index:200; }
html.t4-light .t4-dropdown { background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.75)); box-shadow:0 24px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.9); }
.t4-profile-wrap.open .t4-dropdown { opacity:1; transform:none; pointer-events:auto; }
.t4-dropdown a, .t4-dropdown button { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:10px 12px; border-radius:99px; background:none; border:none; cursor:pointer; color:var(--t4-fg); font-size:14px; font-weight:500; text-decoration:none; font-family:inherit; transition:background .15s ease; }
.t4-dropdown a:hover, .t4-dropdown button:hover { background:var(--t4-soft); }
.t4-dropdown .t4-logout { color:#ff6b6b; } .t4-dropdown .t4-logout svg { stroke:#ff6b6b; }
.t4-burger { display:none; flex-direction:column; gap:5px; width:30px; height:30px; align-items:center; justify-content:center; border:none; background:transparent; cursor:pointer; flex:0 0 auto; padding:0; }
.t4-burger span { width:22px; height:2px; background:var(--t4-fg); border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
.t4-burger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.t4-burger.open span:nth-child(2) { opacity:0; }
.t4-burger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.t4-mobile-menu { position:fixed; top:62px; left:10px; right:10px; z-index:120; display:none; flex-direction:column; background:rgba(10,10,12,.92); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border:1px solid var(--t4-line); border-radius:18px; padding:8px 22px; box-shadow:0 20px 50px rgba(0,0,0,.5); }
html.t4-light .t4-mobile-menu { background:rgba(243,243,246,.95); box-shadow:0 20px 50px rgba(0,0,0,.18); }
.t4-mobile-menu.open { display:flex; }
.t4-mobile-menu a { display:flex; align-items:center; gap:14px; width:100%; text-align:left; padding:16px 4px; border:none; border-bottom:1px solid var(--t4-line); background:none; cursor:pointer; font-family:inherit; color:var(--t4-fg); text-decoration:none; font-size:16px; font-weight:500; transition:color .2s ease; }
.t4-mobile-menu a:last-child { border-bottom:none; }
.t4-mobile-menu a svg { width:20px; height:20px; flex:0 0 auto; opacity:.8; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.t4-footer { background:var(--t4-bg); padding:60px clamp(22px,4vw,52px) 40px; border-top:1px solid var(--t4-line); }
.t4-footer-inner { max-width:1300px; margin:0 auto; }
.t4-foot-cols { display:grid; grid-template-columns:repeat(5,1fr); gap:30px; }
.t4-foot-col h4 { color:var(--t4-muted); opacity:.7; font-size:13px; font-weight:600; margin:0 0 18px; }
.t4-foot-col a { display:flex; align-items:center; gap:5px; color:var(--t4-fg); opacity:.82; font-size:14px; font-weight:500; text-decoration:none; margin-bottom:14px; transition:opacity .2s ease; }
.t4-foot-col a:hover { opacity:1; }
.t4-foot-col a .ext { font-size:11px; opacity:.5; }
.t4-foot-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:50px; padding-top:26px; border-top:1px solid var(--t4-line); }
.t4-foot-copy { color:var(--t4-muted); font-size:13px; }
.t4-foot-social { display:flex; gap:18px; }
.t4-foot-social a { color:var(--t4-muted); font-size:17px; transition:color .2s ease; }
.t4-foot-social a:hover { color:var(--t4-fg); }

/* ── page ────────────────────────────────────────────────────────────────── */
.bp { max-width:1300px; margin:0 auto; padding:126px clamp(22px,4vw,52px) 110px; min-height:76vh; }

.bp-crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 20px; font-size:13px; color:var(--t4-faint); }
.bp-crumbs a { color:var(--t4-muted); text-decoration:none; transition:color .2s ease; }
.bp-crumbs a:hover { color:var(--t4-fg); }
.bp-crumbs i { font-style:normal; color:var(--t4-dot); }

.bp-head-row { display:flex; align-items:flex-end; gap:30px; }
.bp-head-main { min-width:0; flex:1; }
.bp-portrait { flex:0 0 auto; width:136px; aspect-ratio:2/3; border-radius:14px; overflow:hidden; border:1px solid var(--t4-line); background:var(--t4-soft); }
.bp-portrait img { display:block; width:100%; height:100%; object-fit:cover; }
.bp-kicker { margin:0 0 12px; font-size:.78rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--t4-muted); }
.bp-h1 { margin:0; max-width:20ch; font-weight:300; font-size:clamp(2rem,4.6vw,3.6rem); line-height:1.06; letter-spacing:-.03em; text-wrap:balance; overflow-wrap:anywhere; }
.bp-lede { margin:20px 0 0; max-width:68ch; font-size:16px; line-height:1.62; color:var(--t4-muted); }
.bp-lede + .bp-lede { margin-top:12px; }
.bp-stat { margin:16px 0 0; font-size:14px; color:var(--t4-muted); }
.bp-stat b { color:var(--t4-fg); font-weight:600; font-variant-numeric:tabular-nums; }
.bp-stat span + span::before { content:'·'; margin:0 9px; color:var(--t4-dot); }
.bp-src { margin:10px 0 0; font-size:12px; color:var(--t4-faint); }

/* hub links — the same chip as the mobile homepage filters */
.bp-hubs { display:flex; flex-wrap:wrap; gap:8px; margin:32px 0 0; padding:0 0 24px; border-bottom:1px solid var(--t4-line); }
.bp-chips { display:flex; flex-wrap:wrap; gap:8px; }
.bp-chip { display:inline-flex; align-items:center; gap:8px; max-width:100%; padding:8px 16px; border-radius:999px; border:1px solid var(--t4-line); color:var(--t4-muted); font-size:13px; font-weight:500; line-height:1.2; text-decoration:none; white-space:nowrap; transition:color .2s ease, border-color .2s ease, background .2s ease; }
.bp-chip:hover { color:var(--t4-fg); border-color:var(--bp-hover-line); }
.bp-chip.on { background:var(--t4-pill-bg); color:var(--t4-pill-fg); border-color:transparent; font-weight:600; }
.bp-chip span { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.bp-chip i { font-style:normal; font-size:12px; color:var(--t4-faint); font-variant-numeric:tabular-nums; }

/* sections */
.bp-sec { margin-top:60px; }
.bp-sec:first-of-type { margin-top:40px; }
.bp-sec-h { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin:0 0 16px; }
.bp-h2 { margin:0; font-size:.8rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--t4-muted); }
.bp-more { flex:0 0 auto; font-size:13px; font-weight:500; color:var(--t4-muted); text-decoration:none; transition:color .2s ease; }
a.bp-more:hover { color:var(--t4-fg); }
.bp-note { margin:-6px 0 16px; max-width:68ch; font-size:14px; line-height:1.6; color:var(--t4-muted); }
.bp-titles + .bp-note { margin:18px 0 0; }
.sr { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }

/* running text — a biography */
.bp-prose { max-width:78ch; font-size:15px; line-height:1.7; color:var(--t4-muted); }
.bp-prose p { margin:0; }
.bp-prose p + p { margin-top:14px; }
.bp-prose + .bp-info { margin-top:22px; }

/* count + sort line above a grid */
.bp-tools { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 18px; }
.bp-count { margin:0; font-size:14px; color:var(--t4-muted); }
.bp-count b { color:var(--t4-fg); font-weight:600; font-variant-numeric:tabular-nums; }
.bp-sort { display:flex; align-items:center; gap:20px; }
.bp-sort a { padding:4px 0; font-size:13px; font-weight:500; color:var(--t4-muted); text-decoration:none; transition:color .2s ease; }
.bp-sort a:hover { color:var(--t4-fg); }
.bp-sort a.on { color:var(--t4-fg); font-weight:600; box-shadow:0 1px 0 var(--t4-fg); }

/* poster cards — the homepage card: poster, bottom shade, label + title + tags */
.bp-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px; }
.bp-card { position:relative; display:block; aspect-ratio:2/3; border-radius:14px; overflow:hidden; border:1px solid var(--t4-line); background:var(--t4-soft); color:#fff; text-decoration:none; transition:border-color .2s ease, box-shadow .2s ease; }
.bp-grid.is-sport .bp-card { aspect-ratio:3/4; }
.bp-card:hover { border-color:var(--bp-hover-line); box-shadow:var(--bp-hover-shadow); }
.bp-card-img { position:absolute; inset:0; }
.bp-card-img img { display:block; width:100%; height:100%; object-fit:cover; filter:brightness(.96); transition:filter .2s ease; }
.bp-card:hover .bp-card-img img { filter:brightness(1); }
.bp .is-fb { background:#0b0b0d url('/assets/veel-wordmark-white.png?v=veel2') center/54% auto no-repeat; }
.bp-card-shade { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.82) 100%); pointer-events:none; }
.bp-card-body { position:absolute; left:0; right:0; bottom:0; padding:12px; }
.bp-card-cat { display:block; margin:0 0 5px; font-size:9px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; opacity:.75; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bp-card-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:14.5px; font-weight:700; letter-spacing:-.01em; line-height:1.15; }
.bp-grid.is-sport .bp-card-title { -webkit-line-clamp:3; font-size:13.5px; }
.bp-card-tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:8px; }
.bp-card-tags i { font-style:normal; font-size:9.5px; font-weight:600; padding:3px 7px; border-radius:5px; background:rgba(255,255,255,.14); white-space:nowrap; }

/* divider rows — the scenepack / download list row */
.bp-rows { border-top:1px solid var(--t4-line); }
.bp-rows.cols { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:36px; border-top:none; }
.bp-row { display:flex; align-items:center; gap:14px; min-width:0; padding:12px 10px; margin:0 -10px; border-bottom:1px solid var(--t4-line); color:var(--t4-fg); text-decoration:none; transition:background .15s ease; }
a.bp-row:hover { background:var(--t4-softer); }
.bp-row-rank { flex:0 0 30px; font-family:var(--mono); font-size:13px; color:var(--t4-faint); font-variant-numeric:tabular-nums; }
.bp-thumb { flex:0 0 auto; width:42px; aspect-ratio:2/3; border-radius:7px; overflow:hidden; border:1px solid var(--t4-line); background:var(--t4-soft); }
.bp-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.bp-row-info { flex:1; min-width:0; display:block; }
.bp-row-name { display:block; font-size:15px; font-weight:600; letter-spacing:-.005em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bp-row-sub { display:block; margin-top:3px; font-size:13px; color:var(--t4-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bp-row-tail { flex:0 0 auto; font-size:13px; color:var(--t4-muted); font-variant-numeric:tabular-nums; white-space:nowrap; }

/* title blocks — one film, series or game with its overview */
.bp-titles { border-top:1px solid var(--t4-line); }
/* poster on the left through both rows; the text, then (row 2) the scenepack rows and
   the button. On phones the second row runs the full width under the poster. */
.bp-title { display:grid; grid-template-columns:124px minmax(0,1fr); grid-template-rows:auto 1fr; gap:0 26px; padding:28px 0; border-bottom:1px solid var(--t4-line); }
.bp-title-art { grid-column:1; grid-row:1 / span 2; display:block; align-self:start; aspect-ratio:2/3; border-radius:12px; overflow:hidden; border:1px solid var(--t4-line); background:var(--t4-soft); transition:border-color .2s ease; }
.bp-title-b { grid-column:2; grid-row:1; }
.bp-title-f { grid-column:2; grid-row:2; min-width:0; }
.bp-title-f .bp-chips { margin-top:14px; }
a.bp-title-art:hover { border-color:var(--bp-hover-line); }
.bp-title-art img { display:block; width:100%; height:100%; object-fit:cover; }
.bp-title-b { min-width:0; }
.bp-title-h { margin:0; font-size:20px; font-weight:600; letter-spacing:-.015em; line-height:1.2; overflow-wrap:anywhere; }
.bp-title-h a { text-decoration:none; }
.bp-title-h a:hover { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; text-decoration-color:var(--t4-faint); }
.bp-title-m { margin:7px 0 0; font-size:13px; color:var(--t4-muted); }
.bp-title-d { margin:12px 0 0; max-width:78ch; font-size:14.5px; line-height:1.65; color:var(--t4-muted); }
.bp-title-x { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin:16px 0 0; }
.bp-title-x small { font-size:13px; color:var(--t4-faint); }

/* the scenepacks inside a title block */
.bp-files { list-style:none; margin:16px 0 0; padding:0; max-width:780px; border-top:1px solid var(--t4-line); }
.bp-file { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--t4-line); }
.bp-file-info { min-width:0; }
.bp-file-name { display:block; font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bp-file-sub { display:block; margin-top:2px; font-size:12px; color:var(--t4-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bp-file-q { flex:0 0 auto; font-family:var(--mono); font-size:12px; color:var(--t4-muted); }

.bp-btn { display:inline-flex; align-items:center; gap:8px; padding:10px 20px; border-radius:9999px; border:1px solid var(--t4-line); background:transparent; color:var(--t4-fg); font-size:14px; font-weight:500; line-height:1; text-decoration:none; transition:background .2s ease, border-color .2s ease, opacity .2s ease; }
.bp-btn:hover { background:var(--t4-soft); border-color:var(--bp-hover-line); }
.bp-btn.is-primary { background:var(--t4-pill-bg); color:var(--t4-pill-fg); border-color:transparent; font-weight:600; }
.bp-btn.is-primary:hover { opacity:.9; }

/* facts */
.bp-info { margin:0; max-width:780px; border-top:1px solid var(--t4-line); }
.bp-info div { display:flex; gap:18px; padding:12px 0; border-bottom:1px solid var(--t4-line); font-size:14px; line-height:1.5; }
.bp-info dt { flex:0 0 132px; color:var(--t4-muted); }
.bp-info dd { margin:0; min-width:0; font-weight:500; overflow-wrap:anywhere; }
.bp-info dd a { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; text-decoration-color:var(--t4-faint); }
.bp-info dd a:hover { text-decoration-color:var(--t4-fg); }

/* collections */
.bp-colls { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.bp-coll { display:block; padding:12px 12px 16px; border-radius:16px; border:1px solid var(--t4-line); background:var(--t4-softer); text-decoration:none; transition:border-color .2s ease, box-shadow .2s ease; }
.bp-coll:hover { border-color:var(--bp-hover-line); box-shadow:var(--bp-hover-shadow); }
.bp-coll-art { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.bp-coll-art span { display:block; aspect-ratio:2/3; border-radius:8px; overflow:hidden; background:var(--t4-soft); }
.bp-coll-art img { display:block; width:100%; height:100%; object-fit:cover; }
.bp-coll-name { display:block; margin:14px 4px 0; font-size:16px; font-weight:600; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bp-coll-sub { display:block; margin:4px 4px 0; font-size:13px; color:var(--t4-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* people */
.bp-people { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:22px 18px; }
.bp-person { display:block; min-width:0; text-decoration:none; }
.bp-person-art { display:block; aspect-ratio:2/3; border-radius:14px; overflow:hidden; border:1px solid var(--t4-line); background:var(--t4-soft); transition:border-color .2s ease; }
.bp-person:hover .bp-person-art { border-color:var(--bp-hover-line); }
.bp-person-art img { display:block; width:100%; height:100%; object-fit:cover; filter:brightness(.96); transition:filter .2s ease; }
.bp-person:hover .bp-person-art img { filter:brightness(1); }
.bp-person-name { display:block; margin-top:10px; font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bp-person-sub { display:block; margin-top:2px; font-size:12.5px; color:var(--t4-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* A–Z index */
.bp-az-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px 24px; margin:0 0 22px; }
.bp-letters { display:flex; flex-wrap:wrap; gap:4px; }
.bp-letters a { display:inline-flex; align-items:center; justify-content:center; min-width:32px; height:32px; padding:0 6px; border-radius:9999px; font-family:var(--mono); font-size:13px; font-weight:500; color:var(--t4-muted); text-decoration:none; transition:background .15s ease, color .15s ease; }
.bp-letters a:hover { background:var(--t4-soft); color:var(--t4-fg); }
.bp-filter { flex:0 1 280px; min-width:0; height:40px; padding:0 16px; border-radius:9999px; border:1px solid var(--t4-line); background:var(--t4-softer); color:var(--t4-fg); font-size:14px; transition:border-color .2s ease; }
.bp-filter::placeholder { color:var(--t4-faint); }
.bp-filter:focus { outline:none; border-color:var(--t4-faint); }
.bp-az-g { display:grid; grid-template-columns:76px minmax(0,1fr); gap:0 20px; padding:24px 0; border-top:1px solid var(--t4-line); scroll-margin-top:92px; }
.bp-az-g[hidden] { display:none; }
.bp-az-l { margin:0; font-weight:300; font-size:2rem; line-height:1; letter-spacing:-.03em; }
.bp-az-g ul { list-style:none; margin:0; padding:0; columns:4 190px; column-gap:36px; }
.bp-az-g.is-wide ul { columns:2 320px; }
.bp-az-g li { break-inside:avoid; }
.bp-az-g li[hidden] { display:none; }
.bp-az-g li a { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:7px 0; font-size:14.5px; text-decoration:none; }
.bp-az-g li a span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; opacity:.86; transition:opacity .15s ease; }
.bp-az-g li a:hover span { opacity:1; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; text-decoration-color:var(--t4-faint); }
.bp-az-g li a i { flex:0 0 auto; font-style:normal; font-size:12.5px; color:var(--t4-faint); font-variant-numeric:tabular-nums; }
/* groups headed by a word (the sports categories) rather than a letter */
.bp-az-sep { margin:44px 0 16px; }
.bp-az-g.is-word { grid-template-columns:1fr; gap:12px; }
.bp-az-g.is-word .bp-az-l { font-size:1.15rem; font-weight:500; letter-spacing:-.01em; }
.bp-az-none { margin:0; padding:26px 0; border-top:1px solid var(--t4-line); font-size:14px; color:var(--t4-muted); }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width:1180px){
    .bp-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .bp-people { grid-template-columns:repeat(6,minmax(0,1fr)); }
    .bp-colls { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .bp-rows.cols { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .t4-foot-cols { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:820px){
    .t4-links { display:none; }
    .t4-burger { display:flex; }
    .t4-nav-inner { display:flex !important; justify-content:space-between !important; align-items:center !important; padding:0 22px !important; }
    .t4-right .t4-theme, .t4-right .t4-pill, .t4-right .t4-profile-wrap { display:none !important; }
    .t4-mobile-menu { position:fixed !important; inset:0 !important; z-index:95 !important; background:var(--t4-bg) !important; border:none !important; border-radius:0 !important; box-shadow:none !important; padding:calc(80px + env(safe-area-inset-top)) 26px 40px !important; gap:0 !important; justify-content:flex-start !important; }
    .t4-mobile-menu a { font-size:17px !important; padding:18px 4px !important; }
    .t4-footer { padding-left:18px !important; padding-right:18px !important; }
    .t4-foot-cols { grid-template-columns:repeat(2,1fr); }
    .t4-foot-bottom { flex-direction:column; gap:18px; align-items:flex-start; }
    .t4-page-frame { display:none !important; }
    .t4-nav { top:0 !important; left:0 !important; right:0 !important; border-radius:0 !important; }

    .bp { padding:104px 18px 72px; }
    .bp-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
    .bp-people { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px 12px; }
    .bp-colls { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .bp-sec { margin-top:48px; }
    /* one line of chips that scrolls, bleeding to the screen edges */
    .bp-hubs { flex-wrap:nowrap; overflow-x:auto; margin:26px -18px 0; padding:0 18px 20px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
    .bp-hubs::-webkit-scrollbar { display:none; }
    .bp-hubs .bp-chip { flex:0 0 auto; }
    .bp-az-g { grid-template-columns:1fr; gap:12px; padding:20px 0; }
    .bp-az-g ul { columns:2 150px; column-gap:24px; }
    .bp-az-g.is-wide ul { columns:1; }
}
@media (max-width:560px){
    .t4-nav { padding:calc(14px + env(safe-area-inset-top)) 0 14px !important; background:rgba(0,0,0,.66) !important; -webkit-backdrop-filter:blur(18px) saturate(1.3) !important; backdrop-filter:blur(18px) saturate(1.3) !important; border-bottom:1px solid var(--t4-line) !important; }
    html.t4-light .t4-nav { background:rgba(255,255,255,.72) !important; }

    .bp { padding:calc(92px + env(safe-area-inset-top)) 16px 56px; }
    .bp-hubs { margin-left:-16px; margin-right:-16px; padding-left:16px; padding-right:16px; }
    .bp-h1 { font-size:clamp(1.9rem,8.4vw,2.4rem); }
    .bp-lede { font-size:15px; }
    .bp-head-row { align-items:flex-start; gap:16px; }
    .bp-portrait { width:84px; border-radius:12px; }
    .bp-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .bp-people { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .bp-colls { grid-template-columns:1fr; }
    .bp-rows.cols { grid-template-columns:1fr; }
    .bp-tools { flex-direction:column; align-items:flex-start; gap:10px; }
    .bp-sort { gap:18px; }
    .bp-title { grid-template-columns:78px minmax(0,1fr); grid-template-rows:auto; gap:0 14px; padding:22px 0; }
    .bp-title-art { grid-row:1; border-radius:10px; }
    .bp-title-f { grid-column:1 / -1; }
    .bp-title-h { font-size:17px; }
    .bp-title-d { font-size:14px; }
    .bp-info dt { flex-basis:104px; }
    .bp-row-tail { display:none; }
    .bp-rows.is-chart .bp-row-tail { display:block; font-size:12px; }
    .bp-filter { flex-basis:100%; }
}
@media (prefers-reduced-motion:reduce){ * { transition:none !important; } }
