/* Robot 500 — "The List" brand (black and gold). Self-hosted fonts (OFL): Playfair Display, Inter. */
@font-face { font-family: "Playfair Display"; font-weight: 900; font-display: swap; src: url(/fonts/playfair-display-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(/fonts/playfair-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); }
:root {
  --bg: #0b0b0c; --surface: #141416; --surface-2: #1c1c1f; --ink: #f3efe6; --muted: #a39e93; --faint: #6f6a61;
  --gold: #d4a72c; --gold-2: #f0c75a; --gold-dim: rgba(212, 167, 44, .35); --line: #2a2a2e;
  --up: #6fcf8e; --down: #e47c6a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif; --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); font-variant-numeric: lining-nums tabular-nums; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; background: var(--gold); color: #000; padding: 6px 10px; z-index: 9; }
.small { font-size: .85rem; } .muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand img { display: block; width: 152px; height: auto; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .nav-rr { color: var(--gold); }
.catbar { border-top: 1px solid var(--line); }
.catbar-in { display: flex; gap: 18px; overflow-x: auto; white-space: nowrap; padding-top: 8px; padding-bottom: 8px; font-size: .82rem; scrollbar-width: none; }
.catbar-in a { color: var(--muted); text-decoration: none; } .catbar-in a:hover { color: var(--gold-2); }

/* hero */
.hero { padding: 48px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.hero-sm { padding: 28px 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--gold); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); margin: 0 0 14px; }
.hero-sm h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: 1.6rem; margin: 0 0 14px; } h2 a { color: var(--ink); text-decoration: none; } h2 a:hover { color: var(--gold-2); }
.lede { font-size: 1.12rem; color: var(--ink); max-width: 760px; margin: 0 0 16px; opacity: .92; }
.edition { color: var(--muted); font-size: .9rem; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.pill { border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.stats { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.stats li { color: var(--muted); font-size: .9rem; } .stats b { display: block; font: 900 2rem/1 var(--serif); color: var(--ink); }
.h-rule { font-size: 1.25rem; padding-bottom: 8px; border-bottom: 1px solid var(--gold-dim); margin-top: 32px; }
.crumbs { font-size: .82rem; color: var(--muted); margin: 18px 0 0; } .crumbs a { color: var(--muted); }

/* leaders */
.leads { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.lead { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; color: var(--ink); position: relative; transition: border-color .15s; }
.lead:hover { border-color: var(--gold); color: var(--ink); }
.lead img, .lead-ph { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--surface-2); border-radius: 8px; margin: 6px 0 8px; }
.lead-ph { display: grid; place-items: center; } .lead-ph img { width: 56px; height: 56px; opacity: .25; aspect-ratio: 1; margin: 0; background: none; }
.lead-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.lead-no { font: 900 1.05rem var(--serif); color: var(--gold); }
.lead strong { font-size: 1.02rem; line-height: 1.3; }
.lead-score { margin-top: auto; padding-top: 6px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sub { display: block; color: var(--muted); font-size: .85rem; } .sub.big { font-size: 1rem; margin: 0 0 18px; }

/* category tables */
.cat { margin-top: 40px; } .cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.more { margin: 10px 0 0; font-weight: 600; font-size: .92rem; }
.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
.list th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--gold-dim); }
.list td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.list tr:hover td { background: var(--surface); }
.c-pos { width: 64px; } .pos { font: 900 1.6rem/1 var(--serif); color: var(--gold); }
.c-name a { color: var(--ink); font-weight: 600; text-decoration: none; } .c-name a:hover { color: var(--gold-2); }
.c-score { min-width: 150px; } .score { font-weight: 700; display: inline-block; min-width: 42px; }
.bar { display: inline-block; vertical-align: middle; width: 90px; height: 4px; background: var(--surface-2); border-radius: 2px; margin-left: 6px; }
.bar > span { display: block; height: 100%; background: var(--gold); border-radius: 2px; }
.c-part { color: var(--muted); text-align: right; width: 64px; }
.c-mv { width: 64px; text-align: right; }
.mv { font-size: .8rem; font-weight: 700; } .mv-up { color: var(--up); } .mv-down { color: var(--down); } .mv-new { color: var(--gold); } .mv-same, .mv-none { color: var(--faint); }
.grade { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font-weight: 700; font-size: .85rem; border: 1px solid var(--line); }
.g-A { background: var(--gold); color: #000; border-color: var(--gold); } .g-B { color: var(--gold-2); border-color: var(--gold-dim); } .g-C { color: var(--muted); } .g-D { color: var(--faint); }
@media (max-width: 640px) { .c-part, .c-mv { display: none; } .bar { width: 50px; } .c-pos { width: 44px; } .pos { font-size: 1.3rem; } .list td { padding: 10px 6px; } }

/* robot page */
.rk { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; padding: 24px 0 8px; }
@media (max-width: 820px) { .rk { grid-template-columns: 1fr; } .rk-img { order: -1; } }
.rk h1 { margin-bottom: 4px; }
.rk-num { display: flex; align-items: center; gap: 18px; margin: 8px 0 22px; }
.pos-xl { font: 900 clamp(4.5rem, 12vw, 7.5rem)/0.9 var(--serif); color: var(--gold); }
.rk-label { font: 700 1.25rem/1.3 var(--serif); margin: 0 0 4px; }
.rk-score { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.rk-score > div { display: grid; grid-template-columns: 150px 52px 1fr; align-items: center; gap: 8px; }
.rk-score .k { color: var(--muted); font-size: .88rem; } .rk-score .v { font-weight: 700; font-size: 1.1rem; }
.rk-score .bar { width: 100%; margin: 0; }
@media (max-width: 480px) { .rk-score > div { grid-template-columns: 1fr 52px; } .rk-score .bar, .rk-score > div > .small { grid-column: 1 / -1; } }
.rk-img { margin: 0; } .rk-img img { width: 100%; background: var(--surface-2); border-radius: 12px; aspect-ratio: 4/3; object-fit: contain; }
.rk-img figcaption { color: var(--faint); font-size: .75rem; margin-top: 6px; }
.btn { display: inline-block; background: var(--gold); color: #000; font-weight: 700; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.btn:hover { background: var(--gold-2); color: #000; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; } @media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }
.plain td, .plain th { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.plain th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.tier { font-size: .72rem; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--muted); white-space: nowrap; }
.proof, .hist, .rivals, .wl, .arch { list-style: none; padding: 0; margin: 0; }
.proof li { padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; } .proof .tick { width: 18px; font-weight: 700; }
.proof .ok .tick { color: var(--gold); } .proof .no { color: var(--muted); }
.hist li { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); } .hist li span:first-child { min-width: 140px; color: var(--muted); }
.rivals li, .wl li, .arch li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.wl a, .rivals a:not(.small), .arch a { color: var(--ink); font-weight: 600; text-decoration: none; } .wl a:hover, .rivals a:hover, .arch a:hover { color: var(--gold-2); }
.wl .muted { display: block; font-size: .85rem; }
.arch-list { padding-left: 0; list-style: none; } .arch-list li { padding: 4px 0; } .arch-list .pos { font-size: 1rem; display: inline-block; min-width: 34px; }

/* prose, note, footer */
.prose { max-width: 780px; } .prose h2 { font-size: 1.35rem; margin-top: 32px; } .prose li { margin: 6px 0; }
.note { margin: 48px 0 0; padding: 20px; background: var(--surface); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; }
.note h2 { font-size: 1.2rem; } .note p { margin: 0; color: var(--ink); opacity: .9; }
.foot { margin-top: 64px; border-top: 1px solid var(--gold-dim); padding: 32px 0 48px; color: var(--muted); font-size: .9rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; } @media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } }
.foot-links { display: flex; flex-direction: column; gap: 6px; } .foot-links a { color: var(--muted); } .foot-links a:hover { color: var(--gold-2); }
@media (max-width: 640px) {
  .top { position: static; }
  .top-in { padding-top: 10px; gap: 6px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; gap: 18px; }
  .nav a { white-space: nowrap; }
  .hero { padding-top: 28px; }
  .stats { gap: 10px 22px; } .stats b { font-size: 1.6rem; }
}

/* ===== Brand v2 (D-078): seal, foil numerals, magazine cover, chapters ===== */
:root { --foil: linear-gradient(135deg, #f7dc8b 0%, #d4a72c 45%, #9c7416 75%, #e9c55a 100%); }
.foil { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foilbar { height: 4px; background: var(--foil); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand img:not(.brand-mark) { width: 146px; }
.catbar-in a { display: inline-flex; align-items: center; gap: 6px; }
.pict { width: 18px; height: 18px; flex: none; }
.catbar .pict { color: var(--gold); }

/* cover */
.cover { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 44px 0 36px; position: relative; }
.cover::before { content: ""; position: absolute; inset: 0 -50vw; background: radial-gradient(60% 80% at 25% 40%, rgba(212,167,44,.10), transparent 70%),
  repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px); z-index: -1; }
.cover-title { font-size: clamp(3rem, 9vw, 6.4rem); line-height: .92; margin: 6px 0 18px; letter-spacing: -.02em; }
.ct-the { display: block; font: 700 .9rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.cover-deck { font-size: 1.15rem; max-width: 560px; margin: 0 0 22px; opacity: .92; }
.cover-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.btn-ghost { background: transparent; color: var(--gold-2); border: 1px solid var(--gold-dim); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.cover .stats b { font-size: 2.3rem; }
.cover-feature { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--gold-dim); text-decoration: none; color: var(--ink); box-shadow: 0 30px 80px -30px rgba(212,167,44,.35); }
.cf-media img, .cf-media .ph { display: block; width: 100%; aspect-ratio: 4/3.2; object-fit: cover; background: var(--surface-2); }
.cf-badge { position: absolute; top: 14px; right: 14px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.cf-badge img { width: 96px; height: 96px; }
.cf-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(180deg, transparent, rgba(11,11,12,.92) 45%); display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: end; }
.cf-kicker { grid-column: 1 / -1; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.cf-no { grid-row: span 2; font: 900 5.2rem/.85 var(--serif); }
.cf-body strong { font: 900 1.7rem/1.1 var(--serif); align-self: end; }
.cf-body .sub { margin: 2px 0 0; }
@media (max-width: 860px) { .cover { grid-template-columns: 1fr; padding-top: 28px; } }

/* leaders strip */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--gold-dim); border-bottom: 1px solid var(--gold-dim); margin: 8px 0 12px; }
.strip-item { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; padding: 14px 12px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item:hover { background: var(--surface); color: var(--ink); }
.strip-item .pict { width: 26px; height: 26px; color: var(--gold); grid-row: span 3; }
.strip-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.strip-item strong { font-size: .92rem; line-height: 1.25; }
.strip-score { font-size: .8rem; color: var(--gold-2); font-weight: 700; }

/* chapters */
.chapter { margin-top: 56px; }
.ch-head { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--gold-dim); margin-bottom: 18px; }
.ch-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0; }
.ch-head p { margin: 2px 0 0; font-size: .9rem; }
.ch-no { font: 900 2.6rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--gold); }
.ch-icon { width: 52px; height: 52px; border: 1px solid var(--gold-dim); border-radius: 50%; display: grid; place-items: center; color: var(--gold); flex: none; }
.ch-icon .pict { width: 30px; height: 30px; }
.ch-icon.big { width: 92px; height: 92px; } .ch-icon.big .pict { width: 54px; height: 54px; }

/* podium */
.podium { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.pod { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.pod:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.pod-1 { border-color: var(--gold-dim); }
.pod-media img, .pod-media .ph { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--surface-2); }
.pod-no { position: absolute; top: 8px; left: 14px; font: 900 4rem/1 var(--serif); text-shadow: none; filter: drop-shadow(0 3px 8px rgba(0,0,0,.7)); }
.pod-1 .pod-no { font-size: 5.2rem; }
.pod-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.pod-body strong { font: 900 1.2rem/1.2 var(--serif); }
.pod-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
@media (max-width: 720px) { .podium { grid-template-columns: 1fr; } .pod { flex-direction: row; } .pod-media { width: 42%; flex: none; } .pod-media img, .pod-media .ph { height: 100%; aspect-ratio: auto; min-height: 130px; } .pod-no { font-size: 3rem; } .pod-1 .pod-no { font-size: 3.4rem; } }

/* placeholder pictogram */
.ph { display: grid !important; place-items: center; color: var(--gold); background: radial-gradient(circle at 50% 45%, rgba(212,167,44,.12), var(--surface-2) 70%) !important; }
.ph .pict { width: 34%; height: auto; max-width: 120px; opacity: .8; }

/* score ring */
.ring text { fill: var(--ink); font: 700 15px var(--sans); }

/* table rows with thumbnails */
.row-link { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.row-link b { font-weight: 600; } .row-link:hover b { color: var(--gold-2); }
.thumb { width: 52px; height: 40px; flex: none; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.thumb img, .thumb .ph { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.thumb .ph .pict { width: 60%; }
@media (max-width: 640px) { .thumb { width: 40px; height: 32px; } }

/* category hero */
.cat-hero { display: flex; gap: 24px; align-items: center; padding: 28px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
@media (max-width: 640px) { .cat-hero { flex-direction: column; align-items: flex-start; } }

/* robot page */
.rk-img { position: relative; }
.rk-img .ph { width: 100%; aspect-ratio: 4/3; border-radius: 12px; }
.rk-seal { position: absolute; right: -10px; top: -14px; width: 88px !important; height: 88px; aspect-ratio: 1 !important; background: none !important; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.pos-xl.foil { color: transparent; }

/* footer */
.foot-brand { display: flex; gap: 18px; align-items: flex-start; }
.foot-brand img { flex: none; }
.foot-claim { font: 900 1.5rem/1.15 var(--serif); color: var(--ink); margin: 0 0 8px; }
.brand img.brand-mark { width: 34px; height: 34px; }
.pod img { loading: eager; }
.pod-no { top: 10px; left: 10px; background: rgba(11,11,12,.82); border: 1px solid var(--gold-dim); border-radius: 10px; padding: 4px 12px 2px; font-size: 2.8rem; line-height: 1; filter: none; }
.pod-1 .pod-no { font-size: 3.4rem; }
@media (max-width: 720px) { .pod-no, .pod-1 .pod-no { font-size: 2rem; padding: 2px 8px 0; } }
.faq { margin-top: 48px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font: 700 1.05rem var(--serif); list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 0; color: var(--ink); opacity: .9; }
