:root{color-scheme:dark;--gold:#f8d99a;--cream:#fff3db}*{box-sizing:border-box}body{margin:0;background:#04121f;color:var(--cream);font-family:system-ui,-apple-system,Segoe UI,sans-serif}button,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible{outline:3px solid white;outline-offset:3px}[hidden]{display:none!important}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 22px;max-width:1600px;margin:auto}.brand{font:23px Georgia,serif;color:var(--gold)}.brand small{display:block;font:12px system-ui;color:#d7c9b1;margin-top:3px}.controls{display:flex;gap:10px;align-items:center}.controls button,.controls select{border:1px solid #bd9d65;border-radius:10px;background:#10283a;color:white;padding:9px 12px}.mansion-stage{position:relative;max-width:1500px;margin:auto;overflow:hidden;border-radius:14px;border:1px solid #88673b;isolation:isolate}.mansion{width:100%;height:auto;display:block}.hotspot{position:absolute;transform:translate(-50%,-50%);border:0;border-radius:25% 25% 7% 7%;background:transparent;z-index:3;transition:filter .25s,background .25s;min-width:24px;min-height:24px}.hotspot:hover,.hotspot:focus-visible{background:#ffe6a321;box-shadow:0 0 25px 8px #ffe19a88}.hotspot.done{box-shadow:inset 0 0 20px 3px #fff5bd77,0 0 13px 5px #ffd97855}.hotspot.done:after{content:'✦';position:absolute;top:-15%;right:-3%;font-size:clamp(10px,1.8vw,22px);color:#ffdd88;text-shadow:0 0 9px #fff}.glint{display:none;position:absolute;inset:5%;background:radial-gradient(#ffedb9 0,#f4b956 48%,transparent 72%);border-radius:42% 42% 8% 8%}.hotspot.opening .glint{display:block;animation:door-glow 1.2s ease-in forwards}.mansion-stage.entering .mansion{animation:cinematic-zoom 1.3s ease-in forwards}.zoom-flash{position:absolute;inset:0;background:#fff6d8;opacity:0;pointer-events:none;z-index:5}.mansion-stage.entering .zoom-flash{animation:flash .9s .35s forwards}@keyframes door-glow{0%{opacity:0;transform:scale(.4)}65%{opacity:.85}100%{opacity:1;transform:scale(1.3)}}@keyframes cinematic-zoom{to{transform:scale(1.7);filter:blur(3px)}}@keyframes flash{to{opacity:1}}.progress-wrap{width:min(620px,90%);margin:14px auto 0;text-align:center;color:#e9d9b6;font:17px Georgia,serif}.track{margin-top:8px;background:#132a3b;height:9px;border-radius:10px;overflow:hidden;border:1px solid #98784c}.track>div{height:100%;width:0;background:linear-gradient(90deg,#a86a31,#ffe6a6);transition:width .3s}.instructions{text-align:center;color:#c5c0b8;padding:0 14px 18px;font-size:13px}.load-error{text-align:center;color:#ffb7a4}.mission-view{position:fixed;inset:0;z-index:20;overflow:auto;background:#061522}.room{min-height:100dvh;position:relative;background:linear-gradient(90deg,#061521ef,#061521c4 42%,#06152122),url('assets/living-room.webp') center/cover no-repeat;display:flex;align-items:center}.door-other .room{background:linear-gradient(90deg,#061521f5,#061521dc 55%,#06152180),url('assets/living-room.webp') center/cover no-repeat}.mission-card{width:min(550px,46vw);margin:55px 0 45px clamp(20px,4vw,75px);position:relative;z-index:2;background:#061b2ce8;border:1px solid #d2ae75;border-radius:18px;padding:24px;box-shadow:0 20px 60px #0009;max-height:calc(100dvh - 60px);overflow:auto}.eyebrow{font-weight:800;color:var(--gold);letter-spacing:.15em;font-size:11px}.mission-card h1{font:clamp(29px,3vw,48px) Georgia,serif;margin:10px 0}.intro{line-height:1.5}.mission-card h2{font:26px Georgia,serif;color:#ffdf9e;margin:16px 0 6px}.speak{font-size:17px;line-height:1.5}.support{background:#123444;border-left:3px solid #f6d18d;padding:12px;margin:12px 0;line-height:1.5}.scene-note{font-size:11px;color:#d5b985;border:1px solid #745d39;border-radius:7px;display:inline-block;padding:5px 8px}.close{position:fixed;right:25px;top:20px;z-index:40;background:#081c2c;border:1px solid #dfbd85;color:#fff;padding:10px 15px;border-radius:50px;font-size:20px}.close span{font-size:13px}.step-label{font-size:11px;font-weight:800;letter-spacing:.1em;color:#f5c983;margin-top:15px}.mission-stage p{font-size:13px}.choices{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.object-choice{border:1px solid #d3af72;border-radius:12px;background:linear-gradient(#23483d,#102d32);color:#fff2db;padding:13px 15px;min-height:45px;text-align:left;flex:1 1 140px}.object-choice.selected{background:#6b4d25;outline:2px solid #ffe3a2}.answer{padding:12px;background:#214d3b;border:1px solid #c6d49c;border-radius:9px;line-height:1.5}.mission-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.btn{border:1px solid #d1ad74;border-radius:11px;padding:12px 16px;color:#fff4e3;background:#153041;font-weight:700}.btn.primary{background:linear-gradient(#ffe8af,#d3a052);color:#20190f;border:0}.btn:disabled{opacity:.45;cursor:not-allowed}.pick-hint{font-size:13px;color:#f8d795}.scene-gifts{position:absolute;inset:0;z-index:3;pointer-events:none}.gift-obj{position:absolute;pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:clamp(100px,13vw,190px);height:clamp(125px,15vw,210px);background:transparent;border:0;color:#fff4df;filter:drop-shadow(0 7px 9px #000a);transition:transform .2s}.gift-obj:hover,.gift-obj.selected{transform:translateY(-9px);filter:drop-shadow(0 0 14px #f2d289)}.gift-obj img{width:100%;height:80%;object-fit:contain}.gift-obj span{border:1px solid #dfbb80;background:#071a2ddd;border-radius:30px;padding:5px 12px;font-weight:800;font-size:13px;white-space:nowrap}.gift-obj.book{left:50%;bottom:6%}.gift-obj.headphones{left:68%;bottom:9%}.gift-obj.surprise{left:83%;bottom:4%}.complete{position:fixed;inset:0;z-index:60;background:#03131de8;display:grid;place-items:center;padding:16px}.complete-card{width:min(500px,100%);border:1px solid #e3c181;border-radius:22px;background:radial-gradient(circle at top,#2d5444,#081c2c 78%);padding:40px;text-align:center;box-shadow:0 0 90px #f0c66c33}.complete-card h2{font:clamp(33px,4vw,52px) Georgia,serif;color:#ffe0a0}.star{font-size:55px;color:#ffdc88}.complete-card p{line-height:1.6}@media(max-width:800px){.toolbar{padding:8px}.brand{font-size:16px}.brand small{font-size:9px}.controls{font-size:12px;gap:5px}.controls button,.controls select{padding:7px}.mansion-stage{border-radius:0}.room{align-items:flex-start;background-position:62% center}.mission-card{width:calc(100% - 24px);max-width:620px;margin:72px 12px 18px;padding:17px;max-height:none}.door-one .mission-card{margin-bottom:190px}.scene-gifts{position:fixed;inset:auto 0 0;height:180px;background:#061625cc;display:flex;align-items:center;justify-content:center;gap:5px}.gift-obj{position:static;width:31%;height:150px}.gift-obj img{height:110px}.gift-obj span{font-size:11px;padding:4px 6px}.close{right:10px;top:12px}.hotspot{min-width:20px;min-height:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Christmas cinematic scenes: 24 original illustrated locations */
.door-other .room{background-image:linear-gradient(90deg,#05121cf2 0%,#05121cdd 34%,#05121c55 65%,#05121c18 100%),var(--scene-image);background-size:cover;background-position:center;transition:background-image .3s}
.mission-view .room:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 70% 40%,transparent 15%,#05121b60 100%)}
.mission-card{backdrop-filter:blur(14px);border-color:#e7c78a;box-shadow:0 20px 80px #000c}
.visual-objects{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 10px}
.visual-objects button{font-size:12px;border:1px solid #f5d89b9c;border-radius:50px;padding:7px 10px;background:#173c37cc;color:#fff4d9}
.visual-objects button:hover,.visual-objects button:focus-visible{background:#6e4e24}
.selected-summary{color:#f5d99d;font-size:12px;line-height:1.4;margin:8px 0}
.hotspot .shutter{display:none;position:absolute;top:4%;height:90%;width:50%;background:repeating-linear-gradient(90deg,transparent 0 13%,#153f39 14% 17%,transparent 18% 30%),linear-gradient(125deg,#225d4c,#0c302d 65%,#071f24);border:2px solid #c5a36b;box-shadow:inset 0 0 0 4px #153c36,0 4px 9px #000a;backface-visibility:hidden;transition:transform 1.05s cubic-bezier(.18,.7,.15,1)}
.hotspot.opening .shutter{display:block}.hotspot .shutter.left{left:0;transform-origin:0 50%;border-radius:46% 0 0 5%}.hotspot .shutter.right{right:0;transform-origin:100% 50%;border-radius:0 46% 5% 0}
.hotspot.opening .shutter.left{transform:rotateY(-133deg)}.hotspot.opening .shutter.right{transform:rotateY(133deg)}
.hotspot{perspective:900px}.hotspot.opening{background:radial-gradient(#fff7c4,#f1ae45 55%,#6c361a);box-shadow:0 0 30px #ffb74a}
.mansion-stage.entering .mansion{transform-origin:var(--zoom-x,50%) var(--zoom-y,50%);animation:cinematic-zoom 1.3s ease-in forwards}
@keyframes cinematic-zoom{to{transform:scale(3.4);filter:blur(2px)}}
.mission-view{animation:mission-reveal .45s ease both}@keyframes mission-reveal{from{opacity:0}to{opacity:1}}
@media(max-width:800px){.door-other .room{background-position:65% center}.mission-card{background:#061b2cf5}.visual-objects button{min-height:38px}}

/* Scene-native exploration targets: positioned over the cinematic artwork */
.scene-hotspots{position:absolute;inset:0;z-index:3;pointer-events:none}
.scene-hotspot{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);width:clamp(39px,4vw,60px);height:clamp(39px,4vw,60px);border-radius:50%;border:2px solid #ffe7ad;color:#fff4c8;font-size:23px;background:radial-gradient(circle,#b88a3fbb,#18483b99);box-shadow:0 0 22px #ffd78488,0 0 0 7px #ffe5a01c;animation:scene-pulse 2.8s ease-in-out infinite}
.scene-hotspot.inspected{background:#1c634e;border-color:#a4f2d4;box-shadow:0 0 10px #8cffe9}
.scene-tooltip{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);white-space:nowrap;border:1px solid #dfbb7c;background:#071927ed;border-radius:8px;padding:5px 10px;color:#fff;font-size:12px;font-weight:700;opacity:0;transition:opacity .2s;pointer-events:none}
.scene-hotspot:hover .scene-tooltip,.scene-hotspot:focus-visible .scene-tooltip,.scene-hotspot.inspected .scene-tooltip{opacity:1}
@keyframes scene-pulse{50%{box-shadow:0 0 30px #ffe6a8c9,0 0 0 13px #ffe5a009}}
@media(max-width:800px){.scene-hotspots{position:relative;inset:auto;display:flex;justify-content:center;flex-wrap:wrap;gap:10px;padding:12px;background:#0a2535}.scene-hotspot{position:relative;left:auto!important;top:auto!important;transform:none;animation:none}.scene-tooltip{opacity:1;bottom:auto;top:calc(100% + 4px);font-size:10px}.scene-hotspots{padding-bottom:34px}.room{display:flex;flex-direction:column}.mission-card{order:1}.scene-hotspots{order:2;width:100%}}
@media(prefers-reduced-motion:reduce){.scene-hotspot{animation:none}}

/* Release accessibility and scene detail refinements */
.scene-hotspot{animation:none;background:linear-gradient(135deg,#84602e,#1b483c);font-weight:900}.scene-hotspot:focus-visible{outline:3px solid #fff;outline-offset:4px}.scene-tooltip{max-width:180px;white-space:normal;text-align:center}.mission-card{scrollbar-color:#bc985e #0c2737}.hotspot:focus-visible{outline:3px solid #fff0ba;outline-offset:2px}@media(max-width:800px){.scene-hotspots{gap:24px;padding:16px 10px 52px}.scene-tooltip{width:105px;white-space:normal;line-height:1.15}.mission-card{max-height:none}}

/* Rebuilt photographic object interactions: no generic + markers. */
.door-other .room{background-image:linear-gradient(90deg,#05121cf2 0%,#05121cdd 32%,#05121c3a 65%,#05121c11 100%),var(--scene-image)}
.scene-hotspots{position:absolute;inset:auto 1.8% 3% auto;width:min(51%,780px);height:auto;z-index:5;pointer-events:auto;display:block;padding:0;background:transparent}
.object-shelf{display:flex;align-items:flex-end;justify-content:center;gap:clamp(6px,1.5vw,24px)}
.scene-object{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:end;flex:1 1 0;min-width:0;max-width:210px;border:0;background:transparent;color:#fff3d5;padding:0;filter:drop-shadow(0 12px 12px #000c);transition:transform .25s,filter .25s}
.scene-object img{width:100%;max-height:175px;aspect-ratio:1;object-fit:contain;transition:transform .25s}
.scene-object:hover,.scene-object:focus-visible,.scene-object.inspected{transform:translateY(-10px);filter:drop-shadow(0 0 16px #f7ce7a)}
.scene-object.inspected img{outline:2px solid #e7c98d;outline-offset:-12px;border-radius:50%}
.scene-object-name{font-size:clamp(11px,1.05vw,15px);font-weight:750;text-shadow:0 2px 7px #000;line-height:1.2;background:#071d2ddc;border:1px solid #e1bf81;border-radius:30px;padding:6px 11px;margin-top:-9px;position:relative;white-space:normal;text-align:center}
.scene-object:focus-visible{outline:3px solid white;outline-offset:4px;border-radius:20px}
@media(max-width:800px){.door-other .room{min-height:100dvh;background-position:65% center}.scene-hotspots{position:relative;inset:auto;width:100%;order:2;padding:12px 12px 22px;background:#061b2ceb}.object-shelf{gap:8px}.scene-object img{max-height:135px}.scene-object-name{font-size:11px;padding:5px 6px}.mission-card{order:1;margin-bottom:8px}}
@media(max-width:450px){.scene-object img{max-height:100px}.scene-object-name{font-size:10px}}
