:root {
  --navy: #060914;
  --navy-2: #0b1124;
  --navy-3: #121a36;
  --line: rgba(190, 205, 255, 0.12);
  --line-2: rgba(190, 205, 255, 0.22);
  --bone: #efe8dc;
  --text: #d9dceb;
  --dim: #8890ab;
  --coral: #e07a5f;
  --coral-2: #f2a283;
  --gold: #cfae6d;
  --cyan: #7fd8e8;
  --green: #7be0a8;
  --red: #ff7a7a;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --r: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 78% -10%, rgba(224, 122, 95, 0.16), transparent 60%),
    radial-gradient(900px 600px at 0% 30%, rgba(66, 133, 244, 0.08), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #070b19 50%, var(--navy) 100%);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main, .nav, .footer { position: relative; z-index: 1; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.serif { font-family: var(--serif); font-weight: 400; }
.small { font-size: 12px; }
.dim { color: var(--dim); }
.cyan { color: var(--cyan); }
code { font-family: var(--mono); color: var(--coral-2); }
::selection { background: rgba(224, 122, 95, 0.4); color: #fff; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(6, 9, 20, 0.92), rgba(6, 9, 20, 0.6));
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.32em; text-decoration: none; color: var(--bone); font-size: 14px; }
.brand-star svg { display: block; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--dim); font-size: 14px; transition: color 0.2s; }
.nav nav a:hover { color: var(--bone); }
.nav-status { font-family: var(--mono); font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 8px; border: 1px solid rgba(123, 224, 168, 0.3); padding: 5px 10px; border-radius: 99px; }
.nav-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* hero */
.hero {
  min-height: calc(100vh - 60px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 5vw, 80px);
  max-width: 1440px; margin: 0 auto;
}
.eyebrow { color: var(--coral-2); font-size: 12px; letter-spacing: 0.3em; margin: 0 0 8px; }
.title { position: relative; margin: 0; line-height: 0.9; }
.title-word {
  position: relative; display: block;
  font-size: clamp(64px, 10.5vw, 168px); font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, var(--bone) 45%, #b8a998 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(224, 122, 95, 0.25));
}
.title-star { position: absolute; left: 50%; top: 50%; translate: -60% -50%; opacity: 0.16; z-index: -1; animation: spin 140s linear infinite; pointer-events: none; }
.title-star svg { width: min(560px, 80vw); height: auto; }
@keyframes spin { to { rotate: 360deg; } }
.signature { font-size: clamp(24px, 2.8vw, 38px); color: var(--coral-2); margin: 22px 0 14px; line-height: 1.2; font-style: italic; }
.lede { max-width: 620px; color: var(--text); font-size: 17px; margin: 0 0 26px; }
.hero-seats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); font-size: 13px; font-weight: 500; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.chip em { font-style: normal; color: var(--dim); font-size: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(6, auto); justify-content: start; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: fit-content; margin-bottom: 28px; background: rgba(11, 17, 36, 0.5); }
.hero-stats div { padding: 10px 18px; border-right: 1px solid var(--line); display: grid; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats b { font-size: 20px; color: var(--bone); font-weight: 500; }
.hero-stats span { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.15em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { text-decoration: none; padding: 12px 22px; border-radius: 99px; font-weight: 600; font-size: 14px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn.primary { background: linear-gradient(135deg, var(--coral), #c45b42); color: #fff; box-shadow: 0 8px 30px rgba(224, 122, 95, 0.35); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(224, 122, 95, 0.5); }
.btn.ghost { border: 1px solid var(--line-2); color: var(--bone); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.05); }

.hero-portrait { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); }
.hero-portrait img { position: relative; border-radius: 22px; border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); cursor: zoom-in; animation: float 9s ease-in-out infinite; }
.portrait-glow { position: absolute; inset: 10% 5% 20%; background: radial-gradient(circle at 50% 35%, rgba(224, 122, 95, 0.55), transparent 65%); filter: blur(60px); animation: pulse 6s ease-in-out infinite; }
.hero-portrait figcaption { margin-top: 14px; text-align: center; font-size: 11px; color: var(--dim); letter-spacing: 0.2em; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: 0.6; } }

/* sections */
.section { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 130px) clamp(16px, 4vw, 48px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.kicker { color: var(--coral-2); font-size: 12px; letter-spacing: 0.3em; margin: 0 0 10px; }
.section h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; margin: 0 0 16px; color: var(--bone); letter-spacing: -0.02em; font-weight: 600; }
.section-lede { color: var(--dim); font-size: 17px; margin: 0; }
h3.mono { font-size: 12px; letter-spacing: 0.22em; color: var(--dim); font-weight: 500; margin: 0 0 16px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .title-star, .hero-portrait img, .portrait-glow { animation: none; } }

/* seats */
.seats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.seat { position: relative; padding: 20px 18px 18px; border-radius: var(--r); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, rgba(11, 17, 36, 0.85)), rgba(11, 17, 36, 0.85)); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.seat::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--c); box-shadow: 0 0 22px var(--c); }
.seat-top { display: flex; justify-content: space-between; font-size: 10px; color: var(--dim); letter-spacing: 0.15em; }
.seat h3 { margin: 14px 0 2px; font-size: 22px; color: var(--bone); }
.slug { font-size: 11px; color: color-mix(in srgb, var(--c) 70%, white); margin: 0 0 14px; }
.seat dl { margin: 0; font-size: 13px; }
.seat dt { font-family: var(--mono); font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 10px; }
.seat dd { margin: 2px 0 0; }
.seat dd b { color: var(--bone); }
.seat blockquote { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 16px; font-family: var(--serif); font-size: 17px; line-height: 1.3; color: var(--bone); font-style: italic; }

