*{box-sizing:border-box} :root{color-scheme:dark;--bg:#122b30;--panel:#203b40;--gold:#f5cf86;--mint:#9ad6bc;--cream:#fff2d5;--line:#507077;--red:#b74d45}body{margin:0;background:radial-gradient(ellipse at top,#274e57,#122b30 65%);color:var(--cream);font-family:ui-monospace,'Courier New',monospace;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:2px solid #72918d;background:#31574f;padding:12px 14px;border-radius:4px;box-shadow:0 3px 0 #142925;font-weight:700}button:hover,button:focus-visible{border-color:var(--gold);background:#426b5d}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:#e9bd70;color:#223733;border-color:#ffe1a1;box-shadow:0 3px 0 #9c7543}button.selected{border-color:var(--gold);color:var(--gold)}a{color:var(--gold)}input,select,textarea{width:100%;color:var(--cream);background:#142e32;border:1px solid #7a9b97;border-radius:4px;padding:12px}label{display:block;margin:12px 0 6px;font-size:13px;color:var(--mint)}h1,h2,h3,p{margin:0}p{line-height:1.6}h1{font-size:clamp(28px,5vw,50px);line-height:1.05;letter-spacing:-2px}h2{font-size:24px;margin-bottom:10px}h3{font-size:17px}small,.muted{color:#b4cdca;font-size:12px;line-height:1.6}header{max-width:1100px;margin:auto;padding:18px 16px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:900;letter-spacing:1px}.brand b{display:block;color:var(--gold);font-size:20px}.logo{width:42px;height:42px;border:2px solid #edc77f;display:grid;place-items:center;background:#24483e;font-size:25px;box-shadow:3px 3px #0e2628}.topmeta{text-align:right}.topmeta strong{display:block;color:var(--gold)}main{max-width:1100px;margin:auto;padding:0 16px 115px}.hero{border:3px solid #70938e;box-shadow:5px 5px #0c2125;background:#244a4d;position:relative;overflow:hidden;border-radius:7px}.hero img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#102b32e8 0%,transparent 45%);pointer-events:none}.hero-copy{position:absolute;bottom:0;left:0;right:0;padding:clamp(16px,3vw,30px);z-index:1}.hero-copy p{max-width:580px;color:#e4e9d9;margin-top:8px;font-size:13px}.tag{font-size:10px;letter-spacing:2px;color:var(--gold);text-transform:uppercase;font-weight:bold;margin-bottom:7px}.section-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin:24px 0 12px}.section-head h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile{padding:0;text-align:left;overflow:hidden;background:#203e43;box-shadow:3px 3px #0d2428;border:2px solid #5b817d;min-width:0}.tile .body{padding:14px}.tile .body p{font-size:12px;font-weight:400;color:#c5dcd5;margin-top:5px}.scene{height:116px;display:block;width:100%;image-rendering:pixelated;background:#263f47}.tile .tag{margin-bottom:5px}.panel{border:2px solid var(--line);background:#213e43;border-radius:6px;padding:18px;box-shadow:3px 3px #10272b;margin-top:14px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.spread{justify-content:space-between}.stack{display:grid;gap:12px}.nav{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#162f35f5;border-top:2px solid #6b8b86;padding:8px 10px max(10px,env(safe-area-inset-bottom));display:flex;justify-content:center;gap:6px}.nav button{min-width:0;max-width:180px;flex:1;border:1px solid transparent;box-shadow:none;background:transparent;display:grid;gap:4px;text-align:center;padding:9px 4px;font-size:11px;color:#b9d0ca}.nav button span{font-size:21px}.nav button.active{color:var(--gold);border-color:#6b8b86;background:#294e4d}.gameboard{display:grid;gap:14px;text-align:center}.challenge{padding:24px;background:#142e33;border:2px solid #5d827c}.challenge .emoji{font-size:52px;line-height:1.3}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.choices button{min-height:68px}.progress{height:12px;border:1px solid #97b8a3;background:#142b2d;overflow:hidden}.progress div{height:100%;background:#e0b66e}.cam{position:relative;background:#0d191c;border:2px solid #6a8582;aspect-ratio:16/9;overflow:hidden;border-radius:4px}.cam img,.cam video,.cam canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cam .overlay{position:absolute;top:8px;left:8px;right:8px;display:flex;justify-content:space-between;pointer-events:none;gap:6px;font-size:11px;text-shadow:1px 1px #000}.cam .overlay span{background:#152b2bcc;padding:6px}.cam .label{position:absolute;bottom:8px;left:8px;font-size:11px;background:#152b2bcc;padding:5px}.cam .scan{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 4px,#0001 4px 5px)}.camtabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.cam video[hidden],.cam img[hidden],.cam canvas[hidden]{display:none}.report{border:2px solid #c2a975;background:#324b45;padding:18px;margin-top:16px}.rankline{display:flex;gap:12px;justify-content:space-between;align-items:center;border-bottom:1px solid #4e6d69;padding:10px 4px;font-size:13px}.rankline button{padding:7px 10px;box-shadow:none;min-width:85px}.score{font-size:36px;font-weight:900;color:var(--gold)}.pill{font-size:11px;padding:5px 7px;border:1px solid #71988c;color:var(--mint);border-radius:3px}.notice{font-size:13px;color:#c4ded3;margin:8px 0}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checks{display:grid;gap:8px}.checks label{display:flex;gap:8px;align-items:center;margin:0}.checks input{width:auto}.hidden,[hidden]{display:none!important}.footer{padding:22px 0 0;text-align:center;font-size:11px;color:#a6c2bd}.snow{pointer-events:none;position:absolute;inset:0;z-index:1;background-image:radial-gradient(circle,#ffffffb0 1px,transparent 2px),radial-gradient(circle,#ffffff80 1px,transparent 2px);background-size:55px 67px,97px 79px;animation:snow 18s linear infinite}@keyframes snow{to{background-position:55px 134px,97px 158px}}@media(prefers-reduced-motion:reduce){.snow{animation:none}}@media(max-width:650px){header{padding:13px 12px}.brand{font-size:11px}.brand b{font-size:15px}.logo{width:34px;height:34px;font-size:19px}.topmeta{font-size:10px}main{padding:0 12px 100px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.scene{height:92px}.tile .body{padding:10px}.tile h3{font-size:14px}.hero img{aspect-ratio:4/3}.hero-copy p{font-size:11px}.hero-copy h1{font-size:27px}.section-head h2{font-size:19px}.panel{padding:13px}.choices{grid-template-columns:repeat(2,1fr)}.formgrid{grid-template-columns:1fr}.nav button{font-size:10px}.nav button span{font-size:19px}}
/* Build 02: original scenes, distinct games, collection system */.tile .scene{height:auto;aspect-ratio:16/9;object-fit:cover;image-rendering:auto}.room-hero{position:relative;border:2px solid #72918d;border-radius:7px;overflow:hidden;box-shadow:4px 4px #10272b}.room-hero img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.room-caption{position:absolute;bottom:0;left:0;right:0;padding:18px;background:linear-gradient(transparent,#102b30ef)}.room-caption h2{margin:0}.room-object-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.room-object{padding:10px 5px;min-height:58px}.room-dialog{border-left:3px solid var(--gold);background:#172e32;padding:12px;margin-bottom:16px;min-height:64px;line-height:1.5}.stamp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stamp,.ornament{background:#1c383b;border:2px dashed #698580;min-width:0;border-radius:5px;text-align:center;padding:10px;display:grid;gap:8px;justify-items:center;color:#c1d5cf;box-shadow:none}.stamp.earned,.ornament.earned{border:2px solid #d6b575;color:#f9d99b;background:#2c4943}.stamp img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:3px;filter:saturate(.3);opacity:.6}.stamp.earned img{filter:none;opacity:1}.stamp strong,.ornament strong{font-size:13px}.ornament-gem{font-size:45px;line-height:1.1;text-shadow:2px 3px #142e32}.memory-grid,.target-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.memory-card{min-height:75px;font-size:22px;background:#41605a;border-color:#819b8b;transition:background .15s}.memory-card.open{font-size:14px;color:#172e32;background:#eed297;opacity:1;border-color:#f8e1b4}.target-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:540px;width:100%;margin:auto}.target{min-height:75px;background:#3d6571;color:#c9dfde;font-size:32px;box-shadow:inset 0 -6px #31525c}.target.bright{background:#d7e9e3;color:#b08031;border:3px solid #f6d494;text-shadow:0 0 8px #fff;box-shadow:0 0 12px #f9d49a44}.cookie-preview{font-size:100px;line-height:1;text-shadow:3px 4px #7d5037,-2px -2px #f0c18a;margin:10px}.cookie-detail{display:block}.conveyor{background:repeating-linear-gradient(90deg,#1b3438 0 32px,#263e40 32px 36px);border-bottom:7px solid #78978c}.conveyor-item{font-size:24px;background:#31574f;border:2px solid #d6bc83;max-width:250px;margin:10px auto;padding:15px;animation:arrive .3s ease-out}@keyframes arrive{from{transform:translateX(-20px);opacity:.4}to{transform:translateX(0);opacity:1}}.win-title{font-size:27px;color:var(--gold);font-weight:900;margin-bottom:10px}.win-ornament{color:var(--mint);margin-top:8px}.nav button{min-width:0}.nav button span{font-size:18px}.nav button{font-size:10px}@media(max-width:650px){.room-caption{padding:10px}.room-caption h2{font-size:20px}.room-object-grid{grid-template-columns:1fr}.room-object{min-height:44px}.stamp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-card{min-height:58px;padding:6px;font-size:18px}.memory-card.open{font-size:10px}.nav{gap:3px;padding-left:4px;padding-right:4px}.nav button{font-size:9px;padding:7px 2px}.nav button span{font-size:17px}}@media(prefers-reduced-motion:reduce){.conveyor-item{animation:none}}
/* Build 3: cinematic world and native-inspired shell; low-resolution arcade surfaces */
:root{color-scheme:dark;--bg:#0b1e22;--panel:#172e32;--gold:#f4ce87;--mint:#b7dfc9;--cream:#f9f6ee;--line:#ffffff1a;--red:#b74d45}body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",system-ui,sans-serif;background:radial-gradient(ellipse at 30% 0%,#234c4f 0,#102a2e 38%,#0b1e22 90%);color:var(--cream);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}header{padding:calc(14px + env(safe-area-inset-top,0px)) 20px 17px;max-width:1140px;gap:10px}.brand{letter-spacing:-.4px;font-weight:650;font-size:17px}.brand-name b{font-size:19px;letter-spacing:-.5px;color:#f8e8c8}.logo{border:1px solid #f7d69b72;border-radius:15px;width:46px;height:46px;background:linear-gradient(145deg,#2e6656,#153c36);box-shadow:0 5px 14px #061d2250;font-size:27px;color:var(--gold)}.topmeta{display:grid;gap:4px;font-size:12px}.topmeta strong{font-size:12px;font-weight:650}.topmeta small{color:#e4eedb;font-size:12px}main{max-width:1140px;padding:0 20px 125px}h1{letter-spacing:-2px;font-weight:800;font-size:clamp(35px,5.3vw,62px)}h2{font-weight:750;letter-spacing:-.7px;font-size:26px}h3{font-weight:700;letter-spacing:-.25px}p{line-height:1.55}small,.muted{color:#b7cbc7;font-size:13px}.tag{font-size:11px;font-weight:700;letter-spacing:1.1px;color:#e9c78c}.hero{border:1px solid #c6e4d82b;border-radius:28px;box-shadow:0 18px 50px #061b234d;isolation:isolate}.hero img{aspect-ratio:16/9;max-height:520px;object-position:50% 55%}.hero:after{background:linear-gradient(0deg,#081c20f0 0%,#0c252a80 28%,transparent 72%)}.hero-copy{padding:clamp(22px,4vw,42px);z-index:2}.hero-copy p{font-size:15px;max-width:450px;color:#eef1e9}.snow{opacity:.45;z-index:1}.section-head{margin:30px 0 14px;align-items:center}.grid{gap:14px}.tile{border:1px solid #c2e4d221;border-radius:19px;background:#1d3739;box-shadow:0 6px 18px #081b2040;overflow:hidden;transition:transform .18s,background .18s,border-color .18s}.tile:hover{background:#294b48;border-color:#bce5ce66;transform:translateY(-2px)}.tile:active{transform:scale(.98)}.tile .scene{aspect-ratio:16/10;object-fit:cover}.tile .body{padding:14px 15px 16px}.tile .body h3{font-size:17px}.tile .body p{font-size:13px;color:#bfd5d0}.tile .tag{font-size:10px;letter-spacing:.7px}.panel{background:linear-gradient(145deg,#1d393b,#182d31);border:1px solid #b0d5cc20;border-radius:22px;box-shadow:0 8px 22px #081c2138;padding:20px}.panel .notice{font-size:14px}.pill{background:#adc9b215;border:1px solid #c8ecd32b;border-radius:999px;color:#d2e9d3;padding:7px 11px;letter-spacing:0;font-weight:600}.notice{color:#c7dbd5;font-size:14px}button{border:1px solid #b7d8d333;border-radius:13px;background:#ffffff0d;color:#eff6ed;min-height:44px;font-weight:650;padding:11px 15px;box-shadow:none;transition:background .16s,transform .12s}button:hover,button:focus-visible{background:#ffffff1b;border-color:#e3cd92}button:active{transform:scale(.97)}button.primary{background:linear-gradient(135deg,#f8db9d,#e6b765);color:#24372c;border:1px solid #f4d89c;box-shadow:0 4px 12px #040e121f}button.selected{background:#d5bb7830;border-color:#f1d392;color:#fbe1a7}input,select,textarea{border-radius:12px;border:1px solid #b5d2cf35;background:#112a2d;padding:13px;font-size:16px}label{font-size:13px;font-weight:650;color:#c9e3d6}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #f3d18c;outline-offset:3px}.nav{max-width:720px;width:calc(100% - 24px);left:50%;right:auto;bottom:max(10px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);padding:7px;gap:4px;border-radius:24px;background:#10292ee8;border:1px solid #bdd9d334;box-shadow:0 12px 35px #04141782;backdrop-filter:blur(22px) saturate(1.4);-webkit-backdrop-filter:blur(22px) saturate(1.4)}.nav button{padding:8px 2px;gap:5px;border-radius:17px;font-size:11px;min-height:60px;color:#a5c2bf;display:grid;justify-items:center}.nav button span{width:24px;height:24px;display:block}.nav button svg{display:block;width:24px;height:24px}.nav button.active{background:#c9dfc31b;color:#ffe2a6;border:1px solid #d2e3d32b}.room-hero{border-radius:25px;border:1px solid #a3c9c831;box-shadow:0 12px 35px #061b2350;isolation:isolate}.room-hero img{aspect-ratio:16/9;object-fit:cover}.room-caption{padding:25px 20px 17px;pointer-events:none;z-index:2}.room-caption h2{font-size:30px}.room-hotspots{position:absolute;inset:0;z-index:3;pointer-events:none}.hotspot{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);border-radius:50%;width:44px;height:44px;min-height:44px;display:grid;place-items:center;padding:0;background:#13322dd9;border:2px solid #ffe1a3;box-shadow:0 0 0 6px #f6d19d38,0 4px 12px #0008;color:#fff0cb;font-size:17px;font-weight:750;animation:hotspotGlow 2.8s ease-in-out infinite}.hotspot:hover,.hotspot:active{transform:translate(-50%,-50%) scale(1.06)}.hotspot.discovered{background:#bcd9b7;color:#17342b;border-color:#e3efd6;animation:none}.room-object-grid{gap:10px}.room-object{min-height:50px;text-align:center}.room-dialog{background:#10292d;border-radius:13px;border-left:3px solid #e7c582;padding:15px;min-height:58px}.stamp-grid{gap:12px}.stamp,.ornament{border-radius:17px;background:#20383a;border:1px dashed #a4c7b74d;padding:12px}.stamp.earned,.ornament.earned{border:1px solid #dfc68a;background:#2b4942}.stamp img{border-radius:10px}.ornament-gem{text-shadow:0 3px 8px #0c2025}.cam{border-radius:18px;border:1px solid #b9d6ce39}.camtabs button{border-radius:999px}.cam .label,.cam .overlay span{border-radius:7px;font-size:10px}.report{border:1px solid #f4cf8a73;border-radius:18px;background:linear-gradient(145deg,#385b50,#26443d);padding:20px}.rankline{padding:12px 2px;border-color:#b9d6ce22}.rankline button{min-height:44px}.footer{color:#a0b5b2}.tree-layout{display:grid;grid-template-columns:minmax(120px,240px) 1fr;gap:20px;align-items:center}.tree-layout canvas{display:block;width:100%;height:auto;border-radius:15px;image-rendering:pixelated}.tree-ornaments{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tree-ornaments button{font-size:12px;min-height:45px}.tree-panel{margin-top:24px}
[data-view="play"] #gamearea{font-family:ui-monospace,"Courier New",monospace;background:linear-gradient(#112a2ff2,#112a2ff2),var(--game-art);background-size:cover;background-position:center;border-radius:22px;border:2px solid #7f9a86;box-shadow:0 12px 32px #061b2340}.gameboard button:not(#backgames){border-radius:5px;border:2px solid #799e91;box-shadow:0 3px 0 #0c2427}.gameboard button.primary{border-color:#f8d89a;box-shadow:0 3px 0 #927142}.gameboard .challenge{border-radius:7px;border:2px solid #71958c;background:#163036}.gameboard .conveyor{background:repeating-linear-gradient(90deg,#1b3438 0 32px,#263e40 32px 36px);border-bottom:7px solid #78978c}.gameboard .progress{border-radius:4px;height:11px}.gameboard .memory-card.open{background:#eed297;color:#172e32}.gameboard .target.bright{background:#d7e9e3;color:#b08031}.rooftop-stage{padding:8px!important}.rooftop-canvas{display:block;width:100%;height:auto;max-width:640px;margin:auto;image-rendering:pixelated;border:2px solid #779a9a;border-radius:3px;touch-action:manipulation}.rooftop-stage p{font-size:13px;margin:10px 0 0}.arcade-controls{display:grid;grid-template-columns:2fr 1fr;gap:10px}.arcade-controls button{min-height:58px;font-size:18px}.assembly-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.assembly-parts span{padding:12px 5px;min-height:58px;border:1px solid #a2bdad;background:#284d49;border-radius:4px;font-size:12px}.assembly-parts span.built{background:#d3dfb9;color:#16382d}.assembly-toy{max-width:540px;margin:auto}.gameboard .conveyor-item{border-radius:4px}.win-title{color:#f9d998}
@keyframes hotspotGlow{0%,100%{box-shadow:0 0 0 4px #f6d19d30,0 4px 12px #0008}50%{box-shadow:0 0 0 9px #f6d19d10,0 4px 12px #0008}}@media(max-width:650px){header{padding:calc(10px + env(safe-area-inset-top,0px)) 14px 14px}.brand-name{font-size:13px}.brand-name b{font-size:16px}.logo{width:39px;height:39px;border-radius:12px;font-size:22px}.topmeta strong,.topmeta small{font-size:11px}main{padding:0 12px 115px}.hero{border-radius:22px}.hero img{aspect-ratio:4/3;max-height:none}.hero-copy{padding:19px}.hero-copy h1{font-size:34px;letter-spacing:-1px}.hero-copy p{font-size:12px;line-height:1.45}.section-head{margin:23px 0 12px}.section-head h2{font-size:23px}.grid{gap:10px}.tile{border-radius:16px}.tile .body{padding:11px 10px}.tile .body h3{font-size:15px}.tile .body p{font-size:12px}.tile .tag{font-size:9px}.panel{padding:15px;border-radius:19px}.nav{width:calc(100% - 16px);border-radius:21px;padding:5px;gap:2px}.nav button{font-size:10px;min-height:55px;padding:7px 2px}.nav button span,.nav button svg{width:23px;height:23px}.room-hero{border-radius:19px}.room-caption{padding:16px 12px 10px}.room-caption h2{font-size:23px}.room-caption .tag{font-size:9px}.hotspot{width:38px;height:38px;min-height:38px;font-size:15px}.room-object-grid{grid-template-columns:1fr}.room-object{min-height:44px}.tree-layout{grid-template-columns:1fr;gap:12px}.tree-layout canvas{max-width:190px;margin:auto}.arcade-controls button{font-size:16px}.gameboard .challenge{padding:14px}.stamp-grid{gap:9px}.rankline .pill{font-size:10px;padding:5px 7px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}.snow{animation:none!important}.hotspot{animation:none!important}}
/* Approved Wonderland brand tokens adapted to the Adventures iOS-inspired interface */
@font-face{font-family:Fredoka;src:url('/fonts/fredoka.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:Nunito;src:url('/fonts/nunito.woff2') format('woff2');font-weight:200 1000;font-display:swap}
:root{--brand-midnight:#142F46;--brand-cranberry:#BC3E48;--brand-evergreen:#226B50;--brand-gold:#F7CF83;--bg:#142F46;--panel:#224459;--cream:#FFF4DD;--gold:#F7CF83;--mint:#D3E5E9;--line:#F7CF8330;--red:#BC3E48;--font-display:Fredoka,'Trebuchet MS',sans-serif;--font-body:Nunito,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;--font-story:Georgia,serif}
body{background:radial-gradient(ellipse at 50% -12%,#315b70 0,#142F46 48%,#0e2639 100%);font-family:var(--font-body);color:var(--cream)}h1,h2,h3,.brand-name{font-family:var(--font-display);letter-spacing:0;font-weight:600}.hero-copy h1{font-family:var(--font-display);letter-spacing:0;color:#FFF4DD}.hero-copy p{color:#F4F8F6}.hero:after{background:linear-gradient(0deg,#10283af5, #142F4670 36%,transparent 78%)}.brand{display:flex;flex-wrap:wrap;align-items:center;gap:2px;max-width:310px}.approved-logo{display:block;width:clamp(146px,26vw,250px);height:auto}.edition{font-family:var(--font-body);font-size:10px;text-transform:uppercase;letter-spacing:2px;color:#D3E5E9;font-weight:900;margin-left:42px}.topmeta strong{color:#F7CF83}.topmeta small{color:#D3E5E9}header{border-bottom:1px solid #F7CF8324;margin-bottom:12px}.nav{background:#142F46ee;border-color:#F7CF8350}.nav button{color:#D3E5E9}.nav button.active{background:#224459;color:#F7CF83;border-color:#F7CF8350}.nav button svg{stroke-width:1.8}.panel{background:linear-gradient(145deg,#224459,#19364a);border-color:#F7CF8330}.tag{color:#F7CF83}.pill{background:#224459;color:#FFF4DD;border-color:#F7CF8350}.notice,.muted,small{color:#D3E5E9}.tile{background:#FFF4DD;color:#263A42;border:1px solid #ddc59c;box-shadow:0 6px 18px #06182640}.tile:hover{background:#F7E8C5;border-color:#F7CF83}.tile .body{position:relative;min-height:100px}.tile .body p{color:#52666E}.tile .tag{color:#226B50;font-weight:850}.tile .body h3{color:#142F46}.location-badge{width:37px;height:37px;object-fit:contain;float:right;margin:0 0 4px 4px}.tile:has(.location-badge) .body h3{padding-right:1px}.tile .scene{border-bottom:1px solid #d4bb91}.room-hero{border-color:#F7CF8370}.room-dialog{font-family:var(--font-story);background:#FFF4DD;color:#263A42;border-left-color:#BC3E48;line-height:1.65}.hotspot{background:#142F46e8;color:#FFF4DD;border-color:#F7CF83}.hotspot.discovered{background:#226B50;color:#FFF4DD}.room-caption{background:linear-gradient(transparent,#142F46f5)}button{border-radius:14px;min-height:48px;border-color:#F7CF8333;background:#224459;color:#FFF4DD}button.primary{background:#BC3E48;color:#fff;border:1px solid #ffffff30;box-shadow:0 3px 0 #862E39}button.primary:hover{background:#A93240}button.selected{background:#226B50;color:#FFF4DD;border-color:#F7CF83}.stamp,.ornament{background:#FFF4DD;color:#263A42;border:1px dashed #d1bb91}.stamp small,.ornament small{color:#52666E}.stamp.earned,.ornament.earned{background:#e4efdc;color:#226B50;border:2px solid #226B50}.stamp img{width:76px;height:76px;object-fit:contain;aspect-ratio:1}.stamp strong,.ornament strong{font-weight:900}.report{background:#FFF4DD;color:#263A42;border-color:#F7CF83}.report .tag,.report .score{color:#226B50}.report .notice{color:#52666E}.report h2{color:#142F46}.gameboard{color:#FFF4DD}.gameboard h2{font-family:var(--font-display)}.gameboard button.primary{background:#BC3E48;color:white;border-color:#F7CF83;box-shadow:0 3px 0 #862E39}.gameboard .challenge{background:#142F46;border-color:#F7CF8360}.gameboard .progress div{background:#F7CF83}.gameboard .target.bright{background:#D3E5E9;color:#754D3A}.gameboard .memory-card.open{background:#FFF4DD;color:#142F46}.gameboard .win-title{color:#F7CF83}.passport-banner{display:flex;align-items:center;gap:20px;padding:18px;background:linear-gradient(125deg,#226B50,#194C3C);border:1px solid #F7CF8350;border-radius:24px}.passport-banner img{width:clamp(72px,19vw,130px);height:auto;flex:none}.passport-banner p{color:#D3E5E9;font-size:14px}.passport-banner h2{margin:4px 0}.daily-card{padding:20px;margin:20px 0 0;background:#FFF4DD;border:1px solid #ddc59c;border-radius:24px;color:#263A42;box-shadow:0 8px 22px #081c2138}.daily-top{display:flex;align-items:center;gap:12px}.daily-top>img{width:56px;height:56px}.daily-top>div{flex:1;min-width:0}.daily-top .tag{color:#226B50;font-size:10px}.daily-top h2{margin:2px 0;color:#142F46;font-size:25px}.daily-top p{font-size:13px;color:#52666E}.daily-count{font-size:22px;font-weight:900;color:#226B50}.daily-progress{height:9px;border-radius:99px;background:#e6d8ba;overflow:hidden;margin:16px 0}.daily-progress>div{height:100%;background:#226B50;transition:width .25s;border-radius:99px}.daily-tasks{display:grid;gap:8px}.daily-task{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#fff9ec;color:#142F46;border:1px solid #dfcba5;padding:8px 10px}.daily-task:hover{background:#f7e8c5}.daily-task img{width:32px;height:32px}.daily-task span:nth-child(2){flex:1}.daily-arrow{font-size:20px;color:#226B50}.daily-task.complete{opacity:1;background:#e4efdc;color:#226B50;cursor:default}.daily-card .primary{width:100%;margin-top:12px}.daily-card .muted{color:#52666E;font-size:12px;text-align:center;margin-top:10px}.ambient-room,.cam-ambient{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}.ambient-room::before,.cam-ambient::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 25% 40%,#ffd47a40,transparent 24%),radial-gradient(ellipse at 77% 48%,#F7CF8330,transparent 27%);opacity:.4;animation:warmGlow 5s ease-in-out infinite alternate}.ambient-room[data-room="park"]::before,.cam-ambient[data-room="park"]::before{background-image:radial-gradient(circle,#fff 1px,transparent 2px),radial-gradient(circle,#ffffffa0 1px,transparent 2px);background-size:47px 57px,91px 77px;opacity:.65;animation:sceneSnow 16s linear infinite}.ambient-room[data-room="park"]::after,.cam-ambient[data-room="park"]::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 75% 15%,#83B8D620,transparent 35%);animation:warmGlow 7s ease-in-out infinite alternate}.cam-ambient{z-index:1}.cam .overlay,.cam .label{z-index:3}.cam .scan{z-index:2}.camtabs{gap:6px}.camtabs button{min-height:44px;font-size:13px}.footer{color:#D3E5E9}.tree-panel .tree-ornaments button.selected{background:#226B50}.tree-panel canvas{border:1px solid #F7CF8350}@keyframes warmGlow{from{opacity:.25}to{opacity:.85}}@keyframes sceneSnow{to{background-position:47px 114px,91px 154px}}@media(max-width:650px){.approved-logo{width:174px}.edition{margin-left:28px;font-size:9px}.brand{max-width:195px}.topmeta{flex-shrink:0}.topmeta strong,.topmeta small{font-size:11px}.daily-card{padding:14px;border-radius:19px}.daily-top>img{width:43px;height:43px}.daily-top h2{font-size:21px}.daily-task{font-size:13px}.daily-task img{width:27px;height:27px}.daily-count{font-size:19px}.location-badge{width:29px;height:29px}.tile .body{min-height:92px}.passport-banner{padding:13px;gap:12px}.passport-banner h2{font-size:21px}.passport-banner p{font-size:12px}.stamp img{width:64px;height:64px}.room-object{min-height:48px}.hotspot{width:44px;height:44px;min-height:44px}}@media(max-width:350px){.approved-logo{width:145px}.topmeta strong,.topmeta small{font-size:10px}}@media(prefers-reduced-motion:reduce){.ambient-room::before,.ambient-room::after,.cam-ambient::before,.cam-ambient::after{animation:none!important}.daily-progress>div{transition:none}}

/* Build 5: seasonal adventures, accessible arcade and achievements */
.season-entry{display:flex;align-items:center;gap:15px;padding:18px;margin-top:20px;background:linear-gradient(125deg,#226B50,#193d39);border:1px solid #F7CF8370;border-radius:24px;box-shadow:0 10px 28px #081c2138}.season-entry>img{width:clamp(60px,17vw,105px);height:auto;flex:none}.season-entry h2{margin:4px 0}.season-entry p{font-size:14px;color:#D3E5E9;margin-bottom:10px}.season-entry button{min-height:48px}.season-hero{position:relative;border-radius:24px;overflow:hidden;border:1px solid #F7CF8350;isolation:isolate}.season-hero img{width:100%;aspect-ratio:16/7;object-fit:cover;display:block}.season-hero>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;background:linear-gradient(transparent,#142F46ef)}.season-hero h1{font-size:clamp(32px,5vw,54px);color:#FFF4DD;margin:3px 0}.season-hero p{font-size:14px}.advent-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:20px 0}.advent-door{position:relative;display:grid;place-items:center;min-height:100px;aspect-ratio:1;border:1px solid #F7CF83a0;border-radius:15px;background:linear-gradient(140deg,#BC3E48,#8d2637);box-shadow:0 4px 0 #741d2b;color:#FFF4DD;padding:9px}.advent-door:nth-child(3n){background:linear-gradient(145deg,#226B50,#194C3C)}.advent-door:disabled:not(.opened){opacity:.58;background:#224459;box-shadow:none;border-color:#D3E5E935}.advent-door.opened{background:#FFF4DD;color:#226B50;border:2px solid #F7CF83;box-shadow:none}.door-number{font-family:var(--font-display);font-size:30px;line-height:1.1}.door-mark{font-size:17px}.advent-door.eve-door{border:2px solid #F7CF83}.letter-card{background:#FFF4DD;color:#263A42;border:1px solid #F7CF83;border-radius:20px;padding:24px;margin:18px 0;box-shadow:0 7px 20px #06182660}.letter-card h2{color:#142F46;margin:12px 0}.letter-kicker{font:800 11px var(--font-body);letter-spacing:1px;color:#226B50}.letter-card>p{font-family:Georgia,serif;font-size:17px;line-height:1.7}.letter-task{margin:20px 0;background:#e4efdc;color:#263A42;border-radius:12px;padding:15px;border-left:3px solid #226B50}.letter-task p{margin-top:4px;font-size:15px}.letter-sign{font-style:italic;color:#754D3A;margin-bottom:20px}.eve-clock{font-family:var(--font-display);font-size:clamp(26px,5vw,36px);color:#F7CF83;margin:14px 0;letter-spacing:.5px}.eve-panel img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:15px;margin:18px 0}.eve-panel h3{margin-bottom:8px}.eve-checks{display:grid;gap:9px;margin:14px 0}.eve-checks button{text-align:left}.eve-panel #evefeedback{margin-top:12px;color:#F7CF83}.achievement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.achievement{background:#FFF4DD;color:#263A42;border-radius:17px;border:1px dashed #d1bb91;padding:12px;display:grid;justify-items:center;gap:6px;text-align:center}.achievement img{width:58px;height:58px;filter:grayscale(1);opacity:.45}.achievement.earned{background:#e4efdc;border:2px solid #226B50}.achievement.earned img{filter:none;opacity:1}.achievement strong{font-size:14px}.achievement small{color:#52666E;font-size:12px}.achievement-state{font-size:11px;color:#52666E;font-weight:850}.achievement.earned .achievement-state{color:#226B50}.setting-toggle{display:flex;align-items:center;gap:12px;min-height:48px;font-size:15px}.setting-toggle input{width:21px;height:21px;accent-color:#226B50;flex:none}.arcade-welcome{display:flex;align-items:center;gap:12px;padding:14px;background:#224459;border-radius:18px;border:1px solid #F7CF8330;margin-bottom:15px}.arcade-welcome>div:nth-child(2){flex:1}.pixel-elf{position:relative;width:48px;height:48px;flex:none;background:#142F46;border-radius:8px;overflow:hidden}.pixel-elf:before{content:"";width:4px;height:4px;position:absolute;left:10px;top:8px;background:#F7CF83;box-shadow:8px 0 #226B50,12px 0 #226B50,4px 4px #226B50,8px 4px #226B50,12px 4px #226B50,16px 4px #226B50,0 8px #BC3E48,4px 8px #BC3E48,8px 8px #BC3E48,12px 8px #BC3E48,16px 8px #BC3E48,20px 8px #BC3E48,4px 12px #f2c69b,8px 12px #263A42,12px 12px #f2c69b,16px 12px #263A42,20px 12px #f2c69b,4px 16px #f2c69b,8px 16px #f2c69b,12px 16px #f2c69b,16px 16px #f2c69b,20px 16px #f2c69b,0 20px #226B50,4px 20px #226B50,8px 20px #226B50,12px 20px #F7CF83,16px 20px #226B50,20px 20px #226B50,24px 20px #226B50,4px 24px #226B50,8px 24px #226B50,12px 24px #226B50,16px 24px #226B50,20px 24px #226B50,4px 28px #BC3E48,8px 28px #BC3E48,16px 28px #BC3E48,20px 28px #BC3E48;animation:elfBob 1.3s steps(2,end) infinite}.lantern-sequence,.lantern-grid{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}.lantern-chip,.lantern-button{background:var(--lantern)!important;color:#142F46!important;text-shadow:0 1px #ffffff40;border:2px solid #FFF4DD!important;padding:12px 10px;border-radius:6px;min-width:70px;font-weight:850}.lantern-chip:nth-child(1){animation:lanternGlow 1.4s infinite alternate}.lantern-button[style*="#BC3E48"],.lantern-button[style*="#226B50"],.lantern-chip[style*="#BC3E48"],.lantern-chip[style*="#226B50"]{color:#FFF4DD!important}.catch-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.catch-controls button{min-height:55px}.gameboard .rooftop-canvas{touch-action:manipulation}@keyframes elfBob{50%{transform:translateY(-3px)}}@keyframes lanternGlow{to{filter:brightness(1.15)}}@media(max-width:650px){.season-entry{padding:14px;gap:12px}.season-entry h2{font-size:23px}.season-entry p{font-size:12px}.season-hero{border-radius:19px}.season-hero img{aspect-ratio:4/3}.season-hero>div{padding:15px}.season-hero p{font-size:12px}.advent-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.advent-door{min-height:70px;padding:7px;border-radius:12px}.door-number{font-size:25px}.letter-card{padding:17px}.letter-card>p{font-size:16px}.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.arcade-welcome{padding:11px}.arcade-welcome button{font-size:12px;padding:8px}.lantern-chip,.lantern-button{min-width:63px;font-size:12px}}@media(prefers-reduced-motion:reduce){.pixel-elf:before,.lantern-chip{animation:none!important}}

.market-entry{display:flex;align-items:center;gap:15px;padding:18px;margin-top:20px;background:#FFF4DD;color:#263A42;border-radius:24px;border:1px solid #F7CF83}.market-entry img{width:76px;height:76px;flex:none}.market-entry .tag{color:#226B50}.market-entry h2{color:#142F46;margin:4px 0}.market-entry p{font-size:14px;margin-bottom:10px}.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.shop-item{background:#FFF4DD;border:1px solid #E1C89A;color:#263A42;border-radius:18px;padding:14px;display:grid;justify-items:center;gap:8px;text-align:center}.shop-art{width:82px;height:82px;background:#142F46;border-radius:14px;image-rendering:pixelated}.shop-item h3{color:#142F46;font-size:17px}.shop-item .price{color:#226B50;font-weight:850}.shop-item button{width:100%;font-size:13px;padding:8px 5px}.shop-item button:disabled{background:#dfe4d6;color:#52666E;opacity:1;box-shadow:none;border-color:#b4c3af}.shop-tree-title{margin:16px 0 8px;font-size:17px}.room-story{background:#FFF4DD;color:#263A42;border:1px solid #DCC69C;border-radius:18px;padding:16px;margin:16px 0}.room-story .tag{color:#226B50}.room-story h3{color:#142F46;margin:5px 0 10px;font-size:22px}.room-story p{font-family:Georgia,serif;line-height:1.65}.story-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.story-choices button{background:#226B50;color:#FFF4DD;font-size:14px}.room-story #roomstoryread{background:#f2e2bd;color:#142F46;margin-top:9px;border:1px solid #c9b88f}.room-story #roomstoryresult{color:#226B50;font-weight:700}.secret-charm{position:absolute;z-index:4;transform:translate(-50%,-50%);width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:#142F4666;color:#F7CF83;font-size:23px;border:1px dashed #F7CF83;box-shadow:0 0 10px #F7CF8366;animation:charmGlow 2.5s ease-in-out infinite}.secret-charm:active{transform:translate(-50%,-50%) scale(.95)}.charm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.charm-card{display:grid;justify-items:center;gap:4px;text-align:center;font-size:12px;padding:10px 5px;border:1px dashed #D3E5E955;min-width:0}.charm-card img{width:42px;height:42px;filter:grayscale(1);opacity:.45}.charm-card.found{background:#226B50;border:1px solid #F7CF83}.charm-card.found img{filter:none;opacity:1}.charm-card small{font-size:10px}.memory-grid .memory-card{min-height:64px}.gameboard .lantern-chip,.gameboard .lantern-button{min-height:48px}@keyframes charmGlow{50%{box-shadow:0 0 18px #F7CF83a0}}@media(max-width:650px){.market-entry{padding:14px;gap:12px}.market-entry img{width:54px;height:54px}.market-entry h2{font-size:23px}.market-entry p{font-size:12px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shop-item{padding:11px}.shop-art{width:72px;height:72px}.shop-item h3{font-size:16px}.story-choices{grid-template-columns:1fr}.room-story{padding:14px}.charm-card span{font-size:11px}}@media(prefers-reduced-motion:reduce){.secret-charm{animation:none!important}}

.cutstage{position:relative;overflow:hidden;border-radius:24px;border:1px solid #F7CF8360;background:#142F46}.cutstage img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;animation:cutpan 10s ease-in-out both}.cutstage img.pixel-cut{animation:none}.cutshade{position:absolute;inset:0;background:linear-gradient(0deg,#142F46f5,transparent 70%);pointer-events:none}.cutcaption{position:absolute;bottom:0;left:0;right:0;padding:20px}.cutcaption h1{font-size:clamp(26px,5vw,48px);line-height:1.1;color:#FFF4DD}.cutdialog{background:#FFF4DD;color:#263A42;border:1px solid #F7CF83;border-radius:22px;margin-top:14px;padding:20px}.cutspeaker{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.cutspeaker img{width:58px;height:58px;flex:none}.cutspeaker h3{color:#226B50;margin:0 0 5px}.cutspeaker p{font-family:Georgia,serif;font-size:17px;line-height:1.6}.cuticons{display:flex;align-items:center;justify-content:center;gap:20px;background:#142F46;border-radius:14px;padding:12px;margin-bottom:14px;color:#F7CF83;font-size:24px}.cuticons .pixel-sprite{width:78px;height:78px}.quiet{background:transparent;color:#52666E;border:none;box-shadow:none;display:block;margin:8px auto 0}.cutdialog #cutread{background:#E4EFDC;color:#226B50;border-color:#B2C8AD}.pixel-sprite,.win-sprite{width:56px;height:56px;image-rendering:pixelated;display:block}.win-sprite{width:94px;height:94px;margin:4px auto;animation:prizepop .35s ease-out}.picchoice{display:grid;justify-items:center;align-content:center;gap:5px;min-height:102px}.picchoice .pixel-sprite{width:46px;height:46px;border-radius:5px}.conveyor-item{display:grid;justify-items:center;gap:6px}.conveyor-item .pixel-sprite{width:86px;height:86px}.memory-card{display:grid;justify-items:center;align-content:center;gap:3px}.memory-card .pixel-sprite{width:39px;height:39px}.memory-card:not(.open) .pixel-sprite{opacity:.5}.memory-card span{font-size:12px}.target{display:grid;place-items:center}.target .pixel-sprite{width:48px;height:48px}.gamehint{background:#FFF4DD;color:#142F46;padding:12px;border-radius:9px;font-size:14px;text-align:left}.tile{position:relative}.spritebadge{position:absolute;top:8px;right:8px;background:#142F46dc;border:1px solid #F7CF83;border-radius:10px;padding:4px}.spritebadge .pixel-sprite{width:42px;height:42px}.trailcard{margin:16px 0;padding:15px;border:1px solid #F7CF8350;border-radius:18px;background:#142F46}.trailcard h3{margin:0}.trailcard p{font-size:14px;margin:8px 0}.trailclues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.trailclue{display:grid;justify-items:center;gap:4px;text-align:center;background:#224459;border:1px solid #D3E5E935;padding:8px 3px;border-radius:12px;font-size:12px}.trailclue.found{background:#226B50;border-color:#F7CF83}.trailclue small{font-size:10px}.trailtargets{position:absolute;inset:0;z-index:4;pointer-events:none}.trailobject{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);background:#142F4633;border:1px solid #F7CF8360;border-radius:9px;width:44px;height:44px;min-height:44px;padding:3px;display:grid;place-items:center}.trailobject .pixel-sprite{width:36px;height:36px;filter:drop-shadow(0 1px 2px #0009)}.trailobject:hover,.trailobject:active{transform:translate(-50%,-50%) scale(1.05)}.trailobject.hinted{background:#142F46d9;box-shadow:0 0 0 7px #F7CF8380,0 0 18px #F7CF83;border-color:#F7CF83}.wrap-preview{width:192px;height:144px;image-rendering:pixelated;display:block;margin:0 auto 8px}.charm-card .pixel-sprite{width:46px;height:46px}@keyframes cutpan{from{transform:scale(1)}to{transform:scale(1.035)}}@keyframes prizepop{from{transform:scale(.7);opacity:.4}to{transform:scale(1);opacity:1}}@media(max-width:650px){.cutstage img{aspect-ratio:4/3}.cutcaption{padding:15px}.cutdialog{padding:15px}.cutspeaker img{width:45px;height:45px}.cutspeaker p{font-size:16px}.picchoice{min-height:88px;font-size:12px}.memory-card .pixel-sprite{width:34px;height:34px}.memory-card span{font-size:10px}.trailclue .pixel-sprite{width:44px;height:44px}.trailobject .pixel-sprite{width:33px;height:33px}}@media(prefers-reduced-motion:reduce){.cutstage img,.win-sprite{animation:none!important}}

/* Build 8: cinematic Christmas play, dimensional illustrations and modern touch controls */
.arcade-emblem{width:54px;height:54px;object-fit:contain;flex:none}.arcade-welcome{background:linear-gradient(130deg,#224459,#142F46);border-color:#F7CF8360}.arcade-welcome h3{font-size:22px}.tile .scene{image-rendering:auto}#games .tile .scene{aspect-ratio:16/10;filter:brightness(.91) saturate(.94)}#games .tile .body{min-height:100px}#games .spritebadge{background:#FFF4DDF2;border:1px solid #F7CF83;border-radius:16px;box-shadow:0 4px 12px #0717236b;padding:4px}.object-art,.win-sprite,.toy-model,.cookie-real,.wrap-preview,.shop-art,.tree-layout canvas,.rooftop-canvas{image-rendering:auto!important;display:block}.object-art{width:62px;height:62px;object-fit:contain}.spritebadge .object-art{width:55px;height:55px}.cuticons{background:#E5D8BE;color:#754D3A;border:1px solid #CDB48C}.cuticons .object-art{width:92px;height:92px}.cutstage img.tutorial-cut{animation:none;filter:brightness(.88)}.cutdialog .cutspeaker img{width:60px;height:60px}.cutdialog h3{font-size:24px}.gameboard#gamearea{font-family:var(--font-body)!important;background:linear-gradient(#142F46C9,#142F46EE),var(--game-art)!important;background-size:cover!important;background-position:center!important;border:1px solid #F7CF8360!important;border-radius:24px!important;box-shadow:0 12px 35px #06182675}.gameboard #gametitle{font-family:var(--font-display);font-size:clamp(26px,5vw,38px);color:#FFF4DD}.gameboard #round{color:#F7CF83;font-weight:850}.gameboard .challenge{border:1px solid #F7CF8360!important;border-radius:20px!important;background:linear-gradient(145deg,#224459D9,#142F46EF)!important;padding:22px}.gameboard .conveyor{background:linear-gradient(145deg,#224459F0,#142F46EF)!important;border-bottom:1px solid #F7CF8360!important}.conveyor-item{background:#FFF4DD;color:#142F46;border:1px solid #F7CF83;border-radius:19px!important;min-width:150px;max-width:320px;box-shadow:0 6px 12px #07172350;padding:12px}.conveyor-item .object-art{width:115px;height:115px}.gameboard button:not(#backgames){border-radius:14px!important;box-shadow:0 3px 0 #0D2638!important;border:1px solid #F7CF8350!important;font-family:var(--font-body);font-weight:800}.gameboard button.primary{background:#BC3E48!important;border:1px solid #F7CF8370!important;box-shadow:0 3px 0 #862E39!important}.gameboard .picchoice{background:#FFF4DD;color:#142F46;min-height:110px;gap:4px;padding:8px}.picchoice .object-art{width:68px;height:68px}.gameboard .picchoice:hover{background:#F7E8C5}.gameboard .memory-card{background:linear-gradient(145deg,#365D70,#18394F);border-color:#F7CF8370!important;color:#FFF4DD;min-height:94px}.gameboard .memory-card.open{background:#FFF4DD!important;color:#142F46}.memory-card .object-art{width:53px;height:53px}.memory-card:not(.open) .object-art{opacity:.6}.gameboard .target{background:linear-gradient(150deg,#27536A,#142F46);min-height:88px}.gameboard .target.bright{background:radial-gradient(ellipse,#FFF4DD,#83B8D6)!important;box-shadow:0 0 12px #F7CF8350!important}.target .object-art{width:62px;height:62px}.gameboard .lantern-chip,.gameboard .lantern-button{display:grid;justify-items:center;align-content:center;background:#142F46!important;color:#FFF4DD!important;border:1px solid var(--lantern)!important;min-width:72px;padding:8px 6px}.lantern-chip .object-art,.lantern-button .object-art{width:64px;height:64px;filter:drop-shadow(0 0 10px var(--lantern))}.cookie-real{width:190px;height:190px;margin:auto}.toy-model{width:125px;height:125px;margin:auto}.wrap-preview{width:min(240px,100%);height:auto;margin:0 auto 8px}.rooftop-canvas{border-radius:17px!important;border:1px solid #F7CF8370!important;box-shadow:0 6px 20px #0E263940}.gameboard .rooftop-stage{padding:8px!important}.assembly-parts span{border-radius:12px;background:#224459;border:1px solid #F7CF8350;font-size:14px}.assembly-parts span.built{background:#E4EFDC;color:#226B50}.gameboard .progress{border-radius:99px;background:#0E2639;border:1px solid #F7CF8350}.gameboard .progress div{border-radius:99px}.trailobject{background:#142F461C;border-color:#F7CF8335;box-shadow:none}.trailobject .object-art{width:40px;height:40px;filter:drop-shadow(0 2px 3px #0009)}.trailclue .object-art{width:52px;height:52px}.charm-card .object-art{width:48px;height:48px}.shop-art{background:radial-gradient(ellipse,#416675,#142F46);width:94px;height:94px;border:1px solid #F7CF8340}.tree-layout canvas{background:#142F46;border-radius:18px}.win-sprite{width:120px;height:120px}.win-title{font-family:var(--font-display);font-size:30px}.nav{backdrop-filter:blur(24px) saturate(1.3)}@media(max-width:650px){#games .tile .body{min-height:85px}.spritebadge .object-art{width:42px;height:42px}.gameboard .challenge{padding:14px}.gameboard .picchoice{min-height:96px;padding:7px 3px;font-size:13px}.picchoice .object-art{width:54px;height:54px}.memory-card .object-art{width:42px;height:42px}.gameboard .memory-card{min-height:78px}.gameboard .target{min-height:73px}.target .object-art{width:51px;height:51px}.trailobject .object-art{width:36px;height:36px}.lantern-chip .object-art,.lantern-button .object-art{width:49px;height:49px}.gameboard .lantern-chip,.gameboard .lantern-button{min-width:60px}.conveyor-item .object-art{width:98px;height:98px}}

/* Build 9 calm child-first shell: progressive disclosure and picture-led actions */
[hidden]{display:none!important}body{background:linear-gradient(160deg,#224459,#142F46 50%,#10283b);overscroll-behavior-y:auto}header{margin-bottom:6px;padding-top:10px;padding-bottom:10px}.edition{display:none}.topmeta small{font-size:11px}.hero.simple-hero img{aspect-ratio:16/7;min-height:150px}.simple-hero .hero-copy{padding:16px}.simple-hero h1{font-size:clamp(25px,5vw,42px);line-height:1.12;max-width:520px}.simple-hero:after{background:linear-gradient(0deg,#142F46d9,transparent 75%)}.section-head{margin:20px 0 10px}.section-head h2{font-size:24px}#destinations .tile .scene,#games .tile .scene{height:auto;aspect-ratio:16/10;object-fit:cover}#destinations .tile .body,#games .tile .body{min-height:0;padding:11px 10px;display:flex;align-items:center;gap:7px}#destinations .tile .tag,#games .tile .tag,#games .tile .body p{display:none}#destinations .tile h3,#games .tile h3{font-size:17px;line-height:1.2}#destinations .location-badge{float:none;width:29px;height:29px;margin:0;order:2;flex:none}#destinations .tile h3{flex:1}.tile{box-shadow:none!important}.tile:hover{transform:none}.home-extras{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.extra-tile{display:grid;justify-items:center;align-content:center;gap:7px;padding:12px 5px;background:#FFF4DD;color:#142F46;border:1px solid #dec69c;font-size:13px;text-align:center;line-height:1.3;min-height:96px}.extra-tile img{width:48px;height:48px;object-fit:contain}.parent-entry{display:block;margin:16px auto 0;background:transparent;border:0;box-shadow:none;color:#D3E5E9;font-size:12px}.quiet-details{padding:0!important;background:#224459;border:1px solid #F7CF8335;border-radius:17px;margin-top:14px}.quiet-details summary{list-style:none;display:flex;align-items:center;gap:10px;padding:15px;min-height:52px;font-weight:850;color:#FFF4DD;cursor:pointer}.quiet-details summary::-webkit-details-marker{display:none}.quiet-details summary img{width:36px;height:36px}.quiet-details summary .disclosure{margin-left:auto;font-size:22px;color:#F7CF83}.quiet-details[open] summary .disclosure{transform:rotate(90deg)}.details-body{padding:0 15px 15px}.daily-card.quiet-details .details-body{background:#FFF4DD;border-radius:0 0 17px 17px;padding:15px}.daily-card .daily-top{display:none}.daily-card .daily-progress{margin:3px 0 10px}.compact-head{margin-top:3px}.room-actions{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:9px;margin:12px 0}.room-actions button{min-height:82px;display:grid;justify-items:center;align-content:center;gap:3px;font-size:18px;padding:9px 4px}.room-actions svg{width:30px;height:30px}.room-actions .object-art{width:37px;height:37px}.room-secondary{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:15px 0}.room-secondary button{background:transparent;border:1px solid #F7CF8335;font-size:13px;display:flex;align-items:center;gap:7px}.room-secondary svg,#gamehelp svg,#letterread svg{width:20px;height:20px;vertical-align:middle}.room-caption{pointer-events:none}.room-caption h2{margin:0}.room-hero img{aspect-ratio:16/10}.room-story{margin:0}.trailcard{margin:10px 0 0;padding:10px;box-shadow:none;background:transparent;border:none}.trailclues{gap:6px}.trailclue{background:#224459}.trailobject{background:transparent;border-color:transparent;box-shadow:none}.secret-charm,.hotspot,.ambient-room::before,.ambient-room::after,.cam-ambient::before,.cam-ambient::after,.win-sprite,.lantern-chip{animation:none!important}.room-actions .selected{background:#226B50}.collection-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:15px 0;background:#10283B;padding:5px;border-radius:16px}.collection-switch button{min-height:48px;background:transparent;box-shadow:none;border:1px solid transparent}.collection-switch button.selected{background:#226B50;border-color:#F7CF8360}.passport-banner{padding:12px}.passport-banner img{width:72px}.passport-banner h2{font-size:24px}.stamp-grid{gap:8px}.stamp,.ornament{min-height:100px}.arcade-welcome{padding:10px;margin:0 0 12px}.arcade-welcome .arcade-emblem{width:38px;height:38px}.arcade-welcome h3{font-size:17px}.arcade-welcome #arcadelevel{font-size:11px}.arcade-welcome #soundtoggle{font-size:11px;padding:8px}.gameboard#gamearea{margin-top:0;gap:9px;padding:14px;box-shadow:none}.gameboard #gametitle{font-size:26px;line-height:1.15;margin:0}.gameboard #backgames{justify-self:start;background:transparent;border:0;box-shadow:none;min-height:40px;padding:5px 9px}.gameboard #gamehelp{font-size:12px;min-height:44px;padding:8px 10px}.gameboard .challenge{padding:12px;box-shadow:none;min-height:0}.gameboard .challenge p{font-size:16px;font-weight:750}.gameboard .progress{height:8px}.gameboard .choices{gap:8px}.gameboard .picchoice{min-height:100px}.gameboard #feedback{min-height:21px;font-size:14px}.gameboard .win-sprite{width:88px;height:88px}.gameboard .conveyor-item .object-art{width:92px;height:92px}.cutstage img{aspect-ratio:16/10;animation:none}.cutdialog{padding:15px;box-shadow:none}.cutspeaker p{font-family:var(--font-body);font-size:17px}.cutdialog .row{display:grid;grid-template-columns:1fr 1.5fr;gap:10px}.cutdialog #cutnext{min-height:60px;font-size:21px}.cutdialog #cutskip{font-size:14px}.camtabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.camtabs button{display:grid;gap:5px;justify-items:center;min-width:0;padding:4px 4px 8px;border-radius:13px;overflow:hidden;font-size:12px;line-height:1.2}.camtabs img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.camtabs button.selected{background:#226B50;border-color:#F7CF83}.cam-disclaimer{font-size:12px;margin-bottom:10px}.cam .scan{display:none}.cam .overlay #clock{display:none}.nav button{font-size:12px}.nav button.active{background:#226B50}.footer{font-size:10px;opacity:.7}body[data-screen="cutscene"] .nav,body[data-screen="play"]:has(#gamearea:not([hidden])) .nav{opacity:.85}body[data-screen="play"]:has(#gamearea:not([hidden])) header{padding-bottom:6px}
@media(max-width:650px){main{padding-left:12px;padding-right:12px}.hero.simple-hero img{aspect-ratio:16/8;min-height:140px}.simple-hero .hero-copy{padding:12px}.simple-hero h1{font-size:27px}.section-head{margin:16px 0 9px}.section-head h2{font-size:21px}#destinations,#games{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#destinations .tile h3,#games .tile h3{font-size:15px}#destinations .tile .body,#games .tile .body{padding:10px 8px}#destinations .location-badge{width:24px;height:24px}.home-extras{gap:7px;margin:15px 0}.extra-tile{font-size:12px;min-height:82px;padding:8px 3px}.extra-tile img{width:38px;height:38px}.room-actions button{font-size:16px;min-height:72px}.room-actions svg{width:27px;height:27px}.room-actions .object-art{width:32px;height:32px}.room-hero img{aspect-ratio:4/3}.nav button{font-size:10px}.cutstage img{aspect-ratio:16/10}.cutdialog #cutnext{min-height:53px;font-size:19px}.gameboard#gamearea{padding:12px;gap:8px}.gameboard #gametitle{font-size:23px}.gameboard .picchoice{min-height:92px}.gameboard .challenge p{font-size:15px}.camtabs button{font-size:11px}.stamp,.ornament{min-height:84px}.passport-banner h2{font-size:21px}}

/* Build 10: photo-based interaction artwork, quiet coaching and tactile feedback */
.cut-character{position:absolute;right:0;bottom:0;width:45%;height:96%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 6px 10px #07172370);animation:characterEnter .45s ease-out both}.cutcaption{max-width:66%;z-index:2}.cutcaption h1{font-size:clamp(23px,4vw,39px)}.cutshade{background:linear-gradient(90deg,#142F46ee 0%,#142F4670 46%,transparent 80%)}.story-character{float:right;width:112px;height:112px;object-fit:contain;margin:0 0 8px 10px}.room-story .story-choices{clear:both}.game-coach{display:flex;gap:10px;align-items:center;background:#FFF4DD;color:#142F46;border:1px solid #F7CF83;border-radius:15px;padding:5px 10px;min-height:55px;text-align:left}.game-coach canvas{width:48px;height:48px;object-fit:contain;flex:none}.game-coach span{flex:1;font-size:15px;font-weight:850}.game-coach button{color:#226B50;background:#E4EFDC;min-width:44px;min-height:44px;box-shadow:none!important;font-size:22px;padding:4px}.gameboard .picchoice{position:relative;background:#FFF4DD;transition:transform .15s,background .15s,border-color .15s}.gameboard .picchoice[style*="--choice-color"]{border-bottom:6px solid var(--choice-color)!important}.gameboard .action-correct{background:#D9EDD9!important;border:2px solid #70B78C!important;color:#174C3D!important;transform:scale(.96);box-shadow:0 0 0 3px #70B78C40!important}.gameboard .action-retry{animation:gentleNudge .26s ease-in-out;background:#F7E8C5!important;color:#142F46!important}.gameboard .memory-card.matched{background:#D9EDD9!important;border-color:#79B695!important;opacity:.85}.gameboard .new-item{animation:objectSlide .28s ease-out}.gameboard .target-sample{width:75px;height:75px;display:block;margin:2px auto;background:#FFF4DD;border-radius:14px;border:1px solid #F7CF83;padding:5px}.gameboard .challenge.celebration{animation:rewardReveal .35s ease-out;background:radial-gradient(ellipse at center,#355F4A,#142F46 85%)!important}.gameboard .win-sprite{filter:drop-shadow(0 0 14px #F7CF8360)}.gameboard .object-art,.shop-art,.toy-model{filter:drop-shadow(0 2px 3px #0002)}.gameboard .conveyor-item{max-width:220px;margin:0 auto}.gameboard .conveyor-item .object-art{width:125px;height:125px}.gameboard .choices button{touch-action:manipulation}.gameboard .rooftop-canvas{touch-action:none;cursor:pointer}.gameboard .lantern-button,.gameboard .lantern-chip{border:2px solid var(--lantern)!important;box-shadow:inset 0 0 10px var(--lantern)!important}.gameboard .lantern-button .object-art,.gameboard .lantern-chip .object-art{filter:drop-shadow(0 0 8px var(--lantern))}.trailobject .object-art{filter:drop-shadow(0 1px 3px #07172390)}.spritebadge .object-art{filter:drop-shadow(0 2px 3px #07172320)}@keyframes characterEnter{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}@keyframes objectSlide{from{opacity:.4;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}@keyframes gentleNudge{0%,100%{transform:translateX(0)}33%{transform:translateX(-3px)}66%{transform:translateX(3px)}}@keyframes rewardReveal{from{transform:scale(.98);opacity:.6}to{transform:scale(1);opacity:1}}@media(max-width:650px){.cut-character{width:48%;height:94%}.cutcaption{max-width:65%;padding:12px}.cutcaption h1{font-size:23px}.game-coach{min-height:50px;padding:4px 8px}.game-coach canvas{width:40px;height:40px}.game-coach span{font-size:14px}.gameboard .conveyor-item .object-art{width:100px;height:100px}.gameboard .target-sample{width:58px;height:58px}.story-character{width:90px;height:90px}}@media(prefers-reduced-motion:reduce){.cut-character,.gameboard .new-item,.gameboard .action-retry,.gameboard .challenge.celebration{animation:none!important}.gameboard .picchoice{transition:none!important}}

/* Build 11: exact-aspect-ratio scene plates, responsive touch targets, calm visual guidance */
.gameboard#gamearea.scene-mode{background:#142F46!important;padding:12px;gap:8px;overflow:visible;max-width:800px;margin-inline:auto}.scene-mode #gametitle{font-size:clamp(22px,4vw,31px)}.scene-mode #gamecoach{min-height:44px;padding:4px 8px;order:0}.scene-mode #gamecoach canvas{width:38px;height:38px}.scene-mode #coachline{font-size:15px}.scene-mode #backgames{min-height:44px}.scene-mode #gamehelp{min-height:44px}.scene-mode .progress{height:6px}.gameboard .scene-challenge{padding:0!important;border:0!important;background:transparent!important;border-radius:18px!important;overflow:visible}.play-scene{position:relative;isolation:isolate;container-type:size;aspect-ratio:1;width:100%;max-width:100%;margin:auto;border-radius:16px;background:#224459;box-shadow:0 5px 16px #06182655;touch-action:pan-y}.play-scene.scene-cookie,.play-scene.scene-wrap{aspect-ratio:1200/674}.play-scene-art{width:100%;height:100%;object-fit:fill;border-radius:16px;display:block;pointer-events:none;user-select:none;-webkit-user-drag:none}.scene-anchor{position:absolute;translate:-50% -50%;display:grid;place-items:center;z-index:2;min-width:0}.scene-anchor:has(.scene-dragging),.scene-anchor:has(.scene-flying){z-index:6}.scene-anchor>canvas{width:100%!important;height:auto!important;max-width:100%;margin:0!important;object-fit:contain;pointer-events:none}.gameboard .scene-choice{padding:3px;min-height:44px;display:grid;place-items:center;gap:2px;position:relative;user-select:none;-webkit-user-select:none;touch-action:manipulation;transition:background .18s,box-shadow .18s;color:#142F46;line-height:1.15}.scene-choice canvas{pointer-events:none;width:100%;height:auto;max-width:100%;object-fit:contain}.gameboard .belt-object{width:100%;height:100%;background:transparent!important;border:0!important;box-shadow:none!important;cursor:grab}.belt-object canvas{width:100%;max-height:100%;filter:drop-shadow(0 5px 3px #44241B66)!important}.gameboard .bin-target{width:100%;height:100%;background:transparent!important;box-shadow:none!important;border:2px solid transparent!important;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding-bottom:9%;border-radius:9px!important}.bin-target canvas{width:46%;max-height:42%;background:#FFF4DDF5;border:1px solid #F7CF83;border-radius:12px;padding:3px;filter:none!important}.bin-target span,.trough-target span{background:#142F46ed;color:#FFF4DD;padding:4px 9px;border-radius:9px;font-weight:850;font-size:clamp(12px,2.7vw,17px);box-shadow:0 1px 3px #0005}.gameboard .bin-target:focus-visible,.gameboard .trough-target:focus-visible{outline:3px solid #FFF4DD;outline-offset:2px}.gameboard .trough-target{width:100%;height:100%;background:transparent!important;border:2px solid transparent!important;box-shadow:none!important;align-content:end;padding-bottom:9%}.feed-request,.wrap-request{width:100%;height:100%;min-height:44px;display:grid;justify-items:center;align-content:center;gap:2px;background:#FFF4DD;border:2px solid #F7CF83;border-radius:14px;box-shadow:0 3px 10px #142F4655;padding:5px;color:#142F46;font-weight:850;font-size:clamp(11px,2.5vw,16px)}.feed-request canvas{width:70%;height:auto;max-height:75%;object-fit:contain}.wrap-request canvas{width:45%;height:auto;max-height:65%;object-fit:contain}.gameboard .scene-tray{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;position:relative;z-index:3}.gameboard .scene-tray:empty{display:none}.gameboard .tray-choice{background:#FFF4DD;color:#142F46;min-height:78px;padding:8px 5px;align-content:center;font-size:clamp(12px,2.4vw,15px);font-weight:850;border:1px solid #DCC69C!important;box-shadow:0 3px 0 #07172355!important;overflow:visible}.tray-choice canvas{width:min(76px,90%);height:auto}.gameboard .scene-dragging,.gameboard .scene-flying{z-index:10;cursor:grabbing;transition:none!important;box-shadow:none!important;pointer-events:none}.gameboard .scene-choice.scene-dragging{pointer-events:auto}.gameboard .scene-success{background:#79B69555!important;box-shadow:0 0 0 3px #C4F0CD,0 0 20px #F7CF8380!important;border:2px solid #C4F0CD!important}.gameboard .scene-retry{animation:sceneNudge .3s ease-in-out;background:#F7E8C5!important}.gameboard .scene-hinted{outline:3px solid #F7CF83!important;outline-offset:2px;box-shadow:0 0 12px #F7CF8370!important}.scene-demo{position:absolute;translate:-50% -50%;z-index:8;width:19%;pointer-events:none;display:grid;justify-items:center;opacity:0;animation:sceneDemoMove 2.5s ease-in-out both}.scene-demo canvas{width:100%;height:auto;filter:drop-shadow(0 0 8px #F7CF83)}.scene-demo-label{padding:4px 7px;background:#FFF4DD;color:#142F46;border:1px solid #F7CF83;border-radius:99px;font-weight:900;font-size:12px}.scene-demo.demo-static{animation:none;opacity:.8;width:13%}.scene-demo.demo-static canvas{display:none}.scene-first-cue{outline:2px solid #F7CF83;outline-offset:3px;animation:sceneCue 2.4s ease-out both}.cookie-empty{opacity:.45;border:2px dashed #AD785B;border-radius:50%;width:100%;aspect-ratio:1;display:grid;place-items:center}.cookie-empty canvas{width:80%;height:auto}.scene-reveal{animation:sceneReveal .26s ease-out}.scene-swatch{width:64px;max-width:90%;aspect-ratio:1;border:1px solid #A77C52;border-radius:11px;background:linear-gradient(145deg,#ffffff65,transparent 45%,#0003),var(--swatch);box-shadow:inset 0 1px 3px #ffffff55,0 2px 4px #0002}.wrap-request .scene-swatch{width:44%;max-height:62%}.ribbon-swatch{border-radius:50%;background:radial-gradient(circle,#FFF4DD 0 24%,#6F4A30 25% 30%,var(--swatch) 31% 60%,#0004 61% 66%,var(--swatch) 67%);border:2px solid #B28E60}.gameboard .next-gift{grid-column:1/-1;width:100%;min-height:50px;font-size:18px}.scene-final-preview{width:min(200px,80%)!important;height:auto!important;margin:auto}.scene-mode #feedback{min-height:24px;margin:0;font-size:14px}.scene-mode .gamehint{font-size:14px}.scene-fallback .bin-target,.scene-fallback .trough-target{background:#142F4690!important;border:2px solid #F7CF83!important}@keyframes sceneNudge{0%,100%{transform:translateX(0)}35%{transform:translateX(-3px)}70%{transform:translateX(3px)}}@keyframes sceneDemoMove{0%,12%{opacity:0;transform:translate(0,0)}25%{opacity:.85;transform:translate(0,0)}75%{opacity:.85;transform:translate(var(--end-x),var(--end-y)) scale(.65)}100%{opacity:0;transform:translate(var(--end-x),var(--end-y)) scale(.55)}}@keyframes sceneReveal{from{opacity:.65;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes sceneCue{0%{outline-color:#F7CF83}100%{outline-color:transparent}}@media(min-width:700px){.play-scene.scene-sort,.play-scene.scene-feed{max-width:550px}.gameboard .scene-tray{max-width:550px;width:100%;margin:auto}}@media(max-width:650px){.gameboard#gamearea.scene-mode{padding:8px;gap:6px}.scene-mode #gamecoach canvas{width:32px;height:32px}.scene-mode #gamecoach span{font-size:14px}.gameboard .tray-choice{min-height:72px}.tray-choice canvas{width:54px}.scene-swatch{width:50px}.bin-target span,.trough-target span{padding:3px 5px}.play-scene,.play-scene-art{border-radius:12px}.scene-mode #round{font-size:13px}.scene-mode .game-coach button{min-height:44px}.scene-mode .game-coach{min-height:48px}.scene-mode #gametitle{margin:0;font-size:22px}}@media(prefers-reduced-motion:reduce){.scene-retry,.scene-reveal,.scene-first-cue,.scene-demo{animation:none!important}.scene-choice{transition:none!important}.scene-demo:not(.demo-static){display:none}}

/* Build 12: scene-based memory, snow, assembly, lanterns and continuous arcade */
.play-scene.scene-memory,.play-scene.scene-lights{aspect-ratio:4/3}.play-scene.scene-snow,.play-scene.scene-assembly{aspect-ratio:4/3}.play-scene.scene-catch{aspect-ratio:320/220}.play-scene.scene-roof{aspect-ratio:360/205}.scene-assembly .play-scene-art{object-fit:cover}.scene-memory .play-scene-art,.scene-lights .play-scene-art,.scene-snow .play-scene-art,.scene-catch .play-scene-art,.scene-roof .play-scene-art{object-fit:cover}.memory-table{position:absolute;inset:15% 5% 6%;padding:10px;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:7px;background:linear-gradient(100deg,#6A442EEB,#A97750F0 50%,#734C34F0);border:3px solid #D5A46B;border-radius:16px;box-shadow:0 8px 18px #0006;z-index:2}.gameboard .table-card{min-height:44px;min-width:0;width:100%;height:100%;padding:5px;overflow:hidden;background:repeating-linear-gradient(45deg,#1B493D 0 9px,#24594A 9px 18px)!important;border:2px solid #E3C17A!important;border-radius:10px!important;box-shadow:0 3px 0 #3B2820!important;color:#142F46}.table-card canvas{width:100%;height:100%;max-height:100%;object-fit:contain}.gameboard .table-card.face-up{background:#FFF4DD!important}.gameboard .table-card.pair-done{background:#D9EDD9!important;opacity:1;border-color:#79B695!important}.pair-check{position:absolute;top:3px;right:4px;color:#226B50;font-weight:900;background:#FFF4DD;border-radius:99px;padding:1px 5px}.gameboard .snow-scene-target{background:transparent!important;border:0!important;box-shadow:none!important;width:100%;height:100%;border-radius:50%!important;min-width:44px;min-height:44px}.snow-scene-target canvas{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 5px #142F4690)}.gameboard .snow-sparkle{background:radial-gradient(circle,#FFF4DD99,transparent 70%)!important;outline:2px solid #F7CF83;outline-offset:-5px}.snow-sparkle canvas{filter:drop-shadow(0 0 9px #F7CF83)!important}.assembly-model{filter:drop-shadow(0 8px 5px #2c171766)!important}.gameboard .assembly-slot{width:100%;height:100%;background:#FFF4DDEB!important;border:2px dashed #B38349!important;box-shadow:none!important;border-radius:14px!important;padding:5px;font-size:12px}.assembly-slot canvas{height:75%;max-width:90%;width:auto;object-fit:contain}.part-pips{display:flex;gap:6px;justify-content:center;background:#142F46DC;padding:6px;border-radius:99px}.part-pips span{width:26px;height:26px;display:grid;place-items:center;color:#FFF4DD;border:1px solid #F7CF83;border-radius:50%;font-weight:850}.part-pips .complete{background:#226B50}.part-pips .current{background:#F7CF83;color:#142F46}.lantern-shelf{position:absolute;inset:29% 4% 13%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;align-items:end;padding:10px 4px;background:linear-gradient(0deg,#744B30E0 0 15%,#142F4680 16%,transparent);border-radius:12px}.gameboard .scene-lantern{height:100%;min-width:0;min-height:44px;padding:5px 2px;background:#142F46C0!important;color:#FFF4DD;border:2px solid var(--lantern)!important;border-radius:12px!important;box-shadow:none!important;align-content:center;font-size:12px}.scene-lantern canvas{width:100%;max-height:74%;object-fit:contain;filter:brightness(.72)!important;transition:filter .2s}.gameboard .scene-lantern:disabled{opacity:1;cursor:default}.gameboard .scene-lantern.lit{background:var(--lantern)!important;color:#142F46;border-color:#FFF4DD!important;box-shadow:0 0 20px var(--lantern),inset 0 0 12px #FFF4DD!important}.scene-lantern.lit canvas{filter:brightness(1.3) drop-shadow(0 0 8px #FFF4DD)!important}.lantern-symbol{font-size:18px;line-height:1;color:var(--lantern);text-shadow:0 1px 2px #000}.lit .lantern-symbol{color:#142F46}.scene-arcade-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:pointer;border-radius:inherit;z-index:2}.scene-roof .play-scene-art{filter:brightness(.8)}.arcade-fallback-controls{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gameboard .arcade-fallback-controls button{font-size:24px;color:#FFF4DD;background:#224459;min-height:48px}.scene-mode #choices .next-gift:not(.primary){background:#224459;color:#FFF4DD}.scene-mode .scene-tray .next-gift{margin:0}.scene-mode .scene-tray:has(.next-gift){grid-template-columns:1fr}.scene-mode .scene-tray:has(.arcade-fallback-controls){grid-template-columns:1fr}.scene-mode .play-scene{max-width:700px}.scene-mode .scene-assembly .assembly-slot span{font-size:11px}.scene-mode .game-coach{margin-bottom:0}@media(max-width:650px){.memory-table{inset:11% 3% 5%;padding:6px;gap:5px}.gameboard .table-card{padding:2px;border-radius:8px!important}.pair-check{font-size:10px;padding:1px 3px}.lantern-shelf{inset:23% 3% 9%;padding:5px 2px;gap:4px}.gameboard .scene-lantern{font-size:10px}.lantern-symbol{font-size:15px}.part-pips span{width:22px;height:22px;font-size:12px}.gameboard .assembly-slot{font-size:10px;padding:3px}.scene-mode .scene-arcade-canvas{min-height:0}}@media(prefers-reduced-motion:reduce){.scene-lantern canvas{transition:none!important}}

/* Build 13 responsive gameplay and living rooms */
html{scroll-padding-top:12px;scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%}body{min-width:0;min-height:100dvh}main{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:calc(95px + env(safe-area-inset-bottom))}button{touch-action:manipulation}button:focus-visible,summary:focus-visible{outline:3px solid #F7CF83;outline-offset:3px}button,summary{min-height:44px}img,canvas{max-width:100%}.nav{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.nav button{min-height:48px}.room-welcome{display:flex;align-items:center;gap:10px;background:#FFF4DD;color:#142F46;border:1px solid #F7CF83;border-radius:16px;margin:10px 0;padding:6px 10px}.room-welcome canvas{width:58px;height:58px;object-fit:contain;flex:none}.room-welcome>div{flex:1;min-width:0}.room-welcome strong{font-size:15px;color:#226B50}.room-welcome p{font-size:14px;line-height:1.35}.room-welcome button,#reactionlisten{min-width:44px;min-height:44px;padding:4px;background:#E4EFDC;color:#226B50;box-shadow:none;font-size:20px}.room-welcome #welcomedismiss{background:transparent;border:0;color:#52666E;font-size:23px}.room-object-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.room-object-grid button.room-object{display:grid;justify-items:center;align-content:center;gap:5px;padding:8px 4px;font-size:13px;line-height:1.25;min-width:0}.room-object .object-art{width:54px;height:54px}.room-hotspots .hotspot{width:50px;height:50px;min-width:44px;min-height:44px;padding:4px;border-radius:12px;background:#142F46C0;border:1px solid #F7CF83;display:grid;place-items:center;box-shadow:0 2px 8px #0006}.room-hotspots .hotspot canvas{width:100%;height:100%}.room-hotspots .hotspot.discovered{background:#226B50D0;border-color:#C4F0CD}.room-dialog#roomreaction{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px;background:#FFF4DD;color:#142F46;border-radius:15px;margin:12px 0 0}.room-dialog#roomreaction canvas{width:58px;height:58px;flex:none}.room-dialog#roomreaction>div{flex:1;min-width:120px}.room-dialog#roomreaction strong{color:#226B50}.room-dialog#roomreaction p{font-size:14px;line-height:1.4;color:#142F46}.room-dialog#roomreaction #reactiongo{flex:1 0 100%;min-height:44px}.room-caption{pointer-events:none}.room-actions button{min-height:74px}.game-hud{display:grid;grid-template-columns:80px minmax(0,1fr) 80px;align-items:center;gap:6px}.game-hud #gametitle{font-size:clamp(17px,3.6vw,28px)!important;line-height:1.15;overflow-wrap:anywhere;margin:0!important}.game-hud button{min-height:44px;width:100%;font-size:13px;padding:6px!important}.game-meter{display:flex;align-items:center;gap:10px;min-height:20px}.game-meter #round{font-size:13px;flex:none}.game-meter .progress{flex:1;min-width:0;height:8px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start;min-width:0}.game-side{display:flex;flex-direction:column;gap:8px;min-width:0}.game-side .choices{width:100%;margin:0!important;max-width:none!important}.game-side #feedback{min-height:20px;margin:0;line-height:1.35;text-align:center}.gameboard#gamearea{max-width:1060px!important;width:100%;margin:0 auto!important;gap:8px;overflow:visible;isolation:isolate}.gameboard .challenge{min-width:0;position:relative;overflow:visible}.game-layout .scene-tray{z-index:auto}.game-side:has(.scene-dragging),.game-side:has(.scene-flying){position:relative;z-index:6}.gameboard .game-coach{padding:5px 8px;gap:8px}.gameboard .game-coach canvas{width:38px;height:38px}.gameboard .game-coach span{font-size:14px}.gameboard .game-coach button{min-width:44px;min-height:44px}.gameboard .scene-arcade-canvas{max-width:none}.gameboard .play-scene{max-width:100%}.gameboard .tray-choice canvas{max-width:min(64px,90%)}.gameboard .bin-target{min-width:44px}.gameboard .choices button{min-height:48px}.gameboard .scene-demo{pointer-events:none}.gameboard .scene-memory .table-card{min-height:44px}.gameboard .next-gift{min-height:48px}.gameboard .scene-lantern.lit span{color:#142F46}body[data-screen="play"]:has(#gamearea:not([hidden])) .nav{display:none!important}body[data-screen="play"]:has(#gamearea:not([hidden])) main{padding-bottom:max(14px,env(safe-area-inset-bottom))}body[data-screen="play"]:has(#gamearea:not([hidden])) .footer{display:none}body[data-screen="play"]:has(#gamearea:not([hidden])) header{padding-top:max(4px,env(safe-area-inset-top));padding-bottom:5px;margin-bottom:0}body[data-screen="play"]:has(#gamearea:not([hidden])) header .approved-logo{max-width:150px;max-height:35px}body[data-screen="play"]:has(#gamearea:not([hidden])) header #days{font-size:12px}body[data-screen="play"]:has(#gamearea:not([hidden])) header #points{font-size:11px}.gameboard .scene-sort,.gameboard .scene-feed{max-width:min(100%,520px)}.cam{max-width:900px;margin-inline:auto}
@media(min-width:850px){main,header{max-width:1180px}.grid#destinations{grid-template-columns:repeat(3,minmax(0,1fr))}.grid#games{grid-template-columns:repeat(4,minmax(0,1fr))}.gameboard .game-layout{grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:18px;align-items:center}.gameboard .game-side{align-self:center;gap:12px;padding:4px}.gameboard .game-hud{grid-template-columns:110px minmax(0,1fr) 110px}.gameboard .game-hud button{font-size:15px}.gameboard .play-scene{max-width:min(100%,max(220px,calc(100dvh - 170px)))}.gameboard .scene-memory,.gameboard .scene-lights,.gameboard .scene-snow,.gameboard .scene-assembly{max-width:min(100%,max(260px,calc((100dvh - 170px)*1.333)))}.gameboard .scene-cookie,.gameboard .scene-wrap,.gameboard .scene-roof{max-width:min(100%,max(280px,calc((100dvh - 170px)*1.77)))}.gameboard .scene-catch{max-width:min(100%,max(260px,calc((100dvh - 170px)*1.45)))}.gameboard .tray-choice{min-height:94px}.gameboard .game-coach canvas{width:54px;height:54px}.gameboard .game-coach span{font-size:17px}.gameboard .game-meter #round{font-size:15px}.gameboard .game-layout:has(.celebration){grid-template-columns:1fr;max-width:650px;width:100%;margin:auto}.room-hero{max-width:900px;margin-inline:auto}.room-hero img{aspect-ratio:16/9}.room-actions,.room-secondary,.room-welcome,#roomfindpanel,#roomstorypanel{max-width:900px;margin-left:auto;margin-right:auto}.cutstage,.cutdialog{max-width:850px;margin-inline:auto}}
@media(max-width:849px){.gameboard .game-layout{max-width:600px;margin-inline:auto;width:100%}.gameboard .game-side{gap:6px}.gameboard .game-coach{min-height:44px;padding:3px 6px}.gameboard .game-coach canvas{width:32px;height:32px}.gameboard .scene-sort,.gameboard .scene-feed{max-width:min(100%,440px)}.gameboard .tray-choice{min-height:72px}.gameboard .tray-choice canvas{max-width:55px}.game-hud{grid-template-columns:62px minmax(0,1fr) 62px}.game-hud #gamehelp svg{width:16px}.game-hud #gamehelp{font-size:12px}.room-welcome{gap:5px;padding:6px}.room-welcome canvas{width:43px;height:43px}.room-welcome p{font-size:13px}.room-welcome strong{font-size:14px}.room-object .object-art{width:42px;height:42px}.room-object-grid button.room-object{font-size:12px}}
@media(orientation:landscape) and (max-height:550px) and (min-width:600px){body[data-screen="play"]:has(#gamearea:not([hidden])) header{display:none}body[data-screen="play"]:has(#gamearea:not([hidden])) main{padding-top:max(5px,env(safe-area-inset-top));padding-bottom:max(5px,env(safe-area-inset-bottom))}.gameboard#gamearea{padding:6px!important;gap:5px}.gameboard .game-layout{max-width:none;grid-template-columns:minmax(0,1.55fr) minmax(180px,1fr);gap:12px;align-items:center}.gameboard .game-side{gap:5px;padding:0}.gameboard .game-hud #gametitle{font-size:18px!important}.gameboard .play-scene{max-width:min(100%,max(210px,calc(100dvh - 88px)))}.gameboard .scene-cookie,.gameboard .scene-wrap,.gameboard .scene-roof{max-width:min(100%,max(250px,calc((100dvh - 88px)*1.77)))}.gameboard .scene-catch,.gameboard .scene-memory,.gameboard .scene-lights,.gameboard .scene-assembly,.gameboard .scene-snow{max-width:min(100%,max(250px,calc((100dvh - 88px)*1.33)))}.gameboard .tray-choice{min-height:65px}.gameboard .tray-choice canvas{max-width:44px}.gameboard .game-coach canvas{width:28px;height:28px}.gameboard .game-coach span{font-size:12px}.gameboard .game-side #feedback{font-size:12px}.gameboard .game-meter{min-height:16px}.gameboard .game-layout:has(.celebration){grid-template-columns:1fr;max-width:520px}.gameboard .celebration .win-sprite{width:68px;height:68px}}
@media(max-width:360px){.game-hud{grid-template-columns:54px minmax(0,1fr) 54px}.game-hud #gametitle{font-size:16px!important}.game-hud #gamehelp svg{display:none}.room-welcome canvas{display:none}.gameboard .game-coach span{font-size:13px}.gameboard .tray-choice{font-size:11px;min-height:66px}.gameboard .scene-lantern{font-size:10px}.gameboard .scene-choice{min-width:0}.gameboard .snow-scene-target{min-width:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.gameboard .scene-choice,.room-welcome,.room-dialog{animation:none!important;transition:none!important}}

@media(orientation:landscape) and (max-height:550px) and (min-width:600px){.gameboard .play-scene{max-width:min(100%,max(190px,calc(100dvh - 110px)))}.gameboard .scene-cookie,.gameboard .scene-wrap,.gameboard .scene-roof{max-width:min(100%,max(240px,calc((100dvh - 110px)*1.77)))}.gameboard .scene-catch,.gameboard .scene-memory,.gameboard .scene-lights,.gameboard .scene-assembly,.gameboard .scene-snow{max-width:min(100%,max(230px,calc((100dvh - 110px)*1.333)))}}
@media(max-width:360px) and (orientation:portrait){.gameboard .scene-feed{max-width:min(100%,calc(100dvh - 320px));min-width:210px}.gameboard .scene-feed .feed-request{font-size:10px}}

/* Build 14: quiet illustrated stories, replayable visual demos and scene atmosphere */
.storybook{background:#224459;border:1px solid #F7CF8350;border-radius:20px;padding:12px!important;overflow:hidden}.story-stage{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#142F46;margin:0 0 12px;isolation:isolate}.story-stage>img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.72)}.storybook .story-stage .story-character{position:absolute;bottom:0;right:0;width:48%;height:96%;object-fit:contain;float:none;margin:0;filter:drop-shadow(0 3px 10px #0008);animation:storyEntrance .4s ease-out}.story-stage #storyprop{position:absolute;left:13%;bottom:13%;width:30%;height:45%;object-fit:contain;filter:drop-shadow(0 3px 8px #0009)}.story-chapter{position:absolute;top:9px;left:9px;background:#142F46e6;color:#FFF4DD;border:1px solid #F7CF83;border-radius:99px;padding:4px 10px;font-size:13px}.storybook h3{font-size:clamp(19px,3vw,26px);color:#FFF4DD}.storybook #roomstorytext{margin:6px 0;font-size:16px;line-height:1.4}.storybook .story-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.storybook .story-pick{display:grid;justify-items:center;gap:4px;padding:9px 6px;background:#FFF4DD;color:#142F46;border:1px solid #F7CF83;min-width:0;min-height:88px}.storybook .story-pick .object-art{width:64px;height:64px}.story-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.story-actions button{flex:1;min-height:44px}.story-outcome #storyprop{filter:drop-shadow(0 0 14px #F7CF83)}.storybook #roomstoryresult{font-weight:800;color:#F7CF83;min-height:18px}.visual-demo{width:100%;max-width:320px;margin:auto;aspect-ratio:2.7;position:relative;border-radius:15px;background:#EBDCC0;overflow:hidden;display:grid;place-items:center}.visual-demo .demo-origin,.visual-demo .demo-destination,.visual-demo .demo-moving{position:absolute;top:10%;width:28%;height:75%;display:grid;place-items:center}.visual-demo .demo-origin{left:8%;opacity:.3}.visual-demo .demo-destination{right:8%;border:2px dashed #AD785B;border-radius:10px}.visual-demo .demo-moving{left:8%;animation:visualDemo 2.3s ease-in-out both;z-index:2;pointer-events:none}.visual-demo canvas{width:100%!important;height:100%!important;object-fit:contain}.visual-demo .demo-word{position:absolute;bottom:4px;left:0;right:0;font-size:12px;font-weight:900;color:#142F46;text-align:center}.demo-rooftop .demo-moving{animation:jumpDemo 2.3s ease-in-out both}.demo-lantern .demo-moving,.demo-park .demo-moving{animation:glowDemo 2.3s ease-in-out both}.demo-village .demo-moving{animation:matchDemo 2.3s ease-in-out both}.cuticons:has(.visual-demo){padding:7px;background:#FFF4DD}.reward-companion{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 8px}.reward-companion>.object-art{width:120px;height:120px}.reward-companion .win-sprite{margin:0;animation:storyEntrance .4s ease-out}.gameboard .challenge.celebration{padding:14px}body[data-worldlight="morning"] .simple-hero img,body[data-worldlight="morning"] .room-hero>img{filter:brightness(1.08) saturate(.96)}body[data-worldlight="day"] .simple-hero img,body[data-worldlight="day"] .room-hero>img{filter:brightness(1.13) saturate(.9)}body[data-worldlight="twilight"] .simple-hero img,body[data-worldlight="twilight"] .room-hero>img{filter:brightness(.98) saturate(1.1)}body[data-worldlight="night"] .simple-hero img,body[data-worldlight="night"] .room-hero>img{filter:brightness(.94) saturate(1.04)}@keyframes storyEntrance{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes visualDemo{0%,20%{left:8%}65%,100%{left:64%}}@keyframes jumpDemo{0%,20%{left:8%;transform:none}45%{transform:translateY(-25%)}80%,100%{left:64%;transform:none}}@keyframes glowDemo{0%,20%{opacity:.4;filter:none}35%,70%{opacity:1;filter:drop-shadow(0 0 8px #F7CF83)}100%{opacity:1;left:64%}}@keyframes matchDemo{0%,20%{left:8%;transform:rotateY(80deg)}40%{transform:none}80%,100%{left:64%}}
@media(max-width:650px){.storybook{padding:9px!important}.storybook .story-pick{font-size:13px;min-height:78px}.storybook .story-pick .object-art{width:48px;height:48px}.storybook #roomstorytext{font-size:15px}.reward-companion>.object-art{width:88px;height:88px}.reward-companion .win-sprite{width:80px;height:80px}}
@media(prefers-reduced-motion:reduce){.visual-demo .demo-moving,.storybook .story-character,.reward-companion .win-sprite{animation:none!important}.visual-demo .demo-moving{left:36%;opacity:1}.visual-demo .demo-origin{opacity:1}}

/* Build 15: premium character crops, illustrated card design and scene-specific polish */
.cut-character{width:47%;height:100%;filter:drop-shadow(0 8px 13px #06182680)}.storybook .story-stage .story-character{width:49%;height:99%;filter:drop-shadow(0 6px 12px #06182685)}.game-coach canvas,.room-welcome canvas{border-radius:50%;background:radial-gradient(ellipse,#F7CF8370,#E8DBC2);border:1px solid #D9C28D;object-fit:contain}.gameboard .memory-table{background:linear-gradient(110deg,#6C422EEE,#9E6B45F4 48%,#704831F0);border:3px solid #CCAB71;box-shadow:inset 0 0 12px #3B28204D,0 8px 20px #0005}.gameboard .table-card:not(.face-up){background:radial-gradient(ellipse at 50% 45%,#35654B,#153F33 80%)!important;box-shadow:inset 0 0 0 3px #14382B,inset 0 0 0 4px #E1BA64,0 3px 0 #3B2820!important;border:2px solid #E3C17A!important;padding:8px}.memory-emblem{width:88%;height:88%;max-height:100%;object-fit:contain;filter:drop-shadow(0 2px 3px #0005)}.gameboard .table-card.face-up{background:radial-gradient(ellipse,#FFF9E9,#F0DDBB)!important;box-shadow:inset 0 0 0 2px #D9B77A,0 3px 0 #3B2820!important}.gameboard .table-card.pair-done{background:#D9EDD9!important;box-shadow:inset 0 0 0 2px #79B695!important}.gameboard .scene-lantern{background:linear-gradient(180deg,#0E243B40,#342718AE)!important;border-color:#B68D53!important;box-shadow:0 3px 10px #0005!important}.gameboard .scene-lantern.lit{background:radial-gradient(ellipse,var(--lantern),#F7CF8380)!important;box-shadow:0 0 22px var(--lantern),inset 0 0 14px #FFF4DD!important;border-color:#FFF4DD!important}.scene-lantern canvas{filter:brightness(.82) drop-shadow(0 3px 3px #0008)!important}.scene-lantern.lit canvas{filter:brightness(1.22) drop-shadow(0 0 10px var(--lantern))!important}.lantern-shelf{background:linear-gradient(0deg,#744B30E0 0 12%,#142F4630 13%,transparent 55%)}.scene-delight{position:absolute;left:58%;top:42%;width:15%;aspect-ratio:1;z-index:6;pointer-events:none;filter:drop-shadow(0 0 10px #F7CF83);animation:delightRise .42s ease-out both}.scene-delight canvas{width:100%;height:100%;object-fit:contain}.scene-arcade-canvas{image-rendering:auto}.gameboard .scene-catch .play-scene-art{filter:brightness(.83)}.gameboard .scene-roof .play-scene-art{filter:brightness(.88)}.reward-companion>.object-art{width:132px;height:132px;filter:drop-shadow(0 3px 6px #0005)}@keyframes delightRise{from{opacity:0;transform:translateY(8px) scale(.7)}50%{opacity:1;transform:translateY(-4px) scale(1)}to{opacity:.6;transform:translateY(-12px) scale(.9)}}@media(max-width:650px){.gameboard .table-card:not(.face-up){padding:4px}.reward-companion>.object-art{width:100px;height:100px}}@media(prefers-reduced-motion:reduce){.scene-delight{animation:none!important;opacity:1}}

/* Build 15B: supplied cinematic environments and pose assets */
.gameboard .scene-memory,.gameboard .scene-lights{aspect-ratio:1;max-width:min(100%,520px)}.scene-memory .play-scene-art,.scene-lights .play-scene-art{object-fit:fill}.gameboard .scene-memory .memory-table{inset:24% 19% 21%;background:transparent!important;border:0;box-shadow:none;padding:0;gap:6px;grid-template-columns:repeat(var(--cols),minmax(0,1fr))}.gameboard .scene-memory .table-card{height:100%;min-width:44px;min-height:44px}.gameboard .scene-lights .lantern-shelf{inset:49% 15% 18%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8% 7%;padding:0;background:transparent;align-items:stretch}.gameboard .scene-lights .scene-lantern{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr auto;align-items:center;justify-items:center;min-height:44px;min-width:44px;padding:2px 4px;background:#142F4655!important;border:1px solid #B68D53!important;border-radius:10px!important;box-shadow:none!important;overflow:hidden}.scene-lights .scene-lantern canvas{grid-row:1/3;grid-column:1;max-height:100%;height:100%;width:100%;object-fit:contain}.scene-lights .scene-lantern .lantern-symbol{grid-column:2;grid-row:1;font-size:17px}.scene-lights .scene-lantern span:last-child{grid-column:2;grid-row:2;font-size:10px}.gameboard .scene-lights .scene-lantern.lit{background:radial-gradient(ellipse,var(--lantern),#F7CF8380)!important;box-shadow:0 0 18px var(--lantern)!important;border-color:#FFF4DD!important}.gameboard .scene-roof{overflow:hidden}.gameboard .scene-roof .play-scene-art{transform-origin:center;filter:brightness(.94);will-change:transform}.deer-reaction{position:absolute;right:5%;top:9%;width:29%;z-index:8;display:grid;justify-items:center;padding:4px;background:#FFF4DDEE;color:#142F46;border:2px solid #F7CF83;border-radius:14px;box-shadow:0 3px 10px #142F4670;pointer-events:none}.deer-reaction canvas{width:100%;height:auto;object-fit:contain}.deer-reaction span{font-size:clamp(11px,2.6vw,15px);font-weight:850}.feed-request .deer-request-portrait{display:none}.reward-companion>.object-art{object-fit:contain}.scene-mode .scene-memory .memory-emblem{max-height:100%}
@media(max-width:650px){.gameboard .scene-memory .memory-table{inset:23% 13% 18%;gap:5px}.gameboard .scene-memory .memory-table[style*="--cols: 5"]{grid-template-columns:repeat(4,minmax(0,1fr))}.gameboard .scene-lights .lantern-shelf{inset:46% 13% 17%;gap:5% 5%}.scene-lights .scene-lantern .lantern-symbol{font-size:13px}.scene-lights .scene-lantern span:last-child{font-size:9px}.gameboard .scene-lights .scene-lantern{padding:1px 3px}.deer-reaction{width:28%}}
@media(orientation:landscape) and (max-height:550px) and (min-width:600px){.gameboard .scene-memory,.gameboard .scene-lights{max-width:min(100%,max(230px,calc(100dvh - 110px)))}.gameboard .scene-memory .memory-table{inset:20% 10% 15%;gap:4px}.gameboard .scene-memory .memory-table[style*="--cols: 5"]{grid-template-columns:repeat(4,minmax(0,1fr))}.gameboard .scene-lights .lantern-shelf{inset:45% 12% 15%}}
@media(prefers-reduced-motion:reduce){.gameboard .scene-roof .play-scene-art{transform:none!important}}

/* Build 16: hourly rounds and touch-safe play */
.reset-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;margin:8px 0 12px;border:1px solid #F7CF8355;border-radius:14px;background:#224459;color:#FFF4DD}.reset-panel strong,.reset-panel small{display:block}.reset-panel small{font-size:12px;margin-top:3px;color:#EBDCC0}#resetclock{font-variant-numeric:tabular-nums;font-size:clamp(20px,5vw,28px);font-weight:850;color:#F7CF83;flex:none}.run-variant{font-size:11px;line-height:1.2;color:#EBDCC0;text-align:center;margin:0!important}.tile.round-earned .tag{color:#C4F0CD}.gameboard .scene-cookie .cookie-order{display:grid;justify-items:center;gap:1px;padding:4px;background:#FFF4DDF5;border:1px solid #B78E55;border-radius:9px;color:#142F46;font-size:clamp(9px,2vw,13px);line-height:1.1;box-shadow:0 2px 5px #0004}.cookie-order canvas{width:55%;height:auto;background:var(--recipe-color,transparent);border-radius:7px}.cookie-order strong{font-size:inherit}.scene-choice,.scene-arcade-canvas{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.scene-choice.scene-dragging{will-change:transform}.scene-tray:has(.scene-dragging){z-index:10!important}.gameboard .scene-choice:active{filter:brightness(1.05)}@media(max-width:360px){.reset-panel{padding:8px}.reset-panel small{font-size:11px}.run-variant{font-size:10px}}@media(orientation:landscape) and (max-height:550px){.run-variant{font-size:10px}.gameboard .play-scene{max-height:calc(100dvh - 115px)}}

/* Build 17A: world-first navigation, photographic scene stations and connected rooms */
.world-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 10px}.world-heading h1{font-size:clamp(23px,4vw,38px);margin:0;line-height:1.15}.world-heading p{font-size:14px;color:#EBDCC0;margin:4px 0}.world-heading button{min-width:44px;min-height:44px}.world-map{position:relative;isolation:isolate;overflow:hidden;border:1px solid #F7CF8380;border-radius:20px;background:#142F46;aspect-ratio:16/10;max-width:1000px;margin:auto}.world-map>#heroart{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.65) saturate(.92);pointer-events:none}.world-map:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#142F4680,transparent 40%,#142F4640);pointer-events:none;z-index:0}.world-paths,#worldnodes{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.world-node{position:absolute;transform:translate(-50%,-50%);width:28%;max-width:190px;display:grid;justify-items:center;gap:4px;min-height:44px;padding:6px 3px;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:auto;z-index:2;touch-action:manipulation}.world-node img{width:clamp(46px,10vw,100px);height:auto;aspect-ratio:1;filter:drop-shadow(0 4px 4px #0008);transition:transform .16s}.world-node span{display:block;max-width:100%;font-size:clamp(11px,2.5vw,17px);font-weight:800;color:#FFF4DD;background:#142F46E8;border:1px solid #F7CF83;border-radius:8px;padding:4px 7px;line-height:1.15;text-align:center}.world-node.visited img{filter:drop-shadow(0 0 6px #F7CF83)}.world-node:hover img,.world-node:focus-visible img{transform:scale(1.08)}.world-foot{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#EBDCC0;margin:8px auto 10px;max-width:1000px}.world-directory{margin-top:8px}.world-directory #destinations{padding:8px}.world-stations{position:absolute;inset:0;z-index:4;pointer-events:none}.room-hero>.world-stations[hidden]{display:none!important}.world-station{position:absolute;transform:translate(-50%,-50%);min-width:44px;min-height:44px;max-width:29%;width:clamp(64px,15%,115px);padding:4px;display:grid;justify-items:center;gap:2px;border:1px solid #F7CF83!important;background:#142F46B8!important;box-shadow:0 3px 12px #0008!important;border-radius:12px!important;pointer-events:auto;touch-action:manipulation;color:#FFF4DD!important;line-height:1.12}.world-station canvas{width:clamp(31px,5vw,66px);height:auto;aspect-ratio:1;pointer-events:none;filter:drop-shadow(0 2px 3px #0007)}.world-station span{font-size:clamp(10px,2.2vw,14px);text-align:center;pointer-events:none}.world-station:hover,.world-station:focus-visible{background:#226B50E0!important;border-color:#FFF4DD!important}.world-stations.no-hints .world-station{background:transparent!important;border-color:transparent!important;box-shadow:none!important}.world-stations.no-hints .world-station span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.world-exit{position:absolute;top:50%;z-index:6;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;min-height:48px;padding:3px!important;background:#142F46DD!important;color:#FFF4DD!important;border:1px solid #F7CF83!important;border-radius:10px!important;max-width:58px;box-shadow:none!important}.world-exit.left{left:3px}.world-exit.right{right:3px}.world-exit span{font-size:27px;line-height:.85}.world-exit small{font-size:9px;line-height:1.05}.room-hero>.room-caption{z-index:2}.world-utilities.room-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.world-utilities.room-actions button{min-height:48px;padding:5px;gap:3px}.world-utilities.room-actions button canvas,.world-utilities.room-actions button svg{width:23px;height:23px}.world-utilities.room-actions button span{font-size:13px}.world-utilities.room-secondary button{min-height:44px}.world-utilities #roomplay{background:#224459!important}.room-hero:has(.world-stations:not([hidden])) .room-hotspots{display:none!important}.room-hero>img{width:100%;object-fit:cover}.world-heading #worldguide,#worldhint{background:#224459;color:#FFF4DD;font-size:12px}.world-heading #worldguide{font-size:20px}.world-directory .grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(min-width:850px){.world-map{aspect-ratio:16/9}.world-heading{max-width:1000px;margin-inline:auto}.world-directory .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.world-exit{max-width:74px}.world-exit small{font-size:11px}.world-utilities.room-actions{max-width:900px;margin-inline:auto}}@media(max-width:650px){.world-map{aspect-ratio:4/5;max-height:520px}.world-node{width:29%}.world-node img{width:clamp(52px,18vw,82px)}.world-node span{padding:4px;font-size:12px}.room-hero>img{aspect-ratio:4/3}.world-station{width:clamp(59px,21%,86px);padding:3px;gap:1px}.world-station span{font-size:10px}.world-station canvas{width:32px}.world-exit{max-width:44px}.world-exit small{display:none}.world-foot{font-size:11px}.compact-head{flex-wrap:wrap}.world-utilities.room-actions button{min-height:48px}}@media(prefers-reduced-motion:reduce){.world-node img{transition:none!important}}

/* Landscape exploration: fit the scene before showing secondary controls */
@media(orientation:landscape) and (max-height:550px) and (min-width:600px){body[data-screen="room"] header,body[data-screen="explore"] header{display:none}body[data-screen="room"] main,body[data-screen="explore"] main{padding-top:max(4px,env(safe-area-inset-top))}body[data-screen="room"] .compact-head{margin:0 auto 4px;max-width:900px}body[data-screen="room"] .room-hero{max-width:min(100%,max(340px,calc((100dvh - 125px)*1.7778)))}body[data-screen="room"] .room-hero>#roomart{aspect-ratio:16/9;min-height:0}body[data-screen="room"] .world-station{min-width:44px;min-height:44px;width:clamp(60px,17%,90px);padding:3px;gap:1px}body[data-screen="room"] .world-station canvas{width:30px}body[data-screen="room"] .world-station span{font-size:10px}body[data-screen="room"] .world-exit small{display:none}body[data-screen="room"] .world-exit{max-width:44px}body[data-screen="explore"] .world-heading{margin:0 auto 4px}body[data-screen="explore"] .world-heading h1{font-size:21px}body[data-screen="explore"] .world-heading p{font-size:11px;margin:2px 0}body[data-screen="explore"] .world-map{max-width:min(100%,max(340px,calc((100dvh - 125px)*1.7778)));aspect-ratio:16/9}body[data-screen="explore"] .world-node img{width:44px}body[data-screen="explore"] .world-node span{font-size:10px;padding:3px}body[data-screen="explore"] .world-node{gap:2px;padding:2px}}

/* Build 17B: connected photographic rooms and direct scenery reactions */
.room-caption #scenecrumb{display:block;font-size:11px;color:#FFF4DD;line-height:1.1}.room-hero>.subroom-photo{object-fit:contain;background:#142F46}.world-door{border:2px solid #F7CF83!important;background:#226B50e0!important}.world-door:after{content:"›";position:absolute;right:4px;top:2px;font-size:17px;color:#F7CF83}.world-effect{background:#142F4680!important;border-color:#F7CF8380!important}.world-effect.activated{box-shadow:0 0 18px #F7CF83!important;background:#70542fe0!important}.world-station.world-secret{width:44px!important;min-width:44px;min-height:44px;max-width:44px;padding:5px;background:transparent!important;border:0!important;box-shadow:none!important;opacity:.82}.world-secret canvas{width:30px!important;filter:drop-shadow(0 1px 3px #0009)}.world-secret span{display:none}.world-secret.found{opacity:.4}.world-secret:hover,.world-secret:focus-visible{opacity:1;outline:2px solid #F7CF83}.scene-event{display:flex;align-items:center;gap:8px;margin:10px auto;padding:9px;border:1px solid #F7CF83;border-radius:14px;background:#FFF4DD;color:#142F46;max-width:900px}.scene-event[hidden]{display:none!important}.scene-event canvas{width:52px;height:52px;flex:none}.scene-event>div{flex:1;min-width:0}.scene-event strong{font-size:15px;color:#226B50}.scene-event p{font-size:13px;line-height:1.3;margin:3px 0}.scene-event button{min-width:44px;min-height:44px;padding:4px;background:#E4EFDC;color:#226B50;box-shadow:none;font-size:20px}.world-exit[hidden]{display:none!important}.world-stations.no-hints .world-door:after{display:none}.world-stations.no-hints .world-effect.activated{background:transparent!important}.room-hero:has(.subroom-photo) .room-caption{pointer-events:none}@media(max-width:360px){.scene-event canvas{width:36px;height:36px}.scene-event{gap:5px;padding:6px}.scene-event p{font-size:12px}.room-caption #scenecrumb{font-size:10px}}@media(prefers-reduced-motion:reduce){.world-effect,.world-secret{transition:none!important}}

/* Maintain absolute hotspot positioning throughout a touch gesture. */
.world-station:active,.world-node:active,.room-hotspots .hotspot:active,.trailtargets button:active{transform:translate(-50%,-50%)!important}.world-exit:active{transform:translateY(-50%)!important}.room-hero>img{pointer-events:none}.world-station{transition:background-color .12s,border-color .12s;}

/* Build 17C: original supplied photographs and object-aligned hit regions */
.world-map{aspect-ratio:1440/809!important;max-height:none!important;width:100%;background:#142F46}.world-map>#heroart{object-fit:fill;filter:none!important}.world-map:after,.world-paths{display:none!important}
.world-node.photo-hit,.world-station.photo-hit{display:flex;align-items:flex-end;justify-content:center;padding:0!important;gap:0;max-width:none;min-width:44px;min-height:44px;box-sizing:border-box;border:1px solid #f7cf8340!important;background:transparent!important;box-shadow:none!important;border-radius:12px!important;touch-action:manipulation;transition:background-color .15s,border-color .15s}
.world-node.photo-hit span,.world-station.photo-hit span{pointer-events:none;display:block;max-width:100%;width:max-content;font-size:clamp(10px,1.4vw,14px);line-height:1.05;text-align:center;white-space:normal;padding:3px 5px;border:1px solid #F7CF83A0;border-radius:7px;background:#142F46E8;color:#FFF4DD;font-weight:750;text-shadow:none}
.world-node.photo-hit.visited span:after{content:" ✓";color:#C4F0CD}
.world-node.photo-hit:hover,.world-node.photo-hit:focus-visible,.world-station.photo-hit:hover,.world-station.photo-hit:focus-visible{background:#f7cf8326!important;border:1px solid #F7CF83!important;outline:none}
.room-hero.photo-aligned{width:100%;aspect-ratio:1440/809!important}.room-hero.photo-aligned.square-scene{aspect-ratio:1!important;max-width:660px}.room-hero.photo-aligned>#roomart{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto!important;object-fit:fill!important;min-height:0}
.room-hero.photo-aligned .room-caption{display:none}.room-hero.photo-aligned .world-exit{top:8%;min-height:44px}.room-hero.photo-aligned .world-exit small{display:none}
.world-stations.no-hints .photo-hit{border-color:transparent!important;background:transparent!important}.world-stations.no-hints .photo-hit span{position:absolute;clip-path:inset(50%);height:1px;width:1px;padding:0;border:0;overflow:hidden}.world-stations.no-hints .photo-hit:focus-visible{outline:2px solid #F7CF83}.world-station.photo-hit.activated{background:radial-gradient(ellipse,#F7CF8355,transparent 75%)!important}.world-station.photo-hit:after{display:none}.world-stations .world-secret{z-index:5}
@media(max-width:650px){.world-node.photo-hit span,.world-station.photo-hit span{font-size:10px;padding:2px 3px}.world-node.photo-hit,.world-station.photo-hit{border-radius:8px!important}.room-hero.photo-aligned .world-exit{top:10%}.room-hero.photo-aligned .world-secret{width:44px!important;min-height:44px}.room-hero.photo-aligned .world-secret canvas{width:23px!important}}
@media(orientation:landscape) and (max-height:550px) and (min-width:600px){body[data-screen="room"] .room-hero.photo-aligned.square-scene{max-width:min(100%,calc(100dvh - 125px))}.world-node.photo-hit span,.world-station.photo-hit span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.photo-hit{transition:none!important}}

.photo-title{font-size:clamp(17px,3vw,24px);max-width:900px;margin:4px auto 8px;line-height:1.15}.photo-title[hidden]{display:none!important}

/* Fit the complete photographic scene above the fixed landscape navigation. */
@media(orientation:landscape) and (max-height:550px) and (min-width:600px){body[data-screen="room"] .photo-title{font-size:16px;line-height:1.1;margin:2px auto 4px;text-align:center}body[data-screen="room"] .room-hero.photo-aligned{max-width:min(100%,calc((100dvh - 175px)*1.7778));margin-inline:auto!important}body[data-screen="room"] .room-hero.photo-aligned.square-scene{max-width:min(100%,calc(100dvh - 175px));margin-inline:auto!important}body[data-screen="explore"] .world-map{margin-inline:auto!important}}

/* Build 17D: localized living scenery and optional hidden rooms */
.living-room{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2}.living-layer{position:absolute;transform:translate(-50%,-50%);pointer-events:none;overflow:hidden}.photo-aligned .ambient-room:before{display:none}
.living-fire{background:radial-gradient(ellipse at 50% 62%,#ffd68c65, #ff9f4030 35%,transparent 71%);animation:livingFire 2.3s ease-in-out infinite alternate;mix-blend-mode:screen}.living-lamp{background:radial-gradient(ellipse,#ffdb8355,transparent 68%);mix-blend-mode:screen;opacity:.28;animation:livingWarm 4s ease-in-out infinite alternate}.living-room.effect-active .living-lamp{opacity:.75;animation:none}.living-bell{background:radial-gradient(ellipse,#ffdd7f40,transparent 68%);opacity:.15}.living-bell.reacting{animation:livingRing .45s ease-in-out 2}.living-snow i{position:absolute;top:-10%;width:2px;height:2px;border-radius:50%;background:#fff;opacity:.65;animation:livingFlake calc(3.2s + var(--snow-i)*.35s) linear infinite;animation-delay:calc(var(--snow-i)*-.8s)}.living-steam i{position:absolute;left:calc(24% + var(--steam-i)*22%);bottom:15%;width:22%;height:45%;border-radius:50%;background:radial-gradient(ellipse,#fff7dd70,transparent 66%);animation:livingSteam 3.5s ease-out infinite;animation-delay:calc(var(--steam-i)*-1.2s)}.living-room.effect-active .living-steam i{animation-duration:2.5s}.living-gift{overflow:hidden}.living-gift .living-present{position:absolute;left:-24%;bottom:3%;width:17%;height:90%;object-fit:contain;opacity:.9;filter:drop-shadow(0 2px 2px #0006);animation:livingConveyor 10s linear infinite}.living-twinkle{background:radial-gradient(circle at 40% 35%,#ffda7980 0,transparent 10%),radial-gradient(circle at 68% 52%,#ffd27780 0,transparent 8%),radial-gradient(circle at 48% 74%,#ffdc7b80 0,transparent 8%);animation:livingWarm 4s ease-in-out infinite alternate}.living-fire.reacting,.living-lamp.reacting{animation:livingFlash 1s ease-out}.living-room.still *{animation:none!important}.living-room.still .living-gift .living-present{left:40%}.living-room.still .living-snow i{top:calc(var(--snow-i)*13%)}.living-room.still .living-steam i{opacity:.35}
@keyframes livingFire{0%,100%{opacity:.38}38%{opacity:.8}70%{opacity:.54}}@keyframes livingWarm{from{opacity:.3}to{opacity:.72}}@keyframes livingRing{0%,100%{opacity:.25;transform:translate(-50%,-50%) rotate(-3deg)}50%{opacity:1;transform:translate(-50%,-50%) rotate(3deg)}}@keyframes livingFlake{0%{transform:translate(0,0)}100%{transform:translate(7px,115px)}}@keyframes livingSteam{0%{opacity:0;transform:translateY(8px) scale(.6)}30%{opacity:.65}100%{opacity:0;transform:translateY(-32px) scale(1.5)}}@keyframes livingConveyor{0%{left:-24%}100%{left:105%}}@keyframes livingFlash{0%{opacity:1}100%{opacity:.5}}
.scene-event .scene-enter{font-size:12px;padding:6px 9px;white-space:nowrap;background:#226B50;color:#FFF4DD}.scene-enter[hidden]{display:none!important}.hide-scene{position:relative;max-width:850px;margin:auto;aspect-ratio:16/9;border:1px solid #F7CF8370;border-radius:18px;overflow:hidden;background:#142F46}.hide-scene>img{width:100%;height:100%;object-fit:cover;display:block}.hide-object{position:absolute;transform:translate(-50%,-50%);min-width:44px;min-height:44px;padding:6px;display:grid;justify-items:center;gap:2px;background:#142F46D9!important;border:1px solid #F7CF83!important;color:#FFF4DD!important;border-radius:12px!important;touch-action:manipulation}.hide-object:active{transform:translate(-50%,-50%)!important}.hide-object canvas{width:clamp(30px,7vw,72px);height:auto;pointer-events:none}.hide-object span{font-size:clamp(10px,2vw,14px);pointer-events:none}.hide-object.discovered{background:#226B50!important}.hide-note{display:flex;gap:10px;align-items:center;margin:10px auto;max-width:850px;border:1px solid #F7CF8370;border-radius:14px;background:#224459;color:#FFF4DD;padding:10px}.hide-note canvas{width:64px;height:64px;object-fit:contain;flex:none}.hide-note>div{flex:1}.hide-note p{margin:4px 0;font-size:13px;line-height:1.3}.hide-note button{min-width:44px;min-height:44px}.hide-note strong{font-size:15px}
@media(max-width:360px){.scene-event:has(.scene-enter:not([hidden])){display:grid;grid-template-columns:36px 1fr 44px 44px}.scene-event:has(.scene-enter:not([hidden])) .scene-enter{grid-row:2;grid-column:2/5}.scene-event:has(.scene-enter:not([hidden])) #sceneeventclose{grid-row:1;grid-column:4}.hide-note canvas{width:44px;height:44px}}
@media(orientation:landscape) and (max-height:550px) and (min-width:600px){body[data-screen="hideaway"] header{display:none}body[data-screen="hideaway"] main{padding-top:4px}.hide-scene{max-width:min(100%,calc((100dvh - 175px)*1.7778))}.hide-note{max-width:650px}}
@media(prefers-reduced-motion:reduce){.living-room *{animation:none!important}.living-room .living-gift .living-present{left:40%}}

/* 18A optional character visits */
.encounter{max-width:900px;margin:8px auto;border:1px solid #F7CF8370;background:#224459;border-radius:14px;overflow:hidden}.encounter[hidden],#encounterbody[hidden]{display:none!important}#encountertalk{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:transparent;border:0;box-shadow:none;color:#FFF4DD;padding:6px 12px;min-height:58px}#encounterface{width:50px;height:50px;border-radius:50%;background:#F7CF8340;flex:none}#encountertalk>span:nth-child(2){flex:1}#encountertalk strong,#encountertalk small{display:block}#encountertalk small{color:#EBDCC0;font-size:12px}#encounterbody{padding:6px 12px 12px}#encounterline{font-size:15px;margin:4px 0 8px}#encounterchoices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}#encounterchoices button{display:grid;justify-items:center;gap:4px;min-height:80px;padding:8px;background:#FFF4DD;color:#142F46}#encounterchoices canvas{width:52px;height:52px}#encounterlisten,#encounterclose{min-height:44px;margin-right:6px}#encountertalk:active{transform:none}

/* 18B: child-friendly alternate activity access and stable touch controls */
.room-help{max-width:900px;margin:7px auto;border:1px solid #F7CF8350;border-radius:12px}.room-help[hidden]{display:none!important}.room-help summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;color:#FFF4DD;cursor:pointer;font-weight:650;font-size:13px}.room-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:7px}.room-quick button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:76px;padding:5px;color:#FFF4DD;background:#224459;overflow-wrap:anywhere}.room-quick canvas{width:40px;height:40px;pointer-events:none}.room-quick span{font-size:12px;line-height:1.1;text-align:center}.room-quick button:active{transform:none}
@media(max-width:360px){.room-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:850px){.room-quick{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* 18C: quick visual briefing, lightweight scene transitions and activity-specific celebrations */
.cut-preview{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;margin:8px 0;border:1px solid #F7CF8350;border-radius:12px;background:#142F4666}.cut-preview[hidden]{display:none!important}.preview-object{display:grid;place-items:center;border-radius:9px;background:#FFF4DD;width:48px;height:48px;flex:none}.preview-object canvas{width:42px;height:42px;pointer-events:none}.cut-preview strong{font-size:14px;flex:1;min-width:100px;color:#FFF4DD}.cutdialog #cutnext{min-height:52px;flex:1;font-size:19px}.cutdialog #cutread{min-height:48px}.cutdialog #cutskip{min-height:44px}.arrive{animation:sceneArrival .22s ease-out}@keyframes sceneArrival{from{opacity:.78}to{opacity:1}}.cutstage .cut-character:not([hidden]){animation:characterArrival .45s ease-out both}@keyframes characterArrival{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}.reward-companion .win-sprite{object-fit:contain}.gameboard .choices:has(+*){min-width:0}
@media(max-width:360px){.preview-object{width:40px;height:40px}.preview-object canvas{width:35px;height:35px}.cut-preview strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.arrive,.cutstage .cut-character{animation:none!important}}body:has(.living-room.still) .arrive{animation:none}

body.quiet-motion .arrive,body.quiet-motion .cutstage .cut-character{animation:none!important}

/* 18D: accessible in-game audio and forgiving visual guidance */
.game-round-tools{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.game-round-tools .run-variant{flex:1;min-width:0}.game-round-tools #gameaudio{min-height:44px;min-width:70px;padding:5px 8px;font-size:12px;background:#224459;color:#FFF4DD}.game-hud button:focus-visible,.game-round-tools button:focus-visible,.scene-choice:focus-visible{outline:2px solid #F7CF83;outline-offset:2px}.gameboard .scene-hinted{outline:3px solid #F7CF83!important;outline-offset:2px}.gameboard .scene-retry{animation-duration:.25s}@media(max-width:360px){.game-round-tools #gameaudio{font-size:11px;padding:4px}.game-round-tools .run-variant{font-size:11px}}

/* 18E: user-controlled simulated cameras */
.camera-control-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.camera-control-row button{min-height:44px;flex:1;font-size:13px}.camera-control-row button[hidden]{display:none!important}.camera-control-row #replaycam{background:#226B50;color:#FFF4DD}.camera-paused .cam-ambient::before,.camera-paused .cam-ambient::after,.camera-paused .scan{animation-play-state:paused!important}.camera-paused .cam-ambient{opacity:.45}.camtabs button[aria-pressed="true"]{outline:2px solid #F7CF83;outline-offset:-2px}.camtabs button:focus-visible,.camera-control-row button:focus-visible{outline:2px solid #F7CF83;outline-offset:2px}
@media(max-width:360px){.camera-control-row button{font-size:12px}}
