/* Self-hosted fonts from @fontsource (SIL Open Font License 1.1, see LICENSE-fonts.txt). No requests to third-party servers. */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/anton-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/anton-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/bungee-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/bungee-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/silkscreen-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/silkscreen-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/silkscreen-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/silkscreen-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/dm-sans-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/dm-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/dm-sans-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/dm-sans-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/dm-sans-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/dm-sans-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/dm-sans-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/dm-sans-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/fonts/dm-sans-latin-ext-800-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/fonts/dm-sans-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/jetbrains-mono-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/jetbrains-mono-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


/* Layout: market-tracker spine (stat strip, header, title + stat cards, tabbed sortable leaderboard).
   Look: "Health Bar" — electric blue arena, navy panels, yellow power-up accent, chunky drop shadows, HP-bar score meters.
   Two colour modes: light is the electric blue arena, dark is a navy night with glowing blue and violet light. */
:root {
  --bg: #2b2df2; --bg-deep: #1d1fcc; --surface: #14127a; --surface-2: #201ea6; --ink: #ffffff; --muted: #cdd0ff; --line: rgba(255,255,255,.13);
  --accent: #ffd400; --accent-ink: #14127a; --accent-deep: #b89900; --accent-soft: rgba(255,212,0,.16);
  --worse: #ff5470; --better: #3ee08f; --flat: #9ea2ff;
  --clean: #3ee08f; --watch: #ffd400; --sloppy: #ff8a1f; --full: #ff3b5c;
  --on-band: #0b0a45;
  --full-text: #ff6b80;  /* Full Slop red for text on dark blues: 4.5:1 and up (the fill colour --full is too dark for small text) */
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-brand: "Bungee", "Anton", Impact, sans-serif;
  --font-pixel: "Silkscreen", "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 6px 0 rgba(8,6,70,.5);
  --rain: 255,255,255;
  color-scheme: dark;
}
:root[data-theme="dark"] { --bg: #12144f; --bg-deep: #0e1040; --surface: #0b0c33; --surface-2: #1d1f8a; --muted: #c6c9f3; --accent-ink: #0b0c33; }
:root[data-theme="dark"] body { background: radial-gradient(1100px 620px at 12% -8%, rgba(52,58,255,.75), transparent 62%), radial-gradient(900px 560px at 100% 0%, rgba(150,70,255,.45), transparent 60%), radial-gradient(800px 600px at 50% 110%, rgba(52,58,255,.35), transparent 60%), #12144f; background-attachment: fixed; }
.theme-btn { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); cursor: pointer; overflow: hidden; transition: background-color .2s ease, transform .2s ease; }
.theme-btn:hover { transform: rotate(-12deg); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .sun, .theme-btn .moon { transform-origin: 12px 12px; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
:root[data-theme="dark"] .theme-btn .sun { transform: rotate(90deg) scale(.4); opacity: 0; }
:root:not([data-theme="dark"]) .theme-btn .moon { transform: rotate(-90deg) scale(.4); opacity: 0; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; margin: 0; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg-deep); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr { position: absolute; left: -9999px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Global strip */
.strip { background: var(--surface); font-size: .78rem; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; padding-block: 7px; }
.strip span b { font-weight: 700; color: var(--accent); }
.strip .proto { margin-left: auto; font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* Header */
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg-deep); box-shadow: 0 4px 0 rgba(8,6,70,.35); }
.head .bar { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-brand); text-transform: uppercase; font-size: 1.4rem; letter-spacing: 0; line-height: 1; white-space: nowrap; flex: none; }
.logo svg { width: 52px; height: 31px; flex: none; overflow: visible; }
.lg-hub { fill: var(--bg-deep); }
.brand .lg-hub { fill: var(--bg); }
.share-card .lg-hub { fill: var(--bg); }
.wm-s { color: var(--accent); }

/* Brand mark: ten blocks light up left to right as the needle sweeps Clean → Full Slop, slop drips from the last red block, then the blocks go out right to left (one 6 s loop) */
@keyframes lg-needle { 0%, 8.33% { transform: rotate(-81deg); } 33.33% { transform: rotate(81deg); } 35.5% { transform: rotate(86deg); } 37.5% { transform: rotate(78deg); } 39.5%, 81.67% { transform: rotate(81deg); } 96.67%, 100% { transform: rotate(-81deg); } }
@keyframes lg-p0 { 0%, 8.13% { opacity: .2; } 8.93%, 96.67% { opacity: 1; } 97.47%, 100% { opacity: .2; } }
@keyframes lg-p1 { 0%, 10.91% { opacity: .2; } 11.71%, 95% { opacity: 1; } 95.80%, 100% { opacity: .2; } }
@keyframes lg-p2 { 0%, 13.69% { opacity: .2; } 14.49%, 93.33% { opacity: 1; } 94.13%, 100% { opacity: .2; } }
@keyframes lg-p3 { 0%, 16.47% { opacity: .2; } 17.27%, 91.67% { opacity: 1; } 92.47%, 100% { opacity: .2; } }
@keyframes lg-p4 { 0%, 19.24% { opacity: .2; } 20.04%, 90% { opacity: 1; } 90.80%, 100% { opacity: .2; } }
@keyframes lg-p5 { 0%, 22.02% { opacity: .2; } 22.82%, 88.33% { opacity: 1; } 89.13%, 100% { opacity: .2; } }
@keyframes lg-p6 { 0%, 24.8% { opacity: .2; } 25.60%, 86.67% { opacity: 1; } 87.47%, 100% { opacity: .2; } }
@keyframes lg-p7 { 0%, 27.58% { opacity: .2; } 28.38%, 85% { opacity: 1; } 85.80%, 100% { opacity: .2; } }
@keyframes lg-p8 { 0%, 30.36% { opacity: .2; } 31.16%, 83.33% { opacity: 1; } 84.13%, 100% { opacity: .2; } }
@keyframes lg-p9 { 0%, 33.13% { opacity: .2; } 33.93%, 81.67% { opacity: 1; } 82.47%, 100% { opacity: .2; } }
@keyframes lg-drip { 0%, 39.5% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(.08); opacity: 1; } 53%, 76.7% { transform: scaleY(1); opacity: 1; } 81.4% { transform: scaleY(0); opacity: 1; } 81.67%, 100% { transform: scaleY(0); opacity: 0; } }
@keyframes lg-drop { 0%, 53% { transform: translateY(-16px); opacity: 0; } 54% { transform: translateY(-16px); opacity: 1; } 64% { transform: translateY(14px); opacity: 1; } 68%, 100% { transform: translateY(20px); opacity: 0; } }
@keyframes lg-hp { 0%, 14% { width: 92%; background-color: var(--accent); } 34% { width: 70%; background-color: var(--accent); } 46% { width: 22%; background-color: var(--sloppy); } 50%, 88% { width: 14%; background-color: var(--sloppy); } 100% { width: 92%; background-color: var(--accent); } }
.lg-needle { transform-box: view-box; transform-origin: 100px 110px; transform: rotate(81deg); animation: lg-needle 6s linear infinite; }
.lg-p { opacity: 1; animation-duration: 6s; animation-timing-function: linear; animation-iteration-count: infinite; }
.lg-p0 { animation-name: lg-p0; }
.lg-p1 { animation-name: lg-p1; }
.lg-p2 { animation-name: lg-p2; }
.lg-p3 { animation-name: lg-p3; }
.lg-p4 { animation-name: lg-p4; }
.lg-p5 { animation-name: lg-p5; }
.lg-p6 { animation-name: lg-p6; }
.lg-p7 { animation-name: lg-p7; }
.lg-p8 { animation-name: lg-p8; }
.lg-p9 { animation-name: lg-p9; }
.lg-drip { transform-box: fill-box; transform-origin: 50% 0%; animation: lg-drip 6s ease-in-out infinite; }
.lg-drop { opacity: 0; animation: lg-drop 6s ease-in infinite; }
.lg-hp { width: 14%; animation: lg-hp 6s steps(6, end) infinite; }

/* Full lockup: hero of the About page */
.brand { display: flex; align-items: center; gap: 22px; margin: 4px 0 14px; min-width: 0; max-width: 620px; }
.brand-mark { width: 134px; height: 79px; flex: none; overflow: visible; }
.brand-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
.brand-wm { font-family: var(--font-brand); text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 3rem); line-height: 1; white-space: nowrap; }
.brand-hp { display: flex; align-items: center; gap: 10px; }
.brand-hp b { font-family: var(--font-pixel); font-weight: 700; color: var(--accent); font-size: .95rem; }
.brand-hp .trk { position: relative; flex: 1; height: 20px; border: 3px solid var(--ink); background: var(--bg-deep); }
.brand-hp .trk i { position: absolute; top: 2px; left: 2px; bottom: 2px; background: var(--sloppy); }
.brand-hp .trk::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 3px), var(--bg-deep) calc(10% - 3px) 10%); }
.brand-tag { font-family: var(--font-pixel); color: var(--muted); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-weight: 700; padding: 7px 12px; border-radius: 999px; font-size: .92rem; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { background: var(--surface); color: var(--accent); }
.search { margin-left: auto; position: relative; flex: 0 1 260px; min-width: 0; }
.search input { width: 100%; background: var(--surface); border: 2px solid transparent; border-radius: 999px; padding: 8px 14px 8px 36px; font-size: .88rem; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--accent); outline: none; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 999px; padding: 9px 18px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .88rem; text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 0 4px 0 var(--accent-deep); transition: transform .08s ease, box-shadow .08s ease; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-deep); }
.btn.ghost { background: var(--surface-2); color: var(--ink); box-shadow: 0 4px 0 rgba(8,6,70,.6); }
.btn.small { padding: 6px 14px; font-size: .82rem; }
.mobile-nav { display: none; gap: 4px; padding-block: 0 10px; }
.mobile-nav a { text-decoration: none; font-weight: 700; font-size: .86rem; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.mobile-nav a[aria-current="page"] { background: var(--surface); color: var(--accent); }

/* Title + cards */
.top { position: relative; z-index: 2; }  /* no overflow clip: the search list must be able to open past the bottom of the hero; the rain canvas stays inside on its own (inset 0) */
#rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hall .t3 { font-family: var(--font-brand); color: var(--accent); -webkit-text-stroke: 1px var(--accent-ink); paint-order: stroke fill; }
.top .wrap { position: relative; z-index: 1; padding-block: 30px 18px; }
.title-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: .95; margin: 0 0 10px; letter-spacing: .005em; text-wrap: balance; text-shadow: 0 5px 0 rgba(8,6,70,.5); }
h1 .hl { color: var(--accent); }
.subtitle { margin: 0; color: var(--muted); max-width: 70ch; font-size: 1.02rem; }
.subtitle b { color: var(--ink); }
.pitch { margin: 6px 0 0; color: var(--muted); max-width: 60ch; font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.pitch b { color: var(--ink); font-weight: 600; }
.pitch-line { margin: 6px 0 0; font-size: 1.08rem; font-weight: 700; line-height: 1.4; text-wrap: pretty; }
.pitch-more { margin-top: 4px; }
.pitch-more summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; padding: 4px 0; font-size: .88rem; font-weight: 700; color: var(--muted); }
.pitch-more summary span { text-decoration: underline dotted; text-underline-offset: 4px; }
.pitch-more summary::-webkit-details-marker { display: none; }
.pitch-more summary::after { content: "▾"; display: inline-block; transition: transform .2s ease; }
.pitch-more[open] summary::after { transform: rotate(180deg); }
.pitch-more .pitch { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--surface); max-width: 64ch; }
.rain-toggle { border: 0; border-radius: 999px; padding: 6px 14px; font-size: .78rem; font-weight: 700; color: var(--ink); cursor: pointer; background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--surface); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); min-width: 0; }
.card .k { font-size: .72rem; color: var(--muted); font-weight: 700; display: flex; justify-content: space-between; gap: 8px; text-transform: uppercase; letter-spacing: .06em; }
.card .v { font-family: var(--font-display); font-size: 2rem; line-height: 1.05; margin-top: 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; text-transform: uppercase; }
.card .v small { font-family: var(--font-body); font-size: .85rem; font-weight: 800; }
.card .row2 { display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.card a { text-decoration: none; }
.mover { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-weight: 700; font-size: .92rem; }
.mover span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mover:hover span:first-child { color: var(--accent); }
.mini-gauge { width: 96px; height: 54px; flex: none; }
.mini-spark { width: 110px; height: 36px; flex: none; }

/* Home verdict: a card beside the title on wide screens, under the search on narrow ones */
.hero.has-verdict { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 20px 56px; align-items: center; }
.hero.has-verdict .finder { margin-bottom: 0; }
.hero.has-verdict .title-row { margin-bottom: 14px; }
.verdict { background: var(--surface); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); }
.vd-q { margin: 0; font-size: .9rem; font-weight: 700; color: var(--muted); }
.vd-line { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 0; }
.vd-big { margin: 0; font-family: var(--font-display); font-size: 3rem; line-height: 1; text-transform: uppercase; text-shadow: 0 4px 0 rgba(8,6,70,.5); }
.vd-num { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--muted); }
.vd-num small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; margin-right: 5px; }
.vd-bar { display: flex; gap: 4px; margin-top: 14px; }
.vd-bar span { flex: var(--n) 1 0; height: 10px; border-radius: 99px; font-size: 0; }
.vd-note { margin: 8px 0 0; font-size: .76rem; color: var(--muted); }
.vd-tiles { margin-top: 16px; }
.vd-tiles .vd-t { display: flex; align-items: center; gap: 14px; }
.vd-tiles .vd-t span { font-size: .9rem; }
.vd-t { background: var(--bg-deep); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; align-content: start; }
.vd-t b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.vd-t span { font-size: .78rem; font-weight: 700; line-height: 1.2; }
.vd-t small { font-size: .72rem; font-weight: 800; color: var(--muted); margin-top: 4px; }
.vd-t small.good { color: var(--better); }
.vd-t small.bad { color: var(--full-text); }
.hero.has-verdict .pills { margin-top: 18px; }
@media (max-width: 1000px) {
  .hero.has-verdict { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero.has-verdict .hero-l { display: contents; }
  .hero.has-verdict .verdict { order: 3; max-width: 680px; margin-top: 20px; }
  .hero.has-verdict .pills { order: 4; }
}

/* Ranking: list / scale switch and the scale view */
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.viewsw { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 3px; }
.viewsw button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: .84rem; padding: 4px 12px; min-height: 28px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.viewsw button svg { width: 14px; height: 14px; }
.viewsw button:hover { color: var(--ink); }
.viewsw button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.scale-on .table-wrap, .scale-on .mlist { display: none; }
.scl { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); margin: 6px 0 10px; }
.scl.one { grid-template-columns: auto minmax(0, 1fr); }
.scl-side, .scl-mid { position: relative; }
.scl-bar { position: absolute; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.scl-bar span { display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-band); }
.scl-cap { position: absolute; text-align: center; font-family: var(--font-display); font-size: 1.05rem; line-height: 1; color: var(--muted); }
.scl-lines { position: absolute; inset: 0 auto auto 0; overflow: visible; pointer-events: none; }
.scl-lines path { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 2; stroke-linejoin: round; }
.scl-lines circle { fill: var(--ink); stroke: var(--on-band); stroke-width: 2; }
.scl-it { position: absolute; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; max-width: 100%; box-sizing: border-box; min-height: 48px; padding: 6px 16px 6px 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 4px 0 rgba(8,6,70,.5); text-decoration: none; }
.scl-it:hover { background: var(--surface-2); }
.scl-it b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; min-width: 1.5ch; text-align: center; flex: none; }
.scl-it > span { display: grid; min-width: 0; }
.scl-it strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scl-it .co-meta { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scl-side.r .scl-it { left: 0; }
.scl-side.l .scl-it { right: 0; flex-direction: row-reverse; text-align: right; padding: 6px 14px 6px 16px; }
.scl-rest { font-size: .84rem; color: var(--muted); margin: 0 0 10px; }

/* News pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill { display: inline-flex; gap: 8px; align-items: stretch; background: var(--surface); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: .8rem; text-decoration: none; max-width: 100%; }
.pill:hover { background: var(--surface-2); }
.pill .t { display: flex; align-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; border-radius: 999px; padding: 1px 8px; font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; flex: none; }
.pill .muted { white-space: nowrap; }
.pill .n, .pill .muted { align-self: center; }  /* the tag grows with the pill when a long name wraps */

/* Tabs + table */
.tabs-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 10px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tab { border: 0; background: var(--surface); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .86rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 3px 0 var(--accent-deep); }
.filters select { background: var(--surface); border: 0; border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.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; }
.legend { font-size: .76rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.legend i { font-style: normal; font-weight: 800; background: var(--surface); padding: 1px 7px; border-radius: 999px; }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); }
table.rank { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 1080px; }
.rank th { background: var(--surface); font-size: .68rem; font-weight: 700; text-align: right; padding: 14px 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rank th.l, .rank td.l { text-align: left; }
.rank th button { background: none; border: 0; padding: 0; font-weight: 700; cursor: pointer; font-size: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.rank th button:hover { color: var(--ink); }
.rank th[aria-sort="ascending"] button, .rank th[aria-sort="descending"] button { color: var(--accent); }
.rank th[aria-sort="ascending"] button::after { content: " ↑"; }
.rank th[aria-sort="descending"] button::after { content: " ↓"; }
.rank td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; font-variant-numeric: tabular-nums; white-space: nowrap; background: var(--surface); }
.rank tbody tr:last-child td { border-bottom: 0; }
.rank tbody tr:hover td { background: var(--surface-2); }
.rank .c-star { width: 40px; padding-right: 0; padding-left: 14px; }
.rank .c-rank { width: 44px; }
.rank .c-name { min-width: 250px; }
.star { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 5px; line-height: 0; }  /* 27px: touch targets 24px+ */
.star svg { width: 17px; height: 17px; }
.star:hover { color: var(--ink); }
.star[aria-pressed="true"] { color: var(--accent); }
.rk { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 6px; border-radius: 7px; font-weight: 800; font-size: .8rem; color: var(--muted); background: rgba(255,255,255,.06); }
.rk.top3 { background: var(--full); color: #fff; }
.co { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.avatar { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-size: .85rem; color: #fff; letter-spacing: .02em; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
  .avatar.logo { aspect-ratio: 2 / 1; width: auto !important; background-color: #fff; background-image: url(/logos.4208650ad7.webp); background-repeat: no-repeat; box-shadow: none; }
  .avatar.logo.dark { background-color: #14143c; }
.co strong { font-weight: 800; font-size: .96rem; }
.co:hover strong { color: var(--accent); }
.co-meta { color: var(--muted); font-size: .74rem; font-weight: 700; margin-left: 6px; letter-spacing: .04em; }
.sub-tag { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: 1px; }
.score-wrap { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.score-cell { font-family: var(--font-display); font-size: 1.55rem; line-height: 1; }
.hp { display: inline-flex; gap: 2px; }
.hp i { width: 5px; height: 10px; border-radius: 2px; background: rgba(255,255,255,.14); display: block; }
.chg { font-weight: 800; display: inline-flex; gap: 3px; align-items: center; }
.chg.worse { color: var(--worse); }
.chg.better { color: var(--better); }
.chg.flat { color: var(--flat); }
.bandpill { display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: var(--on-band); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.status { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.status.recovering { color: var(--better); }
.status.sliding { color: var(--worse); }
.status.watch { color: var(--accent); }
.status.new { color: var(--ink); }
.conf { display: inline-flex; gap: 3px; align-items: center; vertical-align: middle; }
.conf i { width: 6px; height: 14px; border-radius: 2px; background: rgba(255,255,255,.15); display: block; }
.conf i.on { background: var(--ink); }
.spark { width: 132px; height: 40px; display: block; margin-left: auto; }
.empty { padding: 28px !important; text-align: center !important; color: var(--muted); white-space: normal !important; }
.prov { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.prov h3 { font-size: .9rem; margin: 0; width: 100%; }
.drv-cell { display: inline-grid; gap: 1px; }
.drv-cell small { font-size: .72rem; color: var(--muted); font-weight: 500; white-space: normal; max-width: 22ch; line-height: 1.25; }
dd .drv-cell { justify-items: end; text-align: right; }
.nextup { margin-top: 20px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.nextup h2 { margin: 0 0 4px; font-size: 1.5rem; }
.nextup p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 46ch; }
.nextup p b { color: var(--ink); font-weight: 600; }
.nextup ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nextup li { padding: 8px 16px; border-radius: 999px; background: var(--surface-2); border: 2px dashed rgba(255,255,255,.35); font-weight: 800; font-size: .95rem; }
.nu-cd { margin-top: 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.nu-cd span { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nu-cd b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.grow-note { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
.grow-note b { color: var(--ink); font-weight: 600; }
.prov .pill { white-space: normal; }

/* Mobile leaderboard cards */
.mlist { display: none; list-style: none; margin: 0; padding: 0; gap: 10px; }
.mrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "rank name score" "meta meta meta"; gap: 10px 10px; align-items: center; background: var(--surface); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); text-decoration: none; }
.mrow .rk { grid-area: rank; }
.mrow .co { grid-area: name; min-width: 0; }
.mrow .co > span { min-width: 0; }
.mrow .co strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow .co-meta { margin: 0; }
.mrow .sc { grid-area: score; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.mrow .meta { grid-area: meta; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.mrow .meta .left { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.mrow .spark { width: 84px; height: 28px; flex: none; }
.mrow-wrap { position: relative; }
.mrow-wrap .star { position: absolute; bottom: 11px; right: 9px; z-index: 2; }
.mrow-wrap .mrow .meta { padding-right: 30px; }

/* Company page */
.crumbs { font-size: .82rem; color: var(--muted); margin: 18px 0 14px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.co-layout { display: grid; grid-template-columns: minmax(0, 350px) minmax(0, 1fr); gap: 22px; align-items: start; }
.co-layout > div { min-width: 0; }
@media (max-width: 520px) { .hide-sm { display: none; } }
.co-head > div { min-width: 0; }
.co-head h1 { overflow-wrap: anywhere; }
.facts { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); }
.co-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.co-head .avatar { width: 46px; height: 46px; border-radius: 12px; font-size: 1.1rem; }
.co-head h1 { font-size: 1.9rem; margin: 0; text-shadow: none; }
.co-head .co-meta { margin: 0; display: block; }
.bigscore { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 8px; }
.bigscore .n { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; }
.bigscore .of { color: var(--muted); font-weight: 700; }
.bigscore .hp i { width: 9px; height: 16px; border-radius: 3px; }
.facts-actions { display: flex; gap: 10px; margin: 16px 0 6px; flex-wrap: wrap; }
.vote { margin: 14px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.vote-q { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.vote-b { display: flex; gap: 8px; flex-wrap: wrap; }
.vote-b button { flex: 1 1 0; min-width: 84px; border: 0; border-radius: 999px; padding: 8px 10px; font: inherit; font-size: .82rem; font-weight: 700; color: var(--ink); background: var(--surface); cursor: pointer; }
.vote-b button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.vote-r { display: grid; gap: 6px; margin-top: 10px; font-size: .8rem; }
.vote-r .row { display: grid; grid-template-columns: 70px 1fr 38px; gap: 8px; align-items: center; }
.vote-r .bar { height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.vote-r .bar i { display: block; height: 100%; background: currentColor; }
.vote-n { font-size: .76rem; margin-top: 2px; }
dl.kv { margin: 12px 0 0; display: grid; }
dl.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .88rem; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; font-weight: 700; text-align: right; }
.panel { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.stack > .panel + .panel { margin-top: 18px; }
.panel h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; margin: 0; letter-spacing: .01em; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.seg { display: inline-flex; background: var(--bg-deep); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.chart-empty { margin: 0; padding: 28px 18px; border: 2px dashed var(--line); border-radius: 14px; font-weight: 600; }
.chart-box { position: relative; }
.chart { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--font-body); font-size: 11px; fill: var(--muted); font-weight: 600; }
.tip { position: absolute; pointer-events: none; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 800; padding: 5px 9px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
.cats { display: grid; gap: 16px; }
.cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; }
.cat .label { font-weight: 700; font-size: .94rem; }
.cat .pts { font-weight: 800; font-size: .88rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.meter { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: repeating-linear-gradient(90deg, var(--accent) 0 14px, var(--accent-deep) 14px 16px); }
.cat .note { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.list li:first-child { border-top: 0; }
.list .pts { color: var(--better); font-weight: 800; white-space: nowrap; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline li.flash { animation: evflash 2.6s ease-out; border-radius: 10px; }
@keyframes evflash { 0%, 35% { background: var(--accent-soft); box-shadow: 0 0 0 8px var(--accent-soft); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
.timeline .when { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.ev { display: inline-block; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 1px 8px; margin-bottom: 4px; }
.src { font-size: .72rem; color: var(--muted); font-family: var(--font-mono); }
.small-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.small-table th { text-align: left; font-size: .68rem; color: var(--muted); font-weight: 700; padding: 0 8px 8px 0; text-transform: uppercase; letter-spacing: .08em; }
.glist td { height: 58px; }
.small-table td { padding: 10px 8px 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; vertical-align: middle; }
.small-table .r { text-align: right; }
.rl { list-style: none; margin: 0; padding: 0; }
.rl li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; }
.rl li + li:not(.rl-h):not(.rl-now) { border-top: 1px solid var(--line); border-radius: 0; }
.rl li.past { background: rgba(255,255,255,.045); }
.rl .rl-h { display: block; padding: 14px 12px 6px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rl .rl-h + li { border-top: 0 !important; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.rl .rl-now { display: flex; align-items: center; gap: 12px; padding: 16px 0 4px; }
.rl .rl-now::before, .rl .rl-now::after { content: ""; flex: 1; height: 2px; background: var(--accent); border-radius: 2px; }
.rl .rl-now span { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 3px 10px; border-radius: 999px; }
.rl-d b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.rl-d i { display: block; font-style: normal; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rl-t strong { display: block; font-size: .98rem; } .rl-t strong a { text-decoration: none; } .rl-t strong a:hover { text-decoration: underline; }
.rl-t > span { display: block; font-size: .8rem; color: var(--muted); } .rl-t > span a { color: inherit; }
/* Touch targets 24px+: the links get taller hit areas without moving the text */
.rl-t strong a { display: inline-block; padding: 3px 0; margin: -3px 0; } .rl-t > span { margin-top: 4px; } .rl-t > span a { display: inline-block; padding: 4px 0; margin: -4px 0; }
.rl-x { display: flex; align-items: center; gap: 10px; font-size: .82rem; text-align: right; }
.rl-in { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.rl-in.now { background: var(--accent); color: var(--accent-ink); }
.rl-p { text-decoration: none; white-space: nowrap; font-size: .84rem; } a.rl-p:hover { text-decoration: underline; } .rl-p b { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; margin-right: 2px; } .rl-p i { font-style: normal; }
.rl-p.good b { color: var(--better); } .rl-p.mid b { color: var(--watch); } .rl-p.bad b { color: var(--worse); }
.rl-p.few { display: inline-block; text-align: right; color: var(--muted); } .rl-p.few b { color: var(--muted); } .rl-p.none { color: var(--muted); }
.rl-nc { display: block; font-size: .72rem; line-height: 1.2; color: var(--muted); opacity: .85; }
.glist .g-p { padding-left: 14px; }
/* In a games table the rating is three columns that line up down the list: number | unit | reviews and source. */
.glist .rl-p { display: inline-grid; grid-template-columns: 46px 52px auto; column-gap: 5px; align-items: baseline; text-align: left; line-height: 1.25; }
.glist .rl-v { display: contents; } .glist .rl-v b { text-align: right; margin-right: 0; } .glist .rl-v i { white-space: nowrap; }
.glist .rl-dot { display: none; } .glist .rl-src { color: var(--muted); font-size: .8rem; margin-left: 9px; }
.glist .rl-nc { grid-column: 3; margin-left: 9px; text-align: left; }
.glist .rl-p.none .rl-src { grid-column: 3; }
.glist .rl-p.few b, .glist .rl-p.few i { grid-row: 1 / span 2; align-self: center; } .glist .rl-p.few b { position: relative; top: -3px; }
.glist td.role { max-width: 170px; line-height: 1.3; }
.glist .gtag + .gtag { margin-left: 4px; }
@media (max-width: 640px) { .rl li { grid-template-columns: 62px minmax(0, 1fr); } .rl-x { grid-column: 2; min-width: 0; flex-wrap: wrap; justify-content: flex-start; text-align: left; } .rl-x .src { display: none; } .rl-x .rl-p { white-space: normal; text-align: left; } .rl-x .rl-nc { text-align: left; } }
.form { display: grid; gap: 8px; }
.form label { font-size: .8rem; font-weight: 700; }
.form select, .form textarea { width: 100%; background: var(--bg-deep); border: 2px solid transparent; border-radius: 12px; padding: 8px 10px; color: var(--ink); }
.form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.note-box { font-size: .84rem; padding: 10px 12px; border-radius: 12px; background: var(--bg-deep); margin: 14px 0 0; }

/* Methodology & supporters */
.page { padding-block: 22px 10px; }
.prose { max-width: 70ch; }
.weights { display: flex; height: 58px; border-radius: 12px; overflow: hidden; margin: 12px 0 16px; }
.weights div { display: flex; flex-direction: column; justify-content: center; padding: 0 8px; min-width: 0; color: var(--on-band); font-size: .7rem; font-weight: 700; border-right: 3px solid var(--surface); overflow: hidden; }
.weights div:last-child { border-right: 0; }
.weights b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.weights span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.bands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bands div { border-radius: 12px; padding: 10px; color: var(--on-band); font-weight: 700; }
.bands b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; }
.soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; align-items: center; margin: 6px 0 30px; }
.soon-text p { margin: 0 0 12px; max-width: 54ch; font-size: 1.05rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.soon-text p b { color: var(--ink); font-weight: 600; }
.soon-box { background: var(--surface); border-radius: 26px; box-shadow: var(--shadow); padding: 34px 28px 30px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.soon-k { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.soon-big { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: .95; color: var(--accent); text-shadow: 0 5px 0 rgba(8,6,70,.6); }
.soon-pips { display: flex; gap: 6px; margin: 4px 0 8px; }
.soon-pips i { width: 14px; height: 22px; border-radius: 4px; background: var(--c); animation: soon-pip 3s ease-in-out infinite; animation-delay: calc(var(--i) * .16s); }
@keyframes soon-pip { 0%, 60%, 100% { opacity: .28; transform: none; } 20% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .soon-pips i { animation: none; opacity: 1; } }
@media (max-width: 900px) { .soon { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.tiers > .panel { display: flex; flex-direction: column; align-items: flex-start; }
.tiers > .panel > ul { flex: 1 0 auto; align-self: stretch; }
.price { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--accent); }
.fame { position: relative; overflow: hidden; margin-top: 18px; padding: 24px; border-radius: 20px; border: 2px solid #ffd400; background: radial-gradient(120% 140% at 0% 0%, #4a3600 0%, #1c1560 46%, var(--surface) 100%); box-shadow: 0 0 0 1px rgba(255,212,0,.25), 0 14px 44px rgba(255,186,0,.28), var(--shadow); }
.fame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,236,160,.18) 50%, transparent 65%); transform: translateX(-120%); animation: fame-sheen 6s ease-in-out infinite; pointer-events: none; }
@keyframes fame-sheen { 0% { transform: translateX(-120%); } 50%, 100% { transform: translateX(120%); } }
.fame-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fame h2 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1; font-size: 2.6rem; color: transparent; background: linear-gradient(110deg, #ffb800, #fff3b8 45%, #ffd400 60%, #ff9d00); -webkit-background-clip: text; background-clip: text; }
.fame-count { display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.fame-count b { font-family: var(--font-display); font-weight: 400; font-size: 3.4rem; line-height: 1; color: #ffd400; text-shadow: 0 3px 0 #8a5a00, 0 0 22px rgba(255,200,0,.55); }
.fame-say { margin: 10px 0 0; font-weight: 600; }
.fame-rank { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.fame-rank li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 10px; border-radius: 9px; background: rgba(255,212,0,.07); border: 1px solid rgba(255,212,0,.28); font-size: .88rem; }
.fame-rank i { flex: none; min-width: 30px; font-style: normal; font-family: var(--font-display); color: #ffd400; font-size: 1rem; }
.fame-rank b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.fame-rank span { flex: none; color: var(--muted); font-size: .76rem; }
.fame-rank li.pod { background: linear-gradient(110deg, rgba(255,184,0,.32), rgba(255,236,160,.16)); border-color: #ffd400; box-shadow: inset 0 0 18px rgba(255,212,0,.16); }
.fame-rank li.pod i { font-size: 1.2rem; }
.fame-rank li.open { border-style: dashed; background: rgba(255,212,0,.05); box-shadow: none; }
.fame-rank li.open b { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; }
.fame .hall { margin-top: 14px; gap: 6px; }
.fame .hall span { background: rgba(255,255,255,.08); border: 0; font-size: .82rem; padding: 4px 11px; }
.fame .hall span.t2 { background: rgba(255,212,0,.9); color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .fame::after { animation: none; } }
@media (max-width: 520px) { .fame { padding: 16px; } .fame-rank { grid-template-columns: minmax(0, 1fr); gap: 6px; } .fame-rank li { padding: 8px 12px; gap: 10px; font-size: .95rem; } .fame-rank i { min-width: 34px; font-size: 1.05rem; } .fame-rank li.pod i { font-size: 1.25rem; } .fame-rank span { font-size: .82rem; } .fame h2 { font-size: 1.7rem; } .fame-count b { font-size: 2.6rem; } }
.hall { display: flex; flex-wrap: wrap; gap: 6px; }
.hall span { background: var(--surface-2); border-radius: 999px; padding: 4px 12px; font-size: .84rem; font-weight: 700; }
.hall span.t2 { background: var(--accent); color: var(--accent-ink); }
.inner { background: var(--bg-deep) !important; box-shadow: none !important; }

/* Why box, share, play-instead, compare, docs */
.why { background: var(--accent); color: var(--accent-ink); }
.why h2 { color: var(--accent-ink); }
.why ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: why; }
.why li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 600; font-size: .98rem; counter-increment: why; }
.why li::before { content: counter(why); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-ink); color: var(--accent); font-family: var(--font-display); font-size: 1rem; }
.why.good { background: var(--clean); }
.why.good li::before { color: var(--clean); }
.why-src { display: block; font-size: .74rem; font-weight: 600; opacity: .72; margin-top: 2px; }
.rules { margin: 8px 0 0; padding-left: 18px; font-size: .9rem; display: grid; gap: 6px; }
.why .why-foot { margin: 12px 0 0; font-size: .8rem; font-weight: 600; opacity: .8; }
.updated { font-size: .76rem; color: var(--muted); }
.updated b { color: var(--ink); }
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(8,6,60,.72); display: grid; place-items: center; padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); overflow-y: auto; }
.modal { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; width: min(640px, 100%); }
.modal .panel-head { margin-bottom: 12px; flex-wrap: nowrap; }
.modal h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; margin: 0; min-width: 0; }
.modal .x { flex: none; }
.x { background: var(--surface-2); border: 0; color: var(--ink); width: 34px; height: 34px; border-radius: 999px; cursor: pointer; font-size: 1.1rem; font-weight: 800; }
.share-card { aspect-ratio: 1200 / 630; max-width: 100%; border-radius: 14px; background: var(--bg); position: relative; overflow: hidden; padding: 5% 6%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4%; container-type: inline-size; }
.share-card .sc-logo { position: absolute; left: 6%; top: 7%; font-family: var(--font-brand); text-transform: uppercase; font-size: 3.6cqw; display: flex; align-items: center; gap: 1.4cqw; line-height: 1; }
.share-card .sc-logo svg { width: 7.8cqw; height: 4.6cqw; overflow: visible; }
.share-card .sc-name { font-family: var(--font-display); text-transform: uppercase; font-size: 6.4cqw; line-height: .95; margin-top: 10cqw; }
.share-card .sc-why { font-size: 2.6cqw; font-weight: 600; margin-top: 2cqw; color: var(--muted); }
.share-card .sc-score { text-align: center; background: var(--surface); border-radius: 3cqw; padding: 3cqw 4cqw; box-shadow: 0 1cqw 0 rgba(8,6,70,.5); }
.share-card .sc-score b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 15cqw; line-height: 1; }
.share-card .sc-score .bandpill { font-size: 2cqw; padding: .5cqw 1.6cqw; }
.share-card .sc-url { position: absolute; left: 6%; bottom: 7%; font-size: 2.2cqw; font-weight: 700; color: var(--accent); }
.share-img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--bg); }
.share-note { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.share-text { width: 100%; background: var(--bg-deep); color: var(--ink); border: 2px solid transparent; border-radius: 12px; padding: 10px 12px; font-size: .88rem; resize: vertical; margin-top: 14px; }
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.game { background: var(--bg-deep); border-radius: 14px; padding: 14px; display: grid; gap: 6px; align-content: start; }
.game .cover { aspect-ratio: 16 / 9; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; color: #fff; text-align: center; padding: 8px; line-height: 1; }
.game strong { font-size: .98rem; }
.game .by { font-size: .78rem; color: var(--muted); }
.game .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; }
.disclose { font-size: .74rem; color: var(--muted); margin: 10px 0 0; }
.vs-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
.vs-pick select { width: 100%; background: var(--surface); border: 0; border-radius: 999px; padding: 10px 14px; font-weight: 700; color: var(--ink); }
.vs-badge { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); text-shadow: 0 4px 0 rgba(8,6,70,.5); line-height: 1; }
.vs-heads { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 18px; }
.vs-head { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 6px; justify-items: center; text-align: center; min-width: 0; }
.vs-head .avatar { width: 48px; height: 48px; border-radius: 12px; font-size: 1.15rem; }
.vs-head a { text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.vs-head .big { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; }
.vs-rows { margin-top: 18px; display: grid; gap: 14px; }
.vs-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 12px; align-items: center; }
.vs-row .lbl { text-align: center; font-size: .8rem; font-weight: 700; line-height: 1.2; }
button.lbl { font: inherit; font-size: .8rem; font-weight: 700; color: inherit; background: none; border: 0; padding: 6px 4px; min-height: 44px; cursor: help; border-radius: 10px; }
button.lbl .lt { text-decoration: underline dotted rgba(255,255,255,.45); text-underline-offset: 4px; }
button.lbl:hover, button.lbl[aria-expanded="true"] { background: var(--surface-2); }
button.lbl:hover .lt, button.lbl[aria-expanded="true"] .lt { text-decoration-color: var(--accent); }
.vs-tip { grid-column: 1 / -1; margin: -4px auto 0; max-width: 46ch; padding: 10px 14px; border-radius: 12px; background: var(--bg-deep); font-size: .84rem; line-height: 1.4; text-align: center; }
.vs-row .lbl small { display: block; color: var(--muted); font-weight: 600; }
.vs-bar { display: flex; align-items: center; gap: 8px; }
.vs-bar.l { flex-direction: row-reverse; }
.vs-bar .trk { flex: 1; height: 12px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; display: flex; }
.vs-bar.l .trk { justify-content: flex-end; }
.vs-bar .trk i { display: block; height: 100%; border-radius: 999px; background: var(--muted); }
.vs-bar.worse .trk i { background: var(--worse); }
.vs-bar .v { font-weight: 800; font-size: .85rem; min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.doc { max-width: 760px; }
.doc h2 { margin-top: 22px; }
.doc p, .doc li { font-size: .98rem; }
.doc .draft { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; }

/* Game finder + typeahead */
.finder { position: relative; margin: 0 0 22px; max-width: 680px; }
.finder > label { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; margin-bottom: 8px; letter-spacing: .01em; }
.finder input { width: 100%; font-size: 1.05rem; padding: 14px 18px 14px 48px; border-radius: 999px; background: var(--surface); border: 3px solid var(--accent); color: var(--ink); box-shadow: var(--shadow); }
.finder input::placeholder { color: var(--muted); }
.finder input:focus { outline: none; border-color: #fff; }
.finder svg.ic { position: absolute; left: 18px; bottom: 17px; width: 18px; height: 18px; color: var(--accent); }
.ta { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border-radius: 16px; box-shadow: 0 12px 30px rgba(5,4,50,.55); z-index: 45; max-height: min(60vh, 460px); overflow-y: auto; padding: 6px; }
.ta a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; min-width: 0; }
.ta a:hover, .ta a.on { background: var(--surface-2); }
.ta .tx { min-width: 0; flex: 1; }
.ta .tx strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .92rem; line-height: 1.25; overflow: hidden; }
.ta .tx span { display: block; font-size: .76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta .kind { flex: none; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; background: var(--bg-deep); color: var(--muted); }
.ta .kind.game { background: var(--accent); color: var(--accent-ink); }
.ta .sc { flex: none; font-family: var(--font-display); font-size: 1.15rem; }
.ta .none { padding: 12px; font-size: .88rem; color: var(--muted); }
.mini-cover { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-size: .8rem; color: #fff; }
  main#view { min-height: calc(100vh - 330px); }
  .mini-cover.img { width: 48px; height: 27px; border-radius: 5px; }
  .cover.img { aspect-ratio: 16 / 9; padding: 0; box-shadow: none; }
  .game-hero .cover { max-width: 480px; }
  .game-hero .cover.hd { display: block; overflow: hidden; padding: 0; box-shadow: none; background: none; aspect-ratio: 16 / 9; } .cover.hd img { display: block; width: 100%; height: auto; }

/* Game page + games lists */
.method-ver { margin: 14px 2px 0; font-size: .82rem; color: var(--muted); } .method-ver b { color: var(--ink); }
/* Game page: rating and release blocks */
.tagrow { align-items: center; }
.g-block { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg-deep); }
.g-lbl { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.g-big { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--ink); }
.g-big i { font-style: normal; font-size: 1.4rem; color: var(--muted); margin-left: 2px; }
.g-big.nc { color: var(--muted); } .g-big.nc i { color: var(--muted); }
.g-big.good { color: var(--better); } .g-big.mid { color: var(--watch); } .g-big.bad { color: var(--worse); } .g-big.none { font-size: 1.8rem; color: var(--muted); }
.g-basis { margin-top: 6px; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.g-basis a, .g-nohit a { color: var(--ink); }
.g-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.g-tiles.one { grid-template-columns: 1fr; }
.g-tile { padding: 10px 12px; border-radius: 10px; background: var(--surface); min-width: 0; }
.g-tile-k { font-size: .72rem; font-weight: 700; color: var(--muted); }
.g-tile-v { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; margin-top: 2px; }
.g-tile-v i { font-style: normal; font-family: var(--font-body); font-size: .78rem; font-weight: 600; color: var(--muted); }
.g-tile-n { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.g-tile-x { font-size: .74rem; color: var(--muted); margin-top: 6px; font-style: italic; }
.g-tile.nc .g-tile-v { color: var(--muted); }
.g-nohit { margin-top: 10px; font-size: .8rem; color: var(--muted); }
.g-rel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.g-rel li { display: grid; grid-template-columns: 7.5em 1fr; gap: 2px 10px; align-items: baseline; font-size: .88rem; }
.g-rel-k { color: var(--muted); font-size: .8rem; }
.g-rel-d { font-weight: 700; }
.g-rel-p { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px; }
.g-chip { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--surface); color: var(--ink); }
.g-read { margin: 12px 0 0; font-size: .76rem; color: var(--muted); }
@media (max-width: 380px) { .g-tiles { grid-template-columns: 1fr; } }
.game-hero .cover { aspect-ratio: 16 / 9; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; color: #fff; text-align: center; padding: 16px; line-height: 1; margin-bottom: 14px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.2); }
.game-hero h1 { font-size: 2rem; margin-bottom: 6px; text-shadow: none; }
.tagrow { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.gtag { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; background: var(--bg-deep); color: var(--muted); }
.gtag.hit { background: var(--accent); color: var(--accent-ink); }
.tagrow .gtag.legend { margin: 0; display: inline-block; }  /* the generic .legend class (chart legends) added a bottom margin: the tag sat higher than the year */
.gtag.legend { color: #3a2500; background: linear-gradient(110deg, #ffb800 0%, #ffe27a 35%, #fff6c9 50%, #ffe27a 65%, #ffb800 100%); background-size: 200% 100%; animation: legend 3s linear infinite; box-shadow: 0 0 0 1px rgba(255,214,90,.55), 0 0 12px rgba(255,196,0,.45); }
@keyframes legend { from { background-position: 200% 0; } to { background-position: 0% 0; } }  /* one full tile, so the loop has no jump */
@media (prefers-reduced-motion: reduce) { .gtag.legend { animation: none; } }
.gtag.dead { background: var(--full); color: #fff; }
.gtag.soon { background: #7ad7ff; color: var(--accent-ink); }
.chain { display: grid; gap: 10px; }
.link-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--bg-deep); border-radius: 14px; padding: 12px 14px; text-decoration: none; }
a.link-card:hover { background: var(--surface-2); }
.link-card .role { display: block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.link-card strong { display: block; font-size: 1rem; }
.link-card .sub { display: block; font-size: .78rem; color: var(--muted); }
.link-card .sc { text-align: right; }
.link-card .sc b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.chain .arrow { text-align: center; color: var(--accent); font-weight: 800; line-height: 1; font-size: 1.1rem; }
.before-note { font-size: .84rem; padding: 10px 12px; border-radius: 12px; background: rgba(255,212,0,.12); border: 1px dashed var(--accent); margin-top: 12px; }
.glist td:first-child { width: 38%; }
.glist .gname { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.glist .gname:hover { color: var(--accent); }
.glist td { white-space: nowrap; }
.glist td:first-child, .glist td.role { white-space: normal; }
.glist td:last-child { white-space: normal; }
.glist .g-sub { display: none; }
.glist tr.g-cut td { padding: 16px 0 6px; border-top: 2px solid var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); white-space: normal; }
.glist .gtag { display: inline-block; margin: 1px 2px; white-space: nowrap; }
/* The games table adapts to the width of its own panel, not of the window: a panel under 760px (phones, and the
   two-column company page on small laptops) stacks the rating and moves year and tags under the title. */
.gwrap { overflow-x: auto; container-type: inline-size; }
@container (max-width: 760px) {
  .glist td:first-child { width: auto; }
  .glist .gname { gap: 8px; }
  .glist .g-y, .glist .g-t { display: none; }
  .glist .gname .g-sub { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
  .glist .g-p { width: 206px; padding-left: 12px; text-align: right; white-space: normal; }
  .glist .rl-p { display: inline-block; text-align: right; white-space: normal; max-width: 194px; line-height: 1.25; }
  .glist .rl-v b { margin-right: 2px; }
  .glist .rl-p.few b { top: 0; }
  .glist .rl-src { display: block; font-size: .74rem; color: var(--muted); margin-left: 0; }
  .glist .rl-nc { text-align: right; margin-left: 0; }
}
@container (max-width: 460px) {
  .glist .g-p { width: 124px; padding-left: 8px; }
  .glist .rl-p { max-width: 124px; }
  .glist .rl-p.none { font-size: .8rem; }
  .glist .gname > span { overflow-wrap: anywhere; }
  .glist .rl-src { font-size: .72rem; }
  .glist .nc-why { display: none; }
}
@container (max-width: 290px) {
  .glist .g-p { width: 96px; padding-left: 6px; }
  .glist .rl-p { max-width: 96px; }
  .glist .gname { gap: 6px; }
  .glist .mini-cover.img { width: 40px; height: 22px; }
  .glist td:first-child { padding-right: 4px; }
}

/* Answers */
.answer { display: grid; gap: 2px; margin: 4px 0 10px; }
.answer .q { font-size: .9rem; font-weight: 700; color: var(--muted); }
.answer .a { font-family: var(--font-display); text-transform: uppercase; font-size: 3rem; line-height: .95; text-shadow: 0 4px 0 rgba(8,6,70,.5); }
.ans { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; line-height: 1; letter-spacing: .01em; }
.ansband { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 10px; }
.dims div { background: var(--bg-deep); border-radius: 10px; padding: 8px 10px; }
.dims .k { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dims .v { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.opinion { font-size: .74rem; color: var(--muted); margin: 8px 0 0; }
.response { border-left: 4px solid var(--accent); padding: 4px 0 4px 14px; margin: 0; font-size: .95rem; }
.review-flag { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: .84rem; }
.review-flag b { flex: none; background: var(--accent); color: var(--accent-ink); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; margin-top: 1px; }
.clog { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.clog li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.clog li:last-child { border-bottom: 0; padding-bottom: 0; }
.clog .when { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); padding-top: 2px; }
.clog .out { display: inline-block; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 1px 8px; border-radius: 999px; margin-left: 6px; color: var(--on-band); background: var(--flat); vertical-align: 1px; }
.clog .out.open { background: var(--accent); }
.clog .out.fixed { background: var(--better); }
.rq-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.req-hint { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg-deep); font-size: .84rem; }
.req-hint strong { color: var(--accent); }
.contact-line { font-size: .82rem; margin: 12px 0 0; }
.contact-line code, .doc code { font-family: var(--font-mono); background: var(--bg-deep); padding: 1px 6px; border-radius: 6px; user-select: all; }
.doc .policy { list-style: none; padding: 0; display: grid; gap: 8px; }
.doc .policy li { padding-left: 22px; position: relative; }
.doc .policy li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.share-card .sc-q { font-size: 2.6cqw; font-weight: 700; color: var(--muted); margin-top: 10cqw; }
.share-card .sc-name { margin-top: 0 !important; }

/* Footer */
.foot { margin-top: 44px; background: var(--surface); }
.foot .wrap { padding-block: 30px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
.foot h3, .foot .foot-h { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; letter-spacing: .01em; }
.news { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.news input { flex: 1 1 200px; min-width: 0; background: var(--bg-deep); border: 2px solid transparent; border-radius: 999px; padding: 8px 14px; color: var(--ink); }
.news input::placeholder { color: var(--muted); }
.legal { font-size: .76rem; color: var(--muted); margin: 12px 0 0; }
.legal code { font-family: var(--font-mono); user-select: all; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.foot-cta svg { flex: none; }
.foot-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: .86rem; font-weight: 700; margin-top: 12px; }

@media (max-width: 1060px) {
  .head .bar > .btn { display: none; }
  .logo { font-size: 1.2rem; }
  .logo svg { width: 48px; height: 28px; }
  .nav a { padding: 7px 9px; }
}
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-layout { grid-template-columns: 1fr; }
  .facts { position: static; }
}
@media (max-width: 420px) { .mobile-nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }  /* the menu scrolls sideways: the fade shows there is more */
/* Between phone and desktop the header has no room for the menu and a usable search box in one row: the menu moves to its own row, as on phones. */
@media (max-width: 940px) {
  .nav { display: none; }
  .mobile-nav { display: flex; flex-wrap: wrap; }
  .search { flex: 1 1 auto; }
}
@media (max-width: 720px) {
  .games { grid-template-columns: 1fr; }
  .finder > label { font-size: 1.05rem; }
  .finder input { font-size: .98rem; padding: 12px 14px 12px 44px; }
  .finder svg.ic { bottom: 15px; left: 16px; }
  .glist .hide-sm2 { display: none; }
  .game-hero .cover { font-size: 1.5rem; }
  .vs-row { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); gap: 8px; }
  .vs-head .big { font-size: 2.6rem; }
  .vs-badge { font-size: 1.8rem; }
  /* Phones: a compact header, logo and search in one row, the menu in one scrollable row below (about 80px in all) */
  .mobile-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 2px; padding-block: 0 8px; justify-content: space-between; }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a { font-size: .78rem; padding: 5px 7px; }
  .nav, .head .bar > .btn { display: none; }
  .head .bar { gap: 10px; padding-block: 8px; }
  .logo { font-size: 1rem; gap: 7px; }
  .logo svg { width: 38px; height: 23px; }
  .search input { padding: 6px 12px 6px 32px; font-size: .84rem; }
  .search svg { left: 11px; width: 14px; height: 14px; }
  .brand { gap: 14px; }
  .brand-mark { width: 90px; height: 53px; }
  .brand-tag { font-size: .78rem; }
  .search { flex: 1 1 auto; }
  .mobile-nav { display: flex; }
  .strip .proto { margin-left: 0; }
  .cards { gap: 10px; }
  .card { padding: 12px; }
  .card .v { font-size: 1.6rem; }
  .mini-gauge, .mini-spark { display: none; }
  .pills .pill:nth-child(n+4) { display: none; }
  .tab { padding: 6px 12px; font-size: .82rem; }
  .table-wrap { display: none; }
  .mlist { display: grid; }
  .grid2, .tiers, .foot .wrap { grid-template-columns: 1fr; }
  .bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weights span { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .bigscore .n { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.dims .drv { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 10px; }
[hidden] { display: none !important; }
/* expandable detail */
details.more { margin-top: 6px; font-size: .84rem; }
details.more > summary { font-family: var(--font-body); cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .78rem; opacity: .85; user-select: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
details.more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
details.more > summary:hover { opacity: 1; text-decoration: underline; }
details.more .more-body { margin-top: 6px; font-weight: 500; }
details.more .more-body p { margin: 0 0 6px; }
details.more .more-body p:last-child { margin-bottom: 0; }
.why details.more { font-weight: 600; }
/* Evidence behind a category ("Why 15 of 20?"): closed by default, so the page stays short for readers who do not need it. */
.cat .proof-d { grid-column: 1 / -1; margin-top: 2px; }
.proof { margin-top: 10px; padding: 16px 18px 6px; border-radius: 14px; background: var(--bg-deep); font-size: .9rem; font-weight: 500; }
.proof-g { padding-bottom: 14px; }
.proof-g + .proof-g { border-top: 1px solid var(--line); padding-top: 14px; }
.proof-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; font-size: .96rem; }
.proof-h b { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--accent); white-space: nowrap; }
.proof-h small { font-weight: 500; color: var(--muted); font-size: .86rem; margin-left: 8px; }
.lad { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 10px 0 2px; }
.lad span { text-align: center; padding: 7px 4px; border-radius: 8px; background: var(--surface); font-size: .76rem; color: var(--muted); }
.lad span b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; color: var(--ink); }
.lad span.on { background: var(--accent); color: var(--accent-ink); font-weight: 700; } .lad span.on b { color: var(--accent-ink); }
.proof-p { margin: 8px 0 0; font-size: .84rem; color: var(--muted); }
.proof > .proof-p { margin: 0 0 12px; }
.proof-list { list-style: none; margin: 8px 0 0; padding: 0; }
.proof-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 62px; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); }
.proof-list li:first-child { border-top: 0; }
.proof-list li.hd { font-weight: 700; } .proof-list li.hd .d { font-family: var(--font-body); font-size: .9rem; color: var(--ink); }
.proof-list .d { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }
.proof-list a { font-size: .8rem; white-space: nowrap; }
.proof-list .p { font-family: var(--font-display); font-size: 1rem; text-align: right; white-space: nowrap; }
.proof-games { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.proof-games a, .proof-games > span { text-decoration: none; padding: 5px 10px; border-radius: 999px; background: var(--surface); font-size: .82rem; font-weight: 600; }
.proof-games a:hover { text-decoration: underline; }
.proof-games b { font-family: var(--font-display); font-weight: 400; margin-left: 6px; }
.proof-games .weak b { color: var(--watch); } .proof-games .bad b { color: var(--full); } .proof-games .ok b { color: var(--clean); }
.proof-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0 10px; border-top: 2px solid var(--accent); font-family: var(--font-mono); font-size: .86rem; }
.proof-sum b { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--accent); white-space: nowrap; }
@media (max-width: 640px) {
  .proof { padding: 14px 14px 4px; }
  .lad span { font-size: .66rem; padding: 6px 2px; }
  .proof-h { flex-wrap: wrap; } .proof-h small { display: block; margin: 2px 0 0; }
  .proof-list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .proof-list .d, .proof-list .t, .proof-list a { grid-column: 1; } .proof-list a { justify-self: start; white-space: normal; }
  .proof-list .p { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .proof-sum { flex-direction: column; gap: 4px; }
}
details.more.big { margin-top: 18px; background: var(--surface); border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow); font-size: .9rem; }
details.more.big > summary { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; opacity: 1; }
/* methodology infographic */
.ig { --a-decline: #4de3ff; --a-cash: #ff8bd6; --a-stability: #b9a8ff; padding: 22px; }
.ig .a-decline { --a: var(--a-decline); } .ig .a-cash { --a: var(--a-cash); } .ig .a-stability { --a: var(--a-stability); }
.ig-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ig-top h2 { margin: 0; }
.ig-top label { font-weight: 600; display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; white-space: nowrap; }
.ig-top select { min-width: 0; max-width: 100%; flex: 0 1 auto; background: var(--surface-2); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; color: var(--ink); }
h3.ig-step { display: flex; gap: 12px; align-items: center; margin: 24px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; line-height: 1.15; letter-spacing: .01em; }
.ig-top + h3.ig-step { margin-top: 18px; }
h3.ig-step i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: 1.2rem; box-shadow: 0 3px 0 var(--accent-deep); }
.ig-cols { display: grid; grid-template-columns: 5fr 3fr 2fr; gap: 16px; }
.ig-area, .ig-score { background: var(--surface-2); border-radius: 14px; padding: 14px; min-width: 0; }
.ig-area { display: flex; flex-direction: column; }
/* area name as a solid label, same build as the step numbers (no coloured strip on the card) */
.ig-an { display: inline-block; align-self: flex-start; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; line-height: 1; padding: 6px 10px 5px; border-radius: 8px; background: var(--a); color: #12122a; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); margin-bottom: 6px; }
.ig-segs { display: flex; gap: 10px; align-items: flex-end; margin-top: auto; padding-top: 10px; }
.ig-seg { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ig-sl { align-self: flex-start; text-align: left; background: none; border: 0; padding: 0; font-size: .9rem; font-weight: 700; line-height: 1.2; color: var(--ink); cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.ig-sl:hover, .ig-sl[aria-expanded="true"] { color: var(--a); text-decoration-style: solid; }
.ig-rng { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 24px; margin: 0; border-radius: 7px; cursor: ew-resize; background: linear-gradient(to right, var(--a) var(--p), rgba(255,255,255,.13) var(--p)); }
.ig-rng::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 34px; border-radius: 5px; background: #fff; border: 2px solid var(--surface); box-shadow: 0 2px 0 rgba(8,6,70,.5); }
.ig-rng::-moz-range-thumb { width: 8px; height: 30px; border-radius: 5px; background: #fff; border: 2px solid var(--surface); }
.ig-rng::-moz-range-track { background: transparent; }
.ig-rng:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ig-sn { color: var(--muted); } .ig-sn b { color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.ig-info { margin-top: 12px; background: var(--surface-2); border-left: 4px solid var(--a); border-radius: 12px; padding: 14px 16px; }
.ig-info p { margin: 0 0 6px; }
.ig-score { position: relative; }
.ig-score::before { content: ""; position: absolute; top: -17px; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top: 9px solid var(--a); }
.ig-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 2px 0 8px; }
.ig-big b { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.ig-meter { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,.13); overflow: hidden; }
.ig-meter span { display: block; height: 100%; background: var(--a); border-radius: 999px; transition: width .15s; }
.ig-weights { display: flex; gap: 6px; }
.ig-w { flex: var(--w) 1 0; min-width: 0; border-radius: 12px; background: var(--a); color: var(--accent-ink); padding: 12px 14px; font-weight: 600; }
.ig-w b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; margin-bottom: 4px; }
.ig-w span { display: block; } .ig-w span:first-of-type { font-weight: 800; }
.ig-sum { margin: 16px 0 0; font-size: 1.15rem; } .ig-sum strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--accent); margin-left: 2px; }
.ig-say { margin: 8px 0 0; }
.ig-scale { position: relative; padding-top: 46px; }
.ig-pin { position: absolute; top: 0; transform: translateX(-50%); display: grid; place-items: center; min-width: 44px; height: 32px; padding: 0 8px; border-radius: 8px; background: #fff; color: var(--accent-ink); transition: left .15s; }
.ig-pin b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.ig-pin::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top: 9px solid #fff; }
.ig-bands { display: flex; gap: 4px; }
.ig-bands > div { min-width: 0; border-radius: 10px; padding: 12px 6px; text-align: center; color: var(--on-band); font-weight: 700; }
.ig-bands > div.on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px #fff; }
.ig-bands b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }
.ig-bands span, .ig-legend span { white-space: nowrap; }
.ig-legend { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.ig-legend > div { border-radius: 10px; padding: 8px 2px; text-align: center; border: 2px solid transparent; }
.ig-legend > div.on { background: var(--b); color: var(--on-band); }
.ig-legend b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1rem; line-height: 1.1; color: var(--b); }
.ig-legend > div.on b { color: inherit; }
.ig-legend span { display: block; font-size: .78rem; font-weight: 700; }
.ig-verdict { margin: 18px 0 0; font-size: 1.1rem; font-weight: 600; } .ig-verdict strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; margin: 0 4px; }
@media (max-width: 900px) {
  .ig-cols { grid-template-columns: 1fr; }
  .ig-score::before { display: none; }
  .ig-weights { display: block; }
  .ig-w { margin-top: 8px; width: calc(40% + var(--w) * 1%); }
  .ig-bands > div { padding: 0; height: 18px; border-radius: 6px; } .ig-bands b, .ig-bands span { display: none; }
  .ig-bands > div.on { box-shadow: none; }
  .ig-legend { display: grid; }
}
/* methodology */
.meth .ver { float: right; background: var(--surface); border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 700; }
.meth h2.sec { margin: 26px 0 12px; font-size: 1.25rem; }
.dim-grid { display: grid; grid-template-columns: 3fr 2fr 1.4fr; gap: 16px; align-items: start; }
.dim-card { background: var(--surface); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.dim-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.dim-head h3 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; }
.dim-head .num { font-weight: 800; color: var(--accent); }
.mcat { border-top: 1px solid var(--line); padding: 12px 0 2px; }
.mcat-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.mcat p { margin: 4px 0 0; font-size: .88rem; }
.chip { background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 2px 8px; font-weight: 800; font-size: .82rem; }
.formula { display: flex; height: 62px; border-radius: 12px; overflow: hidden; }
.formula div { display: flex; flex-direction: column; justify-content: center; padding: 0 10px; color: var(--on-band); border-right: 3px solid var(--surface); min-width: 0; }
.formula div:nth-child(1) { background: var(--full); } .formula div:nth-child(2) { background: var(--sloppy); } .formula div:nth-child(3) { background: var(--watch); border-right: 0; }
.formula b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1; }
.formula span { font-size: .72rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plain { font-size: .9rem; margin: 12px 0 0; }
.grid2.tight { margin-top: 0; }
.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.rule-card { background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.rule-card h3 { margin: 0 0 6px; font-size: .98rem; }
.rule-card p { margin: 0; font-size: .88rem; }
.rule-card .list li { font-size: .82rem; padding: 6px 0; }
ul.rules.two { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; }
ul.rules.two li { break-inside: avoid; }
@media (max-width: 1000px) { .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dim-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rule-grid, .dim-grid, ul.rules.two { grid-template-columns: 1fr; } .meth .ver { float: none; display: inline-block; margin-left: 6px; } }
.card { position: relative; }
.card .v { margin-top: 8px; line-height: 1; min-height: 2rem; display: block; }
.card .n { margin-top: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.card .mini-gauge { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.gdev { background: var(--bg-deep); border: 0; border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--ink); max-width: 60%; }
.meth .lead { font-size: 1.1rem; font-weight: 600; margin: 0; }
.dim-q { margin: 0 0 10px; font-size: .9rem; font-weight: 700; color: var(--accent); }
.bands .bv { display: block; font-size: .78rem; margin-top: 2px; }
.ex { margin-top: 14px; }
.steps { margin: 0; padding-left: 20px; font-size: .9rem; display: grid; gap: 8px; }
/* methodology, second pass */
.meth .lead { color: var(--muted); }
.meth h2.sec { display: flex; align-items: center; gap: 12px; margin: 34px 0 14px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .01em; line-height: 1.05; }
.meth h2.sec i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: 1.25rem; box-shadow: 0 3px 0 var(--accent-deep); }
.dim-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.dim-card { padding: 20px; }
.dim-head { align-items: flex-start; margin-bottom: 2px; }
.dim-head h3 { font-size: 1.45rem; line-height: 1.05; }
.pool { flex: none; text-align: right; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); line-height: 1.2; }
.pool b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--accent); letter-spacing: .04em; margin: 0 -.04em 5px 0; }
.dim-q { margin: 0 0 14px; }
.mcat { padding: 12px 0 4px; }
.mcat p { color: var(--muted); }
.bandlist { display: grid; gap: 8px; margin-top: 12px; }
.bandlist div { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-radius: 12px; padding: 12px 14px; color: var(--on-band); font-weight: 800; }
.bandlist b { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; line-height: 1; }
.bandlist .bv { font-size: .9rem; }
.acc-list { padding: 4px 20px; }
details.acc { border-top: 1px solid var(--line); scroll-margin-top: 180px; }
details.acc:first-child { border-top: 0; }
details.acc > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 220px minmax(0, 1fr) 16px; gap: 6px 16px; align-items: center; padding: 15px 0; font-size: .92rem; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary span { color: var(--muted); }
details.acc > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .15s; justify-self: end; }
details.acc[open] > summary::after { transform: rotate(-135deg); }
details.acc > summary:hover strong { color: var(--accent); }
.acc-body { padding: 0 0 16px 236px; font-size: .9rem; max-width: 1000px; }
.acc-body p { margin: 0 0 8px; }
.acc-body .list li { font-size: .86rem; padding: 7px 0; }
.acc-body .timeline { margin-top: 0 !important; }
@media (max-width: 1000px) { .dim-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { details.acc > summary { grid-template-columns: minmax(0, 1fr) 16px; } details.acc > summary span { grid-column: 1; } details.acc > summary::after { grid-row: 1; grid-column: 2; } .acc-body { padding-left: 0; } .meth h2.sec { font-size: 1.3rem; } }
