:root {
  color-scheme: light;
  --paper: #f8f2e7;
  --ink: #212421;
  --muted: #56554e;
  --line: #d9cdbd;
  --brick: #aa3929;
  --brick-dark: #862b20;
  --deep: #202c28;
  --cream: #fff3da;
  --gold: #ffd6a0;
  --focus: #bc6d21;
  --input: #fffaf1;
  --radius: 3px;
  --font-head: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Inter", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.6rem); letter-spacing: -.06em; margin: 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0 0 .6rem; }
h3 { font-size: 1.18rem; line-height: 1.25; letter-spacing: -.01em; margin: 2rem 0 .4rem; }
p, li { text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--brick); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(100% - 64px, 1170px); margin: 0 auto; }
.skip { position: fixed; z-index: 20; left: 1rem; top: 1rem; padding: .6rem .9rem; background: var(--input); border: 1px solid var(--line); transform: translateY(-200%); }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--line); }
.bar, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bar { min-height: 68px; }
.brand, .bar nav, .footer nav { display: flex; align-items: center; gap: 1rem; }
.brand { gap: .6rem; font-weight: 750; text-decoration: none; }
.brand svg { flex: none; border-radius: 8px; }
.bar nav, .footer nav { font-size: .88rem; font-weight: 650; }
.bar nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.bar nav a:hover { text-decoration: underline; }
.primary { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--brick); color: var(--cream); font-weight: 650; text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
.primary:hover { background: var(--brick-dark); color: var(--cream); transform: translateY(-1px); }
.footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .88rem; color: var(--muted); }
.footer-inner { align-items: flex-start; flex-wrap: wrap; }
.footer strong { color: var(--ink); font-size: .95rem; }
.footer p { margin: .3rem 0 0; max-width: 48ch; }
.footer nav { flex-wrap: wrap; }


