:root{color-scheme:light;--ink:#282419;--forest:#183e34;--yellow:#ffcc52;--orange:#ed6b3e;--paper:#fff1cc;--cream:#fff9e8;--brown:#744427;font-family:'Apple SD Gothic Neo','Malgun Gothic',Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#102a24}body{background:radial-gradient(ellipse at top,#325547,#102a24 70%)}button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:4px solid #e47430;outline-offset:3px}h1,h2,p{margin:0}.game{container-type:inline-size;width:min(100%,56.25svh);height:100svh;min-height:600px;margin:auto;display:flex;flex-direction:column;position:relative;overflow:hidden;background:var(--forest);color:var(--cream);box-shadow:0 0 90px #0007;border-inline:1px solid #c09b4b44}.masthead{height:12cqw;flex-shrink:0;display:flex;align-items:center;padding:1.6cqw 4cqw;gap:2.4cqw;background:#ffefc3;border-bottom:1cqw solid #b16b32;color:var(--forest);z-index:4}.logo{width:8cqw;height:8cqw;object-fit:contain;mix-blend-mode:multiply}.brand{font:900 3.4cqw/1.1 Arial,sans-serif;letter-spacing:.02em;flex:1}.brand span{display:block;font:700 1.8cqw/1.8 monospace;letter-spacing:.15em}.icon-button{min-height:7cqw;min-width:7cqw;background:#e5d29d;border:0;border-radius:1cqw;color:#244439;font:bold 2.6cqw monospace;padding:1.3cqw}.icon-button[aria-pressed=true]{background:#244439;color:#fff1c5}main{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}footer{height:5cqw;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 4cqw;color:#d0d5ba;font-size:1.9cqw;background:#183b32}footer span{font:1.5cqw monospace;letter-spacing:.06em}.arcade-button{position:relative;border:2px solid #582d1a;border-bottom-width:6px;border-radius:2cqw;background:var(--yellow);color:#3e2b19;font-size:5cqw;line-height:1.2;min-height:13cqw;font-weight:900;padding:3cqw 5cqw;box-shadow:0 1cqw 0 #182b1e66;display:flex;align-items:center;justify-content:space-between;gap:2cqw;width:100%;text-shadow:0 1px #fff7}.arcade-button:hover{filter:brightness(1.06)}.arcade-button:active{transform:translateY(3px);border-bottom-width:3px}.arcade-button:disabled{background:#9d9d78;color:#e8e8ca;border-color:#6c7053;box-shadow:none}.arcade-button .arrow{font-size:5.7cqw}.small{font-size:2.7cqw;line-height:1.5}.sprite{background-image:url('assets/digi-sprites.png');background-size:300% 200%;background-repeat:no-repeat;background-position:0 0;width:43cqw;height:43cqw;filter:drop-shadow(0 1.5cqw .5cqw #251c1944);image-rendering:auto}.pose-0{background-position:0 0}.pose-1{background-position:50% 0}.pose-2{background-position:100% 0}.pose-3{background-position:0 100%}.pose-4{background-position:50% 100%}.pose-5{background-position:100% 100%}.item{background-image:url('assets/clothing-pickups.png');background-size:300% 200%;background-repeat:no-repeat;width:16cqw;height:16cqw;display:block;filter:drop-shadow(0 .8cqw .5cqw #0003)}.item-0{background-position:0 0}.item-1{background-position:50% 0}.item-2{background-position:100% 0}.item-3{background-position:0 100%}.item-4{background-position:50% 100%}.item-5{background-position:100% 100%}.home{height:100%;display:flex;flex-direction:column;position:relative;isolation:isolate;background:#5e5e38}.home:before,.scene:before,.finish-stage:before{content:'';position:absolute;inset:0;background:url('assets/shop-background.png') center center/cover;z-index:-2}.home:after{content:'';position:absolute;inset:0;background:linear-gradient(#102c20aa 0%,#132c2044 31%,transparent 53%,#162e24bb 76%,#162e24 100%);z-index:-1}.home-title{text-align:center;padding:6cqw 3cqw 0;z-index:1}.pill{font:bold 2.3cqw monospace;letter-spacing:.13em;color:#f9edbe;background:#244d3ccc;padding:1.2cqw 3cqw;border:1px solid #c9b76688;border-radius:20px;display:inline-block}.home-title h1{font-size:12.8cqw;font-weight:950;line-height:1.05;letter-spacing:-.065em;color:#ffda69;text-shadow:.7cqw .7cqw #6e361c,1.1cqw 1.1cqw #172f26;margin:3cqw 0 2cqw;-webkit-text-stroke:.13cqw #613a1b}.home-title h1 small{display:block;font-size:9.5cqw;color:#fff4cc;letter-spacing:-.06em}.home-title>p{font-size:3.5cqw;line-height:1.5;color:#fff7d3;text-shadow:0 2px 3px #000}.home-playground{flex:1;position:relative;min-height:54cqw}.home-playground .sprite{position:absolute;width:61cqw;height:61cqw;bottom:-1cqw;left:19.5cqw;animation:idle 2.8s ease-in-out infinite}.speech{position:absolute;left:50%;transform:translateX(-50%);bottom:51cqw;white-space:nowrap;background:var(--cream);color:#392b1f;font-size:3.4cqw;font-weight:800;border:.7cqw solid #563824;border-radius:3cqw;padding:2cqw 3cqw;box-shadow:0 1cqw #0002;z-index:2}.speech:after{content:'';position:absolute;left:48%;bottom:-2.1cqw;width:2.6cqw;height:2.6cqw;background:var(--cream);border-right:.7cqw solid #563824;border-bottom:.7cqw solid #563824;transform:rotate(45deg)}.pickup{position:absolute;border-radius:50%;background:#ffd76721;box-shadow:0 0 6cqw #ffe88144;border:1px solid #ffe38866;animation:float 3.4s ease-in-out infinite}.pickup.p1{left:5cqw;bottom:30cqw;transform:rotate(-12deg)}.pickup.p2{right:5cqw;bottom:38cqw;animation-delay:-1.2s}.pickup.p3{right:7cqw;bottom:12cqw;animation-delay:-2.4s}.star{position:absolute;color:#ffe49a;font-size:5cqw;animation:twinkle 2s ease-in-out infinite}.star.s1{left:17%;top:15%}.star.s2{right:18%;top:46%;animation-delay:.8s}.home-bottom{padding:1cqw 5cqw 5cqw;z-index:3}.prize-label{text-align:center;font-size:3.3cqw;color:#fff7dc;margin-bottom:3cqw}.prize-label strong{font-size:7.6cqw;color:#ffdc69;text-shadow:0 2px #40321d}.home-bottom .arcade-button{background:linear-gradient(#ffdc6c,#ffbd40);animation:buttonGlow 2.7s infinite}.home-bottom .small{text-align:center;margin-top:3cqw;color:#eee1bc}.hud{display:flex;justify-content:space-between;align-items:center;gap:2cqw;min-height:10cqw;padding:1.5cqw 4cqw;background:#112e27;z-index:2}.hud .stat{font:bold 2.7cqw monospace;color:#cad6b3;display:flex;align-items:center;gap:1.2cqw}.hud strong{font:900 5cqw monospace;color:#ffe17a}.hud .chapter{font:bold 2.6cqw monospace;color:#fff6d1}.hud .bag{font:bold 3cqw monospace;background:#38614b;border:1px solid #a4ad77;padding:1.2cqw 2cqw;border-radius:1.3cqw}.scene{position:relative;isolation:isolate;flex:1;min-height:39cqw;max-height:68cqw;overflow:hidden;background:#5b603d}.scene:before{background-position:center 64%;transform:scale(1.03);transition:transform .7s ease-out}.scene .sprite{position:absolute;bottom:-.5cqw;left:27cqw;animation:idle 3s ease-in-out infinite}.scene .speech{bottom:auto;top:3cqw;font-size:2.8cqw;padding:1.5cqw 3cqw;max-width:88%;white-space:normal;text-align:center}.scene .collectible{position:absolute;right:8cqw;bottom:10cqw;width:17cqw;height:17cqw;border-radius:50%;background:#fff1b222;border:1px dashed #ffe295;animation:float 3s infinite}.scene .shelf-name{position:absolute;left:3cqw;bottom:2cqw;background:#18392ccf;padding:1cqw 2cqw;font:bold 2cqw monospace;border:1px solid #aabc8e99;border-radius:1cqw;color:#f8edbe}.scene.success .sprite{animation:victory .7s ease-out both}.scene.miss .sprite{animation:shrug .7s ease-out both}.scene.success:before{transform:scale(1.1)}.scene.success .collectible{animation:collect .85s ease-in forwards}.plus-score{position:absolute;top:37%;left:54%;font:900 8cqw monospace;color:#fff298;text-shadow:.5cqw .5cqw #a44e20;animation:scoreUp 1.1s ease-out both;z-index:4}.combo{position:absolute;right:3cqw;top:15cqw;font:900 3.6cqw monospace;color:#ffea9d;background:#b5522de8;border:2px solid #ffd57a;padding:1.4cqw 2cqw;transform:rotate(7deg);animation:pop .3s ease-out;z-index:3}.map{display:flex;gap:1.4cqw;align-items:center;padding:2cqw 5cqw;background:#254c3d;min-height:6cqw}.map span{flex:1;height:1.7cqw;border:1px solid #6e8761;background:#17382d;border-radius:20px}.map span.done{background:#ffd359;border-color:#ffd359}.map span.current{background:#f6ebc7;box-shadow:0 0 1cqw #fff3a5}.quiz-panel{padding:3cqw 4cqw 3cqw;position:relative;background:var(--paper);color:var(--ink);border-top:1cqw solid #a86d33;flex-shrink:0}.question-label{display:flex;justify-content:space-between;font-size:2.6cqw;font-weight:800;color:#88613b;margin-bottom:1.5cqw}.question{font-size:5.1cqw;line-height:1.36;letter-spacing:-.035em;white-space:pre-line;word-break:keep-all;min-height:14cqw;margin-bottom:2cqw}.choices{display:grid;gap:1.7cqw}.choice{width:100%;display:flex;align-items:center;gap:2cqw;min-height:11.5cqw;border:.5cqw solid #705936;border-bottom-width:1.2cqw;border-radius:1.9cqw;background:#fffaf0;color:#3b3522;text-align:left;font-size:3.8cqw;font-weight:800;line-height:1.25;padding:1.5cqw 2.3cqw;transition:transform .12s,background .15s}.choice .key{font:900 3.6cqw monospace;background:#e9dbb2;border-radius:1cqw;width:6.5cqw;height:6.5cqw;display:grid;place-items:center;flex-shrink:0}.choice .choice-text{flex:1;word-break:keep-all}.choice .mark{font-size:2.3cqw}.choice:hover:not(:disabled){background:#ffe096;transform:translateX(1cqw)}.choice:active:not(:disabled){transform:translateY(.5cqw)}.choice.correct{background:#2f674b;color:#fff7cb;border-color:#163d29}.choice.correct .key{background:#ffc84f;color:#303b24}.choice.wrong{background:#e9c5ac;border-color:#ab6b49}.feedback{font-size:2.8cqw;line-height:1.45;min-height:12.5cqw;padding:2cqw .5cqw;color:#6c5136;word-break:keep-all;display:flex;flex-direction:column;justify-content:center}.feedback strong{font-size:3.3cqw;color:#2a5139;margin-bottom:.5cqw}.feedback.waiting{align-items:center;font-weight:600;color:#887354}.quiz-panel .arcade-button{min-height:10cqw;font-size:3.9cqw;padding:2cqw 3cqw}.particle{position:absolute;left:50%;top:55%;width:1.8cqw;height:1.8cqw;background:var(--c);animation:burst .9s ease-out forwards;pointer-events:none;z-index:5}.finish{height:100%;display:flex;flex-direction:column;text-align:center;background:linear-gradient(#244e3a,#112e28);position:relative;isolation:isolate}.finish-stage{position:relative;isolation:isolate;height:56cqw;min-height:39cqw;flex:1;overflow:hidden}.finish-stage:before{opacity:.72;background-position:center 68%}.finish-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(#17382b33,transparent,#17382b);z-index:-1}.finish-stage .sprite{position:absolute;left:20cqw;bottom:-7cqw;width:60cqw;height:60cqw;animation:idle 3s infinite}.finish-badge{position:absolute;top:4cqw;left:50%;transform:translateX(-50%) rotate(-4deg);background:#ffe081;color:#51371d;border:1cqw double #a46f27;padding:1.5cqw 5cqw;z-index:2;white-space:nowrap;font:900 4.2cqw monospace;box-shadow:0 1cqw #0003}.finish-summary{padding:0 5cqw 4cqw}.finish-title{font-size:7.2cqw;color:#ffe293;letter-spacing:-.04em;line-height:1.25}.finish-score{margin:2cqw 0;font-size:3.5cqw;color:#e9e6bf}.finish-score strong{font:900 8cqw monospace;color:#fff3c6}.loot{display:flex;justify-content:center;gap:1cqw;margin:3cqw 0}.loot-slot{width:12.8cqw;height:12.8cqw;border:1px solid #83976b;border-radius:1.3cqw;background:#36583c}.loot-slot .item{width:100%;height:100%}.reward-ticket{position:relative;background:#fff0c1;border:1cqw double #b88339;padding:3cqw;color:#4e321b;border-radius:2cqw;margin:3cqw 0;box-shadow:0 1.5cqw #09231b}.reward-ticket small{font:800 2.7cqw monospace;letter-spacing:.1em}.reward-ticket .amount{font:950 13cqw/1.3 Arial,sans-serif;letter-spacing:-.05em;color:#994422}.reward-ticket .amount span{font-size:5cqw}.reward-ticket p{font-size:3.4cqw;font-weight:bold}.finish .small{color:#cad3b3;margin:3cqw 0}.finish-actions{display:grid;gap:1.7cqw}.quiet{background:none;border:0;color:#dedbb8;text-decoration:underline;text-underline-offset:.5cqw;font-size:2.9cqw;min-height:7cqw}.review{overflow-y:auto;padding:5cqw;background:#fff2ce;color:#332f21;height:100%}.review h2{font-size:6cqw}.review article{border-top:1px solid #c8b88c;padding:4cqw 0;font-size:3.4cqw;line-height:1.5}.review h3{font-size:4cqw;margin:0 0 2cqw}.review a{color:#345a41;font-size:2.7cqw;display:inline-block;margin-top:2cqw}.review .arcade-button{margin-top:3cqw}.screen-enter{animation:slideIn .35s ease-out}.flash{animation:flash .4s ease-out}.asset-error{margin:4cqw;padding:4cqw;background:#ffefc3;color:#733d23;font-size:4cqw}dialog{width:min(90vw,520px);background:#fff0cc;color:#2a3a29;border:5px solid #674b29;border-radius:12px;padding:25px;font:16px/1.6 'Apple SD Gothic Neo',Arial,sans-serif}dialog h2{font-size:24px}dialog p{margin:14px 0}dialog .arcade-button{font-size:20px;min-height:54px;padding:12px 20px;border-radius:8px}dialog::backdrop{background:#061d17dd}
@keyframes idle{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-1.2cqw) rotate(1deg)}}@keyframes float{0%,100%{translate:0 0;rotate:-6deg}50%{translate:0 -3cqw;rotate:5deg}}@keyframes twinkle{0%,100%{opacity:.3;scale:.8}50%{opacity:1;scale:1.3}}@keyframes buttonGlow{0%,100%{box-shadow:0 1cqw #182b1e66,0 0 0 0 #ffde5b44}50%{box-shadow:0 1cqw #182b1e66,0 0 4cqw 1cqw #ffde5b55}}@keyframes victory{0%{transform:translateY(0) scale(.9)}35%{transform:translateY(-5cqw) rotate(-8deg) scale(1.12)}70%{transform:translateY(0) rotate(6deg)}100%{transform:translateY(0)}}@keyframes shrug{20%,60%{transform:rotate(-5deg)}40%,80%{transform:rotate(4deg)}100%{transform:rotate(0)}}@keyframes collect{35%{transform:translate(-9cqw,-9cqw) scale(1.4)}100%{transform:translate(3cqw,-50cqw) scale(.05);opacity:0}}@keyframes scoreUp{0%{transform:translateY(2cqw) scale(.5);opacity:0}20%{opacity:1;transform:translateY(-1cqw) scale(1.2)}75%{opacity:1}100%{transform:translateY(-13cqw);opacity:0}}@keyframes burst{0%{transform:translate(0,0) rotate(0);opacity:1}100%{transform:translate(var(--x),var(--y)) rotate(180deg);opacity:0}}@keyframes pop{from{scale:.4;opacity:0}to{scale:1;opacity:1}}@keyframes slideIn{from{opacity:0;transform:translateX(3cqw)}to{opacity:1;transform:translateX(0)}}@keyframes flash{50%{filter:brightness(1.15)}}
@media(min-aspect-ratio:1/2){.home-title{padding-top:4cqw}.home-title h1{font-size:11.3cqw}.home-title h1 small{font-size:8.5cqw}.home-title>p{font-size:3.1cqw}.home-playground{min-height:50cqw}.home-playground .sprite{width:55cqw;height:55cqw;left:22.5cqw}.home-playground .speech{bottom:46cqw}.home-bottom{padding-bottom:3cqw}.quiz-panel{padding-top:2cqw;padding-bottom:2cqw}.question{font-size:4.8cqw;min-height:13cqw;margin-bottom:1.5cqw}.choice{min-height:10.5cqw;font-size:3.7cqw}.feedback{min-height:11cqw}.finish-stage{max-height:52cqw}.finish-title{font-size:6.8cqw}.finish .small{margin:2cqw 0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.scene.success .collectible{opacity:0}.plus-score{display:none}}
/* Keep the game panel anchored to the bottom on taller portrait displays. */
.quiz-panel{flex:1;display:flex;flex-direction:column}.quiz-panel #next{margin-top:auto}.scene .sprite{width:52cqw;height:52cqw;left:23cqw;bottom:-2cqw}
@media(min-aspect-ratio:1/2){.scene .sprite{width:43cqw;height:43cqw;left:27cqw;bottom:-1cqw}}
/* DEEP DIG: actual archive photographs sit beside the existing game character. */
.expert-scene{min-height:46cqw;max-height:64cqw;border-top:1cqw solid #d9ae58;background:#263c30}
.expert-scene:before{opacity:.28;filter:sepia(.3)}
.expert-scene .speech{top:1.7cqw;font:800 2.6cqw 'Apple SD Gothic Neo',sans-serif;background:#ffdb7b;border-color:#73532b;max-width:92%}
.expert-scene .sprite{width:26cqw;height:26cqw;left:auto;right:-1cqw;bottom:0;z-index:2}
.expert-scene .collectible{display:none}
.expert-scene .shelf-name{font-size:2cqw;padding:.7cqw 1.5cqw;left:2cqw;bottom:1cqw}
.archive-photo{position:absolute;inset:11cqw 18cqw 7cqw 5cqw;border:1px solid #c8b790;background:#f4f1e7;padding:1cqw;border-radius:1.5cqw;box-shadow:0 1cqw 3cqw #0005;overflow:hidden}
.archive-photo img{width:100%;height:100%;object-fit:contain;display:block}
.archive-photo>span{position:absolute;right:1cqw;bottom:1cqw;background:#163c30e8;color:#fff3c7;border-radius:1cqw;padding:1cqw 2cqw;font-weight:700;font-size:2.5cqw}
.photo-credit{position:absolute;bottom:1.7cqw;left:26cqw;right:3cqw;font-size:1.9cqw;line-height:1.2;color:#eee5bf;text-align:left;z-index:3}
.archive-card{position:absolute;inset:13cqw 20cqw 7cqw 6cqw;display:flex;flex-direction:column;justify-content:center;background:#eaddb6;border:.8cqw double #80673f;color:#3f422d;padding:4cqw;box-shadow:1cqw 1cqw #0003;transform:rotate(-2deg)}
.archive-card>span{font:800 2.5cqw monospace;letter-spacing:.12em}.archive-card strong{font-size:6cqw;letter-spacing:-.05em;margin:2cqw 0}.archive-card p{font-size:2.8cqw}.archive-card b{position:absolute;right:3cqw;bottom:1.5cqw;font-size:9cqw;color:#a77b34}
.deep-result{color:#ffda79;font:700 2.9cqw monospace;margin:1cqw 0}.review-photo{display:block;width:100%;max-height:55cqw;object-fit:contain;background:#fff;margin:2cqw 0}.review small{display:block;font-size:2.7cqw}
#photoDialog{width:min(94vw,850px);max-height:94svh;padding:15px;overflow:auto}.photo-viewport{height:60svh;overflow:auto;background:#faf9f4;overscroll-behavior:contain}.photo-viewport img{display:block;width:100%;height:100%;object-fit:contain}.photo-viewport.zoomed img{width:300%;height:auto;max-width:none;max-height:none;object-fit:initial}#photoHint{font-size:12px!important}#photoDialog p{margin:10px 0;font-size:15px}#photoDialog small{font-size:12px}.photo-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.photo-dialog-title button{border:0;background:#264736;color:#fff6d3;border-radius:5px;padding:12px 16px;min-height:44px}
@media(min-aspect-ratio:1/2){.expert-scene{min-height:41cqw;max-height:53cqw}.expert-scene .sprite{width:23cqw;height:23cqw;left:auto;right:0}.archive-card{inset:11cqw 18cqw 5cqw 5cqw}}
/* Member / popup demo. All values are simulated; retain arcade artwork. */
.mode-ribbon{padding:1.6cqw 4cqw;background:#102c25;color:#ead9a5;font-size:2.8cqw;display:flex;justify-content:space-between;font-weight:700}.mode-ribbon span{color:#ffcf5b;letter-spacing:.1em}.member-home .home-title{padding-top:3cqw}.member-home .home-playground{min-height:38cqw}.member-home .home-playground .sprite{width:49cqw;height:49cqw;left:25.5cqw}.member-home .home-playground .speech{bottom:41cqw}.member-home .prize-label small{display:block;font-size:2.7cqw;margin-top:1cqw}.home-links{display:flex;justify-content:center;gap:4cqw;margin-top:2cqw}.home-links button{border:0;background:none;color:#fff0bf;text-decoration:underline;text-underline-offset:4px;font-size:3cqw;min-height:10cqw;padding:1cqw}.member-page{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;background:linear-gradient(145deg,#214e3f,#102e27);padding:6cqw 5cqw;display:flex;flex-direction:column;gap:4cqw}.member-eyebrow{font:700 2.8cqw monospace;letter-spacing:.12em;color:#ffd062}.member-page h1{font-size:7cqw;letter-spacing:-.055em;line-height:1.15;color:#fff1c8}.member-lead{font-size:4cqw;line-height:1.6;color:#eee4c5}.member-digi{width:36cqw;height:36cqw;align-self:center;background:url('assets/digi-sprites.png') 50% 0/300% 200%;animation:idle 2.8s ease-in-out infinite}.member-card{padding:4cqw;background:#fff0c9;color:#314133;border:2px solid #ba9452;border-radius:2cqw;font-size:3.8cqw;line-height:1.5}.member-card p{margin-top:2cqw;font-size:3.4cqw}.member-help{font-size:3cqw;line-height:1.55;color:#d6dabc;text-align:center}.demo-note{border-top:1px solid #a3b09750;padding-top:3cqw;font-size:2.7cqw;line-height:1.5;color:#c4cbb8;margin-top:auto}.demo-note b{color:#ffda7d;margin-right:1cqw}.member-page .quiet{color:#e4e4ca;min-height:10cqw;font-size:3.3cqw}.reward-grid{display:grid;grid-template-columns:1fr 1fr;gap:2cqw}.reward-grid span{background:#15372f;padding:3cqw;border:1px solid #54725c;border-radius:2cqw;font-size:3cqw}.reward-grid b{display:block;color:#ffdb77;font-size:5cqw;margin-top:1cqw}.member-rules{margin:0;padding-left:5cqw;font-size:3.5cqw;line-height:1.8}.member-rules em{font-size:2.5cqw;font-style:normal;color:#e4c67d}.member-callout{padding:3cqw;background:#eadcaf;color:#344133;border-radius:2cqw;font-size:3.5cqw;line-height:1.6}.secondary-button{display:flex;align-items:center;justify-content:center;min-height:12cqw;border:1px solid #a0b098;border-radius:2cqw;background:#e8ebd6;color:#173c31;font-size:3.8cqw;font-weight:800;padding:3cqw;text-align:center;text-decoration:none}.member-ticket{background:#fff1ca;border:2px solid #cb9b43;border-radius:3cqw;color:#264236;padding:5cqw;position:relative}.ticket-top{font:bold 2.5cqw monospace;display:flex;justify-content:space-between;gap:2cqw}.ticket-top span{font:700 2.6cqw sans-serif;background:#244a3a;color:#fff0bf;padding:1cqw;border-radius:1cqw}.member-ticket>strong{display:block;font:bold 16cqw/1.3 Arial;margin:4cqw 0 0;color:#284835;letter-spacing:-.06em}.member-ticket strong small{font-size:6cqw;margin-left:1cqw}.member-ticket>b{font-size:5cqw}.member-ticket p{font-size:3.2cqw;margin-top:2cqw;line-height:1.5}.member-ticket hr{border:0;border-top:2px dashed #c7b988;margin:4cqw 0}.member-ticket code{display:block;margin-top:2cqw;font-size:2.7cqw;letter-spacing:.08em}.wallet-actions{display:flex;flex-direction:column;gap:3cqw}.demo-details{font-size:3cqw;line-height:1.6;border-top:1px solid #78917b;padding-top:3cqw}.demo-details summary{cursor:pointer;min-height:10cqw}.demo-details p{margin:2cqw 0 4cqw}.handoff-qr{width:55cqw;height:55cqw;padding:3cqw;background:white;border-radius:3cqw;align-self:center}.handoff-qr svg{width:100%;height:100%;display:block}.amount-label{font-size:4cqw;font-weight:700}.amount-label span{display:block;font-size:2.7cqw;font-weight:400;margin-top:1cqw;color:#ccd6bf}.amount-input{width:100%;font:700 7cqw Arial;padding:3cqw;border:2px solid #d3b777;border-radius:2cqw;background:#fffae8;color:#244637;min-height:14cqw}.amount-presets{display:flex;gap:2cqw}.amount-presets button{flex:1;background:#e7ead6;color:#1b3b31;border:0;border-radius:2cqw;padding:3cqw 0;font-size:3cqw;min-height:11cqw}.checkout-summary{background:#f7edcc;color:#234135;padding:4cqw;border-radius:2cqw;min-height:28cqw}.checkout-summary p{display:flex;justify-content:space-between;gap:3cqw;font-size:3.5cqw;margin:1cqw 0 3cqw}.checkout-summary .checkout-total{font-size:4.6cqw;border-top:1px solid #cbbf98;padding-top:3cqw;margin-bottom:0}.checkout-summary .amount-error{color:#954627;font-weight:700;display:block;line-height:1.6}.finish:has(.coupon-claim){overflow-y:auto}.finish:has(.coupon-claim) .finish-stage{flex:none;min-height:30cqw;height:30cqw;max-height:30cqw}.finish:has(.coupon-claim) .finish-stage .sprite{width:35cqw;height:35cqw;left:32.5cqw}.finish:has(.coupon-claim) .loot{display:none}.finish:has(.coupon-claim) .finish-actions{gap:2cqw}.finish:has(.coupon-claim) .reward-ticket{margin-top:2cqw}.finish:has(.coupon-claim) .finish-title{font-size:6cqw}.finish:has(.coupon-claim) #reset{font-size:3.5cqw;min-height:10cqw;background:#e7e6c4;padding:2cqw 4cqw}.finish:has(.coupon-claim) .small{font-size:2.5cqw;margin:2cqw 0}.finish:has(.coupon-claim) .reward-ticket .amount{font-size:10cqw}.finish:has(.coupon-claim) .reward-ticket p{font-size:3cqw}

/* Guest code handoff. Keep the score screen compact on portrait phones. */
[hidden]{display:none!important}.code-box{padding:3cqw;background:#102f28;border:1px solid #7c946a;border-radius:2cqw;display:grid;gap:2cqw}.code-box label{font-size:3cqw;color:#e5dfbb}.code-box input,.code-input{width:100%;border:1px solid #bca36b;border-radius:1.5cqw;background:#fff4d1;color:#244231;padding:3cqw;font:700 4.6cqw monospace;text-align:center;min-height:12cqw}.code-box input{user-select:all}.code-box .arcade-button{min-height:11cqw;font-size:4.4cqw;padding:2cqw}.code-box .member-help{margin:0;font-size:2.8cqw}.finish:has(.code-box) .finish-stage{height:19cqw;min-height:19cqw;max-height:19cqw}.finish:has(.code-box) .finish-stage .sprite{width:28cqw;height:28cqw;left:36cqw;bottom:-9cqw}.finish:has(.code-box) .finish-badge{font-size:3cqw;top:2cqw}.finish:has(.code-box) .finish-title{font-size:5.7cqw}.finish:has(.code-box) .finish-score{margin:1cqw}.finish:has(.code-box) .finish-score strong{font-size:7cqw}.finish:has(.code-box) .reward-ticket{padding:2cqw;margin:2cqw 0}.finish:has(.code-box) .reward-ticket .amount{font-size:9cqw}.finish:has(.code-box) .finish-summary{padding-bottom:3cqw}.finish:has(.code-box) .secondary-button{min-height:10cqw;padding:2cqw}.code-input:disabled{opacity:.7}
