/* v3: federation structure, white and blue. Navy chrome, bright blue actions, rounded cards, condensed uppercase section titles. */
:root {
  --navy: #1d3056; --navy-2: #17253f; --blue: #2f5fe8; --blue-2: #2449b8; --sky: #29aae1; --lime: #ccff00;
  --bg: #ffffff; --bg-2: #f3f6fc; --ink: #0e2433; --ink-2: #44546a; --ink-3: #7b879a; --line: #dfe5f0;
  --card: #ffffff; --lost: #d1352b; --won: #1f9d5b; --let: #b86e00; --onnavy: #ffffff; --heading: #1d3056; --sky-text: #1486bb; --panel-h: #1d3056;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --cond: "Bebas Neue", "Oswald", Impact, sans-serif;
  --r: 16px; --r-s: 10px; --shadow: 0 10px 30px rgba(14, 36, 51, 0.08);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f1623; --bg-2: #141d2e; --ink: #eef2f8; --ink-2: #b9c3d3; --ink-3: #8390a6; --line: #26324a; --card: #182238;
  --blue: #5f87ff; --blue-2: #7a9bff; --shadow: none; --heading: #eef2f8; --sky-text: #5cc3f0; --panel-h: #eef2f8; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0f1623; --bg-2: #141d2e; --ink: #eef2f8; --ink-2: #b9c3d3; --ink-3: #8390a6; --line: #26324a; --card: #182238;
  --blue: #5f87ff; --blue-2: #7a9bff; --shadow: none; --heading: #eef2f8; --sky-text: #5cc3f0; --panel-h: #eef2f8; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 1rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--bg); padding: 8px; }
.cond { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 400; }

/* Chrome */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--navy-2); }
.bar { background: var(--navy-2); color: #b7c3d9; font-size: 0.78rem; }
.bar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.4rem; }
.bar b { color: #fff; font-weight: 600; }
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--navy); color: #fff; }
.hdr .wrap { display: flex; align-items: center; gap: 1.6rem; height: 68px; }
.logo { display: flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 38px; height: 38px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; }
.logo .mark svg { width: 24px; height: 24px; }
.logo .t { font-family: var(--cond); font-size: 1.35rem; letter-spacing: 0.03em; line-height: 1; }
.logo .t small { display: block; font-family: var(--ui); font-size: 0.62rem; letter-spacing: 0.08em; color: #b7c3d9; text-transform: uppercase; margin-top: 2px; }
.hdr nav { margin-left: auto; display: flex; gap: 1.4rem; font-size: 0.93rem; font-weight: 500; }
.hdr nav a { color: #dbe3f2; white-space: nowrap; }
.hdr nav a:hover, .hdr nav a[aria-current="page"] { color: #fff; text-decoration: none; border-bottom: 2px solid var(--sky); padding-bottom: 2px; }
.pill { display: inline-block; background: var(--blue); color: #fff; font-weight: 600; font-size: 0.9rem; padding: 0.6rem 1.1rem; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.pill:hover { background: var(--blue-2); text-decoration: none; color: #fff; }
.pill.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.pill.ghost:hover { border-color: var(--blue); color: var(--blue); }
.pill.lime { background: var(--lime); color: #0e2433; }

/* Section headers like a federation site: condensed title left, action right */
.sec { padding-block: 3rem 1rem; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.8rem; border-bottom: 3px solid var(--heading); margin-bottom: 1.4rem; }
.sec-h h2 { font-family: var(--cond); font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: 0.03em; color: var(--heading); text-transform: uppercase; }
.sec-h h2 span { color: var(--sky-text); }
.sec-h .pill { font-size: 0.82rem; padding: 0.5rem 1rem; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 45%, #2a4a9c 100%); color: #fff; padding-block: 3rem 3.2rem; }
.hero .wrap { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero .k { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.8rem; font-weight: 600; }
.hero h1 { font-family: var(--cond); font-size: clamp(3rem, 7.5vw, 5.6rem); letter-spacing: 0.02em; line-height: 0.95; margin-top: 1rem; text-transform: uppercase; }
.hero h1 span { color: var(--lime); }
.hero p { color: #c9d4ea; font-size: 1.15rem; max-width: 48ch; margin: 1rem 0 0; }
.search { margin-top: 1.5rem; display: flex; background: #fff; border-radius: 999px; padding: 0.35rem 0.35rem 0.35rem 1.2rem; max-width: 560px; align-items: center; gap: 0.6rem; box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.search svg { width: 20px; height: 20px; flex: none; color: #7b879a; }
.search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.02rem; color: #0e2433; background: transparent; }
.search input::placeholder { color: #7b879a; }
.search button { background: #2f5fe8; }
.search input:focus { outline: none; }
.search button { font: inherit; font-weight: 600; background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 0.7rem 1.2rem; cursor: pointer; }
.hero .stats { display: flex; gap: 1.8rem; flex-wrap: wrap; margin-top: 1.6rem; font-size: 0.85rem; color: #c9d4ea; }
.hero .stats b { display: block; color: #fff; font-family: var(--cond); font-size: 1.7rem; letter-spacing: 0.03em; line-height: 1; }
.hero-card { background: #fff; border-radius: var(--r); padding: 1rem; box-shadow: 0 20px 50px rgba(0,0,0,0.3); color: #0e2433; }
.hero-card .cap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.3rem 0.4rem 0.6rem; font-size: 0.85rem; color: #5c6b80; }
.hero-card .cap b { color: #0e2433; font-weight: 700; }
.fast { list-style: none; margin: 0; padding: 0; } .fast li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.7rem 0.4rem; border-bottom: 1px solid #e3e8f1; font-size: 0.95rem; font-weight: 500; color: #0e2433; }
.hero-card .pill { background: #2f5fe8; color: #fff; }
.hero-card .pill { display: block; text-align: center; margin: 0.9rem 0.2rem 0.1rem; }
.pitch { display: block; width: 100%; border-radius: 10px; }
.p-floor { fill: #2f5fe8; } .p-box { fill: #2a55d2; } .p-line { stroke: #fff; stroke-width: 2.2; fill: none; } .p-net { stroke: #fff; stroke-width: 4; }
.p-glass { stroke: #9fc4ff; stroke-width: 5; } .p-fence { stroke: #c9d6f2; stroke-width: 5; stroke-dasharray: 6 4; }
.p-hs { fill: transparent; cursor: pointer; } .p-hs:hover, .p-hs.on { fill: rgba(204,255,0,0.35); } .p-hs:focus-visible { outline: none; stroke: var(--lime); stroke-width: 3; }
.p-lab { fill: #fff; font-family: var(--ui); font-size: 11px; font-weight: 600; pointer-events: none; opacity: 0.9; }
.p-bench { fill: #e8eefc; stroke: #2f5fe8; stroke-width: 1.5; }
.p-ball { fill: var(--lime); stroke: #0e2433; stroke-width: 1; }

/* Cards grid */
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform 120ms; }
.card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--blue); }
.card .top { background: var(--navy); color: #fff; padding: 0.7rem 1.1rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.card .top b { font-family: var(--cond); font-size: 1.9rem; letter-spacing: 0.04em; line-height: 1; font-weight: 400; }
.card .bd { padding: 1rem 1.1rem 1.2rem; flex: 1; }
.card h3 { font-size: 1.12rem; font-weight: 700; }
.card p { margin: 0.4rem 0 0; color: var(--ink-2); font-size: 0.93rem; }
.card .ft { padding: 0 1.1rem 1rem; font-size: 0.85rem; font-weight: 600; color: var(--blue); }
.card.sky .top { background: #1486bb; }

/* Court map section */
.map { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 920px) { .map { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr); } }
.map .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.chips button { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.42rem 0.85rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chips button.on, .chips button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel { background: var(--bg-2); border-radius: var(--r); padding: 1.3rem 1.4rem 1.5rem; }
.panel .where { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky-text); }
.panel h3 { font-family: var(--cond); font-size: 2rem; letter-spacing: 0.03em; color: var(--heading); margin-top: 0.2rem; text-transform: uppercase; }
.panel p { color: var(--ink-2); margin: 0.6rem 0 0; }
.panel ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.panel li a { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.65rem 0.9rem; font-weight: 600; color: var(--ink); }
.panel li a::after { content: "\2192"; color: var(--blue); }
.panel li a:hover { border-color: var(--blue); text-decoration: none; }

/* News-like change tiles */
.news { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.news a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); box-shadow: var(--shadow); }
.news a:hover { text-decoration: none; border-color: var(--blue); }
.news .img { height: 120px; background: linear-gradient(135deg, var(--blue), var(--navy)); position: relative; }
.news .img span { position: absolute; left: 0.9rem; top: 0.8rem; background: var(--lime); color: #0e2433; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.news .img b { position: absolute; right: 0.9rem; bottom: 0.4rem; font-family: var(--cond); font-size: 3.4rem; color: rgba(255,255,255,0.9); letter-spacing: 0.03em; line-height: 1; font-weight: 400; }
.news .bd { padding: 0.9rem 1rem 1.1rem; }
.news h3 { font-size: 1.02rem; font-weight: 700; }
.news p { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.news time { display: block; margin-top: 0.6rem; font-size: 0.78rem; color: var(--ink-3); }

/* Situations: ranking-style list */
.rank { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.rank .f { display: flex; gap: 0.8rem; align-items: center; padding: 0.9rem 1.1rem; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.rank .f input { flex: 1 1 260px; min-width: 0; font: inherit; padding: 0.6rem 0.9rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); }
.rank .f span { font-size: 0.85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rank ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
@media (min-width: 900px) { .rank ol { display: grid; grid-template-columns: 1fr 1fr; } .rank li:nth-child(odd) { border-right: 1px solid var(--line); } }
.rank li { counter-increment: r; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line); }
.rank li::before { content: counter(r); font-family: var(--cond); font-size: 1.5rem; color: var(--ink-3); letter-spacing: 0.03em; }
.rank li .s { font-weight: 500; font-size: 0.95rem; }
.rank li .s a { color: var(--ink-3); font-size: 0.8rem; margin-left: 0.4rem; white-space: nowrap; }
.vd { display: inline-block; padding: 0.22rem 0.65rem; border-radius: 999px; font-weight: 700; font-size: 0.78rem; color: #fff; white-space: nowrap; }
.vd-lost { background: var(--lost); } .vd-play { background: var(--won); } .vd-let { background: var(--let); }

/* Quick rules */
.quick { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quick div { background: var(--bg-2); border-radius: var(--r-s); padding: 0.9rem 1rem; display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; font-size: 0.95rem; }
.quick div b { font-family: var(--cond); font-size: 1.6rem; color: var(--blue); letter-spacing: 0.03em; line-height: 1; font-weight: 400; }

/* Footer */
footer { background: var(--navy-2); color: #b7c3d9; margin-top: 3.5rem; font-size: 0.9rem; }
footer .wrap { padding-block: 2.4rem 2.6rem; display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer h2 { font-family: var(--cond); font-size: 1.15rem; letter-spacing: 0.05em; color: #fff; margin-bottom: 0.6rem; text-transform: uppercase; }
footer ul { list-style: none; padding: 0; margin: 0; } footer li + li { margin-top: 0.35rem; }
footer a { color: #dbe3f2; } footer p { margin: 0 0 0.5rem; }

/* Rule pages */
.phead { background: var(--navy); color: #fff; padding-block: 1.6rem 2rem; }
.phead .crumb { font-size: 0.82rem; color: #b7c3d9; } .phead .crumb a { color: #dbe3f2; }
.phead h1 { font-family: var(--cond); font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: 0.03em; line-height: 1; margin-top: 0.5rem; text-transform: uppercase; }
.phead h1 span { color: var(--sky); margin-right: 0.3em; }
.phead p { color: #c9d4ea; max-width: 60ch; margin: 0.6rem 0 0; font-size: 1.05rem; }
.phead .pn { display: flex; gap: 0.6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.phead .pn a { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.85rem; font-weight: 600; }
.phead .pn a:hover { background: rgba(255,255,255,0.2); text-decoration: none; }
.pbody { padding-block: 2rem 3rem; display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .pbody { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.sheet { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.sheet .sh { padding: 0.9rem 1.3rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: var(--ink-3); flex-wrap: wrap; }
.sheet .sh b { color: var(--ink); font-weight: 600; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.5rem 0.8rem; padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--line); }
.points li:last-child { border-bottom: 0; }
.points .l { width: 2rem; height: 2rem; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; }
.points .t { font-size: 1.02rem; line-height: 1.55; }
.points .n { grid-column: 2; background: var(--bg-2); border-left: 3px solid var(--sky); border-radius: 0 8px 8px 0; padding: 0.6rem 0.9rem; font-size: 0.92rem; color: var(--ink-2); }
.points .n::before { content: "In practice"; display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky-text); margin-bottom: 0.15rem; }
.spec { list-style: none; margin: 0; padding: 0; }
.spec li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.1rem 1.2rem; padding: 0.85rem 1.3rem; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .spec li { grid-template-columns: 220px minmax(0, 1fr); } }
.spec b { font-weight: 600; } .spec span { color: var(--ink-2); }
.side { display: grid; gap: 1.2rem; }
.sidecard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem 1.2rem; box-shadow: var(--shadow); }
.sidecard h2 { font-family: var(--cond); font-size: 1.3rem; letter-spacing: 0.04em; color: var(--heading); padding-bottom: 0.5rem; border-bottom: 2px solid var(--heading); margin-bottom: 0.6rem; text-transform: uppercase; }
.sidecard ol { list-style: none; margin: 0; padding: 0; }
.sidecard ol a { display: grid; grid-template-columns: 1.8rem 1fr; gap: 0.3rem; padding: 0.3rem 0; font-size: 0.9rem; color: var(--ink-2); }
.sidecard ol a b { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sidecard ol a[aria-current="page"], .sidecard ol a:hover { color: var(--blue); text-decoration: none; }
.sidecard ol a[aria-current="page"] b { color: var(--blue); }
.sidecard p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.sidecard .vl { list-style: none; padding: 0; margin: 0; }
.sidecard .vl li { display: flex; justify-content: space-between; gap: 0.6rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.faq { margin-top: 1.6rem; }
.faq h2 { font-family: var(--cond); font-size: 1.6rem; letter-spacing: 0.04em; color: var(--heading); text-transform: uppercase; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.8rem 1rem; margin-top: 0.6rem; }
summary { cursor: pointer; font-weight: 600; } details p { color: var(--ink-2); margin: 0.5rem 0 0; }
.sponsor { margin-top: 1.4rem; background: var(--bg-2); border-radius: var(--r-s); padding: 0.9rem 1.1rem; font-size: 0.9rem; color: var(--ink-2); }

/* Prose pages (notes) */
.prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.6rem 1.8rem; box-shadow: var(--shadow); max-width: 78ch; }
.prose h2 { font-family: var(--cond); font-size: 1.7rem; letter-spacing: 0.04em; color: var(--heading); margin-top: 1.8rem; text-transform: uppercase; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.prose p, .prose ul, .prose ol { margin: 0.8rem 0 0; } .prose ul, .prose ol { padding-left: 1.2rem; }
.prose .answer { background: var(--bg-2); border-left: 3px solid var(--sky); border-radius: 0 8px 8px 0; padding: 0.8rem 1rem; }
.prose .answer h2 { font-size: 0.75rem; font-family: var(--ui); letter-spacing: 0.06em; color: var(--sky-text); margin: 0; }
.prose .answer p { font-size: 1.05rem; font-weight: 500; }
.prose .note { background: var(--bg-2); border-radius: var(--r-s); padding: 0.8rem 1rem; margin-top: 1rem; }
.prose .myth { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.prose .myth .label { color: var(--lost); font-weight: 700; margin-top: 0.2rem; }
.prose .table-wrap { overflow-x: auto; margin-top: 1rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.93rem; } .prose th, .prose td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.prose .log { list-style: none; padding: 0; } .prose .log li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.prose figure { margin: 1.4rem 0 0; } .prose .fig { border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.8rem; } .prose figcaption { color: var(--ink-3); font-size: 0.88rem; margin-top: 0.4rem; }
.prose .quick { display: block; counter-reset: q; } .prose .quick li { counter-increment: q; display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem; margin-top: 0.7rem; background: none; padding: 0; } .prose .quick li::before { content: counter(q); font-family: var(--cond); font-size: 1.5rem; color: var(--blue); }
.prose .v { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; font-weight: 700; font-size: 0.78rem; color: #fff; } .prose .v-lost { background: var(--lost); } .prose .v-play { background: var(--won); } .prose .v-let { background: var(--let); }
.prose .next, .prose .sponsor { display: none; }
.prose details { margin-top: 0.6rem; }
.rule { font-weight: 600; color: var(--blue); font-size: 0.88em; white-space: nowrap; }
.svg-court { fill: var(--bg-2); stroke: var(--navy); } .svg-line { stroke: var(--navy); fill: none; } .svg-glass { stroke: var(--sky); fill: none; } .svg-fence { stroke: var(--ink-3); fill: none; stroke-dasharray: 3 3; }
.svg-text { fill: var(--ink); font-family: var(--ui); font-size: 12px; font-weight: 600; } .svg-muted { fill: var(--ink-3); font-family: var(--ui); font-size: 11px; }
.svg-ball { fill: var(--lime); stroke: var(--ink); } .svg-path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 5 4; } .svg-player { fill: var(--blue); }
.svg-ok { fill: none; stroke: var(--won); stroke-width: 2.6; } .svg-no { fill: none; stroke: var(--lost); stroke-width: 2.6; } .svg-zone { fill: rgba(204,255,0,0.35); stroke: var(--won); stroke-dasharray: 4 3; }

@media (max-width: 760px) {
  .hdr .wrap { height: auto; flex-wrap: wrap; gap: 0.6rem 1rem; padding-block: 0.7rem; }
  .hdr nav { margin-left: 0; width: 100%; overflow-x: auto; scrollbar-width: none; gap: 1.1rem; padding-bottom: 0.3rem; order: 3; }
  .hdr nav::-webkit-scrollbar { display: none; }
  .hdr .pill { margin-left: auto; }
  .bar .wrap span:last-child { display: none; }
  .hero { padding-block: 2.2rem 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== Motion and photo slots ===== */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.rv.in { opacity: 1; transform: none; }
.hero .k, .hero h1, .hero > .wrap > div > p, .hero .search, .hero .stats { animation: rise 420ms cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: 50ms; } .hero > .wrap > div > p { animation-delay: 100ms; } .hero .search { animation-delay: 150ms; } .hero .stats { animation-delay: 200ms; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sec-h { position: relative; }
.sec-h::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 3px; width: 0; background: var(--sky); transition: width 900ms ease 200ms; }
.rv.in .sec-h::after { width: 120px; }
.card { transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.card:hover { box-shadow: 0 16px 36px rgba(14,36,51,0.14); }
.news a { transition: transform 160ms ease; } .news a:hover { transform: translateY(-3px); }
.news .img { overflow: hidden; } .news .img::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 46px), repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 46px); transform: translateX(0); transition: transform 2s ease; }
.news a:hover .img::before { transform: translateX(-12px); }
.p-pl { fill: #fff; stroke: #1646c9; stroke-width: 2; }
.p-ball { filter: drop-shadow(0 2px 2px rgba(0,0,0,0.35)); }
.chips button { transition: background 120ms, color 120ms; }
.rank li { transition: background 120ms; } .rank li:hover { background: var(--bg-2); }
.ticker { background: var(--lime); color: #0e2433; overflow: hidden; font-weight: 700; font-size: 0.88rem; border-bottom: 1px solid rgba(0,0,0,0.08); }
.tk { display: flex; gap: 0; width: max-content; animation: tick 40s linear infinite; }
.tk span { padding: 0.55rem 1.4rem; white-space: nowrap; position: relative; }
.tk span::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; background: #0e2433; border-radius: 50%; transform: translate(50%, -50%); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .tk { animation-play-state: paused; }

/* Photo slots: gradient duotone until real photos arrive */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: linear-gradient(160deg, #2f5fe8 0%, #1d3056 60%, #0e2433 100%); min-height: 300px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 70px), repeating-linear-gradient(0deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 70px); }
.ph::after { content: ""; position: absolute; width: 60%; height: 60%; right: -10%; bottom: -10%; border: 3px solid rgba(255,255,255,0.18); border-radius: 50%; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-hero { min-height: 380px; }
.ph-cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(255,255,255,0.96); border-radius: 12px; padding: 0.8rem 1rem 0.6rem; color: #0e2433; }
.ph-cap b { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.ph-cap .fast li { padding: 0.45rem 0; font-size: 0.88rem; }
.ph-cap .fast li:last-child { border-bottom: 0; }
.ph-cap .fast li:nth-child(n+5) { display: none; }

/* Bands: each block its own surface */
.band-2 { background: var(--bg-2); padding-bottom: 3rem; }
.band-navy { background: var(--navy); color: #fff; padding-bottom: 3rem; margin-top: 1rem; }
.band-navy .sec-h { border-color: rgba(255,255,255,0.3); } .band-navy .sec-h h2 { color: #fff; } .band-navy .sec-h h2 span { color: var(--lime); }
.band-navy .quick div { background: rgba(255,255,255,0.07); color: #e6ecf7; } .band-navy .quick div b { color: var(--lime); }
.band-navy .pill.ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.feature { background: var(--navy-2); color: #fff; padding-block: 3.5rem; margin-top: 2rem; background-image: radial-gradient(800px 400px at 85% 20%, rgba(41,170,225,0.25), transparent 60%); }
.feature .wrap { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 920px) { .feature .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.feature .eyebrow { color: var(--sky); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.feature h2 { font-family: var(--cond); font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: 0.03em; margin-top: 0.4rem; line-height: 0.95; }
.feature p { color: #c9d4ea; max-width: 50ch; font-size: 1.05rem; }
.seq { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.4rem; }
.seq span, .seq b { border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.85rem; font-weight: 600; transition: background 250ms, color 250ms; }
.seq b { border-color: var(--lime); color: var(--lime); }
.seq .lit { background: #fff; color: #0e2433; border-color: #fff; }
.seq b.lit { background: var(--lime); color: #0e2433; }
.ft-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.6rem 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.85rem; color: #c9d4ea; }
.ft-stats b { display: block; font-family: var(--cond); font-size: 2.6rem; color: #fff; line-height: 1; letter-spacing: 0.03em; }
.ph-feature { min-height: 340px; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .hero .k, .hero h1, .hero .search, .hero .stats, .hero > .wrap > div > p { animation: none; } .tk { animation: none; } .p-ball animateMotion { display: none; } }
