/*! tailwindcss v4.3.3 | 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-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:"Vazirmatn", system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--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%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;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:where(:not(iframe)){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]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance: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}.static{position:static}.\!hidden{display:none!important}.hidden{display:none}.filter{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,)}}html{font-family:Vazirmatn,system-ui,sans-serif}@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}:root{font-family:Vazirmatn,sans-serif;color:#e8e9e3;background:#090e11}*{box-sizing:border-box}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #c89d69;outline-offset:3px}.app-shell{min-height:100dvh;background:#090e11;overflow:hidden}.menu-screen{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);position:relative;isolation:isolate;background:radial-gradient(circle at 70% 50%,#26353b,#0d171c 42%,#090e11 78%)}.menu-grain{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.24;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.21'/%3E%3C/svg%3E");z-index:2}.menu-content{z-index:3;position:relative;width:100%;max-width:650px;padding:45px 24px 40px;margin:auto}.menu-kicker,.eyebrow{color:#bd9970;font-size:12px;font-weight:800;letter-spacing:.04em}.menu-kicker{display:flex;align-items:center;gap:9px}.pulse-dot{width:7px;height:7px;background:#c0574b;border-radius:50%;box-shadow:0 0 12px #c0574b;animation:pulse 2s infinite}.menu-symbol{font-size:42px;color:#c7a477;margin:34px 0 0;line-height:1;text-shadow:0 0 32px #b79a6c66}.menu-overline{font-size:14px;color:#afbfbd;letter-spacing:.08em;margin:18px 0 8px}.menu-content h1{font-size:clamp(58px,12vw,108px);font-weight:900;line-height:1.18;letter-spacing:0;margin:0;color:#f4f1e8;text-shadow:0 5px 35px #0008}.menu-content h1 em{font-style:normal;color:#c49b6b}.menu-description{max-width:440px;color:#a7b1b1;font-size:15px;line-height:2;margin:23px 0 27px}.menu-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;max-width:290px}.primary-button,.secondary-button,.text-button{min-height:51px;border:0;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 18px;transition:background .2s,transform .2s,color .2s;font-weight:800;border-radius:8px}.primary-button{background:#c49b6b;color:#171b1c;box-shadow:0 10px 35px #0005}.primary-button:hover{background:#e2b982;transform:translateY(-2px)}.secondary-button{background:#ffffff10;color:#ecefe9;border:1px solid #ffffff25}.secondary-button:hover,.text-button:hover{background:#ffffff20}.text-button{background:transparent;color:#aebbbb;justify-content:flex-start;padding-inline:6px}.menu-foot{display:flex;flex-wrap:wrap;gap:11px 24px;color:#74878a;font-size:12px;margin-top:65px}.menu-foot span:before{content:"◆";font-size:6px;color:#b38f65;margin-left:7px}.menu-visual{display:none;position:relative;overflow:hidden;min-height:100%;background:radial-gradient(ellipse at 52% 51%,#546068aa,#1c292f 8%,#091014 57%);box-shadow:inset 90px 0 120px #090e11,inset 0 0 150px #000}.tunnel-arch{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:33px solid #161f24;border-bottom:0;border-radius:46% 46% 0 0;width:80%;height:88%;box-shadow:inset 0 0 24px #81919a22,0 0 30px #000}.tunnel-arch.a2{width:55%;height:62%;border-width:26px;top:52%;border-color:#253039}.tunnel-arch.a3{width:31%;height:39%;border-width:18px;top:53%;border-color:#344049}.rail{position:absolute;bottom:-10%;width:3px;height:58%;background:linear-gradient(#9d9b88,#242c31);transform-origin:bottom;box-shadow:0 0 12px #bfb69955}.r1{left:26%;transform:rotate(26deg)}.r2{right:26%;transform:rotate(-26deg)}.distant-light{position:absolute;left:50%;top:48%;width:12px;height:12px;border-radius:50%;background:#e1b18c;box-shadow:0 0 14px 8px #ce927b80,0 0 100px 40px #e7a68930;transform:translate(-50%,-50%);animation:flicker 4.8s infinite}.visual-label{position:absolute;bottom:35px;left:40px;color:#839398;font-size:13px;letter-spacing:.1em}.settings-screen,.ending-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 20%,#27353b,#0b1115 65%)}.settings-card,.ending-card{width:100%;max-width:620px;padding:25px;background:#172126;border:1px solid #405057;border-radius:14px;box-shadow:0 25px 70px #0007}.back-button{display:flex;align-items:center;gap:8px;color:#abb8b8;background:none;border:0;min-height:44px;margin-bottom:20px}.settings-card h2,.story-modal h2{font-size:28px;margin:10px 0 25px;color:#f5f0e9}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #ffffff19;padding:18px 0;min-height:66px}.setting-row>div{display:flex;align-items:center;gap:12px;color:#dbe1de;font-size:14px}.setting-row svg{color:#c49b6b;flex:none}.switch{width:51px;height:29px;background:#4b5354;border:0;border-radius:99px;padding:4px;flex:none}.switch span{display:block;width:21px;height:21px;border-radius:50%;background:#fff;transition:transform .2s}.switch.on{background:#b9976d}.switch.on span{transform:translate(-22px)}input[type=range]{accent-color:#c49b6b;max-width:125px}.guide{border-top:1px solid #ffffff19;margin-top:5px;padding-top:15px}.guide h3{color:#c49b6b;font-size:17px}.guide p{color:#aab8b8;line-height:2;font-size:14px}.guide b{color:#e5e4db}.game-screen{height:100dvh;width:100%;position:relative;background:#080e12;overflow:hidden;touch-action:none}.game-screen canvas{width:100%;height:100%;display:block}.game-vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 90px 20px #01040580;z-index:1}.actor-label{display:inline-block;white-space:nowrap;padding:3px 10px;border-radius:99px;background:#0b1519e8;border:1px solid #c4a276;color:#f7ebd6;font:700 15px Vazirmatn,sans-serif;text-shadow:0 1px 4px #000;box-shadow:0 3px 14px #000a}.monster-label{border-color:#d14a56;color:#ffbdc2;background:#330d17eb}.game-top{position:absolute;z-index:3;top:0;left:0;right:0;padding:calc(17px + env(safe-area-inset-top)) 17px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;pointer-events:none}.chapter-chip{display:flex;flex-direction:column;gap:3px;background:#0a1116dd;border:1px solid #8796993b;padding:10px 15px;border-radius:9px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.chapter-chip span{font-size:11px;letter-spacing:.07em;color:#c5a175}.chapter-chip strong{font-size:15px;color:#f2f1e9}.top-actions{display:flex;align-items:center;gap:9px;pointer-events:auto}.health{display:flex;gap:3px;color:#637078;padding:8px 10px;border-radius:7px;background:#0a1116cc}.health .alive{color:#c96561}.icon-button{border:1px solid #ffffff35;color:#e9eae2;background:#0a1116cc;border-radius:8px;width:44px;height:44px;display:grid;place-items:center}.icon-button:hover{background:#37464a}.objective-panel{position:absolute;z-index:3;top:calc(95px + env(safe-area-inset-top));right:17px;max-width:min(330px,calc(100% - 34px));background:#0b1519e6;border-right:3px solid #bd9869;border-radius:5px;padding:11px 14px;box-shadow:0 8px 25px #0006;pointer-events:none}.objective-label{font-size:11px;color:#c4a47c;display:block;margin-bottom:2px}.objective-panel strong{font-size:13px;font-weight:600;color:#e9e9e2;line-height:1.8}.nearby-hint,.toast,.hidden-status,.stun-status{position:absolute;z-index:4;left:50%;transform:translate(-50%);text-align:center;background:#122126ec;border:1px solid #93ab9b66;padding:9px 15px;border-radius:8px;color:#eee9db;font-size:13px;white-space:normal;max-width:calc(100% - 32px)}.nearby-hint{bottom:160px}.nearby-hint span{color:#c5a577}.toast{top:34%;width:max-content;max-width:min(440px,calc(100% - 32px));border-color:#c5a577aa;line-height:1.8}.hidden-status{top:174px;color:#c6d9cd}.stun-status{top:215px;color:#d8bd87}.game-bottom{position:absolute;z-index:4;left:0;right:0;bottom:0;padding:10px 15px calc(14px + env(safe-area-inset-bottom));display:flex;align-items:flex-end;justify-content:space-between;gap:12px;pointer-events:none}.game-bottom button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;display:flex;justify-content:center;align-items:center;color:#edece2;background:#152126d9;border:1px solid #afc0bd55;border-radius:11px;transition:background .15s,transform .15s;min-width:49px;min-height:49px}.game-bottom button:active{background:#bc9970;transform:scale(.94);color:#111}.dpad{display:flex;flex-direction:column;align-items:center;gap:4px}.dpad>div{display:flex;gap:4px}.dpad svg{width:23px}.action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:242px}.action-buttons button{gap:5px;padding:6px 8px;font-size:12px}.action-buttons .interact-button{background:#b99872;color:#142026;border-color:#e4c398;font-weight:800}.modal-scrim{position:absolute;z-index:12;top:0;right:0;bottom:0;left:0;background:#030809df;display:grid;place-items:center;padding:16px;overflow-y:auto}.story-modal{position:relative;width:100%;max-width:520px;background:linear-gradient(145deg,#1e2b2e,#111b20);border:1px solid #7b8c8a70;border-radius:12px;padding:28px;box-shadow:0 25px 90px #000b}.story-modal p{color:#c0ceca;font-size:15px;line-height:2.2;margin:0 0 25px}.story-modal .primary-button,.story-modal .secondary-button{width:100%;margin-top:10px}.modal-close{position:absolute;top:13px;left:13px;min-width:44px;min-height:44px;border:0;color:#a8b3b1;background:none}.code-input{display:block;width:100%;height:55px;text-align:center;letter-spacing:12px;font-size:25px;color:#e8e9df;background:#0b1519;border:1px solid #76827e;border-radius:7px;margin-bottom:15px}.choices{display:grid;gap:10px}.choices button{min-height:76px;text-align:right;background:#25343a;border:1px solid #70847d6b;border-radius:8px;padding:14px 16px;color:#f2ede3;transition:background .2s,border-color .2s}.choices button:hover{background:#364c50;border-color:#d5ab79}.choices strong,.choices small{display:block}.choices strong{font-size:15px;margin-bottom:4px}.choices small{color:#aabbb8;line-height:1.6;font-size:12px}.loading-cover{position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0a1115;color:#c7af89;gap:15px;pointer-events:none}.loading-mark{font-size:74px;animation:pulse 2s infinite}.loading-cover p{font-size:17px}.loading-cover small{color:#9daaa9}.loading-track{width:min(230px,70%);height:3px;background:#455159}.loading-track span{display:block;height:100%;background:#c49b6b;transition:width .2s}.scene-failure{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;color:#e9e2da}.scene-failure button{background:#c49b6b;padding:12px 20px;border:0;border-radius:6px}.jumpscare{position:absolute;z-index:20;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle,#790e18,#090607 75%);display:grid;place-items:center;animation:scare .65s forwards;pointer-events:none}.scare-eyes{font-size:clamp(80px,22vw,200px);color:#e2d8cd;text-shadow:0 0 40px #ed1834;letter-spacing:.1em}.ending-card{text-align:center;padding:42px 28px}.ending-glyph{font-size:72px;color:#c49b6b;margin:12px}.ending-card h1{font-size:clamp(27px,6vw,42px);line-height:1.5;margin:0 0 18px}.ending-card p{color:#bdc8c4;line-height:2.2;font-size:16px}.ending-credit{display:block;color:#987f66;margin:24px 0}.ending-card .primary-button{margin:auto}.pause-modal{text-align:center}@keyframes pulse{50%{opacity:.38;transform:scale(.92)}}@keyframes flicker{0%,19%,21%,74%,77%,to{opacity:1}20%,75%{opacity:.25}}@keyframes scare{0%{opacity:0;transform:scale(1.3)}20%{opacity:1;transform:scale(1)}78%{opacity:1}to{opacity:0}}@media(min-width:768px){.menu-screen{grid-template-columns:1fr 1fr}.menu-content{padding:60px 9%;margin:auto 0 auto auto}.menu-visual{display:block}.game-top{padding:calc(24px + env(safe-area-inset-top)) 30px 0}.objective-panel{top:calc(104px + env(safe-area-inset-top));right:30px}.game-bottom{padding:20px 30px calc(20px + env(safe-area-inset-bottom))}.action-buttons{max-width:310px}.action-buttons button{min-width:65px;min-height:56px;font-size:14px}.dpad button{width:56px;height:56px}.nearby-hint{bottom:145px}}@media(max-width:380px){.game-bottom{padding-inline:8px;gap:5px}.game-bottom button{min-width:43px;min-height:44px}.action-buttons{max-width:154px;gap:4px}.action-buttons button{font-size:11px;flex-direction:column;gap:0;padding:2px}.dpad{gap:3px}.dpad>div{gap:3px}.game-top{padding-inline:9px}.objective-panel{right:9px}.nearby-hint{bottom:158px}}
