:root {
    --ink: #0f0f17;            /* trophyInk */
    --ink-deep: #0b0b10;
    --surface: rgba(255,255,255,.04);
    --hair: rgba(255,255,255,.08);
    --text: #f6f4ef;
    --text-2: #a9a8b2;
    --text-3: #6d6c78;
    --yellow: #ffcb1f;         /* the app icon's yellow */
    --gold: #fabd1a;           /* trophyGold */
    --green: #30d158;
    --red: #ff453a;
    --knicks: #1d5bd8;
    --knicks-2: #f58426;
    --celtics: #138a4b;
    --display: 'Figtree', -apple-system, system-ui, sans-serif;
    --app: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Figtree', system-ui, sans-serif;
    --cond: 'Archivo', 'SF Pro Display', system-ui, sans-serif;
    --spring: cubic-bezier(.2, 1.4, .4, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font-family: var(--display); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
/* The app's stipple, used on page backgrounds the same way it sits behind cards */
.stipple { background-image: radial-gradient(rgba(255,255,255,.028) 1px, transparent 1.3px); background-size: 7px 7px; }
/* With WebGL the stipple is drawn once, fixed behind the whole page (field.js) */
.field { position: fixed; top: 0; left: 0; width: 100%; height: 100lvh; z-index: -2; pointer-events: none; }
.has-field .stipple { background-image: none; }

/* Voice: the icon's heavy lowercase, white with yellow for the word that matters */
.big { font-weight: 900; letter-spacing: -.045em; line-height: .92; text-transform: lowercase; }
.big em { font-style: normal; color: var(--yellow); }
/* Nostalgia, kept small: the VCR on-screen display */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); color: #111; font-weight: 800; font-size: 17px; padding: 15px 24px; border-radius: 999px; text-transform: lowercase; transition: transform .2s var(--spring), box-shadow .2s; box-shadow: 0 8px 30px rgba(255,203,31,.18); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,203,31,.3); }
.num { font-family: var(--cond); font-stretch: 84%; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(15,15,23,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.solid { border-bottom-color: var(--hair); }
.nav .wrap { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 24px; letter-spacing: -.04em; }
.logo img { width: 36px; border-radius: 9px; }
.nav nav { display: flex; gap: 26px; align-items: center; font-weight: 700; font-size: 15px; text-transform: lowercase; color: var(--text-2); }
.nav nav a:hover { color: var(--text); }
.nav .btn { padding: 9px 18px; font-size: 15px; color: #111; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 0; position: relative; }
.hero h1 { font-size: clamp(56px, 10vw, 148px); max-width: 1000px; }
.hero .sub { color: var(--text-2); font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; max-width: 640px; margin-top: 26px; line-height: 1.4; }
.hero .sub b { color: var(--text); font-weight: 700; }
.hero .cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; }
.hero .cta span { color: var(--text-2); font-size: 15px; font-weight: 600; max-width: 460px; line-height: 1.45; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
/* The home screen under the home slide's two glows, red and blue, as on the App Store */
.hero-stage { position: relative; width: 100%; max-width: 340px; margin-left: auto; }
.hs-front { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.hs-glow { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hs-glow.a { left: -40%; top: 16%; background: #E31837; } .hs-glow.b { right: -40%; top: 38%; background: #00338D; }
.hero .hero-grid h1 { font-size: clamp(56px, 8.4vw, 124px); }
.btn.store .apple { width: 20px; height: 20px; margin-top: -3px; flex-shrink: 0; }

/* App screenshots in Apple's iPhone frame: upright, unmodified, nothing drawn over them */
.phone img { width: 100%; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.shot { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 26px; align-items: end; padding: 24px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.shot h3 { font-size: 28px; font-weight: 900; letter-spacing: -.035em; line-height: 1; text-transform: lowercase; }
.shot p { color: var(--text-2); font-size: 16px; font-weight: 500; line-height: 1.45; margin-top: 10px; }

/* The TV in a dark room: the card throws its team colors onto the wall */
/* The game on the left, the four couches beside it like the chat next to the game */
.tv-room { position: relative; margin-top: 76px; padding-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch; }
.tv-room::before { content: ''; position: absolute; left: 50%; top: 0; width: min(1400px, 140vw); height: 120%; transform: translateX(-50%); pointer-events: none; z-index: -1;
    background: radial-gradient(ellipse 40% 45% at 30% 45%, rgba(29,91,216,.30), transparent 70%), radial-gradient(ellipse 40% 45% at 70% 50%, rgba(19,138,75,.28), transparent 70%);
    filter: blur(30px); }

/* ---------- App game card (follows the app's Game Detail card) ---------- */
.game {
    position: relative; border-radius: 30px; overflow: hidden; padding: 26px 30px 26px;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(29,91,216,.62), transparent 58%),
        radial-gradient(120% 120% at 100% 100%, rgba(19,138,75,.58), transparent 60%),
        linear-gradient(135deg, #142347, #0f1a24 55%, #0f2a20);
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px rgba(0,0,0,.55);
    font-family: var(--app);
}
.game::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.3px); background-size: 7px 7px; mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.35)); -webkit-mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.35)); }
.game > * { position: relative; }
.g-top { display: flex; justify-content: space-between; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.09); color: #c8c8d0; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.pill.live { background: var(--red); color: #fff; }
.g-meta { display: flex; align-items: center; gap: 8px; padding: 5px; border-radius: 999px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.g-meta .net { font-size: 13px; font-weight: 700; color: #d5d5db; padding: 0 8px 0 10px; letter-spacing: .04em; }
.tgs { display: inline-grid; place-items: center; min-width: 56px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 16px; color: #fff; background: #2b6b49; box-shadow: inset 0 0 0 1.5px rgba(80,210,130,.45); font-variant-numeric: tabular-nums; }
.tgs.gold { background: #6b5317; box-shadow: inset 0 0 0 1.5px rgba(250,189,26,.5); }
.tgs.flat { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.15); }
.g-score { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-top: 18px; }
.side { display: flex; align-items: center; gap: 22px; }
.side.r { flex-direction: row-reverse; text-align: right; }
.crest { width: 74px; height: 74px; object-fit: contain; flex-shrink: 0; }
.side .pts { font-size: clamp(64px, 9.4vw, 112px); line-height: .9; }
.side .pts.lose { color: #c3c6cd; opacity: .85; }
.abbr { margin-top: 14px; display: flex; gap: 22px; justify-content: space-between; }
.abbr div { display: grid; }
.abbr b { font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1; }
.abbr span { color: #a9acb6; font-size: 17px; margin-top: 4px; }
.abbr div:last-child { text-align: right; }

.chart { position: relative; margin-top: 18px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.badges { position: relative; height: 66px; }
.badge { position: absolute; top: 0; transform: translateX(-50%); text-align: center; opacity: 0; transition: opacity .35s, transform .45s var(--spring); }
.badge.in { opacity: 1; }
.badge b { display: inline-block; white-space: nowrap; font-family: var(--cond); font-stretch: 84%; font-weight: 800; font-size: 22px; line-height: 1; padding: 6px 14px; border-radius: 999px; color: #fff; font-variant-numeric: tabular-nums; }
.badge small { display: block; color: #b9bbc4; font-size: 14px; font-weight: 600; margin-top: 5px; white-space: nowrap; }
.badge.nyk b { background: #2c56b8; } .badge.bos b { background: #13824a; } .badge.tie b { background: #4a4b55; }
.badge.edge { transform: translateX(-88%); }
.g-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 10px; }
.g-head p { font-size: clamp(18px, 2vw, 24px); font-weight: 500; color: #e6e6ea; line-height: 1.25; max-width: 600px; }

/* The couches as one chat panel beside the game, the same height as the game card: four messages, each on its moment */
.tv-side { display: flex; flex-direction: column; }
.sq { width: 38px; height: 38px; border-radius: 30%; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff; flex-shrink: 0; font-family: var(--display); }
.couches-head { padding: 18px 0 6px; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; text-transform: lowercase; }
.couches { flex: 1; display: flex; flex-direction: column; padding: 4px 20px; border-radius: 30px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); font-family: var(--app); }
.couch { flex: 1; display: flex; gap: 12px; align-items: center; padding: 14px 0; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--spring); }
.couch + .couch { border-top: 1px solid var(--hair); }
.couch.in { opacity: 1; transform: none; }
.couch .sq { width: 34px; height: 34px; font-size: 15px; align-self: flex-start; margin-top: 2px; }
.couch .msg { flex: 1; min-width: 0; }
.couch .who { display: flex; align-items: baseline; gap: 8px; }
.couch .who b { font-size: 15px; font-weight: 700; }
.couch .who span { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.couch .who time { margin-left: auto; color: var(--yellow); font-size: 13px; font-weight: 600; white-space: nowrap; }
.couch q { display: block; margin: 3px 0 4px; font-size: 17px; font-weight: 600; line-height: 1.3; quotes: none; }
.couch small { display: block; color: var(--text-3); font-size: 13px; font-weight: 600; }

/* ---------- Chapters ---------- */
.chapter { padding-top: 170px; }
/* Each section title takes the full width, its two halves on two lines, with the intro under it */
.chapter-head { display: grid; gap: 28px; }
.chapter h2 { font-size: clamp(48px, 6.6vw, 96px); }
.chapter h2 em { display: block; text-wrap: balance; }
.chapter .lede { color: var(--text-2); font-size: 20px; font-weight: 600; line-height: 1.45; max-width: 640px; }
.chapter .lede b { color: var(--text); }
.chapter-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; align-items: start; }
.surface { background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 22px; padding: 20px; font-family: var(--app); }
.surface h4 { display: flex; justify-content: space-between; font-size: 19px; font-weight: 700; }
.surface h4 .more { color: var(--yellow); font-size: 15px; font-weight: 600; }
.stack { display: grid; gap: 20px; }
@media (min-width: 961px) { .chapter-body > .stack { position: sticky; top: 96px; } }

/* Last play + takes */
.play { margin-top: 14px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--hair); }
.play-top { display: flex; align-items: center; gap: 10px; }
.mark { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.ev { font-family: var(--cond); font-stretch: 80%; font-weight: 900; font-size: 14px; letter-spacing: .04em; padding: 4px 9px; border-radius: 7px; color: #111; }
.ev.and1 { background: var(--knicks-2); }
.play-top b { font-size: 17px; font-weight: 700; min-width: 0; line-height: 1.3; }
.play-top .ev, .play-top time { white-space: nowrap; flex-shrink: 0; }
.play-top time { margin-left: auto; color: var(--text-3); font-size: 14px; }
.play p { color: var(--text-2); font-size: 15px; margin: 8px 0 0 40px; }
.reacts { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.reacts button { border: 0; background: rgba(255,255,255,.07); border-radius: 999px; padding: 6px 12px; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .2s var(--spring), background .2s; }
.reacts button:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.reacts button.mine { background: rgba(255,203,31,.18); box-shadow: inset 0 0 0 1.5px rgba(255,203,31,.6); }
.reacts .add { margin-left: auto; background: rgba(255,255,255,.1); font-size: 14px; }
.reacts .add:disabled { cursor: default; color: var(--text-2); background: rgba(255,255,255,.05); transform: none; }
.reacts button:focus-visible, .ruler:focus-within { outline: 2px solid var(--yellow); outline-offset: 3px; }
.ruler:focus-within { border-radius: 4px; }
.take.mine { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--spring); }
.take.mine.in { opacity: 1; transform: none; }
.take { display: flex; gap: 12px; padding: 14px 0 0; }
.take + .take { border-top: 1px solid var(--hair); margin-top: 14px; }
.take b { font-size: 16px; font-weight: 700; }
.take time { color: var(--yellow); font-size: 13px; font-weight: 600; margin-left: 6px; }
.take p { font-size: 16px; margin-top: 2px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tags .tag { transform: scale(.4) rotate(-6deg); opacity: 0; transition: transform .5s var(--spring), opacity .3s; }
.tags.in .tag { transform: rotate(var(--r, 0deg)); opacity: 1; }
.tags.in .tag:nth-child(2) { transition-delay: .12s; } .tags.in .tag:nth-child(3) { transition-delay: .24s; } .tags.in .tag:nth-child(4) { transition-delay: .36s; }
.tag { font-family: var(--cond); font-stretch: 80%; font-weight: 900; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 14px; border-radius: 10px; color: #111; }
/* The app's tag tiers: gold for the rarest, silver for notable, bronze for the rest */
.tag.t-gold { background: #d9a621; } .tag.t-silver { background: #a6adbf; } .tag.t-bronze { background: #cc8033; }
.rate { margin-top: 18px; }
.rate-row { display: flex; justify-content: space-between; align-items: flex-end; }
.rate-row output { font-size: 64px; line-height: .9; }
.rate-row span { color: var(--text-2); font-size: 15px; font-weight: 600; }
.ruler { position: relative; height: 46px; margin-top: 14px; }
.ticks { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; }
.ticks i { width: 1.5px; height: 30%; background: rgba(255,255,255,.22); border-radius: 1px; transition: background .15s; }
.ticks i.w { height: 100%; width: 2px; }
.ticks i.h { height: 62%; }
.ticks i.on[data-band="r"] { background: #ff453a; } .ticks i.on[data-band="o"] { background: #ff9f0a; }
.ticks i.on[data-band="y"] { background: #ffd60a; } .ticks i.on[data-band="g"] { background: #30d158; }
.rate-row output[data-band="r"] { color: #ff453a; } .rate-row output[data-band="o"] { color: #ff9f0a; }
.rate-row output[data-band="y"] { color: #ffd60a; } .rate-row output[data-band="g"] { color: #30d158; }
.ruler input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: ew-resize; }
.ruler-lbl { display: flex; justify-content: space-between; color: var(--text-3); font-size: 13px; font-weight: 600; margin-top: 6px; }

/* Recap card (follows the app's recap: team header, story, key moments, top performers) */
/* ---------- Tonight: a bento, after the Albums page's. The live game as a tall tile (copy over a phone cropped
   at the bottom edge), game chat and the Last Play card as wide tiles beside it, three small tiles along the bottom.
   Phones are Apple's frame, upright and unmodified; the tile edge crops them, nothing is drawn over them. */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 380px auto auto; gap: 20px; margin-top: 52px; }
.tile { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.tile .glow { position: absolute; inset: auto -10% -30%; height: 80%; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .5; }
.tile .glow::before, .tile .glow::after { content: ''; position: absolute; top: 0; width: 60%; height: 100%; border-radius: 50%; }
.tile .glow::before { left: 0; background: var(--a); } .tile .glow::after { right: 0; background: var(--b); }
.tile h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 900; letter-spacing: -.04em; line-height: .98; text-transform: lowercase; }
.tile h3 em { font-style: normal; color: var(--yellow); }
.tile-copy p { color: var(--text-2); font-size: 17px; font-weight: 500; line-height: 1.5; margin-top: 14px; max-width: 420px; }
.tile-live { grid-column: 1 / 4; grid-row: 1 / 3; display: flex; flex-direction: column; padding: 40px 40px 0; }
.tile-live .tile-device { width: 300px; margin: 36px auto 0; flex: none; }
/* A wide tile: copy on the left, a phone on the right cropped at the bottom edge */
.tile-wide { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; padding: 36px 0 0 36px; height: 380px; }
.tile-wide .tile-device { margin-top: 4px; }
.tile-chat { grid-column: 4 / 7; grid-row: 1; }
.tile-play { grid-column: 4 / 7; grid-row: 2; padding: 24px; border-radius: 26px; }
.tile-small { grid-column: span 2; padding: 24px; border-radius: 26px; }
.tile-small > p { color: var(--text-2); font-size: 16px; margin-top: 6px; line-height: 1.45; }
/* Tomorrow: the recap card tall on the left, picks and the pick record beside it, then Yesterday's recap,
   a shared picks card and the Game Score along the bottom */
.tile-recap { grid-column: 1 / 4; grid-row: 1 / 3; }
.tile-picks { grid-column: 4 / 7; grid-row: 1; }
/* The pick record, as the Picks pane's card in the app: the record and its ring, recent form, then the totals */
.tile-record { grid-column: 4 / 7; grid-row: 2; padding: 22px 24px; border-radius: 26px; font-family: var(--app);
    background: linear-gradient(135deg, rgba(250,189,26,.12), rgba(255,255,255,.03) 46%, rgba(36,36,46,.28)), rgba(255,255,255,.045); }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pr-record h4 { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); }
.pr-wl { display: block; font-size: 58px; font-weight: 700; font-stretch: 75%; line-height: 1; margin-top: 4px; color: rgba(255,255,255,.98); }
.pr-streak { display: block; font-size: 15px; font-weight: 600; color: var(--gold); margin-top: 4px; }
.pr-ring { position: relative; width: 104px; height: 104px; flex-shrink: 0; }
.pr-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pr-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.pr-ring b { font-size: 24px; font-weight: 700; font-stretch: 75%; }
.pr-ring small { font-size: 11px; color: var(--text-2); margin-top: 2px; }
.pr-form { margin-top: 18px; }
.pr-form-head { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); }
.pr-form-head .num { font-family: var(--app); font-stretch: 100%; font-weight: 600; color: var(--text-2); }
/* Wins rise in their league's color, losses dip quietly below the line */
.pr-bars { position: relative; display: flex; height: 44px; margin-top: 8px; }
.pr-bars::after { content: ''; position: absolute; left: 0; right: 0; top: 62.5%; height: 1px; background: rgba(255,255,255,.1); }
.pr-bars i { flex: 1; position: relative; }
.pr-bars i::before { content: ''; position: absolute; left: 19%; right: 19%; border-radius: 2.5px; background: var(--c); }
.pr-bars i.w::before { top: 0; bottom: 37.5%; }
.pr-bars i.l::before { top: 62.5%; bottom: 0; background: rgba(255,255,255,.16); }
.pr-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-top: 6px; }
.pr-totals { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.pr-totals div { display: flex; flex-direction: column-reverse; }
.pr-totals dd { font-size: 22px; font-weight: 700; font-stretch: 75%; line-height: 1.1; color: rgba(255,255,255,.94); }
.pr-totals dt { font-size: 12px; color: var(--text-2); }
/* Yesterday's recap, as Home shows it the morning after: the night's best game on top, the rest of the night
   stacked behind it, each edge in its two teams' colors */
.tile-yesterday { grid-column: 1 / 3; grid-row: 3; padding: 24px; border-radius: 26px; display: flex; flex-direction: column; }
.tile-yesterday > p { color: var(--text-2); font-size: 16px; margin: 6px 0 18px; line-height: 1.45; }
.stack-card { margin-top: auto; font-family: var(--app); }
.stack-title { display: block; font-size: 15px; font-weight: 700; font-stretch: 80%; font-family: var(--cond); color: rgba(255,255,255,.96); margin-bottom: 8px; }
.stack { position: relative; padding-bottom: 24px; }
.stack-edge { position: absolute; left: calc(14px * var(--d)); right: calc(14px * var(--d)); top: calc(12px * var(--d)); bottom: calc(24px - 12px * var(--d)); border-radius: 18px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--a) 60%, #16161e), color-mix(in srgb, var(--b) 60%, #16161e));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); opacity: calc(1 - .25 * var(--d)); }
.stack-lead { position: relative; padding: 16px 18px 18px; border-radius: 18px; overflow: hidden;
    background: radial-gradient(120% 120% at 0% 0%, rgba(29,91,216,.62), transparent 58%), radial-gradient(120% 120% at 100% 100%, rgba(19,138,75,.58), transparent 60%), linear-gradient(135deg, #142347, #0f1a24 55%, #0f2a20);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 14px 30px rgba(0,0,0,.35); }
.sl-top { display: flex; justify-content: space-between; align-items: center; }
.sl-top .pill { padding: 3px 10px; font-size: 11px; }
.sl-top .tgs { min-width: 0; padding: 2px 9px; font-size: 13px; }
.sl-score { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.sl-score img { width: 38px; height: 38px; object-fit: contain; }
.sl-score .num { font-size: 46px; line-height: 1; }
.sl-score .num.lose { margin-left: auto; color: #c3c6cd; opacity: .85; }
.stack-lead p { font-size: 15px; font-weight: 500; color: #e6e6ea; margin-top: 10px; line-height: 1.3; }
/* A shared picks card, small: the app's "Called it." story, tinted by the side the sharer picked */
.tile-share { grid-column: 3 / 5; grid-row: 3; padding: 24px; border-radius: 26px; display: flex; flex-direction: column; }
.tile-share > p { color: var(--text-2); font-size: 16px; margin: 6px 0 18px; line-height: 1.45; }
.share-card { margin-top: auto; padding: 16px 18px 14px; border-radius: 18px; font-family: var(--app);
    background: radial-gradient(120% 90% at 0% 0%, rgba(29,91,216,.75), transparent 70%), linear-gradient(160deg, #18264a, #10131c 70%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px rgba(0,0,0,.35); }
.sc-who { display: flex; align-items: center; gap: 10px; }
.sc-who .sq { width: 30px; height: 30px; font-size: 13px; }
.sc-who b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.sc-who small { display: block; font-size: 12px; color: rgba(255,255,255,.72); }
.sc-claim { font-family: var(--display); font-size: 44px; white-space: nowrap; font-weight: 900; letter-spacing: -.04em; line-height: .9; margin-top: 16px; }
.sc-line { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.75); margin-top: 10px; }
.sc-line b { color: #fff; }
.sc-split { display: flex; gap: 3px; height: 8px; margin-top: 12px; }
.sc-split i { border-radius: 4px; }
.sc-split-key { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); margin-top: 5px; }
.sc-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; color: rgba(255,255,255,.6); }
.sc-foot .num { font-size: 16px; color: #fff; }
.sc-foot em { font-style: normal; color: rgba(255,255,255,.5); }
.tile-tgs { grid-column: 5 / 7; grid-row: 3; padding: 24px; border-radius: 26px; display: flex; flex-direction: column; }
.tile-tgs > p { color: var(--text-2); font-size: 16px; margin: 6px 0 18px; line-height: 1.45; }
/* Worth watching, as on the app's Scores screen: a cell that is the Game Score floor's scrubber, gold filling to the
   floor, in half points. Games under the floor step back. */
.worth { position: relative; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; margin-top: auto; border-radius: 14px; overflow: hidden; cursor: ew-resize;
    background: rgba(250,189,26,.12); box-shadow: inset 0 0 0 1px rgba(250,189,26,.45); font-family: var(--app); }
.worth:focus-within { outline: 2px solid var(--yellow); outline-offset: 3px; }
.worth-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(250,189,26,.26); transition: width .15s; }
.worth svg { position: relative; width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.worth-name { position: relative; font-size: 15px; font-weight: 500; }
.worth-val { position: relative; margin-left: auto; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.worth input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.worth-games { list-style: none; margin-top: 12px; display: grid; gap: 6px; font-family: var(--app); }
.worth-games li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 14px; color: var(--text-2); transition: opacity .25s; }
.worth-games li b { color: var(--text); font-family: var(--cond); font-stretch: 84%; font-size: 16px; margin: 0 4px; }
.worth-games li .tgs { min-width: 0; padding: 2px 9px; font-size: 13px; }
.worth-games li.under { opacity: .3; }
.perf-head { margin-top: 20px; }
.perf-head + .perf { margin-top: 10px; }
.call { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--hair); }
.call .cup { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: rgba(250,189,26,.16); }
.call .cup svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.call b { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.call time { display: block; color: var(--text-3); font-size: 13px; font-weight: 600; margin-top: 3px; }

.recap { border-radius: 26px; overflow: hidden; background: #1c1c24; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.4); font-family: var(--app); }
.r-head { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px 22px;
    background: radial-gradient(120% 160% at 0% 0%, rgba(29,91,216,.7), transparent 60%), radial-gradient(120% 160% at 100% 100%, rgba(19,138,75,.65), transparent 60%), #142030; }
.r-head::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.3px); background-size: 7px 7px; }
.r-head > * { position: relative; }
.r-team { display: flex; align-items: center; gap: 12px; }
.r-team.r { justify-content: flex-end; }
.crest.sm { width: 46px; height: 46px; }
.r-pts { font-size: 52px; line-height: .9; }
.r-pts.lose { color: #c3c6cd; opacity: .85; }
.r-mid { display: grid; justify-items: center; gap: 6px; }
.r-final { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #d5d6dc; }
.r-mid .tgs { min-width: 0; padding: 3px 10px; font-size: 14px; }
.r-body { padding: 22px; }
.r-body h5 { font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.r-sum { color: #c9cad2; font-size: 16px; line-height: 1.5; margin-top: 10px; }
/* Key moments, as the app's recap draws them: the game's lead as a line, the away team's leads above the level
   line and the home team's below, each moment a dot on it, the turning point in gold and selected first */
.km { margin-top: 20px; }
.km-head { font-size: 12px; font-weight: 600; letter-spacing: .05em; color: rgba(255,255,255,.55); }
.km-flow { display: flex; gap: 10px; margin-top: 10px; }
.km-sides { display: flex; flex-direction: column; justify-content: space-between; height: 72px; }
.km-sides img { width: 18px; height: 18px; object-fit: contain; }
.km-track { flex: 1; min-width: 0; }
.km-plot { position: relative; height: 72px; cursor: pointer; }
.km-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.km-rule { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.22); transition: left .32s var(--spring); }
.km-dot { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.km-dot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,.35), 0 1px 3px rgba(0,0,0,.4); transition: transform .32s var(--spring); }
.km-dot.turn::before { background: var(--gold); }
.km-dot[aria-pressed="true"]::before { transform: scale(1.5); }
.km-dot:focus-visible { outline: 2px solid var(--yellow); outline-offset: -4px; }
.km-periods { display: flex; margin-top: 4px; }
.km-periods span { flex: 1; text-align: center; font-size: 11px; font-weight: 600; color: var(--text-3); }
.km-cap { margin-top: 12px; min-height: 48px; }
.km-stamp { display: block; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.km-stamp .turn { color: var(--gold); } .km-stamp .sep { color: rgba(255,255,255,.35); } .km-stamp .score { color: rgba(255,255,255,.85); }
.km-cap b { display: block; font-size: 16px; font-weight: 400; color: rgba(255,255,255,.9); margin-top: 2px; }
.km-cap b.turn { font-weight: 600; }
.perf { list-style: none; margin-top: 18px; display: grid; gap: 14px; }
.perf li { display: flex; align-items: center; gap: 14px; }
.perf .face { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--cond); font-stretch: 80%; font-weight: 800; font-size: 17px; color: #fff; flex-shrink: 0; box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.perf b { font-size: 17px; font-weight: 600; }
.perf b small { font-size: 13px; color: #8f909a; font-weight: 600; margin-left: 6px; }
.perf span { display: block; font-size: 14px; color: #b9bac2; font-variant-numeric: tabular-nums; }

/* Trophy Room: fan since, and a lit shelf of real hardware */

/* Forever: Dad's Trophy Room, as the app's Trophy Room draws it. The fan-since control on the left; each team's run
   of a trophy as one exhibit on the right: the art, the team, the trophy, how many, and every season engraved beneath */
.room { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; margin-top: 52px; }
.room-head { padding: 28px; border-radius: 26px; }
.room-head h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-family: var(--display); }
.room-sub { color: var(--text-2); font-size: 15px; margin-top: 4px; line-height: 1.45; }
.fandom { margin-top: 22px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--hair); }
.fandom-row { display: flex; justify-content: space-between; align-items: baseline; }
.fandom-row label { font-size: 15px; font-weight: 600; color: var(--text-2); }
.fandom-row output { font-size: 56px; line-height: .9; color: var(--yellow); }
.fandom input { width: 100%; accent-color: var(--yellow); height: 28px; margin-top: 8px; }
.fandom .eras { display: flex; justify-content: space-between; }
.fandom .eras button { background: none; border: 0; cursor: pointer; color: var(--text-3); font-size: 13px; font-weight: 700; padding: 6px 4px; border-radius: 8px; }
.fandom .eras button:hover { color: var(--text); }
.fandom .eras button:focus-visible, .fandom input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.since-note { margin-top: 16px; font-weight: 700; font-size: 17px; min-height: 52px; line-height: 1.45; }
.since-note em { font-style: normal; color: var(--yellow); }
.exhibits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.exhibit { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; min-height: 170px; font-family: var(--app);
    background: radial-gradient(130% 120% at 0% 0%, color-mix(in srgb, var(--team) 62%, transparent), transparent 70%), #15151d;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: opacity .35s, filter .35s; }
.ex-art { width: 104px; height: 150px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 12px 16px rgba(0,0,0,.55)); }
.ex-body { flex: 1; min-width: 0; }
.ex-team { display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6); }
.ex-title { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.ex-title b { font-family: var(--cond); font-stretch: 80%; font-size: 20px; font-weight: 700; line-height: 1.1; color: rgba(255,255,255,.96); }
.ex-count { font-size: 17px; color: var(--gold); }
.ex-seasons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
/* A season with a deciding game is a glass capsule in the app; here, the same look */
.ex-seasons span { padding: 4px 10px; border-radius: 999px; font-family: var(--cond); font-stretch: 80%; font-size: 14px; font-weight: 700; color: #fff;
    background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.ex-seasons .none { background: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-family: var(--app); font-stretch: 100%; font-weight: 600; font-size: 13px; }
.exhibit.empty { opacity: .45; filter: grayscale(.7); }

/* The score finds you: Lock Screen, Dynamic Island, Watch, Siri */
/* The score finds you: the Lock Screen tall on the left, the Dynamic Island and StandBy beside it, then widgets,
   Apple Watch and CarPlay, and Siri. The Live Activity pieces follow the app's: the momentum line between the scores,
   away leads above its midline, a gold dot at now. */
#anywhere .bento { grid-template-rows: auto auto auto; }
.tile-island { grid-column: 4 / 7; grid-row: 1; padding: 36px; display: flex; flex-direction: column; }
/* Search, across the bottom: copy on the left, the phone on the right, cropped by the tile's bottom edge */
.tile-search { grid-column: 1 / 7; grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: center; height: 440px; padding: 44px 64px 0 48px; }
.tile-search .tile-copy { align-self: start; padding-top: 12px; max-width: 520px; }
.search-shot { align-self: start; }
.tile-siri { grid-column: 4 / 7; grid-row: 2; padding: 24px; border-radius: 26px; display: flex; flex-direction: column; }
.tile-siri > p { color: var(--text-2); font-size: 16px; margin-top: 6px; line-height: 1.45; }
.tile-siri .siri { margin-top: auto; padding-top: 18px; }
/* The Island and the Today widget in context: a real capture, its status bar and wallpaper around them */
.island-shot { margin-top: 24px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair), 0 18px 40px rgba(0,0,0,.35); }
.island-shot img { width: 100%; }
    background: linear-gradient(90deg, rgba(29,91,216,.7), rgba(19,138,75,.7)), #0b0b10; }
.siri { display: grid; gap: 8px; margin-top: 18px; font-family: var(--app); }
.ask { justify-self: end; max-width: 220px; padding: 9px 14px; border-radius: 18px 18px 4px 18px; background: linear-gradient(135deg, #5b5bff, #c45cff 60%, #ff7b6b); font-size: 14px; font-weight: 600; }
.answer { justify-self: start; max-width: 230px; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--hair); font-size: 14px; }
.answer em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; color: var(--red); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.answer em i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.answer b { display: block; font-weight: 700; }

/* Close: yellow band, ticket stub */
.close { margin-top: 150px; background: var(--yellow); color: #111; padding: 110px 0 120px; position: relative; overflow: hidden; }
.close::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,0,0,.04) 1px, transparent 1.3px); background-size: 7px 7px; pointer-events: none; }
.close .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.close h2 { font-size: clamp(64px, 10vw, 150px); color: #111; }
.close h2 em { color: #fff; text-shadow: 0 6px 0 rgba(0,0,0,.06), 0 18px 40px rgba(140,90,0,.25); }
.close p { font-size: 20px; font-weight: 600; margin-top: 22px; max-width: 460px; }
/* The ticket's notches are cut out of it, so the section shows through them; the wrapper carries the tilt and the
   shadow, which a mask on the ticket itself would clip */
.ticket-wrap { transform: rotate(-2deg); filter: drop-shadow(0 30px 40px rgba(120,80,0,.35)); }
.ticket { --notch: calc(100% - 181px); display: grid; grid-template-columns: 1fr auto; background: var(--ink); color: var(--text); border-radius: 18px;
    -webkit-mask: radial-gradient(circle 13px at var(--notch) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at var(--notch) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 13px at var(--notch) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at var(--notch) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.t-main { padding: 22px 24px; border-right: 2px dashed rgba(255,255,255,.18); }
.t-title { font-size: 17px; font-weight: 800; }
.t-main dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 12px; font-size: 15px; }
.t-main dt { color: var(--text-2); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; padding-top: 3px; }
.t-main dd { font-weight: 600; text-wrap: balance; }
.t-stub { width: 180px; padding: 20px 16px; display: grid; gap: 10px; align-content: center; justify-items: center; text-align: center; }
.t-stub .admit { font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 30px; line-height: .95; text-transform: uppercase; color: var(--yellow); }
.t-stub .btn { padding: 11px 16px; font-size: 14px; }
.t-stub small { color: var(--text-2); font-size: 12px; font-weight: 600; }

footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; padding-top: 32px; padding-bottom: 44px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--text-2); }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { height: 28px; width: auto; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a:hover { color: var(--text); }

/* Reveal on scroll */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .8s var(--spring); }
.rise.in { opacity: 1; transform: none; }

/* One column below 960px, except a wide landscape screen (the open iPhone Duo is 951 by 585) keeps the grids below */
@media (max-width: 760px), (max-width: 960px) and (orientation: portrait) {
    .chapter-head, .chapter-body, .close .wrap { grid-template-columns: 1fr; gap: 28px; }
    .tv-room { grid-template-columns: 1fr; gap: 36px; }
    .room { grid-template-columns: 1fr; }
    .hero-grid, .shots { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; margin-top: 36px; }
    .bento > * { grid-column: auto; grid-row: auto; }
    .tile-live, .tile-wide, .tile-search { display: flex; flex-direction: column; height: 560px; padding: 32px 28px 0; }
    .tile-live .tile-device, .tile-wide .tile-device, .tile-search .tile-device { width: min(260px, 64vw); margin: 28px auto 0; flex: none; }
    .tile-search .tile-copy { padding-bottom: 0; }
    .hero-stage { width: min(300px, 74vw); margin-left: 0; }
}
/* Wide and short, like the open iPhone Duo in landscape: the desktop grids, scaled to fit. The hero phone is sized
   by the screen's height so the whole first screen fits above the fold. */
@media (min-width: 761px) and (max-width: 960px) and (orientation: landscape) {
    .hero { padding-top: 40px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 36px; }
    .hero .hero-grid h1 { font-size: clamp(52px, 7vw, 72px); }
    .hero .sub { font-size: 18px; margin-top: 18px; }
    .hero .cta { margin-top: 22px; gap: 10px; }
    .hero-stage { width: clamp(180px, calc((100svh - 110px) * .49), 280px); }
    .tv-room { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; margin-top: 56px; }
    .game { padding: 22px 24px; }
    .side { gap: 14px; }
    .crest { width: 56px; height: 56px; }
    .side .pts { font-size: 80px; }
    .couches { padding: 4px 16px; }
    .couch q { font-size: 16px; }

    .chapter { padding-top: 120px; }
    .chapter h2 { font-size: clamp(48px, 6.6vw, 64px); }
    .chapter .lede { font-size: 18px; }
    .bento { gap: 16px; margin-top: 40px; }
    .tile h3 { font-size: 28px; }
    .tile-copy p { font-size: 16px; margin-top: 10px; }
    .tile-live { padding: 32px 28px 0; }
    .tile-live .tile-device { width: 240px; margin-top: 28px; }
    .tile-wide { grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; padding: 28px 0 0 26px; }
    .tile-small, .tile-yesterday, .tile-share, .tile-tgs, .tile-siri { padding: 20px; }
    .tile-small > p, .tile-yesterday > p, .tile-share > p, .tile-tgs > p, .tile-siri > p { font-size: 15px; }
    .sc-claim { font-size: 38px; }
    .sl-score .num { font-size: 40px; }
    .tile-island { padding: 28px; }
    .tile-search { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; height: 400px; padding: 36px 40px 0 32px; }

    .room { grid-template-columns: 290px minmax(0, 1fr); gap: 16px; margin-top: 40px; }
    .room-head { padding: 22px; }
    .exhibit { gap: 10px; padding: 12px; min-height: 150px; }
    .ex-art { width: 72px; height: 112px; }

    .close { margin-top: 120px; padding: 80px 0 90px; }
    .close .wrap { gap: 32px; }
    .close h2 { font-size: clamp(64px, 9vw, 88px); }
    .close p { font-size: 18px; }
    .t-stub { width: 150px; }
    .ticket { --notch: calc(100% - 151px); }
}
@media (max-width: 600px) {
    .nav nav a:not(.btn) { display: none; }
    .hero { padding-top: 48px; }
    .game { padding: 18px 16px; border-radius: 24px; }
    .crest { width: 44px; height: 44px; }
    .side { gap: 10px; }
    .side .pts { font-size: 54px; }
    .abbr b { font-size: 20px; } .abbr span { font-size: 14px; }
    .g-meta .net { display: none; }
    .badge b { font-size: 16px; padding: 4px 9px; }
    .badge small { font-size: 11px; }
    .badge.hide-sm { display: none; }
    .chapter { padding-top: 120px; }
    .hero-stage { width: min(250px, 64vw); margin: 0 auto; }
    .exhibits { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .exhibit { min-height: 0; }
    .ex-art { width: 80px; height: 112px; }
    .shot { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
    .tile-island { padding: 28px 22px; height: auto; }

    .island-shot { margin-top: 24px; }
    .shot .phone { width: min(260px, 100%); }
    .shot figcaption { order: -1; }
    .r-pts { font-size: 40px; }
    .crest.sm { width: 30px; height: 30px; }
    .ticket-wrap { transform: rotate(-1deg); }
    .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
    .t-main { border-right: 0; border-bottom: 2px dashed rgba(255,255,255,.18); }
    .t-stub { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rise, .couch, .badge, .tags .tag, .take.mine { opacity: 1; transform: none; transition: none; }
    .badge.edge { transform: translateX(-88%); }
}

/* ---------- Text pages: privacy, terms, support ---------- */
.doc { max-width: 760px; padding-top: 64px; padding-bottom: 96px; font-family: var(--app); }
.doc h1 { font-family: var(--display); font-size: clamp(48px, 8vw, 88px); }
.doc .updated { color: var(--text-3); font-size: 15px; font-weight: 600; margin-top: 18px; }
.doc .lede { color: var(--text-2); font-size: 20px; font-weight: 500; margin-top: 26px; line-height: 1.45; }
.doc .lede b { color: var(--text); }
.doc h2 { font-family: var(--display); font-size: 30px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; text-transform: lowercase; margin: 56px 0 14px; }
.doc h3 { font-size: 19px; font-weight: 700; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--text-2); font-size: 17px; line-height: 1.6; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0 22px; display: grid; gap: 8px; }
.doc b, .doc strong { color: var(--text); font-weight: 600; }
.doc a:not(.btn) { color: var(--yellow); text-decoration: underline; text-decoration-color: rgba(255,203,31,.4); text-underline-offset: 3px; }
.doc a:not(.btn):hover { text-decoration-color: var(--yellow); }
.doc .short { margin-top: 32px; }
.doc details { background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 18px; padding: 16px 20px; margin-top: 12px; }
.doc summary { cursor: pointer; font-size: 18px; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: '+'; color: var(--yellow); font-weight: 800; }
.doc details[open] summary::after { content: '–'; }
.doc details p { margin-top: 10px; }
.doc .contact { margin-top: 56px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 22px; padding: 28px; }
.doc .contact h2 { margin-top: 0; }
.doc .contact .btn { margin-top: 18px; font-family: var(--display); text-transform: none; }
@media (max-width: 600px) {
    .doc { padding-top: 40px; }
    .doc h2 { margin-top: 44px; }
    .doc .contact { padding: 22px; }
}

/* ---------- Press kit ---------- */
.press .kit-download { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin-top: 30px; }
.press .kit-download .btn { font-family: var(--display); }
.press .kit-download span { color: var(--text-3); font-size: 15px; font-weight: 600; }
.press .facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin-top: 4px; font-size: 17px; line-height: 1.5; }
.press .facts dt { color: var(--text-3); font-weight: 600; }
.press .facts dd { color: var(--text); font-weight: 600; text-wrap: balance; }
.press .kit-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.press .kit-shots img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--hair); }
.press .kit-marks { display: grid; grid-template-columns: auto auto 1fr; gap: 14px; margin-top: 20px; align-items: stretch; }
.press .kit-icon { width: 120px; height: 120px; }
.press .kit-wordmark { background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 18px; display: grid; place-items: center; padding: 20px 24px; }
.press .kit-wordmark img { width: 100%; max-width: 220px; height: auto; }
.press .kit-fine { color: var(--text-3); font-size: 14px; margin-top: 40px; }
@media (max-width: 600px) {
    .press .facts { grid-template-columns: 1fr; gap: 2px; }
    .press .facts dd { margin-bottom: 10px; }
    .press .kit-shots { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .press .kit-marks { grid-template-columns: auto auto; }
    .press .kit-icon { width: 100%; height: auto; max-width: 140px; }
    .press .kit-wordmark { grid-column: 1 / -1; }
}
