:root{font-family:Manrope,Arial,sans-serif;color:#ffece2;background:#171018;color-scheme:dark}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{font:inherit;color:inherit}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:2px solid #f9a098;outline-offset:4px}[hidden]{display:none!important}#horror-world,#horror-effects{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none}#horror-world{transition:filter .3s}#horror-effects{pointer-events:none;background:radial-gradient(ellipse at center,transparent 38%,#110a17bb 100%);transition:background .35s}.dizzy #horror-world{filter:blur(3px) saturate(.65) contrast(1.12);transform:scale(1.025)}.dizzy #horror-effects{background:radial-gradient(ellipse at 52% 45%,transparent 16%,#281021ad 74%,#180b16 100%)}.hurt #horror-effects{box-shadow:inset 0 0 130px 35px #771228a8}.horror-header{position:fixed;inset:24px 29px auto;display:flex;justify-content:space-between;align-items:center;z-index:4}.back-link,#horror-sound{display:inline-block;text-decoration:none;padding:10px 15px;background:#211720e8;border:1px solid #8e4a4b60;border-radius:11px;font-size:13px;color:#faddd8;font-weight:750}.back-link:before{content:"⌂";margin-right:8px;font-size:15px}.start-menu{position:fixed;left:clamp(24px,7vw,125px);top:50%;transform:translateY(-44%);max-width:min(430px,86vw);padding:22px 0;background:radial-gradient(ellipse at left,#180e16e0,transparent 80%);text-shadow:0 4px 18px #130910}.mode-kicker{display:flex;align-items:center;gap:9px;color:#ff9e94;font-size:12px;letter-spacing:2.2px;text-transform:uppercase;font-weight:800}.mode-kicker span{height:7px;width:7px;border-radius:50%;background:#ff675c;box-shadow:0 0 12px #ff705f}h1{font-size:clamp(57px,8vw,117px);line-height:.86;letter-spacing:-.075em;margin:19px 0 22px}p{line-height:1.55}.start-menu p{max-width:340px;font-size:15px;color:#e0bdbb;margin:0 0 24px}.mode-actions{display:grid;gap:8px;max-width:325px}.mode-actions button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#512b3b;border:1px solid #ac647282;border-radius:13px;padding:13px 17px;gap:4px}.mode-actions button:first-child{background:#a34547;border-color:#dc6d62}.mode-actions button:hover{filter:brightness(1.17)}.mode-actions small{font-size:11px;line-height:1.35;color:#ffe5df}.tea-intro{position:fixed;top:88px;left:50%;width:min(580px,90vw);transform:translate(-50%);background:#26172ae8;border:1px solid #bd879f65;border-radius:20px;padding:18px 23px;text-align:center;box-shadow:0 12px 65px #120912ae}.tea-intro span{font-weight:850;letter-spacing:.09em;color:#d8a8df}.tea-intro p{font-size:16px;margin:8px 0 14px}.tea-intro button,#retry{background:#a34450;border-radius:11px;padding:10px 20px;font-weight:800}.objective,.cat-status{position:fixed;border:1px solid #6c405a9c;background:#241724e8;border-radius:13px;padding:11px 15px}.objective{left:50%;top:23px;transform:translate(-50%);display:flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap}.objective b{color:#ffc1ae;font-size:16px}.cat-status{left:27px;bottom:28px;width:197px}.cat-status>div{display:flex;justify-content:space-between;font-size:13px;gap:8px}.cat-status span{color:#ffc2ae}.cat-status small{display:block;color:#e8b7a0;font-size:11px;margin-top:7px}progress{width:100%;height:7px;margin-top:8px;border:0;border-radius:8px;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#513241}progress::-webkit-progress-bar{background:#513241}progress::-webkit-progress-value{background:#dd7a76;border-radius:8px}progress::-moz-progress-bar{background:#dd7a76}.action-hud{position:fixed;left:50%;bottom:25px;transform:translate(-50%);width:min(630px,96vw);text-align:center}.controls{display:flex;justify-content:center;align-items:center;gap:6px;color:#e3bdbb;font-size:11px;white-space:nowrap}kbd{display:inline-block;padding:3px 5px;background:#342333;border:1px solid #704252;border-radius:5px;color:#ffe8dc;font:inherit;font-weight:800}#action-label,#observation{margin:0 auto 9px;width:max-content;max-width:100%;background:#271725ef;border:1px solid #85556099;padding:10px 15px;border-radius:11px;font-size:13px}#observation{width:min(340px,95%)}#observation progress{display:block}#horror-feed{position:fixed;top:81px;left:50%;transform:translate(-50%);max-width:min(475px,90vw);margin:0;background:#281927e8;border:1px solid #6d4357;border-radius:10px;padding:8px 13px;font-size:13px;text-align:center}#horror-feed:empty{display:none}#end-screen{max-width:90vw;width:415px;border:1px solid #935866;background:#2d1b2a;color:#ffebe0;padding:27px;border-radius:18px}#end-screen::backdrop{background:#100912b5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}#end-screen h2{font-size:32px;margin:0 0 10px}#end-screen p{color:#edc8bf;margin:0 0 18px}#end-screen div{display:flex;align-items:center;gap:14px}#end-screen a{text-underline-offset:4px;font-size:13px}#horror-touch{display:none}@media(pointer:coarse),(max-width:690px){.horror-header{inset:13px 13px auto}.objective{top:59px}.cat-status{left:13px;bottom:115px;width:127px;padding:8px 9px}.cat-status>div{font-size:11px}.cat-status small{font-size:9px}.controls{display:none}.action-hud{bottom:193px}.horror-header a,.horror-header button{font-size:11px;padding:7px 9px}.tea-intro{top:72px;padding:13px}.tea-intro p{font-size:14px}#horror-feed{top:105px;width:85%;font-size:12px}#horror-touch{display:flex;position:fixed;inset:auto 13px 13px;justify-content:space-between;align-items:flex-end;gap:8px;pointer-events:none}.touch-actions{display:grid;gap:4px}.touch-actions{grid-template-columns:repeat(3,minmax(40px,auto))}.touch-actions button{pointer-events:auto;touch-action:none;background:#362236e5;border:1px solid #90637488;border-radius:8px;min-height:37px;padding:5px 6px;font-size:10px}}@media(prefers-reduced-motion:reduce){#horror-world,#horror-effects{transition:none}.dizzy #horror-world{transform:none;filter:blur(1.7px)}}#horror-transition{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8;background:#100910;opacity:0;pointer-events:none}#horror-transition.active{animation:into-maze .76s ease both}@keyframes into-maze{0%,to{opacity:0}42%,53%{opacity:1}}.objective{display:block;width:min(265px,64vw)}.objective-text{display:flex;align-items:center;justify-content:space-between;gap:10px}.objective progress{display:block;margin-top:7px;height:6px}#power-status{display:block;margin-top:7px;color:#a5e1dc;font-size:11px;white-space:normal}.blackout #horror-feed{top:104px}#water-goal::-webkit-progress-value{background:#dda380}#water-goal::-moz-progress-bar{background:#dda380}@media(pointer:coarse),(max-width:690px){#horror-feed{top:122px}.blackout #horror-feed{top:145px}}.recall{display:inline-flex;align-items:center;gap:5px;margin-left:5px;padding:2px 7px 2px 2px;background:#512b3b;border:1px solid #8d586b;border-radius:7px}button[data-recall]:disabled{opacity:.55;cursor:default}@media(pointer:coarse),(max-width:690px){.touch-actions button{min-height:44px}.touch-actions button[data-recall]{background:#512b3b}#horror-run{background:#66354c;font-weight:800}#horror-run:active{background:#a75866;border-color:#ffc1ae}.touch-actions:has([data-recall][hidden]) #horror-run{grid-column:1 / -1}}@media(min-width:691px)and (max-width:850px)and (pointer:fine){.action-hud{bottom:105px}}#drinking{position:fixed;z-index:3;top:48%;right:clamp(12px,3vw,46px);transform:translateY(-50%);width:min(330px,34vw);height:clamp(178px,37vh,254px);pointer-events:none;border:1px solid #bda5c879;border-radius:18px;background:radial-gradient(ellipse,#30223674,#170e1bd9);box-shadow:0 9px 52px #1009159c;color:#faeef8}.drop-heading{display:flex;justify-content:space-between;gap:8px;margin:13px 16px 0;font-size:14px;font-weight:750}.drop-heading b{color:#c5edf3;font-variant-numeric:tabular-nums}#drop-timer{display:block;margin:8px 16px;width:calc(100% - 32px);height:4px}#drop-timer::-webkit-progress-value{background:#8ecbdd}#drop-timer::-moz-progress-bar{background:#8ecbdd}#water-drop{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);width:60px;height:60px;border:1px solid #c8f3fcb0;border-radius:50%;background:#294657e0;box-shadow:0 0 24px #70d9f479;pointer-events:auto;touch-action:manipulation}#water-drop i{width:25px;height:25px;border:1px solid #f0feff;border-radius:60% 68% 64% 0;transform:rotate(45deg);background:radial-gradient(circle at 65% 28%,#ecfdff 0,#ecfdff 9%,#a5e9f6 15%,#72c5d8 47%,#4698b1)}#water-drop:hover{background:#43738b}#taste-water{margin-top:8px;min-height:36px;padding:6px 14px;border:1px solid #bd816e;border-radius:8px;background:#563038;color:#ffe8df;font-size:13px;font-weight:750;touch-action:manipulation}#taste-water:hover{background:#704048}.online-lobby{display:grid;gap:9px;max-width:325px}.online-lobby p{margin:0 0 4px;min-height:2.85em}.online-lobby button,.online-lobby input{min-height:38px;border:1px solid #ac647282;border-radius:9px;padding:7px 11px;background:#512b3b;color:#ffece2}.online-lobby button:hover{background:#734252}.online-lobby button:disabled{opacity:.48;cursor:default}.online-lobby input{font:inherit;width:100%;min-width:0;background:#241724;text-transform:uppercase;letter-spacing:.07em}.online-lobby form div,#room-invite{display:grid;grid-template-columns:1fr auto;gap:6px}.online-lobby label{display:block;margin-bottom:4px;font-size:13px;color:#f2ceca}@media(max-width:690px){#drinking{top:auto;right:12px;bottom:107px;transform:none;width:clamp(131px,calc(100vw - 188px),330px);height:clamp(162px,23vh,208px)}.drop-heading{margin:10px 10px 0;font-size:12px;gap:4px}#drop-timer{margin:7px 10px;width:calc(100% - 20px)}#water-drop{width:48px;height:48px}}@media(pointer:coarse),(max-width:690px){.touch-actions{grid-template-columns:repeat(2,minmax(53px,auto))}.cat-status{width:155px}}#horror-touch [data-cream-trail]{background:#573c4d;color:#ffe8c9}.touch-actions:has([data-cream-trail]:not([hidden])) #horror-run{grid-column:auto}[data-cream-trail]:disabled{opacity:.48}@media(prefers-reduced-motion:no-preference){#water-drop i{animation:falling-drop var(--drop-window,1s) linear both}@keyframes falling-drop{0%{transform:translateY(-7px) rotate(45deg);opacity:1}to{transform:translateY(11px) rotate(45deg);opacity:.65}}}.horror-header-actions{display:flex;align-items:center;gap:7px}#horror-poses{--pose-background:#302334;--pose-border:#795766;--pose-text:#fbe8e3;--pose-highlight:#593848}#horror-poses .pose-toggle{background:#211720e8;border:1px solid #8e4a4b60;border-radius:11px;color:#faddd8;font-size:13px;font-weight:750}#horror-poses .pose-panel{top:calc(100% + 7px);bottom:auto}@media(pointer:coarse),(max-width:690px){#horror-poses .pose-toggle{min-height:30px;min-width:53px;font-size:11px}}@media(pointer:coarse),(max-width:690px),(max-height:550px){.start-menu{inset:max(60px,calc(env(safe-area-inset-top) + 54px)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));transform:none;width:auto;max-width:430px;overflow:auto;overscroll-behavior:contain;scroll-padding-block:10px;padding:clamp(12px,4svh,32px) 6px 16px;background:linear-gradient(90deg,#1c1020de,#1c102099 62%,#1c102022)}#mode-title{font-size:clamp(44px,11vw,66px);line-height:.94;margin:12px 0}.start-menu>p{font-size:14px;margin:0 0 14px}.mode-actions button{min-height:50px;padding:9px 13px}.online-lobby button,.online-lobby input{min-height:44px}.online-lobby form div,#room-invite{grid-template-columns:minmax(0,1fr) auto}.tea-intro{max-height:calc(100dvh - 84px);overflow:auto;overscroll-behavior:contain}}@media(max-height:560px){.start-menu{display:flex;flex-direction:column}.start-menu>*{flex-shrink:0}.start-menu>p{order:1;margin:14px 0 0}}@media(max-height:440px){#mode-title{font-size:clamp(31px,7.5vw,45px)}#mode-title br{display:none}.start-menu{padding-top:10px}}
