@font-face{font-family:NocturneSans;src:url('/ui/fonts/Roboto.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:NocturneText;src:url('/ui/fonts/Lora.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:NocturneText;src:url('/ui/fonts/Lora-Italic.woff2') format('woff2');font-weight:400 700;font-style:italic;font-display:swap}
:root{color-scheme:dark;--ink:#080b11;--paper:#e8dfcc;--muted:#a99aa6;--accent:#b77e8d;--wine:#922d40;--line:#85657540;--safe-top:0px;--safe-bottom:0px;--safe-left:0px;--safe-right:0px;--viewport-height:100dvh;--text-scale:1;--ui-top:max(env(safe-area-inset-top,0px),var(--safe-top));--ui-bottom:max(env(safe-area-inset-bottom,0px),var(--safe-bottom));--ui-left:max(env(safe-area-inset-left,0px),var(--safe-left));--ui-right:max(env(safe-area-inset-right,0px),var(--safe-right));font-family:NocturneSans,Arial,sans-serif;color:#e5dfda;background:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;overscroll-behavior:none;overflow:hidden}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0;min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:1px solid #c99fa6;outline-offset:3px}button[hidden],[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:NocturneText,Georgia,serif;font-weight:400}svg{fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;flex:none}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}#app{width:100%;height:var(--viewport-height);max-width:520px;margin:auto;position:relative;overflow:hidden;isolation:isolate}.screen{position:relative;width:100%;height:100%;overflow:hidden;background:var(--ink)}.safe-frame{position:absolute;inset:var(--ui-top) var(--ui-right) var(--ui-bottom) var(--ui-left);container-type:size;z-index:2;min-height:0}.eyebrow{font-size:9px;font-weight:400;letter-spacing:.18em;text-transform:uppercase;color:#b99ba8;line-height:1.7}.icon{position:relative;width:44px;height:44px;flex:none;background:none;display:inline-grid;place-items:center;padding:10px;color:#c9c4c3}.icon:hover{color:#f4e9e5}.icon svg{width:24px;height:24px}.primary{display:flex;align-items:center;justify-content:center;gap:20px;width:100%;min-height:54px;padding:14px 18px;background:#32141d;color:#eddddd;border:1px solid #8c4657;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,8px 100%,0 50%);font-size:17px;font-weight:300;line-height:1.45;letter-spacing:.01em;box-shadow:inset 0 0 0 4px #32141d,inset 0 0 0 5px #9c687336}.primary:hover{filter:brightness(1.15)}.primary:focus-visible{outline-offset:-7px;outline:2px solid #e0acb9}.primary svg{width:30px;height:18px;stroke-width:.8}.diamond{display:block;width:5px;height:5px;flex:none;transform:rotate(45deg);background:#b38a8f}.quiet{background:none;color:#b7a8b0;font:13px/1.6 NocturneText,Georgia,serif;width:100%;padding:12px 4px}.loading{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:24px;padding:calc(30px + var(--ui-top)) calc(28px + var(--ui-right)) calc(30px + var(--ui-bottom)) calc(28px + var(--ui-left));background:radial-gradient(ellipse at 50% 0,#1d1b29,#080b11 75%)}.loading-title{width:100%;max-width:330px}.loading h1{font-size:clamp(25px,7vw,38px);line-height:1.35}.loading>p:last-of-type{font:14px/1.7 NocturneText,Georgia,serif;color:#b6a7ad}.loading .primary{max-width:330px}
/* Poster and quiet menu. Portraits remain protected, authenticated assets. */
.cover-bg,.cover-shade,.scene-bg,.scene-vignette{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.cover-bg{object-position:53% center;filter:brightness(.62) saturate(.48)}.cover-cast{position:absolute;inset:8% -15px auto;height:79%;mask-image:linear-gradient(#000 62%,#0009 80%,transparent);pointer-events:none}.cover-cast img{position:absolute;width:auto;max-width:none;object-fit:contain;bottom:0;filter:brightness(.78) saturate(.48)}#cover-damon{height:90%;left:-92px;z-index:1}#cover-stefan{height:90%;right:-110px;bottom:28px;z-index:1}#cover-polina{height:100%;left:50%;transform:translateX(-50%);z-index:2;filter:brightness(.87) saturate(.65)}.cover-shade{background:linear-gradient(0deg,#070a10 0%,#070a10 18%,#070a10db 27%,#070a105c 47%,transparent 68%,#080c143b 90%,#080c149e);pointer-events:none;z-index:1}.home-top{position:absolute;top:18px;left:29px;right:17px;display:flex;align-items:center;justify-content:space-between;z-index:3}.wordmark{font-size:10px;font-weight:300;letter-spacing:.32em;color:#b5b7bf}.home-top svg{width:20px;height:20px}.cover-content{position:absolute;left:27px;right:27px;bottom:82px;text-align:center;max-height:calc(100% - 88px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:4px 3px}.cover-content h1{width:100%;max-width:336px;margin:auto}.title-lockup{display:block;width:100%;height:auto}.cover-description{font:12px/1.8 NocturneText,Georgia,serif;color:#b4aeb0;margin:12px 0 29px}.cover-description i{color:#d0c3c6}.home-save{font-size:10px;font-weight:300;color:#b198a1;line-height:1.6;margin:9px 0 0;min-height:16px}.home-nav{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:5px;flex-wrap:wrap}.home-nav button{font:12px/1.5 NocturneText,Georgia,serif;background:none;color:#c2b5bd;padding:5px 0}.home-nav button+button:before{content:' ';display:inline-block;width:1px;height:10px;background:#6b4756;margin-right:15px}.home-nav #new-game{font-size:11px}.home-nav span{font:9px NocturneSans,Arial;color:#ad8393;margin-left:3px}.dedication{position:absolute;bottom:38px;left:20px;right:20px;text-align:center;font:italic 13px/1.6 NocturneText,Georgia,serif;color:#bda9aa}.edition{position:absolute;bottom:18px;left:20px;right:20px;text-align:center;font-size:6px;letter-spacing:.25em;color:#877482}
/* Scene: unboxed dialogue, restrained rules, drawn icons. */
.scene-bg{filter:brightness(.6) saturate(.54);object-position:53% center}.scene-vignette{z-index:1;pointer-events:none;background:linear-gradient(#080b12c9,transparent 24%,transparent 40%,#060a1199 62%,#05080d 88%,#05080d)}.play-top{position:absolute;top:18px;left:16px;right:16px;z-index:6;display:flex;gap:7px;align-items:center}.play-top>div{flex:1;min-width:0;text-align:center}.play-top>div>span{font-size:8px;letter-spacing:.18em;color:#b6a6af;text-transform:uppercase}.play-top p{font:14px/1.4 NocturneText,Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#d8cfc9;margin-top:6px}#journal-dot{position:absolute;width:4px;height:4px;background:#bd7385;transform:rotate(45deg);top:8px;right:10px}.portraits{position:absolute;top:80px;left:0;right:0;height:77%;z-index:2;overflow:hidden;mask-image:linear-gradient(#000 68%,transparent 100%);pointer-events:none}.portraits img{position:absolute;bottom:0;width:auto;height:100%;max-width:none;object-fit:contain;filter:saturate(.65) brightness(.82)}#partner{left:25%;transform:translateX(-50%)}#heroine{left:75%;right:auto;transform:translateX(-50%);height:91%}.portraits.solo #heroine{left:50%;right:auto;transform:translateX(-50%);height:100%}.portraits.solo #partner{display:none}.dialogue{position:absolute;left:0;right:0;bottom:57px;z-index:4;display:flex;flex-direction:column;padding:26px 29px 7px;min-height:min(225px,52cqh);max-height:calc(100% - 140px);background:linear-gradient(transparent,#060910bf 25%,#060910f5);}.dialogue-rule{position:absolute;top:0;left:27px;right:27px;display:flex;align-items:center;gap:8px}.dialogue-rule i{height:1px;background:linear-gradient(90deg,transparent,#99778a66);flex:1}.dialogue-rule i:last-child{transform:rotate(180deg)}.dialogue-rule b{width:5px;height:5px;border:1px solid #a87b8d;transform:rotate(45deg)}.speaker-row{display:flex;justify-content:space-between;align-items:center;min-height:24px;gap:10px;flex:none}#speaker{font:italic 18px/1.4 NocturneText,Georgia,serif;color:#d0b1b4}#save-indicator{font-size:8px;color:#a493a2;white-space:nowrap}#line-text{font:calc(18px * var(--text-scale))/1.6 NocturneText,Georgia,serif;letter-spacing:-.018em;color:#e4ded7;margin-top:16px;max-height:31cqh;min-height:0;overflow-y:auto;white-space:pre-line;overscroll-behavior:contain;scrollbar-width:thin;flex:1}.dialogue.thought #line-text{font-style:italic;color:#d7cbd5}.dialogue.stage #line-text{color:#d4cdd1}.dialogue.title #line-text{letter-spacing:.06em;text-align:center}.line-next{align-self:flex-end;flex:none;min-height:44px;display:flex;justify-content:flex-end;align-items:center;gap:15px;padding:8px 0 0;margin-top:12px;background:none;color:#c7adb8}.line-next span{font-size:9px;font-weight:300;letter-spacing:.1em}.line-next svg{width:37px;height:18px;stroke-width:.7}.play-bottom{position:absolute;bottom:8px;left:23px;right:23px;z-index:6;display:flex;align-items:center;gap:20px}.play-bottom button{display:flex;align-items:center;gap:9px;background:none;padding:5px;color:#b7a8b6;font-size:10px;font-weight:300}.play-bottom button:first-child{padding-left:0}.play-bottom button:last-child{padding-right:0}.play-bottom svg{width:18px;height:19px;stroke-width:.85}#progress-track{flex:1;height:1px;background:#69465c55}#progress-track i{display:block;height:1px;background:#a15c75;width:0}.scene-card,.ending-card{position:absolute;left:29px;right:29px;top:50%;transform:translateY(-50%);z-index:4;text-align:center;padding:27px 12px;max-height:calc(100% - 165px);overflow-y:auto;scrollbar-width:thin;background:linear-gradient(transparent,#080c13ed 23%,#080c13ed 90%,transparent)}.scene-card h2,.ending-card h2{font-size:36px;line-height:1.25;letter-spacing:-.035em;margin:18px 0}.scene-card>p:not(.eyebrow),.ending-card>p:not(.eyebrow){font:italic 13px/1.8 NocturneText,Georgia,serif;color:#bda8b3;margin-bottom:28px}.scene-card .primary,.ending-card .primary{font-size:15px}.cinematic-frame{position:absolute;z-index:2;top:89px;left:0;width:100%;height:42%;padding:0;background:#080b11;box-shadow:0 12px 35px #0009;min-height:0}.cinematic{display:block;width:100%;height:100%;object-fit:contain}#play[data-view=line] .cinematic-frame{height:max(44px,min(42cqh,calc(100% - 160px - var(--dialogue-height,225px))))}.prop-card{position:absolute;z-index:3;top:100px;right:26px;width:95px;padding:6px;background:#e8dfcc;color:#5a4146;transform:rotate(4deg);box-shadow:0 5px 20px #0005}.prop-card img{display:block;width:100%;height:85px;object-fit:contain}.prop-card span{display:block;font:italic 9px/1.5 NocturneText,Georgia,serif;padding-top:5px}
/* The list itself scrolls; footer and native Telegram controls stay reachable. */
.choices{position:absolute;left:24px;right:24px;bottom:64px;max-height:calc(100% - 155px);overflow-y:auto;z-index:5;padding:14px 2px 3px;scrollbar-width:thin;overscroll-behavior:contain;background:linear-gradient(transparent,#080b12e8 7%,#080b12f7 93%,#080b12)}.choices>.eyebrow{margin:0 0 23px;text-align:center;font-size:10px;letter-spacing:.12em;color:#c2a6b4}#choice-list{display:grid;gap:14px}.choice{position:relative;width:100%;min-height:84px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;padding:16px 17px;background:#11121be8;border-top:1px solid #a0819077;border-bottom:1px solid #a0819077;color:#e1d4da;font:calc(16px * var(--text-scale))/1.6 NocturneText,Georgia,serif;text-align:left;overflow-wrap:anywhere}.choice:before{content:'';position:absolute;inset:5px 0;border-inline:1px solid #9b738255;pointer-events:none}.choice:after{content:'';position:absolute;width:5px;height:5px;left:0;top:calc(50% - 2px);background:#835369;transform:rotate(45deg)}.choice-number{font:italic 16px/1.5 NocturneText,Georgia,serif;color:#bb94a6}.choice-copy{min-width:0}.choice small{display:block;color:#b9a8b3;font:12px/1.7 NocturneText,Georgia,serif;margin-top:8px}.choice:hover:not(:disabled){background:#301c2ade;border-color:#b47d90}.choice:disabled{color:#a696a2;background:#10111acc}.choice:disabled .choice-number{color:#a08495}.choice.done{border-color:#7b8d7b}.choice.done .choice-number{color:#a8bea2}.choices .primary{margin-top:20px;font-size:15px}.outcome-menu{max-height:calc(100% - 150px)}#play[data-view=choices] .portraits{opacity:.55}#play[data-view=choices] .scene-vignette{background:linear-gradient(#080b12d9,transparent 20%,#060a1133 42%,#060a11eb 68%,#05080d 90%)}
/* Modal screens: shared actions, paper journal, page-like saves. */
dialog{position:fixed;inset:var(--ui-top) var(--ui-right) var(--ui-bottom) var(--ui-left);margin:auto;width:calc(100% - var(--ui-left) - var(--ui-right) - 24px);max-width:496px;max-height:calc(var(--viewport-height) - var(--ui-top) - var(--ui-bottom) - 24px);padding:24px 27px 28px;border:1px solid #84677555;background:#0d1019;color:#ded1d7;box-shadow:0 20px 100px #000a;overflow:hidden}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#05080cc9;backdrop-filter:blur(5px)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;margin-bottom:13px}.panel-head .icon{margin:-8px -10px -8px 0}dialog h2{font-size:31px;line-height:1.25;letter-spacing:-.04em;margin-bottom:23px;flex:none}#panel-body{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:3px 3px 4px;flex:1}.panel-note{font:13px/1.85 NocturneText,Georgia,serif;color:#b5a3b0;margin-bottom:21px}.panel-actions{display:grid;gap:4px}.panel-actions button{background:none;text-align:left;min-height:53px;padding:12px 0;border-bottom:1px solid var(--line);font:16px/1.6 NocturneText,Georgia,serif;color:#d7c0cd}.panel-actions button:hover{color:#d391a8}.panel-menu{text-align:center;padding-top:29px;padding-bottom:35px}.panel-menu #panel-eyebrow{margin:auto}.panel-menu h2{font-size:36px}.panel-menu .panel-note{font-style:italic}.panel-menu .panel-actions button{text-align:center;border:0}.panel-menu .panel-actions button:first-child{color:#f0dedf}.panel-menu .panel-actions button:last-child{font-size:13px;margin-top:10px;color:#b59cae}.panel-journal{color-scheme:light;background:linear-gradient(100deg,#b4a89433,transparent 12%),#e8dfcc;color:#44362e;border-color:#b2a28c}.panel-journal:before{content:'';position:absolute;left:14px;top:0;bottom:0;border-left:1px solid #8e77622b;pointer-events:none}.panel-journal .icon{color:#795d52}.panel-journal .eyebrow{color:#8a665d}.panel-journal .panel-note{color:#665348}.tabs{display:flex;gap:8px;justify-content:space-between;border-bottom:1px solid #8e77624d;margin-bottom:22px;position:sticky;top:-3px;z-index:2;background:#e8dfcc}.tabs button{font:13px/1.5 NocturneText,Georgia,serif;min-height:46px;background:none;color:#75604e;padding:10px 0}.tabs button.active{border-bottom:1px solid #85545a;color:#7d303e}.journal-entry{padding:21px 0;border-top:1px solid #8e776239}.journal-entry h3{font:23px/1.3 NocturneText,Georgia,serif;letter-spacing:-.03em;margin:10px 0 14px}.journal-entry p{font:calc(14px * var(--text-scale))/1.85 NocturneText,Georgia,serif;color:#665348}.journal-entry small{font:10px/1.6 NocturneSans,Arial;letter-spacing:.08em;color:#86545a}.journal-photo{display:block;padding:7px 7px 10px;margin:12px 6px 23px;width:calc(100% - 12px);transform:rotate(-2deg);background:#f1e9d7;color:#795e52;box-shadow:1px 5px 10px #58472c3d}.journal-photo img{display:block;width:100%;height:145px;object-fit:contain}.journal-photo span{display:block;font:italic 11px/1.6 NocturneText,Georgia,serif;margin-top:6px}.relationship{display:flex;align-items:center;gap:18px;padding:20px 0;border-top:1px solid #8e776239}.relationship img{width:70px;height:90px;object-fit:cover;object-position:top;background:#bab19b44;mix-blend-mode:multiply;filter:sepia(.3) saturate(.6)}.relationship h3{font-size:21px}.relationship p{font:13px/1.7 NocturneText,Georgia,serif;color:#75604e;margin-top:9px}.history-line{font:calc(14px * var(--text-scale))/1.8 NocturneText,Georgia,serif;color:#d0bcc9;padding:17px 0;border-top:1px solid var(--line);white-space:pre-line}.history-line b{display:block;font:italic 13px/1.6 NocturneText,Georgia,serif;color:#c48a9e;margin-bottom:8px}.slot{border-top:1px solid var(--line);padding:24px 0}.slot h3{font-size:24px;color:#b893a7;margin-bottom:10px}.slot p{font:13px/1.8 NocturneText,Georgia,serif;color:#bca8b6}.slot>div{display:flex;gap:24px;margin-top:9px}.slot button{min-height:44px;padding:9px 0;background:none;color:#d0a3b7;border-bottom:1px solid #815c6d55;font:13px NocturneText,Georgia,serif}.settings-row{position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 0;border-top:1px solid var(--line);font:14px/1.6 NocturneText,Georgia,serif}.settings-row span{max-width:65%}.settings-row small{display:block;color:#aa8fa2;font:11px/1.7 NocturneText,Georgia,serif;margin-top:7px}.settings-row input[type=range]{min-width:60px;width:112px;min-height:44px;accent-color:#a86480;cursor:pointer}.settings-row input[type=checkbox]{width:44px;height:44px;accent-color:#8f4564;cursor:pointer}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px}.gallery button{position:relative;aspect-ratio:.9;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;text-align:left;padding:12px;border:1px solid #88677955;background:#15121d;color:#ead9df;overflow:hidden}.gallery img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.6}.gallery strong,.gallery span{position:relative;z-index:1;text-shadow:0 1px 10px #000}.gallery strong{font:16px/1.4 NocturneText,Georgia,serif}.gallery span{font-size:9px;letter-spacing:.1em;color:#ceb0bd;margin-bottom:7px}.gallery button:disabled{background:linear-gradient(135deg,#19131e,#0d1019);color:#9e8195}.full-art{display:block;width:100%;max-height:calc(var(--viewport-height) - var(--ui-top) - var(--ui-bottom) - 195px);object-fit:contain;background:#080b11}.panel-art h2{font-size:23px}.panel-art #panel-body{flex:none}.panel-art{padding-inline:17px}#toast{position:fixed;top:calc(80px + var(--ui-top));left:calc(18px + var(--ui-left));right:calc(18px + var(--ui-right));margin:auto;max-width:450px;padding:13px 16px;border:1px solid #99667977;background:#291722f2;color:#ead1dc;font:12px/1.7 NocturneText,Georgia,serif;text-align:center;z-index:1000;pointer-events:none}
@container(max-height:720px){.cover-content{bottom:59px}.cover-description{font-size:11px;margin:9px 0 20px}.home-save{font-size:9px}.home-nav{gap:10px;margin-top:2px}.home-nav button{font-size:11px}.home-nav button+button:before{margin-right:10px}.home-nav #new-game{font-size:10px}.dedication{bottom:29px;font-size:12px}.edition{bottom:12px}.home-top,.play-top{top:10px}.dialogue{padding:22px 24px 5px}.speaker-row{min-height:22px}#speaker{font-size:17px}#line-text{font-size:calc(17px * var(--text-scale));margin-top:13px}.portraits{top:67px;height:79%}.choices{left:20px;right:20px;bottom:61px;max-height:calc(100% - 132px)}.choice{min-height:75px;font-size:calc(15px * var(--text-scale));padding:13px 14px}.choices>.eyebrow{margin-bottom:18px}.scene-card h2,.ending-card h2{font-size:30px}.cinematic-frame{top:80px;height:38%}}
@container(max-height:550px){.cover-content{bottom:46px;max-height:calc(100% - 65px)}.cover-content h1{max-width:280px}.cover-description{font-size:10px;line-height:1.6;margin:7px 0 12px}.cover-content .primary{font-size:15px;min-height:48px}.home-top{top:4px}.home-nav{gap:8px}.home-nav button{font-size:10px}.home-nav button+button:before{margin-right:8px}.home-nav #new-game{font-size:10px}.dedication{bottom:19px;font-size:11px}.edition{bottom:5px;font-size:5px}.dialogue{bottom:53px;padding:18px 22px 4px;min-height:180px;max-height:calc(100% - 120px)}#line-text{font-size:calc(16px * var(--text-scale));margin-top:10px;max-height:30cqh}.line-next{margin-top:7px}.play-bottom{left:20px;right:20px;bottom:4px}.play-top{top:4px;left:12px;right:12px}.play-top p{font-size:12px}.scene-card,.ending-card{max-height:calc(100% - 125px);padding:15px 7px}.scene-card h2,.ending-card h2{font-size:27px;margin:12px 0}.scene-card>p:not(.eyebrow),.ending-card>p:not(.eyebrow){margin-bottom:16px;font-size:12px}.choice{font-size:calc(14px * var(--text-scale));min-height:72px}.choices{max-height:calc(100% - 120px)}.choices>.eyebrow{font-size:9px}.prop-card{top:77px;width:75px}.prop-card img{height:65px}}
@media(min-width:700px){body{background:radial-gradient(ellipse at 50% 10%,#25212c,#090c12)}#app{box-shadow:0 0 100px #0009}}
@media(max-height:650px){dialog{padding:17px 22px 20px}dialog h2{font-size:27px;margin-bottom:16px}.panel-head{margin-bottom:10px}.tabs{margin-bottom:15px}}
@media(orientation:landscape) and (max-height:540px){#app{max-width:900px}.cover-cast{height:100%;top:0;width:55%;left:auto;right:0;mask-image:linear-gradient(90deg,transparent,#000 25%,#000)}#cover-polina{height:100%}#cover-damon{left:-70px}#cover-stefan{right:-80px}.home-frame .cover-content{left:30px;right:50%;bottom:15px;max-height:calc(100% - 55px)}.home-frame .cover-content h1{max-width:270px}.home-frame .cover-description{margin:4px 0 8px}.home-frame .home-save{font-size:8px}.home-frame .home-nav{gap:8px}.home-frame .dedication,.home-frame .edition{display:none}.play-frame .portraits{left:0;right:45%;height:100%;top:0}.play-frame .dialogue{left:45%;right:4px;bottom:54px;max-height:calc(100% - 120px);min-height:0}.play-frame #line-text{max-height:40cqh}.play-frame .choices{left:44%;max-height:calc(100% - 115px)}.play-frame .cinematic-frame,#play[data-view=line] .play-frame .cinematic-frame{width:42%;height:calc(100% - 120px);top:67px}.play-frame .prop-card{right:55%;top:75px}.play-frame .scene-card,.play-frame .ending-card{left:20%;right:20%}.play-frame .play-top>div>p{font-size:12px}.play-frame .choice{min-height:60px;font-size:14px}.play-frame .choices>.eyebrow{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.primary{background:transparent url('/ui/button-frame.svg') center/100% 100% no-repeat;border:0;clip-path:none;box-shadow:none}.primary:hover{background-color:transparent;filter:brightness(1.15)}

#play[data-view=line]:has(.cinematic-frame:not([hidden])) .dialogue{min-height:0;max-height:calc(100% - 200px)}
@media(orientation:landscape) and (max-height:540px){#play[data-view=line]:has(.cinematic-frame:not([hidden])) .dialogue{max-height:calc(100% - 120px)}}

a.primary{text-decoration:none}
