@font-face{font-family:JourneySerif;src:url('./assets/journey-serif.woff') format('woff');font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#263b31;color:#f8f4e9;font-family:'PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif}button,textarea{font:inherit}button{cursor:pointer;border:0;touch-action:manipulation}button:focus-visible,textarea:focus-visible{outline:2px solid #e5c689;outline-offset:5px}[hidden]{display:none!important}button{color:inherit}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none;outline:none}.grain{pointer-events:none;position:fixed;z-index:2;inset:0;opacity:.045;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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.9' filter='url(%23n)'/%3E%3C/svg%3E")}.vignette{position:fixed;z-index:1;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 40%,transparent 35%,#14251d30 100%)}h1,h2,h3,.dialogue-text,.ending-memory,.paper-modal blockquote{font-family:JourneySerif,'Songti SC','STSong','Noto Serif CJK SC',serif;font-weight:500}#loader{position:fixed;z-index:100;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#263b31;transition:opacity .6s}#loader p{font:20px JourneySerif,serif;letter-spacing:.15em}#loader span{font-size:14px;color:#c0c8b8}.loader-mark{font-size:48px;color:#d8bd82;animation:breathe 2s infinite}@keyframes breathe{50%{opacity:.3;transform:translateY(-4px)}}.cover{position:fixed;z-index:5;inset:0}.cover-shade{position:absolute;inset:0;background:linear-gradient(90deg,#112d23ed 0%,#16392dc7 27%,#193b2c47 53%,transparent 75%),linear-gradient(0deg,#112a29a6,transparent 30%)}.edition{position:absolute;left:5.8vw;top:5.2vh;display:flex;align-items:center;gap:14px;letter-spacing:.2em;font-size:14px;color:#e6e6cd}.leaf-mark{font-size:34px;color:#d9c081}.cover-copy{position:absolute;left:7.2vw;top:23.5vh}.eyebrow{font-size:13px;letter-spacing:.35em;color:#d6bd83;margin:0 0 24px}.cover h1{font-size:clamp(42px,5vw,76px);letter-spacing:.07em;line-height:1.25;margin:0;text-shadow:0 2px 20px #061c1140}.cover h1 span{display:block;font-size:clamp(28px,3.1vw,47px);letter-spacing:.15em;margin-top:16px}.title-rule{height:1px;width:58px;background:#d8bc83;margin:31px 0 24px}.cover-description{font:19px/1.9 JourneySerif,'Songti SC',serif;letter-spacing:.1em;color:#e1e4d3;margin:0 0 33px}.cover-actions,.ending-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 26px;border-radius:5px;font-size:16px;letter-spacing:.14em;transition:background .2s,transform .2s;border:1px solid transparent}.button:hover{transform:translateY(-2px)}.button.gold{background:#e0c58c;color:#253b2d;box-shadow:0 5px 25px #0a211120}.button.gold:hover{background:#ecd5a2}.button.ghost{background:#eef2dc0d;border-color:#e1d7bd55;color:#f4efdf}.button-dot{font-size:19px;margin-left:40px}.cover-caption{font-size:13px;letter-spacing:.2em;margin-top:22px;color:#c2cdb7}.cover-footer{position:absolute;bottom:4.2vh;left:5.8vw;right:5.8vw;display:flex;justify-content:space-between;align-items:center;color:#d7dfc3b3;font-size:12px;letter-spacing:.07em}.text-button{background:none;font-size:13px;color:inherit;padding:8px 0;border-bottom:1px solid #b7b9a140;letter-spacing:.08em}.text-button:hover{color:#e8c98f}.hud{position:fixed;z-index:6;top:0;left:0;right:0;display:flex;justify-content:space-between;padding:28px 38px 65px;background:linear-gradient(180deg,#102b2299,transparent);pointer-events:none}.chapter,.top-actions{pointer-events:auto}.chapter-kicker{font-size:12px;letter-spacing:.13em;color:#e2e6cbcc;margin-bottom:6px}.chapter h2{font-size:26px;letter-spacing:.12em;margin:0 0 6px;text-shadow:0 2px 15px #17332277}.chapter>p{font-size:12px;letter-spacing:.07em;color:#e4e7d2;margin:0}.top-actions{display:flex;gap:13px;align-items:flex-start}.icon-button{display:flex;position:relative;align-items:center;gap:7px;padding:10px 12px;background:#1d332865;border:1px solid #e5e2be30;backdrop-filter:blur(12px);border-radius:5px;color:#f3eddb;font-size:13px}.icon-button:hover{background:#293f30b5}.icon-button svg,.look-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.icon-button i{position:absolute;top:5px;right:5px;width:5px;height:5px;background:#e4bd76;border-radius:50%}.objective{position:fixed;z-index:6;top:148px;left:38px;display:flex;gap:12px;align-items:center;background:#1833297a;border:1px solid #edebca26;border-radius:5px;padding:13px 18px 14px 14px;backdrop-filter:blur(8px)}.objective-spark{color:#e9cf96;font-size:20px}.objective-caption{display:block;color:#cdd7bb;font-size:11px;letter-spacing:.12em;margin-bottom:5px}.objective button{background:none;display:block;text-align:left;font-size:14px;padding:0;color:#f3eedc;letter-spacing:.035em}.objective button:hover{text-decoration:underline;text-underline-offset:4px}.bottom-controls{position:fixed;z-index:6;left:36px;right:36px;bottom:28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.controls-hint{font-size:12px;color:#eff0da;background:#17382b80;backdrop-filter:blur(6px);border:1px solid #f1edc529;padding:12px 15px;border-radius:5px;letter-spacing:.025em}kbd{display:inline-block;font:11px sans-serif;border:1px solid #ece9cf88;border-radius:3px;padding:3px 4px;margin-right:3px}.hint-divider{margin:0 10px;color:#cabf94}.look-button{display:flex;gap:9px;align-items:center;padding:12px 17px;border-radius:5px;font-size:13px;letter-spacing:.05em;background:#1c3b2cad;border:1px solid #e4d9af48;backdrop-filter:blur(8px)}.look-button:hover{background:#2b4a38}.observation-menu{position:fixed;z-index:8;right:36px;bottom:90px;min-width:250px;border:1px solid #e6daba70;background:#f3efdfed;color:#354234;border-radius:7px;padding:20px;box-shadow:0 16px 60px #1e2b2530;backdrop-filter:blur(15px)}.observation-menu p{font-size:12px;color:#69715b;margin:0 0 14px}.observation-menu button{display:flex;justify-content:space-between;gap:25px;width:100%;text-align:left;background:none;padding:13px 0;border-top:1px solid #a7b09444;font:16px JourneySerif,serif;color:#324535}.observation-menu button span{font:12px sans-serif;color:#7d806a}.observation-menu button:hover{color:#8d6a28}#hover-label{position:fixed;z-index:7;pointer-events:none;padding:7px 12px;border-radius:4px;background:#213e2ed9;border:1px solid #e3cf9c80;font-size:13px;letter-spacing:.06em;transform:translate(14px,12px)}
.dialogue{position:fixed;z-index:10;left:50%;bottom:30px;transform:translateX(-50%);width:min(830px,calc(100vw - 64px));background:linear-gradient(115deg,#f7f4e8f7,#eee9d9f7);border:1px solid #fff9dfb3;color:#283b2d;border-radius:9px;box-shadow:0 15px 70px #13251e60;backdrop-filter:blur(15px);max-height:calc(100dvh - 170px);overflow:visible}
.dialogue-content{position:relative;z-index:1;padding:24px 31px 18px;max-height:inherit;overflow:auto;overscroll-behavior:contain;border-radius:inherit;scrollbar-width:thin;scrollbar-color:#87977880 transparent}
.dialogue:before,.paper-modal:before{content:'';position:absolute;inset:7px;border:1px solid #a7a98030;pointer-events:none;border-radius:4px}
.dialogue-top{display:flex;align-items:center;gap:13px;position:relative}
.speaker-avatar{width:44px;height:44px;border-radius:50%;background:#819163;color:#f2efd7;border:3px solid #d9d3b4;display:flex;align-items:center;justify-content:center;font:22px JourneySerif,serif;flex:0 0 auto}
.dialogue h3{font-size:19px;letter-spacing:.1em;margin:0}
.dialogue-text{font-size:21px;line-height:1.9;letter-spacing:.035em;min-height:42px;margin:16px 0 8px;padding-right:4px;white-space:pre-line;overflow-wrap:anywhere}
.dialogue-bottom{display:flex;align-items:center;justify-content:flex-end;margin-top:8px}
.next-button{background:none;color:#53644a;font-size:14px;letter-spacing:.15em;padding:10px 0 10px 20px;min-height:44px}
.next-button span{color:#ab8d52;margin-left:12px}
.next-button:hover{color:#8b6832}
.choices{display:grid;gap:8px;margin:15px 0 7px}
.choice{position:relative;text-align:left;display:flex;align-items:center;gap:14px;background:#eee9d7;border:1px solid #9ca18570;color:#364b35;padding:12px 16px;border-radius:5px;font-size:16px;line-height:1.55;transition:background .2s,transform .2s}
.choice:hover{background:#e0e4cd;transform:translateX(3px)}
.choice span{font:12px sans-serif;color:#9a956f;flex:0 0 16px}
.transition{position:fixed;z-index:18;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(ellipse at 50% 45%,#365340f8,#183329fc);animation:fade-in .7s}.transition-leaf{font-size:80px;color:#bfad76;margin-bottom:25px}.transition h2{font:42px JourneySerif,serif;letter-spacing:.18em;margin:0 0 18px}.transition>p:not(.eyebrow){font:18px/2.2 JourneySerif,serif;color:#dce3cd;letter-spacing:.09em}.transition .button{margin-top:26px}#toast{position:fixed;z-index:40;left:50%;top:20px;transform:translateX(-50%);background:#f2edddd9;color:#354b34;padding:12px 22px;border:1px solid #fff5dc;border-radius:5px;box-shadow:0 8px 30px #132b2330;backdrop-filter:blur(10px);font-size:13px;letter-spacing:.05em;max-width:85vw;animation:fade-in .25s}.modal-layer{position:fixed;z-index:30;inset:0;display:flex;align-items:center;justify-content:center;padding:25px;background:#142b22a1;backdrop-filter:blur(6px)}.paper-modal{position:relative;color:#324331;background:#f3efdf;width:min(560px,100%);max-height:88dvh;overflow:auto;border-radius:8px;padding:42px 40px 35px;box-shadow:0 20px 100px #0e241d50;animation:rise-in .3s}.paper-modal .eyebrow{color:#a28b52;margin-bottom:15px}.paper-modal h2{font-size:29px;letter-spacing:.09em;line-height:1.5;margin:0 0 24px}.paper-modal p{font-size:16px;line-height:1.95;color:#65705a}.close-button{position:absolute;right:20px;top:13px;background:none;color:#8d9279;font-size:29px;line-height:1;z-index:1;padding:5px}.paper-modal blockquote{font-size:21px;line-height:1.9;border-left:2px solid #c6b680;margin:24px 0;padding:0 0 0 20px;color:#3f513a}.paper-modal .button{margin-top:15px;background:#496146;color:#f4ecd6}.journal-entry{padding:18px 0;border-top:1px solid #bac0a47a}.journal-entry h3{font-size:19px;margin:0 0 7px}.journal-entry p{font-size:14px;margin:0;line-height:1.9}.journal-entry small{display:block;font-size:12px;color:#928d71;margin-bottom:10px}.journal-empty{border-top:1px solid #c1c3a3;padding-top:20px}.modal-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.modal-actions .button.ghost{border-color:#a5b194;color:#4a6347;background:none}.paper-modal textarea{display:block;width:100%;min-height:135px;border:1px solid #b4b89b;background:#fffdf453;color:#3e533b;padding:14px;font:17px/1.8 JourneySerif,serif;border-radius:5px;resize:vertical}.local-note{font-size:12px!important;color:#8a8c78!important}.ending{position:fixed;z-index:20;inset:0;background:linear-gradient(90deg,#172f28f2,#1e3c2eeb);display:flex;align-items:center;justify-content:center;text-align:center;padding:30px;overflow:auto;animation:fade-in 1s}.ending-inner{max-width:650px}.ending .eyebrow{margin-bottom:15px}.ending-leaf{font-size:52px;color:#bba76f}.ending h2{font-size:clamp(30px,4vw,49px);line-height:1.55;letter-spacing:.1em;margin:13px 0 20px}.ending-copy{font-size:16px;line-height:2;color:#c8d3bc}.ending-memory{font-size:17px;line-height:1.9;color:#e6dab7;margin:20px auto 25px;max-width:520px;padding:18px 10px;border-top:1px solid #bac29435;border-bottom:1px solid #bac29435}.ending-actions{justify-content:center;margin:20px 0 15px}.ending .text-button{color:#b2bea4}.sample-note{font-size:12px;color:#8f9f87;margin-top:30px;letter-spacing:.04em}#render-warning{position:fixed;z-index:105;inset:0;background:#294532;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px}#render-warning button{background:#e0c58c;color:#263b2e;padding:12px 22px;border-radius:5px;margin:8px}body.text-mode #world{display:none}body.text-mode{background:radial-gradient(ellipse at 80% 30%,#688367,#233e30 65%)}body.text-mode .vignette{background:linear-gradient(0deg,#142b22,transparent)}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes rise-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.cover-copy{left:9vw}.cover h1{font-size:80px}.cover h1 span{font-size:50px}}
@media(max-height:680px) and (min-width:701px){.cover-copy{top:19vh}.cover h1{font-size:47px}.cover h1 span{font-size:32px;margin-top:10px}.title-rule{margin:20px 0 16px}.cover-description{font-size:16px;margin-bottom:21px}.cover-caption{margin-top:14px}.eyebrow{margin-bottom:15px}.dialogue{bottom:20px;padding:18px 26px 10px}.dialogue-text{font-size:19px;min-height:56px;margin:10px 0}.dialogue-top{gap:9px}.speaker-avatar{width:35px;height:35px}.choice{padding:8px 15px;font-size:15px}.ending{align-items:flex-start}.ending h2{font-size:30px;margin:4px 0 12px}.ending-leaf{font-size:35px}.ending-memory{margin:10px 0;padding:9px}.sample-note{margin-top:15px}}
@media(max-width:700px){.cover-shade{background:linear-gradient(0deg,#142f25fa 0%,#193d2ec9 34%,#193b2c30 65%,#193b2c22)}.edition{left:25px;top:max(28px,env(safe-area-inset-top));font-size:11px;letter-spacing:.12em}.leaf-mark{font-size:26px}.cover-copy{left:28px;top:auto;bottom:100px}.cover h1{font-size:44px}.cover h1 span{font-size:28px;margin-top:12px}.cover .eyebrow{font-size:11px;margin-bottom:16px}.title-rule{margin:20px 0 16px}.cover-description{font-size:16px;line-height:1.8;margin-bottom:21px}.cover-footer{bottom:max(20px,env(safe-area-inset-bottom));left:25px;right:25px;font-size:10px;gap:20px}.cover-footer .text-button{font-size:10px;flex-shrink:0}.button{min-height:48px;font-size:15px;padding:12px 22px}.cover-caption{margin-top:17px;font-size:11px}.button-dot{margin-left:20px}.hud{padding:22px 20px 50px}.chapter-kicker{font-size:10px}.chapter h2{font-size:22px}.chapter>p{font-size:10px}.top-actions{gap:6px}.icon-button{padding:8px;border-radius:4px}.icon-button>span{display:none}.icon-button svg{width:18px;height:18px}.objective{left:20px;top:122px;padding:10px 13px}.objective-caption{font-size:10px}.objective button{font-size:13px}.objective-spark{font-size:17px}.bottom-controls{left:18px;right:18px;bottom:max(22px,env(safe-area-inset-bottom))}.desktop-hint{display:none}.controls-hint{font-size:10px;padding:10px;max-width:60%;line-height:1.6}.look-button{font-size:12px;padding:10px}.look-button svg{width:16px}.observation-menu{right:18px;bottom:82px;min-width:240px}.dialogue{bottom:max(18px,env(safe-area-inset-bottom));width:calc(100vw - 28px);max-height:calc(100dvh - 120px)}.dialogue-content{padding:20px 22px 15px}.dialogue-text{font-size:19px;line-height:1.9;min-height:36px;margin:13px 0 8px;letter-spacing:.01em;padding-right:0}.dialogue h3{font-size:17px}.speaker-avatar{width:38px;height:38px;font-size:19px}.choices{gap:8px;margin-top:12px}.choice{padding:12px 13px;font-size:15px;line-height:1.5;gap:9px}.next-button{font-size:13px}.paper-modal{padding:36px 27px 28px}.paper-modal h2{font-size:26px;margin-bottom:20px}.paper-modal p{font-size:15px}.paper-modal blockquote{font-size:19px}.ending{padding:30px 22px}.ending h2{font-size:34px}.ending-copy{font-size:15px}.ending-memory{font-size:15px}.ending-actions{gap:11px}.ending-actions .button{font-size:14px;padding:11px 17px}.transition h2{font-size:34px}.transition-leaf{font-size:65px}.transition>p:not(.eyebrow){font-size:16px}.sample-note{font-size:11px}}
@media(max-width:900px) and (max-height:480px){.edition{top:18px}.cover-copy{top:74px;bottom:auto;left:35px}.cover h1{font-size:32px}.cover h1 span{font-size:24px}.cover-copy .eyebrow,.title-rule,.cover-description,.cover-caption{display:none}.cover-actions{margin-top:25px}.cover-footer{bottom:15px}.hud{padding:15px 20px}.objective{top:103px}.dialogue{width:min(680px,90vw);bottom:12px;max-height:calc(100dvh - 70px)}.dialogue-content{padding:15px 23px 10px}.dialogue-text{min-height:45px;margin:8px 0;font-size:17px;line-height:1.7}.dialogue-top{gap:9px}.speaker-avatar{width:30px;height:30px}.choice{padding:8px 12px;font-size:14px}.choices{gap:5px}.dialogue-bottom{margin-top:4px}.top-actions{gap:6px}.icon-button span{display:none}.ending{align-items:flex-start}.ending-leaf{display:none}.ending h2{font-size:26px;margin:8px 0}.ending-copy{font-size:13px}.ending-memory{margin:12px 0;padding:10px}.sample-note{margin-top:14px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.scene-poster{display:none;position:fixed;inset:0;background:#9cafa5 url('./assets/garden-preview.jpg') center/cover no-repeat}body.text-mode .scene-poster{display:block}body.text-mode[data-location=consultation] .scene-poster{background-image:url('./assets/consultation-preview.jpg')}#mode-badge{display:none;position:fixed;z-index:7;top:18px;left:50%;transform:translateX(-50%);padding:5px 9px;color:#ede7d0;background:#213b2c85;border:1px solid #cfcead55;border-radius:3px;font-size:11px;letter-spacing:.08em;pointer-events:none}body.text-mode #mode-badge{display:block}#render-warning{background:linear-gradient(#173426b8,#173426f2),url('./assets/garden-preview.jpg') center/cover no-repeat}#render-warning p{text-align:center;line-height:2;font-size:16px}body.text-mode .controls-hint{display:none}body.text-mode .bottom-controls{justify-content:flex-end}@media(max-width:700px){#mode-badge{top:auto;bottom:7px;font-size:10px}.scene-poster{background-position:49% center}}

body.text-mode[data-view=cover] .scene-poster{background-image:url('./assets/cover-preview.jpg')}

/* Story text carries its meaning through shape and spacing, without type labels. */
.thought-cloud,.thought-dots{display:none;pointer-events:none}
.dialogue[data-kind=narration] .dialogue-top,.dialogue[data-kind=thought] .dialogue-top{display:none}
.dialogue[data-kind=narration]{width:min(730px,calc(100vw - 64px));background:linear-gradient(110deg,#1c332ef5,#233b32ed);border:1px solid #ced2b33b;color:#f1efdc;border-radius:6px;box-shadow:0 14px 60px #13251e36}
.dialogue[data-kind=narration] .dialogue-content{padding:24px 30px 13px}
.dialogue[data-kind=narration]:before{border:none;border-left:1px solid #cebb804d;border-radius:0;inset:23px auto 23px 16px}
.dialogue[data-kind=narration] .dialogue-text{font-size:20px;line-height:1.9;min-height:0;margin:0 0 7px}
.dialogue[data-kind=narration] .next-button{color:#e8d8aa}
.dialogue[data-kind=thought]{width:min(770px,calc(100vw - 64px));max-height:min(330px,calc(100dvh - 190px));background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;color:#3e513b;filter:drop-shadow(0 12px 20px #172b243b)}
.dialogue[data-kind=thought]:before{display:none}
.dialogue[data-kind=thought] .dialogue-content{padding:50px 10.5% 35px;max-height:inherit;border-radius:18%;scrollbar-gutter:stable}
.dialogue[data-kind=thought] .dialogue-text{min-height:38px;margin:0;line-height:1.85;color:#3d513b}
.dialogue[data-kind=thought] .dialogue-bottom{margin-top:5px}
.dialogue[data-kind=thought] .next-button{padding-top:8px;padding-bottom:8px;color:#657052}
.dialogue[data-kind=thought] .thought-cloud{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.thought-cloud path{fill:#f8f4e5;stroke:#cbd0b5;stroke-width:1.2;vector-effect:non-scaling-stroke}
.dialogue[data-kind=thought] .thought-dots{display:block;position:absolute;top:-27px;left:20%;width:44px;height:40px}
.thought-dots i{position:absolute;display:block;background:#f8f4e5;border:1px solid #cbd0b5;border-radius:50%}
.thought-dots i:first-child{width:11px;height:9px;left:0;top:0;transform:rotate(-16deg)}
.thought-dots i:last-child{width:22px;height:17px;left:17px;top:15px;transform:rotate(-12deg)}
body[data-memory=mole_waiting] .vignette{background:radial-gradient(ellipse at 50% 36%,#f2c06b08 18%,#6c4a2238 100%)}
#scene-fade{position:fixed;z-index:11;inset:0;background:#20392d;opacity:0;pointer-events:none;transition:opacity .26s ease}
#scene-fade.active{opacity:1}
#scene-caption{position:fixed;z-index:12;left:50%;bottom:9vh;transform:translateX(-50%);margin:0;padding:12px 24px;border-radius:4px;color:#f2ebd7;background:#19372bd9;border:1px solid #d8cc9d45;box-shadow:0 8px 30px #172e2126;font:18px/1.7 JourneySerif,serif;letter-spacing:.08em;text-align:center;max-width:85vw;backdrop-filter:blur(8px);pointer-events:none}
body.text-mode[data-location=home] .scene-poster{background-image:url('./assets/home-waiting-preview.jpg')}
@media(max-width:700px){
 .dialogue[data-kind=narration]{width:calc(100vw - 28px)}
 .dialogue[data-kind=narration] .dialogue-content{padding:22px 23px 11px}
 .dialogue[data-kind=narration] .dialogue-text{font-size:18px;min-height:0}
 .dialogue[data-kind=thought]{width:calc(100vw - 20px);max-height:min(330px,calc(100dvh - 164px))}
 .dialogue[data-kind=thought] .dialogue-content{padding:52px max(38px,10.5%) 31px}
 .dialogue[data-kind=thought] .dialogue-text{font-size:18px;min-height:36px;line-height:1.8}
 .dialogue[data-kind=thought] .thought-dots{left:22%;top:-24px}
 #scene-caption{font-size:16px;width:max-content;max-width:calc(100vw - 42px);bottom:10vh}
 body.text-mode[data-view=game] .scene-poster{background-size:auto 62%;background-position:center top;background-color:#6d806b}
}
@media(max-height:480px){
 .dialogue[data-kind=narration] .dialogue-content{padding:17px 25px 8px}
 .dialogue[data-kind=narration] .dialogue-text{font-size:17px;min-height:0;margin:0}
 .dialogue[data-kind=thought]{max-height:calc(100dvh - 96px)}
 .dialogue[data-kind=thought] .dialogue-content{padding:42px 10.5% 25px}
 .dialogue[data-kind=thought] .dialogue-text{font-size:17px;min-height:32px;line-height:1.7}
 .dialogue[data-kind=thought] .thought-dots{top:-22px;transform:scale(.8)}
}
@media(max-width:700px) and (max-height:480px){
 .dialogue[data-kind=thought] .dialogue-content{padding-left:max(38px,10.5%);padding-right:max(38px,10.5%)}
}

@media(max-width:700px){body.text-mode[data-staging=consult_seated] .scene-poster{background-size:auto 52%}}

@media(max-width:700px){
 body.text-mode[data-staging=home_exit] .scene-poster{background-position:89% top}
 body.text-mode[data-staging=consult_waiting] .scene-poster{background-position:67% top}
 body.text-mode[data-staging=consult_outside] .scene-poster{background-position:63% top}
}

@media(max-width:700px){body.text-mode[data-memory=mole_waiting] .scene-poster{background-size:contain;background-position:center top;background-color:#c4b58f}}
