@charset "UTF-8";
:root{color-scheme:dark;--bg:#101310;--panel:#161916;--line:#30332b;--gold:#c5a573;--text:#e9e7df;--muted:#999e91;--green:#8faa8c;--serif:Georgia,"Songti SC","Noto Serif SC",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 var(--sans)}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}button:hover{color:#e9c38a}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}h1,h2,p{margin:0}h2{font-size:20px;font-weight:500}.app{max-width:1920px;margin:auto}.topbar{height:88px;padding:0 32px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:35px}.brand{display:flex;align-items:center;gap:15px;color:var(--text);text-decoration:none;font:600 25px var(--serif);letter-spacing:4px}.sigil{font-size:54px;color:var(--gold);font-weight:400;line-height:1}.brand small{display:block;font:10px/2 var(--sans);letter-spacing:2.5px;color:var(--muted)}.chapter{margin:auto;color:#c7c7bc;font-size:14px;display:flex;align-items:center;gap:20px}.chapter span{color:var(--muted)}.chapter i{height:14px;width:1px;background:var(--line)}.session{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.quiet{border:1px solid var(--line);border-radius:4px;padding:9px 15px;font-size:14px}.session button{margin-left:17px}.status-dot{width:6px;height:6px;background:var(--green);border-radius:50%;display:inline-block;box-shadow:0 0 12px #8faa8c33}.status-dot.gold{background:var(--gold)}.workspace{display:grid;grid-template-columns:88px minmax(0,1fr) 330px;min-height:calc(100vh - 88px)}.rail{padding:27px 12px 20px;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;gap:17px}.rail-button{width:60px;min-height:66px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:var(--muted);border:1px solid transparent;border-radius:6px}.rail-button small{font-size:12px}.rail-button>span{font-size:29px;line-height:1}.rail-button.active{background:#bfa16d0c;border-color:#bfa16d36;color:var(--gold)}.rail-bottom{margin-top:auto;text-align:center}.edition{font:11px var(--serif);color:#737a6c;letter-spacing:2px}.main{min-width:0;padding:26px 27px 0}.scene{height:clamp(330px,46vh,590px);position:relative;overflow:hidden;border:1px solid #6c634641;border-radius:5px;background:#151919}.scene-image{width:100%;height:100%;object-fit:cover;object-position:center 40%;position:absolute}.scene-vignette{position:absolute;inset:0;background:linear-gradient(180deg,#080d0c65,transparent 34%,#0c100f15 45%,#0a100fec 100%)}.scene-top{position:absolute;top:22px;left:23px;right:23px;display:flex;align-items:center;justify-content:space-between;gap:10px}.location-tag{font-size:13px;display:flex;align-items:center;gap:9px;background:#101714a8;border:1px solid #d1c79b30;border-radius:3px;padding:8px 11px;backdrop-filter:blur(10px)}.subtle{color:#acae9e}.map-shortcut{display:flex;gap:8px;align-items:center;font-size:13px;text-shadow:0 2px 5px #000}.map-shortcut svg{width:17px}.scene-title{position:absolute;bottom:62px;left:32px;right:25px}.eyebrow{font-size:11px;color:var(--gold);letter-spacing:3px}.scene-title h1{font:400 clamp(30px,3vw,50px)/1.45 var(--serif);letter-spacing:4px;margin:6px 0 9px}.scene-title p{color:#c6c9be;font:15px/1.7 var(--serif);letter-spacing:1px}.scene-bottom{position:absolute;bottom:17px;left:32px;right:25px;display:flex;justify-content:space-between;font-size:12px;color:#c0c3b6}.scene-bottom i{padding:0 8px}.encounter{color:#cdb382}.encounter>span:first-child{font-size:9px;padding-right:5px}.story{padding:24px 6px 21px}.narrator-heading{display:flex;align-items:center;gap:9px;font-size:14px;color:#d6c09d}.dm-sigil{font-size:25px;line-height:1}.narrator-heading small{font-size:10px;letter-spacing:1.4px;color:#7e8779;margin-left:10px}.story-marker{margin-left:auto;font-size:12px;color:#7d8577}.story>p{margin:12px 0 18px;line-height:1.95;letter-spacing:.4px;color:#cbcec2;font-family:var(--serif);font-size:17px}.suggestions{display:flex;gap:10px;flex-wrap:wrap}.suggestions button{font-size:13px;color:#b4b8aa;padding:6px 11px;border:1px solid var(--line);border-radius:3px}.suggestions button:hover{border-color:var(--gold);color:var(--gold)}.suggestions span{margin-left:12px;color:#a79877}.voice-dock{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:1px solid #4b513e;border-radius:6px;background:linear-gradient(100deg,#20261a70,#151b17,#1b20188a);padding:18px 22px;box-shadow:0 6px 30px #0002}.voice-copy{flex:1;min-width:180px}.voice-label{display:block;font-size:15px;color:#ded8c6}.voice-copy small{display:block;font-size:12px;color:#969d8b;margin-top:4px}.voice-center{display:flex;align-items:center;gap:18px}.mic{width:59px;height:59px;display:grid;place-items:center;border-radius:50%;background:#c4ac7a;color:#252b1e;border:5px solid #252d20;outline:1px solid #7b825758;box-shadow:0 0 25px #c2af6d15}.mic svg{width:23px;height:23px}.mic:hover{background:#e3c88e;color:#121a10}.mic[aria-pressed=true]{background:#89b6a0}.wave{display:flex;align-items:center;gap:4px;height:28px;color:#8b976e}.wave i{display:block;width:2px;height:5px;background:currentColor;border-radius:2px}.wave i:nth-child(2n){height:13px}.wave i:nth-child(3){height:23px}.listening .wave i{animation:pulse .7s ease-in-out infinite alternate}.wave i:nth-child(2n){animation-delay:.25s}.text-toggle{margin-left:auto;border:0;color:#aaa995;font-size:13px;padding-right:0}.text-toggle span{margin-left:8px}#actionForm{width:100%;display:flex;border-top:1px solid var(--line);padding-top:14px;gap:12px}#actionForm[hidden]{display:none}input[type=text],#actionInput{width:100%;min-width:0;background:#101510;border:1px solid var(--line);border-radius:4px;color:var(--text);padding:10px}#actionForm button{background:#baa070;color:#101610;padding:6px 15px;border-radius:3px}.main-footer{display:flex;justify-content:space-between;padding:17px 0;font-size:11px;color:#737d6d;letter-spacing:1px}.main-footer b{color:var(--gold);font-size:16px;margin-left:6px}.sidebar{border-left:1px solid var(--line);background:#141714;display:flex;flex-direction:column;min-width:0}.sidebar>section{padding:25px 23px;border-bottom:1px solid var(--line)}.section-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;letter-spacing:1px;color:#a2a892;margin-bottom:17px}.section-label>span{font-size:11px;letter-spacing:0;color:#7e8875}.quest h2{font-family:var(--serif);font-size:23px;color:#d7c297}.quest p{font-size:13px;color:var(--muted);margin:8px 0 18px}.quest-step{display:flex;align-items:center;gap:8px;font-size:12px;color:#c4c7b6}.step-line{height:6px;width:6px;outline:1px solid #b5a171;outline-offset:3px;background:#b5a171;margin:0 8px 0 4px}.quest-step>span:last-child{margin-left:auto;font-size:11px}.gold-text{color:var(--gold)!important}.link{font-size:12px;color:var(--gold);padding:0}.character-row{display:flex;gap:14px;align-items:center}.character-row img{height:75px;width:65px;object-fit:cover;object-position:50% 10%;border-radius:4px;border:1px solid #76623e; background:#171a16}.character-row h2{font-size:20px;font-family:var(--serif)}.character-row p{font-size:12px;color:var(--muted);margin-top:3px}.character-level{font-size:10px;letter-spacing:1px;color:#ab9770}.health-label{display:flex;align-items:center;justify-content:space-between;margin:18px 0 6px;font-size:12px;color:#a9b1a1}.health-label strong{font-size:14px;color:#c2d2b7}.health-label small{font-weight:400;color:#7f8e76}progress{display:block;width:100%;height:5px;appearance:none;border:0;background:#2c342b;border-radius:5px;overflow:hidden}progress::-webkit-progress-bar{background:#2c342b}progress::-webkit-progress-value{background:#94ae83}progress::-moz-progress-bar{background:#94ae83}.stats{display:grid;grid-template-columns:1fr .7fr 1fr;margin-top:19px}.stats div{display:flex;flex-direction:column;gap:4px}.stats div+div{border-left:1px solid var(--line);padding-left:15px}.stats span{font-size:11px;color:#8f9885}.stats strong{font-size:16px;font-weight:400;color:#d8d6be}.stats div:last-child strong{font-size:14px}.inventory{margin-top:20px;border-top:1px solid var(--line);padding-top:13px;font-size:13px;color:#abb19e}.inventory summary{cursor:pointer}.inventory summary span{float:right;color:#7e8874;font-size:11px}.inventory ul{padding-left:18px;color:#929b86}.sidebar .journal{padding-bottom:0;border:0;flex:1;min-height:220px}.live-dot{color:#8f9e79!important}.journal-tabs{display:flex;border-bottom:1px solid var(--line);gap:24px}.journal-tabs button{font-size:13px;color:#8f9785;padding:0 2px 9px}.journal-tabs button[aria-selected=true]{color:#d5bb89;border-bottom:2px solid #c2a272}.journal-scroll{max-height:300px;overflow:auto;scrollbar-width:thin;scrollbar-color:#414936 transparent;padding-top:17px}.entry{font-size:13px;margin-bottom:17px;padding-left:14px;border-left:1px solid #49503c}.entry .entry-author{font-size:11px;color:#ac9773;margin-bottom:5px}.entry p{color:#b1b7a7;line-height:1.85;overflow-wrap:anywhere}.entry.player{border-color:#596f60}.entry.player .entry-author{color:#99ad9e}.entry.player p{color:#d1d7c7}.entry time{float:right;font-size:10px;color:#6f7866}.empty,#combatLog{font-size:13px;color:var(--muted);padding-top:8px}#combatLog{padding-left:17px}.sidebar-footer{font:13px var(--serif);color:#8c866d;display:flex;justify-content:center;gap:10px;padding:22px 10px}.sidebar-footer span{font-size:12px;letter-spacing:2px}.workspace.hide-journal{grid-template-columns:88px minmax(0,1fr)}.hide-journal .sidebar{display:none}
dialog{color:var(--text);background:#171c17;border:1px solid #695f44;border-radius:8px;padding:25px;max-height:90vh;max-width:calc(100vw - 32px);box-shadow:0 30px 120px #0009}dialog::backdrop{background:#050a08cc;backdrop-filter:blur(8px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-header h2{font-family:var(--serif);font-size:25px;margin-top:5px}.icon-button{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:36px;height:36px;flex-shrink:0}.map-dialog{width:1000px}.map-dialog>img{width:100%;max-height:60vh;object-fit:contain;border-radius:4px;background:#0f130f}.map-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;font-size:12px;color:#b1b39f;margin-top:15px}.dialog-note{font-size:12px;color:#8c9581;margin-top:18px}.character-dialog{width:1120px}.character-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.character-card{overflow:hidden;position:relative;background:#101510;border:1px solid #373e30;border-radius:5px;text-align:left;padding:0}.character-card[aria-pressed=true]{border-color:#d7b778;box-shadow:0 0 0 1px #d7b778}.character-card img{width:100%;height:330px;object-fit:cover;object-position:top}.character-info{padding:15px 17px;background:linear-gradient(0deg,#181f16,#151a14);display:block}.character-info strong{font:22px var(--serif);display:block;margin-bottom:7px}.character-info small{font-size:12px;color:#a4ab96;display:block}.character-info em{display:block;font-size:12px;font-style:normal;color:#c4a878;margin-top:12px}.selected-label{position:absolute;top:10px;right:10px;background:#c2a473;color:#1a2317;font-size:11px;padding:2px 8px;border-radius:3px}.small-dialog{width:460px}.small-dialog p{font-size:14px;line-height:1.9;color:#adb3a2;margin:16px 0}.small-dialog summary{font-size:14px;cursor:pointer}.setting{display:flex;align-items:center;justify-content:space-between}.setting input{accent-color:#c4a16c;width:20px;height:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.primary{padding:9px 16px;background:#bca16e;border-radius:4px;color:#111a11}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#303b2c;color:#eee4c8;border:1px solid #91805b;padding:12px 22px;border-radius:5px;font-size:14px;max-width:90vw;z-index:50;box-shadow:0 5px 30px #0006}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@keyframes pulse{to{transform:scaleY(.4);opacity:.5}}.no-motion *{animation:none!important}@media(prefers-reduced-motion:reduce){*{animation:none!important}}
@media(min-width:1650px){.workspace{grid-template-columns:96px minmax(0,1fr) 365px}.main{padding:30px 35px 0}.sidebar>section{padding:27px 28px}.scene{height:51vh}.story>p{font-size:19px}.journal-scroll{max-height:340px}}
@media(max-width:1200px){.workspace{grid-template-columns:72px minmax(0,1fr) 285px}.rail{padding-left:5px;padding-right:5px}.main{padding:20px 18px 0}.sidebar>section{padding:21px 18px}.voice-dock{padding:14px}.wave{display:none}.scene-title{left:23px}.scene-title h1{letter-spacing:2px}.narrator-heading small{display:none}.scene-top{left:15px;right:15px}.subtle{display:none}.text-toggle{font-size:12px}.voice-copy{min-width:150px}.character-card img{height:270px}}
@media(max-width:950px){.chapter{display:none}.session{margin-left:auto}.workspace{grid-template-columns:70px minmax(0,1fr)}.sidebar{grid-column:2;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr}.sidebar .journal{grid-column:1/-1}.sidebar-footer{grid-column:1/-1}.journal-scroll{max-height:260px}.scene{height:48vh;min-height:360px}.rail{grid-row:1/3}.voice-dock{gap:20px}.character-grid{grid-template-columns:repeat(2,1fr)}.character-card img{height:310px}.workspace.hide-journal{grid-template-columns:70px minmax(0,1fr)}}
@media(max-width:600px){.topbar{height:74px;padding:0 16px;gap:8px}.brand{font-size:20px;gap:8px}.sigil{font-size:42px}.brand small{font-size:8px;letter-spacing:1.3px}.session{font-size:11px}.session button{padding:7px 8px;font-size:11px;margin-left:4px}.workspace,.workspace.hide-journal{display:flex;flex-direction:column}.rail{position:sticky;top:0;z-index:5;flex-direction:row;justify-content:center;padding:4px 10px;gap:10px;background:#141914f5;border-right:0;border-bottom:1px solid var(--line)}.rail-button{width:55px;min-height:48px;gap:0}.rail-button svg{width:18px;height:18px}.rail-button small{font-size:10px}.rail-button>span{font-size:23px}.rail-bottom{margin:0}.rail-bottom .rail-button{min-height:44px}.edition{display:none}.main{padding:13px 12px 0}.scene{height:430px;min-height:0}.scene-image{object-position:62% center}.scene-title{left:19px;right:17px;bottom:58px}.scene-title h1{font-size:31px}.scene-title p{font-size:14px}.scene-top{top:13px;left:13px;right:13px}.location-tag{padding:5px 8px;font-size:12px}.map-shortcut{font-size:12px;gap:4px}.scene-bottom{left:19px;font-size:11px}.story{padding:20px 5px}.story>p{font-size:16px}.suggestions{gap:7px}.suggestions button{font-size:12px;padding:6px 8px}.suggestions span{margin-left:4px}.voice-dock{gap:12px}.voice-copy{width:calc(100% - 80px);flex:1}.voice-center{gap:0}.text-toggle{width:100%;text-align:center;border-top:1px solid var(--line);padding-top:10px}.voice-copy small{font-size:11px}.voice-label{font-size:14px}.mic{height:55px;width:55px}.main-footer{font-size:10px}.main-footer>span:last-child{display:none}.sidebar{display:block;border-left:0}.sidebar>section{padding:23px}.character-grid{gap:10px}.character-card img{height:230px}.character-info{padding:10px}.character-info strong{font-size:19px}.character-info small{font-size:11px}.character-info em{font-size:11px}.dialog-header h2{font-size:21px}dialog{padding:17px}.map-legend{grid-template-columns:repeat(2,1fr)}.eyebrow{font-size:9px;letter-spacing:2px}}

/* Scene check flow */
.scene{height:clamp(300px,38vh,480px)}
.dice-panel{margin-top:18px;padding:18px 22px;background:linear-gradient(110deg,#2c2b1c80,#191e17 60%,#25261b);border:1px solid #8f7c4c85;border-radius:5px}
.dice-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.dice-heading>span:last-child{font-size:12px;color:#9f9e86}.dice-heading .eyebrow{font-size:11px}.dice-heading .eyebrow span{margin-left:13px;color:#eee0bc;letter-spacing:1px}
.dice-body{display:flex;gap:23px;align-items:center}.dice-visual{width:74px;height:82px;border:1px solid #bfa16e;background:linear-gradient(145deg,#4c4630,#1d2419);border-radius:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;flex-shrink:0;box-shadow:inset 0 0 20px #d6b0680a,0 0 22px #baa3630a}.dice-visual span{font:36px/1.2 Georgia,serif;color:#f1d8a0}.dice-visual small{font-size:10px;letter-spacing:2px;color:#bca67b}.dice-copy{flex:1;min-width:0}.dice-title-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.dice-title-row h2{font:23px var(--serif);color:#e6d3aa}.dice-title-row>span{font-size:12px;color:#c5b37e}.dice-copy>p{font-size:14px;color:#b8bba9;margin-top:7px}.dice-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.dice-tags span{font-size:12px;border:1px solid #69654a60;border-radius:3px;padding:2px 8px;color:#cbbb95}#diceMath{font-size:12px;color:#969e85;font-variant-numeric:tabular-nums}.dice-roll{background:#cfb277;color:#1e2519;border:1px solid #efd3a2;border-radius:4px;white-space:nowrap;padding:12px 23px;font-size:16px}.dice-roll span{margin-left:10px}.dice-roll:hover{background:#ebcd94;color:#11190e}.dice-roll:disabled{opacity:.55}.dice-outcome{margin-top:18px;padding:14px 18px;border-left:2px solid #9fb184;background:#8fa66c0d}.dice-outcome strong{font-size:17px;color:#c8dbad}.dice-outcome p{font-size:15px;line-height:1.8;color:#ccd1bc;margin-top:5px}.dice-outcome[data-tier=setback]{border-color:#c1886c;background:#c181630c}.dice-outcome[data-tier=setback] strong{color:#e0ad8f}.dice-outcome[data-tier=strong] strong{color:#e9cf8b}.dice-follow{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;margin-top:15px;border-top:1px solid #62604155;padding-top:12px}.dice-follow details{flex:1;font-size:12px;color:#919880}.dice-follow summary{cursor:pointer}.dice-follow p{margin-top:7px;line-height:1.8;max-width:620px}.dice-follow button{font-size:14px;white-space:nowrap;color:#d7bf88}.dice-panel[data-phase=rolling] .dice-visual{animation:dice-tumble .3s ease-in-out infinite alternate}.dice-panel[data-phase=resolved] .dice-visual{border-color:#e0c084;box-shadow:0 0 22px #d4b57620}@keyframes dice-tumble{from{transform:rotate(-12deg) scale(.95)}to{transform:rotate(12deg) scale(1.04)}}
@media(prefers-reduced-motion:reduce){.dice-panel[data-phase=rolling] .dice-visual{animation:none}}
@media(max-width:600px){.scene{height:330px}.dice-panel{padding:15px}.dice-body{gap:13px;flex-wrap:wrap}.dice-visual{width:59px;height:70px}.dice-title-row{gap:6px}.dice-title-row h2{font-size:20px}.dice-copy>p{font-size:14px}.dice-roll{width:100%;padding:10px}.dice-follow{flex-direction:column;gap:12px}.dice-follow button{align-self:flex-end}.dice-heading>span:last-child{font-size:10px}}

.voice-center{position:relative}.mic-caption{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px;letter-spacing:.06em;color:#c5b48b}.voice-dock{margin-bottom:12px}.voice-copy small{max-width:360px}.brand>span:last-child{font-size:14px}.scene-title h1{font-size:clamp(28px,3.6vw,52px)}.rail-button small{font-size:9px}

.cinematic-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border:1px solid #34392f;background:#151a16;margin:12px 0}.cinematic-bar p{font-size:12px;color:#aaa995;margin:7px 0 0}.cinematic-actions{display:flex;gap:12px}.cinematic-actions button{font-size:11px}.cinematic-actions button:disabled{opacity:.4;cursor:default}.outcome-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#060907;z-index:5}.scene.playing-cinematic .scene-title,.scene.playing-cinematic .scene-bottom,.scene.playing-cinematic .scene-top{visibility:hidden}#videoBrief{line-height:1.7}@media(max-width:700px){.cinematic-bar{align-items:flex-start;flex-direction:column}}

/* Expedition workspace: scene, decision, and consequences at a glance. */
.topbar{height:64px;padding:0 22px}.sigil{font-size:38px}.brand{gap:10px}.chapter{font-size:12px}.brand small{font-size:8px}.workspace{grid-template-columns:64px minmax(0,1fr) 310px;min-height:calc(100vh - 64px)}.workspace.hide-journal{grid-template-columns:64px minmax(0,1fr)}.rail{padding:16px 4px;gap:10px}.rail-button{width:54px;min-height:56px}.main{padding:14px 18px 0}.expedition{display:flex;gap:20px;align-items:center;padding:0 0 13px}.expedition-label{min-width:105px}.expedition-label strong{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}.expedition .eyebrow{font-size:9px;letter-spacing:1.5px}.route{display:grid;grid-template-columns:repeat(3,1fr);flex:1;list-style:none;padding:0;margin:0;gap:12px}.route li{border-top:2px solid #383e31;padding-top:7px;display:grid;grid-template-columns:23px 1fr;gap:0 5px}.route b{color:#7b816e;font-size:12px;grid-row:1/3}.route span{font-size:12px;line-height:1.5}.route small{display:block;color:var(--muted);font-size:10px}.route em{font-size:9px;color:#858e7b;font-style:normal}.route li[data-state=active]{border-color:var(--gold)}.route li[data-state=active] em,.route li[data-state=active] b{color:#e4c080}.route li[data-state=resolved]{border-color:#90a67e}.route li[data-state=resolved] em{color:#a4bf91}.scene{height:clamp(250px,32vh,390px);min-height:0}.scene-top{top:14px;left:20px;right:20px}.scene-title{left:24px;bottom:44px}.scene-title h1{font-size:clamp(27px,2.6vw,43px);line-height:1.2;letter-spacing:1px;margin:7px 0}.scene-title p{font-size:13px;letter-spacing:0}.scene-bottom{left:24px;bottom:12px}.cinematic-bar{margin:8px 0 12px;padding:8px 12px;gap:10px}.cinematic-bar>div:first-child{display:flex;align-items:center;gap:12px}.cinematic-bar .eyebrow{font-size:9px;letter-spacing:1.5px;white-space:nowrap}.cinematic-bar p{margin:0;font-size:11px}.cinematic-actions{gap:6px}.cinematic-actions button{padding:6px 9px;font-size:10px}.play-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:12px;align-items:start}.story{grid-column:1;grid-row:1;padding:16px;background:#171c16;border:1px solid var(--line);border-radius:5px;min-width:0;height:100%}.story>p{font-size:15px;line-height:1.75;margin:10px 0 14px;max-height:170px;overflow:auto;scrollbar-width:thin}.narrator-heading small{display:none}.suggestions{gap:6px}.suggestions button{font-size:11px;padding:5px 8px}.suggestions span{margin-left:5px}.dice-panel,.check-empty{grid-column:2;grid-row:1;margin:0;padding:16px;min-width:0}.check-empty{border:1px solid var(--line);border-radius:5px;background:#171b15;height:100%}.play-grid:has(.dice-panel:not([hidden])) .check-empty{display:none}.check-empty h2{font:21px var(--serif);margin:10px 0;color:#dcc69e}.check-empty p{font-size:12px;color:#a4ad99;line-height:1.8}.check-formula{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:11px;color:#bdbba5}.check-formula b{border:1px solid #75613e;padding:7px;color:#d2b17a}.check-formula small{display:block;font-size:10px;color:var(--muted)}.dice-heading{margin-bottom:10px}.dice-heading .eyebrow{font-size:9px;letter-spacing:1px}.dice-heading>span:last-child{font-size:10px}.dice-body{gap:12px;flex-wrap:wrap}.dice-visual{width:48px;height:59px;border-radius:12px}.dice-visual span{font-size:27px}.dice-title-row h2{font-size:20px}.dice-title-row{gap:4px}.dice-title-row>span{font-size:10px}.dice-copy>p{font-size:12px}.dice-tags{gap:4px;margin-top:7px}.dice-tags span{font-size:10px;padding:2px 5px}#diceMath{font-size:11px}.dice-roll{width:100%;padding:7px;font-size:13px}.dice-outcome{padding:8px 11px;margin-top:10px}.dice-outcome strong{font-size:14px}.dice-outcome p{font-size:12px;line-height:1.65}.dice-follow{margin-top:10px;padding-top:8px}.dice-follow details{font-size:10px}.voice-dock{padding:12px 16px 22px;margin-bottom:0;gap:12px}.voice-label{font-size:13px}.voice-copy small{font-size:11px}.mic{width:46px;height:46px}.voice-center{gap:12px}.main-footer{padding:8px 0;font-size:10px}.sidebar>section{padding:16px 18px}.section-label{font-size:10px;margin-bottom:11px}.section-label>span{font-size:9px}.quest h2{font-size:21px}.quest p{font-size:12px;margin:5px 0 11px}.quest-step{font-size:10px}.quest-step>span:last-child{font-size:9px}.character-row img{width:48px;height:57px}.character-row h2{font-size:19px}.character-level{display:none}.health-label{margin-top:11px}.stats{margin-top:12px}.stats strong{font-size:14px}.inventory{margin-top:12px;padding-top:9px;font-size:12px}.sidebar .journal{min-height:180px}.journal-scroll{padding-top:10px;max-height:270px}.sidebar-footer{padding:10px}.roll-history ol{list-style:none;margin:0;padding:0}.roll-history li{display:flex;gap:10px;align-items:center;padding:7px 0;border-top:1px solid #30332b80}.roll-history li:first-child{border:0}.roll-history li>b{font:22px var(--serif);color:#b5c899;min-width:29px}.roll-history li[data-tier=setback]>b{color:#d79e80}.roll-history strong{display:block;font-size:11px;font-weight:500}.roll-history small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.roll-history .empty{font-size:11px;line-height:1.7}.journal-tabs{gap:20px}.journal-tabs button{font-size:12px}#combatLog{margin:4px 0;font-size:12px}#combatLog li{padding:5px 0}
@media(min-width:1600px){.workspace{grid-template-columns:68px minmax(0,1fr) 340px}.main{padding:18px 24px 0}.scene{height:36vh}.story>p{font-size:17px}.sidebar>section{padding:18px 22px}}
@media(max-width:1100px){.workspace{grid-template-columns:60px minmax(0,1fr) 280px}.main{padding:12px}.expedition{gap:10px}.expedition-label{display:none}.cinematic-bar>div:first-child{display:block}.cinematic-bar p{margin-top:3px}.play-grid{grid-template-columns:1fr}.story{grid-row:2}.dice-panel,.check-empty{grid-column:1}.scene-title h1{font-size:29px}.cinematic-actions{flex-wrap:wrap}}
@media(max-width:950px){.workspace,.workspace.hide-journal{grid-template-columns:60px minmax(0,1fr)}.sidebar{grid-template-columns:1fr 1fr}.sidebar .journal{grid-column:auto}.sidebar-footer{grid-column:1/-1}.play-grid{grid-template-columns:1fr 1fr}.story{grid-row:1}.dice-panel,.check-empty{grid-column:2}.scene{height:300px}}
@media(max-width:600px){.topbar{height:64px;padding:0 12px}.brand>span:last-child{font-size:11px}.brand small{display:none}.session{gap:5px}.workspace,.workspace.hide-journal{display:flex}.rail{padding:4px;gap:10px}.main{padding:12px}.route{gap:8px}.route li{grid-template-columns:1fr}.route b{display:none}.route span{font-size:10px}.route small,.route em{font-size:9px}.scene{height:290px}.scene-title{left:18px}.scene-title h1{font-size:28px}.scene-top{left:12px;right:12px}.scene-bottom{left:18px}.scene-bottom>span:last-child{font-size:10px}.cinematic-bar{flex-direction:row;align-items:center}.cinematic-actions{justify-content:flex-end}.cinematic-actions button{font-size:9px;padding:5px}.play-grid{grid-template-columns:1fr}.story{grid-row:2}.dice-panel,.check-empty{grid-column:1}.sidebar{display:block}.voice-dock{padding-bottom:14px}.mic-caption{top:calc(100% + 1px)}.text-toggle{margin-top:8px}.story>p{max-height:none}.sidebar>section{padding:16px 18px}}
@media(min-width:951px){.voice-dock{position:sticky;bottom:10px;z-index:8;background:#1b2219;box-shadow:0 -8px 25px #0b100be6,0 6px 20px #0008}.story{height:auto;min-height:100%}}
@media(min-width:1101px) and (max-height:800px){.scene{height:210px}.expedition{padding-bottom:9px}.route{gap:10px}.scene-title .eyebrow{display:none}.cinematic-bar{margin:6px 0 9px;padding:6px 10px}.play-grid{margin-bottom:9px}.dice-panel,.story,.check-empty{padding:12px}.dice-copy>p{display:none}.dice-heading{margin-bottom:7px}.dice-follow{margin-top:7px;padding-top:5px}.story>p{max-height:112px}.voice-dock{padding:10px 14px 19px}.sidebar>section{padding:13px 18px}}

#diceMath{display:block}
#liveStoryVideo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#080c09;z-index:2}.live-story-playing .scene-title{visibility:hidden}.live-story-playing .scene-top,.live-story-playing .scene-bottom{z-index:3}.live-story-playing .scene-bottom{background:#0b100ddd;padding:5px 9px;border-radius:3px}#liveStoryBadge{position:absolute;top:65px;left:24px;z-index:3;background:#0e1915dc;color:#afd2b6;border:1px solid #557c62;font-size:9px;letter-spacing:1px;padding:4px 8px}

#liveStoryCaption{position:absolute;bottom:12px;left:18px;right:18px;z-index:4;font-size:12px;color:#e9e0c9;background:#0a100fe8;border-left:2px solid #c5a573;padding:7px 10px;line-height:1.5}.live-story-playing .scene-top,.live-story-playing .scene-bottom{visibility:hidden}#liveStoryBadge{top:14px;left:18px}
