@font-face{font-family:Nunito;src:url(/fonts/nunito-bold.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Nunito;src:url(/fonts/nunito-black.woff2) format("woff2");font-weight:900;font-display:swap}
:root{
  --forest:#0d3326;--forest-2:#164a37;--cream:#fff3d8;--paper:#fbe8c3;--ink:#123b2e;--ink-soft:#3c5a4c;
  --lime:#dbf33c;--lime-2:#a5cd00;--lime-edge:#759a03;--coral:#e6492b;--butter:#ffe6a6;--wood:#a8622c;--wood-d:#7b4219;
  --r:22px;--shadow:0 10px 28px rgba(5,25,18,.28);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body{margin:0;font:700 17px/1.55 Nunito,ui-rounded,system-ui,sans-serif;color:var(--ink);
  background:var(--forest) url(/img/wood.webp?v=1) center top/720px auto;min-height:100vh}
body.home{background:var(--forest)}
img{max-width:100%}
a{color:#1d6b4c;text-decoration-thickness:2px;text-underline-offset:3px}
a:hover{color:var(--coral)}
:focus-visible{outline:3px solid var(--lime);outline-offset:3px;border-radius:8px}
h1,h2,h3{font-weight:900;line-height:1.12;letter-spacing:-.01em;margin:.2em 0 .45em}
h1{font-size:clamp(30px,6.4vw,50px)}
h2{font-size:clamp(22px,3.6vw,28px)}
h3{font-size:20px}
p{margin:.4em 0 .9em}
.small{font-size:14px;color:var(--ink-soft)}

/* header */
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;max-width:1120px;margin:0 auto;position:relative;z-index:2}
.brand{display:flex;align-items:center;gap:9px;color:var(--cream);text-decoration:none;font-weight:900;font-size:19px}
.brand img{border-radius:9px}
.nav{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{color:var(--cream);text-decoration:none;font-size:15px;padding:7px 11px;border-radius:999px;white-space:nowrap}
.nav a:hover{background:rgba(255,243,216,.14);color:var(--cream)}
@media (max-width:560px){.top{padding:10px 12px}.nav a:first-child{display:none}.nav a{font-size:14px;padding:6px 8px}.brand{gap:7px}.brand img{width:30px;height:30px}.brand span{font-size:16px}}
.crumbs{max-width:1120px;margin:0 auto;padding:2px 18px 10px;font-size:14px;color:var(--butter)}
.crumbs a{color:var(--butter)}

main{max-width:1120px;margin:0 auto;padding:0 12px 28px}

/* paper cards */
.paper{background:var(--cream);border-radius:var(--r);box-shadow:var(--shadow);padding:22px 20px;margin:0 auto 16px;
  border:1px solid #fff7e6}
.narrow{max-width:760px}
.wide{max-width:1120px}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:13px;color:var(--coral);margin:0}
.lede{font-size:18px}

/* hero on the forest */
.hero{position:relative;margin:-58px calc(50% - 50vw) 18px;padding:70px max(12px,calc(50vw - 548px)) 26px;
  background:linear-gradient(180deg,rgba(13,51,38,0) 55%,var(--forest) 100%),url(/img/forest.webp?v=1) center top/cover;
  display:grid;gap:18px}
.hero-copy{color:var(--cream);max-width:620px;padding:0 6px}
.hero-copy h1{text-shadow:0 3px 18px rgba(0,0,0,.35)}
.hero-copy p{font-size:18px;color:#f2ead2}
@media (min-width:960px){
  .hero{grid-template-columns:minmax(0,1fr) 560px;align-items:center;padding:96px max(28px,calc(50vw - 548px)) 48px;margin-top:-58px}
}

/* the game */
.game{padding:16px 16px 18px;max-width:560px;width:100%;margin:0 auto}
.g-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.g-round{font-weight:900;font-size:20px}
.dots{display:flex;gap:6px}
.dots i{width:13px;height:13px;border-radius:50%;border:2px solid #d7c39a;display:block}
.dots i.on{background:var(--lime);border-color:var(--lime-2)}
.g-q{font-weight:900;font-size:21px;line-height:1.2;margin:8px 0 10px;min-height:2.4em}
.g-stage[hidden]{display:none}
.g-stage{position:relative;height:300px;border-radius:18px;overflow:hidden;
  background:linear-gradient(#2d6b4c,#1d5139 70%);display:flex;align-items:flex-end;justify-content:center;gap:4%;padding:0 4% 26px}
.g-ground{position:absolute;left:0;right:0;bottom:0;height:30px;background:var(--wood) url(/img/wood.webp?v=1) center/360px auto;
  box-shadow:inset 0 3px 0 #c98447}
.g-obj{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.g-obj img{display:block;width:auto;transition:height .45s cubic-bezier(.2,.8,.2,1)}
.g-obj .lab{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;background:var(--cream);color:var(--ink);
  font-weight:900;font-size:14px;padding:2px 9px;border-radius:999px;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.g-obj.target .lab{background:var(--lime)}
.g-guess{position:absolute;left:0;right:0;border-top:3px dashed var(--butter);z-index:2;pointer-events:none}
.g-guess span{position:absolute;right:6px;top:-26px;font-size:13px;color:var(--butter);font-weight:900}
.g-label{display:block;font-size:15px;margin:12px 0 2px;text-align:center}
input[type=range]{width:100%;height:44px;background:transparent;-webkit-appearance:none;appearance:none;margin:0}
input[type=range]::-webkit-slider-runnable-track{height:12px;border-radius:999px;background:linear-gradient(90deg,#cbb98f,#e9d5a8)}
input[type=range]::-moz-range-track{height:12px;border-radius:999px;background:#d8c59a}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:34px;height:34px;margin-top:-11px;border-radius:50%;
  background:var(--lime);border:4px solid var(--cream);box-shadow:0 2px 6px rgba(0,0,0,.35)}
input[type=range]::-moz-range-thumb{width:28px;height:28px;border-radius:50%;background:var(--lime);border:4px solid var(--cream)}
.g-read{text-align:center;font-weight:900;font-size:17px;min-height:1.6em;margin-bottom:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 22px;border:0;border-radius:999px;
  background:linear-gradient(var(--lime),var(--lime-2));box-shadow:0 4px 0 var(--lime-edge);color:var(--ink);font:900 18px Nunito,system-ui,sans-serif;
  text-decoration:none;cursor:pointer}
.btn:hover{color:var(--ink);filter:brightness(1.04)}
.btn:active{transform:translateY(2px);box-shadow:0 2px 0 var(--lime-edge)}
.btn.big{width:100%;min-height:58px;font-size:21px}
.btn.ghost{background:transparent;box-shadow:inset 0 0 0 3px var(--lime-2)}
.btn.coral{background:linear-gradient(#ff8667,#e6492b);box-shadow:0 4px 0 #b63a24;color:#fff3d8}
.g-result{text-align:center}
.g-score{font-size:46px;font-weight:900;line-height:1;margin:10px 0 2px}
.g-score small{font-size:18px}
.g-facts{font-size:15px;color:var(--ink-soft);margin:4px 0 12px}
.g-end{text-align:center}
.g-total{font-size:56px;font-weight:900;line-height:1;margin:6px 0}
.chips{display:flex;justify-content:center;gap:6px;margin:8px 0 14px;flex-wrap:wrap}
.chips span{background:var(--paper);border-radius:12px;padding:6px 10px;font-weight:900;font-size:15px}
.g-end .row{display:grid;gap:10px;margin-top:6px}
.err{color:var(--coral)}

/* to-scale figures on the shelf */
.shelf{margin:18px 0 10px}
.shelf .stage{position:relative;height:300px;display:flex;align-items:flex-end;justify-content:center;gap:clamp(10px,4%,40px);
  padding:0 16px 24px;border-radius:18px;overflow-x:auto;scrollbar-width:none;
  background:linear-gradient(transparent calc(100% - 24px),var(--wood) calc(100% - 24px)),linear-gradient(#2d6b4c,#1d5139)}
.shelf .stage::-webkit-scrollbar{display:none}
.shelf .obj{position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:0 0 auto}
.shelf .obj img{width:auto;display:block}
.shelf .tag{position:absolute;left:50%;transform:translateX(-50%);background:var(--cream);font-weight:900;font-size:13px;
  padding:1px 8px;border-radius:999px;white-space:nowrap;box-shadow:0 2px 5px rgba(0,0,0,.25)}
.shelf .name{position:relative;margin-bottom:-21px;height:21px;line-height:21px;font-size:12px;color:var(--cream);white-space:nowrap;padding:0 2px}
.shelf figcaption{font-size:14px;color:var(--ink-soft);margin-top:8px}
.shelf.lineup .stage{justify-content:flex-start;height:340px}
.shelf.mini{margin:0}
.shelf.mini .stage{height:150px;padding-bottom:18px;background:linear-gradient(transparent calc(100% - 18px),var(--wood) calc(100% - 18px)),linear-gradient(#2d6b4c,#1d5139)}
.shelf.mini .tag,.shelf.mini .name,.shelf.mini figcaption{display:none}

.hubs{display:grid;gap:12px}
@media (min-width:720px){.hubs{grid-template-columns:repeat(3,1fr)}}
.hub{display:block;text-decoration:none;color:var(--ink);border-radius:18px;background:var(--paper);overflow:hidden}
.hub>span{display:block;padding:10px 14px;font-weight:900;font-size:18px}
.hub:hover>span{color:var(--coral)}

.two{display:grid;gap:16px;max-width:1120px;margin:0 auto}
.two .paper{margin:0}
@media (min-width:860px){.two{grid-template-columns:1fr 1fr}}
.two+.app{margin-top:16px}

.facts{width:100%;border-collapse:collapse;margin:8px 0 14px;font-size:16px}
.facts th,.facts td{padding:9px 8px;border-bottom:2px dashed #e6d3a8;text-align:left}
.facts td{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.facts thead th{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-soft)}
.facts thead th:not(:first-child){text-align:right}
.links{list-style:none;padding:0;margin:0 0 10px}
.links li{border-bottom:2px dashed #ead8b0}
.links a{display:block;padding:9px 2px;text-decoration:none;color:var(--ink)}
.links a:hover{color:var(--coral)}
@media (min-width:720px){.links.cols{columns:2;column-gap:28px}.links.cols li{break-inside:avoid}}
.src{margin:0 0 14px;padding-left:20px;font-size:14px}
.cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.steps li,.tips li{margin-bottom:8px}
.example{background:var(--paper);border-radius:18px;padding:14px 14px 6px;margin:12px 0}
.example .shelf{margin-top:8px}

.rounds{list-style:none;padding:0;margin:0}
.round{border-top:2px dashed #e6d3a8;padding:14px 0 6px}
.round h2{font-size:21px}
.spoiler summary{cursor:pointer;display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;
  background:var(--butter);font-weight:900;list-style:none}
.spoiler summary::-webkit-details-marker{display:none}
.spoiler[open] summary{background:var(--paper)}
.daynav{display:flex;justify-content:space-between;gap:10px;margin-top:16px;font-weight:900}
.days{list-style:none;padding:0;margin:0}
.days a{display:flex;flex-direction:column;padding:11px 2px;border-bottom:2px dashed #ead8b0;text-decoration:none;color:var(--ink)}
.days a span{font-size:14px;color:var(--ink-soft)}

/* app block */
.app{max-width:1120px;margin:0 auto 16px;border-radius:var(--r);padding:22px 20px;color:var(--cream);
  background:linear-gradient(160deg,var(--forest-2),#0a2a1f);box-shadow:var(--shadow);display:grid;gap:18px;align-items:center}
.app h2{color:var(--cream)}
.app p{color:#e9dfc4}
.app-icon{border-radius:16px;display:block;margin-bottom:6px}
.shots{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory}
.shots::-webkit-scrollbar{display:none}
.shots img{width:150px;height:auto;border-radius:16px;flex:0 0 auto;scroll-snap-align:start}
@media (min-width:860px){.app{grid-template-columns:1fr auto}.shots img{width:170px}}
.stores{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.store{display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:6px 18px 6px 14px;border-radius:14px;background:#000;
  color:#fff;text-decoration:none;border:1px solid #444}
.store:hover{color:#fff;background:#111}
.store svg{width:26px;height:26px}
.store span{display:flex;flex-direction:column;line-height:1.1;font-size:18px;font-weight:900}
.store small{font-size:11px;font-weight:700;text-transform:none}
.store.soon{opacity:.62}

.foot{background:#08241b;color:#d9cfb2;margin-top:24px}
.foot-in{max-width:1120px;margin:0 auto;padding:26px 18px 6px;display:grid;gap:18px}
@media (min-width:760px){.foot-in{grid-template-columns:2fr 1fr}}
.foot a{color:var(--butter)}
.foot ul{margin:0;padding-left:18px}
.foot-h{font-weight:900;color:var(--cream);font-size:18px;margin-bottom:4px}
.foot-small{max-width:1120px;margin:0 auto;padding:8px 18px 22px;font-size:13px;color:#9fb3a6}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
