/* ranqd.app - one responsive page.
   Breakpoints follow the live site: 1260 (links fold into the burger),
   900 (phone product bar replaces the header pill), 600 (phone layout). */

/* ── Fonts: self-hosted, SIL Open Font License (fonts/OFL.txt) ── */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/bebas-neue-400.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/dm-mono-300.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: italic; font-weight: 300; font-display: swap; src: url(fonts/dm-mono-300-italic.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dm-mono-500.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(fonts/dm-sans-variable.woff2) format('woff2'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/syne-variable.woff2) format('woff2'); }

:root {
  --bg: #07090d; --s0: #0a0d12; --s1: #0d1017; --s2: #0b0e14; --s3: #121720;
  --line: #1e2535; --line2: #222b3b; --line3: #1a2130; --line4: #161c27;
  --text: #eef2f7; --muted: #a9b4c2; --muted2: #c9d2dd; --dim: #7f8ea0;
  --win: #45e87a; --loss: #f05070; --amber: #ffb547; --warn: #ffcf7a; --over: #ff6b6b;
  --accent: #e8ff47; --rgb: 232,255,71;
  --display: 'Bebas Neue', sans-serif; --mono: 'DM Mono', monospace; --body: 'Syne', sans-serif;
  --gutter: 32px;
}
body[data-product="tournaments"] { --accent: #47ffe8; --rgb: 71,255,232; }
body[data-product="coach"] { --accent: #D9A62E; --rgb: 217,166,46; }

*, *::before, *::after { box-sizing: border-box; }
/* overflow-x on html, not body: on body it can stop vertical scrolling. */
html { overflow-x: hidden; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { flex: none; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 12px 18px; border-radius: 10px; background: var(--accent); color: #07090d; font-weight: 700; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.anchor { display: block; height: 0; }

/* Shown/hidden by app.js. Without JavaScript, copy marked .nojs stays visible. */
.off:not(.nojs), .js .off { display: none !important; }
html:not(.js) .js-only { display: none !important; }
.js .nojs-label { display: none; }
.nojs-label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin: 16px 0 6px; }
[hidden] { display: none !important; }

/* Only the chosen product's sections show (body[data-product]); Clubs by default. */
body[data-product="leagues"] [data-for]:not([data-for~="leagues"]),
body[data-product="tournaments"] [data-for]:not([data-for~="tournaments"]),
body[data-product="coach"] [data-for]:not([data-for~="coach"]) { display: none !important; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.7); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── Utilities ── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-rail { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.ac { color: var(--accent); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.row-between.top { align-items: flex-start; }
.row-between.end { align-items: flex-end; }
.row-gap { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.block { display: block; }
.right { text-align: right; }
.center { text-align: center; }
.strong { font-weight: 700; }
.dim { color: var(--muted); }
.hi { color: #e8edf5; }
.f12 { font-size: 12px; } .f13 { font-size: 13px; } .f14 { font-size: 14px; } .f15 { font-size: 15px; }
.mt6 { margin-top: 6px; } .mt8 { margin-top: 8px; } .mt10 { margin-top: 10px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt18 { margin-top: 18px; } .mt26 { margin-top: 26px; }
.mb8 { margin-bottom: 8px; } .mb10 { margin-bottom: 10px; } .mb12 { margin-bottom: 12px; }
.pad4 { padding: 0 4px; }
.mk { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--dim); }
.mk.ac { color: var(--accent); } .mk.warn { color: var(--warn); }
.mk9 { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: #8fa6b6; }
.mk8 { font-family: var(--mono); font-size: 8px; letter-spacing: 1.5px; color: #8fa6b6; }
.mk-sub { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mk-sub.ac { color: var(--accent); }
.mk-sub.caps { letter-spacing: 2px; }
.mk-caps { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--dim); text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.h2 { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: 80px; line-height: .9; }
.sec-desc { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 48ch; }
.phone-only { display: none !important; }
.title-22 { font-family: var(--display); font-size: 22px; letter-spacing: 1px; margin-bottom: 8px; }
.title-24 { font-family: var(--display); font-size: 24px; line-height: 1; }
.title-26 { font-family: var(--display); font-size: 26px; line-height: 1; }
.title-26.wide, .mock-title.wide { letter-spacing: 1px; }
.title-28 { font-family: var(--display); font-size: 28px; line-height: 1; }
.title-30 { font-family: var(--display); font-size: 30px; line-height: 1.02; }
.title-32 { font-family: var(--display); font-size: 32px; line-height: 1; }
.title-34 { font-family: var(--display); font-size: 34px; line-height: 1; }
.title-40 { font-family: var(--display); font-size: 40px; line-height: 1; }
.title-44 { font-family: var(--display); font-size: 44px; line-height: 1; margin-top: 12px; }
.num-28 { font-family: var(--display); font-size: 28px; }
.num-30 { font-family: var(--display); font-size: 30px; margin-top: 6px; }
.num-36 { font-family: var(--display); font-size: 36px; }
.num-44 { font-family: var(--display); font-size: 44px; line-height: 1; margin-top: 6px; }
.strong-18 { font-size: 18px; font-weight: 700; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 1px solid transparent; font-family: var(--body); font-weight: 700; font-size: 16px; cursor: pointer; transition: filter .15s ease, background-color .15s ease; background: transparent; }
.btn-ac { background: var(--accent); color: #07090d; border-color: var(--accent); box-shadow: 0 10px 40px -8px rgba(var(--rgb), .55); }
.btn-line { border-color: #2a3443; color: var(--text); background: var(--s1); }
.btn-ghost { border-color: #263142; color: #c9d2dc; min-height: 48px; border-radius: 999px; padding: 0 20px; font-weight: 400; font-size: 14px; }
.btn:hover { filter: brightness(1.08); }
.is-soon { cursor: default; }
.is-soon:hover { filter: none; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #2a3443; background: var(--s1); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.round-btn.is-next { background: var(--accent); border-color: var(--accent); color: #07090d; }
.round-btn[aria-disabled="true"] { opacity: .4; cursor: default; }
.btn-wide { margin-top: 14px; width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border-radius: 16px; border: 1px solid rgba(var(--rgb), .55); background: rgba(var(--rgb), .1); color: var(--accent); font-weight: 700; cursor: pointer; }
.btn-wide .chev { transition: transform .2s ease; }
.btn-wide[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Segmented controls (radios / tabs that look like one pill) */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--s0); }
.seg button { min-height: 44px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent; color: var(--muted2); font-weight: 700; font-size: 13px; cursor: pointer; }
.seg button.is-on { background: var(--accent); color: #07090d; }
.seg-lg { border-radius: 14px; background: var(--s1); }
.seg-lg button { min-height: 48px; padding: 0 24px; border-radius: 10px; font-size: 15px; }

/* ════════════ Header: the live ranqd.app nav ════════════ */
#main-nav { position: sticky; top: 0; z-index: 100; padding: 10px clamp(20px, 5vw, 80px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; background: color-mix(in srgb, #07090d 80%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); }
#main-nav.scrolled { border-bottom-color: #1e2535; }
#main-nav .nav-row-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; width: 100%; }
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 3px; display: flex; align-items: center; margin-right: -3px; justify-self: start; color: var(--text); }
.q-wrap { position: relative; display: inline-block; line-height: 1; }
.accent-d { color: var(--accent); transition: color .25s ease; }
/* The master logo's dot (the email signature logo): 0.1em across, centred on the Q glyph (0.2135em in, not 50% of the span, which carries the letter-spacing), 0.043em above the cap. Centred with a margin because the pulse animation owns transform. */
.nav-logo .dot, .foot-logo .dot { width: .1em; height: .1em; margin-left: -.05em; background: var(--accent); border-radius: 50%; position: absolute; top: -.053em; left: .2135em; animation: pulse 2s ease-in-out infinite; transition: background .25s ease; }
.product-switch { display: inline-flex; align-items: center; gap: 4px; background: #0d1017; border: 1px solid #1e2535; border-radius: 100px; padding: 4px; justify-self: center; }
.ps-btn { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #8494b0; padding: 7px 16px; border-radius: 100px; border: none; cursor: pointer; background: transparent; transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; line-height: normal; }
.ps-btn .ps-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; transition: opacity .2s; }
.ps-btn:hover { color: #eef2f7; }
.ps-btn.active { color: #07090d; font-weight: 500; }
.ps-btn.active .ps-dot { opacity: 1; background: #07090d; }
body[data-product="leagues"] .ps-btn[data-go="leagues"] { background: #e8ff47; }
body[data-product="tournaments"] .ps-btn[data-go="tournaments"] { background: #47ffe8; }
body[data-product="coach"] .ps-btn[data-go="coach"] { background: #D9A62E; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav-badge { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--accent); padding: 5px 12px; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--accent) 6%, transparent); display: flex; align-items: center; gap: 6px; min-width: 152px; justify-content: center; }
/* Clubs is open: no "Coming Soon" badge. Hidden rather than removed so the
   header keeps its balance; it returns if Platform closes Clubs sign-up. */
body.launched-leagues[data-product="leagues"] .nav-badge,
body.launched-tournaments[data-product="tournaments"] .nav-badge,
body.launched-coach[data-product="coach"] .nav-badge { display: none; }
.nav-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: pulse 1.5s ease-in-out infinite; }
.nav-row-links { display: flex; justify-content: center; width: 100%; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 1.5px; color: #8494b0; padding: 6px 10px; border-radius: 6px; text-transform: uppercase; transition: color .2s, background .2s; white-space: nowrap; }
.nav-link:hover { color: #eef2f7; background: #121720; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; border-radius: 6px; transition: background .2s; }
.nav-hamburger:hover { background: #121720; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #8494b0; border-radius: 2px; transition: transform .25s, opacity .25s, background .2s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #eef2f7; }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #eef2f7; }
/* The drawer: a solid panel under the bar, every link as a grid cell. */
.nav-mobile-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #0d1017; box-shadow: 0 24px 48px -12px rgba(0,0,0,.85); border-bottom: 1px solid #28304a; padding: 12px 16px 20px; z-index: 99; animation: slideDown .2s ease; max-height: calc(100vh - 64px); overflow-y: auto; }
.nav-mobile-menu.open { display: block; }
.nav-drawer-grid { display: grid; grid-template-columns: 1fr; gap: 6px; width: 100%; }
.nav-mobile-link { display: flex; align-items: center; justify-content: center; min-height: 46px; white-space: nowrap; text-align: center; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 1.5px; color: #8494b0; padding: 12px 16px 12px 17.5px; border-radius: 8px; text-transform: uppercase; transition: color .2s, background .2s; border: 1px solid transparent; }
.nav-mobile-link:hover, .nav-mobile-link:focus-visible { color: #eef2f7; background: #121720; border-color: #1e2535; }
@media (min-width: 560px) { .nav-drawer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 820px) { .nav-drawer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1260px) {
  #main-nav { flex-direction: row; height: 64px; padding: 0 clamp(20px, 5vw, 80px); }
  .nav-row-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (min-width: 1261px) { .nav-mobile-menu { display: none !important; } }
@media (max-width: 900px) {
  .nav-switch-desktop, .nav-badge { display: none; }
  #main-nav .nav-row-top { grid-template-columns: 1fr auto; }
}
@media (max-width: 600px) {
  #main-nav { padding-left: 16px; padding-right: 16px; }
  .nav-logo { font-size: 23px; letter-spacing: 2px; }
  .nav-drawer-grid { gap: 2px; }
  .nav-mobile-link { justify-content: flex-start; min-height: 48px; padding: 0 14.5px 0 16px; }
}

/* Live phone product bar */
.mob-products { display: none; }
@media (max-width: 900px) {
  .mob-products { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(10,13,19,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid #2a3548; padding: 7px 6px calc(11px + env(safe-area-inset-bottom, 0px)); }
  .mob-products .mp { -webkit-appearance: none; appearance: none; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 5px 2px; position: relative; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; line-height: 1.6; color: #5a6580; transition: color .18s ease; }
  .mob-products .mp .mp-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .45; transition: opacity .18s ease; }
  .mob-products .mp[data-go="leagues"].active { color: #e8ff47; }
  .mob-products .mp[data-go="tournaments"].active { color: #47ffe8; }
  .mob-products .mp[data-go="coach"].active { color: #D9A62E; }
  .mob-products .mp.active .mp-dot { opacity: 1; }
  .mob-products .mp.active::before { content: ""; position: absolute; top: -7px; left: 26%; right: 26%; height: 2px; border-radius: 2px; background: currentColor; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ════════════ Hero ════════════ */
.hero { position: relative; background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(var(--rgb), .16), rgba(7,9,13,0) 70%); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(#11161f 1px, transparent 1px), linear-gradient(90deg, #11161f 1px, transparent 1px); background-size: 64px 64px; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 50% 20%, #000, transparent 75%); pointer-events: none; }
.hero-copy { position: relative; padding-top: 64px; text-align: center; }
.kicker-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(13,16,23,.8); font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.kp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { margin: 24px auto 0; font-family: var(--display); font-weight: 400; font-size: 120px; line-height: .86; letter-spacing: 1px; }
.glow { text-shadow: 0 0 60px rgba(var(--rgb), .35); }
.lede { margin: 24px auto 0; max-width: 62ch; font-size: 19px; line-height: 1.55; color: var(--muted); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.hero-ctas .btn { font-size: 17px; padding: 0 28px; }
.from-box { min-height: 52px; display: inline-flex; align-items: center; gap: 14px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(13,16,23,.8); flex-wrap: wrap; justify-content: center; }
.from-price { font-family: var(--display); font-size: 30px; line-height: 1; }
.vr { width: 1px; height: 20px; background: #2a3443; }
.chips { margin: 24px auto 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; max-width: 900px; }
.chips li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }

.hero-app { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; padding-top: 44px; }
.app-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.app-tab { position: relative; overflow: hidden; min-height: 60px; min-width: 196px; display: flex; align-items: center; gap: 12px; padding: 0 22px 0 14px; border-radius: 14px; border: 1px solid #2a3443; background: var(--s1); color: var(--muted2); font-size: 17px; font-weight: 700; cursor: pointer; text-align: left; transition: filter .15s ease; }
.app-tab:hover { filter: brightness(1.08); }
.app-tab .num { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid #3a4658; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.app-tab.is-on { border-color: var(--accent); background: linear-gradient(160deg, rgba(var(--rgb), .16), #0d1017 75%); color: var(--text); box-shadow: 0 0 40px -14px rgba(var(--rgb), .6); }
.app-tab.is-on .num { background: var(--accent); color: #07090d; border-color: var(--accent); }
.app-tab .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.app-tab.is-on .prog { background: rgba(var(--rgb), .18); }
.app-tab .prog i { display: block; height: 3px; width: 0; background: var(--accent); }
.app-tab.is-on .prog i { width: 100%; }
.autoplay .app-tab.is-on .prog i { animation: fill 6s linear forwards; }
.app-nav { display: flex; align-items: center; gap: 8px; }
.app-pos { display: flex; align-items: center; gap: 10px; }
.app-dots { display: none; gap: 6px; }
.app-dots i { width: 6px; height: 6px; border-radius: 999px; background: #2a3443; transition: width .2s; }
.app-dots i.is-on { width: 18px; background: var(--accent); }
.app-count { min-width: 56px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: 1px; color: var(--muted2); white-space: nowrap; }
.app-stage { position: relative; flex: 0 0 100%; margin-top: 28px; touch-action: pan-y; }
.stage-glow { position: absolute; left: 12%; right: 12%; top: 70px; height: 70%; background: radial-gradient(ellipse at center, rgba(var(--rgb), .22), rgba(7,9,13,0) 70%); filter: blur(30px); }
.stage-plate { position: absolute; left: 44px; right: 44px; top: -20px; height: 60px; border-radius: 22px 22px 0 0; border: 1px solid var(--line3); border-bottom: 0; background: var(--s0); }
.app-window { position: relative; border-radius: 22px; border: 1px solid var(--line2); background: var(--s2); box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--rgb), .08), inset 0 1px 0 #1c2433; overflow: hidden; text-align: left; }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line3); background: var(--s1); }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3443; }
.win-title { margin: 0 auto; padding: 6px 16px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line3); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.win-live { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.dot-ac { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.win-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 450px; }
.win-side { border-right: 1px solid var(--line3); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; background: var(--s0); }
.side-h { padding: 0 10px 12px; }
.side-items { display: flex; flex-direction: column; gap: 4px; }
.side-item { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 10px; border: 1px solid transparent; color: var(--muted); font-size: 14px; font-weight: 600; }
.side-item.is-on { border-color: rgba(var(--rgb), .4); background: rgba(var(--rgb), .1); color: var(--accent); }
.side-url { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line3); font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: .5px; color: var(--dim); overflow-wrap: anywhere; }
.win-panels { min-width: 0; }
.app-panel { padding: 22px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }

/* Mock UI building blocks */
.mock { min-width: 0; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); overflow: hidden; }
.mock.span2 { grid-column: span 2; }
.mock.full { grid-column: 1 / -1; }
.mock.pad { padding: 18px; }
.pad-l { padding: 18px 22px; }
.pad-m { padding: 14px 18px 18px; }
.mock-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mock-title { font-family: var(--display); font-size: 26px; line-height: 1.1; }
.mock-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 18px; font-family: var(--mono); font-size: 11px; color: var(--dim); flex-wrap: wrap; }
.tag-live { padding: 5px 10px; border-radius: 999px; background: rgba(var(--rgb), .12); color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: 2px; }
.tag-win { padding: 5px 10px; border-radius: 999px; background: rgba(69,232,122,.12); color: var(--win); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; }
.glow-card { padding: 18px; border-color: rgba(var(--rgb), .35); background: linear-gradient(160deg, rgba(var(--rgb), .12), #0d1017 60%); box-shadow: 0 0 40px -10px rgba(var(--rgb), .3); }
.who { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.who-name { font-weight: 700; }
.big-num { font-family: var(--display); font-size: 52px; line-height: 1; margin-top: 14px; }
.huge { font-family: var(--display); font-size: 64px; line-height: 1; margin-top: 6px; }
.avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #1a2130; border: 1px solid #2a3443; display: inline-grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--text); }
.avatar.big { width: 42px; height: 42px; font-size: 13px; }
.avatar.sm { width: 26px; height: 26px; font-size: 9px; }
.avatar.solid { background: var(--accent); color: #07090d; border-color: var(--accent); font-weight: 500; }
.rk-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 104px 130px 40px 40px; gap: 10px; align-items: center; padding: 10px 18px; border-bottom: 1px solid #141a24; }
.rk-row.is-top { background: rgba(var(--rgb), .05); }
.rk-head { padding: 8px 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--dim); border-bottom-color: var(--line4); }
.rk-head span:last-child { text-align: right; }
.rk-pos { font-family: var(--display); font-size: 24px; }
.is-top .rk-pos { color: var(--accent); }
.rk-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rk-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lvl { justify-self: start; padding: 4px 9px; border-radius: 6px; border: 1px solid #2a3443; color: var(--muted2); font-family: var(--mono); font-size: 11px; }
.is-top .lvl { border-color: rgba(var(--rgb), .5); color: var(--accent); }
.form { display: flex; gap: 4px; }
.form i { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; font-style: normal; font-weight: 500; }
.form i.win { background: rgba(var(--rgb), .16); color: var(--accent); }
.form i.loss { background: rgba(255,107,107,.14); color: #ff8a8a; }
.rk-mv { font-family: var(--mono); font-size: 12px; }
.rk-mv.up { color: var(--accent); } .rk-mv.down { color: #ff8a8a; }
.rk-pts { text-align: right; font-family: var(--display); font-size: 24px; }
.fx-list { padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.fx-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--s0); border: 1px solid var(--line4); font-size: 15px; }
.fx-row .strong { font-weight: 700; }
.fx-row .dim { color: var(--muted); }
.fx-score { text-align: center; font-family: var(--display); font-size: 26px; letter-spacing: 1px; }
.fx-score.dim { color: var(--dim); }
.fx-b { text-align: right; }
.bench { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px dashed #2a3443; font-size: 14px; color: var(--muted); }
.slider { position: relative; margin-top: 12px; height: 8px; border-radius: 999px; background: #1a2130; }
.slider i { position: absolute; inset: 0 20% 0 0; border-radius: 999px; background: var(--accent); box-shadow: 0 0 16px rgba(var(--rgb), .5); }
.slider b { position: absolute; left: 80%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--text); border: 3px solid var(--accent); }
.meta-row { display: flex; gap: 16px; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.pill-quiet { padding: 6px 12px; border-radius: 999px; border: 1px solid #2a3443; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.seats { margin-top: 10px; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; }
.seats i { height: 26px; border-radius: 5px; background: var(--accent); opacity: .92; }
.seats-wait { margin-top: 8px; display: flex; gap: 4px; }
.seats-wait i { width: 40px; height: 26px; border-radius: 5px; border: 1px dashed var(--accent); }
.rules { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.rules span { padding: 8px 10px; border-radius: 8px; background: var(--s0); border: 1px solid var(--line3); font-size: 13px; }
.avatars { display: flex; margin-top: 16px; }
.avatars.sm { margin-top: 0; }
.av-stack { width: 34px; height: 34px; margin-right: -8px; border-radius: 50%; border: 2px solid var(--s1); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; background: #2a3443; color: var(--text); }
.av-stack.solid { background: rgba(var(--rgb), .85); color: #07090d; }
.av-stack.more { background: #1a2130; }
.avatars.sm .av-stack { width: 30px; height: 30px; font-size: 9px; margin-right: -6px; }
.bracket { padding: 16px 18px 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.br-col { display: flex; flex-direction: column; min-width: 0; }
.br-col > .mk { margin-bottom: 10px; }
.br-matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 10px; }
.br-match { border-radius: 12px; border: 1px solid var(--line3); background: var(--s0); overflow: hidden; }
.br-match.is-final { border-color: rgba(var(--rgb), .5); box-shadow: 0 0 30px -10px rgba(var(--rgb), .5); }
.br-side { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-bottom: 1px solid #141a24; }
.br-seed { width: 14px; font-family: var(--mono); font-size: 10px; color: var(--dim); }
.br-name { flex: 1; min-width: 0; font-size: 14px; color: #8e9aab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-score { font-family: var(--display); font-size: 22px; line-height: 1; color: var(--dim); }
.br-side.is-win .br-name { color: var(--text); font-weight: 700; }
.br-side.is-win .br-score { color: var(--accent); }
.court-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.court-grid.sm { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.court { --c: var(--dim); border-radius: 12px; border: 1px solid var(--line3); background: var(--s0); padding: 12px 14px; min-height: 92px; display: flex; flex-direction: column; gap: 8px; }
.court-grid.sm .court { padding: 10px 12px; min-height: 74px; gap: 5px; }
.ct-name { font-weight: 700; font-size: 14px; }
.ct-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.ct-state { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c); }
.ct-detail { font-size: 12px; color: var(--muted); }
.cs-free { --c: var(--win); } .cs-play { --c: var(--accent); } .cs-due { --c: var(--amber); } .cs-over { --c: var(--over); } .cs-closed { --c: var(--dim); }
.court.cs-play { border-color: rgba(var(--rgb), .3); background: rgba(var(--rgb), .05); }
.court.cs-over { border-color: rgba(255,107,107,.45); }
.court.cs-closed { background: repeating-linear-gradient(135deg, #0a0d12 0 8px, #0d1017 8px 16px); }
.legend { display: flex; gap: 8px 16px; flex-wrap: wrap; margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.show-mock { border-color: rgba(var(--rgb), .3); background: linear-gradient(170deg, rgba(var(--rgb), .08), #0a0d12 55%); }
.sm-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: var(--muted); gap: 10px; }
.sm-live { display: inline-flex; gap: 14px; align-items: center; }
.sm-live .ac { display: inline-flex; align-items: center; gap: 6px; }
.sm-body { padding: 20px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: center; }
.sm-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.sm-nums { font-family: var(--display); font-size: 88px; line-height: .9; letter-spacing: 2px; white-space: nowrap; }
.run { margin-top: 16px; padding: 10px 14px; border-radius: 10px; background: rgba(var(--rgb), .1); border: 1px solid rgba(var(--rgb), .3); font-size: 14px; font-weight: 600; }
.sm-court { position: relative; height: 170px; border-radius: 10px; border: 2px solid #3a4a5e; background: #0f2a26; display: grid; grid-template-columns: 1fr 1fr; }
.sm-court > div { display: grid; grid-template-rows: 1fr 1fr; place-items: center; }
.sm-court > div:first-child { border-right: 3px solid var(--text); }
.pl { width: 34px; height: 34px; border-radius: 50%; background: #2a3443; display: grid; place-items: center; font-weight: 700; }
.pl.on { background: var(--accent); color: #07090d; }
.sm-arrow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--s0); border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 15px; }
.sm-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.dy-list, .reg-list { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.dy-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line4); border-left: 3px solid var(--accent); background: var(--s0); }
.dy-row.dy-t { border-left-color: #3a4658; background: repeating-linear-gradient(135deg, #0a0d12 0 8px, #0d1017 8px 16px); }
.dy-row.dy-t .dy-a { color: #8e9aab; }
.dy-row.dy-f { border: 1px dashed rgba(69,232,122,.45); border-left: 3px solid var(--win); background: transparent; }
.dy-row.dy-f .dy-a { color: var(--win); }
.dy-time { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.dy-main { min-width: 0; }
.dy-a { display: block; font-size: 15px; font-weight: 600; }
.dy-b, .reg-d { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.dy-tag, .reg-tag { padding: 4px 10px; border-radius: 999px; border: 1px solid #2a3443; color: var(--muted); font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.dt-ac .dy-tag { border-color: var(--accent); color: var(--accent); }
.dt-win .dy-tag { border-color: var(--win); color: var(--win); }
.dt-amber .dy-tag { border-color: var(--amber); color: var(--amber); }
.credits { margin-top: 10px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.credits i { height: 22px; border-radius: 5px; background: #141a24; border: 1px solid var(--line2); }
.credits i.is-on { background: var(--accent); border-color: var(--accent); }
.tiles2 { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.tile { padding: 14px; border-radius: 12px; background: var(--s0); border: 1px solid var(--line3); }
.warn-note { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--s0); border: 1px solid var(--line3); font-size: 13px; color: var(--warn); }
.reg-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--s0); border: 1px solid var(--line4); }
.reg-row .avatar { width: 36px; height: 36px; }
.reg-win .reg-d, .reg-win .reg-tag { color: var(--win); border-color: var(--win); }
.reg-warn .reg-d, .reg-warn .reg-tag { color: var(--warn); border-color: var(--warn); }
.reg-bad .reg-d, .reg-bad .reg-tag { color: #ff8a8a; border-color: #ff8a8a; }
.dbs-bar { margin-top: 14px; height: 8px; border-radius: 999px; background: #1a2130; position: relative; }
.dbs-bar i { position: absolute; inset: 0 88% 0 0; border-radius: 999px; background: var(--warn); }

/* ════════════ Story ════════════ */
.story { position: relative; overflow-x: clip; margin-top: 96px; border-top: 1px solid #141b26; background: linear-gradient(180deg, #07090d 0%, #080b10 100%); }
.story-grid { padding-top: 80px; padding-bottom: 88px; display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 48px; align-items: start; }
.story-rail { position: sticky; top: 124px; }
.rail-h { margin-bottom: 14px; }
.rail-tabs { display: flex; flex-direction: column; border-left: 1px solid #1e2735; }
.rail-tab { min-height: 50px; margin-left: -1px; padding: 0 0 0 18px; border: 0; border-left: 2px solid transparent; background: transparent; color: #8e9aab; font-family: var(--body); font-size: 16px; font-weight: 500; text-align: left; display: flex; align-items: center; gap: 14px; cursor: pointer; }
.rail-tab:hover { color: var(--text); }
.rail-tab .rt-n { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--dim); }
.rail-tab.is-on { color: var(--text); font-weight: 700; border-left-color: var(--accent); }
.rail-tab.is-on .rt-n { color: var(--accent); }
.story-prog-row { margin-top: 22px; }
.rail-prog { height: 3px; border-radius: 999px; background: #141b26; overflow: hidden; }
.rail-prog i { display: block; height: 3px; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.rail-count { margin-top: 10px; }
.story-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.story-copy { grid-column: 1; grid-row: 1; min-width: 0; padding-top: 6px; }
.story-phone { grid-column: 2; grid-row: 1; position: sticky; top: 118px; display: flex; flex-direction: column; align-items: center; touch-action: pan-y; }
.chapter { scroll-margin-top: 120px; }
.ch-title { margin-top: 16px; font-family: var(--display); font-weight: 400; font-size: 84px; line-height: .9; }
.ch-title.is-small { font-size: 64px; }
.ch-lead { margin-top: 22px; max-width: 56ch; font-size: 18px; line-height: 1.65; color: var(--muted); }
.chapter > .btn-line { margin-top: 22px; min-height: 48px; border-radius: 12px; border-color: rgba(var(--rgb), .5); font-size: 15px; }
.preview-row { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-toggle { min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(var(--rgb), .5); color: var(--accent); font-size: 15px; }
.btn-toggle.is-on { background: var(--accent); color: #07090d; border-color: var(--accent); }
.points { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.points li { padding: 14px 0 16px; border-top: 1px solid #1a2230; }
.pt-t { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; line-height: 1.4; }
.pt-t i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.pt-d { margin-top: 6px; padding-left: 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.note { margin-top: 22px; padding: 18px 22px; border-radius: 16px; border-left: 3px solid var(--accent); background: var(--s1); }
.note-t { font-weight: 700; font-size: 16px; }
.note-d { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.note-s { margin-top: 8px; font-size: 12px; color: #8e9aab; }
.ch-nav { margin-top: 34px; padding-top: 24px; border-top: 1px solid #1a2230; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ch-next { min-height: 58px; border-radius: 999px; padding: 0 30px; font-size: 17px; box-shadow: 0 10px 36px -10px rgba(var(--rgb), .5); }
.ch-count { margin-left: auto; font-size: 12px; }
/* Without JavaScript every chapter is shown, one after another. */
html:not(.js) .story-grid { grid-template-columns: 1fr; }
html:not(.js) .chapter + .chapter { margin-top: 64px; padding-top: 48px; border-top: 1px solid #1a2230; }

.phone-glow { position: absolute; top: 60px; width: 500px; height: 600px; max-width: 140%; background: radial-gradient(closest-side, rgba(var(--rgb), .13), rgba(7,9,13,0) 72%); pointer-events: none; }
.phone { position: relative; width: 336px; height: 690px; border-radius: 54px; padding: 12px; background: linear-gradient(160deg, #2a3240 0%, #12161d 40%, #1c222c 100%); box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 0 0 1px #3a4452; }
.phone-in { position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: var(--bg); color: #e8edf5; display: flex; flex-direction: column; }
.ph-status { flex: none; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; font-size: 13px; font-weight: 700; }
.notch { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 999px; background: #000; }
.ph-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 10px; }
.ph-heading { font-family: var(--display); font-size: 30px; line-height: 1; margin-top: 3px; }
.ph-head .avatar { width: 34px; height: 34px; background: #1a2430; border-color: #2a3d52; }
.ph-body { flex: 1; overflow: hidden; padding: 0 14px; }
.ph-tabbar { flex: none; display: flex; justify-content: space-around; padding: 10px 8px 22px; border-top: 1px solid #172230; background: var(--s0); }
.ph-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #6f8696; font-size: 9px; font-weight: 600; }
.ph-tabbar span.is-on { color: var(--accent); }
.phone-cap { position: relative; margin-top: 20px; }
.phone-cap-top { display: none; }
.chip-row { margin-top: 14px; width: 100%; max-width: 360px; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #263142; background: transparent; color: #c9d2dc; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chip.is-on { border-color: var(--accent); background: rgba(var(--rgb), .12); color: var(--accent); }

/* Phone screens */
.ph-card { margin-top: 10px; border-radius: 18px; padding: 12px 14px; background: #0d1117; border: 1px solid #1f2d3d; }
.ph-screen > .ph-card:first-child, .ph-screen > div:first-child > .ph-card:first-child { margin-top: 0; }
.ph-card.flush { padding: 0; overflow: hidden; }
.ph-card.center { text-align: center; }
.ph-glow { border-radius: 20px; padding: 16px; background: linear-gradient(150deg, rgba(var(--rgb), .10) 0%, #0d1117 60%); border-color: rgba(var(--rgb), .3); }
.ph-big { font-family: var(--display); font-size: 64px; line-height: .85; }
.ph-num { font-family: var(--display); font-size: 34px; line-height: 1; }
.ph-sub { font-size: 12px; color: #a9bccb; margin-top: 4px; }
.ph-text { font-size: 12px; line-height: 1.55; color: #c3d0db; margin-top: 6px; }
.ph-title-40 { font-family: var(--display); font-size: 40px; line-height: .95; }
.ph-form { display: flex; gap: 5px; margin-top: 12px; }
.ph-form i { width: 22px; height: 22px; border-radius: 6px; color: #07090d; font-family: var(--mono); font-size: 10px; font-style: normal; font-weight: 500; display: grid; place-items: center; }
.ph-form i.win, .prk-form i.win { background: var(--win); }
.ph-form i.loss, .prk-form i.loss { background: var(--loss); }
.ph-chip { flex: none; padding: 3px 9px; border-radius: 999px; border: 1px solid #2a3d52; color: #a9bccb; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; white-space: nowrap; }
.ph-chip.solid { background: var(--accent); border-color: var(--accent); color: #07090d; font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.ph-chip.tint { background: rgba(var(--rgb), .12); border-color: transparent; color: var(--accent); }
.ph-chip.amber { border-color: var(--amber); color: var(--amber); }
.ph-chip.live-win { display: inline-flex; align-items: center; gap: 5px; border-color: var(--win); color: var(--win); }
.ph-chip.live-win i { width: 5px; height: 5px; border-radius: 50%; background: var(--win); }
.ph-chip.is-on { border-color: var(--accent); color: var(--accent); }
.ph-chip.consent { border-color: #ff8a8a; color: #ff8a8a; font-family: var(--body); font-size: 10px; font-weight: 700; }
.ph-chip.consent.is-on { border-color: var(--win); color: var(--win); }
.prk-row { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-bottom: 1px solid #172230; }
.prk-row.is-you { background: rgba(var(--rgb), .07); }
.prk-pos { width: 14px; font-family: var(--display); font-size: 20px; }
.prk-row.is-you .prk-pos { color: var(--accent); }
.prk-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; }
.prk-form { display: flex; gap: 2px; }
.prk-form i { width: 6px; height: 14px; border-radius: 2px; }
.prk-pts { width: 22px; text-align: right; font-family: var(--display); font-size: 20px; }
.lvl-bar { display: flex; gap: 4px; margin-top: 8px; }
.lvl-bar i { flex: 1; height: 8px; border-radius: 999px; }
.lvl-bar i:nth-child(1) { background: rgba(var(--rgb), .25); } .lvl-bar i:nth-child(2) { background: rgba(var(--rgb), .37); } .lvl-bar i:nth-child(3) { background: rgba(var(--rgb), .49); } .lvl-bar i:nth-child(4) { background: rgba(var(--rgb), .61); } .lvl-bar i:nth-child(5) { background: var(--accent); }
.seg { max-width: 100%; }
.ph-body .seg { display: flex; width: 100%; padding: 3px; border-radius: 999px; background: #0d1117; border-color: #1f2d3d; }
.ph-body .seg button { flex: 1; min-height: 44px; padding: 0 4px; border-radius: 999px; font-size: 11px; color: #a9bccb; }
.ph-body .seg button.is-on { color: #07090d; }
.ph-match { padding: 8px 12px; }
.ph-match.is-you { border-color: rgba(var(--rgb), .4); }
.ph-match .mk9 { margin: 2px 0 4px; }
.pm-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.pm-row > span:first-child { flex: 1; }
.pm-score { font-family: var(--display); font-size: 22px; }
.pm-score.dim { color: #8fa6b6; }
.pm-b { flex: 1; text-align: right; color: #a9bccb; }
.ph-match .br-side { padding: 3px 0; border: 0; gap: 8px; }
.ph-match .br-name { font-size: 12px; }
.ph-match .br-score { font-size: 20px; }
.score-row { display: flex; align-items: center; gap: 10px; }
.score-row.is-you { border-color: rgba(var(--rgb), .35); }
.score-row .avatar { width: 32px; height: 32px; background: #1a2430; }
.score-big { width: 38px; text-align: center; font-family: var(--display); font-size: 38px; line-height: 1; }
.steps { margin: 16px 2px 0; display: flex; flex-direction: column; }
.step { display: flex; gap: 12px; align-items: flex-start; min-height: 46px; }
.step-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #2a3d52; color: #07090d; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.step-done .step-dot { border-color: var(--accent); background: var(--accent); }
.step-now .step-dot { border-color: var(--accent); }
.step-t { display: block; font-size: 13px; font-weight: 700; color: #8fa6b6; }
.step-done .step-t { color: #e8edf5; } .step-now .step-t { color: var(--accent); }
.step-d { display: block; font-size: 11px; color: #8fa6b6; margin-top: 2px; }
.div-card { padding: 10px 12px; margin-top: 8px; border-radius: 16px; }
.div-card .mk9 { letter-spacing: 1.5px; margin-bottom: 4px; }
.zone { display: flex; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 8px; font-size: 12px; font-weight: 500; }
.zone span:first-child { width: 12px; color: #6b7a8d; font-weight: 700; }
.zone.up { background: rgba(var(--rgb), .12); font-weight: 700; }
.zone.up span:first-child { color: var(--accent); }
.zone.down { background: rgba(255,107,107,.1); font-weight: 700; }
.zone.down span:first-child { color: #ff8a8a; }
.zone.new span:last-child { color: var(--muted); }
.full-bar { height: 8px; border-radius: 999px; background: var(--accent); margin-top: 14px; }
.ph-btn { margin-top: 14px; min-height: 44px; border-radius: 999px; background: var(--accent); color: #07090d; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tags span { padding: 4px 9px; border-radius: 999px; background: #141b22; font-size: 10px; color: #c3d0db; display: inline-flex; align-items: center; gap: 5px; }
.tags.dashed span { background: transparent; border: 1px dashed #2a3d52; color: #8fa6b6; }
.tags.tint span { background: rgba(var(--rgb), .12); color: var(--accent); font-weight: 700; }
.tags.lg { margin-top: 4px; gap: 8px; }
.ph-sc .ph-sc-head, .ph-sc-head { display: flex; justify-content: space-between; padding: 0 0 9px; border-bottom: 1px solid #1f2d3d; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; color: #a9bccb; }
.ph-sc { border-color: rgba(var(--rgb), .3); background: linear-gradient(170deg, rgba(var(--rgb), .08), #0d1117 60%); }
.ph-sc-team { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.ph-sc-team > span:first-child { flex: 1; min-width: 0; }
.ph-sc-name { display: block; font-size: 14px; font-weight: 700; }
.ph-sc-role { display: block; font-family: var(--mono); font-size: 9px; color: #a9b4c2; margin-top: 2px; }
.ph-sc-num { font-family: var(--display); font-size: 44px; line-height: .9; }
.ph-sc-sets { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--mono); font-size: 10px; color: #8fa6b6; }
.ph-sc-msg { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(var(--rgb), .1); font-size: 11px; color: #eef2f7; }
.ph-sc-msg.is-quiet { background: transparent; color: #a9b4c2; border: 1px solid var(--line); }
.sc-set { padding: 2px 7px; border-radius: 6px; background: #141b22; border: 1px solid transparent; color: var(--text); }
.sc-set.is-cur { background: transparent; border-color: var(--accent); color: var(--accent); }
.sc-mini-btns { display: flex; gap: 8px; margin-top: 10px; }
.sc-mini-btns .sc-btn { flex: 1; min-width: 0; min-height: 52px; padding: 0 6px; border-radius: 16px; font-size: 13px; }
.ph-scan { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--mono); font-size: 9px; color: #8fa6b6; }
.ph-scan svg { stroke: #c3d0db; }
.queue-bar { margin-top: 14px; height: 8px; border-radius: 999px; background: #1a2430; overflow: hidden; }
.queue-bar i { display: block; height: 8px; width: 72%; border-radius: 999px; background: var(--accent); box-shadow: 0 0 14px rgba(var(--rgb), .6); }
.checks { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.checks span { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c3d0db; }
.tick { color: var(--accent); flex: none; }
.partner { display: flex; align-items: center; gap: 10px; padding: 12px; margin-top: 8px; }
.partner.is-matched { background: rgba(var(--rgb), .08); border-color: rgba(var(--rgb), .4); }
.partner .avatars { margin-right: 4px; }
.partner .av-stack { border-color: #0d1117; }
.champ { display: flex; align-items: center; gap: 10px; background: linear-gradient(150deg, rgba(232,195,74,.18), #0d1117 70%); border-color: rgba(232,195,74,.45); }
.champ svg { color: #e8c34a; }
.podium { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: end; }
.pod { --c: #c0c8d4; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pod-gold { --c: #e8c34a; } .pod-bronze { --c: #c98a52; }
.pod-pos { width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #07090d; display: grid; place-items: center; font-family: var(--display); font-size: 20px; box-shadow: 0 0 18px var(--c); }
.pod-name { font-size: 12px; font-weight: 700; text-align: center; }
.pod-bar { width: 100%; height: 104px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, var(--c), rgba(13,17,23,.4)); opacity: .85; }
.pod-gold .pod-bar { height: 144px; } .pod-bronze .pod-bar { height: 76px; }
.sealed { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #a9bccb; }
.aud { display: flex; flex-direction: column; gap: 6px; }
.aud-btn { min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid #1f2d3d; background: #0d1117; color: #c3d0db; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.aud-btn.is-on { border-color: var(--accent); background: rgba(var(--rgb), .12); color: var(--accent); }
.slots, .pay-opts { display: flex; flex-direction: column; gap: 6px; }
.pay-opts { margin-top: 10px; }
.slot-off { min-height: 44px; padding: 8px 12px; border-radius: 14px; border: 1px dashed #2a3d52; background: repeating-linear-gradient(135deg, #0b0f15 0 6px, #0d1117 6px 12px); display: flex; gap: 10px; align-items: center; color: #8fa6b6; font-size: 11px; }
.slot, .pay-opt { min-height: 52px; padding: 8px 12px; border-radius: 14px; border: 1px solid #1f2d3d; background: #0d1117; color: #e8edf5; text-align: left; cursor: pointer; display: flex; gap: 10px; align-items: center; }
.pay-opt { min-height: 44px; }
.slot.is-on, .pay-opt.is-on { border-color: var(--accent); background: rgba(var(--rgb), .1); }
.slot-t { font-family: var(--mono); font-size: 11px; color: #a9bccb; }
.slot.is-on .slot-t { color: var(--accent); }
.radio-dot { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid #3a4a5e; box-shadow: inset 0 0 0 3px #0d1117; }
.pay-opt.is-on .radio-dot { border-color: var(--accent); background: var(--accent); }
.wallets { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wallet { margin-top: 0; padding: 10px; min-height: 84px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 16px; }
.wallet-v { font-family: var(--display); font-size: 22px; line-height: 1; }
.switch { margin-top: 12px; width: 100%; min-height: 48px; padding: 0 12px; border-radius: 14px; border: 1px solid #2a3d52; background: var(--s0); color: #e8edf5; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-size: 12px; font-weight: 700; text-align: left; }
.switch.is-on { border-color: var(--accent); }
.sw-track { flex: none; width: 40px; height: 24px; border-radius: 999px; background: #2a3443; position: relative; transition: background .2s; }
.sw-track i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e8edf5; transition: left .2s; }
.switch.is-on .sw-track { background: var(--accent); }
.switch.is-on .sw-track i { left: 19px; }
.doc-row { display: flex; align-items: center; gap: 12px; }
.pdf { width: 36px; height: 44px; border-radius: 8px; background: #1a2430; display: grid; place-items: center; font-family: var(--mono); font-size: 9px; color: #a9bccb; }

/* ════════════ Sections ════════════ */
.sec { padding-top: 96px; }
.sec-last { padding-bottom: 80px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; }
.sec-head.stack { display: block; }
.split-copy > .sec-desc { margin-top: 18px; max-width: 52ch; }
.ic-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--rgb), .1); border: 1px solid rgba(var(--rgb), .3); color: var(--accent); flex: none; }

/* League formats */
.lt-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.lt-card { padding: 24px 22px; border-radius: 22px; border: 1px solid var(--line2); background: var(--s1); display: flex; flex-direction: column; gap: 12px; min-width: 0; scroll-margin-top: 100px; }
.lt-card h3 { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; }
.lt-card p { font-size: 15px; line-height: 1.6; color: var(--muted2); }
.lt-card ul { margin-top: 6px; display: flex; flex-direction: column; gap: 8px; }
.lt-card li { padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line3); background: var(--s0); font-size: 14px; line-height: 1.4; display: flex; gap: 10px; align-items: flex-start; }
.lt-card li .tick { margin-top: 2px; }

/* Tournament formats + guided setup */
.fmt-grid { position: relative; margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; align-items: start; }
.fmt-card { padding: 22px 18px 18px; border-radius: 22px; border: 1px solid var(--line2); background: var(--s1); min-width: 0; }
.fmt-card h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--accent); }
.fmt-count { flex: none; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; border: 1px solid rgba(var(--rgb), .5); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-size: 20px; line-height: 1; }
.fmt-card .mk-sub { margin-top: 6px; font-size: 12px; letter-spacing: 1px; color: var(--muted2); }
.fmt-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.fmt-card li { padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line3); background: var(--s0); font-size: 15px; font-weight: 600; line-height: 1.3; display: flex; gap: 10px; align-items: center; }
.fmt-card li i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); }
.fmt-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; background: linear-gradient(180deg, rgba(7,9,13,0) 0%, rgba(7,9,13,.85) 70%, #07090d 100%); }
.guide { margin-top: 12px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(var(--rgb), .06), #0b0e14 50%); padding: 20px 24px; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr); gap: 16px 24px; align-items: center; scroll-margin-top: 100px; }
.guide .eyebrow { font-size: 11px; }
.guide-h { margin-top: 8px; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: .95; }
.guide-lead { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.guide-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.gs-step { border-radius: 14px; border: 1px solid var(--line3); background: var(--s0); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; }
.gs-dot { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #2a3443; color: var(--muted); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.gs-done .gs-dot { background: var(--accent); border-color: var(--accent); color: #07090d; }
.gs-now { border-color: rgba(var(--rgb), .5); }
.gs-now .gs-dot { border-color: var(--accent); color: var(--accent); }
.gs-t { display: block; font-weight: 700; font-size: 14px; line-height: 1.3; }
.gs-d { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.gs-now .gs-d { color: var(--accent); }
.guide-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 24px; border-top: 1px solid var(--line4); padding-top: 12px; }
.guide-points li { font-size: 13px; line-height: 1.5; color: var(--muted); }
.guide-points strong { color: var(--text); }

/* Clubs: guided setup as its own section */
.guide-sec { margin-top: 0; }
.guide-sec .guide-h { font-size: 44px; }
.gs-tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(var(--rgb), .12); color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: 1px; }

/* Clubs: Rankings Spotlight */
.sp-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sp-card { min-width: 0; padding: 22px; border-radius: 22px; border: 1px solid var(--line2); background: var(--s1); display: flex; flex-direction: column; }
.sp-card.is-top { border-color: rgba(var(--rgb), .35); background: linear-gradient(160deg, rgba(var(--rgb), .12), #0d1017 60%); box-shadow: 0 0 40px -10px rgba(var(--rgb), .3); }
.sp-tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: rgba(var(--rgb), .12); color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.sp-player { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.sp-name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.sp-num { margin-top: 18px; font-family: var(--display); font-size: 56px; line-height: 1; }
.sp-card.is-top .sp-num { color: var(--accent); }
.sp-label { margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--muted2); }
.sp-d { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line4); font-size: 14px; line-height: 1.6; color: var(--muted); }
.sp-foot { margin-top: 18px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--muted2); text-align: center; }

/* Themes: a strip of eight swatches and the built-in customiser */
.themes-box { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; align-items: stretch; }
.themes-swatches { min-width: 0; padding: 20px; border-radius: 22px; border: 1px solid var(--line2); background: var(--s1); display: flex; align-items: center; }
.sw-grid { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; }
.sw { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.sw-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(145deg, var(--sw-b1), var(--sw-b2)); border: 1px solid rgba(255,255,255,.08); color: var(--sw-tx); }
.sw-logo { position: absolute; top: 8px; left: 9px; font-family: var(--display); font-size: 13px; letter-spacing: 1.5px; line-height: 1; }
.sw-rows { position: absolute; left: 9px; right: 9px; top: 30px; display: flex; flex-direction: column; gap: 4px; }
.sw-rows i { display: block; height: 4px; border-radius: 2px; background: var(--sw-ac); opacity: .9; }
.sw-rows i:nth-child(1) { width: 78%; } .sw-rows i:nth-child(2) { width: 56%; opacity: .55; } .sw-rows i:nth-child(3) { width: 66%; opacity: .35; }
.sw-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--sw-ac); }
.sw-name { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc { min-width: 0; padding: 22px 24px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(var(--rgb), .07), #0b0e14 55%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 250px); gap: 20px 24px; align-items: center; }
.tc .eyebrow { font-size: 11px; }
.tc-h { margin-top: 8px; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: .95; }
.tc-d { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.tc-d strong { color: var(--text); }
.tc-pills { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tc-pills li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(var(--rgb), .3); font-family: var(--mono); font-size: 11px; color: var(--muted2); }
.tc-pills .tick { color: var(--accent); }
.tc-panel { min-width: 0; border-radius: 16px; border: 1px solid var(--line); background: var(--s2); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.tc-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line4); }
.tc-head .win-dots i { width: 8px; height: 8px; }
.tc-head .win-dots { gap: 5px; }
.tc-title { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--muted2); }
.tc-rows { padding: 6px 12px; }
.tc-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
.tc-row + .tc-row { border-top: 1px solid var(--line4); }
.tc-chip { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255,255,255,.18); }
.tc-label { color: var(--text); }
.tc-hex { font-family: var(--mono); font-size: 11px; color: var(--muted2); }
.tc-prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px 12px 12px; }
.tc-prog i { height: 3px; border-radius: 2px; background: var(--accent); }
.tc-prog i:nth-child(n+4) { background: #2a3443; }

/* Split layout (copy + a sticky visual) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.split-copy, .split-visual, .sc-copy, .sc-visual { min-width: 0; }
.split-mid { align-items: center; }
.sticky { position: sticky; top: 124px; }
.split .points { grid-template-columns: 1fr; margin-top: 26px; }
.numbered li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.numbered .pt-n, .pt-n { font-family: var(--mono); font-size: 11px; color: var(--accent); padding-top: 3px; }
.numbered .pt-t { display: block; }
.numbered .pt-d { padding-left: 0; }
.board { border-radius: 22px; border: 1px solid var(--line2); background: var(--s2); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--rgb), .08); }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line3); background: var(--s1); flex-wrap: wrap; }
.board-body { padding: 16px 18px 18px; min-height: 330px; }
.board-foot { padding: 0 18px 12px; border-top: 1px solid var(--line3); }
.q-list { display: flex; flex-direction: column; gap: 8px; }
.q-row { border-radius: 14px; border: 1px solid var(--line3); background: var(--s0); padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.q-row.is-on { border-color: rgba(var(--rgb), .5); }
.q-tag { display: inline-block; padding: 3px 8px; border-radius: 999px; background: rgba(69,232,122,.12); color: var(--win); font-family: var(--mono); font-size: 10px; letter-spacing: 1px; }
.is-held .q-tag { background: rgba(255,181,71,.12); color: var(--amber); }
.q-btn { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--accent); background: transparent; color: var(--accent); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; }
.q-btn.is-on { background: var(--accent); color: #07090d; }
.q-btn.is-off { border-color: #2a3443; color: var(--dim); cursor: default; }
.tl-grid { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.tl-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--dim); }
.tl-name { font-size: 12px; font-weight: 600; color: var(--muted2); }
.tl-track { position: relative; height: 26px; border-radius: 6px; background: var(--s0); border: 1px solid var(--line4); overflow: hidden; }
.tl-track i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: var(--c); opacity: .85; }
.tl-track i.cs-closed { --c: #3a4658; }

/* Show Court */
.sc-layout { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sc-copy .points { grid-template-columns: 1fr; margin-top: 0; }
.sc-label { margin: 0 0 8px; }
.sc-label + .tv { margin-top: 0; }
.tv-stand + .sc-label { margin-top: 14px; }
.tv { border-radius: 24px; padding: 10px; background: linear-gradient(170deg, #1c2433, #0b0e14); border: 1px solid #2a3443; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 60px -30px rgba(var(--rgb), .5); }
.tv-screen { border-radius: 16px; overflow: hidden; border: 1px solid rgba(var(--rgb), .3); background: linear-gradient(170deg, rgba(var(--rgb), .08), #0a0d12 55%); }
.tv-stand { margin: 0 auto; width: 120px; height: 16px; background: linear-gradient(#1c2433, #0d1017); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.sc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: var(--muted); }
.sc-live { display: inline-flex; gap: 14px; align-items: center; }
.sc-live .ac { display: inline-flex; align-items: center; gap: 6px; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; animation: pulse 1.5s ease-in-out infinite; }
.sc-score { padding: 20px 20px 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.sc-team { min-width: 0; }
.sc-team.is-right { text-align: right; }
.sc-name { font-size: 19px; font-weight: 700; line-height: 1.3; }
.sc-role { margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.sc-role.ac { color: var(--accent); }
.sc-nums { font-family: var(--display); font-size: 92px; line-height: .9; letter-spacing: 2px; white-space: nowrap; }
.sc-sets { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 20px 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.sc-sets .sc-set { padding: 3px 9px; }
.sc-court-wrap { padding: 10px 20px 16px; }
.sc-court { display: block; max-height: 230px; }
.sc-court .sc-serve, .sc-court .sc-ring { stroke: var(--accent); }
.sc-court .sc-on { fill: var(--accent); } .sc-court .sc-off { fill: #2a3443; }
.sc-court text { font-family: var(--body); font-size: 15px; font-weight: 700; }
.sc-court .sc-ton { fill: #07090d; } .sc-court .sc-toff { fill: var(--text); }
.sc-msgs { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 6px; min-height: 44px; }
.sc-msg { padding: 10px 14px; border-radius: 10px; background: rgba(var(--rgb), .12); border: 1px solid rgba(var(--rgb), .3); font-size: 14px; font-weight: 500; }
.sc-msg.is-strong { font-weight: 700; }
.sc-msg.is-quiet { background: transparent; border-color: var(--line); color: var(--muted); }
.sc-msg .ac { font-weight: 700; }
.sc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-btn { flex: 1 1 180px; min-height: 56px; border-radius: 16px; border: 1px solid var(--accent); background: transparent; color: var(--accent); font-size: 16px; font-weight: 700; cursor: pointer; padding: 0 12px; }
.sc-btn.is-solid { background: var(--accent); color: #07090d; }
.sc-btn:active { filter: brightness(1.15); }
.scan { margin-top: 12px; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); }
.qr { width: 84px; height: 84px; flex: none; border-radius: 8px; background: var(--text); padding: 6px; box-sizing: content-box; }
.scan .mk-sub { letter-spacing: 1px; margin-top: 4px; }

/* Coaching craft + console */
.craft-card { border-radius: 22px; border: 1px solid var(--line2); background: var(--s2); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--rgb), .08); }
.craft-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line3); background: var(--s1); flex-wrap: wrap; }
.craft-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.skills { display: flex; flex-direction: column; gap: 16px; }
.skill-bar { margin-top: 8px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.skill-bar i { height: 10px; border-radius: 999px; background: #1a2130; }
.skill-bar i.is-had { background: rgba(var(--rgb), .45); }
.skill-bar i.is-new { background: var(--accent); }
.tag-win-lg { display: inline-flex !important; align-items: center; gap: 6px; padding: 8px 12px !important; border-radius: 999px; background: rgba(69,232,122,.12) !important; color: var(--win) !important; font-size: 13px !important; font-weight: 700; }
.tag-win-lg .tick { color: var(--win); }
.tag-line { padding: 8px 12px !important; border-radius: 999px; border: 1px solid rgba(var(--rgb), .5); background: transparent !important; color: var(--accent) !important; font-size: 13px !important; font-weight: 700; }
.console-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; align-items: stretch; }
.console-mock { border-radius: 22px; border: 1px solid var(--line2); background: var(--s2); overflow: hidden; display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.cm-nav { border-right: 1px solid var(--line3); background: var(--s0); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.cm-nav .mk { padding: 0 10px 10px; }
.cm-nav span { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.cm-nav span.is-on { background: rgba(var(--rgb), .12); color: var(--accent); }
.cm-main { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cm-main .tiles2 { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.today { border-radius: 14px; border: 1px solid var(--line3); background: var(--s1); padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.today .mk-sub { margin-top: 4px; }
.today-btn { flex: none; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 700; }
.today-btn.solid { background: var(--accent); color: #07090d; }
.points.boxed { margin: 0; display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--line); background: var(--s2); overflow: hidden; }
.points.boxed li { padding: 18px 22px; border-top: 0; border-bottom: 1px solid var(--line4); }
.points.boxed li:last-child { border-bottom: 0; }

/* Features */
.feat-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 1px; background: var(--line4); border: 1px solid var(--line4); border-radius: 24px; overflow: hidden; }
.feat { background: var(--s0); padding: 28px 28px 30px; }
.feat.is-wide { grid-column: span 2; background: linear-gradient(160deg, rgba(var(--rgb), .08), #0a0d12 60%); }
.feat .ic-box { width: 42px; height: 42px; }
.feat h3 { margin-top: 16px; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; }
.feat p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* Court Booking, Clubs' add-on: the tag, its section's booking-screen mock and
   the box under the Clubs plans (filled from the feed by app.js). */
.addon-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(var(--rgb), .45); background: rgba(var(--rgb), .1); color: var(--accent); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: 1.5px; line-height: 1.3; text-transform: uppercase; }
.feat h3 .addon-tag { position: relative; top: -3px; }
.cb-from { margin-top: 14px; display: inline-flex; padding: 8px 14px; border-radius: 12px; background: rgba(var(--rgb), .08); color: var(--accent); font-family: var(--mono); font-size: 12px; letter-spacing: .5px; }
.cb-from[hidden] { display: none; }
.cb-chip { padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #07090d; font-family: var(--mono); font-size: 11px; }
.cb-board .board-body { min-height: 0; }
.cb-days { display: flex; gap: 6px; overflow: hidden; }
.cb-days span { flex: none; padding: 6px 11px; border-radius: 10px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.cb-days span.is-on { border-color: rgba(var(--rgb), .6); color: var(--accent); background: rgba(var(--rgb), .08); }
.cb-slots { margin-top: 14px; display: grid; gap: 8px; }
.cb-slot { display: grid; grid-template-columns: 92px 1fr auto auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line3); background: var(--s1); }
.cb-slot.is-full { opacity: .55; }
.cb-time { font-family: var(--display); font-size: 24px; line-height: 1; display: flex; align-items: center; gap: 6px; }
.cb-peak { padding: 2px 6px; border-radius: 6px; background: rgba(255,181,71,.14); color: var(--amber); font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.cb-free { font-size: 13px; color: var(--muted2); }
.cb-slot:not(.is-full) .cb-free { color: var(--win); }
.cb-pr { font-family: var(--mono); font-size: 13px; }
.cb-btn { padding: 6px 12px; border-radius: 9px; background: var(--accent); color: #07090d; font-size: 12px; font-weight: 700; }
.cb-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.addon-box { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 26px; border-radius: 22px; border: 1px solid rgba(var(--rgb), .25); background: linear-gradient(160deg, rgba(var(--rgb), .06), var(--s1) 55%); }
.addon-box[hidden] { display: none; }
.addon-h { margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.addon-d { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.addon-free { margin-top: 12px; display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #07090d; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.addon-free[hidden] { display: none; }
.addon-from { margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--text); }
.addon-link { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--accent); border-bottom: 1px solid rgba(var(--rgb), .4); }
.addon-side { min-width: 0; }
.addon-tiers { display: grid; border: 1px solid var(--line); border-radius: 14px; background: var(--s2); overflow: hidden; }
.addon-tier { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 11px 16px; font-size: 14px; }
.addon-tier + .addon-tier { border-top: 1px solid var(--line3); }
.addon-tier-n { color: var(--muted2); }
.addon-tier-p { font-family: var(--mono); font-size: 13px; color: var(--text); }
.addon-tier-y { color: var(--dim); }
.addon-inc { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .addon-box { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
}
@media (max-width: 600px) {
  .cb-slot { grid-template-columns: 78px 1fr auto; padding: 10px 12px; gap: 8px; }
  .cb-pr { display: none; }
  .cb-time { font-size: 21px; }
}
.rail-nav, .swipe-hint { display: none; }

/* Pricing */
.center-head { text-align: center; }
.center-head .sec-desc { margin: 18px auto 0; max-width: 60ch; }
.tbc-note { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; border: 1px dashed rgba(var(--rgb), .5); background: rgba(var(--rgb), .06); font-family: var(--mono); font-size: 12px; color: var(--muted2); }
.tbc-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pricing-offer { margin: 22px auto 0; max-width: 640px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding: 12px 18px; border-radius: 14px; background: #14161a; border: 1px solid rgba(var(--rgb), .4); font-size: 14px; color: #c9cdd6; }
.pricing-offer-name { font-weight: 700; color: #fff; }
.pricing-offer-clock { font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; background: #ff9142; color: #170900; padding: 3px 10px; border-radius: 6px; white-space: nowrap; }
.billing { margin-top: 26px; }
.market { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .5px; color: #9aa3b2; }
.market-top .market-sel { min-height: 36px; font-size: 11px; letter-spacing: 1px; max-width: 220px; }
.market-drawer { padding: 4px 0 14px; margin-bottom: 10px; border-bottom: 1px solid #28304a; }
.market-drawer .market-sel { flex: 1 1 auto; }
@media (max-width: 1260px) { .market-top { display: none !important; } }
.market-l { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.market-sel { font: inherit; font-size: 13px; color: var(--text, #eef2f7); background: #14161a; border: 1px solid rgba(var(--rgb), .35); border-radius: 10px; padding: 0 34px 0 12px; min-height: 44px; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.market-sel:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Plans: 2 to 6 cards (the live feed can add or retire plans). A set number
   of equal columns per count and width, so no row ends in an empty box: a
   shorter last row is centred instead. Phones use the swipe rail below. */
.plans { margin-top: 36px; display: flex; gap: 16px; align-items: stretch; --pc: 3; }
@media (min-width: 601px) {
  .plans { flex-wrap: wrap; justify-content: center; }
  .plans > .plan { flex: 0 0 calc((100% - (var(--pc) - 1) * 16px) / var(--pc)); min-width: 0; }
}
.plans-2 { --pc: 2; }
.plans-4 { --pc: 4; }
.plans-5 { --pc: 5; }
.plans-5 .plan { padding: 22px; }
.plans-5 .plan-name { font-size: 40px; }
.plans-5 .pr-big { font-size: 60px; }
.plans-5 .plan .btn { padding-left: 12px; padding-right: 12px; font-size: 14px; }
@media (max-width: 1100px) {
  .plans-4 { --pc: 2; }
  .plans-5 { --pc: 3; }
  .plans-3 .pr-big { font-size: 66px; }
}
@media (max-width: 760px) {
  .plans-3, .plans-5, .plans-6 { --pc: 2; }
}
.plan { position: relative; border-radius: 22px; border: 1px solid var(--line); background: var(--s1); padding: 26px; display: flex; flex-direction: column; transition: border-color .18s ease, transform .18s ease; }
.plan:hover { border-color: #3a4658; transform: translateY(-2px); }
.plan.is-rec { border-color: rgba(var(--rgb), .55); background: linear-gradient(170deg, rgba(var(--rgb), .12), #0d1017 55%); box-shadow: 0 0 60px -20px rgba(var(--rgb), .5); }
.plan-top { min-height: 28px; flex-wrap: wrap; row-gap: 6px; }
.plan-top .mk-caps { font-size: 12px; color: var(--muted); }
.rec { padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #07090d; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.plan-name { font-family: var(--display); font-weight: 400; font-size: 48px; line-height: 1; margin-top: 10px; }
.pr-was { margin-top: 8px; font-family: var(--mono); font-size: 14px; color: #8494b0; text-decoration: line-through; }
.pr-row { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pr-big { font-family: var(--display); font-size: 72px; line-height: .9; }
.plans-3 .pr-big { font-size: 80px; }
.is-rec .pr-big { color: var(--accent); }
.pr-per { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.pr-alt { margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); min-height: 18px; }
.price-tbc { filter: blur(7px); opacity: .55; user-select: none; -webkit-user-select: none; }
.price-tbc-inline { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.plan-d { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--muted2); flex: 1; }
.plan .btn { margin-top: 22px; min-height: 50px; border-radius: 12px; font-size: 15px; }
.cmp { margin-top: 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--s2); overflow: hidden; }
.cmp-title { padding: 18px 24px; border-bottom: 1px solid var(--line3); font-family: var(--display); font-size: 30px; line-height: 1; }
.cmp-cols { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line3); font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--dim); }
.cmp-cols span { text-align: center; overflow-wrap: anywhere; }
.cmp-cols.cols-2 { grid-template-columns: 50% repeat(2, minmax(0, 1fr)); }
.cmp-cols.cols-3 { grid-template-columns: 40% repeat(3, minmax(0, 1fr)); }
.cmp-cols.cols-4 { grid-template-columns: 33.3% repeat(4, minmax(0, 1fr)); }
.cmp-cols.cols-5 { grid-template-columns: 30% repeat(5, minmax(0, 1fr)); }
.cmp-cols.cols-6 { grid-template-columns: 28% repeat(6, minmax(0, 1fr)); }
.cmp-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cmp-table.cols-2 col.cmp-feat { width: 50%; }
.cmp-table.cols-3 col.cmp-feat { width: 40%; }
.cmp-table.cols-4 col.cmp-feat { width: 33.3%; }
.cmp-table.cols-5 col.cmp-feat { width: 30%; }
.cmp-table.cols-6 col.cmp-feat { width: 28%; }
.cmp-table th[scope="row"] { text-align: left; font-weight: 400; font-size: 14px; color: var(--muted2); padding: 11px 0 11px 24px; line-height: 1.4; }
.cmp-table td { text-align: center; padding: 11px 4px; font-size: 13px; overflow-wrap: anywhere; }
.cmp-table tr { border-bottom: 1px solid #141a24; }
.cmp-top { background: rgba(var(--rgb), .04); }
.cmp-top th[scope="row"] { font-size: 15px; font-weight: 600; color: var(--text); }
.cmp-sub { font-size: 12px; color: var(--dim); }
.v-yes { color: var(--accent); font-size: 15px; }
.v-no { color: var(--dim); font-size: 15px; }
.v-txt { font-family: var(--mono); font-size: 13px; color: var(--text); }
.v-big { font-family: var(--display); font-size: 28px; color: var(--accent); line-height: 1; }
.cmp-group-h button { width: 100%; min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px 8px; border: 0; border-top: 1px solid var(--line3); background: transparent; color: var(--accent); font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; text-align: left; cursor: pointer; }
.cmp-plus { font-family: var(--mono); font-size: 16px; line-height: 1; }
.cmp-plus::before { content: "\2212"; }
.cmp-group-h button[aria-expanded="false"] .cmp-plus::before { content: "+"; }
.cmp-compact { padding: 0 24px 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 0 32px; }
.cmp-compact li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #141a24; font-size: 14px; color: var(--muted2); }
.cmp-foot { padding: 16px 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; border-top: 1px solid var(--line3); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.faq-intro { position: sticky; top: 124px; }
.faq-intro .sec-desc { margin-top: 18px; max-width: 36ch; }
.faq-list { border-radius: 22px; border: 1px solid var(--line); background: var(--s2); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line4); }
.faq-item:last-child { border-bottom: 0; }
.faq-item button { width: 100%; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; border: 0; background: transparent; color: var(--text); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.faq-item button:hover { background: #111621; }
.faq-item button.is-on { background: #0f131b; }
.faq-plus { flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1px solid #2a3443; color: var(--muted); display: grid; place-items: center; font-family: var(--mono); font-size: 16px; }
.faq-plus span { display: inline-block; transition: transform .2s ease; }
.is-on .faq-plus { border-color: rgba(var(--rgb), .5); color: var(--accent); }
.is-on .faq-plus span { transform: rotate(45deg); }
.faq-a p { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.faq-item button.is-on + * { background: #0f131b; }
html:not(.js) .faq-a { background: #0f131b; }

/* CTA */
.cta { position: relative; border-radius: 32px; border: 1px solid rgba(var(--rgb), .35); background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(var(--rgb), .2), rgba(7,9,13,0) 70%), #0b0e14; padding: 60px 40px; text-align: center; overflow: hidden; box-shadow: 0 0 120px -40px rgba(var(--rgb), .4); }
.cta-h { margin-top: 16px; font-family: var(--display); font-weight: 400; font-size: 120px; line-height: .86; }
.cta-d { margin: 20px auto 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 50ch; }
.btn-xl { margin-top: 30px; min-height: 56px; padding: 0 34px; font-size: 18px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--s1); }
.foot-grid { padding-top: 56px; padding-bottom: 28px; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 36px; }
.foot-logo { font-family: var(--display); font-size: 28px; letter-spacing: 3px; display: inline-flex; align-items: center; }
.foot-tag { margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--dim); text-transform: uppercase; }
.foot-desc { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot-desc strong { color: var(--muted2); font-weight: 600; }
.foot-h { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.fh-lg { color: #e8ff47; } .fh-tn { color: #47ffe8; } .fh-co { color: #D9A62E; }
.foot-links { margin-top: 12px; display: flex; flex-direction: column; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 14px; color: var(--muted); }
.foot-links a:hover, .foot-legal a:hover { color: var(--text); }
.foot-email { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.foot-socials { display: flex; gap: 8px; margin-top: 14px; }
.foot-social { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.foot-social:hover { color: var(--accent); border-color: rgba(var(--rgb), .5); }
.foot-social svg { width: 18px; height: 18px; }
.foot-bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line4); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.foot-reg { font-size: 11px; }
.foot-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

/* ── Legal modals (markup generated from the apps' legal content) ── */
.signup-modal { width: min(720px, calc(100vw - 32px)); height: min(860px, calc(100dvh - 48px)); max-width: none; max-height: none; padding: 0; border: 1px solid #28304a; border-radius: 18px; background: #0d1017; color: var(--text, #eef2f7); box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); overflow: hidden; }
.signup-modal[open] { display: flex; flex-direction: column; }
.signup-modal::backdrop { background: rgba(0,0,0,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.signup-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-bottom: 1px solid #1c2333; }
.signup-title { font-family: var(--display); font-size: 24px; line-height: 1; letter-spacing: .5px; margin: 0; }
.signup-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #28304a; background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.signup-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.signup-body { position: relative; flex: 1 1 auto; min-height: 0; }
.signup-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0d1017; opacity: 0; transition: opacity .2s ease; }
.signup-modal.is-ready .signup-frame { opacity: 1; }
.signup-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: #9aa3b2; }
.signup-modal.is-ready .signup-loading { display: none; }
@media (max-width: 600px) { .signup-modal { width: 100vw; height: 100dvh; border-radius: 0; border: 0; } }
.legal-overlay { display: none !important; position: fixed; inset: 0; background: rgba(0,0,0,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); z-index: 9999; align-items: center; justify-content: center; padding: 24px; visibility: hidden; overflow: hidden; }
.legal-overlay.open { display: flex !important; visibility: visible; overflow: auto; }
.legal-box { max-height: 85vh; animation: modalIn .25s ease; }
.legal-header-text { display: flex; flex-direction: column; gap: 4px; }
.legal-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 3px; color: #e8ff47; text-transform: uppercase; }
.legal-title { color: var(--text); }
.legal-updated { font-family: var(--mono); font-size: 10px; color: #8494b0; margin-top: 2px; }
.legal-close { position: relative; color: #a9b4c2 !important; transition: background .2s; }
.legal-close::after { content: ''; position: absolute; inset: -7px; }
.legal-close:hover { background: #28304a !important; color: var(--text) !important; }
.legal-body { overflow-y: auto; flex: 1; font-family: 'DM Sans', sans-serif; color: #a1aec4 !important; }
.legal-body h3 { font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: 1px; color: var(--text); margin: 28px 0 10px; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; list-style: disc; }
.legal-body li::marker { color: #e8ff47; }
.legal-body strong { color: var(--text); font-weight: 500; }
.legal-body a { color: #e8ff47; text-decoration: underline; text-underline-offset: 3px; }
.legal-body .legal-intro { background: #121720; border: 1px solid #1e2535; border-left: 3px solid #e8ff47; border-radius: 0 8px 8px 0; padding: 14px 18px; margin-bottom: 24px; font-size: 13px; }
.legal-footer { color: #8494b0 !important; gap: 12px; flex-wrap: wrap; }
.legal-footer a { color: #e8ff47 !important; }
@media (max-width: 600px) {
  .legal-box { border-radius: 20px 20px 0 0 !important; max-height: 92vh; }
  .legal-overlay { padding: 0; align-items: flex-end; }
  .legal-header, .legal-body, .legal-footer { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ════════════ Narrower screens ════════════ */
@media (max-width: 1100px) {
  .rk-row { grid-template-columns: 26px minmax(0, 1fr) auto 36px; }
  .rk-row > :nth-child(3), .rk-row > :nth-child(5) { display: none; }
  .hero h1 { font-size: 96px; }
  .story-main { grid-template-columns: minmax(0, 1fr) 336px; gap: 32px; }
  .story-grid { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
  .ch-title { font-size: 68px; } .ch-title.is-small { font-size: 54px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .app-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock.span2 { grid-column: 1 / -1; }
  .win-body { grid-template-columns: 170px minmax(0, 1fr); }
  .split, .sc-layout, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .sticky, .faq-intro { position: static; }
  .split-visual { max-width: 640px; }
  .sc-visual { order: -1; max-width: 640px; }
  .h2 { font-size: 64px; }
  .cta-h { font-size: 88px; }
  .guide { grid-template-columns: 1fr; }
  .themes-box { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-rail { position: static; }
  .rail-tabs { flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 6px; }
  .rail-tab { margin-left: 0; border: 1.5px solid #263142; border-radius: 12px; padding: 0 14px; min-height: 46px; font-size: 14px; }
  .rail-tab.is-on { border-color: var(--accent); background: rgba(var(--rgb), .12); color: var(--accent); }
  .story-prog-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
  .story-prog-row .rail-prog { flex: 1; }
  .rail-count { margin-top: 0; }
  .rail-h { display: none; }
}
@media (max-width: 860px) {
  .story-main { grid-template-columns: 1fr; }
  .story-phone { grid-column: 1; grid-row: 1; position: relative; top: 0; }
  .story-copy { grid-column: 1; grid-row: 2; }
  .win-side { display: none; }
  .win-body { grid-template-columns: 1fr; min-height: 0; }
  .console-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sp-grid { grid-template-columns: 1fr; }
  .tc { grid-template-columns: 1fr; }
  .feat.is-wide { grid-column: auto; }
  .feat-grid { grid-template-columns: 1fr; }
}

/* ════════════ Phone (matches the FG phone board) ════════════ */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .phone-only { display: block !important; }
  .h2 { margin-top: 10px; font-size: 46px; }
  .eyebrow { font-size: 11px; letter-spacing: 2px; }
  .sec { padding-top: 40px; }
  .sec-desc { font-size: 15px; line-height: 1.55; margin-top: 12px; }
  .sec-head { display: block; }

  .hero-copy { padding-top: 28px; text-align: left; }
  .hero { overflow: hidden; background: radial-gradient(ellipse 90% 45% at 50% 0%, rgba(var(--rgb), .18), rgba(7,9,13,0) 70%); }
  .hero-grid-bg { display: none; }
  .kicker-pill { gap: 8px; padding: 7px 12px; font-size: 11px; letter-spacing: 1.5px; }
  .kp-brand { display: none; }
  .hero h1 { margin-top: 18px; font-size: 56px; line-height: .88; }
  .lede { margin-top: 16px; font-size: 16px; }
  .hero-ctas { justify-content: flex-start; margin-top: 18px; }
  .hero-ctas .btn { min-height: 50px; padding: 0 22px; font-size: 16px; }
  .from-box { border: 0; background: none; padding: 0; min-height: 0; gap: 6px; justify-content: flex-start; }
  .from-box .vr { display: none; }
  .from-box .mk-sub:last-child { flex-basis: 100%; font-size: 11px; color: var(--dim); }
  .chips { justify-content: flex-start; margin-top: 16px; }
  .chips li { font-size: 11px; padding: 7px 11px; white-space: nowrap; }
  .hero-app { padding-top: 26px; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .app-tabs { order: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .app-tab { min-width: 0; min-height: 64px; padding: 8px 4px 10px; flex-direction: column; justify-content: center; gap: 5px; font-size: 13px; text-align: center; border-width: 1.5px; }
  .app-tab .num { width: 22px; height: 22px; font-size: 11px; }
  .app-tab svg { display: none; }
  .app-tab .lbl { white-space: nowrap; line-height: 1.1; }
  .app-stage { order: 2; margin-top: 12px; padding-bottom: 20px; }
  .app-nav { order: 3; justify-content: center; gap: 10px; margin-top: 8px; }
  .app-nav .round-btn { width: 44px; height: 44px; }
  .app-nav .round-btn.is-next { background: var(--s1); border-color: var(--line); color: var(--text); }
  .app-dots { display: flex; }
  .stage-plate { left: 12px; right: 12px; top: auto; bottom: 10px; border-radius: 0 0 20px 20px; border: 1px solid var(--line3); border-top: 0; }
  .win-bar { display: none; }
  .app-window { min-height: 452px; }
  .app-panel { padding: 12px; grid-template-columns: 1fr; gap: 10px; }
  .mock-stack .mock:last-child, .app-panel > .mock.pad:last-child { }
  .mock-head { padding: 14px 16px; }
  .mock-title { font-size: 24px; }
  .rk-row { padding: 11px 16px; gap: 10px; grid-template-columns: 22px minmax(0, 1fr) auto 30px; }
  .rk-player .avatar { display: none; }
  .form i { width: 16px; height: 16px; font-size: 9px; border-radius: 4px; }
  .fx-row { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); padding: 12px; font-size: 13px; gap: 8px; }
  .fx-row > .mk { display: none; }
  .fx-score { font-size: 22px; }
  .seats { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .seats i { height: 20px; }
  .bracket { gap: 6px; padding: 12px 10px 14px; }
  .br-side { padding: 6px; gap: 4px; }
  .br-name { font-size: 11px; }
  .br-score { font-size: 16px; }
  .br-seed { width: 9px; font-size: 9px; }
  .court-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .court { padding: 7px 9px; min-height: 0; gap: 3px; border-left: 3px solid var(--c); }
  .ct-detail { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sm-score { grid-template-columns: 1fr; gap: 6px; }
  .sm-nums { font-size: 60px; }
  .sm-score .right { text-align: left; }
  .sm-body { padding: 14px 16px; }
  .huge { font-size: 52px; }
  .big-num { font-size: 40px; }
  .dy-row { grid-template-columns: 50px minmax(0, 1fr); padding: 11px 12px; gap: 10px; }
  .dy-tag { grid-column: 2; justify-self: start; }
  .dy-a { font-size: 13px; }
  .reg-row { grid-template-columns: 36px minmax(0, 1fr); }
  .reg-tag { grid-column: 2; justify-self: start; }

  /* Story: chapter pills, one card holding the phone and the copy */
  .story { margin-top: 36px; background: #080b10; }
  .story-grid { padding: 16px 16px 34px; gap: 22px; }
  .rail-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .rail-tab { white-space: nowrap; overflow: hidden; gap: 8px; font-weight: 700; color: var(--muted2); }
  .rail-tab .rt-n { opacity: .85; font-weight: 500; }
  .rail-count { font-size: 12px; color: var(--muted2); letter-spacing: 0; }
  .story-main { border-radius: 28px; border: 1px solid #1a2230; background: radial-gradient(120% 40% at 50% 8%, rgba(var(--rgb), .13), rgba(7,9,13,0) 60%), #090c12; overflow: hidden; gap: 0; }
  .story-phone { padding-top: 22px; }
  .phone-cap-top { display: block; margin-bottom: 14px; font-size: 10px; color: var(--muted); }
  .phone-cap { display: none; }
  .phone-glow { display: none; }
  .phone { width: 310px; max-width: calc(100% - 24px); height: 560px; border-radius: 50px 50px 0 0; padding: 10px 10px 0; }
  .phone-in { border-radius: 41px 41px 0 0; }
  .ph-tabbar { padding: 9px 6px 12px; }
  .chip-row { padding: 14px 18px 0; max-width: none; }
  .ph-chips { justify-content: flex-start; }
  .story-copy { padding: 24px 18px 22px; }
  .ch-title { margin-top: 12px; font-size: 54px; }
  .ch-title.is-small { font-size: 46px; }
  .ch-lead { margin-top: 14px; font-size: 16px; line-height: 1.6; }
  .points { margin-top: 18px; grid-template-columns: 1fr; }
  .points li { padding: 12px 0; }
  .pt-t { font-size: 15px; }
  .pt-d { font-size: 14px; line-height: 1.55; margin-top: 5px; }
  .note { margin-top: 14px; padding: 14px 16px; border-radius: 14px; }
  .note-t { font-size: 15px; } .note-d { font-size: 13px; line-height: 1.55; }
  .chapter > .btn-line { display: flex; width: 100%; }
  .preview-row { flex-direction: column; align-items: stretch; gap: 6px; text-align: center; }
  .ch-nav { margin-top: 20px; padding-top: 0; border-top: 0; flex-wrap: nowrap; gap: 10px; }
  .ch-back { order: -1; flex: 0 0 auto; min-height: 52px; font-size: 15px; }
  .ch-back .back-word { display: none; }
  .ch-next { flex: 1; min-height: 52px; padding: 0 18px; font-size: 15px; background: transparent; color: var(--accent); box-shadow: none; }
  .ch-count { display: none; }

  /* Sections become cards with 16px gutters */
  #league-types .wrap, #t-formats .wrap, #c-console .wrap { }
  .lt-grid { margin-top: 16px; gap: 10px; }
  .lt-card { padding: 16px; border-radius: 16px; background: linear-gradient(160deg, rgba(var(--rgb), .07), #0d1017 60%); gap: 0; }
  .lt-card h3 { flex-direction: row; align-items: center; gap: 10px; font-size: 28px; }
  .lt-card h3 .ic-box { width: 36px; height: 36px; border-radius: 10px; }
  .lt-card h3 .ic-box svg { width: 19px; height: 19px; }
  .lt-card h3 .ac { color: var(--text); }
  .lt-card p { margin-top: 12px; font-size: 14px; line-height: 1.55; }
  .lt-card ul { margin-top: 12px; gap: 6px; }
  .lt-card li { padding: 0; border: 0; background: none; font-size: 13px; gap: 8px; }
  .fmt-grid { margin-top: 16px; gap: 10px; }
  .fmt-card { padding: 14px 16px 16px; border-radius: 16px; }
  .fmt-card h3 { font-size: 28px; color: var(--text); }
  .fmt-card .mk-sub { margin-top: 4px; font-size: 11px; color: var(--muted); }
  .fmt-card ul { margin-top: 12px; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .fmt-card li { padding: 8px 11px; border-radius: 10px; border-color: rgba(var(--rgb), .3); background: rgba(var(--rgb), .06); font-size: 13px; }
  .fmt-card li i { display: none; }
  .fmt-fade { height: 84px; }
  .btn-wide { margin-top: 12px; min-height: 52px; font-size: 15px; }
  .guide { padding: 22px 18px; border-radius: 24px; margin-top: 24px; }
  .guide-h { font-size: 40px; }
  .guide-steps { grid-template-columns: 1fr; gap: 0; }
  .gs-step { border: 0; border-top: 1px solid var(--line4); border-radius: 0; background: none; padding: 10px 0; align-items: center; }
  .gs-now { border-color: var(--line4); }
  .guide-points { border-top: 0; padding-top: 0; }
  .guide-sec { margin-top: 0; }
  .guide-sec .guide-h { font-size: 40px; }
  .sp-grid { margin-top: 18px; gap: 10px; }
  .sp-card { padding: 18px 16px; border-radius: 18px; }
  .sp-player { margin-top: 14px; }
  .sp-num { margin-top: 14px; font-size: 46px; }
  .sp-d { margin-top: 12px; padding-top: 12px; }
  .sp-foot { justify-content: flex-start; text-align: left; font-size: 11px; }
  .themes-box { margin-top: 18px; gap: 10px; }
  .themes-swatches { padding: 14px; border-radius: 18px; }
  .sw-grid { gap: 12px 8px; }
  .sw-tile { border-radius: 10px; }
  .sw-logo { top: 6px; left: 7px; font-size: 10px; letter-spacing: 1px; }
  .sw-rows { left: 7px; right: 7px; top: 21px; gap: 3px; }
  .sw-rows i { height: 3px; }
  .sw-bar { height: 3px; }
  .sw-name { font-size: 10px; letter-spacing: 1px; }
  .tc { padding: 20px 16px; border-radius: 18px; }
  .tc-h { font-size: 34px; }

  .split { gap: 16px; }
  .split-visual { order: -1; }
  #t-courts .split-visual { order: 0; }
  #t-courts .split-copy { display: contents; }
  #t-courts .split { display: flex; flex-direction: column; }
  #t-courts .split-copy > .sec-head { order: 1; }
  #t-courts .split-copy > .sec-desc { order: 2; }
  #t-courts .split-visual { order: 3; }
  #t-courts .numbered { order: 4; }
  .numbered { margin-top: 12px; gap: 8px; display: flex; flex-direction: column; }
  .numbered li { border: 1px solid var(--line); border-radius: 16px; background: var(--s1); padding: 16px; }
  .numbered .pt-t { font-size: 16px; line-height: 1.3; }
  .numbered .pt-d { font-size: 13.5px; margin-top: 6px; }
  .board { border-radius: 20px; }
  .board-head { padding: 6px; }
  .board-head > div:first-child { display: none; }
  .seg-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border: 0; background: none; padding: 0; }
  .seg-board button { font-size: 14px; }
  .board-body { padding: 14px; min-height: 0; }
  .court-grid.sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-row { grid-template-columns: 1fr; }
  .q-btn { justify-self: start; }
  .tl-grid { grid-template-columns: 62px minmax(0, 1fr); }
  .tl-track { height: 18px; }

  .sc-layout { margin-top: 16px; gap: 16px; }
  .seg-lg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 16px; }
  .sc-head { font-size: 10px; padding: 10px 14px; }
  .sc-score { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 14px 6px; row-gap: 4px; }
  .sc-score .sc-nums { grid-row: 1 / span 2; grid-column: 2; font-size: 58px; }
  .sc-team.is-right { text-align: left; grid-column: 1; }
  .sc-name { font-size: 16px; }
  .sc-court-wrap { padding: 8px 14px 12px; }
  .sc-msgs { padding: 0 14px 14px; }
  .sc-msg { font-size: 13px; }
  .sc-btn { flex: 1 1 0; min-height: 56px; font-size: 15px; }
  .tv { padding: 8px; border-radius: 18px; }
  .tv-screen { border-radius: 12px; }
  .qr { width: 52px; height: 52px; padding: 3px; border-radius: 6px; }
  .scan .title-30 { font-size: 22px; }

  .craft-head { flex-direction: column; align-items: stretch; padding: 16px; }
  .craft-head .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-body { padding: 16px; }
  .console-mock { display: none; }
  .console-grid { margin-top: 16px; }
  .points.boxed { border: 0; background: none; gap: 8px; border-radius: 0; overflow: visible; }
  .points.boxed li { border: 1px solid rgba(var(--rgb), .3); border-radius: 16px; background: linear-gradient(160deg, rgba(var(--rgb), .07), #0d1017 60%); padding: 14px 16px; }
  .points.boxed li:last-child { border-bottom: 1px solid rgba(var(--rgb), .3); }

  /* Swipe rails: features, plans, coaching craft */
  .wrap-rail { padding: 0; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: 14px 16px 0; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--muted); }
  .rail-track { display: flex !important; gap: 12px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 0 16px 4px !important; margin-top: 12px !important; border: 0 !important; background: none !important; border-radius: 0 !important; scrollbar-width: none; }
  .rail-track::-webkit-scrollbar { display: none; }
  .rail-track > * { flex: none; width: 272px; scroll-snap-align: start; }
  .rail-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 16px 0; }
  .rail-nav .round-btn { width: 44px; height: 44px; border-color: var(--line); }
  .rail-pos { display: flex; align-items: center; gap: 10px; }
  .rail-dots { display: flex; gap: 5px; }
  .rail-dots i { width: 6px; height: 6px; border-radius: 999px; background: #2a3443; }
  .rail-dots i.is-on { width: 18px; background: var(--accent); }
  .rail-count { font-family: var(--mono); font-size: 12px; color: var(--muted2); white-space: nowrap; }
  .feat { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #0f131b, #0b0e14); padding: 20px; }
  .feat.is-wide { background: linear-gradient(180deg, #0f131b, #0b0e14); }
  .feat .ic-box { width: 40px; height: 40px; }
  .feat h3 { margin-top: 14px; font-size: 28px; }
  .feat p { margin-top: 8px; font-size: 14px; line-height: 1.55; }
  .rail-points { margin: 0 calc(-1 * var(--gutter)); }
  .rail-points .rail-track > li { border: 1px solid var(--line); border-radius: 18px; background: var(--s1); padding: 18px; }
  .rail-points .pt-t i { display: none; }
  .rail-points .pt-t { margin-top: 8px; }
  .rail-points .pt-d { padding-left: 0; font-size: 13.5px; }
  .rail-points .pt-n { padding: 0; font-size: 10px; }

  .center-head { text-align: left; }
  .center-head .sec-desc { margin: 12px 0 0; }
  .tbc-note { display: block; margin-top: 8px; padding: 0; border: 0; background: none; color: #8494b0; font-size: 12px; line-height: 1.5; }
  .tbc-note i { display: none; }
  .pricing-offer { margin-top: 14px; }
  .billing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 16px; }
  .plans { margin-top: 14px !important; }
  .rail-plans .rail-track > * { width: 292px; }
  .plan { padding: 22px; }
  .plan:hover { transform: none; }
  .plan-name { font-size: 40px; margin-top: 8px; }
  .pr-big, .plans-3 .pr-big, .plans-5 .pr-big { font-size: 66px; }
  .pr-row { margin-top: 10px; gap: 6px; }
  .plan-d { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .plan .btn { margin-top: 16px; min-height: 48px; }
  .cmp { margin: 12px 0 0; border-radius: 18px; }
  .cmp-title { padding: 12px 14px 0; border: 0; font-family: var(--mono); font-size: 11px; color: var(--muted); }
  .cmp-cols { font-size: 10px; letter-spacing: 0; }
  .cmp-cols.cols-2 { grid-template-columns: 50% repeat(2, minmax(0, 1fr)); }
  .cmp-cols.cols-3 { grid-template-columns: 44% repeat(3, minmax(0, 1fr)); }
  .cmp-cols.cols-4 { grid-template-columns: 34% repeat(4, minmax(0, 1fr)); }
  .cmp-cols.cols-5 { grid-template-columns: 30% repeat(5, minmax(0, 1fr)); }
  .cmp-cols.cols-6 { grid-template-columns: 28% repeat(6, minmax(0, 1fr)); }
  .cmp-cols.cols-5, .cmp-cols.cols-6 { font-size: 9px; }
  .cmp-table.cols-2 col.cmp-feat { width: 50%; }
  .cmp-table.cols-3 col.cmp-feat { width: 44%; }
  .cmp-table.cols-4 col.cmp-feat { width: 34%; }
  .cmp-table.cols-5 col.cmp-feat { width: 30%; }
  .cmp-table.cols-6 col.cmp-feat { width: 28%; }
  .cmp-table.cols-5 .v-big, .cmp-table.cols-6 .v-big { font-size: 20px; }
  .swipe-hint.phone-only { display: flex !important; }
  #league-types > .wrap, #c-console > .wrap { margin: 0 16px; padding: 22px 18px; border-radius: 24px; border: 1px solid var(--line); background: var(--s2); }
  .app-panel .mock-stack { display: none; }
  .cmp-table th[scope="row"] { padding: 9px 0 9px 14px; font-size: 12px; line-height: 1.35; }
  .cmp-sub { display: block; font-size: 10.5px; }
  .cmp-table td { padding: 9px 2px; }
  .v-txt { font-size: 10.5px; color: var(--muted2); }
  .v-yes, .v-no { font-size: 14px; }
  .v-big { font-size: 24px; }
  .cmp-top th[scope="row"] { font-size: 13px; }
  .cmp-group-h button { padding: 10px 14px; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); border-bottom: 1px solid var(--line3); }
  .cmp-plus { color: var(--accent); }
  .cmp-compact { grid-template-columns: 1fr; padding: 0 14px 8px; }
  .cmp-compact li { font-size: 12px; padding: 9px 0; }
  .cmp-foot { padding: 12px 14px; font-size: 10px; line-height: 1.6; }

  .faq-grid { gap: 16px; }
  .faq-list { border-radius: 20px; }
  .faq-item button { min-height: 56px; padding: 12px 16px; font-size: 15px; gap: 12px; }
  .faq-plus { width: 28px; height: 28px; font-size: 15px; }
  .faq-a p { padding: 0 16px 16px; font-size: 14px; line-height: 1.6; }

  .sec-last { padding-bottom: 0; }
  .cta { border-radius: 26px; padding: 36px 20px; box-shadow: 0 0 80px -30px rgba(var(--rgb), .45); }
  .cta-h { margin-top: 12px; font-size: 64px; line-height: .88; }
  .cta-h .ac { display: block; }
  .cta-d { margin-top: 14px; font-size: 15px; line-height: 1.55; }
  .btn-xl { display: flex; margin-top: 20px; min-height: 52px; font-size: 16px; }

  .site-foot { margin-top: 40px; }
  .foot-grid { padding-top: 28px; padding-bottom: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .foot-logo { font-size: 26px; }
  .foot-tag { font-size: 10px; margin-top: 6px; }
  .foot-desc { font-size: 13px; line-height: 1.55; margin-top: 10px; }
  .foot-h { font-size: 10px; letter-spacing: 1.5px; }
  .foot-links { margin-top: 6px; }
  .foot-links a { min-height: 44px; font-size: 13px; }
  .foot-bottom { margin-top: 18px; padding-top: 14px; padding-bottom: 24px; flex-direction: column; gap: 8px; font-size: 10px; line-height: 1.6; }
  .foot-legal { gap: 14px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 50px; }
  .ch-title { font-size: 46px; } .ch-title.is-small { font-size: 40px; }
  .rail-track > * { width: 252px; }
  .rail-plans .rail-track > * { width: 272px; }
}

/* Reduced motion: no animation, no smooth scrolling, no auto-advance. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (min-width: 1261px) { html { scroll-padding-top: 112px; } }
