:root{color:#e6e7de;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#101c1d;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:4px;outline:2px solid #dac294}a{color:inherit;text-decoration:none}.webgal-workbench{max-width:1440px;margin:auto;padding:0 40px 24px}.workbench-nav{color:#aebbb2;border-bottom:1px solid #30423f;justify-content:space-between;align-items:center;min-height:84px;font-size:13px;display:flex}.workbench-nav a{align-items:center;gap:10px;min-height:44px;display:inline-flex}.workbench-brand{letter-spacing:2px;color:#e2dac6}.workbench-heading{justify-content:space-between;align-items:center;gap:24px;padding:32px 0 24px;display:flex}.eyebrow{letter-spacing:2px;color:#a1b2a5;font-size:10px}h1{letter-spacing:1px;margin:12px 0;font-size:clamp(25px,4vw,36px);font-weight:550}.workbench-heading p:last-child{color:#9eafa7;font-size:13px;line-height:1.8}.phase-badge{color:#d8c5a5;background:#302e27;border:1px solid #514b3d;border-radius:24px;flex-shrink:0;padding:9px 12px;font-size:11px}.workbench-grid{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:24px;display:grid}.preview-panel,.integration-panel{background:#152424;border:1px solid #344640;border-radius:14px;overflow:hidden}.engine-stage{aspect-ratio:16/9;background:#0c1518;position:relative;overflow:hidden}#pixiContianer{position:absolute;inset:0}#pixiContianer canvas{width:100%;height:100%;display:block}.scene-label{pointer-events:none;background:#102020cf;border:1px solid #ffffff20;border-radius:6px;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex;position:absolute;top:20px;left:20px}.scene-label small{color:#b4bcb1;border-left:1px solid #ffffff30;padding-left:8px;font-size:10px}.live-dot,.pending-dot{background:#aac8a4;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.pending-dot{background:#c0ac82}.stage-status{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f1b1baa;place-items:center;padding:24px;font-size:13px;display:grid;position:absolute;inset:0}.scene-controls{padding:22px}.scene-tabs{gap:8px;display:flex}.scene-controls button{color:#bdc9be;background:0 0;border:1px solid #40564e;border-radius:7px;min-height:44px;padding:10px 15px;font-size:12px}.scene-tabs button[aria-pressed=true]{color:#f0e3cc;background:#3a3a2b;border-color:#9b8a68}.scene-description{color:#99aba2;margin:14px 0 20px;font-size:12px;line-height:1.8}.effect-controls{border-top:1px solid #30443e;flex-wrap:wrap;gap:8px;padding-top:18px;display:flex}.effect-controls .rebuild{margin-left:auto}.integration-panel{padding:22px}.evidence-heading{align-items:center;gap:8px;display:flex}h2{margin:0;font-size:13px;font-weight:550}.evidence-status{color:#a8bbaa;margin:10px 0 22px;font-size:11px}.engine-evidence{margin:0}.engine-evidence div{justify-content:space-between;gap:10px;margin-bottom:14px;font-size:11px;display:flex}.engine-evidence dt{color:#95a99e}.engine-evidence dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.engine-details{color:#adbbb0;border-top:1px solid #30443e;padding-top:18px;font-size:11px;line-height:1.8}summary{cursor:pointer;color:#dccbad}code{color:#d6d7c6;overflow-wrap:anywhere}.migration-status{border-top:1px solid #30443e;margin-top:22px;padding-top:22px}.migration-status ul{color:#a7b7ac;margin-bottom:0;padding:0;font-size:11px;line-height:2.6;list-style:none}.complete-mark{color:#b6c6a5;padding-right:5px}.pending-mark{color:#bba57e;padding-right:5px}footer{color:#82998c;max-width:820px;margin-top:24px;font-size:11px;line-height:1.9}@media (max-width:1000px){.webgal-workbench{padding-inline:24px}.workbench-grid{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.phase-badge{display:none}}@media (max-width:740px){.webgal-workbench{padding-inline:16px}.workbench-nav{min-height:66px;font-size:12px}.workbench-heading{padding-block:22px 14px}.workbench-grid{grid-template-columns:1fr}.scene-label{padding:6px 8px;font-size:10px;top:10px;left:10px}.scene-label small{display:none}.scene-controls,.integration-panel{padding:16px}.scene-controls button{padding-inline:12px}.effect-controls .rebuild{margin-left:0}}.stage-view-notice{color:#d2d7c5;letter-spacing:.6px;background:#10232ccb;border:1px solid #b7c4af2b;border-radius:7px;margin-left:auto;padding:8px 12px;font-size:11px;line-height:1.5}.stage-narrative{z-index:3;pointer-events:none;flex-direction:column;justify-content:space-between;gap:22px;width:min(44%,600px);display:flex;position:absolute;top:clamp(76px,21%,160px);bottom:24px}.stage-narrative[data-side=left]{left:26px}.stage-narrative[data-side=right]{right:26px}.stage-narrative-tabs{display:none}.stage-narrative section{pointer-events:auto;flex-direction:column;min-height:0;max-height:calc(50% - 11px);display:flex;overflow:hidden}.stage-narrative-label{color:#cbbb9b;letter-spacing:1.8px;flex:none;align-items:center;gap:9px;margin-bottom:10px;font:11px/1.4 -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;display:flex}.stage-narrative-label i{opacity:.7;background:currentColor;border-radius:50%;width:3px;height:3px}.stage-narrative p{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d2c5ad55 transparent;white-space:pre-wrap;overflow-wrap:anywhere;min-height:0;font-family:var(--story-serif);letter-spacing:.04em;text-wrap:pretty;margin:0;font-size:clamp(15px,1.35vw,19px);font-weight:400;line-height:1.95;overflow-y:auto}.stage-thought{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#f1e6d1;background:linear-gradient(125deg,#122a32ed,#13282ac2);border-left:2px solid #c4ac7d9e;border-radius:0 12px 12px 0;align-self:flex-end;width:min(100%,360px);padding:20px 22px;box-shadow:0 10px 38px #06141730}.stage-narration{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);color:#e2e7df;text-shadow:0 1px 5px #0008;background:linear-gradient(100deg,#0c1c23db,#0c1c2394);border-radius:8px;margin-top:auto;padding:15px 18px}.stage-narration p{font-size:clamp(14px,1.15vw,17px)}.stage-narrative section:only-child{max-height:65%}.stage-narrative.is-solitary{justify-content:center;width:min(76%,640px);inset:25% auto 20% 50%;transform:translate(-50%)}.stage-narrative.is-solitary .stage-narration{margin-top:0}.stage-narrative.is-solitary .stage-thought{align-self:stretch;width:auto}@media (min-width:560px) and (max-height:600px) and (orientation:landscape){.story-app:has(>.story-stage){padding-bottom:max(10px, env(safe-area-inset-bottom));grid-template:46px minmax(0,1fr)/minmax(0,1fr) minmax(230px,35%);column-gap:14px;display:grid}.story-app>.story-header{grid-column:1/-1}.story-app>.story-stage{grid-area:2/1;height:100%;min-height:0}.story-app>.story-content{grid-area:2/2;height:100%;max-height:none;padding:8px 0}}@media (max-width:680px),(min-width:560px) and (max-height:600px) and (orientation:landscape){.stage-narrative[data-side],.stage-narrative.is-solitary{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#10232cef;border:1px solid #b4c3b02e;border-radius:10px;justify-content:flex-end;gap:0;width:auto;max-height:calc(100% - 72px);inset:auto 12px 12px;overflow:hidden;transform:none;box-shadow:0 8px 24px #0003}.stage-narrative-tabs{pointer-events:auto;border-bottom:1px solid #c0c9b523;flex:none;gap:18px;min-height:44px;padding:0 14px;display:flex}.stage-narrative-tabs button{color:#aeb9ac;letter-spacing:.7px;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-items:center;min-height:44px;padding:0 1px;font-size:11px;display:inline-flex}.stage-narrative-tabs button[aria-pressed=true]{color:#ead8b3;border-bottom-color:#d0b780}.stage-narrative section,.stage-narrative section:only-child{width:auto;max-height:min(16dvh,128px);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;align-self:stretch;margin:0;padding:11px 14px 13px}.stage-narrative[data-channel=thought] .stage-narration,.stage-narrative[data-channel=narration] .stage-thought{display:none}.stage-narrative p,.stage-narrative .stage-narration p{letter-spacing:.015em;font-size:14px;line-height:1.85}.stage-narrative-tabs~section .stage-narrative-label{display:none}.stage-narrative-label{margin-bottom:7px;font-size:10px}.story-stage:has(.stage-narrative) .stage-character-identity{display:none}}@media (max-width:680px) and (max-height:600px) and (orientation:portrait){.story-app>.story-content{height:clamp(220px,44dvh,270px)}}@media (min-width:560px) and (max-height:600px) and (orientation:landscape){.stage-narrative section,.stage-narrative section:only-child{max-height:min(26dvh,128px)}}@media (max-width:559px) and (max-height:480px){.story-app{height:auto;min-height:100dvh}.story-app>.story-stage{flex:none;height:220px}.story-app>.story-content{height:240px;max-height:none}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e9e6db;font-synthesis:none;-webkit-font-smoothing:antialiased;background:#111c1e;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}.story-app{--story-muted:#9eafa5;--story-line:#b2c0a828;--story-accent:#dfceb0;--story-serif:"Songti SC", "Noto Serif SC", Georgia, serif;flex-direction:column;max-width:1440px;height:100dvh;min-height:460px;margin:0 auto;padding:0 32px;display:flex}.story-app :where(button,textarea,select){font:inherit}.story-app :where(button,a,textarea,select){-webkit-tap-highlight-color:transparent}.story-app :where(button){cursor:pointer;color:inherit;touch-action:manipulation}.story-app button:disabled{opacity:.38;cursor:default}.story-app :where(button,a,textarea,select):focus-visible{outline-offset:4px;outline:2px solid #cfb789}.story-app a{color:inherit;text-decoration:none}.story-app button svg,.story-app a svg,.panel-context svg{flex:none;width:18px;height:18px}.story-header{flex:none;justify-content:space-between;align-items:center;min-height:76px;display:flex}.story-brand{letter-spacing:2px;color:#dce2d4;align-items:center;gap:11px;font-size:16px;display:flex}.story-brand>span:first-child{color:#c8c8ac;font-family:Georgia,serif;font-size:29px}.story-brand small{color:#8fa298;letter-spacing:1.6px;margin-top:4px;font-size:9px;display:block}.story-header-actions{align-items:center;gap:15px;display:flex}.demo-indicator{color:#a9b69f;border:1px solid var(--story-line);border-radius:4px;padding:3px 7px;font-size:10px}.story-icon-button{color:#b1c0ae;background:0 0;border:none;border-radius:8px;place-items:center;min-width:44px;min-height:44px;padding:0;display:inline-grid}.story-icon-button:hover{background:#c6d2b60b}.story-header .story-icon-button{border:1px solid #bac9b328;border-radius:50%}.story-stage{isolation:isolate;background:#172c32;border:1px solid #94a7952e;border-radius:16px;flex:1;width:100%;height:auto;min-height:220px;position:relative;overflow:hidden}.story-stage #pixiContianer{position:absolute;inset:0}.story-stage #pixiContianer canvas{width:100%;height:100%;display:block}.stage-vignette{pointer-events:none;background:linear-gradient(#07191f66,#0000 28% 78%,#091d2344);position:absolute;inset:0}.stage-character-identity{pointer-events:none;white-space:nowrap;text-shadow:0 1px 5px #07191f;align-items:baseline;gap:10px;display:flex;position:absolute;bottom:18px;left:22px;transform:translate(-50%)}.stage-character-identity span{color:#f0eee2;font-size:16px}.stage-character-identity small{color:#d1d9cb;font-size:11px}.stage-toolbar{z-index:3;justify-content:space-between;align-items:start;gap:16px;display:flex;position:absolute;top:19px;left:21px;right:21px}.location-control{text-align:left;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f2529b8;border:none;border-radius:9px;align-items:center;gap:10px;padding:10px 12px;display:inline-flex}.location-control small{color:#b4c2a9;letter-spacing:1.4px;font-size:9px;display:block}.location-control h1{letter-spacing:.8px;color:#e7e5d7;margin:0;font-size:15px;font-weight:400;line-height:1.4}.location-control>svg:last-child{color:#a8b99f;width:14px;height:14px;margin-left:10px}.location-icon{color:#d3d6be;place-items:center;display:grid}.observe-control{color:#d6dfc9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#10272cbd;border:1px solid #cad1b92b;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 12px;font-size:11px;display:inline-flex}.observe-control small{color:#b5c2a5;border-left:1px solid #bec5aa38;margin-left:1px;padding-left:8px;font-size:9px}.observe-control.is-active{background:#2e4438e6;border-color:#c3c6a283}.scene-observations{pointer-events:none;z-index:2;position:absolute;inset:0}.scene-hotspot{pointer-events:auto;background:0 0;border:none;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex;position:absolute;transform:translate(-50%,-50%)}.hotspot-mark{color:#405039;background:#f0e8ceea;border:1px solid #e9dfbd;border-radius:50%;place-items:center;width:29px;height:29px;font-size:10px;display:grid;box-shadow:0 0 0 6px #e9dfbd1f,0 3px 16px #071e2470}.hotspot-label{color:#e5e2cd;white-space:nowrap;opacity:1;pointer-events:auto;background:#142b2ee8;border:1px solid #cdd2b83b;border-radius:6px;align-items:center;max-width:205px;min-height:38px;padding:7px 11px;font-size:11px;line-height:1.6;transition:opacity .15s;display:flex;position:absolute;top:3px;left:42px}.scene-hotspot[data-side=left] .hotspot-label{left:auto;right:42px}.scene-hotspot:hover .hotspot-label,.scene-hotspot:focus-visible .hotspot-label{opacity:1}.observation-list{pointer-events:auto;background:#132b2df5;border:1px solid #c9cfb540;border-radius:10px;width:min(260px,100% - 42px);padding:5px;display:grid;position:absolute;top:77px;right:21px;box-shadow:0 12px 40px #0003}.observation-list button{text-align:left;color:#d4dec8;background:0 0;border:none;border-radius:6px;align-items:center;gap:10px;min-height:48px;padding:9px 11px;font-size:12px;display:flex}.observation-list button:hover{background:#b8c5a511}.observation-list button>span{flex:1}.observation-list button>svg:last-child{width:14px}.document-toolbar{z-index:3;background:#0c242be3;border:1px solid #c3c8ae40;border-radius:10px;align-items:center;gap:7px;padding:4px;display:flex;position:absolute;bottom:18px;right:20px}.document-toolbar .story-secondary{background:0 0;border:none}.stage-loading{z-index:4;text-align:center;background:#14282fe8;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:25px;display:flex;position:absolute;inset:0}.stage-loading h2{color:#e3ddc8;margin:2px 0;font-size:17px;font-weight:400}.stage-loading p{color:#acbda9;margin:2px 0 10px;font-size:12px;line-height:1.8}.stage-failure-mark svg{color:#d4c59c;width:26px;height:26px}.story-spinner{border:1px solid #d1c496;border-top-color:#0000;border-radius:50%;width:22px;height:22px;animation:1s linear infinite story-spin}.story-content{flex-direction:column;flex:none;width:100%;max-width:820px;height:clamp(240px,33dvh,310px);min-height:0;max-height:55dvh;margin:0 auto;padding:16px 20px 20px;display:flex}.story-conversation{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.conversation-history{align-self:flex-end;min-height:28px;margin-top:-8px;font-size:11px}.next-replies{scrollbar-width:thin;scrollbar-color:#9daa8740 transparent;flex-wrap:wrap;flex:none;gap:7px;max-height:100px;padding:3px 0 11px;display:flex;overflow-y:auto}.next-replies button{text-align:left;color:#c8d2b9;overflow-wrap:anywhere;background:#b6c5a707;border:1px solid #b6c5a72b;border-radius:8px;max-width:100%;min-height:38px;padding:7px 12px;font-size:12px;line-height:1.65}.next-replies button:hover{background:#b6c5a711;border-color:#bfc5a661}.story-stop-button{color:#dce4cc;background:#c1cdb712;border:1px solid #c1cdb731;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;padding:0;display:inline-grid}.story-stop-button svg{width:20px;height:20px}.story-activity{color:#a1b39d;align-items:center;gap:8px;margin:10px 0 0;font-size:10px;display:inline-flex}.activity-mark{align-items:center;gap:3px;min-height:14px;display:inline-flex}.activity-mark i{background:#b4c1a4;border-radius:50%;width:3px;height:3px;animation:1.1s ease-in-out infinite story-dot;display:block}.activity-mark i:nth-child(2){animation-delay:.15s}.activity-mark i:nth-child(3){animation-delay:.3s}.activity-mark.speaking i{border-radius:1px;height:10px}.story-primary{background:#dfd1b2;border:1px solid #e3d6b5;border-radius:8px;justify-content:center;align-items:center;gap:23px;min-height:46px;padding:11px 20px;font-size:13px;display:inline-flex;color:#2e4234!important}.story-primary:hover{background:#eadfc4}.story-secondary{color:#d0dcc3;background:#c7d2b40b;border:1px solid #aaba9f40;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 13px;font-size:12px;display:inline-flex}.story-text-button{color:#aebb9f;background:0 0;border:none;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:5px 3px;font-size:11px;display:inline-flex}.story-text-button svg{width:14px;height:14px}.story-error{color:#ddc6a1;background:#55452d26;border:1px solid #c7af7a40;border-radius:8px;flex:none;justify-content:space-between;align-items:center;gap:15px;max-height:86px;margin:0 0 9px;padding:10px 13px;font-size:12px;line-height:1.8;display:flex;overflow-y:auto}.story-error p{flex:1;margin:0}.story-error button{color:#dcca9f;flex:none}.audio-recovery{color:#bfbe9f;flex-wrap:wrap;flex:none;align-items:center;gap:14px;margin:0 0 10px;font-size:11px;display:flex}.continue-story{flex:none;align-self:flex-end;margin:0 0 9px}.conversation-log{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9daa8740 transparent;flex-direction:column;flex:1;min-height:0;padding-bottom:12px;display:flex;overflow-y:auto}.conversation-log>:first-child{margin-top:auto}.conversation-log>*{flex:none}.chat-narration{color:#9eaf9a;font-size:12px;line-height:1.8}.chat-line{white-space:pre-wrap;overflow-wrap:anywhere;color:#dae3d1;max-width:93%;margin:0 0 17px;font-size:14px;line-height:1.85}.chat-line.chat-narration{color:#a7b59e;font-size:12px}.chat-user{color:#e3eadc;background:#2a3c34;border:1px solid #bbccad24;border-radius:13px 13px 3px;width:-moz-fit-content;width:fit-content;max-width:90%;margin-left:auto;padding:10px 14px}.chat-context{font-family:var(--story-serif);color:#bbc9b3;margin:0;font-size:15px;line-height:1.9}.chat-activity{color:#9eaf95;align-items:center;gap:8px;font-size:10px;display:inline-flex}.story-composer{background:#0b171b6e;border:1px solid #c4cbb138;border-radius:12px;flex:none;align-items:center;gap:5px;min-height:60px;padding:7px;display:flex;position:relative}.story-composer:focus-within{border-color:#cfc39c7a}.story-composer textarea{resize:none;color:#eeeade;scrollbar-width:thin;background:0 0;border:none;outline:none;flex:1;min-width:0;min-height:28px;max-height:108px;margin:0;padding:3px 5px;font-size:14px;line-height:1.7}.story-composer textarea::placeholder{color:#92a38d}.input-mode-switch{color:#b8c6aa;flex:none}.send-button{background:#deceb0;border:1px solid #e3d8b766;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid;color:#2a4032!important}.send-button:disabled{opacity:.45}.record-button{color:#d6dfc9;background:0 0;border:none;flex:1;align-self:stretch;min-height:44px;padding:8px 39px 8px 0;font-size:13px;position:relative;touch-action:none!important}.record-button,.record-button *,.story-app.recording-gesture-active,.story-app.recording-gesture-active *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.record-button+.story-stop-button{position:absolute;top:50%;right:5px;transform:translateY(-50%)}.story-composer.is-recording{background:#bbd0a510;border-color:#a8b98a}.voice-draft-label{color:#b8c3a6;justify-content:space-between;align-items:center;gap:14px;margin:0 0 5px;font-size:10px;display:flex}.voice-draft-label .story-icon-button{min-height:36px}.voice-input-error{color:#d5b994;margin:0 0 10px;font-size:11px;line-height:1.8}.story-dialog{overscroll-behavior:contain;color:#3e4c3a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f0eee4;border:1px solid #d0d4c4;border-radius:16px;width:min(470px,100% - 32px);max-height:85dvh;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 28px 100px #0007}.story-dialog[open]{flex-direction:column;display:flex}.story-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#07171dcc}.story-dialog-header{background:#f0eee4;border-bottom:1px solid #d5dacb;flex:none;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px 13px;display:flex}.story-dialog-header h2{font-family:var(--story-serif);letter-spacing:.5px;margin:0;font-size:23px;font-weight:400}.story-dialog .story-icon-button{color:#7f8e72}.story-dialog-body{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:20px 26px 25px;overflow-y:auto}.panel-context{color:#849277;align-items:center;gap:8px;margin:0 0 14px;font-size:11px;display:flex}.panel-context svg{width:15px;height:15px}.panel-note{color:#929b83;margin:0 0 15px;font-size:11px;line-height:1.8}.location-options{display:grid}.location-options button{color:#52664a;text-align:left;background:0 0;border:none;border-bottom:1px solid #d4d9c9;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:52px;padding:10px 3px;font-size:13px;line-height:1.6;display:flex}.location-options button:last-child{border-bottom:none}.location-options button svg{color:#97a486;width:16px;height:16px}.menu-story{margin:0 0 18px}.menu-story>span{letter-spacing:1px;color:#8f9a80;font-size:10px}.menu-story h3{font-family:var(--story-serif);letter-spacing:1px;color:#52664a;margin:7px 0 0;font-size:26px;font-weight:400}.menu-links{margin-bottom:18px;display:grid}.menu-links button{color:#576b4d;text-align:left;background:0 0;border:none;border-bottom:1px solid #d4d9c9;align-items:center;gap:12px;width:100%;min-height:50px;padding:8px 2px;font-size:12px;display:flex}.menu-links button span{flex:1}.menu-links button svg:first-child{color:#8c9b7c}.menu-links button svg:last-child{color:#98a788;width:15px;height:15px}.menu-section{color:#788a69;border-bottom:1px solid #d4d9c9;padding:0 0 6px;font-size:12px}.menu-section>summary{cursor:pointer;color:#6c7f5b;min-height:44px;line-height:44px}.menu-section p{color:#8a957d;margin:8px 0 12px;font-size:11px;line-height:1.85}.character-setting{color:#6f805f;justify-content:space-between;align-items:center;gap:15px;font-size:11px;display:flex}.character-setting select{color:#536947;background:#f7f6ed;border:1px solid #ccd5bd;border-radius:6px;min-height:40px;padding:8px 10px;font-size:12px}.story-dialog .story-secondary{color:#687f56;background:#e6ebda;border-color:#becbac}.menu-text-link{align-items:center;gap:8px;min-height:39px;font-size:11px;display:inline-flex;color:#7f926a!important}.menu-text-link svg{width:13px!important;height:13px!important}.legacy-page-link{margin-top:14px}.developer-grid{grid-template-columns:1fr 1fr;gap:7px;margin:12px 0;display:grid}.developer-grid button{color:#71865d;background:#e8ecdf;border:1px solid #c6d1b7;border-radius:6px;min-height:40px;padding:8px 5px;font-size:10px}.integration-details pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#7d8c6c;background:#e5e9db;border-radius:6px;max-height:250px;padding:10px;font-size:9px;overflow:auto}.integration-details>details{margin-top:10px;font-size:11px}.readable-document h3{font-family:var(--story-serif);color:#526347;margin:0 0 19px;font-size:22px;font-weight:400;line-height:1.6}.readable-document p{white-space:pre-wrap;overflow-wrap:anywhere;color:#6b765b;font-family:var(--story-serif);margin:0;font-size:15px;line-height:2.1}.story-dialog-document{width:min(600px,100% - 32px)}.restart-confirm{gap:12px;padding-bottom:5px;display:grid}.restart-confirm p{color:#657555;font-family:var(--story-serif);margin:0;font-size:20px}.restart-confirm>span{color:#909a80;font-size:11px;line-height:1.8}.restart-confirm .story-primary{margin-top:10px}.story-backlog{gap:20px;display:grid}.backlog-entry small{color:#6e7e60;font-size:9px}.backlog-entry p{color:#45573c;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;font-size:13px;line-height:1.9}.backlog-narration p{color:#8e987f;font-size:12px}.backlog-user{padding-left:26px}.backlog-user p{background:#e4e9d8;border-radius:8px;padding:10px 13px}.story-app .sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:none;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes story-spin{to{transform:rotate(360deg)}}@keyframes story-dot{0%,80%,to{opacity:.3}40%{opacity:1}}@media (max-width:680px){.story-app{padding:0 13px}.story-header{min-height:65px;padding:0 3px}.story-brand{gap:8px;font-size:14px}.story-brand>span:first-child{font-size:25px}.story-brand small{font-size:8px}.story-stage{aspect-ratio:auto;border-radius:12px;height:auto;min-height:160px}.stage-character-identity{bottom:13px;left:14px}.stage-toolbar{gap:10px;top:11px;left:11px;right:11px}.location-control{gap:7px;padding:8px 10px}.location-icon svg{width:16px;height:16px}.location-control small{letter-spacing:.7px;font-size:8px}.location-control h1{letter-spacing:.2px;margin-top:3px;font-size:13px}.location-control>svg:last-child{width:12px;margin-left:3px}.observe-control{gap:6px;padding:0 9px;font-size:10px}.observe-control small{padding-left:6px;font-size:8px}.observation-list{width:min(248px,100% - 22px);top:72px;right:11px}.hotspot-label{display:none}.scene-hotspot:focus-visible .hotspot-label{white-space:normal;max-width:160px;font-size:10px;display:flex;left:36px}.story-content{padding:13px 9px max(16px, env(safe-area-inset-bottom));height:clamp(260px,36dvh,320px)}.conversation-log{padding-bottom:10px}.next-replies button{min-height:40px;font-size:11px}.chat-line{font-size:13px;line-height:1.85}.story-composer{border-radius:10px;min-height:57px;padding:5px}.story-composer textarea{font-size:16px;line-height:1.6}.document-toolbar{gap:2px;bottom:11px;right:11px}.document-toolbar .story-secondary{padding:6px 8px;font-size:10px}.story-dialog{border-radius:14px;width:calc(100% - 24px);max-height:88dvh}.story-dialog-header{padding:14px 17px 10px}.story-dialog-header h2{font-size:21px}.story-dialog-body{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:17px 20px 22px;overflow-y:auto}.story-error{align-items:start;gap:10px;font-size:11px}}@media (max-height:600px){.story-app{min-height:320px}.story-header{min-height:46px}.story-stage{min-height:100px}.story-content{height:55dvh;padding-top:8px;padding-bottom:8px}.next-replies{max-height:74px}}@media (prefers-reduced-motion:reduce){.story-app *,.story-app :before,.story-app :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation:none!important}}.experience-switch{color:#cbd4c1;background:#18302de8;border:1px solid #a9bdab38;border-radius:22px;flex-shrink:0;align-items:center;gap:2px;padding:3px;font-size:11px;display:inline-flex}.experience-switch a,.experience-switch span{white-space:nowrap;border-radius:18px;justify-content:center;align-items:center;min-height:36px;padding:0 10px;display:inline-flex}.experience-switch [aria-current=page]{color:#f0edda;background:#51655a}@media (max-width:680px){.story-header{gap:8px}.story-header-actions{gap:6px}.story-brand{letter-spacing:0;gap:5px;font-size:12px}.experience-switch{font-size:10px}.experience-switch a,.experience-switch span{padding-inline:8px}}.story-progress-actions{max-height:min(60vh,440px);overflow-y:auto}.story-progress-actions>p{margin:7px 10px}
