@charset "UTF-8";
:root{--bg:#0b171c;--bg2:#102229;--ink:#e8e6df;--muted:#a8b4b6;--gold:#d4b583;--line:#ffffff19;--paper:#f0ede5;--dark:#17282d;--accent:#a7c6ba;--text-scale:1;--radius:7px;color-scheme:dark;font-family:Inter,"Avenir Next","Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{color:inherit;cursor:pointer}a{color:inherit}button{border:0;background:none}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--gold);outline-offset:5px}button,a{-webkit-tap-highlight-color:transparent}button:active{transform:translateY(1px)}[hidden]{display:none!important}svg{width:20px;height:20px;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button svg{pointer-events:none}::selection{background:#a7c6ba;color:#0b171c}.skip-link{position:fixed;top:-60px;left:16px;z-index:50;background:var(--paper);color:var(--dark);padding:12px}.skip-link:focus{top:10px}.home-header{height:75px;display:flex;align-items:center;justify-content:space-between;padding:0 5.3%;border-bottom:1px solid var(--line)}.wordmark{display:flex;gap:13px;align-items:center;font-size:13px;letter-spacing:.23em;text-decoration:none;font-weight:600;white-space:nowrap}.sigil{display:inline-grid;place-items:center;border:1px solid var(--gold);border-radius:50%;width:27px;height:27px;font-family:Georgia,serif;font-size:23px;line-height:1;color:var(--gold);transform:rotate(-90deg)}.header-actions{display:flex;align-items:center;gap:24px}.edition{font-size:9px;letter-spacing:.21em;color:var(--muted)}.quiet{padding:12px 0;font-size:12px}.quiet span{margin-left:15px;color:var(--gold)}.icon-btn{display:grid;place-items:center;min-height:44px;min-width:44px;border-radius:50%}.icon-btn:hover{background:var(--line)}.cover{height:clamp(440px,51vw,610px);position:relative;isolation:isolate;overflow:hidden}.cover-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 44%;z-index:-3}.cover-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#08151bea 0%,#08151bc7 18%,#08151b4f 43%,transparent 68%),linear-gradient(0deg,#0b171c 0%,#0b171c0a 33%)}.cover-content{position:absolute;left:7%;top:15%;max-width:49%}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.22em;line-height:1.7;color:var(--gold);margin:0 0 14px}.cover .eyebrow{display:flex;align-items:center;gap:12px;font-size:9px}.cover .eyebrow span{height:1px;width:30px;background:var(--gold)}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(48px,7.6vw,112px);letter-spacing:.055em;font-weight:400;line-height:.96;margin:25px 0 20px;color:#f2e8d5}.cover-subtitle{font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,3.3vw,42px);line-height:1.14;margin:0 0 24px;letter-spacing:-.02em;color:#eee9dd}.cover-description{font-size:13px;line-height:1.8;color:#c2c9c7}.cover-link{font-size:11px;letter-spacing:.04em;text-decoration:none;display:flex;gap:35px;align-items:center;margin-top:30px;width:max-content;border-bottom:1px solid #d4b58380;padding-bottom:12px}.cover-link span{color:var(--gold)}.cover-side{position:absolute;right:30px;top:34%;writing-mode:vertical-rl;font-size:8px;letter-spacing:.35em;color:#eee8d6aa}.selection{max-width:1300px;margin:-8px auto 0;position:relative;padding:0 5.3% 32px}.selection-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.selection-heading .eyebrow{font-size:8px;margin-bottom:8px}h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.02em}.selection h2{margin:0;font-size:29px}.select-hint{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.character-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.character-card{text-align:left;border:1px solid #ffffff1f;border-radius:var(--radius);padding:0;background:#112127;position:relative;overflow:hidden;transition:border-color .2s,transform .2s,background .2s;min-width:0}.character-card:hover{transform:translateY(-4px);border-color:var(--character-color);background:#183039}.portrait-wrap{height:clamp(140px,16vw,205px);overflow:hidden;background:#e4dfd5;position:relative}.portrait{position:absolute;inset:0;background-repeat:no-repeat;background-position:50% 0%;background-size:440% auto;filter:saturate(.82);mix-blend-mode:multiply}.portrait-wrap:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#142228e8 0%,#14222800 38%)}.char-index{position:absolute;top:12px;left:13px;color:#283a3e;font-size:9px;letter-spacing:.13em}.char-lock{position:absolute;right:12px;top:12px;color:#283a3e}.char-lock svg{width:14px;height:14px}.card-copy{padding:0 17px 17px;position:relative;margin-top:-22px}.char-name{display:flex;justify-content:space-between;align-items:center;font-family:Georgia,serif;font-size:27px}.card-arrow{color:var(--character-color);font-family:Arial,sans-serif;font-size:18px}.char-line{display:block;font-size:10px;color:#b3c0c2;margin-top:7px;line-height:1.5}.char-progress{display:block;color:var(--character-color);font-size:9px;margin-top:12px;letter-spacing:.08em;text-transform:uppercase}.home-footer{border-top:1px solid var(--line);padding:20px 5.3%;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#a8b5b8;align-items:center}.home-footer i{display:inline-block;width:3px;height:3px;background:var(--gold);border-radius:50%;margin:0 8px}.text-btn{font-size:11px;color:var(--muted);min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:4px 0}.text-btn:hover{color:var(--gold)}.text-btn svg{width:15px;height:15px}.game{min-height:100dvh;display:grid;grid-template-rows:62px minmax(230px,1fr) auto 49px}.game-header{padding:0 3.2%;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#0b171c;z-index:2}.compact{font-size:11px}.compact .sigil{width:24px;height:24px;font-size:20px}.chapter-nav{display:flex;gap:13px;align-items:center;font-size:11px;color:#d0d6d6}.chapter-nav>span:first-child{font-size:9px;letter-spacing:.16em;color:var(--gold);padding-right:13px;border-right:1px solid var(--line)}.game-tools{display:flex;gap:6px}.tool{display:flex;gap:9px;align-items:center;min-width:40px;min-height:44px;padding:8px 11px;position:relative;font-size:11px;color:#d3dad9;border-radius:5px}.tool:hover{background:var(--line)}.notification{position:absolute;right:6px;top:6px;width:5px;height:5px;border-radius:50%;background:var(--gold)}.stage{position:relative;overflow:hidden;background:#0b1c25;min-height:230px;height:max(33vh,280px)}.scene-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center 45%;transition:opacity .4s}.stage-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0008,transparent 26%,transparent 72%,#0b171cc9);pointer-events:none}.location{position:absolute;left:3.3%;top:22px;display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.035em;text-shadow:0 1px 5px #000;max-width:72%;flex-wrap:wrap}.location-dot{width:5px;height:5px;background:var(--gold);border-radius:50%}.location-divider{height:10px;border-left:1px solid #ffffff55}.location #scene-time{color:#dad6c8;font-size:9px}.consciousness{position:absolute;right:3.3%;top:23px;display:flex;align-items:center;gap:9px;color:#eee6d7}.consciousness>span{font-size:7px;letter-spacing:.15em}.awareness-track{height:2px;width:56px;background:#ffffff40}.awareness-track i{display:block;height:100%;width:0;background:var(--gold);transition:width .4s}.consciousness b{font-size:10px;font-weight:400}.stage-bottom{position:absolute;bottom:18px;left:3.3%;right:3.3%;display:flex;align-items:center;justify-content:space-between;gap:20px}.stage-bottom>span{font-family:Georgia,serif;font-style:italic;font-size:13px;letter-spacing:.02em;color:#e9e2d1}.inspect-btn{display:flex;gap:8px;align-items:center;border:1px solid #e9e2d14d;background:#0b171c99;border-radius:30px;padding:8px 14px;min-height:40px;font-size:10px;color:var(--gold);backdrop-filter:blur(6px)}.inspect-btn svg{width:14px;height:14px}.clue-hotspot{position:absolute;width:46px;height:46px;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;border:1px solid #ffdda856;background:#0b171c33;z-index:3}.clue-hotspot span{height:6px;width:6px;transform:rotate(45deg);background:#ffe2a2;box-shadow:0 0 18px #fff8bf}.clue-hotspot:hover{background:#0b171ca1;border-color:#ffe2a2}.grain{position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,#d4b58303,#091a1d07);z-index:1}.scene-caption{position:absolute;bottom:60px;left:3.3%;font-size:10px;color:var(--gold)}.dialogue-panel{background:var(--paper);color:var(--dark);border-top:3px solid #c9ac80;min-height:245px}.dialogue-inner{max-width:1130px;margin:auto;padding:25px 42px 23px}.speaker-line{display:flex;align-items:center;gap:11px;min-height:44px;margin-bottom:15px}.speaker-avatar{width:43px;height:43px;background-size:930% auto;background-position:50% 0%;background-repeat:no-repeat;border-radius:50%;border:1px solid #20373a29;background-color:#ddd8cc;flex:0 0 auto;display:grid;place-items:center;font-family:Georgia,serif;font-size:18px;color:#5b716e;overflow:hidden}.speaker-avatar.narrator{border-radius:0;background:none!important;border:0;font-size:27px;color:#94774f}.speaker-kind{font-size:8px;letter-spacing:.14em;text-transform:uppercase;color:#71827f;display:block;margin-bottom:3px}#speaker-name{font-size:18px;font-weight:600;margin:0;letter-spacing:0;color:#263e3d}.reading-meta{margin-left:auto;display:flex;gap:20px;align-items:center;color:#6b7b79;font-size:9px}.reading-meta #save-state:before{content:'•';color:#6b977c;margin-right:6px}#save-state.warning:before{color:#a25b42}#save-state.warning{color:#924b30}.dialogue-text{font-family:Georgia,"Times New Roman",serif;font-size:calc(21px * var(--text-scale));line-height:1.58;min-height:3.16em;letter-spacing:.005em;max-width:100%;white-space:pre-line}.dialogue-text:not(.no-fade){animation:reveal .24s ease-out}.dialogue-actions{display:flex;justify-content:flex-end;gap:18px;margin-top:20px}.primary{display:flex;align-items:center;justify-content:space-between;gap:38px;background:#1b393d;color:#f3eee2;min-height:44px;padding:12px 22px;border-radius:4px;font-size:12px;letter-spacing:.02em}.primary:hover{background:#2b5254}.primary span{color:#cdb483}.next-btn{min-width:154px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.choices:empty{display:none}.choice{display:flex;gap:13px;text-align:left;align-items:center;border:1px solid #a9b6ac;background:#e7e8dd;min-height:50px;padding:11px 16px;color:#1c3737;border-radius:4px;font-size:12px;line-height:1.45;transition:background .15s}.choice:hover{background:#d9e1d6;border-color:#607e6d}.choice-number{color:#8d774f;font-family:Georgia,serif;font-size:13px;flex-shrink:0}.choice:last-child:nth-child(3){grid-column:1/-1}.choice.unavailable{opacity:.55;cursor:not-allowed}.choice small{display:block;margin-top:3px;font-size:9px;color:#6c786b}.game-footer{display:flex;align-items:center;gap:26px;padding:0 3.2%;border-top:1px solid var(--line);background:var(--bg);z-index:2}.game-footer .text-btn{font-size:10px;min-height:40px}.game-footer>button:last-child{margin-left:auto}.keyboard-hint{font-size:8px;letter-spacing:.07em;color:#71898f;margin-left:auto}#journey-count{font-size:8px;color:var(--gold);margin-left:5px}.rotate-tip{display:none;align-items:center;gap:8px;background:#203b42;padding:8px 14px;color:#e6ede7;font-size:11px;position:sticky;bottom:0;z-index:5;border-top:1px solid #d4b58355}.rotate-tip p{margin:0;flex:1}.rotate-tip button{border:1px solid #ffffff30;border-radius:4px;min-height:36px;font-size:10px;padding:6px 9px}.rotate-tip.dismissed{display:none!important}.rotate-tip svg{width:18px;flex-shrink:0}dialog{border:1px solid #d4b58345;background:#11242a;color:var(--ink);width:min(590px,calc(100vw - 32px));max-height:calc(100dvh - 38px);border-radius:10px;padding:25px 30px 30px;box-shadow:0 30px 120px #0008;overscroll-behavior:contain}dialog::backdrop{background:#061116d9;backdrop-filter:blur(7px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.modal-head .eyebrow{font-size:9px;margin:0}dialog h2{font-size:32px;margin:10px 0 20px}dialog p{line-height:1.75;color:#bfcccd;font-size:13px}.modal-intro{margin-bottom:24px}.login-top{display:flex;align-items:center;gap:18px;margin:8px 0 23px}.login-portrait{width:92px;height:100px;background-color:#ddd8cc;background-size:650% auto;background-position:50% 0%;border-radius:6px;flex:0 0 auto}.login-top p{margin:0;font-size:12px}.field-label{font-size:10px;letter-spacing:.1em;text-transform:uppercase;display:block;margin:18px 0 10px;color:#bcd1cf}.input-wrap{display:flex;align-items:center;border:1px solid #637b7c;background:#0b1a20;border-radius:5px;overflow:hidden}.input-wrap input{background:none;border:0;outline:none!important;color:#f0e8d8;width:100%;min-width:0;padding:14px;min-height:50px;letter-spacing:.08em}.input-wrap:focus-within{outline:2px solid var(--gold);outline-offset:3px}.input-wrap button{font-size:10px;min-height:44px;padding:0 15px;color:var(--gold)}.form-error{font-size:12px;color:#f0b8a2;line-height:1.5;min-height:18px;margin:12px 0}.login-submit{width:100%;background:var(--gold);color:#15282a;margin-top:10px;min-height:48px}.login-submit:hover{background:#e4c897}.login-submit span{color:#15282a}.fine-print{font-size:10px!important;color:#93a8ac!important}.dialog-actions{display:flex;gap:10px;margin-top:23px;flex-wrap:wrap}.secondary{border:1px solid #6b8586;border-radius:4px;min-height:44px;padding:11px 16px;color:#d9e4df;font-size:11px}.secondary:hover{background:#ffffff09}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.setting-row span{font-size:12px}.setting-row small{display:block;font-size:10px;color:#90a7ab;margin-top:5px}.setting-row select{max-width:180px;background:#0c1b21;border:1px solid #597175;color:#e4e9e3;min-height:40px;padding:8px;border-radius:4px;font-size:12px}.setting-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--gold)}.settings-group{margin-top:20px}.settings-group h3{font-size:10px;letter-spacing:.15em;color:var(--gold);font-weight:500}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 25px}.stat-box{padding:15px 10px;text-align:center;background:#20363a;border:1px solid #46646466;border-radius:5px}.stat-box b{display:block;font-family:Georgia,serif;font-weight:400;font-size:30px;color:var(--gold)}.stat-box span{font-size:9px;color:#bfceca}.tabs{display:flex;gap:5px;margin:20px 0;border-bottom:1px solid var(--line)}.tabs button{min-height:42px;padding:10px;font-size:11px;color:var(--muted);border-bottom:2px solid transparent}.tabs .active{color:var(--gold);border-bottom-color:var(--gold)}.entry{border-bottom:1px solid var(--line);padding:15px 0}.entry-kind{font-size:8px;color:#8dacaa;letter-spacing:.12em;text-transform:uppercase}.entry h3{font-family:Georgia,serif;font-weight:400;color:#e5d7bb;font-size:20px;margin:7px 0}.entry p{font-size:12px;margin:7px 0}.entry a,.source-list a{font-size:11px;color:var(--gold);text-underline-offset:4px}.history-entry{border-left:1px solid #496463;padding:0 0 15px 15px;margin:10px 0}.history-entry b{font-size:10px;color:var(--gold)}.history-entry p{margin:5px 0;font-size:12px}.chapter-item{display:flex;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.chapter-item>span{font-family:Georgia,serif;font-size:19px;color:var(--gold)}.chapter-item h3{margin:0;font-size:13px;font-weight:500}.chapter-item p{font-size:10px;margin:5px 0}.chapter-item.locked{opacity:.35}.tag{display:inline-block;font-size:8px;border:1px solid #7b95934d;border-radius:12px;padding:4px 7px;color:#bcd1cb;letter-spacing:.04em}.toast{position:fixed;bottom:64px;left:50%;transform:translateX(-50%);padding:12px 21px;background:#e9e3d4;color:#203635;box-shadow:0 8px 40px #0005;border-radius:6px;font-size:12px;line-height:1.5;max-width:min(520px,90vw);width:max-content;z-index:40}.source-list{display:grid;gap:15px;padding:0;list-style:none}.about-quote{font-family:Georgia,serif;font-size:24px!important;line-height:1.4!important;color:#e8d5ad!important}.ending-title{font-size:34px!important;font-family:Georgia,serif;line-height:1.2!important;color:#eddbb8!important}.notice{padding:13px 16px;border:1px solid #8ea49a40;background:#1c3439;border-radius:5px;font-size:12px;line-height:1.6;margin:20px 0}.danger{color:#e7aa92!important}.noscript{padding:40px;color:#ffd0a4}.is-reading .home-header{display:none}@keyframes reveal{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(min-width:1400px){.cover-content{left:max(7%,calc((100vw - 1200px)/2))}.stage{height:calc(100dvh - 370px);max-height:680px}.dialogue-inner{padding-top:28px;padding-bottom:28px}}
@media(max-width:900px){.edition{display:none}.home-header{height:62px}.cover{height:490px}.cover-content{top:17%;left:5.3%;max-width:55%}.cover-description{font-size:12px}.selection{padding-top:6px}.character-grid{gap:10px}.card-copy{padding:0 12px 14px}.char-name{font-size:24px}.char-line{font-size:9px}.char-progress{font-size:8px}.game-header{gap:12px}.chapter-nav{gap:8px}.chapter-nav>span:first-child{padding-right:8px}.tool{padding:7px}.dialogue-inner{padding:20px 28px}.keyboard-hint{display:none}.game-footer{gap:20px}.game-footer>button:last-child{margin-left:auto}.stage{height:42vh}.dialogue-text{font-size:calc(20px * var(--text-scale))}}
@media(max-width:600px){.home-header{padding:0 20px;height:58px}.wordmark{font-size:10px;gap:9px}.header-actions{gap:6px}.quiet{font-size:10px}.quiet span{margin-left:4px}.cover{height:510px}.cover-image{object-position:62% center}.cover-shade{background:linear-gradient(90deg,#08151bd9,#08151b38 80%),linear-gradient(0deg,#0b171c,transparent 65%)}.cover-content{left:24px;top:25%;max-width:90%}.cover .eyebrow{font-size:8px}h1{font-size:56px;margin:22px 0 16px}.cover-subtitle{font-size:31px}.cover-description{font-size:12px}.cover-link{margin-top:20px}.cover-side{right:14px;font-size:7px}.selection{padding:5px 22px 25px;margin-top:-10px}.selection-heading{display:block;margin-bottom:20px}.selection h2{font-size:25px}.select-hint{font-size:10px;margin-top:12px}.select-hint br{display:none}.character-grid{grid-template-columns:repeat(2,1fr);gap:14px}.portrait-wrap{height:182px}.portrait{background-size:450% auto}.char-name{font-size:25px}.card-copy{padding:0 13px 16px}.char-line{font-size:10px}.home-footer{padding:17px 22px;flex-wrap:wrap;gap:6px}.home-footer>span:first-child{width:100%;margin-bottom:4px}.home-footer>button{margin-left:auto}.game{grid-template-rows:54px auto auto 48px;min-height:100dvh}.game-header{padding:0 15px;gap:8px}.compact>span:last-child{display:none}.compact .sigil{width:22px;height:22px}.chapter-nav{display:block;flex:1}.chapter-nav>span:first-child{font-size:7px;border:0;display:block;margin-bottom:3px}.chapter-nav>span:last-child{font-size:10px}.game-tools{gap:0}.tool{min-width:39px;padding:6px}.tool-label{display:none}.tool svg{width:18px;height:18px}.stage{height:34vh;min-height:225px}.location{top:16px;left:18px;font-size:9px;max-width:70%;gap:7px}.location #scene-time{font-size:8px}.consciousness{right:16px;top:17px;gap:6px}.consciousness>span{display:none}.awareness-track{width:30px}.stage-bottom{left:18px;right:18px;bottom:13px;align-items:end}.stage-bottom>span{font-size:10px;max-width:65%;line-height:1.5}.inspect-btn{font-size:0;min-height:38px;min-width:38px;padding:8px;justify-content:center}.inspect-btn svg{width:16px;height:16px}.dialogue-panel{min-height:300px}.dialogue-inner{padding:18px 21px 22px}.speaker-line{margin-bottom:15px;gap:9px}.speaker-avatar{width:37px;height:37px}.speaker-kind{font-size:7px}#speaker-name{font-size:17px}.reading-meta{display:block;text-align:right;font-size:8px;line-height:1.9}.reading-meta span{display:block}.dialogue-text{font-size:calc(19px * var(--text-scale));line-height:1.6;min-height:4.8em}.dialogue-actions{margin-top:19px}.choices{grid-template-columns:1fr;gap:8px}.choice{min-height:48px;font-size:12px;padding:10px 12px}.choice:last-child:nth-child(3){grid-column:auto}.next-btn{min-height:46px;min-width:150px}.game-footer{gap:14px;padding:0 17px}.game-footer .text-btn{font-size:9px;gap:4px}.game-footer .text-btn svg{width:13px;height:13px}.game-footer #audio-label{font-size:0}.game-footer #audio-label:after{content:'Som';font-size:9px}.game-footer>button:last-child{font-size:9px}.game-footer #journey-count{display:none}dialog{padding:20px 22px 24px;border-radius:8px}dialog h2{font-size:29px}.stat-box b{font-size:26px}.stat-box span{font-size:8px}.toast{bottom:75px;font-size:11px}}
@media(orientation:portrait) and (max-width:900px){.rotate-tip{display:flex}}
@media(orientation:landscape) and (max-height:600px){.home-header{height:48px}.cover{height:380px}.cover-content{top:10%}h1{font-size:65px;margin:17px 0 12px}.cover-subtitle{font-size:28px;margin-bottom:12px}.cover-description{font-size:11px}.cover-link{margin-top:14px}.selection-heading{margin-bottom:16px}.portrait-wrap{height:140px}.game{grid-template-rows:44px auto auto 37px;min-height:100dvh}.game-header{padding:0 18px}.compact{font-size:9px}.chapter-nav{display:flex}.chapter-nav>span:first-child{font-size:7px}.chapter-nav>span:last-child{font-size:10px}.tool{min-height:36px;font-size:9px}.tool svg{height:16px;width:16px}.stage{height:38vh;min-height:130px}.location{top:12px;font-size:8px}.consciousness{top:13px}.stage-bottom{bottom:10px}.stage-bottom>span{font-size:10px}.inspect-btn{min-height:30px;padding:5px 12px;font-size:9px}.dialogue-panel{min-height:0}.dialogue-inner{padding:11px 30px 13px;max-width:1100px}.speaker-line{min-height:28px;margin-bottom:7px}.speaker-avatar{width:29px;height:29px}.speaker-kind{font-size:6px;margin-bottom:1px}#speaker-name{font-size:14px}.dialogue-text{font-size:calc(17px * var(--text-scale));line-height:1.43;min-height:2.86em}.dialogue-actions{margin-top:10px}.next-btn{min-height:36px;font-size:10px;padding:8px 17px}.choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.choice{min-height:40px;padding:8px 12px;font-size:10px}.choice:last-child:nth-child(3){grid-column:1/-1}.game-footer .text-btn{min-height:32px;font-size:9px}.game-footer{gap:24px}.reading-meta{font-size:8px}.tool-label{display:none}.toast{bottom:45px}dialog{max-height:calc(100dvh - 20px);padding-top:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.reduced-motion *{animation:none!important;transition:none!important}

/* Fill the viewport without a blank row between image and dialogue. */
@media(min-width:601px) and (min-height:601px){.game{height:100dvh;min-height:640px;grid-template-rows:62px minmax(230px,1fr) auto 49px}.stage{height:auto;max-height:none}}
@media(max-width:600px) and (orientation:portrait){.game{height:auto;min-height:100dvh;display:flex;flex-direction:column}.game-header{min-height:54px}.stage{flex:0 0 34vh}.dialogue-panel{flex:1}.game-footer{min-height:48px}}

/* Crescimento e confronto: informação compacta sobre a cena. */
.calendar-year{font-variant-numeric:tabular-nums;letter-spacing:.08em;border-left:1px solid #ffffff40;padding-left:12px;color:#d5dbd9}.calendar-year.revealed{color:#f3cf91}
.consciousness{flex-wrap:wrap;max-width:230px;justify-content:flex-end}.consciousness small{font-size:8px;color:#bdc8c9;font-variant-numeric:tabular-nums}
.choice .choice-gain{display:block;color:#afcbbd;font-size:9px;letter-spacing:.02em;margin-top:4px}
.gain-feedback{position:absolute;right:3.2%;bottom:54px;z-index:5;background:#102a30ee;border:1px solid #8caf9b70;border-left:3px solid #bfd4a6;padding:12px 18px;border-radius:5px;box-shadow:0 10px 40px #0004;pointer-events:none;max-width:calc(100% - 36px)}
.gain-feedback>span{display:block;font-size:8px;letter-spacing:.18em;color:#c7d8bb;margin-bottom:6px}.gain-feedback>b{font-size:12px;font-weight:500;color:#eff5e9}.gain-enter{animation:gain-arrive .35s ease-out}
@keyframes gain-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.battle-hud{position:absolute;left:3.2%;top:65px;width:210px;padding:12px 14px;background:#101a24db;border:1px solid #b5a3a13d;border-radius:5px;backdrop-filter:blur(8px)}
.battle-hud>span{font-size:8px;letter-spacing:.15em;color:#d7b8a6;display:block;margin-bottom:7px}.battle-hud>b{display:block;font-size:12px;font-weight:500;color:#f2e6d5}.battle-hud>small{display:block;font-size:6px;letter-spacing:.12em;color:#c1aaa5;margin-top:6px}.pressure-track{height:3px;background:#4d4143;margin-top:11px;border-radius:3px;overflow:hidden}.pressure-track i{height:100%;display:block;background:linear-gradient(90deg,#a27068,#ddb298);transition:width .5s}
.stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.stat-box span{font-size:9px}.stat-box{min-width:0}
@media(max-width:600px){.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-year{padding-left:7px}.location{max-width:72%;flex-wrap:wrap}.consciousness{max-width:82px}.consciousness small{font-size:7px}.battle-hud{left:18px;top:67px;width:170px;padding:9px 11px}.battle-hud>b{font-size:11px}.gain-feedback{right:18px;bottom:49px;padding:9px 12px}.gain-feedback>b{font-size:10px}.gain-feedback>span{font-size:7px}}
@media(orientation:landscape) and (max-height:600px){.battle-hud{left:3.2%;top:41px;width:190px;padding:7px 10px}.battle-hud>span{margin-bottom:4px;font-size:6px}.battle-hud>b{font-size:10px}.battle-hud>small{display:none}.pressure-track{margin-top:7px}.gain-feedback{bottom:38px;padding:8px 12px}.gain-feedback>b{font-size:10px}.gain-feedback>span{font-size:6px}.calendar-year{font-size:8px}}
.reduced-motion .gain-enter{animation:none}.reduced-motion .pressure-track i{transition:none}

@media(max-width:600px) and (orientation:portrait){.battle-hud{width:calc(50% - 24px)}.gain-feedback{max-width:calc(50% - 24px);bottom:55px}.gain-feedback>b{line-height:1.5;display:block}.gain-feedback>span{line-height:1.5}}

/* Edição Imersão: hierarquia legível em vez de microtipografia. */
.home-header .wordmark,.wordmark.compact{font-size:14px;letter-spacing:.15em}.edition{font-size:12px}.quiet{font-size:14px}.eyebrow,.cover .eyebrow{font-size:12px;letter-spacing:.15em}.selection-heading .eyebrow{font-size:11px}.select-hint{font-size:14px}.char-line{font-size:13px}.char-progress{font-size:11px}.char-index{font-size:12px}.home-footer{font-size:12px}.text-btn{font-size:13px;min-height:44px}.cover-description{font-size:15px}.cover-link{font-size:14px}
.chapter-nav{font-size:14px}.chapter-nav>span:first-child{font-size:12px;letter-spacing:.10em}.tool{font-size:14px;min-height:44px}.tool svg{width:21px;height:21px}.game-header{gap:15px}.location{font-size:13px;gap:10px}.location #scene-time{font-size:12px}.calendar-year{font-size:12px}.consciousness>span{font-size:11px;letter-spacing:.10em}.consciousness b{font-size:14px}.consciousness small{font-size:10px}.consciousness{max-width:270px}.stage-bottom>span{font-size:13px}.inspect-btn{font-size:12px;min-height:42px}.speaker-kind{font-size:11px;letter-spacing:.10em}.reading-meta{font-size:11px}.choice{font-size:15px;line-height:1.5;min-height:58px;padding:12px 16px}.choice-number{font-size:12px}.choice .choice-gain{font-size:12px;margin-top:5px}.next-btn{font-size:14px;min-height:48px}.game-footer .text-btn{font-size:12px}.keyboard-hint{font-size:11px}#journey-count{font-size:12px}
.fine-print{font-size:13px!important;line-height:1.7!important}dialog p,dialog li{font-size:15px;line-height:1.7}.field-label{font-size:13px}.login-top p{font-size:15px}.setting-row{font-size:15px}.setting-row small{font-size:13px;line-height:1.5}.setting-row select{font-size:14px;min-height:42px}.tabs button{font-size:14px;min-height:44px}.entry-kind,.entry .entry-kind{font-size:11px;letter-spacing:.10em}.entry p{font-size:14px}.entry a,.source-list a{font-size:13px}.stat-box span{font-size:11px;line-height:1.4}.stat-box b{font-size:30px}.chapter-item p{font-size:13px}.chapter-item .tag{font-size:11px}.notice{font-size:14px}.form-error{font-size:13px}.primary,.secondary{font-size:14px;min-height:44px}.settings-group h3{font-size:12px}.history-entry b{font-size:13px}.history-entry p{font-size:14px}
.gain-feedback>span{font-size:10px}.gain-feedback>b{font-size:14px}.battle-hud{width:240px}.battle-hud>span{font-size:10px}.battle-hud>b{font-size:14px}.battle-hud>small{font-size:9px}.battle-hud{top:69px}.location{max-width:calc(100% - 300px)}
.scene-previous{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .48s ease;z-index:1;pointer-events:none}.stage-shade{z-index:2}.stage .location,.stage .consciousness,.stage .stage-bottom,.scene-caption{z-index:3}.clue-hotspot,.battle-hud{z-index:4}.grain{z-index:2;pointer-events:none}.reduced-motion .scene-previous{transition:none}
@media(max-width:1000px){.chapter-nav{gap:9px;font-size:13px}.chapter-nav>span:first-child{font-size:11px;padding-right:9px}.tool{font-size:13px;padding:8px}.compact{gap:8px}.home-header .edition{display:none}.stat-box span{font-size:10px}.location{font-size:12px;max-width:calc(100% - 235px)}.consciousness{max-width:210px}.consciousness>span{font-size:10px}}
@media(max-width:600px){.home-header .wordmark{font-size:12px}.quiet{font-size:13px}.cover .eyebrow{font-size:11px}.cover-description{font-size:14px}.selection-heading .eyebrow{font-size:10px}.select-hint{font-size:13px}.char-line{font-size:12px}.char-progress{font-size:10px}.home-footer{font-size:11px}.chapter-nav>span:first-child{font-size:10px;margin-bottom:2px}.chapter-nav>span:last-child{font-size:13px}.game-tools .tool{min-width:43px}.game-header{padding:0 12px;gap:6px}.location{font-size:11px;max-width:calc(100% - 110px);gap:7px}.location #scene-time,.calendar-year{font-size:11px}.consciousness{max-width:85px}.consciousness small{font-size:10px}.stage-bottom>span{font-size:12px}.inspect-btn{font-size:0}.speaker-kind{font-size:10px}.reading-meta{font-size:10px}.choice{font-size:14px;min-height:60px}.choice .choice-gain{font-size:12px}.choice-number{font-size:12px}.next-btn{font-size:14px}.game-footer{gap:12px;padding:0 14px;flex-wrap:wrap;height:auto}.game-footer .text-btn,.game-footer>button:last-child{font-size:11px}.game-footer #audio-label:after{font-size:11px}.game-footer svg{width:16px!important;height:16px!important}.game-footer .text-btn{min-height:42px}.gain-feedback>span{font-size:9px}.gain-feedback>b{font-size:12px}.battle-hud{width:calc(50% - 24px)}.battle-hud>span{font-size:9px}.battle-hud>b{font-size:12px}.battle-hud>small{font-size:8px}.battle-hud{top:72px}.stat-box span{font-size:11px}.toast{font-size:13px}.rotate-tip p{font-size:12px}.rotate-tip button{font-size:12px;min-height:40px}}
@media(orientation:landscape) and (max-height:600px){.home-header{height:54px}.game-header{min-height:50px}.game{grid-template-rows:50px auto auto auto}.wordmark.compact{font-size:12px}.chapter-nav>span:first-child{font-size:10px}.chapter-nav>span:last-child{font-size:12px}.tool{min-height:42px}.stage{min-height:170px;height:40vh}.location,.location #scene-time,.calendar-year{font-size:11px}.consciousness{top:14px}.consciousness>span{font-size:10px}.consciousness small{font-size:9px}.stage-bottom>span{font-size:11px}.speaker-kind{font-size:9px}.reading-meta{font-size:10px}.choice{font-size:13px;min-height:52px;padding:9px 12px}.choice .choice-gain{font-size:11px}.next-btn{font-size:13px;min-height:44px}.game-footer{min-height:42px;gap:20px}.game-footer .text-btn{font-size:11px;min-height:40px}.battle-hud{top:47px;width:195px}.battle-hud>span{font-size:9px}.battle-hud>b{font-size:12px}.gain-feedback{bottom:39px}.gain-feedback>span{font-size:8px}.gain-feedback>b{font-size:12px}.inspect-btn{font-size:11px;min-height:38px}.dialogue-inner{padding-bottom:17px}.stat-box span{font-size:11px}}

/* Edição 1.2 — a moldura identifica o plano da imagem sem alterar a arte. */
.stage{background:#071116;isolation:isolate}.scene-image,.scene-previous{object-fit:contain;object-position:center!important}.scene-image{position:relative;z-index:0}.scene-previous{z-index:1}.image-loading .scene-image,.image-loading .scene-previous{visibility:hidden}.scene-loading{position:absolute;z-index:5;inset:45% 15% auto;text-align:center;font-size:14px;color:#ddc59d;letter-spacing:.04em}.vision-outline{position:absolute;inset:9px 12px;border:1px solid #d5b578a8;box-shadow:inset 0 0 0 4px #07111666,0 0 30px #d4b58310;pointer-events:none;z-index:3}.vision-outline:before,.vision-outline:after{content:'';position:absolute;width:18px;height:18px;border-color:#efd3a0;border-style:solid}.vision-outline:before{top:-2px;left:-2px;border-width:3px 0 0 3px}.vision-outline:after{right:-2px;bottom:-2px;border-width:0 3px 3px 0}.vision-label{position:absolute;z-index:4;left:3.3%;top:59px;max-width:calc(100% - 100px);padding:8px 12px;border:1px solid #d4b58399;border-radius:3px;background:#131c1ff0;box-shadow:0 3px 14px #0005;color:#f0d7ac;font-size:12px;font-weight:600;line-height:1.45;letter-spacing:.05em}.is-framed .stage-bottom>span{font-family:inherit;font-style:normal;font-size:12px;line-height:1.5;color:#f3e4cb;max-width:calc(100% - 130px)}.stage[data-frame=recording] .vision-outline,.stage[data-frame=reading] .vision-outline{border-color:#b8d1ce99}.stage[data-frame=recording] .vision-label,.stage[data-frame=reading] .vision-label{border-color:#b8d1ce66;color:#d6ebe8}.scene-view-btn{position:absolute;z-index:4;right:3.3%;bottom:14px;display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 12px;border:1px solid #f0e4d34d;border-radius:5px;background:#0b171cdb;color:#f1e8d8;font-size:12px}.scene-view-btn:hover{background:#233d40}.stage-bottom{right:150px;pointer-events:none}.stage-bottom button{pointer-events:auto}.stage-bottom>span{max-width:100%}.is-framed .stage-bottom>span{max-width:100%}.art-modal{width:min(1320px,calc(100vw - 24px));padding:18px 22px 20px}.art-modal h2{font-size:24px;margin-bottom:14px}.art-figure{margin:0;position:relative;background:#060d10;border-radius:5px;overflow:hidden}.art-figure img{width:100%;max-height:70dvh;object-fit:contain;display:block}.art-framed{border:1px solid #d4b583a8;padding:5px}.art-caption{padding:12px 15px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:#13232a;color:#e4c99e;font-size:12px;line-height:1.5}.art-caption b{font-weight:600;letter-spacing:.05em}.art-caption span{color:#c4d0cf}.art-help{margin:12px 0 0!important}.scene-image,.scene-previous{background:#071116}.is-framed .location-dot{background:#ead3a7}.is-framed .calendar-year{display:none}.game-footer .text-btn{min-height:44px}.fine-print{font-size:13px;line-height:1.65}
@media(max-width:600px){.vision-label{top:62px;left:18px;max-width:calc(100% - 36px);font-size:11px;padding:6px 9px;letter-spacing:.025em}.vision-outline{inset:7px}.scene-view-btn{right:16px;bottom:10px;min-height:40px;font-size:12px;gap:6px;padding:7px 10px}.stage-bottom{right:112px;bottom:13px}.is-framed .stage-bottom>span{font-size:11px;line-height:1.4}.stage-bottom>span{max-width:100%}.art-modal{padding:14px}.art-modal h2{font-size:22px}.art-caption{display:block;padding:9px 10px;font-size:11px}.art-caption span{display:block;margin-top:4px}.scene-loading{font-size:13px}.game-footer #audio-label{font-size:11px}.game-footer #audio-label:after{display:none}.game-footer{column-gap:14px;row-gap:0}.game-footer>button:last-child{margin-left:0}.fine-print{font-size:12px}}
@media(orientation:landscape) and (max-height:600px){.vision-label{top:43px;font-size:11px;padding:5px 8px;max-width:calc(100% - 130px)}.vision-outline{inset:6px}.is-framed .stage-bottom>span{font-size:10px}.scene-view-btn{bottom:7px;min-height:36px;padding:6px 10px;font-size:11px}.stage-bottom{bottom:9px;right:125px}.art-modal{padding:10px 16px}.art-modal h2{font-size:21px;margin:6px 0 10px}.art-figure img{max-height:68dvh}.art-caption{padding:8px 10px}.art-help{font-size:11px}}

/* Edição 1.3 — cronologia explícita, pesadelo e abertura com movimento contido. */
.plane-label{position:absolute;z-index:4;left:3.3%;top:59px;max-width:calc(100% - 100px);padding:7px 11px;border:1px solid #a7c6ba55;border-radius:3px;background:#0b191fe8;color:#cce2d9;font-size:12px;font-weight:600;line-height:1.45;letter-spacing:.04em;pointer-events:none}
.plane-label[data-plane=dream]{border-color:#94b7df80;color:#d2e3f9;background:#101c2be8}
.stage[data-frame=nightmare] .vision-outline{border-color:#ce796caa;box-shadow:inset 0 0 0 4px #210a0966,inset 0 0 42px #761d1215}
.stage[data-frame=nightmare] .vision-outline:before,.stage[data-frame=nightmare] .vision-outline:after{border-color:#e6a494}
.stage[data-frame=nightmare] .vision-label{border-color:#ce796c88;background:#221518ee;color:#f6c2b7}
.stage[data-frame=nightmare] .stage-bottom>span{color:#f3d5cd}
.stage[data-frame=nightmare] .location-dot{background:#df998a}
.is-title-card{background:#000;min-height:230px}
.is-title-card .scene-image,.is-title-card .scene-previous{background:#000}
.is-title-card .location,.is-title-card .consciousness,.is-title-card .stage-bottom,.is-title-card .scene-view-btn,.is-title-card .stage-shade,.is-title-card .grain,.is-title-card .plane-label,.is-title-card .vision-label,.is-title-card .vision-outline,.is-title-card .scene-caption,.is-title-card .gain-feedback{display:none}
.is-title-card .scene-previous{visibility:hidden}
.is-title-card .scene-image{animation:timeline-instability 3.2s steps(1,end) 1}
.title-card-text .scene-image,.title-card-text .scene-previous{visibility:hidden}
.timeline-card{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:13px;background:#000}
.timeline-card h2{margin:0;font:500 clamp(22px,3.8vw,44px)/1.25 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.16em;color:#dbeddf}
.timeline-card p{margin:0;color:#a4bcb2;font-size:13px;line-height:1.5}
.timeline-card #timeline-eyebrow{font-size:11px;letter-spacing:.22em;color:#92afa0}
.review-return{color:#e1c79f!important}
@keyframes timeline-instability{0%,12%,17%,44%,49%,72%,77%,100%{transform:translate(0,0)}13%,46%,74%{transform:translate(2px,0)}15%,47%,76%{transform:translate(-2px,1px)}}
.reduced-motion .is-title-card .scene-image{animation:none}
@media(prefers-reduced-motion:reduce){.is-title-card .scene-image{animation:none}}
@media(max-width:600px){.plane-label{top:62px;left:18px;max-width:calc(100% - 36px);font-size:11px;padding:6px 9px;letter-spacing:.02em}.timeline-card{gap:10px;padding:20px}.timeline-card h2{font-size:22px;letter-spacing:.10em}.timeline-card p{font-size:12px}.is-title-card{min-height:220px}}
@media(orientation:landscape) and (max-height:600px){.plane-label{top:43px;font-size:11px;padding:5px 8px;max-width:calc(100% - 130px)}.is-title-card{min-height:170px}.timeline-card{padding:12px;gap:8px}.timeline-card h2{font-size:26px}.timeline-card p{font-size:11px}.timeline-card #timeline-eyebrow{font-size:10px}}

.has-battle .plane-label{display:none}.stage[data-frame=sleep] .vision-outline{border-color:#a7c6ba80}.stage[data-frame=sleep] .vision-label{border-color:#a7c6ba66;color:#d2e6dd;background:#0b191fee}

/* As etiquetas seguem o tamanho do local, sem depender de uma altura fixa. */
.stage-meta{position:absolute;z-index:4;left:3.3%;top:22px;max-width:calc(100% - 300px);display:flex;flex-direction:column;align-items:flex-start;gap:10px;pointer-events:none}
.stage-meta .location{position:static;max-width:100%;width:100%;gap:8px;line-height:1.4}
.stage-meta .vision-label,.stage-meta .plane-label{position:static;max-width:100%;margin:0}
.is-title-card .stage-meta{display:none}
@media(max-width:1000px){.stage-meta{max-width:calc(100% - 235px)}}
@media(max-width:600px){.stage-meta{left:18px;top:16px;max-width:calc(100% - 116px);gap:8px}.stage-meta .location{gap:5px}.stage-meta .plane-label,.stage-meta .vision-label{font-size:11px}}
@media(orientation:landscape) and (max-height:600px){.stage-meta{top:12px;gap:7px;max-width:calc(100% - 240px)}}

/* A abertura ocupa uma tela realmente preta, com avanço manual sempre visível. */
.game.showing-title-card{display:flex;flex-direction:column;min-height:100dvh;height:100dvh;background:#000}
.showing-title-card .game-header{display:none}
.showing-title-card .stage{flex:1;min-height:180px;height:auto}
.showing-title-card .dialogue-panel{flex:0 0 auto;min-height:0;border:0;background:#000;color:#d8e8de}
.showing-title-card .dialogue-inner{max-width:900px;padding:14px 24px 22px}
.showing-title-card .speaker-line{display:none}
.showing-title-card .dialogue-text{max-width:660px;min-height:0;margin:0 auto;text-align:center;font-family:inherit;font-size:calc(14px * var(--text-scale));line-height:1.6;color:#b7c8bd}
.showing-title-card .dialogue-actions{justify-content:center;margin-top:20px}
.showing-title-card .choices{display:block;width:auto}
.showing-title-card .choice{min-width:min(330px,calc(100vw - 48px));justify-content:center;background:#10231a;border:1px solid #496d55;color:#e3efe7;font-size:14px}
.showing-title-card .choice:hover{background:#1c3828;border-color:#7da28c}
.showing-title-card .choice-number{display:none}
.showing-title-card .game-footer{flex:0 0 auto;justify-content:center;min-height:44px;background:#000;border:0}
.showing-title-card .game-footer>*{display:none}
.showing-title-card .game-footer #audio-btn,.showing-title-card .game-footer #review-return:not([hidden]){display:inline-flex}
@media(orientation:landscape) and (max-height:600px){.showing-title-card .stage{min-height:135px}.showing-title-card .dialogue-inner{padding:8px 24px}.showing-title-card .dialogue-actions{margin-top:12px}.showing-title-card .dialogue-text{font-size:12px}.showing-title-card .choice{min-height:44px}}
