.app-brand-word{white-space:nowrap}.app-brand-accent{color:#f2903b;-webkit-text-fill-color:#f2903b}.brand-text.header-brand-text{opacity:1;transition:opacity .22s,text-shadow .18s}.brand-text.header-brand-text.is-hidden{opacity:0}@media (prefers-reduced-motion:reduce){.brand-text.header-brand-text{transition:none}}.tavern-card-scenes svg{width:14px;height:14px}.tavern-play svg{width:18px;height:18px}.tavern-modal-close svg{width:23px;height:23px}.tavern-scene-categories svg,.tavern-scene-navigation svg{width:18px;height:18px}.tavern-reuse button>span:first-child svg{width:28px;height:28px}.tavern-preview-note{color:#9b9387;align-items:center;gap:10px;margin:0 0 20px;font-size:13px;display:flex}.tavern-preview-badge{color:#d7a94f;white-space:nowrap;border:1px solid #54482f;border-radius:4px;padding:3px 7px;font-size:11px;display:inline-block}.tavern-search.discovery-search{width:100%;max-width:none}.tavern-search>svg{color:#9b9387;pointer-events:none;width:18px;height:18px;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.tavern-search{position:relative}.tavern-search.discovery-search input{padding-left:28px}.tavern-filter-controls{align-items:start;gap:16px;min-width:0;max-width:100%;margin-top:15px;display:flex}.tavern-filter-controls .tag-filter-row{flex:1;min-width:0;max-width:100%;margin:0}.tavern-result-count{color:#9b9387;margin:14px 0;font-size:12px}.tavern-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.tavern-card{text-align:left;color:#e8e2d7;cursor:pointer;background:#191a16;border:1px solid #34312a;border-radius:7px;flex-direction:column;padding:0;transition:border-color .15s,transform .15s;display:flex;overflow:hidden}.tavern-card:hover{border-color:#a17d40;transform:translateY(-2px)}.tavern-card:focus-visible,.tavern-modal button:focus-visible{outline-offset:3px;outline:2px solid #d7a94f}.tavern-art{background:#11110f;width:100%;display:block;position:relative;overflow:hidden}.tavern-art img{object-fit:fill;max-width:none;position:absolute}.tavern-art-fallback{color:#d7a94f;justify-content:center;align-items:center;height:100%;min-height:90px;padding:20px;font:22px Georgia,serif;display:flex}.tavern-card-body{box-sizing:border-box;flex-direction:column;flex:1;gap:8px;width:100%;padding:14px;display:flex}.tavern-card-body strong{font:500 23px/1.1 Georgia,serif}.tavern-card-role{color:#aaa295;font-size:12px}.tavern-card .discovery-card-tags{flex-wrap:wrap;margin:2px 0 4px}.tavern-card-scenes{color:#b8b0a1;align-items:center;gap:8px;margin-top:auto;font-size:12px;display:flex}.tavern-card-scenes>span{color:#d7a94f;border:1px solid #98783a;border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.tavern-empty{text-align:center;background:#171714;border:1px solid #34312a;border-radius:7px;padding:50px 20px}.tavern-empty h2{font:28px Georgia,serif}.tavern-empty p{color:#9b9387}.tavern-modal-backdrop{z-index:1000;overscroll-behavior:contain;background:#000b;justify-content:center;align-items:flex-start;padding:32px 20px;display:flex;position:fixed;inset:0;overflow:auto}.tavern-modal{color:#e8e2d7;background:#171714;border:1px solid #494234;border-radius:8px;width:min(100%,960px);animation:.16s ease-out tavern-enter;position:relative;overflow:hidden;box-shadow:0 25px 90px #0009}.tavern-modal-close.btn{z-index:2;background:#11110fe6;place-items:center;width:44px;height:44px;min-height:44px;padding:0;line-height:1;display:grid;position:absolute;top:12px;right:12px}.tavern-modal-close.btn svg{width:20px;height:20px;display:block}.tavern-character-header{grid-template-columns:1fr 1fr;display:grid}.tavern-modal-portrait{align-self:start}.tavern-character-summary{padding:30px 28px 24px}.tavern-character-summary h2{margin:12px 0 6px;font:500 36px/1.1 Georgia,serif}.tavern-character-summary p{color:#aaa295;font-size:14px;line-height:1.6}.tavern-character-summary .tavern-character-role{color:#e8e2d7;margin:0 0 15px}.tavern-character-summary>small{color:#9b9387;font-size:11px}.tavern-voice{align-items:center;gap:10px;margin:18px 0;font-size:12px;display:flex}.tavern-voice small,.tavern-scene-navigation small{color:#9b9387}.tavern-play{color:#d7a94f;background:#211d14;border:1px solid #826534;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;font-size:22px;display:grid}.tavern-wave{color:#8c8679;letter-spacing:1px}.tavern-header-actions{flex-wrap:wrap;gap:8px;display:flex}.tavern-modal button:disabled{opacity:.6;cursor:not-allowed}.tavern-scene-section{border-top:1px solid #34312a}.tavern-scene-categories{border-bottom:1px solid #34312a;padding:0 14px;display:flex;overflow-x:auto}.tavern-scene-categories>button{white-space:nowrap;color:#aaa295;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:1;padding:14px 10px;font-size:12px}.tavern-scene-categories>button.active{color:#d7a94f;background:#211d14;border-bottom-color:#d7a94f}.tavern-scene{grid-template-columns:42% 1fr;align-items:start;gap:24px;padding:24px;display:grid}.tavern-scene .tavern-art{border-radius:5px}.tavern-scene .eyebrow{margin:0 0 10px;font-size:10px}.tavern-modal h3{margin:0 0 12px;font:500 25px/1.2 Georgia,serif}.tavern-scene p:not(.eyebrow){color:#9b9387;margin:7px 0;font-size:13px;line-height:1.5}.tavern-scene blockquote{background:#191a16;border:1px solid #34312a;border-radius:4px;margin:14px 0;padding:14px;font:18px Georgia,serif}.tavern-scene-navigation{align-items:center;gap:10px;display:flex}.tavern-scene-navigation .btn{padding:3px 12px;font-size:22px}.tavern-scene-navigation .btn:last-child{margin-left:auto}.tavern-scene-thumbnails{justify-content:center;gap:10px;padding:0 24px 24px;display:flex}.tavern-scene-thumbnails button{cursor:pointer;background:#11110f;border:1px solid #34312a;border-radius:4px;width:90px;padding:0;position:relative;overflow:hidden}.tavern-scene-thumbnails button>span:last-child{color:#e8e2d7;background:#11110fd9;border-radius:3px;padding:1px 5px;font-size:10px;position:absolute;bottom:3px;right:3px}.tavern-scene-thumbnails button.active,.tavern-expressions button.active{border-color:#d7a94f;box-shadow:0 0 0 1px #d7a94f}.tavern-expressions,.tavern-reuse{padding:0 24px 24px}.tavern-expressions>div{grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;display:grid}.tavern-expressions button{color:#aaa295;cursor:pointer;background:#11110f;border:1px solid #34312a;border-radius:4px;padding:0;overflow:hidden}.tavern-expressions button>span:last-child{text-overflow:ellipsis;padding:5px 2px;font-size:10px;display:block;overflow:hidden}.tavern-expression-label{color:#9b9387;margin:12px 0 0;font-size:12px}.tavern-reuse>p{color:#9b9387;font-size:12px;line-height:1.5}.tavern-reuse>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.tavern-reuse button{text-align:left;color:#e8e2d7;background:#191a16;border:1px solid #494234;border-radius:5px;align-items:center;gap:12px;padding:15px 12px;display:flex}.tavern-reuse button>span:first-child{color:#d7a94f;font-size:30px}.tavern-reuse strong{font-size:12px;font-weight:500;display:block}.tavern-reuse small{color:#9b9387;margin-top:5px;font-size:10px;line-height:1.4;display:block}@keyframes tavern-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (width<=900px){.tavern-grid{gap:14px}.tavern-character-summary{padding:24px 20px}.tavern-wave{display:none}.tavern-character-summary h2{font-size:30px}.tavern-modal h3{font-size:22px}}@media (width<=650px){.tavern-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tavern-card-body{padding:11px}.tavern-card-body strong{font-size:22px}.tavern-filter-controls{flex-direction:column}.tavern-preview-note{align-items:start;line-height:1.5}.tavern-modal-backdrop{padding:12px 8px}.tavern-character-header{grid-template-columns:1fr}.tavern-modal-portrait{max-height:340px}.tavern-character-summary{padding:22px 18px}.tavern-scene{grid-template-columns:1fr;gap:18px;padding:18px}.tavern-scene>.tavern-art{max-height:280px}.tavern-expressions,.tavern-reuse{padding:0 18px 20px}.tavern-expressions>div{grid-template-columns:repeat(5,minmax(0,1fr))}.tavern-reuse>div{grid-template-columns:1fr}.tavern-scene-thumbnails{gap:6px;padding:0 18px 20px}.tavern-scene-categories>button{padding:13px 10px}}@media (prefers-reduced-motion:reduce){.tavern-modal{animation:none}.tavern-card{transition:none}.tavern-card:hover{transform:none}}@media (width<=650px){.tavern-filter-controls .tag-filter-row{overscroll-behavior-inline:contain;flex:auto;width:100%}.tavern-modal-portrait,.tavern-scene>.tavern-art{max-height:none}}.tavern-live-art{aspect-ratio:3/4}.tavern-live-art img{object-fit:contain;width:100%;height:100%;position:static}.tavern-scene .tavern-live-art{aspect-ratio:3/4;max-height:340px}.tavern-scene audio{width:100%;margin-top:12px}.character-lore{white-space:pre-wrap}.character-pagination{justify-content:center;gap:12px;margin:24px 0;display:flex}.character-sharing-panel{background:#171714;border:1px solid #494234;border-radius:7px;margin:12px 0;padding:18px}.character-sharing-panel h3{color:#e8e2d7;font:24px Georgia,serif}.character-sharing-panel p,.character-sharing-panel small{color:#aaa295;line-height:1.5}.character-sharing-panel label{flex-direction:column;gap:6px;margin:12px 0;display:flex}.character-sharing-panel textarea,.character-sharing-panel input,.character-scenario-picker select{color:#e8e2d7;background:#11110f;border:1px solid #494234;border-radius:4px;padding:9px}.character-sharing-panel textarea{min-height:80px}.character-preview-status li{padding:6px 0}.character-preview-status span{margin-left:8px}.character-scenario-picker{flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;display:flex!important}.character-scenario-picker label{align-items:center;gap:8px;display:flex}.tavern-expressions>div:has(.tavern-live-art){grid-template-columns:repeat(4,minmax(0,1fr))}.tavern-reuse-actions>button{min-height:76px}.tavern-reuse-actions>button>span:first-child{border:1px solid #685330;border-radius:50%;flex:0 0 36px;place-items:center;height:36px;display:grid}.tavern-reuse-actions>button:nth-child(2)>span:first-child{color:#211d14;background:#d7a94f;border-color:#d7a94f}.tavern-reuse-actions>button:nth-child(3)>span:first-child{border:0;border-radius:0}.tavern-reuse-actions>button>span:first-child svg{width:23px;height:23px}.tavern-reuse-actions>button:disabled{opacity:.6}.tavern-live-art{background:linear-gradient(0deg,#17171455,#17171411),var(--character-background,url(/character-backgrounds/tavern.webp)) center/cover}.tavern-card--published{isolation:isolate;justify-content:flex-end;min-height:410px;position:relative}.tavern-card--published>.tavern-art{aspect-ratio:auto;z-index:-1;height:100%;position:absolute;inset:0}.tavern-card--published .tavern-art img{object-fit:contain;width:165%;height:auto;position:absolute;top:0;left:-32.5%}.tavern-card--published:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#0000 30%,#17171499 55%,#171714f5 78%);position:absolute;inset:0}.tavern-card--published .tavern-card-body{flex:0;gap:9px;padding:22px 18px 16px}.tavern-card--published .tavern-card-body strong{color:#f0e5d1;text-shadow:0 2px 12px #0007;font:500 30px/1.1 Georgia,serif}.tavern-card--published .tavern-card-role{color:#c8bfb0;-webkit-line-clamp:2;-webkit-box-orient:vertical;font:14px/1.45 Georgia,serif;display:-webkit-box;overflow:hidden}.tavern-card--published .discovery-card-tags i{background:#17171480;font-size:10px}.tavern-card-footer{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.tavern-card-footer small{color:#a79c8b;font-size:10px}.tavern-card-footer .tavern-card-scenes{margin:0;font-size:11px}.tavern-modal--published{background:#181815;max-width:900px}.tavern-modal--published .tavern-character-header{grid-template-rows:450px;grid-template-columns:43% 57%}.tavern-modal--published .tavern-modal-portrait{aspect-ratio:auto;align-self:stretch;height:100%}.tavern-modal--published .tavern-modal-portrait img{width:106.92%;height:auto;position:absolute;top:0;left:-3.46%}.tavern-modal-portrait .vn-portrait{width:100%;height:100%;margin:0}.tavern-modal-portrait .vn-portrait-art{height:100%;display:block;position:relative}.tavern-modal--published .tavern-character-summary{min-height:0;padding:30px 28px 24px;overflow-y:auto}.tavern-modal--published .tavern-character-summary h2{color:#f0e5d1;margin:10px 0 12px;font-size:44px}.tavern-modal--published .tavern-character-description{color:#c9bfae;margin:16px 0 10px;font:17px/1.55 Georgia,serif}.tavern-modal--published .tavern-header-actions .btn svg{width:16px;height:16px}.tavern-modal--published .tavern-header-actions .btn{align-items:center;gap:6px;font-size:12px;display:inline-flex}.tavern-modal--published .tavern-voice{margin:16px 0;display:block}.tavern-voice>span{color:#a79c8b;letter-spacing:.09em;text-transform:uppercase;margin-bottom:6px;font-size:10px;display:block}.tavern-full-details{border-top:1px solid #34312a;padding:24px}.tavern-full-details p{color:#c9bfae;font:15px/1.65 Georgia,serif}.tavern-modal--published .tavern-scene{grid-template-columns:38% 1fr;gap:24px}.tavern-modal--published .tavern-scene .tavern-art{aspect-ratio:auto;background-image:linear-gradient(0deg,#17171455,#17171411),var(--character-background,url(/character-backgrounds/tavern.webp));height:260px}.tavern-modal--published .tavern-scene .tavern-art img{width:105%;height:auto;position:absolute;top:0;left:-2.5%}.tavern-modal--published .tavern-scene h3{margin-bottom:8px;font-size:19px}.tavern-modal--published .tavern-scene .eyebrow{margin-bottom:7px;font-size:9px}.tavern-modal--published .tavern-scene p:not(.eyebrow){margin:5px 0;font-size:11px;line-height:1.5}.tavern-modal--published .tavern-scene blockquote{color:#eadcc5;background:#211f19;margin-top:10px;padding:11px;font:15px/1.5 Georgia,serif}.tavern-scene-content{grid-template-rows:minmax(0,1fr) 44px;gap:12px;min-width:0;height:260px;display:grid}.tavern-scene-copy{overflow-wrap:anywhere;scrollbar-gutter:stable;overscroll-behavior:contain;padding-right:8px;overflow-y:auto}.tavern-scene-copy:focus-visible{outline-offset:3px;border-radius:4px;outline:1px solid #d7a94f}.tavern-scene-copy blockquote:last-child{margin-bottom:0}.tavern-scene-content>.character-audio{align-self:end;margin-top:0}.tavern-modal--published .tavern-scene-navigation{padding:0 24px 24px}.tavern-modal--published .tavern-scene-navigation small{margin:auto}.tavern-modal--published .tavern-expressions{border-top:1px solid #34312a;padding-top:24px}.tavern-modal--published .tavern-expressions .tavern-art{aspect-ratio:auto;height:155px}.tavern-modal--published .tavern-expressions img{width:155%;height:auto;position:absolute;top:0;left:-27.5%}.character-audio{flex-wrap:wrap;align-items:center;gap:12px;width:100%;margin-top:10px;display:flex}.character-audio .story-audio-control{flex-shrink:0}.character-audio-track{flex:1;min-width:90px;display:block;position:relative}.character-audio-waveform{color:#b79453;align-items:center;gap:7px;height:30px;display:flex}.character-audio-waveform>svg:last-child{fill:#685a3d;width:100%;height:30px}.character-audio-waveform rect.is-heard{fill:#d7a94f}.character-audio-waveform .speech-equalizer{flex-shrink:0}.character-audio-error{color:#c8bfb0;flex-basis:100%}.character-audio.is-compact{gap:8px}.character-audio.is-compact .character-audio-waveform{height:22px}@media (width<=650px){.tavern-card--published{min-height:340px}.tavern-card--published .tavern-card-body{padding:16px 12px 12px}.tavern-card--published .tavern-card-body strong{font-size:26px}.tavern-card--published .tavern-card-role{font-size:12px}.tavern-card-footer{flex-direction:column;align-items:start;gap:5px}.tavern-modal--published .tavern-character-header,.tavern-modal--published .tavern-scene{grid-template-columns:1fr}.tavern-modal--published .tavern-character-header{grid-template-rows:300px auto}.tavern-modal--published .tavern-modal-portrait{height:300px}.tavern-modal--published .tavern-modal-portrait img{width:89.1%;left:5.45%}.tavern-modal--published .tavern-character-summary{padding:22px 18px}.tavern-modal--published .tavern-scene .tavern-art{height:260px}.tavern-scene-content{height:280px}.tavern-modal--published .tavern-expressions .tavern-art{height:140px}}@media (width<=560px){.tavern-expressions>div:has(.tavern-live-art){grid-template-columns:repeat(2,minmax(0,1fr))}}.cast-placeholder{color:#9b9387;background:#11110f;border:1px solid #34312a;border-radius:8px;flex:none;place-items:center;width:54px;height:64px;display:grid}.cast-placeholder svg{width:30px;height:30px}.cast-slot-card{background:#191a16;border:1px solid #34312a;border-radius:10px;align-items:flex-start;gap:16px;padding:20px;display:flex}.cast-slot-body{flex:1;min-width:0}.cast-slot-body h3{color:#e8e2d7;margin:0 0 8px;font-family:Georgia,serif;font-size:22px}.cast-slot-body p{color:#9b9387;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 14px}.cast-slot-body .btn{margin:0 8px 6px 0}.cast-slot-body code{overflow-wrap:anywhere;color:#d7a94f}.cast-slot-editor{background:#171714;border:1px solid #34312a;border-radius:12px;margin:20px 0;padding:20px}.cast-slot-editor .form{margin-top:20px}.cast-slot-editor label{gap:8px;display:grid}.cast-slot-editor small{color:#9b9387}.cast-backdrop{z-index:1500;background:#000b;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.scenario-modal-shell.cast-dialog{color:#e8e2d7;background:#171814;border:1px solid #66502f;border-radius:0;flex-direction:column;width:min(1120px,100%);height:min(760px,100dvh - 48px);max-height:calc(100dvh - 48px);animation:.18s ease-out cast-enter;display:flex;overflow:hidden;box-shadow:0 30px 100px #000c}.cast-dialog{position:relative}.cast-dialog-header .scenario-modal-close{position:absolute;top:12px;right:12px}.cast-dialog-header>div{min-width:0;padding-right:40px}.cast-dialog-header{border-bottom:1px solid var(--line);flex:none;margin:0;padding:20px 24px 18px}.cast-dialog h2{overflow-wrap:anywhere;margin:0;font:500 27px/1.15 Georgia,serif}.cast-dialog-header p{color:#9b9387;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.5}.cast-dialog-content{scrollbar-gutter:stable;overscroll-behavior:contain;flex:1;min-width:0;min-height:0;padding:18px 24px 24px;overflow:hidden auto}.cast-intro{color:#aaa295;margin:0 0 20px;font-size:13px;line-height:1.6}.cast-dialog-layout{grid-template-columns:minmax(0,1fr);display:grid}.cast-dialog h3{margin:0;font:500 20px/1.2 Georgia,serif}.cast-search{min-width:0}.cast-search .discover-kind-switch{width:100%;margin:0 0 14px}.cast-search .discovery-search{border-radius:2px;width:100%;margin:0;display:flex}.cast-candidates{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.cast-candidate{cursor:default;border-radius:2px;height:270px;min-height:270px}.cast-candidate.tavern-card--published .tavern-art img{width:115%;left:-7.5%}.cast-candidate:hover{transform:none}.cast-candidate.is-selected{border-color:var(--gold)}.cast-candidate h4{color:#f0e5d1;overflow-wrap:anywhere;margin:0;font:500 22px/1.15 Georgia,serif}.cast-candidate .tavern-card-role{margin:0}.cast-candidate small{color:#b8ae9e;overflow-wrap:anywhere;font-size:11px}.cast-candidate.tavern-card--published .tavern-card-body{gap:6px;padding:14px 12px 12px;position:relative}.cast-candidate h4{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.cast-candidate .tavern-card-role{font-size:12px}@media (width<=1000px){.cast-candidates{grid-template-columns:repeat(2,minmax(0,1fr))}}.cast-candidate-actions{gap:8px;margin-top:6px;display:flex}.cast-candidate-actions .btn{flex:1;justify-content:center;align-items:center;gap:5px;min-width:0;padding:9px 8px;font-size:12px;display:flex}.cast-candidate-actions svg{width:14px;height:14px}.cast-candidates>p{text-align:center;color:#9b9387;border:1px solid var(--line);border-radius:2px;grid-column:1/-1;padding:24px}.cast-dialog-footer{background:linear-gradient(110deg,#1e1b12,#171714);border-top:1px solid #66502f;flex:none;align-items:center;gap:24px;padding:6px 24px;display:flex}.cast-footer-status{flex:1;grid-template-columns:minmax(120px,auto) minmax(0,1fr);align-items:center;gap:24px;min-width:0;display:grid}.cast-progress{min-width:0;max-width:280px;padding:8px;overflow-x:auto}.cast-progress-track{gap:16px;width:max-content;display:flex}.cast-progress-item{flex:none;position:relative}.cast-progress-role{color:#d5ccbc;cursor:pointer;background:0 0;border:0;align-content:start;justify-items:center;gap:7px;width:83px;padding:0;display:grid}.cast-progress-clear{z-index:2;color:#d8bd83;cursor:pointer;background:#171714;border:1px solid #90713e;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;display:grid;position:absolute;top:0;right:5px}.cast-progress-clear svg{width:12px;height:12px}.cast-progress-clear:hover{border-color:var(--gold);color:#f0c56a;background:#302718}.cast-progress-role strong{overflow-wrap:anywhere;max-width:100%;font:500 16px/1.2 Georgia,serif}.cast-progress-role small{color:#9b9387;overflow-wrap:anywhere;max-width:100%;font-size:11px}.cast-progress-circle{color:#7e6b46;background:#11110f;border:1px dashed #7e6b46;border-radius:50%;place-items:center;width:68px;height:68px;transition:border-color .15s,box-shadow .15s;display:grid;position:relative;overflow:hidden}.cast-progress-circle.is-filled{background:#292319;border-style:solid;border-color:#a88a50}.cast-progress-role.is-current .cast-progress-circle{border:2px solid #f0c56a;box-shadow:0 0 0 5px #d7a94f22,0 0 0 8px #d7a94f33,0 0 24px #d7a94f40}.cast-progress-role.is-current small{color:#f0c56a}.cast-progress-circle>svg{width:28px;height:28px}.cast-progress-circle img{width:150%;max-width:none;height:auto;position:absolute;top:0;left:-25%}.cast-progress-circle .cast-placeholder{background:0 0;border:0;width:100%;height:100%}.cast-progress-circle .cast-placeholder svg{width:28px;height:28px}.cast-progress-role:disabled{cursor:default}.cast-progress-copy{min-width:0}.cast-progress-copy .eyebrow{letter-spacing:.15em;color:var(--gold);margin:0 0 6px;font-size:10px}.cast-progress-copy h3{overflow-wrap:anywhere;margin:0 0 6px;font:500 22px/1.2 Georgia,serif}.cast-progress-copy p{color:#c2b69f;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;font:italic 13px/1.5 Georgia,serif;display:-webkit-box;overflow:hidden}.cast-progress-copy .btn{min-height:30px;margin-top:8px;padding:4px 10px;font-size:11px}.cast-footer-actions{flex:none;gap:10px;max-width:280px;display:grid}.cast-footer-actions>div{justify-content:flex-end;gap:12px;display:flex}.cast-start-error{background:#211e17;border:1px solid #685330;border-radius:2px;margin-top:16px;padding:16px}.cast-start-error p{color:#c8bda9;overflow-wrap:anywhere;margin:0 0 12px;font:13px/1.6 ui-sans-serif,system-ui,sans-serif}.cast-dialog button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}@keyframes cast-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (width<=800px){.cast-backdrop{padding:10px}.scenario-modal-shell.cast-dialog{width:100%;height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.cast-dialog-header{padding:20px 18px 16px}.cast-dialog h2{font-size:26px}.cast-dialog-content{padding:18px}.cast-dialog-layout{grid-template-columns:1fr;gap:24px}.cast-dialog-footer{flex-wrap:wrap;gap:10px;padding:6px 18px}.cast-footer-status{flex-basis:100%}.cast-slot-editor{padding:12px}}@media (width<=480px){.cast-candidates{gap:10px}.cast-candidate{height:250px;min-height:250px}.cast-candidate .tavern-card-body{gap:7px;padding:14px 10px 12px}.cast-candidate h4{font-size:20px}.cast-candidate .tavern-card-role{font-size:12px}.cast-candidate-actions{gap:6px}}.cast-dialog .btn,.cast-candidate .btn{border-radius:2px;font-weight:600}.cast-dialog .cast-placeholder,.cast-dialog .tavern-preview-badge,.cast-search .discover-kind-switch{border-radius:2px}.cast-search .discover-kind-switch button{min-height:40px;padding:10px 12px;font-size:12px}.cast-pagination:not([hidden]){justify-content:space-between;gap:12px;padding-top:2px;display:flex}.cast-pagination[hidden]{display:none}.cast-dialog-header .scenario-modal-close{width:32px;height:32px}.cast-candidate-actions .btn{min-height:40px}.cast-candidate-actions .btn:disabled{opacity:1;color:#c4ad83;background:#211e17;border-color:#55472e}.cast-candidate:not(.is-selected) .cast-candidate-actions .btn:disabled{color:#9b9387;border-color:var(--line);background:#171714}@media (width<=480px){.cast-dialog-header{padding:18px 16px 14px}.cast-dialog-content{padding:16px}.cast-dialog-footer{padding:4px 16px}}@media (width<=800px){.cast-dialog-footer{gap:12px}.cast-footer-status{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%}.cast-progress{max-width:none}.cast-progress-track{gap:10px}.cast-progress-role{gap:5px;width:58px}.cast-progress-item{width:58px}.cast-progress-circle{width:47px;height:47px}.cast-progress-role strong{font-size:13px}.cast-progress-role small{font-size:10px}.cast-progress-copy h3{font-size:19px}.cast-progress-copy p{-webkit-line-clamp:2;font-size:12px}.cast-footer-actions{width:100%;max-width:none}.cast-footer-actions>div>.btn{flex:1}}@media (width<=360px){.cast-progress-role,.cast-progress-item{width:52px}.cast-progress-circle{width:40px;height:40px}.cast-progress-track{gap:8px}}@media (prefers-reduced-motion:reduce){.cast-dialog{animation:none}.cast-progress-circle{transition:none}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.isolate{isolation:isolate}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:root{color:#e8e2d7;font-synthesis:none;--gold:#d7a94f;--gold-ember-gradient:linear-gradient(110deg, #d5a536 0%, #f26b3b 56%, #d34d33 100%);--gold-header-gradient:linear-gradient(110deg, #d5a536 0%, #f2903b 55%, #d34d33 100%);--paper:#171714;--line:#34312a;--content-width:1120px;--space-page:clamp(16px, 3vw, 24px);--scrollbar-gutter:10px;scrollbar-color:#77613a #171612;scrollbar-width:thin;background:#11110f;font-family:ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box;scrollbar-color:#77613a #171612;scrollbar-width:thin}::-webkit-scrollbar{width:var(--scrollbar-gutter);height:var(--scrollbar-gutter)}::-webkit-scrollbar-track{background:#171612}::-webkit-scrollbar-thumb{background:#77613a;min-height:36px;border:0!important;border-radius:0!important}::-webkit-scrollbar-thumb:hover{background-color:#aa8541}::-webkit-scrollbar-corner{background:#171612}body{background:#11110f;min-width:320px;margin:0}.app-shell.is-loading{visibility:hidden}.page-loader{z-index:2147483647;isolation:isolate;background:#11110f;align-content:center;place-items:center;gap:12px;display:grid;position:fixed;inset:0}.page-loader.is-hidden{pointer-events:none;display:none}.page-loader.is-visible{display:grid}.page-loader-content{align-content:center;place-items:center;gap:12px;display:grid;transform:scale(2.6)}.page-loader-mark{width:72px;height:72px;color:var(--gold);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 8px #d7a94f0d,0 0 34px #d7a94f25}.page-loader-mark:before{content:"";border-radius:inherit;background:radial-gradient(circle,#d7a94f28 0,#d7a94f0c 46%,#0000 72%);animation:1.8s ease-in-out infinite loader-radial-pulse;position:absolute;inset:0}.loader-artwork{grid-area:1/1;width:72px;height:72px;transition:transform 1.3s cubic-bezier(.7,0,.3,.75);display:grid;transform:translateY(2px)scale(2)translate(.5px)}.loader-artwork.is-held,.loader-artwork.is-reversing{transform:translateY(6px)scale(2)translate(.5px)}.page-loader-mark img{z-index:1;object-fit:contain;visibility:hidden;grid-area:1/1;width:72px;height:72px;display:block;position:relative}.page-loader-mark .loader-reverse{background:#11110f}.page-loader-mark.is-ready img{visibility:visible}.page-loader-name{color:#eee6d8;letter-spacing:.02em;font:600 22px Georgia,serif}.page-loader-track{background:#393126;width:116px;height:2px;overflow:hidden}.page-loader-track i{background:var(--gold);width:45%;height:100%;animation:1.1s ease-in-out infinite loader-slide;display:block}@keyframes loader-radial-pulse{50%{opacity:.3;transform:scale(1.35)}}@keyframes loader-slide{0%{transform:translate(-120%)}to{transform:translate(260%)}}@media (prefers-reduced-motion:reduce){.page-loader-mark:before,.page-loader-track i{animation:none}}button,input,textarea,select{font:inherit}button{color:inherit}header{height:64px;padding-inline:max(var(--space-page), calc((100% - var(--content-width)) / 2));border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:20;background:#11110fee;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.brand{color:#e8e2d7;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font:700 19px Georgia,serif;transition:filter .18s,transform .18s;display:inline-flex}.brand-logo{width:auto;height:24px;transition:filter .18s,transform .18s;display:block}.brand-text{transition:text-shadow .18s}.app-nav button{transition:filter .18s,text-shadow .18s,transform .18s}.brand:hover,.brand:focus-visible{transform:translateY(-1px)}.brand:hover .brand-logo,.brand:focus-visible .brand-logo{filter:drop-shadow(0 0 7px #d7a94f99);transform:scale(1.04)rotate(-2deg)}.brand:hover .brand-text,.brand:focus-visible .brand-text{background:var(--gold-header-gradient);color:#0000;-webkit-text-fill-color:transparent;text-shadow:0 0 18px #d7a94f47;background-size:220% 100%;-webkit-background-clip:text;background-clip:text}nav{gap:10px;display:flex}nav button,.icon{cursor:pointer;color:#aaa;background:0 0;border:0;padding:12px}.app-nav button{border-radius:7px;position:relative}.app-nav button:after{content:"";background:var(--gold-header-gradient);opacity:0;height:1px;transition:opacity .18s,transform .22s cubic-bezier(.22,1,.36,1);position:absolute;bottom:5px;left:12px;right:12px;transform:scaleX(.25);box-shadow:0 0 9px #d7a94fa6}.app-nav button:hover,.app-nav button:focus-visible{color:#f0dfbe;text-shadow:0 0 16px #d7a94f52;transform:translateY(-1px)}.app-nav button:hover:after,.app-nav button:focus-visible:after,.app-nav button.active:after{opacity:1;transform:scaleX(1)}.header-actions,.auth-control{align-items:center;display:flex}.header-actions{gap:12px}.auth-control{color:#aaa;gap:8px;font-size:12px}.auth-avatar{border-radius:50%;width:26px;height:26px}.account-trigger{cursor:pointer;background:#201e19;border:1px solid #4b473e;border-radius:50%;width:40px;height:40px;padding:2px;transition:border-color .16s,box-shadow .16s,transform .16s}.account-trigger:hover,.account-trigger[aria-expanded=true]{border-color:var(--gold);transform:translateY(-1px);box-shadow:0 0 0 3px #c29b551f}.account-trigger img{border-radius:50%;width:100%;height:100%;display:block}.auth-user-name{text-overflow:ellipsis;white-space:nowrap;max-width:170px;overflow:hidden}.auth-button{color:#d7ccb9;cursor:pointer;background:0 0;border:1px solid #4b473e;border-radius:6px;padding:8px 10px;font-size:12px;font-weight:700}.auth-button:hover{border-color:var(--gold);color:#f0dfbe}.auth-button:disabled{opacity:.5;cursor:wait}.auth-status-note{color:#8d8375;font-size:11px}.auth-dialog-backdrop{z-index:20;background:#080705c2;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.auth-dialog{background:#171614;border:1px solid #4b473e;border-radius:10px;width:min(100%,430px);padding:28px;box-shadow:0 24px 80px #00000080}.auth-dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.auth-dialog-heading h2{color:#eee5d7;margin:8px 0 0;font:500 28px/1.1 Georgia,serif}.auth-dialog-close{color:#aaa092;cursor:pointer;background:0 0;border:0;font-size:25px;line-height:1}.auth-provider-button{color:#17130d;cursor:pointer;background:#c29b55;border:1px solid #8e7546;border-radius:6px;width:100%;padding:11px 14px;font-size:13px;font-weight:800}.auth-provider-button:hover{background:#d7b36f}.auth-provider-button:disabled{opacity:.55;cursor:wait}.auth-divider{color:#8d8375;text-transform:uppercase;letter-spacing:.12em;align-items:center;gap:12px;margin:20px 0;font-size:11px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#39362f;flex:1;height:1px}.auth-password-form{gap:12px;display:grid}.auth-demo-note{color:#8d8375;text-align:center;margin:2px 0 0;font-size:11px}.auth-demo-note code{color:#d7ccb9}.page{max-width:var(--content-width);margin:auto;padding:48px 24px 96px}.hero{max-width:700px;padding:70px 0 90px}.eyebrow{color:var(--gold);letter-spacing:.2em;font-size:11px;font-weight:800}.hero h1,.page h1{margin:18px 0;font:500 clamp(42px,8vw,78px)/.98 Georgia,serif}.hero h1 em{color:var(--gold);font-weight:400}.hero>p:not(.eyebrow){color:#aaa;max-width:550px;font-size:18px;line-height:1.6}.home-page{gap:clamp(72px,9vw,112px);padding-top:clamp(44px,7vw,84px);display:grid}.home-hero{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:stretch;gap:clamp(32px,6vw,80px);min-height:min(560px,100dvh - 180px);display:grid}.home-hero-copy{flex-direction:column;justify-content:center;align-items:flex-start;padding-block:40px;display:flex}.home-hero h1{letter-spacing:-.03em;text-wrap:balance;max-width:780px;margin:0;font:500 clamp(48px,6.4vw,88px)/.94 Georgia,serif}.home-hero h1 em,.hero h1 em,.discovery-hero h1 em,.discover-heading h1 em{background:var(--gold-ember-gradient);color:#0000;-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:-.08em;padding-bottom:.08em;font-weight:400;line-height:1.1;display:block}.home-hero-copy>p{color:#b3ab9d;max-width:580px;margin:28px 0 32px;font-size:clamp(17px,2vw,20px);line-height:1.65}.home-featured-adventure,.home-promise{color:#eee6d8;background:#1c1a16;border:1px solid #494236;border-radius:14px;position:relative;overflow:hidden}.home-featured-adventure{text-align:left;cursor:pointer;isolation:isolate;background:radial-gradient(circle at 78% 24%,#4a3b24 0,#0000 42%),linear-gradient(145deg,#28231b,#151411 70%);flex-direction:column;justify-content:flex-end;min-width:0;padding:clamp(18px,2.4vw,30px);transition:border-color .18s ease-out,transform .18s ease-out;display:flex;box-shadow:0 24px 60px -42px #000}.home-featured-adventure:before,.home-adventure-card:before{content:"";z-index:1;pointer-events:none;background:linear-gradient(#0908070a 20%,#09080780 64%,#090807e8 100%);position:absolute;inset:0}.home-featured-adventure:hover{border-color:#8b7243;transform:translateY(-3px)}.home-featured-copy{gap:12px;display:grid}.home-featured-copy>span{color:#baad96;font-size:13px}.home-featured-copy strong{overflow-wrap:anywhere;letter-spacing:-.02em;font:500 clamp(34px,4vw,54px)/1.02 Georgia,serif}.home-featured-copy small{color:#d1c8ba;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-width:42ch;font-size:15px;line-height:1.6;display:-webkit-box;overflow:hidden}.home-featured-scrim{z-index:2;background:#090807b8;border-radius:12px;gap:22px;padding:clamp(22px,3vw,34px);display:grid;position:relative;box-shadow:0 18px 45px -34px #000}.home-promise{flex-direction:column;justify-content:flex-end;padding:clamp(28px,4vw,48px);display:flex}.home-promise h2{max-width:10ch;margin:0 0 38px;font:500 clamp(32px,4vw,48px)/1.05 Georgia,serif}.home-promise ul{gap:0;margin:0;padding:0;list-style:none;display:grid}.home-promise li{color:#aaa193;border-top:1px solid #3c382f;padding:16px 0;line-height:1.5}.home-section{gap:28px;display:grid}.home-section-heading{justify-content:space-between;align-items:end;gap:24px;display:flex}.home-section-heading h2{margin:0 0 8px;font:500 clamp(30px,4vw,44px)/1.05 Georgia,serif}.home-section-heading p{color:#9e9689;margin:0;line-height:1.5}.home-section-heading>span{color:#8f877a;flex:none;font-size:13px}.home-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.home-adventure-card,.home-scenario-card{text-align:left;grid-template-rows:auto auto 1fr auto;min-width:0;min-height:260px;display:grid}.home-adventure-card{isolation:isolate;color:#eee6d8;text-align:left;cursor:pointer;background:radial-gradient(circle at 75% 20%,#453820 0,#0000 40%),linear-gradient(145deg,#252018,#151411 72%);border:1px solid #494236;border-radius:14px;align-items:flex-end;min-width:0;min-height:300px;padding:16px;transition:border-color .18s ease-out,transform .18s ease-out;display:flex;position:relative;overflow:hidden;box-shadow:0 20px 48px -40px #000}.home-adventure-card:hover,.home-scenario-card:hover{border-color:#514a3d}.home-adventure-card:hover{border-color:#806d49;transform:translateY(-2px)}.adventure-card-banner{object-fit:cover;object-position:center;z-index:0;width:100%;height:100%;position:absolute;inset:0}.home-adventure-scrim{z-index:2;background:#090807ba;border-radius:11px;gap:8px;width:100%;padding:18px;display:grid;position:relative}.home-adventure-scrim small{color:#dab66b;letter-spacing:.14em;font-size:10px}.home-adventure-scrim strong{overflow-wrap:anywhere;font:500 26px/1.08 Georgia,serif}.home-adventure-description{color:#c8c0b4;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden}.home-adventure-action{color:#e3bd6c;border-bottom:1px solid #a98542;justify-self:start;margin-top:7px;padding-bottom:4px;font-size:13px;font-weight:750}.home-adventure-card h3,.home-scenario-card h3,.home-adventure-card p,.home-scenario-card p{overflow-wrap:anywhere}.home-scenario-card .row{align-self:end;margin-top:18px}.home-empty{grid-column:1/-1;justify-content:space-between;align-items:center;gap:28px;display:flex}.home-empty h3{color:#ddd4c5;margin:0 0 8px;font:500 24px/1.2 Georgia,serif}.home-empty p{margin:0}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:2px solid #f0bf5f}.btn{background:var(--gold);color:#16130d;cursor:pointer;border:1px solid #e4b963;border-radius:7px;min-height:44px;padding:11px 16px;font-weight:750}.btn:hover{filter:brightness(1.08)}.btn:disabled{opacity:.4;cursor:not-allowed}.btn.ghost{color:#d7ccb9;background:0 0;border-color:#4b473e}.btn.danger{color:#e99;background:0 0;border-color:#6d3838}.collection-create-button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.collection-create-button svg{flex-shrink:0;width:16px;height:16px}.section-title,.row{align-items:center;gap:10px;display:flex}.section-title{justify-content:space-between;margin:20px 0}.spread{justify-content:space-between}.end{justify-content:flex-end}.grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;display:grid}.tile,.panel{border:1px solid var(--line);background:linear-gradient(145deg,#1d1c18,#171714);border-radius:10px;padding:22px}.tile h3{margin:10px 0;font:500 25px Georgia,serif}.tile p,.muted{color:#999;line-height:1.5}.tile small{color:var(--gold);letter-spacing:.15em}.tile span{color:var(--gold)}.tile.adventure{cursor:pointer}.empty{color:#888;border:1px dashed #454138;border-radius:10px;padding:40px}.tabs{border-bottom:1px solid var(--line);gap:6px;margin:30px 0;display:flex}.tabs button,.action-pills button{text-transform:capitalize;cursor:pointer;background:0 0;border:0;padding:12px 15px}.tabs .active,.action-pills .active{color:var(--gold);border-bottom:2px solid var(--gold)}.form{gap:18px;max-width:760px;display:grid}.form.narrow{max-width:480px}.field{gap:7px;display:grid}.field span{text-transform:uppercase;letter-spacing:.09em;color:#aaa;font-size:12px}.field input,.field textarea,input,textarea,select{color:#eee;background:#121210;border:1px solid #3a372f;border-radius:7px;outline:none;width:100%;padding:12px}.field input:focus,.field textarea:focus,input:focus,textarea:focus,select:focus{border-color:var(--gold)}textarea{resize:vertical;line-height:1.5}.stack{gap:12px;display:grid}.card{gap:14px;display:grid}.card-image-editor{border:1px solid var(--line);background:#151410;border-radius:9px;grid-template-columns:minmax(180px,.8fr) minmax(240px,1.2fr);align-items:start;gap:16px;padding:14px;display:grid}.card-image-editor.without-image{grid-template-columns:1fr}.banner-editor{background:#191713;border:1px solid #494236;border-radius:12px;gap:16px;margin:10px 0 18px;padding:20px;display:grid}.banner-editor-heading{justify-content:space-between;align-items:start;gap:18px;display:flex}.banner-editor-heading h3{color:#e2d9ca;margin:0 0 5px;font:500 22px/1.2 Georgia,serif}.banner-editor-heading p{color:#91897d;margin:0;font-size:13px;line-height:1.45}.banner-state{color:#c9ad72;flex:none;font-size:11px}.banner-preview{aspect-ratio:12/5;color:#8f877a;background:radial-gradient(circle at 72% 28%,#453a25 0,#0000 42%),linear-gradient(145deg,#28231c,#11110f);border-radius:10px;place-items:center;min-height:190px;font-size:13px;display:grid;position:relative;overflow:hidden}.banner-preview.has-image:after{content:"";pointer-events:none;background:linear-gradient(#0000 48%,#09080799);position:absolute;inset:0}.banner-preview img{object-fit:cover;width:100%;height:100%}.banner-error{color:#eca3a3;margin:0;font-size:13px;line-height:1.45}.card-image-preview{aspect-ratio:3/2;object-fit:cover;background:#0b0b09;border-radius:7px;width:100%;display:block}.card-image-controls{gap:12px;display:grid}.title-input{background:0 0!important;border-color:#0000!important;padding-left:0!important;font:500 20px Georgia,serif!important}.switch{align-items:center;gap:5px;font-size:12px;display:flex}.switch input{width:auto}.adventure-shell{--story-column-width:780px;grid-template-columns:260px minmax(0, min(var(--story-column-width), calc(100vw - 260px)));justify-content:center;height:calc(100dvh - 64px);display:grid}.adventure-shell.story-width-sm{--story-column-width:680px}.adventure-shell.story-width-med{--story-column-width:780px}.adventure-shell.story-width-lrg{--story-column-width:920px}.adventure-shell:has(>.story-meta.is-collapsed){grid-template-columns:76px minmax(0, min(var(--story-column-width), calc(100% - 152px))) 76px}.story-meta{border-right:1px solid var(--line);min-width:0;min-height:0;box-shadow:none;color:#e8e2d8;background:0 0;flex-direction:column;display:flex}.sidebar-scroll{flex-direction:column;flex:1;min-height:0;padding:30px 28px 24px;display:flex;overflow:hidden auto}.sidebar-adventure{margin:0 0 26px;padding-left:8px}.sidebar-adventure p{color:#d5a536;letter-spacing:.18em;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:800}.story-meta .sidebar-adventure h2{color:#f0e9dc;letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;font:500 27px/1 Georgia,serif}.sidebar-story-status{color:#77b987;margin-top:6px;font-size:11px;display:block}.sidebar-story-status.working{color:var(--gold)}.sidebar-nav{gap:20px;display:grid}.sidebar-nav section,.sidebar-nav section>div{display:grid}.sidebar-nav section>div{gap:2px}.sidebar-nav h3{color:#77756e;letter-spacing:.17em;text-transform:uppercase;margin:0 0 5px;padding:0 8px;font-size:10px;font-weight:800}.sidebar-nav button{color:#c7c3bb;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 10px;font-size:15px;transition:color .15s,border-color .15s,background .15s;display:flex}.sidebar-nav button:hover{color:#eee7da;background:#181a18;border-color:#34332e}.sidebar-nav button.active{color:#f1d991;background:#211c11;border-color:#755b1d}.sidebar-icon{color:#9d9a91;flex:0 0 16px;width:16px;height:16px}.sidebar-nav button:hover .sidebar-icon,.sidebar-nav button.active .sidebar-icon{color:#d5a536}.sidebar-nav button>span{white-space:nowrap;flex:1;min-width:0}.sidebar-nav button b{color:#d8d0c2;font-variant-numeric:tabular-nums;text-align:right;min-width:20px;font-size:13px}.sidebar-nav kbd{color:#a9a59c;letter-spacing:.04em;border:1px solid #48463f;border-radius:4px;padding:2px 6px;font:500 10px ui-sans-serif,system-ui,sans-serif}.sidebar-collapse{color:#8c8981;cursor:pointer;text-align:left;background:0 0;border:0;border-top:1px solid #302f2b;justify-content:space-between;align-items:center;width:100%;margin-top:28px;padding:15px 8px 0;font-size:12px;display:flex}.sidebar-collapse:hover{color:#d8d0c2}.sidebar-collapse svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px;transform:rotate(90deg)}.story-meta.is-collapsed .sidebar-nav button>span,.story-meta.is-collapsed .sidebar-nav button b,.story-meta.is-collapsed .sidebar-nav kbd,.story-meta.is-collapsed .sidebar-collapse span{display:none}.story-meta.is-collapsed .sidebar-adventure{visibility:hidden;width:196px}.story-meta.is-collapsed .sidebar-nav h3{visibility:hidden;white-space:nowrap;overflow:hidden}.story-meta.is-collapsed .sidebar-scroll{padding:30px 15px 24px}.story-meta.is-collapsed .sidebar-nav,.story-meta.is-collapsed .sidebar-nav section,.story-meta.is-collapsed .sidebar-nav section>div{min-width:0}.story-meta.is-collapsed .sidebar-nav button{justify-content:center;padding:0}.story-meta.is-collapsed .sidebar-icon{flex-basis:19px;width:19px;height:19px}.story-meta.is-collapsed .sidebar-collapse{justify-content:center;padding-inline:0}.story-meta.is-collapsed .sidebar-collapse svg{transform:rotate(-90deg)}.story-meta.is-compact{box-shadow:none;background:0 0;border:0}.story-meta.is-compact .sidebar-scroll{padding:2px 0 24px;overflow:visible}.story-meta.is-compact .sidebar-adventure{margin-bottom:22px}.story-meta.is-compact .sidebar-nav{width:100%}@media (width>=901px) and (width<=1440px),(width>=901px) and (height<=820px){.sidebar-scroll{padding:20px 24px 16px}.sidebar-adventure{margin-bottom:18px}.sidebar-adventure p{margin-bottom:4px;font-size:10px}.story-meta .sidebar-adventure h2{font-size:24px}.sidebar-story-status{margin-top:6px;font-size:10px}.sidebar-nav{gap:14px}.sidebar-nav section>div{gap:2px}.sidebar-nav h3{margin-bottom:4px;font-size:9px}.sidebar-nav button{gap:8px;min-height:36px;padding-inline:8px;font-size:14px}.sidebar-icon{flex-basis:15px;width:15px;height:15px}.sidebar-nav button b{font-size:12px}.sidebar-collapse{margin-top:18px;padding-top:11px;font-size:11px}.story-meta.is-collapsed .sidebar-scroll{padding:20px 13px 16px}.story-meta.is-collapsed .sidebar-adventure{width:204px}}@media (width>=901px) and (width<=1180px),(width>=901px) and (height<=700px){.sidebar-scroll{padding-top:16px}.sidebar-adventure{margin-bottom:14px}.story-meta .sidebar-adventure h2{font-size:21px}.sidebar-nav{gap:10px}.sidebar-nav button{min-height:34px;font-size:13px}.sidebar-collapse{margin-top:14px;padding-top:9px}}.story{flex-direction:column;min-height:0;display:flex;position:relative}.story-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 20px;display:flex}.story-top>div{align-items:center;gap:12px;display:flex}.story-top small{color:#aaa}.status{color:#77b987;font-size:10px}.status.working{color:var(--gold)}.narrative-frame{flex:1;min-height:0;position:relative}.narrative{scroll-behavior:smooth;height:100%;-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%), linear-gradient(#000, #000);-webkit-mask-size:calc(100% - var(--scrollbar-gutter)) 100%, var(--scrollbar-gutter) 100%;-webkit-mask-position:0 0,100% 0;-webkit-mask-repeat:no-repeat;-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%), linear-gradient(#000, #000);-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%), linear-gradient(#000, #000);-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%), linear-gradient(#000, #000);mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%), linear-gradient(#000, #000);-webkit-mask-size:calc(100% - var(--scrollbar-gutter)) 100%, var(--scrollbar-gutter) 100%;-webkit-mask-size:calc(100% - var(--scrollbar-gutter)) 100%, var(--scrollbar-gutter) 100%;-webkit-mask-size:calc(100% - var(--scrollbar-gutter)) 100%, var(--scrollbar-gutter) 100%;mask-size:calc(100% - var(--scrollbar-gutter)) 100%, var(--scrollbar-gutter) 100%;-webkit-mask-composite:source-over;-webkit-mask-composite:source-over;padding:35px clamp(18px,5vw,60px);overflow-y:auto;-webkit-mask-position:0 0,100% 0;mask-position:0 0,100% 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-over;mask-composite:add}.narrative-frame.fade-off .narrative,.render-preview.fade-off{-webkit-mask-image:none;mask-image:none}.block{white-space:pre-wrap;font:400 var(--reading-size,18px) / var(--reading-line-height,1.75) var(--reading-font,Georgia, serif);margin-bottom:22px;position:relative}.block.opening-prompt{padding-top:var(--narrative-fade-height,5vh)}.scene-boundary{color:#8e826d;letter-spacing:.13em;text-transform:uppercase;border-left:1px solid #5b513c;align-items:center;min-height:25px;margin:34px 0 16px;padding-left:12px;font:700 10px/1.2 ui-sans-serif,system-ui,sans-serif;display:flex}.scene-boundary span{overflow-wrap:anywhere}.scene-boundaries{background:#121312;flex-direction:column;height:100%;min-height:0;display:flex}.scene-search{border-bottom:1px solid #2c2c28;padding:20px 24px;display:block;position:relative}.scene-search svg{color:#85827a;width:16px;height:16px;position:absolute;top:50%;left:35px;transform:translateY(-50%)}.scene-search input{color:#eee7db;background:#181a18;border:1px solid #48463e;border-radius:6px;outline:none;width:100%;height:40px;padding:0 12px 0 36px;font-size:14px}.scene-search input::placeholder{color:#85827a}.scene-search input:focus{border-color:#bd9032;box-shadow:0 0 0 1px #bd9032}.scene-timeline-heading{color:#77746c;letter-spacing:.18em;text-transform:uppercase;flex:none;justify-content:space-between;padding:16px 24px 8px;font-size:10px;font-weight:800;display:flex}.scene-boundary-list{flex:1;align-content:start;gap:4px;margin:0;padding:0 16px 16px;list-style:none;display:grid;overflow-y:auto}.scene-boundary-list>li{min-width:0}.scene-boundary-list button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;grid-template-columns:36px minmax(0,1fr) 16px;align-items:start;gap:12px;padding:14px 12px;transition:background .16s ease-out,border-color .16s ease-out;display:grid}.scene-boundary-list button:hover{background:#1a1b19;border-color:#34332e}.scene-boundary-list button.current{background:#211c11;border-color:#755b1d}.scene-number{color:#817c71;letter-spacing:.04em;font-variant-numeric:tabular-nums;justify-content:flex-start;align-items:flex-start;height:28px;margin-top:2px;font:600 13px Georgia,serif;display:flex}.scene-boundary-list button:hover .scene-number{color:#c0a669}.scene-boundary-list button.current .scene-number{color:#e0b64e}.scene-copy{min-width:0}.scene-title{color:#ddd5c8;justify-content:space-between;align-items:center;gap:7px;min-width:0;font-size:14px;font-weight:600;display:flex}.scene-title>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.scene-title i{background:#d6a940;border-radius:50%;flex:0 0 10px;width:10px;height:10px}.scene-boundary-list button.current .scene-title{color:#f1d991}.scene-copy small{color:#96928a;-webkit-line-clamp:4;-webkit-box-orient:vertical;max-height:80px;margin-top:4px;font-size:12px;line-height:20px;display:-webkit-box;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0% 62%,#0000 100%);mask-image:linear-gradient(#000 0% 62%,#0000 100%)}.scene-metadata{letter-spacing:.04em;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;font-size:10px;display:flex}.scene-metadata>span{color:#77746c;letter-spacing:.08em;text-transform:uppercase}.scene-metadata b{color:#918b7d;letter-spacing:.1em;text-transform:uppercase;background:#201f1b;border:1px solid #39362f;border-radius:4px;padding:2px 6px;font-size:9px;font-weight:500}.scene-metadata b i{color:#c0b49d;font-style:normal}.scene-chevron{color:#626057;width:16px;height:16px;margin-top:4px;transition:color .15s,transform .15s}.scene-boundary-list button:hover .scene-chevron{color:#aaa69d;transform:translate(2px)}.scene-boundary-list button.current .scene-chevron{color:#d6a940}.scene-boundary-list button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.scene-boundary-empty{color:#91897d;margin:0;padding:22px 32px;font-size:13px}.scene-navigator-footer{color:#85827a;border-top:1px solid #2c2c28;flex:none;justify-content:space-between;align-items:center;margin-top:auto;padding:16px 24px;font-size:12px;display:flex}.scene-navigator-footer kbd{color:#aaa69d;border:1px solid #45433b;border-radius:4px;padding:2px 6px;font:500 10px ui-sans-serif,system-ui,sans-serif}.block[data-story-block],.scene-boundary[data-scene-start]{scroll-margin-block-start:18px}.block.user{color:#d8b973;border-left:2px solid var(--gold);padding-left:16px;font-style:italic}.story-command-label{color:#9f927b;letter-spacing:.1em;text-transform:uppercase;margin-bottom:5px;font:700 10px/1.4 ui-sans-serif,system-ui,sans-serif;display:block}.block.ai,.block.ai .narration,.render-preview .narration{color:var(--story-text,#ddd)}.block.ai .dialogue{color:var(--dialogue-text,#f5efe4)}.dialogue-off .block.ai .dialogue{color:inherit}.render-preview{color:var(--story-text,#ddd);border:1px solid var(--line);min-height:136px;font:400 var(--reading-size,18px) / var(--reading-line-height,1.75) var(--reading-font,Georgia, serif);-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%);-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%);-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%);-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%);mask-image:linear-gradient(to bottom, transparent 0, #000 var(--narrative-fade,5%), #000 100%);background:#121210;border-radius:8px;padding:0 18px 18px}.render-preview .dialogue{color:var(--dialogue-text,#f5efe4)}.render-preview.dialogue-off .dialogue{color:inherit}.block textarea{min-height:150px;font:400 17px/1.6 Georgia,serif}.story-block-content.is-interactive{cursor:text;border-radius:4px}.story-block-content.is-interactive:hover,.story-block-content.is-interactive:focus-visible{text-underline-offset:4px;-webkit-text-decoration:underline dashed #b8a47e61;text-decoration:underline dashed #b8a47e61;text-decoration-thickness:1px}.story-block-content.is-interactive:focus-visible{outline-offset:5px;outline:1px solid #d4a6408c}.block.is-editing{background:linear-gradient(90deg,#0000 0%,#d4a64005 5%,#d4a64009 14%,#d4a64006 78%,#0000 100%);border-radius:3px}.block textarea.story-inline-editor{field-sizing:content;resize:none;width:100%;min-height:3.5em;color:inherit;font:inherit;line-height:inherit;white-space:pre-wrap;background:0 0;border:0;border-radius:0;outline:0;margin:0;padding:0;display:block;overflow:hidden}.story-action-menu{z-index:90;background:#1b1a16fa;border:1px solid #49443a;border-radius:9px;width:196px;padding:5px;font:500 12px/1.3 ui-sans-serif,system-ui,sans-serif;animation:.1s ease-out story-menu-in;display:grid;position:fixed;overflow:hidden;box-shadow:0 14px 38px #0000007a}.story-action-menu button{color:#c8c1b5;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:9px;width:100%;padding:9px 10px;display:flex}.story-action-menu button:hover,.story-action-menu button:focus-visible{color:#f0e9dd;background:#302d27;outline:0}.story-action-menu button.destructive{color:#d99a96}.story-action-menu button:disabled{opacity:.5;cursor:wait}.story-action-menu .action-icon{flex:none;width:15px;height:15px;display:block}.story-menu-audio{grid-template-columns:36px 36px minmax(0,1fr);align-items:stretch;display:grid}.story-menu-audio>span{color:#c8c1b5;align-self:center;padding:9px 10px}.story-action-menu .story-menu-audio>button{border-radius:0;justify-content:center;padding:9px}.story-action-menu .story-menu-audio>button+button{border-left:1px solid #49443a}.design-audio-menu.story-action-menu{position:static}@keyframes story-menu-in{0%{opacity:0;transform:translateY(-3px)scale(.98)}}.story-variants{opacity:.72;align-items:center;gap:5px;width:fit-content;margin-top:2px;margin-bottom:14px;display:inline-flex}.story-variants button{color:#a9a397;cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;width:28px;height:28px;padding:0;font-size:18px;line-height:1;display:inline-grid}.story-variants button:hover:not(:disabled),.story-variants button:focus-visible{color:#ddd5c8;background:#ffffff0e;outline:0}.story-variants button:disabled{opacity:.28;cursor:default}.inline-edit-actions .block-actions-leading,.inline-edit-actions .action-modify,.inline-edit-actions .action-erase-after,.inline-edit-actions{display:none}.floating-edit-toolbar{z-index:89;align-items:center;gap:7px;font:500 12px/1.2 ui-sans-serif,system-ui,sans-serif;display:flex;position:fixed}.floating-edit-toolbar button{color:#bbb3a7;cursor:pointer;background:#201f1b;border:1px solid #454139;border-radius:6px;min-height:34px;padding:7px 10px}.floating-edit-toolbar button:hover{color:#eee7dc;border-color:#756b5b}.floating-edit-toolbar button.primary{border-color:var(--gold);background:var(--gold);color:#17130d;font-weight:750}@media (width<=600px){.floating-edit-toolbar{justify-content:flex-end;top:64px;left:10px;overflow-x:auto;bottom:auto!important;right:10px!important}.floating-edit-toolbar button{white-space:nowrap;min-height:40px}}.block-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;margin-top:8px;font-family:ui-sans-serif,system-ui,sans-serif;display:flex}.block-actions-leading{align-items:center;gap:7px;margin-right:auto;display:flex}.block-action{color:#b9b1a4;cursor:pointer;background:#1d1c18;border:1px solid #454139;border-radius:6px;min-height:36px;padding:7px 10px;font-size:12px}.block-action:hover{color:#eee7dc;border-color:#8d806b}.block-action.primary{color:#17130d;border-color:var(--gold);background:var(--gold);font-weight:750}.block-action.destructive{color:#e69b9b;border-color:#693b3b}.block-action:disabled{opacity:.45;cursor:not-allowed}.action-icon{display:none}.modify-box{background:#1d1b16;border:1px solid #554a36;border-radius:8px;gap:9px;margin-top:12px;padding:14px;font-family:ui-sans-serif,system-ui,sans-serif;display:grid}.modify-box label{color:var(--gold);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:750}.modify-box textarea{min-height:84px;font:14px/1.5 ui-sans-serif,system-ui,sans-serif}.modify-box p{color:#8d877d;margin:0;font-size:12px}.variants{color:#777;align-items:center;gap:4px;font:12px ui-sans-serif,system-ui,sans-serif;display:flex}.message-info-backdrop{z-index:200;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#050504d1;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.message-info-modal{color:#e8e2d7;background:#171714;border:1px solid #403a30;border-radius:14px;width:min(620px,100%);max-height:min(800px,100dvh - 48px);padding:28px;font-family:ui-sans-serif,system-ui,sans-serif;overflow:auto;box-shadow:0 28px 90px #000000b3}.message-info-heading{border-bottom:1px solid #34312a;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding-bottom:20px;display:flex}.message-info-heading small,.message-info-cost>span{color:#b99b61;letter-spacing:.1em;font-size:10px;font-weight:750}.message-info-modal h2{color:#eee5d6;margin:5px 0 0;font:500 29px Georgia,serif}.message-info-close{color:#9b9387;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;padding:0;transition:background .15s,color .15s;display:grid}.message-info-close svg{width:17px;height:17px}.message-info-close:hover,.message-info-close:focus-visible{color:#eee5d6;background:#27251f}.message-info-close:focus-visible{outline-offset:2px;outline:2px solid #d7a94f}.message-info-cost{background:#211e18;border:1px solid #4b4232;border-radius:10px;gap:3px;padding:18px 20px;display:grid}.message-info-cost strong{color:#e3bc72;font:500 30px Georgia,serif}.message-info-cost small,.message-info-date{color:#817a70;font-size:11px}.message-info-metrics{background:#191a16;border:1px solid #34312a;border-radius:10px;grid-template-columns:1fr 1fr;gap:0;margin:16px 0 22px;display:grid}.message-info-metrics>div{border-bottom:1px solid #34312a;gap:5px;min-width:0;padding:15px 18px;display:grid}.message-info-metrics>div:nth-child(odd){border-right:1px solid #34312a}.message-info-metrics>div:last-child{border-bottom:0}.message-info-metrics dt{color:#8d867b;font-size:11px}.message-info-metrics dd{color:#e8e2d7;margin:0;font-size:15px;font-weight:650}.message-info-stages{gap:10px;margin-bottom:18px;display:grid}.message-info-stages article{background:#191a16;border:1px solid #34312a;border-radius:10px;gap:7px;min-width:0;padding:17px 18px;display:grid}.message-info-stages article>div{flex-wrap:wrap;justify-content:space-between;gap:5px 12px;display:flex}.message-info-stages article b{color:#d9d1c5;font-size:12px}.message-info-stages article span,.message-info-stages article small{overflow-wrap:anywhere;color:#9b9387;text-align:right;font-size:11px}.message-info-stages article>small{text-align:left}.message-info-direction{border-top:1px solid #34312a;margin-top:7px;padding-top:12px}.message-info-direction summary{cursor:pointer;color:#d7a94f;font-size:12px}.message-info-direction pre{overflow-wrap:anywhere;white-space:pre-wrap;color:#e6ddce;background:#1a1a16;border:1px solid #494335;border-radius:5px;margin:10px 0 2px;padding:11px;font-family:inherit;font-size:12px;line-height:1.5}.message-info-direction>small{color:#a9a294;text-align:left;margin-top:8px;font-size:11px;display:block}.message-info-query{margin:4px 12px 10px}.message-info-request{color:#706a62!important}.message-info-retrieval{background:#191a16;border:1px solid #34312a;border-radius:10px;margin-bottom:10px}.message-info-retrieval>summary{color:#d9d1c5;cursor:pointer;justify-content:space-between;gap:12px;padding:15px 18px;font-size:13px;font-weight:700;display:flex}.message-info-retrieval>summary small,.message-info-retrieval>small,.message-info-retrieval>p{color:#8d867b}.message-info-retrieval>p,.message-info-retrieval>small{margin:0;padding:0 12px 6px;font-size:11px;display:block}.message-info-match-list{gap:7px;padding:7px 12px 12px;display:grid}.message-info-match-list article{border-top:1px solid #302d28;gap:4px;padding-top:8px;display:grid}.message-info-match-list article>div{justify-content:space-between;gap:12px;display:flex}.message-info-match-list b{color:#d9d1c5;font-size:12px}.message-info-match-list strong{color:#e3bc72;font-size:12px}.message-info-match-list small{color:#928a7e;font-size:11px}.message-info-image-candidate{overflow-wrap:anywhere;background:#191a16;border:1px solid #34312a;border-radius:5px;min-width:0;padding:10px 12px}.message-info-image-candidate ol{color:#bcb3a5;margin:8px 0 0;padding-left:20px;font-size:12px;line-height:1.5}.message-info-image-candidate li+li{margin-top:5px}.embedding-upgrade{color:#c9ab72;border:1px solid #4a4234;border-radius:999px;margin-left:7px;padding:2px 6px;font-size:10px;font-weight:700;display:inline-block}.embedding-sticky{color:#a7c58b!important}.streaming{opacity:.9}.streaming-placeholder{display:grid}.streaming-placeholder>.block{grid-area:1/1;min-width:0}.writing-skeleton{opacity:.55;gap:10px;width:min(100%,660px);padding-block:5px 8px;display:grid}.writing-skeleton.is-hidden{visibility:hidden}.writing-skeleton.is-hidden span:after{animation:none}.writing-skeleton span{background:#2a2925;border-radius:999px;width:100%;height:.58em;display:block;overflow:hidden}.writing-skeleton span:after{content:"";background:linear-gradient(90deg,#0000,#dac49724,#0000);width:42%;height:100%;animation:1.8s ease-in-out infinite writing-skeleton-pulse;display:block}.writing-skeleton span:nth-child(2){width:86%}.writing-skeleton span:nth-child(3){width:58%}.writing-skeleton span:nth-child(2):after{animation-delay:.12s}.writing-skeleton span:nth-child(3):after{animation-delay:.24s}.writing-skeleton.directing{opacity:.9}.writing-skeleton.directing span{background:linear-gradient(90deg,#704719,#8b591f)}.writing-skeleton.directing span:after{background:linear-gradient(90deg,#0000,#ffcd71ad,#0000)}@keyframes writing-skeleton-pulse{0%{transform:translate(-110%)}to{transform:translate(240%)}}@media (prefers-reduced-motion:reduce){.writing-skeleton span:after{animation:none}}.cursor{background:var(--gold);width:7px;height:18px;margin-left:3px;animation:1s infinite blink;display:inline-block}@keyframes blink{50%{opacity:0}}.composer{border-top:1px solid var(--line);background:#151512;flex:none;min-height:30px;position:relative;overflow:hidden}.composer-content{padding:4px 18px max(12px, env(safe-area-inset-bottom))}.composer.is-collapsed .composer-content{visibility:hidden;pointer-events:none}.composer-toggle{color:#8f897e;cursor:pointer;background:#201f1a;border:0;border-radius:0 0 8px 8px;place-items:center;width:64px;height:25px;margin:0 auto;padding:0;display:grid}.composer-toggle:hover,.composer-toggle:focus-visible{color:#dfb85f;background:#29261e;outline:0}.composer-toggle svg{width:19px;height:19px}.action-pills{display:flex;overflow-x:auto}.action-pills button{white-space:nowrap;color:#aaa}.composer textarea{box-sizing:border-box;height:var(--composer-textarea-height,55px);scrollbar-width:none;-ms-overflow-style:none;background:0 0;border:0;border-bottom:1px solid #0000;border-radius:0;min-height:0;outline:none!important}.composer textarea:focus,.composer textarea:focus-visible{border-color:#0000 #0000 #d4a64094;outline:none!important}.composer textarea::-webkit-scrollbar{width:0;height:0;display:none}.composer-xsm{--composer-textarea-height:42px}.composer-sm{--composer-textarea-height:55px}.composer-med{--composer-textarea-height:76px}.composer-lrg{--composer-textarea-height:104px}.composer.surface-blocked{opacity:.55}.composer.surface-blocked textarea{cursor:not-allowed}.composer-bottom{justify-content:space-between;display:flex}.composer-send{color:#e2ad27;cursor:pointer;background:0 0;border:1px solid #8b6a1c;border-radius:3px;justify-content:center;align-items:center;gap:9px;min-width:82px;min-height:44px;padding:9px 14px;font-weight:700;display:inline-flex}.composer-send svg{stroke-width:1.8px;width:17px;height:17px}.composer-send:hover:not(:disabled){color:#f0bd3d;background:#d4a64012;border-color:#c29325}.composer-send:disabled{opacity:.4;cursor:not-allowed}.composer-bottom button:not(.btn):not(.composer-send){color:#999;cursor:pointer;background:0 0;border:0;padding:10px}.scene-gallery-trigger svg{stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px;display:block}.scene-gallery-trigger:hover{color:#e2bd72!important}.drawer-backdrop{z-index:50;background:#0009;justify-content:flex-end;animation:.18s ease-out drawer-backdrop-in;display:flex;position:fixed;inset:0}.drawer{border-left:1px solid var(--line);background:#171714;width:min(620px,100%);height:100%;animation:.22s cubic-bezier(.22,1,.36,1) drawer-in;box-shadow:-20px 0 60px #0008}@keyframes drawer-backdrop-in{0%{background:0 0}}@keyframes drawer-in{0%{transform:translate(28px)}}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:64px;padding:0 22px;display:flex}.drawer-head h2{text-transform:capitalize;font:500 24px Georgia,serif}.drawer-body{height:calc(100% - 64px);padding:24px;overflow-y:auto}.drawer.account-drawer{background:#151512;width:min(390px,100%)}.account-drawer .drawer-body{padding:0}.account-panel{flex-direction:column;min-height:100%;display:flex}.account-identity{border-bottom:1px solid var(--line);align-items:center;gap:18px;padding:30px 24px;display:flex}.account-avatar-wrap{flex:none;position:relative}.account-avatar{background:#242119;border-radius:24px;width:76px;height:76px;display:block;box-shadow:0 0 0 1px #4b473e,0 12px 32px #0000003d}.account-avatar-wrap span{background:#79a96b;border:3px solid #151512;border-radius:50%;width:15px;height:15px;position:absolute;bottom:-2px;right:-2px}.account-identity h3{color:#eee5d7;overflow-wrap:anywhere;margin:5px 0 0;font:500 24px/1.15 Georgia,serif}.account-identity .eyebrow{margin:0}.account-handle{color:#938b7e;margin:5px 0 0;font-size:13px}.account-details{gap:1px;padding:20px 24px;display:grid}.account-details div{border-bottom:1px solid #292823;gap:5px;padding:14px 0;display:grid}.account-details span{color:#81796d;letter-spacing:.14em;text-transform:uppercase;font-size:10px;font-weight:800}.account-details strong{color:#d7ccb9;overflow-wrap:anywhere;font-size:14px;font-weight:500}.account-details .account-username-row{gap:9px}.account-details .account-username-value{border:0;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.account-username-value button{color:#c5a65f;cursor:pointer;background:0 0;border:1px solid #454036;border-radius:5px;padding:5px 9px;font-size:11px}.account-username-value button:hover{color:#efd083;border-color:#8a6a32}.account-username-row input{box-sizing:border-box;color:#eee5d7;width:100%;font:inherit;background:#10110f;border:1px solid #66583c;border-radius:6px;padding:10px 11px}.account-username-row input:focus{border-color:#c18f32;outline:2px solid #c18f3233}.account-username-row small{color:#938b7e;font-size:11px;line-height:1.45}.account-username-row small:not(:empty){overflow-wrap:anywhere}.account-settings{border-top:1px solid var(--line);gap:14px;margin:0 24px;padding:24px 0 28px;display:grid}.account-settings .eyebrow{margin:0 0 2px}.account-settings .model-picker-button{text-align:left;width:100%;margin:0;padding:15px 16px}.account-settings .field{gap:8px;margin:0;display:grid}.account-settings .field>span{color:#aaa397;letter-spacing:.1em;text-transform:uppercase;font-size:11px;font-weight:700}.account-settings .field select{width:100%}.account-settings .field small{color:#aaa397;font-size:12px;line-height:1.45}.gem-amount{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.gem-amount img{object-fit:contain;width:18px;height:18px}.generation-summary-modal,.generation-summary-reference{width:min(480px,100%)}.generation-summary{gap:14px;display:grid}.generation-info-view-switch{margin-bottom:18px}.generation-summary-cost>.eyebrow{margin:0 0 12px}.generation-summary-cost>strong{color:#e8d9b7;font:500 34px/1.2 Georgia,serif}.generation-summary-cost .gem-amount{gap:8px}.generation-summary-cost .gem-amount img{width:28px;height:28px}.generation-summary-cost .gem-amount small{color:#aaa195;font:12px ui-sans-serif,system-ui,sans-serif}.generation-summary-counts{margin:0}.generation-summary-counts>div:last-child{grid-column:1/-1}.generation-summary-counts dt{color:#aaa195;font-size:11px}.generation-summary-counts dd{color:#e8d9b7;margin:4px 0 0;font:500 25px/1.2 Georgia,serif}.gem-usage-panel{background:#191914;border:1px solid #403a30;border-radius:10px;padding:16px}.gem-shop-heading,.gem-pack,.gem-purchase-result{justify-content:space-between;align-items:center;gap:12px;display:flex}.gem-shop-heading .eyebrow{margin:0}.gem-shop-balance{gap:6px;display:grid}.gem-shop-balance small{color:#aaa195;font-size:11px}.gem-shop-balance strong{color:#e8d9b7;font:500 25px/1.15 Georgia,serif}.gem-shop-panel .gem-usage-note{margin:0}.gem-pack-list{gap:8px;display:grid}.gem-pack{background:#1c1b17;border:1px solid #403a30;border-radius:8px;padding:10px 12px}.gem-pack>span{font-size:13px}.gem-pack .btn{flex-shrink:0;padding:8px 12px;font-size:12px}.gem-purchase-result{color:#e8d9b7;background:#211e17;border:1px solid #66583c;border-radius:8px;padding:12px;font-size:12px;line-height:1.5}.gem-purchase-result .btn{padding:6px 8px;font-size:11px}.gem-purchase-entry{justify-content:space-between;align-items:center;gap:12px;padding:10px;font-size:12px;display:flex}.gem-purchase-entry>span{gap:4px;display:grid}.gem-purchase-entry>span:last-child{text-align:right}.gem-usage-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.gem-usage-totals>div{background:#211e17;border:1px solid #453e30;border-radius:8px;gap:4px;padding:12px;display:grid}.gem-usage-totals small,.gem-history-entry small{color:#aaa195;font-size:11px}.gem-usage-totals strong{color:#e8d9b7;font:500 22px/1.1 Georgia,serif}.gem-usage-note,.gem-reference-note{color:#aaa195;margin:10px 0 0;font-size:11px;line-height:1.5;display:block}.gem-history{border-top:1px solid #403a30;margin-top:12px;padding-top:11px}.gem-history>summary{cursor:pointer;color:#d8c69d;font-size:12px;font-weight:700}.gem-history-entry{background:#1c1b17;border:1px solid #403a30;border-radius:8px;margin-top:9px}.gem-history-entry>button{color:#e8e2d7;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px;display:flex}.gem-history-entry>button>span:first-child{gap:3px;display:grid}.gem-history-detail{color:#aaa195;gap:7px;padding:0 10px 10px;font-size:11px;display:grid}.gem-history-detail>div{border-top:1px solid #34312a;justify-content:space-between;gap:12px;padding-top:6px;display:flex}@media (prefers-reduced-motion:reduce){.gem-usage-panel,.gem-history-entry{scroll-behavior:auto}}.profile-model-control{gap:10px;display:grid}.profile-model-control-head{gap:3px;display:grid}.profile-model-control-head span{color:#e5ddd0;font-size:14px;font-weight:700}.profile-model-control-head small{color:#8f887c;font-size:12px}.profile-model-dropdown{position:relative}.profile-model-trigger{width:100%;color:inherit;text-align:left;cursor:pointer;background:#241f16;border:1px solid #856d40;border-radius:8px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;display:grid}.profile-model-trigger:hover{background:#2b2418}.profile-model-trigger>span{gap:2px;min-width:0;display:grid}.profile-model-trigger b{overflow-wrap:anywhere;color:#e5ddd0;font-size:13px}.profile-model-trigger small{color:#938b7e;font-size:11px}.profile-model-chevron{color:#8a8579;flex:0 0 16px;width:16px;height:16px;transition:color .15s,transform .15s}.profile-model-trigger:hover .profile-model-chevron{color:#d6a940}.profile-model-dropdown.open .profile-model-chevron{color:#d6a940;transform:rotate(180deg)}.profile-model-menu{z-index:4;background:#151512;border:1px solid #4a4438;border-radius:10px;gap:5px;padding:6px;display:grid;position:absolute;inset:calc(100% + 6px) 0 auto;box-shadow:0 18px 35px #0009}.profile-model-menu .profile-recent-option,.profile-model-menu .profile-show-all{background:0 0}.profile-model-menu .profile-recent-option:hover,.profile-model-menu .profile-show-all:hover{background:#211f19}.profile-recent-models{gap:7px;display:grid}.profile-recent-option,.profile-show-all{width:100%;min-width:0;color:inherit;text-align:left;cursor:pointer;background:#1a1915;border:1px solid #39352c;border-radius:8px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.profile-recent-option:hover,.profile-show-all:hover{background:#211f19;border-color:#8d7650}.profile-recent-option.selected{background:#241f16;border-color:#856d40}.profile-recent-option>span:not(.model-avatar),.profile-show-all{gap:2px;min-width:0;display:grid}.profile-recent-option b,.profile-show-all b{overflow-wrap:anywhere;color:#e5ddd0;font-size:13px}.profile-recent-option small,.profile-show-all small{color:#938b7e;font-size:11px}.profile-recent-option strong{color:#dfbb70;letter-spacing:.08em;text-transform:uppercase;font-size:10px}.profile-show-all{grid-template-columns:48px minmax(0,1fr)}.profile-show-all small{display:none}.profile-show-all>span{color:#dfbb70;border:1px dashed #66583c;border-radius:50%;place-items:center;width:40px;height:40px;line-height:1;display:grid}.profile-show-all>span svg{width:20px;height:20px}.profile-show-all>span path,.profile-model-close path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px}.model-avatar{object-fit:cover;background:#242119;border-radius:12px;width:48px;height:48px;display:block}.profile-model-backdrop{z-index:120;background:#050504d9;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.profile-model-modal{box-sizing:border-box;background:#151512;border:1px solid #4a4438;border-radius:14px;grid-template-rows:auto auto auto minmax(0,1fr);width:min(650px,100%);height:min(760px,100dvh - 44px);display:grid;overflow:hidden;box-shadow:0 28px 90px #000b}.profile-model-modal-head{box-sizing:border-box;border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;min-height:126px;padding:24px 26px 22px;display:flex}.profile-model-modal-head>div{min-width:0}.profile-model-modal-head h2{color:#eee5d7;margin:5px 0 8px;font:500 26px/1.15 Georgia,serif}.profile-model-modal-head p:last-child{color:#989083;margin:0;font-size:13px;line-height:1.4}.profile-model-close{color:#c8c0b4;cursor:pointer;background:0 0;border:1px solid #454036;border-radius:50%;align-content:center;place-items:center;width:34px;height:34px;padding:0;line-height:0;display:grid}.profile-model-close svg{width:16px;height:16px;margin:0;display:block}.profile-model-current{background:#211c14;border:1px solid #66583c;border-radius:10px;align-items:center;gap:13px;margin:18px 26px 4px;padding:12px;display:flex}.profile-model-current .model-avatar{border-radius:12px;width:48px;height:48px}.profile-model-current div{gap:3px;display:grid}.profile-model-current span{color:#b3985c;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:800}.profile-model-current b{color:#eee5d7;font-size:15px}.profile-model-list{scrollbar-gutter:stable;align-content:start;gap:22px;min-height:0;padding:18px 26px 28px;display:grid;overflow-y:auto}.profile-model-search{min-width:0;padding:14px 26px 0}.profile-model-search .discovery-search{box-sizing:border-box;width:100%}.profile-model-search .discovery-search:focus-within{border-color:var(--gold)}.profile-model-search .search-clear{top:50%;transform:translateY(-50%)}.profile-model-search .search-clear svg{width:14px;height:14px;display:block}.profile-model-search input::-webkit-search-cancel-button{display:none}.profile-model-empty{color:#989083;justify-items:start;gap:12px;font-size:13px;display:grid}.profile-model-empty p{margin:0}.profile-model-tier{gap:7px;display:grid}.profile-model-tier h3{color:var(--gold);letter-spacing:.12em;text-transform:uppercase;margin:0 0 2px;font-size:11px}.profile-model-card{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;display:grid}.profile-model-card:hover{background:#211f19;border-color:#454036}.profile-model-card.selected{background:#241f16;border-color:#856d40}.profile-model-card .model-avatar{border-radius:13px;width:52px;height:52px}.profile-model-copy{gap:4px;min-width:0;display:grid;overflow:hidden}.profile-model-copy b{color:#e5ddd0;font-size:14px}.profile-model-copy small,.profile-model-copy em{overflow-wrap:anywhere;color:#aaa195;font-size:11px;font-style:normal;line-height:1.4;display:block}.profile-model-copy em{color:#80796e}.profile-model-card strong{color:#dfbb70;letter-spacing:.08em;text-transform:uppercase;font-size:10px}.account-panel-footer{padding:20px 24px max(24px, env(safe-area-inset-bottom));border-top:1px solid var(--line);margin-top:auto}.account-view-profile{color:#d8bd78;text-align:center;cursor:pointer;background:#211c14;border:1px solid #51432c;border-radius:7px;width:100%;margin-bottom:10px;padding:11px 14px}.account-view-profile:hover{color:#f0d48d;background:#292116;border-color:#8a6a32}.account-sign-out{color:#d7b6aa;cursor:pointer;background:0 0;border:1px solid #57433c;border-radius:6px;width:100%;padding:11px 14px;font-size:13px;font-weight:750}.account-sign-out:hover{color:#f1d2c8;background:#7d483a1a;border-color:#9a6656}.account-sign-out:disabled{opacity:.5;cursor:wait}.drawer.scene-drawer{background:#121312;border-left-color:#35342f;width:min(420px,100%);box-shadow:-18px 0 50px #0000002e}@media (width>=901px){.drawer-backdrop.scene-backdrop{pointer-events:none}.drawer-backdrop.scene-backdrop .scene-drawer{pointer-events:auto}}.scene-drawer .drawer-head{border-bottom-color:#35342f;height:76px;padding:0 28px}.scene-drawer-heading>p{color:#d7a941;letter-spacing:.2em;text-transform:uppercase;margin:0 0 4px;font-size:10px;font-weight:700}.scene-drawer-heading>div{align-items:baseline;gap:12px;display:flex}.scene-drawer .scene-drawer-heading h2{color:#f1eadf;text-transform:none;margin:0;font:500 25px/1 Georgia,serif}.scene-drawer-heading span{color:#88857d;font-variant-numeric:tabular-nums;font-size:12px}.scene-drawer .drawer-head>.icon{color:#aaa69d;border-radius:4px;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:8px;display:grid}.scene-drawer .drawer-head>.icon:hover{color:#efe8dc;background:#211f1a}.scene-drawer .drawer-head>.icon svg{width:16px;height:16px}.scene-drawer .drawer-body{height:calc(100% - 76px);padding:0;overflow:hidden}.drawer.cards-drawer{background:#121312;border-left-color:#35342f;width:min(624px,100%);box-shadow:-18px 0 50px #0000002e}.cards-drawer>.drawer-body{height:100%;padding:0;overflow:hidden}.cards-panel,.card-editor-panel{background:#121312;flex-direction:column;height:100%;min-height:0;display:flex}.cards-panel-head{border-bottom:1px solid #35342f;flex:0 0 76px;justify-content:space-between;align-items:center;height:76px;padding:0 28px;display:flex}.cards-panel-head p{color:#d7a941;letter-spacing:.2em;text-transform:uppercase;margin:0 0 4px;font-size:10px;font-weight:700}.cards-panel-head>div>div{align-items:baseline;gap:12px;display:flex}.cards-panel-head h2{color:#f1eadf;margin:0;font:500 25px/1 Georgia,serif}.cards-panel-head span{color:#88857d;font-variant-numeric:tabular-nums;font-size:12px}.cards-panel-head>button,.card-editor-head>button{color:#aaa69d;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:0 0 32px;place-items:center;width:32px;height:32px;padding:8px;display:grid}.cards-panel-head>button:hover,.card-editor-head>button:hover{color:#efe8dc;background:#211f1a}.cards-panel-head>button svg,.card-editor-head>button svg{width:16px;height:16px}.cards-panel-controls{border-bottom:1px solid #2c2c28;flex:none;padding:20px 24px}.cards-panel-controls>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.cards-panel-controls>div:first-child>p{color:#aaa49a;margin:0;font-size:14px;line-height:1.4}.cards-panel-controls>div:first-child>button{color:#e2c477;cursor:pointer;background:#1c1911;border:1px solid #625331;border-radius:6px;flex:none;align-items:center;gap:8px;padding:8px 12px;font-size:12px;font-weight:600;display:flex}.cards-panel-controls>div:first-child>button:hover{background:#292215;border-color:#b18b3b}.cards-panel-controls>div:first-child>button svg{width:14px;height:14px}.cards-search{margin-top:16px;display:block;position:relative}.cards-search>svg{color:#85827a;pointer-events:none;width:16px;height:16px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.cards-search input{color:#eee7db;background:#181a18;border:1px solid #48463e;border-radius:6px;width:100%;height:40px;padding:0 12px 0 36px;font-size:14px}.cards-search input::placeholder{color:#85827a}.cards-search input:focus{border-color:#bd9032;box-shadow:0 0 0 1px #bd9032}.card-filters{align-items:center;gap:8px;margin-top:16px;display:flex;overflow-x:auto}.card-filters button{color:#85827a;cursor:pointer;letter-spacing:.12em;text-transform:uppercase;background:0 0;border:1px solid #393831;border-radius:999px;padding:6px 12px;font-size:10px;font-weight:600}.card-filters button:hover{color:#c3b9a7;border-color:#68614f}.card-filters button.active{color:#e6c66f;background:#332712;border-color:#a17d2d}.card-library{flex:1;min-height:0;padding:20px;overflow-y:auto}.card-library-heading{color:#77746c;letter-spacing:.18em;text-transform:uppercase;justify-content:space-between;margin-bottom:12px;padding:0 4px;font-size:10px;font-weight:700;display:flex}.card-library-list{gap:12px;display:grid}.card-library-list>article{background:#161715;border:1px solid #34332d;border-radius:8px;transition:border-color .15s,background .15s;overflow:hidden}.card-library-list>article:hover{border-color:#4b473b}.card-library-list>article.expanded{background:#191812;border-color:#6e5725}.card-library-row{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:flex-start;gap:12px;padding:16px;display:flex}.card-library-icon{color:#d2ac58;background:#211c11;border:1px solid #494332;border-radius:6px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;margin-top:2px;display:flex}.card-library-icon .sidebar-icon{width:14px;height:14px;color:inherit}.card-library-copy{flex:1;min-width:0}.card-library-copy>span{align-items:center;gap:8px;display:flex}.card-library-copy b{color:#eee5d6;white-space:nowrap;text-overflow:ellipsis;font:500 17px Georgia,serif;overflow:hidden}.card-library-copy .origin-badge{letter-spacing:.1em;border-radius:999px;flex:none;padding:3px 8px;font-size:9px;font-style:normal}.card-library-copy .origin-badge.scenario,.card-library-copy .origin-badge.character,.card-library-copy .origin-badge.world{color:#91acc2;background:#222e38}.card-library-copy small{color:#96928a;white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:12px;display:block;overflow:hidden}.card-library-chevron{color:#8a8579;flex:0 0 16px;width:16px;height:16px;margin-top:4px;transition:color .15s,transform .15s}.expanded .card-library-chevron{color:#d6a940;transform:rotate(180deg)}.card-library-details{border-top:1px solid #302e27;padding:12px 16px 16px}.card-library-art{background:#17140e;border:1px solid #4b4029;border-radius:6px;margin-bottom:16px;overflow:hidden}.card-library-art img{object-fit:cover;width:100%;height:176px;display:block}.card-library-art>div{color:#8f846f;letter-spacing:.12em;text-transform:uppercase;justify-content:space-between;padding:8px 12px;font-size:10px;display:flex}.card-trigger-heading{color:#77746c;letter-spacing:.12em;text-transform:uppercase;justify-content:space-between;gap:12px;font-size:10px;display:flex}.card-trigger-heading span:last-child{color:#aaa49a}.card-trigger-list{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.card-trigger-list span{color:#c4bcae;background:#211f1a;border:1px solid #403d34;border-radius:4px;padding:4px 8px;font-size:12px}.card-library-details>p{color:#aaa49a;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:16px 0 0;font-size:12px;line-height:20px;display:-webkit-box;overflow:hidden}.card-library-stats{color:#77746c;letter-spacing:.08em;text-transform:uppercase;gap:8px;margin-top:16px;font-size:10px;display:flex}.card-library-stats span{color:#d0c4b1}.card-library-edit{justify-content:space-between;align-items:center;margin-top:16px;display:flex}.card-library-edit button{color:#9e947f;cursor:pointer;text-underline-offset:4px;background:0 0;border:0;padding:0;font-size:12px;-webkit-text-decoration:underline #5e5036;text-decoration:underline #5e5036}.card-library-edit button:hover{color:#dfbd6c}.card-library-edit svg{color:#69655c;width:16px;height:16px}.card-library-empty{color:#85827a;margin:0;padding:24px 8px;font-size:13px}.cards-panel-footer{color:#85827a;border-top:1px solid #2c2c28;flex:none;padding:16px 24px;font-size:12px}.card-editor-panel{background:#161511}.card-editor-head{-webkit-backdrop-filter:none;backdrop-filter:none;z-index:auto;background:#161511;border-bottom:1px solid #3d382b;flex:none;justify-content:space-between;align-items:flex-start;height:auto;min-height:112px;padding:20px 24px;display:flex;position:static}.card-editor-state{align-items:center;gap:8px;display:flex}.card-editor-state span{color:#e1b95b;letter-spacing:.14em;text-transform:uppercase;background:#2b2413;border:1px solid #80682d;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:700}.card-editor-state i{color:#77746c;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-style:normal}.card-editor-title{color:#f0e7d8;background:0 0;border:0;width:min(360px,100%);margin:12px 0 0;padding:0;font:500 24px Georgia,serif;display:block}.card-editor-title:focus{outline:0;box-shadow:0 1px #80682d}.card-editor-head p{color:#a09a8d;margin:4px 0 0;font-size:12px}.card-editor-head>button{color:#8d887e;margin-top:0}.card-editor-body{gap:20px;min-height:0;padding:24px;display:grid;overflow-y:auto}.card-active-control{background:#1c1b16;border:1px solid #3d392f;border-radius:6px;justify-content:space-between;align-items:center;padding:12px;display:flex}.card-active-control p{color:#d5c9b7;margin:0;font-size:12px;font-weight:500}.card-active-control small{color:#858077;margin-top:4px;font-size:11px;display:block}.card-active-control>button{cursor:pointer;background:#454138;border:0;border-radius:999px;flex:0 0 44px;width:44px;height:24px;padding:0;position:relative}.card-active-control>button.active{background:#c99f3f}.card-active-control>button span{background:#f4ead6;border-radius:50%;width:16px;height:16px;transition:left .15s;position:absolute;top:4px;left:4px}.card-active-control>button.active span{left:24px}.card-editor-field{display:block}.card-editor-field>span{color:#8f897d;letter-spacing:.15em;text-transform:uppercase;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;display:flex}.card-editor-field>span b{font:inherit}.card-editor-field>span i{color:#68645b;letter-spacing:0;text-transform:none;font-size:10px;font-style:normal;font-weight:400}.card-editor-field input,.card-editor-field textarea,.card-editor-field select{color:#eee5d8;background:#10110f;border:1px solid #4b463b;border-radius:6px;width:100%;margin-top:8px;font-size:14px}.card-editor-field input{height:44px;padding:0 12px}.card-editor-field textarea{padding:12px;line-height:24px}.card-editor-field select{height:40px;padding:0 12px}.card-editor-field input:focus,.card-editor-field textarea:focus,.card-editor-field select:focus{border-color:#c39436;box-shadow:0 0 0 1px #c39436}.card-editor-image{background:#1b1a16;border:1px solid #3d392f;border-radius:6px;padding:16px}.card-image-upload{color:#cfbf9f;text-align:center;cursor:pointer;background:#171612;border:1px dashed #615845;border-radius:6px;place-items:center;gap:5px;margin-top:14px;padding:17px 12px;display:grid}.card-image-upload:hover,.card-image-upload:focus-within,.card-image-upload.is-dragging{background:#211d14;border-color:#c9a957}.card-image-upload.is-busy{opacity:.65;cursor:wait}.card-image-upload input{opacity:0;width:1px;height:1px;position:absolute}.card-image-upload b{font-size:12px;font-weight:600}.card-image-upload small{color:#8f897d;font-size:11px}.card-editor-image-heading{justify-content:space-between;align-items:center;display:flex}.card-editor-image-heading p{color:#8f897d;letter-spacing:.15em;text-transform:uppercase;margin:0;font-size:10px;font-weight:700}.card-editor-image-heading small{color:#817b70;margin-top:4px;font-size:12px;display:block}.card-editor-image-heading>span{color:#6c685e;font-size:10px}.card-editor-art{background:#17140e;border:1px solid #4b4029;border-radius:6px;margin-top:16px;overflow:hidden}.card-editor-art img{object-fit:cover;width:100%;height:128px;display:block}.card-editor-art>div{color:#8f846f;letter-spacing:.12em;text-transform:uppercase;justify-content:space-between;padding:8px 12px;font-size:10px;display:flex}.card-editor-art button,.card-remove-image{color:#c9a957;cursor:pointer;background:0 0;border:0}.card-editor-art button:hover,.card-remove-image{color:#9b7770;margin-top:10px;padding:0;font-size:11px}.card-editor-details{border-top:1px solid #332f27;padding-top:16px}.card-editor-details summary{color:#9e947f;font-size:12px}.card-editor-details[open]{gap:16px;display:grid}.card-editor-details[open] summary{margin-bottom:2px}.card-editor-actions{border-top:1px solid #332f27;justify-content:space-between;align-items:center;gap:16px;padding-top:20px;display:flex}.card-editor-actions>div{align-items:center;gap:10px;display:flex}.card-editor-actions>div:first-child>span{color:#c8b99e;font-size:12px}.card-editor-actions button{cursor:pointer}.card-editor-actions .card-delete{color:#9b7770;background:0 0;border:0;padding:9px 4px;font-size:12px}.card-editor-actions .card-save{color:#17140d;background:#d4a640;border:0;border-radius:6px;padding:10px 16px;font-size:12px;font-weight:700}.card-editor-actions .card-save:hover{background:#e2b653}.scene-gallery{gap:20px;display:grid}.scene-gallery-intro,.scene-gallery-state{color:#9d9588;margin:0;line-height:1.55}.scene-gallery-state{justify-items:start;gap:12px;display:grid}.scene-gallery-state p{margin:0}.scene-gallery-filters{flex-wrap:wrap;gap:8px;display:flex}.scene-gallery-filters button{color:#aaa092;font:inherit;cursor:pointer;text-transform:capitalize;background:0 0;border:1px solid #494237;border-radius:999px;padding:7px 12px;font-size:11px}.scene-gallery-filters button:hover,.scene-gallery-filters button.active{color:#e8d6a6;background:#c8a9611c;border-color:#c8a961}.scene-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.scene-card{background:#1d1b17;border:1px solid #3d3931;border-radius:12px;min-width:0;overflow:hidden}.scene-card-image{aspect-ratio:4/3;cursor:zoom-in;background:#0d0d0b;border:0;width:100%;padding:0;display:block;position:relative;overflow:hidden}.scene-card-image img{object-fit:cover;width:100%;height:100%;transition:transform .18s ease-out}.scene-card-image span{color:#e6ded1;opacity:0;inset-inline:10px;background:#090807c9;border-radius:7px;padding:7px 9px;font-size:11px;transition:opacity .16s ease-out;position:absolute;bottom:10px}.scene-card-image:hover img{transform:scale(1.025)}.scene-card-image:hover span,.scene-card-image:focus-visible span{opacity:1}.scene-card-placeholder{aspect-ratio:4/3;color:#837b6e;background:linear-gradient(145deg,#29241c,#131310);place-items:center;font-size:12px;display:grid}.scene-card-copy{gap:7px;padding:15px;display:grid}.scene-card-copy small{color:#c8a961;letter-spacing:.07em;text-transform:uppercase;font-size:10px}.scene-card-copy h3{overflow-wrap:anywhere;color:#e7dfd2;margin:0;font:500 21px/1.15 Georgia,serif}.scene-card-copy p{-webkit-line-clamp:4;color:#a79f92;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.5;display:-webkit-box;overflow:hidden}.image-lightbox{z-index:110;background:#050504f2;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.image-lightbox-content{background:#11110f;border-radius:12px;max-width:min(1200px,100%);max-height:100%;position:relative;overflow:hidden;box-shadow:0 30px 90px -30px #000}.image-lightbox-content>img{object-fit:contain;max-width:100%;max-height:calc(100dvh - 48px);display:block}.image-lightbox-caption{inset-inline:0;background:#080706d9;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;display:flex;position:absolute;bottom:0}.image-lightbox-caption h2{overflow-wrap:anywhere;margin:0;font:500 24px/1.2 Georgia,serif}.image-lightbox-caption .icon{color:#eee7dc;min-width:44px;min-height:44px;font-size:24px}.context-stats{background:#222019;border-radius:8px;align-items:center;gap:10px;padding:16px;display:flex}.context-stats b{color:var(--gold);font-size:25px}.context-stats span{color:#999;margin-left:auto;font-size:12px}.context-stats small{color:#aaa397;margin-top:2px;font-size:11px;display:block}.context-allocation{background:#1b1914;border:1px solid #3d382d;border-radius:8px;margin:14px 0 16px;padding:14px}.context-allocation-head{justify-content:space-between;align-items:start;gap:16px;display:flex}.context-allocation-head h3{color:#e6dccb;margin:0 0 4px;font-size:14px}.context-allocation-head p{color:#aaa397;max-width:54ch;margin:0;font-size:12px;line-height:1.45}.context-allocation-head>small{color:#c7b681;font-variant-numeric:tabular-nums;flex:none;font-size:11px}.context-allocation-bar{height:32px;margin:14px 8px 7px;position:relative}.context-allocation-track{background:#29251d;border-radius:5px;display:flex;position:absolute;inset:11px 0;overflow:hidden}.context-allocation-track .summary{width:var(--summary-end);background:#665a43}.context-allocation-track .deep{width:calc(var(--deep-end) - var(--summary-end));background:#987845}.context-allocation-track .raw{background:#d0a952;flex:1}.context-allocation-bar input[type=range]{z-index:3;appearance:none;pointer-events:none;background:0 0;width:100%;height:32px;margin:0;padding:0;position:absolute;inset:0}.context-allocation-bar input[type=range]:last-child{z-index:2}.context-allocation-bar input[type=range]::-webkit-slider-runnable-track{background:0 0;height:10px}.context-allocation-bar input[type=range]::-webkit-slider-thumb{appearance:none;cursor:ew-resize;pointer-events:auto;background:#eee3ca;border:2px solid #191711;border-radius:5px;width:18px;height:24px;margin-top:-7px;box-shadow:0 2px 7px #00000073}.context-allocation-bar input[type=range]::-moz-range-track{background:0 0;height:10px}.context-allocation-bar input[type=range]::-moz-range-thumb{cursor:ew-resize;pointer-events:auto;background:#eee3ca;border:2px solid #191711;border-radius:5px;width:16px;height:22px;box-shadow:0 2px 7px #00000073}.context-allocation-bar input[type=range]:focus-visible{outline:none}.context-allocation-bar input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid var(--gold);outline-offset:3px}.context-allocation-bar input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid var(--gold);outline-offset:3px}.context-allocation-legend{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:11px;display:grid}.context-allocation-legend span{color:#aaa397;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;min-width:0;display:grid}.context-allocation-legend i{background:#665a43;border-radius:2px;width:8px;height:8px}.context-allocation-legend .deep i{background:#987845}.context-allocation-legend .raw i{background:#d0a952}.context-allocation-legend b{color:#e6d6a8;font-variant-numeric:tabular-nums}.rag-allocation{border-top:1px solid #383329;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding-top:13px;display:flex}.rag-allocation>div:first-child{gap:3px;display:grid}.rag-allocation b{color:#e6dccb;font-size:12px}.rag-allocation small{color:#aaa397;font-size:11px;line-height:1.4}.rag-allocation [role=group]{flex:none;gap:4px;display:flex}.rag-allocation button{color:#aaa397;cursor:pointer;background:#211e18;border:1px solid #494235;border-radius:5px;padding:5px 8px;font-size:11px}.rag-allocation button.active{color:#f1e5c9;background:#5c4828;border-color:#a88649}.context-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0 16px;display:grid}.context-breakdown>div{background:#1b1914;border:1px solid #3d382d;border-radius:6px;justify-content:space-between;gap:8px;padding:8px 10px;font-size:12px;display:flex}.context-breakdown span{color:#aaa397}.context-breakdown b{color:#e6d6a8}.context-breakdown .context-remaining{border-color:#65572f}.generation-controls{max-width:none}.control-intro{color:#aaa397;border-left:2px solid var(--gold);background:#211e17;padding:12px 14px;line-height:1.55}.range-field span{justify-content:space-between;gap:12px;display:flex}.range-field span b{color:var(--gold);font-size:14px}.range-field small{color:#827c72;line-height:1.45}.control-help{color:#827c72;margin:-10px 0 0;font-size:12px;line-height:1.45}.usage-note{color:#aaa;background:#20251e;border:1px solid #394537;border-radius:8px;gap:5px;padding:14px;font-size:13px;display:grid}.usage-note b{color:#9bc394}.range-field input[type=range]{accent-color:var(--gold);padding:0}.render-choice-row,.render-fade-row{align-items:center;gap:7px;display:flex}.render-choice-row button,.render-fade-row button{color:#a8a196;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;background:#171612;border:1px solid #3f3b32;border-radius:5px;min-height:32px;padding:6px 10px;font:700 10px/1 ui-sans-serif,system-ui,sans-serif}.render-choice-row button{flex:1}.render-choice-row button.active,.render-fade-row button.active{color:#f0c875;background:#2b2418;border-color:#b8883e}.render-fade-row input[type=range]{min-width:0;accent-color:var(--gold);padding:0}.model-note{border:1px solid var(--line);color:#aaa;border-radius:8px;grid-template-columns:1fr auto;gap:8px 14px;padding:15px;display:grid}.model-picker-button{border:1px solid var(--line);color:#ddd4c5;text-align:left;cursor:pointer;background:#1b1915;border-radius:8px;gap:5px;width:100%;padding:15px;display:grid}.model-picker-button:hover{border-color:#8d7650}.model-picker-button>span,.model-picker-button small{color:#a59c8e}.model-picker-button>span{letter-spacing:.08em;text-transform:uppercase;font-size:11px}.model-picker-button b{overflow-wrap:anywhere;font-size:15px}.model-picker-button small{font-size:12px;line-height:1.4}.model-picker{gap:22px;display:grid}.model-picker-head{justify-content:space-between;align-items:start;gap:16px;display:flex}.model-picker-head h3{margin:0 0 5px;font:500 25px Georgia,serif}.model-picker-head p{color:#948b7d;margin:0;font-size:13px}.model-tier{gap:8px;display:grid}.model-tier h4{border-bottom:1px solid var(--line);color:var(--gold);letter-spacing:.12em;text-transform:uppercase;margin:0;padding-bottom:8px;font-size:11px}.model-option{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 10px;display:grid}.model-option:hover{background:#211f19;border-color:#454036}.model-option.selected{background:#241f16;border-color:#856d40}.provider-mark{width:34px;height:34px;color:var(--gold);background:#302b21;border-radius:50%;place-items:center;font:700 15px Georgia,serif;display:grid}.model-option-copy{gap:3px;min-width:0;display:grid}.model-option-copy b{overflow-wrap:anywhere;color:#e5ddd0;font-size:14px}.model-option-copy small{color:#aaa195;font-size:12px}.model-option-copy em{color:#80796e;font-size:11px;font-style:normal}.model-selected{color:#dfbb70;font-size:11px;font-weight:700}.model-groups{gap:10px}.model-group{border:1px solid var(--line);background:#191813;border-radius:8px}.model-group.selected{background:#241f16;border-color:#856d40}.model-group-head{align-items:stretch;gap:8px;padding:8px;display:flex}.model-group-select{min-width:0;color:inherit;text-align:left;flex:1;gap:3px;padding:5px 3px;display:grid}.model-group-select b{color:#e5ddd0;font-size:14px}.model-group-select small{overflow-wrap:anywhere;color:#aaa195;font-size:12px}.model-group-editor{border-top:1px solid var(--line);gap:7px;padding:0 10px 10px;display:grid}.model-group-member{grid-template-columns:minmax(0,1fr) 28px 28px 28px;align-items:center;gap:4px;padding-top:7px;display:grid}.model-group-member span{overflow-wrap:anywhere;color:#c8c0b4;font-size:12px}.model-group-member button{color:#aaa195;cursor:pointer;background:0 0;border:1px solid #454036;border-radius:5px;height:28px}.model-group-member button:disabled{opacity:.3;cursor:default}.model-group-add,.model-group-create{flex-wrap:wrap;gap:8px;display:flex}.model-group-add{padding-top:4px}.model-group-add select,.model-group-create input{color:#ddd5c8;background:#15140f;border:1px solid #454036;border-radius:6px;flex:210px;min-width:0;padding:9px 10px}.model-group-create{padding-top:2px}.model-note b{color:#ddd4c5;font-size:13px}.model-note small{color:#7f796f;grid-column:1/-1}.panel-check{border:1px solid var(--line);border-radius:8px;align-items:flex-start;gap:11px;padding:14px;display:flex}.panel-check input{width:20px;min-height:20px;margin-top:2px}.panel-check span{gap:4px;display:grid}.panel-check small{color:#888;line-height:1.4}.panel-check.compact{margin-top:12px}.origin-badge,.proposal-op,.count-badge{color:#aaa;text-transform:uppercase;letter-spacing:.08em;background:#292721;border-radius:999px;padding:4px 7px;font:700 10px ui-sans-serif,system-ui,sans-serif;display:inline-flex}.origin-badge.curator{color:#ddb763;background:#2d2819}.origin-badge.scenario{color:#9db9d8;background:#202934}.origin-badge.manual{color:#c0a9d2;background:#29262e}.history-control{position:relative}.history-menu{z-index:5;border:1px solid var(--line);background:#181714;border-radius:8px;min-width:230px;padding:8px;display:grid;position:absolute;bottom:48px;right:0;box-shadow:0 10px 30px #0009}.history-menu button{color:#bbb;text-align:left;cursor:pointer;background:0 0;border:0;padding:10px}.curator-toggle{background:#211e17;border:1px solid #4b412c;border-radius:9px;justify-content:space-between;align-items:flex-start;gap:18px;padding:17px;display:flex}.curator-toggle p{color:#999;margin:6px 0 0;line-height:1.45}.curator-toggle .switch input{width:22px;min-height:22px}.curator-state{color:#999;text-transform:capitalize}.curator-state.working{color:var(--gold)}.curator-state.error{color:#e99}.curator-state.warning{color:#e8bd6a}.curator-warning{color:#d9cba9;overflow-wrap:anywhere;background:#2a2418;border:1px solid #755f2d;border-radius:8px;gap:7px;padding:12px 14px;line-height:1.45;display:grid}.curator-warning.error{background:#291c1c;border-color:#744}.curator-warning span,.curator-warning small{display:block}.curator-warning ul{margin:10px 0 0;padding-left:20px}.lore-inbox{gap:18px;display:grid}.lore-inbox h3{margin:8px 0 0;font:500 22px Georgia,serif}.count-badge{color:var(--gold);margin-left:5px}.lore-proposal{gap:13px;display:grid}.proposal-op{color:#9bc394;background:#263226;margin-right:6px}.lore-proposal>.spread>b{color:#999;font-size:12px}.proposal-rationale{color:#aaa;margin:0;line-height:1.5}.evidence blockquote{color:#aaa;border-left:2px solid #5c5444;gap:4px;margin:10px 0;padding:10px 12px;font:13px/1.45 ui-sans-serif,system-ui,sans-serif;display:grid}.empty.compact{padding:24px}.context-section{border-bottom:1px solid var(--line);padding:12px 0}.context-section summary{cursor:pointer;justify-content:space-between;display:flex}.context-section small{color:#777}.context-section pre{white-space:pre-wrap;color:#aaa;font:13px/1.6 ui-monospace}.activated-lore>div{grid-template-columns:1fr auto;gap:4px 8px;padding:9px 0;display:grid}.activated-lore>div>small{color:#888;grid-column:1/-1}.warning{color:#e5a67d}.toast{z-index:100;color:#17130d;background:#e2bd72;border-radius:8px;padding:12px 18px;font-weight:700;position:fixed;bottom:30px;left:50%;transform:translate(-50%)}.settings{max-width:700px}.settings-drawer{max-width:none}.settings-drawer>.panel{background:0 0;border:0;margin:0;padding:0}.settings h1{font-size:55px}.mobile-only{display:none}.mobile-menu{margin:0}details summary{cursor:pointer;color:#aaa}@media (width<=900px){.app-shell>header{width:100%;height:calc(56px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);position:fixed;inset:0 0 auto}.app-shell>main{padding-top:calc(56px + env(safe-area-inset-top))}.home-hero{grid-template-columns:1fr;min-height:0}.home-hero-copy{max-width:720px;padding-block:24px 8px}.home-featured-adventure,.home-promise{min-height:380px}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.adventure-shell{height:calc(100dvh - 56px);display:block}.story-meta{display:none}.drawer .story-meta.is-compact{width:100%;display:flex}.story{height:100%}.mobile-only{display:block}.mobile-story-menu{z-index:21;position:fixed;top:4px;left:6px}}@media (width<=760px){.scene-card-grid{grid-template-columns:1fr}.scene-card-image,.scene-card-placeholder{aspect-ratio:16/10}.image-lightbox{padding:0}.image-lightbox-content{border-radius:0;width:100%;max-height:100dvh}.image-lightbox-content>img{width:100%;max-height:100dvh}.banner-editor{padding:16px}.banner-editor-heading{display:grid}.banner-preview{aspect-ratio:16/9;min-height:150px}.banner-editor .row.end .btn{flex:100%}.card-image-editor{grid-template-columns:1fr}header{height:56px;padding-inline:max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right))}.app-shell>header .brand{flex:auto;min-width:0}.app-shell>header .header-actions{flex:none;gap:4px}.app-shell>header .app-nav{gap:0}.app-shell>header .app-nav button,.app-shell>header .auth-button{padding-inline:8px;font-size:12px}.app-shell>header .auth-user-name,.app-shell>header .auth-avatar{display:none}header button,header .brand{min-height:44px}.adventure-header .brand{margin-left:44px}.app-nav button:first-child{display:inline-block}.app-shell>header .brand-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.page{padding:24px 16px 90px}.home-page{gap:68px;padding-top:38px}.home-hero{gap:36px}.home-hero h1{font-size:clamp(44px,14vw,64px)}.home-hero-copy>p{margin:22px 0 26px}.home-featured-adventure,.home-promise{min-height:340px}.home-section-heading{flex-wrap:wrap;align-items:flex-start}.home-section-heading .btn{width:100%}.home-grid{grid-template-columns:1fr}.home-adventure-card,.home-scenario-card{min-height:230px}.home-empty{flex-direction:column;align-items:flex-start}.home-empty .btn{width:100%}.hero{padding:48px 0 65px}.hero h1{font-size:48px}.section-title{align-items:flex-start}.editor .section-title{display:grid}.narrative{padding:24px 17px 32px}.block{font-size:var(--reading-size,18px);line-height:var(--reading-line-height,1.72);margin-bottom:28px}.block-actions{justify-content:flex-start}.block-actions-leading{flex:1 0 100%;width:100%}.message-info-backdrop{place-items:end center;padding:12px}.message-info-modal{border-radius:12px;max-height:calc(100dvh - 24px);padding:17px}.block-action{min-height:44px;padding:9px 12px;font-size:13px}.action-edit,.action-modify,.action-erase-after{width:44px;min-width:44px;padding:9px}.action-edit .action-label,.action-modify .action-label,.action-erase-after .action-label{display:none}.action-edit .action-icon,.action-modify .action-icon,.action-erase-after .action-icon{width:21px;height:21px;margin:auto;display:block}.composer{min-height:30px}.composer-content{padding:4px 12px max(12px, env(safe-area-inset-bottom))}.action-pills button{min-height:44px;padding:10px 14px;font-size:14px;font-weight:650}.composer textarea{height:var(--composer-textarea-height,68px);min-height:0;padding:12px 8px;font-size:17px}.composer-bottom button:not(.btn):not(.composer-send){min-width:44px;min-height:44px;font-size:19px}.composer-bottom .btn{min-width:84px;min-height:46px;font-size:15px}.composer-bottom .composer-send{border:1px solid #8b6a1c;width:46px;min-width:46px;min-height:46px;padding:0}.composer-send span{display:none}.composer-send svg{width:20px;height:20px}.story-top{border:0;height:0;min-height:0;padding:0}.story-top>div,.story-top>.icon:last-child{display:none}.story-top>.mobile-only.icon{z-index:21;display:block;position:fixed;top:4px;left:6px}.story-top .icon,.drawer-head .icon{min-width:48px;min-height:48px;font-size:23px}.story-top small{font-size:14px}.status{font-size:12px}.drawer{border:0}.drawer-body{padding:18px 16px max(28px, env(safe-area-inset-bottom))}.drawer-head{min-height:64px;padding-left:18px}.drawer-head h2{font-size:27px}.field span,.modify-box label{font-size:13px}.field input,.field textarea,input,textarea,select{min-height:46px;font-size:16px}.side-actions button{min-height:52px;padding:14px;font-size:16px}.btn{min-height:46px;font-size:14px}.grid{grid-template-columns:1fr}.row{flex-wrap:wrap}.card .spread{align-items:flex-start}.context-stats{flex-wrap:wrap}.context-stats span{width:100%;margin:0}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}.scripts-panel{gap:14px;display:grid}.script-card{gap:12px;display:grid}.script-toolbar{flex-wrap:wrap}.script-example-picker select{min-width:170px}.script-examples{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;display:grid}.script-examples button{text-align:left;border:1px solid var(--line,#39352d);color:inherit;background:#ffffff06;border-radius:8px;gap:4px;padding:11px 12px;display:grid}.script-examples button:hover{background:#ffffff0d;border-color:#73674f}.script-examples small{color:var(--muted,#9d9588);line-height:1.35}.script-code-editor{border:1px solid var(--line,#39352d);background:#12110f;border-radius:8px;overflow:hidden}.script-code-editor .cm-editor{color:#e7e0d2;background:#12110f}.script-code-editor .cm-content{caret-color:#f0c66d}.script-code-editor .cm-cursor,.script-code-editor .cm-dropCursor{border-left-color:#f0c66d}.script-code-editor .cm-gutters{color:#756f64;background:#171511;border-right-color:#302d27}.script-code-editor .cm-activeLine,.script-code-editor .cm-activeLineGutter{background:#ffffff09}.script-code-editor .cm-tooltip{color:#e8e2d7;background:#1b1a16;border:1px solid #403b31}.script-code-editor .cm-tooltip-autocomplete ul li[aria-selected]{color:#f3d081;background:#3a3020}.script-preview,.script-card details pre,.script-run-details pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#00000040;border-radius:7px;padding:12px;font-size:12px}.drawer.scripts-drawer{background:#121312;border-left-color:#35342f;width:min(560px,100%);box-shadow:-18px 0 50px #0000002e}.scripts-drawer>.drawer-body{height:100%;padding:0;overflow:hidden}.scripts-library-panel,.script-editor-panel{background:#121312;flex-direction:column;height:100%;min-height:0;display:flex}.scripts-panel-head,.script-editor-head{border-bottom:1px solid #35342f;flex:none;justify-content:space-between;align-items:center;display:flex}.scripts-panel-head{height:76px;padding:0 28px}.scripts-panel-head p{color:#d7a941;letter-spacing:.2em;text-transform:uppercase;margin:0 0 4px;font-size:10px;font-weight:700}.scripts-panel-head>div>div{align-items:baseline;gap:12px;display:flex}.scripts-panel-head h2{color:#f1eadf;margin:0;font:500 25px/1 Georgia,serif}.scripts-panel-head span{color:#88857d;font-variant-numeric:tabular-nums;font-size:12px}.scripts-panel-head>button,.script-editor-head>button{color:#aaa69d;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:0 0 32px;place-items:center;width:32px;height:32px;padding:8px;display:grid}.scripts-panel-head>button:hover,.script-editor-head>button:hover{color:#efe8dc;background:#211f1a}.scripts-panel-head>button svg,.script-editor-head>button svg{width:16px;height:16px}.scripts-panel-controls{border-bottom:1px solid #2c2c28;flex:none;padding:20px 24px}.scripts-panel-controls>div:first-child{justify-content:space-between;align-items:center;gap:14px;display:flex}.scripts-panel-controls>div:first-child>p{color:#aaa49a;margin:0;font-size:14px;line-height:1.4}.scripts-panel-controls select{color:#e2c477;cursor:pointer;background-color:#1c1911;border:1px solid #625331;border-radius:6px;max-width:150px;height:34px;padding:0 28px 0 10px;font-size:12px;font-weight:600}.scripts-search{margin-top:16px;display:block;position:relative}.scripts-search svg{color:#85827a;pointer-events:none;width:16px;height:16px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.scripts-search input{color:#eee7db;background:#181a18;border:1px solid #48463e;border-radius:6px;width:100%;height:40px;padding:0 12px 0 36px;font-size:14px}.scripts-search input::placeholder{color:#85827a}.scripts-search input:focus{border-color:#bd9032;box-shadow:0 0 0 1px #bd9032}.scripts-dry-run{color:#9e947f;cursor:pointer;text-underline-offset:4px;background:0 0;border:0;margin-top:12px;padding:0;font-size:11px;-webkit-text-decoration:underline #5e5036;text-decoration:underline #5e5036}.scripts-dry-run:hover{color:#dfbd6c}.scripts-panel-controls .script-preview{color:#c7c0b3;background:#10110f;border:1px solid #34332d;max-height:140px;margin:14px 0 0;overflow:auto}.script-library{flex:1;min-height:0;padding:20px;overflow-y:auto}.script-library-heading{color:#77746c;letter-spacing:.18em;text-transform:uppercase;justify-content:space-between;margin-bottom:12px;padding:0 4px;font-size:10px;font-weight:700;display:flex}.script-library-list{gap:10px;display:grid}.script-library-list article{background:#161715;border:1px solid #34332d;border-radius:8px;transition:border-color .15s,background .15s;overflow:hidden}.script-library-list article:hover{background:#191914;border-color:#5a5039}.script-library-list article>button{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:16px;display:flex}.script-library-icon{color:#d2ac58;background:#211c11;border:1px solid #494332;border-radius:6px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.script-library-icon .sidebar-icon{width:14px;height:14px;color:inherit}.script-library-copy{flex:1;min-width:0}.script-library-copy>span{align-items:center;gap:8px;display:flex}.script-library-copy b{color:#eee5d6;white-space:nowrap;text-overflow:ellipsis;font:500 17px Georgia,serif;overflow:hidden}.script-library-copy i{letter-spacing:.1em;text-transform:uppercase;border-radius:999px;flex:none;padding:3px 8px;font-size:9px;font-style:normal;font-weight:700}.script-library-copy i.active{color:#84c493;background:#1d3325}.script-library-copy i.draft{color:#918d84;background:#282722}.script-library-copy small{color:#96928a;margin-top:5px;font-size:12px;display:block}.script-library-chevron{color:#69655c;flex:0 0 16px;width:16px;height:16px;transition:color .15s,transform .15s}.script-library-list article:hover .script-library-chevron{color:#d6a940;transform:translate(2px)}.script-library-empty{color:#85827a;margin:0;padding:24px 8px;font-size:13px}.scripts-panel-footer{color:#85827a;border-top:1px solid #2c2c28;flex:none;padding:16px 24px;font-size:12px}.script-editor-panel{background:#161511}.script-editor-head{background:#161511;align-items:flex-start;min-height:112px;padding:20px 24px}.script-editor-state{align-items:center;gap:8px;display:flex}.script-editor-state span{color:#e1b95b;letter-spacing:.14em;text-transform:uppercase;background:#2b2413;border:1px solid #80682d;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:700}.script-editor-state i{color:#77746c;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-style:normal}.script-editor-title{color:#f0e7d8;background:0 0;border:0;width:min(390px,100%);margin:12px 0 0;padding:0;font:500 24px Georgia,serif;display:block}.script-editor-title:focus{outline:0;box-shadow:0 1px #80682d}.script-editor-head p{color:#a09a8d;margin:4px 0 0;font-size:12px}.script-editor-body{gap:20px;min-height:0;padding:24px;display:grid;overflow-y:auto}.script-active-control{background:#1c1b16;border:1px solid #3d392f;border-radius:6px;justify-content:space-between;align-items:center;padding:12px;display:flex}.script-active-control p,.script-source-heading p,.script-editor-extensions p{color:#d8d0c2;margin:0;font-size:13px;font-weight:600}.script-active-control small,.script-source-heading small,.script-editor-extensions small{color:#817b70;margin-top:3px;font-size:11px;display:block}.script-active-control>button{cursor:pointer;background:#292925;border:1px solid #56524a;border-radius:999px;width:38px;height:22px;padding:0;position:relative}.script-active-control>button span{background:#8c8981;border-radius:50%;width:14px;height:14px;transition:transform .15s,background .15s;position:absolute;top:3px;left:3px}.script-active-control>button.active{background:#3a2d13;border-color:#9a762b}.script-active-control>button.active span{background:#e0b64e;transform:translate(16px)}.script-inline-message{background:#1c1a15;border:1px solid #494238;border-radius:6px;margin:0;padding:10px 12px;font-size:12px}.script-source-section{min-width:0}.script-source-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.script-source-heading>button{color:#bbb2a3;cursor:pointer;background:0 0;border:1px solid #4b463b;border-radius:5px;padding:6px 10px;font-size:11px}.script-source-heading>button:hover{color:#e1b95b;border-color:#80682d}.script-editor-panel .script-code-editor{border-color:#4b463b;border-radius:6px}.script-editor-panel .cm-editor{min-height:300px}.script-editor-extensions{background:#1b1a16;border:1px solid #3d392f;border-radius:6px;padding:16px}.script-editor-extensions>div:last-child{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.script-editor-extensions label{color:#c4bcae;cursor:pointer;border:1px solid #403d34;border-radius:5px;align-items:center;gap:7px;padding:6px 10px;font-size:12px;display:flex}.script-extension-dependency-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.script-extension-dependency-list span{color:#c4bcae;border:1px solid #403d34;border-radius:5px;padding:6px 10px;font-size:12px}.script-extension-dependency-list code,.script-dependency-list code{color:#a8997f;margin-left:5px;font-size:10px}.script-extension-none{font-style:italic;color:#817b70!important}.script-dependency-backdrop{z-index:120;background:#080907df;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.script-dependency-modal{background:#171814;border:1px solid #66502f;width:min(460px,100vw - 40px);padding:26px;box-shadow:0 24px 80px #000c}.script-dependency-modal h2{color:#f0e7d8;margin:6px 0 10px;font:500 25px Georgia,serif}.script-dependency-modal>p:not(.eyebrow):not(.warning){color:#aaa397;margin:0;font-size:13px;line-height:1.55}.script-dependency-list{gap:7px;margin:18px 0;display:grid}.script-dependency-list span{color:#d8d0c2;background:#1b1a16;border:1px solid #3d392f;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;font-size:12px;display:flex}.script-dependency-list b{font-weight:600}.script-dependency-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.script-dependency-actions button{cursor:pointer;font-size:12px}.script-reference{border-top:1px solid #332f27;padding-top:16px}.script-reference summary{color:#9e947f;cursor:pointer;font-size:12px}.script-reference pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#bdb5a7;background:#10110f;border-radius:6px;padding:12px;font-size:11px}.script-editor-note{color:#817b70;margin:0;font-size:11px;line-height:1.5}.script-editor-actions{border-top:1px solid #332f27;justify-content:space-between;align-items:center;gap:16px;padding-top:20px;display:flex}.script-editor-actions>span{color:#c8b99e;font-size:11px}.script-editor-actions>div{align-items:center;gap:10px;display:flex}.script-editor-actions button{cursor:pointer;font-size:12px}.script-delete{color:#9b7770;background:0 0;border:0;padding:9px 4px}.script-order{color:#aaa49a;background:0 0;border:1px solid #403d34;border-radius:5px;place-items:center;width:30px;height:30px;padding:0;display:grid}.script-order:hover:not(:disabled){color:#e1b95b;border-color:#80682d}.script-order:disabled{opacity:.3;cursor:default}.script-secondary{color:#bbb2a3;background:0 0;border:1px solid #4b463b;border-radius:6px;padding:9px 10px}.script-save{color:#17140d;background:#d4a640;border:0;border-radius:6px;padding:10px 16px;font-weight:700}.script-save:hover{background:#e2b653}@media (width<=520px){.scripts-panel-controls>div:first-child,.script-editor-actions{flex-direction:column;align-items:stretch}.scripts-panel-controls select{width:100%;max-width:none}.script-editor-actions>div{flex-wrap:wrap;justify-content:flex-end}}.script-extensions{flex-wrap:wrap;gap:8px 16px;display:flex}.script-extensions>small{width:100%}.adventure-shell,.adventure-shell>.story-meta,.adventure-shell>.story{position:relative}.oracle-layer{z-index:0;pointer-events:none;background:radial-gradient(circle at 75% 15%, hsl(var(--oracle-tint) 55% 40% / .12), transparent 38%);position:absolute;inset:0}.mood-layer{z-index:0;pointer-events:none;transition-property:background-color;transition-timing-function:ease-in-out;position:absolute;inset:0;-webkit-mask-image:radial-gradient(circle at 72% 18%,#000,#0000 58%);mask-image:radial-gradient(circle at 72% 18%,#000,#0000 58%)}@media (prefers-reduced-motion:reduce){.mood-layer{transition-duration:0s!important}}.oracle-composer{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:8px 0;display:grid}.oracle-composer input{min-width:0}.oracle-composer small{grid-column:1/-1}.dice-launcher{justify-content:flex-end;padding-top:6px;display:flex}.dice-launcher button{padding:5px 10px;font-size:12px}.items-launcher{justify-content:flex-end;align-items:center;gap:10px;min-height:46px;padding:6px 3px 2px 0;display:flex;overflow:visible}.items-bag{color:#e8dcff;background:linear-gradient(145deg,#7e58b43b,#20192bcc);border-color:#cab1ff4d;border-radius:12px;flex:0 0 42px;place-items:center;width:42px;height:42px;padding:8px;display:grid;position:relative;box-shadow:inset 0 1px #ffffff0f,0 3px 12px #0003}.items-bag:hover{color:#fff;background:linear-gradient(145deg,#9165cf57,#281e35e6);border-color:#e0cfff8c}.items-bag>svg{stroke-width:1.8px;width:24px;height:24px}.items-bag>b{color:#f3ecff;text-align:center;background:#654592;border:2px solid #17131d;border-radius:999px;min-width:18px;padding:0 4px;font-size:9px;line-height:14px;position:absolute;bottom:1px;right:1px;transform:translate(35%,35%)}.items-bag>i{background:#f04f5f;border:2px solid #17131d;border-radius:50%;width:10px;height:10px;position:absolute;top:1px;right:1px;transform:translate(25%,-25%);box-shadow:0 0 8px #f04f5fb3}.items-status{color:#bfb2cf;white-space:nowrap;text-overflow:ellipsis;max-width:min(240px,42vw);font-size:11px;font-weight:650;animation:4.5s both items-status-roll;overflow:hidden}.items-bag.changed{animation:.58s cubic-bezier(.36,.07,.19,.97) both items-bag-shake}@keyframes items-bag-shake{0%,to{transform:rotate(0)}18%{transform:rotate(-8deg)translate(-1px)}36%{transform:rotate(7deg)translate(1px)}54%{transform:rotate(-5deg)}72%{transform:rotate(3deg)}}@keyframes items-status-roll{0%{opacity:0;transform:translate(14px)}12%,78%{opacity:1;transform:translate(0)}to{opacity:.55;transform:translate(-4px)}}@media (prefers-reduced-motion:reduce){.items-bag.changed,.items-status{animation:none}}.items-backdrop{z-index:80;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#050408ad;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.items-panel{background:linear-gradient(145deg,#1d1925,#121017);border:1px solid #cab1ff47;border-radius:16px;width:min(560px,100%);max-height:min(760px,100vh - 40px);padding:20px;overflow:auto;box-shadow:0 24px 80px #0000008c}.items-panel>header,.items-panel li>div{justify-content:space-between;align-items:center;gap:14px;display:flex}.items-panel h3{margin:2px 0 0;font-size:22px}.items-panel ul{gap:10px;margin:16px 0 0;padding:0;list-style:none;display:grid}.items-panel li{background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;padding:13px 14px}.items-panel li strong{color:#f0e7ff}.items-item-heading{justify-content:flex-start!important}.items-item-heading b{flex:1}.items-category-icon{color:#eadcff;text-shadow:0 1px 5px #000000b3;background:radial-gradient(circle at 35% 28%,#cab1ff33,#7e58b414);border:1px solid #cab1ff4d;border-radius:12px;flex:0 0 84px;place-items:center;width:84px;height:84px;font:700 42px/1 Georgia,serif;display:inline-grid;box-shadow:0 3px 10px #00000038}.items-category-icon img{object-fit:cover;border-radius:11px;width:100%;height:100%}.items-panel li p{color:var(--muted);margin:7px 0}.items-panel li>small{opacity:.45;font-family:monospace}.items-actions{flex-wrap:wrap;margin-top:12px;justify-content:flex-end!important;display:flex!important}.items-actions button{align-items:center;gap:7px;display:inline-flex}.items-empty{text-align:center;padding:34px 0}.dice-backdrop{z-index:80;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#050408ad;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dice-panel{background:linear-gradient(145deg,#1d1925,#121017);border:1px solid #cab1ff47;border-radius:16px;width:min(520px,100%);max-height:min(760px,100vh - 40px);padding:20px;overflow:auto;box-shadow:0 24px 80px #0000008c}.dice-panel>header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.dice-panel h3{margin:2px 0 0;font-size:22px}.dice-form{grid-template-columns:1fr 1fr;gap:10px;display:grid}.dice-form label{color:var(--muted);gap:5px;font-size:12px;display:grid}.dice-form input,.dice-form select{width:100%}.dice-form .dice-label,.dice-form>button{grid-column:1/-1}.dice-result{background:radial-gradient(circle,#7e58b447,#00000026);border-radius:12px;justify-items:center;gap:9px;margin:18px 0;padding:20px;display:grid}.dice-result>strong{color:#f0e7ff;text-shadow:0 4px 24px #9460e180;font-family:Georgia,serif;font-size:clamp(56px,12vw,84px);line-height:1}.dice-result:not(.rolling)>strong{animation:.38s cubic-bezier(.2,.9,.3,1.25) dice-reveal}.dice-values{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.dice-values span{background:#ffffff14;border:1px solid #ffffff3d;border-radius:9px;place-items:center;min-width:38px;height:38px;padding:0 8px;font-weight:700;display:grid}.dice-values .discarded{opacity:.38;text-decoration:line-through}.dice-values i{color:var(--muted)}.dice-result.rolling .dice-values span{animation:.18s linear infinite alternate dice-tumble}@keyframes dice-tumble{to{transform:rotate(8deg)translateY(-3px)}}@keyframes dice-reveal{0%{opacity:.2;filter:blur(5px);transform:scale(.55)}to{opacity:1;filter:blur();transform:scale(1)}}.dice-empty{text-align:center;padding:24px}.attempt-message{gap:12px;display:grid}.attempt-message-roll{width:fit-content;color:var(--muted);background:#7e58b41c;border:1px solid #cab1ff3d;border-radius:9px;align-items:baseline;gap:7px;padding:7px 12px;display:inline-flex}.attempt-message-roll i{align-self:center;font-style:normal}.attempt-message-roll strong{color:#f0e7ff;font-family:Georgia,serif;font-size:25px;line-height:1}.attempt-only-actions{justify-content:flex-end}.dice-history ol{gap:7px;margin:10px 0 0;padding:0;list-style:none;display:grid}.dice-history li{background:#ffffff0b;border-radius:8px;justify-content:space-between;gap:16px;padding:9px 10px;display:flex}.dice-history li>span{align-items:center;gap:9px;min-width:0;display:flex}.dice-history li>span:last-child{text-align:right;justify-content:flex-end}.dice-history b{font-size:20px}.dice-history small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=540px){.dice-backdrop{align-items:end;padding:0}.dice-panel{border-radius:16px 16px 0 0;max-height:88vh}.dice-form{grid-template-columns:1fr}.dice-form .dice-label,.dice-form>button{grid-column:auto}}@media (prefers-reduced-motion:reduce){.dice-result.rolling .dice-values span,.dice-result:not(.rolling)>strong{animation:none}}.oracle-result{background:#261d30a6;border:1px solid #734b9b80;border-radius:10px;gap:10px;margin:12px 0;padding:12px 14px;display:flex}.oracle-result span{white-space:pre-wrap}.oracle-hint{justify-content:space-between;align-items:center;gap:8px;display:flex}.extension-error,.extension-card .warning{color:#f3ad8d}.extension-card p{margin:4px 0}.extension-jobs{gap:8px;margin-top:8px;display:grid}.extension-jobs>div{border-top:1px solid var(--border);grid-template-columns:1fr auto;gap:3px 10px;padding-top:8px;display:grid}.extension-jobs small{grid-column:1/-1}@media (width<=700px){.oracle-composer{grid-template-columns:1fr 1fr}.oracle-composer input{grid-column:1/-1}}.script-status{text-transform:capitalize}.script-status.error,.script-status.timeout,.script-status.suspended{color:#e98b75}.script-status.success{color:#a8c879}.story-script-notice{color:#cbc2b2;background:#a6957214;border:1px solid #4e493f;border-radius:7px;gap:3px;margin:8px 28px 20px;padding:10px 13px;font-size:13px;line-height:1.45;display:grid}.story-script-notice b{color:#e4d8c3;letter-spacing:.04em;text-transform:uppercase;font-size:12px}.story-script-notice.warning{background:#d68a6214}.story-script-notice.success{background:#8ead7114}.story-script-notice.mysterious{background:#9a79bd17}.surface-panel-fields{border:0;min-width:0;margin:0;padding:0}.surfaces-panel{gap:16px;padding:20px 24px 24px}.surfaces-panel>.muted{margin:0}.editor>.tabs{overflow-x:auto}.editor>.tabs button{flex-shrink:0}.surfaces-timeline{gap:12px;margin:12px 28px 26px;display:grid}.surface-block,.surface-receipt{border:1px solid var(--surface-accent,#c99d43)}@supports (color:color-mix(in lab, red, red)){.surface-block,.surface-receipt{border:1px solid color-mix(in srgb, var(--surface-accent,#c99d43) 45%, #37342d)}}.surface-block,.surface-receipt{background:linear-gradient(135deg, var(--surface-background,#191712), var(--surface-gradient,#191712));color:#d9d0c1;border-radius:7px}.surface-block{gap:14px;display:grid}.surface-padding-compact.surface-block{padding:12px 14px}.surface-padding-standard.surface-block{padding:18px}.surface-padding-spacious.surface-block{padding:24px}.surface-block>small{color:var(--surface-accent,#c99d43);letter-spacing:.18em;font-size:9px;font-weight:800}.surface-block h3{color:#f0e5d3;margin:0;font:500 20px/1.3 Georgia,serif}.surface-block>input,.surface-block>textarea{background:#10110f;border-color:#4a4336;width:100%}.surface-block>textarea{resize:vertical;min-height:100px}.surface-options{gap:8px;display:grid}.surface-options label{cursor:pointer;background:#141410;border:1px solid #3c3932;border-radius:5px;align-items:flex-start;gap:10px;padding:11px 12px;display:flex}.surface-options label:hover{border-color:#6d5b37}.surface-options label.selected{background:#241e12;border-color:#b98d37}.surface-options input{width:auto;accent-color:var(--surface-accent,var(--gold));margin-top:3px}.surface-options span{gap:3px;display:grid}.surface-options b{color:#e7ddce;font-size:13px}.surface-options small{color:#918b81;font-size:12px;line-height:1.4}.surface-buttons{flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:8px;margin-top:4px;display:flex}.surface-buttons button{border:1px solid var(--surface-accent,#c99d43);flex:0 auto;gap:3px;min-width:82px;min-height:38px;display:grid}@supports (color:color-mix(in lab, red, red)){.surface-buttons button{border:1px solid color-mix(in srgb, var(--surface-accent,#c99d43) 65%, #403b31)}}.surface-buttons button{background:var(--surface-accent,#c99d43);border-radius:4px;padding:8px 13px}@supports (color:color-mix(in lab, red, red)){.surface-buttons button{background:color-mix(in srgb, var(--surface-accent,#c99d43) 9%, #11120f)}}.surface-buttons button{color:#e7ddce;cursor:pointer;text-align:left}.surface-buttons button:hover,.surface-buttons button:focus-visible{border-color:var(--surface-accent,#c99d43);background:var(--surface-accent,#c99d43)}@supports (color:color-mix(in lab, red, red)){.surface-buttons button:hover,.surface-buttons button:focus-visible{background:color-mix(in srgb, var(--surface-accent,#c99d43) 17%, #11120f)}}.surface-buttons button:disabled{cursor:wait;opacity:.55}.surface-buttons button b{font-size:12px;font-weight:650}.surface-buttons button small{color:#918b81;max-width:220px;font-size:10px;line-height:1.35}.surface-submit{justify-content:space-between;align-items:center;gap:14px;display:flex}.surface-submit>span{color:#777269;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.surface-submit .btn{min-height:38px;padding:8px 13px;font-size:12px}.surface-receipt{overflow:hidden}.surface-receipt summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:11px 13px;display:grid}.surface-receipt summary span{color:#aaa297;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.surface-receipt summary b{color:#dfbd70;white-space:nowrap;text-overflow:ellipsis;max-width:240px;font-size:12px;overflow:hidden}.surface-receipt p{color:#777269;margin:0;padding:0 13px 12px;font-size:11px}.surface-template-editor{border-top:1px solid var(--line);gap:12px;margin-top:16px;padding-top:16px;display:grid}.surface-template-editor>.row p{color:#8c867c;margin:3px 0 0;font-size:11px}.surface-template-editor details{background:#151410;border:1px solid #3b382f;border-radius:7px}.surface-template-editor details>summary{color:#d4c9b8;padding:11px 13px;font-size:12px}.surface-template-grid{border-top:1px solid #343129;grid-template-columns:1fr 1fr;gap:12px;padding:13px;display:grid}.surface-template-question{grid-column:1/-1}.surface-template-grid .switch{align-self:end;min-height:43px}.surface-template-grid .danger-link{color:#b7786d;cursor:pointer;background:0 0;border:0;justify-self:start;padding:6px 0;font-size:11px}.surface-color-field input[type=color]{cursor:pointer;width:100%;height:38px;padding:3px}.surface-style-preview{border:1px solid var(--surface-accent);grid-column:1/-1;gap:10px;display:grid}@supports (color:color-mix(in lab, red, red)){.surface-style-preview{border:1px solid color-mix(in srgb, var(--surface-accent) 45%, #37342d)}}.surface-style-preview{background:linear-gradient(135deg, var(--surface-background), var(--surface-gradient));color:#d9d0c1;border-radius:7px}.surface-style-preview.surface-padding-compact{padding:12px 14px}.surface-style-preview.surface-padding-standard{padding:18px}.surface-style-preview.surface-padding-spacious{padding:24px}.surface-style-preview>small{color:var(--surface-accent);letter-spacing:.18em;font-size:9px;font-weight:800}.surface-style-preview h3{color:#f0e5d3;margin:0;font:500 20px/1.3 Georgia,serif}.surface-style-preview>div{color:#777269;background:#10110f;border:1px solid #4a4336;border-radius:4px;padding:10px 12px;font-size:12px}.surface-style-preview button{border:1px solid var(--surface-accent);color:#e8dfd0;background:0 0;border-radius:4px;justify-self:end;padding:8px 12px}.surface-template-editor details>summary small{float:right;color:#777269;letter-spacing:.12em;text-transform:uppercase;font-size:9px}.surface-workbench{grid-column:1/-1;grid-template-columns:minmax(210px,280px) minmax(0,1fr);gap:18px;padding-top:4px;display:grid}.surface-workbench-controls{align-content:start;gap:12px;display:grid}.surface-workbench-controls>small{color:#8c867c;font-size:11px}.surface-upload{gap:7px;display:grid}.surface-upload>span{color:#a9a294;font-size:11px}.surface-upload input{opacity:0;width:1px;height:1px;position:absolute}.surface-upload b{color:#cfbf9f;cursor:pointer;background:#171612;border:1px dashed #615845;border-radius:6px;place-items:center;min-height:42px;font-size:12px;display:grid}.surface-size-fields,.surface-position-fields{grid-template-columns:1fr 1fr;gap:8px;display:grid}.surface-position-fields{border-top:1px solid #343129;padding-top:10px}.surface-workbench-preview{background:#0e0e0c;border:1px solid #343129;border-radius:8px;align-content:start;justify-items:center;gap:10px;min-width:0;padding:14px;display:grid;overflow:hidden}.surface-workbench-preview>small{color:#777269;justify-self:start;font-size:10px}.surface-preview-tabs{flex-wrap:wrap;justify-self:stretch;gap:5px;display:flex}.surface-preview-tabs button{color:#999186;cursor:pointer;background:0 0;border:1px solid #403d34;border-radius:4px;padding:6px 9px;font-size:10px}.surface-preview-tabs button.active{color:#e1b95b;background:#2a2112;border-color:#9a762b}.surface-custom-form{justify-items:center;margin:0;display:grid}.surface-custom-form>.warning{width:min(100%,640px);margin:8px 0 0}.surface-custom-canvas{background-color:#0000;background-position:50%;background-repeat:no-repeat;background-size:cover;max-width:100%;position:relative;overflow:hidden;container-type:inline-size}.surface-canvas-element{min-width:0;min-height:0;position:absolute}.surface-canvas-element>input,.surface-canvas-element>textarea,.surface-canvas-element>button,.surface-canvas-element>label{box-sizing:border-box;width:100%;height:100%}.surface-custom-question{color:#fff;text-shadow:0 2px 7px #000;width:100%;height:100%;font:600 clamp(12px,4cqw,24px)/1.2 Georgia,serif;overflow:hidden}.surface-canvas-element>input,.surface-canvas-element>textarea{color:#fff;resize:none;background:#111c;border:1px solid #ffffff80;border-radius:3px;min-height:0;padding:7px 9px}.surface-canvas-element>button{color:#fff;cursor:pointer;background:#111b;border:1px solid #ffffffa0;border-radius:3px;min-height:0;padding:4px 8px}.surface-canvas-element>label{color:#fff;cursor:pointer;background:#111b;border:1px solid #ffffff80;border-radius:3px;align-items:center;gap:6px;padding:5px 7px;display:flex;overflow:hidden}.surface-canvas-element>label input{flex:none;width:auto}.surface-canvas-element>label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.surface-canvas-element>label.selected{outline:2px solid #fff}.surface-canvas-element>.surface-hotspot{color:#0000;opacity:0;background:0 0;border:0}.surface-custom-canvas.is-editing{background-color:#191713;background-size:cover;outline:1px solid #5c5548;width:100%!important}.surface-custom-canvas.is-editing:before{content:"";z-index:0;pointer-events:none;background-image:linear-gradient(#ffffff08 1px,#0000 1px),linear-gradient(90deg,#ffffff08 1px,#0000 1px);background-size:10% 10%;position:absolute;inset:0}.surface-custom-canvas.is-editing .surface-canvas-element{cursor:move;touch-action:none;z-index:1;outline:1px dashed #d4a640}.surface-custom-canvas.is-editing .surface-canvas-element.selected{z-index:2;outline:2px solid #f1c45c}.surface-custom-canvas.is-editing .surface-canvas-element.hotspot{background:repeating-linear-gradient(135deg,#d4a64024 0 7px,#d4a64008 7px 14px)}.surface-custom-canvas.is-editing .surface-hotspot{color:#f1c45c;opacity:1;background:#17120aaa;border:1px dashed #d4a640}@media (width<=700px){.surfaces-timeline{margin-inline:0}.surface-block{padding:15px}.surface-block h3{font-size:19px}.surface-submit{flex-direction:column;align-items:stretch}.surface-submit .btn{width:100%}.surface-template-grid{grid-template-columns:1fr}.surfaces-panel{padding:16px}.surface-template-question{grid-column:auto}.surface-workbench{grid-template-columns:1fr}}.drawer.workspace-drawer{background:#121312;border-left-color:#35342f;width:min(600px,100%);box-shadow:-18px 0 50px #00000038}.workspace-drawer .drawer-head{background:#121312;border-bottom-color:#35342f;height:76px;padding:0 28px}.workspace-drawer .scene-drawer-heading h2{text-transform:none}.workspace-drawer .drawer-head>.icon{color:#aaa69d;border-radius:4px;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:8px;display:grid}.workspace-drawer .drawer-head>.icon:hover{color:#efe8dc;background:#211f1a}.workspace-drawer .drawer-head>.icon svg{width:16px;height:16px}.workspace-drawer>.drawer-body{background:#121312;height:calc(100% - 76px);padding:0;overflow-y:auto}.workspace-panel{color:#d8d0c2;align-content:start;min-height:100%;display:grid}.workspace-panel>.field,.workspace-panel>.panel-check,.workspace-panel>.model-picker-button,.workspace-panel>.model-note,.workspace-panel>.usage-note,.workspace-panel>.control-help{margin-inline:24px}.workspace-intro{color:#aaa49a;background:#151613;border:0;border-bottom:1px solid #2c2c28;margin:0;padding:18px 24px;font-size:13px;line-height:1.55}.workspace-kicker,.workspace-library-heading{color:#77746c;letter-spacing:.17em;text-transform:uppercase;justify-content:space-between;align-items:baseline;gap:16px;font-size:10px;font-weight:700;display:flex}.workspace-kicker{border-bottom:1px solid #302f29;margin:22px 24px 10px;padding-bottom:9px}.workspace-kicker small{color:#77746c;letter-spacing:0;text-align:right;text-transform:none;font-size:10px;font-weight:400}.workspace-footer{color:#85827a;border-top:1px solid #2c2c28;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:15px 24px;font-size:11px;display:flex}.workspace-footer .saved-state{color:#84b88f}.workspace-save-state{color:#e6c66f}.workspace-save-state.saved{color:#84b88f}.workspace-save-state.error{color:#e98b75}.workspace-section{background:#161715;border:1px solid #39372f;border-radius:8px;margin:18px 20px 0;overflow:hidden}.workspace-section>summary,.workspace-section-heading{justify-content:space-between;align-items:center;padding:15px 16px;display:flex}.workspace-section>summary{cursor:pointer;list-style:none}.workspace-section>summary::-webkit-details-marker{display:none}.workspace-section>summary:hover{background:#1b1b17}.workspace-section>summary span,.workspace-section-heading span{gap:3px;display:grid}.workspace-section>summary b,.workspace-section-heading b{color:#e5dccf;font:500 17px Georgia,serif}.workspace-section>summary small,.workspace-section-heading small{color:#858077;font-size:11px}.workspace-section>summary i{border-bottom:1.5px solid #9b9589;border-right:1.5px solid #9b9589;width:8px;height:8px;transition:transform .15s;transform:rotate(45deg)}.workspace-section:not([open])>summary i{transform:rotate(-45deg)}.workspace-section-body{border-top:1px solid #302e27;padding:18px 16px}.workspace-section-body.form{gap:20px}.workspace-section .banner-editor{background:0 0;border:0;padding:0}.workspace-search{display:block;position:relative}.workspace-search svg{color:#85827a;pointer-events:none;width:16px;height:16px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.workspace-search input{color:#eee7db;background:#181a18;border:1px solid #48463e;border-radius:6px;width:100%;height:40px;padding:0 12px 0 36px;font-size:14px}.workspace-search input::placeholder{color:#85827a}.workspace-search input:focus{border-color:#bd9032;outline:0;box-shadow:0 0 0 1px #bd9032}.workspace-filters{align-items:center;gap:8px;display:flex;overflow-x:auto}.workspace-filters button{color:#85827a;cursor:pointer;letter-spacing:.11em;text-transform:uppercase;background:0 0;border:1px solid #393831;border-radius:999px;padding:6px 11px;font-size:9px;font-weight:700}.workspace-filters button:hover{color:#c3b9a7;border-color:#68614f}.workspace-filters button.active{color:#e6c66f;background:#332712;border-color:#a17d2d}.workspace-library{padding:20px}.workspace-library-heading{margin-bottom:12px;padding:0 4px}.workspace-empty{color:#85827a;text-align:center;margin:0;padding:28px 10px;font-size:13px}.workspace-notice{color:#aaa397;background:#211e17;border-left:2px solid #8c7136;margin:0;padding:11px 12px;font-size:12px}.plot-panel .field>span,.generation-panel .field>span,.render-panel .field>span{color:#8f897d;letter-spacing:.13em;text-transform:uppercase;font-size:10px;font-weight:700}.workspace-panel textarea,.workspace-panel input:not([type=checkbox]):not([type=range]):not([type=color]),.workspace-panel select{color:#eee5d8;background-color:#10110f;border-color:#48443a}.workspace-panel textarea:focus,.workspace-panel input:not([type=checkbox]):not([type=range]):focus,.workspace-panel select:focus{border-color:#bd9032;outline:0;box-shadow:0 0 0 1px #bd9032}.memory-toolbar,.extension-toolbar{border-bottom:1px solid #2c2c28;gap:15px;padding:20px 24px;display:grid}.memory-toolbar-primary{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.memory-mode-control{gap:7px;min-width:0;display:grid}.memory-mode-control>span{color:#858077;letter-spacing:.13em;text-transform:uppercase;font-size:9px;font-weight:700}.memory-mode-control>div{background:#10110f;border:1px solid #454238;border-radius:7px;grid-template-columns:1fr 1fr;padding:3px;display:grid}.memory-mode-control button{color:#8f8a81;cursor:pointer;background:0 0;border:0;border-radius:4px;min-width:0;height:40px;padding:0 13px;font-size:11px;font-weight:650}.memory-mode-control button:hover{color:#d2c7b6}.memory-mode-control button.active{color:#e5bf62;background:#302713;box-shadow:inset 0 0 0 1px #765b24}.memory-toolbar-actions{align-items:center;gap:8px;display:flex}.memory-toolbar-actions .btn{white-space:nowrap;min-width:max-content;height:48px;min-height:48px;padding-block:0;padding-inline:15px}.memory-list{gap:10px}.memory-card{background:#171916;border:1px solid #373831;border-radius:9px;transition:border-color .15s,background .15s,transform .15s;position:relative;overflow:hidden}.memory-card:hover{background:#191b18;border-color:#595545;transform:translateY(-1px)}.memory-card.pinned{border-color:#8a6821}.memory-card-body{padding:20px 22px 18px}.memory-card-body[role=button]{cursor:pointer}.memory-card-body[role=button]:focus-visible{outline-offset:-3px;outline:2px solid #bd9032}.memory-card h3{overflow-wrap:anywhere;color:#f2eadc;max-width:calc(100% - 38px);margin:0;font:600 21px/1.25 Georgia,serif}.memory-meta{align-items:center;gap:10px;margin-top:10px;display:flex}.memory-meta>span{color:#d1ad56;letter-spacing:.1em;text-transform:uppercase;background:#292820;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:750}.memory-meta time{color:#9a968d;font-size:10px}.memory-edit-trigger{color:#e0dbd2;width:100%;font:inherit;text-align:left;background:0 0;border:0;margin:12px 0 17px;padding:0;display:block}.memory-edit-trigger>span{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;line-height:1.6;display:-webkit-box;overflow:hidden}.memory-edit-trigger:hover>span{color:#f0ebe2}.memory-card-footer{border-top:1px solid #30322d;justify-content:space-between;align-items:flex-end;gap:16px;padding-top:13px;display:flex}.memory-card-footer>span{color:#a6a198;gap:5px;font-size:9px;display:grid}.memory-card-footer svg{color:#918d84;width:13px;height:13px}.memory-card-footer b{color:#83bc79;font-size:9px;font-weight:500}.memory-card.pinned .memory-card-footer b{color:#d4a640}.memory-pin{z-index:2;color:#67675f;cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;top:15px;right:16px}.memory-pin:hover{color:#c4b681;background:#24251f}.memory-pin.active{color:#d7a72f}.memory-pin svg{width:17px;height:17px}.memory-card.editing{background:#191a16;border-color:#9a762b;transform:none}.memory-title-editor{margin:-2px 0 0;display:block;color:#f2eadc!important;background:0 0!important;border:0!important;border-radius:0!important;width:calc(100% - 38px)!important;height:auto!important;padding:0 0 2px!important;font:600 21px/1.25 Georgia,serif!important;box-shadow:0 1px #594a28!important}.memory-title-editor:focus{box-shadow:0 1px #c89b38!important}.memory-content-editor{resize:vertical;width:100%;min-height:142px;margin:12px 0 17px;padding:0 0 8px;font:13px/1.6 ui-sans-serif,system-ui,sans-serif;transition:min-height .18s;display:block;overflow:hidden;color:#f0ebe2!important;box-shadow:none!important;background:0 0!important;border:0!important;border-bottom:1px solid #3b3b34!important;border-radius:0!important}.memory-content-editor:focus{outline:0;border-bottom-color:#66562f!important}.memory-edit-actions{align-items:center;gap:8px;display:flex}.memory-edit-actions button{color:#aaa49a;cursor:pointer;background:0 0;border:1px solid #48453b;border-radius:5px;padding:7px 10px;font-size:10px}.memory-edit-actions button:hover{color:#e0d5c3;border-color:#75643c}.memory-edit-actions button.save{color:#17140d;background:#d4a640;border-color:#a77e28;font-weight:700}.memory-edit-actions button.save:hover{background:#e2b653}.memory-delete{color:#956f69;cursor:pointer;background:0 0;border:0;margin-top:12px;padding:0;font-size:10px}.memory-delete:hover{color:#c98a7e}.memories-panel>.context-section{background:#161715;border:1px solid #39372f;border-radius:8px;margin:0 20px 20px;padding:14px 16px}.extension-toolbar>p{color:#aaa49a;margin:0;font-size:13px;line-height:1.5}.extension-list{gap:10px}.extension-card{background:#161715;border-color:#34332d;padding:0;transition:border-color .15s,background .15s;overflow:hidden}.extension-card:hover{border-color:#514937}.extension-card.expanded{background:#191812;border-color:#6e5725}.extension-card-head{align-items:center;display:flex;position:relative}.extension-open{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:12px;padding:15px 58px 15px 15px;display:grid}.extension-mark{color:#d2ac58;background:#211c11;border:1px solid #494332;border-radius:6px;place-items:center;width:34px;height:34px;font:600 16px Georgia,serif;display:grid}.extension-open>span:nth-child(2){min-width:0}.extension-open>span:nth-child(2)>span{align-items:center;gap:7px;display:flex}.extension-open b{color:#eee5d6;font:500 17px Georgia,serif}.extension-open i,.extension-open em{color:#918d84;letter-spacing:.08em;text-transform:uppercase;background:#292721;border-radius:999px;padding:3px 7px;font-size:9px;font-style:normal}.extension-open em{color:#84c493;background:#1d3325}.extension-open small{color:#96928a;white-space:nowrap;text-overflow:ellipsis;margin-top:5px;font-size:12px;display:block;overflow:hidden}.extension-open svg{color:#69655c;width:16px;transition:transform .15s,color .15s}.extension-card:hover .extension-open svg{color:#d6a940;transform:translate(2px)}.extension-card.expanded .extension-open svg{color:#d6a940;transform:rotate(90deg)}.extension-card-head>.switch{z-index:2;position:absolute;right:14px}.extension-detail{border-top:1px solid #302e27;gap:16px;padding:17px;display:grid}.extension-job-section{border-top:1px solid #332f27;padding-top:14px}.extension-job-section summary{color:#aaa49a;cursor:pointer;justify-content:space-between;font-size:12px;display:flex}.generation-panel{gap:14px;padding-bottom:0}.generation-panel .workspace-intro,.generation-panel .workspace-kicker{margin-bottom:-2px}.generation-panel .model-picker-button,.generation-panel .model-note,.generation-panel .usage-note,.generation-panel .panel-check,.generation-panel>.field{background:#161715;border:1px solid #39372f;border-radius:8px;padding:15px}.generation-panel .model-picker-button{box-sizing:border-box;width:auto;min-width:0;margin-top:0;transition:border-color .15s,background .15s}.generation-panel>.profile-model-control{margin-inline:24px}.generation-panel .model-picker-button:hover{background:#1c1a14;border-color:#6e5725}.generation-panel .range-field input[type=range],.render-panel .range-field input[type=range]{accent-color:#d4a640;cursor:pointer;height:22px}.generation-panel .control-help{margin-top:-7px}.usage-note-label{color:#d7a941;letter-spacing:.15em;text-transform:uppercase;font-size:9px;font-weight:700}.render-panel{gap:14px;padding-bottom:0}.render-preview-hero{z-index:3;background:radial-gradient(circle at 80% 10%,#2d2516 0,#0000 43%),#151512;border:0;border-bottom:1px solid #3d382b;border-radius:0;min-height:150px;margin:0;padding:28px 24px;position:sticky;top:0;box-shadow:0 10px 22px #0000002e}.render-preview-hero:before{height:var(--narrative-fade,0%)}.render-preview-hero>small{z-index:1;color:#d7a941;letter-spacing:.18em;text-transform:uppercase;margin-bottom:19px;font:700 9px ui-sans-serif,system-ui,sans-serif;display:block;position:relative}.render-preview-hero>p{z-index:1;color:var(--story-text);font-family:var(--reading-font);font-size:var(--reading-size);line-height:var(--reading-line-height);margin:0;position:relative}.render-panel>.workspace-intro{margin-bottom:2px}.render-panel>.field,.render-panel>.panel-check{background:#161715;border:1px solid #39372f;border-radius:8px;padding:15px}.render-choice-row,.render-fade-row{margin-top:10px}.render-panel input:disabled{cursor:not-allowed;opacity:.35}.render-panel .workspace-footer{margin-top:8px}.context-panel{padding-bottom:20px}.context-panel .context-stats,.context-panel .context-allocation,.context-panel .context-breakdown,.context-panel>.context-section,.context-panel>.warning{margin-inline:24px}.context-panel .context-stats{background:linear-gradient(135deg,#211e16,#191a17);border:1px solid #55472b}.context-panel .context-stats b{color:#e0b64e;font:500 28px Georgia,serif}.context-panel .context-breakdown{gap:8px}.context-panel .context-breakdown>div{background:#161715;border-color:#34332d;padding:10px 12px}.context-panel>.context-section{background:#161715;border:1px solid #34332d;border-radius:7px;margin-top:10px;padding:0;overflow:hidden}.context-panel>.context-section summary{color:#d7d0c4;padding:13px 14px}.context-panel>.context-section summary:hover{background:#1d1d18}.context-panel>.context-section pre{background:#10110f;border-top:1px solid #302e27;max-height:360px;margin:0;padding:14px;overflow:auto}.context-panel .activated-lore>summary{border-bottom:0}.context-panel .activated-lore[open]>summary{border-bottom:1px solid #302e27}.context-panel .activated-card{background:#131411}.context-panel .activated-card+.activated-card{border-top:1px solid #2e2d27}.context-panel .activated-card>summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px 12px 18px;list-style:none;display:grid}.context-panel .activated-card>summary::-webkit-details-marker{display:none}.context-panel .activated-card>summary:hover{background:#1b1b16}.activated-card-copy{gap:4px;min-width:0;display:grid}.activated-card-copy>span{align-items:center;gap:8px;min-width:0;display:flex}.activated-card-copy b{color:#e5dccf;text-overflow:ellipsis;white-space:nowrap;font:500 14px Georgia,serif;overflow:hidden}.activated-card-copy .origin-badge{flex:none;font-size:8px;font-style:normal}.activated-card-copy>small{color:#888279;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.activated-card-meta{color:#a99a74;font-variant-numeric:tabular-nums;font-size:10px}.context-panel .activated-card>pre{color:#aaa49a;white-space:pre-wrap;background:#10110f;border-top:1px solid #2e2d27;max-height:280px;margin:0;padding:14px 18px;overflow:auto}.context-panel .lore-graph-diagnostics{border-color:#485947}.context-panel .lore-graph-diagnostics>summary{color:#b6c9ad}.lore-graph-diagnostics-body{background:#121914;border-top:1px solid #2e3c30;padding:12px 14px}.lore-graph-diagnostics-body p{color:#9eaa99;margin:0 0 9px;font-size:11px;line-height:1.45}.lore-graph-diagnostics-body pre{color:#a7b7a0;white-space:pre-wrap;background:#0e130f;border:1px solid #29372c;max-height:180px;margin:0;padding:9px;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.lore-graph-diagnostics-body .warning{color:#d7a18a;margin-top:9px}.workspace-loading{color:#d8d0c2;text-align:center;place-content:center;justify-items:center;min-height:260px;padding:30px;display:grid}.workspace-loading>span{border:2px solid #4c4638;border-top-color:#d4a640;border-radius:50%;width:24px;height:24px;animation:.8s linear infinite workspace-spin}.workspace-loading p{margin:16px 0 4px;font:500 18px Georgia,serif}.workspace-loading small{color:#85827a}@keyframes workspace-spin{to{transform:rotate(360deg)}}@media (width<=600px){.workspace-drawer .drawer-head{padding-inline:20px}.workspace-drawer .scene-drawer-heading h2{font-size:21px}.workspace-panel>.field,.workspace-panel>.panel-check,.workspace-panel>.model-picker-button,.workspace-panel>.model-note,.workspace-panel>.usage-note,.workspace-panel>.control-help,.context-panel .context-stats,.context-panel .context-allocation,.context-panel .context-breakdown,.context-panel>.context-section,.context-panel>.warning{margin-inline:16px}.workspace-intro,.memory-toolbar,.extension-toolbar{padding-inline:18px}.workspace-library{padding:16px}.workspace-section{margin-inline:14px}.workspace-kicker{margin-inline:18px}.memory-toolbar-primary{grid-template-columns:1fr;align-items:stretch}.memory-toolbar-actions{justify-content:flex-end}.context-panel .context-breakdown{grid-template-columns:1fr}.workspace-footer{align-items:flex-start;padding-inline:18px}.extension-open{padding-left:12px}}@media (prefers-reduced-motion:reduce){.workspace-loading>span{animation-duration:1.8s}.extension-open svg,.workspace-section>summary i{transition:none}}.lore-graph-tester{background:#111310;height:100%;min-height:0;position:relative;overflow:hidden}.lore-graph-tester>.lore-graph-header{z-index:2;position:absolute;top:0;left:0;right:0}.lore-graph-tester-layout{grid-template-columns:292px minmax(0,1fr) 360px;min-height:0;display:grid;position:absolute;inset:76px 0 0;overflow:hidden}.lore-graph-tester-layout>.lore-graph-canvas{grid-area:1/2;height:100%;min-height:0}.lore-graph-tester-state-sidebar{box-sizing:border-box;overscroll-behavior:contain;color:#d8d0c2;background:#151713;border-right:1px solid #35342f;grid-area:1/1;height:100%;min-height:0;max-height:100%;padding:18px;overflow:hidden auto}.lore-graph-tester-sidebar-heading{gap:4px;margin-bottom:14px;display:grid}.lore-graph-tester-sidebar-heading span{color:#d8d0c2;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700}.lore-graph-tester-sidebar-heading small,.lore-graph-tester-help{color:#8f9887;font-size:11px;line-height:1.45}.lore-graph-tester-help{margin:0 0 14px}.lore-graph-tester-help code,.lore-graph-tester-script-keys code{color:#d7a941;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.lore-graph-tester-state-sidebar label{color:#b6aa95;text-transform:uppercase;letter-spacing:.08em;gap:6px;margin-bottom:12px;font-size:11px;display:grid}.lore-graph-tester-state-sidebar textarea{resize:vertical;min-height:250px;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.lore-graph-tester-state-sidebar textarea.has-error{border-color:#a85f4e}.lore-graph-tester-state-error{margin:-4px 0 12px;font-size:11px;line-height:1.4}.lore-graph-tester-script-keys{color:#aeb5a4;border-top:1px solid #35342f;gap:7px;margin:18px 0;padding-top:14px;font-size:11px;display:grid}.lore-graph-tester-script-keys b{color:#d8d0c2;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.lore-graph-tester-script-keys span{overflow-wrap:anywhere}.lore-graph-tester-character-state{border-top:1px solid #35342f;gap:8px;margin:18px 0;padding-top:14px;display:grid}.lore-graph-tester-character-state textarea{min-height:120px}.lore-graph-tester-character-state b{color:#d8d0c2;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.lore-graph-tester-character-state pre{color:#aeb5a4;white-space:pre-wrap;background:#10120f;border:1px solid #35342f;max-height:220px;margin:0;padding:9px;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.lore-graph-tester-sidebar{box-sizing:border-box;overscroll-behavior:contain;color:#d8d0c2;background:#171814;border-left:1px solid #35342f;height:100%;min-height:0;max-height:100%;padding:18px;overflow:hidden auto}.lore-graph-tester-sidebar label{color:#b6aa95;text-transform:uppercase;letter-spacing:.08em;gap:6px;margin-bottom:12px;font-size:11px;display:grid}.lore-graph-tester-sidebar textarea{resize:vertical;min-height:100px}.lore-tester-controls{grid-template-columns:1fr 1fr;gap:8px;display:grid}.lore-tester-controls label:last-child{grid-column:1/-1}.lore-tester-summary,.lore-tester-items{border-top:1px solid #35342f;gap:8px;margin-top:18px;padding-top:14px;display:grid}.lore-tester-summary{color:#d7a941;justify-content:space-between;display:flex}.lore-tester-activation,.lore-tester-items>div{background:#121914;border:1px solid #394834;gap:3px;margin-top:10px;padding:9px;display:grid}.lore-tester-activation span,.lore-tester-items span{color:#c0c8b7;font-size:12px}.lore-tester-activation small,.lore-tester-items small{color:#8c9a86;font-size:10px}.lore-tester-items.is-omitted{color:#d7a18a}.lore-graph-node.runtime-active{box-shadow:0 0 0 2px #d7a941,0 0 24px #d7a94155}.lore-graph-node.runtime-inactive{opacity:.42}.lore-graph-runtime-edge-active path{stroke:#d7a941;stroke-width:3px}.lore-graph-runtime-edge-inactive{opacity:.28}@media (width<=1100px){.lore-graph-tester-layout{grid-template-columns:248px minmax(0,1fr) 320px}}@media (width<=800px){.lore-graph-tester-layout{grid-template-rows:minmax(320px,1fr) minmax(0,42vh) minmax(0,42vh);grid-template-columns:1fr}.lore-graph-tester-state-sidebar,.lore-graph-tester-layout>.lore-graph-canvas,.lore-graph-tester-sidebar{grid-area:auto/1}.lore-graph-tester-state-sidebar,.lore-graph-tester-sidebar{border-top:1px solid #35342f;border-left:0;border-right:0;max-height:none}}@media (width<=620px){.lore-graph-tester-layout{top:68px}}.drawer.lore-graph-drawer{background:#111310;border-left-color:#35342f;width:100vw;max-width:none}.lore-graph-drawer>.drawer-body{height:100%;padding:0;overflow:hidden}.lore-graph-panel{color:#d8d0c2;background:#11110f;flex-direction:column;height:100%;min-height:0;display:flex;position:relative}.editor .lore-graph-panel{width:min(1800px,100vw - 48px);height:calc(100vh - 220px);margin-left:50%;transform:translate(-50%)}.lore-graph-editor-page{max-width:none}.lore-graph-editor-page .lore-graph-panel{width:100%;margin-left:0;transform:none}.lore-graph-header{border-bottom:1px solid var(--line);background:#11110f;flex:0 0 76px;justify-content:space-between;align-items:center;gap:20px;min-height:76px;padding:0 24px;display:flex}.lore-graph-header p,.lore-graph-inspector-heading span{color:#d7a941;letter-spacing:.16em;text-transform:uppercase;margin:0 0 4px;font-size:10px;font-weight:700}.lore-graph-header h2{color:#f1eadf;margin:0;font:500 25px/1 Georgia,serif;display:inline}.lore-graph-header>div:first-child>div{align-items:baseline;gap:12px;display:flex}.lore-graph-header>div:first-child span{color:#88857d;font-size:12px}.lore-graph-header-actions{align-items:center;gap:12px;display:flex}.lore-graph-header-actions>button:not(.lore-graph-close){color:#d7ccb9;cursor:pointer;background:0 0;border:1px solid #4b473e;border-radius:5px;min-height:36px;padding:8px 12px;font-size:12px}.lore-graph-header-actions>button:not(.lore-graph-close):hover:not(:disabled){color:#f0e4d0;background:#1b1914;border-color:#a27f36}.lore-graph-header-actions>button:not(.lore-graph-close):disabled{opacity:.5;cursor:wait}.lore-graph-enable{color:#c9c0b2;align-items:center;gap:8px;font-size:12px;display:inline-flex}.lore-graph-enable input{accent-color:#d4a640}.lore-graph-save-state{color:#8e897e;min-width:58px;font-size:11px}.lore-graph-save-state.saving{color:#d7a941}.lore-graph-save-state.saved{color:#8cae91}.lore-graph-save-state.error,.lore-graph-save-error{color:#d78f78}.lore-graph-close{color:#aaa69d;cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;width:32px;height:32px;font-size:22px;display:grid}.lore-graph-close:hover{color:#efe8dc;background:#211f1a}.lore-graph-layout{flex:1;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) 340px;min-height:0;display:grid}.lore-graph-inspector{border-left:1px solid var(--line);background:#151613;grid-area:1/2/3;min-width:0;padding:20px 16px;overflow:auto}.lore-graph-palette-dot{background:#b18d50;border-radius:50%;flex:none;width:8px;height:8px}.lore-graph-palette-dot.and,.lore-graph-palette-dot.n_of_m{background:#91869f}.lore-graph-palette-dot.context_fragment{background:#bf8957}.lore-graph-palette-dot.state_condition{background:#8ab2cf}.lore-graph-canvas{background:#11110f;grid-area:1/1;min-width:0;min-height:0}.lore-graph-action-bar{z-index:5;border-top:1px solid var(--line);background:#171714;grid-area:2/1;align-items:center;gap:9px;min-width:0;min-height:72px;padding:13px 18px;display:flex;position:relative}.lore-graph-action-bar .btn{min-height:42px;padding:9px 15px;font-size:12px}.lore-graph-node-menu-wrap{position:relative}.lore-graph-node-menu-wrap>button span{color:#a9a095;margin-left:4px}.lore-graph-node-menu{z-index:8;background:#171714;border:1px solid #494237;border-radius:7px;width:min(340px,100vw - 36px);padding:6px;display:grid;position:absolute;bottom:calc(100% + 9px);left:0;box-shadow:0 14px 34px #0009}.lore-graph-node-menu-option{color:#e8e2d7;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:4px;align-items:flex-start;gap:10px;width:100%;padding:10px;display:flex}.lore-graph-node-menu-option:hover,.lore-graph-node-menu-option:focus-visible,.lore-graph-node-menu-utility:hover,.lore-graph-node-menu-utility:focus-visible{background:#201e18;border-color:#494237;outline:none}.lore-graph-node-menu-option .lore-graph-palette-dot{margin-top:5px}.lore-graph-node-menu-option b{margin-bottom:3px;font-size:12px;font-weight:650;display:block}.lore-graph-node-menu-option small{color:#9b9387;font-size:10px;line-height:1.4;display:block}.lore-graph-node-menu-divider{background:#34312a;height:1px;margin:5px 4px}.lore-graph-node-menu-utility{color:#cfc7b9;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:4px;width:100%;padding:9px 10px;font-size:11px}.lore-graph-card-picker-backdrop{z-index:20;background:#080907df;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.lore-graph-card-picker{background:#171714;border:1px solid #494237;border-radius:8px;flex-direction:column;width:min(840px,100%);height:min(820px,100%);min-height:min(500px,100%);max-height:100%;display:flex;overflow:hidden;box-shadow:0 24px 80px #000c}.lore-graph-card-picker-header{z-index:auto;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-bottom:1px solid #34312a;flex:none;justify-content:space-between;align-items:flex-start;gap:18px;height:auto;min-height:0;padding:20px 22px 16px;display:flex;position:relative;top:auto}.lore-graph-card-picker-main{flex:1;justify-items:start;gap:10px;min-width:0;display:grid}.lore-graph-card-picker-close{color:#aaa69d;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;flex:none;place-items:center;width:30px;height:30px;font-size:21px;display:grid}.lore-graph-card-picker-close:hover{color:#eee5d6;background:#201e18;border-color:#39372f}.lore-graph-card-picker-header .lore-graph-card-search{box-sizing:border-box;background:#11110f;border-color:#494237;border-radius:5px;width:100%;max-width:none;height:42px;padding-right:12px}.lore-graph-card-picker-header .lore-graph-card-search input{font-size:12px}.lore-graph-card-picker-main .scene-gallery-filters{gap:6px;margin:0}.lore-graph-card-picker-main .scene-gallery-filters button{padding:6px 10px}.lore-graph-card-picker-scroll{overscroll-behavior:contain;min-height:0;padding:14px 20px 18px;overflow:auto}.lore-graph-card-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.lore-graph-card-option{width:100%;color:inherit;cursor:pointer;font:inherit;text-align:left;background:#1b1a16;border-color:#3d3931;border-radius:7px;padding:0;transition:border-color .16s,background .16s,box-shadow .16s;display:block}.lore-graph-card-option:hover{background:#201e18;border-color:#8b7136;box-shadow:0 8px 24px #0005}.lore-graph-card-option:focus-visible{outline-offset:2px;outline:2px solid #d7a94f}.lore-graph-card-option-image,.lore-graph-card-option-placeholder{aspect-ratio:16/7;color:#9b9387;text-align:center;text-transform:capitalize;background:linear-gradient(145deg,#29241c,#131310);place-items:center;font:500 13px Georgia,serif;display:grid;overflow:hidden}.lore-graph-card-option-image img{object-fit:cover;width:100%;height:100%}.lore-graph-card-option .scene-card-copy{gap:6px;padding:12px}.lore-graph-card-option .scene-card-copy small{font-size:9px}.lore-graph-card-option .scene-card-copy h3{font-size:17px}.lore-graph-card-option .scene-card-copy p{-webkit-line-clamp:3;font-size:11px}.lore-graph-card-picker-empty{color:#9b9387;text-align:center;background:#191a16;border:1px solid #34312a;border-radius:6px;margin:4px 0;padding:20px}.lore-graph-card-picker-footer{background:#151613;border-top:1px solid #34312a;flex:none;justify-content:space-between;align-items:center;gap:14px;padding:12px 20px;display:flex}.lore-graph-card-picker-footer span{color:#9b9387;font-size:10px;line-height:1.4}.lore-graph-card-picker-footer .btn{min-height:36px;padding:7px 13px;font-size:11px}.lore-graph-canvas .react-flow{background:#11110f}.lore-graph-canvas .react-flow__controls{border:1px solid var(--line);box-shadow:none;border-radius:5px;overflow:hidden}.lore-graph-canvas .react-flow__controls-button{border-bottom-color:var(--line);fill:#d5cec1;color:#d5cec1;background:#191a16}.lore-graph-canvas .react-flow__minimap{border:1px solid var(--line);background:#191a16;border-radius:5px}.lore-graph-canvas .react-flow__attribution{display:none}.lore-graph-canvas-hint{color:#9b9387;background:#171714ee;border:1px solid #34312a;border-radius:5px;padding:7px 9px;font-size:10px;margin:12px!important}.lore-graph-canvas .react-flow__nodesselection-rect{background:#d4a64022;border:1px solid #d4a640}.lore-graph-canvas-tools{margin:12px!important}.lore-graph-canvas-tools button{color:#d7ccb9;cursor:pointer;background:#171714ee;border:1px solid #4b473e;border-radius:5px;padding:7px 10px;font-size:10px}.lore-graph-canvas-tools button:hover{color:#f0e4d0;border-color:#a27f36}.lore-graph-node{border:1px solid var(--lore-accent,#4b4435);color:#e8e2d7;background:#191a16;border-radius:5px;min-width:152px;max-width:210px;padding:11px 13px;box-shadow:0 5px 16px #0004}.lore-graph-node:hover{border-color:var(--lore-accent,#a27f36)}.lore-graph-canvas .react-flow__node.selected .lore-graph-node{border-color:#d4a640;box-shadow:0 0 0 1px #d4a64066,0 8px 24px #0006}.lore-graph-card{background:#191a16}.lore-graph-card-heading{align-items:center;gap:9px;display:flex}.lore-graph-card-identity{flex:1;min-width:0}.lore-graph-card-portrait{background:linear-gradient(#17171411,#17171455),url(/character-backgrounds/tavern.webp) 50%/cover;border:1px solid #4b4435;border-radius:4px;flex:0 0 42px;width:42px;height:50px;display:block;overflow:hidden}.lore-graph-card-portrait img{pointer-events:none;width:165%;max-width:none;height:auto;margin-left:-32.5%;display:block}.lore-graph-node.density-compact .lore-graph-card-portrait{flex-basis:32px;width:32px;height:38px}.lore-graph-node.density-expanded .lore-graph-card-portrait{flex-basis:50px;width:50px;height:60px}.lore-graph-operator{border-color:var(--lore-accent,#494452);text-align:center;background:#1a191e;min-width:118px}.lore-graph-fragment{border-color:var(--lore-accent,#806044);background:#201a14}.lore-graph-fragment.is-disabled{opacity:.55}.lore-graph-state-condition{border-color:var(--lore-accent,#4d6b82);background:#151b20}.lore-graph-state-condition.is-disabled{opacity:.55}.lore-graph-state-rules{gap:4px;margin-top:9px;display:grid}.lore-graph-state-rules>div{color:#b0c1cb;text-transform:uppercase;background:#11181d;border:1px solid #344957;border-radius:3px;justify-content:space-between;gap:10px;padding:5px 6px;font-size:8px;display:flex}.lore-graph-state-rules span{color:#d5d2cb;text-overflow:ellipsis;text-transform:none;white-space:nowrap;max-width:92px;overflow:hidden}.lore-graph-node-kicker{color:#c4a878;letter-spacing:.12em;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;font-size:8px;font-weight:700;display:flex}.lore-graph-fragment .lore-graph-node-kicker{color:#d0a16e}.lore-graph-state-condition .lore-graph-node-kicker{color:#92b5ce}.lore-graph-node-kicker i{color:#9b9387;letter-spacing:0;text-transform:none;font-size:8px;font-style:normal}.lore-graph-node strong{color:#e8e2d7;text-overflow:ellipsis;white-space:nowrap;font:500 14px/1.25 Georgia,serif;display:block;overflow:hidden}.lore-graph-node small{color:#9b9387;max-height:34px;margin-top:7px;font-size:10px;line-height:1.4;display:block;overflow:hidden}.lore-graph-tier-rows{gap:4px;margin-top:10px;display:grid}.lore-graph-tier-row{color:#99958b;text-transform:uppercase;background:#141512;border:1px solid #34312a;border-radius:3px;justify-content:space-between;align-items:center;gap:12px;padding:5px 7px;font:700 8px/1.2 ui-sans-serif,system-ui,sans-serif;display:flex}.lore-graph-tier-row span{text-transform:none;font-weight:500}.lore-graph-tier-row.is-active{color:#e2c681;background:#211d14;border-color:#796337}.lore-graph-tier-rows>small{color:#a99362;max-height:none;margin:1px 0 0;font-size:9px}.lore-graph-node.density-compact{min-width:128px;padding:8px 10px}.lore-graph-node.density-compact .lore-graph-node-kicker{margin-bottom:4px}.lore-graph-node.density-compact small{display:none}.lore-graph-node.density-expanded{min-width:190px;max-width:250px}.lore-graph-node.density-expanded small{max-height:80px}.lore-graph-node.is-collapsed small{display:none}.lore-graph-operator-symbol{color:#c6ab70;font:500 20px Georgia,serif;display:block}.lore-graph-operator strong{letter-spacing:.1em;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px}.lore-graph-node .react-flow__handle{background:#c8a151;border:2px solid #151714;width:8px;height:8px}.lore-graph-operator .react-flow__handle{background:#9a91ba}.lore-graph-fragment .react-flow__handle{background:#c79562}.lore-graph-state-condition .react-flow__handle{background:#8ab6d6}.lore-graph-node .react-flow__handle.lore-graph-state-handle{box-sizing:border-box;background:#151b20;border:2px solid #8ab6d6;border-radius:50%;width:8px;height:8px}.lore-graph-node .react-flow__handle.lore-graph-state-handle:hover{border-color:#b9d8ed}.design-reference-graph-ports{align-items:center;gap:24px;margin:14px 0;display:flex}.design-reference-graph-ports>span{color:#9b9387;align-items:center;gap:8px;font-size:13px;display:inline-flex}.design-reference-graph-port{box-sizing:border-box;background:#c8a151;border:2px solid #151714;border-radius:50%;width:12px;height:12px;display:inline-block}.design-reference-graph-port.is-state{background:#151b20;border-color:#8ab6d6;width:8px;height:8px}.lore-graph-inspector-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.lore-graph-inspector-heading button{color:#9b9387;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;place-items:center;width:28px;height:28px;font-size:18px;display:grid}.lore-graph-inspector-heading button:hover{border-color:var(--line);color:#e8e2d7;background:#191a16}.lore-graph-inspector h3{color:#eee5d8;margin:0 0 5px;font:500 20px Georgia,serif}.lore-graph-inspector-type{color:#c4a878;text-transform:uppercase;letter-spacing:.12em;font-size:10px}.lore-graph-inspector p{color:#9b9387;white-space:pre-wrap;font-size:12px;line-height:1.5}.lore-graph-card-note{background:#1b1914;border:1px solid #4a4030;border-radius:5px;padding:10px 11px;color:#c5b68f!important;font-size:11px!important}.lore-graph-field>span small{color:#9b9387;font-size:10px;font-weight:400}.lore-graph-inspector dl{margin:18px 0}.lore-graph-inspector dt{color:#9b9387;text-transform:uppercase;margin-top:10px;font-size:10px}.lore-graph-inspector dd{overflow-wrap:anywhere;color:#d1c8bb;margin:3px 0;font-size:11px}.lore-graph-field{color:#aaa398;gap:6px;margin:18px 0;font-size:11px;display:grid}.lore-graph-field input,.lore-graph-field textarea{box-sizing:border-box;color:#e8e2d7;width:100%;font:inherit;background:#11110f;border:1px solid #3d3a32;border-radius:5px;padding:9px}.lore-graph-field textarea{resize:vertical;line-height:1.45}.lore-graph-field input[type=color]{cursor:pointer;width:100%;height:28px;padding:2px}.lore-graph-field select{color:#e8e2d7;width:100%;font:inherit;background:#11110f;border:1px solid #3d3a32;border-radius:5px;padding:9px}.lore-graph-evaluations{gap:7px;margin:16px 0;display:grid}.lore-graph-evaluation{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 28px;gap:6px;display:grid}.lore-graph-evaluation select,.lore-graph-evaluation input{color:#e8e2d7;background:#11110f;border:1px solid #3d3a32;border-radius:4px;min-width:0;padding:7px;font-size:10px}.lore-graph-evaluation-value{grid-template-columns:auto minmax(0,1fr);gap:5px;min-width:0;display:grid}.lore-graph-evaluation-value>:only-child{grid-column:1/-1}.lore-graph-null-value{color:#999f99;border:1px solid #383b34;border-radius:4px;place-items:center;min-height:30px;font:10px ui-monospace,monospace;display:grid}.lore-graph-evaluation button,.lore-graph-add-evaluation{color:#d7ccb9;cursor:pointer;background:#191a16;border:1px solid #48443a;border-radius:4px}.lore-graph-evaluation button:disabled{opacity:.35;cursor:default}.lore-graph-add-evaluation{border-color:#4b473e;padding:8px}.lore-graph-state-description{margin-top:-8px}.lore-tier-editors{gap:7px;margin:18px 0;display:grid}.lore-tier-editors-heading{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:2px;display:flex}.lore-tier-editors-heading b{color:#c6bcab;font-size:11px}.lore-tier-editors-heading span{color:#74a77d;text-transform:uppercase;letter-spacing:.08em;font-size:9px}.lore-tier-editor{background:#141612;border:1px solid #3e4138;border-radius:5px}.lore-tier-editor[open]{border-color:#53574b}.lore-tier-editor summary{color:#b9b5ab;cursor:pointer;text-transform:uppercase;letter-spacing:.06em;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;font-size:10px;font-weight:700;display:flex}.lore-tier-editor summary small{color:#7f8279;text-transform:none;letter-spacing:0;font-size:9px;font-weight:500}.lore-standard-heading{color:#c6bcab;text-transform:uppercase;justify-content:space-between;padding:9px 10px;font-size:10px;font-weight:700;display:flex}.lore-standard-heading small{color:#8d897e;text-transform:none;font-weight:500}.lore-compressed-preview{color:#c6bcab;background:#141612;border:1px solid #3e4138;border-radius:5px;padding:10px;font-size:11px}.lore-compressed-preview small{float:right;color:#a99362}.lore-compressed-preview p{white-space:pre-wrap;line-height:1.45}.lore-tier-editor p{color:#85847c;margin:0;padding:0 10px 8px;font-size:10px}.lore-tier-editor textarea{box-sizing:border-box;resize:vertical;color:#eee5d8;background:#0d0f0c;border:1px solid #48443a;border-radius:4px;width:calc(100% - 20px);margin:0 10px 10px;padding:8px;font:11px/1.45 ui-sans-serif,system-ui,sans-serif}.lore-tier-editor.tier-essential[open]{border-color:#4f7658}.lore-tier-editor.tier-standard[open]{border-color:#8b7136}.lore-tier-editor.tier-deep[open]{border-color:#625d79}.lore-graph-node-actions{grid-template-columns:1fr 1fr;gap:8px;margin:16px 0;display:grid}.lore-graph-node-actions button{color:#d7ccb9;cursor:pointer;background:#191a16;border:1px solid #48443a;border-radius:4px;padding:8px;font-size:11px}.lore-graph-node-actions button:hover:not(:disabled){color:#f0e4d0;border-color:#a27f36}.lore-graph-node-actions button:disabled{opacity:.45;cursor:default}.lore-graph-delete{color:#d99a85;cursor:pointer;background:#211917;border:1px solid #65413a;border-radius:5px;width:100%;margin-top:20px;padding:9px;font-size:11px}.lore-graph-header .lore-graph-toggle{white-space:nowrap;cursor:pointer;flex-direction:row;flex:none;align-items:center;gap:9px;position:relative}.lore-graph-toggle input{opacity:0;width:1px;height:1px;position:absolute}.lore-graph-toggle-track{background:#262520;border:1px solid #575348;border-radius:999px;flex:0 0 32px;width:32px;height:18px;transition:background .16s,border-color .16s;display:inline-block;position:relative}.lore-graph-toggle-track:after{content:"";background:#aaa397;border-radius:50%;width:12px;height:12px;transition:transform .16s,background .16s;position:absolute;top:2px;left:2px}.lore-graph-toggle input:checked+.lore-graph-toggle-track{background:#4a3918;border-color:#a78337}.lore-graph-toggle input:checked+.lore-graph-toggle-track:after{background:#e0b84f;transform:translate(14px)}.lore-graph-toggle input:focus-visible+.lore-graph-toggle-track{outline-offset:3px;outline:2px solid #d4a640}.lore-graph-toggle-label{color:#c8c1b4;white-space:nowrap;font-size:11px}.lore-graph-evaluation button{place-items:center;display:grid}.lore-graph-evaluation button svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;width:13px;height:13px}.lore-graph-inspector-empty{color:#9b9387;background:#191a16;border:1px solid #34312a;border-radius:5px;padding:14px;font-size:12px;line-height:1.5}.lore-graph-inspector-empty b{color:#e8e2d7;font:500 18px Georgia,serif}.lore-graph-inspector-empty p{margin:7px 0 0}@media (width<=900px){.drawer.lore-graph-drawer{width:100%}.lore-graph-layout{grid-template-columns:minmax(0,1fr)}.lore-graph-inspector{display:none}}@media (width<=620px){.editor .lore-graph-panel{width:100%;height:680px;min-height:680px;margin-left:0;transform:none}.lore-graph-header{flex-basis:68px;min-height:68px;padding-inline:14px}.lore-graph-header h2{font-size:20px}.lore-graph-header>div:first-child span{display:none}.lore-graph-header-actions{gap:8px}.lore-graph-layout{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}.lore-graph-action-bar{gap:7px;min-height:64px;padding:10px 12px}.lore-graph-action-bar .btn{min-height:40px;padding:8px 11px;font-size:11px}.lore-graph-card-picker-backdrop{padding:12px}.lore-graph-card-picker{max-height:100%}.lore-graph-card-picker-header{padding:16px 16px 12px;padding-left:14px;padding-right:14px}.lore-graph-card-picker-scroll{padding-left:14px;padding-right:14px}.lore-graph-card-picker-grid{grid-template-columns:minmax(0,1fr)}.lore-graph-card-picker-footer{align-items:flex-start;padding:10px 14px}}.lore-graph-editor-page .lore-graph-panel{z-index:120;width:100vw;height:100vh;min-height:0;margin:0;position:fixed;inset:0;transform:none;box-shadow:0 0 0 1px #35342f,0 18px 60px #0008}.discovery-hero{background:radial-gradient(circle at 90% 20%,#66502a22,#0000 42%),linear-gradient(135deg,#211b13,#161714 68%);border:1px solid #4a3b25;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);align-items:end;gap:22px 34px;margin:12px 0 42px;padding:clamp(24px,5vw,58px);display:grid;box-shadow:0 18px 50px #0004}.discovery-hero>div:first-child{max-width:650px}.discovery-hero h1{color:#f1e4ce;letter-spacing:-.04em;margin:8px 0 12px;font:500 clamp(34px,5vw,64px)/.98 Georgia,serif}.discovery-hero h1 em{color:var(--gold);font-style:italic}.discovery-hero p:not(.eyebrow){color:#aaa092;max-width:540px;margin:0;font-size:15px;line-height:1.65}.discovery-search{background:#10110fdd;border:1px solid #554527;align-items:center;gap:9px;width:min(100%,560px);min-width:0;height:44px;padding:0 42px 0 12px;display:flex}.discovery-search-icon{width:17px;height:17px;color:var(--gold);flex:none}.discovery-search input{color:#f0e5d6;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:0;font:14px ui-sans-serif,system-ui,sans-serif}.discovery-search input::placeholder{color:#777267}.discovery-hero .row{grid-column:1/-1}.home-section{margin-top:44px}.home-section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.home-section-heading h2{color:#e7ddcd;margin:2px 0 5px;font:500 27px/1.1 Georgia,serif}.home-section-heading p:not(.eyebrow){color:#858078;margin:0;font-size:12px}.sort-control{color:#878077;align-items:center;gap:8px;font-size:11px;display:flex}.sort-select{min-width:0;display:inline-flex;position:relative}.sort-control select{appearance:none;color:#cfc4b2;width:100%;min-width:0;font:inherit;background:#191a16;border:1px solid #494438;border-radius:0;padding:8px 36px 8px 10px}.sort-control select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.sort-select>svg{color:#cfc4b2;pointer-events:none;width:14px;height:14px;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.tag-filter-row{gap:7px;margin:0 0 18px;padding-bottom:5px;display:flex;overflow-x:auto}.tag-filter-row button,.wizard-tag-grid button{color:#999184;cursor:pointer;white-space:nowrap;background:#171914;border:1px solid #3c3b32;padding:7px 10px;font-size:10px}.tag-filter-row button:hover,.tag-filter-row button.active,.wizard-tag-grid button:hover,.wizard-tag-grid button.active{color:#e3bc68;background:#2a2215;border-color:#a78037}.discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.discovery-card{min-width:0;color:inherit;cursor:pointer;text-align:left;background:#191a16;border:1px solid #39372f;flex-direction:column;padding:0;transition:border-color .16s,box-shadow .16s;display:flex;overflow:hidden}.discovery-card:hover,.discovery-card:focus-visible{border-color:#a37d37;outline:0;box-shadow:0 10px 28px #0005}.discovery-card-art{aspect-ratio:16/8;background:radial-gradient(circle at 50% 20%,#5a4626,#1a1914 65%);display:block;overflow:hidden}.discovery-card-art img,.scenario-preview-banner img,.publish-preview-art img{object-fit:cover;width:100%;height:100%;display:block}.discovery-card-fallback{color:#c69e4f;place-items:center;width:100%;height:100%;font:38px Georgia,serif;display:grid}.discovery-card-body{gap:7px;padding:15px;display:grid}.discovery-card-kicker{color:#b18d50;letter-spacing:.13em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:9px;font-weight:700;overflow:hidden}.discovery-card-body strong{color:#eee4d4;text-overflow:ellipsis;white-space:nowrap;font:500 22px/1.08 Georgia,serif;overflow:hidden}.discovery-card-tagline{color:#a9a095;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:32px;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.discovery-card-tags{flex-wrap:wrap;gap:5px;display:flex}.discovery-card-tags i{color:#c09b57;border:1px solid #4e422d;padding:4px 6px;font-size:9px;font-style:normal}.discovery-card-stats{color:#77766e;flex-wrap:wrap;gap:9px;font-size:10px;display:flex}.continue-section{margin-top:0}.preview-toolbar{justify-content:space-between;gap:12px;margin-bottom:18px;display:flex}.scenario-preview-banner{aspect-ratio:21/7;background:radial-gradient(circle at 50% 20%,#5a4626,#1a1914 65%);overflow:hidden}.scenario-preview-content{max-width:790px;margin:0 auto;padding:clamp(22px,5vw,52px)}.scenario-preview-heading{justify-content:space-between;align-items:end;gap:20px;display:flex}.scenario-preview-heading h1{color:#f0e4d3;letter-spacing:-.04em;margin:6px 0 8px;font:500 clamp(31px,5vw,58px)/.98 Georgia,serif}.scenario-preview-author strong{color:#c7a15b}.preview-stats{border-top:1px solid #37352d;border-bottom:1px solid #37352d;margin:22px 0 12px;padding:12px 0}.scenario-preview-actions{gap:8px;margin:14px 0 28px;display:flex}.scenario-preview-copy{color:#c4bbae;font:17px/1.7 Georgia,serif}.scenario-preview-copy blockquote{color:#dfc697;background:#211c14;border-left:2px solid #9d7832;margin:25px 0;padding:16px 20px;font-style:italic}.preview-tags{margin:24px 0 48px}.scenario-comments{border-top:1px solid #37352d;padding-top:28px}.comment-composer{gap:10px;margin:14px 0 22px;display:grid}.comment-composer textarea{resize:vertical;color:#eee4d3;background:#11120f;border:1px solid #464239;width:100%;padding:11px;font:13px/1.5 ui-sans-serif,system-ui,sans-serif}.comment{border-top:1px solid #302f29;padding:14px 0}.comment>div{color:#c6a25d;justify-content:space-between;align-items:baseline;gap:12px;font-size:11px;display:flex}.comment small{color:#706e66}.comment p{color:#aaa399;white-space:pre-wrap;margin:8px 0 0;font-size:13px;line-height:1.55}.publication-status{color:#c3ae84;background:#211c14;border-left:2px solid #7a6437;gap:4px;margin:18px 0;padding:13px 15px;font-size:11px;display:grid}.publication-status span{color:#8e877b}.publication-status-published{background:#182219;border-left-color:#658b6a}.publish-wizard{gap:18px;min-width:min(100%,560px);display:grid}.publish-steps{border-bottom:1px solid #36342d;gap:5px;padding-bottom:10px;display:flex;overflow-x:auto}.publish-steps button{color:#77756c;cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:7px 9px;font-size:10px}.publish-steps button.active{color:#d6aa59}.publish-check{color:#9b9488;align-items:center;gap:9px;padding:9px 0;font-size:12px;display:flex}.publish-check span{color:#876e3c;font-size:15px}.publish-check.valid{color:#b8c9b0}.publish-check.valid span{color:#70a176}.wizard-tag-grid{flex-wrap:wrap;gap:7px;display:flex}.publish-preview-card{background:#191a16;border:1px solid #4a3d28;grid-template-columns:140px 1fr;gap:15px;padding:10px;display:grid}.publish-preview-art{aspect-ratio:1;background:#282117;overflow:hidden}.publish-preview-art span{color:#c6a15a;place-items:center;width:100%;height:100%;font:34px Georgia,serif;display:grid}.publish-preview-card h3{color:#eee3d0;margin:4px 0;font:500 20px Georgia,serif}.publish-preview-card strong{color:#c8a15b;font:italic 13px Georgia,serif}.publish-preview-card p:not(.eyebrow){color:#948e84;margin:8px 0;font-size:11px;line-height:1.45}@media (width<=820px){.discovery-hero{grid-template-columns:1fr}.discovery-hero .row{grid-column:auto}.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.discovery-hero{margin-inline:-8px;padding:25px 20px}.discovery-grid{grid-template-columns:1fr}.home-section-heading,.scenario-preview-heading{flex-direction:column;align-items:start}.scenario-preview-banner{aspect-ratio:16/8}.scenario-preview-heading .btn{width:100%}.publish-preview-card{grid-template-columns:90px 1fr}}.discovery-card.is-selected{z-index:2;pointer-events:none;position:relative}.discovery-search{position:relative}.search-clear{color:#d6bd89;cursor:pointer;background:#242016;border:1px solid #4a4438;border-radius:50%;place-items:center;width:28px;height:28px;min-height:0;padding:0;font-size:16px;line-height:1;display:grid;position:absolute;top:7px;right:8px}.search-clear:hover{border-color:var(--gold);color:#f0ce7c}.discover-updating{color:#958a79;letter-spacing:.04em;opacity:0;visibility:hidden;align-items:center;gap:7px;font-size:10px;transition:opacity .15s;display:inline-flex;position:absolute;bottom:0;left:0}.discover-updating.is-visible{opacity:1;visibility:visible}.discover-inline-error{color:#c99a7c;background:#251913;border:1px solid #624333;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px;padding:10px 12px;font-size:11px;display:flex}.discover-updating span,.scenario-modal-loading-dot{background:var(--gold);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite discovery-pulse;display:inline-block;box-shadow:0 0 0 4px #d7a94f1d}.discovery-skeleton-grid{min-height:360px}.discovery-card-skeleton{background:#191a16;border:1px solid #302f29;align-content:start;gap:10px;min-height:300px;padding-bottom:17px;display:grid;overflow:hidden}.discovery-card-skeleton>*{background:#292821;position:relative;overflow:hidden}.discovery-card-skeleton>:after{content:"";background:linear-gradient(90deg,#0000,#ffffff0b,#0000);animation:1.7s ease-in-out infinite discovery-shimmer;position:absolute;inset:0;transform:translate(-100%)}.skeleton-art{aspect-ratio:16/8;width:100%;display:block}.skeleton-line{height:10px;margin-inline:15px;display:block}.skeleton-kicker{width:30%;margin-top:5px}.skeleton-title{width:72%;height:20px}.skeleton-copy{width:84%}.skeleton-copy.short{width:55%}.scenario-modal-backdrop{z-index:100;background:#080907df;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.scenario-modal-shell{will-change:transform;background:#171814;border:1px solid #66502f;flex-direction:column;width:min(960px,100vw - 48px);max-height:min(900px,100vh - 48px);display:flex;overflow:hidden;box-shadow:0 30px 100px #000c}.scenario-modal-toolbar{background:#151611;border-bottom:1px solid #37352d;justify-content:space-between;align-items:center;min-height:47px;padding:9px 15px 8px 20px;display:flex}.scenario-modal-close{color:#c8bda9;cursor:pointer;background:0 0;border:1px solid #4a4438;place-items:center;width:32px;height:32px;font-size:22px;line-height:1;display:grid}.scenario-modal-close svg{width:14px;height:14px;display:block}.scenario-modal-close:hover,.scenario-modal-close:focus-visible{border-color:var(--gold);color:#f0c56a;outline:none}.scenario-modal-banner{aspect-ratio:21/6;background:radial-gradient(circle at 50% 20%,#5a4626,#1a1914 65%);flex:none;overflow:hidden}.scenario-modal-banner img{object-fit:cover;transform-origin:50%;width:100%;height:100%;display:block}.scenario-modal-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-width:0;min-height:0;overflow:hidden auto}.scenario-modal-scroll .scenario-preview-content{max-width:860px;padding-top:30px}.scenario-modal-scroll .scenario-preview-heading h1{font-size:clamp(30px,4vw,48px)}.scenario-modal-scroll .scenario-comments{margin-top:34px}.scenario-modal-loading{color:#a8997f;align-items:center;gap:10px;margin:-8px 0 17px;font-size:11px;display:flex}.scenario-modal-shell .error{margin:0 0 16px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes discovery-shimmer{to{transform:translate(100%)}}@keyframes discovery-pulse{50%{opacity:.35;transform:scale(.72)}}@media (prefers-reduced-motion:reduce){.discovery-card-skeleton>:after,.discover-updating span,.scenario-modal-loading-dot{animation:none}}@media (width<=700px){.scenario-modal-backdrop{align-items:end;padding:12px 8px 0;display:grid}.scenario-modal-shell{border-bottom:0;border-left:1px solid #66502f;border-right:1px solid #66502f;width:100%;height:min(88dvh,760px);max-height:calc(100dvh - 12px);box-shadow:0 -18px 60px #000a}.scenario-modal-toolbar{flex:none;min-height:53px;padding:7px 12px 7px 18px}.scenario-modal-close{width:40px;height:40px;font-size:25px}.scenario-modal-banner{aspect-ratio:auto;width:100%;height:clamp(128px,38vw,180px)}.scenario-modal-scroll{flex:auto}.scenario-modal-scroll .scenario-preview-content{box-sizing:border-box;width:100%;max-width:none;padding:24px 18px calc(30px + env(safe-area-inset-bottom))}.scenario-modal-scroll .scenario-preview-heading{align-items:stretch;gap:18px}.scenario-modal-scroll .scenario-preview-heading>div{min-width:0}.scenario-modal-scroll .scenario-preview-heading h1{overflow-wrap:anywhere;font-size:clamp(30px,10vw,42px);line-height:1.02}.scenario-modal-scroll .scenario-preview-tagline{font-size:16px;line-height:1.35}.scenario-modal-scroll .scenario-preview-heading .btn{width:100%}.scenario-modal-scroll .preview-stats{justify-content:space-between;gap:8px;margin-top:20px}.scenario-modal-scroll .scenario-preview-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:24px;display:grid}.scenario-modal-scroll .scenario-preview-actions .btn{white-space:nowrap;min-width:0;padding-inline:6px;font-size:12px}.scenario-modal-scroll .scenario-preview-copy{font-size:16px;line-height:1.65}.scenario-modal-scroll .scenario-preview-copy blockquote{margin:20px 0;padding:14px 16px}.scenario-modal-scroll .preview-tags{margin:22px 0 34px}.scenario-modal-scroll .scenario-comments{margin-top:0;padding-top:24px}.scenario-modal-scroll .comment-composer textarea{box-sizing:border-box;resize:vertical;min-height:104px}}@media (width<=760px){.scenario-preview-signals{min-height:0}}@media (width<=360px){.scenario-modal-scroll .scenario-preview-actions{grid-template-columns:1fr}.scenario-modal-scroll .scenario-preview-actions .btn{width:100%}}.app-nav button.active,.header-actions>button.active{background:var(--gold-header-gradient);color:#0000;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 7px #d7a94f47);background-size:220% 100%;-webkit-background-clip:text;background-clip:text}.discover-heading>div>.eyebrow,.sidebar-adventure p{background:var(--gold-ember-gradient);color:#0000;-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.library-hero{min-height:0;margin-bottom:18px}.app-shell:has(.home-page){isolation:isolate;position:relative;overflow-x:clip}.app-shell:has(.home-page):before{content:"";z-index:-1;pointer-events:none;background:url(/landing/headerbg.webp?fade=3) top/cover no-repeat;height:max(700px,56.28vw);position:absolute;inset:0 0 auto}.app-shell:has(.home-page)>header{background:#11100ec2;border-bottom-color:#6a4f2e8c}.home-page{isolation:isolate;position:relative}.home-page:before{content:"";z-index:-1;pointer-events:none;background:url(/landing/footerbg.webp?fade=3) bottom/cover no-repeat;height:max(700px,56.28vw);position:absolute;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw)}.home-middle{min-height:max(1000px,115vh);margin-block:-clamp(48px, 7vw, 80px);isolation:isolate;align-content:center;gap:clamp(72px,9vw,112px);padding-block:clamp(110px,14vh,170px);display:grid;position:relative}.home-middle>.home-section{z-index:1;position:relative}.home-middle .home-section-heading{text-shadow:0 2px 18px #000d}.landing-background{isolation:isolate;z-index:-1;pointer-events:none;background:#11110f;width:100vw;position:absolute;top:-280px;bottom:-360px;left:50%;overflow:hidden;transform:translate(-50%);-webkit-mask-image:url(/landing/para/mask.png);mask-image:url(/landing/para/mask.png);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.landing-background:after{z-index:3;content:"";pointer-events:none;background:linear-gradient(#3d221099,#281a0ea8);position:absolute;inset:0}.landing-background img{object-fit:cover;object-position:center;filter:sepia(.9)saturate(1.12)brightness(.65);width:100%;height:100%;display:block;position:absolute;inset:0}@media (width<=760px){.home-middle{min-height:850px;padding-block:100px}}.library-hero .home-hero-copy>.eyebrow{background:var(--gold-ember-gradient);color:#0000;-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.library-hero h1 em{line-height:inherit;white-space:nowrap;margin:0;padding:0;display:inline}.library-hero .home-hero-copy>.eyebrow{letter-spacing:.34em;margin:0 0 18px;font-size:14px}.library-hero .home-hero-copy>p:not(.eyebrow){color:#d0c7bc;max-width:47ch;margin:24px 0 28px;font:18px/1.45 Georgia,serif}.library-hero-actions{flex-wrap:wrap;gap:10px}.library-hero-actions .btn{white-space:nowrap;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:10px 15px;display:inline-flex;box-shadow:0 8px 22px #0004}.library-hero-actions .btn.ghost{color:#eee8dc;background:#171511a6;border-color:#625a4c}.library-action-icon{color:#e5ad3f;font-size:20px;line-height:1}.library-hero-actions svg.library-action-icon{width:20px;height:20px}.library-hero-actions .btn:first-child .library-action-icon{color:#241a0d}.library-action-arrow{width:16px;height:16px}@media (width>=901px){.library-hero{grid-template-columns:minmax(0,1fr) minmax(380px,1fr);gap:clamp(30px,4vw,56px)}}.library-hero .home-featured-adventure{aspect-ratio:1.12;cursor:pointer;border-color:#655a48;border-radius:12px;align-self:center;width:100%;min-height:clamp(440px,39vw,540px);max-height:560px;padding:0}.library-hero .home-featured-adventure:before{background:linear-gradient(90deg,#11100ec9 0%,#11100e70 55%,#0000 100%),linear-gradient(#0000 14%,#11100e78 55%,#11100ef0 100%)}.library-hero .home-featured-adventure:hover{border-color:#a1824c;transform:none}.library-hero .home-featured-adventure .adventure-card-banner{object-position:center 45%;transition:transform .5s ease-out}.library-hero .home-featured-adventure:hover .adventure-card-banner,.library-hero .home-featured-adventure:focus-within .adventure-card-banner{transform:scale(1.06)}.library-hero .home-featured-scrim{width:100%;min-height:0;box-shadow:none;background:0 0;border-radius:0;flex-direction:column;flex:1;justify-content:space-between;align-items:flex-start;gap:24px;padding:clamp(24px,3vw,36px);display:flex}.library-hero .home-featured-copy{gap:10px;max-width:min(80%,360px)}.library-hero .home-featured-copy>span{color:#e4b85e;letter-spacing:.18em;text-transform:uppercase;font-size:10px;font-weight:800}.library-hero .home-featured-copy strong{font-size:clamp(32px,3vw,43px);line-height:1.04}.library-hero .home-featured-copy small{color:#e4dacf;-webkit-line-clamp:2;font:15px/1.5 Georgia,serif}.home-featured-stats{border-top:1px solid #d7b77870;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;width:100%;margin-top:6px;padding-top:16px;display:grid}.home-featured-stats>span{gap:5px;min-width:0;display:grid}.home-featured-stats>span:last-child{text-align:right}.home-featured-stats span{color:#cfc2ac;font-size:12px}.home-featured-scene{align-items:center;gap:8px;min-width:0;display:flex}.home-featured-scene svg{color:#e7bd71;background:#d7a94f24;border:1px solid #d7a94f59;border-radius:6px;flex:none;width:24px;height:24px;padding:4px}.home-featured-stats .home-featured-scene strong{color:#f3ebdf;font:650 15px/1.2 ui-sans-serif,system-ui,sans-serif}.home-featured-last-played{padding-left:0}.home-featured-stats strong{color:#f2e8d9;text-overflow:ellipsis;white-space:nowrap;font:500 17px/1.2 Georgia,serif;overflow:hidden}.home-featured-stats>span:last-child strong{color:#e9bf71;font-size:26px}@media (prefers-reduced-motion:reduce){.library-hero .home-featured-adventure .adventure-card-banner{transition:none}.library-hero .home-featured-adventure:hover .adventure-card-banner,.library-hero .home-featured-adventure:focus-within .adventure-card-banner{transform:none}}@media (width<=560px){.library-hero .home-hero-copy>.eyebrow{font-size:11px}.library-hero .home-hero-copy>p:not(.eyebrow){font-size:17px}.library-hero-actions .btn{flex:100%}.library-hero .home-featured-adventure{aspect-ratio:auto;min-height:420px;max-height:none}.library-hero .home-featured-scrim{padding:24px}.library-hero .home-featured-copy{max-width:100%}.library-hero .home-featured-copy strong{font-size:32px}.home-featured-stats{gap:12px}.home-featured-stats span{font-size:11px}.home-featured-stats strong{font-size:15px}}.library-promise{justify-content:center;min-height:0}.library-promise h2{max-width:14ch;margin:9px 0 13px}.library-promise p:last-child{color:#9b9387;max-width:30ch;margin:0;line-height:1.6}.current-adventures{gap:20px}.current-adventures-heading{align-items:end;margin-bottom:0}.current-adventures-heading>span{color:#9b9387;padding-bottom:4px;font-size:12px}.adventure-library-grid{gap:16px}.adventure-library-grid .home-adventure-card{background:#1b1a16;border-color:#4a4439;border-radius:12px;min-height:278px;padding:0}.adventure-library-grid .home-adventure-card:before{background:linear-gradient(#0000 28%,#0d0c095c 54%,#0d0c09bc 76%,#0d0c09f2 100%)}.adventure-library-grid .adventure-card-banner{transition:transform .35s ease-out}.adventure-library-grid .home-adventure-card:hover .adventure-card-banner,.adventure-library-grid .home-adventure-card:focus-visible .adventure-card-banner{transform:scale(1.045)}.adventure-library-grid .home-adventure-card:hover,.adventure-library-grid .home-adventure-card:focus-visible{border-color:#a37d37;transform:none;box-shadow:0 12px 30px #0006}.adventure-library-grid .home-adventure-scrim{box-shadow:none;background:0 0;border-radius:0;align-self:end;gap:9px;padding:18px 20px 20px}.adventure-library-grid .home-adventure-scrim small{color:#d4b46d;letter-spacing:.12em;font-size:10px;font-weight:700}.adventure-library-grid .home-adventure-scrim strong{color:#eee7db;max-width:21ch;font-size:clamp(22px,2vw,27px);line-height:1.1}.adventure-library-grid .home-adventure-action{color:#f0ce84;background:#1c1811df;border:1px solid #8d713b;border-radius:6px;justify-self:start;align-items:center;gap:8px;min-height:34px;margin-top:7px;padding:6px 11px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.adventure-library-grid .home-adventure-action svg{width:15px;height:15px}.adventure-library-grid .home-adventure-card:hover .home-adventure-action{background:#382912;border-color:#d7a94f}.adventure-pagination{justify-content:center;align-items:center;gap:16px;padding-top:7px;display:flex}.adventure-page-button{color:#e1d6c5;cursor:pointer;background:#1b1a16;border:1px solid #50483b;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-width:104px;min-height:40px;padding:8px 15px;font:700 12px ui-sans-serif,system-ui,sans-serif;transition:border-color .18s,background .18s,color .18s;display:inline-flex}.adventure-page-button svg{width:15px;height:15px}.adventure-page-button:hover:not(:disabled){color:#f2ca77;background:#292318;border-color:#b68e47}.adventure-page-button:disabled{opacity:.42;cursor:default}.adventure-page-status{color:#d8d0c4;text-align:center;gap:3px;min-width:104px;display:grid}.adventure-page-status strong{font-size:12px;font-weight:700}.adventure-page-status small{color:#91897d;font-size:11px}.current-adventures-note{text-align:center;border:1px dashed #3b382f;margin:0;padding:22px}.adventure-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-adventure-card-featured{grid-column:span 2;min-height:300px}.personal-published-grid .discovery-card{min-height:100%}.personal-published-card{gap:8px;min-width:0;display:grid}.personal-published-card>.btn{justify-self:start}.discover-page{max-width:1180px}.user-profile-heading{border-bottom:1px solid #3a372f;align-items:center;gap:22px;margin:12px 0 34px;padding:22px 0 28px;display:flex}.user-profile-heading>img{background:#181915;border:1px solid #51432c;border-radius:25px;flex:none;width:92px;height:92px;display:block;box-shadow:0 12px 32px #0005}.user-profile-heading h1{color:#efe4d3;letter-spacing:-.03em;overflow-wrap:anywhere;margin:0;font:500 clamp(32px,4vw,48px)/1.05 Georgia,serif}.user-profile-heading p{color:#c5a65f;margin:6px 0 0;font-size:14px}.user-profile-heading small,.user-profile-story-count{color:#91897d;margin-top:7px;font-size:12px;display:block}.user-profile-controls{margin-bottom:28px}.user-profile-controls .discovery-search{max-width:560px}.user-profile-page .discover-results-heading>div:first-child{padding-bottom:0}.user-profile-page .discover-results-heading h2{margin-top:0}.user-profile-page .discover-results-heading{min-height:36px}.user-profile-page .discover-loading{min-height:240px}.scenario-preview-author button{color:#d7b76d;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.scenario-preview-author button:hover{color:#f0d48d;text-decoration:underline}.discover-heading{border-bottom:1px solid #3a372f;justify-content:space-between;align-items:end;gap:30px;margin:15px 0 28px;padding-bottom:30px;display:flex}.discover-heading-actions{flex-shrink:0;justify-items:end;gap:16px;display:grid}.discover-collections-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}html:has(.discover-collections){scrollbar-gutter:stable}.discover-collections-heading .discover-heading-actions{margin-top:8px}.discover-collections-heading.is-characters h1 em{display:inline}@media (width<=900px){.discover-collections-heading{grid-template-columns:minmax(0,1fr);gap:22px}.discover-collections-heading .discover-heading-actions{grid-row:1;justify-items:start;margin-top:0}}.discover-kind-switch{border:1px solid var(--line);background:#11110f;border-radius:6px;grid-auto-columns:1fr;grid-auto-flow:column;gap:0;max-width:100%;display:grid;overflow:hidden}.discover-kind-switch button{appearance:none;color:#9b9387;text-align:center;white-space:normal;cursor:pointer;background:0 0;border:0;border-radius:0;min-width:0;min-height:46px;padding:13px 20px 14px;font:500 13px/18px ui-sans-serif,system-ui,sans-serif;transition:color .15s,background-color .15s;position:relative}.discover-kind-switch button+button{border-left:1px solid #34312a80}.discover-kind-switch button:hover{color:#efe4d3;background:#efe4d30a}.discover-kind-switch button:is([aria-current=page],[aria-pressed=true]){color:var(--gold);background:#d7a94f14}.discover-kind-switch button:after{content:"";opacity:0;background:linear-gradient(90deg,#d6a336,#d9583b);border-radius:2px 2px 0 0;height:2px;transition:opacity .2s,transform .25s cubic-bezier(.3,.7,.2,1);position:absolute;bottom:0;left:16px;right:16px;transform:scaleX(.4)}.discover-kind-switch button:is([aria-current=page],[aria-pressed=true]):after{opacity:1;transform:scaleX(1)}.discover-kind-switch button:focus-visible{outline-offset:-3px;outline:2px solid #d7a94f99}.library-collection-caption{color:#9b9387;font-size:12px}.library-results-grid{align-items:stretch}.library-published-item{min-width:0}.library-published-item .personal-published-card{grid-template-rows:1fr auto;height:100%}.library-adventure-card .discovery-card-body{flex:1;align-content:start}.library-card-scene{color:#c5bcae;align-items:center;gap:7px;min-width:0;font-size:12px;display:flex}.library-card-scene svg{color:#b18d50;flex-shrink:0;width:15px;height:15px}.library-card-scene>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.library-card-progress{color:#9b9387;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;font-size:10px;line-height:1.5;display:flex}.library-card-continue{color:var(--gold);justify-content:space-between;align-items:center;gap:10px;margin-top:7px;font-size:12px;display:flex}.library-card-continue svg{width:16px;height:16px}.library-scenario-card{cursor:default}.library-scenario-card:focus-within{border-color:#a37d37}.library-scenario-card .discovery-card-body{flex-direction:column;flex:1;gap:10px;display:flex}.library-card-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.library-status-badge{color:#c09b57;border:1px solid #4e422d;padding:3px 6px;font-size:9px;line-height:1.4}.library-card-actions{flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:8px;display:flex}.library-card-actions .btn{min-height:36px;padding:8px 10px;font-size:11px}@media (width<=380px){.app-shell>header .brand-text{display:none}}@media (width<=560px){.library-kind-switch{width:100%}.library-kind-switch button{flex:1;min-width:0;padding-inline:9px;font-size:11px}.library-results-grid .library-scenario-card .discovery-card-body{gap:7px}}@media (prefers-reduced-motion:reduce){.library-page .discovery-card,.library-results-grid .discovery-card{transition:none}}@media (width<=700px){.discover-heading-actions{justify-items:start;width:100%}}@media (prefers-reduced-motion:reduce){.discover-kind-switch button,.discover-kind-switch button:after{transition:none}}.discover-heading h1{color:#efe4d3;letter-spacing:-.04em;margin:8px 0 12px;font:500 clamp(38px,5vw,64px)/.98 Georgia,serif}.discover-heading h1 em{color:var(--gold);font-style:italic}.discover-heading p:not(.eyebrow){color:#9b9387;max-width:580px;margin:0;line-height:1.6}.discover-controls{gap:15px;margin-bottom:38px;display:grid}.discover-controls .discovery-search{max-width:560px}.discover-control-row{justify-content:space-between;align-items:center;gap:18px;display:flex}.discover-control-row .tag-filter-row{margin:0}.library-controls{grid-template-columns:minmax(0,1fr) auto}.library-controls>.discovery-search{grid-area:1/1}.library-controls>.sort-control{grid-area:1/2;align-self:center}.library-controls>.discover-control-row{grid-area:2/1/auto/-1;min-height:calc(1lh + 18px);font-size:11px}.discover-results-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.discover-results-heading>div:first-child{min-width:170px;padding-bottom:17px;position:relative}.discover-results-heading h2{color:#e6ddcf;margin:4px 0 0;font:500 27px Georgia,serif}.discovery-results-grid{align-content:start;min-height:620px}.discover-loading{color:#8c857a;border:1px dashed #3c392f;place-items:center;min-height:240px;display:grid}.discover-empty{min-height:240px}.discover-load-more{justify-content:center;margin:28px 0 6px;display:flex}@media (width<=900px){.adventure-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-adventure-card-featured{grid-column:span 2}.discover-heading{flex-direction:column;align-items:start}}@media (width<=560px){.adventure-library-grid{grid-template-columns:1fr}.home-adventure-card-featured{grid-column:auto}.discover-control-row{flex-direction:column;align-items:start}.discover-page{width:100%;max-width:100%;padding-inline:14px;overflow-x:clip}.discover-page>*,.discover-controls,.discover-control-row,.discover-results,.discovery-results-grid{min-width:0;max-width:100%}.discover-heading{gap:20px;padding-bottom:22px}.discover-heading h1{overflow-wrap:anywhere;font-size:clamp(34px,11vw,46px)}.discover-controls{gap:12px;margin-bottom:28px}.discover-controls .discovery-search{width:100%;max-width:100%}.discover-control-row{gap:12px;width:100%}.discover-control-row .tag-filter-row{overscroll-behavior-inline:contain;width:100%;min-width:0;max-width:100%}.sort-control{justify-content:space-between;width:100%}.sort-control .sort-select{max-width:70%}.library-controls{grid-template-columns:minmax(0,1fr)}.library-controls>.sort-control{grid-area:3/1}.library-controls>.discover-control-row{min-height:0}.discover-results-heading{align-items:start;min-width:0}.discover-results-heading>div:first-child{min-width:0}.discovery-results-grid{width:100%;min-height:0}.discovery-results-grid .discovery-card{grid-template-columns:clamp(96px,31vw,124px) minmax(0,1fr);width:100%;min-height:142px;display:grid}.discovery-results-grid .discovery-card-art{aspect-ratio:auto;width:100%;height:100%;min-height:142px}.discovery-results-grid .discovery-card-body{align-content:center;gap:6px;min-width:0;padding:12px}.discovery-results-grid .discovery-card-body strong{font-size:18px}.discovery-results-grid .discovery-card-tagline{-webkit-line-clamp:2;min-height:0}.discovery-results-grid .discovery-card-tags i:nth-child(n+3){display:none}.discover-heading{margin-top:0}.discover-heading .btn{width:100%}.adventure-pagination{gap:8px}.adventure-page-button{min-width:84px;padding-inline:9px}.adventure-page-status{min-width:88px}}@media (prefers-reduced-motion:reduce){.adventure-library-grid .home-adventure-card,.adventure-library-grid .adventure-card-banner,.adventure-page-button{transition:none}.adventure-library-grid .home-adventure-card:hover .adventure-card-banner,.adventure-library-grid .home-adventure-card:focus-visible .adventure-card-banner{transform:none}}.scenario-preview-page{max-width:1180px}.scenario-preview-shell{background:#151713;border:1px solid #51432c;overflow:hidden;box-shadow:0 22px 70px #0006}.scenario-preview-hero{background:#151713;grid-template-columns:minmax(300px,44%) minmax(0,56%);min-height:min(730px,100dvh - 150px);display:grid}.scenario-preview-visual{background:radial-gradient(circle at 50% 20%,#5a4626,#10110e 68%);border-right:1px solid #302e27;min-height:100%;position:relative;overflow:hidden}.scenario-preview-visual:after{content:"";pointer-events:none;background:linear-gradient(#0000,#08090780);height:30%;position:absolute;inset:auto 0 0}.scenario-preview-banner-caption{z-index:2;justify-content:space-between;align-items:end;gap:18px;display:flex;position:absolute;bottom:22px;left:24px;right:24px}.scenario-preview-banner-title{color:#f0e5d2;text-shadow:0 2px 14px #000;align-items:center;gap:10px;min-width:0;display:flex}.scenario-preview-banner-title>span{border:1px solid #e1ad45;flex:none;width:8px;height:8px;display:block;transform:rotate(45deg);box-shadow:0 0 10px #e1ad4559}.scenario-preview-banner-title strong{letter-spacing:.1em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font:600 13px/1.2 Georgia,serif;overflow:hidden}.scenario-preview-next{color:#e2c27d;cursor:pointer;background:#0c0d0b80;border:1px solid #e2c38173;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;transition:background .18s,border-color .18s,color .18s,transform .18s;display:grid;box-shadow:0 4px 18px #0008,inset 0 0 0 1px #ffffff0d}.scenario-preview-next:hover,.scenario-preview-next:focus-visible{color:#f5d58e;background:#231d11d1;border-color:#e2b45b;transform:translate(2px)}.scenario-preview-next svg{width:17px;height:17px}.scenario-preview-image-frame{width:100%;height:100%;position:absolute;inset:0;overflow:hidden}.scenario-preview-image-frame img{object-fit:cover;object-position:50% 50%;will-change:transform;backface-visibility:hidden;width:100%;height:100%;animation:20s linear infinite alternate scenario-banner-drift;display:block;position:absolute;top:0;left:0}@keyframes scenario-banner-drift{0%{transform:scale(1.18)translate(-5%)}to{transform:scale(1.18)translate(5%)}}.scenario-preview-details{flex-direction:column;justify-content:flex-start;min-width:0;padding:clamp(36px,5vw,72px) clamp(36px,5vw,72px) 24px;display:flex;position:relative;overflow:hidden}.scenario-preview-details:before{content:"";pointer-events:none;background:radial-gradient(circle,#84581a2b 0%,#543c1813 42%,#0000 78%);width:128%;height:108%;position:absolute;top:-34%;right:-28%}.scenario-preview-details>*{z-index:1;position:relative}.scenario-preview-intro{min-width:0}.scenario-preview-intro>.eyebrow{align-items:center;gap:12px;margin:0 0 30px;display:flex}.scenario-preview-intro>.eyebrow:before,.scenario-preview-intro>.eyebrow:after{content:"";background:#806525;width:26px;height:1px}.scenario-preview-author{color:#8f887c;margin:0 0 10px;font-size:12px}.scenario-preview-author strong{color:#d3a742;font-weight:700}.scenario-preview-intro h1{color:#f0e7d8;letter-spacing:-.045em;overflow-wrap:anywhere;max-width:12ch;margin:0;font:500 clamp(42px,5.2vw,66px)/.9 Georgia,serif}.scenario-preview-tagline{color:#dfb342;margin:26px 0 0;font:italic clamp(17px,2vw,20px)/1.35 Georgia,serif}.scenario-preview-description{color:#c4bcaf;max-width:54ch;margin:24px 0 0;font:15px/1.7 Georgia,serif}.scenario-preview-genres{border-top:1px solid #36342d;flex-wrap:wrap;gap:8px 18px;margin-top:28px;padding-top:19px;display:flex}.scenario-preview-genres span{color:#bca35f;letter-spacing:.13em;text-transform:uppercase;font-size:9px;font-weight:750}.scenario-preview-signals{border-top:1px solid #7868464d;border-bottom:1px solid #7868464d;flex:auto;align-content:start;gap:12px;min-height:0;margin-top:25px;padding:20px 0 24px;display:grid}.scenario-preview-signals-label{color:#806f4b;letter-spacing:.16em;margin:0;font-size:9px;font-weight:700}.scenario-preview-signals>div{align-content:start;gap:12px;display:grid}.scenario-preview-signals span{color:#c2b6a3;border-bottom:1px solid #78684633;align-items:center;gap:12px;min-height:35px;padding:0 0 14px;font:16px/1.35 Georgia,serif;display:flex}.scenario-preview-signal-mark{fill:none;stroke:#c99d4ca6;stroke-width:1px;flex:none;width:28px;height:28px;overflow:visible}.scenario-preview-signal-mark path{fill:#d8ab57;stroke:none}.scenario-preview-cta-row{justify-content:space-between;align-items:center;gap:22px;width:100%;margin-top:auto;padding-top:34px;display:flex}.scenario-preview-cta-row>.btn{order:2;justify-content:space-between;align-items:center;gap:28px;min-width:190px;padding:15px 18px;display:inline-flex}.scenario-preview-cta-row>.btn svg{width:17px;height:17px}.scenario-preview-social-stats{order:1;align-items:center;gap:5px;display:flex}.scenario-preview-social-stats button{color:#817e75;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:5px;min-width:42px;min-height:38px;padding:8px;font-size:10px;transition:border-color .16s,background .16s,color .16s;display:inline-flex}.scenario-preview-social-stats button:hover,.scenario-preview-social-stats button:focus-visible{color:#e0b457;border-color:#51462f}.scenario-preview-social-stats button.active{color:#e1af45;background:#2a2112}.scenario-preview-social-stats svg{width:17px;height:17px}.scenario-preview-social-stats button.active svg{fill:currentColor}.scenario-social-section{background:#181914;border-top:1px solid #4b3d27;min-height:min(730px,100dvh - 150px);padding:clamp(42px,6vw,76px) clamp(28px,8vw,100px);position:relative;overflow:hidden}.scenario-social-section:before{content:"";pointer-events:none;background:radial-gradient(circle,#6a4e1e21 0%,#3e331b0f 42%,#0000 80%);width:116%;height:106%;position:absolute;top:-34%;left:-28%}.scenario-social-section>*{z-index:1;position:relative}.scenario-social-heading{justify-content:space-between;align-items:end;gap:28px;margin-bottom:34px;display:flex}.scenario-social-heading .eyebrow{margin:0 0 10px}.scenario-social-heading h2{color:#eee4d5;margin:0;font:500 clamp(30px,4vw,46px)/1 Georgia,serif}.scenario-social-heading p:last-child{color:#918a7f;margin:12px 0 0;font-size:13px}.scenario-share-button{color:#aaa194;cursor:pointer;background:0 0;border:1px solid #474239;border-radius:5px;align-items:center;gap:8px;padding:9px 11px;font-size:11px;display:inline-flex}.scenario-share-button:hover{color:#dfb45f;border-color:#8b6c33}.scenario-share-button svg{width:15px;height:15px}.scenario-social-section .comment-composer{grid-template-columns:minmax(0,1fr) auto;align-items:end;margin:0 0 34px}.scenario-social-section .comment-composer textarea{min-height:112px}.scenario-comment-list{max-width:820px}.scenario-modal-shell{width:min(1120px,100vw - 48px)}.scenario-modal-toolbar{flex:0 0 47px}.scenario-modal-scroll{scroll-behavior:auto;scroll-snap-type:none}.scenario-modal-scroll .scenario-preview-hero,.scenario-modal-scroll .scenario-social-section{min-height:calc(min(900px,100dvh - 48px) - 47px)}.scenario-modal-scroll .scenario-preview-details{padding:clamp(32px,4.5vw,64px) clamp(32px,4.5vw,64px) 24px}.scenario-modal-loading{margin:0 0 18px}@media (width<=800px){.scenario-preview-hero{grid-template-columns:40% minmax(0,60%)}.scenario-preview-details{padding:34px 28px}.scenario-preview-intro h1{font-size:clamp(34px,6vw,48px)}.scenario-preview-cta-row{flex-direction:column;align-items:stretch}.scenario-preview-social-stats{justify-content:flex-end}}@media (width<=700px){.scenario-modal-scroll{scroll-behavior:auto;scroll-snap-type:none}.scenario-modal-scroll .scenario-preview-hero,.scenario-modal-scroll .scenario-social-section{scroll-snap-align:none;min-height:0}.scenario-preview-hero{flex-direction:column;min-height:0;display:flex}.scenario-preview-visual{border-bottom:1px solid #302e27;border-right:0;width:100%;height:clamp(210px,58vw,330px);min-height:0}.scenario-preview-banner-caption{bottom:16px;left:16px;right:16px}.scenario-preview-image-frame img{min-height:0}.scenario-preview-details{padding:30px 20px 34px}.scenario-preview-intro>.eyebrow{margin-bottom:22px}.scenario-preview-intro h1{max-width:none;font-size:clamp(36px,12vw,52px)}.scenario-preview-description{font-size:15px}.scenario-preview-cta-row{margin-top:28px;padding-top:0}.scenario-preview-cta-row>.btn{order:1;width:100%}.scenario-preview-social-stats{order:2;justify-content:flex-start}.scenario-social-section{min-height:0;padding:36px 20px max(36px, env(safe-area-inset-bottom))}.scenario-social-heading{flex-direction:column;align-items:start}.scenario-social-section .comment-composer{grid-template-columns:1fr}.scenario-social-section .comment-composer .btn{width:100%}}@media (prefers-reduced-motion:reduce){.scenario-preview-image-frame img{animation:none;transform:none}.scenario-modal-scroll{scroll-behavior:auto;scroll-snap-type:none}.scenario-modal-scroll .scenario-preview-hero,.scenario-modal-scroll .scenario-social-section{scroll-snap-align:none}}.threads-panel{color:#d8d0c2;background:#121312;flex-direction:column;align-items:stretch;gap:20px;min-height:100%;padding:28px;display:flex}.threads-panel>label{color:#eee5d6;background:#1a1c18;border:1px solid #3d3b33;border-radius:6px;flex-direction:row-reverse;justify-content:space-between;align-items:center;padding:16px;font-size:13px;font-weight:600;display:flex}.threads-panel input{accent-color:#d4a640;width:17px;height:17px;margin:0}.threads-panel h3{color:#d7a941;letter-spacing:.14em;text-transform:uppercase;margin:10px 0 0;font-size:11px}.threads-panel-section{gap:10px;display:grid}.threads-panel-section h3{justify-content:space-between;align-items:center;margin:0 0 2px;display:flex}.threads-panel-section h3 span{color:#d7a941;letter-spacing:0;background:#29271e;border-radius:50%;place-items:center;min-width:22px;height:22px;font-size:10px;display:grid}.threads-panel-empty,.threads-panel>p{color:#a9a294;text-align:center;border:1px dashed #4b493e;border-radius:6px;margin:0;padding:24px 16px;font-size:13px}.threads-panel article{background:#1a1c18;border:1px solid #48463b;border-radius:6px;padding:15px}.threads-panel h4{color:#eee5d6;margin:0 0 6px;font:500 17px Georgia,serif}.threads-panel article p{color:#bdb4a5;margin:0;font-size:12px}.threads-panel article ul{color:#968f82;margin:10px 0 0;padding-left:18px;font-size:11px}.threads-card.complete{background:#19211b;border-color:#3e5542}.threads-card.abandoned{background:#191b18;border-color:#444239}.threads-card-top{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.threads-card-symbol{color:#d8b76b;border:1px solid #8b713c;border-radius:50%;place-items:center;width:26px;height:26px;font-size:14px;display:grid}.threads-card.complete .threads-card-symbol{color:#a9d2af;border-color:#63836b}.threads-card-badge{color:#d1af61;letter-spacing:.09em;text-transform:uppercase;font-size:10px;font-weight:700}.threads-card.complete .threads-card-badge{color:#9dc5a3}.threads-card.abandoned .threads-card-badge{color:#a9a294}.threads-card-timeline{color:#a9a294;border-top:1px solid #3e3e35;gap:6px;margin:13px 0 0;padding:10px 0 0 19px;font-size:11px;display:grid}.threads-card.complete .threads-card-timeline{border-top-color:#3b4c3e}.threads-card-actions{justify-content:flex-end;margin-top:12px;display:flex}.threads-card-actions .threads-button{min-height:32px;padding:6px 10px}.threads-action-error{color:#d99a85;background:#291917;border:1px solid #704039;border-radius:5px;margin:0;padding:10px 12px;font-size:12px}.threads-panel>button,.threads-button{color:#e2c681;cursor:pointer;text-align:center;background:#292417;border:1px solid #625532;border-radius:5px;min-height:38px;padding:9px 14px;font-size:12px;font-weight:600}.design-references-page{padding-bottom:80px}.account-quests{margin:0 24px 24px}.account-quests>small{color:#938b7e;margin-top:7px;font-size:10px;display:block}.quest-drawer-backdrop{justify-content:flex-start}.drawer.quest-drawer{border-left:0;border-right:1px solid var(--line);width:min(820px,100%);animation:.18s ease-out quest-drawer-in;box-shadow:20px 0 60px #0008}.quest-drawer .drawer-body,.quest-drawer .quest-shell{padding:20px}.quest-drawer .quest-heading h3{font-size:30px}.quest-drawer .quest-drawer-close svg{width:20px;height:20px}.quest-drawer-actions{align-items:center;gap:8px;display:flex}.quest-drawer-help.icon{color:#c6b591;border:1px solid #645035;border-radius:50%;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;font:500 18px Georgia,serif}.quest-drawer-help.icon:hover{color:#ffdc83;border-color:#c79a45}.quest-drawer-note{color:#9b9387;margin:16px 0 0;font-size:11px;line-height:1.6}.quest-drawer :focus-visible{outline:2px solid var(--gold);outline-offset:3px}@keyframes quest-drawer-in{0%{transform:translate(-28px)}}@media (width<=700px){.quest-drawer .drawer-body,.quest-drawer .quest-shell{padding:16px}}@media (prefers-reduced-motion:reduce){.quest-drawer-backdrop,.drawer.quest-drawer{animation:none}}#quest-sidebar-reference{scroll-margin-top:88px}.quest-sidebar-reference-layout{flex-wrap:wrap;align-items:flex-start;gap:24px;display:flex}.quest-sidebar-reference-frame{border:1px solid var(--line);background:#151511;width:320px;max-width:100%;padding:16px}.quest-sidebar-reference-layout>.design-reference-note{flex:260px;max-width:40ch;margin-top:0}.quest-sidebar{background:#1c1b17;border:1px solid #514633;border-radius:10px;padding:16px}.quest-sidebar-heading{color:#c6b591;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.quest-sidebar-heading svg{width:17px;height:17px}.quest-sidebar-dot{background:#f1c967;border-radius:50%;width:6px;height:6px;margin-left:auto;box-shadow:0 0 8px #f1c96730}.quest-sidebar-current{margin:20px 0 16px}.quest-sidebar-meta{color:#a99c86;justify-content:space-between;align-items:center;gap:8px;font-size:10px;display:flex}.quest-sidebar-meta .quest-gem-amount{color:#c7b185;font-size:12px}.quest-sidebar .quest-gem{width:18px;height:18px}.quest-sidebar h3{color:#e3dbc9;margin:8px 0 14px;font:500 21px/1.25 Georgia,serif}.quest-sidebar-current p{color:#a99c86;font-size:12px;line-height:1.6}.quest-sidebar .quest-progress>div{font-size:10px}.quest-sidebar progress{border-radius:5px;height:5px;overflow:hidden}.quest-sidebar progress::-webkit-progress-value{background:#927c4f}.quest-sidebar progress::-moz-progress-bar{background:#927c4f}.quest-sidebar-ready{background:linear-gradient(115deg,#61401160,#332412);border:1px solid #a27631;border-radius:7px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;padding:12px;display:flex}.quest-sidebar-ready>div{gap:5px;display:grid}.quest-sidebar-ready b{color:#f0d394;font-size:11px;font-weight:600}.quest-sidebar-ready .quest-gem-amount{color:#ffdc83;font-size:14px}.quest-sidebar-ready small{color:#c3b294;font-size:10px}.quest-sidebar-ready .btn{color:#281a08;background:linear-gradient(120deg,#f1c967,#d99532);border-color:#f3ce75;min-height:34px;padding:7px 10px;font-size:11px}.quest-sidebar-open.btn{justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:38px;padding:9px 11px;font-size:11px;display:flex}.quest-sidebar-open svg{width:15px;height:15px}.quest-sidebar :focus-visible{outline:2px solid var(--gold);outline-offset:3px}.reaction-layer{pointer-events:none;z-index:10000;position:fixed;inset:0;overflow:hidden}.reaction-layer img{object-fit:contain;pointer-events:none;position:absolute}#quest-log-reference{scroll-margin-top:88px}.quest-shell{border:1px solid var(--line);background:var(--paper);padding:clamp(16px,3vw,28px)}.quest-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.quest-heading h3{color:#eee5d6;margin:8px 0 12px;font:500 clamp(26px,3vw,36px)/1.2 Georgia,serif}.quest-heading h3 em{color:var(--gold);font-weight:400}.quest-heading p:not(.eyebrow){color:#9b9387;margin:0;font-size:13px;line-height:1.6}.quest-earned{flex-shrink:0;justify-items:end;gap:4px;display:grid}.quest-earned strong{color:#eee5d6;font-variant-numeric:tabular-nums;align-items:center;gap:7px;font:500 36px/1.2 Georgia,serif;display:inline-flex}.quest-earned>span:last-child{color:#9b9387;font-size:12px}.quest-badge{border:1px solid var(--line);color:#b5ac9d;padding:4px 7px;font-size:10px;line-height:1.4}.quest-summary{background:#d7a94f08;border:1px solid #625532;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.quest-summary>div{align-items:center;gap:12px;display:flex}.quest-summary>div>.quest-gem{width:28px;height:28px}.quest-summary b,.quest-summary small{display:block}.quest-summary b{color:#e8d4a8;font-size:13px}.quest-summary small{color:#9b9387;margin-top:4px;font-size:12px}.quest-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:22px 0 16px;display:flex}.quest-toolbar>span{color:#9b9387;white-space:nowrap;font-size:12px}.quest-toolbar .discover-kind-switch button{padding-inline:15px}.quest-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.quest-card{border:1px solid var(--line);background:#191a16;flex-direction:column;gap:18px;min-width:0;padding:20px;transition:border-color .16s,background-color .16s;display:flex}.quest-card.is-ready{background:#211e16;border-color:#75603a}.quest-card.is-claimed{background:#161713}.quest-card-top{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.quest-symbol{color:#b5a078;margin-right:3px;display:flex}.quest-symbol svg{width:22px;height:22px}.quest-reward{color:var(--gold);white-space:nowrap;margin-left:auto;font-size:17px;font-weight:600}.quest-gem{object-fit:contain;vertical-align:middle;flex-shrink:0;width:22px;height:22px;display:inline-block}.quest-gem-amount{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.quest-summary small .quest-gem{width:17px;height:17px}.quest-earned .quest-gem{width:30px;height:30px}.quest-card-footer .btn{align-items:center;gap:5px;display:inline-flex}.quest-card h4{color:#eee5d6;margin:0 0 9px;font:500 23px/1.25 Georgia,serif}.quest-card-copy{flex:1}.quest-card p{color:#9b9387;margin:0;font-size:12px;line-height:1.7}.quest-progress>div{color:#9b9387;justify-content:space-between;margin-bottom:7px;font-size:11px;display:flex}.quest-card.is-ready .quest-progress>div{color:#d7bc85}.quest-progress progress{color:#b39453;accent-color:#b39453;background:#34312a;border:0;width:100%;height:4px;display:block}.quest-progress progress::-webkit-progress-bar{background:#34312a}.quest-progress progress::-webkit-progress-value{background:#b39453}.quest-progress progress::-moz-progress-bar{background:#b39453}.quest-card.is-claimed progress::-webkit-progress-value{background:#777562}.quest-card.is-claimed progress::-moz-progress-bar{background:#777562}.quest-card-footer{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.quest-card-footer .btn,.quest-summary .btn,.quest-demo-actions .btn{font-size:12px}.quest-complete{color:#b0b49b;align-items:center;gap:6px;min-height:36px;font-size:12px;display:flex}.quest-details{flex:1 0 100%}.quest-details summary{color:#a99b82;cursor:pointer;width:fit-content;font-size:11px}.quest-details p{margin-top:8px}.quest-status{color:#cfbc97;min-height:22px;margin:18px 0 0;font-size:12px;line-height:1.6}.quest-list.is-compact{grid-template-columns:1fr}.quest-list.is-compact .quest-card{grid-template-columns:minmax(0,1fr) minmax(200px,.6fr);gap:12px 24px;display:grid}.quest-list.is-compact .quest-card-top,.quest-list.is-compact .quest-card-copy{grid-column:1}.quest-list.is-compact .quest-card-copy h4{font-size:21px}.quest-list.is-compact .quest-progress{grid-area:1/2;align-self:center}.quest-list.is-compact .quest-card-footer{grid-area:2/2;align-self:start}.quest-list.is-compact .quest-reward{margin-left:8px}.quest-preview-options{border:1px solid var(--line);margin-top:16px;padding:18px}.quest-preview-options>summary{cursor:pointer;color:#e8d4a8;font-size:13px}.quest-preview-options>summary span{color:#9b9387;margin-left:10px;font-size:12px}.quest-options-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0;display:grid}.quest-demo-actions{flex-wrap:wrap;gap:10px;display:flex}.quest-simulator{margin-top:24px}.quest-simulator>div{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) 130px 110px;align-items:center;gap:12px;padding:10px 0;display:grid}.quest-simulator>div>span{font-size:12px}.quest-simulator label{align-items:center;gap:6px;display:flex}.quest-simulator input{border:1px solid var(--line);color:#e8e2d7;background:#11110f;width:82px;min-width:0;padding:8px;font-size:12px}.quest-simulator small{color:#9b9387;font-size:10px}.quest-simulator .btn{padding:8px;font-size:11px}.quest-preview-options :focus-visible,.quest-shell :focus-visible{outline:2px solid var(--gold);outline-offset:3px}.quest-balance-pop{animation:.35s ease-out quest-reward-pop}.quest-style-treasure{background:radial-gradient(at 80% 0,#70441826,#0000 55%),#1a1712;border-color:#645035}.quest-style-treasure .quest-summary{background:linear-gradient(115deg,#61401160,#332412);border-color:#a27631}.quest-style-treasure .quest-card{background:radial-gradient(at 0 0,#ae6c172e,#0000 65%),linear-gradient(110deg,#302316,#211b14);border-color:#725534;border-radius:12px;box-shadow:inset 0 1px #ffde9d13,0 4px 14px #0002}.quest-style-treasure .quest-card.is-ready{background:radial-gradient(at 0 0,#db9d2840,#0000 70%),#302515;border-color:#e3b956;box-shadow:inset 0 0 24px #e3b9560b,0 0 18px #e3b95613}.quest-style-treasure .quest-symbol{color:#f5d48a;background:radial-gradient(circle at 35% 25%,#765423,#392812);border:1px solid #d5a755;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;box-shadow:inset 0 0 0 3px #241b16,0 2px 8px #0004}.quest-style-treasure .quest-reward{color:#ffdc83;background:#d5a53622;border:1px solid #c79a45;border-radius:30px;align-items:center;gap:5px;padding:7px 11px;font-size:20px;display:inline-flex}.quest-style-treasure .quest-card h4{color:#ffe7b5}.quest-style-treasure .quest-card p{color:#c3b294}.quest-style-treasure .quest-badge{color:#e4c99b;border-color:#7e6339}.quest-style-treasure .quest-progress progress{border-radius:8px;height:7px;overflow:hidden}.quest-style-treasure progress::-webkit-progress-value{background:linear-gradient(90deg,#b77822,#ffdc76)}.quest-style-treasure progress::-moz-progress-bar{background:#efc365}.quest-style-treasure .quest-card-footer .btn:not(.ghost),.quest-style-treasure .quest-summary .btn{color:#281a08;background:linear-gradient(120deg,#f1c967,#d99532);border-color:#f3ce75;box-shadow:0 3px 10px #ce912422}.quest-style-treasure .quest-complete{color:#f0cf79;background:#d5a53615;border:1px solid #8e763e;border-radius:20px;padding:5px 10px}.quest-style-treasure .quest-card.is-claimed{box-shadow:none;background:#211e16;border-color:#665735}.quest-style-treasure .quest-card:not(.is-ready):not(.is-claimed){box-shadow:none;background:radial-gradient(at 0 0,#ae6c1709,#0000 65%),#1c1b17;border-color:#494033}.quest-style-treasure .quest-card:not(.is-ready):not(.is-claimed) .quest-symbol{color:#baa782;background:#29251b;border-color:#766342;box-shadow:inset 0 0 0 3px #1c1b17}.quest-style-treasure .quest-card:not(.is-ready):not(.is-claimed) .quest-reward{color:#c7b185;background:#d5a53608;border-color:#665339}.quest-style-treasure .quest-card:not(.is-ready):not(.is-claimed) h4{color:#ded6c5}.quest-style-treasure .quest-card:not(.is-ready):not(.is-claimed) p{color:#aaa08d}.quest-style-treasure .quest-card:not(.is-ready):not(.is-claimed) .quest-badge{color:#b4a58d;border-color:#514735}.quest-style-treasure .quest-card:not(.is-ready):not(.is-claimed) progress::-webkit-progress-value{background:#927c4f}.quest-style-treasure .quest-card:not(.is-ready):not(.is-claimed) progress::-moz-progress-bar{background:#927c4f}.quest-style-treasure .quest-card{transition:border-color .16s,box-shadow .16s,transform .16s}@media (hover:hover){.quest-style-treasure .quest-card:hover{transform:translateY(-2px)}}@keyframes quest-reward-pop{0%{opacity:.6;transform:scale(.92)}65%{transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.quest-balance-pop{animation:none}.quest-style-treasure .quest-card{transition:none}.quest-style-treasure .quest-card:hover{transform:none}}@media (width<=700px){.quest-heading{align-items:flex-start;gap:12px}.quest-heading .eyebrow{max-width:26ch}.quest-earned strong{font-size:28px}.quest-toolbar{flex-direction:column;align-items:stretch}.quest-toolbar .discover-kind-switch button{padding-inline:5px;font-size:11px}.quest-list,.quest-options-grid{grid-template-columns:1fr}.quest-summary{flex-wrap:wrap}.quest-card{padding:16px}.quest-list.is-compact .quest-card{display:flex}.quest-list.is-compact .quest-progress{align-self:stretch}.quest-preview-options>summary span{margin:6px 0 0;display:block}.quest-simulator>div{grid-template-columns:minmax(0,1fr) 110px}.quest-simulator>div>span{grid-column:1/-1}}@media (width<=380px){.quest-heading{flex-direction:column}.quest-earned{justify-items:start}}@media (prefers-reduced-motion:reduce){.quest-card{transition:none}}.design-tavern-card{max-width:270px}.design-tavern-card .tavern-card{width:100%}.design-reference-section{border-bottom:1px solid var(--line);margin:0 0 32px;padding:0 0 32px}.design-reference-heading{margin-bottom:18px}.design-reference-heading h2{color:#eee5d6;margin:5px 0 0;font:500 28px Georgia,serif}.design-swatches{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.design-swatch{background:var(--paper);border:1px solid #39372f;gap:5px;padding:10px;display:grid}.design-swatch-color{border:1px solid #ffffff24;height:60px}.design-swatch b{font-size:12px}.design-swatch code,.design-swatch small{color:#a9a095;font-size:11px}.design-type-samples{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:20px;display:grid}.design-type-samples small{color:#b18d50;letter-spacing:.12em;font-size:10px;font-weight:700}.design-type-samples h3{color:#efe4d3;margin:8px 0 0;font:500 clamp(26px,4vw,42px)/1.1 Georgia,serif}.design-type-samples p{color:#a9a095;max-width:50ch;line-height:1.6}.design-reference-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.design-reference-action-bar{border:1px solid #34312a;border-radius:6px;max-width:640px;margin:10px 0 8px}.design-save-status{color:#a8c879;font-size:12px}.design-reference-note{color:#9b9387;max-width:70ch;font-size:13px;line-height:1.6}.design-icon-grid{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.design-icon-grid>div{color:#d7ccb9;border:1px solid #39372f;justify-items:center;gap:8px;min-width:82px;padding:15px 10px;font-size:11px;display:grid}.design-icon-grid svg{stroke-width:1.6px;width:22px;height:22px}.design-input-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;margin-bottom:16px;display:grid}.design-search{max-width:560px;margin-bottom:16px;display:flex}.design-card-grid{grid-template-columns:minmax(0,330px) minmax(0,1fr);gap:18px;display:grid}.design-card-stack{align-content:start;gap:15px;display:grid}.design-thread-card{background:#1a1c18;border:1px solid #48463b;border-radius:6px;padding:15px}.design-thread-top{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.design-thread-card h4{color:#eee5d6;margin:0 0 6px;font:500 17px Georgia,serif}.design-thread-card p{color:#bdb4a5;margin:0;font-size:12px}.design-card-stack .story-script-notice{margin:0}.design-profile-example{margin:0 0 18px}.design-avatar{color:#d7a94f;background:#241f16;border:1px solid #51432c;border-radius:25px;flex:none;place-items:center;width:92px;height:92px;font:42px Georgia,serif;display:grid}.design-story-example{background:var(--paper);border:1px solid #39372f;max-width:660px;padding:24px}.design-story-example p:not(.eyebrow){color:#e8e2d7;font:18px/1.75 Georgia,serif}.design-accordions{gap:8px;max-width:720px;display:grid}.design-accordions details{background:var(--paper);border:1px solid #39372f;padding:14px 16px}.design-accordions summary{color:#e8e2d7;cursor:pointer}.design-accordions p{color:#a9a095;margin:12px 0 0;font-size:13px;line-height:1.5}.design-motion-demo{color:#e5ddd0;cursor:pointer;background:#241f16;border:1px solid #856d40;justify-content:space-between;align-items:center;max-width:340px;padding:20px;display:flex}.design-motion-demo svg{width:20px;height:20px}.design-source-list{color:#a9a095;gap:8px;padding-left:20px;line-height:1.5;display:grid}.design-source-list strong{color:#e8e2d7}@media (width<=700px){.design-type-samples,.design-input-grid,.design-card-grid{grid-template-columns:1fr}}.threads-panel>button:hover,.threads-button:hover{color:#fff1ce;background:#352d19;border-color:#d4a640}.threads-panel>button{width:100%}.threads-button-quiet{color:#bdb4a5;background:#1b1d19;border-color:#444239}.threads-button-danger{color:#d99a85;background:#291917;border-color:#704039}.threads-button:disabled{opacity:.4;cursor:not-allowed}.threads-editor{color:#d8d0c2;background:#111310;flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.editor .threads-editor{z-index:120;width:100vw;height:100vh;position:fixed;inset:0}.threads-editor-toolbar{border-bottom:1px solid #35342f;flex:none;justify-content:space-between;align-items:center;gap:20px;min-height:88px;padding:15px 24px;display:flex}.threads-editor-toolbar p{color:#d7a941;letter-spacing:.16em;margin:0 0 5px;font-size:10px;font-weight:700}.threads-editor-toolbar h2{color:#f1eadf;margin:0;font:500 25px Georgia,serif}.threads-editor-toolbar span{color:#8f8a81;margin-top:6px;font-size:11px;display:block}.threads-editor-toolbar-actions,.threads-editor-actions{align-items:center;gap:8px;display:flex}.threads-editor-notice{color:#d7a941;border-bottom:1px solid #35342f;padding:8px 24px;font-size:12px}.threads-editor-layout{flex:1;grid-template-columns:240px minmax(0,1fr) 300px;min-height:0;display:grid}.threads-editor-list,.threads-editor-inspector{background:#151714;flex-direction:column;align-items:stretch;gap:14px;min-width:0;padding:22px 16px;display:flex;overflow-y:auto}.threads-editor-list{border-right:1px solid #302f29}.threads-editor-inspector{border-left:1px solid #302f29}.threads-editor-section-heading{color:#d7a941;letter-spacing:.16em;justify-content:space-between;font-size:10px;font-weight:700;display:flex}.threads-editor-section-heading small{color:#8f8a81;font-size:11px}.threads-add{width:100%}.threads-thread-item{color:#d8d0c2;cursor:pointer;text-align:left;background:#1a1c18;border:1px solid #37372f;border-radius:5px;flex-direction:column;gap:4px;width:100%;padding:11px 12px;font-size:12px;display:flex}.threads-thread-item.active{color:#f1eadf;background:#2a261b;border-color:#a27f36}.threads-thread-item small{color:#8f8a81;font-size:10px}.threads-muted{color:#948d80;margin:0;font-size:12px;line-height:1.5}.threads-editor-canvas{background:#10120f;min-width:0;min-height:0;position:relative}.threads-editor-canvas .react-flow{width:100%;height:100%}.threads-editor-canvas .react-flow__attribution{display:none}.threads-editor-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;height:100%;padding:30px;display:flex}.threads-editor-empty-symbol{color:#a27f36;font-size:48px}.threads-editor-empty h3{color:#f1eadf;margin:0;font:500 25px Georgia,serif}.threads-editor-empty p{color:#a9a294;max-width:330px;margin:0 0 8px;font-size:13px;line-height:1.6}.threads-editor-inspector h3{color:#f1eadf;margin:0;font:500 18px Georgia,serif}.threads-editor-inspector label{color:#bcb3a5;flex-direction:column;gap:6px;font-size:11px;font-weight:600;display:flex}.threads-inspector-field{gap:6px;display:grid}.threads-inspector-field-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.threads-editor-inspector .threads-inspector-field-heading label{color:#bcb3a5;font-size:11px;font-weight:600}.threads-field-help{position:relative}.threads-field-help>summary{color:#b7aa8f;cursor:pointer;border:1px solid #4b493e;border-radius:50%;place-items:center;width:20px;height:20px;font-size:11px;font-weight:700;list-style:none;display:grid}.threads-field-help>summary::-webkit-details-marker{display:none}.threads-field-help>summary:hover,.threads-field-help[open]>summary{color:#e4c681;border-color:#9c824c}.threads-field-help>summary:focus-visible{outline-offset:2px;outline:2px solid #d7a94f}.threads-field-help>p{z-index:5;color:#d5cbb9;background:#25231c;border:1px solid #4b4538;border-radius:7px;width:min(250px,75vw);margin:0;padding:11px 12px;font-size:11px;font-weight:400;line-height:1.5;position:absolute;top:24px;right:0;box-shadow:0 10px 24px #0008}.threads-editor-inspector input,.threads-editor-inspector textarea,.threads-editor-inspector select{color:#eee5d6;background:#1e201b;border:1px solid #4b493e;border-radius:4px;width:100%;padding:9px;font-family:inherit;font-size:12px;line-height:1.4}.threads-editor-inspector textarea::placeholder{color:#77756c}.threads-editor-inspector textarea{resize:vertical;min-height:85px}.threads-editor-inspector .threads-sticky-toggle{color:#e2c681;border:1px solid #4b493e;border-radius:5px;flex-direction:row;align-items:center;gap:9px;padding:10px}.threads-editor-inspector .threads-sticky-toggle input{accent-color:#d4a640;width:16px;height:16px;margin:0}.threads-editor-inspector input[type=number]{max-width:75px}.threads-editor-inspector select{min-height:95px}.threads-inspector-divider{border-top:1px solid #3d3b33}.threads-delete-thread{margin-top:auto}@media (width<=900px){.threads-editor-layout{grid-template-columns:190px minmax(0,1fr)}.threads-editor-inspector{border-top:1px solid #302f29;border-left:0;grid-column:1/-1;max-height:360px}}@media (width<=620px){.threads-editor-toolbar{flex-direction:column;align-items:start;padding:14px}.threads-editor-toolbar h2{font-size:20px}.threads-editor-layout{flex-direction:column;display:flex}.threads-editor-list{border-bottom:1px solid #302f29;border-right:0;max-height:145px}.threads-editor-canvas{flex:1;min-height:280px}.threads-editor-inspector{max-height:340px}}.memory-entity-input{width:100%;position:relative}.memory-entity-input input{width:100%}.memory-entity-options{z-index:20;color:#e8e2d7;background:#171714;border:1px solid #454238;border-radius:6px;max-height:240px;padding:4px;position:absolute;top:100%;left:0;right:0;overflow:auto}.memory-entity-options [role=option]{cursor:pointer;padding:9px 12px;font-size:12px}.memory-entity-options [aria-selected=true],.memory-entity-options [role=option]:hover{color:#e5bf62;background:#302713}.vn-editor{background:var(--paper);border:1px solid #39372f;border-radius:6px;padding:14px 16px}.vn-editor>summary{cursor:pointer;color:#e8e2d7;font-size:13px}.vn-editor-body{gap:16px;margin-top:16px;display:grid}.vn-editor-body p{margin:0;font-size:12px;line-height:1.6}.vn-editor-body small{font-size:11px;line-height:1.5}.vn-editor-body>div>small{margin-top:8px;display:block}.vn-editor .vn-offsets{margin:0}@media (width<=480px){.vn-editor .vn-offsets{grid-template-columns:minmax(0,1fr)}}.vn-editor-body .card-image-upload{margin-top:12px}.card-image-upload.is-disabled{opacity:.55;cursor:default}.card-image-upload.is-disabled:hover{background:#171612;border-color:#615845}@media (prefers-reduced-motion:reduce){.vn-editor .card-active-control>button span{transition:none}}.character-image-collection{gap:16px;display:grid}.character-image-collection:empty{display:none}.character-image-card{background:#191a16;border:1px solid #34312a;border-radius:6px;grid-template-columns:minmax(100px,28%) minmax(0,1fr);gap:18px;padding:16px;display:grid}.character-image-preview{background:#11110f;border-radius:6px;place-items:center;min-height:150px;display:grid}.character-image-preview img{object-fit:contain;width:100%;max-height:260px}.character-image-fields{min-width:0}.character-image-fields .card-editor-field{margin:12px 0}.character-image-fields textarea{resize:vertical;min-height:80px}.character-image-status{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.character-image-status strong{color:#d7a94f}.character-image-draft{color:#9b9387;font-size:12px}.character-image-actions{flex-wrap:wrap;gap:8px}.character-image-replace input{max-width:100%;font-size:12px}@media (width<=600px){.character-image-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.character-image-preview img{max-height:180px}}.vn-expression-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.vn-expression{border:1px solid #34312a;border-radius:8px;gap:8px;min-width:0;padding:12px;display:grid}.vn-expression img{object-fit:contain;width:100%;height:140px}.vn-expression input{max-width:100%}.vn-offsets{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 8px;display:grid}.narrative.reading-shadow .story-block-content,.narrative.reading-shadow .streaming,.render-preview.reading-shadow>p{text-shadow:0 1px 3px #11110f,0 0 8px #11110f}.vn-stage{left:var(--vn-left,auto);z-index:20;width:var(--vn-width,clamp(220px, 28vw, 480px));pointer-events:none;align-items:flex-end;gap:12px;display:flex;position:fixed;bottom:0;right:0}.vn-stage figure{min-width:0;margin:0}.vn-stack{width:100%;display:grid}.vn-stack-layer{pointer-events:none;grid-area:1/1;min-width:0}.vn-stack-select{cursor:pointer;pointer-events:auto;background:0 0;border:0;width:22%;padding:0;position:absolute;top:12%;bottom:0;right:0}.vn-selector{z-index:25;pointer-events:auto;background:#171714e8;border:1px solid #34312a;border-radius:12px;flex-wrap:wrap;gap:6px;max-width:min(280px,80vw);padding:6px;display:flex;position:fixed;bottom:18px;right:16px}.vn-selector button{box-sizing:border-box;color:#b6ad9e;cursor:pointer;background:#191a16;border:1px solid #454238;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;margin:0;padding:0;font-size:14px;line-height:1;transition:background .16s,color .16s,border-color .16s;display:grid}.vn-selector button:hover,.vn-selector button:focus-visible{color:#efe8dc;outline-offset:2px;border-color:#d7a94f;outline:2px solid #d7a94f}.vn-selector button[aria-pressed=true]{color:#d7a94f;background:#302713;border-color:#d7a94f}.vn-selector.is-preview{width:fit-content;position:relative;inset:auto}@media (width<=760px){.vn-selector:not(.is-preview){max-width:160px;bottom:calc(68dvh - 54px);right:8px}.vn-selector button{width:44px;height:44px}.vn-stage .vn-stack-select{display:none}}.dialogue-voice-control{flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0;display:flex}.dialogue-voice-control .field{flex:1;min-width:160px;margin:0}.dialogue-voice-control>small{width:100%;color:var(--muted)}.generation-audio-fallbacks{border:1px solid var(--line);border-radius:8px;padding:12px}.generation-audio-fallbacks summary{cursor:pointer;color:var(--gold,#d7a94f)}.generation-audio-fallbacks>small{color:var(--muted);margin-top:8px;display:block}.dialogue-playback{opacity:0;pointer-events:none;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;transition:opacity .12s;display:flex}.block:hover .dialogue-playback,.block:focus-within .dialogue-playback,.dialogue-playback.is-active{opacity:1;pointer-events:auto}.dialogue-playback>small{text-align:right;width:100%;color:var(--muted);font:12px/1.5 system-ui,sans-serif}.story-audio-control{justify-content:flex-end;align-items:center;gap:10px;font:12px/1.4 system-ui,sans-serif;display:inline-flex}.story-audio-buttons{background:#171714;border:1px solid #34312a;border-radius:999px;align-items:center;transition:border-color .12s,background .12s;display:inline-flex;overflow:hidden}.story-audio-toggle,.story-audio-stop{color:#b6ad9e;min-height:34px;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;padding:7px 12px;transition:color .12s,background .12s;display:inline-flex}.story-audio-toggle svg,.story-audio-stop svg{flex-shrink:0;width:14px;height:14px}.story-audio-toggle span{letter-spacing:.02em}.story-audio-stop{padding-inline:9px}.story-audio-stop svg{width:12px;height:12px}.story-audio-toggle:hover,.story-audio-stop:hover{color:#efe8dc;background:#302713}.story-audio-toggle:focus-visible,.story-audio-stop:focus-visible{outline-offset:-3px;border-radius:999px;outline:2px solid #d7a94f}.story-audio-toggle:disabled{opacity:.55;cursor:default}.story-audio-control.is-active .story-audio-buttons{background:#211e17;border-color:#6b5732}.story-audio-control.is-active .story-audio-toggle{color:#d7a94f}.story-audio-detail{color:#9b9387;text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:11px;overflow:hidden}.story-audio-control .is-spinning{animation:1.2s linear infinite story-audio-spin}@keyframes story-audio-spin{to{transform:rotate(360deg)}}@media (hover:none){.dialogue-playback{opacity:1;pointer-events:auto}}@media (width<=760px),(pointer:coarse){.story-audio-toggle,.story-audio-stop{min-height:44px}.story-audio-stop{min-width:44px}}@media (width<=480px){.story-audio-control{flex-wrap:wrap}.story-audio-detail{max-width:130px}}@media (prefers-reduced-motion:reduce){.dialogue-playback,.story-audio-buttons,.story-audio-toggle,.story-audio-stop{transition:none}.story-audio-control .is-spinning{animation:none}}.speech-equalizer{vertical-align:-.08em;fill:currentColor;opacity:.65;pointer-events:none;-webkit-user-select:none;user-select:none;width:.85em;height:.85em;margin-inline-start:.3em;display:inline-block}.speech-equalizer rect{transform-box:fill-box;transform-origin:50%;animation:.7s ease-in-out infinite alternate speech-bars}.speech-equalizer rect:nth-child(2){animation-delay:-350ms}.speech-equalizer rect:nth-child(3){animation-delay:-150ms}.speech-equalizer.is-paused rect{animation-play-state:paused}@keyframes speech-bars{0%{transform:scaleY(.35)}to{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){.speech-equalizer rect{animation:none}}.spoken-segment:has(>.speech-equalizer){--speech-color:var(--story-text,#ddd)}.spoken-segment:has(>.speech-equalizer)>.dialogue{--speech-color:var(--dialogue-text,#f5efe4)}.dialogue-off .spoken-segment:has(>.speech-equalizer)>.dialogue{--speech-color:var(--story-text,#ddd)}:is(.spoken-segment:has(>.speech-equalizer)>.dialogue,.spoken-segment:has(>.speech-equalizer)>.narration){--speech-low:#c8c1b5;--speech-high:#eee8de;animation:1.5s ease-in-out infinite speech-text-pulse}@supports (color:oklch(from white l c h)){:is(.spoken-segment:has(>.speech-equalizer)>.dialogue,.spoken-segment:has(>.speech-equalizer)>.narration){--speech-low:oklch(from var(--speech-color) .7 c h);--speech-high:oklch(from var(--speech-color) .99 c h)}}@keyframes speech-text-pulse{0%,to{color:var(--speech-low)}50%{color:var(--speech-high)}}:is(.spoken-segment:has(>.speech-equalizer.is-paused)>.dialogue,.spoken-segment:has(>.speech-equalizer.is-paused)>.narration){color:var(--speech-high);animation:none}@media (prefers-reduced-motion:reduce){:is(.spoken-segment:has(>.speech-equalizer)>.dialogue,.spoken-segment:has(>.speech-equalizer)>.narration){color:var(--speech-high);animation:none}.vn-selector button{transition:none}}.vn-stage .vn-portrait{flex:1 1 0;width:100%}.vn-portrait-art{height:70dvh;display:grid}.vn-portrait-art img{grid-area:1/1;align-self:end;height:100%;min-height:0}.vn-transition-preview{width:180px;margin:16px 0}.vn-transition-preview figure{margin:0}.vn-transition-preview .vn-portrait-art{height:220px}.vn-transition-preview img{object-fit:contain;width:100%}.vn-stage img{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 6px 16px #0008);width:100%}@media (width<=760px){.adventure-shell:has(>.vn-stage){isolation:isolate}.adventure-shell>.vn-stage{z-index:0;opacity:.25;width:min(94vw,520px);left:50%;right:auto;transform:translate(-50%)}.adventure-shell>.vn-stage .vn-portrait-art{height:68dvh}.adventure-shell:has(>.vn-stage)>.story{z-index:1}.adventure-shell>.vn-stage img{filter:none}}.card-state-list{color:#e8e2d7;background:#171714;border:1px solid #34312a;border-radius:10px;margin:18px 0;padding:16px;container-type:inline-size}.card-state-list-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.card-state-list-heading h3{align-items:center;gap:9px;margin:0;font:400 20px/1.3 Georgia,serif;display:flex}.card-state-list-count{color:#9b9387;border:1px solid #34312a;border-radius:5px;padding:2px 7px;font:500 11px/1.4 system-ui,sans-serif}.card-state-list .btn{flex-shrink:0;padding:8px 12px;font-size:12px}.card-state-list-help{color:#9b9387;margin:10px 0 16px;font-size:12px;line-height:1.6}.card-state-list-help code{color:#d7ccb9}.card-state-list-items{gap:10px;display:grid}.card-state-list-row{background:#11110f;border:1px solid #34312a;border-radius:7px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:14px;display:grid}.card-state-list-row .lore-graph-field{color:#9b9387;gap:7px;min-width:0;margin:0;font-size:12px}.card-state-list-row .lore-graph-field:first-child{grid-column:1/-1}.card-state-list-row input,.card-state-list-row select{box-sizing:border-box;color:#e8e2d7;background:#171714;border-radius:7px;width:100%;min-width:0;min-height:44px;padding:10px 12px;font:13px system-ui,sans-serif}.card-state-list-row .card-state-list-remove{color:#9b9387;grid-column:1/-1;justify-self:end}.card-state-list-row .card-state-list-remove:hover{color:#e99;border-color:#6d3838}.card-state-list button:focus-visible{outline-offset:3px;outline:2px solid #d7a94f}.card-state-list-empty{text-align:center;border:1px dashed #34312a;border-radius:7px;padding:20px 16px}.card-state-list-empty strong{font-size:13px;font-weight:500}.card-state-list-empty p{color:#9b9387;margin:6px 0 0;font-size:12px;line-height:1.6}.card-state-list-error{color:#e99;border:1px solid #6d3838;border-radius:7px;margin:12px 0 0;padding:10px 12px;font-size:12px;line-height:1.5}@container (width>=560px){.card-state-list-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end}.card-state-list-row .lore-graph-field:first-child,.card-state-list-row .card-state-list-remove{grid-column:auto}}.lore-graph-card-states{background:#151b20;border-top:1px solid #4d6b82;margin:12px -13px -11px}.lore-graph-card-state{justify-content:space-between;align-items:center;gap:12px;padding:9px 16px;font-size:12px;display:flex;position:relative}.lore-graph-card-state+.lore-graph-card-state{border-top:1px solid #4d6b82}.lore-graph-card-state b{overflow-wrap:anywhere;color:#92b5ce;font-weight:500}.lore-graph-card-state small{color:#9b9387}.lore-graph-card-state-detail{flex-direction:column;align-items:flex-end;gap:3px;min-width:0;max-width:60%;display:flex}.lore-graph-card-state-value{text-overflow:ellipsis;white-space:nowrap;color:#92b5ce;max-width:100%;font-size:12px;overflow:hidden}.lore-graph-card.runtime-inactive:has(.lore-graph-card-states){opacity:1}.lore-graph-card.runtime-inactive:has(.lore-graph-card-states)>:not(.lore-graph-card-states){opacity:.42}.lore-graph-state-edge .react-flow__edge-path{stroke:#8ab6d6;stroke-dasharray:5 4}.lore-graph-card.density-compact .lore-graph-card-states{margin:12px -10px -8px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.scripting-showcase{text-align:left;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:24px;display:grid}.scripting-example,.scripting-guide-card{background:#141411f2;border:1px solid #393429;border-radius:10px;min-width:0}.scripting-example{align-self:start;overflow:hidden}.scripting-example-head,.scripting-example-footer{justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.scripting-example-head .eyebrow{margin:0;font-size:10px}.scripting-version,.scripting-example-footer>span{color:#958d7e;font-size:11px}.scripting-example-footer .btn{min-inline-size:180px}.scripting-options{gap:6px;padding:0 22px;display:flex}.scripting-options button{color:#aaa292;cursor:pointer;background:0 0;border:1px solid #393429;border-radius:5px;padding:7px 13px;font-size:12px}.scripting-options button[aria-pressed=true]{color:#ebc476;background:#302718;border-color:#94733e}.scripting-options button:focus-visible,.scripting-code:focus-within{outline-offset:-2px;outline:2px solid #d7a94f}.scripting-example-copy{block-size:124px;padding:20px 22px 10px;overflow:auto}.scripting-example-copy h3,.scripting-guide h3{color:#e8e2d7;margin:0 0 8px;font:400 25px/1.2 Georgia,serif}.scripting-example-copy p{color:#a59c8d;margin:0;font-size:13px;line-height:1.7}.scripting-code{background:#11110f;border:1px solid #302e26;border-radius:5px;margin:8px 14px;overflow:hidden}.scripting-code pre{box-sizing:border-box;scrollbar-gutter:stable;white-space:pre-wrap;overflow-wrap:anywhere;color:#d1c7b5;block-size:460px;margin:0;padding:18px;font:12px/1.8 ui-monospace,Consolas,monospace;overflow:auto}.scripting-code .tok-keyword{color:#d49cff}.scripting-code .tok-string,.scripting-code .tok-string2{color:#a8d58d}.scripting-code .tok-number,.scripting-code .tok-bool{color:#e6bd73}.scripting-code .tok-variableName.tok-definition{color:#82c9e8}.scripting-code .tok-comment{color:#938a7b}.scripting-guide{align-content:start;gap:18px;display:grid}.scripting-guide-card{padding:24px}.scripting-guide .eyebrow{font-size:10px}.scripting-guide ol{gap:18px;margin:22px 0 0;padding:0;list-style:none;display:grid}.scripting-guide li{gap:5px;display:grid}.scripting-guide code,.scripting-result>code{color:#d7b76f;overflow-wrap:anywhere;font-size:11px}.scripting-guide li span,.scripting-guide dd,.scripting-guide-note,.scripting-result small{color:#a49b8c;font-size:12px;line-height:1.7}.scripting-guide dl{gap:16px;margin:20px 0;display:grid}.scripting-guide dt{color:#d9d0c0;margin-bottom:4px;font-size:12px}.scripting-guide dd{margin:0}.scripting-guide-note{border-top:1px solid #363127;margin:0;padding-top:16px}.scripting-result{box-sizing:border-box;scrollbar-gutter:stable;background:#1b1c16;border-top:1px solid #393429;block-size:300px;padding:20px 22px;overflow:auto}.scripting-result>p:not(.eyebrow){color:#e3dccd;font:17px/1.6 Georgia,serif}.scripting-result small{display:block}.scripting-result-empty>p:not(.eyebrow){color:#c9beaa;font:20px/1.5 Georgia,serif}@media (width<=760px){.scripting-showcase{grid-template-columns:minmax(0,1fr)}.scripting-example-head,.scripting-example-footer{flex-wrap:wrap;padding:16px}.scripting-options{padding:0 16px}.scripting-example-copy{block-size:146px;padding-inline:16px}.scripting-code pre{block-size:380px}.scripting-result{block-size:360px;padding-inline:16px}.scripting-guide-card{padding:20px}}.onboarding-overlay{z-index:10000;pointer-events:none;position:fixed;inset:0}.onboarding-spotlight{pointer-events:none;position:fixed;inset:0}.onboarding-ring{fill:none;stroke:var(--gold);stroke-width:1.2px}.onboarding-card{pointer-events:auto;color:#e8e2d7;background:var(--paper);border:1px solid #5b4d33;border-radius:12px;outline:none;width:min(360px,100vw - 32px);max-height:calc(100dvh - 32px);padding:22px;animation:.16s ease-out onboarding-arrive;overflow:auto;box-shadow:0 12px 48px #0006}.onboarding-card:focus-visible{outline:1px solid var(--gold);outline-offset:3px}.onboarding-card-mobile{width:auto;max-height:45dvh}.onboarding-card-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.onboarding-card-heading .eyebrow{letter-spacing:.12em;margin:0;font-size:10px}.onboarding-close{color:#9b9387;cursor:pointer;background:0 0;border:none;flex:none;padding:0 4px;font-size:24px;line-height:1}.onboarding-card h2{margin:14px 0 10px;font-family:Georgia,serif;font-size:25px;font-weight:400;line-height:1.2}.onboarding-card p{color:#b4ab9c;font-size:13px;line-height:1.65}.onboarding-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:18px;display:flex}.onboarding-actions .btn{min-height:36px;padding:8px 15px;font-size:12px}.onboarding-action-hint{color:var(--gold);font-size:12px}.onboarding-secondary{border-top:1px solid var(--line);justify-content:space-between;gap:12px;margin-top:18px;padding-top:12px;display:flex}.onboarding-secondary button{color:#9b9387;cursor:pointer;background:0 0;border:0;padding:4px 0;font-size:11px}.onboarding-secondary button:hover,.onboarding-close:hover{color:#e8e2d7}.onboarding-save-error{border:1px solid var(--line);border-radius:8px;padding:10px}.onboarding-save-error p{margin:0 0 8px}.onboarding-help{border-top:1px solid var(--line);padding:18px 0}.onboarding-help h3,.onboarding-reference-area h3{margin:0 0 10px;font-family:Georgia,serif;font-weight:400}.onboarding-help p,.onboarding-reference-area p,.onboarding-reference-area small{color:#9b9387;font-size:12px;line-height:1.6}.onboarding-reference-area{border:1px solid var(--line);background:#191a16;border-radius:10px;padding:22px}.onboarding-reference-area small{margin-top:12px;display:block}@keyframes onboarding-arrive{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.onboarding-card{animation:none}}.landing-demo-graph-node{border:1px solid var(--lore-accent,#4b4435);color:#e8e2d7;background:#191a16;border-radius:5px;min-width:152px;max-width:210px;padding:11px 13px;box-shadow:0 5px 16px #0004}.landing-demo-graph-node:hover{border-color:var(--lore-accent,#a27f36)}.landing-demo-graph-canvas .react-flow__node.selected .landing-demo-graph-node{border-color:#d4a640;box-shadow:0 0 0 1px #d4a64066,0 8px 24px #0006}.landing-demo-graph-card{background:#191a16}.landing-demo-graph-card-heading{align-items:center;gap:9px;display:flex}.landing-demo-graph-card-identity{flex:1;min-width:0}.landing-demo-graph-card-portrait{background:linear-gradient(#17171411,#17171455),url(/character-backgrounds/tavern.webp) 50%/cover;border:1px solid #4b4435;border-radius:4px;flex:0 0 42px;width:42px;height:50px;display:block;overflow:hidden}.landing-demo-graph-card-portrait img{pointer-events:none;width:165%;max-width:none;height:auto;margin-left:-32.5%;display:block}.landing-demo-graph-node.density-compact .landing-demo-graph-card-portrait{flex-basis:32px;width:32px;height:38px}.landing-demo-graph-node.density-expanded .landing-demo-graph-card-portrait{flex-basis:50px;width:50px;height:60px}.landing-demo-graph-operator{border-color:var(--lore-accent,#494452);text-align:center;background:#1a191e;min-width:118px}.landing-demo-graph-fragment{border-color:var(--lore-accent,#806044);background:#201a14}.landing-demo-graph-fragment.is-disabled{opacity:.55}.landing-demo-graph-state-condition{border-color:var(--lore-accent,#4d6b82);background:#151b20}.landing-demo-graph-state-condition.is-disabled{opacity:.55}.landing-demo-graph-state-rules{gap:4px;margin-top:9px;display:grid}.landing-demo-graph-state-rules>div{color:#b0c1cb;text-transform:uppercase;background:#11181d;border:1px solid #344957;border-radius:3px;justify-content:space-between;gap:10px;padding:5px 6px;font-size:8px;display:flex}.landing-demo-graph-state-rules span{color:#d5d2cb;text-overflow:ellipsis;text-transform:none;white-space:nowrap;max-width:92px;overflow:hidden}.landing-demo-graph-node-kicker{color:#c4a878;letter-spacing:.12em;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;font-size:8px;font-weight:700;display:flex}.landing-demo-graph-fragment .landing-demo-graph-node-kicker{color:#d0a16e}.landing-demo-graph-state-condition .landing-demo-graph-node-kicker{color:#92b5ce}.landing-demo-graph-node-kicker i{color:#9b9387;letter-spacing:0;text-transform:none;font-size:8px;font-style:normal}.landing-demo-graph-node strong{color:#e8e2d7;text-overflow:ellipsis;white-space:nowrap;font:500 14px/1.25 Georgia,serif;display:block;overflow:hidden}.landing-demo-graph-node small{color:#9b9387;max-height:34px;margin-top:7px;font-size:10px;line-height:1.4;display:block;overflow:hidden}.landing-demo-graph-tier-rows{gap:4px;margin-top:10px;display:grid}.landing-demo-graph-tier-row{color:#99958b;text-transform:uppercase;background:#141512;border:1px solid #34312a;border-radius:3px;justify-content:space-between;align-items:center;gap:12px;padding:5px 7px;font:700 8px/1.2 ui-sans-serif,system-ui,sans-serif;display:flex}.landing-demo-graph-tier-row span{text-transform:none;font-weight:500}.landing-demo-graph-tier-row.is-active{color:#e2c681;background:#211d14;border-color:#796337}.landing-demo-graph-tier-rows>small{color:#a99362;max-height:none;margin:1px 0 0;font-size:9px}.landing-demo-graph-node.density-compact{min-width:128px;padding:8px 10px}.landing-demo-graph-node.density-compact .landing-demo-graph-node-kicker{margin-bottom:4px}.landing-demo-graph-node.density-compact small{display:none}.landing-demo-graph-node.density-expanded{min-width:190px;max-width:250px}.landing-demo-graph-node.density-expanded small{max-height:80px}.landing-demo-graph-node.is-collapsed small{display:none}.landing-demo-graph-operator-symbol{color:#c6ab70;font:500 20px Georgia,serif;display:block}.landing-demo-graph-operator strong{letter-spacing:.1em;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px}.landing-demo-graph-node .react-flow__handle{background:#c8a151;border:2px solid #151714;width:8px;height:8px}.landing-demo-graph-operator .react-flow__handle{background:#9a91ba}.landing-demo-graph-fragment .react-flow__handle{background:#c79562}.landing-demo-graph-state-condition .react-flow__handle{background:#8ab6d6}.landing-demo-graph-node .react-flow__handle.landing-demo-graph-state-handle{box-sizing:border-box;background:#151b20;border:2px solid #8ab6d6;border-radius:50%;width:8px;height:8px}.landing-demo-graph-node .react-flow__handle.landing-demo-graph-state-handle:hover{border-color:#b9d8ed}.landing-lore-demo .landing-demo-graph-node{max-width:230px}.landing-lore-demo .landing-demo-graph-node strong{white-space:normal;font-size:17px;overflow:visible}.landing-lore-demo .landing-demo-graph-node-kicker,.landing-lore-demo .landing-demo-graph-node-kicker i{font-size:10px}.landing-lore-demo .landing-demo-graph-tier-row,.landing-lore-demo .landing-demo-graph-state-rules>div{font-size:11px}.landing-lore-demo .landing-demo-graph-node small{font-size:12px}.landing-lore-demo .landing-demo-graph-operator strong{font-size:14px}.landing-demo-graph-node.runtime-active{box-shadow:0 0 0 2px #d7a941,0 0 24px #d7a94155}.landing-demo-graph-node.runtime-inactive{opacity:.65}.landing-demo-graph-canvas{background:#11110f;min-width:0;min-height:0}.landing-demo-graph-canvas .react-flow{background:#11110f}.landing-demo-graph-canvas .react-flow__attribution{display:none}.landing-demo-graph-canvas .react-flow__nodesselection-rect{background:#d4a64022;border:1px solid #d4a640}.landing-demo-graph-runtime-edge-active path{stroke:#d7a941;stroke-width:3px}.landing-demo-graph-runtime-edge-inactive{opacity:.28}.landing-lore-demo-switch{min-height:44px;position:relative}.landing-lore-demo-switch input{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.landing-lore-demo-switch-track{background:#262520;border:1px solid #575348;border-radius:999px;flex:0 0 36px;width:36px;height:22px;transition:background .16s,border-color .16s;display:inline-block;position:relative}.landing-lore-demo-switch-track:after{content:"";background:#aaa397;border-radius:50%;width:14px;height:14px;transition:transform .16s,background .16s;position:absolute;top:3px;left:3px}.landing-lore-demo-switch input:checked+.landing-lore-demo-switch-track{background:#4a3918;border-color:#a78337}.landing-lore-demo-switch input:checked+.landing-lore-demo-switch-track:after{background:#e0b84f;transform:translate(14px)}.landing-lore-demo-switch input:focus-visible+.landing-lore-demo-switch-track{outline-offset:3px;outline:2px solid #d4a640}@media (prefers-reduced-motion:reduce){.landing-lore-demo-switch-track,.landing-lore-demo-switch-track:after{transition:none}}.landing-lore-demo-tabs{flex-wrap:wrap;gap:6px;padding:20px 24px 0;display:flex}.landing-lore-demo-tabs button{color:#aaa292;cursor:pointer;background:0 0;border:1px solid #393429;border-radius:5px;padding:7px 13px;font-size:12px}.landing-lore-demo-tabs button[aria-selected=true]{color:#ebc476;background:#302718;border-color:#94733e}.landing-lore-demo-tabs button:focus-visible{outline-offset:2px;outline:2px solid #d7a94f}.landing-lore-demo-range{color:#e8e2d7;align-content:center;gap:8px;min-width:160px;min-height:44px;font-size:12px;display:grid}.landing-lore-demo-range>span{justify-content:space-between;gap:12px;display:flex}.landing-lore-demo-range output{color:#d7a94f;font-variant-numeric:tabular-nums}.landing-lore-demo-range input{accent-color:#d7a94f;background:0 0;border:0;width:100%;height:20px;min-height:0;margin:0;padding:0}.landing-demo-graph-card-states{background:#151b20;border-top:1px solid #4d6b82;border-radius:0 0 4px 4px;margin:12px -13px -11px}.landing-demo-graph-card-state{justify-content:space-between;align-items:center;gap:12px;padding:9px 16px;font-size:12px;display:flex;position:relative}.landing-demo-graph-card-state b{color:#92b5ce;font-weight:500}.landing-demo-graph-card-state>span{justify-items:end;gap:3px;display:grid}.landing-demo-graph-card-state small{margin:0}.landing-demo-graph-card-state code{color:#92b5ce;font-size:12px}.landing-demo-graph-state-edge path{stroke:#8ab6d6;stroke-width:1.5px;stroke-dasharray:4 3}@media (width<=600px){.landing-lore-demo-tabs{padding:18px 18px 0}}.landing-command-demo{--story-text:#969388;--dialogue-text:#f5f3ed;--command-art-gutter:32%;background:#11110f;position:relative}.command-demo-provenance{color:#9b9387;border-bottom:1px solid #34312a;margin:0;padding:12px 28px;font:400 12px/1.5 ui-sans-serif,system-ui,sans-serif}.command-demo-scene{height:550px}.command-demo-reading{box-sizing:border-box;width:100%;padding:38px var(--command-art-gutter) 24px 48px;position:relative}.command-demo-text{height:440px;color:var(--story-text);scrollbar-color:#454238 transparent;padding-right:56px;font:400 16px/1.85 ui-sans-serif,system-ui,sans-serif;overflow:auto}.command-demo-text p{white-space:pre-wrap;margin:0 0 30px}.command-demo-text p:last-child{margin-bottom:0}.command-demo-text .block{font:inherit;margin-bottom:30px}.command-demo-text .command-demo-user{color:#d8b973;border:0;padding:0;font-style:italic}.command-demo-text .command-demo-response{min-height:1.85em}.command-demo-text .narration{color:var(--story-text)}.command-demo-text .dialogue{color:var(--dialogue-text);font-weight:400}.command-demo-reading .story-audio-control{min-height:36px;margin-top:20px}.command-demo-cast{z-index:2;pointer-events:none;width:38.5%;position:absolute;bottom:57px;right:0}.command-demo-cast .vn-stack{width:100%}.command-demo-cast .vn-portrait{width:100%;margin:0}.command-demo-cast .vn-portrait-art{height:605px}.command-demo-cast .vn-portrait-art img{object-fit:contain;object-position:center bottom;width:100%;height:100%}.command-demo-cast .vn-selector{pointer-events:auto;margin:0;position:absolute;bottom:10px;right:32px}.command-demo-choices{box-sizing:border-box;background:#151511;border-top:1px solid #34312a;width:68%;height:190px;padding:22px 156px 28px 48px;position:relative;overflow-y:auto}.command-demo-prompt{color:#9b9387;margin:0 0 14px;font:400 13px/1.5 ui-sans-serif,system-ui,sans-serif}.command-demo-choice-list{border:1px solid #34312a;border-radius:4px;overflow:hidden}.command-demo-choice{color:#e8e2d7;text-align:left;cursor:pointer;background:#191a16;border:0;border-radius:0;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;margin:0;padding:14px 16px;font:400 14px/1.5 ui-sans-serif,system-ui,sans-serif;transition:background .15s,color .15s;display:grid}.command-demo-choice+.command-demo-choice{border-top:1px solid #34312a}.command-demo-action{color:#9b9387;font-size:12px}.command-demo-choice svg{color:#9b9387;width:18px;height:18px}.command-demo-choice:hover:not(:disabled){color:#f5f3ed;background:#242219}.command-demo-choice:hover:not(:disabled) svg{color:#d7a94f}.command-demo-choice:focus-visible{outline-offset:-3px;outline:2px solid #d7a94f}.command-demo-choice:disabled{cursor:wait;opacity:.5}.command-demo-ending{color:#bcb3a5;margin:0;font-size:14px}.command-demo-ending h4{color:#e8e2d7;margin:0 0 8px;font:400 23px/1.25 Georgia,serif}.command-demo-ending p{margin:0 0 16px;font-size:13px;line-height:1.5}.command-demo-ending .btn{align-items:center;gap:10px;font-size:13px;display:inline-flex}.command-demo-ending .btn svg{width:16px;height:16px}.command-demo-navigation{align-items:center;gap:22px;min-height:28px;padding:14px 28px;display:flex}.command-demo-nav{color:#bcb3a5;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0;padding:4px 0;font:400 12px/1.5 ui-sans-serif,system-ui,sans-serif}.command-demo-nav:first-child{margin-right:auto}.command-demo-nav:hover:not(:disabled){color:#d7a94f}.command-demo-nav:disabled{color:#615d53;cursor:default}.command-demo-nav:focus-visible{outline-offset:4px;outline:2px solid #d7a94f}.command-demo-message{color:#bcb3a5;margin:0;padding:16px 28px;font-size:14px}.command-demo-message .btn{margin-left:12px}@media (width<=1000px) and (width>=761px){.command-demo-reading,.command-demo-choices{padding-left:30px}.command-demo-cast .vn-portrait-art{height:539px}}@media (width<=760px){.command-demo-scene{height:500px}.command-demo-reading{width:100%;padding:28px 24px 20px}.command-demo-text{z-index:3;text-shadow:0 1px 3px #11110f,0 0 8px #11110f;height:400px;padding-right:8px;font-size:15px;position:relative}.command-demo-reading .story-audio-control{z-index:3;position:relative}.command-demo-cast{opacity:.28;width:74.8%;bottom:58px;right:-28px}.command-demo-cast .vn-portrait-art{height:440px}.command-demo-cast .vn-selector{bottom:12px;right:36px}.command-demo-choices{z-index:3;background:#151511ed;width:100%;padding:20px 24px}.command-demo-choice{gap:8px;padding:13px 12px;font-size:13px}.command-demo-navigation{z-index:3;position:relative}}@media (prefers-reduced-motion:reduce){.command-demo-choice{transition:none}}.landing-page{gap:0;padding-top:0;padding-bottom:0}.app-shell:has(.landing-page.home-page):before{background:0 0}.hero-headline{text-shadow:0 2px 4px #000000d9,0 6px 24px #000000a6}.landing-page h1,.landing-page h2,.landing-page h3{color:#eee6d8}.landing-page h1 em,.landing-page h2 em{color:#e0b768;font-weight:inherit}.landing-page .btn{justify-content:center;align-items:center;gap:12px;display:inline-flex}.landing-page .btn svg{width:17px;height:17px}.landing-intro{isolation:isolate;text-align:left;background:#11110f;align-items:center;width:100vw;min-height:680px;margin-left:calc(50% - 50vw);padding:0;display:grid;position:relative}.landing-intro:after{content:"";z-index:-2;pointer-events:none;background:url(/landing/no-castle.webp) 50%/cover no-repeat;position:absolute;inset:0}.landing-intro:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(90deg,#11110ffa 0%,#11110feb 30%,#11110fa6 48%,#11110f26 68%,#0000 85%);position:absolute;inset:0}.landing-intro-layout{box-sizing:border-box;width:100%;max-width:1484px;padding:72px var(--space-page);grid-template-columns:minmax(0,580fr) minmax(0,800fr);align-items:center;gap:clamp(32px,4vw,56px);margin-inline:auto;display:grid}.landing-intro-panel{flex-direction:column;align-items:flex-start;min-width:0;display:flex}.landing-intro-panel>*{max-width:580px}.landing-hero-brand{color:#eee6d8;letter-spacing:-.045em;align-items:center;gap:clamp(14px,1.5vw,24px);margin-bottom:32px;font:700 88px/1 Georgia,serif;display:flex}.landing-hero-brand img{flex:none;width:clamp(42px,4.6vw,68px);height:clamp(56px,6vw,88px);display:block}.landing-intro-art{object-fit:contain;pointer-events:none;width:100%;height:auto;display:block;-webkit-mask-image:linear-gradient(#000 0% 88%,#0000 100%);mask-image:linear-gradient(#000 0% 88%,#0000 100%)}.landing-intro-kicker{color:#e1bd77;letter-spacing:.16em;background:#211b1299;border:1px solid #695232;border-radius:999px;align-items:center;gap:9px;margin:0 0 30px;padding:8px 13px;font-size:9px;font-weight:700;display:inline-flex}.landing-intro h1{letter-spacing:-.025em;margin:0;font:400 clamp(28px,3vw,42px)/1.12 Georgia,serif}.landing-intro h1 em{margin-top:10px;display:inline-block}.landing-headline-break{display:none}@media (width>=901px){.landing-headline-break{display:initial}}.landing-intro-panel>p:not(.landing-intro-kicker){color:#c0b5a4;margin:25px 0 0;font-size:16px;line-height:1.8}.landing-intro-actions{flex-wrap:wrap;justify-content:flex-start;gap:12px;margin-top:30px;display:flex}.landing-intro-notes{color:#b3a182;flex-wrap:wrap;justify-content:flex-start;gap:18px;margin-top:22px;font-size:10px;display:flex}.landing-scroll-link{color:#a99a83;align-items:center;gap:12px;margin-top:32px;font-size:11px;text-decoration:none;display:inline-flex}.landing-section{padding-block:64px;scroll-margin-top:24px}.landing-section-heading{margin-bottom:28px}.landing-section-heading h2,.landing-closing h2{letter-spacing:-.025em;margin:0;font:400 clamp(32px,3.5vw,45px)/1.16 Georgia,serif}.landing-section-heading .eyebrow{margin-bottom:12px;font-size:10px}.landing-section-heading p:not(.eyebrow){color:#aca293;max-width:660px;margin:14px 0 0;font-size:14px;line-height:1.75}.landing-centered{text-align:center}.landing-centered p:not(.eyebrow){margin-inline:auto}.landing-command{padding-top:64px}.landing-demo-space{background:#131310e0;border:1px solid #4b4030;border-radius:12px;overflow:hidden;box-shadow:0 16px 65px #0003}.landing-demo-toolbar,.landing-demo-bottom{color:#a59a88;justify-content:space-between;align-items:center;gap:16px;padding:16px 22px;font-size:11px;display:flex}.landing-demo-toolbar{border-bottom:1px solid #343027}.landing-demo-toolbar>span:first-child{color:#d9cbb2;align-items:center;gap:10px;display:flex}.landing-demo-toolbar svg{color:#d7a94f;width:16px;height:16px}.landing-preview-badge{color:#c9ac77;letter-spacing:.12em;border:1px solid #5b4a2e;border-radius:4px;padding:4px 7px;font-size:8px}.landing-demo-empty{text-align:center;background:radial-gradient(#8b683b0f,#0000 65%);flex-direction:column;justify-content:center;align-items:center;min-height:370px;padding:40px 24px;display:flex}.landing-demo-symbol{color:#d0a858;background:#282116;border:1px solid #5b4a2e;border-radius:14px;place-items:center;width:62px;height:62px;margin-bottom:20px;display:grid}.landing-demo-symbol svg{width:28px;height:28px}.landing-demo-empty h3{margin:0;font:400 28px/1.2 Georgia,serif}.landing-demo-empty p{color:#a79b89;max-width:420px;margin:14px 0 25px;font-size:13px;line-height:1.8}.landing-demo-caption{color:#8f826e;letter-spacing:.04em;font-size:10px}.landing-demo-bottom{border-top:1px solid #343027}.landing-features{padding-block:70px 80px}.landing-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.landing-feature-card{background:#1b1a16d9;border:1px solid #3b352b;border-radius:7px;padding:25px 22px}.landing-feature-card>div{color:#d7a94f;justify-content:space-between;align-items:center;margin-bottom:25px;font:22px Georgia,serif;display:flex}.landing-feature-card svg{opacity:.7;width:20px;height:20px}.landing-feature-card h3{margin:0 0 12px;font:400 20px/1.25 Georgia,serif}.landing-feature-card p{color:#a99f8f;margin:0;font-size:12px;line-height:1.8}.landing-world.home-middle{gap:0;min-height:0;margin-block:0;padding-block:0}.landing-world>.landing-section{z-index:1;position:relative}.landing-cast-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.landing-cast-cards>.tavern-card{width:100%;min-width:0}.landing-cast-skeleton{box-sizing:border-box;background:linear-gradient(#24221c,#191a16);border:1px solid #34312a;border-radius:7px;flex-direction:column;justify-content:end;gap:12px;min-height:410px;padding:24px 18px;display:flex}.landing-cast-skeleton>span{background:#383429;border-radius:4px;width:70%;height:14px}.landing-cast-skeleton>span:first-child{width:45%;height:28px}.landing-cast-skeleton>span:last-child{width:55%}.landing-cast-footer{justify-content:space-between;align-items:center;gap:24px;margin-top:26px;display:flex}.landing-cast-footer>p{color:#c0b29d;align-items:center;gap:14px;margin:0;font-size:13px;line-height:1.7;display:flex}.landing-cast-footer>p svg{color:#cfaa65;flex:none;width:24px;height:24px}.landing-cast-footer strong{color:#9c8f7a;font-size:12px;font-weight:400}.landing-cast-footer>button{flex-shrink:0}.landing-cast-preview-status{color:#c9b48e;flex-wrap:wrap;align-items:center;gap:12px;min-height:24px;margin-top:12px;font-size:12px;display:flex}.landing-cast-unavailable{color:#aaa295;background:#171714;border:1px solid #34312a;border-radius:7px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:28px;font-size:14px;line-height:1.7;display:flex}.landing-cast-unavailable p{margin:0}.landing-lore{padding-block:70px 90px}.landing-demo-lore .landing-demo-empty{min-height:400px}.landing-scripting{padding-block:64px}.landing-closing{text-align:center;padding:80px 0 90px}.landing-closing .btn{margin-top:28px}.landing-footer{color:#998b76;border-top:1px solid #4b3b28;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;padding:28px 0;font-size:11px;display:flex}.landing-footer-brand{color:#e4d9c4;align-items:center;gap:8px;font:700 20px Georgia,serif;display:flex}.landing-footer-brand img{width:20px;height:24px}.landing-footer nav{flex-wrap:wrap;gap:20px;display:flex}.landing-footer a{color:#b7a790;text-decoration:none}.landing-footer a:hover,.landing-scroll-link:hover{color:#ebc476}.landing-page button,.landing-page a{transition:background-color .15s,border-color .15s,color .15s}.landing-page a:focus-visible,.landing-page button:focus-visible{outline-offset:3px;outline:2px solid #d7a94f}@media (width<=1000px){.landing-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.landing-cast-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.landing-intro{min-height:0}.landing-intro-layout{grid-template-columns:minmax(0,1fr);gap:36px;max-width:668px;padding-block:48px}.landing-intro-art{justify-self:center;width:100%;max-width:634px}.landing-intro:before{background:linear-gradient(#11110ffa 0%,#11110feb 38%,#11110f8c 66%,#0000 100%)}.landing-intro:after{background-position:50% 42%}}@media (width<=650px){.landing-cast-skeleton{min-height:340px}}@media (width<=600px){.landing-cast-cards{gap:12px}.landing-cast-footer{flex-direction:column;align-items:stretch;gap:20px}.landing-intro h1{font-size:clamp(28px,7vw,36px)}.landing-hero-brand{font-size:clamp(44px,12vw,66px)}.landing-hero-brand img{width:36px;height:48px}.landing-intro-kicker{letter-spacing:.08em;padding-inline:10px;font-size:8px}.landing-intro-panel>p:not(.landing-intro-kicker){font-size:14px}.landing-intro-actions{flex-direction:column;align-items:stretch}.landing-intro-notes{gap:12px;font-size:9px}.landing-section{padding-block:44px}.landing-feature-grid{gap:12px}.landing-feature-card{padding:20px 16px}.landing-feature-card h3{font-size:19px}.landing-demo-toolbar,.landing-demo-bottom{padding:14px;font-size:10px}.landing-demo-empty{min-height:320px;padding-inline:18px}.landing-demo-empty h3{font-size:25px}.landing-demo-lore .landing-demo-empty{min-height:340px}.landing-closing{padding-block:60px}.landing-footer{flex-direction:column;align-items:start}.landing-footer nav{gap:14px}}@media (prefers-reduced-motion:reduce){.landing-page button,.landing-page a{transition:none}}@media (width<=1200px){body:has(.landing-page){min-width:0}.landing-page.home-page{gap:0;max-width:none;padding:0}.landing-intro{width:100%;margin-left:0}.landing-page>.landing-section,.landing-page>.landing-world,.landing-page>.landing-closing,.landing-page>.landing-footer{width:calc(100% - 2 * var(--space-page));max-width:1072px;margin-inline:auto}.landing-intro-layout{gap:28px;padding-block:56px}.landing-hero-brand{gap:14px;font-size:clamp(58px,6.2vw,76px)}.landing-hero-brand img{width:48px;height:62px}.landing-page .scripting-showcase{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:18px}}@media (width<=900px){.landing-intro-layout{gap:28px;padding:40px 24px}.landing-hero-brand{font-size:clamp(44px,10vw,76px)}.landing-intro-panel>p{max-width:520px}.landing-intro-actions{width:100%}.landing-page .scripting-showcase{grid-template-columns:minmax(0,1fr)}.landing-page button,.landing-footer a{min-height:44px}.landing-footer a{align-items:center;display:inline-flex}}@media (width>=601px) and (width<=900px){.landing-intro h1{font-size:clamp(32px,4.5vw,40px)}.landing-intro h1>span,.landing-intro h1>em{white-space:nowrap}.landing-intro-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (width<=600px){.landing-intro-layout{gap:24px;padding:32px 20px}.landing-hero-brand{gap:12px;margin-bottom:24px;font-size:clamp(44px,11vw,60px)}.landing-hero-brand img{width:36px;height:48px}.landing-intro-panel>p:not(.landing-intro-kicker){margin-top:20px;line-height:1.75}.landing-intro-actions{gap:10px;margin-top:24px}.landing-intro-actions>.btn,.landing-cast-footer>.btn{width:100%}.landing-cast-footer>p{align-items:flex-start}.landing-page .scripting-example-head{gap:8px}.landing-page .scripting-options{gap:6px}.landing-page .scripting-options button{padding-inline:11px}.landing-page .scripting-example-footer{gap:10px}.landing-page .scripting-example-footer .btn{width:100%}.landing-page .scripting-guide-card{padding:20px 16px}.landing-page .scripting-code pre{padding:14px 12px}.app-shell:has(.landing-page)>header{gap:8px;padding-inline:12px}.app-shell:has(.landing-page)>header .brand{flex-shrink:0;gap:6px;padding-inline:0}.app-shell:has(.landing-page)>header .brand-text{font-size:16px;display:block}.app-shell:has(.landing-page)>header .header-actions{gap:6px}.app-shell:has(.landing-page)>header .app-nav button{padding-inline:6px}}@media (width<=380px){.landing-intro-layout{padding-inline:16px}.landing-feature-grid,.landing-cast-cards{grid-template-columns:minmax(0,1fr)}.landing-cast-cards>.tavern-card{min-height:360px}.landing-feature-card{padding:22px}.landing-page .landing-section-heading h2,.landing-page .landing-closing h2{font-size:30px}.landing-page .scripting-example-footer{flex-direction:column;align-items:stretch}}.landing-lore-demo-intro{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:24px;display:grid}.landing-lore-demo-intro>div:first-child{min-height:74px}.landing-lore-demo-intro h3{color:#e8e2d7;margin:0 0 8px;font:400 24px Georgia,serif}.landing-lore-demo-intro p{color:#9b9387;margin:0;font-size:12px;line-height:1.6}.landing-lore-demo-controls{flex-wrap:wrap;align-items:center;gap:12px;width:326px;max-width:100%;min-height:48px;display:flex}.landing-lore-demo-controls .btn{justify-content:center;align-items:center;gap:8px;display:inline-flex}.landing-lore-demo-controls svg{width:16px;height:16px}.landing-lore-demo-check{color:#e8e2d7;cursor:pointer;align-items:center;gap:8px;font-size:12px;display:flex}.landing-lore-demo-check input{accent-color:#d7a94f;width:16px;height:16px;min-height:0}.landing-lore-demo-graph{padding:0 24px 24px}.landing-lore-demo-graph .landing-demo-graph-canvas{border:1px solid #34312a;border-radius:6px;height:560px;min-height:560px;overflow:hidden}.landing-lore-demo-summary{background:#171714;border-top:1px solid #34312a;padding:20px 24px}.landing-lore-demo-summary .eyebrow{font-size:10px}.landing-lore-demo-summary p{color:#bcb3a5;margin:8px 0 0;font-size:13px;line-height:1.6}@media (width<=900px){.landing-lore-demo-intro{grid-template-columns:minmax(0,1fr)}}@media (width<=600px){.landing-lore-demo-intro{padding:18px}.landing-lore-demo-intro>div:first-child{min-height:102px}.landing-lore-demo-graph{padding:0 12px 18px}.landing-lore-demo-graph .landing-demo-graph-canvas{height:350px;min-height:350px}}@media (width<=360px){.landing-lore-demo-intro>div:first-child{min-height:122px}.landing-lore-demo-controls{min-height:104px}}
