/* Midnight Post / Horror edition. All text, meters and controls are real DOM. */
:root{color-scheme:dark;--night:#090b0d;--panel:#111416;--paper:#dfded8;--muted:#a6aaab;--line:#ffffff26;--red:#a9453e;--accent:#d9a19a;--scale:1;--exposure:1.12;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans KR",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;min-width:280px;background:var(--night);color:var(--paper)}button,input,select{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer;min-height:44px;padding:11px 15px;color:inherit;background:#11151899;border:1px solid var(--line);border-radius:4px;line-height:1.5;transition:background .18s,border-color .18s}button:hover:not(:disabled){border-color:#aa625a;background:#381816cc}button:disabled{cursor:not-allowed;color:#b6b7b8;background:#0b0e10cc;border-style:dashed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #dfbeb9;outline-offset:4px}button svg{width:23px;height:23px;flex-shrink:0}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}[hidden]{display:none!important}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;z-index:99;left:14px;top:14px;padding:15px;background:#e2ded6;color:#111}.fine{font-size:11px;line-height:1.8;color:#9d9fa1}.serif,h1,h2,h3,.story-text,.ambient-line,.hero-lead,.hero-subtitle{font-family:Georgia,"Noto Serif CJK KR","Noto Serif CJK JP","Songti SC",serif}h1,h2,h3,p{overflow-wrap:anywhere}h1:focus{outline:none}h1,h2{font-weight:500}h1{margin:0}svg{display:block}
.topbar{min-height:88px;padding:14px 2.6vw;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff20;background:linear-gradient(180deg,#070809,#111315);position:relative;z-index:5}.brand{display:flex;align-items:center;gap:13px}.brand>svg{width:32px;height:32px;color:#b98178}.brand button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:0;border:0;background:none;min-height:44px}.brand strong{font:500 25px Georgia,"Noto Serif CJK KR",serif;letter-spacing:-.04em}.brand span{font-size:10px;color:#979797;letter-spacing:.08em;margin-top:6px}.controls{display:flex;align-items:center;gap:9px}.controls button{font-size:11px}.icon-button{padding:10px;display:grid;place-items:center;min-width:44px}.lang-wrap select{min-height:44px;background:#101316;color:#cacac6;border:1px solid #ffffff27;border-radius:4px;padding:8px 28px 8px 12px;font-size:11px;max-width:175px}.footer{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:19px 2.8vw;border-top:1px solid #ffffff12;background:#07090a}.footer p{margin:0}.footer span{white-space:nowrap;font-size:10px;letter-spacing:.05em}
/* Landing page: photo area stays visible, rather than a flattened UI screenshot. */
.hero{min-height:calc(100svh - 167px);position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;padding:72px 6.5vw 56px}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:67% 49%;filter:brightness(var(--exposure));z-index:-3}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#030405ed 0%,#050709d9 29%,#05060888 48%,#02040608 74%),linear-gradient(0deg,#07090a 0%,transparent 24%,transparent 77%,#05060838)}.hero-copy{max-width:560px;width:49%;position:relative}.eyebrow{font-size:10px;letter-spacing:.19em;color:#c2a4a0;text-transform:uppercase;display:flex;align-items:center;gap:10px;margin:0 0 26px}.signal-dot{width:5px;height:5px;background:#d67567;border-radius:50%;box-shadow:0 0 12px #b55346}.hero h1{font-size:clamp(47px,5.1vw,84px);letter-spacing:-.065em;line-height:1.16;color:#e4e2dc;text-shadow:2px 1px #281919;margin-bottom:15px;word-break:keep-all}.hero-subtitle{margin:0 0 26px;font-size:22px;letter-spacing:.15em;color:#b5b4b0}.postal-rule{display:flex;gap:16px;align-items:center;font:11px monospace;color:#aa6f69;margin:27px 0}.postal-rule i{height:1px;background:linear-gradient(90deg,#89534a,transparent);width:190px}.hero-lead{font-size:calc(17px * var(--scale));line-height:1.95;color:#c0c0bc;margin:0 0 25px;max-width:450px;word-break:keep-all}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:27px 0 13px}.primary{background:linear-gradient(100deg,#6e231c,#341010);border-color:#a15d50;color:#fff0e9;padding:14px 24px}.primary:hover:not(:disabled){background:#7a2b24;border-color:#d5b2a4}.hero-actions .primary{display:flex;gap:35px;align-items:center;justify-content:space-between;font-size:14px;min-width:245px}.ending-link{border:0;background:transparent;padding:8px 0;font-size:12px;color:#a8a4a0;display:flex;gap:20px}.content-warning{font-size:11px;color:#aaa4a1;line-height:1.9;margin:22px 0 0;max-width:490px}.hero-aside{position:absolute;right:4vw;bottom:63px;width:29%;text-align:right}.hero-aside>span{font:10px monospace;color:#d7c8bf;letter-spacing:.2em}.hero-aside p{font:18px Georgia,"Noto Serif CJK KR",serif;letter-spacing:.05em;color:#c8c7c0}.postal-lines{display:block;height:12px;width:115px;border-top:1px solid #9f6151;border-bottom:1px solid #9f6151;margin-left:auto;transform:rotate(-5deg);opacity:.7}.hero-features{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:24px 6.5vw;background:#0d0f10;border-top:1px solid #ffffff13}.feature{display:flex;gap:18px;align-items:center}.feature .no{font:25px Georgia,serif;color:#755b56}.feature p{font-size:11px;line-height:1.8;color:#aaa9a6;margin:0}
/* Live resource HUD: do not display fictitious health, timers or choice costs. */
.statusbar{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:12px 2.8vw;background:#0b0e10;border-bottom:1px solid #ffffff22}.chapter{display:flex;gap:15px;align-items:center;max-width:34%}.chapter>strong{font:26px Georgia,serif;color:#b8b5ae;white-space:nowrap}.chapter>strong small{font:11px monospace;color:#757b7e}.chapter>span{font-size:10px;line-height:1.65;color:#999d9e}.resources{display:flex;gap:30px;align-items:center}.resource{display:flex;align-items:center;gap:11px;min-width:92px;position:relative;padding-bottom:5px}.resource>svg{width:26px;height:29px;color:#b3b6b7}.resource>div:not(.meter){display:flex;flex-direction:column;gap:2px}.resource span{font-size:10px;color:#bababa}.resource strong{font:23px Georgia,serif;color:#ededeb;font-variant-numeric:tabular-nums;white-space:nowrap}.resource small{font:12px monospace;color:#868f94}.meter{position:absolute;bottom:0;left:37px;right:0;height:2px;background:#ffffff17}.meter i{height:100%;display:block;background:#b8b6ad}.resource.memory .meter i{background:#aa766f}.frozen-time{border-left:1px solid #ffffff20;padding-left:22px}
/* Cinematic play layout. A real scene image sits behind independent reading and choice panels. */
.stage{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(300px,.86fr) minmax(360px,1.45fr) 80px;grid-template-rows:minmax(275px,1fr) auto;column-gap:30px;row-gap:18px;min-height:calc(100svh - 161px);padding:28px 2.8vw 25px;overflow:hidden;background:#090b0d}.world-art{position:absolute;inset:0;z-index:-3;overflow:hidden}.world-art .scene-img{height:100%;width:100%;object-fit:cover;object-position:65% 42%;filter:brightness(var(--exposure));transition:filter .5s}.world-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#030507ee 0%,#030507da 28%,#0305076b 39%,#06080a06 65%,#030507aa 98%),linear-gradient(0deg,#060809ef 0%,#05060963 18%,transparent 50%,#080a0d20 100%)}.scene-fog{position:absolute;inset:-20%;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 70% 55%,#bed5e019 0%,transparent 42%),radial-gradient(ellipse at 42% 75%,#abccd516 0%,transparent 30%);animation:drift 26s ease-in-out infinite alternate}.world-art .scene-fog{z-index:1;opacity:.7;mix-blend-mode:screen}.memory-veil{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 110px 12px #080609a6;z-index:2}.memory-low .memory-veil{box-shadow:inset 0 0 150px 25px #5408007a}.stage[data-scene="machine"] .memory-veil{background:linear-gradient(125deg,transparent 25%,#96221718 100%)}.reading{grid-column:1;grid-row:1 / span 2;align-self:start;position:relative;z-index:1;padding:5px 4px 10px 0;min-width:0}.reading-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font:10px monospace;color:#8f9497;margin-bottom:24px}.saved{font:9px system-ui;line-height:1.5;text-align:right;max-width:230px;color:#a0aaa6}.saved.temporary,.saved.conflict{color:#d2a495}.chapter-caption{font-size:11px;color:#999c9c;margin:0 0 10px;letter-spacing:.12em}.scene-heading{font-size:clamp(25px,2.2vw,37px);line-height:1.37;letter-spacing:-.025em;border-bottom:1px solid #b9b7ad3b;padding-bottom:20px;margin-bottom:20px;color:#e0e0da}.story-text{font-size:calc(15px * var(--scale));line-height:1.96;color:#cccfcf;word-break:keep-all;overflow-wrap:anywhere}.story-text p{margin:0 0 18px}.ambient-line{font-size:calc(14px * var(--scale));line-height:1.9;word-break:keep-all;color:#c3a8a2;padding:14px 0 14px 16px;border-left:2px solid #874b44;margin:26px 0 20px}.letter-quote{font:italic calc(15px * var(--scale))/1.95 Georgia,"Noto Serif CJK KR",serif;margin:22px 0;padding:19px 20px;border:1px solid #9e908263;background:#11100ee8;color:#d5c9b5;box-shadow:0 5px 20px #0003}.memory-note{font-size:11px;line-height:1.85;padding:12px 14px;background:#3914108c;border:1px solid #a34d404a;color:#e3bcb4}.memory-note>span{display:block;font:9px monospace;margin-bottom:7px;color:#c7867a}.reading-tools{display:flex;flex-wrap:wrap;gap:8px;padding-top:19px;border-top:1px solid #ffffff1c;margin-top:25px}.reading-tools button{font-size:10px;display:flex;align-items:center;gap:6px;padding:8px 10px;background:#0b0d0fc4}.reading-tools svg{width:16px;height:16px}.scene-side{grid-column:2;grid-row:1;position:relative;min-height:270px;min-width:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start}.scene-caption{position:absolute;left:0;top:3px;font:9px monospace;letter-spacing:.13em;color:#bec8cb9c;display:flex;flex-direction:column;gap:8px;max-width:50%}.objective-card{width:225px;background:linear-gradient(150deg,#bdb3a0f7,#8e8473f0);color:#1d1d1b;box-shadow:3px 7px 25px #0009;transform:rotate(2deg);padding:18px 19px;position:relative}.objective-card:before{content:"";position:absolute;top:-5px;left:25px;width:47px;height:13px;background:#9d92829e;transform:rotate(-8deg)}.objective-card>span{font-size:10px;border-bottom:1px solid #3b352757;padding-bottom:7px;display:block;letter-spacing:.14em}.objective-card p{font:14px/1.8 Georgia,"Noto Serif CJK KR",serif;margin:10px 0 0;word-break:keep-all}.examine-trigger{display:flex;align-items:center;gap:10px;position:absolute;left:0;bottom:4px;padding:8px 14px;background:#0a1014bd;color:#c8cccd;border-color:#a7b5bd5a;font-size:11px;backdrop-filter:blur(3px)}.examine-trigger svg{width:21px}.choice-area{grid-column:2;grid-row:2;min-width:0;align-self:end;position:relative;z-index:2}.choice-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:8px 0 13px;color:#dedbd7}.choice-heading>span{font:19px Georgia,"Noto Serif CJK KR",serif}.choice-heading small{max-width:165px;font:9px/1.6 system-ui;color:#aaaead;text-align:right}.choices{display:grid;gap:9px}.choice{width:100%;display:grid;grid-template-columns:25px minmax(0,1fr) 16px;gap:12px;text-align:left;background:linear-gradient(105deg,#171b1ce8,#080a0ce3);border:1px solid #92999682;min-height:61px;padding:11px 15px;box-shadow:0 2px 8px #0004;border-radius:5px;align-items:center}.choice:hover:not(:disabled){background:linear-gradient(100deg,#631910ee,#230807ec);border-color:#ae6b5e}.choice:disabled{background:linear-gradient(100deg,#16181acf,#090b0ce8);border-color:#565a5b;color:#a2a3a3}.choice .idx{align-self:center;text-align:center;border-radius:3px;background:#030405ac;padding:4px 2px;font:16px Georgia,serif;border:1px solid #6e75735c;color:#e1deda}.choice-copy{min-width:0}.choice-label{display:block;font-size:calc(13px * var(--scale));line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}.choice-meta{display:block;font-size:calc(9px * var(--scale));color:#bdbab3;line-height:1.75;margin-top:3px}.choice:disabled .choice-meta{color:#c7a899}.choice .arrow{font-size:16px;color:#a3a3a0}.outcome{display:flex;gap:12px;flex-wrap:wrap;color:#c8afa3;font:11px/1.7 system-ui;padding:11px 14px;border-left:2px solid #b66e60;background:#0b0b0cef;margin-bottom:14px}.outcome strong{font-weight:400;color:#e2c5ba}.side-rail{grid-column:3;grid-row:1 / span 2;display:flex;flex-direction:column;gap:11px;align-items:stretch;padding-top:4px;border-left:1px solid #ffffff14;padding-left:10px;min-width:0}.side-rail>button{border:0;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:10px;padding:12px 3px;background:#080b0f4d}.side-rail>button svg{width:29px;height:29px;color:#b3b5b5}.side-rail>button span{word-break:keep-all;line-height:1.65}.mail-caption{font-size:9px;text-align:center;color:#939b9d;margin-top:15px;padding-top:17px;border-top:1px solid #ffffff24}.mail-slots{display:flex;flex-direction:column;gap:6px}.mail-slot{display:flex;flex-direction:column;gap:3px;background:#0b0d0eee;padding:10px 4px;text-align:center;border-color:#535b5b80}.mail-slot span{font-size:10px}.mail-slot b{font-size:8px;line-height:1.5;font-weight:400;color:#a8a5a0}.mail-slot.own{border-color:#799588a0}.mail-slot.rewritten{border-color:#a861538c}.mail-slot.held{border-color:#9c876895}
/* Ending, notebook, and settings are part of the same visual language. */
.ending-main{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr);position:relative;background:#0c0f11}.ending-art{width:100%;height:100%;min-height:650px;object-fit:cover;filter:brightness(var(--exposure))}.ending-paper{padding:54px 7%;background:linear-gradient(110deg,#101416,#080b0d)}.ending-paper h1{font-size:40px;line-height:1.35;margin-bottom:22px}.ending-paper .story-text{font-size:calc(16px * var(--scale))}.ending-stinger{font:italic 16px/1.9 Georgia,"Noto Serif CJK KR",serif;color:#c8a9a1;border-left:2px solid #984b40;padding-left:16px;margin:25px 0}.ending-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}.ending-stats span{font-size:10px;color:#a6a8a5}.ending-stats strong{display:block;font:25px Georgia;margin-top:8px;color:#d8dad8}.ending-actions{display:flex;gap:9px;flex-wrap:wrap}.ending-actions button{font-size:11px}.epilogues{padding:35px 5vw;background:#0c0f10;border-top:1px solid var(--line)}.epilogues h2{font-size:22px;margin-top:0}.epilogues-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.epilogues-grid section{padding:18px 20px;background:#121719;border:1px solid #ffffff12}.epilogues-grid h3{font-size:15px;color:#c5b7ac}.epilogues-grid p{font-size:12px;line-height:1.9;color:#aeb7b9}.modal{position:fixed;inset:0;background:#020405db;backdrop-filter:blur(8px);display:grid;place-items:center;padding:25px;z-index:50}.dialog{width:min(670px,100%);max-height:90svh;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(145deg,#1a2023,#090c0e);border:1px solid #737472;box-shadow:0 20px 120px #000b;padding:30px;border-radius:5px}.dialog-head{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;margin-bottom:22px;border-bottom:1px solid #ffffff26;padding-bottom:16px}.dialog-head h2{font-size:26px;margin:0;line-height:1.4}.dialog-head button{padding:5px;min-width:40px;min-height:40px;font-size:23px;flex-shrink:0}.dialog>p{font-size:13px;line-height:1.9;color:#bdc3c3}.role-grid{display:grid;gap:13px;margin-top:25px}.role-card{display:grid;grid-template-columns:35px 1fr;gap:19px;text-align:left;padding:20px;background:#090f12a6}.role-mark{font:26px Georgia;color:#9f6a5d}.role-card strong{display:block;font:23px Georgia,"Noto Serif CJK KR",serif;margin-bottom:8px}.role-card span span{display:block;font-size:12px;line-height:1.8;color:#b3babe}.setting-row{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #ffffff1b;font-size:12px;line-height:1.8}.setting-row label{max-width:65%}.setting-row output{display:block;color:#c5998c;font:10px monospace;margin-top:2px}.setting-row input[type=range]{width:43%;accent-color:#af6557;min-height:32px}.setting-row input[type=checkbox]{accent-color:#af6557;width:21px;height:21px}.settings-actions,.dialog-footer{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}.settings-actions button,.dialog-footer button{font-size:11px}.dialog-footer{justify-content:flex-end}.ledger-card{padding:17px;margin:14px 0;border:1px solid #91908750;background:#090d10bb}.ledger-card h3{font-size:19px;font-weight:400;margin:0 0 13px}.ledger-card p{font-size:12px;line-height:1.9;color:#bbc0be}.letter-status{display:inline-block;font:10px system-ui;color:#c1a593;border:1px solid #6e5d4e;padding:4px 8px}.ledger-facts{padding-left:18px;color:#c6c4bc}.ledger-facts li{font-size:12px;line-height:1.9;margin:9px 0}.history-list{list-style:none;padding:0;max-height:310px;overflow:auto}.history-list li{font-size:12px;line-height:1.8;border-bottom:1px solid #ffffff1c;padding:10px 0}.history-list li span{display:block;font-size:10px;color:#939da0}.ending-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ending-card{padding:18px;border:1px solid #ffffff20;min-height:110px}.ending-card>span{display:block;font:23px Georgia;color:#7d8688;margin-bottom:12px}.ending-card strong{display:block;font-size:12px;line-height:1.7;font-weight:400}.ending-card.found{border-color:#ab7f6e}.ending-card.found>span{color:#bd9485}.tag{display:inline-block;padding:6px 10px;border:1px solid #9c7463;color:#e2b8a7;font-size:11px;line-height:1.7}.inspect-dialog{width:min(840px,100%)}.inspect-photo{border:1px solid #a8a8a940;overflow:hidden}.inspect-photo img{width:100%;max-height:50svh;object-fit:cover;filter:brightness(var(--exposure))}.route-track{list-style:none;padding:0;position:relative}.route-track:before{content:"";position:absolute;left:17px;top:28px;bottom:30px;width:1px;background:#8a706b80}.route-track li{display:flex;align-items:center;gap:18px;padding:14px 0;position:relative}.route-step{width:36px;height:36px;border:1px solid #5d6a6a;background:#111619;display:grid;place-items:center;font:12px monospace;flex-shrink:0}.route-track small{font-size:10px;color:#879596;display:block;margin-bottom:5px}.route-track strong{font-size:13px;font-weight:400;line-height:1.8}.route-track .current .route-step{border-color:#b67463;background:#4e231c}.route-track .current i{color:#c18272;margin-left:auto;font-size:12px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);max-width:min(620px,94vw);width:max-content;background:#1b2529;border:1px solid #bb887a;color:#ecd8c9;font-size:12px;line-height:1.8;padding:13px 20px;z-index:70;border-radius:5px;box-shadow:0 10px 40px #0008}.error-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 3vw;background:#40231b;color:#e4c5b8;font-size:12px;line-height:1.8;border-bottom:1px solid #9a6552}.error-banner button{flex-shrink:0;font-size:11px}
.focus-reading .world-art{opacity:.17}.focus-reading .hero-art{opacity:.35}.focus-reading .scene-fog{display:none}.reduced *, .reduced *:before,.reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@keyframes drift{from{transform:translate3d(-2%,0,0);opacity:.5}to{transform:translate3d(3%,-2%,0);opacity:.8}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1700px){.stage{grid-template-columns:minmax(350px,.82fr) minmax(500px,1.6fr) 90px;column-gap:50px;padding-inline:4vw}.reading{max-width:530px}.story-text{font-size:calc(17px * var(--scale))}.scene-side{min-height:400px}.choice-label{font-size:calc(15px * var(--scale))}.choice-meta{font-size:calc(10px * var(--scale))}.hero-copy{max-width:650px}.hero-lead{max-width:530px}}
@media(max-width:1100px){.stage{grid-template-columns:minmax(275px,.9fr) minmax(320px,1.2fr) 66px;column-gap:18px;padding:25px 2.5vw}.resources{gap:18px}.resource{min-width:73px;gap:8px}.resource span{font-size:9px}.resource strong{font-size:21px}.resource>svg{width:23px}.frozen-time{padding-left:13px}.chapter{max-width:30%}.chapter>span{font-size:9px}.scene-side{min-height:300px}.objective-card{width:183px;padding:14px}.objective-card p{font-size:12px}.scene-caption{font-size:8px;max-width:40%}.side-rail{padding-left:6px}.side-rail>button span{font-size:9px}.hero-copy{width:55%}.hero h1{font-size:60px}.story-text{font-size:calc(14px * var(--scale))}.hero-lead{font-size:calc(16px * var(--scale))}.hero-aside{width:27%}.hero-aside p{font-size:15px}}
@media(max-width:820px){.topbar{min-height:71px;padding:10px 4vw;gap:10px}.brand{gap:7px}.brand>svg{width:24px}.brand strong{font-size:19px}.brand span{font-size:8px;letter-spacing:0}.controls{gap:5px}.controls .control-home{display:none}.controls .icon-button{min-width:38px;min-height:40px;padding:8px}.icon-button svg{width:21px;height:21px}.lang-wrap select{max-width:137px;font-size:10px;padding:8px 18px 8px 8px;min-height:40px}.hero{min-height:800px;padding:300px 7vw 40px;display:block}.hero-art{height:580px;object-position:67% 25%}.hero:before{background:linear-gradient(0deg,#080a0c 0%,#080a0c 15%,#080a0cf5 36%,#080a0c72 58%,#0000 87%)}.hero-copy{width:100%;max-width:580px}.hero h1{font-size:56px;max-width:100%;line-height:1.15}.hero-subtitle{font-size:20px;margin-bottom:17px}.hero-lead{font-size:calc(16px * var(--scale));max-width:100%;line-height:1.9}.eyebrow{font-size:9px;margin-bottom:19px;letter-spacing:.1em}.postal-rule{margin:19px 0}.hero-aside{right:7vw;top:211px;bottom:auto;width:220px;text-shadow:0 2px 10px black}.hero-aside p{font-size:14px}.hero-aside>span{font-size:9px}.hero-features{padding:23px 7vw;gap:20px}.feature{gap:10px}.feature p{font-size:10px}.feature .no{font-size:22px}.footer{padding:18px 5vw;gap:9px;flex-direction:column;align-items:flex-start}.footer span{white-space:normal;font-size:9px}.statusbar{padding:12px 5vw;gap:12px;flex-direction:column;align-items:stretch}.chapter{max-width:100%;gap:12px}.chapter>strong{font-size:21px}.chapter>span{font-size:10px}.resources{justify-content:space-between;gap:10px;align-items:flex-start}.resource{min-width:0;gap:7px}.resource>svg{width:21px}.resource span{font-size:9px;max-width:86px;line-height:1.4}.resource strong{font-size:20px}.resource small{font-size:10px}.frozen-time{padding-left:10px}.meter{left:28px}.stage{display:flex;flex-direction:column;padding:0;gap:0;overflow:clip;isolation:isolate}.world-art{height:420px;bottom:auto;z-index:-2}.world-art .scene-img{object-position:62% 36%}.world-art:after{background:linear-gradient(0deg,#090b0d 0%,#090b0d40 38%,transparent 76%)}.scene-side{order:0;width:100%;height:300px;min-height:300px;padding:18px 5vw 10px}.scene-caption{top:22px;left:5vw;max-width:35%;font-size:9px}.objective-card{width:160px;padding:12px 14px;margin-top:0;transform:rotate(2deg)}.objective-card>span{font-size:9px}.objective-card p{font-size:12px;line-height:1.8}.examine-trigger{left:5vw;bottom:18px;font-size:11px;padding:9px 14px}.reading{order:2;padding:17px 6vw 5px;background:linear-gradient(0deg,#090b0d,transparent);width:100%}.reading-top{margin-bottom:18px;font-size:9px}.saved{font-size:9px;max-width:210px}.chapter-caption{font-size:10px}.scene-heading{font-size:28px;padding-bottom:17px;margin-bottom:18px}.story-text{font-size:calc(16px * var(--scale));line-height:1.95}.ambient-line{font-size:calc(14px * var(--scale));margin:23px 0 18px}.letter-quote{font-size:calc(16px * var(--scale));padding:17px}.reading-tools{margin-top:20px;padding-top:12px}.reading-tools button{font-size:10px}.side-rail{order:1;display:flex;flex-direction:row;gap:7px;align-items:stretch;padding:5px 5vw 9px;border:0;width:100%;background:linear-gradient(0deg,#090b0d,transparent)}.side-rail>button{flex:1;display:flex;flex-direction:row;gap:8px;justify-content:center;background:#101719c7;border:1px solid #6c797a55;padding:10px 7px;min-width:0}.side-rail>button svg{width:19px;height:19px}.side-rail>button span{font-size:10px}.side-rail .mail-caption,.side-rail .mail-slots{display:none}.choice-area{order:3;padding:8px 6vw 35px;background:#090b0d;width:100%}.choice-heading{margin-top:17px;padding-top:17px;border-top:1px solid #ffffff17}.choice-heading>span{font-size:18px;max-width:65%}.choice-heading small{font-size:9px;max-width:125px}.choice{min-height:67px;gap:11px;padding:13px 13px;grid-template-columns:25px minmax(0,1fr) 13px}.choice-label{font-size:calc(14px * var(--scale));line-height:1.65}.choice-meta{font-size:calc(10px * var(--scale));line-height:1.65}.choice .idx{font-size:16px}.ending-main{display:flex;flex-direction:column}.ending-art{height:330px;min-height:330px;object-position:center}.ending-paper{padding:28px 6vw}.ending-paper h1{font-size:31px}.ending-paper .story-text{font-size:calc(16px * var(--scale))}.ending-stinger{font-size:15px}.ending-stats span{font-size:9px}.epilogues{padding:28px 6vw}.epilogues-grid{grid-template-columns:1fr;gap:12px}.epilogues-grid p{font-size:13px}.modal{padding:13px}.dialog{padding:22px;max-height:93svh}.dialog-head h2{font-size:24px}.role-card{padding:18px 15px;gap:13px;grid-template-columns:28px 1fr}.role-card strong{font-size:21px}.dialog-head{gap:13px}.inspect-photo img{max-height:40svh}.setting-row{gap:14px}.hero .content-warning{max-width:100%}.outcome{margin-top:10px}}
@media(max-width:400px){.topbar{padding-inline:4vw}.brand>svg{display:none}.brand strong{font-size:18px}.brand span{font-size:7px}.controls{gap:4px}.controls .icon-button{min-width:36px;width:36px;padding:7px}.lang-wrap select{max-width:110px;font-size:9px}.hero{padding-top:283px;padding-inline:7vw}.hero h1{font-size:47px}.hero-subtitle{font-size:18px}.hero .eyebrow{font-size:8px}.hero-aside{top:204px}.hero-features{grid-template-columns:1fr;gap:16px}.feature p{font-size:11px}.feature .no{width:35px}.resources{gap:6px}.resource{gap:4px}.resource>svg{width:18px}.resource span{font-size:8px;max-width:65px}.resource strong{font-size:18px}.resource small{font-size:9px}.frozen-time{padding-left:7px}.frozen-time>svg{display:none}.meter{left:22px}.scene-heading{font-size:26px}.side-rail>button{gap:5px;padding-inline:5px}.side-rail>button span{font-size:9px}.side-rail>button svg{width:17px}.choice{gap:9px;padding:12px 11px}.choice-label{font-size:calc(13px * var(--scale))}.dialog{padding:18px}.dialog-head h2{font-size:21px}.dialog>p{font-size:12px}.ending-grid{gap:9px}.ending-card{padding:14px}.setting-row label{max-width:58%}.hero-actions .primary{min-width:235px}.story-text{font-size:calc(15px * var(--scale))}}

.lang-wrap,.brand button>span{display:none!important}.topbar{min-height:64px}.brand button{font-size:14px}.controls button{font-size:14px}