@import url('./fonts.css');

:root {
  --paper:#f5f4ec; --ink:#183c34; --muted:#677b70; --line:#d6ddd1;
  --acid:#ddec91; --mint:#b8ddc8; --orange:#f58a64; --cream:#fffef8;
  --font:'DM Sans',Arial,sans-serif; --display:'Space Grotesk',Arial,sans-serif;
}
* { box-sizing:border-box; }
html { scrollbar-gutter:stable; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--font); font-size:16px; -webkit-font-smoothing:antialiased; }
button,input,textarea { font:inherit; }
button { cursor:pointer; -webkit-tap-highlight-color:transparent; color:inherit; }
button:disabled { cursor:default; }
button,a { -webkit-touch-callout:none; touch-action:manipulation; }
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible { outline:3px solid #d6673e; outline-offset:4px; }
a { color:inherit; } svg { display:block; }
::selection { background:var(--acid); color:var(--ink); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* The whole page is the table: one object, six choices, one decision. */
.site-header { max-width:1352px; margin:auto; padding:25px 32px 20px; display:flex; align-items:center; justify-content:space-between; }
.wordmark { font-family:var(--display); font-size:37px; font-weight:700; letter-spacing:-2.5px; text-decoration:none; line-height:1; white-space:nowrap; }
.wordmark i { font-family:Georgia,serif; font-weight:400; letter-spacing:-2.5px; }
.mark-plus { display:inline-flex; align-items:center; justify-content:center; width:27px; height:27px; background:var(--orange); border-radius:50%; font:500 25px/1 var(--font); font-style:normal; letter-spacing:0; vertical-align:4px; margin-left:5px; transform:rotate(-8deg); }
.header-right { display:flex; align-items:center; gap:15px; }
.edition { font:500 13px var(--display); text-transform:uppercase; letter-spacing:1px; margin-right:7px; }
.icon-button { width:40px; height:40px; display:grid; place-items:center; border:1px solid #cdd5c8; border-radius:50%; background:transparent; transition:background .18s,transform .18s; }
.icon-button:hover { background:#e9eddf; transform:translateY(-1px); }
.icon-button svg { width:18px; height:18px; }
.mode-strip { max-width:1352px; margin:0 auto 4px; padding:0 32px 12px; display:flex; align-items:center; gap:18px; border-bottom:1px solid var(--line); }
.mode-switch { display:inline-flex; flex:0 0 auto; gap:3px; padding:4px; border:1px solid #cbd5c6; border-radius:12px; background:#e7ece1; }
.mode-switch a { min-width:94px; min-height:40px; display:flex; justify-content:center; align-items:center; padding:8px 20px; border:1px solid transparent; border-radius:8px; text-decoration:none; font:600 15px/1.2 var(--display); color:#53685d; }
.mode-switch a:hover { background:#f6f7ef; color:var(--ink); }
.mode-switch a[aria-current="page"] { background:var(--ink); color:var(--cream); border-color:var(--ink); box-shadow:0 2px 3px #173b2914; }
.mode-caption { margin:0; font:400 14px/1.4 var(--font); color:#53685d; }
.main { max-width:1352px; margin:0 auto; padding:17px 32px 15px; }
.topline { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.eyebrow { font:600 12px var(--display); letter-spacing:1.6px; text-transform:uppercase; color:var(--muted); }
.round-title { font:600 clamp(32px,3.45vw,49px)/1.1 var(--display); letter-spacing:-2.2px; margin:8px 0 0; outline:none; }
.round-title em { font-family:Georgia,serif; font-weight:400; }
.progress-block { align-self:center; }
.steps { display:flex; align-items:center; gap:18px; }
.step { display:flex; align-items:center; gap:7px; color:#6d7e70; font:500 13px var(--display); }
.step-dot { width:30px; height:30px; display:grid; place-items:center; border:1px solid #ccd5c7; border-radius:50%; font:600 12px var(--display); }
.step.current { color:var(--ink); }
.step.current .step-dot { background:var(--ink); border-color:var(--ink); color:var(--acid); box-shadow:0 0 0 4px #e6ebdb; }
.step.done .step-dot { background:var(--acid); border-color:#cbd789; color:var(--ink); }
.bank-total { font:400 13px var(--display); color:var(--muted); text-align:right; margin-top:12px; }
.bank-total strong { color:var(--ink); font-weight:600; }
.play-layout { display:grid; grid-template-columns:1.12fr 1fr; gap:26px; align-items:stretch; }

/* Physical stage. Decorative machinery lives in scenes.css. */
.stage { position:relative; background:#153b32; color:var(--cream); border:1px solid #0d3028; border-radius:20px; overflow:hidden; min-height:526px; padding:27px 27px 21px; display:flex; flex-direction:column; isolation:isolate; box-shadow:0 5px 0 #d4dbca; }
.stage::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 50% 70%,#38665345,transparent 72%); }
.stage--height { background:#234c43; }
.stage--music { background:#203b36; }
.stage-top { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; position:relative; z-index:2; }
.stage .eyebrow { color:#bfd1b9; font-size:12px; }
.limit-number { font:500 63px/1 var(--display); letter-spacing:-3.7px; margin-top:8px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.limit-number span { font:400 25px var(--display); letter-spacing:-1px; margin-left:5px; color:#c3d4bb; }
.limit-label { font:400 14px var(--font); color:#bdd0bc; margin-top:7px; }
.stage-score { padding:4px 0 0 21px; border-left:1px solid #557564; text-align:right; min-width:111px; }
.stage-score>span,.stage-score small { display:block; font:500 10px/1.3 var(--display); letter-spacing:1.3px; color:#c4d2b8; }
.stage-score strong { display:block; font:600 49px/1.16 var(--display); color:var(--acid); letter-spacing:-2.4px; font-variant-numeric:tabular-nums; }
.stage-score small { font-size:9px; letter-spacing:.9px; }
.scene-area { position:relative; flex:1; min-height:270px; display:flex; align-items:center; justify-content:center; margin:1px -18px 0; }
.stage-bottom { position:relative; z-index:3; display:flex; align-items:center; gap:12px; margin-top:6px; border-top:1px solid #6b89604d; padding-top:16px; min-height:69px; }
.status-symbol { width:33px; height:33px; flex:0 0 33px; display:grid; place-items:center; border:1px solid #81987a; border-radius:50%; color:var(--acid); font:400 23px/1 Georgia,serif; }
.round-message { font:500 18px/1.24 var(--display); letter-spacing:-.4px; }
.round-message small { display:block; font:400 13px/1.45 var(--font); letter-spacing:0; color:#c2d2bc; margin-top:5px; }
.outcome-tab { margin-left:auto; writing-mode:vertical-rl; font:600 10px var(--display); letter-spacing:1.6px; color:var(--acid); }
.stage.bust .limit-number,.stage.bust .stage-score strong,.stage.bust .outcome-tab { color:var(--orange); }
.stage.bust .status-symbol { background:var(--orange); border-color:var(--orange); color:var(--ink); }
.stage.perfect .status-symbol,.stage.banked .status-symbol { background:var(--acid); border-color:var(--acid); color:var(--ink); }

/* Six aligned choices keep the titles and revealed values easy to scan. */
.choices-panel { display:flex; flex-direction:column; min-width:0; }
.shelf-label { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:0 0 12px; }
.shelf-title { font:600 16px/1.35 var(--display); letter-spacing:-.3px; }
.shelf-label>span:last-child { font:400 14px/1.4 var(--font); color:#53685d; text-align:right; }
.choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr; gap:12px; flex:1; }
.choice { position:relative; display:grid; grid-template-columns:68px minmax(0,1fr); align-items:stretch; border:1px solid #c3d0c2; border-radius:12px; background:var(--cream); color:var(--ink); padding:0; overflow:hidden; text-align:left; transition:transform .18s,box-shadow .18s,border-color .18s,background .18s; min-width:0; min-height:132px; box-shadow:0 2px 0 #1c3c2d08; }
.choice:not(:disabled):hover { transform:translateY(-2px); border-color:#6a876d; box-shadow:0 4px 12px #183c3410; }
.choice:not(:disabled):active { transform:translateY(1px); box-shadow:none; }
.choice:disabled { opacity:1; color:var(--ink); -webkit-text-fill-color:currentColor; }
.choice.selected { border-color:#6f9067; background:#e8efdf; box-shadow:inset 0 0 0 1px #6f906733; }
.choice.pending { animation:card-press .28s ease-out both; border-color:var(--ink); background:#edf2db; }
.choice-art { display:flex; align-items:center; justify-content:center; position:relative; padding:13px 5px; background:color-mix(in srgb,var(--tile) 10%,var(--cream)); border-right:1px solid #183c340c; overflow:hidden; }
.choice-art>.object-scene { height:82px; align-self:center; }
.choice.selected .choice-art { background:color-mix(in srgb,var(--tile) 13%,#e8efdf); }
.choice-copy { min-width:0; padding:14px 13px 12px; display:flex; flex-direction:column; }
.choice-name { display:block; font:600 16px/1.25 var(--display); letter-spacing:-.3px; overflow-wrap:anywhere; }
.choice-detail { display:block; font:400 14px/1.35 var(--font); color:#52665b; margin-top:5px; overflow-wrap:anywhere; }
.choice-footer { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:auto; padding-top:10px; min-height:32px; }
.choice-value { display:block; font:500 14px/1.3 var(--display); color:#53685d; font-variant-numeric:tabular-nums; }
.choice-value.visible { font-weight:600; color:var(--ink); }
.choice-badge { flex:0 0 22px; width:22px; height:22px; border:1px solid #c4d0bd; border-radius:50%; display:grid; place-items:center; font:500 16px/1 var(--display); background:#f8faf2; color:var(--ink); }
.choice-badge:empty { display:none; }
.choice.selected .choice-badge { background:var(--ink); border-color:var(--ink); color:var(--acid); }
.choice.is-over { border-color:#c78565; background:#f8e2d1; box-shadow:inset 0 0 0 1px #c7856529; }
.choice.is-over .choice-badge { background:var(--orange); border-color:var(--orange); color:var(--ink); }
.choice.is-over .choice-art { background:#f0d2bc; }
.action-zone { margin-top:16px; display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:62px; }
.action-copy { font:400 14px/1.4 var(--font); color:var(--muted); }
.action-copy strong { display:block; color:var(--ink); font-weight:500; }
.action-copy span { display:block; font-size:13px; margin-top:3px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:0; min-height:52px; border:1px solid var(--ink); border-radius:9px; background:var(--ink); color:var(--cream); padding:13px 23px; font:600 15px var(--display); letter-spacing:-.3px; white-space:nowrap; box-shadow:0 4px 0 #0a2b22; transition:transform .15s,box-shadow .15s,background .15s; text-decoration:none; }
.button:not(:disabled):hover { background:#2b5143; transform:translateY(-2px); box-shadow:0 6px 0 #0a2b22; }
.button:not(:disabled):active { transform:translateY(3px); box-shadow:0 1px 0 #0a2b22; }
.bank-button { min-width:162px; background:var(--acid); border-color:#a6b867; color:var(--ink); box-shadow:0 4px 0 #aebd74; }
.bank-button:not(:disabled):hover { background:#e5f3a6; box-shadow:0 6px 0 #aebd74; }
.bank-button:not(:disabled):active { box-shadow:0 1px 0 #aebd74; }
.button .score-chip { display:inline-block; min-width:39px; margin-left:17px; padding-left:16px; border-left:1px solid #a6b867; font:600 24px/1 var(--display); letter-spacing:-1px; }
.button:disabled { background:#e1e6d8; color:#71816b; border-color:#d0d9c5; box-shadow:0 3px 0 #ccd6bf; }
.button:disabled .score-chip { color:#71816b; border-color:#b7c4aa; }
.button.secondary { background:transparent; border-color:#c0cbb7; box-shadow:none; color:var(--ink); }
.button.secondary:hover { background:#e9eddf; box-shadow:none; }
.next-button { min-width:162px; }
.rules-line { margin-top:20px; display:flex; align-items:center; justify-content:space-between; color:var(--muted); font:400 13px/1.5 var(--font); gap:20px; }
.rules-line strong { color:var(--ink); font-weight:500; }
.text-button { border:0; background:transparent; font:500 13px var(--font); color:var(--muted); padding:7px 0; text-decoration:underline; text-decoration-color:#b5c3ac; text-underline-offset:4px; }
.text-button:hover { color:var(--ink); text-decoration-color:var(--ink); }
.below-stage { margin-top:12px; }
.best-fit { padding:18px 20px; border:1px solid #c8d4b9; border-radius:10px; background:#eaf0de; font:400 15px/1.6 var(--font); }
.best-fit strong { font-family:var(--display); font-weight:600; }
.best-fit p { margin:5px 0 0; }
.best-fit .eyebrow { margin-bottom:4px; }
.site-footer { max-width:1288px; margin:5px auto 0; padding:18px 0 25px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:12px; color:#73836d; font:500 11px var(--display); letter-spacing:1.3px; }
.footer-links { display:flex; gap:22px; align-items:center; }
.footer-links .text-button { letter-spacing:0; }
.challenge-banner { padding:13px 18px; background:var(--acid); border:1px solid #c8d88a; margin-bottom:20px; border-radius:10px; font:500 14px/1.5 var(--font); display:flex; justify-content:space-between; gap:15px; }
.challenge-banner span { font-weight:400; }
.loading-error { max-width:540px; margin:10vh auto; padding:30px; }

/* The finished objects form a small collection, with one score to share. */
.results { max-width:1120px; margin:auto; padding:25px 32px 20px; }
.results-top { text-align:center; margin-bottom:27px; }
.results-top h1 { font:500 52px/1.1 var(--display); letter-spacing:-2.5px; margin:12px 0 5px; outline:none; }
.results-top h1 em { font-family:Georgia,serif; font-weight:400; }
.result-total { display:flex; justify-content:center; align-items:center; gap:28px; margin:22px auto 9px; }
.big-score { font:600 125px/.92 var(--display); letter-spacing:-9px; font-variant-numeric:tabular-nums; }
.score-aside { text-align:left; color:var(--muted); font:400 13px/1.6 var(--font); border-left:1px solid #b9c8ac; padding-left:23px; }
.score-aside b { color:var(--ink); font:600 14px var(--display); letter-spacing:.7px; }
.result-deck { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; margin:30px 0 27px; }
.result-card { background:var(--ink); color:var(--cream); border-radius:17px; padding:20px 19px; position:relative; overflow:hidden; box-shadow:0 4px 0 #d0d9c5; }
.result-card .eyebrow { color:#b9ceb0; font-size:11px; letter-spacing:1.2px; }
.result-card h2 { font:500 22px var(--display); letter-spacing:-.7px; margin:7px 0; }
.result-world { height:150px; display:flex; align-items:center; justify-content:center; margin:0 -14px 9px; pointer-events:none; }
.result-world .world-scene { width:100%; }
.result-world svg { max-height:150px; }
.round-result-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid #56714d; padding-top:14px; }
.round-result-score { font:600 42px/1 var(--display); letter-spacing:-2px; color:var(--acid); }
.result-card.bust .round-result-score { color:var(--orange); }
.round-result-caption { font:400 13px/1.5 var(--font); color:#c5d5ba; text-align:right; }
.chosen-caption { font:400 12px/1.55 var(--font); color:#bbceaf; margin:13px 0 0; min-height:38px; }
.results-actions { display:flex; justify-content:center; gap:13px; margin:24px 0 9px; flex-wrap:wrap; }
.results-note { text-align:center; font:400 14px/1.6 var(--font); color:var(--muted); margin:15px 0 24px; }
.score-comparison { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; border:1px solid #bfceb4; border-radius:12px; padding:20px; margin:21px auto; max-width:530px; background:#e6edda; text-align:center; }
.score-comparison strong { font:600 37px var(--display); display:block; letter-spacing:-1px; }
.score-comparison span { font:400 14px var(--font); }
.comparison-middle { font:600 12px var(--display); padding:0 18px; color:var(--muted); letter-spacing:.8px; }
.results-details { margin-top:34px; border-top:1px solid var(--line); padding-top:24px; }
.results-details>summary { cursor:pointer; font:500 17px var(--display); }
.review-round { padding:23px 0; border-bottom:1px solid var(--line); }
.review-round h3 { font:600 22px var(--display); margin:0 0 10px; }
.review-round p { font-size:16px; line-height:1.55; margin:8px 0; }
.review-round .source-list { display:grid; grid-template-columns:1fr 1fr; gap:0 25px; }
.archive-chooser { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin:20px 0; }

/* Supporting information stays out of the playing surface. */
dialog { border:1px solid #b6c5aa; border-radius:18px; padding:30px; max-width:540px; width:calc(100% - 32px); background:var(--paper); color:var(--ink); box-shadow:0 25px 100px #061b2166; }
dialog::backdrop { background:#102d26b0; backdrop-filter:blur(5px); }
.dialog-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:17px; }
.dialog-head h2 { font:600 29px var(--display); letter-spacing:-1px; margin:0; }
dialog p,dialog li { font-size:16px; line-height:1.6; }
dialog li { margin:8px 0; }
dialog ol { padding-left:22px; }
dialog .button { width:100%; margin-top:12px; }
dialog .source-list { max-height:55vh; overflow:auto; }
.help-sample { background:var(--ink); padding:19px; color:var(--paper); border-radius:10px; font:400 15px/1.6 var(--font); margin:20px 0; }
.help-sample strong { color:var(--acid); }
.source-list { list-style:none; padding:0; margin:15px 0 0; }
.source-list li { padding:12px 0; border-top:1px solid var(--line); font-size:15px; }
.source-list a { font-weight:600; }
.source-list small { display:block; color:var(--muted); margin-top:5px; font-size:13px; line-height:1.5; }
.world-links { display:grid; gap:10px; margin-top:23px; }
.world-links a { display:flex; flex-direction:column; padding:18px; background:#e5edda; border:1px solid #c5d4b4; border-radius:10px; text-decoration:none; }
.world-links a:hover { background:var(--acid); }
.world-links b { font:600 21px var(--display); margin-bottom:5px; }
.world-links span { font-size:14px; color:var(--muted); }
#toast { position:fixed; bottom:25px; left:50%; transform:translate(-50%,20px); max-width:calc(100vw - 32px); padding:13px 20px; background:var(--ink); color:var(--acid); box-shadow:0 6px 30px #183c3430; font:500 14px var(--font); border:1px solid #a6bd80; border-radius:10px; opacity:0; pointer-events:none; transition:opacity .2s,transform .2s; z-index:30; text-align:center; }
#toast.visible { opacity:1; transform:translate(-50%,0); }
.manual-copy { width:100%; height:150px; font:13px/1.6 monospace; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--cream); color:var(--ink); }

@keyframes card-press { 0%{transform:scale(1)} 45%{transform:scale(.98)} 100%{transform:scale(.99)} }

@media(min-width:1550px) {
 .main { padding-top:28px; } .stage { min-height:560px; }
}
@media(max-width:1351px) {
 .site-footer { margin-left:32px; margin-right:32px; }
}
@media(max-width:1090px) {
 .site-header { padding-left:24px; padding-right:24px; } .main { padding:15px 24px; }
 .mode-strip { padding-left:24px; padding-right:24px; }
 .play-layout { gap:18px; grid-template-columns:1.05fr 1fr; } .stage { padding:23px 22px 20px; }
 .steps { gap:10px; } .step>span:last-child { display:none; }
 .choice { grid-template-columns:1fr; min-height:132px; border-left:3px solid color-mix(in srgb,var(--tile) 65%,#718b70); }
 .choice-art { display:none; } .choice-copy { padding:12px 13px 11px; }
 .limit-number { font-size:55px; } .stage-score { min-width:97px; padding-left:14px; }
 .stage-score strong { font-size:44px; } .stage-score>span { font-size:9px; } .stage-score small { font-size:8px; }
 .button { padding:13px 18px; } .bank-button,.next-button { min-width:145px; } .action-copy { font-size:13px; } .action-copy span { font-size:12px; }
 .scene-area { min-height:250px; } .stage { min-height:510px; } .round-message { font-size:17px; }
 .site-footer { margin-left:24px; margin-right:24px; }
}
@media(max-width:800px) and (min-width:661px) {
 .main { padding-left:20px; padding-right:20px; } .play-layout { gap:16px; grid-template-columns:1fr 1fr; }
 .choices { gap:8px; } .choice-copy { padding:11px 10px; } .choice-name { font-size:15px; }
 .stage { padding:21px 19px; min-height:603px; } .stage-top { flex-wrap:wrap; gap:16px; } .stage-score { padding-top:0; }
 .limit-number { font-size:47px; } .limit-label { font-size:13px; } .stage-score strong { font-size:38px; }
 .scene-area { min-height:270px; } .round-message small { font-size:12px; }
 .action-copy { font-size:12px; } .action-copy span { font-size:11px; } .bank-button,.next-button { min-width:128px; } .button { padding:12px 14px; font-size:14px; }
 .button .score-chip { margin-left:12px; padding-left:11px; font-size:21px; }
}
@media(max-width:660px) {
 .site-header { padding:17px 17px 13px; } .wordmark { font-size:30px; letter-spacing:-2px; } .wordmark i { letter-spacing:-2px; }
 .mark-plus { width:22px; height:22px; font-size:21px; vertical-align:3px; margin-left:3px; }
 .header-right { gap:9px; } .edition { font-size:11px; letter-spacing:.6px; margin-right:3px; } .desktop-date { display:none; }
 .icon-button { width:34px; height:34px; } .icon-button svg { width:16px; height:16px; }
 .mode-strip { padding:0 16px 10px; margin-bottom:0; gap:12px; }
 .mode-switch { padding:3px; gap:2px; border-radius:10px; }
 .mode-switch a { min-width:72px; min-height:36px; padding:7px 13px; font-size:14px; border-radius:7px; }
 .mode-caption { font-size:13px; line-height:1.35; max-width:150px; }
 .main { padding:12px 16px 12px; } .topline { margin-bottom:17px; gap:10px; align-items:center; }
 .round-title { font-size:30px; letter-spacing:-1.5px; margin-top:6px; } .eyebrow { font-size:10px; letter-spacing:1.2px; }
 .steps { gap:7px; } .step-dot { width:25px; height:25px; font-size:10px; } .step.current .step-dot { box-shadow:0 0 0 3px #e6ebdb; }
 .bank-total { font-size:11px; margin-top:8px; } .play-layout { grid-template-columns:1fr; gap:19px; }
 .stage { min-height:288px; padding:18px 18px 16px; border-radius:17px; box-shadow:0 4px 0 #d4dbca; }
 .stage .eyebrow { font-size:10px; letter-spacing:1px; } .stage-top { gap:14px; }
 .limit-number { font-size:41px; letter-spacing:-2.5px; margin-top:5px; } .limit-number span { font-size:20px; }
 .limit-label { font-size:12px; margin-top:4px; }
 .stage-score { padding:2px 0 0 15px; min-width:94px; } .stage-score strong { font-size:36px; letter-spacing:-1.5px; }
 .stage-score>span { font-size:8px; letter-spacing:.8px; } .stage-score small { font-size:8px; letter-spacing:.6px; }
 .scene-area { min-height:156px; margin:0 -10px; }
 .stage-bottom { min-height:52px; padding-top:11px; margin-top:4px; gap:9px; }
 .status-symbol { height:28px; width:28px; flex-basis:28px; font-size:20px; }
 .round-message { font-size:15px; letter-spacing:-.3px; } .round-message small { font-size:12px; line-height:1.4; margin-top:4px; }
 .outcome-tab { font-size:8px; letter-spacing:1.2px; }
 .shelf-label { margin-bottom:10px; } .shelf-title { font-size:15px; } .shelf-label>span:last-child { font-size:13px; }
 .choices { gap:9px; }
 .choice { border-radius:10px; min-height:104px; }
 .choice-copy { padding:10px 11px 9px; }
 .choice-name { font-size:15px; line-height:1.22; letter-spacing:-.2px; }
 .choice-detail { font-size:14px; line-height:1.3; margin-top:4px; }
 .choice-footer { padding-top:7px; min-height:27px; }
 .choice-value { font-size:14px; }
 .choice-badge { flex-basis:20px; width:20px; height:20px; font-size:15px; }
 .action-zone { position:sticky; bottom:12px; z-index:8; background:#f5f4ecf5; border:1px solid #d1dbc5; border-radius:13px; backdrop-filter:blur(12px); box-shadow:0 5px 24px #183c3412; padding:11px 12px; margin-top:14px; min-height:72px; }
 .action-copy { font-size:13px; } .action-copy span { font-size:12px; margin-top:3px; }
 .button { min-height:47px; padding:11px 15px; font-size:14px; border-radius:8px; } .bank-button,.next-button { min-width:132px; }
 .button .score-chip { font-size:23px; min-width:34px; margin-left:12px; padding-left:12px; }
 .rules-line { font-size:12px; line-height:1.5; margin-top:14px; align-items:flex-start; gap:13px; } .rules-line strong { display:block; }
 .rules-line .text-button { font-size:12px; flex:0 0 auto; padding-top:0; }
 .below-stage { margin-top:8px; } .best-fit { padding:15px; font-size:14px; }
 .site-footer { margin:5px 16px 0; padding:16px 0 25px; gap:10px; align-items:flex-start; }
 .site-footer>span:first-child { display:none; } .footer-links { width:100%; justify-content:space-between; gap:12px; }
 .footer-links .text-button { font-size:12px; }
 .challenge-banner { flex-direction:column; gap:3px; font-size:13px; padding:12px 14px; margin-bottom:15px; }
 .results { padding:20px 16px; } .results-top h1 { font-size:36px; letter-spacing:-1.8px; } .results-top .eyebrow { font-size:11px; }
 .result-total { gap:18px; margin-top:23px; } .big-score { font-size:96px; letter-spacing:-6px; } .score-aside { font-size:11px; padding-left:15px; } .score-aside b { font-size:12px; }
 .result-deck { grid-template-columns:1fr; gap:12px; margin:25px 0; }
 .result-card { display:grid; grid-template-columns:1fr 1fr; gap:0 10px; padding:17px; border-radius:14px; }
 .result-card .eyebrow { grid-column:1; grid-row:1; font-size:10px; } .result-card h2 { grid-column:1; grid-row:2; font-size:20px; margin:5px 0 8px; }
 .result-world { grid-column:2; grid-row:1 / span 3; margin:-8px -13px 0 -15px; height:120px; align-self:center; }
 .result-world svg { max-height:120px; }
 .round-result-bottom { grid-column:1; grid-row:3; padding-top:7px; justify-content:flex-start; gap:14px; border-top:0; }
 .round-result-score { font-size:35px; } .round-result-caption { font-size:12px; text-align:left; }
 .chosen-caption { grid-column:1 / -1; font-size:12px; min-height:0; margin-top:11px; }
 .results-actions { gap:10px; } .results-actions .button { font-size:13px; padding:12px 15px; }
 .results-note { font-size:13px; margin-top:16px; }
 .review-round .source-list { grid-template-columns:1fr; } .review-round p { font-size:15px; } .source-list li { font-size:14px; }
 .score-comparison { padding:16px; } .score-comparison strong { font-size:32px; } .comparison-middle { font-size:11px; padding:0 10px; }
 dialog { padding:23px; border-radius:15px; } .dialog-head h2 { font-size:25px; }
 #toast { bottom:22px; font-size:13px; }
}
@media(max-width:370px) {
 .site-header { padding-left:13px; padding-right:13px; } .main { padding-left:12px; padding-right:12px; }
 .mode-strip { padding-left:12px; padding-right:12px; gap:10px; }
 .mode-switch a { min-width:68px; padding-left:10px; padding-right:10px; }
 .round-title { font-size:27px; } .header-right { gap:7px; } .edition { font-size:10px; }
 .steps { gap:6px; } .step-dot { width:23px; height:23px; }
 .stage { padding:16px; } .limit-number { font-size:37px; } .scene-area { min-height:144px; }
 .choice-copy { padding-left:9px; padding-right:9px; } .choice-name { font-size:14px; }
 .action-zone { padding:10px; } .action-copy { font-size:12px; } .action-copy span { font-size:11px; } .bank-button,.next-button { min-width:121px; }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
@media(max-width:660px){
  .stage{padding-top:15px;padding-bottom:14px;min-height:270px}
  .limit-number{font-size:37px}
  .stage-score strong{font-size:33px}
  .scene-area{flex:0 0 125px;min-height:125px;height:125px}
  .stage .scene-area .scene-svg{height:125px;width:100%}
  .stage-bottom{padding-top:9px;margin-top:2px;min-height:46px}
  .round-message{font-size:14px}
  .round-message small{font-size:12px;margin-top:3px}
  .stage .limit-label,.stage-bottom .round-message small{display:none}
  .stage{padding-top:13px;padding-bottom:12px;min-height:251px}
  .stage-bottom{min-height:38px;padding-top:8px}
}

/* The last answer stays readable until the player chooses again. */
.stage .stage-score strong { font-size:38px; letter-spacing:-1.6px; }
.stage .stage-score>span,.stage .stage-score small { font-size:12px; letter-spacing:.35px; line-height:1.4; }
.stage .stage-bottom { min-height:125px; }
.stage-bottom.has-receipt { display:block; }
.pick-receipt { width:100%; min-width:0; }
.receipt-heading { display:flex; align-items:baseline; justify-content:space-between; gap:17px; }
.receipt-name { min-width:0; font:600 17px/1.35 var(--display); letter-spacing:-.3px; overflow-wrap:anywhere; }
.receipt-value { flex:0 0 auto; font:500 31px/1.2 var(--display); letter-spacing:-1.1px; color:var(--cream); white-space:nowrap; font-variant-numeric:tabular-nums; }
.receipt-fit { margin:7px 0 0; font:400 14px/1.55 var(--font); color:#cedcc7; }
.receipt-fit strong { color:var(--cream); font-weight:600; }
.receipt-fit>span { display:block; }
.receipt-meta { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:1px; }
.receipt-meta>span { font:400 14px/1.4 var(--font); color:#c0d3b9; min-width:0; overflow-wrap:anywhere; }
.receipt-source.text-button { flex:0 0 auto; color:#e2eacb; text-decoration-color:#849b75; min-height:36px; padding:6px 2px; font-size:14px; }
.receipt-source.text-button:hover { color:#fffef8; text-decoration-color:currentColor; }
.pick-receipt.bust .receipt-value,.pick-receipt.bust .receipt-fit strong { color:#ffb397; }
.stage.perfect { border-color:#b7cb79; }
.pick-receipt.perfect .receipt-value,.pick-receipt.perfect .receipt-fit strong { color:var(--acid); }
.stage.phase-reveal.perfect .receipt-fit strong { animation:exact-receipt .45s ease-out; }
.picked-source-value { font:500 36px/1.2 var(--display); margin:12px 0; letter-spacing:-1px; }

/* One physical action carries the reveal; surrounding controls stay still. */
.stage .world-scene.scene-anticipate .projector-beam { animation:none; opacity:.55; }
.stage .world-scene.scene-reveal .film-screen-art { animation:none; }
.stage .world-scene .scene-impact-lines { display:none; }
.stage .world-scene.scene-reveal.scene-perfect .scene-svg { animation:none; }
.results .result-deck .result-card { animation:none; }
.round-insight { border-top:1px solid #56714d; padding-top:13px; margin-top:13px; }
.round-insight>strong { display:block; font:500 16px/1.4 var(--display); color:var(--cream); overflow-wrap:anywhere; }
.round-insight>p { font:400 14px/1.55 var(--font); color:#cadac0; margin:7px 0 0; overflow-wrap:anywhere; }
.round-insight:empty { display:none; }
.chosen-caption { font-size:13px; }
@keyframes exact-receipt { from { opacity:.5; } to { opacity:1; } }
@media(max-width:660px) {
 .stage .stage-score strong { font-size:30px; letter-spacing:-1px; }
 .stage .stage-score { min-width:104px; padding-left:13px; }
 .stage .stage-score>span,.stage .stage-score small { font-size:11px; letter-spacing:.1px; }
 .stage .scene-area { flex-basis:110px; min-height:110px; height:110px; }
 .stage .scene-area .scene-svg { height:110px; }
 .stage .stage-bottom { min-height:120px; padding-top:10px; }
 .stage .stage-bottom .round-message small { display:block; font-size:14px; line-height:1.4; }
 .receipt-heading { gap:11px; }
 .receipt-name { font-size:16px; }
 .receipt-value { font-size:27px; letter-spacing:-.8px; }
 .receipt-fit { font-size:14px; line-height:1.45; margin-top:5px; }
 .receipt-meta { gap:12px; }
 .receipt-source.text-button { min-height:44px; }
 .round-insight { grid-column:1 / -1; grid-row:4; margin-top:13px; padding-top:12px; }
 .chosen-caption { grid-row:5; }
 .round-insight>strong { font-size:16px; }
 .round-insight>p { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) {
 .stage.phase-reveal.perfect .receipt-fit strong { animation:none; }
}

/* The measurement is part of the choice, with no extra panel to open. */
.choices-panel .shelf-label { margin-bottom:5px; }
.measurement-caption { margin:0 0 12px; color:#53685d; font:400 14px/1.45 var(--font); }
.choices-panel .shelf-label>span:last-child,
.choices-panel .action-copy,.choices-panel .action-copy span,
.main .rules-line,.main .rules-line .text-button,
.stage .stage-score>span,.stage .stage-score small,
.stage .eyebrow { font-size:14px; }
.stage .stage-score>span,.stage .stage-score small { letter-spacing:0; }

/* Ottrillion gives every round the same little carrier and a legible load. */
.wordmark.ottrillion-wordmark { display:inline-flex; align-items:center; gap:10px; letter-spacing:-1.8px; }
.wordmark.ottrillion-wordmark>svg { width:43px; height:43px; flex:0 0 auto; }
.footer-brand { display:flex; align-items:baseline; gap:12px; font:600 19px var(--display); letter-spacing:-.7px; }
.footer-brand>span { font:400 13px var(--font); color:var(--muted); letter-spacing:0; }
.game-hook { margin:10px 0 0; max-width:540px; color:#53685d; font:400 15px/1.5 var(--font); }
.main .topline { align-items:center; }
.round-intro { min-width:0; }
.round-intro>.eyebrow { font-size:14px; letter-spacing:.8px; }
.main .run-ledger { flex:0 0 auto; }
.main .run-slot svg { width:35px; height:32px; }
.main .run-slot small { font-size:12px; }
.main .run-ledger .bank-total span { font-size:14px; }
.armful-stage .scene-area { min-height:265px; flex:1 0 265px; margin:0 -14px; }
.armful-stage .scene-area>div { width:100%; }
.armful-stage .scene-area svg { width:100%; height:auto; max-height:330px; }
.armful-stage .limit-label { display:block; font-size:14px; }
.armful-stage .stage-bottom { min-height:118px; }
.armful-stage .round-message { font-size:17px; line-height:1.35; }
.armful-stage .round-message small { font-size:14px; }
.finish-creature { width:min(100%,490px); margin:12px auto 0; }
.finish-creature>svg { width:100%; max-height:176px; }
.results .result-total { margin-top:8px; }
.results .score-aside,.results .round-result-caption,.results .chosen-caption { font-size:14px; }
.results .result-card .eyebrow { font-size:14px; }
.results .result-card { display:block; }
.results .result-card h2 { padding-right:33px; }
.result-parcel { position:absolute; right:15px; top:17px; width:35px; }
.result-parcel svg { width:35px; height:35px; }
.results .result-card .round-result-bottom { display:flex; justify-content:space-between; border-top:1px solid #56714d; padding-top:13px; margin-top:15px; }
.results .result-card .round-result-caption { text-align:right; }
@media(max-width:1090px) {
 .game-hook { max-width:440px; }
 .armful-stage .stage-top { flex-wrap:nowrap; }
 .armful-stage .stage-score { min-width:114px; }
 .armful-stage .limit-number { font-size:clamp(35px,4.8vw,53px); letter-spacing:-2px; }
}
@media(max-width:800px) and (min-width:661px) {
 .armful-stage .stage-top { flex-wrap:wrap; gap:14px; }
 .armful-stage .stage-score { padding-left:14px; margin-left:auto; }
 .armful-stage .scene-area { min-height:220px; flex-basis:220px; }
}
@media(max-width:660px) {
 .wordmark.ottrillion-wordmark { gap:7px; font-size:31px; letter-spacing:-1.5px; }
 .wordmark.ottrillion-wordmark>svg { width:33px; height:33px; }
 .main .topline { align-items:flex-start; gap:15px; margin-bottom:18px; }
 .round-intro>.eyebrow { font-size:13px; letter-spacing:.35px; line-height:1.5; }
 .round-title { font-size:31px; line-height:1.1; }
 .game-hook { font-size:14px; margin-top:8px; }
 .main .run-ledger { gap:7px; padding-top:4px; }
 .main .run-slots { gap:4px; }
 .main .run-slot { width:33px; min-height:46px; }
 .main .run-slot svg { width:24px; height:23px; }
 .main .run-slot>span { font-size:14px; }
 .main .run-ledger .bank-total { flex-direction:column; align-items:center; gap:1px; }
 .main .run-ledger .bank-total span { font-size:14px; white-space:nowrap; }
 .main .run-kept { font-size:24px; }
 .stage.armful-stage { min-height:390px; padding:18px 16px 13px; }
 .stage.armful-stage .stage-top { gap:12px; flex-wrap:nowrap; }
 .stage.armful-stage .stage-score { min-width:117px; padding-left:12px; }
 .stage.armful-stage .stage-score>span,.stage.armful-stage .stage-score small { font-size:14px; }
 .stage.armful-stage .limit-number { font-size:37px; }
 .stage.armful-stage .scene-area { min-height:190px; height:auto; flex:0 0 190px; margin:1px -10px 0; }
 .stage.armful-stage .scene-area svg { height:190px; max-height:none; }
 .stage.armful-stage .stage-bottom { min-height:116px; padding-top:11px; }
 .stage.armful-stage .round-message { font-size:16px; }
 .stage.armful-stage .round-message small { display:block; font-size:14px; }
 .finish-creature { max-width:360px; margin-top:7px; }
 .finish-creature>svg { max-height:145px; }
 .results .score-aside,.results .score-aside b { font-size:14px; line-height:1.45; }
 .results .big-score { font-size:85px; }
}
@media(max-width:370px) {
 .site-header .edition { font-size:11px; margin-right:0; }
 .site-header .header-right { gap:5px; }
 .wordmark.ottrillion-wordmark { font-size:29px; gap:5px; }
 .wordmark.ottrillion-wordmark>svg { width:29px; height:29px; }
 .round-title { font-size:28px; }
 .stage.armful-stage .limit-number { font-size:33px; }
 .stage.armful-stage .stage-score { min-width:111px; }
 .stage.armful-stage .scene-area { flex-basis:180px; min-height:180px; }
 .stage.armful-stage .scene-area svg { height:180px; }
}

/* Ottrillion: visible objects, a compact identity, and one finite answer beat. */
.site-header .ottrillion-wordmark{font-size:36px;letter-spacing:-1.8px;gap:9px}
.site-header .ottrillion-wordmark>svg{width:43px;height:43px}
.site-header .icon-button{width:44px;height:44px;flex:0 0 44px}
.choices-panel .choice{grid-template-columns:96px minmax(0,1fr);min-height:142px;border-left-width:1px}
.choices-panel .choice-art{display:flex;padding:12px 6px}
.choices-panel .choice-art>.object-scene{height:116px}
.choices-panel.choices--film .object-film-poster{width:100%;height:auto;max-width:84px;aspect-ratio:10/13}
.choices-panel .choice-copy{padding:14px 12px 12px}
.choices-panel .choice-name{font-size:16px;line-height:1.28}
.choices-panel .choice-detail,.choices-panel .choice-value{font-size:14px}
.choices-panel .choice-badge{width:25px;height:25px;flex-basis:25px}
.choice.picked-last .choice-value{animation:answer-imprint .42s cubic-bezier(.16,.8,.28,1) both}
.choice.picked-last .choice-badge{animation:answer-seal .48s cubic-bezier(.16,.8,.28,1) both}
.choice.pending .choice-art{filter:saturate(1.15)}
.stage .stage-score .score-gain{color:#e5efae;font-weight:600;letter-spacing:0}
.stage.phase-reveal .score-gain{animation:answer-imprint .42s .08s ease-out both}
.stage.phase-reveal .receipt-value{animation:answer-imprint .36s ease-out both}
@keyframes answer-imprint{from{opacity:.45;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes answer-seal{0%{transform:scale(.75);opacity:.6}70%{transform:scale(1.12);opacity:1}100%{transform:scale(1);opacity:1}}
@media(max-width:1090px){
 .choices-panel .choice{grid-template-columns:74px minmax(0,1fr);min-height:140px}
 .choices-panel .choice-art{padding:10px 5px}
 .choices-panel .choice-art>.object-scene{height:112px}
 .choices-panel .choice-copy{padding:12px 10px 10px}
}
@media(max-width:800px) and (min-width:661px){
 .choices-panel .choice{grid-template-columns:62px minmax(0,1fr)}
 .choices-panel .choice-copy{padding:10px 8px}
 .choices-panel .choice-name{font-size:15px}
 .choices-panel .choice-footer{gap:4px}
}
@media(max-width:660px){
 .site-header{gap:12px;padding-top:15px;padding-bottom:13px}
 .site-header .ottrillion-wordmark{font-size:31px;letter-spacing:-1.6px;gap:7px;min-width:0}
 .site-header .ottrillion-wordmark>svg{width:36px;height:36px}
 .site-header .header-right{gap:7px;flex:0 0 auto}
 .site-header .icon-button{width:44px;height:44px}
 .choices-panel .choice{grid-template-columns:72px minmax(0,1fr);min-height:132px}
 .choices-panel .choice-copy{padding:11px 9px 10px}
 .choices-panel .choice-name{font-size:15px}
 .choices-panel .choice-art{padding:9px 4px}
 .choices-panel .choice-art>.object-scene{height:108px}
 .choices-panel .choice-footer{gap:4px;min-height:31px;padding-top:8px}
 .choices-panel .choice-badge{width:22px;height:22px;flex-basis:22px}
 .stage.armful-stage .stage-score{min-width:119px}
}
@media(max-width:440px){
 .site-header .edition{display:none}
 .site-header .ottrillion-wordmark{font-size:29px;letter-spacing:-1.5px}
 .choices-panel .choice{grid-template-columns:64px minmax(0,1fr)}
 .choices-panel .choice-copy{padding-left:8px;padding-right:8px}
}
@media(max-width:370px){
 .site-header .ottrillion-wordmark{font-size:27px;gap:5px}
 .site-header .ottrillion-wordmark>svg{width:31px;height:31px}
 .site-header .header-right{gap:5px}
 .choices-panel .choice{grid-template-columns:55px minmax(0,1fr);min-height:133px}
 .choices-panel .choice-copy{padding:10px 7px}
 .choices-panel .choice-name{font-size:14px}
 .choices-panel .choice-art{padding-left:4px;padding-right:4px}
 .choices-panel .choice-badge{width:20px;height:20px;flex-basis:20px}
}
@media(prefers-reduced-motion:reduce){
 .choice.picked-last .choice-value,.choice.picked-last .choice-badge,
 .stage.phase-reveal .score-gain,.stage.phase-reveal .receipt-value{animation:none}
}