/* naming */
.naming { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; }
.naming-col { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(11, 17, 36, 0.72); }
.proposals { display: grid; gap: 10px; }
.proposal { display: grid; gap: 2px; padding: 12px 14px; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 7%, transparent); border-radius: 0 10px 10px 0; }
.proposal .mono { color: var(--dim); }
.proposal b { font-size: 20px; color: var(--bone); letter-spacing: 0.02em; }
.alts { display: flex; gap: 6px; flex-wrap: wrap; }
.alts em { font-style: normal; font-size: 12px; color: var(--dim); border: 1px solid var(--line); padding: 1px 8px; border-radius: 99px; }
.alts em.hit, .ranking li.hit { color: var(--coral-2); border-color: rgba(224, 122, 95, 0.5); }
.borda { display: grid; gap: 8px; margin-bottom: 22px; }
.bar { display: grid; grid-template-columns: 110px 1fr 30px; align-items: center; gap: 10px; font-size: 14px; }
.bar-track { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #39436b, #6a77a8); transition: width 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bar.in .bar-fill { width: var(--w); }
.bar.win .bar-fill { background: linear-gradient(90deg, #a24a33, var(--coral), var(--coral-2)); box-shadow: 0 0 20px rgba(224, 122, 95, 0.6); }
.bar.win .bar-name { color: var(--bone); font-weight: 600; }
.bar-pts { text-align: right; color: var(--dim); }
.rankings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ranking { border-top: 2px solid var(--c); padding-top: 8px; }
.ranking .mono { color: var(--dim); font-size: 10px; }
.ranking ol { margin: 6px 0 0; padding-left: 16px; font-size: 12px; color: var(--dim); }
.ranking li { border: 0; }
.ranking li.hit { font-weight: 600; }
.verdict { display: flex; flex-direction: column; }
.verdict-card { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 6px; border-radius: 12px; background: radial-gradient(circle at 50% 30%, rgba(224, 122, 95, 0.18), transparent 70%); padding: 10px; }
.verdict-star svg { animation: spin 60s linear infinite; }
.verdict-name { font-size: 40px; font-weight: 700; letter-spacing: 0.12em; color: var(--bone); }
.verdict-votes { display: flex; gap: 8px; }
.verdict-votes span { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.verdict-card .mono { color: var(--green); letter-spacing: 0.2em; }
.verdict-why { font-size: 14px; color: var(--dim); margin: 6px 0 0; }

.subgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 18px; }
.panel { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(11, 17, 36, 0.72); }
.panel > p { margin: -6px 0 16px; }
.sigvotes { display: grid; gap: 8px; }
.sig { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.sig.win { border-color: rgba(224, 122, 95, 0.55); background: rgba(224, 122, 95, 0.08); box-shadow: inset 0 0 40px rgba(224, 122, 95, 0.08); }
.sig-head { display: flex; justify-content: space-between; gap: 10px; color: var(--dim); }
.sig.win .sig-head { color: var(--coral-2); }
.voters { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.voters i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.sig p { margin: 4px 0 0; font-size: 21px; line-height: 1.25; color: var(--bone); }
.values { display: grid; gap: 8px; }
.value { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--dim); }
.value.on { color: var(--bone); border-color: var(--line-2); }
.value em { grid-column: 1 / -1; font-style: normal; color: var(--coral-2); }
.pips { display: flex; gap: 4px; }
.pips i { width: 16px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.pips i.on { background: var(--gold); box-shadow: 0 0 8px rgba(207, 174, 109, 0.6); }
.final-values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.final-values span { padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(207, 174, 109, 0.5); color: var(--gold); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(207, 174, 109, 0.06); }

/* evolution */
.concepts { margin-bottom: 30px; }
.concept-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.concept { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--navy-2); }
.concept img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; cursor: zoom-in; transition: transform 0.6s; }
.concept:hover img { transform: scale(1.04); }
.concept figcaption { padding: 10px 12px; border-top: 2px solid var(--c); display: grid; }
.concept b { color: var(--bone); }
.concept .mono { color: var(--dim); }
.merge { display: flex; align-items: center; gap: 16px; margin: 28px 0 10px; font-size: 11px; letter-spacing: 0.25em; color: var(--coral-2); }
.merge span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(224, 122, 95, 0.6), transparent); }
.evo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.evo-step { border-radius: var(--r); border: 1px solid var(--line); background: rgba(11, 17, 36, 0.8); overflow: hidden; display: flex; flex-direction: column; }
.evo-img { position: relative; }
.evo-img img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; cursor: zoom-in; }
.evo-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 99px; font-size: 11px; background: rgba(6, 9, 20, 0.8); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.evo-text { padding: 16px 18px 18px; }
.evo-text p { margin: 0; }
.evo-text h3 { margin: 4px 0 6px; font-size: 18px; color: var(--bone); }
.evo-verdict { font-size: 11px; letter-spacing: 0.12em; margin-bottom: 10px !important; }
.evo-step.rejected .evo-verdict { color: var(--red); }
.evo-step.rejected .evo-img img { filter: saturate(0.6) brightness(0.85); }
.evo-step.rejected .evo-img::after { content: "REJECTED"; position: absolute; right: -36px; top: 22px; rotate: 35deg; background: rgba(255, 90, 90, 0.85); color: #fff; font: 700 11px var(--mono); letter-spacing: 0.2em; padding: 4px 44px; }
.evo-step.accepted .evo-verdict { color: var(--gold); }
.evo-step.final { border-color: rgba(224, 122, 95, 0.6); box-shadow: 0 0 60px rgba(224, 122, 95, 0.18); }
.evo-step.final .evo-verdict { color: var(--green); }
.evo-text ul { margin: 0; padding-left: 16px; font-size: 13px; color: var(--dim); }
.evo-text li { margin: 3px 0; }
details summary { cursor: pointer; color: var(--dim); list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary:hover { color: var(--bone); }
.evo-text details { margin-top: 12px; }
.evo-text details p { margin-top: 8px; line-height: 1.5; }

/* debate */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; position: sticky; top: 61px; z-index: 5; background: linear-gradient(180deg, rgba(6, 9, 20, 0.95) 70%, transparent); padding-top: 10px; }
.tabs button { flex: 1; min-width: 150px; text-align: left; font: inherit; font-size: 12px; color: var(--dim); background: rgba(11, 17, 36, 0.8); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; cursor: pointer; transition: all 0.2s; display: grid; }
.tabs button span { font-size: 18px; color: var(--bone); font-weight: 700; }
.tabs button:hover { border-color: var(--line-2); }
.tabs button[aria-selected="true"] { border-color: rgba(224, 122, 95, 0.7); color: var(--coral-2); background: rgba(224, 122, 95, 0.1); }
.round-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.round-head h3 { margin: 0; font-size: 26px; color: var(--bone); }
.prompt { border: 1px dashed rgba(207, 174, 109, 0.4); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; background: rgba(207, 174, 109, 0.04); }
.prompt summary { color: var(--gold); }
.prompt pre, .note pre { white-space: pre-wrap; word-break: break-word; font: 12px/1.6 var(--mono); color: var(--text); margin: 12px 0 0; max-height: 520px; overflow: auto; }
.turns { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.turn { border-radius: 14px; border: 1px solid var(--line); border-top: 2px solid var(--c); background: rgba(11, 17, 36, 0.85); padding: 16px 18px; min-width: 0; }
.turn header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.turn header b { color: var(--bone); }
.turn header .right { margin-left: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.md { font-size: 14px; line-height: 1.62; color: var(--text); overflow-wrap: anywhere; }
.md h1, .md h2, .md h3, .md h4 { font-size: 15px; color: var(--bone); margin: 14px 0 6px; }
.md p { margin: 0 0 10px; }
.md ul, .md ol { padding-left: 20px; margin: 0 0 10px; }
.md li { margin: 3px 0; }
.md strong { color: var(--bone); }
.md code { font-size: 12px; background: rgba(255, 255, 255, 0.06); padding: 1px 5px; border-radius: 4px; }
.md pre { background: rgba(0, 0, 0, 0.3); padding: 10px; border-radius: 8px; overflow: auto; font-size: 12px; }
.md table { border-collapse: collapse; font-size: 13px; margin: 8px 0; width: 100%; }
.md th, .md td { border: 1px solid var(--line); padding: 4px 8px; text-align: left; }
.md blockquote { margin: 8px 0; padding-left: 12px; border-left: 2px solid var(--c); color: var(--dim); }
.md hr { border: 0; border-top: 1px solid var(--line); }
.ballot { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.ballot dl { margin: 8px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.ballot dt { color: color-mix(in srgb, var(--c) 70%, white); }
.ballot dd { margin: 0; color: var(--dim); overflow-wrap: anywhere; }
.aside { display: grid; gap: 14px; margin-top: 16px; }
.note { border-radius: 12px; border: 1px solid rgba(207, 174, 109, 0.35); background: rgba(207, 174, 109, 0.05); padding: 14px 16px; }
.note header { display: flex; justify-content: space-between; color: var(--gold); letter-spacing: 0.1em; }
.note pre { color: #e9dcc0; max-height: none; }
.gen { display: grid; grid-template-columns: 180px 1fr; gap: 16px; border-radius: 12px; border: 1px solid rgba(127, 216, 232, 0.25); background: rgba(127, 216, 232, 0.04); padding: 12px; align-items: start; }
.gen img { border-radius: 8px; cursor: zoom-in; aspect-ratio: 3 / 4; object-fit: cover; }
.gen p { margin: 0 0 8px; line-height: 1.55; }
.round-nav { display: flex; justify-content: space-between; margin-top: 22px; }
.round-nav button { font: inherit; color: var(--coral-2); background: none; border: 1px solid rgba(224, 122, 95, 0.4); border-radius: 99px; padding: 8px 16px; cursor: pointer; }
.round-nav button:hover { background: rgba(224, 122, 95, 0.1); }

/* terminal */
.term { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #05070f; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(224, 122, 95, 0.08), 0 0 80px rgba(224, 122, 95, 0.08); }
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 12px; color: var(--dim); background: linear-gradient(180deg, #121830, #0b1022); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.term-rec { display: flex; align-items: center; gap: 6px; color: var(--red); }
.term-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
#player { min-height: 200px; }
.downloads { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; }
.downloads a { text-decoration: none; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--bone); }
.downloads a:hover { border-color: var(--coral); color: var(--coral-2); }

.asciinema-player-theme-meridian {
  --term-color-foreground: #d9dceb;
  --term-color-background: #05070f;
  --term-color-0: #1b2036;
  --term-color-1: #ff7a7a;
  --term-color-2: #7be0a8;
  --term-color-3: #e8c27a;
  --term-color-4: #6d9cff;
  --term-color-5: #e88ab8;
  --term-color-6: #7fd8e8;
  --term-color-7: #d9dceb;
  --term-color-8: #59607c;
  --term-color-9: #ff9a9a;
  --term-color-10: #9ef0c0;
  --term-color-11: #f3d79d;
  --term-color-12: #9bbcff;
  --term-color-13: #f3a9cc;
  --term-color-14: #a6e8f2;
  --term-color-15: #ffffff;
}
.ap-wrapper { background: #05070f; }
.ap-player { border-radius: 0 !important; }

/* final */
.final .section-head h2 { font-size: clamp(54px, 8vw, 110px); letter-spacing: 0.04em; background: linear-gradient(180deg, #fff, var(--bone) 50%, #b8a998); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dossier { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.dossier-portrait { position: sticky; top: 90px; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(224, 122, 95, 0.4); box-shadow: 0 0 100px rgba(224, 122, 95, 0.18); }
.dossier-portrait img { width: 100%; cursor: zoom-in; }
.scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(127, 216, 232, 0.12) 50%, transparent 52%); background-size: 100% 220%; animation: scan 6s linear infinite; mix-blend-mode: screen; }
@keyframes scan { from { background-position: 0 -120%; } to { background-position: 0 120%; } }
.tags { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0.12em; padding: 5px 9px; border-radius: 99px; background: rgba(6, 9, 20, 0.78); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); backdrop-filter: blur(6px); color: var(--bone); }
.tags i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.tags em { font-style: normal; color: var(--dim); letter-spacing: 0.04em; }
.dossier-body { display: grid; gap: 0; }
.row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.row:first-child { padding-top: 0; }
.row h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.25em; color: var(--coral-2); font-weight: 500; text-transform: uppercase; }
.row p { margin: 0; font-size: 17px; color: var(--text); }
.row .big { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; color: var(--bone); font-style: italic; }
.origin, .record { margin: 0; padding-left: 18px; }
.origin li { margin: 4px 0; font-size: 16px; }
.record li { margin: 3px 0; color: var(--dim); }
.closings { margin-top: 60px; }
.closing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.closing-grid blockquote { margin: 0; padding: 18px; border-radius: 14px; border: 1px solid var(--line); border-left: 3px solid var(--c); background: rgba(11, 17, 36, 0.8); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.closing-grid p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--bone); font-style: italic; }
.closing-grid cite { font-style: normal; color: color-mix(in srgb, var(--c) 70%, white); }

.footer { max-width: 900px; margin: 0 auto; padding: 120px 24px 60px; text-align: center; }
.footer-star { display: flex; justify-content: center; }
.footer .serif { font-size: clamp(26px, 3vw, 36px); color: var(--coral-2); font-style: italic; margin: 18px 0 26px; }
.footer .small { line-height: 1.7; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(3, 5, 12, 0.92); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; gap: 14px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7); }
.lightbox p { max-width: 900px; font-size: 12px; color: var(--dim); text-align: center; max-height: 12vh; overflow: auto; margin: 0; }

@media (max-width: 1180px) {
  .seats, .closing-grid { grid-template-columns: repeat(3, 1fr); }
  .naming { grid-template-columns: 1fr 1fr; }
  .naming .verdict { grid-column: 1 / -1; }
  .evo { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-portrait { order: -1; width: min(100%, 380px); }
  .hero-stats { grid-template-columns: repeat(3, auto); }
  .hero-stats div:nth-child(3) { border-right: 0; }
  .hero-stats div:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .seats, .closing-grid { grid-template-columns: 1fr 1fr; }
  .naming, .subgrid, .dossier { grid-template-columns: 1fr; }
  .rankings { grid-template-columns: repeat(3, 1fr); }
  .concept-row { grid-template-columns: repeat(3, 1fr); }
  .turns { grid-template-columns: 1fr; }
  .dossier-portrait { position: relative; top: 0; }
  .gen { grid-template-columns: 110px 1fr; }
}
@media (max-width: 540px) {
  .seats, .closing-grid, .evo { grid-template-columns: 1fr; }
  .concept-row { grid-template-columns: 1fr 1fr; }
  .nav-status { display: none; }
}
