@font-face{font-family:VT323;src:url('assets/vt323.woff2') format('woff2');font-weight:400;font-display:swap}:root{color-scheme:dark;--bg:#080c17;--ink:#e8f1ff;--muted:#9aa9c6;--cyan:#e8bd70;--pink:#e8bd70;--amber:#e8bd70;--panel:#101b30;--font:VT323,monospace}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--ink);font-family:var(--font);font-weight:400}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--cyan);outline-offset:5px}button{border:0;border-radius:0}#game{position:fixed;inset:0;height:100dvh;overflow:hidden}#world{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.scene-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 48%,#05081430 65%,#050814ed 100%);transition:opacity .5s}.scanlines{position:absolute;inset:0;z-index:30;pointer-events:none;background:repeating-linear-gradient(0deg,#0307121c 0 1px,transparent 1px 3px);opacity:.46}.pixel-corners{clip-path:polygon(0 8px,4px 8px,4px 4px,8px 4px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 4px),calc(100% - 8px) calc(100% - 4px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 8px),0 calc(100% - 8px))}.utility{width:38px;height:32px;background:#101b30d9;box-shadow:0 0 0 2px #080c17,inset 0 0 0 2px #52617b;color:#9eacc5;display:grid;place-items:center;font-size:24px;padding:0}.utility:hover{color:var(--cyan)}.menu-button{position:absolute;left:24px;top:24px;z-index:25}.right-tools{position:absolute;right:24px;top:24px;display:grid;gap:7px;z-index:25}.hud{z-index:20;position:absolute;top:8px;left:80px;right:80px;max-width:720px;margin:auto;display:flex;justify-content:space-between;align-items:flex-start;gap:8px;opacity:0;transform:translateY(-90px);transition:transform .5s,opacity .5s;pointer-events:none}.pod{min-width:120px;background:linear-gradient(#162039f2,#0c1426f2);padding:8px 14px 10px;box-shadow:inset 0 3px #7584a12b}.pod .label{font-size:12px;letter-spacing:4px;color:#8a9bbd;margin-bottom:4px}.pod output{font-size:32px;line-height:1;color:var(--cyan);text-shadow:none}.score-pod{text-align:right}.score-pod output{color:var(--pink);text-shadow:none}.hud-mid{display:flex;flex-direction:column;align-items:center;padding-top:15px;gap:5px}.dots{display:flex;gap:4px}.dots i{width:13px;height:15px;background:#080f20;border:1px solid #64718e;box-shadow:1px 1px #000;display:block}.dots i.current{background:var(--pink);box-shadow:none}.hud-mid>span{font-size:11px;letter-spacing:2px;color:#9aa8c1}.surface-title{position:absolute;left:16px;right:16px;top:16%;text-align:center;z-index:3;will-change:transform,opacity}.surface-title h1{font-size:clamp(90px,14vw,156px);font-weight:400;line-height:.9;letter-spacing:.13em;padding-left:.13em;margin:0;color:#f0f6ff;text-shadow:none;animation:none}.tagline{color:#37d6f5;letter-spacing:.3em;font-size:28px;margin:14px 0 0;text-shadow:none}.subline{color:#203858;letter-spacing:.08em;font-size:20px;margin:15px 0 0;text-shadow:none}.intro-controls{position:absolute;bottom:38px;left:22px;right:22px;z-index:12;max-width:600px;margin:auto;text-align:center}.how-button{display:block;margin:0 auto 26px;color:#a0afcc;font-size:17px;letter-spacing:3px;background:#0c152a99;padding:8px 17px}.begin-button,.next-button{display:block;width:100%;font-size:28px;font-weight:400;padding:18px 22px;letter-spacing:.14em;text-transform:uppercase;color:#e8f1ff;background:#101b30;box-shadow:0 0 0 3px #080c17,0 0 0 6px #e8bd70,0 6px 0 6px #183446;transition:box-shadow .2s,transform .15s}.begin-button:hover,.next-button:hover{box-shadow:0 0 0 3px #080c17,0 0 0 6px #e8bd70,0 6px 0 6px #3d2445}.begin-button:active,.next-button:active{transform:translateY(3px)}.intro-meta{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:12px;color:#99a7c0;font-size:14px;letter-spacing:2px}.intro-links{display:flex;gap:9px}.intro-links button{font-size:14px;letter-spacing:1.7px;padding:5px 11px;color:#a1afc9;background:#0e1729;border:1px solid #283754}.intro-links button:hover{color:var(--cyan);border-color:var(--cyan)}.zone-label{position:absolute;bottom:24%;left:50%;transform:translateX(-50%);color:#8b97b4a6;font-size:13px;letter-spacing:5px;z-index:2;white-space:nowrap;pointer-events:none;text-shadow:none;opacity:0}#game:not([data-phase="intro"]) .hud{opacity:1;transform:none}#game:not([data-phase="intro"]) .menu-button{top:86px}#game:not([data-phase="intro"]) .right-tools{top:86px}#game:not([data-phase="intro"]) .zone-label{opacity:1}#game[data-phase="intro"] .hud{opacity:0}.question-card{position:absolute;z-index:10;top:23%;left:50%;width:480px;max-width:calc(100% - 106px);transform:translateX(-50%);background:#101b30ef;padding:22px 24px 20px;box-shadow:0 0 0 3px #e8bd7030,0 0 50px #0006,inset 0 0 30px #03071444;text-align:left;animation:card-appear .55s both}.question-card .round{font-size:16px;letter-spacing:4px;color:var(--pink)}.question-card h2{font-size:40px;line-height:1.02;font-weight:400;margin:12px 0 13px;text-shadow:none}.question-card .hint{font-size:16px;line-height:1.25;letter-spacing:.6px;color:#9baac5;margin:0}.dock{position:absolute;bottom:35px;left:22px;right:22px;z-index:14;max-width:600px;margin:auto}.answer-form{display:flex;align-items:center;gap:12px}.clock{position:relative;width:60px;height:60px;flex-shrink:0;border-radius:50%;background:#0b1526ed;box-shadow:0 0 0 2px #080d18,0 0 0 4px #334261;display:grid;place-items:center;color:var(--cyan);font-size:28px;text-shadow:none}.clock:before{content:'';position:absolute;inset:7px;border:1px solid #e8bd7033;border-radius:50%}.clock:after{content:'';position:absolute;width:1px;height:45%;left:50%;top:5%;background:#e8bd7066;transform-origin:50% 100%;animation:clock-sweep 3s linear infinite}.clock span{position:relative;z-index:1}.input-wrap{flex:1;min-width:0;position:relative}.input-wrap input{width:100%;padding:14px 12px 12px;color:#e8f1ff;background:#0b1526ed;border:2px solid #556e91;font-size:26px;letter-spacing:.04em;outline:none;border-radius:0;caret-color:var(--pink)}.input-wrap input:focus{border-color:var(--cyan)}.input-wrap input::placeholder{color:#8c9bbc;opacity:.7}.fuse{position:absolute;bottom:-6px;left:0;right:0;background:#25314c;height:3px}.fuse i{display:block;height:100%;background:var(--cyan);width:100%;transition:width .2s linear}.submit-button{padding:17px 17px 15px;background:var(--pink);color:#07101f;font-size:24px;letter-spacing:3px;box-shadow:0 0 0 2px #080c17,0 3px 0 2px #7d1d3c;flex-shrink:0}.submit-button:hover{background:#ff8cab}.dock .feedback{font-size:15px;line-height:1.15;color:#ffd166;position:absolute;bottom:calc(100% + 12px);left:72px;right:0;text-shadow:none}.dock-footer{display:flex;justify-content:space-between;margin:16px 0 0 74px;align-items:center;color:#8c9cb9;font-size:14px;letter-spacing:.5px}.skip{background:transparent;color:#a1aec5;font-size:15px;text-decoration:underline;padding:0}.hot .clock{color:var(--pink)}.hot .fuse i{background:var(--pink)}.hot input{border-color:var(--pink)}.countdown{position:absolute;bottom:13%;left:0;right:0;text-align:center;color:#aab8ce;font-size:20px;letter-spacing:2px;z-index:14}.countdown strong{color:var(--cyan);font-size:30px;font-weight:400}.reveal{position:absolute;left:50%;top:24%;transform:translateX(-50%);width:520px;max-width:calc(100% - 110px);text-align:center;z-index:10;text-shadow:none}.reveal .gem-icon{width:88px;height:88px;image-rendering:pixelated;filter:drop-shadow(0 0 18px var(--gem));margin-bottom:8px;animation:gem-bob 2.6s ease-in-out infinite}.reveal h2{color:var(--gem);font-weight:400;font-size:48px;line-height:1;letter-spacing:.12em;margin:5px 0 10px;text-shadow:none}.reveal .chosen-answer{font-size:25px;letter-spacing:1.6px;margin:0 0 8px}.reveal .points{font-size:28px;margin:0 0 8px}.reveal .points b{font-weight:400;color:var(--gem)}.reveal .reveal-note{font-size:18px;letter-spacing:1.1px;color:#a0b0ce;margin:0}.reveal .example{font-size:15px;color:#8b9ebd;margin-top:23px}.reveal.miss{top:32%}.reveal.miss h2{font-size:44px;color:#9aa9c6}.next-wrap{position:absolute;bottom:46px;left:50%;transform:translateX(-50%);z-index:14;min-width:185px}.next-button{font-size:25px;padding:15px 27px}.next-wrap .wait{font-size:15px;letter-spacing:2px;text-align:center;color:var(--muted);height:22px;margin-bottom:15px}.results{position:absolute;z-index:15;top:13%;left:50%;transform:translateX(-50%);width:540px;max-width:calc(100% - 44px);max-height:79%;overflow:auto;background:#090f20ed;border:2px solid #33415c;box-shadow:0 0 50px #0008;padding:27px 30px;text-align:center;scrollbar-color:#435475 #080c17}.results .kicker{color:var(--cyan);letter-spacing:4px;font-size:17px}.results h2{font-size:46px;font-weight:400;line-height:1;letter-spacing:2px;margin:15px 0;color:var(--ink)}.final-depth{font-size:64px;line-height:1;color:var(--cyan);text-shadow:none}.results .total{font-size:22px;color:#a7b8d4;margin:9px 0 22px}.finds{display:flex;justify-content:space-between;gap:7px;border-block:1px solid #31405f;padding:14px 0;margin-bottom:22px}.find{display:flex;align-items:center;flex-direction:column;color:var(--gem);font-size:15px}.find .gem-icon{width:43px;height:43px;image-rendering:pixelated}.results .next-button{font-size:22px;margin:10px 0 20px}.quiet-button{background:#131e35;border:1px solid #3d4c6b;color:#a7b7d1;letter-spacing:2px;font-size:18px;padding:9px 13px}.result-list{text-align:left;margin-top:23px}.result-row{display:flex;justify-content:space-between;border-bottom:1px solid #27334c;font-size:18px;padding:8px 0;gap:15px}.result-row small{display:block;color:#8798b9;font-size:14px}.results-foot{font-size:14px;color:#8d9dbd;margin:17px 0 0}dialog{font-family:var(--font);color:var(--ink);width:430px;max-width:calc(100vw - 36px);max-height:calc(100dvh - 40px);background:#111d33;border:0;padding:0;box-shadow:0 0 0 3px #060c17,0 0 0 5px #2d405c,10px 10px #02050be0;font-size:21px;overflow:auto}dialog::backdrop{background:#02050bbd;backdrop-filter:none}dialog header{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid #33435f}dialog h2{font-size:34px;letter-spacing:2px;font-weight:400;line-height:1;margin:0;text-shadow:none}.modal-close{background:none;color:var(--muted);font-size:34px;padding:0 0 0 16px}#modal-body{padding:20px 22px 24px}dialog p{color:#acbad3;line-height:1.25;margin:12px 0}dialog ol{padding-left:23px;margin:0}dialog li{padding-left:4px;color:#b6c5de;font-size:21px;line-height:1.25;margin-bottom:14px}dialog li b{color:#e8f1ff;font-weight:400}dialog small{font-size:16px;color:#899bbd}.menu-items{display:grid;gap:10px}.menu-items button{font-size:24px;letter-spacing:1px;background:#0b1426;border:1px solid #2a3a57;padding:13px 16px;text-align:left}.menu-items button:hover{color:var(--cyan);border-color:var(--cyan)}.menu-items small{display:block;margin-top:4px}.collection-stat{display:flex;justify-content:space-between;gap:12px;text-align:center;margin-bottom:20px}.collection-stat b{font-weight:400;display:block;font-size:33px;color:var(--cyan)}.collection-stat span{font-size:16px;color:#9aacc9}.collection-row{display:flex;align-items:center;gap:15px;border-top:1px solid #2a3a57;padding:10px 0}.collection-row .gem-icon{width:44px;height:44px;image-rendering:pixelated}.collection-row span{flex:1}.collection-row b{font-weight:400;color:var(--pink)}.share-text{font:20px/1.3 var(--font);width:100%;height:145px;color:var(--ink);background:#091325;border:1px solid #344561;padding:13px;resize:none}.modal-actions{display:flex;gap:10px;margin-top:18px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,120px);z-index:100;background:#182943;color:var(--cyan);border:2px solid var(--cyan);padding:10px 18px;font-size:20px;transition:transform .2s;max-width:90vw;text-align:center;pointer-events:none}.toast.show{transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.loading-world{position:absolute;inset:0;background:#080c17;z-index:50;display:grid;place-items:center;letter-spacing:2px;color:var(--cyan);font-size:23px}.boot-error{padding:25px;max-width:600px;text-align:center}#game[data-phase="done"] .zone-label{display:none}@keyframes clock-sweep{to{transform:rotate(360deg)}}@keyframes title-flicker{0%,94%,96%,100%{opacity:1}95%{opacity:.85}}@keyframes gem-bob{50%{transform:translateY(-6px)}}@keyframes card-appear{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
@media(min-width:1500px){.menu-button{left:calc(50% - 650px)}.right-tools{right:calc(50% - 650px)}}
@media(max-width:700px){.surface-title{top:14%;left:12px;right:12px}.surface-title h1{font-size:110px;letter-spacing:.08em}.tagline{font-size:25px;letter-spacing:6px;margin-top:12px}.subline{font-size:18px;line-height:1.3;max-width:310px;margin:16px auto 0;letter-spacing:.4px}.menu-button{left:16px;top:18px}.right-tools{right:16px;top:18px}.utility{width:32px;height:29px;font-size:22px}.intro-controls{bottom:32px;left:26px;right:26px}.how-button{font-size:16px;letter-spacing:2px;margin-bottom:23px}.begin-button{font-size:26px;padding:17px 10px}.intro-meta{font-size:13px;letter-spacing:1px;margin-top:17px}.intro-links{gap:6px}.intro-links button{font-size:13px;letter-spacing:1px;padding:5px 7px}.hud{left:12px;right:12px;top:10px;gap:4px}.pod{min-width:86px;padding:7px 11px 8px}.pod .label{font-size:10px;letter-spacing:2px}.pod output{font-size:27px}.hud-mid{padding-top:9px}.dots{gap:3px}.dots i{width:10px;height:12px}.hud-mid>span{font-size:10px;letter-spacing:1px}#game:not([data-phase="intro"]) .menu-button{top:82px}#game:not([data-phase="intro"]) .right-tools{top:82px}.question-card{top:23%;max-width:calc(100% - 62px);width:480px;padding:18px 18px 16px}.question-card .round{font-size:14px;letter-spacing:2.5px}.question-card h2{font-size:32px;line-height:1.04;margin:10px 0 12px}.question-card .hint{font-size:15px;letter-spacing:.3px}.dock{left:15px;right:15px;bottom:max(24px,env(safe-area-inset-bottom))}.answer-form{gap:9px}.clock{width:45px;height:45px;font-size:25px}.input-wrap input{font-size:23px;padding:11px 9px}.submit-button{font-size:21px;letter-spacing:1px;padding:14px 12px 12px}.dock-footer{margin:15px 0 0 54px;font-size:12px}.dock .feedback{left:54px;font-size:14px}.skip{font-size:13px}.reveal{top:24%;max-width:calc(100% - 64px)}.reveal .gem-icon{width:72px;height:72px}.reveal h2{font-size:39px;letter-spacing:3px}.reveal .chosen-answer{font-size:22px}.reveal .points{font-size:25px}.reveal .reveal-note{font-size:17px;letter-spacing:.6px}.reveal .example{font-size:14px;line-height:1.3;margin-top:15px}.reveal.miss h2{font-size:34px}.next-wrap{bottom:36px}.next-button{font-size:23px}.zone-label{font-size:11px;letter-spacing:3px;bottom:22%}.results{top:12%;max-height:82%;padding:23px 18px;width:480px}.results h2{font-size:36px}.final-depth{font-size:55px}.find{font-size:13px}.find .gem-icon{width:33px;height:33px}.results .kicker{font-size:16px}.results .total{font-size:20px}.result-row{font-size:17px}.results-foot{font-size:13px}dialog{font-size:20px}dialog h2{font-size:31px}dialog li{font-size:20px}.countdown{bottom:15%;font-size:17px}}
@media(max-height:590px){.surface-title{top:11%}.surface-title h1{font-size:84px}.tagline{font-size:20px;margin-top:8px}.subline{font-size:16px;margin-top:9px}.how-button{margin-bottom:17px}.intro-controls{bottom:25px}.begin-button{font-size:23px;padding:12px}.question-card{top:20%;padding:13px 18px}.question-card h2{font-size:27px;margin:7px 0}.question-card .hint{font-size:13px}.reveal{top:17%}.reveal .gem-icon{width:49px;height:49px}.reveal h2{font-size:31px}.reveal .example{display:none}.reveal .chosen-answer{font-size:19px}.reveal .points{font-size:22px}.reveal .reveal-note{font-size:15px}.hud .pod{min-width:82px;padding:5px 10px}.pod output{font-size:24px}.dock{bottom:19px}.zone-label{display:none}.next-wrap{bottom:27px}.countdown{bottom:14%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Motherlode: persistent mine, specimen cabinet and field journal. */
.intro-controls{bottom:24px}.how-button{margin-bottom:18px}.intro-survey{color:#b4c9e5;background:#101a2b;border:1px solid #445975;padding:5px 8px;font-size:14px;letter-spacing:1px}.home-record{display:flex;justify-content:center;gap:34px;margin:24px 0 0}.home-record button{font-size:19px;letter-spacing:2px;background:none;color:#d7e7ff;padding:0}.home-record span{display:block;font-size:15px;letter-spacing:.5px;color:#9eafd0;margin-top:5px}.home-objective{color:#a4b8d7;font-size:16px;margin:12px 0 0;letter-spacing:.7px}.quality{color:var(--gem);letter-spacing:4px;font-size:15px;margin-bottom:6px}.reveal{top:19%}.reveal .gem-icon{width:120px;height:120px;margin-bottom:0}.reveal h2{font-size:39px;letter-spacing:3px}.reveal .points{font-size:26px}.reveal .reveal-note{font-size:15px;line-height:1.2;max-width:370px;margin:auto}.reveal .example{margin-top:15px}.discovery-callout{display:block;max-width:100%;margin:13px auto 0;background:#142a37ed;color:#a3f3de;border:1px solid #4e9e97;padding:8px 12px;font-size:17px;letter-spacing:.4px}.discovery-callout:hover{background:#234658}.reveal .chosen-answer{font-size:23px}.reward-chip .gem-icon{animation:rough-bob 1.8s ease-in-out infinite}.reward-fracture .gem-icon{animation:fine-turn 3s ease-in-out infinite}.reward-vein .gem-icon{animation:rare-glow 2.4s ease-in-out infinite}.reward-geode .gem-icon{animation:gem-bob 2.6s ease-in-out infinite;filter:drop-shadow(0 0 20px var(--gem))}.find .gem-icon{width:52px;height:52px;filter:none}.haul-progress{font-size:20px;color:#b0e4da;line-height:1.3;margin-bottom:24px}.haul-progress span{font-size:17px;color:#a4b4d2}.result-actions{display:flex;justify-content:center;gap:10px}.results .next-button{font-size:24px}.hub-shell{position:absolute;inset:36px 7vw 30px;z-index:24;background:#080f1cf5;border:2px solid #3f506d;box-shadow:0 8px 50px #000b;max-width:1080px;margin:auto;display:flex;flex-direction:column;overflow:hidden}.hub-heading{padding:22px 28px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px}.hub-heading .kicker{font-size:15px;letter-spacing:3px;color:#71cadc}.hub-heading h2{font-size:42px;font-weight:400;letter-spacing:1.5px;line-height:1;margin:8px 0 0}.hub-heading h2:focus{outline:none}.hub-heading .quiet-button{font-size:17px;flex-shrink:0}.hub-tabs{display:flex;gap:0;border-block:1px solid #304158;padding:0 26px;background:#101b2b}.hub-tabs button{padding:13px 17px;background:none;font-size:18px;letter-spacing:1.5px;color:#9cafce;border-bottom:3px solid transparent}.hub-tabs button[aria-current="page"]{color:#a4f0f4;border-bottom-color:#e8bd70;background:#172739}.hub-body{overflow:auto;padding:23px 28px 28px;flex:1;scrollbar-color:#4a6181 #080f1c}.hub-foot{display:flex;justify-content:space-between;gap:12px;padding:11px 28px;border-top:1px solid #304158;background:#101a2a;font-size:16px;color:#9fafca}.hub-intro,.mine-intro>p{font-size:25px;line-height:1.2;margin:0 0 12px;color:#e1ebfb}.hub-intro span,.mine-intro>span{font-size:18px;color:#96abc8}.mine-intro{padding:0 0 23px}.excavation-track{height:4px;background:#26344a;margin-top:18px}.excavation-track i{display:block;height:4px;background:#64d9d2}.mine-route{position:relative;display:flex;flex-direction:column;gap:20px;padding-left:24px}.mine-route:before{content:'';position:absolute;left:5px;top:30px;bottom:60px;width:3px;background:repeating-linear-gradient(#73819b 0 8px,#29364d 8px 16px)}.mine-stop{position:relative;display:grid;grid-template-columns:210px 1fr;gap:22px;padding:0;text-align:left;background:#121e30;border:1px solid #3b506a;min-height:180px;transition:border-color .15s}.mine-stop:hover{border-color:var(--chapter)}.route-pin{position:absolute;left:-34px;top:25px;width:24px;height:27px;background:#111d2d;color:var(--chapter);border:1px solid #455b77;display:grid;place-items:center;font-size:19px;z-index:2}.chamber-art{background-image:var(--chamber-art,url('assets/chambers.png'));background-size:400% 200%;background-position:var(--cx) var(--cy);image-rendering:pixelated;background-repeat:no-repeat}.mine-stop>.chamber-art{min-height:208px;aspect-ratio:3/4;max-height:250px;width:100%;align-self:stretch}.stop-copy{padding:23px 23px 18px 0;align-self:center}.eyebrow{color:var(--chapter);letter-spacing:2px;font-size:13px}.stop-copy h3{font-size:34px;line-height:1;margin:9px 0 12px;font-weight:400}.stop-copy p{font-size:21px;line-height:1.2;color:#9eafc9;margin:0;max-width:400px}.relic-dots{display:flex;gap:7px;margin-top:18px}.relic-dots i{display:block;width:12px;height:12px;border:1px solid #52627c;background:#080f1c}.relic-dots i.found{background:var(--chapter);border-color:var(--chapter)}.unexplored{background:#0c1525;border-color:#26354b}.unexplored .chamber-art{filter:grayscale(1) brightness(.32)}.unexplored .stop-copy h3{color:#a1b1ca}.specimen-family{margin:28px 0 0}.specimen-family h3{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #304157;padding-bottom:10px;font-size:25px;font-weight:400;margin:0 0 16px;letter-spacing:1px}.specimen-family h3>span{font-size:19px;color:#7f9fbe}.cabinet-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.specimen{min-width:0;position:relative;background:#132035;border:1px solid #354b66;padding:7px 5px 12px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-height:170px}.specimen:hover{border-color:var(--gem);background:#1c3047}.specimen .gem-icon{width:100%;max-width:120px;aspect-ratio:1;height:auto;image-rendering:pixelated}.specimen>span{font-size:18px;line-height:1.05;text-align:center;color:#dae7f8;margin-top:4px}.specimen small{font-size:13px;letter-spacing:1px;color:var(--gem);margin-top:7px}.specimen.missing .gem-icon{filter:grayscale(1) brightness(.38);opacity:.75}.specimen.missing>span{color:#91a3c1}.specimen.missing small{color:#798fac}.journal-chapter{margin-top:26px}.journal-chapter h3{font-size:27px;font-weight:400;color:#86c5d1;border-bottom:1px solid #304157;padding-bottom:10px;margin:0}.journal-entry{width:100%;display:flex;align-items:center;gap:17px;text-align:left;padding:16px 4px;background:transparent;border-bottom:1px solid #28394f}.journal-entry:hover{background:#142238}.journal-entry .journal-mark{width:40px;flex-shrink:0;color:#80e7d7;font-size:15px}.journal-entry>span:nth-child(2){flex:1}.journal-entry b{font-size:24px;font-weight:400}.journal-entry small{display:block;color:#8aa1c0;font-size:16px;margin-top:3px}.journal-entry>span:last-child{color:#9dc2df;font-size:16px}.empty-journal{padding:40px 20px;font-size:23px;text-align:center;color:#a9bdd7}.workshop-items{display:grid;gap:18px;margin-top:24px}.workshop-item{display:grid;grid-template-columns:160px 1fr;gap:22px;border:1px solid #35465e;background:#121e30;padding:23px}.workshop-item h3{font-size:30px;font-weight:400;margin:0 0 7px}.workshop-item p{font-size:21px;color:#a5bad3;margin:0 0 15px}.workshop-item small{display:block;color:#8398b7;font-size:16px;margin-top:8px}.decoration-preview{display:grid;place-items:center;background:#080e1b;font-size:34px;letter-spacing:5px;min-height:130px;border:1px solid #293a53}.lanterns{color:#f1c789;text-shadow:none}.bunting{color:#ff7b9f}.stars{color:#86dfff;text-shadow:none}.workshop-note{font-size:18px;color:#8ca4c0;margin-top:24px}.wide-modal{width:650px}.wide-modal #modal-body{padding:0}.chapter-hero{width:100%;height:260px;background-size:400% 200%}.relic-hero{height:190px;width:100%;background-size:400% 200%}.chapter-reading{padding:24px 28px 28px}.chapter-reading .kicker{font-size:15px;letter-spacing:2px;color:#80d5e1}.chapter-reading h3{font-size:32px;font-weight:400;line-height:1.1;margin:10px 0}.chapter-reading p{font-size:24px;line-height:1.3;color:#bdcce2}.chapter-object{background:#0d1728;border:1px solid #2b3f59;display:flex;justify-content:space-between;gap:15px;align-items:center;text-align:left;width:100%;padding:14px 17px;margin:10px 0;font-size:23px}.chapter-object small{font-size:14px;max-width:110px;text-align:right}.chapter-object.known{border-color:#527c91}.chapter-object.known:hover{background:#1a3044}.chapter-ending{border-left:3px solid #69aabb;padding-left:18px;color:#a6dfdf!important}.field-note{font-size:27px!important;line-height:1.35!important}.gem-detail{text-align:center}.gem-detail .gem-icon{display:block;width:200px;height:200px;margin:0 auto 13px;filter:drop-shadow(0 0 18px #486e9b44);image-rendering:pixelated}.gem-detail>span{display:block;font-size:15px;letter-spacing:2px;color:var(--gem)}.gem-detail p{font-size:24px;line-height:1.3;margin:20px 0}.quality-history{font-size:19px;color:#94accb;padding:15px;border-block:1px solid #32465e;margin-bottom:18px;line-height:1.4}.quality-history b{font-weight:400;color:var(--gem)}.gem-detail small{font-size:15px;line-height:1.3}.chamber-video{display:block;width:100%;aspect-ratio:16/9;background:#050a14;margin:20px 0;image-rendering:pixelated}#game[data-phase="hub"] .hud,#game[data-phase="hub"] .menu-button,#game[data-phase="hub"] .right-tools,#game[data-phase="hub"] .zone-label{display:none}
@keyframes rough-bob{50%{transform:translateY(-2px) rotate(-2deg)}}@keyframes fine-turn{50%{transform:rotate(5deg)}}@keyframes rare-glow{50%{filter:drop-shadow(0 0 25px #56e5b2);transform:translateY(-4px)}}
@media(max-width:900px){.cabinet-grid{grid-template-columns:repeat(3,1fr)}.mine-stop{grid-template-columns:160px 1fr}.hub-shell{inset:20px 25px}.hub-heading{padding:20px}.hub-tabs{padding:0 12px}.hub-body{padding:22px}.hub-foot{padding:11px 20px}.mine-stop>.chamber-art{min-height:205px}.stop-copy h3{font-size:30px}}
@media(max-width:600px){.intro-controls{bottom:23px}.begin-button{font-size:25px;padding:14px 7px}.how-button{margin-bottom:15px}.intro-meta{gap:5px;letter-spacing:.2px;font-size:11px}.intro-survey{font-size:12px;letter-spacing:.2px;padding:5px}.home-record{gap:28px;margin-top:18px}.home-record button{font-size:16px;letter-spacing:1px}.home-record span{font-size:13px}.home-objective{font-size:14px;margin-top:12px}.tagline{letter-spacing:4px}.reveal{top:18%;max-width:calc(100% - 52px)}.reveal .gem-icon{width:105px;height:105px}.reveal h2{font-size:31px;letter-spacing:2px;line-height:1}.quality{font-size:13px;letter-spacing:3px}.reveal .chosen-answer{font-size:22px}.reveal .points{font-size:24px}.reveal .reveal-note{font-size:14px;max-width:285px}.reveal .example{font-size:13px;margin-top:11px}.discovery-callout{font-size:15px;margin-top:10px;padding:7px 9px}.next-wrap{bottom:35px}.hub-shell{inset:10px 10px 14px}.hub-heading{padding:17px 14px 14px;align-items:flex-start}.hub-heading .kicker{font-size:12px;letter-spacing:1.8px}.hub-heading h2{font-size:29px;letter-spacing:.7px;max-width:230px}.hub-heading .quiet-button{font-size:13px;padding:6px 7px;letter-spacing:.5px}.hub-tabs{padding:0 6px;justify-content:space-between}.hub-tabs button{font-size:13px;letter-spacing:.5px;padding:12px 6px}.hub-body{padding:18px 13px}.hub-foot{font-size:11px;padding:10px 12px;gap:5px}.hub-intro,.mine-intro>p{font-size:22px}.hub-intro span,.mine-intro>span{font-size:16px}.mine-route{padding-left:17px;gap:17px}.mine-route:before{left:2px}.mine-stop{grid-template-columns:94px 1fr;gap:12px;min-height:175px}.mine-stop>.chamber-art{min-height:175px;max-height:none;height:100%;aspect-ratio:auto}.stop-copy{padding:16px 10px 14px 0}.stop-copy h3{font-size:24px;margin:8px 0}.stop-copy p{font-size:17px;line-height:1.15}.eyebrow{font-size:10px;letter-spacing:.8px}.route-pin{left:-26px;width:20px;height:23px;font-size:15px}.relic-dots{margin-top:12px;gap:5px}.relic-dots i{width:9px;height:9px}.cabinet-grid{gap:7px}.specimen{min-height:140px;padding:5px 3px 10px}.specimen .gem-icon{max-width:100px}.specimen>span{font-size:15px}.specimen small{font-size:10px;letter-spacing:.4px}.specimen-family h3{font-size:23px}.workshop-item{grid-template-columns:76px 1fr;gap:15px;padding:14px}.decoration-preview{font-size:18px;letter-spacing:0;min-height:100px}.workshop-item h3{font-size:25px}.workshop-item p{font-size:18px}.workshop-item .quiet-button{font-size:15px;letter-spacing:.5px}.chapter-hero{height:210px}.relic-hero{height:160px}.chapter-reading{padding:20px}.chapter-reading p{font-size:22px}.chapter-object{font-size:20px;padding:12px}.chapter-object small{font-size:12px}.field-note{font-size:24px!important}.journal-entry b{font-size:22px}.journal-entry{gap:11px}.journal-entry .journal-mark{width:30px;font-size:12px}.find .gem-icon{width:36px;height:36px}.haul-progress{font-size:18px}.haul-progress span{font-size:16px}.results .next-button{font-size:21px}.results{padding:20px 16px}}
@media(max-height:590px){.home-record,.home-objective{display:none}.intro-controls{bottom:22px}.reveal{top:12%}.reveal .gem-icon{width:62px;height:62px}.reveal h2{font-size:27px}.reveal .chosen-answer{font-size:20px}.reveal .points{font-size:21px}.reveal .example{display:none}.next-wrap{bottom:22px}.next-wrap .wait{display:none}.discovery-callout{font-size:14px;margin-top:7px}.hub-shell{inset:8px 20px}.hub-heading{padding:12px 20px}.hub-heading h2{font-size:30px}.hub-tabs button{padding:8px 16px}.question-card{top:20%}}

canvas.chamber-art{display:block;background-image:none;object-fit:cover}.mine-stop>canvas.chamber-art{height:250px;min-height:0;aspect-ratio:auto}.chapter-hero{height:300px}.relic-hero{height:220px}@media(max-width:600px){.mine-stop>canvas.chamber-art{height:200px}.chapter-hero{height:240px}.relic-hero{height:185px}}
/* Keep complete chamber compositions visible beside the field notes. */
.wide-modal{width:920px}.wide-modal #modal-body{display:grid;grid-template-columns:1fr 1.15fr;align-items:start}.wide-modal .chapter-hero,.wide-modal .relic-hero{width:100%;height:auto;aspect-ratio:3/4;position:sticky;top:0}.wide-modal .chapter-reading{padding:23px}.wide-modal header{position:sticky;top:0;z-index:2;background:#111d33}.wide-modal .field-note{font-size:26px!important}
@media(max-width:600px){.wide-modal #modal-body{display:block}.wide-modal .chapter-hero{height:auto;aspect-ratio:3/4;position:static}.wide-modal .relic-hero{height:220px;aspect-ratio:auto;position:static}.wide-modal .chapter-reading{padding:20px}}

/* Completed prompts can be reviewed without starting another run. */
button.result-row{width:100%;background:transparent;text-align:left;color:var(--ink);font-size:inherit;cursor:pointer}button.result-row:hover{background:#17253c}.answer-review h3{font-size:30px;font-weight:400;margin:0 0 15px}.answer-review>p{font-size:20px;line-height:1.3}.answer-review .review-yours{color:var(--cyan);padding:15px 0;border-block:1px solid #344662}.answer-review h4{font-size:19px;letter-spacing:1px;font-weight:400}.answer-review .review-explainer{color:var(--muted);font-size:17px}.answer-band p{font-size:22px;line-height:1.5}.answer-band .your-answer{color:var(--cyan);text-decoration:underline}.answer-review .quiet-button{margin-top:20px}.utility{min-width:44px;min-height:40px}.skip{min-height:32px;padding:5px 0}.intro-survey{min-height:32px}
/* Keep the prompt and action dock apart on short screens and in landscape. */
#game[data-phase="done"] .results{top:140px;max-height:calc(100% - 160px)}
#game[data-phase="done"] .right-tools{display:flex}
@media(max-height:590px){
 #game:not([data-phase="intro"]) .menu-button,#game:not([data-phase="intro"]) .right-tools{top:70px}
 .right-tools{display:flex;gap:9px}
 .question-card{top:124px;max-height:calc(100% - 280px);overflow:auto;scrollbar-width:thin;padding:12px 17px}
 .question-card h2{font-size:25px}.question-card .round{font-size:12px;letter-spacing:2px}
 .reveal{top:124px;max-height:calc(100% - 210px);overflow:auto;scrollbar-width:thin}
 #game[data-phase="done"] .results{top:124px;max-height:calc(100% - 140px)}
}
.grading-dock{position:absolute;bottom:30px;left:22px;right:22px;z-index:15;max-width:600px;margin:auto;padding:20px;background:#0b1526f2;border:1px solid #526c91;text-align:center}.grading-dock p{font-size:22px;margin:8px 0}.grading-dock .grading-answer{color:var(--cyan);overflow-wrap:anywhere}.grading-dock small{color:var(--muted);font-size:16px}.grading-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:15px}.grading-actions button{font-size:16px;padding:12px}.menu-timer-warning{color:var(--amber);font-size:19px}
@media(max-height:590px){#game[data-phase="grading"] .question-card{max-height:calc(100% - 355px)}.grading-dock{bottom:15px;padding:12px}.grading-dock p{font-size:18px}.grading-actions{margin-top:10px}.grading-actions button{padding:9px;font-size:14px}}
.grading-availability{font-size:15px;color:var(--amber);line-height:1.2;margin:12px auto 0;max-width:440px}@media(max-height:590px){.grading-availability{font-size:12px;margin-top:8px}.how-button{margin-bottom:10px}}

/* Dig Down: lantern light, steel controls, and a persistent excavation record. */
:root{--ink:#f2f5f8;--muted:#b0bdc9;--panel:#111c26}
.surface-title h1{font-size:clamp(64px,12vw,152px);letter-spacing:.025em;padding-left:0;text-shadow:0 4px #142130;animation:none}
.begin-button,.next-button{letter-spacing:.02em;text-transform:none;background:#e8bd70;color:#15202b;box-shadow:0 0 0 3px #111c26,0 0 0 5px #e8bd70,0 5px 0 5px #705731;transition:transform .15s,background .15s}
.begin-button:hover,.next-button:hover{background:#f3cd8c;box-shadow:0 0 0 3px #111c26,0 0 0 5px #f3cd8c,0 5px 0 5px #705731}
.how-button,.intro-meta,.intro-survey,.home-record button,.quiet-button,.hub-tabs button{letter-spacing:.02em}
.how-button{margin-bottom:16px}.intro-meta{color:#b0bdc9;font-size:17px;margin-top:14px}.intro-survey{font-size:18px;min-height:44px;color:#e8bd70}
.home-record{margin-top:10px;gap:48px}.home-record button{min-height:48px;font-size:22px}.home-record span{font-size:17px;color:#b0bdc9}
.home-discovery{display:block;width:100%;margin:14px 0 0;padding:12px 14px;background:#111c26e8;border:1px solid #465361;text-align:left;color:#b0bdc9;font-size:18px}
.home-discovery>span:first-child{display:flex;justify-content:space-between;gap:12px}.home-discovery b{font-weight:400;color:#f2f5f8}.home-discovery small{display:block;font-size:15px;margin-top:7px}
.discovery-track{display:block;height:4px;background:#354451;margin-top:9px}.discovery-track i{display:block;height:100%;background:#e8bd70}.home-discovery:hover{border-color:#e8bd70}
.utility{min-width:44px;min-height:44px}.submit-button{background:#e8bd70;box-shadow:0 3px #705731;letter-spacing:.02em}.submit-button:hover{background:#f3cd8c}
.pod output,.score-pod output,.final-depth{color:#e8bd70;text-shadow:none}.dot.current{box-shadow:none;background:#e8bd70}.question-card h2,dialog h2,.reveal h2{text-shadow:none}
.hub-tabs button[aria-current="page"]{background:#27343e;color:#e8bd70;border-color:#e8bd70}.hub-heading .kicker,.journal-chapter h3,.chapter-reading .kicker{color:#e8bd70;letter-spacing:.04em}
.decoration-preview{display:flex;align-items:center;justify-content:center;gap:12px;letter-spacing:0;text-shadow:none}.decoration-preview i{display:block;width:16px;height:26px;background:currentColor}.decoration-preview.lanterns i{border:4px solid #876947;box-shadow:0 -5px #876947,0 5px #876947}.decoration-preview.bunting i{height:24px;clip-path:polygon(0 0,100% 0,50% 100%)}.decoration-preview.stars i{height:32px;clip-path:polygon(50% 0,100% 35%,80% 100%,20% 100%,0 35%)}
@media(max-width:600px){.surface-title h1{font-size:clamp(58px,17vw,90px);letter-spacing:.02em}.intro-controls{bottom:22px}.intro-meta{font-size:15px}.intro-survey{font-size:16px}.home-record button{font-size:20px}.home-record span{font-size:15px}.home-discovery{font-size:16px;margin-top:10px;padding:10px}.home-discovery small{font-size:14px}.decoration-preview{gap:6px}.decoration-preview i{width:12px}.hub-heading .quiet-button,.hub-tabs button,.quiet-button{min-height:44px}}
@media(max-height:650px){.home-discovery{display:none}.home-record{margin-top:4px}.how-button{margin-bottom:10px}.surface-title{top:12%}.surface-title h1{font-size:clamp(54px,10vw,100px)}}
