:root{font-family:'Nunito',ui-rounded,system-ui,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--deep)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:4px solid #ffcf32;outline-offset:5px}button:disabled{cursor:default}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.welcome,.game{height:100svh;min-height:620px;position:relative;overflow:hidden}.welcome{background:#4c3480;color:#fff}.welcome-art,.welcome-shade{position:absolute;inset:0}.welcome-art{opacity:.66}.welcome-art svg{width:100%;height:100%;object-fit:cover}.welcome-shade{background:linear-gradient(270deg,rgba(53,31,96,.95) 0%,rgba(62,37,107,.86) 32%,rgba(64,39,107,.34) 64%,rgba(64,39,107,.12) 100%),linear-gradient(0deg,rgba(48,28,81,.28),transparent 55%)}.welcome-content,.welcome-header>span,.w-legal{text-shadow:0 1px 14px rgba(40,20,80,.55),0 0 2px rgba(40,20,80,.35)}.welcome-header{position:absolute;z-index:1;top:34px;left:5%;right:5%;display:flex;align-items:center;justify-content:space-between}.logo{font-size:38px;font-weight:1000;letter-spacing:-2px;line-height:1}.logo span{color:#ffd43c}.logo i{font-style:normal;color:#ffd43c;font-size:30px;margin-left:6px;display:inline-block;transform:rotate(10deg)}.welcome-header>span{font-size:14px;color:#e4d8f4;font-weight:700}.welcome-content{position:relative;z-index:2;padding:0;margin-left:8%;top:50%;transform:translateY(-46%);width:560px}.hello-note{font-size:14px;color:#e2d5f4;font-weight:700;display:flex;align-items:center;gap:9px}.hello-note>span{width:7px;height:7px;background:#ffd43c;border-radius:50%;box-shadow:0 0 0 5px #ffd43c14}.welcome h1{font-size:clamp(44px,5vw,76px);line-height:1.05;letter-spacing:-.035em;font-weight:1000;margin:22px 0}.welcome-content>p{font-size:19px;line-height:1.6;color:#e5daf4;margin:0 0 30px}.choices{display:grid;gap:13px;max-width:470px}.choice{display:flex;gap:16px;align-items:center;padding:21px 23px;border-radius:18px;text-align:left;border:1px solid transparent;transition:transform .2s,box-shadow .2s}.choice:hover{transform:translateY(-3px)}.adventure{background:var(--yellow);color:#3e285c;box-shadow:0 8px 28px #21113655;position:relative}.adventure:before{content:'✦';position:absolute;right:34px;top:-19px;font-size:28px;color:#fff3b3;transform:rotate(15deg)}.introduction{margin-top:4px;background:#e6dcf113;border-color:#e6dcf145;color:#f7f2ff}.choice-icon{font-size:30px;line-height:1}.choice-body{flex:1}.choice strong{font-size:22px;font-weight:1000;display:block;letter-spacing:-.5px}.choice small{display:block;font-size:13px;margin-top:3px;font-weight:700;opacity:.75}.choice-arrow{font-size:27px}.welcome-foot{margin:28px 0 0;font-size:15px;font-weight:800;letter-spacing:.01em;color:#f3ebff;display:flex;gap:10px;align-items:center}.welcome-foot span{display:flex}.welcome-poncik{position:absolute;z-index:1;right:7%;bottom:16%;width:34%;max-width:480px;transform:rotate(4deg)}.welcome-poncik:after{content:'';position:absolute;bottom:7%;left:12%;width:77%;height:7%;background:#21102c5e;filter:blur(10px);border-radius:50%;z-index:-1}.welcome-poncik img{width:100%;height:auto;filter:drop-shadow(0 14px 15px #21152f45)}.welcome-bubble{background:#fff9ed;color:#49355f;border:2px solid #49355f;border-radius:22px 22px 22px 5px;padding:16px 25px;position:absolute;top:-10%;right:0;font-weight:900;font-size:19px;line-height:1.35;transform:rotate(-7deg);box-shadow:4px 6px 0 #281d3a33}.welcome-bottom{position:absolute;bottom:25px;right:5%;font-size:12px;color:#e7daf4;font-weight:800}
/* The game is a world, with a separate foreground phone and a compact HUD. */
.game{background:#ddd0df;isolation:isolate;min-height:0;overflow:clip}
.welcome{overflow:clip}.room-art{position:absolute;inset:0;overflow:clip}.room-art>.scene-svg{width:100%;height:100%;display:block}.room-vignette{position:absolute;inset:0;box-shadow:inset 0 0 100px #30273f1a;pointer-events:none}.sun-wash{position:absolute;inset:0;background:linear-gradient(115deg,#ffe1a875,transparent 75%);opacity:0;transition:opacity 1.8s;pointer-events:none}.morning .sun-wash{opacity:1}
.hud{position:absolute;z-index:8;top:24px;left:28px;display:flex;align-items:center;gap:18px}.timer{display:flex;align-items:center;gap:12px;background:#fffaf1;padding:11px 17px;border-radius:16px;box-shadow:0 6px 20px #34274613}.timer-icon{font-size:30px;color:#7752a4}.timer small{display:block;font-size:11px;font-weight:800;color:#675277}.timer strong{font-size:28px;line-height:1.12;font-weight:1000;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.timer-ring{width:39px;height:39px;transform:rotate(-90deg);margin-left:5px}.timer-ring circle{fill:none;stroke:#e5dced;stroke-width:3}.timer-ring circle:last-child{stroke:#8f68b9;stroke-linecap:round;stroke-dasharray:132;transition:stroke-dashoffset .3s linear}.timer.urgent{color:#a2304f}.timer.urgent circle:last-child{stroke:#b33b5a}.location{display:flex;flex-direction:column;gap:3px;padding:6px 13px;border-radius:12px;background:#fffaf1d9}.location>span{font-size:18px;font-weight:1000;outline-offset:5px;border-radius:4px}.location small{font-size:12px;font-weight:800;color:#5c496b}
.home-back{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 16px 0 11px;border:0;border-radius:14px;background:#fffaf1;color:#493458;font-size:14px;font-weight:900;white-space:nowrap;box-shadow:0 6px 20px #34274613}
.home-back:hover{background:#fff}.home-back span{font-size:26px;line-height:1;font-weight:700;margin-top:-3px}
.game-tools{position:absolute;top:28px;right:28px;z-index:9;display:flex;gap:8px}.tool{width:44px;height:44px;border:0;border-radius:50%;background:#fffaf1;color:#493458;font-size:20px;font-weight:900;position:relative;box-shadow:0 4px 15px #34274615}.tool:hover{background:#fff}.tool svg{display:block;margin:auto}#sound .snd-waves{display:none}#sound.is-on .snd-waves{display:inline}#sound.is-on .sound-slash{display:none}
.guide{position:absolute;z-index:3;transform:translate(-50%,-100%);height:auto;pointer-events:none;width:190px;isolation:isolate}.guide-character{width:100%;aspect-ratio:1;position:relative;z-index:1}.guide-character>img,.guide-character>video,.guide-character>svg{display:block;width:100%;height:100%;object-fit:contain;overflow:visible}.guide-bubble{position:absolute;bottom:calc(100% + 4px);left:-20px;width:252px;padding:13px 16px;border-radius:17px 17px 17px 4px;background:#fffaf1;color:#493458;box-shadow:0 5px 17px #34274624;font-weight:900;font-size:14px;line-height:1.4;z-index:3}.guide-bubble:after{content:'';position:absolute;bottom:-7px;left:30px;border-width:8px 9px 0 0;border-style:solid;border-color:#fffaf1 transparent transparent transparent}.contact-shadow{position:absolute;left:18%;bottom:-2%;width:64%;height:8%;border-radius:50%;background:#4a36452e;filter:blur(5px);z-index:0}.guide.react .guide-character{animation:none}
.scene-svg [data-object]{cursor:pointer;outline:none}.scene-svg [data-object]:hover,.scene-svg [data-object]:focus-visible,.scene-svg [data-object].selected{filter:drop-shadow(0 0 5px #ffe184)}.scene-svg .object-hit{fill:transparent;stroke:none;pointer-events:all}.scene-svg .object-tooltip{opacity:0;pointer-events:none;font-family:'Nunito',sans-serif;font-weight:900;font-size:15px}.scene-svg [data-object]:hover .object-tooltip,.scene-svg [data-object]:focus-visible .object-tooltip,.scene-svg [data-object].selected .object-tooltip{opacity:1}
.navigation{position:absolute;z-index:7;left:28px;bottom:74px;display:flex;gap:9px;align-items:flex-end;max-width:64%;flex-wrap:wrap}.nav-button{min-height:62px;background:#fffaf1;border:2px solid transparent;border-radius:13px;padding:10px 17px;display:flex;gap:12px;align-items:center;text-align:left;color:#493458;font-weight:1000;font-size:13px;box-shadow:0 5px 16px #34274615;transition:background .15s,transform .15s}.nav-button:hover{background:white;transform:translateY(-2px)}.nav-button small{display:block;color:#695278;font-weight:700;font-size:11px;margin-top:2px}.nav-button.recommended{border-color:#e8bc3c}.nav-button:disabled{opacity:.58}.game-caption{position:absolute;z-index:5;left:50%;bottom:28px;transform:translateX(-50%);max-width:330px;font-size:12px;line-height:1.4;font-weight:800;text-align:center;padding:9px 15px;border-radius:12px;background:#fffaf1e8;color:#594267}
.phone-rig{position:absolute;z-index:6;width:390px;height:610px;right:-5px;bottom:-86px;pointer-events:none;transform-origin:100% 100%;transition:transform .45s cubic-bezier(.2,.8,.2,1),right .45s,bottom .45s}.phone{position:absolute;top:16px;left:36px;width:252px;height:478px;padding:16px 8px 19px;background:#332c3c;border:4px solid #8d77a7;border-radius:31px;box-shadow:6px 8px 0 #2b2338,10px 16px 25px #34274640;transform:rotate(-8deg);pointer-events:auto;overflow:clip}.phone:after{content:'';position:absolute;inset:0;border-radius:26px;background:linear-gradient(115deg,#ffffff14,transparent 40%);pointer-events:none}.phone-speaker{position:absolute;top:5px;left:101px;width:43px;height:4px;border-radius:4px;background:#17121d}.phone-screen{height:100%;position:relative;overflow:clip;border-radius:19px;background:#faf6ee;color:#342746}.phone-status{height:21px;display:flex;align-items:center;justify-content:space-between;padding:6px 14px 0;font-size:9px;font-weight:900}.phone-app{display:flex;justify-content:space-between;align-items:center;margin:8px 14px 0;font-size:17px;font-weight:1000;letter-spacing:-.025em}.phone-app b{color:#8258af}.camera-dot{font-size:9px;color:#46836b}.phone-home{position:absolute;bottom:7px;left:87px;width:66px;height:4px;border-radius:4px;background:#95849e}.phone-alarm{text-align:center;padding:25px 12px 0}.task-icon{display:block;color:#8054ad}.task-icon svg{width:34px;height:41px;display:block;margin:auto;transform:rotate(-12deg)}.phone-alarm small{display:block;font-size:13px;font-weight:900;margin-top:14px;color:#695278}.phone-alarm strong{display:block;font-size:27px;line-height:1.2;letter-spacing:-.02em;font-weight:1000;margin:4px 0 8px}.phone-alarm p{font-size:12px;font-weight:700;line-height:1.5;color:#665075;margin:0 0 20px}.phone-alarm button{border:0;border-radius:11px;background:#ffd43c;color:#493458;min-height:44px;width:100%;font-size:14px;font-weight:1000}.phone-task{padding:10px 13px 8px}.phone-task small{display:block;font-size:10px;color:#695278;font-weight:800}.phone-task strong{display:block;font-size:19px;font-weight:1000;line-height:1.3;margin-top:2px}.camera{height:140px;position:relative;overflow:clip;background:#9789a4;margin:0 10px;border-radius:9px}.camera-live{position:absolute;inset:0;pointer-events:none}.camera-live>svg{display:block;width:100%;height:100%}.camera-shade{position:absolute;inset:0;background:#2e244b12}.live-label{position:absolute;left:8px;top:7px;font-size:8px;font-weight:900;color:white;text-shadow:0 1px 2px #342746}.scan-brackets{position:absolute;top:29px;left:50%;transform:translateX(-50%);width:82px;height:73px}.scan-brackets i{position:absolute;width:17px;height:17px;border-color:white;border-style:solid}.scan-brackets i:nth-child(1){top:0;left:0;border-width:2px 0 0 2px}.scan-brackets i:nth-child(2){top:0;right:0;border-width:2px 2px 0 0}.scan-brackets i:nth-child(3){bottom:0;right:0;border-width:0 2px 2px 0}.scan-brackets i:nth-child(4){bottom:0;left:0;border-width:0 0 2px 2px}.scan-line{position:absolute;display:none;top:25%;left:12%;right:12%;height:2px;background:#ffdf6a;box-shadow:0 0 8px #ffd43c}.scanning .scan-line{display:block;animation:scan-sweep .7s ease-in-out infinite alternate}.camera-object{display:none}.camera-caption{position:absolute;bottom:6px;left:4px;right:4px;text-align:center;font-size:10px;font-weight:900;color:white;text-shadow:0 1px 3px #342746}.scan-button{display:block;min-height:44px;width:calc(100% - 20px);margin:8px 10px 0;border:0;border-radius:9px;background:#7954bd;color:white;font-size:13px;font-weight:1000;padding:8px}.scan-button:disabled{background:#e2d8ec;color:#736080;cursor:default}.phone-feedback{min-height:32px;display:flex;align-items:center;justify-content:center;padding:5px 12px;text-align:center;line-height:1.3;font-size:10px;font-weight:800;color:#5e496e}.phone-feedback.error{color:#99344e;background:#ffe9e3}.phone-feedback.success{color:#2d6a55}.step-tracker{display:flex;align-items:center;gap:8px;margin:0 13px;border-top:1px solid #dacfe0;padding-top:8px}.step-symbol{transform:rotate(-18deg);color:#8c65b1}.step-symbol svg{width:24px;height:27px}.step-tracker small{display:block;font-size:10px;color:#695278;font-weight:800}.step-tracker strong{font-size:24px;font-weight:1000;line-height:1.15;letter-spacing:-.025em}.step-tracker em{font-style:normal;font-size:13px;color:#735b83}.step-dots{display:flex;gap:3px;margin-left:auto}.step-dots i{width:7px;height:13px;background:#e1d7e9;border-radius:4px;transform:rotate(15deg)}.step-dots i.done{background:#8d67b3}
.phone-open{position:absolute;left:49px;top:27px;width:216px;height:454px;z-index:3;padding:0;border:0;border-radius:28px;background:transparent;color:#5a3f70;pointer-events:auto}
.phone-open-label{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);min-height:32px;display:inline-flex;align-items:center;padding:0 14px;border-radius:12px;background:#fffaf1;font-size:13px;font-weight:900;white-space:nowrap;box-shadow:0 5px 14px #34274622}
.phone-open:hover .phone-open-label{background:#fff}.phone-open:focus-visible{outline:4px solid #ffcf32;outline-offset:4px}
.phone-close{position:absolute;z-index:22;bottom:24px;left:50%;transform:translateX(-50%);background:#fffaf1;color:#5a3f70;border:0;border-radius:12px;min-height:44px;padding:10px 22px;font-weight:900;font-size:14px;box-shadow:0 5px 18px #34274621}.phone-close span{margin-left:12px}.phone-focus-shade{position:absolute;inset:0;z-index:18;pointer-events:none;opacity:0;background:#38264750;transition:opacity .3s}.phone-focused .phone-focus-shade{opacity:1}.phone-focused .phone-open{display:none}.phone-focused .navigation,.phone-focused .game-caption{visibility:hidden}.finale .phone-rig{transform:translateY(85%) rotate(7deg);transition-duration:1.1s}.finale .phone-open,.finale .navigation{visibility:hidden}.finale .guide-bubble{font-size:17px}
.game-dialog{color:#493458;background:#fffaf1;border:0;border-radius:24px;max-width:440px;width:calc(100% - 36px);padding:0;max-height:calc(100svh - 32px);overflow:auto;box-shadow:0 20px 70px #24193250}.game-dialog::backdrop{background:#35244170;backdrop-filter:blur(5px)}.game-dialog[data-kind=result]::backdrop{background:#35244135;backdrop-filter:blur(1px)}.dialog-content{padding:32px;text-align:center}.dialog-icon{display:block;font-size:39px;color:#8d64b3;margin-bottom:10px}.dialog-icon svg{display:block;margin:0 auto}.dialog-content h2{font-size:32px;font-weight:1000;line-height:1.13;letter-spacing:-.03em;margin:12px 0}.dialog-content p{font-size:14px;color:#665075;line-height:1.65;margin:16px 0 22px;font-weight:700}.dialog-content .primary,.dialog-content .secondary{display:block;width:100%;border:0;border-radius:12px;min-height:46px;padding:13px 17px;font-size:14px;font-weight:1000}.dialog-content .primary{background:#ffd43c;color:#493458}.dialog-content .secondary{background:#e9dff1;color:#5e4472;margin-top:12px}.dialog-content .text-button{border:0;background:none;color:#6f5581;font-size:12px;text-decoration:underline;text-underline-offset:3px;min-height:44px;margin-top:12px}.result-stats{display:flex;justify-content:center;gap:30px;margin:22px 0}.result-stats strong{font-size:28px;font-weight:1000}.result-stats small{display:block;font-size:11px;color:#6e5480;font-weight:800}.help-list{text-align:left;font-size:14px;line-height:1.65;padding-left:22px;color:#665075}.help-list li+li{margin-top:9px}.dialog-content kbd{font:inherit;background:#e6daef;border-radius:4px;padding:0 4px}::selection{background:#ffd43c;color:#493458}dialog::-webkit-scrollbar{width:7px}dialog::-webkit-scrollbar-thumb{background:#baa5cc;border-radius:7px}
@keyframes alarm-ring{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}@keyframes scan-sweep{from{top:24%}to{top:76%}}
@media(min-width:1001px){.phone-rig{right:-70px;transform:scale(.9)}}
@media(max-width:1000px){.welcome-content{margin-left:6%;width:52%}.welcome h1{font-size:56px}.welcome-poncik{right:1%;width:40%;bottom:19%}.welcome-bubble{font-size:15px;top:-18%}.choice{padding:18px}.choice strong{font-size:19px}.choice small{font-size:11px}.hud{left:20px;top:20px;gap:12px}.game-tools{top:24px;right:20px}.phone-rig{right:-36px;transform:scale(.9)}.navigation{left:20px;max-width:65%}.nav-button{padding:10px 13px}.game-caption{display:none}}
@media(max-width:600px){.welcome{min-height:750px}.welcome-header{left:24px;right:24px;top:26px}.logo{font-size:32px}.welcome-header>span{display:none}.welcome-content{margin-left:26px;top:125px;transform:none;width:calc(100% - 52px)}.hello-note{font-size:12px}.welcome h1{font-size:43px;letter-spacing:-.035em;margin:18px 0 14px}.welcome-content>p{font-size:15px;line-height:1.5;margin-bottom:24px}.choices{gap:10px;max-width:100%}.choice{border-radius:15px;gap:12px;padding:17px 16px}.choice strong{font-size:19px}.choice small{font-size:10px}.choice-icon{font-size:24px}.choice-arrow{font-size:23px}.welcome-foot{font-size:11px;margin-top:21px}.welcome-poncik{width:190px;bottom:10px;right:12px}.welcome-bubble{right:155px;top:32px;width:155px;font-size:12px;padding:12px 15px}.welcome-bottom{left:26px;bottom:20px;right:auto;font-size:10px}.welcome-art{left:-70%;right:-40%;opacity:.5}.welcome-shade{background:linear-gradient(180deg,#402668ee,#402668c9 65%,#40266822)}
.hud{display:grid;grid-template-columns:auto auto;justify-content:start;gap:6px 8px;left:14px;top:13px}.timer{min-height:44px;padding:6px 12px;gap:7px;border-radius:13px}.timer-icon{font-size:24px}.timer small{display:none}.timer strong{font-size:23px}.timer-ring{display:none}.home-back{border-radius:13px;font-size:13px;padding:0 13px 0 9px}.location{grid-column:1/-1;justify-self:start;flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:0 8px;max-width:calc(100vw - 28px);padding:4px 11px;border-radius:11px;background:#fffaf1e3;text-shadow:none}.location>span{font-size:13px}.location small{font-size:11px;line-height:1.3}.phone-focused .location{display:none}.game-tools{top:13px;right:10px;gap:3px}.tool{width:36px;height:44px;border-radius:13px;font-size:17px;box-shadow:none}.guide-bubble{font-size:12px;line-height:1.35;padding:11px 13px;border-radius:14px 14px 14px 3px}.navigation{left:14px;bottom:72px;flex-direction:column;align-items:stretch;gap:6px;max-width:160px}.nav-button{min-height:44px;padding:8px 11px;gap:8px;font-size:11px;border-radius:11px}.nav-button small{font-size:10px}.dialog-content{padding:26px}.dialog-content h2{font-size:29px}.finale .guide-bubble{font-size:14px}}
@media(max-height:740px) and (max-width:600px){.welcome{min-height:680px}.welcome-content{top:96px}.welcome h1{font-size:37px}.welcome-poncik{width:160px;bottom:0}.welcome-bubble{right:135px;top:22px}.welcome-foot{margin-top:14px}.navigation{max-width:135px}.location small{display:none}}
@media(max-width:350px){.game-tools{gap:0;right:8px}.tool{width:31px;min-height:44px}.timer{padding:6px 10px}.home-back{font-size:12px;padding:0 10px 0 7px}.guide-bubble{font-size:11px}.navigation{max-width:126px}.nav-button small{font-size:9px}}
@media(max-height:640px) and (min-width:601px){.welcome h1{font-size:47px;margin:12px 0}.welcome-content>p{font-size:16px;margin-bottom:20px}.welcome-content{transform:translateY(-44%)}.choice{padding:15px 19px}.welcome-foot{margin-top:18px}.phone-rig{transform:scale(.8);bottom:-98px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.guide-character{aspect-ratio:920/860;overflow:visible}.guide-character canvas{display:block;width:100%;height:100%}.guide-character canvas[hidden],.guide-character img[hidden]{display:none}.guide-character img{max-width:none}
@media(max-width:600px){.phone-rig{right:50px;bottom:-58px;transform:scale(.56)}}
@media(max-height:640px) and (max-width:600px){.phone-rig{right:44px;bottom:-96px;transform:scale(.5)}}
/* Keep the deadline readable while inspecting the foreground phone. */
@media(max-width:600px){.tool{width:44px;height:44px}}
@media(max-width:350px){.game-tools{gap:2px}.tool{width:38px}}
.flow-room .object-hit{fill:transparent;stroke:transparent;stroke-width:3;transition:stroke .15s,fill .15s}
.flow-room [data-object]:hover .object-hit,.flow-room [data-object]:focus-visible .object-hit{stroke:#fff1b5;fill:#ffde4317}
.flow-room [data-object].selected .object-hit{stroke:#ffd543;fill:#ffde4324}
.game[data-room="balcony"] .room-art{filter:brightness(.88) saturate(.86);transition:filter 1.8s}
.game[data-room="balcony"].morning .room-art{filter:brightness(1.08) saturate(1.04)}
@media(max-height:460px) and (min-width:601px){
 .welcome{min-height:0}
 .welcome-header{top:20px}
 .welcome-header .logo{font-size:30px}
 .welcome-header>span{font-size:11px}
 .welcome-content{top:80px;transform:none;width:52%;margin-left:5%}
 .welcome .hello-note{font-size:11px}
 .welcome h1{font-size:32px;margin:9px 0;line-height:1.05}
 .welcome-content>p{font-size:14px;line-height:1.35;margin-bottom:12px}
 .welcome .choices{gap:7px}
 .welcome .choice{padding:8px 13px;border-radius:12px;gap:10px}
 .welcome .choice strong{font-size:17px}
 .welcome .choice small{font-size:11px;margin-top:1px}
 .welcome .choice-icon{font-size:23px}
 .welcome .welcome-foot{display:none}
 .welcome-poncik{width:29%;right:4%;bottom:25px}
 .welcome-bubble{font-size:14px;padding:11px 14px}
 .welcome-bottom{bottom:8px;font-size:10px}
}
/* The Flow-painted case and hand are one connected illustration. The live UI
   sits behind its keyed glass, and the entire grip tilts as one object. */
.phone-assembly{position:absolute;inset:0;transform:rotate(-8deg);transform-origin:165px 260px;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.phone-focused .phone-assembly{transform:rotate(0)}
.phone-rig .phone{left:49px;top:27px;width:216px;height:454px;padding:0;border:0;border-radius:28px;background:#faf6ee;box-shadow:none;transform:none;z-index:1}
.phone-rig .phone:after,.phone-rig .phone-speaker,.phone-rig .phone-home{display:none}
.phone-rig .phone-screen{border-radius:28px}
.hand-phone-art{position:absolute;left:-37px;top:-117px;width:491.52px;height:880.64px;max-width:none;z-index:2;pointer-events:none}
.phone-rig .camera{height:118px}
.phone-rig .phone-feedback{width:112px;min-height:44px;padding:5px 6px;text-align:left;justify-content:flex-start}
.phone-rig .step-tracker{margin-right:105px}
.phone-rig .step-dots{display:none}
.phone-rig .phone-alarm{padding-top:12px}
.phone-rig .phone-alarm small{margin-top:8px}
.phone-rig .phone-alarm strong{font-size:25px}
.phone-rig .phone-alarm p{margin-bottom:12px}
@media(max-height:460px) and (min-width:601px){.phone-rig{transform:scale(.58);right:-50px;bottom:-98px}}
/* Distinct hover, keyboard and selected states, without a glowing label box. */
.scene-svg [data-object],.scene-svg [data-object]:hover,.scene-svg [data-object]:focus-visible,.scene-svg [data-object].selected{filter:none}
.flow-room .object-hit,.flow-room [data-object]:hover .object-hit,.flow-room [data-object]:focus-visible .object-hit,.flow-room [data-object].selected .object-hit{fill:transparent;stroke:transparent}
.object-reticle{fill:none;stroke:#fff6d0;stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:0;pointer-events:none;transition:opacity .15s}
.scene-svg [data-object].selected .object-reticle{opacity:1;stroke:#ffcf32;stroke-width:3}
.scene-svg [data-object] .object-tooltip,.scene-svg [data-object].selected .object-tooltip,.scene-svg [data-object]:hover .object-tooltip{opacity:0}
.scene-svg [data-object]:focus-visible .object-tooltip,.scene-svg [data-object]:focus-visible .object-reticle{opacity:1}
@media(hover:hover){.scene-svg [data-object]:hover .object-tooltip,.scene-svg [data-object]:hover .object-reticle{opacity:1}.flow-room [data-object]:hover .object-hit{fill:#ffde430b}}
.game.phone-focused .room-art [data-object] .object-tooltip{opacity:0}
.bed-hit{fill:transparent;stroke:transparent;cursor:pointer;pointer-events:all}.scene-svg [data-scene-action]:focus-visible{outline:none}.scene-svg [data-scene-action]:focus-visible .bed-hit{stroke:#fff2c5;stroke-width:3;vector-effect:non-scaling-stroke}
/* Shared writing rhythm: readable copy, lighter labels, natural wrapping. */
.choice-body,.ending-copy,.ending-actions{min-width:0}.choice strong,.guide-bubble,.dialog-content p{overflow-wrap:break-word;text-wrap:pretty}.choice strong{line-height:1.2}.guide-bubble{font-weight:800}.dialog-content h2{font-weight:900;line-height:1.18}.dialog-content p{font-weight:700}.ending-links{flex-wrap:wrap;row-gap:0}

.scene-svg [data-scene-action]{outline:none}
@media(max-width:420px){.timer-icon{display:none}}

.to-story #welcome{visibility:hidden}
.img-wait,.img-ok{transition:opacity .4s ease}.img-wait{opacity:0}
/* Ponçik: the still welcome picture until the first animation frame is on the canvas, then the canvas alone (a hard swap,
   never both at once: a cross-fade showed two Ponçiks for a moment). actor.js shows the fallback <img> only without a canvas. */
.guide-character canvas{opacity:0}.guide-character[data-ready] canvas{opacity:1}
.guide-character .actor-still{position:absolute;left:-5.06%;top:-1.81%;width:107.3%;height:114.79%;max-width:none;object-fit:fill;pointer-events:none}
.guide-character[data-ready] .actor-still{visibility:hidden;opacity:0;transition:none}
.welcome-poncik:has(img.img-wait):after{opacity:0}
.offer img.img-wait~.offer-screen{opacity:0}
.welcome-art{opacity:0;transition:opacity .6s ease}.welcome-art.ready{opacity:.84}@media(max-width:600px){.welcome-art.ready{opacity:.5}}
.welcome-header .logo{padding-block:6px;margin-block:-6px}
.welcome-header .logo img{display:block;height:44px;width:auto}
@media(max-width:600px){.welcome-header .logo img{height:34px}}

/* HUD: the top-left corner is only the way back to the previous room, named after it. Leaving the game is the house
   icon in the tool cluster; it pauses first. The HUD box itself never swallows taps meant for the room. */
.hud{pointer-events:none}.hud>*{pointer-events:auto}
.room-back{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 18px 0 12px;border:0;border-radius:14px;background:#fffaf1;color:#493458;font-size:15px;font-weight:900;white-space:nowrap;box-shadow:0 6px 20px #34274613}
.room-back-arrow{font-size:28px;line-height:1;font-weight:700;margin-top:-3px}
.room-back:hover{background:#fff}
.room-back.recommended{background:#ffd43c;color:#3f2a52}.room-back.recommended:hover{background:#ffdc5c}
.room-back:disabled{cursor:default}
.phone-focused .room-back{display:none}
.tool-home svg{display:block;margin:auto}
@media(max-width:600px){
 .hud{grid-template-columns:auto minmax(0,1fr)}
 .room-back{grid-column:1/-1;justify-self:start;min-height:44px;padding:0 15px 0 10px;border-radius:13px;font-size:14px}
 .hud.has-back .location{grid-column:2;align-self:center;max-width:calc(100vw - 130px)}
}

/* Speech bubble: fixed width, it grows upwards from Ponçik's head; the tail points at him (scene.js sets --tail-x). */
.guide-bubble{bottom:calc(100% + 2px);border-radius:17px}
.guide-bubble:after{left:var(--tail-x,50%);bottom:-8px;transform:translateX(-50%);border-width:9px 8px 0 8px;border-color:#fffaf1 transparent transparent transparent}
@media(max-width:600px){.guide-bubble{border-radius:14px}}

/* Doors: the painted opening is the control; scene.js projects its polygon and only the polygon takes taps.
   Idle: a light breathing on the threshold (stronger on the suggested door). Hover/focus: warm light pours out of the
   opening, a light line runs round its edge and a soft sheen drifts across. Only transform, opacity and filter move. */
.navigation{inset:0;width:100%;height:100%;max-width:none;display:block;pointer-events:none;z-index:auto}
.navigation .nav-button.door{position:absolute;display:block;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;color:#493458;pointer-events:none;overflow:visible}
.navigation .nav-button.door:hover,.navigation .nav-button.door:focus-visible{transform:none;background:none;outline:none}
.door-fx{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;mix-blend-mode:screen}
.door-hit{fill:transparent;stroke:none;pointer-events:all;cursor:pointer}
.nav-button.door:disabled .door-hit{cursor:default}
.nav-button.door:not(.door-offscreen)::before{content:'';position:absolute;left:var(--sill-x,50%);top:var(--sill-y,100%);width:var(--sill-w,100%);height:var(--sill-h,18px);border-radius:50%;background:radial-gradient(closest-side,#ffb92ee6,#ffc6488c 48%,#ffd06a00);opacity:.5;transform:translate(-50%,-50%);animation:sill-breathe 3.4s ease-in-out infinite;pointer-events:none}
.nav-button.door.recommended:not(.door-offscreen)::before{opacity:.85;animation-name:sill-breathe-strong}
.door-glow{opacity:0;filter:drop-shadow(0 0 14px #ffd36bcc);transition:opacity .4s ease}
.door-light{opacity:.8}
.door-sheen{opacity:0;transform-box:fill-box;transform:translateX(-110%)}
.door-edge{fill:none;stroke:#ffd257;stroke-width:3.5;stroke-linejoin:round;opacity:0;filter:drop-shadow(0 0 6px #ffc93c);transition:opacity .35s ease}
.door.recommended .door-edge{opacity:.32;animation:door-edge-breathe 3.4s ease-in-out infinite}
.navigation .door .nav-name{position:absolute;bottom:auto;width:max-content;max-width:150px;padding:5px 12px;border-radius:10px;background:#fffaf1;color:#493458;box-shadow:0 3px 10px #3427462e;font-size:13px;line-height:1.2;font-weight:900;white-space:nowrap;text-align:center;opacity:.86;transform:translateX(calc(-50% + var(--label-offset,0px)));transition:opacity .3s ease,transform .3s ease;pointer-events:none}
.navigation .door.recommended .nav-name{background:#ffd43c;color:#3f2a52;opacity:1}
.nav-button.door:focus-visible .door-glow,.nav-button.door:focus-visible .door-edge{opacity:1}
.nav-button.door:focus-visible .door-sheen{animation:door-sheen 2.6s ease-in-out infinite}
.nav-button.door:not(.door-offscreen):focus-visible::before{opacity:1;animation:none;transform:translate(-50%,-50%) scale(1.15,1.1)}
.navigation .nav-button.door:focus-visible .nav-name{opacity:1;transform:translateX(calc(-50% + var(--label-offset,0px))) translateY(-2px) scale(1.06);outline:3px solid #ffcf32;outline-offset:3px}
@media(hover:hover){
 .nav-button.door:not(:disabled):hover .door-glow,.nav-button.door:not(:disabled):hover .door-edge{opacity:1}
 .nav-button.door:not(:disabled):hover .door-sheen{animation:door-sheen 2.6s ease-in-out infinite}
 .nav-button.door:not(:disabled):not(.door-offscreen):hover::before{opacity:1;animation:none;transform:translate(-50%,-50%) scale(1.15,1.1);transition:opacity .35s,transform .35s}
 .navigation .nav-button.door:not(:disabled):hover .nav-name{opacity:1;transform:translateX(calc(-50% + var(--label-offset,0px))) translateY(-2px) scale(1.06)}
}
/* Touch has no hover: the threshold light and the sign are the invitation, both always on. */
@media(hover:none){.navigation .door .nav-name{opacity:1}.nav-button.door:not(.door-offscreen)::before{opacity:.65}}
/* A door the crop leaves off screen: a tab on that screen edge, pointing towards it. */
.navigation .nav-button.door.door-offscreen{pointer-events:auto;transform:translateY(-50%);cursor:pointer}
.door-offscreen .door-fx{display:none}
.navigation .door.door-offscreen .nav-name{position:relative;left:auto;top:auto;display:flex;align-items:center;gap:5px;min-height:46px;max-width:none;padding:0 14px;opacity:1;transform:none;font-size:14px;box-shadow:0 4px 14px #34274630}
.door-offscreen[data-side=left] .nav-name{border-radius:0 14px 14px 0;padding-left:10px}
.door-offscreen[data-side=right] .nav-name{border-radius:14px 0 0 14px;padding-right:10px}
.door-offscreen[data-side=left] .nav-name::before,.door-offscreen[data-side=right] .nav-name::after{font-size:24px;line-height:1;font-weight:700;margin-top:-2px}
.door-offscreen[data-side=left] .nav-name::before{content:'‹'}
.door-offscreen[data-side=right] .nav-name::after{content:'›'}
.door-offscreen::after{content:'';position:absolute;top:6px;bottom:6px;width:4px;border-radius:4px;background:#ffcf32;box-shadow:0 0 10px #ffcf32;opacity:.5;animation:door-tab-breathe 3.4s ease-in-out infinite}
.door-offscreen[data-side=left]::after{left:0}.door-offscreen[data-side=right]::after{right:0}
.door-offscreen.recommended::after{opacity:.9}
@keyframes sill-breathe{0%,100%{opacity:.35;transform:translate(-50%,-50%) scale(.88,.8)}50%{opacity:.72;transform:translate(-50%,-50%) scale(1.04,1)}}
@keyframes sill-breathe-strong{0%,100%{opacity:.55;transform:translate(-50%,-50%) scale(.9,.85)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.1,1.08)}}
@keyframes door-edge-breathe{0%,100%{opacity:.18}50%{opacity:.5}}
@keyframes door-tab-breathe{0%,100%{opacity:.35}50%{opacity:.9}}
@keyframes door-sheen{0%{opacity:0;transform:translateX(-110%)}20%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateX(230%)}}
/* Reduced motion: no breathing, no sheen; the threshold and the suggested door keep a steady light. */
@media(prefers-reduced-motion:reduce){.nav-button.door:not(.door-offscreen)::before{opacity:.55}.nav-button.door.recommended:not(.door-offscreen)::before{opacity:.9}.door.recommended .door-edge{opacity:.4}.door-offscreen::after{opacity:.8}}
.navigation .nav-button.door:disabled{opacity:1}
/* bottom-left site links on the welcome screen (SSS, ön kayıt, ©) */
.w-legal{position:absolute;z-index:2;left:5%;bottom:25px;display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center;font-size:13px;font-weight:800;color:#fff}.w-legal a,.w-legal button{color:inherit;text-decoration:none;padding-block:6px}.w-legal button{background:none;border:0;font:inherit;cursor:pointer;padding-inline:0}.w-legal a:hover,.w-legal a:focus-visible,.w-legal button:hover,.w-legal button:focus-visible{text-decoration:underline;text-underline-offset:3px}.w-legal span{font-weight:700;opacity:.8}
@media(max-height:700px){.w-legal{bottom:8px;font-size:11px}}
.w-legal .w-sosyal{display:inline-flex;align-items:center;gap:14px;opacity:1;margin-right:-6px}.w-legal .w-sosyal a{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0}.w-legal .sosyal-ikon{width:22px;height:22px;display:block;fill:currentColor}
/* the bubble reads above Ponçik's tuft; narrower computer windows: Ponçik a step in from the edge, the tagline gives way to the links */
.welcome-bubble{z-index:1}
@media(max-width:1000px){html:not(.is-phone) .welcome-poncik{right:3%}html:not(.is-phone) .welcome-bottom{display:none}}
/* very large screens: the welcome screen is zoomed as a whole (its height divided back, viewport units are zoomed too) */
#welcome{--wz:1}
@media(min-width:2200px) and (min-height:1200px){#welcome{--wz:1.2}}
@media(min-width:2500px) and (min-height:1380px){#welcome{--wz:1.33}}
@media(min-width:3000px) and (min-height:1650px){#welcome{--wz:1.6}}
@media(min-width:3500px) and (min-height:1950px){#welcome{--wz:2}}
html:not(.is-phone) #welcome{zoom:var(--wz);height:calc(100svh / var(--wz))}
/* short desktop viewports (125-150% Windows scaling, bookmark bar, small laptops): the welcome screen is laid out for ~800px of height,
   below that it is zoomed down as a whole in 20px steps so the logo, title, buttons, slogan and bottom links never meet */
@media(min-width:1001px) and (max-height:800px) and (min-height:461px){#welcome{--wz:.97}}
@media(min-width:1001px) and (max-height:780px) and (min-height:461px){#welcome{--wz:.95}}
@media(min-width:1001px) and (max-height:760px) and (min-height:461px){#welcome{--wz:.92}}
@media(min-width:1001px) and (max-height:740px) and (min-height:461px){#welcome{--wz:.9}}
@media(min-width:1001px) and (max-height:720px) and (min-height:461px){#welcome{--wz:.87}}
@media(min-width:1001px) and (max-height:700px) and (min-height:461px){#welcome{--wz:.85}}
@media(min-width:1001px) and (max-height:680px) and (min-height:461px){#welcome{--wz:.82}}
@media(min-width:1001px) and (max-height:660px) and (min-height:461px){#welcome{--wz:.8}}
@media(min-width:1001px) and (max-height:620px) and (min-height:461px){#welcome{--wz:.76}}
@media(min-width:1001px) and (max-height:580px) and (min-height:461px){#welcome{--wz:.72}}
@media(min-width:1001px) and (max-height:540px) and (min-height:461px){#welcome{--wz:.68}}
@media(min-width:1001px) and (max-height:500px) and (min-height:461px){#welcome{--wz:.64}}
/* phone app bar: the real UyanBi logo (cream variant on the night story screen); alarm screen mark is the logo's yellow i! */
.phone-app-logo{line-height:0}.phone-app-logo img{display:block;height:1.3em;width:auto}.phone-app-logo .is-dark{display:none}.game.story-night .phone-app-logo img{display:none}.game.story-night .phone-app-logo .is-dark{display:block}
.task-icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto;border-radius:18px;background:#5A12C0}.task-icon img{display:block;width:22px;height:31px}
