:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}@font-face{font-family:IM FELL English SC;src:url(/fonts/im-fell-english-sc/IMFellEnglishSC.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}:root:has(.echo-game){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0d0f12}#root:has(.echo-game){text-align:left;border:0;width:100%;max-width:none}.echo-game{--ink:#e8e4dd;--muted:#c1bbb3;--faint:#a9a39b;--gold:#dfbe85;--brass:#c1a16d;--line:#ffffff26;--red:#e9a59b;--body:system-ui, "Yu Gothic UI", Meiryo, sans-serif;--serif:"Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;font:15px/1.7 var(--body);color:var(--ink);box-sizing:border-box;isolation:isolate;text-align:left;width:100%;min-height:100svh;position:relative}.echo-game *,.echo-game :before,.echo-game :after{box-sizing:border-box}.echo-game h1,.echo-game h2,.echo-game p{color:inherit;margin:0}.echo-game h1{font:500 clamp(27px, 5vw, 40px)/1.4 var(--serif);letter-spacing:.08em}.echo-game button,.echo-game select,.echo-game input{font:inherit}.echo-game button,.echo-game select{min-height:48px}.echo-game button{cursor:pointer;touch-action:manipulation}.echo-game button:disabled{cursor:default}.echo-game :is(button,select,input,summary,a):focus-visible{outline:2px solid var(--ink);outline-offset:4px}.echo-game input[type=range]{accent-color:var(--gold);cursor:pointer;min-width:0;min-height:32px}.echo-game a{color:var(--muted)}.echo-game .menu-music{top:max(12px, env(safe-area-inset-top));right:max(16px, env(safe-area-inset-right));z-index:6;border:1px solid var(--line);min-height:44px;color:var(--muted);background:#0d0f12c9;border-radius:3px;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex;position:absolute}.menu-music>span{font-size:18px}.echo-game .eyebrow{font:11px/1.6 var(--body);letter-spacing:.22em;color:var(--faint)}.echo-game .text-button{color:var(--muted);text-underline-offset:5px;background:0 0;border:0;padding:8px 0;font-size:13px;text-decoration:underline}.echo-game .text-button:enabled:hover{color:var(--ink)}.echo-game .text-button:disabled{color:var(--faint);text-decoration:none}.echo-game .menu-primary{width:100%;min-height:56px;color:var(--ink);font:600 17px/1.5 var(--serif);letter-spacing:.08em;background:#49382d;border:1px solid #b39b77;border-radius:2px;justify-content:center;align-items:center;gap:24px;padding:14px 20px;transition:background .15s,border-color .15s;display:flex;box-shadow:inset 0 1px #ffffff12}.echo-game .menu-primary:enabled:hover{border-color:var(--gold);background:#604935}.echo-game .menu-primary:enabled:active{background:#372a22}.echo-game .menu-primary:disabled{color:#948e86;background:#282522;border-color:#5d554c}.mansion-menu{padding:clamp(28px, 6vh, 64px) clamp(24px, 7vw, 112px) max(32px, env(safe-area-inset-bottom));background:linear-gradient(180deg, #090d1470, #090d1418 30%, #090c12e8 68%, #0d0f12), #14151a var(--stage-background,url(/assets/mansion-panorama-CqiNHJQH.jpg)) 27% center / cover no-repeat;flex-direction:column;justify-content:space-between;gap:48px;display:flex}.title-heading .eyebrow{margin-bottom:22px;font-size:10px}.echo-title h1.haunt-wordmark{color:var(--ink);letter-spacing:.025em;text-shadow:1px 2px #381e1d,0 3px 14px #000;font:400 clamp(70px,18vw,130px)/.9 IM FELL English SC,Georgia,serif}.haunt-wordmark span{display:block}.haunt-wordmark span+span{letter-spacing:.065em;margin-left:.34em}.title-heading .title-tagline{color:var(--muted);font-family:var(--serif);letter-spacing:.14em;margin-top:26px;font-size:14px}.menu-controls{width:min(100%,480px)}.stage-selector{border-bottom:1px solid #a38e6f75;align-items:center;gap:16px;padding-bottom:4px;display:flex}.stage-selector label{color:var(--muted);flex-shrink:0;font-size:12px}.stage-selector select{min-width:0;color:var(--ink);font-family:var(--serif);background:0 0;border:0;flex:1;padding:8px 4px;font-size:18px}.stage-selector option{color:var(--ink);background:#1c1b1a}.stage-selector option:disabled{color:var(--faint)}.stage-card{margin:16px 0 22px}.stage-card-meta{letter-spacing:.12em;color:var(--faint);justify-content:space-between;gap:16px;font-size:10px;display:flex}.stage-card>p{color:var(--muted);margin-top:10px;font-size:14px;line-height:1.8}.stage-card p.stage-best{font:11px/1.6 var(--body);color:var(--muted);letter-spacing:.12em;align-items:baseline;gap:10px;display:flex}.stage-best strong{color:var(--ink);font-variant-numeric:tabular-nums;font:20px Georgia,serif}.stage-best>span{color:var(--muted);letter-spacing:.04em;margin-left:auto;font-size:10px}.echo-game .title-instructions{color:var(--muted);margin-top:20px;font-size:12px;line-height:1.9}.enemy-guide{border-top:1px solid var(--line);color:var(--muted);margin-top:18px;padding-top:12px;font-size:12px}.enemy-guide summary{cursor:pointer;min-height:36px;padding-block:4px}.enemy-guide ul{gap:12px;margin:12px 0;padding:0;list-style:none;display:grid}.enemy-guide li strong{color:var(--ink);font-weight:500;display:block}.enemy-guide li span{display:block}.debug-link{margin-top:16px;font-size:12px;display:block}.foyer{padding:max(16px, env(safe-area-inset-top)) clamp(20px, 6vw, 64px) max(28px, env(safe-area-inset-bottom));background:linear-gradient(90deg, #080b1090, #080b1055 65%, #080b1020), linear-gradient(180deg, #080b1025 20%, #0a0b10a8 78%, #0d0f12bb), #171516 var(--stage-background,url(/assets/mansion-panorama-CqiNHJQH.jpg)) 56% center / cover no-repeat;flex-direction:column;gap:clamp(28px,5svh,52px);display:flex}.foyer-controls{width:min(100%,480px);margin:0 auto}.foyer .back-link{text-align:left;align-self:flex-start;font-size:14px}.foyer-controls h1{margin-top:0;font-size:clamp(27px,7vw,36px)}.echo-game .stage-caption{color:var(--muted);margin-top:8px;font-size:14px}.setup-flow{margin:clamp(32px,6svh,52px) 0 0 7px;padding-left:24px;position:relative}.setup-flow:before{content:"";background:#ded6c34d;width:1px;position:absolute;top:24px;bottom:35px;left:0}.setup-step{position:relative}.setup-step:before{content:"";border:1px solid var(--muted);background:#171615;border-radius:50%;width:12px;height:12px;position:absolute;top:24px;left:-24px;transform:translate(-50%,-50%)}.setup-step[aria-current=step]:before{border-color:var(--ink);background:var(--ink);width:16px;height:16px}.setup-step[data-complete=true]:before{border-color:var(--muted);background:#171615}.setup-step[data-complete=true]:after{content:"";border-left:1px solid var(--ink);border-bottom:1px solid var(--ink);width:6px;height:4px;position:absolute;top:20px;left:-27px;transform:rotate(-45deg)}.setup-audio{border-bottom:1px solid var(--line);padding-bottom:12px}.setup-sensor{border-bottom:1px solid var(--line);padding:16px 0 20px}.setup-sensor:before{top:40px}.setup-sensor[data-complete=true]:after{top:36px}.echo-game .connection-button{width:100%;min-height:48px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) minmax(4em,auto);align-items:baseline;gap:12px;padding:10px 0;display:grid}.connection-button>span{font:500 16px/1.6 var(--serif);overflow-wrap:anywhere;text-wrap:balance}.connection-button small{color:var(--muted);font:13px/1.6 var(--body);text-align:right;overflow-wrap:anywhere;max-width:10em}.connection-button:disabled>span{color:var(--muted)}.setup-step[data-complete=true] .connection-button>span{color:var(--muted);font-weight:400}.setup-step[aria-current=step] .connection-button>span{color:var(--ink);text-underline-offset:7px;font-size:18px;-webkit-text-decoration:underline #c1bbb380;text-decoration:underline #c1bbb380}.setup-step[aria-current=step] .connection-button small{color:var(--ink)}.echo-game .setup-direction{color:var(--muted);margin-top:4px;font-size:14px;line-height:1.8}.audio-settings{color:var(--muted);margin-block:16px 22px;font-size:14px}.volume-control{min-height:48px;color:var(--muted);align-items:center;gap:14px;font-size:14px;display:flex}.volume-control>span{text-align:right;font-variant-numeric:tabular-nums;width:3em}.echo-game .volume-control input{appearance:none;touch-action:pan-y;background:0 0;border:0;border-radius:0;flex:1;height:48px;min-height:48px;margin:0;padding:0}.volume-control input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--ink) var(--volume-level), #8a8178 var(--volume-level));border-radius:2px;height:3px}.volume-control input::-webkit-slider-thumb{appearance:none;background:#e8e1d3;border:1px solid #d3caba;border-radius:50%;width:24px;height:24px;margin-top:-10.5px;box-shadow:0 1px 3px #0006}.volume-control input::-moz-range-track{background:#8a8178;border-radius:2px;height:3px}.volume-control input::-moz-range-progress{background:var(--ink);height:3px}.volume-control input::-moz-range-thumb{background:#e8e1d3;border:1px solid #d3caba;border-radius:50%;width:22px;height:22px;box-shadow:0 1px 3px #0006}.haptics-control{min-height:48px;color:var(--muted);cursor:pointer;align-items:center;gap:10px;font-size:14px;display:flex}.haptics-control input{accent-color:#d9cfb8;flex-shrink:0;width:20px;height:20px;margin:0}.haptics-control>span{color:var(--faint);text-align:right;margin-left:auto;font-size:12px}.setup-options{padding-block:10px 20px}.setup-support{border-top:1px solid var(--line);margin-top:10px;padding-top:6px;position:relative}.setup-support .pc-option{text-align:right;width:calc(50% - 6px);font-size:13px;position:absolute;top:6px;right:0}.setup-help{border:0;margin:0;padding:0}.setup-help summary{text-underline-offset:5px;width:calc(50% - 6px);min-height:48px;padding:10px 0;font-size:13px;text-decoration:underline;list-style:none}.setup-help summary::-webkit-details-marker{display:none}.setup-help .setup-instructions{color:var(--muted);margin:16px 0;padding-left:1.5em;font-size:14px}.setup-instructions li{margin-block:8px}.setup-help .stage-tip{margin-block:12px}.setup-help ul{margin-bottom:24px}.setup-help li span{font-size:14px}.setup-start:before{top:35px}.setup-start .menu-primary{letter-spacing:.02em;min-height:70px;padding-inline:22px;font-size:clamp(17px,4.8vw,23px);font-weight:500}.echo-game .setup-footnote{color:var(--muted);text-align:center;margin:16px 0 0 24px;font-size:13px;line-height:1.8}.echo-game .inline-error,.echo-game [role=alert]{color:var(--red);margin-block:10px;font-size:14px}.hunt-screen{min-height:100dvh;padding:max(20px, env(safe-area-inset-top)) clamp(20px, 4vw, 48px) max(24px, env(safe-area-inset-bottom));background:#101219;overflow:hidden}.hunt-backdrop{z-index:-1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.mansion-panorama{--room-width:max(400vw, 210dvh);z-index:-2;pointer-events:none;background:#14151b var(--stage-background,url(/assets/mansion-panorama-CqiNHJQH.jpg)) repeat-x center / var(--room-width) auto;position:absolute;inset:0}.hunt-shade{z-index:-1;pointer-events:none;background:radial-gradient(#06090f1a,#06090f99 70%),linear-gradient(#070c13a8,#0000 30%,#070a10a8);position:absolute;inset:0}.game-hud{z-index:4;text-shadow:0 1px 8px #000;pointer-events:none;grid-template-columns:1fr 1fr 70px;align-items:center;gap:16px 12px;width:100%;max-width:1000px;margin:0 auto;display:grid;position:relative}.hud-stage{flex-direction:column;grid-column:1/3;gap:3px;display:flex}.hud-stage>span:last-child{color:var(--ink);font:13px/1.6 var(--serif);letter-spacing:.08em}.echo-game .pause-button{border:1px solid var(--line);width:44px;height:44px;min-height:44px;color:var(--ink);pointer-events:auto;background:#11131a60;border-radius:50%;justify-self:end;padding:0;font-size:20px;line-height:1}.pause-button:disabled{opacity:.35}.hud-label{font:9px/1.5 var(--body);letter-spacing:.2em;color:var(--muted);display:block}.life-symbols{gap:9px;margin-top:5px;font-size:17px;line-height:1.5;display:flex}.life{color:#ffffff20}.life.is-alive{color:var(--ink);text-shadow:0 0 10px #ffffff18}.life-meter[data-invincible=true] .is-alive{opacity:.65}.hud-score strong,.hud-progress strong{font-variant-numeric:tabular-nums;color:var(--ink);margin-top:3px;font:28px/1.3 Georgia,serif;display:block}.hud-score{text-align:center}.hud-progress{text-align:right}.echo-game .attack-surface{z-index:1;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;display:block;position:absolute;inset:0}.attack-surface:disabled{pointer-events:none}.echo-game .attack-surface:focus-visible{outline-offset:-8px}.hunt-focus{z-index:2;text-align:center;pointer-events:none;width:100%;color:var(--muted);position:absolute;top:48%;left:50%;transform:translate(-50%,-50%)}.reticle{width:clamp(140px,25vw,188px);height:clamp(140px,25vw,188px);margin:0 auto;position:relative}.reticle svg{width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}.reticle circle{fill:none;stroke-width:1px}.reticle-track{stroke:#d8d4c02b}.reticle-progress{stroke:var(--gold);transition:stroke-dashoffset 40ms linear;stroke-width:1.8px!important}.reticle-center{color:#e1d5bd8c;place-items:center;font:300 32px Georgia,serif;display:grid;position:absolute;inset:0}.hunt-focus-title{font-family:var(--serif);letter-spacing:.18em;text-shadow:0 1px 10px #000;font-size:15px;margin-top:15px!important}.hunt-focus-caption{color:var(--muted);letter-spacing:.04em;font-size:13px;margin-top:8px!important}.is-locked .reticle-progress{stroke-width:2.5px!important}.is-locked .reticle-center,.is-locked .hunt-focus-title{color:#f5d9a8}.is-victorious .reticle-center{color:var(--gold);font-size:46px;animation:.6s ease-out both victory-mark}.defeat-burst{position:absolute;inset:0}.defeat-burst i{background:var(--gold);width:2px;height:16px;transform:rotate(var(--ray)) translateY(-52px);border-radius:50%;animation:.65s ease-out both defeat-ray;display:block;position:absolute;top:calc(50% - 8px);left:calc(50% - 1px)}.combat-feedback{z-index:2;text-align:center;pointer-events:none;min-height:80px;position:absolute;top:calc(48% + 145px);left:20px;right:20px}.feedback-notice{text-shadow:0 1px 12px #000;justify-items:center;gap:4px;animation:.3s ease-out both feedback-enter;display:grid}.feedback-notice strong{font:400 28px/1.4 var(--serif);letter-spacing:.22em}.feedback-notice>span{letter-spacing:.04em;font-size:14px}.feedback-kill{color:var(--brass)}.feedback-damage{color:#f2b4a5}.feedback-damage strong{font-size:19px}.feedback-wave{color:var(--ink)}.feedback-wave strong{font:500 21px/1.5 var(--serif);letter-spacing:.2em}.feedback-wave span{font-family:var(--serif);font-size:13px}.combo-counter{left:clamp(20px,4vw,48px);bottom:max(28px, env(safe-area-inset-bottom));pointer-events:none;z-index:2;font:36px Georgia,serif;position:absolute;color:var(--brass)!important}.combo-counter span{font:9px/2 var(--body);letter-spacing:.2em;display:block}.damage-vignette{z-index:2;pointer-events:none;animation:1s ease-out both damage-fade;position:absolute;inset:0;box-shadow:inset 0 0 120px 35px #9f352a95}.pc-controls{z-index:4;bottom:max(20px, env(safe-area-inset-bottom));border:1px solid var(--line);width:min(420px,100% - 100px);color:var(--muted);background:#101116e8;border-radius:3px;padding:12px 16px;position:absolute;left:50%;transform:translate(-50%)}.pc-controls label{justify-content:space-between;font-size:13px;display:flex}.pc-controls input{width:100%;display:block}.pc-controls p{text-align:center;letter-spacing:.03em;font-size:12px}.debug-panel{z-index:5;color:var(--muted);background:#0d1014ee;border:1px dashed #7b705c;width:fit-content;max-width:100%;margin-top:18px;padding:10px;font:11px/1.7 monospace;position:relative}.debug-panel summary{cursor:pointer}.hunt-screen[data-paused=true]{flex-direction:column;display:flex;overflow:auto}.pause-panel{z-index:4;width:min(100%,480px);margin:auto;padding-top:40px;padding-bottom:28px;position:relative}.pause-panel h1{margin-top:12px}.echo-game .pause-hint{color:var(--muted);margin-top:12px;font-size:13px}.echo-game .pause-message{color:var(--ink);margin-top:18px;font-size:12px}.pause-panel .audio-settings{margin-block:24px}.pause-panel .menu-primary{min-height:66px;font-size:23px}.pause-panel .text-button{font-size:14px}.pause-secondary{flex-wrap:wrap;justify-content:flex-end;gap:16px;margin-top:14px;display:flex}.hunt-screen[data-paused=true] .pc-controls{width:min(100%,480px);margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.echo-game.echo-result{padding:max(40px, env(safe-area-inset-top)) clamp(24px, 7vw, 96px) max(32px, env(safe-area-inset-bottom));background-image:linear-gradient(90deg, #080b1040, #080b1060 55%, #080b1010), linear-gradient(180deg, #080b1020, #090c1040 45%, #090c1090), var(--stage-background,url(/assets/mansion-panorama-CqiNHJQH.jpg));background-position:50%,50%,78%;justify-content:center}.echo-game.echo-result[data-success=false]{background-image:linear-gradient(90deg, #080b1070, #080b10b0 60%, #080b1040), linear-gradient(180deg, #06091055, #06091088 65%, #060910c0), var(--stage-background,url(/assets/mansion-panorama-CqiNHJQH.jpg))}.result-content{text-shadow:0 1px 5px #0008;margin-inline:auto}.result-heading h1{margin:0;font-size:clamp(32px,8vw,42px)}.result-heading .stage-caption{margin-top:8px}.result-record{margin-top:clamp(28px,5svh,44px)}.echo-game .result-score{flex-wrap:wrap;align-items:baseline;gap:12px;margin:0;display:flex}.result-score>span{color:var(--ink);font:17px/1.5 var(--body);letter-spacing:.04em}.result-score>strong{letter-spacing:0;font-variant-numeric:lining-nums tabular-nums;overflow-wrap:anywhere;font:400 clamp(40px,11vw,48px)/1.2 Georgia,Times New Roman,serif}.echo-game .record-line{color:var(--muted);letter-spacing:.02em;margin-top:5px;font-size:14px}.record-line strong{color:var(--ink);font-weight:400}.record-line span{margin-left:6px;font:400 21px/1.5 Georgia,Times New Roman,serif}.result-stats{border-block:1px solid #c4b49a50;grid-template-columns:minmax(0,1fr);gap:6px;margin:22px 0 16px;padding-block:16px;display:grid}.result-stats>div{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.result-stats dt{color:var(--ink);font:14px/1.7 var(--body)}.result-stats dd{color:var(--ink);font-variant-numeric:tabular-nums;flex-shrink:0;margin:0;padding-right:8px;font:400 23px/1.4 Georgia,Times New Roman,serif}.result-stats small{color:var(--ink);font:14px var(--body);margin-left:6px}.echo-game .result-hint{color:var(--muted);margin-bottom:24px;font-size:14px;line-height:1.8}.screen-actions{gap:8px;display:grid}.result-content .screen-actions .menu-primary{min-height:66px;font-size:clamp(21px,6vw,28px);font-weight:500}.result-content .screen-actions .text-button{font-size:16px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes defeat-ray{0%{opacity:1;transform:rotate(var(--ray)) translateY(-52px) scaleY(.5)}to{opacity:0;transform:rotate(var(--ray)) translateY(-135px) scaleY(1.7)}}@keyframes victory-mark{0%{opacity:.3;transform:scale(.5)}35%{opacity:1;transform:scale(1.2)}to{opacity:.8;transform:scale(1)}}@keyframes feedback-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes damage-fade{0%{opacity:.95}to{opacity:0}}@media (width>=900px){.echo-title{background-image:linear-gradient(90deg, #090d1430, #090d1490 50%, #090c12ed), var(--stage-background,url(/assets/mansion-panorama-CqiNHJQH.jpg));grid-template-columns:1.2fr 1fr;align-items:end;gap:64px;padding-top:10vh;display:grid}.title-heading{align-self:start}.menu-controls{justify-self:end}.foyer{gap:70px;min-height:100dvh}.foyer-controls,.echo-result .menu-controls{align-self:flex-end}}@media (height<=680px) and (orientation:landscape){.hunt-focus{top:55%}.reticle{width:100px;height:100px}.hunt-focus-title{margin-top:2px!important}.combat-feedback{top:calc(55% + 90px)}.pc-controls{width:240px;bottom:12px;left:auto;right:20px;transform:none}.hud-stage{max-width:50%}}@media (prefers-reduced-motion:reduce){.echo-game *,.echo-game :before,.echo-game :after{transition:none!important;animation:none!important}.defeat-burst{display:none}.damage-vignette{box-shadow:inset 0 0 80px 15px #9f352a55}}.echo-game .stage-tip{color:var(--muted);border-left:1px solid #b7986c88;margin:0 0 20px;padding-left:12px;font-size:12px}.difficulty-selector{border:0;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0;padding:0;display:grid}.difficulty-selector legend{color:var(--muted);padding:0 0 8px;font-size:11px}.difficulty-option{border:1px solid var(--line);cursor:pointer;background:#10111570;align-items:center;gap:10px;min-height:60px;padding:10px 12px;display:flex}.difficulty-option.is-selected{background:#77603a22;border-color:#bda171}.difficulty-option:focus-within{outline:2px solid var(--gold);outline-offset:3px}.difficulty-option input{width:16px;height:16px;accent-color:var(--gold)}.difficulty-option strong{letter-spacing:.14em;color:var(--ink);font-size:11px;font-weight:500;display:block}.difficulty-option small{color:var(--muted);font-size:10px;display:block}.echo-game .difficulty-selector>p{color:var(--muted);grid-column:1/-1;min-height:19px;font-size:11px;line-height:1.7}.enemy-guide .fake-clue{color:var(--muted);margin-top:12px}.reticle-blind .reticle-center{color:#d3cbbb55;font-size:23px}.is-victorious .reticle-blind .reticle-center{color:var(--gold);font-size:46px}.feedback-miss{color:var(--muted)}.feedback-miss strong{font-size:18px}.echo-game .accuracy-line{color:var(--muted);margin:-8px 0 24px;font-size:11px}.hunt-screen[data-horror=true] .hunt-shade{background:radial-gradient(#03060c22,#03050bb8 76%),linear-gradient(#04070db8,#0000 36%,#04070dbb)}.horror-mist{z-index:-1;pointer-events:none;opacity:.13;background:radial-gradient(at 25% 78%,#a8b5bf55,#0000 45%),radial-gradient(at 90% 25%,#7b889133,#0000 40%);animation:24s ease-in-out infinite alternate mist-drift;position:absolute;inset:-12%}.hunt-screen[data-paused=true] .horror-mist{animation-play-state:paused}.horror-veil{z-index:0;pointer-events:none;background:#0005;animation:2.2s ease-in-out both room-darkening;position:absolute;inset:0;overflow:hidden}.passing-shadow{opacity:.5;filter:blur(14px);background:radial-gradient(at 50% 23%,#000 0 12%,#0000 15%),radial-gradient(at 50% 70%,#000 0 30%,#0000 55%);width:clamp(55px,12vw,145px);height:75%;animation:2.2s ease-in-out both shadow-passing;position:absolute;top:5%;right:-4vw}@keyframes mist-drift{0%{transform:translate(-3%)}to{transform:translate(3%)}}@keyframes room-darkening{0%,to{opacity:0}35%,65%{opacity:.8}}@keyframes shadow-passing{0%{opacity:0;transform:translate(120%)}45%{opacity:.55;transform:translate(-10%)}to{opacity:0;transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.horror-mist,.passing-shadow{display:none}.horror-veil{opacity:.25}}.boss-status{z-index:4;width:min(100%,1000px);color:var(--ink);font:14px var(--serif);pointer-events:none;border-top:1px solid #b8a59135;justify-content:space-between;align-items:center;gap:20px;margin:20px auto 0;padding-top:12px;display:flex;position:relative}.boss-health{gap:7px;display:flex}.boss-health i{background:#ffffff1c;width:25px;height:3px;display:block}.boss-health i.is-alive{background:#c08872}.hunt-screen[data-boss=true] .hunt-shade{background:radial-gradient(#0904050d,#080404b8 76%),linear-gradient(#080506bb,#0000 36%,#080406bb)}.feedback-hit{color:var(--brass)}.feedback-hit strong,.feedback-boss strong{font-size:23px}.feedback-blocked{color:var(--muted)}.feedback-blocked strong{font-size:18px}.feedback-boss{color:var(--ink)}.attack-recovery{z-index:2;pointer-events:none;background:#e8e4dd26;width:60px;height:2px;position:absolute;top:calc(48% + 116px);left:calc(50% - 30px)}.attack-recovery>span{background:var(--muted);transform-origin:0;height:100%;display:block}.hunt-screen[data-paused=true] .hunt-shade{background:#080b10b8}.stage-card-meta,.hud-stage .eyebrow,.hud-label,.difficulty-option strong{letter-spacing:.04em}.stage-card-meta{font-size:11px}.hud-label{font-size:10px}.difficulty-option strong{font-size:13px}.hunt-focus-title{letter-spacing:.08em}.echo-game.echo-title{background:#0d0f12;padding:0;display:block}.title-landing{min-height:100svh;padding:max(28px, env(safe-area-inset-top)) clamp(24px, 6vw, 80px) 28px;background:linear-gradient(180deg, #08090c25, transparent 30%, #0c0c1060 65%, #0d0f12d9), #14151a var(--stage-background,url(/assets/mansion-panorama-CqiNHJQH.jpg)) 27% center / cover no-repeat;flex-direction:column;justify-content:space-between;gap:clamp(44px,8svh,100px);display:flex}.title-landing .title-heading{align-self:flex-start}.echo-title h1.haunt-wordmark{text-shadow:1px 2px #381e1d,0 3px 12px #0009;font-size:clamp(72px,19vw,104px);line-height:.88}.title-landing .title-tagline{letter-spacing:.04em;margin-top:18px;font-size:13px}.title-main-controls{text-shadow:0 1px 5px #000;align-self:center;width:min(100%,440px)}.title-main-controls .stage-selector{border:0;min-width:0;margin:0;padding:0;display:block}.stage-selector legend{color:var(--ink);font:500 21px/1.6 var(--serif);letter-spacing:.06em;margin-bottom:12px;padding:0}.stage-route,.practice-stages{margin:0;padding:0;list-style:none}.stage-route{position:relative}.stage-route:before{content:"";background:#ded6c34d;width:1px;position:absolute;top:28px;bottom:28px;left:10px}.stage-route li,.practice-stages li{position:relative}.echo-game .stage-choice{width:100%;min-height:56px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:0;align-items:center;gap:12px;padding:10px 6px 10px 0;display:flex;position:relative}.stage-choice-name{font:500 clamp(16px, 4.6vw, 22px)/1.6 var(--serif);overflow-wrap:anywhere}.stage-mark{isolation:isolate;width:20px;height:20px;color:var(--ink);font:13px var(--body);flex:0 0 20px;place-items:center;display:grid;position:relative}.stage-mark:before{content:"";z-index:-1;background:#1a1919;border:1px solid #b4aca0;border-radius:50%;width:12px;height:12px;position:absolute}.stage-choice>small{color:var(--muted);font:12px/1.5 var(--body);flex-shrink:0;margin-left:auto}.stage-route li[data-selected=true]{background:linear-gradient(90deg,#b9a2821f,#0000)}li[data-selected=true]>.stage-choice{color:var(--ink)}li[data-selected=true]>.stage-choice .stage-mark:before{background:var(--ink);border-color:var(--ink);width:16px;height:16px}li[data-selected=true]>.stage-choice .stage-mark{color:#24201b}li[data-complete=true]>.stage-choice .stage-mark:before{width:18px;height:18px}.stage-choice:disabled{color:var(--faint)}li[data-locked=true] .stage-mark:before{display:none}.stage-mark svg{fill:#171615;stroke:currentColor;stroke-width:1.4px;width:14px;height:18px}.stage-choice:enabled:hover .stage-choice-name{color:var(--ink);text-underline-offset:6px;text-decoration:underline}.practice-selector{color:var(--muted);margin:2px 0 10px 32px;font-size:13px}.practice-selector summary{cursor:pointer;width:fit-content;min-height:44px;padding-block:10px}.practice-stages .stage-choice{min-height:48px}.practice-stages .stage-choice-name{font-size:15px}.title-main-controls .stage-card{justify-content:space-between;align-items:baseline;gap:12px;margin:12px 0 20px;display:flex}.title-main-controls .stage-card-meta{font:14px/1.6 var(--body);letter-spacing:0;flex-wrap:wrap;justify-content:flex-start;align-items:baseline;gap:4px 12px}.title-main-controls .stage-card p.stage-best{font:13px/1.5 var(--body);letter-spacing:0;border:0;flex-wrap:wrap;justify-content:flex-end;gap:0 7px;margin:0;padding:0;display:flex}.title-main-controls .stage-best strong{font:400 23px/1.5 Georgia,serif}.title-main-controls .stage-best>span{text-align:right;flex-basis:100%;font-size:12px}.title-main-controls .difficulty-selector{gap:12px;margin:0 0 22px}.title-main-controls .difficulty-selector legend{font:14px/1.5 var(--body);color:var(--muted);padding-bottom:8px}.title-main-controls .difficulty-option{background:0 0;border:0;gap:10px;min-height:58px;padding:8px 0;position:relative}.title-main-controls .difficulty-option+.difficulty-option{border-left:1px solid var(--line);padding-left:14px}.title-main-controls .difficulty-option input{accent-color:#ded4c1;flex-shrink:0;width:20px;height:20px;margin:0}.title-main-controls .difficulty-option strong{font:500 19px/1.4 var(--serif);letter-spacing:.04em}.title-main-controls .difficulty-option small{font:13px/1.5 var(--body);margin-top:2px}.title-main-controls .difficulty-option.is-selected strong{text-underline-offset:6px;-webkit-text-decoration:underline #c1bbb380;text-decoration:underline #c1bbb380}.title-main-controls .difficulty-option:focus-within{outline:0}.title-main-controls .difficulty-option:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:4px}.echo-game .menu-primary{isolation:isolate;min-height:64px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:14px 26px;font-weight:500;position:relative}.echo-game .menu-primary:before{content:"";z-index:-2;pointer-events:none;border:24px solid #0000;border-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='600'%20height='120'%20viewBox='0%200%20600%20120'%20preserveAspectRatio='none'%3e%3cdefs%3e%3cpath%20id='face'%20d='M35%204H565A31%2031%200%200%200%20596%2035V85A31%2031%200%200%200%20565%20116H35A31%2031%200%200%200%204%2085V35A31%2031%200%200%200%2035%204Z'/%3e%3cclipPath%20id='wood-clip'%3e%3cuse%20href='%23face'/%3e%3c/clipPath%3e%3clinearGradient%20id='wood'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23603d2e'/%3e%3cstop%20offset='.22'%20stop-color='%23513226'/%3e%3cstop%20offset='.6'%20stop-color='%2359372a'/%3e%3cstop%20offset='1'%20stop-color='%2339271f'/%3e%3c/linearGradient%3e%3clinearGradient%20id='edge'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%239a805e'/%3e%3cstop%20offset='.45'%20stop-color='%236f5740'/%3e%3cstop%20offset='1'%20stop-color='%23877052'/%3e%3c/linearGradient%3e%3cfilter%20id='grain'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%3e%3cfeTurbulence%20type='fractalNoise'%20baseFrequency='.018%20.32'%20numOctaves='2'%20seed='8'%20stitchTiles='stitch'/%3e%3cfeColorMatrix%20type='saturate'%20values='0'/%3e%3c/filter%3e%3c/defs%3e%3cuse%20href='%23face'%20fill='%2321120e'%20stroke='%231a100c'%20stroke-width='4'/%3e%3cuse%20href='%23face'%20fill='url(%23wood)'/%3e%3cg%20clip-path='url(%23wood-clip)'%20fill='none'%20stroke-linecap='round'%3e%3cpath%20d='M0%2022C90%2011%20126%2034%20224%2024S385%2013%20600%2026M0%2037C96%2029%20137%2043%20237%2035S460%2028%20600%2039M0%2053C117%2045%20164%2062%20274%2050S469%2043%20600%2056M0%2073C95%2065%20179%2083%20286%2071S471%2065%20600%2078M0%2095C148%2083%20220%20108%20349%2094S502%2088%20600%20101'%20stroke='%23b56d47'%20stroke-width='1.1'%20opacity='.08'/%3e%3cpath%20d='M0%2028C112%2019%20185%2045%20295%2029S472%2023%20600%2032M0%2046C89%2039%20184%2055%20286%2044S482%2038%20600%2049M0%2063C125%2056%20192%2074%20338%2060S485%2057%20600%2066M0%2088C120%2073%20188%2097%20307%2086S471%2079%20600%2091M0%20108C133%2095%20227%20113%20376%20104S492%2099%20600%20111'%20stroke='%231d100e'%20stroke-width='1.6'%20opacity='.12'/%3e%3crect%20width='600'%20height='120'%20filter='url(%23grain)'%20opacity='.08'%20style='mix-blend-mode:soft-light'/%3e%3c/g%3e%3cuse%20href='%23face'%20fill='none'%20stroke='url(%23edge)'%20stroke-width='1.5'/%3e%3cpath%20d='M40.510%2010H559.490A37%2037%200%200%200%20590%2040.510V79.490A37%2037%200%200%200%20559.490%20110H40.510A37%2037%200%200%200%2010%2079.490V40.510A37%2037%200%200%200%2040.510%2010Z'%20fill='none'%20stroke='%232b1811'%20stroke-width='3'/%3e%3cpath%20d='M42.974%2013H557.026A40%2040%200%200%200%20587%2042.974V77.026A40%2040%200%200%200%20557.026%20107H42.974A40%2040%200%200%200%2013%2077.026V42.974A40%2040%200%200%200%2042.974%2013Z'%20fill='none'%20stroke='%23bd955d'%20stroke-opacity='.35'%20stroke-width='1'/%3e%3c/svg%3e") 56 fill/24px;position:absolute;inset:0}.echo-game .menu-primary:enabled:is(:hover,:active){background:0 0;border:0}.echo-game .menu-primary:enabled:hover:before{filter:brightness(1.07)}.echo-game .menu-primary:enabled:active:before{filter:brightness(.85)}.echo-game .menu-primary:disabled{color:var(--faint);background:0 0;border:0}.echo-game .menu-primary:disabled:before{filter:saturate(.25)brightness(.6)}.title-main-controls .menu-primary{letter-spacing:.12em;min-height:70px;padding-block:12px;font-size:28px;line-height:1.35}.echo-title .title-help{padding:16px clamp(24px, 6vw, 40px) max(36px, env(safe-area-inset-bottom));width:min(100%,560px);color:var(--muted);margin:0 auto}.title-help .stage-description{font:14px/1.9 var(--body)}.title-help #difficulty-description{margin-top:14px;font-size:14px;line-height:1.8}.title-help .title-instructions{margin-top:12px;font-size:14px}.title-help .enemy-guide{margin-top:22px;padding-top:8px;font-size:14px}.title-help .enemy-guide summary{min-height:48px;padding-block:12px}.title-help .enemy-guide ul{gap:17px}.title-help .enemy-guide li strong{font:500 16px/1.6 var(--serif)}.title-help .enemy-guide li span{margin-top:3px;line-height:1.8}.hunt-screen{padding:max(20px, env(safe-area-inset-top)) clamp(16px, 4vw, 48px) max(24px, env(safe-area-inset-bottom))}.hunt-shade{background:radial-gradient(#0000 20%,#06090f33 78%),linear-gradient(#070c13a8,#0000 30%,#070a104d)}.game-hud{border-bottom:1px solid #9b805638;grid-template-columns:minmax(0,1fr) auto auto 44px;grid-template-areas:"stage life life pause""stage score progress pause";gap:5px 10px;padding-bottom:16px}.hud-stage{grid-area:stage;align-self:center;gap:5px;min-width:0}.hud-stage .eyebrow{letter-spacing:.02em;font-size:12px;line-height:1.5}.hud-stage>span:last-child{letter-spacing:.03em;font-size:clamp(17px,4.7vw,25px);line-height:1.4}.game-hud .pause-button{border-color:#b39b7780;grid-area:pause;align-self:start}.game-hud .life-meter{grid-area:life;justify-content:flex-end;align-items:center;gap:8px;display:flex}.game-hud .life-symbols{gap:5px;margin:0;font-size:19px}.game-hud .hud-label{letter-spacing:.02em;font-size:12px}.game-hud .hud-score,.game-hud .hud-progress{text-align:right;justify-content:flex-end;align-items:baseline;gap:6px;display:flex}.game-hud .hud-score{grid-area:score}.game-hud .hud-progress{grid-area:progress}.game-hud .hud-score strong,.game-hud .hud-progress strong{margin:0;font-size:20px;line-height:1.4}.hunt-screen[data-difficulty=normal][data-phase=playing] .hunt-focus:not(.is-victorious) .reticle-center{visibility:hidden}.boss-status{margin-top:14px}@media (width>=900px){.title-landing{background-image:linear-gradient(90deg, #090d1410, #090d1420 40%, #0d0f12d9), var(--stage-background,url(/assets/mansion-panorama-CqiNHJQH.jpg));grid-template-columns:minmax(0,1fr) minmax(320px,480px);align-items:end;gap:72px;padding:7vh 7vw 48px;display:grid}.title-landing .title-heading{align-self:start}.title-main-controls{justify-self:end;width:100%}.echo-title .title-help{width:480px;margin:0 7vw 0 auto;padding-inline:0}}@media (width<=360px){.title-landing{padding-inline:20px}.title-main-controls{width:100%}.title-main-controls .stage-card{gap:0}.title-main-controls .stage-card-meta{gap:7px}.title-main-controls .stage-card p.stage-best{padding-left:8px}.title-main-controls .stage-best strong{font-size:22px}.game-hud{gap:5px 7px}.hud-stage .eyebrow{font-size:11px}.hud-stage>span:last-child{font-size:15px}.game-hud .life-symbols{gap:3px;font-size:16px}.game-hud .hud-score,.game-hud .hud-progress{gap:4px}}@media (height<=700px) and (width<=899px){.title-landing{gap:32px;padding-block:24px}.echo-title h1.haunt-wordmark{font-size:72px}}@media (width<=360px){.setup-flow{padding-left:20px}.setup-step:before{left:-20px}.setup-step[data-complete=true]:after{left:-23px}.connection-button>span,.setup-step[aria-current=step] .connection-button>span{font-size:16px}.connection-button{column-gap:8px}.connection-button small{font-size:12px}.setup-support{padding-bottom:48px}.setup-help summary{width:100%}.setup-support .pc-option{text-align:left;width:100%;inset:auto auto 0 0}.stage-choice>small{font-size:11px}}@media (width>=900px){.foyer-controls{margin-right:0}.echo-result .result-content{background:radial-gradient(#090c1070,#0000 75%);width:520px;margin-right:0;padding:32px}}