.headline { margin: 24px 0 14px; }
.game { margin-bottom: 10px; }
.stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--deep); }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cover { position: absolute; inset: 0; z-index: 2; }
.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(32 44 40 / .08) 25%, rgb(18 26 23 / .86)); }
.cover-copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px; padding: clamp(18px, 3.4vw, 40px); color: var(--cream); }
.cover-copy p { margin: 0; font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 243 218 / .78); }
.cover-title { font-family: var(--font-head); font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: .86; letter-spacing: -.045em; text-shadow: 0 2px 26px rgb(0 0 0 / .4); }
.loader { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--deep); color: var(--cream); }
.loader strong { font-size: .9rem; font-weight: 600; color: rgb(255 243 218 / .8); }
.road-bed { fill: none; stroke: rgb(255 243 218 / .26); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.road-dash { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 7 9; stroke-linecap: round; }
.road-end { fill: var(--gold); stroke: none; }
.game-bar { display: flex; align-items: center; gap: .75rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.game-social { display: flex; gap: 1.1rem; margin-right: auto; }
.game-bar button { border: 0; background: none; color: var(--ink); font-size: .86rem; font-weight: 650; display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0; }
.game-bar button:hover { color: var(--brick); }
.game-bar button[data-gf-liked] { color: var(--brick); }
.game-bar .full { flex: none; width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 9px; }
.game-bar .full svg { flex: none; display: block; color: var(--brick); }
.game-bar .full-label { display: none; }
.share-msg { font-size: .8rem; color: var(--brick); }
.share-msg:empty { display: none; }
.game-help { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; padding: 12px 0 0; font-size: .86rem; color: var(--muted); }
.game-help button { border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: .35rem .85rem; font-size: .82rem; font-weight: 650; color: var(--ink); }
.game-help button:hover { border-color: var(--brick); color: var(--brick); }
.game-help a { color: var(--brick); font-weight: 600; text-decoration: none; }
.game-help-status { color: var(--brick); }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-top: 22px; }
.facts > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px 16px 0; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts strong { font-size: .95rem; font-weight: 650; }


.controls-panel { padding: 26px 0 6px; }
.control-chips { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.control-chips > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; }
.control-chips kbd { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .02em; background: none; padding: 0; color: var(--ink); }
.control-chips span { font-size: 13px; line-height: 1.3; text-align: center; color: var(--muted); }
.full-controls { margin-top: 16px; border-top: 1px solid var(--line); }
.full-controls summary, details summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 0; font-size: .95rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.05rem; color: var(--brick); font-weight: 700; }
details[open] summary::after { content: "\2013"; }
.full-controls table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .92rem; }
.full-controls th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line); }
.full-controls td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.full-controls td:first-child { font-weight: 650; width: 26%; }
.reading { padding: clamp(28px, 4vw, 52px) 0 6px; }
.article { column-count: 2; column-gap: 44px; }
.article h2 { break-after: avoid; }
.article p, .article ul, .article ol, .article blockquote { break-inside: avoid; }
.article h2:first-child { margin-top: 0; }
.article p { margin: 0 0 1rem; max-width: 68ch; }
.article ul, .article ol { margin: 0 0 1.1rem; padding-left: 1.1rem; }
.article li { margin-bottom: .35rem; }
.article a { color: var(--brick); }
.article blockquote { margin: 1.4rem 0; padding: .85rem 1.1rem; border-left: 4px solid var(--brick); background: var(--cream); font-weight: 650; }
.article blockquote p { margin: 0; }
.module-label { margin: 0 0 10px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brick); font-weight: 750; }
.radar-module { margin: 24px 0 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(255 255 255 / .4); }
.radar-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.radar-card { display: flex; gap: .6rem; align-items: flex-start; }
.radar-card strong { display: block; font-size: .95rem; }
.radar-card p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.radar-mark { font-size: 1.05rem; line-height: 1.35; }
.radar-mark.gold { color: #c98b1f; }
.radar-mark.blue { color: #2f7d8c; }
.radar-mark.yellow { color: #d8a021; }
.star-meter { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .9rem; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.star-meter span { color: #c98b1f; letter-spacing: .2em; font-size: 1rem; }
.star-meter strong { font-size: .95rem; }
.star-meter em { font-style: normal; font-size: .86rem; color: var(--muted); }
.troubleshooting.shell { width: auto; padding: 44px 0 0; }
.troubleshooting h2, .below h2 { margin-bottom: .3rem; }
.help-item { border-bottom: 1px solid var(--line); }
.help-item p { margin: 0 0 14px; color: var(--muted); font-size: .94rem; max-width: 70ch; }
.below { padding: 40px 0 0; }
.below details { border-bottom: 1px solid var(--line); }
.below details p { margin: 0 0 14px; color: var(--muted); font-size: .94rem; max-width: 70ch; }
.legal { padding: clamp(28px, 4vw, 52px) 0; }
.legal h1 { margin-bottom: 18px; }
.legal .article { column-count: 1; max-width: 72ch; }
.legal .article h2 { font-size: 1.35rem; margin: 1.8rem 0 .5rem; }


@media (max-width: 880px) {
  .article { column-count: 1; }
  .radar-cards { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .shell { width: calc(100% - 40px); }
  .headline { margin: 18px 0 12px; }
  .stage { aspect-ratio: 4 / 5; min-height: 360px; }
  .cover-title { font-size: clamp(2.1rem, 11vw, 3rem); }
  .cover-copy { gap: 12px; }
  .facts { display: block; border-bottom: 0; margin-top: 18px; }
  .facts > div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .control-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .full-controls td:first-child { width: 34%; }
  .reading { padding: 26px 0 6px; }
  .radar-module { padding: 16px; }
  .footer { margin-top: 48px; }
  .footer-inner { gap: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* pass 2 after design review */
h1 { font-size: clamp(2rem, 3.6vw, 3.3rem); letter-spacing: -.045em; }
.headline { margin: 20px 0 12px; }
.cover::after { background: linear-gradient(180deg, rgb(32 44 40 / .05) 15%, rgb(16 23 20 / .5) 60%, rgb(12 18 15 / .95)); }
.cover-copy { gap: 18px; }
.cover-copy .primary { margin-top: 4px; }
.article { column-gap: 56px; }
.article p { margin: 0 0 1.15em; }
.article ol { list-style: none; counter-reset: step; padding-left: 0; }
.article ol li { counter-increment: step; position: relative; padding-left: 2.2rem; padding-top: .65rem; margin-bottom: .9rem; border-top: 1px solid var(--line); }
.article ol li::before { content: counter(step); position: absolute; left: 0; top: .7rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: 1px solid var(--brick); border-radius: 50%; color: var(--brick); font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .cover-title { font-size: clamp(1.9rem, 9.5vw, 2.6rem); }
  .cover-copy { gap: 12px; }
  .game-help { flex-direction: column; align-items: stretch; gap: .5rem; }
  .game-help a { display: block; text-align: center; padding: .6rem 0; border: 1px solid var(--line); border-radius: 999px; }
  .game-help button { min-height: 40px; }
  .control-chips { display: none; }
}


/* Ad slots */
.ad-slot{margin:44px 0;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:0}
.ad-label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.ad-body{width:300px;max-width:100%;min-height:250px;display:flex;justify-content:center}
.ad-body iframe,.ad-slot iframe{border:0;max-width:100%}
.ad-native{min-height:100px}
.ad-native #container-3ed89adb7581956f01051bf8efe33fee{width:100%;max-width:680px;min-height:100px}
@media (max-width:480px){.ad-slot{margin:32px 0}}


/* Not-found page */
.notfound{padding-top:56px;padding-bottom:80px}
.notfound .eyebrow{margin:0 0 8px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--primary)}
.notfound h1{margin-bottom:16px}
.notfound p{max-width:62ch;color:var(--muted)}
.notfound p a{color:var(--primary);font-weight:600}
.notfound nav{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:28px}
.notfound nav a{font-size:15px}
/* About + legal page links */
.legal .article a{color:var(--primary);text-decoration:underline;text-underline-offset:2px}


/* pass 3 after design review */
.ad-slot{margin:28px 0 40px}

.mast nav a{font-size:1rem;color:var(--ink);font-weight:650;text-decoration:none;padding-bottom:2px;border-bottom:1px solid transparent}
.mast nav a:hover{border-bottom-color:var(--brick)}

.article p{line-height:1.7}
.article ol li{margin-bottom:1rem}
.article ol li p:first-child{margin-bottom:.45rem}
.article ol li p strong:first-child{font-size:1.04rem;font-weight:750}

.cover-copy .primary{box-shadow:0 2px 10px rgb(0 0 0 / .28)}
.game-bar .full{margin-right:2px}

.notfound .eyebrow,.notfound p a{color:var(--brick)}
.legal .article a{color:var(--brick)}

@media (max-width:700px){
  .stage{aspect-ratio:1 / 1;min-height:340px}
  .cover-image{object-position:center 52%}
  .game-help{gap:.55rem}
  .game-help button,.game-help a{display:block;width:100%;text-align:center;background:var(--input);border:1px solid var(--line);border-radius:999px;padding:.62rem 0;min-height:44px;font-size:.95rem}
  .game-help button{font-weight:700;color:var(--ink)}
  .game-help a{color:var(--brick);font-weight:600}
}


/* pass 4 after design review */
body{font-family:"Inter",sans-serif;font-feature-settings:"cv11","ss01"}
h1,h2,h3,.cover-title,.brand span{font-family:Georgia,"Iowan Old Style","Times New Roman",serif}

.ad-body iframe{background:transparent}
.ad-slot{row-gap:6px}

.cover-copy .primary{margin-bottom:4px}

@media (max-width:700px){
  .cover-copy{padding-bottom:22px;gap:.55rem}
  .cover-title{font-size:clamp(34px,12.5vw,50px);line-height:.95}
  .game-bar{margin-top:6px}
  .facts dt{color:var(--muted)}
}


/* pass 5: keep the font pair to exactly two */
body{font-family:"Inter",sans-serif}
h1,h2,h3,.cover-title,.brand span{font-family:Georgia,"Times New Roman",serif}


/* pass 6 after 3rd design review */
.ad-slot{background:var(--cream);border:1px dashed var(--line);border-radius:12px;padding:10px}
.ad-label{color:var(--muted)}
.ad-native{min-height:110px}
.game-bar{justify-content:space-between}

.article ol li{background:var(--cream);border-left:3px solid var(--brick);border-radius:0 10px 10px 0;padding:12px 16px;margin-bottom:14px}

@media (min-width:861px){.reading{gap:64px}}

@media (max-width:480px){
  .cover-copy{padding:16px;gap:.5rem}
  .cover-title{font-size:2rem;line-height:1}
  .cover-copy .primary{display:block;width:88%;margin:14px auto 0}
  .game-help button{background:var(--ink);color:var(--cream);border-color:var(--ink)}
  .game-help a{background:transparent;border:0;text-decoration:underline;padding:.4rem 0;min-height:0}
}


/* pass 7 */
.ad-slot{margin:24px auto;max-width:760px;width:100%}
.ad-label{text-align:center;width:100%}
.reading h2{margin-top:2.4rem}
.reading > h2:first-child{margin-top:0}

@media (max-width:700px){
  .ad-slot{margin:16px 12px}
  .control-chips{grid-template-columns:1fr}
}


/* pass 8: information bar, article rhythm, cover legibility */
.facts{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:22px 0 34px}
.facts>div{padding:14px 18px 15px 0;border-right:1px solid var(--line)}
.facts>div:last-child{border-right:0}
.facts span{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:3px}
.facts strong{font-size:1rem;font-weight:650;line-height:1.3}

.reading .article>h2{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}
.reading .article>h2:first-child{margin-top:0;padding-top:0;border-top:0}
.article p{max-width:68ch;line-height:1.75}
.article p+p{margin-top:.4rem}
.article ul{margin:0 0 1rem;padding-left:1.15rem}
.article ul li{margin-bottom:.45rem;line-height:1.65}
.article blockquote{margin:1.6rem 0;padding:14px 18px;background:var(--cream);border-left:3px solid var(--brick);border-radius:0 10px 10px 0}
.article blockquote p{margin:0;font-size:.98rem}

.cover-copy p,.cover-copy .cover-title{text-shadow:0 2px 14px rgb(20 15 12 / .45)}

@media (max-width:700px){
  .facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  .facts>div{padding:12px 12px 12px 0}
  .facts>div:nth-child(2n){border-right:0;padding-left:14px}
  .facts>div:nth-child(n+3){border-top:1px solid var(--line)}
  .reading .article>h2{margin-top:2.2rem;padding-top:1.4rem}
}
