/* After hours — oxidized brass, cold stone and a single unlit passenger. */
.horror-launch-card{margin:18px 0 24px;padding:16px 14px;border:1px solid #c1a87577;border-radius:5px;background:radial-gradient(ellipse at 100% 0,#6f74522e,transparent 70%),#081711;box-shadow:inset 0 1px #e7cb9822}
.horror-launch-card>div{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#b9ae87}
.horror-launch-card>div>span{font:7px/1.5 monospace;letter-spacing:.06em}
.horror-launch-card>div>b{font:18px/1.3 Georgia,serif;color:#d8c79e;font-weight:400}
.horror-launch-card h4{font:25px/1.2 Georgia,serif;color:#e5d9b8;font-weight:400;margin:12px 0 6px}
.lift-settings .horror-launch-card p{font:11px/1.6 Georgia,serif;color:#b7c1a9;margin:0 0 15px}
.lift-settings .horror-launch-card button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:46px;padding:11px 12px;border:1px solid #c9b68288;border-radius:3px;background:#a2945d2e;color:#f0e3be;font:11px/1.4 Arial,sans-serif;text-align:left}
.lift-settings .horror-launch-card button:hover:not(:disabled){background:#b2a46645;border-color:#e4ca90}
.horror-launch-card button>b{font:17px Georgia,serif;font-weight:400}
.horror-launch-card>small{display:block;font:9px/1.65 Arial,sans-serif;color:#9bad93;margin-top:10px}
.horror-room{display:none;position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:none;background:#0e1514}
.lift-manual[data-horror-room=lobby] .horror-room,.lift-manual[data-horror-room=corridor] .horror-room,.lift-manual[data-horror-room=threshold] .horror-room{display:block}
.horror-empty-lobby{display:none;position:absolute;inset:0;background:linear-gradient(#061110a8,#10211db3),url('/assets/zlota44-elevator-lobby-corridor.webp') center/cover;filter:saturate(.45)}
.lift-manual[data-horror-room=lobby] .horror-empty-lobby{display:block}
.horror-lobby-clock{position:absolute;top:19%;left:27%;right:27%;text-align:center;padding:14px 7px;background:#081310e8;border:1px solid #8c81664a;box-shadow:0 4px 24px #0008;color:#b8c3ad}
.horror-lobby-clock small,.horror-lobby-clock span{display:block;font:6px/1.5 monospace;letter-spacing:.18em}
.horror-lobby-clock b{display:block;font:clamp(22px,3vw,41px)/1.7 monospace;letter-spacing:.08em;font-weight:400;text-shadow:0 0 18px #b9c39030}
.horror-lobby-clock span{color:#8c9781;font-size:5px}
.horror-corridor{position:absolute;inset:0;background:repeating-linear-gradient(90deg,#202c29 0 11%,#121e1b 11.4%,#303a30 11.8%,#25312a 12% 22%);box-shadow:inset 0 0 60px #000b}
.lift-manual[data-horror-room=lobby] .horror-corridor{display:none}
.horror-corridor-floor{position:absolute;inset:69% 0 0;background:repeating-linear-gradient(0deg,transparent 0 17%,#746e582e 18% 18.5%,transparent 19% 33%),repeating-linear-gradient(90deg,#151e1b 0 23%,#54655240 24% 24.5%,#1a2520 25% 49%);clip-path:polygon(38% 0,62% 0,100% 100%,0 100%)}
.horror-corridor-ceiling{position:absolute;inset:0 0 73%;background:repeating-linear-gradient(0deg,#0c1312 0 32%,#98a78522 33%,#0d1713 34% 66%);clip-path:polygon(0 0,100% 0,63% 100%,37% 100%)}
.horror-frame{position:absolute;inset:9% 13% 12%;border:2px solid #7d80504d;box-shadow:0 0 0 6px #09120dd1,0 0 0 7px #85816b39,inset 0 0 0 1px #d2b98926}
.horror-frame::before{content:'';position:absolute;left:35%;right:35%;top:-3px;height:2px;background:#d6dec1;box-shadow:0 0 17px 4px #b9d0a927}
.horror-frame-two{inset:20% 28% 23%;border-width:1px;opacity:.85}
.horror-end-door{position:absolute;left:38%;right:38%;top:28%;bottom:30%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#b6bb9b;background:linear-gradient(90deg,#263027,#45513c,#19271f);border:3px solid #06100b;box-shadow:0 0 0 1px #8f8a6544,inset 0 0 30px #0007}
.horror-end-door small{font:5px monospace;letter-spacing:.2em}
.horror-end-door b{font:clamp(20px,3vw,38px) Georgia,serif;font-weight:400}
.horror-end-door i{position:absolute;width:2px;height:11%;right:11%;top:55%;background:#847353}
.horror-chair{position:absolute;left:calc(41% - var(--horror-chair-x,0%));bottom:12%;width:19%;height:37%;transform:scale(var(--horror-chair-scale,.47));transform-origin:50% 100%;border-top:4px solid #675a43;background:linear-gradient(90deg,transparent 7%,#3a3325 8% 18%,transparent 19% 81%,#3a3325 82% 92%,transparent 93%);filter:drop-shadow(0 12px 9px #000)}
.horror-chair>i{position:absolute;inset:3% 3% 46%;border:3px solid #7b6847;background:linear-gradient(90deg,#1e2521,#4e5036,#151f1a)}
.horror-chair>b{position:absolute;inset:52% -4% 36%;background:linear-gradient(#685c3c,#262e21);border:2px solid #746447;transform:skewX(-7deg)}
.lift-manual[data-horror-loop="2"]{--horror-chair-scale:.74;--horror-chair-x:14%}
.lift-manual[data-horror-loop="3"]{--horror-chair-scale:1.15;--horror-chair-x:9%}
.lift-manual[data-horror-room=threshold] .horror-chair{display:none}
.horror-figure{display:block;position:absolute;pointer-events:none;width:21%;height:75%;filter:drop-shadow(0 7px 5px #0009);transform-origin:50% 100%}
.horror-figure>svg{display:block;width:100%!important;height:100%!important;max-width:none;overflow:visible}
.horror-hall-figure{left:41%;bottom:14%;transform:scale(.39);opacity:0;transition:opacity 1.6s}
.lift-manual[data-horror-figure=seated] .horror-hall-figure{opacity:1;left:41%;bottom:20%;transform:scale(.34,.3)}
.lift-manual[data-horror-figure=standing] .horror-hall-figure{opacity:1;left:52%;bottom:14%;transform:scale(.68)}
.lift-manual[data-horror-figure=near] .horror-hall-figure{opacity:1;left:34%;bottom:-7%;width:33%;height:105%;transform:scale(1.12)}
.horror-room-vignette{position:absolute;inset:0;z-index:5;background:radial-gradient(ellipse at 50% 45%,transparent 8%,#040b0766 85%);box-shadow:inset 0 0 45px #000a}
.horror-reflected-figure{left:38%;bottom:1%;width:38%;height:77%;z-index:3;opacity:0;transform:scale(var(--horror-nearness,.4));transition:opacity 1.2s,transform 2.8s}
.lift-manual[data-horror-mirror=true] .horror-reflected-figure{opacity:1}
.lift-manual[data-horror-mirror=true] .lift-mirror-reflection{opacity:.72}
.lift-manual[data-horror-mirror=true] .lift-mirror-reflection>i{transform:translateX(calc(var(--lift-open)*-70%));transition:transform 1.2s}
.lift-manual[data-horror-mirror=true] .lift-mirror-reflection>i+i{transform:translateX(calc(var(--lift-open)*70%))}
.lift-manual[data-horror-room=lobby] .lift-floor-plaque,.lift-manual[data-horror-room=corridor] .lift-floor-plaque,.lift-manual[data-horror-room=threshold] .lift-floor-plaque{display:none}
.horror-camera-figure{left:24%;top:-6%;width:21%;height:78%;opacity:0;transform:rotate(6deg)}
.lift-manual[data-horror]:not([data-horror=""]) .lift-cctv[data-occupants="2"] .horror-camera-figure{opacity:.92}
.lift-manual[data-horror]:not([data-horror=""]) .lift-cctv-guest{display:none}
.lift-manual[data-horror-future=true] .lift-cctv-doors>i{transform:translateX(-100%)}
.lift-manual[data-horror-future=true] .lift-cctv-doors>i+i{transform:translateX(100%)}
.lift-manual[data-horror-future=true] .horror-camera-figure{animation:horror-enter-camera 5s linear both}
@keyframes horror-enter-camera{from{translate:0 -13px;opacity:.2}to{translate:0 13px;opacity:1}}
.horror-hatch{display:none;position:absolute;left:43%;top:47%;width:14%;height:38%;background:linear-gradient(120deg,#29352e,#17221d);border:2px solid #798071;box-shadow:inset 0 0 0 3px #121d14,0 0 0 2px #0a120d}
.lift-manual[data-horror]:not([data-horror=""]) .horror-hatch{display:block}
.horror-hatch>i{position:absolute;width:25%;height:8%;left:38%;top:51%;background:#a8a084;box-shadow:0 2px 2px #000;transform:rotate(var(--horror-hatch,0deg))}
.horror-hatch>b{position:absolute;inset:0;box-shadow:inset 0 0 10px #0008}
.horror-handprint{position:absolute;display:none!important;right:15%;top:37%;width:42%!important;height:36%!important;color:#101a139e;filter:blur(.3px);transform:rotate(12deg);pointer-events:none}
.lift-manual[data-horror-mark=true] .horror-handprint{display:block!important}
.lift-manual[data-horror=failure] .lift-cabin{filter:brightness(calc(var(--lift-light)*.45)) saturate(.45) sepia(.3)}
.lift-manual[data-horror=failure] .lift-cabin-top::after{background:#d69b54;box-shadow:0 0 24px #d5a15877}
.lift-manual[data-horror=failure] .lift-panel-display{background:#241c0e;border-color:#bca47777;color:#dfbb82}
.lift-manual[data-horror=failure] .lift-ceiling>i{opacity:.25;box-shadow:none}
.lift-manual[data-horror=forbidden] .lift-cabin-glow,.lift-manual[data-horror=corridor] .lift-cabin-glow{background:radial-gradient(ellipse at 20% 0,#bfc88e14,transparent 70%)}
.lift-manual[data-horror-changed=true] [data-lift-floor="0"]>span{font-size:0}
.lift-manual[data-horror-changed=true] [data-lift-floor="0"]>span::after{content:'−44';font:13px monospace;color:#edcaa0}
.horror-ui{position:absolute;inset:0;z-index:46;pointer-events:none;color:#d7dbc9}
.horror-status{position:absolute;left:32px;right:32px;top:91px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.horror-status>span{display:flex;align-items:center;gap:8px;font:8px/1.6 monospace;letter-spacing:.14em;color:#a9b49e}
.horror-status i{width:4px;height:4px;background:#bda273;border-radius:50%;box-shadow:0 0 10px #bda27355}
.horror-status button{pointer-events:auto;background:#07100ec9;border:1px solid #a4ac893b;border-radius:20px;padding:7px 11px;font-size:10px;color:#c8cbb6;min-height:34px}
.horror-status button:hover{border-color:#c0b080aa;color:#ece6d4}
.horror-caption{position:absolute;top:138px;left:32px;width:min(315px,27vw);padding:14px 17px;border-left:1px solid #ae976b7d;background:linear-gradient(90deg,#07100eee,#07100ea6);box-shadow:0 10px 30px #0003;backdrop-filter:blur(10px)}
.horror-caption small{font:8px/1.5 monospace;letter-spacing:.12em;color:#b4a880}
.horror-caption p{font:13px/1.8 Georgia,serif;color:#d3d8c8;margin:7px 0 0}
.horror-context{position:absolute;left:calc(var(--lift-door-left) + 1%);right:calc(var(--lift-door-right) + 1%);bottom:23%;padding:15px;background:#09140fed;backdrop-filter:blur(14px);border:1px solid #a695665a;box-shadow:0 8px 30px #0009;pointer-events:auto;border-radius:4px}
.horror-context>small{display:block;font:12px/1.6 Georgia,serif;color:#c4cbb6;margin-bottom:10px}
.horror-context>div{display:flex;gap:8px;flex-wrap:wrap}
.horror-context button{flex:1;min-height:43px;padding:9px 12px;font:11px/1.45 Arial,sans-serif;color:#e5dcc2;background:#69614029;border:1px solid #b4a4766b;border-radius:3px}
.horror-context button:hover{background:#80754b4d;border-color:#d0bb80}
.horror-context .horror-knock{display:block;width:100%;margin-top:8px;min-height:34px;background:transparent;border:0;color:#acb69e;font-size:10px}
.horror-context button:disabled{opacity:.5;cursor:default}
.horror-service,.horror-ending{position:absolute;left:50%;top:50%;translate:-50% -50%;width:min(430px,calc(100% - 36px));max-height:calc(100dvh - 200px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;pointer-events:auto;padding:26px;border:1px solid #998c695e;border-radius:5px;background:linear-gradient(145deg,#253025,#0b1711 75%);box-shadow:0 0 0 100vmax #030806ae,0 22px 75px #000d}
.horror-service header{display:flex;align-items:center;justify-content:space-between;gap:12px;font:8px monospace;letter-spacing:.09em;color:#aaab88}
.horror-service header button{min-width:38px;min-height:38px;border:1px solid #99967350;background:#07110b;border-radius:50%;color:#ddd2b2;font-size:22px}
.horror-service h3,.horror-ending h3{font:32px/1.15 Georgia,serif;font-weight:400;color:#e3d4b0;margin:22px 0 12px}
.horror-service p{font-size:12px;line-height:1.8;color:#bdc4af}
.horror-service ol{list-style:none;padding:0;display:grid;gap:12px;margin:23px 0}
.horror-service li{display:flex;align-items:center;gap:11px;font-size:12px;opacity:.45}
.horror-service li>b{font:11px monospace;padding:7px;border:1px solid #a69c6e55;border-radius:50%;font-weight:400}
.horror-service li[data-status=current],.horror-service li[data-status=done]{opacity:1}
.horror-service li[data-status=done]>b{color:#c3d4a7;border-color:#9caf7566;background:#70854922}
.horror-service>button,.horror-ending>button{display:block;width:100%;min-height:46px;margin-top:10px;padding:11px 14px;background:#64634130;border:1px solid #b2a37366;border-radius:3px;color:#e1d6b6;font:11px Arial,sans-serif}
.horror-service>button:disabled{opacity:.38;cursor:default}
.horror-reset{position:relative;overflow:hidden;user-select:none;-webkit-user-select:none;touch-action:none}
.horror-reset>span{position:relative;z-index:1;font:10px monospace;letter-spacing:.1em}
.horror-reset>i{position:absolute;inset:0;background:#b2b46b49;transform:scaleX(var(--horror-reset,0));transform-origin:left}
.horror-power>i{display:inline-block;vertical-align:middle;margin-right:10px;width:32px;height:17px;background:#061009;border:1px solid #939571;border-radius:10px;position:relative}
.horror-power>i::after{content:'';position:absolute;left:2px;top:2px;width:11px;height:11px;background:#8b8e6c;border-radius:50%;transition:translate .2s}
.horror-power[data-reserve=true]>i::after{translate:15px 0;background:#d7c289}
.horror-service>small{display:block;color:#93a18b;font-size:10px;line-height:1.6}
.horror-ending{text-align:center;padding:32px 36px;background:radial-gradient(ellipse at 50% 0,#344032,#101a13 75%)}
.horror-ending>small{font:8px monospace;letter-spacing:.2em;color:#ada580}
.horror-ending-time{font:clamp(56px,7vw,80px)/1.2 Georgia,serif;letter-spacing:-.06em;color:#d6c49b;margin-top:23px;font-variant-numeric:tabular-nums}
.horror-ending-time>span{color:#82917a}
.horror-ending h3{font-size:30px;margin:10px 0 13px}
.horror-ending p{font:13px/1.8 Georgia,serif;color:#b8c2ad}
.horror-ending-count{margin:23px 0;padding:17px 0;border-block:1px solid #aaa06d3b;display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;gap:2px 16px}
.horror-ending-count>span{font:8px monospace;letter-spacing:.13em;color:#b4b898}
.horror-ending-count>b{font:28px monospace;grid-row:span 2;color:#d8d1ad;font-weight:400}
.horror-ending-count>small{font:7px monospace;letter-spacing:.2em;color:#839278}
.horror-ending .horror-ending-note{font:11px/1.6 Arial,sans-serif;margin-bottom:20px;color:#95a28c}
.horror-ending>button+button{background:transparent;border-color:#9b98713d;color:#aeb99e}
.lift-manual.has-horror-service .lift-panel,.lift-manual.has-horror-service .lift-objects{pointer-events:none}
.lift-manual.has-horror-service .lift-location,.lift-manual.has-horror-service .lift-observer{visibility:hidden}
.lift-manual[data-horror=complete] .lift-observer,.lift-manual[data-horror=complete] .lift-location,.lift-manual[data-horror=complete] .lift-objects{visibility:hidden}
.lift-manual[data-horror=failure] .horror-context{border-color:#bd995c88}
.lift-manual[data-horror]:not([data-horror=""]) .lift-cctv-caption{font-size:7px;flex-wrap:wrap}
@media(max-width:1100px){.horror-caption{left:22px;width:240px;top:135px}.horror-context{padding:12px}.horror-context>div{display:grid;grid-template-columns:1fr}.horror-context button{font-size:10px;min-height:39px;padding:8px}}
@media(max-width:760px){
  .horror-status{left:17px;right:17px;top:70px;gap:7px}.horror-status>span{font-size:6px;letter-spacing:.07em}.horror-status button{font-size:9px;padding:7px 9px;min-height:32px}
  .horror-caption{left:18px;right:18px;width:auto;top:111px;padding:9px 12px;border-left-width:2px;background:#06100ee8}.horror-caption small{font-size:7px}.horror-caption p{font:12px/1.55 Georgia,serif;margin-top:4px}
  .horror-context{left:12%;right:17%;bottom:27%;padding:11px}.horror-context>small{font-size:11px;line-height:1.45;margin-bottom:8px}.horror-context>div{gap:7px;grid-template-columns:1fr}.horror-context button{min-height:42px;font-size:11px}.horror-context .horror-knock{min-height:32px;margin-top:3px}
  .horror-service,.horror-ending{max-height:calc(100dvh - 220px);padding:19px 21px;top:54%;width:calc(100% - 36px)}
  .horror-service h3{font-size:28px;margin-top:16px}.horror-service ol{gap:9px;margin:17px 0}.horror-service li{font-size:11px}.horror-service p{font-size:11px;line-height:1.6}.horror-service>button{min-height:45px}.horror-service>small{font-size:9px}
  .horror-ending{padding:22px 24px}.horror-ending-time{font-size:62px;margin-top:16px}.horror-ending h3{font-size:27px}.horror-ending-count{margin:17px 0;padding:13px 0}
  .horror-lobby-clock{left:22%;right:22%;top:21%;padding:11px 5px}.horror-lobby-clock b{font-size:28px}.horror-corridor .horror-end-door b{font-size:26px}
  .lift-manual.is-panel-open .horror-caption{display:none}
}
@media(max-height:600px){
  .horror-status{top:59px}.horror-caption{top:98px;left:18px;width:26%;right:auto;padding:9px 11px}.horror-caption p{font-size:11px}.horror-context{bottom:24%;padding:9px}.horror-context>small{font-size:10px}.horror-context>div{display:flex}.horror-context button{min-height:36px;font-size:10px;padding:7px}.horror-service,.horror-ending{max-height:calc(100dvh - 115px);top:55%;padding:17px 22px}.horror-ending-time{font-size:43px;margin-top:9px}.horror-ending h3{font-size:24px;margin:5px 0}.horror-ending-count{margin:12px 0;padding:10px 0}.horror-service h3{font-size:26px;margin:12px 0}.horror-service ol{margin:12px 0;gap:8px}
}
@media(prefers-reduced-motion:reduce){.horror-room *,.horror-ui *,.horror-figure,.horror-hatch *{animation:none!important;transition:none!important}.horror-hatch>i{transform:none}.horror-camera-figure{translate:none!important}}
.lift-still .horror-room *,.lift-still .horror-ui *,.lift-still .horror-figure,.lift-still .horror-hatch *{animation:none!important;transition:none!important}
.lift-paused .horror-room *,.lift-paused .horror-ui *,.lift-paused .horror-figure{animation-play-state:paused!important}
