/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.overline{text-decoration-line:overline}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#0c0d0b;--panel:#171815;--panel-2:#20211d;--paper:#eee6d7;--muted:#9d968c;--line:#eee6d729;--red:#d94b3d;--gold:#bd9656}.game-language-switch{z-index:45;color:#d6b562;background:#080807e6;border:1px solid #cda95bb3;place-items:center;min-width:38px;min-height:38px;font:800 10px/1 monospace;text-decoration:none;display:grid;position:fixed;top:12px;right:176px;box-shadow:0 8px 26px #00000047}.game-language-switch:hover{color:#fff4d4;border-color:#f0d38b}@media (width<=640px){.game-language-switch{min-width:34px;min-height:34px;top:10px;right:116px}}*{box-sizing:border-box}html{background:var(--ink);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{min-height:100vh;color:var(--paper);background:var(--ink);word-break:keep-all;margin:0;font-family:Pretendard,Noto Sans KR,Apple SD Gothic Neo,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.loading-screen{min-height:100svh;color:var(--red);letter-spacing:.12em;place-items:center;font:900 28px Georgia,serif;display:grid}.eyebrow,.chapter,.modal-label{color:var(--gold);letter-spacing:.17em;text-transform:uppercase;font:800 10px monospace}.modal-label.penalty-label{color:#ff4b3e;text-shadow:0 0 8px #ff4b3ebf,0 0 20px #d94b3d6b;font-size:13px}.primary{color:#fff;background:var(--red);border:0;justify-content:space-between;align-items:center;gap:30px;min-height:54px;padding:15px 20px;font-weight:900;display:flex;box-shadow:8px 8px #d94b3d2b}.primary:disabled{opacity:.35;cursor:not-allowed}.setup-screen{background:#0b0c0a url(/room-404.webp) 50%/cover no-repeat;place-items:center;min-height:100svh;padding:34px 18px;display:grid;position:relative;overflow:hidden}.setup-screen:before{content:"";background:linear-gradient(90deg,#070807eb,#070807b8),radial-gradient(circle at 75% 18%,#d94b3d33,#0000 35%);position:absolute;inset:0}.setup-fog{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);position:absolute;inset:0}.setup-card{z-index:1;background:#0f100eeb;border:1px solid #49453d;width:min(520px,100%);padding:clamp(24px,5vw,44px);position:relative;box-shadow:0 40px 120px #0009}.setup-card h1{letter-spacing:-.065em;margin:10px 0 8px;font-size:clamp(38px,8vw,59px)}.setup-lead{color:var(--muted);margin:0 0 22px;font-size:13px}.avatar-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.avatar{aspect-ratio:.79;background-image:linear-gradient(#0000 50%,#080807b8),url(/characters-v1.webp);background-repeat:no-repeat;background-size:200% 100%;border:1px solid #5a544a;min-width:0;position:relative;overflow:hidden}.avatar-0{background-position:0}.avatar-1{background-position:100%}.avatar:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 45px #00000052}.avatar span{z-index:2;color:#fff;background:var(--red);opacity:0;border-radius:50%;place-items:center;width:30px;height:30px;transition:all .18s;display:grid;position:absolute;top:10px;right:10px;transform:scale(.7)}.avatar.chosen{border:2px solid var(--red);box-shadow:0 0 0 4px #d94b3d24}.avatar.chosen span{opacity:1;transform:scale(1)}.name-field{gap:8px;margin-top:21px;display:grid}.name-field span{color:var(--gold);font-size:11px;font-weight:800}.name-field input{width:100%;height:52px;color:var(--paper);background:#10110f;border:1px solid #504a41;padding:0 15px}.name-field input::placeholder{color:#5f5a53}.form-error{color:#ee8176;min-height:20px;margin:7px 0;font-size:10px}.setup-card .primary{width:100%}.setup-card>small{color:#6f6961;text-align:center;margin-top:16px;font-size:9px;display:block}.test-stage-menu{border-top:1px solid #bf9b6059;margin-top:22px;padding-top:17px}.test-stage-menu>p{justify-content:space-between;align-items:center;margin:0 0 10px;display:flex}.test-stage-menu>p b{color:var(--gold);letter-spacing:.14em;font:900 10px monospace}.test-stage-menu>p span{color:#837b70;font-size:9px}.test-stage-menu>div{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.test-stage-menu button{color:#e8dfcf;background:#1b1b18;border:1px solid #554d42;place-items:center;gap:3px;min-height:54px;font:900 10px monospace;display:grid}.test-stage-menu button small{color:#8e8578;font:700 9px sans-serif}.ad-slot{background:#0b0c0ab8;border:1px solid #eee6d721;place-items:center;width:100%;min-height:118px;display:grid;overflow:hidden}.ad-slot.compact{min-height:94px}.ad-placeholder{color:#5f5a52;justify-items:center;gap:8px;display:grid}.ad-placeholder span{letter-spacing:.16em;font:700 8px monospace}.ad-placeholder b{color:#777066;font-size:11px}.setup-card .ad-slot{margin-top:34px}.phone-scene{background:radial-gradient(circle at 80% 10%,#15202a,#0000 30%),radial-gradient(circle at 12% 45%,#9b1d1938,#0000 28%),#070807;place-items:center;min-height:100svh;padding:65px 20px 110px;display:grid;position:relative}.chapter{position:absolute;top:30px;left:max(22px,6vw)}.buzz{z-index:2;color:#d6cbbb;white-space:nowrap;font:700 clamp(34px,8vw,58px) Georgia,serif;position:absolute;top:24%;left:50%;transform:translate(-50%)rotate(-2deg)}.phone{aspect-ratio:.53;color:#e7e9eb;background:linear-gradient(160deg,#101820,#020304 72%);border:8px solid #292b2c;border-radius:44px;width:min(300px,72vw);animation:.14s ease-in-out infinite alternate phoneBuzz;position:relative;box-shadow:0 0 0 2px #050505,0 30px 80px #000000b3}@keyframes phoneBuzz{0%{transform:translate(-3px)rotate(-.5deg)}to{transform:translate(3px)rotate(.5deg)}}.phone-time{font:300 45px Arial,sans-serif;position:absolute;top:18%;left:0;right:0}.notification{text-align:left;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#6f777e57;border:1px solid #ffffff21;border-radius:13px;gap:5px;padding:16px;display:grid;position:absolute;top:38%;left:8%;right:8%}.notification b{font-size:14px}.notification small{color:#d7d9db}.story-button{justify-content:center;width:min(440px,100% - 36px);position:absolute;bottom:34px;left:50%;transform:translate(-50%)}.story-screen{background:radial-gradient(circle at 80% 12%,#d94b3d2e,#0000 27%),linear-gradient(145deg,#0a0b09,#171813);align-items:center;min-height:100svh;padding:45px max(20px,8vw);display:grid;position:relative}.story-screen section{z-index:2;width:min(700px,100%);position:relative}.story-screen h1{letter-spacing:-.065em;max-width:690px;margin:17px 0 24px;font-size:clamp(40px,7vw,76px);line-height:1.05}.story-body{color:#c0b8ad;white-space:pre-line;font-size:clamp(15px,2vw,18px);line-height:1.8}.story-screen blockquote{border-left:2px solid var(--red);color:#aaa297;white-space:pre-line;background:#141511;margin:35px 0;padding:18px 22px;font-size:13px;line-height:1.75}.story-screen .primary{width:min(390px,100%)}.story-screen.with-visual{align-items:end;padding-bottom:max(34px,7vh);overflow:hidden}.story-screen.with-visual:after{content:"";background:linear-gradient(0deg,#070807fa 0,#070807cc 43%,#07080714 82%);position:absolute;inset:0}.story-image{filter:brightness(.82)saturate(.8);background-image:url(/story-scenes-v1.webp);background-repeat:no-repeat;background-size:300% 100%;position:absolute;inset:0}.visual-sleep .story-image{background-position:0}.visual-call .story-image{filter:brightness(.48)saturate(.55);background-position:50%}.visual-officer .story-image{background-position:100%}.visual-motelNote .story-image{background-image:url(/motel-entrance-v1.webp);background-position:50% 42%;background-size:cover}.visual-room1Aftermath .story-image{filter:brightness(.68)saturate(.72);background-image:url(/room-searched-v1.webp);background-position:50% 44%;background-size:cover}.visual-room2Aftermath .story-image{filter:brightness(.62)saturate(.68);background-image:url(/room-02-control-v3.webp);background-position:50% 44%;background-size:cover}.visual-room3Aftermath .story-image{filter:brightness(.58)saturate(.58);background-image:url(/room-03-corridor-v1.webp);background-position:50% 48%;background-size:cover}.visual-stage4Aftermath .story-image{filter:brightness(.6)saturate(.62);background-image:url(/room-04-elevator-v1.webp);background-position:50% 46%;background-size:cover}.visual-stage5Aftermath .story-image{filter:brightness(.52)saturate(.55);background-image:url(/room-05-lobby-v1.webp);background-position:50% 48%;background-size:cover}.story-screen.with-visual section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0d0bc2;border:1px solid #eee6d726;width:min(620px,100%);padding:25px}.story-screen.with-visual h1{font-size:clamp(34px,6vw,60px)}.story-actions{gap:11px;width:min(390px,100%);display:grid}.story-screen .story-actions .primary{width:100%}.entrance-scene{background:#090a08;align-items:end;min-height:100svh;display:grid;position:relative;overflow:hidden}.motel-corridor{background-image:url(/motel-reveal-v1.webp);background-position:0;background-repeat:no-repeat;background-size:200% 100%;transition:filter .55s;position:absolute;inset:0}.entrance-scene.opened .motel-corridor{background-position:100%;animation:1.1s revealFlash}@keyframes revealFlash{0%{filter:brightness(2.1)blur(4px);transform:scale(1.025)}to{filter:brightness();transform:scale(1)}}.wall-door{background:linear-gradient(90deg,#0000 49.7%,#000c 50%,#0000 50.3%),repeating-linear-gradient(0deg,#24231e 0 4px,#211f1b 4px 62px);place-items:center;transition:transform 1.1s,filter 1s;display:grid;position:absolute;inset:0}.wall-door:before,.wall-door:after{content:"";background:#0909081f;width:50%;transition:transform 1.2s;position:absolute;top:0;bottom:0}.wall-door:before{border-right:1px solid #090908;left:0}.wall-door:after{border-left:1px solid #090908;right:0}.entrance-scene.opened .wall-door:before{transform:translate(-72%)}.entrance-scene.opened .wall-door:after{transform:translate(72%)}.wall-door span{z-index:1;color:#eee6d70a;font:900 clamp(150px,35vw,420px) Georgia,serif;position:relative}.entrance-scene.opened .wall-door span{color:#d94b3d2e}.entrance-copy{z-index:3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0d0e0ce8;border:1px solid #48443b;width:min(680px,100% - 36px);margin:0 auto 30px;padding:clamp(24px,5vw,42px);position:relative}.entrance-copy h1{letter-spacing:-.055em;margin:13px 0 16px;font-size:clamp(30px,6vw,50px)}.entrance-copy>p:not(.eyebrow):not(.sound){color:var(--muted);font-size:13px;line-height:1.7}.direction-memory{gap:8px;margin:22px 0;display:flex}.direction-memory i{width:43px;height:43px;color:var(--gold);background:#181914;border:1px solid #5b554b;place-items:center;font-style:normal;font-weight:900;display:grid}.sound{color:var(--red);font:700 24px Georgia,serif}.confirm-screen{background:radial-gradient(circle at 50% 30%,#d94b3d21,#0000 30%),#090a08;place-items:center;min-height:100svh;padding:24px;display:grid}.confirm-stack{gap:34px;width:min(580px,100%);display:grid}.confirm-screen section{text-align:center;background:#151612;border:1px solid #504b42;width:min(580px,100%);padding:clamp(28px,6vw,58px)}.door-number{color:#d94b3d26;margin:18px 0 -10px;font:900 clamp(120px,32vw,220px)/.8 Georgia,serif;display:block}.confirm-screen h1{font-size:clamp(36px,7vw,57px)}.confirm-screen section>p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.75}.confirm-actions{grid-template-columns:1fr 1.25fr;gap:8px;margin-top:28px;display:grid}.confirm-actions>button:not(.primary){color:var(--paper);background:0 0;border:1px solid #4d4941}.confirm-actions .primary{justify-content:center}.game-screen{background:#0d0e0c;flex-direction:column;min-height:100svh;display:flex}.game-header{z-index:20;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0d0e0cf2;justify-content:space-between;align-items:center;min-height:62px;padding:0 18px;display:flex;position:sticky;top:0}.mini-logo{font-weight:900}.mini-logo b{color:var(--red)}.game-meta{color:var(--gold);align-items:center;gap:11px;font:800 10px monospace;display:flex}.game-meta button{border:1px solid var(--gold);height:34px;color:var(--ink);background:var(--gold);padding:0 13px;font:900 10px monospace}.game-layout{flex:1;grid-template-columns:minmax(330px,700px) minmax(280px,360px);justify-content:center;gap:26px;padding:24px;display:grid}.room-scene{aspect-ratio:2/3;background:#222;border:1px solid #48443d;align-self:start;width:100%;position:relative;overflow:hidden}.room-scene>img{object-fit:cover;filter:brightness(.82)saturate(.8);width:100%;height:100%;transition:filter .3s;display:block}.room-base{z-index:0;position:relative}.room-layer{z-index:1;pointer-events:none;position:absolute;inset:0}.bed-layer{clip-path:polygon(0 45%,50% 45%,50% 100%,0 100%)}.room-tint{z-index:2;pointer-events:none;background:linear-gradient(#0000 62%,#05050473);position:absolute;inset:0}.ceiling-code{z-index:4;color:#ff4438;letter-spacing:.18em;text-shadow:0 0 7px #c9231b,0 0 20px #d94b3de6;pointer-events:none;padding:5px 10px;font:900 clamp(24px,5vw,48px)/1 monospace;animation:1.8s infinite alternate codeFlicker;position:absolute;top:5%;left:40%;transform:translate(-50%)rotate(-2deg)}@keyframes codeFlicker{45%{opacity:.82}50%{opacity:.48}56%{opacity:1}}.bed-searched .room-scene>img{filter:brightness(.78)saturate(.72)contrast(1.08)}.hotspot{z-index:5;background:0 0;border:0;border-radius:16px;position:absolute}.hotspot span{opacity:0;background:var(--red);width:18px;height:18px;box-shadow:0 0 0 8px #d94b3d33,0 0 25px var(--red);border:2px solid #fff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.hotspot.revealed span{opacity:1;animation:1.1s infinite pulse}@keyframes pulse{50%{opacity:.5}}.hotspot.bed{width:26%;height:20%;top:54%;left:4%}.hotspot.window{width:15%;height:25%;top:19%;left:17%}.hotspot.clock{border-radius:50%;width:9%;height:9%;top:22%;left:44%}.hotspot.lamp{width:10%;height:7%;top:42%;left:35.5%}.hotspot.drawer{width:10%;height:7%;top:51%;left:35.5%}.hotspot.mirror{width:12%;height:18%;top:29%;left:63%}.hotspot.desk{width:23%;height:6%;top:52%;left:58%}.hotspot.case{width:22%;height:10%;top:75%;left:71%}.hotspot.door{width:5.5%;height:10%;top:42%;right:1.5%}.window-mark{z-index:4;color:var(--red);text-shadow:0 0 14px #d94b3dbf;pointer-events:none;font:900 28px Georgia,serif;position:absolute;top:31%;left:20%;transform:translate(-50%,-50%)rotate(-14deg)}.mirror-number{z-index:4;color:#d94b3dd1;letter-spacing:.04em;text-shadow:0 0 12px #d94b3d99;pointer-events:none;font:900 18px/1 Arial Narrow,Arial,sans-serif;position:absolute;top:34%;left:66%;transform:rotate(-2deg)}.clock-set{z-index:4;color:var(--red);pointer-events:none;font:900 10px monospace;position:absolute;top:22%;left:43%}.scene-note{z-index:6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#080807d4;border:1px solid #ffffff21;justify-content:space-between;gap:12px;padding:11px;display:flex;position:absolute;bottom:10px;left:10px;right:10px}.scene-note span{color:var(--red);font:800 9px monospace}.scene-note p{color:#bbb3a8;text-align:right;margin:0;font-size:10px}.room-brief{border:1px solid var(--line);background:var(--panel);align-self:center;padding:30px}.room-brief h2{letter-spacing:-.045em;font-size:31px;line-height:1.25}.room-brief>p:not(.eyebrow){color:var(--muted);font-size:12px;line-height:1.7}.rule{border-left:2px solid var(--red);background:#0f100d;margin-top:28px;padding:16px}.rule span{color:#706a62;margin-bottom:7px;font-size:9px;display:block}.rule b{color:var(--red)}.inventory{z-index:20;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f100ef7;grid-template-columns:155px minmax(0,1fr) 82px;gap:16px;min-height:88px;padding:9px 18px;display:grid;position:sticky;bottom:0}.inventory>div{align-self:center;gap:4px;display:grid}.inventory>div span{color:var(--gold);letter-spacing:.15em;font:800 9px monospace}.inventory>div small{color:#716b63;font-size:8px}.inventory nav{scrollbar-width:none;align-items:center;gap:8px;display:flex;overflow-x:auto}.inventory nav button{height:68px;color:var(--paper);background:#20211d;border:1px solid #48443c;flex:0 0 78px;align-content:center;place-items:center;gap:3px;display:grid}.inventory nav button.selected{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold);background:#332b20}.inventory nav button i{color:var(--gold);font:900 23px Georgia,serif}.inventory nav button span{white-space:nowrap;font-size:8px}.inventory nav p{color:#666159;font-size:9px}.inventory nav button .inventory-note-mini{color:#171511;background:repeating-linear-gradient(0deg,#d9d0bd 0 7px,#c8bca4 8px);border:1px solid #8d806a;width:52px;height:24px;position:relative;overflow:hidden;transform:rotate(-2deg)}.inventory nav button .inventory-note-mini span{color:#171511;letter-spacing:.02em;clip-path:inset(0 0 52%);height:18px;font:900 18px/1 Arial Narrow,Arial,sans-serif;position:absolute;top:3px;left:4px;right:4px;overflow:hidden}.inventory-hint{border:1px solid var(--red);color:#fff;background:linear-gradient(145deg,#d94b3d,#8c251e);align-content:center;align-self:center;place-items:center;gap:3px;height:68px;display:grid;position:relative;box-shadow:0 0 0 1px #d94b3d29,0 0 24px #d94b3d33}.inventory-hint b{letter-spacing:.08em;font:900 15px monospace}.inventory-hint small{color:#f4cbc6;font-size:8px}.inventory-hint:after{content:"";opacity:.35;pointer-events:none;border:1px solid #ffffff4d;animation:1.8s ease-in-out infinite hintPulse;position:absolute;inset:-1px}@keyframes hintPulse{50%{opacity:.8;box-shadow:0 0 18px #d94b3d7a}}.modal-backdrop,.ad-overlay{z-index:50;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#050504db;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal,.ad-overlay section{background:#191a16;border:1px solid #4d4941;width:min(450px,100%);max-height:calc(100svh - 32px);padding:30px;position:relative;overflow-y:auto;box-shadow:0 40px 110px #0000009e}.modal-close{color:#aba398;background:0 0;border:0;width:36px;height:36px;font-size:24px;position:absolute;top:8px;right:10px}.modal h2{letter-spacing:-.04em;margin:10px 0 13px;padding-right:22px;font-size:25px;line-height:1.3}.modal>p:not(.modal-label):not(.code-message){color:#aaa298;font-size:13px;line-height:1.75}.inventory-detail-visual{background:radial-gradient(circle at 50% 38%,#302b22,#0b0c0a 72%);border:1px solid #4d483f;place-items:center;width:100%;min-height:210px;max-height:330px;margin:4px 0 18px;display:grid;overflow:hidden}.inventory-detail-visual .blueprint-sheet{height:260px}.inventory-detail-visual>img{object-fit:contain;background:#10110f;width:100%;max-height:330px}.detail-item-mark{color:var(--gold);text-shadow:0 8px 28px #000;font:900 clamp(78px,18vw,145px)/1 Georgia,serif}.detail-lens{background:radial-gradient(circle at 35% 30%,#ffffff4d,#91aeb512 55%,#00000026);border:6px solid #e1dacab8;border-radius:50%;width:150px;height:150px;box-shadow:inset 0 0 24px #ffffff29,0 12px 30px #0000007a}.detail-keycard{aspect-ratio:1.58;color:#e7dec8;background:linear-gradient(145deg,#292b26,#11120f);border:1px solid #81745b;border-radius:10px;flex-direction:column;justify-content:space-between;width:min(260px,78%);padding:24px;display:flex;box-shadow:0 14px 38px #000}.detail-keycard b{color:var(--red);font:900 48px/1 Georgia,serif}.detail-keycard span{color:var(--gold);letter-spacing:.18em;font:800 10px monospace}.detail-circuit-tile{aspect-ratio:1;background:linear-gradient(145deg,#252a25,#101310);border:6px solid #343933;border-radius:5px;width:170px;position:relative;box-shadow:inset 0 0 0 2px #596058,0 18px 35px #000}.detail-circuit-tile i{background:#a4aaa1;border-radius:5px;display:block;position:absolute;box-shadow:0 0 10px #d2dcd047}.detail-circuit-tile .wire-horizontal{height:10px;top:calc(50% - 5px);left:16%;right:16%}.detail-circuit-tile .wire-vertical{width:10px;top:16%;bottom:50%;left:calc(50% - 5px)}.detail-circuit-tile b{color:#737a72;font:900 12px monospace;position:absolute;bottom:8px;right:10px}.inventory-detail-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;display:grid}.inventory-detail-actions button{min-height:52px;color:var(--paper);background:#23241f;border:1px solid #575149;font-weight:900}.inventory-detail-actions .use{border-color:var(--gold);color:#17140f;background:var(--gold)}.item-mark{width:74px;height:74px;color:var(--gold);background:#10110e;border:1px solid #514b41;place-items:center;margin-bottom:19px;font:900 38px Georgia,serif;display:grid}.item-acquired-art{aspect-ratio:1;background:#10110e;border:1px solid #514b41;width:min(220px,72vw);margin:0 auto 19px;overflow:hidden}.item-acquired-art img{object-fit:cover;width:100%;height:100%}.evidence-visual{background:radial-gradient(circle,#332b22,#0d0e0c);border:1px solid #47433b;align-content:center;place-items:center;gap:8px;height:150px;margin:0 0 20px;display:grid;overflow:hidden}.evidence-visual span{color:#8c8172;font:800 25px Georgia,serif}.evidence-visual b{color:var(--red);letter-spacing:.08em;font:900 43px Georgia,serif}.evidence-visual.mirror{background:linear-gradient(90deg,#1a1916 49.5%,#817a6d 50%,#151512 50.5%)}.clock-compartment{background:radial-gradient(circle at 50% 30%,#6e695e,#272722 72%);border:8px solid #39362f;border-radius:50% 50% 18px 18px;align-content:center;place-items:center;gap:8px;width:190px;min-height:108px;display:grid;box-shadow:inset 0 0 0 2px #9c927d,inset 0 -18px 30px #00000080,0 12px 28px #00000073}.evidence-visual.clock .clock-compartment span{color:#bbb09a;letter-spacing:.12em;font:800 12px monospace}.evidence-visual.clock .clock-compartment b{color:#161713;letter-spacing:.12em;text-shadow:0 1px #ffffff59;background:#b8b09d;border:1px solid #858070;padding:6px 15px;font:900 28px/1 Arial Narrow,Arial,sans-serif}.evidence-visual.window b{color:#cfc5b4;text-shadow:2px 2px #473f35;font-size:70px;transform:rotate(-15deg)}.half-number-note{color:#171511;background:#d9d0bd;border:1px solid #8a806e;width:250px;height:112px;position:relative;overflow:hidden;transform:rotate(-1deg);box-shadow:6px 8px #0000003d}.half-number-note:before{content:"";opacity:.15;background:repeating-linear-gradient(0deg,#0000 0 9px,#796e5f 10px);position:absolute;inset:0}.half-number-note i{z-index:3;background:#786e60;height:2px;position:absolute;top:55px;left:0;right:0}.note-half{z-index:2;text-align:center;letter-spacing:.04em;height:56px;font:900 56px/1 Arial Narrow,Arial,sans-serif;position:absolute;left:0;right:0;overflow:hidden}.note-half.top{clip-path:inset(0 0 50%);top:15px}.note-half.bottom{clip-path:inset(0 0 50%);transform-origin:50%;top:40px;transform:scaleY(-1)}.half-number-note:not(.reflected){height:72px}.half-number-note:not(.reflected) i{top:50px}.evidence-visual.blueprint{background:#111713;height:270px;padding:10px}.blueprint-sheet{color:#d7cfb5;background-color:#18201c;background-image:linear-gradient(90deg,#d7cfb50f 1px,#0000 1px),linear-gradient(#d7cfb50f 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:14px 14px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #887b5e;grid-template-rows:auto 1fr auto;gap:8px;width:100%;height:100%;padding:14px;display:grid;transform:rotate(-.5deg);box-shadow:5px 7px #00000047}.blueprint-title{border-bottom:1px solid #d7cfb559;justify-content:space-between;align-items:end;padding-bottom:6px;display:flex}.blueprint-title b{color:#e2d6b8;letter-spacing:.1em;font:900 11px monospace}.blueprint-title span{color:#8e9c8f;font:700 8px monospace}.blueprint-plan{min-height:170px;position:relative;overflow:hidden}.blueprint-sheet small{color:#8e9c8f;text-align:left;font:700 7px monospace}.bp-room,.bp-elevator{color:#d8cbaa;background:#0c100eb3;border:1px solid #b8ad8f;place-items:center;font:800 7px monospace;display:grid;position:absolute}.bp-room.start{width:12%;height:28%;top:42%;left:3%}.bp-room.control{width:13%;height:28%;top:42%;left:17%}.bp-hall{background:#0d120f85;border:2px solid #a99d7f;justify-content:space-around;align-items:center;display:flex;position:absolute}.bp-hall span{background:#252c26;border:1px solid #d4c7a7;flex:0 0 7px;height:15px;display:block}.bp-hall.main{width:29%;height:18%;top:45%;left:30%}.bp-hall.left{width:27%;height:18%;top:27%;left:58%}.bp-hall.overlap{border-style:dashed;width:12%;height:14%;top:29%;left:84%}.bp-hall.elevator-hall{width:27%;height:18%;top:68%;left:58%}.bp-connector{z-index:0;pointer-events:none;border-color:#a99d7f;display:block;position:absolute}.bp-connector.upper{border-left:2px solid #a99d7f;width:0;height:19%;top:27%;left:58%}.bp-connector.lower{border-left:2px solid #a99d7f;width:0;height:25%;top:62%;left:58%}.bp-connector.elevator-link{border-top:2px solid #a99d7f;width:4%;height:0;top:77%;left:84%}.bp-hall,.bp-room,.bp-elevator{z-index:1}.bp-elevator{color:#d55a4c;writing-mode:vertical-rl;border-color:#d55a4c;width:12%;height:24%;top:65%;right:1%}.modal-action{justify-content:center;width:100%;margin-top:15px}.sequence,.code-box{grid-template-columns:repeat(4,1fr);gap:7px;margin:20px 0;display:grid}.sequence i,.code-box i{height:58px;color:var(--gold);background:#0e0f0c;border:1px solid #4b463e;place-items:center;font:800 24px monospace;display:grid}.direction-pad{grid-template-columns:1fr 1fr;gap:8px;display:grid}.direction-pad button{height:54px;color:var(--paper);background:#282821;border:1px solid #5a544a;font-weight:800}.puzzle-note{color:#746e66;text-align:center;margin-top:12px;font-size:9px;display:block}.puzzle-note.error{color:var(--red);font-weight:900}.clock-controls{grid-template-columns:1fr auto 1fr;align-items:end;gap:10px;margin:22px 0 8px;display:grid}.clock-controls label{gap:6px;display:grid}.clock-controls label span{color:var(--gold);font-size:9px}.clock-controls select{height:58px;color:var(--paper);background:#0e0f0c;border:1px solid #4b463e;padding:0 12px;font:900 22px monospace}.clock-controls>i{color:var(--gold);padding-bottom:17px;font:900 24px monospace}.code-message{color:#e27b70;text-align:center;min-height:18px;font-size:10px}.number-pad{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.number-pad button{height:48px;color:var(--paper);background:#292923;border:1px solid #4a463e;font-weight:900}.number-pad .unlock{color:#fff;border-color:var(--red);background:var(--red)}.number-pad .unlock:disabled{opacity:.35}.trap-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;display:grid}.trap-actions button{min-height:50px;color:var(--paper);background:#25251f;border:1px solid #504b42;font-weight:800}.trap-actions .danger{border-color:var(--red);color:#fff;background:#991e18}.soft-hint,.strong-hint{border-left:2px solid var(--gold);background:#10110e;margin-top:14px;padding:14px}.soft-hint b,.strong-hint b{color:var(--gold);font-size:10px}.soft-hint p,.strong-hint p{color:#aaa298;margin:7px 0 0;font-size:11px;line-height:1.6}.strong-hint{border-color:var(--red)}.strong-hint b{color:var(--red)}.reward-button{text-align:left;border:1px solid var(--gold);width:100%;color:var(--paper);background:linear-gradient(120deg,#3b2c1f,#211b16);gap:6px;margin-top:12px;padding:16px;display:grid}.reward-button b{color:#f0c979}.reward-button small{color:#aea396;font-size:9px}.ad-overlay{z-index:70}.ad-box{color:#8f887f;background:linear-gradient(145deg,#2b2822,#0d0e0c);align-content:center;place-items:center;gap:14px;height:240px;margin:16px 0;display:grid}.ad-box i{border:1px solid #676158;padding:5px 9px;font:800 9px monospace}.ad-overlay section>p:not(.modal-label){color:var(--muted);text-align:center;font-size:10px}.ad-overlay .primary{justify-content:center;width:100%}.death-screen{background:#060303 url(/room-gas-v2.webp) 50%/cover no-repeat;place-items:center;min-height:100svh;padding:28px;display:grid;position:relative;overflow:hidden}.death-screen:after{content:"";background:linear-gradient(90deg,#050202c2,#0502026b 55%,#0502021a),linear-gradient(#0000 40%,#05020285);position:absolute;inset:0}.alarm{background:repeating-linear-gradient(130deg,#bb14141c 0 45px,#0000 45px 90px);animation:1s steps(2,end) infinite alarm;position:absolute;inset:-20%}@keyframes alarm{50%{opacity:.25;transform:translate(25px)}}.death-screen section{z-index:2;width:min(720px,100%);position:relative}.red{color:var(--red)}.death-screen h1{letter-spacing:-.065em;margin:16px 0 25px;font-size:clamp(40px,8vw,78px);line-height:1.08}.death-screen h1 em{color:var(--red);font-style:normal}.death-screen section>p:not(.eyebrow){color:#9f918c;max-width:580px;line-height:1.75}.death-count{color:var(--red);margin:34px 0 18px;font:900 clamp(46px,9vw,78px) Georgia,serif}.death-screen .primary{justify-content:center;width:min(400px,100%)}.death-screen small{color:#695e5b;margin-top:17px;font-size:9px;display:block}.stage5-death-popup{z-index:90;background:#060303 url(/room-05-vestibule-b1-gas-death-v1.png) 50%/cover no-repeat;position:fixed;inset:0}.corridor-screen{background:#080907 url(/characters-v1.webp) 65%/cover no-repeat;align-items:end;min-height:100svh;padding:40px max(22px,8vw);display:grid;position:relative}.corridor-shade{background:linear-gradient(90deg,#050605fa 0,#050605d1 47%,#05060547),linear-gradient(#0000 50%,#050605cc);position:absolute;inset:0}.corridor-screen section{width:min(650px,100%);position:relative}.corridor-screen h1{letter-spacing:-.07em;margin:14px 0 22px;font-size:clamp(48px,9vw,86px);line-height:.98}.corridor-screen h1 em{color:var(--red);font-style:normal}.corridor-screen section>p:not(.eyebrow){color:#aaa298;line-height:1.75}.run-status{gap:8px;margin:25px 0;display:flex}.run-status span{color:#777067;background:#151612e6;border:1px solid #454139;gap:4px;min-width:130px;padding:14px;font-size:9px;display:grid}.run-status b{color:var(--paper);font:900 25px Georgia,serif}.corridor-screen .ad-slot{max-width:520px;margin:34px 0}.next-room{border-left:2px solid var(--gold);color:var(--gold);background:#11120fdb;padding:14px 18px;font-size:11px}.room-next-button{width:min(420px,100%);margin-top:18px}.text-button{color:#777169;text-underline-offset:4px;background:0 0;border:0;margin-top:20px;padding:8px 0;text-decoration:underline}.room2-screen{background:#0a0d0c;flex-direction:column;min-height:100svh;display:flex}.room2-layout{flex:1;grid-template-columns:minmax(330px,700px) minmax(280px,360px);justify-content:center;gap:26px;padding:24px;display:grid}.room2-scene{aspect-ratio:2/3;background:#111;border:1px solid #444940;align-self:start;width:100%;position:relative;overflow:hidden}.room2-scene>img{object-fit:cover;filter:brightness(.83)saturate(.75);width:100%;height:100%;transition:filter .65s;display:block}.room2-tint{z-index:2;pointer-events:none;background:linear-gradient(#0000 65%,#0306057a),radial-gradient(circle at 50% 42%,#0000 35%,#0003);transition:background .65s;position:absolute;inset:0}.room2-scene.power-off>img{filter:brightness(.29)saturate(.58)}.room2-scene.power-off .room2-tint{background:radial-gradient(circle at 13% 21%,#77160f21 0 11%,#0f040333 27%,#0000 48%),linear-gradient(90deg,#01030347,#00030385 52%,#000202a8)}.room2-scene.power-off:before{content:"";z-index:3;pointer-events:none;background:radial-gradient(#000202c2,#0002026b 58%,#0000 76%);width:50%;height:10%;position:absolute;top:17%;left:27%}.room2-scene.dark-reveal>img{filter:brightness(.09)saturate(.35)}.room2-scene.dark-reveal .room2-tint{background:#000404b3}.room2-hotspot{z-index:5;background:0 0;border:0;border-radius:13px;position:absolute}.room2-hotspot span{opacity:0;background:var(--red);width:18px;height:18px;box-shadow:0 0 0 8px #d94b3d33,0 0 25px var(--red);border:2px solid #fff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.room2-hotspot.revealed span{opacity:1;animation:1.1s infinite pulse}.room2-hotspot.monitor1{width:18%;height:12.5%;top:26.2%;left:33%}.room2-hotspot.monitor2{width:18%;height:12.5%;top:26.2%;left:52%}.room2-hotspot.monitor3{width:18%;height:12.5%;top:39.2%;left:33%}.room2-hotspot.monitor4{width:18%;height:12.5%;top:39.2%;left:52%}.room2-hotspot.breaker{width:19%;height:21%;top:27.5%;left:5%}.room2-hotspot.tvLock{border-radius:5px;width:22%;height:20%;top:52.5%;left:60%}.room2-hotspot.vent{border-radius:50%;width:14%;height:14%;top:18%;left:75%}.room2-hotspot.light{width:35%;height:9%;top:6%;left:33%}.room2-hotspot.exit{width:18%;height:53%;top:25%;right:0}.emergency-glow{z-index:3;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(circle at 35% 30%,#ff3d2ac2,#a6181140 18%,#600d0a1c 38%,#0000 72%);width:33%;height:43%;animation:1.7s infinite alternate codeFlicker;position:absolute;top:8%;left:0}.monitor-idle,.monitor-digit{z-index:4;pointer-events:none;color:#a8c2b4;text-shadow:0 0 7px #7cb291;background:repeating-radial-gradient(circle,#608071 0 1px,#142019 2px 4px);place-items:center;width:14%;height:8%;font:900 clamp(7px,1.5vw,14px) monospace;display:grid;position:absolute}.monitor-1{top:28.2%;left:35%}.monitor-2{top:28.2%;left:54%}.monitor-3{top:39.9%;left:35%}.monitor-4{top:39.9%;left:54%}.monitor-digit{color:#f1e7d0;text-shadow:0 0 9px #f2e1b9,0 0 20px #ffffff73;background:0 0;font-size:clamp(21px,5vw,46px)}.monitor-digit.decoy-off{color:#ffffff61;filter:blur(.55px);text-shadow:0 0 7px #ffffff61,0 0 17px #ffffff29;background:0 0}.monitor-digit.true{color:#82ff9d;text-shadow:0 0 8px #4dff70,0 0 24px #4dff70cc;background:0 0}.tv-main-switch{z-index:7;background:0 0;border:0;border-radius:4px;width:max(5.2%,22px);height:max(5.5%,28px);padding:0;position:absolute;top:41.6%;left:26.1%}.tv-main-switch span{background:#78e58d;border-radius:50%;width:5px;height:5px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 7px #78e58dcc}.tv-main-switch.off span{background:#a33d34;box-shadow:0 0 7px #d23f32b8}.tv-main-switch.revealed:after{content:"";background:var(--red);width:18px;height:18px;box-shadow:0 0 0 8px #d94b3d33,0 0 25px var(--red);pointer-events:none;border:2px solid #fff;border-radius:50%;animation:1.1s infinite pulse;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.door-power{z-index:4;color:#57d481;text-shadow:0 0 10px #2b9c55;font:900 clamp(7px,1.5vw,13px) monospace;position:absolute;top:55%;right:4%;transform:rotate(90deg)}.power-monologue{border-left:2px solid #57d481;padding-left:12px;color:#d9dfd8!important}.feed-digit{z-index:3;color:#f7f7ef61;text-shadow:0 0 5px #ffffff29;filter:blur(.45px);pointer-events:none;font:900 clamp(30px,8vw,58px) Courier New,monospace;position:absolute;transform:translate(-50%,-50%)rotate(-2deg)}.feed-digit.red-decoy{color:#e83e3261;text-shadow:0 0 5px #e83e3229}.inventory-actions{grid-template-columns:54px 74px;gap:6px;display:grid}.inventory-actions .inventory-hint{width:auto}.inventory-exit{color:#b9b0a6;background:#171816;border:1px solid #4c4641;font:800 10px monospace}.dial-lock{grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0;display:grid}.dial-wheel{background:#0b0c0a;border:1px solid #514d45;grid-template-rows:34px 66px 34px;display:grid}.dial-wheel button{color:#978e80;background:#1d201c;border:0}.dial-wheel b{color:#eee7d8;place-items:center;font:900 34px monospace;display:grid}.eye-mark.single b{color:#d8cfc0;font-size:72px;transform:rotate(-7deg)}.quit-screen{background:radial-gradient(circle at 75% 25%,#d94b3d1f,#0000 28%),#090a08;align-items:center;min-height:100svh;padding:30px max(22px,8vw);display:grid}.quit-screen section{width:min(650px,100%)}.quit-screen h1{letter-spacing:-.07em;margin:14px 0 20px;font-size:clamp(48px,9vw,82px);line-height:.98}.quit-screen h1 em{color:var(--red);font-style:normal}.quit-screen section>p:not(.eyebrow){color:#aaa39a;line-height:1.7}.room2-brief{border-color:#4e715b59}.room2-evidence nav{gap:7px}.evidence-chip{color:#b4c8b8;white-space:nowrap;background:#19201b;border:1px solid #435447;flex:none;padding:10px 12px;font-size:9px}.cctv-room-view{background:#0a0d0b;border:1px solid #4a534b;height:min(390px,48svh);margin:16px 0;position:relative;overflow:hidden}.cctv-room-view img{object-fit:cover;filter:grayscale(.82)sepia(.18)hue-rotate(80deg)brightness(.65)contrast(1.2);width:100%;height:100%}.cctv-room-view.noise img{filter:grayscale()brightness(.56)contrast(1.4);transform:scale(1.03)}.cctv-room-view.green img{filter:grayscale(.8)sepia(.4)hue-rotate(70deg)brightness(.73)}.cctv-room-view.red img{filter:grayscale(.72)sepia(.35)hue-rotate(305deg)brightness(.64)}.cctv-room-view:after{content:"";pointer-events:none;background:repeating-linear-gradient(0deg,#0000 0 3px,#ffffff14 4px);position:absolute;inset:0}.cctv-room-view span,.cctv-room-view time{z-index:2;color:#d9f2df;text-shadow:0 0 5px #000;font:900 11px monospace;position:absolute;top:9px}.cctv-room-view span{left:10px}.cctv-room-view time{right:10px}.cctv-room-view i{z-index:2;background:var(--red);width:7px;height:7px;box-shadow:0 0 9px var(--red);border-radius:50%;position:absolute;bottom:9px;left:9px}.eye-mark{color:#d9d0bd;background:radial-gradient(circle,#2d2b25,#0d0e0c);border:1px solid #4e4b42;justify-content:center;align-items:center;gap:22px;height:120px;margin-bottom:18px;display:flex}.eye-mark i,.eye-mark b{text-shadow:0 0 12px #d94b3d80;font:900 52px Georgia,serif}.eye-mark b{color:var(--red)}.breaker-pad{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.breaker-pad button{color:#d9dfd8;background:#222923;border:1px solid #596159;height:58px;font:900 19px monospace}.room2-clear-screen{background:radial-gradient(circle at 78% 30%,#57d48121,#0000 26%),linear-gradient(135deg,#060807,#111713);align-items:end;min-height:100svh;padding:40px max(22px,8vw);display:grid}.room2-clear-screen section{width:min(680px,100%)}.room2-clear-screen h1{letter-spacing:-.07em;margin:14px 0 22px;font-size:clamp(48px,9vw,86px);line-height:.98}.room2-clear-screen h1 em{color:#57d481;font-style:normal}.room2-clear-screen section>p:not(.eyebrow){color:#a6afa7;line-height:1.75}.corridor3-screen{background:#090a08;flex-direction:column;min-height:100svh;display:flex}.corridor3-layout{flex:1;grid-template-columns:minmax(330px,700px) minmax(280px,360px);justify-content:center;gap:26px;padding:24px;display:grid}.corridor3-scene{aspect-ratio:2/3;background:#090807;border:1px solid #484039;align-self:start;width:100%;position:relative;overflow:hidden}.corridor3-scene>img{object-fit:cover;filter:none;width:100%;height:100%;transition:transform .25s;display:block}.corridor3-scene.turning-left>img{animation:.62s ease-in-out both corridorTurnRight}.corridor3-scene.turning-right>img{animation:.62s ease-in-out both corridorTurnLeft}.corridor3-scene.turning-straight>img{animation:.62s ease-in-out both corridorWalkForward}.false-route{z-index:4;color:#b0201bb3;text-shadow:0 0 8px #b0201b73;pointer-events:none;font:900 clamp(34px,7vw,66px) Courier New,monospace;position:absolute;top:55%;right:14%;transform:rotate(-8deg)}.corridor-hotspot{z-index:5;background:0 0;border:0;border-radius:8px;position:absolute}.corridor-hotspot span{opacity:0;background:var(--red);width:18px;height:18px;box-shadow:0 0 0 8px #d94b3d33,0 0 25px var(--red);border:2px solid #fff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.corridor-hotspot.revealed span{opacity:1;animation:1.1s infinite pulse}.corridor-hotspot.map{background:#b7ac9133;border:1px solid #ccc1a959;width:16%;height:10%;top:19%;left:4%}.corridor-hotspot.map:before{content:"";background:linear-gradient(90deg,#0000 46%,#dacfb37a 47% 53%,#0000 54%),linear-gradient(#0000 46%,#dacfb37a 47% 53%,#0000 54%);position:absolute;inset:16%}.corridor-hotspot.elevator{width:22%;height:24%;top:35%;left:39%}.corridor-hotspot.fire{width:14%;height:27%;top:35%;left:7%}.corridor-hotspot.panel{width:14%;height:25%;top:28%;right:1%}.corridor-hotspot.cart{width:22%;height:25%;top:50%;left:17%}.corridor-hotspot.mark{width:10%;height:25%;top:34%;right:18%}.corridor-navigation{z-index:7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#080807e6;border:1px solid #cdbea740;padding:10px;position:absolute;bottom:8.5%;left:4%;right:4%}.corridor-navigation>p{color:var(--gold);letter-spacing:.12em;margin:0 0 8px;font:800 9px monospace}.corridor-navigation>div{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.corridor-navigation button{color:#e7dfd1;background:#1d1d19;border:1px solid #514b42;place-items:center;gap:2px;min-height:52px;font:900 20px monospace;display:grid}.corridor-navigation button:only-child{grid-column:2/4}.corridor-navigation button:disabled{opacity:.42}.corridor-navigation button b{color:#a9a096;font-size:9px}.corridor-object{z-index:6;background:0 0;border:0;border-radius:8px;position:absolute}.corridor-object.elevator{width:22%;height:24%;top:35%;left:39%}.corridor-object.cart{width:24%;height:27%;top:48%;left:15%}.corridor-object.panel{width:17%;height:29%;top:30%;right:7.5%}.corridor-object.lobby-panel{width:15%;height:28%;top:27%;right:2%}.corridor-object.map{width:10%;height:18%;top:35%;left:43%}.corridor-object.fire-alarm{width:10%;height:16%;top:20.5%;left:8%}.corridor-object.fire-cabinet{width:14%;height:27%;top:37%;left:5%}.corridor-object span{opacity:0;background:var(--red);width:18px;height:18px;box-shadow:0 0 0 8px #d94b3d33,0 0 25px var(--red);border:2px solid #fff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.corridor-object.revealed span{opacity:1;animation:1.1s infinite pulse}.corridor-door{z-index:5;background:0 0;border:0;border-radius:5px;position:absolute}.corridor-door span,.room3-wall-hotspot span,.supply-object span{opacity:0;background:var(--red);width:14px;height:14px;box-shadow:0 0 0 7px #d94b3d33,0 0 20px var(--red);border:2px solid #fff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.corridor-door.revealed span,.room3-wall-hotspot.revealed span,.supply-object.revealed span{opacity:1;animation:1.1s infinite pulse}.alarm-countdown{text-shadow:0 0 12px #ff3228a6;font-weight:1000;color:#ff5147!important}.preline-copy{white-space:pre-line}.alarm-text{color:#ff3d33!important}.room3-overlay{z-index:45;background:#080907;grid-template-rows:auto minmax(0,1fr) auto;display:grid;position:fixed;inset:0}.room3-overlay>header{min-height:58px;color:var(--paper);background:#11120f;border-bottom:1px solid #3d3a33;justify-content:space-between;align-items:center;padding:10px 16px;display:flex}.room3-overlay>header b{color:var(--gold);letter-spacing:.12em;font:900 11px monospace}.room3-interior{background:#080807;width:min(760px,100%);height:100%;margin:auto;position:relative;overflow:hidden}.room3-interior>img{object-fit:contain;width:100%;height:100%;display:block}.room3-wall-hotspot{z-index:3;background:0 0;border:0;width:46%;height:42%;position:absolute;top:27%;left:27%}.wall-puzzle{z-index:4;color:#f7f6e8d6;letter-spacing:.14em;text-shadow:-.04em -.02em 1px #fffff56b,.05em .03em 2px #fffff55c,0 0 5px #fffff5b8,0 0 11px #ebebda52;filter:blur(.15px)drop-shadow(0 0 2px #fffff557);background:0 0;border:0;margin:0;padding:0;font:900 clamp(20px,5vw,34px)/1.65 monospace;position:absolute;top:38.5%;left:50%;transform:translate(-50%,-50%)}.supply-object{z-index:3;background:0 0;border:0;position:absolute}.supply-object.manual{place-items:center;width:16%;height:20%;padding:0;display:grid;top:33%;left:30%}.supply-object.manual img{object-fit:contain;filter:sepia(.18)brightness(.78)drop-shadow(0 2px 3px #000000b8);width:100%;height:100%;display:block}.supply-object.manual span{position:absolute;inset:0}.supply-object.panel-key{width:18%;height:20%;top:32%;left:12%}.supply-object.elevator-key{width:19%;height:23%;top:30%;right:10%}.room3-navigation{bottom:2%}.room3-inventory{z-index:2;width:100%;position:relative}.manual-overlay{z-index:80;background:#000000f0;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.manual-overlay>button{z-index:2;color:#fff;background:#171814;border:1px solid #625b4d;width:46px;height:46px;font-size:30px;position:fixed;top:14px;right:18px}.manual-overlay img{object-fit:contain;width:min(980px,96vw);max-height:96svh;box-shadow:0 12px 60px #000}.circuit-board{gap:8px;margin:18px 0;display:grid}.circuit-board button{min-height:58px;color:var(--paper);background:#1f201b;border:1px solid #4b463e;justify-content:space-between;align-items:center;padding:0 18px;font-weight:900;display:flex}.circuit-board button b{color:#65d486;font:900 13px monospace}.circuit-board button.off b{color:#ff5a4f}.circuit-legend{flex-wrap:wrap;gap:7px;margin:12px 0;display:flex}.circuit-legend span{letter-spacing:.06em;background:#11120f;border:1px solid;padding:5px 8px;font:900 9px monospace}.circuit-legend .red{color:#ff5147}.circuit-legend .green{color:#65d486}.circuit-legend .white{color:#f1eee5}.circuit-legend .gold{color:#e1b85f}.route-board{background-color:#0e100d;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:16px 16px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #514b40;gap:5px;width:100%;margin:16px 0;padding:8px;display:grid}.stage3-route-board{grid-template-columns:repeat(3,1fr)}.stage4-route-board{grid-template-columns:repeat(5,1fr)}.circuit-tile,.fuse-slot,.fuse-label,.fuse-output{aspect-ratio:1;color:#b8b1a4;background:#181a16;border:1px solid #3f4039;min-width:0;position:relative;overflow:hidden}.circuit-tile.rotatable{cursor:pointer}.circuit-tile.rotatable:active{transform:scale(.96)}.circuit-tile small{z-index:3;color:#c4bcaf;white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 8px);font:800 6px monospace;position:absolute;bottom:3px;left:4px;overflow:hidden}.circuit-tile>b{z-index:3;color:#8f887b;font:900 11px monospace;position:absolute;top:2px;right:4px}.circuit-wire{color:#fff;transform-origin:50%;transition:transform .18s;position:absolute;inset:7px}.circuit-wire.red{color:#ff4c43}.circuit-wire.green{color:#61d17b}.circuit-wire.white{color:#f2efe7}.circuit-wire.gold{color:#e0b45a}.circuit-wire.cyan{color:#55c9d2}.circuit-wire span{background:currentColor;border-radius:5px;display:block;position:absolute;box-shadow:0 0 7px}.circuit-wire .wire-a{width:50%;height:4px;top:calc(50% - 2px);left:50%}.circuit-wire .wire-b{width:4px;height:50%;top:50%;left:calc(50% - 2px)}.circuit-wire .wire-c{display:none}.circuit-wire.shape-line .wire-a{width:100%;left:0}.circuit-wire.shape-line .wire-b{display:none}.circuit-wire.shape-tee .wire-c{width:50%;height:4px;display:block;top:calc(50% - 2px);left:0}.circuit-wire.shape-end .wire-b,.circuit-wire.shape-end .wire-c{display:none}.circuit-wire.shape-end .wire-a,.circuit-wire.shape-source .wire-a{width:50%;left:50%}.circuit-wire.shape-source .wire-b,.circuit-wire.shape-output .wire-b{display:none}.circuit-wire.shape-output .wire-a{width:50%;left:0}.circuit-tile.fixed:after{content:"";background:#171915;border:2px solid;border-radius:50%;width:9px;height:9px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.circuit-tile.fixed.red{color:#ff4c43}.circuit-tile.fixed.green{color:#61d17b}.circuit-tile.fixed.white{color:#f2efe7}.circuit-tile.fixed.gold{color:#e0b45a}.circuit-tile.powered{background:radial-gradient(circle,#ffb83730,#181a16 70%);border-color:#ffc44e;box-shadow:inset 0 0 14px #ffb83729,0 0 9px #ffb0302e}.circuit-tile.powered .circuit-wire{color:#ffd777;filter:brightness(1.35)}.circuit-tile:disabled{opacity:1;cursor:default}.fuse-label,.fuse-output{color:#8f887a;place-items:center;font:1000 9px monospace;display:grid}.fuse-slot{place-items:center;gap:2px;padding:5px;display:grid}.fuse-slot span{color:#756f64;font:900 7px monospace}.fuse-slot b{color:#aaa295;font:1000 8px monospace}.fuse-slot.inserted{background:#302817;border-color:#dfb35d;box-shadow:inset 0 0 18px #dfb35d38}.fuse-slot.inserted span{color:#f1c970}.stage4-route-board.solved{border-color:#5c9d69;box-shadow:0 0 25px #50bb6821}.modal:has(.stage4-power-panel){width:min(690px,100%)}.stage4-power-panel{background:radial-gradient(circle at 50% 20%,#ffffff0b,#0000 45%),linear-gradient(145deg,#1b1e1c,#0c0f0e 72%);border:1px solid #4c4b43;border-radius:4px;margin:16px 0 10px;padding:13px;box-shadow:inset 0 0 0 3px #111412,inset 0 0 0 4px #383a35,0 12px 30px #0000006b}.stage4-power-panel.solved{border-color:#58996a;box-shadow:inset 0 0 0 3px #111412,inset 0 0 0 4px #385b41,0 0 28px #50be6c24}.stage4-board-shell{padding:38px 68px 42px}.stage4-power-board-wrap{position:relative}.stage4-terminal-node{z-index:4;color:#777b73;white-space:nowrap;align-items:center;gap:5px;min-width:54px;font:900 8px/1 monospace;display:flex;position:absolute}.stage4-terminal-node i{z-index:2;background:#171b18;border:2px solid #555a54;border-radius:50%;flex:none;width:13px;height:13px;position:relative}.stage4-terminal-node:after{content:"";z-index:1;background:#3f443f;height:3px;position:absolute}.stage4-terminal-node.online{color:#bdf2c8}.stage4-terminal-node.online i{background:#66df81;border-color:#a9f5b9;box-shadow:0 0 9px #5af27c}.stage4-terminal-node.online:after{background:#61d17b;box-shadow:0 0 7px #61d17b}.stage4-terminal-node.power{color:#ffd578;top:50%;left:-62px;transform:translateY(-50%)}.stage4-terminal-node.power i{background:#ffc44f;border-color:#ffe08f;order:2;box-shadow:0 0 9px #ffbc3a}.stage4-terminal-node.power:after{background:#ffb941;top:5px;left:38px;right:-9px;box-shadow:0 0 7px #ffb941}.stage4-terminal-node.dlock{top:10%;left:-62px;transform:translateY(-50%)}.stage4-terminal-node.dlock i{order:2}.stage4-terminal-node.dlock:after{top:5px;left:43px;right:-9px}.stage4-terminal-node.motor{flex-direction:column-reverse;align-items:center;min-width:0;top:-31px;left:50%;transform:translate(-50%)}.stage4-terminal-node.motor:after{width:3px;height:24px;top:15px;left:50%;transform:translate(-50%)}.stage4-terminal-node.brake{top:30%;right:-57px;transform:translateY(-50%)}.stage4-terminal-node.brake:after,.stage4-terminal-node.elight:after{width:22px;top:5px;left:-9px}.stage4-terminal-node.elight{top:70%;right:-57px;transform:translateY(-50%)}.stage4-terminal-node.fuse{flex-direction:column;align-items:center;min-width:0;bottom:-34px;left:50%;transform:translate(-50%)}.stage4-terminal-node.fuse:after{width:3px;height:25px;bottom:15px;left:50%;transform:translate(-50%)}.stage4-power-board{background-color:#0d100e;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:14px 14px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #4a4d47;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:7px;display:grid}.stage4-power-board .circuit-tile{aspect-ratio:1}.stage4-power-board .circuit-tile small{display:none}.stage4-power-board .circuit-tile>b{color:#777b73}.stage4-power-board .circuit-wire{color:#555b56;filter:none}.stage4-power-board .circuit-wire span{box-shadow:none}.stage4-power-board .circuit-wire .wire-terminal-cap{outline-offset:1px;opacity:.74;z-index:2;background:#e8ebe4;border-radius:50%;outline:1px solid #080a08eb;width:4px;height:4px;display:block;top:calc(50% - 2px);left:auto;right:-2px;box-shadow:0 0 1px #e8ebe459}.stage4-power-board .circuit-tile.powered .circuit-wire{color:#ffd777;filter:brightness(1.35)}.stage4-power-board .circuit-tile.powered .circuit-wire span{box-shadow:0 0 7px}.stage4-power-board .circuit-tile.powered .circuit-wire .wire-terminal-cap{opacity:.9;background:#f2f3ec;box-shadow:0 0 2px #f2f3ec8c}.stage4-power-board .circuit-tile.hint-target{z-index:3;outline-offset:-4px;border-color:#ff554c;outline:3px solid #ff554cb8;animation:.7s ease-in-out infinite alternate stage4-hint-pulse;box-shadow:inset 0 0 20px #ff413733,0 0 18px #ff4137cc}.stage4-power-board .circuit-slot-empty{background:repeating-linear-gradient(135deg,#121512 0 8px,#171a17 8px 16px);border:1px dashed #4f554f;place-items:center;display:grid;position:relative;box-shadow:inset 0 0 18px #050605}.stage4-power-board .circuit-slot-empty i{aspect-ratio:1;border:1px solid #393f39;border-radius:4px;width:54%;box-shadow:inset 0 0 0 4px #0b0d0b}.stage4-power-board .circuit-slot-empty b{color:#656b64;letter-spacing:.12em;font:900 7px monospace;position:absolute;bottom:7px}.stage4-power-board .circuit-slot-empty:not(:disabled):active{border-color:var(--gold)}.stage4-push-button{color:#f3d28b;letter-spacing:.18em;background:linear-gradient(#3b2c1c,#20170f);border:2px solid #6f5630;width:min(220px,100%);min-height:52px;margin:0;font:1000 17px monospace;display:block;box-shadow:inset 0 0 0 3px #15110d,0 5px #100d09}.stage4-push-button:active{transform:translateY(3px);box-shadow:inset 0 0 0 3px #15110d,0 2px #100d09}.stage4-push-button.running{color:#d9ecdd;background:#1a2b1e;border-color:#4d7657;animation:.55s ease-in-out infinite alternate power-pulse}.stage4-push-button.hint-target{border-color:#ff554c;animation:.7s ease-in-out infinite alternate stage4-hint-pulse;box-shadow:inset 0 0 0 3px #15110d,0 0 20px #ff4137d1}.stage4-power-controls{grid-template-columns:minmax(118px,1fr) minmax(170px,220px) minmax(118px,1fr);align-items:stretch;gap:12px;margin-top:13px;display:grid}.stage4-power-controls>i{display:block}.stage4-inline-map-button{color:#d6b36b;letter-spacing:.08em;text-align:center;cursor:pointer;background:#121411;border:1px solid #5a4b3c;justify-self:end;width:min(150px,100%);min-height:52px;padding:7px 10px;font:1000 15px/1.2 monospace}.stage4-inline-map-button:hover{background:#242016;border-color:#b8924c}@keyframes power-pulse{to{box-shadow:inset 0 0 0 3px #15110d,0 0 18px #63e67e59}}@keyframes stage4-hint-pulse{to{filter:brightness(1.28)}}.stage4-circuit-map,.stage4-wiring-panel{background:radial-gradient(circle at 50% 12%,#ffffff0a,#0000 36%),linear-gradient(145deg,#161a18,#080a09 72%);border:1px solid #605c4c;border-radius:5px;margin:16px 0;padding:18px;box-shadow:inset 0 0 0 3px #090b0a,inset 0 0 0 4px #33382f,0 14px 34px #0000007a}.circuit-map-title,.wiring-panel-title{color:#d9c39a;letter-spacing:.12em;background:#22231e;border:1px solid #77684c;width:max-content;margin:0 auto 18px;padding:7px 20px;font:1000 17px monospace;box-shadow:inset 0 0 0 2px #11130f}.circuit-map-feed,.wiring-fixed-chain{color:#e3d6b5;justify-content:center;align-items:center;gap:8px;margin:0 auto 16px;font:900 11px monospace;display:flex}.circuit-map-feed span,.wiring-fixed-chain span{background:#171916;border:1px solid #5a574c;padding:8px 10px}.circuit-map-feed i,.wiring-fixed-chain i{color:#d6a84f;font-style:normal}.circuit-map-outputs{grid-template-columns:1fr 1fr;gap:8px 14px;padding-left:20px;display:grid;position:relative}.circuit-map-outputs:before{content:"";background:#6d6658;width:3px;position:absolute;top:5%;bottom:5%;left:8px}.circuit-map-output{color:#858c83;background:#121512;border:1px solid #444840;grid-template-columns:33px 1fr minmax(64px,auto);align-items:center;min-height:42px;display:grid;position:relative}.circuit-map-output:before{content:"";background:currentColor;width:13px;height:3px;position:absolute;top:50%;left:-13px}.circuit-map-output b{border-right:1px solid #454943;place-items:center;height:100%;font:1000 17px monospace;display:grid}.circuit-map-output i{background:currentColor;border-radius:4px;height:4px;margin:0 8px;box-shadow:0 0 8px}.stage4-circuit-map.disconnected .circuit-map-output i{box-shadow:none;opacity:.7}.circuit-map-output span{padding-right:8px;font:900 10px monospace}.circuit-map-output.red{color:#ff5b4f}.circuit-map-output.yellow{color:#f1cb59}.circuit-map-output.green{color:#62dc7b}.circuit-map-output.cyan{color:#55d4dd}.circuit-map-output.white{color:#e7e8df}.circuit-map-output.spare{color:#60665f}.stage4-wiring-panel.repaired{border-color:#53865e;box-shadow:inset 0 0 0 3px #090b0a,inset 0 0 0 4px #36523c,0 0 26px #55d36f21}.wiring-workspace{grid-template-columns:minmax(0,1fr) minmax(180px,1fr);gap:14px;display:grid}.loose-wire-bank{align-content:center;gap:12px;display:grid}.loose-wire{color:#777d76;text-align:left;background:#101310;border:1px solid #444940;grid-template-rows:1fr 1fr;grid-template-columns:46px 1fr;min-height:70px;padding:10px;display:grid;position:relative}.loose-wire i{background:currentColor;border-radius:5px;grid-row:1/3;align-self:center;width:38px;height:8px;box-shadow:20px 0 0 -1px #222,22px 0 0 2px,0 0 8px}.loose-wire span{align-self:end;font:900 11px monospace}.loose-wire small{color:#777d76;align-self:start;font:800 8px monospace}.loose-wire.yellow{color:#efc94f}.loose-wire.green{color:#62d87b}.loose-wire.selected{background:#24261b;border-color:currentColor;box-shadow:0 0 14px}@supports (color:color-mix(in lab, red, red)){.loose-wire.selected{box-shadow:0 0 14px color-mix(in srgb,currentColor 24%,transparent)}}.loose-wire.connected{opacity:.8}.wiring-socket-bank{grid-template-columns:1fr 1fr;gap:7px;display:grid}.wiring-socket{color:#70766e;background:#111411;border:1px solid #454a44;grid-template-columns:28px 19px 1fr;align-items:center;gap:6px;min-height:53px;display:grid}.wiring-socket b{font:1000 16px monospace}.wiring-socket i{background:#060806;border:3px solid;border-radius:50%;width:17px;height:17px;box-shadow:inset 0 0 0 3px #1a1d1a}.wiring-socket small{text-align:left;font:800 7px monospace}.wiring-socket.fixed{cursor:not-allowed;opacity:.82}.wiring-socket.red{color:#ed584e}.wiring-socket.yellow{color:#efc94f;border-color:#9e8538;box-shadow:0 0 10px #efc94f29}.wiring-socket.green{color:#62d87b;border-color:#3f8c50;box-shadow:0 0 10px #62d87b29}.wiring-socket.cyan{color:#55cdd6}.wiring-socket.white{color:#e0e2da}.stage4-wiring-message{color:#b6ad9c;min-height:42px;margin:8px 0;line-height:1.55}.stage4-wiring-message.success{color:#75df8d;font-weight:900}.stage4-memory-game{justify-items:center;gap:13px;margin:18px 0 12px;display:grid}.stage4-floor-panel{background:linear-gradient(90deg,#ffffff0a,#0000 18% 82%,#00000047),linear-gradient(#302e28,#171815);border:1px solid #716a5e;border-radius:5px;justify-items:center;gap:8px;width:112px;padding:17px 20px;display:grid;box-shadow:inset 0 0 0 3px #11120f,inset 0 0 18px #000,0 12px 28px #0000006b}.stage4-floor-panel button{color:#a7a196;cursor:pointer;background:radial-gradient(circle at 38% 32%,#46443e 0 18%,#252621 48%,#10110f 72%);border:1px solid #777168;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:relative;box-shadow:inset 0 0 0 4px #171814,0 2px 4px #000}.stage4-floor-panel button:disabled{opacity:1;cursor:default}.stage4-floor-panel button i{border:1px solid #ffffff12;border-radius:50%;position:absolute;inset:6px}.stage4-floor-panel button.lit{color:#fff6c8;background:radial-gradient(circle,#ffd45c 0 13%,#8d641c 40%,#211a0d 72%);border-color:#e1b851;box-shadow:inset 0 0 0 4px #30250d,0 0 11px #ffc236d1,0 2px 4px #000}.stage4-wiring-svg{color:#777d76;touch-action:manipulation;background:radial-gradient(circle at 20% 20%,#ffffff09,#0000 34%),linear-gradient(145deg,#111513,#070908);border:1px solid #393d38;border-radius:5px;width:100%;height:auto;display:block}.wiring-metal-frame{fill:none;stroke:#3f443e;stroke-width:3px}.wiring-power-unit rect,.wiring-fuse-unit>rect:first-of-type,.wiring-relay-unit>rect:first-of-type{fill:#171b18;stroke:#5f5b4d;stroke-width:2px}.wiring-power-unit text,.wiring-fuse-unit text,.wiring-relay-unit text,.wiring-panel-note{fill:#c6b990;letter-spacing:.06em;text-anchor:middle;font:900 13px monospace}.wiring-power-unit circle{fill:#191c19;stroke:#d9ad50;stroke-width:3px}.wiring-power-unit path{fill:none;stroke:#d9ad50;stroke-width:3px}.wiring-fuse-unit>rect:nth-of-type(2){fill:#342f23;stroke:#c6b070;stroke-width:2px}.wiring-fuse-unit line{stroke:#e1cd91;stroke-width:3px}.wiring-relay-unit>rect:nth-of-type(2){fill:#0e110f;stroke:#535950;stroke-width:2px}.wiring-relay-unit circle{fill:#d0b76b;stroke:#1d211d;stroke-width:2px}.wiring-relay-unit path{fill:none;stroke:#b78c44;stroke-width:4px}.fixed-cable,.wire-visible{fill:none;stroke-linecap:round;stroke-width:11px}.fixed-cable{filter:drop-shadow(0 2px 1px #000)}.fixed-cable.power{stroke:#282b28}.fixed-cable.red{stroke:#d74a42}.fixed-cable.cyan{stroke:#45b8c1}.fixed-cable.white{stroke:#d7d8d0}.interactive-wire{cursor:pointer;color:#777;outline:none}.interactive-wire .wire-touch-target{fill:none;stroke:#0000;stroke-width:34px}.interactive-wire.yellow{color:#e5be45}.interactive-wire.green{color:#55c96d}.interactive-wire .wire-visible{stroke:currentColor;filter:drop-shadow(0 3px 2px #000);transition:filter .16s,stroke-width .16s}.interactive-wire.selected .wire-visible{stroke-width:14px;filter:url(#wireGlow)drop-shadow(0 3px 2px #000);animation:.7s ease-in-out infinite alternate selected-wire-pulse}.interactive-wire.hint-target .wire-visible{stroke-width:15px;filter:url(#wireGlow)drop-shadow(0 0 9px);animation:.6s ease-in-out infinite alternate selected-wire-pulse}.interactive-wire .wire-plug rect{fill:#242824;stroke:currentColor;stroke-width:3px}.interactive-wire .wire-plug line{stroke:#c8c4b6;stroke-width:3px;stroke-linecap:round}.interactive-wire.loose .wire-plug rect{animation:1.8s ease-in-out infinite alternate loose-plug}.stage4-wiring-panel.repaired .interactive-wire.connected .wire-plug{filter:drop-shadow(0 0 6px)}@keyframes loose-plug{to{opacity:.72}}@keyframes selected-wire-pulse{to{opacity:.72}}.svg-socket{cursor:pointer;color:#747a72;outline:none}.svg-socket rect{fill:#171a17;stroke:#51564f;stroke-width:2px}.svg-socket circle:first-of-type{fill:#090b09;stroke:currentColor;stroke-width:4px}.svg-socket circle:nth-of-type(2){fill:#303530}.svg-socket text{fill:currentColor;text-anchor:middle;font:1000 23px monospace}.svg-socket:hover rect,.svg-socket:focus rect{stroke:currentColor}.svg-socket.fixed{cursor:not-allowed;opacity:.82}.svg-socket.red{color:#e45249}.svg-socket.yellow{color:#e5be45}.svg-socket.green{color:#55c96d}.svg-socket.cyan{color:#47bec7}.svg-socket.white{color:#dedfd7}.svg-socket.yellow circle:first-of-type,.svg-socket.green circle:first-of-type{fill:currentColor}.svg-socket.hint-target rect{stroke:#ff554c;stroke-width:4px;filter:drop-shadow(0 0 8px #ff554c);animation:.6s ease-in-out infinite alternate selected-wire-pulse}.svg-socket.hint-target circle:first-of-type{stroke:#ff554c;filter:drop-shadow(0 0 8px #ff554c)}.stage4-wiring-panel.repaired .svg-socket.yellow circle:first-of-type,.stage4-wiring-panel.repaired .svg-socket.green circle:first-of-type{filter:drop-shadow(0 0 7px)}.wiring-panel-note{text-anchor:start;fill:#777d74;font-size:11px}.wiring-selection-status{grid-template-columns:1fr 1fr;gap:7px;margin-top:10px;display:grid}.wiring-selection-status span{color:#6f756e;text-align:center;background:#101310;border:1px solid #3e433e;padding:9px;font:900 9px monospace}.wiring-selection-status .active{border-color:currentColor;box-shadow:inset 0 0 16px}@supports (color:color-mix(in lab, red, red)){.wiring-selection-status .active{box-shadow:inset 0 0 16px color-mix(in srgb,currentColor 13%,transparent)}}.wiring-selection-status .yellow{color:#e5be45}.wiring-selection-status .green{color:#55c96d}.blueprint-sheet.highlighted .bp-hall span.target{color:#ff4b3f;background:#d43026b3;border-color:#ff4b3f;box-shadow:0 0 12px #ff362bcc}.evacuation-map-sheet{color:#ef6257;background-color:#1b1715;background-image:linear-gradient(90deg,#e1453912 1px,#0000 1px),linear-gradient(#e1453912 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:14px 14px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border-color:#c94338}.evacuation-map-sheet .blueprint-title{border-color:#ef625773}.evacuation-map-sheet .blueprint-title b,.evacuation-map-sheet .blueprint-title span,.evacuation-map-sheet small{color:#ef6257}.evacuation-map-sheet .bp-room,.evacuation-map-sheet .bp-hall,.evacuation-map-sheet .bp-hall span,.evacuation-map-sheet .bp-elevator{color:#ef6257;background:#37110e8c;border-color:#e24b3f}.evacuation-map-sheet .bp-connector.upper,.evacuation-map-sheet .bp-connector.lower{border-left-color:#e24b3f}.evacuation-map-sheet .bp-connector.elevator-link{border-top-color:#e24b3f}.corridor-keypad-input{color:#f0e7d5;text-align:center;letter-spacing:.4em;background:#10110f;border:1px solid #625b4d;outline:0;width:100%;height:68px;margin:14px 0 4px;font:900 30px monospace}.corridor3-brief{border-color:#9f7e4d59}.corridor3-inventory nav button{flex-basis:86px}.evac-map-shell{aspect-ratio:1;background:#c7bda6;border:9px solid #574c3b;place-items:center;width:min(330px,100%);margin:18px auto;display:grid;overflow:hidden;box-shadow:inset 0 0 35px #392b1859}.evac-map{background-color:#d9cfb8;background-image:linear-gradient(90deg,#5f554214 1px,#0000 1px),linear-gradient(#5f554214 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:20% 20%;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:2px solid #544b3d;width:84%;height:84%;transition:transform .28s;position:relative}.evac-map span,.evac-map b{z-index:3;color:#28251f;white-space:nowrap;background:#d9cfb8e6;padding:3px 5px;font:900 9px monospace;position:absolute}.map-you{bottom:4%;left:40%;color:#a9221b!important}.map-fire{bottom:3%;left:2%}.map-panel{top:42%;right:2%}.map-window{bottom:18%;right:4%}.map-elevator{top:2%;right:2%;color:#a9221b!important}.map-line{z-index:2;background:#25231f;position:absolute}.map-line.line-a{width:38%;height:5px;bottom:13%;left:50%}.map-line.line-b{width:5px;height:44%;bottom:13%;right:11%}.map-line.line-c{width:42%;height:5px;top:42%;right:11%}.map-line.line-d{width:5px;height:38%;top:8%;left:47%}.map-controls{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;display:grid}.map-controls button{color:#e1d9cb;background:#24231e;border:1px solid #514b42;min-height:44px;font-weight:800}.map-controls strong{color:var(--gold);font:900 13px monospace}.elevator-arrival-screen{background:#080807 url(/room-03-corridor-v1.webp) 50%/cover no-repeat;align-items:end;min-height:100svh;padding:40px max(22px,8vw);display:grid;position:relative}.elevator-arrival-screen section{z-index:2;width:min(700px,100%);position:relative}.elevator-arrival-screen h1{letter-spacing:-.07em;margin:14px 0 22px;font-size:clamp(48px,9vw,86px);line-height:.98}.elevator-arrival-screen h1 em{color:var(--red);font-style:normal}.elevator-arrival-screen section>p:not(.eyebrow){color:#b2aaa0;line-height:1.75}.stage4-screen{background:#070807;flex-direction:column;min-height:100svh;display:flex}.stage4-layout{flex:1;grid-template-columns:minmax(0,760px) minmax(280px,360px);justify-content:center;align-items:start;gap:18px;padding:18px;display:grid}.stage4-scene{aspect-ratio:2/3;background:#090908;border:1px solid #393830;width:100%;max-height:calc(100svh - 170px);position:relative;overflow:hidden}.stage4-scene>img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.stage4-red-shade{pointer-events:none;background:radial-gradient(circle at 81% 16%,#d5261d40,#0000 21%),linear-gradient(#0506051f,#06060557);transition:opacity .35s;position:absolute;inset:0}.stage4-scene.power-ready .stage4-red-shade{opacity:.28}.stage4-floor-display{z-index:4;color:#ff4a3f;text-align:center;letter-spacing:.12em;background:#080907eb;min-width:72px;padding:5px 9px;font:900 clamp(13px,2vw,20px) monospace;position:absolute;top:24.8%;left:50%;transform:translate(-50%);box-shadow:0 0 15px #ff3c2d59}.stage4-hotspot{z-index:6;background:0 0;border:0;border-radius:8px;position:absolute}.stage4-hotspot.mirror{width:27%;height:40%;top:20%;left:3%}.stage4-hotspot.intercom{width:11%;height:17%;top:42%;left:21%}.stage4-hotspot.hatch{width:39%;height:15%;top:2%;left:31%}.stage4-hotspot.lamp{width:13%;height:12%;top:8%;right:16%}.stage4-hotspot.display{width:15%;height:10%;top:21%;left:43%}.stage4-hotspot.buttons{width:18%;height:29%;top:35%;right:4%}.stage4-hotspot.panel{width:24%;height:31%;top:62%;right:2%}.stage4-hotspot.door{width:44%;height:64%;top:31%;left:30%}.stage4-hotspot span{opacity:0;background:var(--red);width:15px;height:15px;box-shadow:0 0 0 7px #d94b3d38,0 0 22px var(--red);border:2px solid #fff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.stage4-hotspot.revealed span{opacity:1;animation:1.1s infinite pulse}.stage4-panel-status{z-index:5;color:var(--gold);letter-spacing:.08em;background:#070807e0;border:1px solid #c59d5b80;padding:5px 8px;font:900 9px monospace;position:absolute;bottom:4%;right:3%}.stage4-brief{border-color:#d0433552}.stage4-inventory nav button{flex-basis:96px}.stage4-circuit-grid{grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 12px;display:grid}.stage4-circuit-grid button{color:#e8e0d3;text-align:left;background:#20211d;border:1px solid #514c41;justify-content:space-between;align-items:center;gap:10px;min-height:64px;padding:10px 13px;display:flex}.stage4-circuit-grid button span{gap:3px;font-weight:900;display:grid}.stage4-circuit-grid button small{color:#918878;letter-spacing:.08em;font:800 8px monospace}.stage4-circuit-grid button b{color:#ef5549;font:1000 12px monospace}.stage4-circuit-grid button.on{background:#1c2920;border-color:#668b67}.stage4-circuit-grid button.on b{color:#70d384}.stage4-circuit-grid.solved button{cursor:default;opacity:.82}.stage4-circuit-message{color:#b9b0a1;min-height:42px;margin:10px 0;line-height:1.55}.stage4-circuit-message.penalty{color:#ff4f43;font-weight:1000}.stage4-panel-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.stage4-panel-actions button{color:#eee4d5;background:#20211d;border:1px solid #5c564b;min-height:54px;font-weight:900}.stage4-panel-actions .primary{border-color:var(--red);background:var(--red)}.stage4-clear-screen{background:#080807 url(/room-04-elevator-v1.webp) 50%/cover no-repeat;align-items:end;min-height:100svh;padding:42px max(22px,8vw);display:grid;position:relative;overflow:hidden}.stage4-clear-screen:before{content:"";background:linear-gradient(#00000042,#000000ed 72%);position:absolute;inset:0}.stage4-clear-glow{background:radial-gradient(circle at 50% 34%,#ecdcae38,#0000 34%);position:absolute;inset:0}.stage4-clear-screen section{z-index:2;width:min(720px,100%);position:relative}.stage4-clear-screen h1{letter-spacing:-.06em;margin:14px 0 22px;font-size:clamp(52px,10vw,92px);line-height:.95}.stage4-clear-screen h1 em{color:var(--red);font-style:normal}.stage4-clear-screen section>p:not(.eyebrow){color:#b9b0a3;line-height:1.8}.stage5-screen{background:#070807;flex-direction:column;min-height:100svh;display:flex}.stage5-layout{flex:1;grid-template-columns:minmax(0,760px) minmax(280px,360px);justify-content:center;align-items:start;gap:18px;padding:18px;display:grid}.stage5-scene{aspect-ratio:2/3;background:#090908;border:1px solid #393830;width:100%;max-height:calc(100svh - 170px);position:relative;overflow:hidden}.stage5-scene>img{object-fit:cover;object-position:center;width:100%;height:100%;animation:.34s both stage5RoomEnter;display:block}@keyframes stage5RoomEnter{0%{opacity:.45;filter:blur(2px);transform:scale(1.025)}to{opacity:1;filter:blur();transform:scale(1)}}.stage5-shade{z-index:1;pointer-events:none;background:linear-gradient(#04050414,#03030345);position:absolute;inset:0}.stage5-hotspot{z-index:6;background:0 0;border:0;border-radius:6px;position:absolute}.stage5-hotspot.keyrack{width:25%;height:22%;top:17%;left:7%}.stage5-hotspot.terminal{width:18%;height:11%;top:39%;left:10%}.stage5-hotspot.main-exit{width:25%;height:31%;top:29%;left:45%}.stage5-hotspot.map{width:12%;height:8%;top:29%;left:74%}.stage5-hotspot.intercom{width:5%;height:9%;top:38%;left:74%}.stage5-hotspot.power{width:7%;height:10%;top:38%;left:80%}.stage5-hotspot.emergency-exit{width:9%;height:38%;top:22%;left:88%}.stage5-scene.location-lobby .stage5-hotspot.terminal{width:26%;height:17%;top:39%;left:8%}.stage5-scene.location-lobby .stage5-hotspot.counter-key{z-index:7;width:11%;height:9%;top:28%;left:29%}.stage5-scene.location-lobby .stage5-hotspot.counter-pattern{z-index:7;width:42%;height:20%;top:49%;left:13%}.stage5-scene.location-lobby .stage5-hotspot.map{z-index:7;width:10.5%;height:6.5%;top:29%;left:75.5%}.stage5-scene.location-lobby .stage5-hotspot.intercom{z-index:7;width:4%;height:7.2%;top:36.2%;left:74.8%}.stage5-scene.location-lobby .stage5-hotspot.signal-panel{z-index:8;width:5%;height:7.2%;top:37.2%;left:81.4%}.stage5-scene.location-lobby .stage5-hotspot.vestibule-door{width:11%;height:43%;top:20%;left:88%}.stage5-scene.location-lobby .stage5-hotspot.main-exit{width:31%;height:43%;top:17%;left:43%}.stage5-scene.location-records .stage5-hotspot.keyrack{width:38%;height:58%;top:4%;left:3%}.stage5-scene.location-records .stage5-hotspot.records-drawer{width:24%;height:13%;top:51%;left:42%}.stage5-scene.location-records .stage5-hotspot.blue-shelf{z-index:7;width:13%;height:8%;top:28%;left:51%}.stage5-scene.location-vestibule .stage5-hotspot.power{width:34%;height:51%;top:14%;left:2%}.stage5-scene.location-vestibule .stage5-hotspot.exit-cabinet{z-index:7;width:31%;height:23%;top:50%;left:6%}.stage5-scene.location-vestibule .stage5-hotspot.main-exit{width:41%;height:46%;top:18%;left:36%}.stage5-scene.location-vestibule .stage5-hotspot.emergency-exit{width:18%;height:48%;top:17%;left:80%}.stage5-hotspot span{opacity:0;background:var(--red);width:15px;height:15px;box-shadow:0 0 0 7px #d94b3d38,0 0 22px var(--red);border:2px solid #fff;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.stage5-hotspot.revealed span{opacity:1;animation:1.1s infinite pulse}.stage5-hotspot.ringing span{opacity:1;animation:.65s infinite pulse}.stage5-location-nav{z-index:8;pointer-events:none;justify-content:center;gap:8px;display:flex;position:absolute;bottom:58px;left:10px;right:10px}.stage5-location-nav button{color:#ddd5c7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto;background:#0a0b09e0;border:1px solid #d6cbb552;justify-content:center;align-items:center;gap:10px;width:min(220px,46%);min-height:46px;padding:8px 12px;display:flex}.stage5-location-nav button.hint-target{border-color:var(--red);color:#fff;background:#611410f0;animation:1.25s ease-in-out infinite hintPulse;box-shadow:0 0 0 1px #d94b3d33,0 0 22px #d94b3d5c}.stage5-location-nav b{color:var(--gold);font-size:18px}.stage5-location-nav span{font-size:11px;font-weight:800}.stage5-shutter{z-index:3;pointer-events:none;opacity:.28;background:repeating-linear-gradient(0deg,#0d0e0c 0 5px,#3a3a35 5px 7px);width:41%;height:22%;transition:transform .8s,opacity .8s;position:absolute;top:12%;left:36%}.stage5-shutter.raised{opacity:.12;transform:translateY(-92%)}.stage5-brief{border-color:#d0433552}.stage5-progress{counter-reset:exit-step;gap:8px;margin:18px 0 0;padding:0;list-style:none;display:grid}.stage5-progress li{counter-increment:exit-step;color:#77746a;background:#151613;border:1px solid #3d3c36;padding:11px 12px;font-size:13px}.stage5-progress li:before{content:"0" counter(exit-step);color:#9d7641;margin-right:12px;font:900 9px monospace}.stage5-progress li.done{color:#b9d2bd;background:#142019;border-color:#54745d}.stage5-progress li.done:after{content:" · COMPLETE";float:right;color:#72c584;font:900 8px monospace}.stage5-terminal{background:#0b0d0b;border:1px solid #49483f;gap:2px;margin:16px 0;display:grid}.stage5-terminal p{border-bottom:1px solid #292b27;justify-content:space-between;gap:15px;margin:0;padding:10px 12px;display:flex}.stage5-terminal p:last-child{border-bottom:0}.stage5-terminal span{color:#777d73;letter-spacing:.12em;font:900 9px monospace}.stage5-terminal b{color:#d8d5c8;font-size:13px}.stage5-terminal b.red{color:#ed4b3f}.modal:has(.stage5-signal-console){width:min(620px,100vw - 20px)}.stage5-signal-console{background-color:#0a0d0b;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:18px 18px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #55564d;margin:18px 0;padding:18px;box-shadow:inset 0 0 0 3px #121511,inset 0 0 0 4px #353a33}.stage5-signal-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(330px,100%);margin:0 auto 16px;display:grid}.stage5-signal-buttons button{aspect-ratio:1;color:#aaa99f;background:linear-gradient(#20231f,#121411);border:1px solid #50534c;place-items:center;gap:2px;min-height:0;padding:10px;display:grid;position:relative;box-shadow:inset 0 0 0 3px #0b0d0b}.stage5-signal-buttons button b{z-index:2;color:#d6b86f;font:1000 23px monospace;position:absolute;top:10px;left:12px}.stage5-signal-buttons button>i{aspect-ratio:1;background:#0b0d0b;border:3px solid #4f554e;border-radius:5px;width:45%;box-shadow:inset 0 0 0 5px #171a16}.stage5-signal-buttons button small{color:#6f746c;letter-spacing:.16em;font:900 8px monospace;position:absolute;bottom:9px;right:10px}.stage5-signal-buttons button.active{color:#fff;border-color:#b18a44;box-shadow:inset 0 0 0 3px #120d0b,0 0 12px #cda14847}.stage5-signal-buttons button:disabled:not(.missing){opacity:.48;cursor:default}.stage5-signal-buttons button.missing{color:#b65a50;background:repeating-linear-gradient(135deg,#100d0c 0 9px,#18110f 9px 18px);border:2px dashed #a3483e;box-shadow:inset 0 0 22px #050504}.stage5-signal-buttons button.missing b{color:#bd5b51}.stage5-signal-buttons button.missing>i{background:#080807;border-style:dashed;border-color:#7a3933;box-shadow:inset 0 0 0 5px #100c0b}.stage5-signal-buttons button.missing small{color:#cc665b}.stage5-signal-buttons button.lit{background:linear-gradient(#4b3915,#18140b);border-color:#f0c04f;box-shadow:inset 0 0 0 3px #171006,0 0 17px #ffcd4ec7}.stage5-signal-buttons button.lit>i{background:#ffd866;border-color:#f0c04f;box-shadow:inset 0 0 0 5px #5d4818,0 0 18px #ffcd4ef2}.stage5-signal-console>p{color:#9b9f96;text-align:center;letter-spacing:.12em;margin:0;font:900 10px monospace}.stage5-six-digit-code{grid-template-columns:repeat(6,1fr)}.stage5-records{grid-template-columns:repeat(4,1fr);gap:5px;margin:12px 0;display:grid}.stage5-records span{color:#c5bdac;text-align:center;border:1px solid #4a473d;padding:10px 4px;font:800 10px monospace}.stage5-records b{color:var(--gold)}.stage5-map{aspect-ratio:1.35;background-color:#d1c6ab;background-image:linear-gradient(90deg,#544b3a17 1px,#0000 1px),linear-gradient(#544b3a17 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:28px 28px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:8px solid #584d3a;width:min(390px,100%);margin:16px auto;position:relative;overflow:hidden;box-shadow:inset 0 0 28px #2e241647}.stage5-map .map-room,.stage5-map .map-desk,.stage5-map .map-main,.stage5-map .map-b1{color:#25231e;background:#d6ccb2e6;border:2px solid #51493c;place-items:center;font:900 11px monospace;display:grid;position:absolute}.stage5-map .map-room{color:#171511;text-shadow:0 1px #ffffff6b;background:linear-gradient(90deg,#624f3321,#0000 15% 85%,#624f3321),#d6ccb2e6;width:15%;height:31%;font:900 clamp(28px,9vw,42px)/1 Georgia,serif;box-shadow:inset 0 0 0 3px #6d5d421f}.stage5-map .r4{top:6%;left:8%}.stage5-map .r1{bottom:6%;left:8%}.stage5-map .r3{top:6%;left:30%}.stage5-map .r2{bottom:6%;left:30%}.stage5-map .map-desk{width:18%;height:38%;top:31%;left:55%}.stage5-map .map-main{color:#9d2119;border-color:#9d2119;width:19%;height:31%;top:6%;right:2%}.stage5-map .map-b1{color:#9d2119;border-color:#9d2119;width:19%;height:31%;bottom:6%;right:2%}.stage5-map i{z-index:3;background:#9d2119;height:4px;display:block;position:absolute}.stage5-map .route-a{width:8%;top:48%;left:49%}.stage5-map .route-b{width:9%;top:20%;right:20%;transform:rotate(-25deg)}.stage5-map .route-c{width:9%;bottom:20%;right:20%;transform:rotate(25deg)}.modal:has(.stage5-bookcase){width:min(520px,100vw - 18px)}.stage5-bookcase{background:linear-gradient(90deg,#ffffff09 1px,#0000 1px) 0 0/33.333% 100%,linear-gradient(#26180e,#120c08) 0 0/100% 33.333%;border:8px solid #4a301b;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:min(390px,100%);margin:18px auto 12px;padding:13px;display:grid;box-shadow:inset 0 0 24px #050302,0 4px #1d120a,0 8px 22px #0000008c}.stage5-bookcase button{aspect-ratio:.9;cursor:pointer;background:linear-gradient(145deg,#1b130d,#090706);border:2px solid #593b22;border-bottom-width:7px;place-items:end center;min-width:0;padding:8px 10px 6px;display:grid;box-shadow:inset 0 0 13px #000}.stage5-bookcase button span{color:#aa9167;background:linear-gradient(90deg,#2d291f,#50442e 20%,#3b3527 80%,#211e18);border:1px solid #76603e;border-radius:2px 3px 1px 1px;place-items:end center;width:58%;height:88%;transition:transform .16s,filter .16s;display:grid;position:relative;box-shadow:inset 4px 0 6px #ffffff0a,4px 2px 8px #000}.stage5-bookcase button:nth-child(3n+2) span{background:linear-gradient(90deg,#272b28,#49514a 20%,#353d38 80%,#1b201d)}.stage5-bookcase button:nth-child(3n) span{background:linear-gradient(90deg,#302322,#543734 20%,#402a29 80%,#211716)}.stage5-bookcase button span:before{content:"";border-top:1px solid #8a7048;border-bottom:1px solid #8a7048;height:16%;position:absolute;top:14%;left:13%;right:13%}.stage5-bookcase button i{background:#caad6f38;width:2px;position:absolute;top:4%;bottom:4%;left:11%}.stage5-bookcase button b{letter-spacing:.12em;margin-bottom:9px;font:700 8px monospace}.stage5-bookcase button.pressed{background:#120e09;border-color:#9b7640}.stage5-bookcase button.pressed span{filter:brightness(1.32);transform:translateY(9px)scale(.96)}.stage5-book-progress{color:#c9b382;text-align:center;background:#0d0e0c;border:1px solid #4a4437;width:min(390px,100%);margin:0 auto 12px;padding:10px 12px}.stage5-book-progress span{color:var(--gold);letter-spacing:.35em;font:900 13px monospace;display:block}.stage5-book-progress p{color:#a8a197;min-height:34px;margin:7px 0 0;font-size:11px;line-height:1.45}.modal:has(.stage5-sigil-board){width:min(520px,100vw - 18px)}.stage5-sigil-board{background:#090807;border:8px solid #3d2a20;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;width:min(390px,100%);margin:18px auto 10px;padding:9px;display:grid;box-shadow:inset 0 0 22px #000,0 8px 24px #0000008c}.stage5-sigil-board button{aspect-ratio:1;cursor:pointer;background:linear-gradient(145deg,#28211d,#120f0d);border:1px solid #4d3930;min-width:0;padding:3px}.stage5-sigil-board button span{background-image:radial-gradient(circle,#0000 0 23%,#9f3b31 24% 27%,#0000 28%),linear-gradient(90deg,#0000 48%,#b44839 49% 51%,#0000 52%),linear-gradient(#0000 48%,#b44839 49% 51%,#0000 52%),linear-gradient(45deg,#0000 48.5%,#7f3029 49% 51%,#0000 51.5%),linear-gradient(-45deg,#0000 48.5%,#7f3029 49% 51%,#0000 51.5%),radial-gradient(circle,#2c1a17,#100d0c 72%);background-size:400% 400%;border:1px solid #99443633;width:100%;height:100%;display:block;box-shadow:inset 0 0 10px #000000bf}.stage5-sigil-board button.selected{border-color:#e25a47;box-shadow:0 0 0 2px #e25a4780,0 0 15px #d140308c}.stage5-sigil-message{color:#c8b2a9;text-align:center;background:#0d0b0a;border:1px solid #4a3932;width:min(390px,100%);min-height:42px;margin:0 auto 12px;padding:10px 12px;font-size:11px}.stage5-sigil-actions{grid-template-columns:1fr 1.4fr;gap:8px;display:grid}.stage5-sigil-actions button{color:#d4c8b9;background:#1b1916;border:1px solid #554a40;min-height:48px;font-weight:900}.stage5-sigil-actions button.primary{border-color:var(--red);color:#fff;background:var(--red)}.stage5-key-rack{grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0;display:grid}.stage5-key-rack button{color:#d4cbb9;cursor:pointer;background:linear-gradient(#23241f,#141512);border:1px solid #514b3f;place-items:center;gap:3px;min-height:116px;display:grid}.stage5-key-rack button i{background:#a57f42;border-radius:5px 5px 1px 1px;width:8px;height:35px;box-shadow:0 0 0 2px #3e321f}.stage5-key-rack button b{font:900 23px serif}.stage5-key-rack button small{color:var(--gold);font-size:16px}.stage5-key-rack button.pressed{border-color:var(--gold);transform:translateY(7px);box-shadow:inset 0 0 18px #b98b4438}.stage5-lights-grid{background:#090b09;border:1px solid #5b5547;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:18px 0 12px;padding:12px;display:grid;box-shadow:inset 0 0 24px #000c}.stage5-light{aspect-ratio:1;cursor:pointer;background:linear-gradient(145deg,#242721,#10120f);border:1px solid #3d4039;min-width:0;padding:0;position:relative}.stage5-light i{background:#151815;border:1px solid #4b5048;border-radius:50%;position:absolute;inset:28%;box-shadow:inset 0 0 5px #050605}.stage5-light.on{background:linear-gradient(145deg,#3a3020,#17150f);border-color:#96733e}.stage5-light.on i{background:#ffd568;border-color:#f0c76b;box-shadow:0 0 7px #ffc64b,0 0 15px #ffba398c}.stage5-light.hint-target{z-index:2;border-color:#ffe083;animation:1s ease-in-out infinite stage5-light-hint;box-shadow:0 0 0 3px #ffd35bf2,0 0 20px #ffbe2ed1}.stage5-light.hint-target em{z-index:3;color:#fff0b8;letter-spacing:.08em;text-shadow:0 1px 3px #000,0 0 7px #ffb52f;pointer-events:none;font:900 clamp(8px,2.2vw,11px) monospace;position:absolute;top:5px;left:50%;transform:translate(-50%)}@keyframes stage5-light-hint{0%,to{box-shadow:0 0 0 2px #ffd35bb8,0 0 10px #ffbe2e73}50%{box-shadow:0 0 0 4px #ffe083,0 0 24px #ffbe2ef2}}.stage5-light:disabled{cursor:default}.modal:has(.stage5-lights-grid){width:min(700px,100vw - 20px)}.stage5-input-readout{color:var(--gold);text-align:center;letter-spacing:.14em;background:#0c0d0b;border:1px solid #49463d;padding:12px;font:900 13px monospace}.stage5-transfer-button{color:#f1deaf;background:#322816;border:1px solid #806333;width:100%;min-height:48px;margin:5px 0 8px;font-weight:900}.stage5-transfer-button:disabled{opacity:.32;cursor:not-allowed}.stage5-power-panel{gap:7px;margin:18px 0;display:grid}.stage5-power-panel button{color:#aaa69b;text-align:left;background:#171916;border:1px solid #45463f;grid-template-columns:1fr auto 50px;align-items:center;min-height:58px;padding:9px 12px;display:grid}.stage5-power-panel button b{color:#e34c41;font:900 11px monospace}.stage5-power-panel button i{background:#2a2925;border-radius:18px;width:44px;height:24px;position:relative;box-shadow:inset 0 0 0 2px #090a09}.stage5-power-panel button i:after{content:"";background:#77746c;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:4px;left:4px}.stage5-power-panel button.on{color:#d8e0d5;background:#17221a;border-color:#58725d}.stage5-power-panel button.on b{color:#6bd17f}.stage5-power-panel button.on i:after{background:#6bd17f;transform:translate(20px);box-shadow:0 0 8px #6bd17f}.modal:has(.stage5-final-circuit){width:min(610px,100vw - 16px)}.stage5-final-circuit{background-color:#0a0d0b;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:16px 16px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #4e5048;width:100%;margin:20px auto 16px;padding:38px 54px 42px;position:relative;box-shadow:inset 0 0 0 3px #141713,inset 0 0 0 4px #343832}.stage5-final-grid{z-index:2;background:#0d100e;border:1px solid #454a44;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:6px;display:grid;position:relative}.stage5-final-grid .circuit-tile{aspect-ratio:1;width:100%;min-width:0;min-height:0}.stage5-final-grid .circuit-tile small{display:none}.stage5-final-grid .circuit-tile>b{color:#777d75;opacity:.72}.stage5-final-grid .circuit-wire{filter:none;display:block;inset:6px;color:#9ca29a!important;opacity:1!important;visibility:visible!important}.stage5-final-grid .circuit-wire span{background:currentColor;box-shadow:0 0 5px #b1b8ae47}.stage5-final-grid .circuit-tile.powered .circuit-wire{filter:brightness(1.18);color:#ffd777!important}.stage5-final-grid .circuit-tile.powered .circuit-wire span{box-shadow:0 0 8px}.stage5-final-circuit.power-success .stage5-final-grid .circuit-tile.powered{animation:.7s ease-in-out 3 stage5-power-pulse}.stage5-final-circuit.power-success .stage5-final-terminal{animation:.7s ease-in-out 3 stage5-terminal-pulse}@keyframes stage5-power-pulse{0%,to{filter:brightness();border-color:#8f7035}50%{filter:brightness(1.8);border-color:#fff2a0;box-shadow:inset 0 0 16px #ffe66861,0 0 12px #ffd8587a}}@keyframes stage5-terminal-pulse{0%,to{opacity:.7}50%{opacity:1;color:#fff4a2;text-shadow:0 0 8px #ffe05e}}.stage5-final-terminal{z-index:3;color:#8a8f87;letter-spacing:.06em;white-space:nowrap;background:#0a0d0b;padding:3px 5px;font:900 8px monospace;position:absolute}.stage5-final-terminal:after{content:"";background:#596059;width:24px;height:2px;position:absolute}.stage5-final-terminal.terminal-shutter{top:53px;left:5px}.stage5-final-terminal.terminal-shutter:after,.stage5-final-terminal.terminal-light:after,.stage5-final-terminal.terminal-power:after{top:50%;left:100%}.stage5-final-terminal.terminal-lock{top:5px;left:62%;transform:translate(-50%)}.stage5-final-terminal.terminal-lock:after{width:2px;height:25px;top:100%;left:50%}.stage5-final-terminal.terminal-alarm{top:38%;right:5px;transform:translateY(-50%)}.stage5-final-terminal.terminal-alarm:after{top:50%;right:100%}.stage5-final-terminal.terminal-light{bottom:54px;left:5px}.stage5-final-terminal.terminal-power{color:#e6bd61;top:62%;left:5px;transform:translateY(-50%)}.stage5-power-status{grid-template-columns:repeat(4,1fr);gap:5px;margin:10px 0 16px;display:grid}.stage5-power-status span{color:#74776f;text-align:center;border:1px solid #3d403a;padding:8px 4px;font:900 8px monospace}.stage5-power-status span.on{color:#72c584;border-color:#55775d}.stage5-power-status span.off{color:#e05a4e;border-color:#6f423c}.modal:has(.stage5-mixer){width:min(1120px,100vw - 16px)}.stage5-mixer{background:linear-gradient(#ffffff06 1px,#0000 1px) 0 0/18px 18px,linear-gradient(90deg,#ffffff06 1px,#0000 1px) 0 0/18px 18px,radial-gradient(circle at 50% 20%,#202520,#0a0d0c 62%);border:1px solid #544b38;border-radius:4px;margin:18px 0 12px;padding:16px;box-shadow:inset 0 0 0 4px #111512,inset 0 0 30px #000,0 8px 22px #00000073}.stage5-wire-sources{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;display:grid}.stage5-wire-sources .source{background:#111411;border:1px solid #3b403b;grid-template-columns:22px 1fr;align-items:center;gap:3px 8px;padding:9px;display:grid}.stage5-wire-sources .source i{background:currentColor;border-radius:50%;grid-row:span 2;width:18px;height:18px;box-shadow:0 0 12px}.stage5-wire-sources .source b{color:currentColor;font:900 10px monospace}.stage5-wire-sources .source span{color:#8d5d55;font:800 7px monospace}.stage5-wire-sources .source span.installed{color:#73bf7d}.stage5-wire-sources .red{color:#ef5045}.stage5-wire-sources .yellow{color:#f0c331}.stage5-wire-sources .blue{color:#3b8cff}.stage5-mix-board{gap:7px;display:grid}.stage5-mix-channel{background:#080a09d1;border:1px solid #343a35;grid-template-columns:1fr 92px;align-items:stretch;min-height:58px;display:grid}.mix-pipe{justify-content:center;align-items:center;gap:14px;display:flex;position:relative}.mix-pipe:before{content:"";background:#4f554e;height:5px;position:absolute;top:50%;left:8%;right:5%;box-shadow:inset 0 1px #81877e,0 2px 4px #000}.mix-socket{z-index:2;color:#ddd;background:#101310;border:2px solid;border-radius:20px;min-width:72px;padding:9px 7px;font:900 9px monospace;position:relative;box-shadow:0 0 10px}.mix-socket.red{color:#ef5045}.mix-socket.yellow{color:#f0c331}.mix-socket.blue{color:#3b8cff}.mix-socket:disabled{cursor:default;opacity:.55}.mix-junction{z-index:2;color:#c5aa6a;background:#25271f;border:2px solid #817353;place-items:center;width:25px;height:25px;font-weight:900;display:grid;position:relative;transform:rotate(45deg)}.mix-junction:first-letter{transform:rotate(-45deg)}.mix-output{color:#777;background:#121411;border-left:1px solid #44483f;align-content:center;place-items:center;gap:4px;display:grid}.mix-output i{background:#181a17;border:2px solid;border-radius:50%;width:27px;height:27px}.mix-output b{font:900 9px monospace}.stage5-mix-channel.orange .mix-output{color:#f08a26}.stage5-mix-channel.green .mix-output{color:#74c73c}.stage5-mix-channel.purple .mix-output{color:#b25ce3}.stage5-mix-channel.correct .mix-output i,.stage5-mixer.solved .mix-output i{background:currentColor;box-shadow:0 0 20px}.stage5-mix-channel.wrong{border-color:#753d38}.stage5-mix-meter{color:#9bbf6a;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin-top:12px;font:900 9px monospace;display:grid}.stage5-mix-meter i{background:#080a08;border:1px solid #475044;height:9px;overflow:hidden}.stage5-mix-meter i b{background:linear-gradient(90deg,#6cac3d,#e4bf37,#e95445);height:100%;transition:width .35s;display:block}.stage5-install-wire,.stage5-disassemble-button{color:#d8d0c1;background:#171914;border:1px solid #665c45;width:100%;margin:5px 0;padding:11px;font-weight:900}.stage5-install-wire.red{border-color:#8a413b}.stage5-install-wire.blue{border-color:#315a89}.stage5-wire-requirement{color:#f0b0a9;text-align:center;letter-spacing:.04em;background:#25110f;border:1px solid #8c413b;margin:10px 0;padding:11px 12px;font:900 11px monospace;box-shadow:inset 0 0 18px #b531271f}.stage5-routing-help{background:#111410;border:1px solid #464a42;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;padding:9px 11px;display:flex}.stage5-routing-help b{color:#d5b769;letter-spacing:.08em;font:900 9px monospace}.stage5-routing-help span{color:#8f948b;font-size:9px}.stage5-splitter-network{gap:7px;display:grid}.stage5-splitter-row{color:#aaa;background:#080a09d9;border:1px solid #343932;grid-template-columns:82px 36px 76px minmax(0,1fr);align-items:center;min-height:82px;padding:7px;display:grid}.stage5-splitter-row.red{color:#ef5045}.stage5-splitter-row.yellow{color:#f0c331}.stage5-splitter-row.blue{color:#3b8cff}.stage5-splitter-row.empty{opacity:.52}.route-source{background:#121511;border:1px solid;grid-template-columns:20px 1fr;align-items:center;gap:2px 7px;padding:8px;display:grid}.route-source i{background:currentColor;border-radius:50%;grid-row:span 2;width:17px;height:17px;box-shadow:0 0 12px}.route-source b{font:900 9px monospace}.route-source small{color:#8c9288;font:800 6px monospace}.route-wire{background:#4a4e47;height:7px;position:relative;box-shadow:inset 0 1px #858a80,0 2px 3px #000}.route-wire span{opacity:.65;filter:blur(.3px);background:currentColor;position:absolute;inset:-2px}.route-splitter{clip-path:polygon(50% 2%,98% 94%,2% 94%);filter:drop-shadow(0 2px 2px #000);background:linear-gradient(135deg,#403923,#171812);align-content:center;place-items:center;width:68px;height:64px;display:grid;position:relative}.route-splitter:after{content:"";clip-path:polygon(50% 0,100% 100%,0 100%);border:1px solid #8b7847;position:absolute;inset:5px}.route-splitter span,.route-splitter b{z-index:1;color:#d1b367;font:800 7px monospace;position:relative}.route-splitter b{font-size:14px}.route-splitter i{background:#54594f;height:5px;position:absolute;bottom:2px;left:15%;right:15%}.route-terminal-bank{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-left:8px;display:grid}.route-terminal-bank button{color:#797e76;background:#0b0e0b;border:1px solid #454a43;align-content:center;place-items:center;gap:2px;min-width:0;min-height:58px;padding:5px 2px;display:grid;position:relative}.route-terminal-bank button:before{content:"";background:#555a52;width:9px;height:3px;position:absolute;top:50%;left:-9px;transform:translateY(-50%)}.route-terminal-bank strong{color:#c8b783;font:900 8px monospace}.route-terminal-bank button>i{background:#111410;border:2px solid #61665e;border-radius:50%;width:17px;height:17px;box-shadow:inset 0 0 0 3px #080a08}.route-terminal-bank em{color:#777c74;font:900 8px monospace}.route-terminal-bank small{color:#ae9452;font:700 5px monospace;position:absolute;bottom:2px;right:2px}.route-terminal-bank button.active{color:inherit;background:currentColor;border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.route-terminal-bank button.active{background:color-mix(in srgb,currentColor 12%,#0b0e0b)}}.route-terminal-bank button.active{box-shadow:inset 0 0 12px}@supports (color:color-mix(in lab, red, red)){.route-terminal-bank button.active{box-shadow:inset 0 0 12px color-mix(in srgb,currentColor 20%,transparent)}}.route-terminal-bank button.active>i{background:currentColor;border-color:currentColor;box-shadow:0 0 10px,inset 0 0 0 4px #151815}.route-terminal-bank button.blocked em{color:#e25d51;font-size:11px}.route-terminal-bank button.blocked.active{border-color:#8a3c36;box-shadow:inset 0 0 12px #bf372d38}.stage5-mixer-rack{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px;display:grid}.route-mixer{color:#777d73;background:linear-gradient(145deg,#1c201b,#0b0e0b);border:1px solid #44493f;min-width:0;padding:9px 8px 12px;position:relative}.route-mixer>span{color:#bda35e;font:800 7px monospace}.route-mixer>b{margin-top:6px;font:900 11px monospace;display:block}.route-mixer>small{color:#aaa28e;margin-top:3px;font:700 6px monospace;display:block}.route-mixer>em{background:#111410;border:2px solid;border-radius:50%;width:22px;height:22px;position:absolute;top:14px;right:9px}.route-mixer.orange{color:#f08a26}.route-mixer.green{color:#74c73c}.route-mixer.purple{color:#b25ce3}.route-mixer.lit{border-color:currentColor;box-shadow:inset 0 0 18px}@supports (color:color-mix(in lab, red, red)){.route-mixer.lit{box-shadow:inset 0 0 18px color-mix(in srgb,currentColor 16%,transparent)}}.route-mixer.lit>em{background:currentColor;box-shadow:0 0 18px}.route-mixer.wrong{opacity:.64}.route-mixer-inputs{gap:4px;min-height:18px;margin-top:7px;display:flex}.route-mixer-inputs i{background:currentColor;border:2px solid;border-radius:50%;width:15px;height:15px;box-shadow:0 0 7px}.route-mixer-inputs i.red{color:#ef5045}.route-mixer-inputs i.yellow{color:#f0c331}.route-mixer-inputs i.blue{color:#3b8cff}.route-mixer-inputs i.empty{color:#3d423c;box-shadow:none;background:#111410}.stage5-route-status{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px;display:grid}.stage5-route-status span{color:#666c64;text-align:center;border:1px solid #353a34;padding:7px 4px;font:900 7px monospace}.stage5-route-status span i{background:#242824;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.stage5-route-status span.on.orange{color:#f08a26;border-color:#7a501f}.stage5-route-status span.on.green{color:#74c73c;border-color:#496a2c}.stage5-route-status span.on.purple{color:#b25ce3;border-color:#6a3a85}.stage5-route-status span.on i{background:currentColor;box-shadow:0 0 8px}.stage5-mixer-scroll{overscroll-behavior-inline:contain;scrollbar-color:#74643c #11140f;width:100%;overflow-x:auto}.stage5-mixer.industrial{background:linear-gradient(#ffffff05 1px,#0000 1px) 0 0/20px 20px,linear-gradient(90deg,#ffffff05 1px,#0000 1px) 0 0/20px 20px,radial-gradient(circle at 45% 34%,#242924,#090c0a 68%);border:2px solid #574b31;min-width:920px;margin:18px 0 12px;padding:12px;box-shadow:inset 0 0 0 4px #0e110e,inset 0 0 0 5px #3e4036,inset 0 0 45px #000,0 8px 24px #000000a6}.modal:has(.stage5-three-stage-board){width:min(620px,100vw - 16px)}.stage5-three-stage-board{--metal:#171b18;--metal-edge:#73613c;border:2px solid var(--metal-edge);color:#d8ceb5;font-family:var(--font-mono),monospace;background:radial-gradient(circle at 12px 12px,#897650 0 2px,#282c25 3px 5px,#0000 6px),radial-gradient(circle at calc(100% - 12px) 12px,#897650 0 2px,#282c25 3px 5px,#0000 6px),linear-gradient(145deg,#252a25,#0d100e 58%,#191d19);border-radius:7px;margin:12px 0;padding:10px;box-shadow:inset 0 0 0 2px #080a08,inset 0 0 35px #000,0 12px 30px #00000073}.stage5-board-title{border-bottom:1px solid #4d452f;justify-content:space-between;align-items:center;gap:8px;padding:5px 8px 9px;display:flex}.stage5-board-title span{color:#8f8977;text-align:right;font-size:7px}.stage5-wire-tier{background:#03050459;border:1px solid #353a31;padding:8px 5px}.stage5-wire-tier>header{grid-template-columns:22px 1fr auto;align-items:center;gap:6px;margin-bottom:8px;display:grid}.stage5-wire-tier>header>b{color:#f1c967;background:#171912;border:1px solid #8e7742;border-radius:50%;place-items:center;width:22px;height:22px;font-size:11px;display:grid}.stage5-wire-tier>header>span{color:#d6caa8;letter-spacing:.12em;font-size:9px;font-weight:900}.stage5-wire-tier>header>small{color:#8f8977;font-size:7px}.stage5-primary-grid,.stage5-mixer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.stage5-cable-source{min-width:0;color:var(--wire);cursor:grab;background:linear-gradient(#222721,#0b0e0b);border:1px solid #494c40;border-radius:5px;padding:7px 3px 6px;position:relative}.stage5-cable-source.red{--wire:#f04b40}.stage5-cable-source.yellow{--wire:#f0c843}.stage5-cable-source.blue{--wire:#3f8fff}.stage5-cable-source.selected{border-color:var(--wire);box-shadow:0 0 14px var(--wire),inset 0 0 10px var(--wire)}@supports (color:color-mix(in lab, red, red)){.stage5-cable-source.selected{box-shadow:0 0 14px color-mix(in srgb,var(--wire) 55%,transparent),inset 0 0 10px color-mix(in srgb,var(--wire) 18%,transparent)}}.stage5-cable-source.selected{transform:translateY(-2px)}.stage5-cable-source.missing{opacity:.33;cursor:not-allowed;filter:grayscale(.7)}.stage5-cable-source b,.stage5-cable-source small{display:block}.stage5-cable-source b{letter-spacing:.08em;margin-top:3px;font-size:9px}.stage5-cable-source small{color:#817d70;font-size:6px}.cable-coil{justify-content:center;align-items:center;height:23px;display:flex}.cable-coil i{border:4px solid var(--wire);width:19px;height:19px;box-shadow:0 0 8px var(--wire),inset 0 0 0 2px #050605;background:#10130f;border-radius:50%;margin:0 -5px;display:block}@supports (color:color-mix(in lab, red, red)){.cable-coil i{box-shadow:0 0 8px color-mix(in srgb,var(--wire) 58%,transparent),inset 0 0 0 2px #050605}}.stage5-tier-flow{color:#8e7e55;letter-spacing:.08em;justify-content:center;align-items:center;gap:8px;height:25px;font-size:7px;display:flex}.stage5-tier-flow i{background:linear-gradient(90deg,#0000,#786942);width:25%;height:2px}.stage5-tier-flow i:last-child{transform:scaleX(-1)}.stage5-mix-module{--mix:#aaa;text-align:center;background:linear-gradient(#262922,#0b0d0b);border:1px solid #4c4a3c;border-radius:4px;min-width:0;padding:6px 4px;position:relative}.stage5-mix-module.orange{--mix:#ff922e}.stage5-mix-module.purple{--mix:#c56aff}.stage5-mix-module.green{--mix:#63db55}@supports (color:color-mix(in lab, red, red)){.stage5-mix-module.ready{box-shadow:inset 0 0 13px color-mix(in srgb,var(--mix) 16%,transparent),0 0 10px color-mix(in srgb,var(--mix) 20%,transparent)}}.stage5-mix-inputs{justify-content:center;gap:6px;margin-bottom:5px;display:flex}.stage5-cable-socket,.stage5-final-socket{--socket:#716d60;border:2px solid var(--socket);width:25px;height:25px;color:var(--socket);box-shadow:inset 0 0 0 3px #1c201b,0 0 7px var(--socket);background:#050705;border-radius:50%;place-items:center;padding:0;font:900 8px monospace;display:grid}@supports (color:color-mix(in lab, red, red)){.stage5-cable-socket,.stage5-final-socket{box-shadow:inset 0 0 0 3px #1c201b,0 0 7px color-mix(in srgb,var(--socket) 40%,transparent)}}.stage5-cable-socket.red,.stage5-final-socket.red{--socket:#f04b40}.stage5-cable-socket.yellow,.stage5-final-socket.yellow{--socket:#f0c843}.stage5-cable-socket.blue,.stage5-final-socket.blue{--socket:#3f8fff}.stage5-final-socket.orange{--socket:#ff922e}.stage5-final-socket.purple{--socket:#c56aff}.stage5-final-socket.green{--socket:#63db55}.stage5-cable-socket i,.stage5-final-socket i{display:none}.stage5-mix-core{place-items:center;gap:2px;display:grid}.stage5-mix-core small{color:#777466;font-size:6px}.stage5-mix-core>i{background:#060706;border:1px solid #5b594c;border-radius:9px;width:24px;height:12px;display:block}.stage5-mix-module.ready .stage5-mix-core>i{border-color:var(--mix);background:var(--mix);box-shadow:0 0 13px var(--mix)}.stage5-mix-core b{color:var(--mix);letter-spacing:.07em;font-size:8px}.stage5-splitter-mark{color:#95845c;height:20px;margin-top:3px;font-size:5px;position:relative}.stage5-splitter-mark span{z-index:1;background:#171912;border:1px solid #70613d;padding:1px 4px;position:relative}.stage5-splitter-mark i{border-bottom:2px solid #817049;width:38%;height:12px;position:absolute;bottom:0;left:50%}.stage5-branch-pair{justify-content:space-around;gap:5px;display:flex}.stage5-branch-cable{border:1px solid var(--mix);width:29px;height:23px;color:var(--mix);cursor:grab;background:#0b0d0b;border-radius:3px;padding:0;font:900 7px monospace}.stage5-branch-cable i{background:var(--mix);width:10px;height:3px;box-shadow:0 0 5px var(--mix);vertical-align:middle;border-radius:4px;margin-right:2px;display:inline-block}.stage5-branch-cable.selected{background:var(--mix);color:#080908;box-shadow:0 0 12px var(--mix);transform:translateY(2px)}.stage5-branch-cable.routed:not(.selected){opacity:.55}.stage5-final-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.stage5-final-module{--final:#aaa;text-align:center;background:#10130f;border:1px solid #484a40;border-radius:4px;min-width:0;padding:6px 2px}.stage5-final-module.green{--final:#63db55}.stage5-final-module.yellow{--final:#f0c843}.stage5-final-module.blue{--final:#3f8fff}.stage5-final-module.red{--final:#f04b40}.stage5-final-module>b{color:var(--final);letter-spacing:.05em;margin-bottom:5px;font-size:8px;display:block}.stage5-final-module>div{justify-content:center;gap:3px;display:flex}.stage5-final-module>small{color:#777466;overflow-wrap:anywhere;min-height:16px;margin-top:4px;font-size:5px;display:block}.stage5-final-module.lit{border-color:var(--final);background:var(--final)}@supports (color:color-mix(in lab, red, red)){.stage5-final-module.lit{background:color-mix(in srgb,var(--final) 10%,#10130f)}}.stage5-final-module.lit{box-shadow:0 0 14px var(--final)}@supports (color:color-mix(in lab, red, red)){.stage5-final-module.lit{box-shadow:0 0 14px color-mix(in srgb,var(--final) 45%,transparent)}}.stage5-final-module.lit>b{text-shadow:0 0 8px var(--final)}.stage5-board-controls{background:#090b09;border:1px solid #4f4934;grid-template-columns:1fr 1fr 92px;align-items:center;gap:8px;margin-top:8px;padding:7px;display:grid}.stage5-board-status{color:#8f8977;gap:8px;font-size:6px;display:flex}.stage5-board-status b{color:#e5d6aa}.stage5-power-meter{background:#030403;border:1px solid #5e594a;height:8px;padding:1px}.stage5-power-meter i{background:linear-gradient(90deg,#62bd4f,#e2bd3c,#e04c39);max-width:100%;height:100%;transition:width .25s;display:block}.stage5-final-mix-button{color:#baff76;letter-spacing:.08em;background:linear-gradient(#17301a,#071208);border:2px solid #8e7742;min-height:36px;font:1000 16px monospace;box-shadow:inset 0 0 10px #000,0 0 8px #75ff5233}@media (width<=540px){.modal:has(.stage5-three-stage-board){padding:18px 8px 12px}.stage5-three-stage-board{margin-inline:-2px;padding:7px}.stage5-board-title{align-items:flex-start}.stage5-board-title span{max-width:150px}.stage5-wire-tier{padding-inline:4px}.stage5-wire-tier>header{grid-template-columns:22px 1fr}.stage5-wire-tier>header>small{grid-column:2;margin-top:-6px}.stage5-primary-grid,.stage5-mixer-grid{gap:4px}.stage5-cable-source{padding-inline:1px}.stage5-mix-module{padding-inline:2px}.stage5-mix-inputs{gap:3px}.stage5-cable-socket,.stage5-final-socket{width:23px;height:23px}.stage5-final-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage5-final-module>small{min-height:8px}.stage5-board-controls{grid-template-columns:1fr 88px}.stage5-board-status{grid-column:1/-1;justify-content:center}}.stage5-panel-header{background:#10130f;border:1px solid #3c4038;justify-content:space-between;align-items:center;min-height:30px;margin-bottom:7px;padding:7px 11px;display:flex}.stage5-panel-header b{color:#c9aa5e;letter-spacing:.08em;font:900 10px monospace}.stage5-panel-header span{color:#858a80;font:700 8px monospace}.stage5-industrial-network{gap:6px;display:grid}.industrial-row{color:#aaa;background:#080a08e0;border:1px solid #343830;grid-template-columns:118px 112px 42px 86px 42px 112px 104px 132px;align-items:center;gap:6px;min-height:128px;padding:7px;display:grid}.industrial-row.red{color:#ef5045}.industrial-row.yellow{color:#f0c331}.industrial-row.blue{color:#3b8cff}.industrial-row.empty{opacity:.52}.industrial-source{background:linear-gradient(145deg,#24241d,#10130f);border:1px solid #4c4a3d;grid-template-rows:auto 1fr auto;place-items:center;height:104px;padding:8px;display:grid;box-shadow:inset 0 0 0 3px #0b0e0b,inset 0 0 18px #000c}.industrial-source b{color:currentColor;text-shadow:0 0 8px;font:900 14px monospace}.industrial-source>i{background:currentColor;border:3px solid #373c35;border-radius:17px;width:72px;height:32px;box-shadow:0 0 18px,inset 0 0 10px #ffffff6b}.industrial-source span{color:#92988d;font:800 7px monospace}.industrial-terminal-pair{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.industrial-terminal{color:#757b72;background:#0b0e0b;border:1px solid #42473f;align-content:center;place-items:center;gap:3px;height:75px;display:grid;position:relative}.industrial-terminal strong{color:#c8ac65;font:900 10px monospace;position:absolute;top:4px;left:5px}.industrial-terminal>i{background:#0c0f0c;border:3px solid #5c6259;border-radius:50%;width:29px;height:29px;box-shadow:inset 0 0 0 5px #171a16}.industrial-terminal em{color:#777d74;font:900 9px monospace}.industrial-terminal small{color:#b39957;font:700 5px monospace;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.industrial-terminal.active{color:inherit;border-color:currentColor;box-shadow:inset 0 0 15px}@supports (color:color-mix(in lab, red, red)){.industrial-terminal.active{box-shadow:inset 0 0 15px color-mix(in srgb,currentColor 15%,transparent)}}.industrial-terminal.active>i{background:currentColor;border-color:currentColor;box-shadow:0 0 13px,inset 0 0 0 6px #171a16}.industrial-terminal.blocked em{color:#e25d51;font-size:14px}.industrial-terminal.blocked.active{border-color:#833a34}.industrial-pipe{background:#4c514a;height:7px;position:relative;box-shadow:inset 0 1px #898f83,0 2px 3px #000}.industrial-pipe:before,.industrial-pipe:after{content:"";background:#1b1f1a;border:2px solid #676d63;border-radius:4px;width:12px;height:17px;position:absolute;top:-5px}.industrial-pipe:before{left:-3px}.industrial-pipe:after{right:-3px}.industrial-pipe span{z-index:2;color:#c2a45b;background:#191b15;border:1px solid #7e6b3f;padding:2px 3px;font:700 5px monospace;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.industrial-splitter{clip-path:polygon(50% 1%,99% 96%,1% 96%);filter:drop-shadow(0 3px 3px #000);background:linear-gradient(145deg,#423921,#171912);align-content:center;place-items:center;width:82px;height:86px;display:grid;position:relative}.industrial-splitter:after{content:"";clip-path:polygon(50% 0,100% 100%,0 100%);border:2px solid #806d40;position:absolute;inset:6px}.industrial-splitter span,.industrial-splitter b{z-index:1;color:#d1b467;font:800 8px monospace;position:relative}.industrial-splitter b{font-size:18px}.industrial-splitter i,.industrial-splitter em{z-index:2;background:#11140f;border:2px solid #70613b;border-radius:50%;width:16px;height:16px;position:absolute;bottom:5px}.industrial-splitter i{left:12px}.industrial-splitter em{right:12px}.industrial-mixer{color:#c4a75f;background:linear-gradient(145deg,#28291f,#10130f);border:1px solid #655a3b;grid-template-columns:1fr auto;align-content:center;gap:4px 8px;height:94px;padding:9px;display:grid;box-shadow:inset 0 0 0 3px #0c0f0c}.industrial-mixer>span{font:800 8px monospace}.industrial-mixer>b{font:900 18px monospace}.industrial-mixer>div{grid-column:1/-1;align-items:center;gap:5px;min-height:25px;display:flex}.industrial-mixer>div i{background:currentColor;border:2px solid;border-radius:50%;width:20px;height:20px;box-shadow:0 0 8px}.industrial-mixer>div i.red{color:#ef5045}.industrial-mixer>div i.yellow{color:#f0c331}.industrial-mixer>div i.blue{color:#3b8cff}.industrial-mixer>div i.empty{color:#444a42;box-shadow:none;background:#11140f}.industrial-mixer.wrong{border-color:#733e39}.industrial-lamp{color:#777;background:linear-gradient(145deg,#24251e,#0e110e);border:1px solid #49483d;grid-template-rows:auto 1fr auto;grid-template-columns:1fr 58px;align-items:center;gap:4px;height:106px;padding:8px;display:grid}.industrial-lamp.orange{color:#f08a26}.industrial-lamp.green{color:#74c73c}.industrial-lamp.purple{color:#b25ce3}.industrial-lamp b{font:900 12px monospace}.industrial-lamp>i{background:#161914;border:4px solid;border-radius:50%;grid-area:1/2/4;width:52px;height:52px;box-shadow:inset 0 0 0 5px #0d100d}.industrial-lamp small{color:#c5bfae;font:700 6px monospace}.industrial-lamp.lit>i{background:currentColor;box-shadow:0 0 24px,inset 0 0 13px #ffffff6b}.industrial-crossing{background:#0b0e0b;border-inline:1px solid #343830;justify-content:center;align-items:center;gap:30px;height:26px;display:flex;position:relative;overflow:hidden}.industrial-crossing span{z-index:2;color:#b89c56;background:#171913;border:1px solid #6f603b;padding:3px 7px;font:700 6px monospace;position:relative}.industrial-crossing i{background:#4c514a;width:90px;height:4px;transform:rotate(8deg);box-shadow:0 1px #868c81}.industrial-crossing i:nth-of-type(2){transform:rotate(-8deg)}.industrial-controls{border-top:1px solid #49483b;grid-template-columns:1.25fr 1.2fr 1fr .8fr;gap:8px;margin-top:7px;padding-top:7px;display:grid}.industrial-status,.industrial-fuse,.industrial-vent{background:#10130f;border:1px solid #48483d;min-height:78px;padding:8px}.industrial-status{grid-template-columns:repeat(3,1fr);align-items:end;gap:5px;display:grid}.industrial-status>b{color:#baa15f;grid-column:1/-1;font:800 8px monospace}.industrial-status span{color:#6f756c;text-align:center;font:700 6px monospace}.industrial-status span i{background:#171a16;border:2px solid #50554e;border-radius:50%;width:18px;height:18px;margin:0 auto 4px;display:block}.industrial-status span.on.orange{color:#f08a26}.industrial-status span.on.green{color:#74c73c}.industrial-status span.on.purple{color:#b25ce3}.industrial-status span.on i{background:currentColor;border-color:currentColor;box-shadow:0 0 12px}.industrial-fuse{color:#b99f5d}.industrial-fuse>b{font:800 8px monospace}.industrial-fuse>div{background:#080a08;border:1px solid #4e554b;border-radius:8px;height:14px;margin-top:13px;overflow:hidden}.industrial-fuse>div i{background:linear-gradient(90deg,#66a53d,#e1bd39,#e34d43);height:100%;transition:width .35s;display:block}.industrial-fuse>span{color:#797e75;justify-content:space-between;margin-top:4px;font:700 6px monospace;display:flex}.industrial-mix-button{color:#a7ff70;text-shadow:0 0 10px #72dd48;letter-spacing:.08em;background:linear-gradient(145deg,#203219,#0d190c);border:2px solid #667d4a;min-height:78px;font:900 28px monospace;box-shadow:inset 0 0 18px #68dc4529}.industrial-mix-button:disabled{color:#65705d;text-shadow:none;box-shadow:none;border-color:#3c4638}.industrial-vent{justify-content:center;align-items:center;gap:5px;display:flex}.industrial-vent i{background:#050705;border-radius:3px;width:5px;height:48px;box-shadow:inset 1px 0 #30352f}@media (width<=560px){.modal:has(.stage5-mixer){padding:20px 12px 16px}.stage5-mixer{padding:10px}.stage5-mix-channel{grid-template-columns:1fr 68px}.mix-pipe{gap:6px}.mix-socket{min-width:54px;padding:8px 4px;font-size:7px}.stage5-wire-sources .source{grid-template-columns:14px 1fr;gap:2px 4px;padding:6px}.stage5-wire-sources .source i{width:12px;height:12px}.stage5-wire-sources .source b{font-size:7px}.stage5-wire-sources .source span{font-size:5px}.stage5-routing-help{gap:4px;display:grid}.stage5-splitter-row{grid-template-columns:58px 18px 58px minmax(0,1fr);min-height:70px;padding:5px}.route-source{grid-template-columns:12px 1fr;gap:2px 4px;padding:5px}.route-source i{width:11px;height:11px}.route-source b{font-size:6px}.route-source small{font-size:5px}.route-splitter{width:52px;height:52px}.route-splitter span{font-size:5px}.route-splitter b{font-size:11px}.route-terminal-bank{gap:3px;padding-left:5px}.route-terminal-bank button{min-height:50px}.route-terminal-bank button:before{width:6px;left:-6px}.route-terminal-bank button>i{width:13px;height:13px}.route-terminal-bank small{display:none}.route-mixer{padding:7px 5px 10px}.route-mixer>em{width:16px;height:16px;top:9px;right:5px}.route-mixer>b{font-size:8px}.route-mixer>small{font-size:5px}.route-mixer-inputs i{width:11px;height:11px}.stage5-mixer-scroll:before{content:"← 패널을 좌우로 밀어 배선 경로 확인 →";color:#a98f52;text-align:center;margin-bottom:6px;font:700 7px monospace;display:block}html[lang=en] .stage5-mixer-scroll:before{content:"← Swipe sideways to trace the wiring →"}.stage5-mixer.industrial{min-width:880px;padding:9px}.modal:has(.stage5-final-circuit){padding:22px 14px 18px}.modal:has(.stage5-final-circuit)>h2{margin-right:24px;font-size:clamp(23px,7vw,32px)}.stage5-final-circuit{width:100%;margin-top:18px;padding:32px 31px 36px}.stage5-final-grid{gap:3px}.stage5-final-grid .circuit-wire{inset:4px}.stage5-final-grid .circuit-tile>b{font-size:8px;top:0;right:2px}.stage5-final-terminal{border:2px solid #596059;border-radius:50%;width:9px;height:9px;padding:2px;font-size:0}.stage5-final-terminal:after{width:19px}.stage5-final-terminal.terminal-shutter{top:43px;left:9px}.stage5-final-terminal.terminal-lock{top:9px}.stage5-final-terminal.terminal-lock:after{height:18px}.stage5-final-terminal.terminal-alarm{right:9px}.stage5-final-terminal.terminal-light{bottom:45px;left:9px}.stage5-final-terminal.terminal-power{left:9px}.stage5-power-status{grid-template-columns:repeat(2,1fr)}.stage5-location-nav{bottom:52px;left:7px;right:7px}.stage5-location-nav button{min-height:43px;padding:7px}.stage5-location-nav span{font-size:9px}}.stage5-clear-screen{background:#080807 url(/room-05-lobby-v1.webp) 50%/cover no-repeat;align-items:end;min-height:100svh;padding:42px max(22px,8vw);display:grid;position:relative;overflow:hidden}.stage5-clear-screen:before{content:"";background:linear-gradient(#0000002e,#000000f0 66%);position:absolute;inset:0}.stage5-clear-glow{background:radial-gradient(circle at 58% 26%,#e8d8aa38,#0000 35%);position:absolute;inset:0}.stage5-clear-screen section{z-index:2;width:min(760px,100%);position:relative}.stage5-clear-screen h1{letter-spacing:-.06em;margin:14px 0 22px;font-size:clamp(48px,9vw,90px);line-height:.96}.stage5-clear-screen h1 em{color:var(--red);font-style:normal}.stage5-clear-screen section>p:not(.eyebrow),.stage5-clear-screen blockquote{color:#b9b0a3;line-height:1.8}.stage5-clear-screen blockquote{border-left:2px solid var(--red);background:#141411c7;margin:22px 0;padding:18px}.episode-clear-actions{grid-template-columns:1fr 1fr;gap:10px;width:min(430px,100%);display:grid}.episode-clear-actions button{min-height:54px;color:var(--paper);background:#12120fe6;border:1px solid #575248;font-weight:900}.episode-clear-actions .primary{border-color:var(--red);background:var(--red)}.stage5-clear-screen .share-message{width:min(430px,100%);color:var(--gold);margin:10px 0 0;font-size:12px}.challenge-page{background:radial-gradient(circle at 80% 15%,#d94b3d2e,#0000 34%),#090a08;place-items:center;min-height:100svh;padding:28px 18px;display:grid}.challenge-card{width:min(680px,100%);color:var(--paper);background:#131411f5;border:1px solid #403c34;padding:clamp(26px,6vw,56px);box-shadow:0 30px 90px #0009}.challenge-logo{align-items:center;gap:10px;font-weight:900;display:flex}.challenge-logo i{color:#fff;background:var(--red);place-items:center;width:30px;height:30px;font-style:normal;display:grid}.challenge-logo b,.challenge-card h1 em{color:var(--red);font-style:normal}.challenge-card .overline{color:var(--gold);letter-spacing:.18em;margin-top:28px;font-size:11px}.challenge-card h1{letter-spacing:-.055em;margin:12px 0 26px;font-size:clamp(34px,7vw,64px);line-height:1.08}.challenge-stats{grid-template-columns:1.6fr 1fr 1fr;gap:8px;margin:24px 0;display:grid}.challenge-stats div{background:#10110e;border:1px solid #4a453c;gap:8px;padding:14px;display:grid}.challenge-stats span{color:#8d877d;font-size:11px}.challenge-stats strong{font-size:clamp(24px,5vw,42px);line-height:1}.challenge-card h2{margin:30px 0 8px}.challenge-card>p:not(.overline){color:#aaa298;line-height:1.7}.challenge-start{color:#fff;background:var(--red);justify-content:space-between;margin-top:26px;padding:18px 20px;font-weight:900;text-decoration:none;display:flex}.challenge-note{color:#777167;margin-top:14px;display:block}@media (width<=600px){.challenge-stats{grid-template-columns:1.45fr 1fr 1fr}.challenge-stats div{padding:11px}}@keyframes corridorTurnLeft{0%{transform:scale(1)}42%{transform:translate(18%)scale(1.1)rotate(1.2deg)}52%{transform:translate(-16%)scale(1.1)rotate(-1deg)}to{transform:translate(0)scale(1)}}@keyframes corridorTurnRight{0%{transform:scale(1)}42%{transform:translate(-18%)scale(1.1)rotate(-1.2deg)}52%{transform:translate(16%)scale(1.1)rotate(1deg)}to{transform:translate(0)scale(1)}}@keyframes corridorWalkForward{0%{transform:scale(1)}47%{transform:scale(1.18)}53%{transform:scale(.95)}to{transform:scale(1)}}@media (width<=800px){.game-layout,.room2-layout,.corridor3-layout,.stage4-layout,.stage5-layout{grid-template-columns:1fr;gap:0;padding:0}.room-scene,.room2-scene,.corridor3-scene{border:0}.stage4-scene,.stage5-scene{border:0;max-height:none}.room-brief{display:none}.inventory{grid-template-columns:68px minmax(0,1fr) 134px;gap:6px;padding:8px}.inventory>div small{display:none}.inventory-hint{height:68px}.inventory-hint small{font-size:7px}.stage4-circuit-grid{grid-template-columns:1fr;max-height:48svh;overflow-y:auto}.stage5-records{grid-template-columns:repeat(2,1fr)}.stage5-lights-grid{gap:3px;padding:7px}.circuit-map-outputs,.wiring-workspace{grid-template-columns:1fr}.wiring-socket-bank{grid-template-columns:repeat(4,1fr)}.wiring-socket{grid-template-columns:1fr;justify-items:center;gap:3px;padding:6px 2px}.wiring-socket small{text-align:center;font-size:6px}.stage4-power-controls{grid-template-columns:1fr 1.35fr 1fr;gap:5px}.stage4-power-controls>i{display:block}.stage4-inline-map-button{width:100%;padding:5px 4px;font-size:12px}.modal:has(.stage4-power-panel){width:calc(100vw - 16px);max-width:none;padding:18px 12px 20px}.modal:has(.stage4-power-panel)>h2{margin-right:24px;font-size:clamp(25px,7vw,34px);line-height:1.28}.stage4-power-panel{padding:8px}.stage4-board-shell{padding:29px 24px 32px}.stage4-power-board{gap:3px;padding:4px}.stage4-power-board .circuit-tile{min-width:0;min-height:0}.stage4-power-board .circuit-tile>b{display:none}.stage4-power-board .circuit-wire{inset:4px}.stage4-power-board .circuit-wire .wire-a,.stage4-power-board .circuit-wire.shape-tee .wire-c{height:3px;top:calc(50% - 1.5px)}.stage4-power-board .circuit-wire .wire-b{width:3px;left:calc(50% - 1.5px)}.stage4-terminal-node{color:#0000;gap:0;width:11px;min-width:0;height:11px;font-size:0;overflow:visible}.stage4-terminal-node i{border-width:2px;width:11px;height:11px}.stage4-terminal-node.power,.stage4-terminal-node.dlock{left:-19px}.stage4-terminal-node.brake,.stage4-terminal-node.elight{right:-19px}.stage4-terminal-node.motor{top:-22px}.stage4-terminal-node.fuse{bottom:-25px}.stage4-terminal-node.power:after,.stage4-terminal-node.dlock:after{top:4px;left:8px;right:-8px}.stage4-terminal-node.brake:after,.stage4-terminal-node.elight:after{width:17px;top:4px;left:-8px}.stage4-terminal-node.motor:after{width:3px;height:18px;top:9px}.stage4-terminal-node.fuse:after{width:3px;height:19px;bottom:9px}}@media (width<=480px){.setup-screen{align-items:center;padding:14px}.setup-card{padding:22px 18px}.setup-card h1{font-size:40px}.avatar{aspect-ratio:.82}.setup-card .ad-slot{margin-top:26px}.phone{width:64vw}.story-screen{align-items:end;padding:30px 20px}.story-screen h1{font-size:39px}.story-screen blockquote{margin:25px 0}.entrance-copy{margin-bottom:14px;padding:22px 19px}.confirm-actions{grid-template-columns:1fr}.confirm-actions>button{min-height:50px}.episode-clear-actions{grid-template-columns:1fr 1fr}.confirm-stack{gap:28px}.game-header{min-height:56px;padding:0 11px}.game-meta{gap:8px;font-size:8px}.game-meta button{height:32px;padding:0 10px}.scene-note{bottom:7px;left:7px;right:7px}.scene-note p{font-size:8px}.modal,.ad-overlay section{padding:26px 20px 21px}.corridor-screen,.room2-clear-screen{padding:28px 20px}.cctv-feed small{font-size:7px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.stage5-three-stage-board{background:radial-gradient(circle at 10px 10px,#7c806f 0 2px,#151915 3px 5px,#0000 6px),radial-gradient(circle at calc(100% - 10px) 10px,#7c806f 0 2px,#151915 3px 5px,#0000 6px),radial-gradient(circle at 10px calc(100% - 10px),#7c806f 0 2px,#151915 3px 5px,#0000 6px),radial-gradient(circle at calc(100% - 10px) calc(100% - 10px),#7c806f 0 2px,#151915 3px 5px,#0000 6px),#0c100d;border-color:#5f6459;border-radius:5px;padding:14px;box-shadow:inset 0 0 0 3px #050706,inset 0 0 0 4px #3c433b,inset 0 0 36px #000,0 10px 30px #0000008c}.stage5-board-title{background:linear-gradient(#24241e,#151711);border:1px solid #7a6b48;width:min(280px,82%);min-height:38px;margin:0 auto 14px;padding:8px 12px;box-shadow:inset 0 0 0 2px #080a08}.stage5-board-title b{color:#dcc17e;letter-spacing:.28em;font-size:13px}.stage5-board-title span{display:none}.stage5-wire-tier{background:linear-gradient(135deg,#20262080,#050806d1);border-color:#495048;border-radius:6px;padding:10px;box-shadow:inset 0 0 0 2px #090c09,inset 0 0 18px #000000a6}.stage5-wire-tier>header{border-bottom:1px solid #30372f;margin-bottom:10px;padding-bottom:7px}.stage5-wire-tier>header>b{color:#d8bb72;background:#0a0d0a;border-color:#8b7641;border-radius:3px}.stage5-wire-tier>header>span{color:#c8b98e}.stage5-primary-grid,.stage5-mixer-grid{grid-template-columns:1fr;gap:7px}.stage5-cable-source{text-align:left;background:#0b0e0c;border-color:#3e453d;border-radius:4px;grid-template-columns:68px minmax(80px,1fr) 66px;grid-template-areas:"name cable status";align-items:center;min-height:48px;padding:6px 8px;display:grid;box-shadow:inset 0 0 0 1px #171c17}.stage5-cable-source b{grid-area:name;margin:0;font-size:9px}.stage5-cable-source small{text-align:right;grid-area:status}.stage5-cable-source .cable-coil{grid-area:cable;height:28px;margin:0 10px;display:block;position:relative}.stage5-cable-source .cable-coil i{display:none}.stage5-cable-source .cable-coil i:first-child{background:var(--wire);width:calc(100% - 16px);height:6px;box-shadow:0 0 8px var(--wire);border:0;border-radius:8px;margin:0;display:block;position:absolute;top:11px;left:0}@supports (color:color-mix(in lab, red, red)){.stage5-cable-source .cable-coil i:first-child{box-shadow:0 0 8px color-mix(in srgb,var(--wire) 58%,transparent)}}.stage5-cable-source .cable-coil:before{content:"";z-index:1;border:3px solid var(--wire);width:15px;height:15px;box-shadow:inset 0 0 0 3px #20251f,0 0 7px var(--wire);background:#090c09;border-radius:50%;position:absolute;top:5px;left:-7px}@supports (color:color-mix(in lab, red, red)){.stage5-cable-source .cable-coil:before{box-shadow:inset 0 0 0 3px #20251f,0 0 7px color-mix(in srgb,var(--wire) 50%,transparent)}}.stage5-cable-source .cable-coil:after{content:"";border:2px solid var(--wire);width:16px;height:14px;box-shadow:7px 3px 0 -5px var(--wire),7px 9px 0 -5px var(--wire);background:#111611;border-radius:3px;position:absolute;top:6px;right:0}.stage5-cable-source.selected{border-color:var(--wire);background:var(--wire);transform:none}@supports (color:color-mix(in lab, red, red)){.stage5-cable-source.selected{background:color-mix(in srgb,var(--wire) 7%,#0b0e0c)}}.stage5-tier-flow{height:30px}.stage5-tier-flow i{background:linear-gradient(90deg,#0000,#766b4c);height:1px}.stage5-mix-module{background:#090c0a;border-color:#343a34;border-radius:3px;grid-template-columns:70px 88px 42px minmax(92px,1fr);align-items:center;min-height:86px;padding:8px;display:grid;box-shadow:inset 0 0 0 1px #161b16}.stage5-mix-module.ready{border-color:#485348;box-shadow:inset 0 0 0 1px #202920}.stage5-mix-inputs{grid-template-columns:repeat(2,28px);justify-content:start;gap:6px;margin:0;display:grid;position:relative}.stage5-mix-inputs:after{content:"";background:#555c53;width:22px;height:2px;position:absolute;top:13px;left:52px}.stage5-cable-socket,.stage5-final-socket{width:27px;height:27px;box-shadow:inset 0 0 0 4px #191e19,0 0 5px var(--socket);border-width:2px}@supports (color:color-mix(in lab, red, red)){.stage5-cable-socket,.stage5-final-socket{box-shadow:inset 0 0 0 4px #191e19,0 0 5px color-mix(in srgb,var(--socket) 35%,transparent)}}.stage5-mix-core{background:linear-gradient(145deg,#24261f,#10130f);border:1px solid #555349;border-radius:4px;min-height:66px;padding:7px 4px;box-shadow:inset 0 0 0 2px #090b09}.stage5-mix-core>i{width:32px;height:17px}.stage5-mix-core b{font-size:8px}.stage5-splitter-mark{place-items:center;height:46px;margin:0;display:grid}.stage5-splitter-mark span{padding:2px 3px}.stage5-splitter-mark i{width:100%;height:13px;bottom:8px;left:0}.stage5-splitter-mark i:first-of-type{border-left:0;transform:none}.stage5-splitter-mark i:last-of-type{border-right:0}.stage5-branch-pair{justify-content:stretch;gap:5px}.stage5-branch-cable{text-align:right;background:0 0;border:0;width:50%;height:32px;position:relative}.stage5-branch-cable i{width:calc(100% - 16px);height:5px;position:absolute;top:14px;left:0}.stage5-branch-cable:after{content:"";border:2px solid var(--mix);background:#0c100c;border-radius:3px;width:15px;height:15px;position:absolute;top:8px;right:1px}.stage5-branch-cable.selected{color:var(--mix);box-shadow:none;filter:drop-shadow(0 0 5px var(--mix));background:0 0;transform:none}.stage5-branch-cable.selected i{background:var(--mix)}.stage5-final-grid{grid-template-columns:1fr;gap:5px}.stage5-final-module{background:#090c0a;border-color:#343a34;border-radius:3px;grid-template-columns:68px minmax(70px,1fr) 118px;align-items:center;min-height:47px;padding:6px 8px;display:grid;box-shadow:inset 0 0 0 1px #171b17}.stage5-final-module>b{text-align:left;margin:0}.stage5-final-module>div{justify-content:flex-start;gap:7px}.stage5-final-module>small{color:#757b72;text-align:right;min-height:0;margin:0;font-size:6px}.stage5-final-module.lit{box-shadow:inset 0 0 12px var(--final);background:#0d120e;border-color:#4b554a}@supports (color:color-mix(in lab, red, red)){.stage5-final-module.lit{box-shadow:inset 0 0 12px color-mix(in srgb,var(--final) 9%,transparent)}}.stage5-board-controls{background:#080b09;border-color:#4a5047;grid-template-columns:1fr 1fr 96px;padding:9px}.stage5-final-mix-button{color:#d6c484;background:linear-gradient(#242a20,#10150f);border-color:#6c6246;box-shadow:inset 0 0 0 2px #070907}.stage5-three-stage-board.solved{border-color:#617060;box-shadow:inset 0 0 0 3px #050706,inset 0 0 0 4px #465346,inset 0 0 30px #58b05c14}@media (width<=540px){.stage5-three-stage-board{padding:10px}.stage5-wire-tier{padding:8px}.stage5-cable-source{grid-template-columns:54px minmax(68px,1fr) 58px;padding-inline:5px}.stage5-cable-source .cable-coil{margin-inline:6px}.stage5-mix-module{grid-template-columns:62px 78px 34px minmax(78px,1fr);padding-inline:5px}.stage5-mix-inputs{grid-template-columns:repeat(2,25px);gap:4px}.stage5-mix-inputs:after{width:18px;left:47px}.stage5-cable-socket,.stage5-final-socket{width:24px;height:24px}.stage5-mix-core{min-height:60px}.stage5-final-grid{grid-template-columns:1fr}.stage5-final-module{grid-template-columns:54px minmax(58px,1fr) 92px}.stage5-final-module>small{min-height:0;font-size:5px}.stage5-board-controls{grid-template-columns:1fr 88px}}.stage5-ceiling-wiring{color:#9ba197;background:#080c09;width:100%;height:auto;margin:0 auto 10px;display:block}.stage5-svg-frame{fill:#0b100c;stroke:#50594f;stroke-width:3px}.stage5-svg-section-label{fill:#c9b77d;font:900 14px var(--font-mono),monospace;letter-spacing:.12em}.stage5-svg-divider{stroke:#3c443c;stroke-width:2px}.stage5-svg-source{color:#8b9188;cursor:pointer;outline:none}.stage5-svg-source.red{color:#ed554c}.stage5-svg-source.yellow{color:#edc54f}.stage5-svg-source.blue{color:#4c9aec}.stage5-svg-source>rect:first-of-type{fill:#171c18;stroke:#596057;stroke-width:2px}.stage5-svg-source>circle:first-of-type{fill:#0a0d0a;stroke:currentColor;stroke-width:5px}.stage5-svg-source>circle:nth-of-type(2){fill:#171c17;stroke:#7a8178;stroke-width:2px}.stage5-svg-source>path{fill:none;stroke:currentColor;stroke-width:9px;stroke-linecap:round;filter:drop-shadow(0 0 4px)}.stage5-svg-source text{fill:currentColor;font:900 12px var(--font-mono),monospace;text-anchor:middle}.stage5-svg-small{letter-spacing:.06em;fill:#898f85!important;font-size:9px!important}.stage5-svg-source.missing{opacity:.28;cursor:not-allowed;filter:grayscale()}.stage5-svg-source.selected>rect:first-of-type{stroke:currentColor}.stage5-svg-source.selected>path{stroke-width:12px;filter:url(#stage5WireGlow)}.stage5-svg-plug{fill:#111712;stroke:currentColor;stroke-width:3px}.stage5-svg-wire{fill:none;stroke:currentColor;stroke-width:9px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px)}.stage5-svg-wire.red{color:#ed554c}.stage5-svg-wire.yellow{color:#edc54f}.stage5-svg-wire.blue{color:#4c9aec}.stage5-svg-mixer{color:#9a9e94}.stage5-svg-mixer.orange{color:#ed922f}.stage5-svg-mixer.purple{color:#b768db}.stage5-svg-mixer.green{color:#54c86a}.stage5-svg-relay{fill:#171c18;stroke:#5d6258;stroke-width:3px;filter:drop-shadow(0 5px 5px #000000b3)}.stage5-svg-mixer text{fill:currentColor;font:900 12px var(--font-mono),monospace;text-anchor:middle;letter-spacing:.05em}.stage5-svg-coil{fill:none;stroke:#b5a56f;stroke-width:5px;stroke-linecap:round}.stage5-svg-lamp{fill:#080b09;stroke:currentColor;stroke-width:3px}.stage5-svg-mixer.ready .stage5-svg-lamp{fill:currentColor;filter:url(#stage5WireGlow)}.stage5-svg-socket{color:#777d74;cursor:pointer;outline:none}.stage5-svg-socket.red{color:#ed554c}.stage5-svg-socket.yellow{color:#edc54f}.stage5-svg-socket.blue{color:#4c9aec}.stage5-svg-socket.orange{color:#ed922f}.stage5-svg-socket.purple{color:#b768db}.stage5-svg-socket.green{color:#54c86a}.stage5-svg-socket circle:first-of-type{fill:#090c09;stroke:currentColor;stroke-width:4px}.stage5-svg-socket circle:nth-of-type(2){fill:#161b16;stroke:#747a71;stroke-width:2px}.stage5-svg-socket:not(.empty) circle:nth-of-type(2){fill:currentColor;filter:drop-shadow(0 0 4px)}.stage5-svg-socket text{fill:#d9ddd5;font:900 9px var(--font-mono),monospace;text-anchor:middle;pointer-events:none}.stage5-svg-branch{color:#6f756d;cursor:not-allowed;outline:none}.stage5-svg-branch.orange{color:#ed922f}.stage5-svg-branch.purple{color:#b768db}.stage5-svg-branch.green{color:#54c86a}.stage5-svg-branch .stage5-svg-wire{opacity:.28}.stage5-svg-branch.available{cursor:pointer}.stage5-svg-branch.available .stage5-svg-wire{opacity:1}.stage5-svg-branch.selected .stage5-svg-wire{stroke-width:13px;filter:url(#stage5WireGlow)}.stage5-svg-branch.routed .stage5-svg-wire{opacity:.72}.stage5-svg-wire-hit{fill:none;stroke:#0000;stroke-width:28px}.stage5-svg-output{color:#8b9188}.stage5-svg-output.green{color:#54c86a}.stage5-svg-output.yellow{color:#edc54f}.stage5-svg-output.blue{color:#4c9aec}.stage5-svg-output.red{color:#ed554c}.stage5-svg-output>rect{fill:#111612;stroke:#4f564e;stroke-width:2px}.stage5-svg-output>text{fill:currentColor;font:900 12px var(--font-mono),monospace;text-anchor:middle;letter-spacing:.05em}.stage5-svg-output>.stage5-svg-lamp{fill:#070a08;stroke-width:4px}.stage5-svg-output.lit>.stage5-svg-lamp{fill:currentColor;filter:url(#stage5WireGlow)}.stage5-svg-formula{fill:#777d74!important;letter-spacing:0!important;font-size:8px!important}.stage5-svg-note{fill:#777d74;font:800 10px var(--font-mono),monospace}@media (width<=540px){.stage5-board-title{margin-bottom:8px}.stage5-ceiling-wiring{width:calc(100% + 4px);margin-inline:-2px}.stage5-svg-section-label{font-size:13px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
