/* ==========================================================================
   پوپ — site styles
   Direction: the name as a monument. Black ground, warm white ink, brand yellow on the action.
   Five type steps: xl (the name), l (giant words), m (headings, statements), body, small.
   ========================================================================== */

:root {
  --ground: #0b0b0b;
  --band: #121212;
  --step: #161616;
  --step-2: #1f1f1f;
  --ink: #f3f3f1;
  --soft: #b2b0aa;
  --dim: rgba(243, 243, 241, .4);
  --accent: #ffd231;
  --accent-hi: #ffdc5c;
  --accent-ink: #111111;
  --paper: #e9e9e6;
  --paper-ink: #0b0b0b;
  --paper-soft: #46464a;
  --m: clamp(20px, 2.2vw, 32px);
  --sec: clamp(64px, 8vw, 120px);
  --axis: 24%;
  --f-xl: clamp(96px, 15.8vw, 250px);
  --f-l: clamp(46px, 6.2vw, 104px);
  --f-m: clamp(22px, 2vw, 30px);
  --f-body: 17px;
  --f-small: 14px;
  --font: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--f-body);
  line-height: 1.8;
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .15s; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; }
.skip { position: absolute; inset-inline-start: var(--m); top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  background: var(--accent); color: var(--accent-ink);
  font: 800 var(--f-body)/1.2 var(--font);
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background .15s, transform .15s var(--ease);
}
.btn:hover { background: var(--accent-hi); color: var(--accent-ink); }
.btn:active { transform: scale(.97); }
.prose a.btn, .prose a.btn:hover { color: var(--accent-ink); text-decoration: none; }
.btn-wide { width: 100%; }
.btn-text { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.btn-text:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-head {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--m);
  background: var(--ground);
}
.site-head.is-home { background: var(--band); padding-block: 12px 2px; }
.wordmark { font-weight: 900; font-size: var(--f-m); line-height: 1; color: var(--ink); text-decoration: none; }
.wordmark-img { max-height: 40px; width: auto; }
.site-nav { margin-inline-start: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav .nav-list a { font-size: var(--f-small); font-weight: 500; text-decoration: none; color: var(--ink); padding-block: 6px; display: inline-block; }
.site-nav .nav-list a:hover { color: var(--accent); }
.nav-toggle { display: none; }
.head-action { min-height: 42px; padding: 0 18px; font-size: var(--f-small); }

/* ---------- main frame ---------- */
.site-main { position: relative; z-index: 2; background: var(--ground); }
.sec { padding: var(--sec) var(--m); }

/* ---------- hero: the game under the name ---------- */
.hero-band { background: var(--band); padding: 4px var(--m) 0; }
.hero-game { margin-inline: auto; container-type: inline-size; }
.hero-game .pg { background: var(--band); }
/* Reserve the mounted game's height so the name below it does not jump (CLS). Same breakpoint as the game's own layout. */
.pg-mount { min-height: 492px; }
@container (max-width: 759px) { .pg-mount { min-height: 468px; } }
.pg-noscript { padding: 40px; color: var(--soft); }
.hero-name { padding: 8px var(--m) 0; overflow: hidden; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 10px; }
.hero-sub { margin: 0; max-width: 40em; font-size: 18px; color: var(--ink); }
.monument {
  margin: 0;
  font-size: var(--f-xl); font-weight: 900; line-height: 1.26;
  white-space: nowrap; letter-spacing: 0;
  transform-origin: 50% 100%;
}
.monument span { display: inline; }

/* ---------- ranking: giant word, filled bars ---------- */
.list-col { max-width: 640px; margin-inline: auto; container-type: inline-size; }
.giant-word { font-size: var(--f-l); font-weight: 900; line-height: 1.05; white-space: nowrap; margin: 0; }
.lede { font-size: var(--f-body); color: var(--soft); margin: 18px 0 0; max-width: 60ch; }
.lede a { color: var(--ink); }
.bars { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; }
.bar { background: var(--step); transition: background .2s; }
.bar:hover { background: var(--step-2); }
.bar summary {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 18px; align-items: center; gap: 14px;
  min-height: 56px; padding: 0 18px; cursor: pointer; list-style: none;
  font-weight: 500;
}
.bar summary::-webkit-details-marker { display: none; }
.bar summary:focus-visible { outline-offset: -2px; }
.bar-rank { color: var(--soft); font-variant-numeric: tabular-nums; }
.bar-name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-badge { margin-inline-start: 12px; font-size: var(--f-small); font-weight: 500; color: var(--accent); }
.bar-warn { margin-inline-start: 12px; font-size: var(--f-small); font-weight: 500; color: var(--soft); }
.bar-score { font-weight: 800; font-variant-numeric: tabular-nums; }
.bar-score.is-pending { color: var(--soft); font-weight: 400; font-size: var(--f-small); }
.bar-plus { position: relative; width: 18px; height: 18px; transition: transform .25s var(--ease); }
.bar-plus::before, .bar-plus::after { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 18px; height: 2px; background: var(--ink); }
.bar-plus::after { transform: rotate(90deg); }
.bar[open] .bar-plus { transform: rotate(45deg); }
.bar-panel { padding: 2px 18px 22px; }
.bar-tag { color: var(--soft); margin: 0 0 12px; }
.bar-items { margin: 0; }
.bar-items .row, .facts-list .row, .contact-list .row { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; }
.bar-items dt, .facts-list dt, .contact-list dt { color: var(--soft); }
.bar-items dd, .facts-list dd, .contact-list dd { margin: 0; font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; }
.bar-actions { display: flex; align-items: center; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
/* ---------- top list on the sites page: rank, name, score, summary, facts, «ورود» + review ---------- */
.prose .toplist { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.prose .toplist > li.top { margin: 0; }
.top {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
  grid-template-areas: "rank name score" ". body body" ". acts acts";
  column-gap: 14px; row-gap: 10px; align-items: center;
  padding: 18px 18px 20px; background: var(--step);
}
.top-rank { grid-area: rank; font-size: var(--f-m); font-weight: 900; color: var(--soft); font-variant-numeric: tabular-nums; line-height: 1.3; }
.prose .top-name { grid-area: name; margin: 0; font-size: var(--f-m); line-height: 1.3; }
.prose .top-name a { text-decoration: none; }
.prose .top-score { grid-area: score; margin: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.top-score b { font-size: var(--f-m); font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.top-score span { font-size: var(--f-small); color: var(--soft); }
.top.is-low .top-score b { color: var(--soft); }
.top-body { grid-area: body; min-width: 0; }
.prose .top-note { margin: 0 0 8px; color: var(--soft); }
.top-facts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; font-size: var(--f-small); }
.top-facts div { display: flex; gap: 6px; }
.top-facts dt { color: var(--soft); }
.top-facts dd { margin: 0; font-weight: 700; }
.top-acts { grid-area: acts; display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; margin-top: 4px; }
.prose .top-acts .btn-text { color: var(--ink); text-decoration-color: var(--accent); }
.bars-empty { margin-top: 26px; padding: 22px 18px; background: var(--step); color: var(--soft); }
.bars-empty a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; text-decoration: none; }
.more-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.more-link:hover svg { transform: translateX(-4px); }

/* ---------- tutorial: run-in column with interface evidence ---------- */
.sec-steps, .sec-fair { background: var(--band); }
.sec-steps .pg.pg-ev, .sec-fair .pg.pg-ev { background: #191919; }
.run-col { max-width: 600px; margin-inline-start: var(--axis); }
.run-col > h2 { font-size: var(--f-m); margin-bottom: 48px; }
.step { margin-bottom: 72px; }
.step:last-child { margin-bottom: 0; }
.step p { font-size: 18px; line-height: 1.85; color: var(--soft); margin: 0; }
.step p strong { color: var(--ink); font-weight: 800; }
.pg.pg-ev { margin-top: 22px; padding: 20px; gap: 14px; border-radius: 0; container-type: normal; pointer-events: none; }
.pg-ev .pg-board { gap: 8px; }
.pg-ev .pg-row { flex: none; min-height: 0; }
.pg-ev .pg-tile { height: 52px; display: block; }
.pg-ev .pg-tile.is-hover .pg-back { background: var(--step-2); }
.pg-ev .pg-tile.is-hover .pg-back svg { fill: var(--accent); }
.pg-ev .pg-modes span { display: grid; place-items: center; height: 34px; border-radius: 7px; font-size: 13px; font-weight: 700; color: #aaa49a; }
.pg-ev .pg-modes span.is-on { background: var(--accent); color: #111; }
.pg-ev .ev-line { color: #aaa49a; font-size: 13px; }
.pg-ev .ev-line b { color: var(--ink); }
.pg-ev .pg-stepper { display: grid; grid-template-columns: 44px 1fr 44px; gap: 6px; }
.pg-ev .ev-btn, .pg-ev .ev-input { height: 44px; display: grid; place-items: center; border-radius: 8px; background: #1f1f1f; border: 1px solid #2c2c2c; font-weight: 800; }
.pg-ev .ev-input { background: #121212; font-size: 17px; }
.pg-ev .ev-main { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pg-ev .ev-result { text-align: center; padding: 6px 0; }
.pg-ev .ev-result b { display: block; font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1.2; }
.pg-ev .ev-result span { color: #aaa49a; font-size: 14px; }
.pg-ev .ev-result.is-loss b { color: #ff6b57; }

/* ---------- odds: quiet figure lines ---------- */
.sec-odds { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.odds-col { grid-column: 2 / span 6; }
.odds-col h2 { font-size: var(--f-m); margin: 0 0 56px; padding-inline-start: 156px; }
.figures { margin: 0; }
.fig { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 24px; align-items: baseline; margin-bottom: 28px; }
.fig dt { font-size: var(--f-m); font-weight: 600; text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig dd { margin: 0; color: var(--soft); max-width: 40ch; }
.odds-photo { grid-column: 9 / span 3; margin: 80px 0 0; overflow: hidden; }
.odds-photo img, .intro-photo img, .intro-photo video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--band); }

/* ---------- fairness: the round as one sentence, its receipt beside it ---------- */
.sec-fair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.fair-text { grid-column: 1 / span 6; }
.pg.ev-fair { grid-column: 8 / span 5; margin: 0; padding: 22px; gap: 14px; pointer-events: auto; }
.ev-fair .ev-kv { display: flex; flex-direction: column; gap: 6px; }
.ev-fair .ev-kv span, .ev-fair .ev-two span { color: #aaa49a; font-size: 13px; }
.ev-fair code { font: 600 13px/1.5 var(--font); direction: ltr; text-align: left; word-break: break-all; background: #0d0d0d; padding: 8px 10px; border-radius: 6px; color: var(--ink); }
.ev-fair .ev-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ev-fair .ev-two > div { display: flex; flex-direction: column; gap: 6px; }
.ev-fair .ev-two b { font-size: 20px; }
.ev-last { display: flex; flex-direction: column; gap: 6px; }
.ev-grid { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.ev-grid .r { display: grid; grid-template-columns: 54px repeat(var(--n, 4), 1fr); gap: 5px; align-items: center; }
.ev-grid .r small { color: #aaa49a; font-size: 12px; }
.ev-grid .c { height: 26px; border-radius: 5px; background: #1f1f1f; }
.ev-grid .c.p { background: #7a4a21; }
.ev-grid .r.done small { color: #5fd68f; }
.sec-fair h2 { font-size: var(--f-m); margin-bottom: 20px; }
.statement { font-size: var(--f-m); font-weight: 500; line-height: 1.55; max-width: 34ch; margin: 0; }
.fair-line { color: var(--ink); max-width: 36ch; }
.fair-line [data-fair] { color: rgba(243, 243, 241, .6); transition: color .4s; unicode-bidi: isolate; }
.fair-line [data-fair].lit { color: var(--ink); }
.fair-line bdi { font-family: inherit; }
.fair-note { margin: 26px 0 0; max-width: 62ch; color: var(--soft); }
.fair-note a { color: var(--ink); font-weight: 700; }

/* ---------- intro: one statement, one picture, one note ---------- */
.sec-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-block: calc(var(--sec) * 1.3); }
.intro-text { grid-column: 7 / span 6; grid-row: 1; padding-top: 6vh; }
.intro-text h2 { font-size: var(--f-m); margin-bottom: 18px; }
.intro-text .statement { text-indent: 3em; max-width: 30ch; }
.intro-photo { grid-column: 1 / span 3; grid-row: 1 / span 2; margin: 22vh 0 0; overflow: hidden; }
.intro-note { grid-column: 4 / span 2; grid-row: 2; align-self: end; font-size: var(--f-small); color: var(--soft); max-width: 22ch; margin: 0; }

/* ---------- article (homepage guide, pages, posts, reviews) ---------- */
.read-col { max-width: 700px; margin-inline-start: var(--axis); }
.sec-article { padding-top: calc(var(--sec) * .6); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: var(--f-m); margin: 2.2em 0 .7em; }
.prose h3 { font-size: var(--f-body); margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose ol { list-style-type: persian; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 210, 49, .6); }
.prose a:hover { color: var(--accent); }
.prose strong { font-weight: 800; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--step); font-size: var(--f-body); }
.prose blockquote p:last-child { margin: 0; }
.prose img { margin: 1.4em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: var(--f-small); color: var(--soft); margin-top: 8px; }
.table-wrap, .prose table { width: 100%; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; -webkit-overflow-scrolling: touch; }
.odds { border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.odds th, .odds td { border-bottom: 1px solid #2a2a2a; padding: 10px 12px; text-align: start; vertical-align: top; }
.odds thead th { color: var(--soft); font-weight: 500; }
/* Content tables: yellow head row, banded rows, no rules. the_content wraps each table in .table-wrap,
   which scrolls sideways on phones; in wide tables the site column stays in view while the rest scrolls. */
.prose table:not(.odds) { border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; font-size: 15px; line-height: 1.7; }
.prose table:not(.odds):not(.pop-table) { min-width: 520px; }
.prose caption { caption-side: top; text-align: start; color: var(--soft); padding: 0 0 12px; line-height: 1.7; }
.prose table:not(.odds) th, .prose table:not(.odds) td { padding: 12px 14px; text-align: start; vertical-align: top; }
.prose table:not(.odds) thead th { background: var(--accent); color: var(--accent-ink); font-weight: 800; white-space: nowrap; }
.prose table:not(.odds) tbody tr:nth-child(odd) { background: var(--step); }
.prose table:not(.odds) tbody th { font-weight: 800; }
.prose table a { color: var(--ink); text-decoration-color: var(--accent); }
.prose td.n { white-space: nowrap; }
.prose table.is-kv tbody th { width: 34%; color: var(--soft); font-weight: 700; }
.prose table.is-kv td { font-weight: 700; }
.prose table.is-wide tbody th { white-space: nowrap; position: sticky; inset-inline-start: 0; background: var(--ground); }
.prose table.is-wide thead th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; }
.prose table.is-wide tbody tr:nth-child(odd) th { background: var(--step); }
.prose table.is-wide tbody tr.is-me, .prose table.is-wide tbody tr.is-me th { background: #2d2710; }
.prose tbody tr.is-me > :first-child { border-inline-start: 4px solid var(--accent); }
.pop-rank { display: inline-block; min-width: 1.7em; color: var(--accent); }
.odds caption { caption-side: bottom; text-align: start; color: var(--soft); font-size: var(--f-small); padding-top: 10px; }
.odds small { display: block; color: var(--soft); font-weight: 400; }
@media (max-width: 600px) {
  .prose table:not(.odds) { font-size: 14px; }
  .prose table:not(.odds) th, .prose table:not(.odds) td { padding: 10px; }
  .prose table:not(.odds):not(.is-wide) thead th { white-space: normal; }
  .prose table.is-wide { min-width: 560px; }
}
.toc { background: var(--step); padding: 16px 20px; margin: 0 0 2em; }
.toc summary { cursor: pointer; font-weight: 800; }
.toc ol { margin: 12px 0 0; padding-inline-start: 1.3em; }
.toc a { text-decoration: none; }

/* ---------- FAQ: wide heading, indented questions ---------- */
.wide-h { font-size: var(--f-l); font-weight: 900; line-height: 1.12; margin: 0 0 80px; max-width: 16ch; }
.faq-list { margin-inline-start: 33.333%; }
.faq-item { margin-bottom: 36px; transition: background .2s; }
.faq-item summary { position: relative; cursor: pointer; list-style: none; font-size: var(--f-m); font-weight: 400; line-height: 1.5; padding-inline-end: 40px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: .5em; width: 12px; height: 12px; border-inline-end: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq-item[open] { background: var(--step); margin-inline: max(-24px, calc(var(--m) * -1)); padding: 24px; }
.faq-item[open] summary::after { transform: rotate(-135deg); top: .7em; }
.faq-a p { max-width: 48ch; margin: 14px 0 0; color: var(--ink); }
.sec-faq.is-compact { padding-top: calc(var(--sec) * .7); }
.sec-faq.is-compact .wide-h { font-size: var(--f-m); margin-bottom: 36px; }
.sec-faq.is-compact .faq-list { margin-inline-start: var(--axis); max-width: 760px; }

/* ---------- inner pages ---------- */
.page-head { padding: calc(var(--sec) * .55) var(--m) 32px; }
.page-head > * { margin-inline-start: var(--axis); max-width: 900px; }
.page-head h1 { font-size: var(--f-l); font-weight: 900; line-height: 1.15; }
/* Long titles shrink with their length so they stay within two lines (h1 box ≈ min(900px, container)). */
.page-head { container-type: inline-size; }
.page-head h1.fit-2 { font-size: max(24px, min(var(--f-l), calc(min(900px, 100cqi) * 3.8 / var(--len, 20)))); }
.page-head .lede { margin-top: 18px; }
.page-head.is-404 { min-height: 60vh; padding-top: calc(var(--sec) * 1.2); }
.crumbs { font-size: var(--f-small); color: var(--soft); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs-sep { color: #555; }
.page-article .read-col, .post-article .read-col, .review .read-col { padding: 0 var(--m) var(--sec); margin-inline-start: calc(var(--axis) + var(--m)); padding-inline-start: 0; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--f-small); color: var(--soft); margin-top: 18px; }
.post-cover { margin: 0 var(--m) 40px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pending-note { background: var(--step); padding: 20px 22px; color: var(--soft); }
.pending-note a { color: var(--ink); }
.editor-note { background: var(--step); padding: 16px 20px; color: var(--soft); font-size: var(--f-small); }
.shot { margin: 1.4em 0 1.6em; }
.shot img { width: 100%; height: auto; }
.shot.is-missing .shot-box { min-height: 220px; background: var(--step-2); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 26px; color: var(--soft); font-size: var(--f-small); line-height: 1.7; }
.shot.is-missing b { color: var(--accent); font-weight: 800; }
mark.gap { background: rgba(255, 210, 49, .16); color: var(--accent); padding: 0 .2em; }
.cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.cta-band { margin: 0 var(--m) var(--sec); padding: 48px var(--axis) 48px 40px; background: var(--step); padding-inline-start: calc(var(--axis) - var(--m)); }
.cta-band h2 { font-size: var(--f-m); margin-bottom: 12px; }
.cta-band p { color: var(--soft); max-width: 56ch; margin: 0; }
.related { padding: 0 var(--m) var(--sec); }
.related h2 { font-size: var(--f-m); margin: 0 0 22px; margin-inline-start: var(--axis); }
.rel-list { list-style: none; margin: 0; margin-inline-start: var(--axis); padding: 0; max-width: 700px; display: flex; flex-direction: column; gap: 6px; }
.rel-list a { display: flex; justify-content: space-between; gap: 16px; min-height: 52px; align-items: center; padding: 0 18px; background: var(--step); text-decoration: none; font-weight: 700; transition: background .2s; }
.rel-list a:hover { background: var(--step-2); color: var(--ink); }
.rel-list b { font-variant-numeric: tabular-nums; }
.post-rows { list-style: none; margin: 0 0 40px; padding: 0 var(--m); padding-inline-start: 0; }
.post-row { padding: 26px 0; }
.post-row h2, .post-row h3 { font-size: var(--f-m); margin: 0; }
.post-row h2 a, .post-row h3 a { text-decoration: none; }
.author-col .post-rows { padding: 0; }
.author-col .post-row { margin: 0; }
.score-by a { color: inherit; text-decoration-color: var(--accent); }
.post-row p { color: var(--soft); margin: 8px 0 0; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: var(--sec); }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; background: var(--step); text-decoration: none; padding: 0 12px; }
.nav-links .current { background: var(--accent); color: var(--accent-ink); }
.contact-list { max-width: 520px; background: var(--step); padding: 10px 20px; margin: 1.4em 0; }
.contact-pending { color: var(--soft); }
.search-form { margin-top: 24px; max-width: 560px; }
.search-label { display: block; font-size: var(--f-small); color: var(--soft); margin-bottom: 8px; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-height: 48px; padding: 0 14px; background: var(--step); color: var(--ink); border: 0; font: inherit; }

/* ---------- review page ---------- */
.review-head .lede { max-width: 62ch; }
.review-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 20px var(--m) var(--sec); }
.score-block { grid-column: 1 / span 4; padding-inline-start: 0; }
.score-num { font-size: var(--f-xl); font-weight: 900; line-height: .95; margin: 0; font-variant-numeric: tabular-nums; }
.score-num.is-pending { color: var(--soft); }
.score-cap { font-size: var(--f-m); font-weight: 800; margin: 14px 0 6px; }
.score-by { font-size: var(--f-small); color: var(--soft); margin: 0; }
.score-side { grid-column: 6 / span 6; align-self: end; }
.crit { margin: 0 0 22px; display: flex; flex-direction: column; gap: 6px; }
.crit-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: center; min-height: 48px; padding: 0 16px; background: var(--step); }
.crit-row dt { font-weight: 700; }
.crit-row dt small { color: var(--soft); font-weight: 400; font-size: var(--f-small); margin-inline-start: 6px; }
.crit-row dd { margin: 0; display: grid; grid-template-columns: 1fr 40px; gap: 14px; align-items: center; }
.crit-row dd b { text-align: end; font-variant-numeric: tabular-nums; }
.crit-bar { height: 8px; background: var(--step-2); position: relative; overflow: hidden; }
.crit-bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--v, 0) * 100%); background: var(--accent); transform-origin: right center; }
.review-facts { padding: 0 var(--m) var(--sec); }
.review-facts h2, .proscons h2, .verdict h2 { font-size: var(--f-m); margin: 0 0 18px; }
.review-facts > * { margin-inline-start: var(--axis); max-width: 700px; }
.facts-list { margin: 0; }
.facts-list .row { padding: 10px 0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 var(--m) var(--sec); padding-inline-start: calc(var(--axis) + var(--m)); max-width: calc(700px + var(--axis) + 400px); }
.proscons ul { margin: 0; padding-inline-start: 1.2em; }
.proscons li { margin-bottom: .5em; }
.proscons li::marker { color: var(--accent); }
.verdict { padding: 0 var(--m) var(--sec); }
.verdict > * { margin-inline-start: var(--axis); }
.verdict .statement { margin-bottom: 26px; max-width: 36ch; }

/* ---------- footer: columns above, the name below, inverted ---------- */
.site-foot {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: 40px var(--m) 18px;
  background: var(--paper); color: var(--paper-ink);
  overflow: hidden;
}
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-h { font-size: var(--f-body); font-weight: 800; margin: 0 0 10px; }
.foot-col p { font-size: var(--f-small); color: var(--paper-soft); max-width: 34ch; }
.foot-col .nav-list { flex-direction: column; gap: 4px; }
.foot-col .nav-list a { font-size: var(--f-small); color: var(--paper-soft); text-decoration: none; }
.foot-col .nav-list a:hover { color: var(--paper-ink); text-decoration: underline; }
.foot-mark { grid-row: 3; font-size: var(--f-xl); font-weight: 900; line-height: 1.02; white-space: nowrap; transform-origin: 50% 100%; }
.foot-legal { grid-row: 4; font-size: var(--f-small); color: var(--paper-soft); margin: 14px 0 0; }
.site-foot :focus-visible { outline-color: var(--paper-ink); }
@media (min-width: 761px) {
  .foot-col:last-child { text-align: end; }
  .foot-col:last-child .nav-list { align-items: flex-end; }
}

/* ---------- comments ---------- */
.comments { padding: 0 var(--m) var(--sec); }
.comments h2 { font-size: var(--f-m); margin-bottom: 18px; }
.comment-list { list-style: none; padding: 0; }
.comment-form textarea, .comment-form input[type=text], .comment-form input[type=email] { width: 100%; background: var(--step); color: var(--ink); border: 0; padding: 12px; font: inherit; }

/* ---------- motion: entrances (only when script runs) ---------- */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.js .prose [data-rise] { transform: translateY(12px); }
.js .prose [data-rise].is-in { transform: none; }
.odds-photo img, .intro-photo img { transform: scale(var(--zoom, 1.08)); transition: transform .2s linear; will-change: transform; }

@supports (animation-timeline: view()) {
  .monument { animation: pop-monument linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .foot-mark { animation: pop-mark linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
}
@keyframes pop-monument { to { transform: scale(.93); } }
@keyframes pop-mark { from { transform: scale(.94); } to { transform: scale(1); } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  :root { --axis: 12%; }
  .fair-text { grid-column: 1 / span 7; }
  .pg.ev-fair { grid-column: 8 / span 5; }
  .odds-col { grid-column: 1 / span 7; }
  .odds-photo { grid-column: 9 / span 4; }
  .score-block { grid-column: 1 / span 5; }
  .score-side { grid-column: 6 / span 7; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --axis: 0%; --sec: 72px; --f-l: clamp(36px, 10vw, 56px); --f-m: 22px; --f-body: 16px; }
  body { font-size: 16px; }
  .hero-sub { font-size: 18px; }
  .site-head { gap: 14px; padding-block: 12px; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; background: none; border: 0; color: var(--ink); font: 700 var(--f-small) var(--font); cursor: pointer; }
  .nav-wrap { position: absolute; inset-inline: 0; top: 100%; background: var(--step); padding: 10px var(--m) 18px; display: none; }
  .site-nav.is-open .nav-wrap { display: block; }
  .site-nav .nav-list { flex-direction: column; gap: 2px; }
  .site-nav .nav-list a { font-size: var(--f-body); padding-block: 10px; }
  .head-action { display: none; }
  .hero-band { padding-inline: 10px; }
  .hero-name { padding-top: 18px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .monument { font-size: 23vw; line-height: 1.12; margin-top: 10px; white-space: normal; }
  .hero-row .btn { display: none; }
  .monument span { display: block; }
  .list-col { max-width: none; }
  .bar summary { padding: 0 14px; gap: 10px; min-height: 54px; grid-template-columns: 22px minmax(0, 1fr) auto 16px; }
  .bar-panel { padding-inline: 14px; }
  .top { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "rank name score" "body body body" "acts acts acts"; padding: 16px 14px 18px; column-gap: 10px; }
  .top-acts .btn { flex: 1 1 100%; }
  .run-col { max-width: none; }
  .run-col > h2 { margin-bottom: 32px; }
  .step { margin-bottom: 56px; }
  .step p { font-size: 16px; }
  .pg.pg-ev { padding: 14px; }
  .pg-ev .pg-tile { height: 44px; }
  .sec-odds, .sec-intro, .review-top { display: block; }
  .odds-col h2 { padding-inline-start: 0; margin-bottom: 32px; }
  .fig { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; }

  .odds-photo { width: 56%; margin: 40px 0 0; margin-inline-start: auto; }
  .sec-fair { display: block; }
  .pg.ev-fair { margin-top: 36px; }

  .intro-text { padding-top: 0; }
  .intro-text .statement { text-indent: 0; }
  .intro-photo { width: 62%; margin: 36px 0 0; margin-inline-start: auto; float: inline-end; }
  .intro-photo img, .intro-photo video { aspect-ratio: 4 / 5; }
  .intro-note { width: 32%; padding-top: 36px; }
  .sec-intro::after { content: ""; display: block; clear: both; }
  .wide-h { margin-bottom: 40px; }
  .faq-list { margin-inline-start: 0; }

  .faq-item[open] { margin-inline: calc(var(--m) * -1); padding: 20px var(--m); }
  .page-article .read-col, .post-article .read-col, .review .read-col { margin-inline-start: 0; padding-inline: var(--m); }

  .score-num { font-size: 96px; }
  .score-side { margin-top: 28px; }
  .crit-row { grid-template-columns: 1fr; gap: 6px; padding: 10px 14px; }
  .proscons { grid-template-columns: 1fr; padding-inline-start: var(--m); gap: 24px; }
  .cta-band { padding: 32px var(--m); }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .foot-mark { font-size: 23vw; }
  .rel-list, .related h2 { margin-inline-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .monument, .foot-mark { animation: none !important; }
  .odds-photo img, .intro-photo img { transform: none; }
}
