:root{color-scheme:dark;--ink:#20112f;--purple:#bf98ec;--paper:#f5edf9;--lime:#e0edb0;--muted:#bbaac7;--line:rgba(245,237,249,.17);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--paper);background:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:280px;background:radial-gradient(ellipse at 5% 85%,#352044 0,transparent 55%),var(--ink)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid var(--lime);outline-offset:4px}button{touch-action:manipulation}button[hidden],*[hidden]{display:none!important}.app-shell{max-width:1440px;margin:auto;padding:0 40px}.masthead{height:92px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:12px}.brand{color:var(--paper);text-decoration:none;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;letter-spacing:.02em}.brand-mark{font:italic 40px/1 Georgia,serif;color:var(--purple)}nav{display:flex;gap:8px}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--paper);font-size:22px;position:relative}.icon-button:hover{background:#ffffff0d}.sound-slash{position:absolute;left:12px;top:6px;font-size:25px;color:var(--purple)}.icon-button[aria-pressed=true] .sound-slash{display:none}#game{min-height:calc(100svh - 142px);display:flex;align-items:center;padding:30px 0}.adventure{width:100%;display:grid;grid-template-columns:minmax(0,1.13fr) minmax(320px,.87fr);gap:clamp(28px,5vw,80px);align-items:center}.scene-wrap{position:relative;align-self:stretch;min-height:520px}.scene{position:absolute;inset:0;background-color:#694887;background-image:url('assets/scene-atlas.webp');background-size:300% 200%;background-position:0 0;border-radius:160px 160px 24px 24px;overflow:hidden;box-shadow:0 30px 90px #12071b50}.scene:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 60%,#20112f88)}.scene-tag{position:absolute;left:24px;bottom:24px;display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:30px;background:#20112fd9;border:1px solid #f5edf930;font-size:12px;backdrop-filter:blur(12px)}.scene-dot{width:7px;height:7px;background:var(--lime);border-radius:50%}.scene-stamp{position:absolute;right:-15px;top:32px;width:90px;height:90px;display:grid;place-content:center;background:var(--lime);color:var(--ink);border-radius:50%;font:italic 16px/1.2 Georgia,serif;transform:rotate(11deg);text-align:center;box-shadow:0 3px 20px #20112f30}.dossier{padding:14px 0;min-width:0}.dedication{color:var(--purple);font-size:14px;margin:0 0 17px}.intro-title{font:normal clamp(48px,5.5vw,78px)/.98 Georgia,serif;letter-spacing:-.055em;margin:0 0 24px}.intro-title span{display:block}.intro-copy{font-size:16px;line-height:1.7;color:#ded0e8;max-width:390px;margin:0 0 24px}.intro-copy strong{color:var(--paper);font-weight:500}.mission-note{display:flex;gap:12px;border-left:2px solid var(--purple);padding:2px 0 2px 16px;margin:22px 0 28px;line-height:1.5;font-size:13px;color:var(--muted)}.mission-note b{font-weight:500;color:var(--paper)}.primary,.secondary{min-height:52px;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;border:0;border-radius:13px;padding:14px 20px;font-weight:650;font-size:15px}.primary{background:var(--lime);color:var(--ink);box-shadow:0 7px 20px #0c03152b}.primary:hover{background:#edf7cc;transform:translateY(-1px)}.primary:active{transform:translateY(1px)}.secondary{background:transparent;color:var(--purple);margin-top:8px;border:1px solid var(--line)}.button-note{text-align:center;font-size:12px;color:var(--muted);margin:12px 0 0}.intro-actions{max-width:390px}.page-footer{height:50px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#a693b5;gap:12px}.page-footer span span{color:var(--purple);font-size:15px;margin-left:3px}.status-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.time-badge{color:var(--lime);font-size:13px;display:flex;align-items:center;gap:7px}.hearts{letter-spacing:4px;font-size:19px;color:var(--purple);white-space:nowrap}.heart-lost{color:#72607e}.timeline{display:flex;gap:5px;margin-bottom:23px}.timeline-step{height:4px;background:#ffffff20;border-radius:3px;flex:1}.timeline-step.done{background:var(--purple)}.timeline-step.current{background:var(--lime)}.case-count{font-size:12px;color:var(--purple);margin:0 0 9px}.case-title{font:normal clamp(28px,3.1vw,43px)/1.12 Georgia,serif;letter-spacing:-.035em;margin:0 0 14px}.case-text{line-height:1.55;font-size:15px;color:#e1d3e9;margin:0 0 14px}.clue{font-size:12px;color:var(--muted);line-height:1.45;margin:0 0 16px;display:flex;gap:7px}.clue>span{color:var(--purple)}.choices{display:grid;gap:9px}.choice{min-height:53px;display:flex;align-items:center;text-align:left;gap:12px;padding:12px 15px;color:var(--paper);border:1px solid #d5b8e539;background:#ffffff05;border-radius:12px;font-size:14px;line-height:1.35}.choice:hover:not(:disabled){background:#bf98ec20;border-color:var(--purple)}.choice:active:not(:disabled){background:#bf98ec35}.choice-icon{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:8px;background:#bf98ec15;font-size:17px}.choice-key{margin-left:auto;color:#bbaac780;font-size:10px}.choice.selected{background:#bf98ec2b;border-color:var(--purple)}.choice:disabled{opacity:.5}.feedback{padding:14px 16px;border-radius:12px;background:#bf98ec16;border:1px solid #bf98ec44;margin:12px 0;font-size:14px;line-height:1.5}.feedback.success{background:#e0edb012;border-color:#e0edb04a;color:var(--lime)}.feedback.error{background:#f39cc012;border-color:#f39cc04a;color:#f2b7cf}.progress-note{font-size:12px;color:var(--purple);margin:12px 0}.score-line{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:19px;border-top:1px solid var(--line);padding-top:14px}.ending-title{font:normal clamp(36px,4.5vw,60px)/1.05 Georgia,serif;letter-spacing:-.04em;margin:12px 0 20px}.ending-copy{color:#ded0e8;line-height:1.65;font-size:15px;margin-bottom:25px}.ending-score{font-size:14px;color:var(--purple);margin:0 0 24px}.ending-score b{font:normal 32px Georgia,serif;color:var(--lime);margin-right:8px}.ending-ribbon{color:var(--lime);font-size:13px}.airport-ticket{border:1px dashed #bf98ec70;border-radius:12px;padding:15px;margin:18px 0 24px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.airport-ticket b{font:normal 27px Georgia,serif;color:var(--paper);display:block;margin-top:4px}.ticket-plane{font-size:25px;color:var(--lime)}dialog{padding:0;border:1px solid #bf98ec5c;border-radius:22px;background:#2c193c;color:var(--paper);width:min(440px,calc(100vw - 32px));max-height:calc(100svh - 32px);box-shadow:0 28px 130px #08020dd0}dialog::backdrop{background:#10071bc7;backdrop-filter:blur(7px)}.dialog-content{padding:28px}.dialog-symbol{font-size:38px;display:block;margin-bottom:15px}.dialog-title{font:normal 33px/1.1 Georgia,serif;letter-spacing:-.03em;margin:0 0 16px}.dialog-text{font-size:14px;line-height:1.65;color:#ded0e8;margin:0 0 20px}.help-list{padding-left:20px;margin:0 0 23px;font-size:14px;color:#ded0e8;line-height:1.7}.help-list li+li{margin-top:10px}.dialog-alert{border-color:#eb96cb}.hack-countdown{margin:0 0 14px;color:var(--lime);font-size:13px}.dialog-content .choices{margin-bottom:12px}.hack-caption{color:#c8b3d5;font-size:11px;margin:13px 0 0;line-height:1.5}#celebration{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}.storage-note{font-size:12px;color:#e9bfd4;line-height:1.4;margin-top:12px}.motion-in{animation:scene-in .35s ease-out}@keyframes scene-in{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1100px){.scene-wrap{max-height:690px;height:min(70vh,690px)}.dossier{max-width:460px}.scene{border-radius:190px 190px 26px 26px}}
@media(max-width:767px){.app-shell{padding:0 20px}.masthead{height:69px}.brand{font-size:12px;gap:8px}.brand-mark{font-size:33px}nav{gap:5px}.icon-button{height:44px;width:44px;font-size:20px}#game{padding:21px 0 10px;min-height:calc(100svh - 109px);align-items:start}.adventure{grid-template-columns:1fr;gap:20px}.scene-wrap{min-height:0;height:clamp(180px,29svh,310px);margin:0 5px}.scene{border-radius:75px 75px 19px 19px;background-size:300% 200%}.scene-stamp{height:68px;width:68px;right:-9px;top:14px;font-size:13px}.scene-tag{left:14px;bottom:12px;padding:7px 11px;font-size:10px}.dossier{padding:0 0 6px}.dedication{font-size:12px;margin-bottom:9px}.intro-title{font-size:clamp(41px,10.6vw,64px);margin-bottom:14px;letter-spacing:-.055em}.intro-title span{display:inline}.intro-title span+span:before{content:' '}.intro-copy{font-size:14px;line-height:1.55;margin-bottom:17px;max-width:none}.mission-note{font-size:12px;margin:14px 0 18px;padding-left:12px}.intro-actions{max-width:none}.primary,.secondary{min-height:49px;padding:12px 16px;font-size:14px}.button-note{font-size:10px;margin-top:9px}.page-footer{height:40px;font-size:9px}.status-top{margin-bottom:11px}.hearts{font-size:17px}.timeline{margin-bottom:15px}.case-count{font-size:11px;margin-bottom:7px}.case-title{font-size:30px;margin-bottom:9px}.case-text{font-size:14px;line-height:1.48;margin-bottom:10px}.clue{font-size:11px;margin-bottom:12px}.choices{gap:7px}.choice{min-height:49px;padding:9px 12px;font-size:13px;gap:10px}.choice-icon{height:27px;flex-basis:27px}.choice-key{display:none}.feedback{font-size:13px;padding:10px 13px;margin:10px 0}.score-line{font-size:10px;margin-top:14px;padding-top:10px}.ending-title{font-size:39px;margin:10px 0 13px}.ending-copy{font-size:14px;line-height:1.5;margin:0 0 16px}.ending-score{margin-bottom:16px}.airport-ticket{margin:12px 0 18px;padding:12px}.dialog-content{padding:23px}.dialog-title{font-size:29px}.dialog-symbol{font-size:31px;margin-bottom:11px}}
@media(max-width:380px){.app-shell{padding:0 15px}.brand{font-size:11px}.masthead{height:62px}.brand-mark{font-size:30px}.icon-button{width:44px;height:44px}#game{padding-top:15px}.adventure{gap:14px}.scene-wrap{height:clamp(155px,26svh,230px)}.intro-title{font-size:39px}.intro-copy{font-size:13px}.mission-note{font-size:11px;margin:12px 0 14px}.case-title{font-size:27px}.case-text{font-size:13px}.case-count{font-size:10px}.choice{font-size:12px;min-height:46px;padding:8px 10px}.timeline{margin-bottom:12px}.score-line{margin-top:11px}.ending-title{font-size:34px}.ending-copy{font-size:13px}.intro .scene-wrap{height:180px}.intro .mission-note{display:none}.intro .intro-copy{margin-bottom:14px}.page-footer{font-size:9px}}
.scene{background-image:none}.scene:before{content:"";position:absolute;left:0;top:50%;width:100%;aspect-ratio:1;background-image:url('assets/scene-atlas.webp');background-size:300% 200%;background-position:inherit;transform:translateY(-50%)}
@media(min-width:768px){.scene-wrap{min-height:0;height:auto;max-height:none;aspect-ratio:1;align-self:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.primary:hover{transform:none}}
.mission-game{width:100%;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);grid-template-rows:auto 1fr;gap:20px 55px;align-items:center}.mission-heading{grid-column:2;align-self:end}.mission-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.mission-topline .case-count{margin:0;line-height:1.5}.mission-instruction{font:normal clamp(28px,3vw,41px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:0 0 20px;max-width:460px}.mission-heading .timeline{margin-bottom:0}.playfield{grid-column:1;grid-row:1/3;position:relative;aspect-ratio:1;border-radius:35px;overflow:hidden;isolation:isolate;box-shadow:0 24px 80px #0d041855;border:1px solid #d4b4ed40}.playfield-art{position:absolute;inset:0;background:url('assets/scene-atlas.webp') var(--scene-position)/300% 200%;z-index:-2}.playfield-shade{position:absolute;inset:0;background:linear-gradient(#20112f0a,#20112f05 50%,#20112f66);z-index:-1}.scene-object{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:82px;height:89px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;color:#20112f;background:#f5edf9eb;border-radius:19px;box-shadow:0 5px 0 #50306391,0 7px 18px #1d0d3f45;filter:drop-shadow(0 0 3px #fff7);transition:opacity .2s,filter .2s;isolation:isolate;padding:5px 4px 4px;touch-action:manipulation}.scene-object svg{width:55px;height:55px;overflow:visible;filter:drop-shadow(0 2px 0 #47285320)}.object-label{font-size:10px;font-weight:750;line-height:1.1;text-align:center;max-width:80px;color:#482656;margin-top:3px}.scene-object:hover:not(:disabled){background:#fff;filter:drop-shadow(0 0 7px #e0edb0)}.scene-object:active:not(:disabled){transform:translate(-50%,-50%) scale(.9)}.scene-object.collected{opacity:.27;box-shadow:none;filter:none;background:#e0edb0;transform:translate(-50%,-50%) scale(.84)}.scene-object.collected .object-label{color:#20112f}.scene-object:disabled:not(.collected){opacity:.65}.target-glow{outline:3px solid #e0edb0;box-shadow:0 0 0 7px #e0edb03d,0 5px 20px #1a052580;animation:tap-glow 1.3s infinite}.tap-cue{position:absolute;bottom:calc(100% + 7px);background:#e0edb0;color:#20112f;white-space:nowrap;border-radius:15px;padding:5px 8px;font-size:10px;font-weight:700;box-shadow:0 2px 7px #20112f45}.tap-cue:after{content:'';position:absolute;left:calc(50% - 4px);bottom:-4px;width:8px;height:8px;background:#e0edb0;transform:rotate(45deg)}.stage-caption{position:absolute;left:15px;bottom:11px;font-size:10px;color:#fff;text-shadow:0 1px 5px #20112f;font-weight:600}.mission-bottom{grid-column:2;align-self:start;min-width:0}.wendy-says{position:relative;display:flex;align-items:center;gap:12px;padding:15px 0;font-size:14px;line-height:1.5;min-height:85px}.wendy-says p{margin:0;color:#e6d8ed}.speech-avatar{flex:0 0 40px;height:40px;border-radius:50%;background:#bf98ec25;color:#d2b1ef;display:grid;place-items:center;font:italic 27px Georgia,serif;border:1px solid #bf98ec4d}.wendy-says.success p{color:var(--lime)}.wendy-says.error p{color:#ffb6d5}.inventory{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}.inventory-name{color:#cbb8d8;white-space:nowrap}.inventory-checks{display:flex;gap:4px}.inventory-slot{width:25px;height:28px;border-radius:7px;border:1px dashed #bf98ec67;display:grid;place-items:center;color:#987daa;font-size:19px;line-height:1}.inventory-slot.filled{border-style:solid;background:#bf98ec22;color:var(--lime);border-color:#bf98ec90}.inventory strong{font-size:12px;color:var(--purple)}.mini-score{margin-left:auto;color:#cbb8d8;font-size:10px}.next-scene{margin-top:17px}.game-clock{text-align:center;font-size:10px;color:#ad95bf;margin-top:12px}.coin-counter{position:absolute;top:13px;left:13px;display:flex;flex-direction:column;text-align:center;background:#20112fed;border:1px solid #e0edb0aa;border-radius:14px;padding:9px 16px;line-height:1.2;color:#e0edb0;box-shadow:0 4px 17px #20112f55}.coin-counter span{font-size:9px;color:#f5edf9}.coin-counter b{font:normal 34px Georgia,serif}.coin-counter small{font-size:9px}.memory-card{height:103px;width:76px;border-radius:12px;background:#f2e4fa;box-shadow:0 5px 0 #80599e,0 6px 20px #20112f70}.memory-card svg{height:68px;width:59px}.memory-card.collected{opacity:.63;transform:translate(-50%,-50%)}.rhythm-note{position:absolute;color:#e0edb0;font-size:36px;text-shadow:0 3px 8px #20112f;animation:dance-note 1s ease-in-out infinite alternate}.note-a{top:16%;left:12%}.note-b{top:14%;right:12%;animation-delay:.3s}.flying-object{position:fixed;pointer-events:none;z-index:20;color:#e0edb0;font-size:40px;text-shadow:0 0 15px #e0edb0}.skull-field{position:relative;height:270px;background:radial-gradient(ellipse at center,#a869b740,#20112f 80%);border:1px solid #d99ed43d;border-radius:19px;overflow:hidden;margin-bottom:12px}.skull-field .scene-object{width:78px;height:88px;background:#56306a;border:2px solid #eab3dd;box-shadow:0 5px 0 #251031,0 5px 25px #ea85cb30;border-radius:12px}.skull-field .object-label{color:#f5edf9;font-size:10px}.skull-field .scene-object:before{content:'● ● ●';position:absolute;top:0;left:0;right:0;padding:2px 5px;background:#a96eab;color:#f5edf9;text-align:left;font-size:7px;border-radius:9px 9px 0 0}.skull-field .scene-object svg{width:48px;height:48px;margin-top:7px}.skull-field .scene-object.collected{transform:translate(-50%,-50%) scale(.1);opacity:0}.hack-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#e0edb0;margin-bottom:10px}.hack-top .hack-countdown{margin:0}.karl-taunt{position:absolute;top:8px;left:13px;color:#cf9bdc;font-size:11px;font-style:italic;pointer-events:none}.hacker-character{position:absolute;left:30%;top:9%;width:44%;height:72%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 6px 14px #10041e);opacity:.95}.robbery-bar{height:5px;background:#ffffff22;border-radius:5px;margin:0 0 14px;overflow:hidden}.robbery-bar span{display:block;height:100%;width:100%;background:#ec9acb;transform-origin:left}.dialog-alert .dialog-title{font-size:28px;margin-bottom:10px}.dialog-alert .dialog-text{font-size:13px;line-height:1.45;margin-bottom:12px}
@keyframes tap-glow{50%{box-shadow:0 0 0 10px #e0edb018,0 5px 20px #1a052580}}@keyframes dance-note{to{transform:translateY(-8px) rotate(12deg)}}
@media(max-width:767px){.masthead{height:58px}.page-footer{height:30px}#game{padding:13px 0 8px;min-height:calc(100svh - 88px)}.mission-game{display:flex;flex-direction:column;gap:11px;align-items:stretch}.mission-heading{width:100%;align-self:auto}.mission-topline{margin-bottom:7px}.mission-topline .case-count{font-size:10px}.mission-topline .hearts{font-size:15px;letter-spacing:2px}.mission-instruction{font-size:22px;line-height:1.18;letter-spacing:-.02em;margin:0 0 10px;min-height:51px;max-width:none}.mission-heading .timeline{margin:0;gap:4px}.playfield{width:100%;aspect-ratio:1;border-radius:22px;flex:none}.scene-object{width:65px;height:73px;border-radius:14px;padding:4px 3px}.scene-object svg{width:43px;height:43px}.object-label{font-size:8px;max-width:62px}.tap-cue{font-size:9px;padding:4px 6px;bottom:calc(100% + 5px)}.mission-bottom{width:100%}.wendy-says{min-height:0;padding:0 1px 10px;gap:9px;font-size:11px;line-height:1.4}.speech-avatar{flex-basis:28px;height:28px;font-size:20px}.inventory{padding:9px 0;gap:8px;font-size:10px}.inventory-slot{height:23px;width:23px;font-size:17px}.inventory strong{font-size:10px}.mini-score{font-size:9px}.next-scene{margin-top:10px}.game-clock{font-size:8px;margin-top:7px}.stage-caption{font-size:8px;bottom:8px;left:10px}.coin-counter{padding:7px 12px;top:9px;left:9px;border-radius:11px}.coin-counter b{font-size:27px}.memory-card{height:86px;width:65px;border-radius:10px}.memory-card svg{height:58px;width:48px}.skull-field{height:240px}.dialog-alert .dialog-content{padding:20px}.dialog-alert .dialog-title{font-size:25px}.skull-field .scene-object{width:66px;height:77px}.skull-field .scene-object svg{width:39px;height:39px}.skull-field .object-label{font-size:8px}.dialog-alert .secondary{min-height:46px}.intro .scene-wrap{height:clamp(230px,38svh,350px);margin:0}.intro .scene{border-radius:85px 85px 22px 22px}.intro .intro-title{font-size:39px}.intro .intro-copy{font-size:13px}.intro .dedication{margin-bottom:6px}.intro .mission-note{display:none}}
@media(max-width:360px){.app-shell{padding:0 13px}.mission-instruction{font-size:21px}.mission-topline .case-count{font-size:9px}.mission-game{gap:10px}.scene-object{width:61px;height:69px}.scene-object svg{width:40px;height:40px}.object-label{font-size:8px}.wendy-says{font-size:10px}.inventory{padding:8px 0}.scene-stamp{width:60px;height:60px;font-size:12px}.intro .intro-title{font-size:36px}.intro .scene-wrap{height:225px}.skull-field{height:220px}}
@media(prefers-reduced-motion:reduce){.target-glow,.rhythm-note{animation:none!important}.scene-object{transition:none}}
.mission-game.completed .mission-instruction{min-height:0}.mission-game.completed .scene-object:not(.collected){opacity:.23}.dialog-alert .skull-field .scene-object{z-index:2}.hacker-character{z-index:0}.karl-taunt{z-index:1}
@media(max-width:767px){.object-label{font-size:9px}.hacker-character{max-height:180px;top:6%;left:28%;width:48%;height:78%}}
.riddle-prompt{margin:0 0 8px;font-size:12px;color:var(--purple)}.riddle-clue{display:flex;align-items:flex-start;gap:10px;background:#bf98ec13;border:1px solid #bf98ec3d;border-radius:15px;padding:16px;margin:0 0 19px;color:#f5edf9;box-shadow:0 5px 16px #160b221a}.riddle-clue>span{font-size:22px;line-height:1;color:var(--lime)}.riddle-clue p{margin:0;font-size:15px;line-height:1.6}.riddle-prompt+.mission-instruction{margin-bottom:14px}.bomb-pop{position:fixed;inset:0;z-index:30;pointer-events:none;display:grid;place-items:center;background:#20112f22;animation:bomb-wash .85s ease-out both}.bomb-burst{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;color:#f5edf9;background:#20112fe8;padding:18px 30px 22px;border:2px solid #e7b1d6;border-radius:30px;box-shadow:0 15px 70px #0b011ca6;animation:bomb-bounce .85s ease-out both;max-width:85vw}.bomb-burst svg{width:106px;height:116px;filter:drop-shadow(0 4px 14px #bf98ec50)}.bomb-burst b{font:normal 24px Georgia,serif;text-align:center}.bomb-burst>span{color:#f3b7d9;font-size:14px;font-weight:700;margin-top:6px}.bomb-burst i{position:absolute;color:#e0edb0;font-size:28px;font-style:normal;animation:bomb-spark .8s ease-out both}.bomb-burst i:nth-of-type(1){left:-15px;top:10px;--dx:-30px;--dy:-35px}.bomb-burst i:nth-of-type(2){right:-15px;top:40px;--dx:35px;--dy:-15px}.bomb-burst i:nth-of-type(3){left:15px;bottom:-12px;--dx:-20px;--dy:30px}.bomb-burst i:nth-of-type(4){right:10px;bottom:-10px;--dx:28px;--dy:32px}@keyframes bomb-bounce{0%{transform:scale(.4) rotate(-10deg);opacity:0}22%{transform:scale(1.08) rotate(4deg);opacity:1}36%{transform:scale(.98) rotate(-2deg)}55%{transform:scale(1);opacity:1}100%{transform:scale(1.12);opacity:0}}@keyframes bomb-wash{0%,100%{background:#20112f00}25%,55%{background:#20112f35}}@keyframes bomb-spark{0%{transform:translate(0,0) scale(.1);opacity:0}25%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) scale(1.4);opacity:0}}
@media(max-width:767px){.riddle-prompt{font-size:10px;margin-bottom:5px}.riddle-prompt+.mission-instruction{font-size:23px;min-height:0;margin-bottom:10px}.riddle-clue{padding:11px 12px;gap:8px;border-radius:12px;margin-bottom:11px}.riddle-clue p{font-size:12px;line-height:1.5}.riddle-clue>span{font-size:18px}.bomb-burst b{font-size:22px}.bomb-burst svg{width:93px;height:104px}}
@media(prefers-reduced-motion:reduce){.bomb-pop,.bomb-burst,.bomb-burst i{animation:none}.bomb-burst i{display:none}}
.playfield-art{background-image:url('assets/scene-backgrounds.webp')}.wendy-sprite{position:absolute;width:88%;aspect-ratio:1;left:-25%;bottom:-1%;background-image:url('assets/wendy-poses.webp');background-size:300% 200%;background-position:var(--pose-position);pointer-events:none;z-index:0;filter:drop-shadow(0 8px 6px #20112f45);transform-origin:50% 85%;animation:wendy-breathe 4s ease-in-out infinite}.scene-object{z-index:2}.wendy-sprite.pose-2{animation:wendy-happy .65s ease-out,wendy-breathe 4s .65s ease-in-out infinite}.wendy-sprite.pose-3{animation:wendy-surprise .5s ease-out,wendy-breathe 4s .5s ease-in-out infinite}.wendy-sprite.pose-4{animation:wendy-dance 1.15s ease-in-out 2}.wendy-sprite.pose-5{animation:wendy-happy .7s ease-out}.stage-caption{z-index:3}.rhythm-note{z-index:1}.coin-counter{z-index:4}@keyframes wendy-breathe{50%{transform:translateY(-1px) scaleY(1.012)}}@keyframes wendy-happy{30%{transform:translateY(-9px) rotate(-2deg)}65%{transform:translateY(-2px) rotate(1deg)}}@keyframes wendy-surprise{20%{transform:translateY(-12px) rotate(-4deg)}45%{transform:translateY(0) rotate(3deg)}70%{transform:rotate(-1deg)}}@keyframes wendy-dance{25%{transform:rotate(-4deg) translateY(-4px)}75%{transform:rotate(4deg) translateY(-7px)}}
.bomb-sequence{animation:none!important;background:#20112f0d}.bomb-sequence .bomb-burst{animation:bomb-arrive .22s ease-out both;overflow:visible;background:#20112fe0}.bomb-sequence .bomb-device{transform-origin:center;animation:bomb-tremble .15s linear infinite}.bomb-sequence .fuse-spark{animation:spark-flicker .11s steps(2,end) infinite}.bomb-sequence .bomb-heart{position:relative;z-index:3}.bomb-sequence .bomb-burst i{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;opacity:0;animation:none;transform:rotate(var(--angle)) translateX(10px)}.bomb-shockwave,.bomb-smoke{position:absolute;inset:20%;border:5px solid #eed5fb;border-radius:50%;opacity:0;pointer-events:none}.bomb-smoke{border:0;background:radial-gradient(ellipse,#e1bbf75c,transparent 70%);filter:blur(10px)}.bomb-pow{position:absolute;top:37%;left:50%;transform:translate(-50%,-50%) scale(.3) rotate(-9deg);opacity:0;color:#e0edb0;font:800 45px Georgia,serif;text-shadow:3px 3px 0 #713f8a;white-space:nowrap}.bomb-sequence.exploded{background:#bf98ec16}.bomb-sequence.exploded .bomb-device{animation:bomb-vanish .18s ease-out both}.bomb-sequence.exploded .bomb-pow{animation:bomb-pow .75s ease-out both}.bomb-sequence.exploded .bomb-shockwave{animation:shockwave .65s ease-out both}.bomb-sequence.exploded .bomb-smoke{animation:smoke-cloud .85s ease-out both}.bomb-sequence.exploded .bomb-burst i{animation:bomb-radial .8s var(--delay) ease-out both}.bomb-sequence.exploded .bomb-heart{animation:heart-lost .85s ease-out both}.bomb-sequence.exploded .bomb-burst{animation:bomb-finish .95s ease-out both}.stage-shake{animation:stage-shake .3s ease-out!important}@keyframes bomb-arrive{from{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@keyframes bomb-tremble{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}@keyframes spark-flicker{50%{opacity:.3;stroke:#f3b7d9}}@keyframes bomb-vanish{to{transform:scale(1.3);opacity:0}}@keyframes bomb-pow{10%,60%{opacity:1;transform:translate(-50%,-50%) scale(1.1) rotate(-9deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.4) rotate(-9deg)}}@keyframes shockwave{10%{opacity:.85}100%{transform:scale(4);opacity:0}}@keyframes smoke-cloud{15%{opacity:.8}100%{transform:scale(5);opacity:0}}@keyframes bomb-radial{0%{opacity:0;transform:rotate(var(--angle)) translateX(20px)}20%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(140px) rotate(90deg)}}@keyframes heart-lost{20%{opacity:1}100%{transform:translateY(-75px);opacity:0}}@keyframes bomb-finish{65%{opacity:1}100%{opacity:0}}@keyframes stage-shake{15%,65%{transform:translateX(-4px)}40%,85%{transform:translateX(4px)}}
@media(prefers-reduced-motion:reduce){.wendy-sprite,.stage-shake,.bomb-sequence *{animation:none!important;transition:none!important}.bomb-sequence.exploded .bomb-device{opacity:0}.bomb-sequence.exploded .bomb-pow{opacity:1;transform:translate(-50%,-50%)}.bomb-sequence .bomb-burst i,.bomb-shockwave,.bomb-smoke{display:none}}
.dialog-encounter{width:min(480px,calc(100vw - 28px));border-color:#c7a8e7}.dialog-encounter .dialog-content{padding:23px}.encounter-kicker{margin:0 0 7px;color:#c9a7e7;font-size:11px}.dialog-encounter .dialog-title{font-size:31px;margin-bottom:15px}.encounter-stage{height:210px;border-radius:18px;position:relative;overflow:hidden;isolation:isolate;margin-bottom:15px;border:1px solid #bf98ec40}.encounter-art{position:absolute;width:100%;aspect-ratio:1;left:0;top:50%;transform:translateY(-50%);background:url('assets/scene-backgrounds.webp') 0 0/300% 200%;z-index:-2}.encounter-stage:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(transparent 65%,#20112fba);z-index:0}.encounter-stage .wendy-sprite{width:78%;left:-11%;bottom:-15%;z-index:0}.encounter-hacker{position:absolute;right:3%;bottom:4%;height:91%;max-width:50%;object-fit:contain;filter:drop-shadow(0 4px 9px #20112f60)}.encounter-caption{position:absolute;left:14px;right:14px;bottom:10px;font-size:10px;color:#f5edf9;text-shadow:0 1px 5px #20112f;z-index:2}.encounter-question{font-size:13px;line-height:1.5;color:#e7d8ef;margin:0 0 13px}.encounter-paths{display:grid;gap:8px}.path-choice{display:flex;align-items:center;text-align:left;gap:12px;min-height:52px;width:100%;padding:9px 13px;background:#bf98ec12;color:#f5edf9;border:1px solid #bf98ec4d;border-radius:12px;font-size:13px}.path-choice:hover{background:#bf98ec30;border-color:#e0edb0}.path-choice:active{transform:scale(.98)}.path-symbol{display:grid;place-items:center;width:30px;font-size:24px}.path-choice strong{font-weight:600}.path-arrow{margin-left:auto;color:#e0edb0;font-size:21px}.path-note{margin:11px 0 0;font-size:10px;color:#bea4cf;text-align:center}.encounter-outcome>strong{color:#e0edb0;font-size:13px}.encounter-outcome>p{font-size:14px;line-height:1.6;margin:10px 0 14px;color:#eadff0}.encounter-clue{border-top:1px solid #bf98ec40;margin:4px 0 15px;padding-top:11px;font-size:12px;line-height:1.5;color:#d6b5ed}.encounter-clue summary{cursor:pointer;min-height:32px;touch-action:manipulation}.encounter-clue p{color:#f5edf9;margin:7px 0}.encounter-notes{position:absolute;right:12%;top:14%;font-size:29px;color:#e0edb0;word-spacing:12px;animation:dance-note .7s ease-in-out infinite alternate}.encounter-result .wendy-sprite.pose-4{animation:wendy-dance 1.15s ease-in-out 3}
@media(max-width:767px){.dialog-encounter .dialog-content{padding:18px}.dialog-encounter .dialog-title{font-size:27px;margin-bottom:12px}.encounter-stage{height:180px;margin-bottom:12px}.encounter-stage .wendy-sprite{width:80%;bottom:-20%;left:-12%}.encounter-question{font-size:12px;margin-bottom:10px}.path-choice{min-height:48px;font-size:12px;padding:8px 11px}.encounter-outcome>p{font-size:13px;line-height:1.5}.encounter-kicker{font-size:10px}}
@media(prefers-reduced-motion:reduce){.encounter-notes,.encounter-result .wendy-sprite{animation:none!important}.path-choice:active{transform:none}}
.encounter-stage .wendy-sprite{width:230px;left:-24px;bottom:-22px}.encounter-clue summary{min-height:44px;padding:8px 0}
@media(max-width:767px){.encounter-stage .wendy-sprite{width:190px;left:-17px;bottom:-12px}}
body{--mood-glow:#503266;--day-glow:#a876c51a;transition:background-color .8s}body[data-dayphase=morning]{--day-glow:#edc7a51b}body[data-dayphase=noon]{--day-glow:#e9d99d18}body[data-dayphase=sunset]{--day-glow:#e89ca923}body[data-dayphase=night]{--day-glow:#7689da1e}body[data-mood=financial]{--mood-glow:#394b5b}body[data-mood=speaking]{--mood-glow:#56335f}body[data-mood=music]{--mood-glow:#682968}body[data-mood=airport]{--mood-glow:#384d66}body[data-mood=tea]{--mood-glow:#5a3e50}body{background:radial-gradient(ellipse at 5% 85%,var(--mood-glow) 0,transparent 55%),radial-gradient(ellipse at 90% 10%,var(--day-glow),transparent 60%),var(--ink)}.playfield-art,.encounter-art{transition:filter .7s}.playfield[data-dayphase=morning] .playfield-art,.encounter-stage[data-dayphase=morning] .encounter-art{filter:brightness(1.08) saturate(.98)}.playfield[data-dayphase=noon] .playfield-art,.encounter-stage[data-dayphase=noon] .encounter-art{filter:brightness(1.12) saturate(1.06)}.playfield[data-dayphase=sunset] .playfield-art,.encounter-stage[data-dayphase=sunset] .encounter-art{filter:brightness(1.03) saturate(1.12) sepia(.08)}.playfield[data-dayphase=night] .playfield-art,.encounter-stage[data-dayphase=night] .encounter-art{filter:brightness(.91) saturate(1.1)}.playfield:after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--scene-light,transparent);mix-blend-mode:soft-light;transition:background .7s}.playfield[data-mood=financial]{--scene-light:linear-gradient(135deg,#e0edb026,transparent 70%)}.playfield[data-mood=music]{--scene-light:linear-gradient(125deg,#d27ce64d,transparent 70%)}.playfield[data-mood=airport]{--scene-light:linear-gradient(150deg,#9cc8ed30,transparent 65%)}.playfield[data-mood=mystery]{--scene-light:linear-gradient(135deg,#bf98ec24,transparent 70%)}.atmosphere-prop{position:absolute;right:4%;top:4%;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#e0edb0;background:#20112f66;opacity:.8;z-index:1;pointer-events:none;animation:idea-drift 4s ease-in-out infinite}.atmosphere-prop svg{width:25px;height:25px}.encounter-stage .atmosphere-prop{right:8%;top:14%;height:48px;width:48px;background:#20112f77;color:#e0edb0}.encounter-stage .atmosphere-prop svg{height:32px;width:32px}@keyframes idea-drift{50%{transform:translateY(-3px);opacity:1}}
.dialog-phone{width:min(460px,calc(100vw - 24px))}.dialog-phone .dialog-content{padding:21px}.dialog-phone .dialog-title{font-size:28px;margin-bottom:12px}.phone-scene{height:110px;margin-bottom:14px}.phone-scene .wendy-sprite{width:150px;left:1px;bottom:-27px}.phone-scene .encounter-caption{left:45%;bottom:12px;font-size:10px;line-height:1.4}.phone-scene .atmosphere-prop{top:21%;right:18%;width:52px;height:52px}.phone-frame{position:relative;border:5px solid #382441;background:#ebe2f2;color:#34203e;border-radius:29px;padding:10px 13px 16px;box-shadow:0 8px 0 #13091c55,0 15px 30px #1609233d;isolation:isolate}.phone-notch{position:absolute;top:-1px;left:calc(50% - 36px);width:72px;height:13px;background:#382441;border-radius:0 0 12px 12px}.phone-status{display:flex;justify-content:space-between;font-size:9px;font-weight:650;margin:1px 2px 12px;color:#765d82}.phone-contact{display:flex;align-items:center;gap:9px;padding:0 0 11px;border-bottom:1px solid #9a78b12f}.phone-avatar{height:33px;width:33px;flex:0 0 33px;background:#d3b8e4;border-radius:50%;color:#80509c;display:grid;place-items:center;overflow:hidden}.phone-avatar svg{width:25px;height:25px}.phone-contact strong{font-size:12px;font-weight:750;line-height:1.2;display:block}.phone-contact small{font-size:9px;color:#8c7299;display:block;margin-top:3px}.phone-lock{margin-left:auto;font-size:18px;color:#946bad}.phone-chat{padding:13px 0 9px}.phone-message{background:#fff9ff;border-radius:2px 15px 15px 15px;padding:12px 12px 8px;box-shadow:0 2px 5px #5b337511;font-size:13px;line-height:1.6;min-height:64px;color:#43284d;overflow-wrap:anywhere}.phone-text{white-space:pre-wrap}.phone-bubble-time{display:block;text-align:right;font-size:8px;color:#a58faf;margin-top:7px}.phone-typing{display:inline-flex;gap:4px;margin:8px 0 0;padding:8px 10px;background:#fff9ff;border-radius:10px;min-height:24px}.phone-typing i{width:5px;height:5px;border-radius:50%;background:#b08ac8;animation:typing-dot .8s infinite}.phone-typing i:nth-child(2){animation-delay:.15s}.phone-typing i:nth-child(3){animation-delay:.3s}.phone-reply-label{color:#8c6f9e;font-size:10px;margin:2px 0 8px}.phone-replies{display:grid;gap:7px}.phone-reply{display:flex;align-items:center;gap:9px;text-align:left;width:100%;min-height:46px;padding:8px 11px;border-radius:14px;border:1px solid #b99bc8;background:#e0d0ec;color:#57366c;font-size:12px;box-shadow:0 2px 0 #c8b2d5}.phone-reply strong{font-weight:650}.phone-reply .path-symbol{width:22px;font-size:20px}.phone-reply .path-arrow{color:#80509c;font-size:20px}.phone-reply:hover{background:#d6bfe8;border-color:#9265b0}.phone-reply:active{transform:translateY(1px)}.phone-home{height:4px;width:70px;border-radius:4px;background:#c2a6d2;margin:15px auto 0}.phone-sent{max-width:90%;margin:11px 0 0 auto;width:fit-content;background:#c7b0df;color:#4b2e61;font-size:11px;padding:9px 12px;line-height:1.4;border-radius:13px 2px 13px 13px}.phone-sent>span{font-size:8px;white-space:nowrap;margin-left:5px;color:#86619e}.phone-reward{padding:14px 0 11px}.phone-reward .encounter-clue{margin-bottom:0}@keyframes typing-dot{50%{opacity:.4;transform:translateY(-3px)}}
@media(max-width:767px){.dialog-phone .dialog-content{padding:16px}.dialog-phone .dialog-title{font-size:24px;margin-bottom:10px}.phone-scene{height:95px;margin-bottom:11px}.phone-scene .wendy-sprite{width:137px;left:0;bottom:-28px}.phone-frame{padding:9px 11px 12px;border-radius:25px;border-width:4px}.phone-message{font-size:12px;line-height:1.55;padding:10px 10px 7px;min-height:60px}.phone-reply{font-size:11px;min-height:44px;padding:8px 9px}.phone-contact strong{font-size:11px}.phone-status{margin-bottom:10px}.phone-chat{padding-top:11px}.phone-home{margin-top:12px}.phone-scene .encounter-caption{font-size:9px}.phone-scene .atmosphere-prop{height:43px;width:43px;right:15%}.atmosphere-prop{width:29px;height:29px;right:3%;top:3%}.atmosphere-prop svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){body,.playfield-art,.encounter-art,.playfield:after{transition:none}.atmosphere-prop,.phone-typing i{animation:none!important}}
.phone-text-wrap{display:grid}.phone-text-wrap>span{grid-area:1/1;white-space:pre-wrap}.phone-text-sizer{visibility:hidden}
.phone-scene .wendy-sprite{width:125px;left:8px;bottom:-16px}.playfield[data-mood=idea]{--scene-light:linear-gradient(125deg,#e0edb03b,transparent 70%)}body[data-mood=idea]{--mood-glow:#594658}
@media(max-width:767px){.phone-scene .wendy-sprite{width:110px;left:9px;bottom:-16px}}
.prologue-cinema{width:100%;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);align-items:center;gap:55px}.cinema-room{position:relative;aspect-ratio:1;min-width:0;border:1px solid #b48bd548;border-radius:26px;background:linear-gradient(#20112f7d,#20112f44),url('assets/scene-backgrounds.webp') 0 0/300% 200%;overflow:hidden;isolation:isolate;box-shadow:0 25px 80px #0b031e66}.cinema-room:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 130px 30px #10051e99;z-index:5}.intercept-monitor{position:absolute;left:9%;right:9%;top:15%;height:67%;z-index:2;transform:rotate(-2deg)}.monitor-bezel{position:relative;height:86%;padding:12px;background:#31223f;border:2px solid #9c7caf;border-radius:17px;box-shadow:0 15px 35px #0d0318a0,inset 0 0 0 5px #442d51}.monitor-screen{position:relative;width:100%;height:100%;overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#8362ab,#251333 80%);border:2px solid #15091f;border-radius:6px;box-shadow:inset 0 0 35px #11051f80}.monitor-screen:after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,#f5edf915,transparent 55%);pointer-events:none}.cinema-hacker{position:absolute;width:75%;height:93%;left:15%;bottom:-3%;object-fit:contain;filter:drop-shadow(0 4px 12px #17082790)}.transmission-badge{position:absolute;left:10px;top:10px;display:flex;align-items:center;gap:6px;font-size:10px;color:#e0edb0;z-index:3;background:#20112fc9;border:1px solid #e0edb046;border-radius:20px;padding:6px 9px}.transmission-badge i{height:5px;width:5px;background:#e0edb0;border-radius:50%}.monitor-code{position:absolute;bottom:8px;left:10px;font-size:8px;color:#d5b9e7;z-index:4}.monitor-scan{position:absolute;inset:0;background:repeating-linear-gradient(transparent 0 4px,#1a0b3026 4px 5px);pointer-events:none;z-index:3;animation:signal-arrive .4s ease-out both}.monitor-stand{position:absolute;left:34%;right:34%;height:18%;bottom:0;border-bottom:8px solid #866594;background:linear-gradient(90deg,#5e4172,#9f7ab5,#5e4172);clip-path:polygon(25% 0,75% 0,80% 80%,100% 83%,100% 100%,0 100%,0 83%,20% 80%)}.cinema-desk{position:absolute;left:0;right:0;bottom:10%;height:13%;background:linear-gradient(#6f487c,#3c264d);border-top:5px solid #b28bc2;box-shadow:0 10px 25px #10051f;z-index:1}.cinema-window{position:absolute;right:4%;top:3%;height:57%;width:24%;background:linear-gradient(#71498d,#d0a2cb);border:8px solid #392249;box-shadow:inset 0 0 0 3px #a97cbd;opacity:.75}.cinema-window:after{content:'';position:absolute;inset:47% 0 auto;height:7px;background:#392249}.cinema-caption{position:absolute;bottom:4%;left:8%;right:8%;z-index:6;text-align:center;font:italic 16px Georgia,serif;color:#dbc2e9}.cinema-script h1{font:normal clamp(34px,4vw,52px)/1.1 Georgia,serif;letter-spacing:-.04em;margin:0 0 23px}.cinema-progress{color:#c6a0e5;font-size:12px;margin:0 0 15px}.cinema-dialogue{border-left:2px solid #c6a0e5;padding-left:17px;margin-bottom:20px}.cinema-dialogue strong{color:#e0edb0;font-size:12px;font-weight:550}.cinema-dialogue p{font-size:16px;line-height:1.65;color:#eadcf2;margin:10px 0 0}.cinema-pips{display:flex;gap:7px;margin:0 0 22px}.cinema-pips i{height:5px;width:26px;border-radius:4px;background:#bf98ec30}.cinema-pips .current{background:#e0edb0}.skip-cinema{display:block;width:100%;background:transparent;border:0;color:#c9a9df;font-size:12px;min-height:46px;padding:12px;margin-top:5px}.skip-cinema:hover{text-decoration:underline}.cinema-wendy{position:absolute;left:-1%;bottom:-8%;width:110%;aspect-ratio:1;background:url('assets/wendy-poses.webp') 0 0/300% 200%}.tutorial-safe{font-size:11px;color:#e0edb0}.escape-help{margin:0 0 12px;color:#ccb3dc;font-size:13px;line-height:1.55}.escape-object{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:58px;min-height:67px;border:0;background:#f5edf9e8;color:#432653;border-radius:12px;padding:7px 5px;box-shadow:0 4px 0 #6a467d77,0 6px 16px #1a0a3080;z-index:3;touch-action:manipulation}.escape-object svg{width:45px;height:45px;filter:drop-shadow(0 2px 1px #4f2c6a30)}.escape-object>span{font-size:10px;font-weight:700;line-height:1.2;margin-top:3px}.escape-note{left:43%;top:25%;transform:rotate(-7deg)}.escape-key{left:62%;top:68%;transform:rotate(8deg)}.escape-object:hover{background:#fff}.escape-object:active{scale:.94}.escape-key svg{filter:hue-rotate(190deg) saturate(1.3) drop-shadow(0 2px 1px #4f2c6a30)}.escape-door{position:absolute;right:4%;top:13%;width:24%;height:58%;z-index:2;background:transparent;border:0;padding:0;filter:drop-shadow(0 5px 8px #13051e99)}.escape-door>svg{width:100%;height:100%;overflow:visible}.escape-door>span{position:absolute;left:0;right:0;top:102%;font-size:10px;color:#f5edf9;text-shadow:0 1px 5px #20112f}.escape-door.ready{filter:drop-shadow(0 0 7px #e0edb066)}.escape-bag{display:flex;align-items:center;gap:13px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.escape-bag>span{font-size:13px;color:#cab1db;white-space:nowrap}.bag-slot{width:62px;height:62px;flex:0 0 62px;background:#bf98ec10;border:1px dashed #bf98ec70;color:#9e7eb7;border-radius:13px;display:grid;place-items:center;padding:6px}.bag-slot>svg{width:42px;height:42px;filter:hue-rotate(190deg) saturate(1.3)}.bag-slot>span{font-size:23px}.bag-slot.selected{background:#e0edb018;border:2px solid #e0edb0;box-shadow:0 0 0 3px #e0edb018}.escape-bag p{font-size:12px;line-height:1.5;color:#c6a8d9;margin:0;max-width:180px}.note-signature{font:italic 13px/1.5 Georgia,serif;color:#cbaadf;margin:0 0 23px}.escape-tutorial .mission-instruction{margin-bottom:12px}.escape-tutorial .mission-heading{align-self:end}.escape-tutorial .mission-bottom{padding-top:6px}@keyframes signal-arrive{0%{transform:translateX(-3px);opacity:.2}40%{transform:translateX(2px);opacity:.6}100%{transform:none;opacity:1}}
@media(max-width:767px){.prologue-cinema{display:flex;flex-direction:column;gap:16px;align-items:stretch}.cinema-room{aspect-ratio:1.35;border-radius:22px}.intercept-monitor{top:9%;height:77%;left:13%;right:13%}.monitor-bezel{padding:8px;border-radius:12px}.cinema-caption{font-size:11px;bottom:3%}.cinema-desk{bottom:11%}.transmission-badge{font-size:8px;padding:4px 6px;top:7px;left:6px}.monitor-code{font-size:6px;bottom:6px;left:6px}.cinema-hacker{width:80%;left:12%}.cinema-progress{font-size:10px;margin-bottom:9px}.cinema-script h1{font-size:29px;margin:0 0 14px}.cinema-dialogue{padding-left:12px;margin-bottom:15px}.cinema-dialogue strong{font-size:10px}.cinema-dialogue p{font-size:13px;line-height:1.55;margin-top:7px}.cinema-pips{margin-bottom:13px;gap:5px}.cinema-pips i{width:22px;height:4px}.skip-cinema{min-height:44px;font-size:11px;margin-top:0;padding:9px}.cinema-wendy{width:85%;left:7%;bottom:-15%}.tutorial-safe{font-size:9px}.escape-tutorial .mission-instruction{font-size:24px;min-height:0;margin-bottom:8px}.escape-help{font-size:11px;margin-bottom:4px}.escape-object{min-width:51px;min-height:60px;padding:5px 4px;border-radius:9px}.escape-object svg{width:37px;height:37px}.escape-object>span{font-size:8px}.escape-door{width:25%;height:58%;right:3%;top:13%}.escape-bag{padding:10px 0;gap:10px}.escape-bag>span{font-size:11px}.bag-slot{width:56px;height:56px;flex-basis:56px}.bag-slot>svg{width:37px;height:37px}.escape-bag p{font-size:10px}.escape-tutorial .wendy-says{font-size:11px;padding-bottom:12px}.escape-tutorial .mission-bottom{padding-top:0}.escape-key{top:69%}.escape-note{top:26%}}
@media(max-width:360px){.cinema-room{aspect-ratio:1.4}.cinema-script h1{font-size:27px}.cinema-dialogue p{font-size:12px}.prologue-cinema{gap:13px}.cinema-caption{font-size:10px}.escape-tutorial .mission-instruction{font-size:22px}}
@media(prefers-reduced-motion:reduce){.monitor-scan{animation:none}.escape-object:active{scale:1}}
.cinema-wendy{height:100%;width:auto;aspect-ratio:1;left:50%;top:0;bottom:auto;transform:translateX(-50%)}.wendy-speaking .transmission-badge{top:auto;bottom:25px}.escape-key svg,.bag-slot>svg{filter:drop-shadow(0 2px 1px #4f2c6a30)}.escape-key svg circle,.escape-key svg path,.bag-slot svg circle,.bag-slot svg path{stroke:#9453bf}
body[data-cinema=true]{overflow:hidden}body[data-cinema=true] .masthead,body[data-cinema=true] .page-footer{visibility:hidden}.cinema-full{position:fixed;inset:0;z-index:15;display:block!important;width:100%;height:100svh;overflow:hidden;background:#12091c}.cinema-full .cinema-room{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0;background:#20112f;box-shadow:none;overflow:hidden}.cinema-full .cinema-room:before{content:'';position:absolute;width:max(100vw,100svh);aspect-ratio:1;left:50%;top:50%;background:url('assets/scene-backgrounds.webp') 0 0/300% 200%;animation:cinema-camera 6s ease-out both;transform-origin:center}.cinema-full .cinema-room:after{box-shadow:inset 0 0 150px 40px #10051e66}.cinema-vignette{position:absolute;inset:0;background:linear-gradient(transparent 15%,#180a2320 35%,#170a249e 58%,#140a20f5 100%),linear-gradient(90deg,#170a2322,transparent 50%);pointer-events:none;z-index:5}.cinema-topbar{position:absolute;left:5vw;right:5vw;top:max(20px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:center;gap:12px;z-index:12;color:#f5edf9;font-size:12px;text-shadow:0 1px 8px #20112f}.cinema-pause{height:44px;min-width:104px;border:1px solid #e0c3f345;border-radius:24px;background:#20112f99;color:#f5edf9;padding:8px 14px;font-size:12px;backdrop-filter:blur(6px)}.cinema-full .cinema-script{position:absolute;left:6vw;right:6vw;bottom:max(25px,4svh);z-index:8;max-width:820px;margin:0;padding:0;animation:caption-arrive .5s .15s ease-out both}.cinema-full .cinema-script h1{font:normal clamp(32px,4.5vw,62px)/1.05 Georgia,serif;color:#fff1ff;text-shadow:0 2px 22px #10051e;letter-spacing:-.035em;max-width:760px;margin:0 0 18px}.cinema-full .cinema-progress{font-size:11px;color:#d5b4ed;margin:0 0 12px}.cinema-full .cinema-dialogue{padding-left:15px;border-color:#e0edb0;margin:0 0 20px;max-width:660px}.cinema-full .cinema-dialogue strong{font-size:12px;color:#e0edb0}.cinema-full .cinema-dialogue p{color:#f3e8fa;font-size:17px;line-height:1.6;margin:7px 0 0;text-shadow:0 1px 10px #10051e}.cinema-actions{display:flex;align-items:center;gap:16px;max-width:580px}.cinema-actions .primary{max-width:300px;min-height:49px}.cinema-actions .skip-cinema{width:auto;min-width:135px;margin:0;min-height:49px;color:#e0c3f0;font-size:12px}.cinema-time-track{height:3px;border-radius:4px;background:#ead8f42b;max-width:580px;margin:0 0 18px;overflow:hidden}.cinema-time-fill{display:block;background:#e0edb0;height:100%;transform:scaleX(0);transform-origin:left;transition:transform .1s linear}.cinema-auto-note{color:#ad95be;font-size:10px;margin:11px 0 0}.cinema-full .intercept-monitor{top:11%;left:24%;right:13%;height:57%;max-height:570px;transform:rotate(-3deg);animation:monitor-reveal .7s ease-out both}.cinema-full .cinema-desk{height:12%;bottom:24%;border-top-width:5px;background:linear-gradient(#82588e,#3b254b);opacity:.75}.cinema-full .cinema-window{right:5%;top:4%;height:56%;width:21%;opacity:.5}.cinema-lead{position:absolute;bottom:17%;left:0;width:min(80svh,67vw);aspect-ratio:1;background:url('assets/wendy-poses.webp') 0 0/300% 200%;z-index:3;animation:actor-reveal 1.1s ease-out both;filter:drop-shadow(0 10px 20px #20112f66)}.shot-0 .cinema-lead{left:1%;bottom:23%}.shot-0 .cinema-desk{bottom:26%;z-index:1}.shot-2 .cinema-lead{left:5%;bottom:17%;animation:actor-step 6s ease-out both}.cinema-exit{position:absolute;right:12%;top:7%;height:60%;width:17%;background:linear-gradient(90deg,#bf98ec77,#d3b3e05c);border:10px solid #3c234e;border-bottom:0;box-shadow:inset 0 0 0 4px #a77cc5,0 0 50px #e0edb042;transform:perspective(500px) rotateY(-8deg);z-index:1}.cinema-exit:after{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#e0edb0;right:12%;top:53%}.cinema-exit span{position:absolute;left:0;right:0;top:12%;text-align:center;font-size:14px;color:#e0edb0}.cinema-morning-glow{position:absolute;inset:0;background:linear-gradient(125deg,#e9b2ae40,transparent 45%);mix-blend-mode:screen;z-index:2;pointer-events:none}.cinema-full[data-paused=true] .cinema-room:before,.cinema-full[data-paused=true] .cinema-lead,.cinema-full[data-paused=true] .intercept-monitor{animation-play-state:paused}
@keyframes cinema-camera{0%{filter:blur(12px) brightness(.65);transform:translate(-50%,-50%) scale(1.09)}20%{filter:blur(0) brightness(.92)}100%{filter:blur(0) brightness(1);transform:translate(-52%,-49%) scale(1.04)}}@keyframes monitor-reveal{from{filter:blur(7px);transform:rotate(-3deg) scale(.93);opacity:.5}to{filter:blur(0);transform:rotate(-3deg) scale(1);opacity:1}}@keyframes actor-reveal{from{filter:blur(5px);transform:translateX(-10px);opacity:.4}to{filter:drop-shadow(0 10px 20px #20112f66);transform:none;opacity:1}}@keyframes actor-step{from{transform:translateX(-20px) scale(.98)}to{transform:translateX(15px) scale(1.025)}}@keyframes caption-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.explore-scene-group{grid-column:1;grid-row:1/3;min-width:0}.exploration-game{align-items:start}.exploration-game .mission-heading{align-self:start}.exploration-game .mission-instruction{font-size:clamp(28px,3.1vw,40px);margin-bottom:15px}.exploration-game .playfield{width:100%;grid-row:auto;grid-column:auto}.exploration-game .mission-bottom{align-self:start}.explore-status{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#cfb9dd;margin-top:14px}.explore-status>span:first-child{color:#e0edb0}.how-use{min-height:44px;background:#bf98ec12;border:1px solid #bf98ec3e;color:#d7bcec;border-radius:10px;font-size:11px;padding:9px 12px}.room-navigation{display:grid;grid-template-columns:minmax(80px,.8fr) minmax(0,1.5fr) minmax(80px,.8fr);align-items:center;gap:10px;margin:10px 0}.room-navigation button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:47px;background:#bf98ec12;border:1px solid #bf98ec44;border-radius:11px;color:#eedff7;padding:9px 10px;font-size:11px;line-height:1.25}.room-navigation button:disabled{opacity:.28}.room-navigation button>span:first-child{font-size:16px}.room-navigation p{font-size:10px;color:#c7acd9;text-align:center;line-height:1.4;margin:0}.exploration-bag{position:relative;padding:13px 15px;background:#2d193de8;border:1px solid #bf98ec51;border-radius:17px;box-shadow:0 8px 20px #0d031e33;z-index:5;backdrop-filter:blur(12px)}.bag-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.bag-heading strong{font-size:12px;color:#e0edb0}.bag-heading>span{font-size:10px;color:#c2a5d4;text-align:right}.bag-items{display:flex;gap:8px;overflow-x:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 2px 5px;min-height:69px}.explore-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 65px;min-width:65px;min-height:65px;padding:5px;background:#bf98ec15;border:1px solid #bf98ec4f;border-radius:11px;color:#e1cbef;gap:3px}.explore-slot>svg{height:33px;width:33px}.explore-slot>span{font-size:8px;line-height:1.2;text-align:center;max-width:64px}.explore-slot.selected{border:2px solid #e0edb0;background:#e0edb017;box-shadow:0 0 0 2px #e0edb01d}.explore-slot.used{opacity:.4}.explore-slot>b{position:absolute;top:1px;right:5px;font-size:13px;color:#e0edb0}.bag-empty{font-size:11px;line-height:1.5;color:#b69ac9;align-self:center;padding:10px 0}.bag-use-help{font-size:10px;line-height:1.5;color:#c3a9d5;margin:5px 0 0}.room-objective{font-size:11px;color:#b99dc9;line-height:1.5;margin:16px 0 0}.scene-receiver{width:94px;height:108px;border-radius:15px;background:#e7d1f2dd;border:2px solid #c29bdf;box-shadow:0 7px 0 #5d3b7399,0 8px 25px #17082666}.scene-receiver>svg{height:63px;width:63px}.scene-receiver .object-label{font-size:10px;max-width:89px}.object-verb{font-size:8px;color:#7f4d9d;line-height:1;margin-top:3px;font-weight:650}.exploration-game .scene-object{min-width:56px;min-height:67px}.exploration-game .riddle-clue{margin-bottom:6px}
@media(max-width:767px){.cinema-full .cinema-topbar{left:18px;right:18px;top:max(16px,env(safe-area-inset-top));font-size:10px}.cinema-pause{min-width:90px;font-size:11px;padding:8px 10px}.cinema-full .cinema-script{left:21px;right:21px;bottom:max(17px,3svh);max-width:none}.cinema-full .cinema-script h1{font-size:clamp(29px,8.3vw,42px);line-height:1.06;margin-bottom:14px}.cinema-full .cinema-progress{font-size:10px;margin-bottom:10px}.cinema-full .cinema-dialogue{padding-left:12px;margin-bottom:14px}.cinema-full .cinema-dialogue strong{font-size:11px}.cinema-full .cinema-dialogue p{font-size:13px;line-height:1.5;margin-top:6px}.cinema-actions{gap:7px;max-width:none}.cinema-actions .primary{max-width:none;width:auto;flex:1;min-height:48px;font-size:13px;padding:11px 12px}.cinema-actions .skip-cinema{min-width:98px;min-height:48px;font-size:11px;padding:9px}.cinema-full .cinema-time-track{margin-bottom:13px}.cinema-auto-note{font-size:9px;margin-top:9px}.cinema-full .intercept-monitor{left:9%;right:9%;top:12%;height:44%;max-height:350px;transform:rotate(-3deg)}.cinema-full .cinema-desk{bottom:37%;height:9%}.cinema-full .cinema-window{right:3%;top:6%;height:44%;width:32%}.cinema-lead{width:100vw;left:-10%!important;bottom:35%!important}.shot-0 .cinema-lead{left:-12%!important;bottom:34%!important}.cinema-exit{right:6%;top:11%;width:26%;height:42%;border-width:7px}.cinema-exit span{font-size:11px}.cinema-full .monitor-bezel{padding:8px}.cinema-full .monitor-code{font-size:7px}.cinema-full .transmission-badge{font-size:8px}.exploration-game{gap:12px}.explore-scene-group{width:100%;grid-row:auto}.exploration-game .mission-instruction{font-size:23px;margin-bottom:10px;min-height:0}.exploration-game .riddle-clue{margin-bottom:2px}.explore-status{margin-top:4px;font-size:10px;gap:8px}.how-use{min-height:44px;font-size:10px;padding:8px 10px}.room-navigation{gap:6px;margin:8px 0;grid-template-columns:minmax(74px,.8fr) minmax(0,1.35fr) minmax(74px,.8fr)}.room-navigation button{min-height:44px;font-size:9px;padding:8px 7px;border-radius:9px;gap:4px}.room-navigation p{font-size:9px;line-height:1.35}.exploration-bag{position:sticky;bottom:8px;padding:10px 12px;border-radius:14px;backdrop-filter:blur(14px)}.bag-heading{margin-bottom:7px}.bag-heading strong{font-size:11px}.bag-heading>span{font-size:9px}.bag-items{min-height:61px;gap:7px}.explore-slot{flex-basis:60px;min-width:60px;min-height:60px}.explore-slot>svg{height:30px;width:30px}.explore-slot>span{font-size:8px}.bag-empty{font-size:10px;padding:8px 0}.bag-use-help{font-size:9px;margin-top:3px}.scene-receiver{width:78px;height:91px;border-radius:12px}.scene-receiver>svg{height:48px;width:48px}.scene-receiver .object-label{font-size:8px}.exploration-game .scene-object{min-width:53px;min-height:64px}.object-verb{font-size:7px}.exploration-game .wendy-says{font-size:11px;padding-top:0}.room-objective{font-size:10px;margin-top:9px}.exploration-game .mission-bottom{margin-top:1px}}
@media(max-width:360px){.cinema-full .cinema-script{left:17px;right:17px}.cinema-full .cinema-script h1{font-size:28px}.cinema-full .cinema-dialogue p{font-size:12px}.cinema-full .intercept-monitor{top:12%;height:42%}.cinema-full .cinema-auto-note{font-size:8px}.exploration-game .scene-object{min-width:51px}.room-navigation p{font-size:8px}.bag-heading>span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.cinema-full .cinema-room:before{animation:none;filter:none;transform:translate(-50%,-50%)}.cinema-full .intercept-monitor,.cinema-full .cinema-lead,.cinema-full .cinema-script{animation:none!important}.cinema-time-fill{transition:none}}
.cinema-top-controls{display:flex;align-items:center;gap:8px}.cinema-sound{width:44px;height:44px;flex:0 0 44px;border:1px solid #e0c3f345;border-radius:50%;background:#20112f99;color:#f5edf9;font-size:22px;backdrop-filter:blur(6px)}.explore-scene-group[data-room="1"] .playfield-art{transform:scale(1.085) translateX(-2.6%);transform-origin:65% 48%}.explore-scene-group[data-room="1"] .playfield-shade{background:linear-gradient(120deg,#5a3c7935,#20112f13 60%,#dfb5f622)}.explore-scene-group .playfield{animation:room-arrive .25s ease-out both}.exploration-exit{position:absolute;top:4%;right:3%;width:66px;min-height:95px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px;background:#e0edb0f0;border:2px solid #f2f8d3;border-radius:12px;box-shadow:0 4px 0 #829047,0 7px 20px #20112f55;color:#20112f;z-index:5}.exploration-exit>svg{width:49px;height:59px}.exploration-exit>span{font-size:10px;font-weight:750;line-height:1.2}.exit-ready{font-size:12px;line-height:1.5;color:#e0edb0;padding:12px 14px;margin:12px 0 0;background:#e0edb00c;border:1px solid #e0edb03f;border-radius:11px}@keyframes room-arrive{from{opacity:.55}to{opacity:1}}
@media(max-width:767px){.cinema-top-controls{gap:6px}.cinema-full .cinema-topbar>span{min-width:0;font-size:9px}.cinema-pause{min-width:82px;font-size:10px}.exploration-exit{width:55px;min-height:82px;padding:4px;border-radius:10px}.exploration-exit>svg{width:40px;height:48px}.exploration-exit>span{font-size:9px}.exit-ready{font-size:10px;padding:10px 12px;margin-top:9px}}
@media(prefers-reduced-motion:reduce){.explore-scene-group .playfield{animation:none}}
.bag-body{display:flex;align-items:center;gap:9px}.bag-body .bag-items{flex:1;min-width:0}.bag-body .how-use{width:44px;flex:0 0 44px;height:44px;font:normal 21px Georgia,serif;padding:5px}.bag-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.bag-clock{white-space:nowrap;color:#e0edb0;font-size:10px}.bag-footer .bag-use-help{margin:0;max-width:65%}
@media(max-width:767px){.exploration-game{gap:7px}.exploration-game .playfield{height:clamp(185px,calc(100svh - 420px),270px);aspect-ratio:auto}.exploration-game .playfield-art{width:100%;height:auto;aspect-ratio:1;top:50%;bottom:auto;transform:translateY(-50%)}.exploration-game .explore-scene-group[data-room="1"] .playfield-art{transform:translateY(-50%) scale(1.085) translateX(-2.6%)}.exploration-game .wendy-sprite{width:clamp(185px,calc(100svh - 420px),270px);left:-9%;bottom:-1%}.exploration-game .exploration-bag{position:relative;bottom:auto;padding:8px 10px}.exploration-game .bag-heading{margin-bottom:3px}.exploration-game .bag-items{min-height:48px;padding:1px 1px 3px;gap:6px}.exploration-game .explore-slot{flex-basis:46px;min-width:46px;min-height:47px;padding:3px;border-radius:8px}.exploration-game .explore-slot>svg{height:24px;width:24px}.exploration-game .explore-slot>span{font-size:7px;max-width:44px}.exploration-game .bag-empty{font-size:9px;padding:5px 0}.exploration-game .bag-use-help{font-size:8px;line-height:1.3;max-width:65%}.bag-clock{font-size:8px}.exploration-game .room-navigation{grid-template-columns:1fr 1fr;margin:6px 0;gap:8px}.exploration-game .room-navigation p{display:none}.exploration-game .room-navigation button{min-height:44px;height:44px;padding:5px 9px;font-size:10px}.exploration-game .room-navigation button>span{font-size:inherit}.exploration-game .mission-heading .riddle-clue{padding:9px 10px}.exploration-game .mission-heading .riddle-clue p{font-size:11px}.exploration-game .mission-heading .mission-topline{margin-bottom:4px}.exploration-game .mission-instruction{margin-bottom:7px}.exploration-game .scene-object{width:56px;height:65px;min-width:53px;min-height:61px}.exploration-game .scene-object svg{width:38px;height:38px}.exploration-game .scene-object .object-label{font-size:8px}.exploration-game .scene-receiver{width:72px;height:84px;min-height:84px}.exploration-game .scene-receiver>svg{width:46px;height:46px}.exploration-game .memory-card{height:75px;width:60px}.exploration-game .memory-card>svg{height:50px;width:43px}.exploration-game .mission-bottom{margin-top:2px}.exploration-game .room-objective{font-size:9px;margin-top:7px}}
@media(min-width:768px){.exploration-game .explore-scene-group{width:100%;max-width:min(100%,calc(100svh - 420px));justify-self:center}.exploration-game .playfield{aspect-ratio:1;height:auto}.exploration-game .bag-items{min-height:60px}.exploration-game .explore-slot{min-height:58px;min-width:58px;flex-basis:58px}.exploration-game .exploration-bag{padding:11px 13px}.exploration-game .room-navigation{margin:8px 0}.exploration-game .bag-heading{margin-bottom:5px}}
.cinema-full[data-paused=true] .cinema-room:before{animation:none!important;filter:none;transform:translate(-50%,-50%) scale(1.04)}.cinema-full[data-paused=true] .intercept-monitor{animation:none!important;filter:none;opacity:1}.cinema-full[data-paused=true] .cinema-lead{animation:none!important;filter:drop-shadow(0 10px 20px #20112f66);opacity:1;transform:none}.cinema-full[data-paused=true] .cinema-script{animation:none!important;opacity:1;transform:none}
.chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:12px}.chapter-heading .mission-instruction{margin:0!important}.case-note-button{width:49px;min-width:49px;height:52px;padding:4px;border:1px solid #bf98ec3b;background:#bf98ec0c;border-radius:12px;color:#d1b3e5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.case-note-button svg{width:24px;height:28px}.case-note-button span{font-size:8px}.scene-room-door{position:absolute;right:1%;bottom:2%;width:51px;min-height:89px;padding:0;border:0;background:transparent;color:#f1e5fa;z-index:4;filter:drop-shadow(0 5px 6px #17062588);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;touch-action:manipulation}.scene-room-door svg{width:47px;height:73px}.scene-room-door span{font-size:8px;line-height:1.2;max-width:76px;text-align:center;background:#24102de0;border:1px solid #b183d33d;border-radius:6px;padding:4px 5px;color:#efd9fc;overflow-wrap:anywhere}.scene-room-door:hover span{background:#563169}.scene-room-door:active{scale:.96}.scene-room-door.door-at-top{bottom:auto;top:2%}.exploration-game .exploration-bag{margin-top:10px}.bag-footer{justify-content:flex-end;min-height:13px}.exploration-game .mission-bottom:empty{display:none}.exploration-game .mission-instruction{font-size:clamp(29px,3.15vw,43px)}#update-status{position:fixed;left:50%;bottom:max(8px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:12;max-width:calc(100vw - 30px);padding:8px 13px;border:1px solid #bf98ec38;border-radius:18px;background:#24122edb;color:#d8bce9;backdrop-filter:blur(10px);font-size:10px;line-height:1.3;pointer-events:none;text-align:center;box-shadow:0 5px 18px #10051c55}body[data-cinema=true] #update-status{display:none}
@media(max-width:767px){.chapter-heading{gap:10px;margin-bottom:5px}.exploration-game .chapter-heading .mission-instruction{font-size:23px;line-height:1.12}.case-note-button{height:46px;width:44px;min-width:44px;border-radius:10px}.case-note-button svg{width:21px;height:24px}.case-note-button span{font-size:7px}.scene-room-door{width:48px;min-height:80px;right:1%;bottom:2%}.scene-room-door svg{height:63px;width:42px}.scene-room-door span{font-size:7px;max-width:65px;padding:3px 4px}.exploration-game .exploration-bag{margin-top:8px}.exploration-game .bag-empty{font-size:10px}.exploration-game .bag-heading>span{font-size:9px}.exploration-game .mission-heading{padding-bottom:0}.exploration-game .bag-footer{min-height:12px}#update-status{font-size:9px;padding:6px 11px}}
@media(prefers-reduced-motion:reduce){.scene-room-door:active{scale:1}}
.mentor-signal{border-left:2px solid #a587bc;padding:5px 0 5px 17px;margin-top:28px;max-width:440px}.mentor-signal>p{color:#c9b0d8;font-size:11px;margin:0 0 10px}.mentor-signal blockquote{font:normal 17px/1.7 Georgia,serif;color:#d9cce1;margin:0}.playfield-shade{background:linear-gradient(145deg,rgba(16,11,30,calc(var(--narrative-darkness,.18)*.3)),transparent 55%,rgba(15,11,30,calc(var(--narrative-darkness,.18)*.45)));transition:background .6s}body[data-story-stage="3"],body[data-story-stage="4"],body[data-story-stage="5"]{--mood-glow:#232639}.story-scene-wrap{position:relative;overflow:hidden;border-radius:28px;isolation:isolate;min-height:0;aspect-ratio:1}.story-scene-art{position:absolute;inset:0;background:url('assets/story-backgrounds.webp') 0 0/300% 200%;filter:brightness(.85) saturate(.9);z-index:-1}.story-scene-wrap .wendy-sprite{width:88%;left:-20%;bottom:-2%}.story-scene-caption{position:absolute;left:20px;right:20px;bottom:20px;color:#ebdfef;font-size:12px;line-height:1.5;padding:8px 11px;background:#191122c4;border:1px solid #ad91bd39;border-radius:10px;z-index:3}.dialog-matrix{background:#081510;border-color:#74b68e;color:#d4f5df;max-width:440px}.dialog-matrix .dialog-content{padding:27px;overflow:hidden}.matrix-signal{position:relative;isolation:isolate}.matrix-code-rain{position:absolute;inset:-20px -10px auto;color:#44906135;font:18px/2 monospace;word-spacing:10px;pointer-events:none;z-index:-1;animation:matrix-drift 8s linear infinite}.story-eyebrow{color:#85c69f;font-size:10px;margin:0 0 18px}.dialog-matrix .dialog-title{font-family:Georgia,serif;color:#e0f7e8;font-size:32px}.matrix-riddle{font-size:15px;line-height:1.8;color:#b9ddc6;margin-bottom:23px}.matrix-signal form{display:grid;gap:10px}.matrix-signal label{font-size:12px;color:#9bc9ad}.matrix-signal input{height:51px;width:100%;border-radius:9px;border:1px solid #4e8c64;background:#10251a;color:#d5f3e0;padding:10px 13px;font:600 18px/1 monospace;letter-spacing:.1em;text-transform:uppercase}.matrix-signal input:focus{outline:2px solid #a3d7b6;outline-offset:3px}.matrix-signal .primary{background:#a6dcb7;color:#13271c}.matrix-notice{color:#b1e3c2;font-size:12px;line-height:1.5;margin:15px 0 0}.matrix-signal .secondary{margin-top:13px;color:#a4cbb3;border-color:#3c6e4e}.dialog-theft{width:min(530px,calc(100vw - 24px));background:#21182c;border-color:#9585ac}.dialog-theft .dialog-content{padding:21px}.dialog-theft .dialog-title{font-size:29px;margin-bottom:16px}.story-theft-field{position:relative;aspect-ratio:1.45;border-radius:19px;overflow:hidden;isolation:isolate;background:#262033}.story-theft-art{position:absolute;width:100%;aspect-ratio:1;left:0;top:50%;transform:translateY(-50%);background:url('assets/story-backgrounds.webp') 0 0/300% 200%;filter:brightness(.82);z-index:-1}.story-theft-field .story-object{width:73px;min-height:85px}.story-theft-field .story-object svg{width:48px;height:48px}.story-theft-field .scene-room-door{z-index:5}.theft-bag{margin-top:12px}.theft-notice{font-size:12px;line-height:1.6;color:#d4c4de;margin:14px 0 0}.dialog-destination{max-width:460px}.destination-transmission{position:relative;height:165px;border:5px solid #594466;border-radius:15px;background:radial-gradient(#54405f,#160f20);overflow:hidden;margin:0 0 15px}.destination-transmission img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.destination-transmission>span{position:absolute;bottom:9px;left:12px;color:#c1a8d3;font-size:9px;z-index:3}.destination-phone{padding-top:18px}.destination-phone .phone-contact{margin-bottom:11px;flex-direction:column;align-items:flex-start;gap:4px}.destination-phone .phone-message{margin:0 0 12px;font-size:13px}.destination-phone .phone-reply{min-height:48px}.hacker-interference{background:#0d061355;animation:none!important;z-index:50}.warning-tv{width:min(330px,calc(100vw - 44px));padding:14px;border:5px solid #63506e;border-radius:18px;background:#211629;display:flex;align-items:center;flex-direction:column;gap:9px;box-shadow:0 12px 90px #08030ebf}.warning-channel{color:#baa8c7;font-size:10px;align-self:flex-start}.warning-screen{position:relative;width:100%;height:165px;background:radial-gradient(#594564,#110b19);border:2px solid #39243e;border-radius:7px;overflow:hidden}.warning-screen img{width:100%;height:100%;object-fit:contain;filter:saturate(.6)}.warning-static{position:absolute;inset:0;background:repeating-linear-gradient(transparent 0 3px,#cad0dc18 3px 4px);animation:tv-static .22s steps(2) infinite;pointer-events:none}.warning-tv>strong{font:normal 24px Georgia,serif;color:#e4d8ea}.warning-life{color:#c7a3b7;font-size:14px;font-weight:650;margin-bottom:4px}.hearts{font-size:15px;letter-spacing:6px}.heart-lost{color:#74657f}.cliffhanger-label{letter-spacing:.1em}.story-theft-field .object-label{max-width:68px}@keyframes matrix-drift{to{transform:translateY(25px)}}@keyframes tv-static{50%{transform:translateY(2px);opacity:.6}}
@media(max-width:767px){.mentor-signal{margin-top:13px;padding-left:12px}.mentor-signal>p{font-size:9px;margin-bottom:6px}.mentor-signal blockquote{font-size:12px;line-height:1.65}.story-scene-wrap{aspect-ratio:1;height:auto!important;min-height:0}.story-scene-caption{font-size:10px;bottom:12px;left:12px;right:12px;padding:7px 9px}.dialog-matrix .dialog-content{padding:22px}.dialog-matrix .dialog-title{font-size:27px}.matrix-riddle{font-size:13px;line-height:1.65;margin-bottom:18px}.dialog-theft .dialog-content{padding:17px}.dialog-theft .dialog-title{font-size:25px;margin-bottom:12px}.story-theft-field{height:220px;aspect-ratio:auto}.story-theft-field .story-object{width:62px;min-height:74px;height:74px;padding:5px 3px}.story-theft-field .story-object svg{width:40px;height:40px}.story-theft-field .object-label{font-size:8px;max-width:56px}.story-theft-field .scene-receiver{height:86px;min-height:86px;width:67px}.theft-bag{padding:9px 10px}.theft-notice{font-size:11px;line-height:1.5;margin-top:11px}.destination-transmission{height:125px}.destination-phone .phone-message{font-size:12px;line-height:1.6}.hearts{font-size:13px;letter-spacing:4px}.warning-screen{height:145px}.warning-tv>strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){.matrix-code-rain,.warning-static{animation:none}.playfield-shade{transition:none}}
.office-control-art{background-image:url('assets/story-backgrounds.webp')}.playfield .office-control-art{filter:brightness(.85) saturate(.75)}.intro-title{letter-spacing:-.04em}.brand-mark{color:#bfa3d6}.story-eyebrow,.encounter-kicker{color:#b6a6c4}.dialog-theft .story-theft-art{filter:brightness(.75) saturate(.8)}
.encounter-art{background-image:url('assets/story-backgrounds.webp')}.encounter-caption{color:#d2bfdc}.story-scene-wrap .wendy-sprite{animation:none!important}.warning-life{letter-spacing:.03em}.hearts{font-family:system-ui,sans-serif}
.office-control-art,.encounter-art,.cinema-full .cinema-room:before,.scene:before{background-image:url('assets/mystery-rooms.webp')}.playfield .office-control-art{filter:brightness(.94) saturate(.85)}#player-form{display:grid;gap:10px}#player-form label{font-size:12px;color:#dac7e5;margin-top:4px}#player-form input,#player-form select{width:100%;min-height:49px;border:1px solid #bda0d049;border-radius:10px;background:#1d1329;color:#f1e4f7;padding:11px 12px;font:16px system-ui,sans-serif}#player-form input:focus,#player-form select:focus{outline:2px solid #c3dbb4;outline-offset:2px}.profession-description{border-left:2px solid #a98bbd;padding:4px 0 4px 12px;margin:6px 0 0;color:#cfbddb;font-size:12px;line-height:1.6}.profession-description strong{font-size:12px;color:#d9e5c7}.profession-description p{margin:6px 0 0}.registration-note{font-size:11px;line-height:1.6;color:#ad98bc;margin:8px 0}.identity-error{font-size:12px;color:#e9afc3;margin:0}.identity-error:empty{display:none}.dialog-profession{width:min(620px,calc(100vw - 24px));background:#211b2e;border-color:#a08cb9}.dialog-profession .dialog-content{padding:24px}.profession-brief{font-size:13px;line-height:1.65;color:#d8cbdc;margin:0 0 18px}.profession-workbench{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;border:1px solid #a489b83b;border-radius:17px;background:linear-gradient(#171521ab,#201a2aab),url('assets/mystery-rooms.webp') 50% 100%/300% 200%}.profession-object{position:relative;min-height:132px;border:1px solid #9b84ae70;border-radius:12px;background:#2f253c;color:#e4d7ec;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;touch-action:manipulation}.profession-object>strong{font-size:12px;line-height:1.4;font-weight:600}.profession-object.selected{border:2px solid #c9dcb8;box-shadow:inset 0 0 0 2px #c9dcb812;background:#3b3643}.profession-object:disabled{opacity:.62}.profession-object.kind-receiver{grid-column:1/-1;min-height:57px;flex-direction:row;background:#4c3c5a}.profession-object.kind-document{justify-content:flex-start;min-height:157px}.profession-diagram{width:min(100%,150px);height:110px;background:#1c1925;border-radius:8px}.profession-switch{width:80px;height:70px}.profession-glyph{font-size:32px;color:#c1d5b9}.profession-document{background:#ded3db;color:#37283f;padding:11px 10px;width:100%;border-radius:3px 3px 10px 3px;min-height:100px;box-shadow:0 2px 0 #100a204a}.profession-document>span{font-size:10px;display:block;border-bottom:1px solid #9f8aa94a;padding-bottom:6px;margin-bottom:7px}.profession-document p{margin:7px 0;font-size:11px;line-height:1.45;text-align:left}.profession-order{position:absolute;top:7px;right:8px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#c9dcb8;color:#1d2420;font-weight:700;font-size:11px}.profession-feedback{font-size:12px;line-height:1.55;padding:11px 13px;margin:14px 0 0;border:1px solid #c1a9d031;border-radius:9px;color:#d9cbdf}.profession-feedback.error{border-color:#c18c9f66;color:#e6b3c7}.profession-controls{display:flex;gap:9px;margin-top:13px}.profession-controls .secondary{margin:0;flex:1;font-size:11px;min-height:45px;padding:9px}.scene-wrap .wendy-sprite{z-index:1;overflow:hidden}.scene-wrap{overflow:hidden}.scene-tag{z-index:3}#door-transition{position:fixed;inset:0;z-index:70;background:#0e0c15;display:grid;place-items:center;overflow:hidden;pointer-events:auto}.door-camera{width:100%;height:100%;display:grid;place-items:center;perspective:650px;animation:door-camera-in .9s cubic-bezier(.5,.08,.8,.5) both}.transition-frame{position:relative;width:min(34vw,210px);height:min(72vh,470px);min-width:125px;min-height:250px;border:10px solid #544356;border-bottom:0;background:#09080e;box-shadow:0 0 0 3px #806b85,inset 0 0 80px #000}.transition-leaf{position:absolute;inset:0;background:linear-gradient(90deg,#332b3c,#493850 55%,#2b2434);border:4px solid #705978;transform-origin:0 50%;animation:door-leaf-open .9s cubic-bezier(.42,.04,.55,1) both;box-shadow:inset 0 0 0 10px #2d253655}.transition-leaf:before,.transition-leaf:after{content:'';position:absolute;left:12%;right:12%;height:33%;border:2px solid #786181;box-shadow:inset 0 0 12px #17111c}.transition-leaf:before{top:8%}.transition-leaf:after{bottom:8%}.transition-knob{position:absolute;right:10%;top:49%;height:9px;width:9px;border-radius:50%;background:#aa9e85;box-shadow:0 0 6px #b5a97955}.transition-label{position:absolute;bottom:7%;left:15%;right:15%;text-align:center;color:#b7a7bf;font:16px Georgia,serif;letter-spacing:.03em;animation:door-label-fade .9s both}#door-transition[data-paused=true] *{animation-play-state:paused}@keyframes door-leaf-open{0%,18%{transform:rotateY(0)}75%,100%{transform:rotateY(-105deg)}}@keyframes door-camera-in{0%,35%{transform:scale(.94);filter:brightness(.55)}100%{transform:scale(1.5);filter:brightness(.15)}}@keyframes door-label-fade{0%,20%{opacity:.8}100%{opacity:0}}
@media(max-width:767px){.dialog-profession .dialog-content{padding:18px}.dialog-profession .dialog-title{font-size:26px;margin-bottom:12px}.profession-brief{font-size:12px;line-height:1.55;margin-bottom:13px}.profession-workbench{gap:9px;padding:10px}.profession-object{padding:9px;min-height:117px;gap:6px}.profession-object>strong{font-size:10px}.profession-object.kind-document{min-height:150px}.profession-document{padding:9px 7px}.profession-document p{font-size:9px;line-height:1.5}.profession-diagram{height:95px}.profession-object.kind-receiver{min-height:49px}.profession-controls{gap:7px;margin-top:10px}.profession-controls .secondary{font-size:9px;padding:8px}.profession-feedback{font-size:11px;padding:9px 11px}.profession-description{font-size:11px}.registration-note{font-size:10px}.transition-frame{width:43vw;min-width:125px;height:61vh;min-height:250px}.transition-label{font-size:13px}#player-form{gap:9px}}
@media(prefers-reduced-motion:reduce){.door-camera,.transition-leaf,.transition-label{animation:none}.transition-leaf{transform:rotateY(-25deg)}.door-camera{filter:brightness(.6)}}
.cliffhanger-ending .scene{filter:brightness(.55) saturate(.5) contrast(1.1)}.cliffhanger-ending .scene-wrap:after{content:"";position:absolute;inset:0;background:linear-gradient(140deg,#9a293b42,transparent 55%,#07142199);pointer-events:none}.cliffhanger-ending .scene-stamp{font-size:14px;background:#241229;color:#ecbfd8;transform:rotate(-7deg)}.cliffhanger-label{font:700 21px Georgia,serif;letter-spacing:.12em;color:#e0edb0;margin:20px 0}.cliffhanger-ending .ending-title{color:#f2d7e6}
