@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root{--ink:#243e32;--muted:#6d786a;--green:#285b43;--deep:#194631;--paper:#f7f6ed;--line:#d5d9c9;--orange:#c67b3a;--r1:#a4b09b;--r2:#67a685;--r3:#64989f;--r4:#9685b1;--r5:#d2a24b;--shadow:0 12px 40px #27402b0d;color-scheme:light}
*{box-sizing:border-box}html{min-height:100%;background:#e8ecdf}body{margin:0;color:var(--ink);font:16px/1.5 'DM Sans',system-ui,sans-serif;min-height:100svh;background:#e8ecdf;transition:background .6s,color .6s}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:5px}button{color:inherit}svg{display:block}button svg,.wordmark svg,.altitude-icon svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}a{color:inherit}button{border:0}button:hover{filter:brightness(.95)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'DM Serif Display',Georgia,serif;font-weight:400}button:active{transform:translateY(1px)}.world{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:#dfe8d7}.world>svg{width:100%;height:100%;object-fit:cover}.atmosphere{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#f3f4eafc 0%,#f3f4eafa 21%,#f3f4eae6 32%,#f3f4ea73 43%,#f3f4ea00 58%),linear-gradient(0deg,#edf0e3c9 0%,transparent 15%,transparent 82%,#eef1e6ba 100%)}.topbar{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:30px 4.5vw;gap:24px}.wordmark{display:flex;align-items:center;gap:10px;font-family:'DM Serif Display',Georgia,serif;font-size:30px;line-height:1;text-decoration:none}.wordmark svg{width:31px;height:29px;stroke-width:1.8}.wordmark span{border-left:1px solid #6c7d6240;padding-left:17px;margin-left:9px;font:13px 'DM Sans',sans-serif;color:var(--muted)}nav{display:flex;align-items:center;gap:25px}.nav-link{display:flex;align-items:center;gap:9px;background:transparent;padding:5px 0;font-size:14px;font-weight:550}.nav-link svg{width:19px;height:19px}.nav-divider{height:20px;border-left:1px solid #6c7d6240}.icon-button{width:36px;height:36px;display:grid;place-items:center;background:transparent;border-radius:50%}.icon-button:hover{background:#52734812}.icon-button svg{width:21px;height:21px}.map-heading{position:absolute;top:125px;left:58%;z-index:1}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;line-height:1.5}.map-heading .eyebrow{font-size:10px;letter-spacing:2.5px;color:#687b60}.map-heading h2{font-size:33px;margin:6px 0 2px;color:#39553d}.map-subtitle{font-size:13px;color:#78846d}.compass{position:absolute;z-index:1;right:5.5vw;top:165px;text-align:center;color:#718469}.compass>span{display:block;font-size:10px;letter-spacing:2px;margin-bottom:4px}.compass svg{width:50px;height:50px;fill:none;stroke:currentColor;stroke-width:1}.compass svg path:first-of-type{fill:#637c6030}.game-shell{position:relative;z-index:2;min-height:calc(100svh - 163px);display:flex;align-items:center;padding:28px 0 70px 7vw;width:48%;max-width:680px}.game-panel{width:100%;max-width:450px;animation:enter .5s ease both}.daily-label{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:650;letter-spacing:1.6px;color:#66795f;text-transform:uppercase}.daily-label:before{content:'';width:25px;height:1px;background:#819175}.hero-title{font-size:clamp(86px,8.5vw,132px);letter-spacing:-7px;line-height:.98;margin:24px 0 20px;position:relative;width:fit-content}.hero-title span{color:var(--green)}.hero-title:after{content:'';position:absolute;right:-27px;top:4px;width:10px;height:10px;border:1.5px solid var(--orange);border-radius:50%}.hero-tagline{font-size:30px;line-height:1.22;letter-spacing:-.3px}.hero-tagline em{font-weight:400;color:#65815b}.intro{font-size:15px;max-width:345px;line-height:1.75;color:var(--muted);margin:19px 0 25px}.game-facts{display:flex;gap:0;align-items:center;margin-bottom:27px;font-size:13px}.game-facts>span{padding:0 18px;border-left:1px solid var(--line);display:flex;align-items:center;gap:6px}.game-facts>span:first-child{padding-left:0;border:0}.game-facts svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.5}.game-facts b{font-weight:650}.primary{background:var(--green);color:#fffef5;border:1px solid var(--green);border-radius:8px;min-height:54px;padding:14px 23px;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:13px;transition:background .2s,box-shadow .2s,transform .15s;box-shadow:0 4px 0 #183a2a12}.primary:hover{background:var(--deep);filter:none;box-shadow:0 5px 15px #19463122}.primary svg{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.7}.hero-cta{width:100%;max-width:348px}.microcopy{font-size:12px;color:#7a8573;margin:10px 0 0;text-align:center;max-width:348px}.home-bottom{display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);padding-top:18px;margin-top:30px;max-width:348px}.flower{color:#879a72;width:31px;height:31px;flex-shrink:0}.home-bottom p{font-size:12px;color:var(--muted);line-height:1.6}.home-bottom b{color:#566a4f;font-weight:550}.text-button{background:transparent;padding:0;text-decoration:underline;text-underline-offset:4px;font-size:13px;color:var(--muted)}.altimeter{position:absolute;z-index:2;bottom:91px;left:63%;transform:translateX(-22%);display:flex;align-items:center;gap:16px;padding:19px 23px 24px;min-width:333px;background:#f8f8edee;border:1px solid #fffff2;border-radius:12px;box-shadow:0 8px 40px #30492b13;backdrop-filter:blur(15px)}.altitude-icon{width:37px;color:#5a7953}.altitude-icon svg{width:35px;height:35px}.altimeter .eyebrow{display:block;font-size:9px;letter-spacing:1.3px;color:#77836c}.altimeter strong{display:block;font:32px/1.2 'DM Serif Display',Georgia,serif;white-space:nowrap}.altimeter strong small{font:15px 'DM Sans',sans-serif;color:#708367}.altimeter-divider{height:38px;border-left:1px solid var(--line);margin:0 4px 0 8px}.next-stop{display:flex;flex-direction:column;line-height:1.5}.next-stop span{font-size:10px;color:#7c8673}.next-stop b{font-size:13px;font-weight:600}.altitude-track{position:absolute;bottom:0;left:20px;right:20px;height:3px;background:#dfe4d4;overflow:hidden;border-radius:3px}.altitude-track span{height:100%;width:0;display:block;background:var(--green);transition:width 1.5s ease}.footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:15px 4.5vw 22px;font-size:11px;color:#7a8771;gap:18px}.footer button{font-size:11px;background:transparent;color:inherit;padding:5px}.footer>span:nth-child(2){font-size:10px;letter-spacing:1.3px;text-transform:uppercase}.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}.no-script{position:fixed;inset:30%;z-index:10;padding:30px;background:white}
/* The trail and its hand-drawn landmarks. */
.map-label{font-family:'DM Sans',sans-serif;fill:#3f573d;font-size:12px;letter-spacing:1.3px;font-weight:700;text-anchor:middle;paint-order:stroke;stroke:#e4e9d8;stroke-width:5;stroke-linejoin:round}.map-elevation{font:10px 'DM Sans',sans-serif;fill:#697a5f;text-anchor:middle;paint-order:stroke;stroke:#e4e9d8;stroke-width:4}.map-stage{opacity:.83;transition:opacity .5s}.map-stage.reached{opacity:1}.map-stage.reached .map-label{fill:#254c35}.trail-progress{transition:stroke-dashoffset 1.4s ease}#hiker{transition:transform 1.4s cubic-bezier(.3,.7,.2,1)}.hiker-halo{animation:pulse 3s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.cloud{animation:drift 22s ease-in-out infinite alternate}.cloud.second{animation-delay:-10s}.water-line{animation:water 7s ease-in-out infinite alternate}.bird{animation:drift 12s ease-in-out infinite alternate}.summit-flag{transform-origin:1058px 260px;animation:flag 3s ease-in-out infinite alternate}
/* The quiz stays in the same scene. */
.playing .game-shell{align-items:center}.quiz-card{background:#fafaf2f2;border:1px solid #fffef7;border-radius:18px;box-shadow:0 12px 60px #394d2910;padding:30px;backdrop-filter:blur(18px);margin-left:-15px;width:calc(100% + 15px);animation:enter .3s ease both}.quiz-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;font-size:12px;color:var(--muted);gap:10px}.quiz-topline .eyebrow{font-size:10px}.pips{display:flex;gap:5px}.pip{width:17px;height:4px;border-radius:2px;background:#dce1d2}.pip.now{background:var(--green)}.pip.miss{background:#bda99e}.question-category{font-size:11px;font-weight:650;letter-spacing:1.6px;text-transform:uppercase;color:#7a8a62;display:flex;align-items:center;gap:8px;margin-bottom:10px}.question-category svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}.question-title{font-size:31px;line-height:1.2;letter-spacing:-.3px;margin-bottom:15px}.question-hint{font-size:13px;line-height:1.6;color:var(--muted);margin-top:-3px;margin-bottom:16px}.timer-row{display:flex;align-items:center;gap:14px;margin:22px 0}.timer{height:4px;background:#dfe4d7;border-radius:4px;overflow:hidden;flex:1}.timer>div{height:100%;background:#659070;width:100%;transition:width .1s linear}.timer-row.urgent .timer>div{background:#c08047}.seconds{font-size:13px;font-variant-numeric:tabular-nums;min-width:32px;color:#718066}.timer-row.urgent .seconds{color:#b46b30}.answer-label{font-size:12px;font-weight:550;display:block;margin-bottom:7px}.answer-input{width:100%;border:1px solid #bfcbb5;background:#fffef9;color:var(--ink);padding:16px;border-radius:7px;outline:none;font-size:16px;box-shadow:0 2px 6px #4d633205 inset}.answer-input::placeholder{color:#9ba38f}.answer-input:focus{border-color:#477252;box-shadow:0 0 0 3px #54784714}.answer-form .primary{width:100%;margin-top:12px;min-height:49px}.hint{min-height:37px;font-size:12px;color:#808a74;margin-top:13px;line-height:1.5}.hint.bad{color:#a65540}.skip-row{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:14px;gap:10px;font-size:11px;color:var(--muted)}.skip-row button{font-size:12px;color:#718163;background:transparent;padding:4px}.shake{animation:shake .3s}.result-top{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#69805d}.result-symbol{display:grid;place-items:center;background:#e8edda;color:#4b6c40;border-radius:50%;width:30px;height:30px;font-size:16px;letter-spacing:0}.answer-name{font-family:'DM Serif Display',Georgia,serif;font-size:35px;line-height:1.15;margin:12px 0 5px}.gain{font-family:'DM Serif Display',Georgia,serif;font-size:48px;color:var(--green);line-height:1.3}.gain span{font:14px 'DM Sans',sans-serif;color:var(--muted);margin-left:6px}.rarity-tag{display:inline-block;font-size:11px;font-weight:600;padding:3px 8px;background:color-mix(in srgb,var(--rarity) 20%,transparent);color:var(--ink);border-radius:4px;margin:4px 0 14px}.ladder{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:12px 0 24px}.ladder div{padding-top:8px;border-top:3px solid #dfe4d8;color:#8b9580;text-align:center;font-size:10px}.ladder div b{display:block;font-size:13px;font-weight:600}.ladder div.hit{border-color:var(--rarity);color:var(--ink)}.tip{font-size:13px;line-height:1.6;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-bottom:20px}.tip b{color:#4d6643;font-weight:600}.wide{width:100%}.summary-heading{font-size:32px;line-height:1.2;margin:16px 0 7px}.total{font-family:'DM Serif Display',Georgia,serif;font-size:63px;line-height:1.2;color:var(--green)}.total small{font:24px 'DM Serif Display',Georgia,serif}.summary-subtitle{font-size:13px;color:var(--muted);margin:8px 0 22px}.summary{list-style:none;padding:0;margin:20px 0}.summary li{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:9px 0;font-size:13px}.summary-dot{width:7px;height:7px;border-radius:50%;flex:none;background:var(--rarity,#bbc4b2)}.summary li>span:nth-child(2){flex:1;min-width:0}.summary small{display:block;font-size:10px;color:var(--muted)}.summary strong{font-size:13px;white-space:nowrap;font-weight:550}.summary-actions{display:flex;gap:10px;flex-direction:column}.secondary{border:1px solid #bcc8b0;color:#526b45;background:transparent;border-radius:7px;padding:12px 15px;font-size:13px;font-weight:550}.countdown{font-size:11px;color:var(--muted);text-align:center;margin-top:14px}.countdown b{font-variant-numeric:tabular-nums;font-weight:550}.completed .game-shell{padding-top:18px;padding-bottom:30px}.completed .quiz-card{padding:25px 28px}.completed .quiz-topline{margin-bottom:10px}.completed .summary{margin:13px 0 19px}
dialog{background:var(--paper);color:var(--ink);border:1px solid #fffef5;border-radius:18px;padding:38px;max-width:480px;width:calc(100% - 32px);max-height:85svh;box-shadow:0 30px 100px #18332440}dialog::backdrop{background:#1c342c59;backdrop-filter:blur(6px)}.close-modal{position:absolute;top:12px;right:12px}dialog h2{font-size:33px;line-height:1.2;margin:5px 20px 20px 0}dialog p{font-size:14px;color:var(--muted);line-height:1.8;margin:14px 0}dialog h3{font-size:22px;margin-top:22px}.rules-list{list-style:none;padding:0;margin:25px 0}.rules-list li{display:flex;gap:14px;margin:20px 0;font-size:14px;color:var(--muted)}.rules-list li>span{height:26px;width:26px;flex-shrink:0;background:#e2e8d7;color:#557442;display:grid;place-items:center;border-radius:50%;font:14px Georgia,serif}.rules-list b{color:var(--ink);font-weight:600}.modal-note{border-top:1px solid var(--line);padding-top:15px!important;font-size:12px!important}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:28px 0;text-align:center}.stats-grid strong{display:block;font:36px 'DM Serif Display',Georgia,serif}.stats-grid span{font-size:11px;color:var(--muted)}.streak-illustration{margin:auto;width:64px;color:#76925d}.streak-illustration svg{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:1}.copy-fallback{width:100%;min-height:95px;background:#fffdf5;border:1px solid var(--line);color:var(--ink);border-radius:6px;padding:10px;font:13px/1.5 monospace}
body.night{--ink:#edf0df;--muted:#b1bfac;--green:#94b68b;--deep:#81a77a;--paper:#263d36;--line:#50614e;background:#273e39;color-scheme:dark}.night .world{filter:brightness(.52) saturate(.6) hue-rotate(25deg)}.night .atmosphere{background:linear-gradient(90deg,#203a34fc 0%,#203a34f5 25%,#203a34da 34%,#203a3455 48%,transparent 62%),linear-gradient(0deg,#203a34b0,transparent 25%,transparent 70%,#203a3470)}.night .quiz-card,.night .altimeter{background:#2a4038f2;border-color:#63745b55}.night .primary{background:#a6c494;color:#18362b;border-color:#a6c494}.night .answer-input{background:#21392f;border-color:#6d8062;color:var(--ink)}.night .map-heading h2,.night .hero-tagline em,.night .home-bottom b,.night .daily-label,.night .question-category,.night .tip b,.night .result-top,.night .text-button,.night .next-stop span,.night .compass,.night .footer,.night .altimeter .eyebrow,.night .secondary,.night .seconds{color:#bdcfb2}.night .map-subtitle,.night .map-heading .eyebrow,.night .microcopy,.night .hint{color:#aebda3}.night .gain,.night .total{color:#b5cf9f}.night .rarity-tag{color:#f3f5e9}.night .icon-button:hover{background:#fff1}.night .answer-input::placeholder{color:#92a38d}.night .result-symbol,.night .rules-list li>span{background:#486247;color:#e3eacc}.night .copy-fallback{background:#20392f}.night .wordmark span{color:#aebda3}
@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{transform:scale(1.2);opacity:.2}}@keyframes drift{to{transform:translateX(20px)}}@keyframes water{to{opacity:.35;transform:translateX(6px)}}@keyframes flag{to{transform:skewY(4deg)}}@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@media(min-width:1500px){.game-shell{padding-left:10vw;width:46%;max-width:800px}.game-panel{max-width:480px}.intro{max-width:365px}.map-heading{left:60%;top:150px}.hero-title{font-size:142px}.hero-tagline{font-size:34px}.hero-cta,.home-bottom,.microcopy{max-width:365px}}
@media(max-height:780px) and (min-width:821px){.topbar{padding-top:23px;padding-bottom:23px}.game-shell{padding-top:12px;padding-bottom:34px;min-height:calc(100svh - 133px)}.hero-title{font-size:100px;margin:15px 0}.hero-tagline{font-size:27px}.intro{margin:15px 0 20px}.home-bottom{margin-top:24px;padding-top:15px}.game-facts{margin-bottom:22px}.map-heading{top:104px}.quiz-card{padding:24px}.question-title{font-size:28px}.quiz-topline{margin-bottom:20px}.altimeter{bottom:82px}.completed .game-shell{min-height:620px}}
@media(max-width:1100px){.wordmark span{display:none}.game-shell{padding-left:5vw;width:48%}.game-panel{max-width:390px}.hero-title{font-size:108px}.hero-tagline{font-size:27px}.map-heading{left:58%;top:120px}.map-heading h2{font-size:27px}.map-subtitle{font-size:11px}.compass{right:4%;top:215px}.altimeter{left:64%;min-width:300px;padding-left:17px;padding-right:17px;gap:12px}.game-facts>span{padding:0 12px}.game-facts{font-size:12px}nav{gap:20px}.question-title{font-size:28px}.quiz-card{padding:23px}.map-heading .eyebrow{font-size:9px}}
@media(max-width:820px){body{min-height:100svh}.world{position:absolute;top:20px;height:470px;bottom:auto}.world>svg{width:100%;height:100%}.atmosphere{position:absolute;height:500px;bottom:auto;background:linear-gradient(0deg,#f1f3e7 2%,#f1f3e77a 18%,transparent 35%),linear-gradient(180deg,#edf1e8c9,transparent 25%)}.topbar{padding:20px 24px}.wordmark{font-size:27px}.wordmark svg{width:26px;height:25px}nav{gap:18px}.nav-link span{display:none}.nav-link svg{height:19px;width:19px}.nav-divider{display:none}.map-heading{left:25px;top:90px}.map-heading .eyebrow{font-size:9px}.map-heading h2{font-size:25px;margin-top:5px}.map-subtitle{display:none}.compass{right:26px;top:100px}.compass svg{width:35px;height:35px}.game-shell{display:block;padding:0 24px 25px;margin-top:295px;width:100%;max-width:none;min-height:0;background:linear-gradient(#f1f3e700,#f1f3e7 40px)}.game-panel{max-width:450px;margin:auto}.home-view{text-align:center}.daily-label{justify-content:center;font-size:10px}.daily-label:before{display:none}.hero-title{font-size:91px;margin:13px auto 16px;letter-spacing:-5px}.hero-title:after{right:-20px;width:7px;height:7px}.hero-tagline{font-size:28px}.intro{font-size:14px;margin:17px auto 21px;max-width:310px;line-height:1.7}.game-facts{justify-content:center;font-size:12px;margin-bottom:23px}.hero-cta{margin:auto;max-width:350px}.microcopy{margin:10px auto 0}.home-bottom{margin:26px auto 0;text-align:left;justify-content:center}.altimeter{position:absolute;left:50%;transform:translateX(-50%);top:286px;bottom:auto;min-width:280px;padding:12px 19px 17px;gap:13px;border-radius:9px}.altimeter strong{font-size:26px}.altitude-icon,.altitude-icon svg{width:29px}.altimeter .eyebrow{font-size:8px}.next-stop span{font-size:9px}.next-stop b{font-size:12px}.altimeter-divider{height:31px}.footer{background:#f1f3e7;padding:15px 24px 23px;flex-wrap:wrap;justify-content:center;gap:9px 20px;text-align:center;font-size:10px}.footer>span:first-child{display:none}.footer button{font-size:10px}.playing .game-shell,.completed .game-shell{margin-top:285px;padding-bottom:20px;min-height:0}.quiz-card,.completed .quiz-card{margin:0;width:100%;padding:25px}.playing .altimeter,.completed .altimeter{top:270px}.playing .world,.completed .world{height:420px}.playing .question-title{font-size:28px}.summary-heading{font-size:29px}.total{font-size:54px}.night .atmosphere{background:linear-gradient(0deg,#243d34 2%,#243d347a 18%,transparent 40%),linear-gradient(180deg,#243d34c9,transparent 25%)}.night .game-shell{background:linear-gradient(#243d3400,#243d34 40px)}.night .footer{background:#243d34}.night{background:#243d34}dialog{padding:30px}.quiz-topline .eyebrow{font-size:9px}}
@media(max-width:380px){.topbar{padding:18px}.game-shell{padding-left:15px;padding-right:15px}.hero-tagline{font-size:26px}.game-facts>span{padding:0 10px}.question-title{font-size:26px!important}.quiz-card{padding:21px}.wordmark{gap:7px}.pips{gap:4px}.pip{width:14px}.ladder div{font-size:9px}.map-heading{left:20px}nav{gap:12px}.summary strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.intro{font-size:16px}
@media(min-width:821px){.map-heading{left:49%;top:102px}.map-heading h2{font-size:28px}.map-subtitle{font-size:12px}}
@media(min-width:1500px){.map-heading{left:50%;top:145px}.map-heading h2{font-size:33px}}
@media(max-width:820px){.intro{font-size:16px}.map-stage[data-alt="2200"]{display:none}.map-stage[data-alt="3000"] .map-elevation{display:none}.nav-link,.icon-button{min-width:36px;min-height:36px}.game-facts{font-size:12px}}
