.signup-form{display:grid;gap:var(--ds-space-6);min-width:0}.signup-heading{display:grid;gap:var(--ds-space-3);margin:0}.signup-heading h1{margin:0;font-size:24px;line-height:1.4;letter-spacing:-.02em;outline:none}.signup-heading p,.signup-note{margin:0;color:var(--ds-text-body);font-size:13px;line-height:var(--ds-line-body)}.signup-progress{display:flex;flex-wrap:wrap;gap:var(--ds-space-4)}.signup-progress span[aria-current]{color:var(--ds-accent);font-weight:700}.signup-fields{display:grid;gap:var(--ds-space-6);min-width:0}.signup-field{display:grid;gap:var(--ds-space-2);font-size:14px;font-weight:700}.signup-field input{width:100%;min-height:48px;padding:0 var(--ds-space-3);color:var(--ds-text-strong);border:1px solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);font:inherit}.signup-field small,.signup-choice-group small{color:var(--ds-text-body);font-size:12px;font-weight:400;line-height:var(--ds-line-body)}.signup-choice-group{min-width:0;margin:0;padding:0;border:0}.signup-choice-group legend{padding:0;margin-bottom:var(--ds-space-3);font-size:14px;font-weight:700}.signup-choice-group small{display:block;margin-top:var(--ds-space-1)}.signup-choices{display:flex;flex-wrap:wrap;gap:var(--ds-space-2)}.signup-choices button,.signup-secondary{min-height:44px;padding:var(--ds-space-2) var(--ds-space-3);border:1px solid var(--ds-line);border-radius:var(--ds-radius-control);background:transparent;color:var(--ds-text-body);font:inherit;font-size:13px}.signup-choices button[aria-pressed=true]{border-color:var(--ds-accent);color:var(--ds-accent);background:var(--ds-surface-subtle)}.signup-choices button:hover,.signup-secondary:hover{background:var(--ds-surface-subtle)}.signup-choices[data-layout=services]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.signup-consent-row{display:flex;align-items:center;gap:var(--ds-space-3)}.signup-consent-row label{display:flex;align-items:center;gap:var(--ds-space-3);flex:1;min-width:0;min-height:48px;font-size:13px;line-height:1.5}.signup-consent-row input{flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:var(--ds-accent)}.signup-consent-row a{display:grid;place-items:center;min-width:44px;min-height:44px;color:var(--ds-text-body);font-size:12px;text-decoration:underline}.signup-optional{margin-top:var(--ds-space-4)}.signup-optional summary{min-height:44px;align-content:center;color:var(--ds-text-body);font-size:13px;cursor:pointer}.signup-actions{display:flex;flex-wrap:wrap;gap:var(--ds-space-3)}.signup-primary{flex:1;min-height:48px;padding:var(--ds-space-3);border:0;border-radius:var(--ds-radius-control);background:var(--ds-accent);color:var(--ds-on-accent);font:inherit;font-weight:700}.signup-primary:disabled{opacity:.45;cursor:not-allowed}.signup-skip{width:100%;min-height:44px;padding:var(--ds-space-2);border:0;background:transparent;color:var(--ds-text-body);font:inherit;font-size:13px;text-decoration:underline}@font-face{font-family:Pretendard Variable;font-weight:45 920;font-style:normal;font-display:swap;src:url(/assets/PretendardVariable-CJuje-Rk.woff2) format("woff2-variations")}@font-face{font-family:Bagel Fat One;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/bagel-fat-one-korean-400-normal-dZ0WSbrt.woff2) format("woff2"),url(/assets/bagel-fat-one-korean-400-normal-D2go3af9.woff) format("woff")}@layer foundation,studio-base,design-system,navigation,player,curation,commerce,interaction,authoring,polish,account,image-workspace;@layer foundation{@font-face{font-family:SUIT Variable;src:url(/fonts/SUIT-Variable.woff2) format("woff2-variations");font-style:normal;font-weight:100 900;font-display:swap}}@layer foundation;@layer foundation{:root{--color-waku-accent: var(--ds-accent);--color-waku-canvas: var(--ds-canvas);--color-waku-surface-soft: var(--ds-surface-subtle);--color-waku-surface-active: var(--ds-surface-input);--color-waku-choice-rest: rgba(18, 18, 18, .64);--color-waku-choice-hover: rgba(29, 29, 29, .78);--color-waku-choice-selected: rgba(227, 160, 155, .12);--color-waku-choice-error: rgba(225, 141, 135, .1);--color-waku-choice-success: rgba(121, 182, 155, .1);--color-waku-rule: var(--ds-line);--color-waku-text: var(--ds-text-strong);--color-waku-text-muted: var(--ds-text-muted);--font-waku-display: var(--font-display);--font-waku-body: var(--ds-font-ui);--space-waku-row: var(--ds-space-6);--space-waku-section: var(--ds-space-8);--radius-waku-list: var(--ds-radius-overlay);--radius-waku-row: calc(var(--ds-radius-media) + var(--ds-space-1));--radius-waku-flow: calc(var(--ds-radius-media) + var(--ds-space-1));--blur-waku-choice: 18px;--rule-waku: var(--ds-border-width);--dur-waku-fast: .14s;--ease-waku-out: cubic-bezier(.22, .8, .26, 1)}}@layer foundation{*{box-sizing:border-box}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--red);outline-offset:3px}}@layer foundation{.app-shell{min-height:100vh}.waku-beat:before,.waku-beat:after{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;pointer-events:none;border:var(--ds-border-width) solid var(--ds-accent);border-radius:50%;opacity:0;animation:waku-ring 5.6s ease-out infinite}.waku-beat:before{animation-delay:.2s}@keyframes waku-ring{0%,6%,15%,to{opacity:0;transform:scale(.82)}7%{opacity:.7;transform:scale(.9)}11%{opacity:0;transform:scale(1.42)}12%{opacity:.55;transform:scale(.9)}16%{opacity:0;transform:scale(1.48)}}.side-rule{height:1px;background:var(--line);margin:var(--ds-space-5) var(--ds-space-2)}.side-label{margin:0 var(--ds-space-3) var(--ds-space-2);color:#9c958c;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.main-area{min-width:0;margin-left:var(--sidebar);transition:margin-left .24s cubic-bezier(.22,.8,.26,1)}.search-box{width:min(420px,42vw);height:40px;display:flex;align-items:center;gap:var(--ds-space-2);padding:0 var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-glass);color:#9a9389}.search-box input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px}.search-box input::placeholder{color:#a9a39b}.search-box kbd{padding:var(--ds-space-1) var(--ds-space-1);color:#aaa39a;border:var(--ds-border-width) solid var(--line);border-radius:4px;background:var(--ds-surface-input-hover);font-size:11px}.notification-popover{position:absolute;z-index:52;top:49px;right:55px;width:310px;overflow:hidden;color:var(--ink);border:var(--ds-border-width) solid var(--ds-line);border-radius:12px;background:var(--ds-surface-input-hover);box-shadow:0 22px 55px #211f1c2e;animation:menu-in .16s ease both}.notification-popover>header{padding:var(--ds-space-4) var(--ds-space-4) var(--ds-space-3);display:flex;align-items:flex-end;justify-content:space-between;border-bottom:var(--ds-border-width) solid var(--line)}.notification-popover>header>div{display:grid;gap:var(--ds-space-1)}.notification-popover>header span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.12em}.notification-popover>header strong{font-size:13px}.notification-popover>header small{color:#9b938a;font-size:11px}.notification-list{display:grid}.notification-list article{padding:var(--ds-space-3) var(--ds-space-4);display:grid;grid-template-columns:7px 1fr;gap:var(--ds-space-2);border-bottom:var(--ds-border-width) solid var(--line)}.notification-list article>b{width:7px;height:7px;margin-top:var(--ds-space-1);border-radius:50%;background:var(--red)}.notification-list article>div{min-width:0;display:grid;gap:var(--ds-space-1)}.notification-popover>footer{padding:var(--ds-space-2) var(--ds-space-3);display:flex;justify-content:flex-end}.notification-popover>footer button{padding:var(--ds-space-1) var(--ds-space-2);color:#756d64;border:0;background:transparent;cursor:pointer;font-size:11px}.notification-popover>footer button:hover{color:var(--red)}.profile-menu{position:absolute;z-index:50;top:48px;right:0;width:min(304px,calc(100vw - var(--ds-space-8)));max-height:calc(100dvh - var(--ds-topbar-height) - var(--topbar-menu-bottom-space, var(--ds-space-4)));overflow:hidden auto;overscroll-behavior:contain;border:var(--ds-border-width) solid var(--ds-line);border-radius:12px;background:var(--ds-surface-input-hover);box-shadow:0 24px 60px #211f1c33;animation:menu-in .16s ease both}@keyframes menu-in{0%{opacity:0;transform:translateY(-5px) scale(.985)}}.profile-menu-head{width:100%;padding:var(--ds-space-4);display:grid;grid-template-columns:42px 1fr 17px;align-items:center;gap:var(--ds-space-3);text-align:left;border:0;background:transparent;cursor:pointer}.profile-menu-head:hover{color:var(--ds-accent-strong);background:transparent}.profile-avatar.large{width:42px;height:42px;font-size:16px}.profile-menu-head>div{display:grid;gap:var(--ds-space-1)}.profile-menu-head strong{font-size:12px}.profile-menu-head small{color:#8f887f;font-size:11px}.profile-menu-list{padding:var(--ds-space-2);border-block:var(--ds-border-width) solid var(--line)}.profile-menu-list>:is(button,a):hover{color:var(--ink);background:transparent}.profile-menu-section-label{padding:var(--ds-space-3) var(--ds-space-2) var(--ds-space-1);display:block;color:var(--ds-text-muted);font-size:11px}.profile-menu-foot{display:flex;justify-content:flex-end;gap:var(--ds-space-2);padding:var(--ds-space-2) var(--ds-space-3)}.profile-menu-foot button{min-width:var(--ds-control-height);color:#918a81;border:0;background:transparent;cursor:pointer;font-size:11px}.discovery-header nav{align-self:stretch;display:flex;gap:var(--ds-space-6)}.discovery-header>div{display:flex;align-items:baseline;gap:var(--ds-space-2)}.discovery-header span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.13em}.discovery-header strong{color:#7e776f;font-size:11px;font-weight:550}.story-curation-home .hero{margin-bottom:0}.content-shelf{margin-top:var(--ds-space-9)}.content-shelf .section-head{margin-bottom:var(--ds-space-4)}.curated-rail{grid-auto-columns:minmax(190px,220px)}.character-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(184px,218px);gap:var(--ds-space-4);overflow-x:auto;padding:var(--ds-space-1) var(--ds-space-1) var(--ds-space-3);scroll-snap-type:x mandatory;scrollbar-width:none}.character-rail::-webkit-scrollbar{display:none}.character-rail .character-card{scroll-snap-align:start}.continue-shelf-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(315px,1fr);grid-template-columns:repeat(3,minmax(315px,1fr));gap:var(--ds-space-2);overflow-x:auto;padding:var(--ds-space-1) var(--ds-space-1) var(--ds-space-2);scrollbar-width:none}.continue-shelf-rail::-webkit-scrollbar{display:none}.continue-shelf-art{position:relative;width:78px;height:86px;overflow:hidden;border-radius:6px}.continue-shelf-rail>button>div:last-child{min-width:0;display:grid;gap:var(--ds-space-1)}.continue-shelf-rail small{color:var(--red);font-size:11px}.continue-shelf-rail strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.tag-search-view{padding-top:var(--ds-space-1)}.character-curation-home .content-shelf:first-child{margin-top:var(--ds-space-7)}.category-tabs{display:flex;gap:var(--ds-space-1);margin-bottom:var(--ds-space-5);overflow-x:auto;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-bar{display:flex;align-items:center;gap:var(--ds-space-2);margin-bottom:var(--ds-space-5)}.category-bar .category-tabs{min-width:0;flex:1;margin-bottom:0}.detail-toggle{height:32px;padding:0 var(--ds-space-2) 0 var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-1);flex:0 0 auto;color:#6f685f;border:var(--ds-border-width) solid var(--line);border-radius:17px;background:var(--ds-surface-glass);cursor:pointer;font-size:11px;font-weight:650}.detail-toggle svg{transition:transform .18s ease}@keyframes filter-in{0%{opacity:0;transform:translateY(-4px)}}.detail-filter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--ds-space-4)}.detail-filter-head>div{display:flex;align-items:baseline;gap:var(--ds-space-2)}.detail-filter-head span{color:#999188;font-size:11px}.detail-filter-head>button{color:var(--red);border:0;background:transparent;cursor:pointer;font-size:11px}.detail-filter-row{display:grid;grid-template-columns:55px 1fr;align-items:start;gap:var(--ds-space-2);padding:var(--ds-space-2) 0}.detail-filter-row>strong{padding-top:var(--ds-space-1);color:#6c655d;font-size:11px}.detail-filter-row>div{display:flex;flex-wrap:wrap;gap:var(--ds-space-1)}.detail-filter-row button.active{color:#fff}.hero:hover .hero-image{transform:scale(1.04)}.eyebrow{display:flex;align-items:center;gap:.69cqi;font-size:11px;font-weight:720;letter-spacing:.14em;text-transform:uppercase}.eyebrow i{width:1.46cqi;height:.17cqi;background:var(--red)}.hero h1{margin:1.03cqi 0 1.72cqi;font-family:var(--font-display);font-size:var(--curation-hero-title-size, clamp(44px, 3.5vw, 50px));font-weight:760;line-height:1.08;letter-spacing:-.045em;word-break:keep-all}.hero h1 em{color:#f2b7a4;font-style:normal}.hero-copy>p{margin:0 0 1.37cqi;color:#ffffffb8;font-size:var(--curation-hero-copy-size, 14px);line-height:var(--curation-hero-copy-line-height, 1.75)}.hero-actions{display:flex;gap:var(--ds-space-2)}.primary-button,.ghost-button{height:38px;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);border-radius:5px;cursor:pointer;font-size:11px;font-weight:650}.primary-button:hover{background:var(--red-dark);border-color:var(--red-dark)}.ghost-button{color:#fff;border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-overlay-scrim);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ghost-button:hover{background:var(--ds-overlay-scrim)}.hero-copy{position:absolute;z-index:2;top:50%;left:clamp(34px,5vw,76px);color:#fff;transform:translateY(-50%);width:min(560px,52%)}.curation-section,.ranking-section{margin-top:var(--ds-space-9)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:var(--ds-space-5);margin-bottom:var(--ds-space-5)}.section-head>div:first-child>span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.16em}.section-tools{display:flex;align-items:center;gap:var(--ds-space-1)}.section-tools button:not(.see-all){width:31px;border-radius:50%}.story-rail::-webkit-scrollbar{display:none}.story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:var(--ds-space-5) var(--ds-space-4)}.story-grid .story-card{max-width:250px}.cover-art{position:absolute;top:0;right:0;bottom:0;left:0;background-repeat:no-repeat;background-size:300% 200%}.cover-art.cover-art-image{background-position:center;background-size:cover}.character-hero-portrait .cover-art.cover-art-image,.dialog-art .cover-art.cover-art-image{background-position:center bottom;background-size:contain}.editorial-cover{overflow:hidden;color:#fff;background-color:var(--ds-cover-surface-1);background-image:none}.editorial-cover:before{content:"";position:absolute;width:76%;aspect-ratio:1;top:-17%;right:-31%;border:var(--ds-border-width) solid color-mix(in srgb,var(--cover-accent) 74%,var(--ds-line));border-radius:50%;opacity:.45;box-shadow:0 0 0 24px #ffffff06,0 0 0 52px #ffffff05}.editorial-cover:after{content:none}.editorial-cover-1{background-color:var(--ds-cover-surface-1);background-image:none}.editorial-cover-2{background-color:var(--ds-cover-surface-2);background-image:none}.editorial-cover-3{background-color:var(--ds-cover-surface-3);background-image:none}.story-badge{position:absolute;z-index:2;top:10px;left:10px;padding:var(--ds-space-1) var(--ds-space-2);color:#28231f;border-radius:4px;background:var(--ds-surface-glass);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);font-size:11px;font-weight:800;letter-spacing:.08em}.story-badge.hot{color:#fff;background:var(--red)}.story-badge.new{color:#191919;background:var(--ds-surface-glass)}.story-badge.complete{color:#e9f1ed;background:var(--ds-surface-glass)}.story-badge.voice{color:#1c1720;background:var(--ds-surface-glass)}.story-badge.original{color:#1d1615;background:var(--ds-accent)}.card-play{position:absolute;z-index:2;right:10px;bottom:10px;width:33px;height:33px;display:grid;place-items:center;color:var(--ink);border-radius:50%;background:var(--ds-surface-glass);opacity:0;transform:translateY(5px);transition:.2s ease}.card-moment small:before{content:"••";margin-right:var(--ds-space-1);letter-spacing:2px}.card-moment b{font-family:var(--font-story);font-size:13px;font-weight:400;line-height:1.45}.card-moment em{color:#ffffff94;font-size:11px;font-style:normal}.card-visual:is(:hover,:focus-visible) .card-moment{opacity:1}.story-card:hover .card-play{opacity:1;transform:translateY(0);opacity:0}.card-body{padding:var(--ds-space-3) var(--ds-space-1) var(--ds-space-1)}.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-2)}.card-title-row .liked{color:var(--red)}.card-meta span{min-width:0;display:inline-flex;align-items:center;gap:var(--ds-space-1)}.card-meta span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-search{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-2);color:#aaa39a;border:var(--ds-border-width) dashed var(--ds-line);border-radius:12px}.empty-search strong{color:#554f48}.empty-search span{font-size:12px}.page-intro>div>span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.16em}.outline-action:hover{border-color:var(--ds-line)}.explore-toolbar{position:sticky;top:72px;z-index:20;margin:0 calc(-1 * var(--ds-space-1));padding:var(--ds-space-4) var(--ds-space-1) var(--ds-space-2);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);background:var(--ds-surface-glass);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.explore-toolbar .category-tabs{margin:0}.sort-button{height:32px;padding:0 var(--ds-space-2) 0 var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-1);flex:0 0 auto;color:#746d64;border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-glass);cursor:pointer;font-size:11px}.browse-section,.curation-section.dense{margin-top:var(--ds-space-7)}.tag-results-head{margin-bottom:var(--ds-space-5);display:flex;align-items:flex-end;justify-content:space-between;gap:var(--ds-space-4)}.tag-results-head .section-head{min-width:0;flex:1;margin-bottom:0}.sort-toggle>span{padding:0 var(--ds-space-2) 0 var(--ds-space-2);color:#979087;font-size:11px;font-weight:650}.sort-toggle button:hover{color:var(--ink)}.library-tabs{display:flex;gap:var(--ds-space-6);margin:var(--ds-space-6) 0 var(--ds-space-5);border-bottom:var(--ds-border-width) solid var(--line)}.library-tabs button{position:relative;padding:0 var(--ds-space-1) var(--ds-space-3);color:#898279;border:0;background:transparent;cursor:pointer;font-size:12px;font-weight:650}.library-tabs button.active{color:var(--ink)}.library-tabs button span{margin-left:var(--ds-space-1);color:#a69f96;font-size:11px}.library-empty{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#aaa298;border:var(--ds-border-width) dashed var(--ds-line);border-radius:12px}.library-empty strong{margin:var(--ds-space-3) 0 var(--ds-space-1);color:#4f4942}.library-empty p{margin:0;font-size:11px}.collection-row{margin-top:var(--ds-space-9)}.collection-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-4)}.collection-cards>button{min-height:180px;padding:var(--ds-space-5);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;overflow:hidden;text-align:left;border:var(--ds-border-width) solid var(--line);border-radius:11px;background:var(--ds-surface-input-hover);cursor:pointer}.collection-cards>button:hover{border-color:var(--ds-line)}.collection-cards strong{margin-top:var(--ds-space-3);font-size:13px}.collection-cards>button>span{margin-top:var(--ds-space-1);color:#8f887f;font-size:11px}.collection-stack{position:relative;width:118px;height:76px}.collection-stack .cover-art{width:58px;height:72px;border:2px solid var(--ds-line);border-radius:5px;box-shadow:0 6px 13px #211f1c24}.collection-stack .cover-art:nth-child(1){left:0;transform:rotate(-6deg)}.collection-stack .cover-art:nth-child(2){left:30px;z-index:2;transform:translateY(-3px)}.collection-stack .cover-art:nth-child(3){left:59px;transform:rotate(6deg)}.collection-cards .new-collection strong{color:#4d4842}.continue-section{margin-top:var(--ds-space-8)}.continue-list{display:grid;gap:var(--ds-space-2)}.continue-card{min-height:134px;padding:var(--ds-space-3) var(--ds-space-3) var(--ds-space-3) var(--ds-space-3);display:grid;grid-template-columns:92px 1fr auto;align-items:center;gap:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:11px;background:var(--ds-surface-glass)}.continue-card:hover{background:var(--ds-surface-input-hover);box-shadow:0 9px 25px #211f1c0f}.continue-cover{position:relative;width:92px;height:110px;overflow:hidden;padding:0;border:0;border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer}.continue-cover>span{position:absolute;right:7px;bottom:7px;width:30px;height:30px;display:grid;place-items:center;color:var(--ink);border-radius:50%;background:var(--ds-surface-glass)}.continue-copy{min-width:0}.continue-copy>span{color:var(--red);font-size:11px;font-weight:650}.continue-copy h3{margin:var(--ds-space-1) 0 var(--ds-space-1);font-size:16px}.continue-copy>p{overflow:hidden;margin:0 0 var(--ds-space-3);color:#888177;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.last-scene{display:flex;align-items:center;gap:var(--ds-space-2)}.last-scene small{padding:var(--ds-space-1) var(--ds-space-1);flex:0 0 auto;color:var(--red);border-radius:4px;background:var(--ds-surface-input-hover);font-size:11px}.last-scene strong{overflow:hidden;color:#6f685f;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.continue-button{height:37px;padding:0 var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-1);border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px;font-weight:650}.continue-button:hover{color:var(--red);border-color:var(--ds-accent)}.recent-section{margin-top:var(--ds-space-9)}.recent-chats{display:grid;grid-template-columns:1fr 1fr;gap:var(--ds-space-3)}.recent-chats>button{min-width:0;min-height:74px;padding:var(--ds-space-2) var(--ds-space-3) var(--ds-space-2) var(--ds-space-2);display:grid;grid-template-columns:48px 1fr auto 17px;align-items:center;gap:var(--ds-space-3);text-align:left;border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-glass);cursor:pointer}.recent-avatar{position:relative;width:48px;height:52px;overflow:hidden;border-radius:6px}.recent-chats>button>div:nth-child(2){min-width:0;display:grid;gap:var(--ds-space-1)}.recent-chats strong,.recent-chats span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-chats strong{font-size:11px}.recent-chats span,.recent-chats small{color:#8f887f;font-size:11px}.creator-start{margin-top:var(--ds-space-8);display:grid;grid-template-columns:repeat(3,1fr);border-top:var(--ds-border-width) solid var(--line);border-bottom:var(--ds-border-width) solid var(--line)}.creator-guide{min-height:210px;padding:var(--ds-space-7) var(--ds-space-6);display:flex;flex-direction:column;justify-content:space-between;border-right:var(--ds-border-width) solid var(--line)}.creator-guide:last-child{border-right:0}.creator-guide>span{color:var(--red);font-family:var(--font-ui);font-size:14px}.creator-guide strong{font-family:var(--font-display);font-size:19px}.creator-guide p{margin:var(--ds-space-2) 0 0;color:#847d74;font-size:11px;line-height:1.6}.character-type-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:var(--ds-space-1) 0 var(--ds-space-5);border:var(--ds-border-width) solid var(--line);border-radius:11px;background:var(--ds-surface-glass)}.character-type-tabs button+button{border-left:var(--ds-border-width) solid var(--line)}.character-type-tabs button:after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:2px;background:transparent}.character-type-tabs button.active{color:var(--ink)}.character-type-tabs button>span{grid-column:1 / -1;color:var(--red);font-size:11px;font-weight:750;letter-spacing:.14em}.character-category-bar{margin-bottom:var(--ds-space-5)}.character-section{margin-top:var(--ds-space-7)}.character-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:var(--ds-space-3)}.character-card:hover{transform:none;box-shadow:none}.character-visual{position:relative;min-height:146px;overflow:hidden;padding:0;border:0;background:var(--ds-surface-input-hover);cursor:pointer}.character-visual>span{position:absolute;z-index:2;left:10px;bottom:9px;display:flex;align-items:center;gap:var(--ds-space-1);color:#fff;font-size:11px;font-weight:650}.character-card>div{min-width:0;padding:var(--ds-space-4) var(--ds-space-4)}.character-card>div>span{color:var(--red);font-size:11px;font-weight:700}.character-card h3{margin:var(--ds-space-2) 0 var(--ds-space-1);font-family:var(--font-display);font-size:23px;font-weight:400}.character-card p{margin:0 0 var(--ds-space-3);color:#756e65;font-size:11px;line-height:1.45}.character-card small{color:#999188;font-size:11px}.character-dialog-role{margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-3);color:#4f4942;font-size:12px}.mywork-tabs::-webkit-scrollbar{display:none}.mywork-tabs+.continue-section,.mywork-tabs+.story-grid,.mywork-tabs+.my-projects{margin-top:var(--ds-space-7)}.project-cover>span{position:absolute;top:6px;left:6px;padding:var(--ds-space-1) var(--ds-space-1);color:#fff;border-radius:3px;background:var(--ds-surface-glass);font-size:11px}.project-cover>span.published{background:var(--ds-surface-input-hover)}.project-card>div:nth-child(2),.project-copy{display:grid;gap:var(--ds-space-1)}.project-card.new>svg{justify-self:center}.profile-overview{margin-top:var(--ds-space-7);display:grid;grid-template-columns:1.2fr .8fr;gap:var(--ds-space-3)}.profile-identity,.profile-stats{min-height:150px;border:var(--ds-border-width) solid var(--line);border-radius:11px;background:var(--ds-surface-glass)}.profile-identity{padding:var(--ds-space-6);display:grid;grid-template-columns:66px 1fr auto;align-items:center;gap:var(--ds-space-4)}.large-avatar{width:66px;height:66px;padding:var(--ds-space-1);display:grid;place-items:center;color:#fff;border-radius:50%;background:var(--ink);font-family:var(--font-ui);font-size:25px}.profile-identity>div{min-width:0}.profile-identity small{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.11em}.profile-identity h2{margin:var(--ds-space-1) 0 var(--ds-space-1);font-size:19px}.profile-identity p{margin:0;color:#8c857c;font-size:11px}.profile-identity button{height:33px;padding:0 var(--ds-space-2);border:var(--ds-border-width) solid var(--line);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr)}.profile-stats>button{padding:var(--ds-space-6) var(--ds-space-3);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-2);color:var(--ink);border:0;border-right:var(--ds-border-width) solid var(--line);background:transparent;cursor:pointer}.profile-stats>button:last-child{border-right:0}.profile-stats>button:hover,.profile-stats>button.active{background:var(--ds-surface-input-hover)}.profile-stats span{color:#8c857c;font-size:11px;text-align:center}.profile-stats strong{font-family:var(--font-ui);font-size:25px;font-weight:600}.profile-stats small{color:var(--red);font-size:11px;opacity:0;transform:translateY(2px);transition:.15s ease}.profile-stats>button:hover small,.profile-stats>button.active small{opacity:1;transform:translateY(0)}.my-projects-only{margin-top:var(--ds-space-6)}.my-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--ds-space-4);margin-bottom:var(--ds-space-5)}.my-detail-head span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.14em}.my-detail-head h2{margin:var(--ds-space-1) 0 0;font-family:var(--font-display);font-size:24px;font-weight:400}.my-detail-head>button{color:#8c857c;border:0;background:transparent;cursor:pointer;font-size:11px}.my-detail-panel .continue-section{margin-top:0}.ticket-panel{min-height:165px;display:grid;grid-template-columns:180px 1fr;overflow:hidden;border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.ticket-panel>div:first-child{padding:var(--ds-space-6);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;background:var(--ink)}.ticket-panel>div:first-child span{color:#e4a59a;font-size:11px;font-weight:750;letter-spacing:.13em}.ticket-panel>div:first-child strong{margin:var(--ds-space-1) 0 var(--ds-space-1);font-family:var(--font-ui);font-size:42px;font-weight:600}.ticket-panel>div:first-child small{color:#ffffff8c;font-size:11px}.ticket-options{padding:var(--ds-space-5);display:grid;grid-template-columns:repeat(3,1fr);gap:var(--ds-space-2);align-items:center}.ticket-options button:hover{color:var(--red);border-color:var(--ds-accent);background:var(--ds-surface-input-hover)}.ticket-options button.active{color:var(--red)}.ticket-selection{grid-column:1 / -1;margin:0;color:#817a71;font-size:11px;text-align:center}.ticket-selection strong{color:var(--red)}.profile-editor{max-width:620px;display:grid;gap:var(--ds-space-3)}.profile-editor input:focus{border-color:var(--ds-accent)}.profile-editor .primary-button{width:max-content;margin-top:var(--ds-space-1)}.preference-list{display:grid;gap:var(--ds-space-2)}.preference-list>button{min-height:66px;padding:var(--ds-space-3) var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;text-align:left;color:var(--ink);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.preference-list>button>div{display:grid;gap:var(--ds-space-1)}.preference-list strong{font-size:11px}.preference-list span{color:#8c857c;font-size:11px}.preference-list i{position:relative;width:34px;height:20px;flex:0 0 auto;border-radius:10px;background:var(--ds-surface-input-hover);transition:.18s ease}.preference-list i.on{background:var(--red)}.preference-list i.on em{transform:translate(14px)}.support-list{display:grid;gap:var(--ds-space-2)}.support-list details{padding:0 var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.support-list p{margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-4);color:#7f786f;font-size:11px;line-height:1.6}.studio-top>div{display:flex;align-items:center;gap:var(--ds-space-3)}.studio-top>div:first-child>button{height:32px;padding:0 var(--ds-space-2);display:flex;align-items:center;gap:var(--ds-space-1);color:#777067;border:0;border-right:var(--ds-border-width) solid var(--line);background:transparent;cursor:pointer;font-size:11px}.studio-top span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.13em}.studio-top strong{max-width:360px;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.studio-top small{color:#928a80;font-size:11px}.studio-save{height:34px;padding:0 var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-1);color:#fff;border:0;border-radius:6px;background:var(--ink);cursor:pointer;font-size:11px}.studio-main{min-width:0;padding:var(--ds-space-7) clamp(var(--ds-space-6),4vw,var(--ds-space-10)) var(--ds-space-6)}.studio-main-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--ds-space-5);margin-bottom:var(--ds-space-6)}.studio-main-head span,.studio-section-copy>span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.14em}.studio-main-head h2{margin:var(--ds-space-1) 0 var(--ds-space-1);font-family:var(--font-display);font-size:30px;font-weight:400}.studio-main-head p{margin:0;color:#817a71;font-size:11px}.studio-main-head em{padding:var(--ds-space-1) var(--ds-space-2);color:#7e776e;border-radius:4px;background:var(--ds-surface-input-hover);font-size:11px;font-style:normal}.locked-viewpoint{min-height:72px;padding:var(--ds-space-3) var(--ds-space-3);display:grid;grid-template-columns:180px 1fr auto;align-items:center;gap:var(--ds-space-4);border:var(--ds-border-width) solid var(--ds-accent);border-radius:8px;background:var(--ds-surface-input-hover)}.locked-viewpoint>div{display:grid;gap:var(--ds-space-1)}.locked-viewpoint>div span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.11em}.locked-viewpoint>div strong{font-size:11px}.locked-viewpoint p{margin:0;color:#756d65;font-size:11px;line-height:1.55}.locked-viewpoint>b{padding:var(--ds-space-1) var(--ds-space-2);color:var(--red);border-radius:999px;background:var(--ds-surface-input-hover);font-size:11px}.locked-viewpoint p b{color:var(--red)}.thought-access-panel{padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.thought-access-panel>div:first-child{display:grid;gap:var(--ds-space-1)}.thought-access-panel>div:first-child span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.11em}.thought-access-panel>div:first-child strong{font-size:11px}.thought-access-panel>div:first-child p{margin:0;color:#8c847b;font-size:11px;line-height:1.5}.thought-mode-grid{margin-top:var(--ds-space-3);display:grid;grid-template-columns:repeat(3,1fr);gap:var(--ds-space-2)}.thought-mode-grid button{min-height:64px;padding:var(--ds-space-2);display:grid;align-content:center;gap:var(--ds-space-1);text-align:left;color:#746d65;border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer}.thought-mode-grid button.active{color:var(--ink)}.thought-mode-grid strong{font-size:11px}.thought-mode-grid span{color:#948c83;font-size:11px}.thought-format{margin-top:var(--ds-space-2);padding:var(--ds-space-3);display:grid;grid-template-columns:.65fr 1.35fr;gap:var(--ds-space-2);border-radius:7px;background:var(--ds-surface-input-hover)}.thought-format label{display:grid;gap:var(--ds-space-1);color:#655e56;font-size:11px;font-weight:650}.thought-format input,.thought-format select{min-width:0;min-height:35px;padding:0 var(--ds-space-2);color:var(--ink);border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;outline:none;background:var(--ds-surface-input-hover);font:inherit}.studio-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--ds-space-4)}.studio-form-grid label,.asset-generate label{display:grid;gap:var(--ds-space-2);color:#655e56;font-size:11px;font-weight:650}.studio-form-grid label.wide,.studio-form-grid .wide{grid-column:1 / -1}.studio-form-grid input,.studio-form-grid select,.studio-form-grid textarea,.asset-generate textarea{width:100%;padding:0 var(--ds-space-3);color:var(--ink);border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:var(--ds-surface-input-hover);outline:none;font:inherit;font-weight:var(--ds-font-weight-body)}.studio-form-grid input,.studio-form-grid select{height:42px}.studio-form-grid textarea,.asset-generate textarea{min-height:104px;padding-top:var(--ds-space-3);resize:vertical;line-height:1.6}.studio-form-grid input:focus,.studio-form-grid select:focus,.studio-form-grid textarea:focus,.asset-generate textarea:focus{border-color:var(--ds-accent);box-shadow:0 0 0 3px #c947390f}.field-label{display:flex;align-items:center;gap:var(--ds-space-1)}.field-label em{padding:var(--ds-space-1) var(--ds-space-1);color:#8f877e;border-radius:3px;background:var(--ds-surface-input-hover);font-size:11px;font-style:normal;font-weight:650}.field-label em.required{color:var(--red);background:var(--ds-surface-input-hover)}.field-help{color:#938b81;font-size:11px;font-weight:var(--ds-font-weight-body);line-height:1.5}.studio-info{padding:var(--ds-space-4) var(--ds-space-4);border-left:2px solid var(--red);background:var(--ds-surface-input-hover)}.studio-info strong{font-size:11px}.studio-info p{margin:var(--ds-space-1) 0 0;color:#7d766d;font-size:11px;line-height:1.6}.studio-choice-group{display:grid;gap:var(--ds-space-2)}.studio-choice-group>span{color:#655e56;font-size:11px;font-weight:650}.studio-choice-group>div{display:flex;flex-wrap:wrap;gap:var(--ds-space-2)}.studio-choice-group>small{display:block}.studio-choice-group button,.avatar-policy button{height:34px;padding:0 var(--ds-space-3);color:#766f67;border:var(--ds-border-width) solid var(--line);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.studio-choice-group button.active,.avatar-policy button.active{color:var(--red)}.studio-section-copy{margin-bottom:var(--ds-space-5)}.studio-section-copy h3{margin:var(--ds-space-1) 0 var(--ds-space-1);font-family:var(--font-display);font-size:21px;font-weight:400}.studio-section-copy p{margin:0;color:#827b72;font-size:11px;line-height:1.6}.reader-option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--ds-space-2)}.reader-option-grid>button{min-height:70px;padding:var(--ds-space-3) var(--ds-space-3);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);text-align:left;color:#8d857c;border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.reader-option-grid>button.enabled{color:var(--ink)}.reader-option-grid>button:disabled{cursor:not-allowed;opacity:.65}.reader-option-grid>button>div{display:grid;gap:var(--ds-space-1)}.reader-option-grid strong{font-size:11px}.reader-option-grid span{color:#918980;font-size:11px}.reader-option-grid i,.generation-policy>button{position:relative;width:32px;height:19px;flex:0 0 auto;border-radius:10px;background:var(--ds-surface-input-hover)}.reader-option-grid button.enabled i,.generation-policy>button.on{background:var(--red)}.reader-option-grid em,.generation-policy>button i{position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:var(--ds-surface-input-hover);transition:.18s ease}.reader-option-grid button.enabled em,.generation-policy>button.on i{transform:translate(13px)}.avatar-policy{margin-top:var(--ds-space-3);padding:var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.avatar-policy>div:first-child{display:grid;gap:var(--ds-space-1)}.avatar-policy span{color:#8b837a;font-size:11px}.avatar-policy strong{font-size:11px}.avatar-policy>div:last-child{display:flex;flex-wrap:wrap;gap:var(--ds-space-1)}.studio-asset-picker{margin-top:var(--ds-space-4);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.asset-source-tabs{display:flex;gap:var(--ds-space-4);margin-bottom:var(--ds-space-3);border-bottom:var(--ds-border-width) solid var(--ds-line)}.asset-source-tabs button{position:relative;padding:0 var(--ds-space-1) var(--ds-space-2);color:#8e867d;border:0;background:transparent;cursor:pointer;font-size:11px;font-weight:650}.asset-source-tabs button.active{color:var(--ink)}.asset-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--ds-space-2)}.asset-gallery button{position:relative;padding:0;overflow:hidden;text-align:left;color:#766f67;border:var(--ds-border-width) solid transparent;border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer}.asset-gallery button>div{position:relative;height:95px;overflow:hidden}.asset-gallery span{display:block;padding:var(--ds-space-2);font-size:11px}.asset-upload{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-2);color:#7e776f;border:var(--ds-border-width) dashed var(--ds-line);border-radius:8px;background:var(--ds-surface-glass);cursor:pointer}.asset-upload input{display:none}.asset-upload strong{color:#5e574f;font-size:11px}.asset-upload span{font-size:11px}.asset-generate{display:grid;grid-template-columns:1fr auto;align-items:end;gap:var(--ds-space-2)}.asset-generate .primary-button{margin-bottom:var(--ds-space-1)}.asset-generate-actions{width:220px;display:grid;gap:var(--ds-space-2)}.asset-generate-actions .primary-button:disabled{color:#8e867d;border-color:var(--ds-line);background:var(--ds-surface-input-hover);box-shadow:none;cursor:not-allowed}.asset-generate-actions small{color:#8e867d;font-size:11px;line-height:1.45}.cast-editor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--ds-space-2)}.cast-editor-grid>button{min-width:0;padding:0 0 var(--ds-space-3);overflow:hidden;text-align:left;color:var(--ink);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.cast-editor-grid>button>div{position:relative;height:116px;overflow:hidden}.cast-editor-grid>button>span,.cast-editor-grid>button>strong,.cast-editor-grid>button>small{display:block;margin:0 var(--ds-space-2)}.cast-editor-grid>button>span{margin-top:var(--ds-space-2);color:var(--red);font-size:11px;font-weight:750}.cast-editor-grid>button>strong{margin-top:var(--ds-space-1);font-size:11px}.cast-editor-grid>button>small{margin-top:var(--ds-space-1);color:#928a81;font-size:11px}.cast-editor-grid .add-cast{min-height:173px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-1);color:#8e867d;border-style:dashed;text-align:center}.cast-editor-grid .add-cast strong,.cast-editor-grid .add-cast small{margin:0}.character-planner{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:var(--ds-space-3);align-items:start}.character-planner .cast-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-detail-form{padding:var(--ds-space-5);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.character-detail-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--ds-space-4)}.character-detail-head span{color:var(--red);font-size:11px;font-weight:750}.character-detail-head h4{margin:var(--ds-space-1) 0 0;font-family:var(--font-display);font-size:21px;font-weight:400}.character-detail-head small{color:#948c83;font-size:11px}.character-detail-head>div:last-child{display:flex;align-items:center;gap:var(--ds-space-2)}.character-detail-head>div:last-child button{height:30px;padding:0 var(--ds-space-2);display:flex;align-items:center;gap:var(--ds-space-1);color:var(--red);border:var(--ds-border-width) solid var(--ds-accent);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px;font-weight:700}.character-ai-panel{margin-bottom:var(--ds-space-4);padding:var(--ds-space-4);display:grid;gap:var(--ds-space-3);border:var(--ds-border-width) solid var(--ds-accent);border-radius:8px;background:var(--ds-surface-input-hover)}.character-ai-panel>div:first-child span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.12em}.character-ai-panel>div:first-child strong{display:block;margin-top:var(--ds-space-1);font-size:11px}.character-ai-panel>div:first-child p{max-width:620px;margin:var(--ds-space-1) 0 0;color:#867e75;font-size:11px;line-height:1.55}.character-ai-panel label{display:grid;gap:var(--ds-space-1);color:#655e56;font-size:11px;font-weight:650}.character-ai-panel label em{color:#9a9188;font-style:normal;font-weight:500}.character-ai-panel textarea{min-height:118px;padding:var(--ds-space-2) var(--ds-space-3);resize:vertical;color:var(--ink);border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;outline:none;background:var(--ds-surface-input-hover);font:inherit;line-height:1.55}.character-ai-panel textarea:focus{border-color:var(--red)}.character-ai-actions{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3)}.character-ai-actions small{color:#8d857c;font-size:11px}.character-ai-actions button{min-height:36px;padding:0 var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-1);color:#958d84;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-surface-input-hover);font-size:11px;font-weight:700}.studio-empty-state{min-height:260px;padding:var(--ds-space-6);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-2);text-align:center;color:#817970;border:var(--ds-border-width) dashed var(--ds-line);border-radius:9px;background:var(--ds-surface-input-hover)}.studio-empty-state>svg{color:var(--red)}.studio-empty-state>strong{color:var(--ink);font-family:var(--font-display);font-size:17px;font-weight:400}.studio-empty-state>p{max-width:460px;margin:0 0 var(--ds-space-1);font-size:11px;line-height:1.6}.studio-empty-state>div:not(.character-ai-panel){display:flex;gap:var(--ds-space-2)}.studio-empty-state>button,.studio-empty-state>div:not(.character-ai-panel)>button{min-height:34px;padding:0 var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-1);color:var(--red);border:var(--ds-border-width) solid var(--ds-accent);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px;font-weight:700}.studio-empty-state .character-ai-panel{width:100%;margin:var(--ds-space-3) 0 0;text-align:left}.studio-empty-state.compact{min-height:170px;margin-top:var(--ds-space-3)}.character-detail-form textarea{min-height:74px}.character-advanced-toggle{width:100%;min-height:54px;margin-top:var(--ds-space-4);padding:0 var(--ds-space-3);display:flex;align-items:center;justify-content:space-between;text-align:left;color:#6f685f;border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer}.character-advanced-toggle>span{display:grid;gap:var(--ds-space-1)}.character-advanced-toggle strong{font-size:11px}.character-advanced-toggle small{color:#938b82;font-size:11px}.character-advanced-toggle svg{transition:transform .18s ease}.character-advanced-fields{margin-top:var(--ds-space-3);padding-top:var(--ds-space-3);border-top:var(--ds-border-width) solid var(--line)}.asset-section-head{margin-top:var(--ds-space-5);display:flex;align-items:end;justify-content:space-between;gap:var(--ds-space-5)}.asset-section-head>div{display:grid;gap:var(--ds-space-1)}.asset-section-head>div span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.12em}.asset-section-head>div strong{font-size:11px}.asset-section-head p{margin:0;color:#8d857c;font-size:11px}.start-setup-guide{margin-bottom:var(--ds-space-3);padding:var(--ds-space-3) var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-2);border-left:2px solid var(--red);background:var(--ds-surface-input-hover)}.start-setup-guide strong{flex:0 0 auto;color:var(--red);font-size:11px}.start-setup-guide span{color:#777067;font-size:11px;line-height:1.5}.start-setup-examples{margin-bottom:var(--ds-space-3);display:grid;grid-template-columns:1fr 1fr;gap:var(--ds-space-2)}.start-setup-examples>div{padding:var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.start-setup-examples span{color:var(--red);font-size:11px;font-weight:750}.start-setup-examples strong{display:block;margin-top:var(--ds-space-1);font-size:11px}.start-setup-examples p{margin:var(--ds-space-1) 0 0;color:#8d857c;font-size:11px;line-height:1.5}.start-setting-editor{padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.character-visual-studio{margin-top:var(--ds-space-5);padding-top:var(--ds-space-1);border-top:var(--ds-border-width) solid var(--line)}.character-look-library{margin-top:var(--ds-space-3);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-2)}.character-look-library>button{min-width:0;padding:0 0 var(--ds-space-2);overflow:hidden;text-align:left;color:var(--ink);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.character-look-library>button>div{height:118px;overflow:hidden}.character-look-library>button>span,.character-look-library>button>strong,.character-look-library>button>small{display:block;margin:0 var(--ds-space-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-look-library>button>span{margin-top:var(--ds-space-2);color:var(--red);font-size:11px;font-weight:750}.character-look-library>button>strong{margin-top:var(--ds-space-1);font-size:11px}.character-look-library>button>small{margin-top:var(--ds-space-1);color:#918980;font-size:11px}.character-look-library .add-character-look{min-height:168px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-1);color:#8a8279;border-style:dashed;text-align:center;background:var(--ds-surface-input-hover)}.character-look-library .add-character-look>span,.character-look-library .add-character-look>strong{margin:0}.character-look-editor{margin-top:var(--ds-space-3);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.look-trigger-builder{margin-top:var(--ds-space-4);padding:var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.look-trigger-builder>div:first-child{display:grid;gap:var(--ds-space-1)}.look-trigger-builder>div:first-child span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.1em}.look-trigger-builder>div:first-child strong{font-size:11px}.look-trigger-builder>div:first-child small{color:#918980;font-size:11px}.look-trigger-types{margin-top:var(--ds-space-2);display:flex;flex-wrap:wrap;gap:var(--ds-space-1)}.look-trigger-types button{min-height:29px;padding:0 var(--ds-space-2);color:#766f67;border:var(--ds-border-width) solid var(--ds-line);border-radius:999px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.look-trigger-types button.active{color:#fff}.look-trigger-rule{margin-top:var(--ds-space-2);display:grid;grid-template-columns:1.25fr .75fr;gap:var(--ds-space-2)}.look-trigger-rule label{display:grid;gap:var(--ds-space-1);color:#655e56;font-size:11px;font-weight:650}.look-trigger-rule input,.look-trigger-rule select{min-height:36px;padding:0 var(--ds-space-2);color:var(--ink);border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;outline:none;background:var(--ds-surface-input-hover);font:inherit}.expression-set{margin-top:var(--ds-space-4);padding-top:var(--ds-space-3);border-top:var(--ds-border-width) solid var(--line)}.expression-set>div:first-child{display:grid;gap:var(--ds-space-1)}.expression-set>div:first-child span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.1em}.expression-set>div:first-child strong{font-size:11px}.expression-set>div:first-child small{color:#918980;font-size:11px}.expression-set>div:last-child{margin-top:var(--ds-space-2);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-2)}.expression-set button{min-height:58px;padding:var(--ds-space-2) var(--ds-space-2);display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;color:#857d74;border:var(--ds-border-width) dashed var(--ds-line);border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer}.expression-set button>span{grid-column:1 / -1;color:#9a9289;font-size:11px}.expression-set button>strong{font-size:11px}.expression-set button.ready{color:var(--ink);border-style:solid;border-color:var(--ds-accent);background:var(--ds-surface-input-hover)}.expression-set button.ready>span{color:var(--red)}.expression-set button.add-expression{display:flex;justify-content:center;gap:var(--ds-space-1);color:var(--red);font-size:11px}.system-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}.system-preset-grid button{min-height:88px;padding:var(--ds-space-3);display:grid;align-content:center;gap:var(--ds-space-1);text-align:left;color:#777067;border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.system-preset-grid button.active{color:var(--ink)}.system-preset-grid button>i{width:27px;height:15px;padding:var(--ds-space-1);display:flex;align-items:center;border-radius:999px;background:var(--ds-surface-input-hover)}.system-preset-grid button>i em{width:11px;height:11px;border-radius:50%;background:var(--ds-surface-input-hover);transition:transform .18s ease}.system-preset-grid strong{font-size:11px}.system-preset-grid span{color:#918980;font-size:11px;line-height:1.45}.player-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-2)}.player-mode-grid button{min-height:78px;padding:var(--ds-space-3);display:grid;align-content:center;gap:var(--ds-space-1);text-align:left;color:#777067;border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.player-mode-grid button.active{color:var(--ink)}.player-mode-grid strong{font-size:11px}.player-mode-grid span{color:#918980;font-size:11px;line-height:1.45}.protagonist-candidates,.custom-player-panel{margin-top:var(--ds-space-5);padding-top:var(--ds-space-1);border-top:var(--ds-border-width) solid var(--line)}.protagonist-candidate-grid,.relationship-character-list{margin-top:var(--ds-space-3);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-2)}.protagonist-candidate-grid>button,.relationship-character-list>button{min-width:0;padding:0 0 var(--ds-space-2);overflow:hidden;text-align:left;color:var(--ink);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.protagonist-candidate-grid>button>div,.relationship-character-list>button>div{height:100px;overflow:hidden}.protagonist-candidate-grid span,.protagonist-candidate-grid strong,.protagonist-candidate-grid small,.relationship-character-list span,.relationship-character-list strong,.relationship-character-list small{display:block;margin:0 var(--ds-space-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.protagonist-candidate-grid span,.relationship-character-list span{margin-top:var(--ds-space-2);color:var(--red);font-size:11px}.protagonist-candidate-grid strong,.relationship-character-list strong{margin-top:var(--ds-space-1);font-size:11px}.protagonist-candidate-grid small,.relationship-character-list small{margin-top:var(--ds-space-1);color:#938b82;font-size:11px}.custom-player-panel .reader-option-grid{margin-top:var(--ds-space-3)}.reader-style-panel{margin-top:var(--ds-space-5);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.reader-style-panel .asset-section-head{margin-top:0}.reader-style-modes{margin-top:var(--ds-space-3);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}.reader-style-modes button{min-height:67px;padding:var(--ds-space-3);display:grid;align-content:center;gap:var(--ds-space-1);text-align:left;color:#766f67;border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer}.reader-style-modes button.active{color:var(--ink)}.reader-style-modes strong{font-size:11px}.reader-style-modes span{color:#918980;font-size:11px;line-height:1.4}.reader-style-options{margin-top:var(--ds-space-3);padding:var(--ds-space-3);border-radius:7px;background:var(--ds-surface-input-hover)}.reader-style-options>span{color:#716a62;font-size:11px;font-weight:650}.reader-style-options>div{margin-top:var(--ds-space-2);display:flex;flex-wrap:wrap;gap:var(--ds-space-1)}.reader-style-options button{min-height:29px;padding:0 var(--ds-space-2);color:#706960;border:var(--ds-border-width) solid var(--ds-line);border-radius:999px;background:var(--ds-surface-input-hover);font-size:11px}.reader-style-options button.active{color:var(--red)}.reader-style-guard{margin-top:var(--ds-space-3);display:grid;gap:var(--ds-space-1);color:#655e56;font-size:11px;font-weight:650}.reader-style-guard textarea{min-height:84px;padding:var(--ds-space-2);resize:vertical;color:var(--ink);border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;outline:none;background:var(--ds-surface-input-hover);font:inherit}.locked-style-rules{margin-top:var(--ds-space-2);display:flex;align-items:center;gap:var(--ds-space-2);color:#777067;font-size:11px}.locked-style-rules b{padding:var(--ds-space-1) var(--ds-space-2);color:#fff;border-radius:4px;background:var(--ink);font-size:11px}.custom-player-rules{margin-top:var(--ds-space-3);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.growth-system-panel,.relationship-system-panel,.item-system-panel{margin-top:var(--ds-space-4);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.growth-system-panel .asset-section-head,.relationship-system-panel .asset-section-head,.item-system-panel .asset-section-head{margin-top:0}.status-preview{margin-top:var(--ds-space-3);display:grid;grid-template-columns:180px 1fr;overflow:hidden;color:#f7f2ea;border:var(--ds-border-width) solid var(--ds-line);border-radius:8px;background:var(--ds-surface-input)}.status-preview>div:first-child{padding:var(--ds-space-4);display:grid;align-content:center;gap:var(--ds-space-1);border-right:var(--ds-border-width) solid var(--ds-line);background:var(--ds-status-surface)}.status-preview>div:first-child span{color:#e76b5e;font-size:11px;font-weight:800;letter-spacing:.15em}.status-preview>div:first-child strong{font-family:var(--font-display);font-size:18px}.status-preview>div:first-child small{color:#aaa99f;font-size:11px}.status-preview>div:last-child{padding:var(--ds-space-3);display:grid;grid-template-columns:repeat(5,1fr);gap:var(--ds-space-2)}.status-preview>div:last-child>span{display:grid;align-content:center;gap:var(--ds-space-1);text-align:center;border-left:0}.status-preview>div:last-child>span:first-child{border-left:0}.status-preview small{color:#9c9d94;font-size:11px}.status-preview>div:last-child strong{color:#fff;font-size:11px}.skill-builder{margin-top:var(--ds-space-2);padding:var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.skill-builder>div:first-child{display:flex;align-items:baseline;gap:var(--ds-space-2)}.skill-builder>div:first-child span{color:var(--red);font-size:11px;font-weight:750}.skill-builder>div:first-child strong{font-size:11px}.skill-builder>div:last-child{margin-top:var(--ds-space-2);display:flex;gap:var(--ds-space-2)}.skill-builder article{min-width:210px;padding:var(--ds-space-2);display:grid;gap:var(--ds-space-1);border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer}.skill-builder article b{width:max-content;padding:var(--ds-space-1) var(--ds-space-1);color:#fff;border-radius:3px;background:var(--red);font-size:11px}.skill-builder article strong{font-size:11px}.skill-builder article span,.skill-builder article small{color:#8e867d;font-size:11px}.skill-builder>div:last-child>button{min-width:110px;color:var(--red);border:var(--ds-border-width) dashed var(--ds-line);border-radius:7px;background:transparent;cursor:pointer;font-size:11px}.skill-editor{margin-top:var(--ds-space-2);padding-top:var(--ds-space-3);border-top:var(--ds-border-width) solid var(--line)}.relationship-character-list{grid-template-columns:repeat(5,minmax(0,1fr))}.relationship-editor{margin-top:var(--ds-space-3);padding-top:var(--ds-space-4);border-top:var(--ds-border-width) solid var(--line)}.inventory-preview{margin-top:var(--ds-space-3);padding:var(--ds-space-3);display:grid;grid-template-columns:150px 1fr;gap:var(--ds-space-3);color:#f7f2ea;border-radius:8px;background:var(--ds-surface-input)}.inventory-preview>div:first-child{display:grid;align-content:center;gap:var(--ds-space-1)}.inventory-preview>div:first-child span{color:#e76b5e;font-size:11px;font-weight:750;letter-spacing:.1em}.inventory-preview>div:first-child strong{font-size:11px}.inventory-preview>div:last-child{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--ds-space-2)}.inventory-preview button,.inventory-preview i{min-height:78px;padding:var(--ds-space-1);display:grid;align-content:center;justify-items:center;gap:var(--ds-space-1);overflow:hidden;color:#b9b7ad;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-surface-input);cursor:pointer;font-style:normal}.inventory-preview .cover-art{width:36px;height:36px;border-radius:5px}.inventory-preview button span{color:#918f87;font-size:11px}.inventory-preview button strong{max-width:100%;overflow:hidden;color:#fff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.item-library{margin-top:var(--ds-space-2);padding:var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.item-library>div:first-child span{color:var(--red);font-size:11px;font-weight:750}.item-library>div:first-child strong{color:#7b746b;font-size:11px;font-weight:500}.item-library>div:last-child::-webkit-scrollbar{display:none}.item-library button{min-width:170px;min-height:72px;padding:var(--ds-space-2) var(--ds-space-2);display:grid;gap:var(--ds-space-1);flex:0 0 auto;text-align:left;color:#756e65;border:var(--ds-border-width) solid transparent;border-radius:7px;background:var(--ds-surface-glass);cursor:pointer}.item-library button.active{color:var(--ink)}.item-library button small{color:var(--red);font-size:11px}.item-library button strong{font-size:11px}.item-library button span{overflow:hidden;color:#928a81;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.item-library button.add-item{min-width:110px;display:flex;align-items:center;justify-content:center;gap:var(--ds-space-1);color:var(--red);border-style:dashed;border-color:var(--ds-line);background:transparent;font-size:11px}.item-editor{margin-top:var(--ds-space-2);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.ending-easy-flow{margin-bottom:var(--ds-space-3);padding:var(--ds-space-3) var(--ds-space-3);display:flex;align-items:center;justify-content:center;gap:var(--ds-space-3);border-radius:8px;background:var(--ds-surface-input)}.ending-easy-flow>div{display:flex;align-items:center;gap:var(--ds-space-2);color:#f6f1e9}.ending-easy-flow b{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:var(--red);font-size:11px}.ending-easy-flow span{display:grid;gap:var(--ds-space-1)}.ending-easy-flow strong{font-size:11px}.ending-easy-flow small{color:#aaa99f;font-size:11px}.ending-easy-flow>i{width:28px;height:1px;background:var(--ds-surface-input-hover)}.ending-preset-grid{margin-bottom:var(--ds-space-3);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--ds-space-1)}.ending-preset-grid button{min-height:59px;padding:var(--ds-space-2);display:grid;align-content:center;gap:var(--ds-space-1);text-align:left;color:#756e65;border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer}.ending-preset-grid button.active{color:var(--ink)}.ending-preset-grid strong{font-size:11px}.ending-preset-grid span{color:#948c83;font-size:11px;line-height:1.35}.ending-rule-builder{margin-top:var(--ds-space-3);padding:var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.ending-rule-builder>div:first-child{display:grid;gap:var(--ds-space-1);margin-bottom:var(--ds-space-2)}.ending-rule-builder>div:first-child span{color:var(--red);font-size:11px;font-weight:750}.ending-rule-builder>div:first-child span em{color:#948c83;font-style:normal;font-weight:500}.ending-rule-builder>div:first-child strong{font-size:11px}.ending-rule-builder>div:first-child small{color:#8d857c;font-size:11px}.ending-rule-row{margin-top:var(--ds-space-1);display:grid;grid-template-columns:42px 1fr 1.1fr .7fr .65fr;gap:var(--ds-space-1);align-items:center}.ending-rule-row b{height:34px;display:grid;place-items:center;color:var(--red);border-radius:6px;background:var(--ds-surface-input-hover);font-size:11px}.ending-rule-row input,.ending-rule-row select{min-width:0;height:34px;padding:0 var(--ds-space-2);color:var(--ink);border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;outline:none;background:var(--ds-surface-input-hover);font:inherit;font-size:11px}.ending-rule-builder>button{min-height:31px;margin-top:var(--ds-space-2);padding:0 var(--ds-space-2);display:flex;align-items:center;gap:var(--ds-space-1);color:var(--red);border:var(--ds-border-width) dashed var(--ds-line);border-radius:6px;background:transparent;cursor:pointer;font-size:11px}.ending-rule-builder>button small{color:#948c83}.ending-story-fields{margin-top:var(--ds-space-3)}.ending-library{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-2)}.ending-library>button{min-width:0;padding:0 0 var(--ds-space-3);overflow:hidden;text-align:left;color:var(--ink);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.ending-library>button>div{height:112px;overflow:hidden}.ending-library>button>span,.ending-library>button>strong,.ending-library>button>small{display:block;margin:0 var(--ds-space-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ending-library>button>span{margin-top:var(--ds-space-2);color:var(--red);font-size:11px;font-weight:750}.ending-library>button>strong{margin-top:var(--ds-space-1);font-size:11px}.ending-library>button>small{margin-top:var(--ds-space-1);color:#918980;font-size:11px}.ending-library .add-ending{min-height:169px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-1);color:#8a8279;border-style:dashed;text-align:center;background:var(--ds-surface-input-hover)}.ending-library .add-ending>span,.ending-library .add-ending>strong{margin:0}.ending-editor{margin-top:var(--ds-space-3);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.ending-condition-flow{margin-top:var(--ds-space-3);padding:var(--ds-space-3) var(--ds-space-3);border-left:2px solid var(--red);background:var(--ds-surface-input-hover)}.ending-condition-flow>span{color:var(--red);font-size:11px;font-weight:750}.ending-condition-flow>div{margin-top:var(--ds-space-2);display:flex;align-items:center;gap:var(--ds-space-2);color:#706960;font-size:11px}.ending-condition-flow b{width:19px;height:19px;display:grid;place-items:center;color:#fff;border-radius:50%;background:var(--red);font-size:11px}.ending-condition-flow i{width:18px;height:1px;background:var(--ds-surface-input-hover)}.stat-library{margin-top:var(--ds-space-3);padding:var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.stat-library>div:first-child{display:flex;align-items:baseline;gap:var(--ds-space-2);margin-bottom:var(--ds-space-2)}.stat-library>div:first-child span{color:var(--red);font-size:11px;font-weight:750}.stat-library>div:first-child strong{color:#7b746b;font-size:11px;font-weight:500}.stat-library>div:last-child{display:flex;gap:var(--ds-space-2);overflow-x:auto;scrollbar-width:none}.stat-library>div:last-child::-webkit-scrollbar{display:none}.stat-library button{min-width:140px;min-height:65px;padding:var(--ds-space-2) var(--ds-space-2);display:grid;gap:var(--ds-space-1);flex:0 0 auto;text-align:left;color:#756e65;border:var(--ds-border-width) solid transparent;border-radius:7px;background:var(--ds-surface-glass);cursor:pointer}.stat-library button.active{color:var(--ink)}.stat-library button small{color:var(--red);font-size:11px}.stat-library button strong{font-size:11px}.stat-library button span{color:#928a81;font-size:11px}.stat-library button.add-stat{min-width:100px;display:flex;align-items:center;justify-content:center;gap:var(--ds-space-1);color:var(--red);border-style:dashed;border-color:var(--ds-line);background:transparent;font-size:11px}.stat-editor{margin-top:var(--ds-space-3);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.background-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-4)}.background-library>button{min-width:0;padding:0;text-align:left;color:var(--ds-text-body);border:0;background:transparent;cursor:pointer}.background-library>button>.background-asset{margin-bottom:var(--ds-space-3)}.background-library>button>strong,.background-library>button>span,.background-library>button>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.background-library>button>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}.background-library>button>span{margin-top:var(--ds-space-1);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}.background-library>button>small{margin-top:var(--ds-space-1);color:var(--ds-text-faint);font-size:var(--ds-font-size-min)}.background-library>button.active>strong{color:var(--ds-accent-strong)}.background-library .add-background{min-height:0;align-self:center;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);text-align:left}.background-library .add-background strong,.background-library .add-background span{margin:0}.background-rule-editor{margin-top:var(--ds-space-8);padding:0}.background-editor-head{margin-bottom:var(--ds-space-5);display:flex;align-items:flex-end;justify-content:space-between;gap:var(--ds-space-4)}.background-editor-head>div{display:grid;gap:var(--ds-space-1)}.background-editor-head>div>span{color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750}.background-editor-head>div>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}.background-editor-head>div>small{color:var(--ds-text-faint);font-size:var(--ds-font-size-caption)}.background-editor-head>button{min-height:var(--ds-control-height-compact);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;background:transparent;cursor:pointer}.background-editor-workspace{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);align-items:start;gap:var(--ds-space-7)}.background-rule-preview{min-width:0}.background-rule-fields{align-content:start}.background-match-note{margin:var(--ds-space-5) 0 0;display:grid;grid-template-columns:132px minmax(0,1fr);gap:var(--ds-space-4)}.background-match-note strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}.background-match-note span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}.background-asset{position:relative}.background-asset-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;gap:var(--ds-space-2);color:var(--ds-text-faint)}.background-asset-empty span{font-size:var(--ds-font-size-caption)}@media(max-width:980px){.background-library{grid-template-columns:repeat(2,minmax(0,1fr))}.background-editor-workspace{grid-template-columns:1fr}}.ai-policy-panel{margin-top:var(--ds-space-4);padding-top:var(--ds-space-5);border-top:var(--ds-border-width) solid var(--line)}.ai-policy-panel .asset-section-head{margin-top:0}.ai-policy-modes{margin-top:var(--ds-space-3);display:grid;grid-template-columns:repeat(3,1fr);gap:var(--ds-space-2)}.ai-policy-modes button{min-height:72px;padding:var(--ds-space-3);display:grid;gap:var(--ds-space-1);text-align:left;color:#777067;border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.ai-policy-modes button.active{color:var(--ink)}.ai-policy-modes strong{font-size:11px}.ai-policy-modes span{color:#918980;font-size:11px;line-height:1.45}.ai-permission-grid{margin-top:var(--ds-space-2);display:grid;grid-template-columns:repeat(3,1fr);gap:var(--ds-space-2)}.ai-permission-grid>button{min-height:64px;padding:var(--ds-space-3) var(--ds-space-3);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-2);text-align:left;color:#8b837a;border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer}.ai-permission-grid>button.enabled{color:var(--ink)}.ai-permission-grid>button:disabled{cursor:not-allowed;opacity:.55}.ai-permission-grid>button>div{display:grid;gap:var(--ds-space-1)}.ai-permission-grid strong{font-size:11px}.ai-permission-grid span{color:#928a81;font-size:11px}.ai-permission-grid i{position:relative;width:32px;height:19px;flex:0 0 auto;border-radius:10px;background:var(--ds-surface-input-hover)}.ai-permission-grid em{position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:var(--ds-surface-input-hover);transition:.18s ease}.asset-priority{margin-top:var(--ds-space-2);padding:var(--ds-space-3) var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input);color:#fff}.asset-priority>span{display:block;margin-bottom:var(--ds-space-2);color:#e9a397;font-size:11px;font-weight:700}.asset-priority>div{display:flex;align-items:center;flex-wrap:wrap;gap:var(--ds-space-2);color:#ffffffab;font-size:11px}.asset-priority b{width:18px;height:18px;padding:var(--ds-space-1);display:grid;place-items:center;color:#fff;border-radius:50%;background:var(--ds-surface-subtle);font-size:11px}.asset-priority i{width:12px;height:1px;background:var(--ds-surface-glass)}.scene-builder-steps{margin-bottom:var(--ds-space-3);display:grid;grid-template-columns:repeat(4,1fr);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.scene-builder-steps>div{min-height:70px;padding:var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-2);border-right:var(--ds-border-width) solid var(--line)}.scene-builder-steps>div:last-child{border-right:0}.scene-builder-steps b{width:24px;height:24px;display:grid;place-items:center;flex:0 0 auto;color:#fff;border-radius:50%;background:var(--red);font-size:11px}.scene-builder-steps span{display:grid;gap:var(--ds-space-1)}.scene-builder-steps strong{font-size:11px}.scene-builder-steps small{color:#928a81;font-size:11px}.scene-library{margin-bottom:var(--ds-space-3);padding:var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.scene-library>div:first-child{display:flex;align-items:baseline;gap:var(--ds-space-2);margin-bottom:var(--ds-space-2)}.scene-library>div:first-child span{color:var(--red);font-size:11px;font-weight:750}.scene-library>div:first-child strong{color:#7b746b;font-size:11px;font-weight:500}.scene-library>div:last-child{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:var(--ds-space-3)}.scene-library button{min-width:145px;min-height:62px;padding:var(--ds-space-2) var(--ds-space-2);display:grid;gap:var(--ds-space-1);flex:0 0 auto;text-align:left;color:#756e65;border:var(--ds-border-width) solid transparent;border-radius:7px;background:var(--ds-surface-glass);cursor:pointer}.scene-library button.active{color:var(--ink)}.scene-library button small{color:var(--red);font-size:11px}.scene-library button strong{font-size:11px}.scene-library button span{color:#928a81;font-size:11px}.scene-library button.add-scene{min-width:110px;display:flex;align-items:center;justify-content:center;gap:var(--ds-space-1);color:var(--red);border-style:dashed;border-color:var(--ds-line);background:transparent;font-size:11px}.scene-workbench{display:grid;grid-template-columns:minmax(0,1fr) 190px;overflow:hidden;border:var(--ds-border-width) solid var(--ds-line);border-radius:9px;background:var(--ds-surface-input)}.scene-stage{position:relative;min-height:390px;overflow:hidden}.scene-background{position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--ds-media-tint);background-position:center;background-size:cover;background-repeat:no-repeat;background-blend-mode:multiply}.scene-character{position:absolute;bottom:64px;width:118px;height:230px;overflow:hidden;border-radius:70px 70px 8px 8px;box-shadow:0 15px 30px #0000003d}.scene-character.left{left:18%}.scene-character.right{right:18%}.scene-character>span{position:absolute;left:8px;right:8px;bottom:7px;padding:var(--ds-space-1);color:#fff;border-radius:4px;background:var(--ds-surface-glass);text-align:center;font-size:11px}.scene-dialogue{position:absolute;z-index:3;left:20px;right:20px;bottom:16px;padding:var(--ds-space-3) var(--ds-space-4);color:#fff;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:var(--ds-surface-glass);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.scene-dialogue span{color:#e9a597;font-size:11px;font-weight:750}.scene-dialogue p{margin:var(--ds-space-1) 0 0;font-family:var(--font-story);font-size:12px}.scene-summary-panel{padding:var(--ds-space-4) var(--ds-space-3);color:#fff;border-left:var(--ds-border-width) solid var(--ds-line);background:var(--ds-surface-input)}.scene-summary-panel>span{color:#e59b8e;font-size:11px;font-weight:750;letter-spacing:.12em}.scene-summary-panel h4{margin:var(--ds-space-2) 0 var(--ds-space-4);font-family:var(--font-display);font-size:16px;font-weight:400}.scene-summary-panel>div{padding:var(--ds-space-2) 0;display:grid;gap:var(--ds-space-1);border-top:var(--ds-border-width) solid var(--ds-line)}.scene-summary-panel small{color:#92958e;font-size:11px}.scene-summary-panel strong{font-size:11px}.scene-summary-panel>button{width:100%;height:34px;margin-top:var(--ds-space-3);display:flex;align-items:center;justify-content:center;gap:var(--ds-space-1);color:#fff;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-surface-input);cursor:pointer;font-size:11px}.scene-form-card{margin-top:var(--ds-space-3);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.scene-form-card textarea{min-height:82px}.layer-panel{padding:var(--ds-space-4) var(--ds-space-3);color:#fff;border-left:var(--ds-border-width) solid var(--ds-line);background:var(--ds-surface-input)}.layer-panel>div{display:flex;align-items:center;gap:var(--ds-space-2);margin-bottom:var(--ds-space-3)}.layer-panel>div strong{font-size:11px}.layer-panel>button{width:100%;min-height:34px;padding:0 var(--ds-space-2);display:flex;align-items:center;gap:var(--ds-space-2);color:#aaa9a4;text-align:left;border:0;border-radius:5px;background:transparent;cursor:pointer;font-size:11px}.layer-panel>button.active,.layer-panel>button:hover{color:#fff;background:var(--ds-surface-input)}.layer-panel>button i{width:7px;height:7px;border-radius:50%;background:var(--ds-surface-input-hover)}.layer-panel .add-layer{margin-top:var(--ds-space-2);color:#e59b8e;border:var(--ds-border-width) dashed var(--ds-line);justify-content:center}.scene-timeline{margin-top:var(--ds-space-3);padding:var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.timeline-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--ds-space-2)}.timeline-head>div{display:flex;align-items:baseline;gap:var(--ds-space-2)}.timeline-head span{color:var(--red);font-size:11px;font-weight:750}.timeline-head strong{font-size:11px}.timeline-head button{height:28px;padding:0 var(--ds-space-2);display:flex;align-items:center;gap:var(--ds-space-1);border:var(--ds-border-width) solid var(--line);border-radius:5px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.timeline-track{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--ds-space-2)}.timeline-track>button{min-height:68px;padding:var(--ds-space-2);display:grid;gap:var(--ds-space-1);text-align:left;color:#716a62;border:var(--ds-border-width) solid var(--line);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer}.timeline-track>button.active{color:var(--red)}.timeline-track span,.timeline-track strong,.timeline-track small{font-size:11px}.unlock-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--ds-space-2)}.unlock-gallery article{padding:0 0 var(--ds-space-3);overflow:hidden;border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.unlock-gallery article>div{position:relative;height:115px;overflow:hidden}.unlock-gallery article>div>span{position:absolute;top:8px;left:8px;padding:var(--ds-space-1) var(--ds-space-1);color:#fff;border-radius:3px;background:var(--ds-surface-glass);font-size:11px}.unlock-gallery article>strong,.unlock-gallery article>small{display:block;margin:0 var(--ds-space-3)}.unlock-gallery article>strong{margin-top:var(--ds-space-2);font-size:11px}.unlock-gallery article>small{margin-top:var(--ds-space-1);color:#8d857c;font-size:11px}.unlock-gallery article>button{margin:var(--ds-space-2) var(--ds-space-3) 0;padding:0;color:var(--red);border:0;background:transparent;cursor:pointer;font-size:11px}.add-gallery{min-height:172px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-1);color:#817a71;border:var(--ds-border-width) dashed var(--ds-line);border-radius:8px;background:transparent;cursor:pointer}.add-gallery strong,.add-gallery span{font-size:11px}.cg-create-panel{margin-top:var(--ds-space-3);padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:9px;background:var(--ds-surface-input-hover)}.cg-create-panel .studio-asset-picker{margin-top:var(--ds-space-3)}.cg-create-actions{margin-top:var(--ds-space-3);display:flex;justify-content:flex-end;gap:var(--ds-space-2)}.cg-create-actions>button{height:38px;padding:0 var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.cg-create-actions>.primary-button{color:#fff;border-color:var(--red);background:var(--red)}.generation-policy{margin-top:var(--ds-space-3);padding:var(--ds-space-3) var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.generation-policy>div{display:flex;align-items:center;gap:var(--ds-space-2)}.generation-policy>div>div{display:grid;gap:var(--ds-space-1)}.generation-policy strong{font-size:11px}.generation-policy span{color:#8c847b;font-size:11px}.generation-policy>button{padding:0;border:0;cursor:pointer}.generation-rules{margin-top:var(--ds-space-2);padding:var(--ds-space-3) var(--ds-space-3);border-left:2px solid var(--red);background:var(--ds-surface-input-hover)}.generation-rules span{color:var(--red);font-size:11px;font-weight:700}.generation-rules p{margin:var(--ds-space-1) 0 0;color:#756e66;font-size:11px}.publish-studio{display:grid;grid-template-columns:220px 1fr;gap:var(--ds-space-3)}.publish-score{min-height:250px;padding:var(--ds-space-6);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;border-radius:10px;background:var(--ink)}.publish-score>span{color:#e8a295;font-size:11px;font-weight:750;letter-spacing:.13em}.publish-score>strong{margin-top:var(--ds-space-3);font-family:var(--font-ui);font-size:30px;font-weight:600;line-height:1}.publish-score>small{margin-top:var(--ds-space-2);color:#ffffff8c;font-size:11px}.publish-score>p{margin:var(--ds-space-4) 0 0;color:#ffffffa6;font-size:11px}.publish-checklist{padding:var(--ds-space-3) var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:10px;background:var(--ds-surface-input-hover)}.publish-checklist>div{min-height:38px;display:flex;align-items:center;justify-content:space-between;border-bottom:var(--ds-border-width) solid var(--ds-line);font-size:11px}.publish-checklist>div:last-child{border-bottom:0}.publish-checklist strong{color:#4f7d68;font-size:11px}.publish-checklist .warning strong{color:var(--red)}.publish-taxonomy>div{margin:var(--ds-space-2) 0 var(--ds-space-2);display:flex;flex-wrap:wrap;gap:var(--ds-space-1)}.publish-taxonomy b{color:#fff;background:var(--ink)}.publish-taxonomy em{color:var(--red);background:var(--ds-surface-input-hover)}.publish-actions .primary-button:disabled{color:#9e968c;border-color:var(--ds-line);background:var(--ds-surface-input-hover);box-shadow:none;cursor:not-allowed}.studio-footer{margin-top:var(--ds-space-6);padding-top:var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;border-top:var(--ds-border-width) solid var(--line)}.studio-footer button{height:34px;padding:0 var(--ds-space-2);display:flex;align-items:center;gap:var(--ds-space-1);color:#6e675f;border:var(--ds-border-width) solid var(--line);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.studio-footer button.next{color:#fff;border-color:var(--ink);background:var(--ink)}.studio-footer button:disabled{opacity:.35;cursor:default}.studio-footer span{color:#918980;font-size:11px}.studio-preview-wrap{position:fixed;z-index:110;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:var(--ds-space-6)}.vn-preview{position:relative;z-index:2;width:min(980px,96vw);overflow:hidden;border-radius:12px;background:var(--ds-canvas-raised);box-shadow:0 35px 80px #0006}.vn-preview-scene{position:relative;min-height:min(610px,80vh);overflow:hidden}.preview-character{position:absolute;left:50%;bottom:130px;width:180px;height:330px;overflow:hidden;border-radius:95px 95px 10px 10px;transform:translate(-50%)}.vn-text{position:absolute;z-index:2;left:28px;right:28px;bottom:24px;padding:var(--ds-space-4) var(--ds-space-5);color:#fff;border:var(--ds-border-width) solid var(--ds-line);border-radius:8px;background:var(--ds-surface-glass);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.vn-text>span{color:#efaa9d;font-size:11px;font-weight:750}.vn-text>p{margin:var(--ds-space-2) 0 var(--ds-space-3);font-family:var(--font-story);font-size:15px}.vn-text>div{display:flex;gap:var(--ds-space-2)}.vn-text button{padding:var(--ds-space-2) var(--ds-space-3);color:#fff;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-surface-subtle);cursor:pointer;font-size:11px}.image-studio{min-height:610px;margin-top:var(--ds-space-7);display:grid;grid-template-columns:320px 1fr;overflow:hidden;border:var(--ds-border-width) solid var(--line);border-radius:12px;background:var(--ds-surface-input-hover)}.image-controls{padding:var(--ds-space-6) var(--ds-space-5);border-right:var(--ds-border-width) solid var(--line);background:var(--ds-surface-input-hover)}.tool-heading{display:grid;gap:var(--ds-space-1);margin-bottom:var(--ds-space-4)}.tool-heading span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.14em}.prompt-field:focus-within{border-color:var(--ds-accent);box-shadow:0 0 0 3px #c9473912}.tool-group{margin-top:var(--ds-space-5)}.tool-group>div{display:flex;flex-wrap:wrap;gap:var(--ds-space-1)}.tool-group button{padding:var(--ds-space-1) var(--ds-space-2);color:#7e776e;border:var(--ds-border-width) solid var(--line);border-radius:5px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.character-lock{margin-top:var(--ds-space-5);padding:var(--ds-space-2);display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:var(--ds-space-2);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover)}.lock-avatar{position:relative;width:38px;height:43px;overflow:hidden;border-radius:5px}.character-lock>div:nth-child(2){display:grid;gap:var(--ds-space-1)}.character-lock strong{font-size:11px}.character-lock span{color:#8e877e;font-size:11px}.character-lock button{padding:var(--ds-space-1) var(--ds-space-1);color:#777067;border:0;background:transparent;cursor:pointer;font-size:11px}.generate-button small{min-width:18px;height:18px;display:grid;place-items:center;margin-left:var(--ds-space-1);border-radius:9px;background:var(--ds-surface-subtle);font-size:11px}.generation-credit-note{margin:var(--ds-space-2) 0 0;color:#777;font-size:11px;line-height:1.55}.image-workspace{padding:var(--ds-space-6);display:flex;flex-direction:column;align-items:center;justify-content:center}.generated-preview{position:relative;width:min(100%,720px);overflow:hidden;border-radius:9px;background:var(--ds-surface-input);box-shadow:0 18px 40px #211f1c2e;animation:image-reveal .32s ease both}@keyframes image-reveal{0%{opacity:.35;transform:scale(.985);filter:blur(5px)}}.generated-preview.ratio-16-9{aspect-ratio:16 / 9}.generated-preview.ratio-4-5{width:min(58%,430px);aspect-ratio:4 / 5}.generated-preview.ratio-1-1{width:min(72%,540px);aspect-ratio:1}.generated-preview:after{content:"";position:absolute;top:52%;right:0;bottom:0;left:0;background:var(--ds-media-overlay)}.preview-caption{position:absolute;z-index:2;left:20px;right:20px;bottom:17px;color:#fff}.preview-caption span{font-size:11px;font-weight:700;letter-spacing:.08em}.preview-caption p{overflow:hidden;margin:var(--ds-space-1) 0 0;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.image-actions{width:min(100%,720px);margin-top:var(--ds-space-3);display:flex;align-items:center;justify-content:space-between}.image-actions>span{color:#7f786f;font-size:11px}.image-actions div{display:flex;gap:var(--ds-space-2)}.image-actions button{height:32px;padding:0 var(--ds-space-2);border:var(--ds-border-width) solid var(--line);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.image-actions button:last-child{color:#fff;border-color:var(--red);background:var(--red)}.image-note{margin:var(--ds-space-3) 0 0;color:#918a81;font-size:11px;text-align:center}.editorial-banner{position:relative;overflow:hidden;min-height:210px;margin-top:var(--ds-space-9);padding:var(--ds-space-8) clamp(var(--ds-space-6),4vw,var(--ds-space-10));display:grid;grid-template-columns:1.2fr .75fr auto;align-items:center;gap:var(--ds-space-8);color:#efeae1;background:var(--ds-surface-input);border-radius:12px}.editorial-banner:after{content:"";position:absolute;width:350px;height:350px;right:18%;top:-130px;border:var(--ds-border-width) solid var(--ds-line);border-radius:50%;box-shadow:0 0 0 45px #ffffff06,0 0 0 90px #ffffff05}.banner-mark{position:absolute;right:-20px;bottom:-94px;color:#ffffff09;font-size:290px;font-weight:800;line-height:1;transform:rotate(-8deg)}.editorial-banner>*:not(.banner-mark){position:relative;z-index:2}.editorial-banner span{color:#d88570;font-size:11px;font-weight:700;letter-spacing:.16em}.editorial-banner h2{margin:var(--ds-space-2) 0 0;font-family:var(--font-display);font-size:clamp(24px,2.6vw,36px);font-weight:400;line-height:1.3;letter-spacing:-.025em}.editorial-banner p{color:#aaa79f;font-size:12px;line-height:1.8}.editorial-banner button{height:42px;padding:0 var(--ds-space-4);display:flex;align-items:center;gap:var(--ds-space-2);color:#f7f2e9;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:transparent;cursor:pointer;font-size:11px}.editorial-banner button:hover{background:var(--ds-surface-subtle)}.ranking-list{display:grid;grid-template-columns:1fr 1fr;gap:0 var(--ds-space-7);border-top:var(--ds-border-width) solid var(--line)}.ranking-item{min-width:0;height:86px;display:grid;grid-template-columns:33px 48px 1fr 18px;align-items:center;gap:var(--ds-space-3);text-align:left;border:0;border-bottom:var(--ds-border-width) solid var(--line);background:transparent;cursor:pointer}.ranking-item>b{font-family:var(--font-ui);font-size:18px;font-weight:600}.ranking-thumb{position:relative;width:48px;height:58px;overflow:hidden;border-radius:5px}.ranking-item>div:nth-child(3){min-width:0;display:grid;gap:var(--ds-space-1)}.ranking-item>svg{color:#aaa39a}.main-footer .logo{color:var(--ink)}.main-footer .logo-syllable{font-size:25px}.main-footer p{font-size:11px}.main-footer div{display:flex;gap:var(--ds-space-4);font-size:11px}.main-footer div button{padding:0;color:inherit;border:0;background:transparent;cursor:pointer;font:inherit}.main-footer div button:hover{color:var(--red)}.main-footer>span{grid-column:3;font-size:11px;text-align:right}.search-overlay-wrap{position:fixed;z-index:120;top:0;right:0;bottom:0;left:0;display:grid;place-items:start center;padding:8vh var(--ds-space-5) var(--ds-space-5)}.search-overlay{position:relative;z-index:2;width:min(760px,96vw);max-height:82vh;overflow-y:auto;border:var(--ds-border-width) solid var(--ds-line);border-radius:15px;background:var(--ds-surface-input-hover);box-shadow:0 35px 90px #00000061;animation:dialog-in .2s ease both}.search-overlay>header{padding:var(--ds-space-5) var(--ds-space-6) var(--ds-space-4);display:flex;align-items:flex-start;justify-content:space-between}.search-overlay>header>div{display:grid;gap:var(--ds-space-1)}.search-overlay>header span{color:var(--red);font-size:11px;font-weight:750;letter-spacing:.15em}.search-overlay>header>button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--ds-surface-input-hover);cursor:pointer}.search-overlay>form:focus-within{border-color:var(--ds-accent);box-shadow:0 0 0 3px #c9473912}.search-scopes{margin:var(--ds-space-3) var(--ds-space-6) 0;display:flex;gap:var(--ds-space-1)}.search-scopes button{height:30px;padding:0 var(--ds-space-3);color:#7f786f;border:var(--ds-border-width) solid transparent;border-radius:15px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.search-scopes button.active{color:#fff}.popular-search-tags{padding:var(--ds-space-6) var(--ds-space-6) var(--ds-space-6)}.popular-search-tags>span,.search-suggestions>div>span{display:block;margin-bottom:var(--ds-space-2);color:#837c73;font-size:11px;font-weight:700}.popular-search-tags>div{display:flex;flex-wrap:wrap;gap:var(--ds-space-2)}.popular-search-tags button{padding:var(--ds-space-2) var(--ds-space-3);color:#6e665e;border:var(--ds-border-width) solid var(--line);border-radius:17px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px}.popular-search-tags button:hover{color:var(--red);border-color:var(--ds-accent)}.search-suggestions{padding:var(--ds-space-5) var(--ds-space-6) var(--ds-space-6);display:grid;grid-template-columns:repeat(2,1fr);gap:var(--ds-space-5)}.search-suggestions>div{min-width:0}.search-suggestions>div>button>div{position:relative;width:43px;height:47px;overflow:hidden;border-radius:5px}.search-suggestions p{min-width:0;margin:0;display:grid;gap:var(--ds-space-1)}.search-suggestions strong,.search-suggestions small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-suggestions strong{font-size:11px}.search-suggestions small{color:#8d857c;font-size:11px}.search-suggestions>div>small{color:#928a81;font-size:11px}.dialog-wrap{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:var(--ds-space-5)}.dialog-scrim{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;background:var(--ds-surface-glass);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:default}@keyframes dialog-in{0%{opacity:0;transform:translateY(10px) scale(.985)}}.dialog-art{position:relative;min-height:500px}.dialog-content .eyebrow{color:var(--red)}.dialog-content h3{margin:var(--ds-space-4) 0 var(--ds-space-3);font-family:var(--font-display);font-size:36px;letter-spacing:-.03em}.dialog-author{margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-3);color:#9a9288;font-size:11px;font-weight:650}.dialog-tags{display:flex;flex-wrap:wrap;gap:var(--ds-space-1);margin:var(--ds-space-5) 0 var(--ds-space-6)}.dialog-actions{display:flex;align-items:center;gap:var(--ds-space-2)}.dialog-actions>button.saved{color:var(--red);border-color:var(--ds-accent);background:var(--ds-accent-wash)}.dialog-close{position:absolute;z-index:3;top:14px;right:14px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--ds-surface-glass);cursor:pointer}.publish-feedback{grid-column:1 / -1;padding:var(--ds-space-3) var(--ds-space-4);display:grid;gap:var(--ds-space-1);border:var(--ds-border-width) solid var(--ds-line);border-radius:8px;background:var(--ds-surface-input-hover)}.publish-feedback.warning{border-color:var(--ds-accent);background:var(--ds-surface-input-hover)}.publish-feedback strong{font-size:11px}.story-player{position:fixed;z-index:180;top:0;right:0;bottom:0;left:0;overflow:hidden;color:#f7f3ec;background:var(--ds-canvas-raised)}.player-background,.player-background>.cover-art{position:absolute;top:0;right:0;bottom:0;left:0}.player-background:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--ds-media-overlay)}.player-background .cover-art{filter:saturate(.74) brightness(.72);transform:scale(1.04)}.player-topbar{position:absolute;z-index:5;top:0;left:0;right:0;min-height:62px;padding:0 var(--ds-space-5);display:flex;align-items:center;justify-content:space-between;border-bottom:var(--ds-border-width) solid var(--ds-line);background:var(--ds-surface-glass);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.player-topbar>div:first-child{display:grid;gap:var(--ds-space-1)}.player-topbar>div:first-child span{color:#dfad75;font-size:11px;font-weight:800;letter-spacing:.18em}.player-topbar>div:first-child strong{font-family:var(--font-display);font-size:15px}.player-topbar>div:last-child{display:flex;gap:var(--ds-space-1)}.player-topbar button{height:34px;padding:0 var(--ds-space-2);display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#e8e3dc;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-surface-glass);cursor:pointer;font-size:11px}.player-topbar .player-close{width:34px;padding:0;justify-content:center}.player-dialogue{position:absolute;z-index:4;min-height:150px;padding:var(--ds-space-5) var(--ds-space-5) var(--ds-space-4);display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:var(--ds-space-3) var(--ds-space-5);border:var(--ds-border-width) solid var(--ds-line);border-radius:12px;background:var(--ds-surface-glass);box-shadow:0 18px 60px #00000047;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.player-line span{color:#efb37b;font-size:11px;font-weight:750}.player-line p{margin:var(--ds-space-2) 0 0;font-family:var(--font-story);font-size:16px;line-height:1.75}.player-choices{display:grid;align-content:start;gap:var(--ds-space-1)}.player-choices button{min-height:38px;padding:0 var(--ds-space-3);display:flex;align-items:center;justify-content:space-between;color:#ece7df;text-align:left;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-surface-subtle);cursor:pointer;font-size:11px}.player-choices button:hover{border-color:var(--ds-accent);background:var(--ds-accent-wash)}.player-dialogue form{grid-column:1 / -1;height:39px;padding-left:var(--ds-space-3);display:flex;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-surface-subtle)}.player-dialogue form input{flex:1;color:#fff;border:0;outline:0;background:transparent;font-size:11px}.player-dialogue form button{width:42px;display:grid;place-items:center;color:#efb37b;border:0;background:transparent;cursor:pointer}.player-dialogue>small{grid-column:1 / -1;color:#ffffff75;font-size:11px}.player-panel{position:absolute;z-index:7;top:72px;right:18px;width:min(360px,calc(100vw - 36px));max-height:62vh;overflow-y:auto;border:var(--ds-border-width) solid var(--ds-line);border-radius:10px;background:var(--ds-surface-glass);box-shadow:0 18px 50px #0000004d;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.player-panel>header{padding:var(--ds-space-4) var(--ds-space-4);display:flex;justify-content:space-between;border-bottom:var(--ds-border-width) solid var(--ds-line)}.player-panel>header>div{display:grid;gap:var(--ds-space-1)}.player-panel>header span{color:#d8a36c;font-size:11px;letter-spacing:.15em}.player-panel>header strong{font-size:13px}.player-panel>header button{color:#fff;border:0;background:transparent;cursor:pointer}.player-log,.player-settings{padding:var(--ds-space-3) var(--ds-space-4) var(--ds-space-4)}.player-log small,.player-settings span{color:#ffffff80;font-size:11px}.player-log p{margin:0;padding:var(--ds-space-2) 0;display:grid;gap:var(--ds-space-1);border-bottom:var(--ds-border-width) solid var(--ds-line)}.player-log span{font-size:11px}.player-log .player-empty{color:#ffffff80;border:0;font-size:11px}.player-settings{display:grid;gap:var(--ds-space-4)}.player-settings label{display:grid;gap:var(--ds-space-2)}.player-settings button{width:max-content;padding:var(--ds-space-2) var(--ds-space-2);display:inline-flex;gap:var(--ds-space-1);color:#fff;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:transparent;cursor:pointer;font-size:11px}.chat-shell>header>button:last-child{margin-left:auto}.chat-avatar{position:relative;width:38px;height:38px;overflow:hidden;border-radius:50%}.chat-shell>header>div:nth-of-type(2){display:grid;gap:var(--ds-space-1)}.chat-shell>header strong{font-size:12px}.chat-shell>header span{color:#8b847b;font-size:11px}.chat-shell>main{width:min(720px,calc(100vw - 30px));margin:0 auto;overflow-y:auto;padding:var(--ds-space-7) 0 var(--ds-space-6)}.chat-message{max-width:72%;margin:var(--ds-space-3) 0;display:grid;gap:var(--ds-space-1)}.chat-message.user{margin-left:auto;justify-items:end}.chat-shell>form{width:min(720px,calc(100vw - 30px));height:48px;margin:0 auto;padding-left:var(--ds-space-4);display:flex;align-self:start;border:var(--ds-border-width) solid var(--ds-line);border-radius:10px;background:var(--ds-surface-input-hover);box-shadow:0 8px 28px #28231e14}.chat-shell>form button{width:48px;display:grid;place-items:center;color:#fff;border:0;border-radius:8px;background:var(--red);cursor:pointer}.legal-sheet{position:relative;z-index:2;width:min(580px,94vw);max-height:84vh;overflow-y:auto;padding:var(--ds-space-8) var(--ds-space-8) var(--ds-space-8);border-radius:13px;background:var(--ds-surface-input-hover);box-shadow:0 35px 80px #00000052}.legal-sheet>p{color:#706960;font-size:12px;line-height:1.8}.legal-sheet ul{margin:var(--ds-space-3) 0 0;padding-left:var(--ds-space-4);color:#7f776e;font-size:11px;line-height:1.9}@media(min-width:1500px){.story-rail{grid-auto-columns:minmax(215px,238px)}.story-grid{grid-template-columns:repeat(auto-fill,minmax(195px,1fr))}}@media(max-width:1120px){:root{--sidebar: 214px}.story-rail{grid-auto-columns:minmax(200px,31%)}.story-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}.editorial-banner{grid-template-columns:1fr auto}.editorial-banner p,.hero-quote{display:none}}@media(max-width:860px){:root{--sidebar: 236px;--topbar-menu-bottom-space: var(--ds-mobile-safe-bottom)}.main-area{margin-left:0}.story-rail{grid-auto-columns:minmax(205px,38%)}.ranking-list{grid-template-columns:1fr}.ranking-item:nth-child(5){display:none}.collection-cards{grid-template-columns:1fr 1fr}.collection-cards .new-collection{display:none}.recent-chats{grid-template-columns:1fr}.image-studio{grid-template-columns:270px 1fr}.image-workspace{padding:var(--ds-space-5)}.profile-overview{grid-template-columns:1fr}.studio-main{padding:var(--ds-space-6) var(--ds-space-6)}.scene-character.left{left:10%}.scene-character.right{right:10%}.asset-generate{grid-template-columns:1fr}.asset-generate .primary-button{width:max-content}}@media(max-width:620px){.search-box{flex:1;width:auto;height:37px;padding:0 var(--ds-space-2)}.search-box input::placeholder{color:transparent}.page-content{padding:var(--ds-space-3) var(--ds-space-3) var(--ds-space-11)}.discovery-header{top:60px;min-height:48px;margin-bottom:var(--ds-space-3)}.discovery-header nav{gap:var(--ds-space-5)}.discovery-header nav button{font-size:11px}.discovery-header>div{display:none}.content-shelf{margin-top:var(--ds-space-8)}.curated-rail{grid-auto-columns:66%}.character-rail{grid-auto-columns:minmax(184px,58%);margin-right:calc(-1 * var(--ds-space-3))}.continue-shelf-rail{grid-template-columns:none;grid-auto-columns:88%;margin-right:calc(-1 * var(--ds-space-3))}.continue-shelf-rail>button{grid-template-columns:70px 1fr}.continue-shelf-art{width:70px;height:82px}.search-overlay-wrap{padding:var(--ds-space-4) var(--ds-space-2);align-items:start}.search-overlay{width:100%;max-height:calc(100vh - 36px)}.search-overlay>header{padding:var(--ds-space-5) var(--ds-space-4) var(--ds-space-3)}.search-overlay>header strong{font-size:21px}.search-overlay>form{margin:0 var(--ds-space-3);height:50px;padding-left:var(--ds-space-3)}.search-overlay>form>button{display:none}.search-scopes{margin:var(--ds-space-3) var(--ds-space-3) 0}.popular-search-tags{padding:var(--ds-space-5) var(--ds-space-3) var(--ds-space-6)}.search-suggestions{padding:var(--ds-space-4) var(--ds-space-3) var(--ds-space-5);grid-template-columns:1fr;gap:var(--ds-space-4)}.category-tabs{margin:0 calc(-1 * var(--ds-space-3)) var(--ds-space-3);padding:0 var(--ds-space-3)}.category-tabs button{padding:var(--ds-space-2) var(--ds-space-3)}.category-bar{margin:0 calc(-1 * var(--ds-space-3)) var(--ds-space-3);padding:0 var(--ds-space-3);align-items:center}.category-bar .category-tabs{margin:0;padding:0}.detail-toggle{height:30px;padding:0 var(--ds-space-2)}.tag-results-head{align-items:flex-start;flex-direction:column;gap:var(--ds-space-3)}.sort-toggle{align-self:flex-end}.sort-toggle>span{display:none}.sort-toggle button{padding:0 var(--ds-space-2)}.detail-filters{margin:0 0 var(--ds-space-4);padding:var(--ds-space-4) var(--ds-space-3)}.detail-filter-head>div{display:grid;gap:var(--ds-space-1)}.detail-filter-row{grid-template-columns:1fr;gap:var(--ds-space-1)}.detail-filter-row>strong{padding-top:0}.hero-image{background-color:var(--ds-media-tint);background-position:63% center;background-blend-mode:multiply}.hero-actions button{padding:0 var(--ds-space-3)}.hero-meta{right:17px;bottom:16px}.section-head{align-items:center}.section-head h2{font-size:21px}.section-tools>button:not(.see-all){display:none}.story-rail{grid-auto-columns:72%;gap:var(--ds-space-3);margin-right:calc(-1 * var(--ds-space-3))}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-3) var(--ds-space-2)}.story-grid .story-card{max-width:none}.card-body{padding:var(--ds-space-3)}.page-intro{min-height:145px;padding:var(--ds-space-5) 0;align-items:flex-start;flex-direction:column;gap:var(--ds-space-4)}.page-intro h1{font-size:34px}.page-intro p{font-size:11px}.explore-toolbar{top:60px;margin:0 calc(-1 * var(--ds-space-3));padding:var(--ds-space-2) var(--ds-space-3) var(--ds-space-2)}.explore-toolbar .category-tabs{margin:0;padding:0}.sort-button{display:none}.collection-cards{grid-template-columns:1fr}.collection-cards>button:nth-child(2){display:none}.continue-card{grid-template-columns:72px 1fr;gap:var(--ds-space-3);padding:var(--ds-space-2)}.continue-cover{width:72px;height:94px}.continue-button{display:none}.continue-copy h3{font-size:14px}.continue-copy>p{margin-bottom:var(--ds-space-2)}.recent-chats>button{grid-template-columns:44px 1fr 15px}.recent-chats small{display:none}.character-grid{grid-template-columns:1fr}.character-card{grid-template-columns:104px 1fr}.character-type-tabs button{min-height:67px;padding:var(--ds-space-3) var(--ds-space-3);font-size:11px}.character-type-tabs button:after{left:12px;right:12px}.character-category-bar{margin-bottom:var(--ds-space-4)}.mywork-tabs{top:60px;gap:var(--ds-space-4);overflow-x:auto}.mywork-tabs button{flex:0 0 auto;font-size:11px}.image-studio{min-height:0;grid-template-columns:1fr}.image-controls{border-right:0;border-bottom:var(--ds-border-width) solid var(--line)}.image-workspace{min-height:390px;padding:var(--ds-space-4) var(--ds-space-3)}.generated-preview.ratio-4-5{width:min(82%,360px)}.generated-preview.ratio-1-1{width:min(92%,430px)}.preview-caption{left:13px;right:13px;bottom:11px}.image-actions{align-items:flex-start;gap:var(--ds-space-2)}.image-actions>span{display:none}.image-actions div{width:100%}.image-actions button{flex:1}.profile-identity{grid-template-columns:54px 1fr;padding:var(--ds-space-4)}.large-avatar{width:54px;height:54px}.profile-identity button{display:none}.profile-stats{min-height:110px}.profile-stats>button{padding:var(--ds-space-4) var(--ds-space-2)}.ticket-panel{grid-template-columns:1fr}.ticket-panel>div:first-child{min-height:125px}.ticket-options{padding:var(--ds-space-3)}.story-studio-shell{margin:calc(-1 * var(--ds-space-3)) 0 calc(-1 * var(--ds-space-11));min-height:calc(100vh - 60px)}.studio-top{min-height:62px;padding:0 var(--ds-space-3)}.studio-top>div:first-child{min-width:0}.studio-top>div:first-child>button{padding-left:0}.studio-top span,.studio-top>div:last-child small{display:none}.studio-top strong{max-width:150px;font-size:11px}.studio-main{padding:var(--ds-space-6) var(--ds-space-3) var(--ds-space-11)}.studio-main-head h2{font-size:26px}.studio-main-head em{display:none}.studio-form-grid{grid-template-columns:1fr}.studio-form-grid label.wide,.studio-form-grid .wide{grid-column:auto}.locked-viewpoint{grid-template-columns:1fr;gap:var(--ds-space-2)}.locked-viewpoint>b{width:max-content}.start-setup-guide{align-items:flex-start;flex-direction:column}.start-setup-examples,.thought-mode-grid,.thought-format{grid-template-columns:1fr}.character-ai-actions{align-items:stretch;flex-direction:column}.character-ai-actions button{justify-content:center}.asset-generate{grid-template-columns:1fr}.asset-generate-actions{width:auto}.reader-option-grid,.reader-style-modes{grid-template-columns:1fr}.locked-style-rules,.avatar-policy{align-items:flex-start;flex-direction:column}.asset-gallery,.cast-editor-grid,.unlock-gallery{grid-template-columns:repeat(2,1fr)}.character-planner{grid-template-columns:1fr}.character-planner .cast-editor-grid,.character-look-library{grid-template-columns:repeat(2,1fr)}.expression-set>div:last-child{grid-template-columns:repeat(2,1fr)}.look-trigger-rule{grid-template-columns:1fr}.system-preset-grid,.player-mode-grid,.protagonist-candidate-grid,.relationship-character-list,.ending-library{grid-template-columns:repeat(2,1fr)}.inventory-preview{grid-template-columns:1fr}.inventory-preview>div:last-child{grid-template-columns:repeat(3,1fr)}.ending-easy-flow{align-items:stretch;flex-direction:column}.ending-easy-flow>i{width:1px;height:8px;margin-left:var(--ds-space-3)}.ending-preset-grid{grid-template-columns:repeat(2,1fr)}.ending-rule-row{grid-template-columns:36px 1fr 1fr}.ending-rule-row select:nth-of-type(2),.ending-rule-row input:last-child{grid-column:auto}.status-preview{grid-template-columns:1fr}.status-preview>div:first-child{border-right:0;border-bottom:var(--ds-border-width) solid var(--ds-line)}.status-preview>div:last-child{grid-template-columns:repeat(2,1fr)}.status-preview>div:last-child>span{min-height:48px;border:0}.ending-condition-flow>div{align-items:flex-start;flex-direction:column}.ending-condition-flow i{width:1px;height:8px;margin-left:var(--ds-space-2)}.asset-section-head{align-items:flex-start;flex-direction:column;gap:var(--ds-space-1)}.background-library{grid-template-columns:repeat(2,1fr)}.background-editor-workspace{grid-template-columns:1fr;gap:var(--ds-space-5)}.background-match-note{grid-template-columns:1fr;gap:var(--ds-space-1)}.ai-policy-modes,.ai-permission-grid{grid-template-columns:1fr}.asset-priority>div{align-items:flex-start;flex-direction:column}.asset-priority i{width:1px;height:8px;margin-left:var(--ds-space-2)}.scene-builder-steps{grid-template-columns:repeat(2,1fr)}.scene-builder-steps>div:nth-child(2){border-right:0}.scene-builder-steps>div:nth-child(-n+2){border-bottom:var(--ds-border-width) solid var(--line)}.scene-workbench{grid-template-columns:1fr}.scene-stage{min-height:360px}.scene-character{width:96px;height:205px}.scene-character.left{left:14%}.scene-character.right{right:14%}.scene-summary-panel,.layer-panel{border-top:var(--ds-border-width) solid var(--ds-line);border-left:0}.layer-panel>button{display:inline-flex;width:auto;margin-right:var(--ds-space-1)}.timeline-track{grid-template-columns:repeat(2,1fr)}.publish-studio{grid-template-columns:1fr}.publish-actions{grid-column:1;flex-direction:column}.publish-actions button{width:100%}.vn-preview-scene{min-height:72vh}.preview-character{width:130px;height:260px;bottom:150px}.vn-text{left:13px;right:13px;bottom:13px;padding:var(--ds-space-4)}.vn-text>div{flex-direction:column}.my-menu,.creator-start{grid-template-columns:1fr}.creator-guide{min-height:140px;border-right:0;border-bottom:var(--ds-border-width) solid var(--line)}.creator-guide:last-child{border-bottom:0}.editorial-banner{min-height:240px;grid-template-columns:1fr;align-items:start;gap:var(--ds-space-5);padding:var(--ds-space-7) var(--ds-space-6)}.editorial-banner button{width:max-content}.ranking-item{grid-template-columns:27px 45px 1fr;gap:var(--ds-space-2)}.ranking-item>svg{display:none}.main-footer{padding-bottom:var(--ds-space-11);grid-template-columns:1fr;gap:var(--ds-space-3)}.main-footer p{margin:0}.main-footer div{flex-wrap:wrap}.main-footer>span{grid-column:1;text-align:left}.story-dialog{width:min(430px,94vw);max-height:88vh;overflow-y:auto;grid-template-columns:1fr}.dialog-art{min-height:280px}.dialog-content{padding:var(--ds-space-7) var(--ds-space-6) var(--ds-space-7)}.dialog-content h3{font-size:29px}.dialog-actions{width:100%;align-items:stretch;flex-direction:column}.dialog-actions>button{width:100%;justify-content:center}.player-topbar{min-height:56px;padding:0 var(--ds-space-2)}.player-topbar>div:first-child strong{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-topbar>div:last-child button{width:34px;padding:0;justify-content:center}.player-topbar>div:last-child button:not(.player-close){font-size:0}.player-dialogue{min-height:240px;padding:var(--ds-space-4);grid-template-columns:1fr;gap:var(--ds-space-3)}.player-line p{font-size:14px;line-height:1.6}.player-choices{gap:var(--ds-space-1)}.player-dialogue form,.player-dialogue>small{grid-column:1}.player-dialogue>small{display:none}.player-panel{top:64px;right:10px;width:calc(100vw - 20px)}.chat-shell{grid-template-rows:58px 1fr 68px}.chat-shell>header{padding:0 var(--ds-space-2);gap:var(--ds-space-2)}.chat-shell>header>button:last-child{width:36px;padding:0;justify-content:center;font-size:0}.chat-shell>header>div:nth-of-type(2){min-width:0}.chat-shell>header strong,.chat-shell>header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-shell>main{padding-top:var(--ds-space-4)}.chat-intro{padding:var(--ds-space-4) var(--ds-space-3)}.chat-message{max-width:86%}.legal-sheet{padding:var(--ds-space-8) var(--ds-space-6) var(--ds-space-7)}.legal-sheet h2{font-size:25px}}.section-example-panel{margin:var(--ds-space-4) 0 var(--ds-space-5);padding:var(--ds-space-4) var(--ds-space-4);color:#c5bfbd;border-left:3px solid var(--ds-accent);background:var(--ds-canvas-raised)}.section-example-panel b{color:#e4aaa4;font-size:12px;letter-spacing:.06em}.section-example-panel p{margin:var(--ds-space-2) 0 0;line-height:1.6}.section-example-panel p strong{color:#eee9e8}.section-example-panel small{display:block;margin-top:var(--ds-space-2);color:#8d8786}.initial-state-panel{padding:var(--ds-space-4) var(--ds-space-4);border:var(--ds-border-width) solid var(--ds-line);border-radius:9px;background:var(--ds-canvas-raised)}.initial-state-panel>div strong{color:#eee9e8}.initial-state-panel p,.initial-state-panel small{color:#96908e;line-height:1.55}.initial-state-panel>button{margin:var(--ds-space-3) 0;padding:var(--ds-space-2) var(--ds-space-3);color:#d7d1cf;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:var(--ds-canvas-raised)}.initial-state-panel>button.active{color:#171212}.secret-authoring-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-3);margin-top:var(--ds-space-4)}.secret-authoring-grid label{padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--ds-line);border-radius:9px;background:var(--ds-canvas-raised)}.secret-authoring-grid span,.secret-authoring-grid small{display:block}.secret-authoring-grid span{color:#ede8e7;font-weight:700}.secret-authoring-grid small{min-height:34px;margin:var(--ds-space-2) 0;color:#8f8987;line-height:1.45}.secret-authoring-grid textarea{width:100%;min-height:112px;color:#e6e1df;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:var(--ds-canvas-raised)}.secret-flow-explainer.detailed span small{display:block;margin-top:var(--ds-space-1);color:#8d8786;font-weight:400}.candidate-manager{display:grid;gap:var(--ds-space-4)}.candidate-manager>div>span{display:block;margin-bottom:var(--ds-space-2);color:#9c9593;font-size:12px;font-weight:700}.candidate-selected,.candidate-pool{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:var(--ds-space-2)}.candidate-selected article,.candidate-pool>button{display:grid;grid-template-columns:50px 1fr auto;gap:var(--ds-space-3);align-items:center;padding:var(--ds-space-2);color:#d8d2d0;text-align:left;border:var(--ds-border-width) solid var(--ds-line);border-radius:8px;background:var(--ds-canvas-raised)}.candidate-selected .cover-art,.candidate-pool .cover-art{width:50px;height:58px;border-radius:6px}.candidate-selected span,.candidate-pool span{min-width:0}.candidate-selected strong,.candidate-selected small,.candidate-pool strong,.candidate-pool small{display:block}.candidate-selected small,.candidate-pool small{margin-top:var(--ds-space-1);color:#8e8886}.candidate-selected article>button{color:#aaa2a0}.candidate-pool>button:hover{border-color:var(--ds-accent);background:var(--ds-canvas-raised)}.field-warning{margin-top:var(--ds-space-3);color:#dca39d}.character-detail-head .character-delete,.keyword-delete{color:#d19a94;border-color:var(--ds-accent);background:var(--ds-surface-input)}.character-example{margin:0 0 var(--ds-space-4)}.stat-template-grid,.illustration-type-tabs{display:flex;flex-wrap:wrap;gap:var(--ds-space-2);margin:var(--ds-space-3) 0 var(--ds-space-4)}.stat-template-grid button{min-width:150px;padding:var(--ds-space-3) var(--ds-space-3);color:#bdb7b5;text-align:left;border:var(--ds-border-width) solid var(--ds-line);border-radius:8px;background:var(--ds-canvas-raised)}.stat-template-grid strong,.stat-template-grid span{display:block}.stat-template-grid span{margin-top:var(--ds-space-1);color:#8e8886;font-size:12px}.stat-template-grid button.active,.illustration-type-tabs button.active{color:#1a1413}.illustration-type-tabs button{padding:var(--ds-space-2) var(--ds-space-3);color:#c4bfbd;border:var(--ds-border-width) solid var(--ds-line);border-radius:999px;background:var(--ds-canvas-raised)}.keyword-book-panel{margin-bottom:var(--ds-space-7);padding-bottom:var(--ds-space-7);border-bottom:var(--ds-border-width) solid var(--ds-line)}.keyword-note-layout{display:grid;grid-template-columns:260px 1fr;gap:var(--ds-space-4)}.keyword-note-layout aside{display:flex;flex-direction:column;gap:var(--ds-space-2)}.keyword-note-layout aside button{padding:var(--ds-space-3);color:#bdb7b5;text-align:left;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:var(--ds-canvas-raised)}.keyword-note-layout aside strong,.keyword-note-layout aside span{display:block}.keyword-note-layout aside span{margin-top:var(--ds-space-1);color:#8b8583;font-size:12px}.keyword-note-layout .keyword-delete{align-self:end;min-height:42px;border:var(--ds-border-width) solid var(--ds-accent);border-radius:7px}.advanced-feature-picker{margin:var(--ds-space-5) 0;padding:var(--ds-space-5);border:var(--ds-border-width) solid var(--ds-line);border-radius:10px;background:var(--ds-canvas-raised)}.advanced-feature-picker>div:first-child>span,.advanced-feature-picker>div:first-child>strong,.advanced-feature-picker>div:first-child>p{display:block}.advanced-feature-picker>div:first-child>span{color:#d89a94;font-size:11px;font-weight:800;letter-spacing:.08em}.advanced-feature-picker>div:first-child>strong{margin-top:var(--ds-space-1);color:#ede9e7;font-size:17px}.advanced-feature-picker>div:first-child>p{margin:var(--ds-space-2) 0 var(--ds-space-4);color:#918b89}.advanced-feature-picker>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-2)}.advanced-feature-picker button{display:grid;grid-template-columns:1fr auto;padding:var(--ds-space-3) var(--ds-space-3);color:#d8d2d0;text-align:left;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:var(--ds-canvas-raised)}.advanced-feature-picker button strong,.advanced-feature-picker button span{display:block}.advanced-feature-picker button span{grid-column:1;margin-top:var(--ds-space-1);color:#8f8987;font-size:12px}.advanced-feature-picker button svg{grid-row:1 / 3;grid-column:2;align-self:center;color:#d89a94}.advanced-feature-picker button:hover{border-color:var(--ds-accent);background:var(--ds-canvas-raised)}.storychat-preview{position:relative;z-index:2;display:grid;grid-template-rows:auto minmax(360px,1fr) auto;width:min(880px,calc(100vw - 36px));max-height:calc(100vh - 40px);overflow:hidden;color:#e9e4e2;border:var(--ds-border-width) solid var(--ds-line);border-radius:12px;background:var(--ds-canvas-raised);box-shadow:0 28px 90px #000000a6}.storychat-preview>header{display:flex;justify-content:space-between;gap:var(--ds-space-5);padding:var(--ds-space-4) var(--ds-space-5);border-bottom:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.storychat-preview>header span,.storychat-preview>header strong,.storychat-preview>header small{display:block}.storychat-preview>header span{color:#d89a94;font-size:11px;font-weight:800;letter-spacing:.1em}.storychat-preview>header strong{margin-top:var(--ds-space-1);font-size:18px}.storychat-preview>header small{margin-top:var(--ds-space-1);color:#85807e}.storychat-preview>main{display:flex;flex-direction:column;gap:var(--ds-space-3);overflow:auto;padding:var(--ds-space-6)}.storychat-preview-message{max-width:78%;padding:var(--ds-space-3) var(--ds-space-4);border:var(--ds-border-width) solid var(--ds-line);border-radius:10px;background:var(--ds-canvas-raised)}.storychat-preview-message span{display:block;margin-bottom:var(--ds-space-1);color:#d89a94;font-size:11px;font-weight:800}.storychat-preview-message p{margin:0;line-height:1.7}.storychat-preview-message.narrator{max-width:100%;color:#b7b0ae;border-style:dashed;background:var(--ds-canvas-raised)}.storychat-preview-message.user{align-self:flex-end;color:#201817;border-color:var(--ds-accent);background:var(--ds-accent)}.storychat-preview-message.user span{color:#563633}.storychat-preview>footer{display:grid;grid-template-columns:1fr auto;gap:var(--ds-space-2);padding:var(--ds-space-3) var(--ds-space-4);border-top:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.storychat-preview>footer textarea{min-height:72px;resize:none;color:#e8e3e1;border:var(--ds-border-width) solid var(--ds-line);border-radius:8px;background:var(--ds-canvas-raised)}.storychat-preview>footer button{align-self:end;min-height:42px;padding:0 var(--ds-space-4);color:#1a1413;border-radius:7px;background:var(--ds-accent)}.storychat-preview>footer button:disabled{opacity:.4}@media(max-width:820px){.studio-decision-group,.secret-authoring-grid,.keyword-note-layout,.candidate-selected,.candidate-pool{grid-template-columns:1fr}.advanced-feature-picker>div:last-child{grid-template-columns:1fr}.storychat-preview>footer{grid-template-columns:1fr}}.notification-popover,.profile-menu{color:#eee;border-color:var(--ds-line);background:var(--ds-canvas-raised);box-shadow:0 24px 60px #0000008c}.notification-list span,.profile-menu-head small,.profile-menu-list>:is(button,a),.profile-menu-foot button{color:#aaa}.profile-menu-head:hover,.profile-menu-list>:is(button,a):hover{color:#fff;background:transparent}.discovery-header{position:relative;z-index:1;min-height:56px;margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.discovery-header nav button,.discovery-header strong{color:#8d8d8d}.discovery-header nav button.active{color:var(--ink);color:#fff}.hero{position:relative;overflow:hidden;background:var(--ds-surface-media);height:clamp(500px,45vw,620px);border-radius:0;box-shadow:none}.hero-image{position:absolute;top:0;right:0;bottom:0;left:0;background-position:center;background-size:cover;background-repeat:no-repeat;transform:scale(1.015);transition:transform 8s ease;background-color:var(--ds-media-tint);background-blend-mode:multiply}.section-head h2,.page-intro h1{color:#f7f7f7;font-family:var(--font-display);font-weight:400;letter-spacing:-.025em}.section-tools button{height:31px;display:inline-flex;align-items:center;justify-content:center;border:var(--ds-border-width) solid var(--line);background:var(--ds-surface-glass);cursor:pointer;color:#ddd;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.section-tools button:not(.see-all):hover{background:var(--ds-surface-input-hover);background:var(--ds-surface-input)}.section-tools .see-all{min-height:44px;gap:var(--ds-space-1);margin-left:var(--ds-space-1);padding:0 var(--ds-space-1) 0 var(--ds-space-2);color:#a8a8a8;border:0;background:transparent;background-image:none;box-shadow:none;filter:none;font-size:11px;transform:none}.section-tools .see-all:is(:hover,:focus-visible,:active){color:var(--ds-text-strong);border:0;background:transparent;background-image:none;box-shadow:none;filter:none;transform:none}.story-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(205px,230px);grid-template-rows:1fr;gap:var(--ds-space-4);overflow-x:auto;padding:var(--ds-space-1) var(--ds-space-1) var(--ds-space-3);scroll-snap-type:x mandatory;scrollbar-width:none;grid-auto-columns:minmax(188px,214px);gap:var(--ds-space-3)}.story-card:hover{transform:none;box-shadow:none}.card-visual{position:relative;width:100%;aspect-ratio:4 / 5;overflow:hidden;display:block;padding:0;border:0;background:var(--ds-surface-input-hover);cursor:pointer;background:var(--ds-surface-input)}.card-title-row strong{min-width:0;color:#f4f4f4;font-size:14px;font-weight:650;letter-spacing:-.025em;word-break:keep-all}.card-title-row button:hover{background:var(--ds-surface-input-hover);background:var(--ds-surface-input)}.card-author,.card-stats{color:#767676}.card-badges{position:absolute;z-index:3;top:9px;left:9px;display:flex;gap:var(--ds-space-1)}.card-badges .story-badge{position:static}.format-badge{padding:var(--ds-space-1) var(--ds-space-2);color:#fff;border-radius:3px;background:var(--ds-surface-glass);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);font-size:11px;font-weight:750}.continue-shelf-rail>button{min-height:104px;padding:var(--ds-space-2) var(--ds-space-3) var(--ds-space-2) var(--ds-space-2);display:grid;grid-template-columns:78px 1fr;align-items:center;gap:var(--ds-space-3);text-align:left;color:var(--ink);border:var(--ds-border-width) solid var(--line);background:var(--ds-surface-glass);cursor:pointer;color:#eee;border:0;border-radius:6px;background:var(--ds-canvas-raised)}.continue-shelf-rail>button:hover{background:var(--ds-surface-input-hover);box-shadow:0 8px 22px #211f1c0f;background:var(--ds-surface-input);box-shadow:none}.continue-shelf-rail p{margin:0;color:#8b837a;font-size:11px;color:#818181}.continue-shelf-art>span{position:absolute;z-index:2;right:6px;bottom:6px;width:26px;height:26px;display:grid;place-items:center;color:var(--ink);border-radius:50%;color:#111;background:var(--ds-surface-glass)}.category-tabs button:hover{color:var(--ink);background:var(--ds-surface-glass);color:#fff;background:var(--ds-surface-input)}.category-tabs button.active{color:#fff;color:#111}.detail-toggle,.sort-toggle{color:#aaa;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.detail-filter-row>strong,.detail-filter-head span{color:#888}.detail-filter-row button:hover{color:var(--ink);background:var(--ds-surface-input-hover);color:#fff;background:var(--ds-surface-input)}.sort-toggle button{height:27px;padding:0 var(--ds-space-2);color:#817a72;border:0;border-radius:14px;background:transparent;cursor:pointer;font-size:11px;font-weight:650;color:#aaa}.sort-toggle button.active{color:#fff;color:#111}.page-intro{min-height:var(--page-intro-min-height, 168px);padding:var(--page-intro-padding, var(--ds-space-7) 0 var(--ds-space-7));display:var(--page-intro-display, flex);grid-template-columns:var(--page-intro-columns, none);align-items:var(--page-intro-align, flex-end);justify-content:space-between;gap:var(--page-intro-gap, var(--ds-space-6));border-bottom:var(--ds-border-width) solid var(--line);border-color:var(--line)}.page-intro p{margin:0;color:#7d766d;font-size:13px;line-height:1.6;color:#999}.outline-action{height:41px;padding:0 var(--ds-space-4);display:inline-flex;align-items:center;gap:var(--ds-space-2);flex:0 0 auto;border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px;font-weight:650;color:#eee;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.profile-overview,.my-detail-panel,.image-control-panel,.image-preview,.ranking-section,.editorial-banner{border-color:var(--ds-line);background-color:var(--ds-canvas-raised);box-shadow:none}.mywork-tabs button.active{color:var(--ink);color:#f3ede4}.mywork-tabs span{margin-left:var(--ds-space-1);padding:var(--ds-space-1) var(--ds-space-1);color:#fff;background:var(--red);margin-left:var(--ds-space-2);padding:0;color:#9d9690;border-radius:0;background:transparent;font-size:11px}.mywork-tabs+.my-projects{margin-top:0}.project-card{display:grid;text-align:left;cursor:pointer;color:#eee;box-shadow:none;min-height:104px;padding:var(--ds-space-4) var(--ds-space-1);grid-template-columns:42px 128px minmax(0,1fr) auto;align-items:start;gap:var(--ds-space-4);color:#eee9e0;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.project-card:hover{background:var(--ds-canvas-raised);border-color:var(--ds-line);background:var(--ds-surface-subtle)}.project-number{align-self:start;padding-top:var(--ds-space-1);color:#5f5c58;font-family:var(--font-story);font-size:13px}.project-cover{position:relative;width:128px;height:80px;margin-top:0;overflow:hidden;background:var(--ds-surface-input)}.project-copy{align-content:start;gap:0;min-width:0}.project-eyebrow{display:flex;align-items:center;gap:var(--ds-space-2);margin:0 0 var(--ds-space-2)}.project-format{display:block;margin-bottom:var(--ds-space-1);color:#e19a90;font-style:normal;font-weight:750;letter-spacing:.08em;margin:0;color:#dc6c62;font-size:11px;letter-spacing:.11em}.project-eyebrow i{display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#a5a09a;font-size:11px;font-style:normal}.project-eyebrow i:before{width:6px;height:6px;border-radius:50%;background:currentColor;content:""}.project-eyebrow i.published{color:#85a997}.project-card strong{margin:0 0 var(--ds-space-2);color:#f4eee5;font-family:var(--ds-font-ui);font-size:var(--ds-font-size-title-sm);font-weight:700;line-height:1.35;letter-spacing:-.015em}.project-card p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}.project-card:hover .project-open{color:#f4eee5}.project-card.new{grid-template-columns:74px 1fr;color:#8a837a;background:transparent;border-style:dashed;grid-template-columns:42px 92px minmax(0,1fr) auto;border-style:solid}.main-footer{min-height:150px;padding:var(--ds-space-7) 4.1vw var(--ds-space-8);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:var(--ds-space-6);border-top:var(--ds-border-width) solid var(--line);color:#999289;color:#777;border-color:var(--line);background:var(--ds-canvas)}.dialog-content>p,.dialog-author{color:#aaa}.dialog-tags span{padding:var(--ds-space-1) var(--ds-space-2);border-radius:4px;background:var(--ds-surface-input-hover);color:#7c6f63;font-size:11px;color:#ddd;border-color:var(--ds-line);background:var(--ds-surface-input)}.creation-start>header span{color:var(--red);font-size:11px;font-weight:800;letter-spacing:.15em}.creation-start header p{margin:0;color:#999;font-size:12px}.creation-start>header>button{flex:0 0 44px;height:44px;display:grid;place-items:center;color:#aaa;border:0;border-radius:50%;background:var(--ds-surface-input);cursor:pointer}.creation-format-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-3)}.creation-kind-grid strong,.creation-format-grid strong{font-size:17px}.creation-kind-grid p,.creation-format-grid p{margin:var(--ds-space-2) 0;color:#aaa;font-size:11px;line-height:1.55}.creation-kind-grid small{color:#e1988f;font-size:11px}.creation-format-grid>button{min-height:125px;justify-content:center}.creation-method span{display:grid;gap:var(--ds-space-1)}.creation-method small{color:#888;font-size:11px}.creation-prompt>span{display:block;margin-bottom:var(--ds-space-2);color:#aaa;font-size:11px}.creation-prompt>div{display:flex;flex-wrap:wrap;gap:var(--ds-space-1)}.creation-prompt>div button{padding:var(--ds-space-2) var(--ds-space-3);color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:16px;background:var(--ds-canvas-raised);cursor:pointer;font-size:11px}.creation-prompt>div button.active{color:#111}.creation-prompt label{margin-top:var(--ds-space-4);display:grid;gap:var(--ds-space-2);color:#ddd;font-size:11px}.creation-prompt label em{color:#777;font-style:normal}.creation-prompt textarea::placeholder{color:#777;opacity:1}.creation-prompt>small{display:block;margin-top:var(--ds-space-2);color:#727272;font-size:11px}.creation-start>footer{margin-top:var(--ds-space-6);display:flex;justify-content:space-between}.creation-back{display:flex;align-items:center;gap:var(--ds-space-1);color:#aaa;border:0;background:transparent;cursor:pointer}.studio-top{min-height:68px;padding:0 var(--ds-space-6);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5);border-bottom:var(--ds-border-width) solid var(--line);background:var(--ds-surface-input-hover);border-color:var(--ds-line);background:var(--ds-canvas-raised)}.studio-main,.compact-studio-layout>main{min-width:0;padding:var(--ds-space-6) clamp(var(--ds-space-5),4vw,var(--ds-space-10));background:var(--ds-canvas)}.studio-substeps button{padding:0 var(--ds-space-3) var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-1);flex:0 0 auto;color:#777;border:0;border-bottom:2px solid transparent;background:transparent;cursor:pointer;font-size:11px}.studio-substeps button.active{color:#fff}.studio-substeps small{padding:var(--ds-space-1) var(--ds-space-1);color:#999;border-radius:3px;background:var(--ds-surface-input);font-size:11px}.studio-main-head p,.studio-main-head em{color:#858585}.studio-form-grid,.studio-info,.studio-choice-group,.studio-section,.studio-card,.asset-editor,.publish-panel{border-color:var(--ds-line);background:transparent;box-shadow:none}.studio-form-grid input,.studio-form-grid textarea,.studio-form-grid select,.studio-main input,.studio-main textarea,.studio-main select,.character-studio input,.character-studio textarea{color:#eee;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.studio-form-grid input::placeholder,.studio-form-grid textarea::placeholder,.studio-main input::placeholder,.studio-main textarea::placeholder,.character-studio input::placeholder,.character-studio textarea::placeholder{color:#707070;opacity:1}.studio-choice-group button,.studio-main button:not(.primary-button):not(.next),.compact-studio-layout button{color:#aaa;border-color:var(--ds-line);background-color:var(--ds-canvas-raised)}.studio-choice-group button.active,.studio-main button.active,.compact-studio-layout button.active{color:#fff}.character-image-source{padding:var(--ds-space-4);border:var(--ds-border-width) solid var(--ds-line);border-radius:7px}.character-image-source>div{margin:var(--ds-space-3) 0 var(--ds-space-2);display:flex;gap:var(--ds-space-2)}.character-image-source button{height:38px;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;gap:var(--ds-space-2);cursor:pointer}.character-image-source small{color:#777}@media(max-width:760px){.story-rail{grid-auto-columns:61%}.mywork-tabs>small{display:none}.project-card,.project-card.new{--project-open-display: none;grid-template-columns:16px 88px minmax(0,1fr);gap:var(--ds-space-2)}.project-cover{width:88px;height:72px}.project-open{display:none}.new-project-mark{width:52px;height:52px;font-size:20px}.project-card strong{font-size:16px}.project-card p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.format-badge.text-adventure{color:#0b131d;background:var(--ds-surface-glass)}.text-adventure-player{position:fixed;z-index:130;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:64px 1fr auto;color:#eee;background:var(--ds-canvas)}.text-adventure-player>header{padding:0 var(--ds-space-6);display:flex;align-items:center;justify-content:space-between;border-bottom:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas)}.text-adventure-player>header>div:first-child{display:grid;gap:var(--ds-space-1)}.text-adventure-player>header span{color:#94caff;font-size:11px;font-weight:750;letter-spacing:.15em}.text-adventure-player>header>div:last-child{display:flex;gap:var(--ds-space-1)}.text-adventure-player>header button{height:36px;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#bbb;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);cursor:pointer;font-size:11px}.text-adventure-player>main{width:min(820px,calc(100% - 32px));margin:0 auto;padding:var(--ds-space-8) 0 var(--ds-space-6);overflow-y:auto}.adventure-title{padding-bottom:var(--ds-space-6);border-bottom:var(--ds-border-width) solid var(--ds-line)}.adventure-title>span{color:#94caff;font-size:11px;font-weight:800;letter-spacing:.16em}.adventure-title p{margin:0;color:#888;font-size:11px}.adventure-log{padding:var(--ds-space-7) 0 var(--ds-space-2);display:grid;gap:var(--ds-space-5)}.adventure-log article{position:relative;padding-left:var(--ds-space-4);border-left:2px solid var(--ds-line)}.adventure-log article.player{margin-left:11%;padding:var(--ds-space-3) var(--ds-space-4);border:0;border-radius:5px;background:var(--ds-surface-input)}.adventure-log article.system{padding:var(--ds-space-3) var(--ds-space-3);border:var(--ds-border-width) solid var(--ds-line);border-left:3px solid var(--ds-line);border-radius:4px;background:var(--ds-canvas-raised)}.adventure-log article span{display:block;margin-bottom:var(--ds-space-1);color:#7eaedb;font-size:11px;font-weight:800;letter-spacing:.12em}.adventure-log p{margin:0;color:#d2d2d2;font-family:var(--font-story);font-size:15px;line-height:1.9}.adventure-suggestions{margin-top:var(--ds-space-4);display:flex;flex-wrap:wrap;gap:var(--ds-space-1)}.adventure-suggestions button:hover{color:#fff;border-color:var(--ds-line)}.text-adventure-player>form{padding:var(--ds-space-3) max(var(--ds-space-6),calc((100vw - var(--ds-space-11)) / 2));border-top:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas)}.text-adventure-player>form>div{display:flex;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised)}.text-adventure-player>form input{min-width:0;flex:1;height:45px;padding:0 var(--ds-space-3);color:#eee;border:0;outline:0;background:transparent}.text-adventure-player>form input::placeholder{color:#666}.text-adventure-player>form button{width:45px;display:grid;place-items:center;color:#111;border:0;border-radius:0 5px 5px 0;background:var(--ds-surface-input-hover);cursor:pointer}.text-adventure-player>form small{display:block;margin-top:var(--ds-space-1);color:#555;font-size:11px}.relation-copy{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--ds-space-5)}.relation-copy>button{min-width:190px;padding:var(--ds-space-3) var(--ds-space-3);display:grid;gap:var(--ds-space-1);text-align:left;color:#ddd;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised);cursor:pointer}.relation-copy>button:disabled{opacity:.42;cursor:not-allowed}.relation-copy>button>span{display:flex;align-items:center;gap:var(--ds-space-2)}.relation-copy>button small{color:#777;font-size:11px}.relationship-board-wrap{position:fixed;z-index:150;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:var(--ds-space-4)}.relationship-board-modal{position:relative;z-index:2;width:min(1180px,98vw);height:min(760px,94vh);display:grid;grid-template-rows:auto 1fr auto;color:#eee;border:var(--ds-border-width) solid var(--ds-line);border-radius:9px;background:var(--ds-canvas-raised);box-shadow:0 35px 100px #000000b3}.relationship-board-modal>header{padding:var(--ds-space-5) var(--ds-space-5);display:flex;align-items:flex-start;justify-content:space-between;border-bottom:var(--ds-border-width) solid var(--ds-line)}.relationship-board-modal>header span{color:var(--red);font-size:11px;font-weight:800;letter-spacing:.15em}.relationship-board-modal>header h2{margin:var(--ds-space-1) 0;font-size:23px}.relationship-board-modal>header p{margin:0;color:#888;font-size:11px}.relationship-board-modal>header>button{width:35px;height:35px;display:grid;place-items:center;color:#aaa;border:0;border-radius:50%;background:var(--ds-surface-input);cursor:pointer}.relationship-workspace{min-height:0;display:grid;grid-template-columns:1fr 280px}.relationship-canvas{position:relative;min-width:0;overflow:hidden;background-color:var(--ds-canvas);background-image:none}.relationship-canvas svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none}.relationship-canvas svg line{stroke:#515151;stroke-width:.35;vector-effect:non-scaling-stroke}.relationship-node{position:absolute;width:126px;min-height:92px;padding:var(--ds-space-2);display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;gap:var(--ds-space-1) var(--ds-space-2);text-align:left;color:#ddd;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:var(--ds-canvas-raised);box-shadow:0 8px 22px #0000004d;cursor:grab;transform:translate(-50%,-50%)}.relationship-node:active{cursor:grabbing}.relationship-node>span{position:relative;grid-row:1 / 3;width:36px;height:48px;overflow:hidden;border-radius:4px}.relationship-node small{align-self:end;color:#888;font-size:11px}.relationship-node strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.relationship-workspace>aside{min-height:0;padding:var(--ds-space-4);overflow-y:auto;border-left:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.relationship-board-help{padding-bottom:var(--ds-space-3);border-bottom:var(--ds-border-width) solid var(--ds-line)}.relationship-board-help strong{font-size:11px}.relationship-board-help p{margin:var(--ds-space-1) 0 0;color:#777;font-size:11px;line-height:1.45}.relationship-edge-list{margin:var(--ds-space-3) 0;display:grid;gap:var(--ds-space-1)}.relationship-edge-list button{padding:var(--ds-space-2) var(--ds-space-2);display:grid;gap:var(--ds-space-1);text-align:left;color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);cursor:pointer}.relationship-edge-list button.active{color:#fff}.relationship-edge-list span,.relationship-edge-list strong{font-size:11px}.relationship-edge-editor{display:grid;gap:var(--ds-space-2)}.relationship-edge-editor label{display:grid;gap:var(--ds-space-1);color:#999;font-size:11px}.relationship-edge-editor input,.relationship-edge-editor select{height:36px;padding:0 var(--ds-space-2);color:#eee;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised)}.relationship-board-modal>footer{padding:var(--ds-space-3) var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;border-top:var(--ds-border-width) solid var(--ds-line)}.relationship-board-modal>footer span{color:#777;font-size:11px}@media(max-width:760px){.relation-copy{align-items:stretch;flex-direction:column}.relationship-board-modal{height:96vh}.relationship-workspace{grid-template-columns:1fr;grid-template-rows:minmax(360px,1fr) 250px}.relationship-workspace>aside{border-top:var(--ds-border-width) solid var(--ds-line);border-left:0}.text-adventure-player>main{padding-top:var(--ds-space-6)}.text-adventure-player>form{padding:var(--ds-space-3) var(--ds-space-4)}}.profile-avatar,.large-avatar,.profile-stats strong,.section-head h2,.page-intro h1,.creator-guide>span,.creator-guide strong,.character-card h3,.my-detail-head h2,.ticket-panel>div:first-child strong,.studio-main-head h2,.studio-section-copy h3,.character-detail-head h4,.studio-empty-state>strong,.status-preview>div:first-child strong,.publish-score>strong,.ranking-item>b,.search-overlay>header strong,.chat-intro strong,.legal-sheet h2{font-family:var(--font-ui)}.hero h1,.hero-quote p,.scene-dialogue p,.scene-summary-panel h4,.vn-text>p,.editorial-banner h2,.dialog-content h3,.player-line p,.adventure-title h1,.adventure-log p{font-family:var(--font-story);font-weight:var(--ds-font-weight-body)}.hero h1,.section-head h2,.page-intro h1,.editorial-banner h2,.dialog-content h3,.studio-main-head h2,.studio-section-copy h3,.adventure-title h1{font-family:var(--font-display);font-weight:800;letter-spacing:-.028em}.studio-main>*{width:min(100%,1080px);margin-inline:auto}.studio-substeps{margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-6);display:flex;gap:var(--ds-space-1);overflow-x:auto;border-bottom:var(--ds-border-width) solid var(--ds-line);scrollbar-width:none}.studio-substeps::-webkit-scrollbar{display:none}.protagonist-brief-panel{margin-top:var(--ds-space-5);padding-top:var(--ds-space-5);border-top:var(--ds-border-width) solid var(--ds-line)}.protagonist-brief-panel .asset-section-head{margin-top:0;align-items:flex-start}.protagonist-brief-panel .asset-section-head p{max-width:430px;line-height:1.55}.protagonist-brief-grid{margin-top:var(--ds-space-4)}.protagonist-handoff{margin-top:var(--ds-space-3);padding:var(--ds-space-3) var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-2);color:#8d8d8d;border-left:2px solid var(--red);background:var(--ds-canvas-raised);font-size:11px;line-height:1.55}.protagonist-handoff b{flex:0 0 auto;color:#e28b81}.creation-format-grid>button small{margin-top:var(--ds-space-1);color:#7f9fbd;font-size:11px}@media(max-width:900px){.studio-main{padding-inline:var(--ds-space-6)}.protagonist-brief-panel .asset-section-head{display:grid;gap:var(--ds-space-2)}}@media(max-width:620px){.card-moment{display:none}}.story-studio-shell .studio-substeps button,.story-studio-shell .studio-substeps button.active{min-height:38px;padding:0 0 var(--ds-space-3);color:#747474;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:11px}.story-studio-shell .studio-substeps button:hover{color:#c9c9c9}.story-studio-shell .studio-form-grid label,.story-studio-shell .asset-generate label,.story-studio-shell .studio-choice-group>span{gap:var(--ds-space-2);color:#c9c9c9;font-size:11px;line-height:1.4}.story-studio-shell .field-label{min-height:18px;gap:var(--ds-space-2)}.story-studio-shell .field-label em{padding:var(--ds-space-1) var(--ds-space-1);color:#9a9a9a;background:var(--ds-surface-input);font-size:11px}.story-studio-shell .studio-form-grid input,.story-studio-shell .studio-form-grid select{height:44px;padding-inline:var(--ds-space-3);font-size:11px}.story-studio-shell .studio-choice-group{gap:var(--ds-space-2)}.story-studio-shell .studio-choice-group>div{gap:var(--ds-space-2)}.story-studio-shell .studio-choice-group button,.story-studio-shell .avatar-policy button{min-height:38px;height:auto;padding:var(--ds-space-2) var(--ds-space-3);color:#aaa;border-color:var(--ds-line);background:var(--ds-canvas-raised);font-size:11px}.story-studio-shell .studio-choice-group button.active,.story-studio-shell .avatar-policy button.active{color:#fff}@media(max-width:1080px){.story-studio-shell .studio-main{padding:var(--ds-space-7) var(--ds-space-7) var(--ds-space-10)}}@media(max-width:700px){.story-studio-shell .studio-main{padding:var(--ds-space-6) var(--ds-space-4) var(--ds-space-11)}.story-studio-shell .studio-substeps{margin-bottom:var(--ds-space-6);gap:var(--ds-space-5)}.story-studio-shell .studio-main-head{align-items:flex-start;margin-bottom:var(--ds-space-6)}.story-studio-shell .studio-main-head h2{font-size:29px}.story-studio-shell .studio-main-head em{display:none}.story-studio-shell .studio-form-grid{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-5)}.story-studio-shell .studio-form-grid label.wide,.story-studio-shell .studio-form-grid .wide{grid-column:auto}}.character-ai-callout{margin-bottom:var(--ds-space-6);padding:var(--ds-space-4) var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5);border-top:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line)}.character-ai-callout>div{display:flex;align-items:center;gap:var(--ds-space-3);color:#e65349}.character-ai-callout span{display:grid;gap:var(--ds-space-1)}.character-ai-callout strong{color:#efefef;font-size:11px}.character-ai-callout small{color:#777;font-size:11px}.character-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-1);border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-surface-input)}.character-media-grid>section{min-width:0;padding:var(--ds-space-6);display:grid;align-content:start;gap:var(--ds-space-3);background:var(--ds-canvas-raised)}.character-media-grid>section>span,.character-publish-panel>span{color:#e65349;font-size:11px;font-weight:750;letter-spacing:.14em}.character-media-grid h3,.character-publish-panel h3{margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-1);font-size:17px}.character-media-grid>section>button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);border:var(--ds-border-width) solid var(--ds-line);cursor:pointer}.character-media-grid label:not(.media-upload-card){display:grid;gap:var(--ds-space-2);color:#aaa;font-size:11px}.media-upload-card{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-2);color:#999;border:var(--ds-border-width) dashed var(--ds-line);background:var(--ds-canvas-raised);cursor:pointer}.media-upload-card strong{color:#ededed;font-size:11px}.media-upload-card small{color:#6f6f6f;font-size:11px}.media-upload-card input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.character-test-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:var(--ds-space-7);align-items:start}.character-test-phone{max-width:620px;overflow:hidden;border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.character-test-phone header{padding:var(--ds-space-3) var(--ds-space-4);display:flex;align-items:center;gap:var(--ds-space-2);border-bottom:var(--ds-border-width) solid var(--ds-line)}.test-avatar{width:34px;height:34px;display:grid;place-items:center;color:#fff;border-radius:50%;background:var(--ds-accent);font-family:var(--font-ui)}.character-test-phone header div{display:grid;gap:var(--ds-space-1)}.character-test-phone header strong{font-size:11px}.character-test-phone header small{color:#777;font-size:11px}.character-test-phone main{min-height:330px;max-height:430px;padding:var(--ds-space-5);display:flex;flex-direction:column;gap:var(--ds-space-2);overflow-y:auto}.character-test-phone main p{max-width:78%;margin:0;padding:var(--ds-space-3) var(--ds-space-3);color:#d7d7d7;font-size:11px;line-height:1.6;background:var(--ds-surface-input)}.character-test-phone form{padding:var(--ds-space-3);display:flex;gap:var(--ds-space-2);border-top:var(--ds-border-width) solid var(--ds-line)}.character-test-phone form input{min-width:0;flex:1}.character-test-phone form button{width:40px;display:grid;place-items:center;border-color:var(--ds-accent);background:var(--ds-accent);cursor:pointer}.character-publish-panel{padding:var(--ds-space-5);display:grid;gap:var(--ds-space-2);border-top:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.character-publish-panel>button:not(.primary-button){padding:var(--ds-space-3);display:grid;gap:var(--ds-space-1);text-align:left;border:var(--ds-border-width) solid var(--ds-line);cursor:pointer}.character-publish-panel>button strong{color:#e7e7e7;font-size:11px}.character-publish-panel>button small{color:#717171;font-size:11px;line-height:1.45}.character-publish-panel .primary-button{margin-top:var(--ds-space-2);justify-content:center}.audio-studio-step{max-width:1050px}.audio-type-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}.audio-type-cards button{min-height:76px;padding:var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-3);text-align:left;border:var(--ds-border-width) solid var(--ds-line);cursor:pointer}.audio-type-cards button>span{display:grid;gap:var(--ds-space-1)}.audio-type-cards strong{color:#e9e9e9;font-size:11px}.audio-type-cards small{color:#717171;font-size:11px;line-height:1.45}.audio-add-bar{margin:var(--ds-space-3) 0 var(--ds-space-5);padding:var(--ds-space-3) 0;display:flex;align-items:center;gap:var(--ds-space-2);border-bottom:var(--ds-border-width) solid var(--ds-line)}.audio-add-bar label,.audio-add-bar button{min-height:38px;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#ddd;border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised);cursor:pointer}.audio-add-bar label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.audio-add-bar small{margin-left:auto;color:#686868;font-size:11px}.audio-workspace{min-height:430px;display:grid;grid-template-columns:255px minmax(0,1fr);border:var(--ds-border-width) solid var(--ds-line)}.audio-workspace>aside{padding:var(--ds-space-2);display:grid;align-content:start;gap:var(--ds-space-1);border-right:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.audio-workspace>aside>button{min-width:0;padding:var(--ds-space-2);display:grid;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:var(--ds-space-2);text-align:left;border:var(--ds-border-width) solid transparent;cursor:pointer}.audio-workspace>aside>button>span:nth-child(2){min-width:0;display:grid;gap:var(--ds-space-1)}.audio-workspace>aside strong,.audio-workspace>aside small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-workspace>aside strong{color:#e4e4e4;font-size:11px}.audio-workspace>aside small{color:#696969;font-size:11px}.audio-kind{width:32px;height:32px;display:grid;place-items:center;color:#e9b650;background:var(--ds-surface-input)}.audio-kind.voice{color:#72a6e6;background:var(--ds-surface-input)}.audio-editor{padding:var(--ds-space-6)}.audio-editor>header{margin-bottom:var(--ds-space-5);padding-bottom:var(--ds-space-3);display:flex;align-items:center;justify-content:space-between;border-bottom:var(--ds-border-width) solid var(--ds-line)}.audio-editor>header div{display:grid;gap:var(--ds-space-1)}.audio-editor>header span{color:#e65349;font-size:11px;font-weight:750;letter-spacing:.12em}.audio-editor>header strong{font-size:16px}.audio-control-row{margin-top:var(--ds-space-4);padding-top:var(--ds-space-4);display:flex;align-items:end;gap:var(--ds-space-2);border-top:var(--ds-border-width) solid var(--ds-line)}.audio-control-row label{min-width:210px;display:grid;gap:var(--ds-space-2);color:#888;font-size:11px}.audio-control-row button{min-height:36px;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;gap:var(--ds-space-1);cursor:pointer}.audio-rule-note strong{color:#d8d8d8;font-size:11px}.audio-rule-note p{margin:var(--ds-space-1) 0 0;color:#777;font-size:11px;line-height:1.55}.audio-empty{min-height:280px}@media(max-width:900px){.character-media-grid,.character-test-layout,.audio-workspace{grid-template-columns:1fr}.audio-workspace>aside{border-right:0;border-bottom:var(--ds-border-width) solid var(--ds-line)}.audio-type-cards{grid-template-columns:1fr}.audio-add-bar{align-items:stretch;flex-direction:column}.audio-add-bar small{margin-left:0}}@media(max-width:620px){.character-ai-callout,.audio-control-row{align-items:stretch;flex-direction:column}.character-media-grid{border:0;gap:var(--ds-space-3);background:transparent}.character-media-grid>section{padding:var(--ds-space-4)}}.logo-dot:before,.logo-dot:after,.waku-beat:before,.waku-beat:after{border-color:var(--ds-line),.64)}.detail-toggle:hover,.detail-toggle.active{color:var(--red);border-color:var(--ds-accent);background:var(--ds-surface-input-hover);color:#fff;border-color:var(--red);border-color:var(--ds-line),.42);background:var(--ds-surface-input)}.hero h1 em,.ghost-button.saved,.project-format,.project-card small,.creation-kind-grid small,.character-ai-callout>div,.character-media-grid>section>span,.character-publish-panel>span,.audio-editor>header span,.protagonist-handoff b{color:var(--accent-soft)}.primary-button{border:var(--ds-border-width) solid var(--red);background:var(--red);box-shadow:none;color:#241918;box-shadow:0 8px 24px rgba(var(--accent-rgb),.14)}.ghost-button.saved{color:#ffd4cb;border-color:var(--ds-accent);border-color:var(--ds-line),.52);background:var(--ds-accent-wash)}.mywork-tabs button.active span{color:#e7776d;color:#efa39b}.new-project-mark{width:64px;height:64px;display:grid;place-items:center;justify-self:center;color:#fff6ee;border-radius:50%;background:var(--red);font-family:var(--font-display);font-size:24px;box-shadow:0 0 0 7px #e04b3f1a;color:#fff;box-shadow:0 0 0 7px rgba(var(--accent-rgb),.1)}.creation-kind-grid>button:hover,.creation-format-grid>button:hover,.creation-format-grid>button.active{--creation-kind-art-filter: brightness(1.04) saturate(1.08);--creation-kind-copy-background: var(--color-waku-choice-hover);--creation-kind-copy-color: var(--ds-accent-strong);--creation-kind-title-color: var(--ds-accent-strong)}.relationship-canvas svg g.active line{stroke:#e04b3f;stroke-width:.6;stroke:var(--red)}.relationship-node.linking{border-color:var(--red);box-shadow:0 0 0 3px #e04b3f26;box-shadow:0 0 0 3px rgba(var(--accent-rgb),.14)}.relationship-edge-editor .remove-relation{height:34px;color:#d7857e;border:var(--ds-border-width) solid var(--ds-accent);border-radius:5px;background:var(--ds-canvas-raised);cursor:pointer;color:var(--accent-soft);border-color:var(--ds-accent);background:var(--ds-surface-input)}.story-studio-shell .field-label em.required{color:var(--accent-soft);color:#ddb1ac;background:var(--ds-surface-input)}.character-ai-callout button{min-height:36px;padding:0 var(--ds-space-3);border:var(--ds-border-width) solid var(--ds-accent);border-radius:4px;cursor:pointer;border-color:var(--ds-accent)}.character-test-phone main .user-bubble{align-self:flex-end;color:#fff;background:var(--ds-accent)}.audio-kind.music{color:#ee6a61;color:var(--accent-soft);background:var(--ds-surface-input)}.audio-editor>header button{width:35px;height:35px;display:grid;place-items:center;color:#9b5b57;cursor:pointer;color:#c76a96}.audio-rule-note{margin-top:var(--ds-space-4);padding:var(--ds-space-3) var(--ds-space-4);border-left:2px solid var(--ds-accent);border-left-color:var(--red);background:var(--ds-canvas-raised)}.story-studio-shell .genre-builder,.story-studio-shell .example-library,.story-studio-shell .rule-guide,.story-studio-shell .style-comparison,.story-studio-shell .thought-access-panel,.story-studio-shell .reader-style-panel,.story-studio-shell .publish-access-panel{border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.genre-builder{padding:var(--ds-space-4);display:grid;gap:var(--ds-space-3);border-radius:7px}.genre-builder>div:first-child,.genre-builder>.genre-choice-row+div{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-3)}.genre-builder small{color:#7e7e7e;font-size:11px;line-height:1.5}.genre-choice-row{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:var(--ds-space-2)}.genre-choice-row button{min-height:35px;padding:0 var(--ds-space-3);color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);cursor:pointer;font-size:11px}.genre-choice-row button:hover{color:#fff;border-color:var(--ds-line)}.genre-choice-row button.active{color:#fff}.genre-choice-row button.primary{box-shadow:inset 3px 0 0 var(--red)}.genre-choice-row button:disabled{cursor:not-allowed;opacity:.42}.genre-selection-summary b{color:#777;font-size:11px}.genre-selection-summary span,.genre-selection-summary em{padding:var(--ds-space-1) var(--ds-space-2);color:#eee;border:var(--ds-border-width) solid var(--ds-line);border-radius:4px;background:var(--ds-canvas-raised);font-size:11px;font-style:normal}.genre-selection-summary span{color:var(--accent-soft);border-color:var(--ds-accent)}.example-library,.rule-guide,.style-comparison{padding:var(--ds-space-4);display:grid;gap:var(--ds-space-3);border-radius:7px}.example-library>div:first-child,.rule-guide>div:first-child{display:grid;gap:var(--ds-space-1)}.example-library>div:first-child strong,.rule-guide>div:first-child strong{color:#eee;font-size:11px}.example-library>div:first-child span,.rule-guide>div:first-child span{color:#7d7d7d;font-size:11px;line-height:1.5}.example-library>div:last-child,.rule-guide>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}.example-library button,.rule-guide button{min-height:150px;padding:var(--ds-space-3);display:flex;flex-direction:column;align-items:flex-start;text-align:left;color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised);cursor:pointer}.example-library button:hover,.rule-guide button:hover{border-color:var(--ds-line),.58);background:var(--ds-canvas-raised)}.example-library button b,.rule-guide button b{color:var(--accent-soft);font-size:11px}.example-library button p{flex:1;margin:var(--ds-space-2) 0;font-size:11px;line-height:1.65}.example-library button small,.rule-guide button small{margin-top:auto;color:#777;font-size:11px}.rule-guide>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-guide button{min-height:112px}.rule-guide button>span{margin:var(--ds-space-2) 0;font-size:11px;line-height:1.55}.style-comparison>div:first-child{display:grid;gap:var(--ds-space-1)}.style-comparison>div:first-child p{margin:0;color:#888;font-size:11px}.style-comparison>div:first-child small{color:#b1b1b1;font-size:11px}.style-comparison>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-2)}.style-comparison button{min-height:116px;padding:var(--ds-space-3) var(--ds-space-3);display:grid;align-content:start;gap:var(--ds-space-1);text-align:left;color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);cursor:pointer}.style-comparison button>span{color:var(--accent-soft);font-size:11px;font-weight:750;letter-spacing:.08em}.style-comparison button strong{color:#f2f2f2;font-size:11px}.style-comparison button p{margin:var(--ds-space-1) 0 0;color:#aaa;font-family:var(--font-story);font-size:11px;line-height:1.75}.viewpoint-note{margin:0;padding:var(--ds-space-3) var(--ds-space-3);color:#9a9a9a;border-left:2px solid var(--red);background:var(--ds-canvas-raised);font-size:11px;line-height:1.6}.viewpoint-note b{margin-right:var(--ds-space-2);color:var(--accent-soft)}.story-studio-shell .thought-access-panel>div:first-child p{color:#8d8d8d}.story-studio-shell .thought-access-panel>div:first-child p b{color:var(--accent-soft)}.story-studio-shell .thought-mode-grid button.active{color:#fff}.thought-mode-grid button>i{min-height:10px;color:var(--accent-soft);font-size:11px;font-style:normal}.story-studio-shell .thought-mode-grid span{color:#838383}.thought-format label>small{color:var(--accent-soft);font-size:11px}.story-studio-shell .studio-info,.story-studio-shell .start-setup-guide,.story-studio-shell .protagonist-handoff{color:#aaa;border-color:var(--red);background:var(--ds-canvas-raised)}.story-studio-shell .studio-info p,.story-studio-shell .start-setup-guide span{color:#888}.story-studio-shell .start-setup-examples>div{border-color:var(--ds-line);background:var(--ds-canvas-raised)}.story-studio-shell .start-setup-examples p{color:#888}.player-mode-copy{min-width:0;display:grid;align-content:center;gap:var(--ds-space-1);text-align:left}.player-mode-copy>i{width:max-content;min-width:36px;padding:var(--ds-space-1) var(--ds-space-1);color:#c9c9c9;border:var(--ds-border-width) solid var(--ds-line);border-radius:3px;background:var(--ds-surface-input);font-size:11px;font-style:normal}.player-mode-grid button.active .player-mode-copy>i{color:#1b1514}.secret-flow-explainer{margin-top:var(--ds-space-3);padding:var(--ds-space-3) var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-2);color:#8e8e8e;border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised);font-size:11px}.secret-flow-explainer span{display:flex;align-items:center;gap:var(--ds-space-1)}.secret-flow-explainer b{color:var(--accent-soft)}.secret-flow-explainer i{width:18px;height:1px;background:var(--ds-surface-input-hover)}.story-studio-shell .studio-empty-state>strong{color:#eee}.story-studio-shell .studio-empty-state>button,.story-studio-shell .studio-empty-state>div:not(.character-ai-panel)>button{color:var(--accent-soft);border-color:var(--ds-accent);background:var(--ds-surface-input)}.story-studio-shell .protagonist-candidate-grid>button,.story-studio-shell .relationship-character-list>button{color:#eee;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.story-studio-shell .reader-style-modes button,.story-studio-shell .ai-policy-modes button{color:#999;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.story-studio-shell .reader-style-modes button.active,.story-studio-shell .ai-policy-modes button.active{color:#fff}.story-studio-shell .reader-style-modes span,.story-studio-shell .ai-policy-modes span{color:#818181}.story-studio-shell .reader-style-options{background:var(--ds-canvas-raised)}.story-studio-shell .reader-style-options>span{color:#aaa}.story-studio-shell .reader-style-options button{color:#aaa;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.story-studio-shell .reader-style-options button.active{color:var(--accent-soft)}.story-studio-shell .ai-permission-grid>button{color:#888;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.story-studio-shell .ai-permission-grid>button.enabled{color:#fff}.story-studio-shell .ai-permission-grid span{color:#777}.publish-access-panel>div:first-child{display:grid;gap:var(--ds-space-1)}.publish-access-panel>div:first-child>span{color:var(--red);font-size:11px;font-weight:800;letter-spacing:.14em}.publish-access-panel>div:first-child>strong{color:#eee;font-size:13px}.publish-access-panel>div:first-child>p{max-width:720px;margin:0;color:#8a8a8a;font-size:11px;line-height:1.6}.publish-access-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}.publish-access-options button,.publish-access-options>div{min-height:68px;padding:var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-2);text-align:left;color:#777;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised)}.publish-access-options button.active,.publish-access-options>div.active{color:var(--accent-soft)}.publish-access-options button:disabled{opacity:.52}.publish-access-options :is(button,div) span{display:grid;gap:var(--ds-space-1)}.publish-access-options :is(button,div) strong{color:#ddd;font-size:11px}.publish-access-options :is(button,div) small{color:#777;font-size:11px}.creator-apply-link{width:max-content;min-height:34px;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;gap:var(--ds-space-1);color:var(--accent-soft);border:var(--ds-border-width) solid var(--ds-accent);background:var(--ds-surface-input);cursor:pointer}@media(max-width:900px){.example-library>div:last-child{grid-template-columns:1fr}.rule-guide>div:last-child,.style-comparison>div:last-child{grid-template-columns:1fr}.publish-access-options{grid-template-columns:1fr}.secret-flow-explainer{align-items:flex-start;flex-direction:column}.secret-flow-explainer i{width:1px;height:9px;margin-left:var(--ds-space-1)}}@media(max-width:620px){.genre-builder>div:first-child,.genre-builder>.genre-choice-row+div{align-items:flex-start;flex-direction:column}}.story-studio-shell :is(.locked-viewpoint,.thought-format,.studio-info,.reader-option-grid>button,.studio-asset-picker,.cast-editor-grid>button,.character-detail-form,.character-ai-panel,.studio-empty-state,.start-setup-guide,.start-setup-examples>div,.start-setting-editor,.character-look-library>button,.character-look-editor,.look-trigger-rule,.expression-set button,.system-preset-grid button,.player-mode-grid button,.protagonist-candidate-grid>button,.relationship-character-list>button,.reader-style-panel,.reader-style-options,.custom-player-rules,.growth-system-panel,.relationship-system-panel,.item-system-panel,.skill-builder,.skill-builder article,.item-library,.item-editor,.ending-preset-grid button,.ending-rule-builder,.ending-library>button,.ending-editor,.stat-library,.stat-editor,.background-library>button,.background-rule-editor,.background-condition,.ai-policy-modes button,.ai-permission-grid>button,.scene-builder-steps,.scene-library,.scene-form-card,.scene-timeline,.timeline-track>button,.unlock-gallery article,.cg-create-panel,.generation-policy,.publish-checklist,.publish-taxonomy,.publish-feedback){color:#dedede;border-color:var(--ds-line);background:var(--ds-canvas-raised);box-shadow:none}.story-studio-shell :is(.reader-option-grid>button.enabled,.character-look-library>button.active,.expression-set button.ready,.system-preset-grid button.active,.ending-preset-grid button.active,.item-library button.active,.stat-library button.active,.scene-library button.active,.timeline-track>button.active){color:#fff}.story-studio-shell :is(.character-detail-form,.character-ai-panel,.start-setting-editor,.character-look-editor,.custom-player-rules,.item-editor,.ending-editor,.stat-editor,.background-rule-editor,.scene-form-card,.cg-create-panel) :is(input,select,textarea){color:#ededed;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.story-studio-shell :is(.character-detail-form,.character-ai-panel,.start-setting-editor,.character-look-editor,.custom-player-rules,.item-editor,.ending-editor,.stat-editor,.background-rule-editor,.scene-form-card,.cg-create-panel) :is(input,textarea)::placeholder{color:#717171;opacity:1}.story-studio-shell :is(.thought-access-panel,.reader-style-panel,.publish-access-panel,.genre-builder,.example-library,.rule-guide,.style-comparison){color:#e5e5e5;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.story-studio-shell :is(.studio-main-head,.studio-form-grid,.studio-section) small,.story-studio-shell :is(.studio-main-head,.studio-form-grid,.studio-section) p,.story-studio-shell :is(.studio-main-head,.studio-form-grid,.studio-section) em{color:#8a8a8a}.story-studio-shell :is(.field-label,label,legend){color:#d4d4d4}.story-studio-shell :is(.field-label,label)>small{color:#7f7f7f}.story-studio-shell .primary-button,.story-studio-shell button.next{color:#171211;border-color:var(--red);background:var(--red);box-shadow:none}.story-studio-shell .primary-button:hover,.story-studio-shell button.next:hover{background:var(--accent-hover)}.story-studio-shell .locked-style-rules b,.story-studio-shell .locked-viewpoint>b{color:#e5e5e5;border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-surface-input)}html,body,#root{background:var(--surface-0)}::selection{color:#171211;background:var(--red)}input,textarea,select,option{color:var(--text-strong);border-color:var(--ds-line);background-color:var(--surface-2)}.story-studio-shell select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:var(--ds-space-8);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b7b0ae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;background-size:12px}.story-studio-shell .studio-footer{margin-top:var(--ds-space-8);padding-top:var(--ds-space-5);border-top-color:var(--ds-line);padding:var(--ds-space-5) var(--ds-space-3) var(--ds-space-1)}.story-studio-shell .studio-footer button{min-width:92px;justify-content:center}.story-studio-shell .thought-access-panel{padding:var(--ds-space-4);padding:0 0 var(--ds-space-4);border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.story-studio-shell .thought-mode-grid{gap:0;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;overflow:hidden}.story-studio-shell .thought-mode-grid button{position:relative;color:#999;border-color:var(--ds-line);min-height:60px;border:0;border-right:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:var(--ds-canvas-raised);box-shadow:none}.story-studio-shell .thought-mode-grid button:last-child{border-right:0}.story-studio-shell .thought-format{background:var(--ds-canvas-raised);grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr);gap:var(--ds-space-3);padding:var(--ds-space-3) 0 0;background:transparent}.story-studio-shell .thought-format label{color:#aaa;align-content:start}.story-studio-shell .thought-format input,.story-studio-shell .thought-format select{min-height:42px}.response-example-editor{padding:var(--ds-space-4) 0;border-top:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line)}.response-example-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--ds-space-4)}.response-example-editor>header>div{display:grid;gap:var(--ds-space-1)}.response-example-editor>header small{max-width:680px;color:#858585;font-size:11px;line-height:1.55}.response-example-editor>header>button,.item-empty-line button,.item-library .add-item,.item-editor-head>button{min-height:32px;padding:0 var(--ds-space-2);display:inline-flex;align-items:center;gap:var(--ds-space-1);color:var(--accent-soft);border:var(--ds-border-width) solid var(--ds-accent);border-radius:5px;background:transparent;cursor:pointer;font-size:11px}.response-example-editor>article{position:relative;margin-top:var(--ds-space-3);padding-top:var(--ds-space-3);display:grid;grid-template-columns:1fr 1fr;gap:var(--ds-space-3);border-top:var(--ds-border-width) solid var(--ds-line)}.response-example-editor>article label{display:grid;gap:var(--ds-space-2);color:#aaa;font-size:11px}.response-example-editor>article textarea{min-height:110px;padding:var(--ds-space-3);color:#eee;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised);resize:vertical}.response-example-editor>article>button{position:absolute;top:8px;right:0;color:#999;border:0;background:transparent;cursor:pointer}.story-studio-shell .start-setting-editor{padding:0;border:0;background:transparent}.opening-copy-field textarea{min-height:190px}.opening-system-note{margin:var(--ds-space-1) 0 0;padding:var(--ds-space-3) 0;color:#8b8b8b;border-top:var(--ds-border-width) solid var(--ds-line);font-size:11px;line-height:1.55}.opening-system-note b{margin-right:var(--ds-space-2);color:#d9d9d9;font-size:11px}.story-studio-shell .growth-system-panel,.story-studio-shell .item-system-panel{margin-top:var(--ds-space-6);padding:var(--ds-space-5) 0 0;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.stat-template-select{margin:var(--ds-space-3) 0 var(--ds-space-1);display:grid;grid-template-columns:120px minmax(0,360px);align-items:center;gap:var(--ds-space-3);color:#aaa;font-size:11px}.stat-template-select select{height:40px;color:#eee;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background-color:var(--ds-canvas-raised)}.story-studio-shell .status-preview{margin-top:var(--ds-space-3);grid-template-columns:150px 1fr;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.story-studio-shell .status-preview>div:first-child{padding:var(--ds-space-3) 0;border:0;background:transparent}.story-studio-shell .status-preview>div:first-child strong{font-size:12px}.story-studio-shell .status-preview>div:last-child{padding:var(--ds-space-2) 0}.story-studio-shell .skill-builder,.story-studio-shell .stat-library,.story-studio-shell .item-library,.story-studio-shell .item-editor{padding:var(--ds-space-3) 0;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.story-studio-shell .skill-builder>div:last-child{flex-wrap:wrap}.story-studio-shell .skill-builder article{min-width:190px;padding:var(--ds-space-2) var(--ds-space-2);border-radius:4px;background:var(--ds-canvas-raised)}.story-studio-shell .stat-library button{min-width:126px;min-height:54px;border-radius:4px;background:var(--ds-canvas-raised)}.item-library>div:first-child{display:flex;align-items:baseline;gap:var(--ds-space-2);justify-content:space-between}.item-library>div:last-child{margin-top:var(--ds-space-2);display:flex;gap:var(--ds-space-2);overflow-x:auto;scrollbar-width:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:0;overflow:visible;border-top:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .item-library>div:last-child>button{min-width:0;min-height:58px;padding:var(--ds-space-2);grid-template-columns:42px 1fr;align-items:center;gap:var(--ds-space-2);border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.item-library .cover-art{width:42px;height:42px;border-radius:4px}.item-library button>span{min-width:0;display:grid;gap:var(--ds-space-1)}.item-library button>span em{overflow:hidden;color:#747474;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.item-editor-head{padding:var(--ds-space-3) 0;display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);border-top:var(--ds-border-width) solid var(--ds-line)}.item-editor-head>div{display:flex;align-items:center;gap:var(--ds-space-2)}.item-editor-head .cover-art{width:46px;height:46px;border-radius:5px}.item-editor-head span{display:grid;gap:var(--ds-space-1)}.item-editor-head small{color:var(--accent-soft);font-size:11px}.item-editor-head strong{color:#eee;font-size:11px}.item-media-editor{padding:var(--ds-space-4) 0 0;border-top:var(--ds-border-width) solid var(--ds-line)}.item-media-editor>div:first-child{display:grid;gap:var(--ds-space-1);margin-bottom:var(--ds-space-2)}.item-media-editor>div:first-child small{color:#818181;font-size:11px}.item-media-editor .studio-asset-picker{border:0;background:transparent}.item-empty-line{padding:var(--ds-space-4) 0;display:flex;align-items:center;justify-content:space-between;color:#858585;border-top:var(--ds-border-width) solid var(--ds-line);font-size:11px}@media(max-width:720px){.story-studio-shell .thought-format,.response-example-editor>article{grid-template-columns:1fr}.stat-template-select{grid-template-columns:1fr}}.story-studio-shell .system-setting-step .system-preset-grid>button,.story-studio-shell .system-setting-step .system-preset-grid>button:nth-last-child(-n+2){position:relative;min-height:auto;padding:var(--ds-space-1) 0 var(--ds-space-1) var(--ds-space-4);border:0;background:transparent}.story-studio-shell .system-setting-step .system-preset-grid>button:before{content:"";position:absolute;top:10px;left:0;width:5px;height:5px;border-radius:50%;background:var(--ds-surface-input-hover)}.story-studio-shell .system-setting-step .system-preset-grid>button:hover,.story-studio-shell .system-setting-step .system-preset-grid>button.active,.story-studio-shell .system-setting-step .system-preset-grid>button[aria-pressed=true]{border:0;background:transparent}.story-studio-shell .system-setting-step .system-preset-grid>button.active strong,.story-studio-shell .system-setting-step .system-preset-grid>button[aria-pressed=true] strong{color:#f0c0bb}.story-studio-shell .system-setting-step .studio-disclosure,.story-studio-shell .system-setting-step .studio-disclosure-growth{margin-top:var(--ds-space-7);border:0}.story-studio-shell .system-setting-step .studio-disclosure+.studio-disclosure{margin-top:var(--ds-space-4)}.story-studio-shell .system-setting-step .studio-disclosure-trigger:hover,.story-studio-shell .system-setting-step .studio-disclosure.open .studio-disclosure-trigger{background:transparent}.story-studio-shell .system-setting-step :is(.status-preview,.skill-builder,.item-library,.item-editor-head,.item-media-editor,.relationship-character-list),.story-studio-shell .system-setting-step .stat-library>div:last-child,.story-studio-shell .system-setting-step .item-library>div:last-child{border:0}.story-studio-shell .system-setting-step .skill-builder>div:last-child{margin-top:var(--ds-space-3);align-items:center;gap:var(--ds-space-4)}.story-studio-shell .system-setting-step .skill-builder article,.story-studio-shell .system-setting-step .skill-builder article.active{min-width:0;padding:0;border:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .skill-builder article.active strong{color:#f0c0bb}.story-studio-shell .system-setting-step .skill-builder>div:last-child>button,.story-studio-shell .system-setting-step .stat-library button.add-stat,.story-studio-shell .system-setting-step .item-library button.add-item{min-width:0;min-height:auto;padding:var(--ds-space-1) 0;border:0;background:transparent;color:#c9c3c0;text-decoration:none}.story-studio-shell .system-setting-step .skill-builder>div:last-child>button:hover,.story-studio-shell .system-setting-step .stat-library button.add-stat:hover,.story-studio-shell .system-setting-step .item-library button.add-item:hover{color:#f0c0bb}.story-studio-shell .system-setting-step .stat-library{padding-top:var(--ds-space-6)}.story-studio-shell .system-setting-step .stat-library>div:first-child{margin-bottom:var(--ds-space-4)}.story-studio-shell .system-setting-step .stat-library>div:last-child>button,.story-studio-shell .system-setting-step .stat-library>div:last-child>button:hover,.story-studio-shell .system-setting-step .stat-library>div:last-child>button.active{min-width:0;min-height:auto;padding:0;border:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .stat-library>div:last-child>button.active strong{color:#f0c0bb}.story-studio-shell .system-setting-step .stat-library>div:last-child>button.active small,.story-studio-shell .system-setting-step .stat-library>div:last-child>button.active span{color:#a7a09d}.story-studio-shell .system-setting-step .status-preview>div:last-child>span{border:0}@media(max-width:720px){.story-studio-shell .system-setting-step .system-preset-grid>button,.story-studio-shell .system-setting-step .system-preset-grid>button:nth-last-child(-n+2){border:0}}.story-studio-shell .system-setting-step .skill-builder-head{margin:0;display:flex;align-items:flex-start;justify-content:space-between;gap:var(--ds-space-6)}.story-studio-shell .system-setting-step .skill-builder-head>div{min-width:0;display:grid;gap:var(--ds-space-1)}.story-studio-shell .system-setting-step .skill-builder-head>div>span,.story-studio-shell .system-setting-step .skill-editor-head>div>span{color:#dca09b;font-size:11px;font-weight:760;line-height:1.3;letter-spacing:.11em}.story-studio-shell .system-setting-step .skill-builder-head>div>strong{color:#f3efec;font-size:16px;font-weight:720;line-height:1.45}.story-studio-shell .system-setting-step .skill-builder-head>div>p{margin:0;color:#918b88;font-size:12px;line-height:1.65}.story-studio-shell .system-setting-step .skill-add-action{width:auto;min-width:0;min-height:32px;margin:var(--ds-space-1) 0 0;padding:var(--ds-space-1) 0;display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--ds-space-2);color:#e8bbb6;font-size:12px;font-weight:680;line-height:1.35;white-space:nowrap;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .skill-add-action:hover{color:#fff0ed}.story-studio-shell .system-setting-step .skill-list{margin:var(--ds-space-5) 0 0;display:grid;gap:0;border:0;border-top:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .system-setting-step .skill-list-item,.story-studio-shell .system-setting-step .skill-list-item:hover,.story-studio-shell .system-setting-step .skill-list-item.active{width:100%;min-width:0;min-height:64px;padding:var(--ds-space-3) var(--ds-space-1);display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:var(--ds-space-3);text-align:left;color:#b8b2af;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .skill-list-item.active{color:#efb0aa}.story-studio-shell .system-setting-step .skill-list-index{color:#6f6966;font-size:11px;font-variant-numeric:tabular-nums}.story-studio-shell .system-setting-step .skill-list-item.active .skill-list-index{color:#dca09b}.story-studio-shell .system-setting-step .skill-list-copy{min-width:0;display:grid;gap:var(--ds-space-1)}.story-studio-shell .system-setting-step .skill-list-copy>strong{overflow:hidden;color:#e9e4e1;font-size:13px;font-weight:680;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .system-setting-step .skill-list-copy>small{overflow:hidden;color:#85807d;font-size:11px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .system-setting-step .skill-list-item.active .skill-list-copy>strong{color:#f2c2bd}.story-studio-shell .system-setting-step .skill-list-item>svg{color:#5d5855}.story-studio-shell .system-setting-step .skill-list-item.active>svg{color:#dca09b}.story-studio-shell .system-setting-step .skill-empty-copy{margin:var(--ds-space-4) 0 0;padding:var(--ds-space-3) 0 0;display:grid;gap:var(--ds-space-1);border:0;border-top:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .system-setting-step .skill-empty-copy>strong{color:#aaa4a1;font-size:12px;font-weight:650}.story-studio-shell .system-setting-step .skill-empty-copy>span{color:#736e6b;font-size:11px;line-height:1.55}.story-studio-shell .system-setting-step .skill-editor{width:min(100%,920px);margin:var(--ds-space-7) 0 0;padding:0;border:0;background:transparent}.story-studio-shell .system-setting-step .skill-editor-head{margin:0 0 var(--ds-space-5);display:flex;align-items:flex-end;justify-content:space-between;gap:var(--ds-space-5)}.story-studio-shell .system-setting-step .skill-editor-head>div{min-width:0;display:grid;gap:var(--ds-space-1)}.story-studio-shell .system-setting-step .skill-editor-head>div>strong{overflow:hidden;color:#f3efec;font-size:15px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .system-setting-step .skill-editor-head>button{width:auto;min-width:0;min-height:30px;padding:var(--ds-space-1) 0;display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#978f8b;font-size:11px;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .skill-editor-head>button:hover{color:#eda8a2}@media(max-width:720px){.story-studio-shell .system-setting-step .skill-builder-head{display:grid;gap:var(--ds-space-2)}.story-studio-shell .system-setting-step .skill-add-action{justify-self:start}.story-studio-shell .system-setting-step .skill-list-item{grid-template-columns:28px minmax(0,1fr) 18px;gap:var(--ds-space-2)}}.character-card{min-width:0;display:grid;grid-template-columns:1fr;min-height:0;overflow:visible;border:0;border-radius:var(--ds-radius-media);background:transparent;width:100%;padding:0;color:var(--text-strong);text-align:left;font:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:background-color .18s ease,transform .18s ease}.character-card:focus-visible{outline:2px solid var(--accent-soft);outline-offset:3px}.character-card .character-visual{display:block;min-height:0;aspect-ratio:4 / 5;overflow:hidden;background:var(--ds-canvas-raised)}.character-card-copy{min-width:0;padding:var(--ds-space-3) var(--ds-space-1) 0;display:block}.character-card-copy>span{display:block;overflow:hidden;color:var(--accent-soft);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;letter-spacing:.04em}.character-card-copy>strong{margin:var(--ds-space-2) 0 var(--ds-space-1);display:block;color:#f1efed;font-size:20px;line-height:1.25}.character-card-copy p{margin:0 0 var(--ds-space-3);color:var(--text-muted);font-size:12px;line-height:1.5}.character-card-copy small{color:#817c79;font-size:11px}.dialog-content{padding:var(--ds-space-10) var(--ds-space-9);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow-y:auto}.dialog-meta{margin:0 0 var(--ds-space-4);display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-1);gap:var(--ds-space-1) var(--ds-space-3)}.dialog-meta span{min-height:24px;padding:0 var(--ds-space-2);display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#bcbcbc;border:var(--ds-border-width) solid var(--ds-line);border-radius:4px;background:var(--ds-canvas-raised);min-height:auto;padding:0;color:#97918e;border:0;background:transparent;font-size:11px}.story-intro-preview{width:100%;margin:var(--ds-space-6) 0 var(--ds-space-6);padding-left:var(--ds-space-4);border-left:2px solid var(--accent-soft)}.story-intro-preview>span{color:var(--accent-soft);font-size:11px;font-weight:700}.story-intro-preview>p{margin:var(--ds-space-2) 0 0;color:#d2cecb;font-size:13px;line-height:1.65}.character-profile-line{width:100%;margin:var(--ds-space-5) 0 var(--ds-space-2);display:flex;flex-wrap:wrap;gap:var(--ds-space-2) var(--ds-space-4);color:#8f8986;font-size:11px}.character-intro-preview{position:relative;width:100%;margin-top:var(--ds-space-4);padding:var(--ds-space-4) var(--ds-space-8) var(--ds-space-4) 0;color:inherit;text-align:left;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line);background:transparent;cursor:pointer}.character-intro-preview>span{color:var(--accent-soft);font-size:11px;font-weight:700}.character-intro-preview>p{margin:var(--ds-space-2) 0 0;color:#e5e1de;font-size:13px;line-height:1.6}.character-intro-preview>svg{position:absolute;top:50%;right:4px;color:#9a9491;transform:translateY(-50%);transition:transform .16s ease,color .16s ease}.character-intro-preview:hover>svg{color:var(--accent-soft);transform:translate(3px,-50%)}@media(max-width:720px){.character-card{grid-template-columns:1fr}}.mywork-tabs{position:sticky;z-index:19;display:flex;align-items:center;padding-top:var(--ds-space-5);border-bottom:var(--ds-border-width) solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);top:72px;min-height:58px;gap:var(--ds-space-7);padding:0;border-color:var(--ds-line);min-height:46px;margin-top:0;padding:0 0 var(--ds-space-2);gap:var(--ds-space-6);border:0;background:var(--ds-surface-glass)}.mywork-tabs>small{margin-right:auto;color:#8c8378;font-weight:800;letter-spacing:.16em;color:#756f67;font-size:11px;letter-spacing:.2em;color:#8f8882;letter-spacing:.18em}.mywork-tabs button{position:relative;padding:0 var(--ds-space-1) var(--ds-space-3);color:#898178;border:0;background:transparent;cursor:pointer;font-size:12px;font-weight:650;height:58px;padding:var(--ds-space-1) 0 0;color:#7e7a75;font-size:13px;font-weight:600;height:44px;min-height:44px;padding:0}.my-projects{display:grid;gap:var(--ds-space-3);gap:0;gap:var(--ds-space-2)}.my-projects .project-card{border:0}.project-facts{display:flex;flex-wrap:wrap;gap:var(--ds-space-1) var(--ds-space-3);margin:0 0 var(--ds-space-3)}.project-facts p{margin:0}.project-facts p>span{color:#df958d;font-size:11px;font-weight:750;letter-spacing:.08em}.project-facts .project-reach{color:#c4beb8}.story-studio-shell :is(.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-note-layout,.response-example-editor,.audio-editor,.ending-editor,.cg-create-panel,.publish-required,.publish-option-summary,.publish-feedback,.publish-access-panel,.publish-taxonomy){border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-note-layout,.response-example-editor,.audio-editor,.ending-editor,.cg-create-panel){padding:var(--ds-space-6) 0}.story-studio-shell :is(.studio-info,.viewpoint-note,.opening-system-note,.generation-rules,.background-condition,.audio-rule-note,.secret-flow-explainer,.player-mode-copy,.genre-selection-summary){margin:var(--ds-space-4) 0 0;padding:0;color:#918c89;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.studio-info,.viewpoint-note,.opening-system-note,.generation-rules,.background-condition,.audio-rule-note,.secret-flow-explainer) :is(strong,b,span:first-child){color:#d5d0cd}.story-studio-shell .studio-empty-state,.story-studio-shell .system-setting-step>.studio-empty-state{min-height:0;padding:var(--ds-space-7) 0;color:#8f8a87;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .studio-empty-state>:is(strong,p){max-width:620px}.story-studio-shell .publish-studio.compact-publish{max-width:880px;padding:0 var(--ds-space-5) var(--ds-space-9);gap:0}.story-studio-shell :is(.publish-required,.publish-option-summary){padding:var(--ds-space-8) 0}.story-studio-shell .publish-required-list,.story-studio-shell .publish-option-summary>div:last-child{margin-top:0;grid-template-columns:1fr;gap:0}.story-studio-shell .publish-required-list>div.complete>span{background:var(--accent-soft)}.story-studio-shell .publish-option-summary>div:last-child>button:hover{color:#fff;background:transparent}.story-studio-shell .studio-section-copy{margin-bottom:var(--ds-space-6)}@media(max-width:720px){.story-studio-shell .publish-studio.compact-publish{padding-inline:var(--ds-space-1)}.story-studio-shell :is(.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-note-layout,.response-example-editor,.audio-editor,.ending-editor,.cg-create-panel){padding-block:var(--ds-space-5)}}.story-studio-shell .studio-section-copy+:is(.studio-form-grid,.genre-builder,.player-mode-grid,.cast-workspace,.system-setting-step){margin-top:0}.story-studio-shell :is(.cast-editor-grid>button>div,.character-look-library>button>div,.background-library>button>div,.background-rule-preview,.item-library>div:last-child>button,.item-editor-head>div,.relationship-character-list>button>div,.unlock-gallery article>div,.ending-library>button>div){position:relative;isolation:isolate;overflow:hidden}.story-studio-shell .relationship-character-list>button>div{height:88px}.story-studio-shell .reader-style-panel{margin-top:var(--ds-space-7);padding:var(--ds-space-6) 0 0;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.story-studio-shell .reader-style-modes{margin-top:var(--ds-space-3);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .reader-style-modes>button{min-height:64px;padding:var(--ds-space-2) var(--ds-space-3) var(--ds-space-3);display:grid;align-content:center;gap:var(--ds-space-1);text-align:left;color:#a09b98;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .reader-style-modes>button:hover{background:var(--ds-canvas-raised)}.story-studio-shell .reader-style-modes>button.active{color:#f0edeb}.story-studio-shell .reader-style-modes>button strong{font-size:13px}.story-studio-shell .reader-style-modes>button span{color:#817d7a;font-size:11px}.story-studio-shell .locked-style-rules{color:#858585;display:none}.story-studio-shell .character-detail-form{padding:0;border:0;border-radius:0;background:transparent}.story-studio-shell .character-advanced-toggle{width:100%;min-height:52px;margin-top:var(--ds-space-6);padding:0;color:#d7d2cf;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.story-studio-shell .character-advanced-toggle:hover{background:var(--ds-canvas-raised)}.story-studio-shell .character-advanced-toggle strong{font-size:13px}.story-studio-shell .character-advanced-toggle small{color:#817d7a;font-size:11px}.story-studio-shell .character-advanced-fields{margin:0;padding:0;border:0}.story-studio-shell .character-advanced-fields details{border-bottom:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .character-advanced-fields summary{min-height:58px;padding:var(--ds-space-2) 0;display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);color:#e5e1de;cursor:pointer;list-style:none}.story-studio-shell .character-advanced-fields summary::-webkit-details-marker{display:none}.story-studio-shell .character-advanced-fields summary>span{display:grid;gap:var(--ds-space-1)}.story-studio-shell .character-advanced-fields summary strong{font-size:13px}.story-studio-shell .character-advanced-fields summary small{color:#85807d;font-size:11px}.story-studio-shell .character-advanced-fields details[open] summary svg{transform:rotate(180deg)}.story-studio-shell .character-advanced-fields details>.studio-form-grid{padding:var(--ds-space-1) 0 var(--ds-space-6)}.story-studio-shell .character-advanced-fields textarea{min-height:84px}.story-studio-shell .system-disclosure-nav>.studio-disclosure-growth{margin-top:var(--ds-space-7)}.story-studio-shell .system-setting-step>.growth-system-panel{padding-bottom:var(--ds-space-2)}.story-studio-shell .system-setting-step>.stat-library{padding-top:var(--ds-space-2)}.story-studio-shell .system-setting-step .stat-template-select{margin-top:var(--ds-space-3);display:grid;grid-template-columns:130px minmax(0,420px);align-items:center;gap:var(--ds-space-3)}.story-studio-shell .system-setting-step .stat-template-select>span{color:#d6d1ce;font-size:12px;font-weight:650}.story-studio-shell .system-setting-step .status-preview{margin-top:var(--ds-space-5);padding:var(--ds-space-3) 0}.story-studio-shell .system-setting-step .skill-builder{margin-top:var(--ds-space-6);width:min(100%,760px);margin:var(--ds-space-8) 0 0;padding:0;border:0;background:transparent;margin-top:var(--ds-space-5);padding-top:var(--ds-space-5);border-top:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .system-setting-step .stat-library>div:last-child{align-items:center;gap:var(--ds-space-6);display:flex;flex-wrap:wrap;gap:var(--ds-space-5)}.story-studio-shell .system-setting-step .stat-library>div:last-child>button:not(.add-stat){width:150px;text-align:left}.story-studio-shell .gallery-studio .section-example-panel{margin-bottom:var(--ds-space-2)}.story-studio-shell .unlock-gallery{gap:var(--ds-space-4)}.story-studio-shell .unlock-gallery article{padding:0 0 var(--ds-space-2);border:0;border-radius:0;background:transparent}.story-studio-shell .unlock-gallery article>div{height:118px;border-radius:5px}.story-studio-shell .unlock-gallery article>strong,.story-studio-shell .unlock-gallery article>small,.story-studio-shell .unlock-gallery article>button{margin-left:0;margin-right:0}.story-studio-shell .unlock-gallery article>button{color:#cfa09c}.story-studio-shell .add-gallery{min-height:168px;border:0;border-radius:0;background:var(--ds-canvas-raised)}.story-studio-shell .add-gallery:hover{background:var(--ds-canvas-raised)}.story-studio-shell .cg-create-panel{margin-top:var(--ds-space-6);padding:var(--ds-space-6) 0 0;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.story-studio-shell .studio-asset-picker{margin-top:var(--ds-space-4);padding:0;border:0;background:transparent}.story-studio-shell .asset-gallery-empty{min-height:84px;padding:var(--ds-space-3) 0;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.story-studio-shell .publish-required-list{display:grid;grid-template-columns:1fr;border-top:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .publish-required-list>div>span{width:18px;height:18px;display:grid;place-items:center;color:#111;border-radius:50%;background:var(--ds-surface-input-hover);font-size:11px;font-weight:800}.story-studio-shell .publish-required-list>div>small{color:#77726f;font-size:11px}.story-studio-shell .publish-option-summary>div:last-child{display:grid;grid-template-columns:1fr}.story-studio-shell .publish-option-summary>div:last-child>button em{color:#cda09c;font-size:11px;font-style:normal}.story-studio-shell .publish-access-panel>svg{flex:0 0 auto;margin-top:var(--ds-space-1);color:var(--accent-soft)}.story-studio-shell .publish-access-panel>div{display:grid;gap:var(--ds-space-1)}.story-studio-shell .publish-access-panel strong{color:#ece8e5;font-size:13px}.story-studio-shell .publish-access-panel p{margin:0;color:#918c89;font-size:12px;line-height:1.55}@media(max-width:720px){.story-studio-shell .reader-style-modes{grid-template-columns:1fr}.story-studio-shell .reader-style-modes>button{border-bottom:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .system-setting-step .stat-template-select{grid-template-columns:1fr}}.story-studio-shell :is(.studio-info,.viewpoint-note,.opening-system-note,.generation-rules,.background-condition,.audio-rule-note,.secret-flow-explainer,.player-mode-copy){padding:0;color:#96918e;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.studio-info,.viewpoint-note,.opening-system-note,.generation-rules,.background-condition,.audio-rule-note,.secret-flow-explainer,.player-mode-copy) strong,.story-studio-shell :is(.studio-info,.viewpoint-note,.opening-system-note,.generation-rules,.background-condition,.audio-rule-note,.secret-flow-explainer,.player-mode-copy) b{color:#d8d3d0}.story-studio-shell .studio-info{margin-top:var(--ds-space-2)}.story-studio-shell .opening-system-note{margin-top:var(--ds-space-1);padding-top:var(--ds-space-4);border-top:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .publish-required,.story-studio-shell .publish-option-summary{padding:var(--ds-space-7) 0 var(--ds-space-8)}.story-studio-shell .publish-required>div:first-child,.story-studio-shell .publish-option-summary>div:first-child{margin-bottom:var(--ds-space-5)}.story-studio-shell .publish-required-list>div,.story-studio-shell .publish-option-summary>div:last-child>button{min-height:52px;padding:0 var(--ds-space-1);border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .publish-required-list>div:hover,.story-studio-shell .publish-option-summary>div:last-child>button:hover{background:transparent}.story-studio-shell .publish-required-list>div{flex-direction:initial;min-height:46px;padding:0;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-2);border-bottom:var(--ds-border-width) solid var(--ds-line);padding:0 var(--ds-space-1)}.story-studio-shell .publish-option-summary>div:last-child>button{min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 var(--ds-space-1)}.story-studio-shell .publish-access-panel{margin:var(--ds-space-2) 0 0;padding:var(--ds-space-6) 0;padding:var(--ds-space-4) 0;display:flex;align-items:flex-start;gap:var(--ds-space-3);margin-top:var(--ds-space-1)}.story-studio-shell .publish-taxonomy{padding:var(--ds-space-5) 0;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.search-box,.search-box:focus-within,.profile-menu,.notification-popover{color:var(--text-strong);border-color:var(--dark-border);background:var(--surface-2);box-shadow:none}.search-box:focus-within{border-color:var(--ds-accent);background:var(--ds-surface-input-hover);box-shadow:0 0 0 3px #c9473914;border-color:var(--ds-line),.52);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.09);border-color:var(--ds-line),.62);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1)}.search-box kbd,.notification-list article:hover{background:var(--surface-hover)}.detail-toggle,.sort-button,.sort-toggle,.outline-action,.continue-button{color:var(--text-body);border-color:var(--dark-border);background:var(--surface-2)}.detail-toggle:hover,.sort-button:hover,.outline-action:hover,.continue-button:hover{color:#fff;background:var(--surface-hover)}.detail-filter-row button{padding:var(--ds-space-1) var(--ds-space-2);color:#7d766d;border:var(--ds-border-width) solid transparent;border-radius:14px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px;color:#aaa;color:#b5b5b5;background:var(--ds-surface-input)}.detail-filter-row button:hover,.detail-filter-row button.active{color:#f4eae8;border-color:var(--ds-accent);background:var(--ds-surface-input)}.continue-shelf-rail>button,.continue-card,.collection-cards>button,.recent-chats>button,.character-type-tabs,.ranking-section,.editorial-banner{color:var(--text-strong);border-color:var(--ds-line);background-color:var(--ds-canvas-raised);box-shadow:none}.continue-shelf-rail>button:hover,.continue-card:hover,.collection-cards>button:hover,.recent-chats>button:hover{background-color:var(--ds-canvas-raised);box-shadow:none}.collection-cards>button>span,.continue-copy>p,.last-scene strong,.recent-chats span,.recent-chats small,.character-card p,.ranking-item span{color:var(--text-muted)}.collection-cards .new-collection{align-items:center;justify-content:center;color:#8d857c;border-style:dashed;color:#929292;border-color:var(--ds-line);background:transparent}.character-type-tabs button{position:relative;min-height:74px;padding:var(--ds-space-4) var(--ds-space-5);display:grid;grid-template-columns:1fr auto;align-content:center;gap:var(--ds-space-1) var(--ds-space-2);color:#817a71;text-align:left;border:0;background:transparent;cursor:pointer;color:#aaa}.character-type-tabs button:hover{color:#fff;background:var(--ds-surface-input)}.character-type-tabs button small{align-self:center;min-width:20px;padding:var(--ds-space-1) var(--ds-space-1);color:#827a71;border-radius:10px;background:var(--ds-surface-input-hover);text-align:center;font-size:11px;color:#aaa;background:var(--ds-surface-input)}.ranking-item:hover{background:var(--ds-surface-glass);background:var(--ds-surface-subtle)}.profile-overview,.profile-identity,.profile-stats,.my-detail-panel,.ticket-panel,.preference-list>button,.support-list details,.creator-start,.creator-guide{color:var(--text-strong);border-color:var(--ds-line);background:var(--ds-canvas-raised);box-shadow:none}.profile-identity button,.ticket-options button,.profile-editor input{color:var(--text-body);border-color:var(--ds-line);background:var(--ds-canvas-raised)}.profile-stats>button:hover,.profile-stats>button.active,.my-menu button:hover,.my-menu button.active,.ticket-options button:hover,.ticket-options button.active{color:var(--accent-soft);border-color:var(--ds-accent);background:var(--ds-surface-input)}.profile-identity p,.profile-stats span,.my-detail-head>button,.ticket-selection,.preference-list span,.support-list p,.creator-guide p{color:var(--text-muted)}.preference-list>button:hover,.support-list details[open]{background:var(--ds-canvas-raised)}.preference-list em{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;transition:.18s ease;background:var(--ds-surface-input-hover)}.my-menu{display:grid;grid-template-columns:repeat(3,1fr);margin-top:var(--ds-space-6);grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}.my-menu button{height:54px;padding:0 var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;border:var(--ds-border-width) solid var(--line);background:var(--ds-surface-glass);cursor:pointer;font-size:11px;min-height:66px;height:auto;padding:var(--ds-space-3) var(--ds-space-4);color:var(--text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);box-shadow:none}.my-menu button>span{display:grid;gap:var(--ds-space-1);text-align:left}.my-menu button strong{color:#e7e7e7;font-size:11px;font-weight:650}.my-menu button small{color:#777;font-size:11px}.my-menu button:hover,.my-menu button.active{color:var(--red);background:var(--ds-surface-input-hover);color:#f3c1bc;border-color:var(--ds-accent);background:var(--ds-canvas-raised)}.my-menu button.active strong{color:#f4d3cf}.my-menu button.active small{color:#b98f8a}.my-detail-panel{margin-top:var(--ds-space-4);padding:var(--ds-space-6);border:var(--ds-border-width) solid var(--line);border-radius:11px;background:var(--ds-surface-glass);animation:filter-in .18s ease both;margin-top:var(--ds-space-2);scroll-margin-top:90px}.memory-view-tabs{margin-bottom:var(--ds-space-6);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-2)}.story-studio-shell .memory-view-tabs>button,.story-studio-shell .memory-view-tabs>button.active{min-height:76px;padding:var(--ds-space-3) var(--ds-space-4);display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-3);color:#aaa;text-align:left;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised)}.story-studio-shell .memory-view-tabs>button:hover{border-color:var(--ds-accent);background:var(--ds-canvas-raised)}.story-studio-shell .memory-view-tabs>button.active{color:#f1d1cd}.memory-view-tabs button>span{display:grid;gap:var(--ds-space-1)}.memory-view-tabs button strong{color:#ececec;font-size:12px}.memory-view-tabs button small{color:#777;font-size:11px}.memory-view-tabs button>b{min-width:25px;height:25px;display:grid;place-items:center;color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:50%;font-size:11px}.memory-view-tabs button.active>b{color:#f2d6d2}.active-memory-panel{animation:waku-panel-in .18s ease-out}.keyword-book-panel.active-memory-panel{margin-bottom:0;padding-bottom:0}.danger-inline{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);color:#dca6a1;border-color:var(--ds-accent);background:var(--ds-canvas-raised)}@keyframes waku-panel-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:720px){.my-menu,.memory-view-tabs{grid-template-columns:1fr}}.image-studio,.image-controls,.image-workspace,.prompt-field,.character-lock,.image-control-panel,.image-preview{color:var(--text-strong);border-color:var(--ds-line);background:var(--ds-canvas-raised);box-shadow:none}.tool-group>span{display:block;margin-bottom:var(--ds-space-2);color:#69625a;font-size:11px;font-weight:650;color:#c5c5c5}.tool-group button:hover,.image-actions button:hover{color:#fff;background:var(--ds-surface-input)}.tool-group button.active{color:var(--red);color:var(--accent-soft)}.generate-button{width:100%;height:43px;margin-top:var(--ds-space-5);display:flex;align-items:center;justify-content:center;gap:var(--ds-space-2);color:#fff;border:0;border-radius:8px;background:var(--ink);cursor:pointer;font-size:11px;font-weight:700;color:#171211;background:var(--red)}.generate-button:hover{background:var(--ds-surface-input);background:var(--accent-hover)}.character-lock span,.image-actions>span,.image-note{color:var(--text-muted)}.search-overlay,.story-dialog,.legal-sheet{color:var(--text-strong);border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised);box-shadow:0 34px 90px #000000a3}.search-overlay>header>button,.dialog-close{color:#c8c8c8;background:var(--ds-surface-input)}.search-overlay>form{height:54px;margin:0 var(--ds-space-6);padding:0 var(--ds-space-2) 0 var(--ds-space-4);display:flex;align-items:center;gap:var(--ds-space-2);border:var(--ds-border-width) solid var(--ds-line);border-radius:10px;background:var(--ds-surface-input-hover);border-color:var(--ds-line);background:var(--ds-canvas-raised)}.search-overlay>form>button{height:38px;padding:0 var(--ds-space-3);color:#fff;border:0;border-radius:7px;background:var(--ink);cursor:pointer;font-size:11px;font-weight:700;color:#171211;background:var(--red)}.search-scopes button.active,.popular-search-tags button:hover{color:#f3e8e6;border-color:var(--ds-accent);background:var(--ds-surface-input)}.search-suggestions>div>button{width:100%;min-height:56px;padding:var(--ds-space-1) var(--ds-space-1);display:grid;grid-template-columns:43px 1fr 15px;align-items:center;gap:var(--ds-space-2);text-align:left;color:var(--ink);border:0;border-bottom:var(--ds-border-width) solid var(--line);background:transparent;cursor:pointer;color:#ddd;border-color:var(--ds-line)}.search-suggestions>div>button:hover{background:var(--ds-surface-input-hover);background:var(--ds-surface-input)}.dialog-content>p,.dialog-author,.legal-sheet>p,.legal-sheet ul{color:#aaa}.dialog-tags span,.legal-sheet>div{color:#d5d5d5;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.dialog-actions>button:not(.primary-button){height:42px;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#615b54;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:transparent;cursor:pointer;font-size:11px;font-weight:650;color:#ccc;border-color:var(--ds-line)}.publish-feedback,.publish-feedback.warning{color:#ddd;border-color:var(--ds-accent);background:var(--ds-canvas-raised)}.publish-feedback span{color:#777068;font-size:11px;line-height:1.55;color:#aaa}.chat-shell{position:fixed;z-index:180;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:64px 1fr 76px;color:var(--ink);background:var(--ds-surface-input-hover);color:var(--text-strong);background:var(--ds-canvas)}.chat-shell>header{padding:0 max(var(--ds-space-5),6vw);display:flex;align-items:center;gap:var(--ds-space-3);border-bottom:var(--ds-border-width) solid var(--line);border-color:var(--ds-line);background:var(--ds-surface-glass)}.chat-shell>header>button,.chat-intro,.chat-message p,.chat-shell>form{color:#dedede;border-color:var(--ds-line);background:var(--ds-canvas-raised);box-shadow:none}.chat-message.user p{color:#fff;border-color:var(--ink);border-radius:12px 4px 12px 12px;background:var(--ink);color:#f6ecea;border-color:var(--ds-accent);background:var(--ds-surface-input)}.chat-shell>form input{flex:1;border:0;outline:0;background:transparent;font-size:11px;color:#eee}.chat-shell>header span,.chat-intro p,.chat-message span{color:var(--text-muted)}@media(max-width:620px){.studio-footer{position:sticky;z-index:5;bottom:74px;padding:var(--ds-space-2);border:var(--ds-border-width) solid var(--line);border-radius:9px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-color:var(--ds-line);background:var(--ds-surface-glass)}}.story-studio-shell .studio-save:hover{color:#fff3f1;border-color:var(--ds-accent);background:var(--ds-surface-input)}.story-design-step>label>textarea{min-height:170px}.story-studio-shell .compact-publish{max-width:900px;padding-inline:var(--ds-space-4);display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-3)}.story-studio-shell .publish-required,.story-studio-shell .publish-option-summary{padding:var(--ds-space-5);color:#dedede;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:var(--ds-canvas-raised)}.story-studio-shell :is(.publish-required,.publish-option-summary)>div:first-child{margin:0 0 var(--ds-space-5);display:grid;gap:var(--ds-space-1)}.story-studio-shell :is(.publish-required,.publish-option-summary)>div:first-child>span{color:var(--accent-soft);font-size:11px;font-weight:800;letter-spacing:.13em}.story-studio-shell :is(.publish-required,.publish-option-summary) h3{margin:0;color:#f0ece9;font-size:17px;line-height:1.35}.story-studio-shell :is(.publish-required,.publish-option-summary) p{margin:0;color:#8e8e8e;font-size:11px;line-height:1.6}.publish-required-list,.publish-option-summary>div:last-child{margin-top:var(--ds-space-4);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-2)}.publish-required-list>div,.publish-option-summary>div:last-child>button{min-height:58px;padding:var(--ds-space-3) var(--ds-space-3);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-2);text-align:left;color:#d8d8d8;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised)}.publish-required-list span{color:#8eb39b;font-size:11px}.publish-required-list .warning span{color:var(--accent-soft)}.publish-required-list strong,.publish-option-summary strong{color:#e5e5e5;font-size:11px}.publish-option-summary button{cursor:pointer}.publish-option-summary button:hover{border-color:var(--ds-line);background:var(--ds-surface-input)}.publish-option-summary button>span{display:grid;gap:var(--ds-space-1)}.publish-option-summary button small{color:#818181;font-size:11px}.compact-publish :is(.publish-access-panel,.publish-taxonomy,.publish-feedback,.publish-actions){grid-column:1}.look-base-asset{margin-top:var(--ds-space-3);padding-top:var(--ds-space-3);border-top:var(--ds-border-width) solid var(--ds-line)}.look-base-asset>div:first-child{display:grid;gap:var(--ds-space-1)}.look-base-asset>div:first-child span,.expression-set>div:first-child span{color:var(--accent-soft);font-size:11px;font-weight:800;letter-spacing:.11em}.look-base-asset>div:first-child strong,.expression-set>div:first-child strong{color:#ededed;font-size:11px}.look-base-asset>div:first-child small,.expression-set>div:first-child small{color:#888;font-size:11px;line-height:1.55}.look-base-asset .studio-asset-picker{margin-top:var(--ds-space-2)}.asset-gallery-empty{min-height:105px;padding:var(--ds-space-4);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-3);color:#8d8d8d;border:var(--ds-border-width) dashed var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised)}.asset-gallery-empty>svg{color:var(--accent-soft)}.asset-gallery-empty>div:nth-child(2){display:grid;gap:var(--ds-space-1)}.asset-gallery-empty strong{color:#e2e2e2;font-size:11px}.asset-gallery-empty span{color:#7c7c7c;font-size:11px;line-height:1.5}.asset-gallery-empty>div:last-child{display:flex;gap:var(--ds-space-1)}.asset-gallery-empty button{min-height:32px;padding:0 var(--ds-space-2);display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);cursor:pointer;font-size:11px}.asset-gallery-empty button:hover{color:#eee;border-color:var(--ds-accent);background:var(--ds-surface-input)}.story-studio-shell .expression-set{margin-top:var(--ds-space-4);padding-top:var(--ds-space-4);border-top-color:var(--ds-line)}.expression-asset-list{margin-top:var(--ds-space-3);display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-2)}.expression-asset-list>article{padding:var(--ds-space-2);display:grid;grid-template-columns:44px minmax(120px,1fr) auto;align-items:center;gap:var(--ds-space-2);color:#d8d8d8;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised)}.expression-asset-list>article.ready{border-color:var(--ds-accent);background:var(--ds-canvas-raised)}.expression-preview{width:44px;height:52px;overflow:hidden;display:grid;place-items:center;color:#8f8f8f;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-surface-input)}.expression-preview img{width:100%;height:100%;object-fit:cover}.expression-preview span{font-size:13px}.expression-meta{min-width:0;display:grid;gap:var(--ds-space-1)}.expression-meta>span{color:var(--accent-soft);font-size:11px}.expression-meta strong{color:#e6e6e6;font-size:11px}.expression-meta small{overflow:hidden;color:#7f7f7f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.expression-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--ds-space-1)}.expression-actions :is(label,button),.expression-asset-list>.add-expression{min-height:30px;padding:0 var(--ds-space-2);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-1);color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);cursor:pointer;font-size:11px}.expression-actions label input{display:none}.expression-actions .remove{color:#bd8c87}.expression-asset-list>.add-expression{width:max-content;min-height:34px;border-style:dashed}.expression-generate{grid-column:2 / -1;padding-top:var(--ds-space-2);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--ds-space-2);border-top:var(--ds-border-width) solid var(--ds-line)}.expression-generate label{display:grid;gap:var(--ds-space-1);color:#aaa;font-size:11px}.expression-generate input{height:36px;padding:0 var(--ds-space-2);color:#eee;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised)}.expression-generate>div{display:grid;justify-items:end;gap:var(--ds-space-1)}.expression-generate small{max-width:340px;color:#777;font-size:11px;line-height:1.45;text-align:right}.expression-generate button{height:34px;padding:0 var(--ds-space-2);color:#777;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised)}.story-studio-shell .generation-rules{margin-top:var(--ds-space-6);display:grid;gap:var(--ds-space-1);color:#d8d8d8;border-left-color:var(--red);background:var(--ds-canvas-raised)}.story-studio-shell .generation-rules span{color:var(--accent-soft)}.story-studio-shell .generation-rules p{color:#858585}@media(max-width:720px){.publish-required-list,.publish-option-summary>div:last-child{grid-template-columns:1fr}.expression-asset-list>article{grid-template-columns:40px minmax(0,1fr)}.expression-actions{grid-column:1 / -1;justify-content:flex-start}.expression-generate{grid-column:1 / -1;grid-template-columns:1fr}.expression-generate>div{justify-items:start}.expression-generate small{text-align:left}.asset-gallery-empty{grid-template-columns:1fr}.asset-gallery-empty>div:last-child{justify-content:flex-start}}.story-studio-shell .system-preset-grid{margin-top:var(--ds-space-5);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:var(--ds-border-width) solid var(--studio-hairline)}.story-studio-shell .system-preset-grid>button{min-height:60px;padding:var(--ds-space-3) var(--ds-space-3);grid-template-columns:18px minmax(0,1fr);column-gap:var(--ds-space-2);border:0;border-bottom:var(--ds-border-width) solid var(--studio-hairline);border-radius:0;background:transparent;box-shadow:none;text-align:left}.story-studio-shell .system-preset-grid>button:nth-child(odd){border-right:var(--ds-border-width) solid var(--studio-hairline)}.story-studio-shell .system-preset-grid>button:hover{background:var(--ds-canvas-raised)}.story-studio-shell .system-preset-grid>button>i{grid-row:1 / span 2;align-self:center;width:15px;height:15px;border-color:var(--ds-line);border-radius:50%;background:transparent}.story-studio-shell .system-preset-grid>button>i em{display:none}.story-studio-shell .system-preset-grid>button strong{color:#ededed;font-size:11px}.story-studio-shell .system-preset-grid>button span{color:#7d7d7d;font-size:11px}.system-disclosure-nav{display:contents}.studio-disclosure{margin:0;border-top:var(--ds-border-width) solid var(--studio-hairline);border-bottom:var(--ds-border-width) solid var(--studio-hairline)}.studio-disclosure:last-child{border-bottom:0}.studio-disclosure-trigger{width:100%;min-height:58px;padding:var(--ds-space-2) var(--ds-space-3);display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:var(--ds-space-3);color:#e9e9e9;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;text-align:left}.studio-disclosure-trigger:hover{background:var(--ds-canvas-raised)}.studio-disclosure.open .studio-disclosure-trigger{background:var(--ds-canvas-raised);box-shadow:inset 3px 0 0 var(--accent-soft)}.studio-disclosure-copy{min-width:0;display:grid;gap:var(--ds-space-1)}.studio-disclosure-copy strong{color:#ededed;font-size:11px;font-weight:680}.studio-disclosure-copy small{overflow:hidden;color:var(--studio-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.studio-disclosure-meta{color:#a9a9a9;font-size:11px;font-style:normal}.studio-disclosure-trigger>svg{color:#9a9a9a;justify-self:end}.story-studio-shell .system-setting-step :is(.skill-editor,.stat-editor,.item-editor,.relationship-editor){margin-top:var(--ds-space-4);padding-top:var(--ds-space-5);border-top:var(--ds-border-width) solid var(--studio-hairline);background:transparent}.story-studio-shell .system-setting-step .stat-library>div:last-child,.story-studio-shell .system-setting-step .item-library>div:last-child,.story-studio-shell .system-setting-step .relationship-character-list{gap:var(--ds-space-2)}.story-studio-shell .system-setting-step :is(.stat-library,.item-library) button,.story-studio-shell .system-setting-step .relationship-character-list button{border-radius:2px;box-shadow:none}.story-studio-shell .system-setting-step .stat-library>div:last-child,.story-studio-shell .system-setting-step .item-library>div:last-child{border-top:var(--ds-border-width) solid var(--studio-hairline)}.story-studio-shell .system-setting-step .stat-library>div:last-child>button,.story-studio-shell .system-setting-step .item-library>div:last-child>button{border:0;border-bottom:var(--ds-border-width) solid var(--studio-hairline);border-radius:0;background:transparent}.story-studio-shell .system-setting-step .stat-library>div:last-child>button:hover,.story-studio-shell .system-setting-step .item-library>div:last-child>button:hover,.story-studio-shell .system-setting-step .stat-library>div:last-child>button.active,.story-studio-shell .system-setting-step .item-library>div:last-child>button.active{background:var(--ds-canvas-raised);box-shadow:inset 3px 0 0 var(--accent-soft)}@media(max-width:720px){.story-studio-shell .system-preset-grid{grid-template-columns:1fr}.story-studio-shell .system-preset-grid>button:nth-child(odd){border-right:0}.studio-disclosure-trigger{grid-template-columns:minmax(0,1fr) 18px}.studio-disclosure-meta{display:none}}.story-studio-shell .illustration-type-tabs{margin:var(--ds-space-5) 0 0;display:flex;gap:var(--ds-space-6);border-bottom:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .illustration-type-tabs button{position:relative;min-height:44px;padding:0;color:#8f8f8f;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;font-size:13px;font-weight:600}.story-studio-shell .illustration-type-tabs button:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--accent-soft);opacity:0;transform:scaleX(.4);transition:opacity .1s ease-out,transform .1s ease-out}.story-studio-shell .illustration-type-tabs button:hover{color:#d8d8d8}.story-studio-shell .illustration-type-tabs button.active{color:#f1f1f1}.story-studio-shell .illustration-type-tabs button:focus-visible{outline:2px solid var(--accent-soft);outline-offset:4px}.story-studio-shell .section-example-panel{margin:0 0 var(--ds-space-6);padding:var(--ds-space-5) 0;display:grid;gap:var(--ds-space-2);color:#a7a7a7;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);background:transparent}.story-studio-shell .section-example-panel b{color:var(--accent-soft);font-size:12px;letter-spacing:0}.story-studio-shell .section-example-panel p{margin:0;display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,2.4fr) minmax(130px,1fr);gap:var(--ds-space-4);align-items:baseline;line-height:1.55}.story-studio-shell .section-example-panel p strong{color:#ededed;font-size:14px}.story-studio-shell .section-example-panel p span{color:#b2b2b2}.story-studio-shell .section-example-panel p em{color:#8b8b8b;font-style:normal}.story-studio-shell .section-example-panel small{margin:0;color:#777}@media(max-width:720px){.story-studio-shell .illustration-type-tabs{gap:var(--ds-space-4);overflow-x:auto;scrollbar-width:none}.story-studio-shell .illustration-type-tabs button{flex:0 0 auto}.story-studio-shell .section-example-panel p{grid-template-columns:1fr;gap:var(--ds-space-1)}}@media(prefers-reduced-motion:reduce){.story-studio-shell .illustration-type-tabs button:after{transition-duration:1ms}}:root{font-family:var(--ds-font-ui);color:#211f1c;background:var(--ds-surface-input-hover);font-synthesis:none;--paper: #f3f0ea;--card: #fbfaf7;--ink: #211f1c;--muted: #7b756d;--line: rgba(33, 31, 28, .11);--red: #c94739;--red-dark: #a93227;--sidebar: 236px;--font-ui: var(--ds-font-ui);--font-display: var(--ds-font-display);--font-story: var(--ds-font-story);--font-logo: var(--ds-font-logo);color:#f5f5f5;background:var(--ds-canvas);--paper: #0b0b0b;--card: #171717;--ink: #f5f5f5;--muted: #a7a7a7;--line: rgba(255,255,255,.11);--red: #e0a09a;--red-dark: #bf7f7a;--accent-rgb: 224, 160, 154;--accent-soft: #d7a39e;--accent-hover: #e9b0aa;color-scheme:dark;--surface-0: #0b0b0b;--surface-1: #111111;--surface-3: #202020;--surface-hover: #272727;--text-strong: #f1f1f1;--text-body: #c2c2c2;--text-muted: #8a8a8a;--dark-border: rgba(255,255,255,.12);--surface-0: #0a0a0a;--surface-1: #101010;--surface-2: #171717;--surface-3: #1e1e1e;--surface-hover: #242424;--text-strong: #f3f1ef;--text-body: #cbc7c4;--text-muted: #96918e;--dark-border: #303030;--accent-rgb: 227, 160, 155;--accent-soft: #e3a09b;--accent-hover: #edb1ac;--red: #e3a09b;--red-dark: #c97f79;--paper: var(--surface-0);--card: var(--surface-1);--ink: var(--text-strong);--muted: var(--text-muted);--line: var(--dark-border);--radius-control: 6px;--radius-panel: 8px}html{scroll-behavior:smooth;font-size:16px}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);background:var(--paper);color:var(--text-strong);background:var(--surface-0);font-family:var(--font-ui);font-size:14px;font-weight:var(--ds-font-weight-body);line-height:1.55;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}button,input,textarea,select{font-family:var(--font-ui);font-family:inherit}button{color:inherit;line-height:1.25}small{font-size:12px;line-height:1.45}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent-soft);outline-offset:3px}input,textarea,select{color:var(--text-strong);caret-color:var(--accent-soft);border-color:var(--ds-line);background-color:var(--ds-canvas-raised);font-size:14px}input::placeholder,textarea::placeholder{color:#737373;color:#85817e;opacity:1}select{min-height:44px;padding-right:var(--ds-space-8);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23918c89' stroke-width='1.5'/%3E%3C/svg%3E");background-position:calc(100% - var(--ds-space-4)) 50%;background-size:12px 8px;background-repeat:no-repeat}select option{color:#eee;background:var(--ds-canvas-raised)}.logo-dot{color:#261716;background:var(--accent-soft)}.profile-menu,.notification-popover,.search-overlay,.legal-sheet{color:var(--text-strong);border-color:var(--ds-line);border-radius:var(--radius-panel);background:var(--ds-canvas-raised);box-shadow:0 24px 70px #00000075}.profile-menu-head strong,.notification-popover>header strong{font-size:14px}.profile-menu-head small,.notification-popover>header small{color:var(--text-muted);font-size:12px}.profile-menu-list>:is(button,a){width:100%;padding:0 var(--ds-space-2);display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:var(--ds-space-2);text-align:left;text-decoration:none;border:0;border-radius:7px;background:transparent;cursor:pointer;min-height:44px;color:var(--text-body);font-size:13px}.profile-menu-foot button,.notification-popover>footer button{min-height:var(--ds-control-height);color:var(--text-muted);font-size:12px}.notification-list strong{font-size:11px;font-size:13px}.notification-list span{overflow:hidden;color:#7f786f;font-size:11px;text-overflow:ellipsis;white-space:nowrap;color:var(--text-body);font-size:12px}.notification-list small{color:#a0988f;color:var(--text-muted);font-size:11px}.page-content{max-width:1480px;margin:0 auto;padding:var(--ds-space-5) 4.1vw var(--ds-space-11);max-width:1600px;padding-top:var(--ds-space-6)}.discovery-header nav button{position:relative;padding:0 var(--ds-space-1);display:flex;align-items:center;gap:var(--ds-space-1);color:#817a72;border:0;background:transparent;cursor:pointer;font-size:11px;font-weight:650;color:#aaa5a2;font-size:13px}.section-head>div:first-child>span,.page-intro>span,.eyebrow{color:var(--accent-soft);font-size:11px;letter-spacing:.13em}.section-head h2{margin:var(--ds-space-1) 0 0;font-family:var(--font-display);font-weight:400;color:#f4f1ef;font-size:clamp(24px,2vw,31px);letter-spacing:-.03em}.section-head p,.page-intro p{color:var(--text-muted);font-size:13px}.section-tools>button,.see-all{min-height:38px;color:#bcb7b4;font-size:12px}.story-card{min-width:0;overflow:hidden;scroll-snap-align:start;border:var(--ds-border-width) solid var(--line);background:var(--ds-surface-glass);transition:transform .2s ease,box-shadow .2s ease;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--text-strong)}.card-title-row h3{color:#f1efed;font-size:16px;line-height:1.35}.card-body>p{color:#a8a8a8;color:#b0aba8;font-size:13px;line-height:1.55}.card-meta,.card-author,.card-stats{color:#8f8a87;font-size:11px}.card-title-row button{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;margin:calc(-1 * var(--ds-space-1)) calc(-1 * var(--ds-space-2)) 0 0;color:#8c857c;border:0;border-radius:50%;background:transparent;cursor:pointer;color:#999;width:38px;height:38px}.story-badge,.format-badge{border-radius:3px;font-size:11px}.card-moment{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;box-sizing:border-box;min-height:0;padding:var(--ds-space-5) var(--ds-space-3) var(--ds-space-3);display:flex;flex-direction:column;justify-content:flex-end;gap:var(--ds-space-1);color:var(--ds-text-on-media);border:0;border-radius:0;background:var(--ds-story-detail-image-blend);box-shadow:none;opacity:0;transition:opacity .18s ease;pointer-events:none;text-align:left}.card-moment small{color:#ef776d;font-weight:800;letter-spacing:.14em;font-size:11px}.card-moment p{font-size:13px}.category-tabs button,.sort-toggle button,.detail-filter-row button{min-height:38px;font-size:12px}.category-tabs button{flex:0 0 auto;padding:var(--ds-space-2) var(--ds-space-3);border:0;background:transparent;color:#777168;cursor:pointer;font-size:12px;font-weight:600;color:#aaa;border-radius:4px}.category-tabs button.active,.sort-toggle button.active{color:#f3e9e7;color:#1f1514}.sort-toggle{padding:var(--ds-space-1);display:flex;align-items:center;gap:var(--ds-space-1);flex:0 0 auto;border:var(--ds-border-width) solid var(--line);background:var(--ds-surface-glass);color:var(--text-muted);border-radius:5px;font-size:12px}.detail-filters{margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-5);padding:var(--ds-space-4) var(--ds-space-5);border:var(--ds-border-width) solid var(--line);border-radius:10px;background:var(--ds-surface-glass);box-shadow:0 9px 24px #211f1c0a;animation:filter-in .18s ease both;box-shadow:none;color:var(--text-body);border-color:var(--ds-line);background:var(--ds-canvas-raised);border-radius:var(--radius-panel)}.detail-filter-head strong{font-size:12px;color:#eee;font-size:15px}.detail-filter-head p{color:var(--text-muted);font-size:12px}.detail-filter-row>span{color:#bcb7b4;font-size:12px}.editorial-banner,.ranking-section{border-radius:var(--radius-panel)}.ranking-item strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.ranking-item span{color:#958e85;font-size:11px;font-size:12px}.story-dialog{position:relative;z-index:2;width:min(760px,96vw);max-height:85vh;overflow:hidden;display:grid;grid-template-columns:.9fr 1.1fr;border-radius:14px;background:var(--ds-surface-input-hover);box-shadow:0 35px 80px #00000052;animation:dialog-in .22s ease both;color:#f5f5f5;border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--radius-panel);background:var(--ds-canvas-raised)}.dialog-content h2{font-size:clamp(27px,3vw,40px);line-height:1.16}.dialog-content>p{margin:0;color:#6f685f;font-size:13px;line-height:1.75;color:var(--text-body);font-size:14px}.dialog-meta,.dialog-author,.dialog-tags{font-size:12px}.dialog-actions button{min-height:44px;border-radius:var(--radius-control);font-size:13px}.player-close{width:42px;height:42px}.search-overlay>header strong{font-family:var(--font-display);font-size:24px;font-weight:400;font-size:25px}.search-overlay>form input{min-width:0;flex:1;color:var(--ink);border:0;outline:0;background:transparent;font-size:13px;color:#eee;font-size:15px}.search-scopes button,.popular-search-tags button{color:#aaa;border-color:var(--ds-line);background:var(--ds-surface-input);min-height:38px;font-size:12px}.text-adventure-player,.story-player,.chat-shell{color:var(--text-strong);background:var(--ds-canvas)}.adventure-title h1{margin:var(--ds-space-2) 0 var(--ds-space-2);font-family:var(--font-display);font-size:clamp(30px,5vw,48px);font-weight:400;font-size:clamp(30px,4vw,50px)}.adventure-title p,.adventure-log p{color:var(--text-body);font-size:15px}.adventure-suggestions button{padding:var(--ds-space-2) var(--ds-space-3);display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);cursor:pointer;font-size:11px;min-height:44px;font-size:13px}.text-adventure-player>form label{display:block;margin-bottom:var(--ds-space-2);color:#aaa;font-size:11px;font-size:13px}.text-adventure-player>form input,.chat-shell form input{min-height:46px;font-size:14px}.page-intro h1{margin:var(--ds-space-2) 0 var(--ds-space-2);font-family:var(--font-display);font-size:clamp(34px,4vw,52px);font-weight:400;letter-spacing:-.03em;color:#f4f1ef;font-size:clamp(30px,4vw,48px);letter-spacing:-.04em}.library-tabs button,.mywork-tabs button{min-height:42px;color:#aaa5a2;font-size:13px}.library-tabs button.active,.mywork-tabs button.active{color:#fff}.project-card,.continue-card,.character-card,.collection-cards>button,.recent-chats>button{border-radius:var(--radius-panel)}.project-copy strong{color:#f0edeb;font-size:16px}.project-copy p,.project-copy small{color:var(--text-muted);font-size:12px}.project-open{display:var(--project-open-display, flex);align-self:center;align-items:center;gap:var(--ds-space-2);color:#aaa49e;font-size:11px;white-space:nowrap;font-size:12px}.my-menu button,.preference-list>button,.support-list summary{min-height:46px;color:var(--text-body);font-size:13px}.image-workspace,.image-controls{border-radius:var(--radius-panel)}.tool-heading strong{font-size:14px;font-size:15px}.tool-heading span,.image-note{color:var(--text-muted);font-size:12px}.tool-group label,.tool-group button{font-size:12px}.story-studio-shell{margin:calc(-1 * var(--ds-space-5)) 0 calc(-1 * var(--ds-space-11));min-height:calc(100vh - 72px);background:var(--ds-surface-input-hover);color:#eee;color-scheme:dark;--studio-hairline: #303030;color:var(--text-strong);background:var(--ds-canvas)}.story-studio-shell .studio-top{min-height:64px;border-color:var(--ds-line);background:var(--ds-canvas)}.story-studio-shell .studio-top>div>button{min-height:38px;color:#bdb8b5;font-size:12px}.story-studio-shell .studio-top>div>span{color:var(--accent-soft);font-size:11px}.story-studio-shell .studio-top>div>strong{color:#f1efed;font-size:14px}.story-studio-shell .studio-top small{color:var(--text-muted);font-size:11px}.story-studio-shell .studio-save{color:#e7c2be;border:var(--ds-border-width) solid var(--ds-accent);min-height:38px;color:#d7d3d0;border-color:var(--ds-line);border-radius:var(--radius-control);background:var(--ds-canvas-raised);font-size:12px}.story-studio-shell .studio-save.saved{color:#b8d5c2;border-color:var(--ds-line);color:#d9bebc;border-color:var(--ds-accent);background:var(--ds-canvas-raised)}.story-studio-shell .studio-main{padding:var(--ds-space-7) clamp(var(--ds-space-6),4vw,var(--ds-space-10)) var(--ds-space-10);max-width:1120px;padding:var(--ds-space-7) var(--ds-space-9) var(--ds-space-11)}.story-studio-shell .studio-substeps{margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-7);gap:var(--ds-space-6);border-color:var(--ds-line)}.story-studio-shell .studio-substeps button{min-height:43px;color:#8f8b88;font-size:12px}.story-studio-shell .studio-substeps button.active{color:#f4f4f4;color:#fff}.story-studio-shell .studio-main-head{align-items:flex-end;margin-bottom:var(--ds-space-7);margin:var(--ds-space-7) 0 var(--ds-space-7)}.story-studio-shell .studio-main-head span,.story-studio-shell .studio-section-copy>span{color:var(--accent-soft);font-size:11px;letter-spacing:.12em}.story-studio-shell .studio-main-head h2{margin:var(--ds-space-2) 0 var(--ds-space-2);color:#f4f4f4;font-size:clamp(29px,3.2vw,38px);line-height:1.14;font-family:var(--font-ui);font-size:clamp(28px,3vw,38px);font-weight:720;letter-spacing:-.045em;font-size:clamp(24px,2.1vw,34px);line-height:1.08;margin-top:var(--ds-space-2);color:#f4f1ef;font-size:clamp(29px,3vw,38px);line-height:1.15;letter-spacing:-.035em}.story-studio-shell .studio-main-head p{color:#8d8d8d;font-size:11px;line-height:1.55;max-width:700px;color:#aaa5a2;font-size:13px}.story-studio-shell .studio-main-head em{padding:var(--ds-space-1) var(--ds-space-2);color:#9d9d9d;border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised);padding:0;color:#8f8a87;border:0;background:transparent;font-size:11px;font-style:normal}.story-studio-shell .studio-main-head em:before{content:"";width:6px;height:6px;margin-right:var(--ds-space-2);display:inline-block;border-radius:50%;background:var(--ds-surface-input-hover)}.story-studio-shell .studio-section-copy h3{color:#f0edeb;font-size:21px;line-height:1.35}.story-studio-shell .studio-section-copy p{max-width:780px;color:#9e9996;font-size:13px}.story-studio-shell .studio-form-grid{gap:var(--ds-space-5) var(--ds-space-4);gap:var(--ds-space-6) var(--ds-space-4)}.story-studio-shell .field-label,.story-studio-shell .studio-choice-group>span{color:#ddd9d6;font-size:13px}.story-studio-shell .field-label em,.story-studio-shell .field-label em.required{font-size:11px}.story-studio-shell .field-help{color:#858585;font-size:11px;line-height:1.6;color:#8f8a87;font-size:12px;line-height:1.55}.story-studio-shell .studio-form-grid input,.story-studio-shell .studio-form-grid select,.story-studio-shell .thought-format input,.story-studio-shell .thought-format select{min-height:46px;padding:0 var(--ds-space-3);border-radius:var(--radius-control);font-size:14px}.story-studio-shell .studio-form-grid textarea,.story-studio-shell .asset-generate textarea{min-height:128px;max-height:min(50dvh,480px);overflow-y:auto;padding:var(--ds-space-3);border-radius:var(--radius-control);font-size:14px;line-height:1.6}.story-studio-shell :is(input,textarea,select):hover{border-color:var(--ds-line)}.story-studio-shell :is(input,textarea,select):focus{border-color:var(--ds-accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1)}.story-studio-shell .studio-choice-group>div,.genre-choice-row{gap:var(--ds-space-2)}.story-studio-shell .studio-choice-group button,.story-studio-shell .genre-choice-row button,.story-studio-shell .avatar-policy button,.story-studio-shell .asset-source-tabs button{min-height:38px;padding:0 var(--ds-space-3);color:#aaa5a2;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised);font-size:12px}.story-studio-shell .studio-choice-group button:hover,.story-studio-shell .genre-choice-row button:hover,.story-studio-shell .avatar-policy button:hover,.story-studio-shell .asset-source-tabs button:hover{color:#fff;border-color:var(--ds-line);background:var(--ds-surface-input)}.story-studio-shell .studio-choice-group button.active,.story-studio-shell .genre-choice-row button.active,.story-studio-shell .avatar-policy button.active,.story-studio-shell .asset-source-tabs button.active{color:#211514}.story-studio-shell .primary-button,.story-studio-shell button.next,.primary-button{min-height:42px;padding:0 var(--ds-space-4);color:#241615;border:var(--ds-border-width) solid var(--accent-soft);border-radius:var(--radius-control);background:var(--accent-soft);box-shadow:none;font-size:13px;font-weight:700}.story-studio-shell .primary-button:hover,.story-studio-shell button.next:hover,.primary-button:hover{background:var(--accent-hover)}.outline-action,.studio-footer>button:not(.next),.cg-create-actions>button:first-child{min-height:42px;padding:0 var(--ds-space-3);color:#c5c0bd;border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--radius-control);background:transparent;font-size:12px}.story-studio-shell :is(.studio-info,.section-example-panel,.start-setup-guide,.viewpoint-note,.generation-rules,.audio-rule-note,.opening-system-note,.secret-flow-explainer,.reader-style-guard,.publish-taxonomy){padding:var(--ds-space-4) 0;color:var(--text-body);border:0;border-top:var(--ds-border-width) solid var(--studio-hairline);border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.studio-info,.section-example-panel,.start-setup-guide,.generation-rules) :is(p,small,span){color:#97928f;font-size:12px}.genre-selection-summary{padding-top:var(--ds-space-3);display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:var(--ds-space-2);padding:var(--ds-space-3) 0;border:0;border-top:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.player-mode-grid){gap:0;border-top:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button{min-height:72px;color:#aaa5a2;border:0;border-right:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:hover{color:#fff;background:var(--ds-canvas-raised)}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button.active{color:#fff}.story-studio-shell :is(.character-detail-form,.ending-editor,.cg-create-panel,.audio-editor,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-note-layout,.response-example-editor){border-color:var(--ds-line);border-radius:var(--radius-panel);background:var(--ds-canvas-raised);box-shadow:none}.story-studio-shell .studio-empty-state{color:#888;border-color:var(--ds-line);background:var(--ds-canvas-raised);min-height:0;padding:var(--ds-space-7) 0;color:#8f8a87;border:0;border-radius:0;box-shadow:none;min-height:136px;color:#96918e;border:var(--ds-border-width) dashed var(--ds-line);border-radius:var(--radius-panel);background:transparent}.story-studio-shell .studio-empty-state strong{color:#dedad7;font-size:14px}.story-studio-shell .studio-empty-state p{color:#8f8a87;font-size:12px}.publish-studio.compact-publish{display:grid;gap:0}.publish-required,.publish-option-summary,.publish-access-panel{padding:var(--ds-space-6) 0;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none}.publish-required h3,.publish-option-summary h3{color:#f0edeb;font-size:18px}.publish-required p,.publish-option-summary p{color:#96918e;font-size:12px}.publish-required-list{border-top:var(--ds-border-width) solid var(--ds-line)}.publish-required-list>div{align-items:flex-start;flex-direction:column;min-height:48px;padding:0 var(--ds-space-1);border-bottom:var(--ds-border-width) solid var(--ds-line)}.publish-required-list strong{font-size:13px}.publish-option-summary>div:last-child>button{min-height:54px;padding:0 var(--ds-space-1);border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent}.publish-option-summary>div:last-child>button:hover{background:var(--ds-canvas-raised)}.publish-option-summary>div:last-child>button strong{font-size:13px}.publish-option-summary>div:last-child>button small{color:#8f8a87;font-size:11px}.publish-access-panel{padding:var(--ds-space-5);gap:var(--ds-space-4);border-radius:7px;display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);align-items:center;gap:var(--ds-space-7)}.publish-access-title{display:flex;align-items:center;gap:var(--ds-space-3)}.publish-access-title>svg{color:var(--accent-soft)}.publish-access-title>div{display:grid;gap:var(--ds-space-1)}.publish-access-title span{color:#8f8a87;font-size:11px}.publish-access-title strong{color:#f0edeb;font-size:15px}.publish-access-panel>p{margin:0;color:#aaa5a2;font-size:13px}.publish-taxonomy{grid-column:1 / -1;padding:var(--ds-space-3) var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);display:grid;grid-template-columns:170px 1fr;gap:var(--ds-space-2) var(--ds-space-5)}.publish-taxonomy>span{color:#6d665e;font-size:11px;font-weight:700;color:#aaa5a2;font-size:12px}.publish-taxonomy b,.publish-taxonomy em{padding:var(--ds-space-1) var(--ds-space-2);border-radius:13px;color:#d5d0cd;font-size:11px;font-style:normal;font-weight:550}.publish-taxonomy small{color:#918980;font-size:11px;grid-column:2;color:#817d7a}.publish-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:var(--ds-space-2);padding-top:var(--ds-space-6)}.creation-start h2{margin:var(--ds-space-2) 0 var(--ds-space-2);font-size:28px;letter-spacing:-.04em;word-break:keep-all}.creation-start>p{color:var(--text-muted);font-size:13px}.creation-method button,.creation-kind-grid button{border-radius:var(--radius-panel)}.creation-method button strong,.creation-kind-grid strong{font-size:15px}.creation-method button span,.creation-kind-grid span{color:var(--text-muted);font-size:12px}.creation-prompt textarea{min-height:116px;padding:var(--ds-space-3);resize:vertical;color:#eee;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;outline:0;background:var(--ds-canvas-raised);line-height:1.6;font-size:14px}.main-footer p,.main-footer button,.main-footer span{color:#888380;font-size:11px}.legal-sheet>span{color:var(--red);font-weight:800;letter-spacing:.16em;color:var(--accent-soft);font-size:11px}.legal-sheet h2{margin:var(--ds-space-3) 0 var(--ds-space-4);font-family:var(--font-display);font-size:30px;font-size:28px}.legal-sheet>p,.legal-sheet li{color:var(--text-body);font-size:13px}.story-studio-shell :is(.character-publish-panel,.audio-type-cards,.audio-add-bar,.audio-workspace,.audio-editor,.audio-control-row,.audio-rule-note,.genre-builder,.genre-selection-summary,.rule-guide,.example-library,.style-comparison,.viewpoint-note,.thought-mode-grid,.thought-format,.player-mode-copy,.secret-flow-explainer,.publish-access-panel,.publish-option-summary,.response-example-editor,.opening-system-note,.stat-template-select,.item-library,.item-editor-head,.item-media-editor,.item-empty-line,.memory-view-tabs,.expression-set,.asset-gallery-empty,.expression-meta,.expression-generate,.system-preset-grid,.studio-disclosure-copy,.studio-disclosure-meta) :is(small,em){font-size:11px;line-height:1.45}.story-studio-shell :is(.audio-control-row,.stat-template-select,.item-empty-line,.viewpoint-note,.secret-flow-explainer,.response-example-editor){font-size:12px}.story-studio-shell :is(.audio-rule-note,.rule-guide,.example-library,.style-comparison,.player-mode-copy,.publish-access-panel,.expression-set,.asset-gallery-empty,.expression-generate) p,.story-studio-shell :is(.player-mode-copy,.asset-gallery-empty,.system-preset-grid)>span{font-size:12px;line-height:1.55}.story-studio-shell :is(.character-publish-panel,.audio-type-cards,.audio-workspace,.audio-editor,.genre-selection-summary,.rule-guide,.style-comparison,.expression-meta,.asset-gallery-empty,.memory-view-tabs,.publish-option-summary) strong{font-size:13px;line-height:1.4}.story-studio-shell :is(.asset-gallery-empty,.expression-actions,.expression-generate,.response-example-editor,.item-empty-line) button{min-height:38px;font-size:12px}.profile-editor label{display:grid;gap:var(--ds-space-1);color:#6d665e;font-size:11px;color:#c6c1be;font-size:12px}.profile-editor input{height:39px;padding:0 var(--ds-space-3);color:var(--ink);border:var(--ds-border-width) solid var(--line);border-radius:7px;background:var(--ds-surface-input-hover);outline:none;min-height:44px;color:#f0edeb;border-color:var(--ds-line);background:var(--ds-canvas-raised);font-size:14px}.preference-list strong,.my-menu button strong{color:#ece9e7;font-size:13px}.preference-list span,.my-menu button small,.support-list p{color:var(--text-muted);font-size:12px;line-height:1.55}.support-list summary{padding:var(--ds-space-4) 0;cursor:pointer;font-size:11px;font-weight:650;color:#e2dedb;font-size:13px}.ticket-options button{min-height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-2);color:#665f57;border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px;color:var(--text-body);border-color:var(--ds-line);background:var(--ds-canvas-raised);font-size:13px}.ticket-options b{font-size:11px;font-size:12px}.prompt-field{height:126px;padding:var(--ds-space-3) var(--ds-space-3) var(--ds-space-2);display:flex;flex-direction:column;border:var(--ds-border-width) solid var(--ds-line);border-radius:8px;background:var(--ds-surface-input-hover);border-color:var(--ds-line);background:var(--ds-canvas-raised)}.prompt-field textarea{flex:1;resize:none;color:#4e4943;border:0;outline:0;background:transparent;font-size:11px;line-height:1.6;color:#e8e8e8;color:#eee;font-size:14px}.prompt-field span{align-self:flex-end;color:#aaa298;color:var(--text-muted);font-size:11px}.tool-group button,.image-actions button{color:#b8b8b8;min-height:38px;color:var(--text-body);border-color:var(--ds-line);background:var(--ds-canvas-raised);font-size:12px}.chat-intro{margin-bottom:var(--ds-space-7);padding:var(--ds-space-6);text-align:center;border:var(--ds-border-width) solid var(--line);border-radius:10px;background:var(--ds-surface-glass);border-color:var(--ds-line);background:var(--ds-canvas-raised)}.chat-intro span{color:var(--red);font-weight:750;letter-spacing:.16em;color:var(--accent-soft);font-size:11px}.chat-intro strong{margin:var(--ds-space-2) 0 var(--ds-space-1);display:block;font-family:var(--font-display);font-size:20px;color:#f0edeb;font-family:var(--font-ui);font-size:22px}.chat-intro p{margin:0;color:#8b837a;font-size:11px;line-height:1.6;color:var(--text-muted);font-size:13px}.chat-message span{color:#8d857c;color:var(--text-muted);font-size:11px}.chat-message p{margin:0;padding:var(--ds-space-3) var(--ds-space-3);border:var(--ds-border-width) solid var(--line);border-radius:4px 12px 12px;background:var(--ds-surface-input-hover);font-size:11px;line-height:1.65;color:var(--text-body);border-color:var(--ds-line);background:var(--ds-canvas-raised);font-size:14px}.chat-shell>header>button{height:36px;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;gap:var(--ds-space-1);border:var(--ds-border-width) solid var(--line);border-radius:6px;background:var(--ds-surface-input-hover);cursor:pointer;font-size:11px;min-height:38px;color:var(--text-body);border-color:var(--ds-line);background:var(--ds-canvas-raised);font-size:12px}.legal-sheet>div{margin:var(--ds-space-6) 0;padding:var(--ds-space-4) var(--ds-space-4);border:var(--ds-border-width) solid var(--line);border-radius:8px;background:var(--ds-surface-input-hover);color:var(--text-body);border-color:var(--ds-line);background:var(--ds-canvas-raised)}.legal-sheet>div strong{font-size:11px;color:#eee;font-size:13px}@media(max-width:960px){.story-studio-shell .studio-main{padding:var(--ds-space-6) var(--ds-space-6) var(--ds-space-11)}.publish-access-panel{grid-template-columns:1fr;gap:var(--ds-space-2)}}@media(max-width:720px){body{font-size:14px}.page-content{padding-top:var(--ds-space-4)}.story-studio-shell .studio-main{padding:var(--ds-space-5) var(--ds-space-3) var(--ds-space-11)}.story-studio-shell .studio-main-head{margin:var(--ds-space-5) 0 var(--ds-space-6)}.story-studio-shell .studio-main-head h2{font-size:28px}.story-studio-shell .studio-form-grid{gap:var(--ds-space-5)}.publish-taxonomy{grid-template-columns:1fr}.publish-taxonomy small{grid-column:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto;animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms}}.card-title-row>strong{color:#f1efed;font-size:15px;line-height:1.35}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-2);color:#777;font-size:11px;min-height:24px;margin-top:var(--ds-space-1);color:#a6a09d;font-size:12px}.card-meta-facts{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-3);color:#a6a09d;font-size:12px;white-space:nowrap}.card-meta-facts>span{display:inline-flex;align-items:center;gap:var(--ds-space-1)}.creator-credit{min-width:0;display:inline-flex;align-items:baseline;color:#bdb7b4;white-space:nowrap}.creator-credit strong{overflow:hidden;color:#d8d3d0;font-size:12px;font-weight:650;line-height:1.4;text-overflow:ellipsis}.search-story-meta{min-width:0;display:flex;align-items:baseline;gap:var(--ds-space-2);overflow:hidden;color:#aaa4a1;font-size:12px}.search-story-meta>span:first-child{flex:0 0 auto;color:#aaa4a1}.search-story-meta .creator-credit{position:relative;padding-left:var(--ds-space-2)}.search-story-meta .creator-credit:before{content:"";position:absolute;top:50%;left:0;width:2px;height:2px;border-radius:50%;background:var(--ds-surface-input-hover);transform:translateY(-50%)}.dialog-author.creator-credit{margin:calc(-1 * var(--ds-space-1)) 0 var(--ds-space-3)}.dialog-author.creator-credit strong{font-size:13px}.story-card.is-visual-novel,.project-card.is-visual-novel{--format-accent: #e4a09b}.story-card.is-story-chat,.project-card.is-story-chat{--format-accent: #aab7e8}.story-card.is-character-chat,.project-card.is-character-chat{--format-accent: #d6b77d}.story-card .story-type-chip,.project-card .story-type-chip{color:var(--format-accent);border:0;border-radius:0;background:transparent}.card-meta>.card-meta-primary{min-width:0;display:flex;align-items:baseline;gap:var(--ds-space-1);overflow:hidden;white-space:nowrap}.card-meta-primary .story-format-label{flex:0 0 auto;color:var(--format-accent, #e4a09b);font-size:11px;font-style:normal;font-weight:700;letter-spacing:-.015em}.card-meta-primary>i{flex:0 0 auto;color:#625d5a;font-size:11px;font-style:normal}.card-meta-primary .creator-credit{min-width:0;overflow:hidden}.story-curation-home{font-family:var(--font-ui)}.story-curation-home .section-head{margin-bottom:var(--ds-space-4)}.story-curation-home .section-head>div:first-child>span{color:#d98f8a;font-size:12px;font-weight:650;letter-spacing:-.01em;text-transform:none}.story-curation-home .section-head h2{margin-top:var(--ds-space-1);color:#f2f0ee;font-family:var(--font-display);font-size:clamp(24px,2.1vw,30px);font-weight:400;line-height:1.32;letter-spacing:-.025em;word-break:keep-all}.curation-feature{position:relative;min-height:224px;margin-top:var(--ds-space-8);display:grid;grid-template-columns:minmax(270px,.68fr) minmax(0,1.32fr);overflow:hidden;color:#f4f1ef;border-top:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.curation-feature-copy{position:relative;z-index:3;padding:var(--ds-space-6) var(--ds-space-6) var(--ds-space-6) var(--ds-space-1);display:flex;flex-direction:column;justify-content:center}.curation-feature-copy:after{content:"";position:absolute;z-index:-1;top:0;right:-130px;bottom:0;left:0;background:var(--ds-surface-glass);pointer-events:none}.curation-feature-copy>span{color:#d98f8a;font-size:12px;font-weight:650;letter-spacing:-.01em}.curation-feature-copy h2{margin:var(--ds-space-2) 0 0;color:#f5f2f0;font-family:var(--font-display);font-size:clamp(28px,2.35vw,35px);font-weight:400;line-height:1.28;letter-spacing:-.03em}.curation-feature-copy p{max-width:330px;margin:var(--ds-space-3) 0 0;color:#aaa5a2;font-size:14px;line-height:1.65}.curation-feature-copy button{width:max-content;min-height:38px;margin-top:var(--ds-space-3);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#e8e4e2;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;cursor:pointer;font-size:13px;font-weight:600}.curation-feature-copy button:hover{color:#fff;border-bottom-color:var(--ds-accent)}.curation-feature-visual{position:relative;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-1);overflow:hidden}.curation-feature-visual:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--ds-media-overlay-soft);pointer-events:none}.curation-feature-visual>div{position:relative;min-height:224px;overflow:hidden;background:var(--ds-canvas-raised)}.curation-feature-visual .cover-art{transform:scale(1.04);filter:saturate(.82) contrast(1.02) brightness(.82)}.curation-feature-visual>div:nth-child(2) .cover-art{filter:saturate(.9) contrast(1.02) brightness(.88)}@media(max-width:1000px){.curation-feature{grid-template-columns:minmax(260px,.76fr) minmax(360px,1.24fr)}}@media(max-width:760px){.curation-feature{min-height:280px;margin-top:var(--ds-space-7);grid-template-columns:1fr}.curation-feature-copy{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--ds-space-6) var(--ds-space-5)}.curation-feature-copy:after{top:0;right:0;bottom:0;left:0;background:var(--ds-surface-glass)}.curation-feature-copy p{max-width:270px}.curation-feature-visual{min-height:280px;margin-left:28%}.curation-feature-visual>div{min-height:280px}.curation-feature-visual>div:first-child{display:none}}.story-curation-home>.curation-feature+.content-shelf{margin-top:var(--ds-space-7)}.story-studio-shell .system-setting-step{--studio-hairline: #303030;--studio-muted: #8b8b8b;display:flex;flex-direction:column;--system-line: #2b2b2b;--system-fill: #1c1717}.story-studio-shell .system-setting-step .system-preset-grid{margin-top:var(--ds-space-6);padding:0;gap:var(--ds-space-4) var(--ds-space-9);margin-top:var(--ds-space-5);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:0;border-top:var(--ds-border-width) solid var(--system-line);border-bottom:var(--ds-border-width) solid var(--system-line);background:transparent}.story-studio-shell .system-setting-step .system-preset-grid>button{min-height:68px;padding:var(--ds-space-3) var(--ds-space-4);display:grid;grid-template-columns:1fr;align-content:center;gap:var(--ds-space-1);color:#a8a3a0;border:0;border-bottom:var(--ds-border-width) solid var(--system-line);border-radius:0;background:transparent;box-shadow:none;text-align:left}.story-studio-shell .system-setting-step .system-preset-grid>button:nth-child(odd){border-right:0}.story-studio-shell .system-setting-step .system-preset-grid>button:nth-last-child(-n+2){border-bottom:0}.story-studio-shell .system-setting-step .system-preset-grid>button:hover{color:#f2efed;background:var(--ds-canvas-raised)}.story-studio-shell .system-setting-step .system-preset-grid>button.active,.story-studio-shell .system-setting-step .system-preset-grid>button[aria-pressed=true]{color:#f2efed}.story-studio-shell .system-setting-step .system-preset-grid>button>i{display:none}.story-studio-shell .system-setting-step .system-preset-grid>button strong{color:inherit;font-size:14px;font-weight:650;line-height:1.35}.story-studio-shell .system-setting-step .system-preset-grid>button span{color:#85807d;font-size:12px;line-height:1.45}.story-studio-shell .system-setting-step .system-preset-grid>button.active span{color:#b7b0ad}.story-studio-shell .system-setting-step .studio-disclosure{margin:0;border:0;border-top:var(--ds-border-width) solid var(--system-line);border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .studio-disclosure-growth{margin-top:var(--ds-space-7)}.story-studio-shell .system-setting-step .studio-disclosure-trigger{min-height:auto;padding:var(--ds-space-1) 0;width:100%;min-height:64px;padding:var(--ds-space-3) var(--ds-space-4);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-6);color:#ece8e5;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}.story-studio-shell .system-setting-step .studio-disclosure-trigger:hover{background:var(--ds-canvas-raised)}.story-studio-shell .system-setting-step .studio-disclosure.open .studio-disclosure-trigger{background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .studio-disclosure-copy{display:grid;gap:var(--ds-space-1)}.story-studio-shell .system-setting-step .studio-disclosure-copy strong{font-size:13px;color:#ece8e5;font-size:14px;font-weight:650;line-height:1.35}.story-studio-shell .system-setting-step .studio-disclosure-copy small{color:#8f8986;font-size:12px;line-height:1.4}.story-studio-shell .system-setting-step .studio-disclosure-action{padding-right:var(--ds-space-1);display:inline-flex;align-items:center;gap:var(--ds-space-3);color:#8f8986}.story-studio-shell .system-setting-step .studio-disclosure-meta{color:#8f8986;font-size:12px}.story-studio-shell .system-setting-step .studio-disclosure-action svg{flex:0 0 auto;transition:transform .16s ease}.story-studio-shell .system-setting-step .studio-disclosure.open .studio-disclosure-action svg{transform:rotate(180deg)}.story-studio-shell .system-setting-step>:is(.growth-system-panel,.item-system-panel,.relationship-system-panel),.story-studio-shell .system-setting-step>:is(.stat-library,.stat-editor){padding:var(--ds-space-5) 0 var(--ds-space-7);margin:0;padding:var(--ds-space-6) var(--ds-space-4) var(--ds-space-7);border:0;border-bottom:var(--ds-border-width) solid var(--system-line);border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step :is(.status-preview,.skill-builder,.item-library,.item-editor-head,.item-media-editor,.relationship-character-list){border-top:var(--ds-border-width) solid var(--studio-hairline);border:0;border-top:var(--ds-border-width) solid var(--system-line);border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .skill-builder>div:last-child>button,.story-studio-shell .system-setting-step :is(.stat-library,.item-library) button.add-stat,.story-studio-shell .system-setting-step .item-library button.add-item{width:auto;min-height:34px;padding:0 var(--ds-space-1);color:#d9a5a1;border:0;border-bottom:var(--ds-border-width) solid var(--ds-accent);border-radius:0;background:transparent;box-shadow:none}@media(max-width:720px){.story-studio-shell .system-setting-step .system-preset-grid{gap:var(--ds-space-4);grid-template-columns:1fr}.story-studio-shell .system-setting-step .system-preset-grid>button:nth-last-child(-n+2){border-bottom:var(--ds-border-width) solid var(--system-line)}.story-studio-shell .system-setting-step .system-preset-grid>button:last-child{border-bottom:0}.story-studio-shell .system-setting-step .studio-disclosure-meta{display:none}}.storychat-preview-message p,.vn-text>p{white-space:pre-line}.studio-generation-mode{display:block;margin-top:var(--ds-space-2);color:#9e968d;font-size:11px;letter-spacing:.02em}.studio-generation-error{color:#d77d72;font-size:11px;line-height:1.5}}@layer foundation{.sidebar-collapse,.sidebar-mobile-close{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;padding:0;color:#777;border:var(--ds-border-width) solid transparent;border-radius:var(--ds-radius-control);background:transparent;cursor:pointer}.sidebar-collapse:hover,.sidebar-mobile-close:hover{color:#fff;border-color:var(--ds-line);background:var(--ds-canvas-raised)}.sidebar-mobile-close{display:none}.history-head{padding:var(--ds-space-3) var(--ds-space-2) var(--ds-space-3);border-top:var(--ds-border-width) solid var(--line)}.history-list>button>div{position:relative;width:34px;height:44px;overflow:hidden;border-radius:4px;background:var(--ds-surface-input-hover)}.history-list>button>span{min-width:0;display:grid;gap:var(--ds-space-1)}.history-list strong,.history-list em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-list>button>svg{color:#aaa298}.sidebar-spacer{flex:1;min-height:28px}.side-footer button{padding:0;color:inherit;border:0;background:transparent;cursor:pointer;font:inherit}.side-footer span{width:100%;margin-top:var(--ds-space-1)}.sidebar-close,.sidebar-scrim{display:none}.sidebar.collapsed{transform:translate(-102%)}.main-area.sidebar-collapsed{margin-left:0}.main-area.sidebar-collapsed .topbar{padding-left:4.1vw}.main-area.sidebar-collapsed .topbar .menu-button{display:grid}@media(max-width:860px){.sidebar{transform:translate(-102%);box-shadow:15px 0 45px #211f1c26;transition:transform .22s ease}.sidebar.open,.sidebar.collapsed.open{transform:translate(0)}.sidebar-collapse{display:none}.sidebar-mobile-close,.sidebar-close{display:grid}.sidebar-scrim{position:fixed;z-index:39;top:0;right:0;bottom:0;left:0;display:block;visibility:hidden;border:0;background:var(--ds-overlay-scrim);opacity:0;transition:.2s ease}.sidebar-scrim.show{visibility:visible;opacity:1}.main-area.sidebar-collapsed .topbar{padding-left:var(--ds-space-5)}.main-area .topbar .menu-button{display:grid}}.sidebar .logo,.history-head strong,.history-list strong{color:#f5f5f5}.history-list em,.history-head p,.side-footer{color:#777}.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:var(--sidebar);padding:var(--ds-space-6) var(--ds-space-5) var(--ds-space-5);display:flex;flex-direction:column;background:var(--ds-surface-input-hover);border-right:var(--ds-border-width) solid var(--line);transition:transform .24s cubic-bezier(.22,.8,.26,1);background:var(--ds-canvas-raised);border-color:var(--line);color:var(--text-body);border-color:var(--ds-line);background:var(--ds-canvas)}.sidebar-head{min-height:var(--ds-topbar-height);margin:calc(var(--ds-space-6) * -1) calc(var(--ds-space-3) * -1) 0;padding:0 var(--ds-space-3);display:flex;align-items:center;justify-content:space-between}.history-head span{color:var(--red);font-weight:750;letter-spacing:.13em;color:var(--accent-soft);font-size:11px}.history-head strong{display:block;font-size:13px;margin-top:var(--ds-space-1);color:var(--text-strong);font-size:15px}.history-head p{margin:var(--ds-space-1) 0 0;color:#918980;font-size:11px;line-height:1.45;color:var(--text-muted);font-size:12px}.history-list{display:grid;gap:var(--ds-space-1)}.history-list>button{min-width:0;padding:var(--ds-space-1);display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:var(--ds-space-2);text-align:left;color:#665f57;border:0;border-radius:8px;background:transparent;cursor:pointer;color:#c6c6c6;min-height:62px;padding:var(--ds-space-2) var(--ds-space-1);color:var(--text-body);border-radius:var(--radius-control)}.history-list>button:hover{background:var(--ds-surface-input-hover);color:#fff;background:var(--ds-canvas-raised)}.history-list small{color:var(--red);color:var(--accent-soft);font-size:11px}.history-list strong{font-size:11px;color:#e7e4e2;font-size:12px}.history-list em{color:#948c83;font-style:normal;color:var(--text-muted);font-size:11px}.side-footer{display:flex;flex-wrap:wrap;gap:var(--ds-space-2) var(--ds-space-3);padding:0 var(--ds-space-2);color:#aaa39a;color:#85817e;font-size:11px}.side-footer button:hover{color:var(--red);color:var(--accent-soft)}.logo-wordmark{position:relative;display:inline-flex;align-items:flex-end;padding:var(--ds-space-1) var(--ds-space-2) var(--ds-space-1) 0;line-height:.86}.logo-syllable{display:inline-block;font-family:var(--font-logo);font-size:32px;font-weight:400;letter-spacing:-.12em;transform-origin:50% 75%;transition:transform .22s cubic-bezier(.2,.8,.2,1),color .22s ease}.logo-wa{position:relative;z-index:1;color:var(--accent-soft);transform:rotate(-7deg) translateY(-1px)}.logo-ku{color:#f7f4f2;transform:rotate(2deg) translateY(1px)}.logo-wordmark:after{content:"";position:absolute;right:3px;bottom:0;left:5px;height:2px;background:var(--accent-soft);transform:rotate(-2deg) scaleX(.64);transform-origin:0 50%;opacity:.72}.logo:hover .logo-wa{transform:rotate(-10deg) translateY(-3px)}.logo:hover .logo-ku{transform:rotate(4deg) translateY(-1px)}.primary-tabs{height:100%;display:flex;align-items:center;gap:var(--ds-space-1)}.primary-tabs button:hover{color:var(--ink)}.primary-tabs button.active{color:var(--red)}.menu-button,.mobile-logo{display:none}.top-actions{position:relative;display:flex;align-items:center;gap:var(--ds-space-4);margin-left:auto}.global-search-trigger{height:var(--ds-control-height-compact);padding:0;display:flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-body);border:0;border-radius:0;background:transparent;cursor:pointer;font-size:var(--ds-font-size-caption);font-weight:650}.global-search-trigger:hover{color:var(--ds-text-strong);background:transparent}.notification{position:relative}.notification i{position:absolute;top:9px;right:9px;width:6px;height:6px;border:1.5px solid var(--paper);border-radius:50%;background:var(--red)}.profile-button{height:var(--ds-control-height-compact);padding:0;display:flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-body);border:0;border-radius:0;background:transparent;cursor:pointer;font-size:var(--ds-font-size-caption);font-weight:700}.profile-button:hover{color:var(--ds-text-strong)}.profile-avatar{width:29px;height:29px;padding:var(--ds-space-1);display:grid;place-items:center;color:#fff;border-radius:50%;background:var(--ink);font-family:var(--font-ui);font-size:12px}.profile-button>svg{transition:transform .18s ease}.profile-button>svg.rotate{transform:rotate(90deg)}.mobile-nav{display:none}@media(max-width:860px){.primary-tabs{display:none}.topbar{padding:0 var(--ds-space-5)}}@media(max-width:620px){.topbar{height:60px;padding:0 var(--ds-space-3);gap:var(--ds-space-2)}.mobile-logo{display:block}.mobile-logo .logo-syllable{font-size:25px}.search-box kbd,.top-actions .notification,.profile-button{display:none}.global-search-trigger{width:40px;height:40px;padding:0;justify-content:center;border-color:transparent;background:transparent}.global-search-trigger span{display:none}}.primary-tabs button:hover,.primary-tabs button.active{color:#fff}.global-search-trigger:hover,.profile-button:hover{color:var(--ds-text-strong);border:0;background:transparent}.logo{display:inline-flex;align-items:center;color:#f7f4f2;font-size:28px;letter-spacing:-.8px}@media(max-width:620px){.mobile-nav{position:fixed;z-index:35;left:10px;right:10px;bottom:9px;height:62px;display:grid;grid-template-columns:repeat(5,1fr);overflow:visible;border:var(--ds-border-width) solid var(--ds-line);border-radius:16px;box-shadow:0 12px 35px #211f1c26;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-color:var(--ds-line);background:var(--ds-surface-glass)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-1);color:#8b847c;border:0;background:transparent;font-size:11px;color:#929292}.mobile-nav button.active{color:var(--red);color:var(--accent-soft)}}.topbar{position:sticky;top:0;z-index:30;height:var(--ds-topbar-height);padding:0 4.1vw;display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5);border-bottom:var(--ds-border-width) solid var(--ds-line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-color:var(--line);color:var(--text-strong);border-color:var(--ds-line);background:var(--ds-surface-glass)}.primary-tabs button{position:relative;height:100%;padding:0 var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-1);color:#777067;border:0;background:transparent;cursor:pointer;font-size:11px;font-weight:650;color:#a9a9a9;color:#aaa6a3;font-size:13px}.global-search-trigger,.profile-button{color:var(--ds-text-body);min-height:var(--ds-control-height-compact);border:0;border-radius:0;background:transparent;font-size:var(--ds-font-size-caption)}.icon-button{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;border-radius:var(--radius-control)}.icon-button:hover{background:var(--ds-surface-input-hover);background:var(--ds-surface-input);background:var(--surface-hover)}.topbar .menu-button{display:none}}@layer studio-base{#root .story-studio-shell :is(.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-note-layout,.response-example-editor,.audio-editor,.ending-editor,.cg-create-panel,.publish-required,.publish-option-summary,.publish-feedback,.publish-access-panel,.publish-taxonomy){border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .scene-form-card{width:100%;padding:var(--ds-space-6) 0 var(--ds-space-4);overflow:visible}.story-studio-shell .scene-form-card>.danger-inline{width:max-content;min-width:0;min-height:36px;margin-top:var(--ds-space-1);padding:var(--ds-space-1) 0;justify-self:start;justify-content:flex-start;color:#d48f89;border:0;background:transparent;box-shadow:none}.story-studio-shell .scene-form-card>.danger-inline:hover{color:#f0aaa4;background:transparent}.story-studio-shell .studio-empty-state>div:not(.character-ai-panel){width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-2) var(--ds-space-4)}.story-studio-shell .studio-empty-state>div:not(.character-ai-panel)>button{flex:0 0 auto;overflow:visible;text-overflow:clip}#root .story-studio-shell :is(.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-note-layout,.response-example-editor,.audio-editor,.ending-editor,.cg-create-panel){padding:var(--ds-space-6) 0}.story-studio-shell :is(.studio-info,.viewpoint-note,.opening-system-note,.generation-rules,.background-condition,.audio-rule-note,.secret-flow-explainer,.player-mode-copy,.genre-selection-summary){margin:var(--ds-space-4) 0 0;padding:0;color:#918c89;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.studio-info,.viewpoint-note,.opening-system-note,.generation-rules,.background-condition,.audio-rule-note,.secret-flow-explainer) :is(strong,b,span:first-child){color:#d5d0cd}.story-studio-shell .studio-empty-state,.story-studio-shell .system-setting-step>.studio-empty-state{min-height:0;padding:var(--ds-space-7) 0;color:#8f8a87;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .studio-empty-state>:is(strong,p){max-width:620px}.story-studio-shell .studio-section-copy{margin-bottom:var(--ds-space-6)}.story-studio-shell .publish-studio.compact-publish{max-width:880px;padding:0 var(--ds-space-5) var(--ds-space-9);gap:0}.story-studio-shell .publish-mode-tabs{padding:0 0 var(--ds-space-2);display:flex;gap:var(--ds-space-6);border-bottom:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .publish-mode-tabs button{position:relative;min-height:var(--ds-control-height);padding:0;color:var(--ds-text-muted);border:0;background:transparent;font-size:var(--ds-font-size-label);font-weight:700}.story-studio-shell .publish-mode-tabs button:hover,.story-studio-shell .publish-mode-tabs button[aria-selected=true]{color:var(--ds-accent-strong)}.story-studio-shell .publish-mode-tabs button:after{content:"";position:absolute;right:0;bottom:calc(var(--ds-space-2) * -1);left:0;height:2px;background:transparent}.story-studio-shell .publish-mode-tabs button[aria-selected=true]:after{background:var(--ds-accent)}.story-studio-shell .publish-listing-editor{padding:var(--ds-space-8) 0;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .publish-listing-editor>div:first-child{margin-bottom:var(--ds-space-6)}.story-studio-shell .publish-listing-editor>div:first-child>span{color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:var(--ds-letter-kicker)}.story-studio-shell .publish-listing-editor h3{margin:var(--ds-space-2) 0 0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}.story-studio-shell .publish-listing-editor>div:first-child>p{margin:var(--ds-space-2) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}.story-studio-shell .publish-listing-editor textarea{min-height:150px}.story-studio-shell .publish-thumbnail-field{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:var(--ds-space-6);padding:var(--ds-space-3) 0}.story-studio-shell .publish-thumbnail-field>div{display:grid;gap:var(--ds-space-1)}.story-studio-shell .publish-thumbnail-field>.asset-generate{grid-column:1 / -1}.story-studio-shell .publish-thumbnail-generate{align-self:start}@media(max-width:760px){.story-studio-shell .publish-thumbnail-field{grid-template-columns:minmax(0,1fr)}}.story-studio-shell .publish-file-action{display:inline-flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);color:var(--ds-accent-strong);font-size:var(--ds-font-size-label);font-weight:700;cursor:pointer}.story-studio-shell .publish-file-action:hover{color:var(--ds-text-strong)}.story-studio-shell .publish-file-action input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%)}.story-studio-shell :is(.publish-required,.publish-option-summary){padding:var(--ds-space-8) 0}.story-studio-shell :is(.publish-required,.publish-option-summary)>div:first-child{margin:0 0 var(--ds-space-5)}.story-studio-shell .publish-required-list,.story-studio-shell .publish-option-summary>div:last-child{margin-top:0;grid-template-columns:1fr;gap:0}.story-studio-shell .publish-required-list>div{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-2);flex-direction:initial}.story-studio-shell .publish-required-list>div>span{width:18px;height:18px;padding:var(--ds-space-1);display:grid;place-items:center;border-radius:50%;background:var(--ds-surface-input-hover);color:#111;font-size:11px;font-weight:800}.story-studio-shell .publish-required-list>div.complete>span{background:var(--accent-soft)}html body #root .story-studio-shell .publish-studio.compact-publish>.publish-taxonomy{border:0;background:transparent;background-color:transparent;background-image:none;box-shadow:none}.story-studio-shell .custom-player-example>div{display:flex;align-items:baseline;gap:var(--ds-space-2);margin-bottom:var(--ds-space-4)}.story-studio-shell .custom-player-example b{color:var(--accent-soft);font-size:12px;font-weight:700}.story-studio-shell .custom-player-example>div span{color:#74706d;font-size:11px}.story-studio-shell .custom-player-example dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-4) var(--ds-space-7);margin:0}.story-studio-shell .custom-player-example dl>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:var(--ds-space-3);align-items:start}.story-studio-shell .custom-player-example dt{color:#eeecea;font-size:12px;font-weight:650}.story-studio-shell .custom-player-example dd{margin:0;color:#aaa5a2;font-size:12px;line-height:1.65}@media(max-width:760px){.story-studio-shell .custom-player-example dl{grid-template-columns:1fr}.story-studio-shell .custom-player-example dl>div{grid-template-columns:78px minmax(0,1fr)}}.story-studio-shell .search-keyword-editor{display:grid;gap:var(--ds-space-3);margin-top:var(--ds-space-1)}.story-studio-shell .search-keyword-heading{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-6)}.story-studio-shell .search-keyword-heading>small{max-width:560px;color:#85817e;font-size:11px;line-height:1.55;text-align:right}.story-studio-shell .search-keyword-input{min-height:46px;padding:var(--ds-space-2) 0 var(--ds-space-2);display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-2);border-bottom:var(--ds-border-width) solid var(--ds-line)}.story-studio-shell .search-keyword-input:focus-within{border-bottom-color:var(--accent-soft)}.story-studio-shell .search-keyword-input>span{display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#e5e1de;font-size:12px;line-height:1}.story-studio-shell .search-keyword-input>span:before{content:"#";color:var(--accent-soft)}.story-studio-shell .search-keyword-input>span>button{width:20px;min-width:20px;height:20px;min-height:20px;padding:0;display:inline-grid;place-items:center;color:#777;border:0;border-radius:50%;background:transparent}.story-studio-shell .search-keyword-input>span>button:hover{color:#efb0aa;background:var(--ds-surface-input)}.story-studio-shell .search-keyword-input input{min-width:190px;min-height:30px;flex:1 1 220px;padding:0 var(--ds-space-1);color:#eee;border:0;background:transparent;box-shadow:none;font-size:12px}.story-studio-shell .search-keyword-input input:focus{outline:0}@media(max-width:720px){.story-studio-shell .search-keyword-heading{align-items:flex-start;flex-direction:column;gap:var(--ds-space-1)}.story-studio-shell .search-keyword-heading>small{text-align:left}}.story-studio-shell :is(.publish-studio,.publish-required,.publish-option-summary,.publish-access-panel,.publish-feedback,.section-example-panel,.example-library,.rule-guide,.style-comparison,.character-detail-form,.protagonist-brief-panel,.protagonist-candidates,.custom-player-panel,.start-setting-editor,.start-setup-guide,.system-setting-step,.ending-setting-step,.character-planner,.character-visual-studio,.relationship-workspace,.audio-workspace,.asset-priority,.background-rule-preview,.relationship-board-help,.reader-style-guard){border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none}.story-studio-shell :is(.section-example-panel,.start-setup-guide,.reader-style-guard,.genre-selection-summary,.protagonist-handoff,.ending-condition-flow,.ending-easy-flow,.scene-builder-steps,.asset-priority){border:0;background:transparent;box-shadow:none}.story-studio-shell :is(.publish-required-list,.publish-option-summary>div:last-child,.thought-mode-grid,.reader-style-modes,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.memory-view-tabs,.system-disclosure-nav){border:0;background:transparent;box-shadow:none}.story-studio-shell .publish-required-list>div,.story-studio-shell .publish-option-summary>div:last-child>button{min-height:52px;padding:var(--ds-space-2) var(--ds-space-1);border-radius:0;box-shadow:none;min-height:0;padding:var(--ds-space-2) 0;border:0;background:transparent}.story-studio-shell .publish-required-list>div+div,.story-studio-shell .publish-option-summary>div:last-child>button+button{margin-top:var(--ds-space-1)}.story-studio-shell .publish-option-summary>div:last-child>button:hover{color:#fff;color:var(--accent-soft);background:transparent}.story-studio-shell .publish-access-panel{margin:var(--ds-space-2) 0 0;padding:var(--ds-space-6) 0;display:flex;align-items:flex-start;gap:var(--ds-space-3);margin-top:var(--ds-space-5);padding:var(--ds-space-5) 0 0}.story-studio-shell .publish-actions{padding-top:var(--ds-space-6)}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.memory-view-tabs){display:flex;flex-wrap:wrap;gap:var(--ds-space-2) var(--ds-space-6)}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.memory-view-tabs)>button{width:auto;min-height:40px;padding:var(--ds-space-2) 0;color:#9c9794;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.memory-view-tabs)>button:is(:hover,.active){color:#f1edeb}.story-studio-shell :is(.studio-disclosure-trigger,.studio-disclosure-action){padding:var(--ds-space-4) 0;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.studio-disclosure-trigger,.studio-disclosure-action):hover{color:var(--accent-soft);background:transparent}.story-studio-shell .publish-taxonomy{padding:var(--ds-space-5) 0;display:none}.story-studio-shell .illustration-type-tabs{margin:var(--ds-space-5) 0 var(--ds-space-6);gap:var(--ds-space-3) var(--ds-space-6);border:0;background:transparent}.story-studio-shell .illustration-type-tabs button{min-height:38px;padding:0 0 var(--ds-space-2);white-space:nowrap;border:0;background:transparent;box-shadow:none}.story-studio-shell :is(.locked-viewpoint,.thought-format,.avatar-policy,.studio-asset-picker,.character-ai-panel,.initial-state-panel,.start-setup-examples>div,.skill-builder,.item-library,.stat-library,.scene-library,.ending-easy-flow,.ending-rule-builder,.generation-policy,.generation-rules,.advanced-feature-picker,.audio-add-bar,.audio-rule-note,.background-condition,.protagonist-handoff,.scene-builder-steps,.asset-priority,.publish-feedback,.secret-authoring-grid>label){border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none}.story-studio-shell :is(.thought-format,.avatar-policy,.studio-asset-picker,.character-ai-panel,.initial-state-panel,.skill-builder,.item-library,.stat-library,.scene-library,.ending-easy-flow,.ending-rule-builder,.generation-policy,.advanced-feature-picker,.audio-add-bar,.audio-rule-note,.background-condition,.protagonist-handoff,.scene-builder-steps,.asset-priority,.publish-feedback){padding-inline:0}.story-studio-shell :is(.add-gallery,.cast-editor-grid .add-cast,.character-look-library .add-character-look,.background-library .add-background,.ending-library .add-ending,.scene-library button.add-scene,.stat-library button.add-stat,.item-library button.add-item,.asset-upload,.media-upload-card){width:max-content;min-width:0;min-height:0;padding:var(--ds-space-3) 0;display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--ds-space-2);color:#c8c3c0;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.add-gallery,.cast-editor-grid .add-cast,.character-look-library .add-character-look,.background-library .add-background,.ending-library .add-ending,.scene-library button.add-scene,.stat-library button.add-stat,.item-library button.add-item,.asset-upload,.media-upload-card):hover{color:var(--accent-soft);background:transparent}.story-studio-shell .add-gallery span{color:#77726f}.story-studio-shell .relation-copy{align-items:center}.story-studio-shell .relation-copy>button.studio-inline-entry,.story-studio-shell .relation-copy>button.studio-inline-entry:hover{width:max-content;min-width:0;min-height:0;padding:var(--ds-space-1) 0;display:inline-flex;flex-direction:column;align-items:flex-end;gap:var(--ds-space-1);color:#d9d4d1;text-align:right;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .relation-copy>button.studio-inline-entry>span{display:inline-flex;align-items:center;gap:var(--ds-space-1)}.story-studio-shell .relation-copy>button.studio-inline-entry strong{font-size:12px;font-weight:650}.story-studio-shell .relation-copy>button.studio-inline-entry small{color:#77726f;font-size:11px}.story-studio-shell .relation-copy>button.studio-inline-entry:hover{color:var(--accent-soft)}.story-studio-shell .relation-copy>button.studio-inline-entry:disabled{color:#66615e;cursor:not-allowed;opacity:1}.story-studio-shell .relationship-workspace>aside{padding:var(--ds-space-5) var(--ds-space-4);border-left:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas)}.story-studio-shell .relationship-board-help{padding:0 0 var(--ds-space-4);border:0;background:transparent}.story-studio-shell .relationship-edge-labels{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.story-studio-shell .relationship-edge-labels>button{position:absolute;z-index:2;padding:var(--ds-space-1) var(--ds-space-2);color:#a6a19e;border:0;border-radius:0;background:var(--ds-canvas);box-shadow:none;font-family:var(--font-ui);font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap;cursor:pointer;pointer-events:auto;transform:translate(-50%,-50%)}.story-studio-shell .relationship-edge-labels>button:is(:hover,.active){color:var(--accent-soft)}.story-studio-shell .relationship-node,.story-studio-shell .relationship-node:hover{width:136px;min-height:68px;padding:var(--ds-space-2);color:#dedad7;border:var(--ds-border-width) solid transparent;border-radius:6px;background:transparent;box-shadow:none}.story-studio-shell .relationship-node.linking{border-color:var(--accent-soft);background:var(--ds-canvas-raised);box-shadow:none}.story-studio-shell .relationship-node>span{width:42px;height:54px}.story-studio-shell .relationship-node small{color:#7f7a77;font-size:11px}.story-studio-shell .relationship-node strong{color:#e8e4e1;font-family:var(--font-ui);font-size:13px}.story-studio-shell .relationship-edge-list{margin:0 0 var(--ds-space-5);gap:0}.story-studio-shell .relationship-edge-list>button,.story-studio-shell .relationship-edge-list>button:hover,.story-studio-shell .relationship-edge-list>button.active{min-height:58px;padding:var(--ds-space-2) 0 var(--ds-space-2) var(--ds-space-3);color:#aaa5a2;border:0;border-left:2px solid transparent;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .relationship-edge-list>button:hover,.story-studio-shell .relationship-edge-list>button.active{color:#f0ece9;border-left-color:var(--accent-soft)}.story-studio-shell .relationship-edge-list span{color:#77726f;font-size:11px}.story-studio-shell .relationship-edge-list strong{font-size:13px}.story-studio-shell .relationship-edge-editor label{color:#aaa5a2;font-size:11px}.story-studio-shell .relationship-edge-editor .remove-relation{width:max-content;min-height:36px;padding:0;color:#d8958e;border:0;background:transparent}@media(max-width:760px){.story-studio-shell .relationship-workspace>aside{border-top:var(--ds-border-width) solid var(--ds-line);border-left:0}}#root .story-studio-shell .character-detail-tabs{width:100%;margin:var(--ds-space-2) 0 var(--ds-space-6);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .character-detail-tabs>button{position:relative;min-width:0;min-height:60px;padding:var(--ds-space-2) var(--ds-space-3) var(--ds-space-3) 0;display:grid;align-content:center;justify-items:start;gap:var(--ds-space-1);color:#8d8885;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left;white-space:normal}#root .story-studio-shell .character-detail-tabs>button:after{content:"";position:absolute;left:0;bottom:-1px;width:0;height:2px;background:var(--ds-accent);transition:width .16s ease}#root .story-studio-shell .character-detail-tabs>button.active{color:#f1ece9}#root .story-studio-shell .character-detail-tabs strong{font-size:13px;line-height:1.35}#root .story-studio-shell .character-detail-tabs small{min-height:16px;overflow:hidden;color:#77716e;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .character-visual-studio{padding-top:var(--ds-space-1)}#root .story-studio-shell .character-visual-heading{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:var(--ds-space-3) var(--ds-space-6)}#root .story-studio-shell .character-visual-heading>div{min-width:0}#root .story-studio-shell .character-visual-heading p{margin:var(--ds-space-1) 0 0}#root .story-studio-shell .character-visual-heading>button{min-height:38px;padding:var(--ds-space-2) 0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#d9d2ce;border:0;border-radius:0;background:transparent;box-shadow:none;white-space:nowrap}.relationship-workspace{grid-template-columns:minmax(0,1fr) 340px}.relationship-canvas-guide{position:absolute;z-index:3;top:16px;left:18px;display:flex;align-items:center;gap:var(--ds-space-2);color:#8e8885;font-size:11px;pointer-events:none}.relationship-canvas-guide b{width:21px;height:21px;padding:var(--ds-space-1);display:grid;place-items:center;color:#171313;border-radius:50%;background:var(--ds-accent);font-size:11px}.relationship-canvas-guide span{width:20px;height:1px;background:var(--ds-surface-input-hover)}.relationship-node.target{border-color:var(--ds-line)}.relationship-workspace>aside{padding:var(--ds-space-5);background:var(--ds-canvas-raised)}.relationship-connection-builder{display:grid;gap:var(--ds-space-2)}.relationship-connection-builder>strong,.relationship-edge-editor>strong{color:#f0ece9;font-size:13px}.relationship-connection-builder>p,.relationship-empty-copy{margin:0;color:#817b78;font-size:11px;line-height:1.55}.relationship-connection-builder>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-2)}.relationship-connection-builder label{display:grid;gap:var(--ds-space-1);color:#9e9895;font-size:11px}.relationship-connection-builder>button{width:max-content;min-height:36px;padding:var(--ds-space-2) 0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#e7a29c;border:0;border-radius:0;background:transparent;box-shadow:none}.relationship-connection-builder>button:disabled{color:#625d5a}.relationship-edge-list{margin:var(--ds-space-5) 0;padding-top:var(--ds-space-4);border-top:var(--ds-border-width) solid var(--ds-line)}.relationship-edge-list button{position:relative;padding:var(--ds-space-2) 0 var(--ds-space-2) var(--ds-space-3);border:0;border-radius:0;background:transparent;box-shadow:none}.relationship-edge-list button:before{content:"";position:absolute;inset:8px auto 8px 0;width:2px;background:transparent}.relationship-edge-editor{padding-top:var(--ds-space-1)}.relationship-edge-editor .remove-relation{width:max-content;padding:var(--ds-space-2) 0;border:0;background:transparent}@media(max-width:900px){#root .story-studio-shell .character-planner{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .cast-editor-grid>button:not(.add-cast){flex:0 0 190px}.relationship-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(330px,1fr) minmax(270px,auto)}}@media(max-width:620px){#root .story-studio-shell .character-detail-tabs{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .character-detail-tabs>button{min-height:48px;padding-bottom:var(--ds-space-2)}#root .story-studio-shell .character-detail-tabs>button small{display:none}#root .story-studio-shell .character-visual-heading{grid-template-columns:minmax(0,1fr)}.relationship-canvas-guide{display:none}}#root .story-studio-shell .system-setting-step .status-preview{width:100%;min-width:0;margin:var(--ds-space-7) 0 var(--ds-space-8);padding:0;display:grid;grid-template-columns:minmax(210px,.42fr) minmax(0,1.58fr);overflow:hidden;color:#eee9e6;border:var(--ds-border-width) solid var(--ds-line);border-left:3px solid var(--ds-accent);border-radius:4px;background:var(--ds-surface-overlay);box-shadow:0 18px 45px #0000002e}#root .story-studio-shell .status-preview-owner{min-width:0;padding:var(--ds-space-6) var(--ds-space-6);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--ds-space-1);border-right:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .status-preview-owner>span{display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#e9a7a1;font-size:11px;font-weight:760;letter-spacing:.12em}#root .story-studio-shell .status-preview-owner>span>i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--ds-accent);box-shadow:0 0 0 4px #e9a7a117,0 0 16px #e9a7a15c}#root .story-studio-shell .status-preview-owner>strong{max-width:100%;overflow:hidden;color:#fff;font-size:clamp(20px,2vw,28px);font-weight:720;line-height:1.22;letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .status-preview-owner>small{color:#8f8986;font-size:11px;line-height:1.55}#root .story-studio-shell .status-stat-grid{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));align-content:stretch}#root .story-studio-shell .status-stat,#root .story-studio-shell .status-stat:hover,#root .story-studio-shell .status-stat:focus,#root .story-studio-shell .status-stat.active,#root .story-studio-shell .status-stat[aria-pressed=true]{position:relative;min-width:0;width:100%;min-height:112px;padding:var(--ds-space-5) var(--ds-space-5) var(--ds-space-4);display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:var(--ds-space-2);color:#aaa4a1;text-align:left;border:0;border-right:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .status-stat:hover,#root .story-studio-shell .status-stat:focus-visible{color:#f1c1bd;background:var(--ds-surface-subtle)}#root .story-studio-shell .status-stat.active,#root .story-studio-shell .status-stat[aria-pressed=true]{color:#efb0aa}#root .story-studio-shell .status-stat>span{min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-2)}#root .story-studio-shell .status-stat>span>small{overflow:hidden;color:#aaa4a1;font-size:12px;font-weight:650;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .status-stat>span>strong{flex:0 0 auto;color:#fff;font-size:21px;font-weight:720;line-height:1;letter-spacing:-.025em}#root .story-studio-shell .status-stat>span>strong>em{margin-left:var(--ds-space-1);color:#e4a39e;font-size:11px;font-style:normal;font-weight:700}#root .story-studio-shell .status-stat>i{width:100%;height:3px;overflow:hidden;border-radius:999px;background:var(--ds-surface-input)}#root .story-studio-shell .status-stat>i>em{display:block;height:100%;border-radius:inherit;background:var(--ds-accent);box-shadow:0 0 12px #e5a09a47}#root .story-studio-shell .status-stat>b{color:#746e6b;font-size:11px;font-weight:540;line-height:1.3}#root .story-studio-shell .status-stat-add,#root .story-studio-shell .status-stat-add:hover{min-width:0;min-height:112px;padding:var(--ds-space-5);display:flex;align-items:center;justify-content:center;gap:var(--ds-space-2);color:#aca6a3;border:0;border-right:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .status-stat-add:hover{color:#efb0aa;background:var(--ds-surface-subtle)}#root .story-studio-shell .stat-empty-action{margin:var(--ds-space-6) 0 var(--ds-space-8);display:flex;align-items:center;flex-wrap:wrap;gap:var(--ds-space-2) var(--ds-space-5);color:#8f8986}#root .story-studio-shell .stat-empty-action button{min-height:36px;padding:var(--ds-space-1) 0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#e7aaa5;border:0;background:transparent}#root .story-studio-shell .stat-editor{margin-top:var(--ds-space-8)}#root .story-studio-shell .stat-editor-heading{margin-bottom:var(--ds-space-2);padding-bottom:var(--ds-space-4);display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:var(--ds-space-1) var(--ds-space-3);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .stat-editor-heading>span{color:#e59e98;font-size:11px;font-weight:760;letter-spacing:.1em}#root .story-studio-shell .stat-editor-heading>strong{color:#eeeae7;font-size:16px;line-height:1.4}#root .story-studio-shell .stat-editor-heading>small{grid-column:2;color:#898481;font-size:11px;line-height:1.5}@media(max-width:980px){#root .story-studio-shell .system-setting-step .status-preview{grid-template-columns:1fr}#root .story-studio-shell .status-preview-owner{border-right:0;border-bottom:var(--ds-border-width) solid var(--ds-line)}}@media(max-width:560px){#root .story-studio-shell .status-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#root .story-studio-shell .status-preview-owner,#root .story-studio-shell .status-stat,#root .story-studio-shell .status-stat-add{padding-left:var(--ds-space-4);padding-right:var(--ds-space-4)}}@media(max-width:720px){.story-studio-shell .publish-studio.compact-publish{padding-inline:var(--ds-space-1)}.story-studio-shell :is(.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-note-layout,.response-example-editor,.audio-editor,.ending-editor,.cg-create-panel){padding-block:var(--ds-space-5)}.story-studio-shell .illustration-type-tabs{margin-bottom:var(--ds-space-6);overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.story-studio-shell .relation-copy>button.studio-inline-entry{align-items:flex-start;text-align:left}}.story-studio-shell,.relationship-board-modal{--studio-control-height: 46px;--studio-control-pad-x: 14px}.story-studio-shell :is(select,input,textarea),.relationship-board-modal :is(select,input,textarea){box-sizing:border-box}.story-studio-shell select,.relationship-board-modal select{width:100%;min-width:0;height:var(--studio-control-height);min-height:var(--studio-control-height);padding:0 var(--ds-space-8) 0 var(--studio-control-pad-x);color:#e9e5e2;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;outline:0;background-color:var(--ds-canvas-raised);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b7b0ae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;background-size:14px;font-size:13px;line-height:normal;-webkit-appearance:none;-moz-appearance:none;appearance:none}.story-studio-shell select:is(:hover,:focus-visible),.relationship-board-modal select:is(:hover,:focus-visible){border-color:var(--ds-line);box-shadow:0 0 0 3px #e9a19a14}.story-studio-shell select option,.relationship-board-modal select option{color:#e9e5e2;background:var(--ds-canvas-raised)}.story-studio-shell button>svg,.relationship-board-modal button>svg,.primary-button>svg,.outline-action>svg{display:block;flex:0 0 auto;align-self:center;margin:0;vertical-align:middle}.story-studio-shell :is(.skill-add-action,.stat-library button.add-stat,.item-library button.add-item,.item-empty-line>button,.keyword-note-layout>aside>button:last-child,.scene-library button.add-scene,.ending-rule-builder>button,.studio-empty-state button,.add-expression){width:max-content;min-width:0;min-height:36px;padding:var(--ds-space-2) var(--ds-space-1);display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--ds-space-2);line-height:1.35;white-space:nowrap}.story-studio-shell .skill-builder>div:first-child,.story-studio-shell .stat-library>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:var(--ds-space-1) var(--ds-space-2)}.story-studio-shell .skill-builder>div:first-child>span,.story-studio-shell .stat-library>div:first-child>span{display:inline-flex;align-items:center;gap:var(--ds-space-1);line-height:1.35}.story-studio-shell .system-setting-step .stat-template-select{width:min(100%,520px);margin:var(--ds-space-4) 0 var(--ds-space-2);display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:var(--ds-space-2)}.story-studio-shell .system-setting-step .stat-template-select>span{line-height:1.4}.story-studio-shell .studio-form-grid label,.story-studio-shell .look-trigger-rule label,.relationship-board-modal .relationship-edge-editor label{min-width:0;align-content:start;gap:var(--ds-space-2)}@media(max-width:720px){.story-studio-shell select,.relationship-board-modal select{font-size:14px}}:root{--waku-hairline: #262626;--waku-hover-text: #fff7f5}:is(.ranking-section,.detail-filters,.character-type-tabs,.continue-section,.recent-section,.collection-row,.curation-section,.profile-overview,.profile-identity,.profile-stats,.my-detail-panel,.ticket-panel,.creator-start,.creator-guide,.image-studio,.image-controls,.image-workspace){border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none}.ranking-section{margin-top:clamp(var(--ds-space-10),8vw,var(--ds-space-11));padding:0}.ranking-list{margin-top:var(--ds-space-1);gap:0 var(--ds-space-9);border:0;background:transparent}.ranking-item{--format-accent: #e4a09b;min-height:84px;height:auto;padding:var(--ds-space-3) var(--ds-space-1);grid-template-columns:32px 46px minmax(0,1fr) auto 18px;border:0;border-bottom:var(--ds-border-width) solid var(--waku-hairline);border-radius:0;background:transparent;box-shadow:none}.ranking-item.is-story-chat{--format-accent: #aab7e8}.ranking-item.is-character-chat{--format-accent: #d6b77d}.ranking-item:hover{background:transparent}.ranking-item:hover strong{color:var(--waku-hover-text)}.ranking-item>b{color:#d9d4d1;font-size:16px}.ranking-item>div:nth-child(3){gap:var(--ds-space-1)}.ranking-item strong{color:#eeeae7;font-size:14px}.ranking-item span{display:flex;align-items:baseline;gap:var(--ds-space-1);color:#85807d;font-size:11px}.ranking-item span em{color:var(--format-accent);font-style:normal;font-weight:700}.ranking-item span i{color:#55514f;font-style:normal}.ranking-item>svg{margin-right:var(--ds-space-1);color:#716c69}.detail-filters{margin:var(--ds-space-3) 0 var(--ds-space-7);padding:var(--ds-space-3) 0 var(--ds-space-1)}.detail-filter-head{margin-bottom:var(--ds-space-4)}.detail-filter-row{padding:var(--ds-space-2) 0}.detail-filter-row>div{gap:var(--ds-space-1) var(--ds-space-5)}.detail-filter-row button,.detail-filter-row button:hover,.detail-filter-row button.active{min-height:32px;padding:var(--ds-space-1) 0;color:#9f9996;border:0;border-bottom:var(--ds-border-width) solid transparent;border-radius:0;background:transparent;box-shadow:none}.detail-filter-row button:hover{color:#eeeae7}.detail-filter-row button.active{color:#f0bbb6}.character-type-tabs{min-height:0;margin:var(--ds-space-7) 0 var(--ds-space-3);padding:0;display:flex;gap:var(--ds-space-7)}.character-type-tabs>button,.character-type-tabs>button:hover,.character-type-tabs>button.active{width:auto;min-height:48px;padding:0 0 var(--ds-space-2);color:#96918e;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none}.character-type-tabs>button.active{color:#f2efed}.character-type-tabs button small{color:#77726f;background:transparent}:is(.continue-card,.recent-chats>button,.character-card,.collection-cards>button,.project-card){border:0;border-radius:0;background:transparent;box-shadow:none}:is(.continue-card,.recent-chats>button,.project-card){border-bottom:var(--ds-border-width) solid var(--waku-hairline)}:is(.continue-card,.recent-chats>button,.character-card,.collection-cards>button,.project-card):hover{background:transparent;box-shadow:none}.character-card{padding:0;gap:var(--ds-space-3)}.character-card:hover .character-card-copy>strong,.collection-cards>button:hover>strong,.project-card:hover .project-copy>strong{color:var(--waku-hover-text)}.profile-overview{margin-top:var(--ds-space-7);gap:clamp(var(--ds-space-7),5vw,var(--ds-space-10))}.profile-identity{padding:var(--ds-space-5) 0}.profile-stats{padding:var(--ds-space-5) 0;gap:var(--ds-space-7)}.profile-stats>button,.profile-stats>button:hover,.profile-stats>button.active{padding:var(--ds-space-2) 0;border:0;border-radius:0;background:transparent;box-shadow:none}.profile-stats>button.active strong{color:#f0bbb6}.my-menu{margin-top:var(--ds-space-8);gap:0 var(--ds-space-7)}.my-menu>button,.my-menu>button:hover,.my-menu>button.active{min-height:64px;padding:var(--ds-space-2) 0;color:#c9c4c1;border:0;border-bottom:var(--ds-border-width) solid var(--waku-hairline);border-radius:0;background:transparent;box-shadow:none}.my-menu>button:hover strong,.my-menu>button.active strong{color:#f4efed}.my-detail-panel{margin-top:var(--ds-space-8);padding:var(--ds-space-4) 0 0}.ticket-panel{padding:var(--ds-space-5) 0}.preference-list>button,.support-list details{border:0;border-bottom:var(--ds-border-width) solid var(--waku-hairline);border-radius:0;background:transparent;box-shadow:none}.preference-list>button:hover,.support-list details[open]{background:transparent}.image-studio{margin-top:var(--ds-space-8);grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:clamp(var(--ds-space-7),6vw,var(--ds-space-11));overflow:visible}.image-controls,.image-workspace{padding:0}@media(max-width:820px){.ranking-list{grid-template-columns:1fr}.ranking-item:last-child{border-bottom:0}.character-type-tabs{gap:var(--ds-space-4);overflow-x:auto}.profile-overview,.image-studio,.my-menu{grid-template-columns:1fr}}.story-studio-shell .system-setting-step .item-library>div:last-child{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--ds-space-3) var(--ds-space-7);overflow:visible}.story-studio-shell .system-setting-step .item-library>div:last-child>button{width:100%;min-width:0;min-height:64px;padding:var(--ds-space-2) 0;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:var(--ds-space-3);overflow:hidden;text-align:left;border:0;background:transparent;box-shadow:none}.story-studio-shell .system-setting-step .item-library .cover-art{grid-column:1;width:48px;height:48px;overflow:hidden}.story-studio-shell .system-setting-step .item-library button>span{grid-column:2;min-width:0;overflow:hidden}.story-studio-shell .system-setting-step .item-library button>span>:is(small,strong,em){display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creation-start .creation-method{margin:var(--ds-space-5) 0 var(--ds-space-6);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(var(--ds-space-6),5vw,var(--ds-space-10));border:0;background:transparent}.creation-start .creation-method>button,.creation-start .creation-method>button:hover,.creation-start .creation-method>button.active{position:relative;min-height:68px;padding:var(--ds-space-2) 0 var(--ds-space-3) var(--ds-space-6);color:#918b88;border:0;border-radius:0;background:transparent;box-shadow:none}.creation-start .creation-method>button:before{content:"";position:absolute;top:18px;left:1px;width:7px;height:7px;border:var(--ds-border-width) solid var(--ds-line);border-radius:50%;background:transparent}.creation-start .creation-method>button.active,.creation-start .creation-method>button.active strong,.creation-start .creation-method>button.active svg{color:#f0d4d1}.creation-start .creation-method>button small{color:#817b78;font-size:12px;line-height:1.5}.creation-start .creation-prompt>div{gap:var(--ds-space-2) var(--ds-space-6)}.creation-start .creation-prompt>div>button,.creation-start .creation-prompt>div>button:hover,.creation-start .creation-prompt>div>button.active{position:relative;min-height:34px;padding:var(--ds-space-1) 0 var(--ds-space-2);color:#8f8986;border:0;border-radius:0;background:transparent;box-shadow:none}.creation-start .creation-prompt>div>button.active{color:#f0d4d1}.story-studio-shell :is(.thought-access-panel,.reader-style-panel,.reader-style-options,.character-ai-callout,.initial-state-panel,.generation-rules,.section-example-panel,.system-empty-copy,.publish-required,.publish-option-summary,.publish-access-panel,.publish-taxonomy){border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.thought-access-panel,.reader-style-panel){padding:var(--ds-space-7) 0}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes){margin-top:var(--ds-space-5);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(var(--ds-space-6),4vw,var(--ds-space-9));border:0;background:transparent;overflow:visible}.story-studio-shell .reader-style-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button,.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button:hover,.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button.active,.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button[aria-pressed=true]{position:relative;min-width:0;min-height:72px;padding:var(--ds-space-2) 0 var(--ds-space-4) var(--ds-space-4);color:#8f8986;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button:before{content:"";position:absolute;top:17px;left:0;width:6px;height:6px;border:var(--ds-border-width) solid var(--ds-line);border-radius:50%}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button strong{color:#aaa4a1;font-size:13px;line-height:1.45}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button span{color:#78726f;font-size:12px;line-height:1.5}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button:is(.active,[aria-pressed=true]) strong{color:#f0d4d1}.story-studio-shell :is(.thought-mode-grid,.reader-style-modes)>button:is(.active,[aria-pressed=true]) span{color:#a29a97}.story-studio-shell .thought-format{margin-top:var(--ds-space-4);padding:var(--ds-space-5) 0 0;border:0;border-radius:0;background:transparent}.story-studio-shell .reader-style-options{margin-top:var(--ds-space-3);padding:var(--ds-space-4) 0 0}.story-studio-shell .reader-style-options>span{color:#9c9693;font-size:12px}.story-studio-shell .reader-style-options>div{margin-top:var(--ds-space-3);gap:var(--ds-space-2) var(--ds-space-6)}.story-studio-shell .reader-style-options button,.story-studio-shell .reader-style-options button:hover,.story-studio-shell .reader-style-options button.active,.story-studio-shell .reader-style-options button[aria-pressed=true]{position:relative;min-height:32px;padding:var(--ds-space-1) 0 var(--ds-space-1) var(--ds-space-4);color:#8f8986;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px}.story-studio-shell .reader-style-options button:before{content:"";position:absolute;top:50%;left:0;width:6px;height:6px;border:var(--ds-border-width) solid var(--ds-line);border-radius:50%;transform:translateY(-50%)}.story-studio-shell .reader-style-options button:is(.active,[aria-pressed=true]){color:#efb0aa}@media(max-width:760px){.creation-start .creation-method,.story-studio-shell :is(.thought-mode-grid,.reader-style-modes){grid-template-columns:1fr;gap:var(--ds-space-2)}}html{scrollbar-gutter:stable}.story-studio-shell .studio-substeps>button,.story-studio-shell .studio-substeps>button:hover,.story-studio-shell .studio-substeps>button.active{min-height:43px;padding:0 0 var(--ds-space-3);font-family:var(--font-ui);font-size:13px;font-weight:600;line-height:1.3;letter-spacing:-.01em}.story-studio-shell :is(.player-mode-grid,.reader-option-grid,.reader-style-modes,.reader-style-options,.ai-policy-modes,.ai-permission-grid,.avatar-policy,.thought-mode-grid,.system-preset-grid,.memory-view-tabs) button,.story-studio-shell :is(.player-mode-grid,.reader-option-grid,.reader-style-modes,.reader-style-options,.ai-policy-modes,.ai-permission-grid,.avatar-policy,.thought-mode-grid,.system-preset-grid,.memory-view-tabs) button:is(:hover,:focus,.active,.enabled,[aria-pressed=true]){font-family:var(--font-ui)}.story-studio-shell :is(.player-mode-grid,.reader-option-grid,.reader-style-modes,.reader-style-options,.ai-policy-modes,.ai-permission-grid,.thought-mode-grid,.system-preset-grid,.memory-view-tabs) button strong,.story-studio-shell :is(.player-mode-grid,.reader-option-grid,.reader-style-modes,.reader-style-options,.ai-policy-modes,.ai-permission-grid,.thought-mode-grid,.system-preset-grid,.memory-view-tabs) button:is(:hover,:focus,.active,.enabled,[aria-pressed=true]) strong{font-size:13px;font-weight:650;line-height:1.4}.story-studio-shell :is(.player-mode-grid,.reader-option-grid,.reader-style-modes,.reader-style-options,.ai-policy-modes,.ai-permission-grid,.thought-mode-grid,.system-preset-grid,.memory-view-tabs) button :is(span,small),.story-studio-shell :is(.player-mode-grid,.reader-option-grid,.reader-style-modes,.reader-style-options,.ai-policy-modes,.ai-permission-grid,.thought-mode-grid,.system-preset-grid,.memory-view-tabs) button:is(:hover,:focus,.active,.enabled,[aria-pressed=true]) :is(span,small){font-size:12px;font-weight:400;line-height:1.55}.story-studio-shell .protagonist-candidate-empty{max-width:620px;margin:var(--ds-space-4) 0 0;color:#9f9996;font-size:13px;line-height:1.65}.story-studio-shell .custom-player-example{margin:var(--ds-space-6) 0 var(--ds-space-7);padding:0;color:#aaa5a2;margin:var(--ds-space-5) 0 var(--ds-space-7);display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--ds-space-1) var(--ds-space-3)}.story-studio-shell .custom-player-example>b{color:#e6a09a;font-size:12px;font-weight:650}.story-studio-shell .custom-player-example>span{color:#aaa3a0;font-size:12px;line-height:1.65}.story-studio-shell .custom-player-example>em{color:#77716e;font-size:11px;font-style:normal;line-height:1.5}.story-studio-shell .system-setting-step .system-preset-grid{gap:var(--ds-space-5) var(--ds-space-8);width:100%;margin:var(--ds-space-7) 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(var(--ds-space-6),4vw,var(--ds-space-10))}.story-studio-shell .system-setting-step .system-preset-grid>button,.story-studio-shell .system-setting-step .system-preset-grid>button:hover,.story-studio-shell .system-setting-step .system-preset-grid>button.active,.story-studio-shell .system-setting-step .system-preset-grid>button[aria-pressed=true]{position:relative;min-width:0;min-height:68px;padding:var(--ds-space-1) 0 var(--ds-space-1) var(--ds-space-5);display:grid;align-content:start;gap:var(--ds-space-2);color:#a39e9b;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}.story-studio-shell .system-setting-step .system-preset-grid>button:before{content:"";position:absolute;top:8px;left:0;width:6px;height:6px;border-radius:50%;background:var(--ds-surface-input-hover)}.story-studio-shell .system-setting-step .system-preset-grid>button strong{color:#d7d2cf;font-size:14px;line-height:1.45}.story-studio-shell .system-setting-step .system-preset-grid>button:is(:hover,.active) strong,.story-studio-shell .system-setting-step .system-preset-grid>button[aria-pressed=true] strong{color:#f1b5b0}.story-studio-shell .system-setting-step .system-preset-grid>button span{max-width:28em;color:#8f8986;font-size:12px;line-height:1.65}.story-studio-shell .system-empty-copy{order:3;margin:var(--ds-space-7) 0 0;display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--ds-space-2) var(--ds-space-3);color:#817c79;font-size:12px;line-height:1.65}.story-studio-shell .system-empty-copy strong{color:#d8d2cf;font-size:13px;font-weight:650}.story-studio-shell .memory-view-tabs{width:100%;margin:0 0 var(--ds-space-8);display:flex;flex-wrap:wrap;gap:var(--ds-space-3) var(--ds-space-8);border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .memory-view-tabs>button,.story-studio-shell .memory-view-tabs>button:hover,.story-studio-shell .memory-view-tabs>button.active{position:relative;width:auto;min-width:0;min-height:58px;padding:0 0 var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-2);color:#827d7a;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .memory-view-tabs>button:after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;background:var(--accent-soft);transform:scaleX(0);transform-origin:left;transition:transform .16s ease}.story-studio-shell .memory-view-tabs>button>span{display:grid;gap:var(--ds-space-1);text-align:left}.story-studio-shell .memory-view-tabs>button strong{color:#d7d2cf;font-size:14px}.story-studio-shell .memory-view-tabs>button.active strong{color:#f2eeec}.story-studio-shell .memory-view-tabs>button small{color:#817c79;font-size:11px}.story-studio-shell .memory-view-tabs>button>b{min-width:0;height:auto;padding:0;color:#a49e9b;border:0;border-radius:0;background:transparent;font-size:11px;font-weight:650}.story-studio-shell .keyword-book-panel{margin:0;padding:0;color:#d8d3d0;opacity:1;animation:none}.story-studio-shell .keyword-book-panel.active-memory-panel{opacity:1;animation:none}.story-studio-shell .keyword-book-panel .studio-section-copy>span{color:#e6a09a}.story-studio-shell .keyword-book-panel .studio-section-copy>h3{color:#f0ece9}.story-studio-shell .keyword-book-panel .studio-section-copy>p,.story-studio-shell .keyword-book-panel .section-example-panel p{color:#aaa3a0;opacity:1}.story-studio-shell .keyword-note-layout{margin-top:var(--ds-space-6);padding:0;display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:clamp(var(--ds-space-7),5vw,var(--ds-space-10));align-items:start}.story-studio-shell .keyword-note-layout.is-empty{grid-template-columns:minmax(0,1fr)}.story-studio-shell .keyword-note-layout>aside{min-width:0;display:grid;gap:var(--ds-space-1)}.story-studio-shell .keyword-note-layout>aside>button,.story-studio-shell .keyword-note-layout>aside>button:hover,.story-studio-shell .keyword-note-layout>aside>button.active{min-width:0;min-height:52px;padding:var(--ds-space-2) 0;color:#9f9996;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}.story-studio-shell .keyword-note-layout>aside>button.active strong{color:#f0b4af}.story-studio-shell .keyword-note-layout>aside>button strong,.story-studio-shell .keyword-note-layout>aside>button span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .keyword-note-layout>aside>button strong{color:#d8d3d0;font-size:13px}.story-studio-shell .keyword-note-layout>aside>button span{margin-top:var(--ds-space-1);color:#817c79;font-size:11px}.story-studio-shell .keyword-note-layout>aside>.keyword-add-action,.story-studio-shell .keyword-note-layout>aside>.keyword-add-action:hover{width:max-content;min-height:42px;margin-top:var(--ds-space-3);padding:var(--ds-space-1) 0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#e7aaa5;font-size:13px}.story-studio-shell .keyword-empty-state{min-height:170px;padding:var(--ds-space-7) 0;display:grid;align-content:start;justify-items:start;gap:var(--ds-space-2);color:#aaa3a0;opacity:1}.story-studio-shell .keyword-empty-state strong{color:#e0dad7;font-size:15px;font-weight:650}.story-studio-shell .keyword-empty-state p{max-width:520px;margin:0;font-size:12px;line-height:1.65}.story-studio-shell .keyword-empty-state button{min-height:42px;margin-top:var(--ds-space-2);padding:var(--ds-space-1) 0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:#e7aaa5;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:13px;font-weight:650;opacity:1}.story-studio-shell :is(.studio-main-head,.studio-section-copy)>div>p,.story-studio-shell :is(.studio-main-head,.studio-section-copy)>p,.story-studio-shell :is(.field-help,.asset-section-head p,.section-example-panel p,.system-empty-copy span){color:#aaa3a0}.story-studio-shell .studio-section-copy>h3,.story-studio-shell .studio-main-head h2{color:#f0ece9}.story-studio-shell .studio-section-copy>span,.story-studio-shell .section-example-panel>b{color:#e6a09a}.story-studio-shell .section-example-panel p strong{color:#ddd7d4}.story-studio-shell .studio-substeps small{padding:0;color:#a49e9b;border:0;border-radius:0;background:transparent}@media(max-width:880px){.story-studio-shell .system-setting-step .system-preset-grid{grid-template-columns:1fr;gap:var(--ds-space-4)}.story-studio-shell .keyword-note-layout{grid-template-columns:1fr;gap:var(--ds-space-6)}}#root .story-studio-shell :is(.custom-player-panel,.thought-access-panel,.reader-style-panel,.reader-style-options,.ai-policy-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.character-ai-callout,.initial-state-panel,.generation-rules,.section-example-panel,.system-empty-copy,.publish-required,.publish-option-summary,.publish-access-panel,.publish-taxonomy){border:0;border-radius:0;outline:0;background:none;background-color:transparent;box-shadow:none}#root .story-studio-shell :is(.custom-player-panel,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel){padding-inline:0}#root .story-studio-shell .character-planner{grid-template-columns:220px minmax(0,1fr);align-items:start;width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-6);overflow:visible}#root .story-studio-shell .relation-copy{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:var(--ds-space-4) var(--ds-space-7)}#root .story-studio-shell .relation-copy>button.studio-inline-entry{width:max-content;min-width:128px;justify-self:end;white-space:nowrap}#root .story-studio-shell .relation-copy>button.studio-inline-entry>span{flex-wrap:nowrap}#root .story-studio-shell .character-planner .cast-editor-grid{position:sticky;top:92px;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:var(--ds-space-1);width:100%;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-2) var(--ds-space-6)}#root .story-studio-shell .cast-editor-grid>button:not(.add-cast){width:100%;min-height:66px;position:relative;width:176px;min-width:0;min-height:72px;padding:var(--ds-space-1) 0 var(--ds-space-1) var(--ds-space-10);display:grid;align-content:center;gap:var(--ds-space-1);overflow:visible;color:#b3adaa;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .cast-editor-grid>button:not(.add-cast):after{top:8px;width:2px;height:auto;content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--ds-accent);transition:width .16s ease}#root .story-studio-shell .cast-editor-grid>button:not(.add-cast).active{color:#f0ece9}#root .story-studio-shell .cast-editor-grid>button:not(.add-cast)>div{position:absolute;inset:6px auto 6px 0;width:56px;height:60px;overflow:hidden;border-radius:4px}#root .story-studio-shell .cast-editor-grid>button:not(.add-cast)>:is(span,strong,small){min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .cast-editor-grid>button:not(.add-cast)>span{color:#d9938d}#root .story-studio-shell .cast-editor-grid .add-cast{width:max-content;min-height:42px;flex-direction:row;justify-content:flex-start;gap:var(--ds-space-2);flex:0 0 auto;margin:0;padding:var(--ds-space-2) 0;white-space:nowrap}#root .story-studio-shell .cast-editor-grid .add-cast small{margin:0;color:#817b78;font-weight:400}#root .story-studio-shell .character-detail-form{width:100%;min-width:0;padding:0;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}#root .story-studio-shell .character-detail-head{min-width:0;flex-wrap:wrap;gap:var(--ds-space-3) var(--ds-space-6)}#root .story-studio-shell .character-detail-form .studio-form-grid,#root .story-studio-shell .character-detail-form .studio-form-grid>label,#root .story-studio-shell .character-detail-form :is(input,textarea,select){min-width:0;max-width:100%}@media(max-width:760px){#root .story-studio-shell .relation-copy{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .relation-copy>button.studio-inline-entry{justify-self:start}#root .story-studio-shell .character-detail-form .studio-form-grid{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .cast-editor-grid .add-cast small{display:none}}#root .story-studio-shell,#root .story-studio-shell .studio-layout,#root .story-studio-shell .studio-main,#root .story-studio-shell .studio-main>.studio-form-grid,#root .story-studio-shell .genre-builder,#root .story-studio-shell .studio-choice-group,#root .story-studio-shell .search-keyword-editor{border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none}#root .story-studio-shell .studio-main{overflow-x:clip}#root .story-studio-shell .studio-main>.studio-form-grid{width:min(100%,1080px);min-width:0;padding:0}#root .story-studio-shell .genre-builder{min-width:0;padding:var(--ds-space-1) 0 var(--ds-space-3)}#root .story-studio-shell .genre-choice-row{min-width:0;flex-wrap:wrap}#root .story-studio-shell .system-setting-step .system-preset-grid{width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:82px;column-gap:clamp(var(--ds-space-6),4vw,var(--ds-space-9));row-gap:var(--ds-space-4)}#root .story-studio-shell .system-setting-step .system-preset-grid>button,#root .story-studio-shell .system-setting-step .system-preset-grid>button:hover,#root .story-studio-shell .system-setting-step .system-preset-grid>button:focus,#root .story-studio-shell .system-setting-step .system-preset-grid>button.active,#root .story-studio-shell .system-setting-step .system-preset-grid>button[aria-pressed=true]{width:100%;height:82px;min-width:0;min-height:82px;margin:0;padding:var(--ds-space-1) 0 var(--ds-space-1) var(--ds-space-5);align-self:stretch;grid-template-rows:21px 40px;align-content:start;gap:var(--ds-space-2);border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .story-studio-shell .system-setting-step .system-preset-grid>button strong,#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(:hover,:focus,.active) strong,#root .story-studio-shell .system-setting-step .system-preset-grid>button[aria-pressed=true] strong{margin:0;font-size:14px;font-weight:650;line-height:21px;letter-spacing:normal}#root .story-studio-shell .system-setting-step .system-preset-grid>button span,#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(:hover,:focus,.active) span,#root .story-studio-shell .system-setting-step .system-preset-grid>button[aria-pressed=true] span{min-width:0;margin:0;overflow:hidden;font-size:12px;font-weight:400;line-height:20px;letter-spacing:normal}#root .story-studio-shell .studio-footer{border:0;background:transparent;box-shadow:none}@media(max-width:880px){#root .story-studio-shell .system-setting-step .system-preset-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:82px}}#root .story-studio-shell .memory-view-tabs{width:min(100%,480px);min-width:0;margin:0 0 var(--ds-space-8);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .memory-view-tabs>button,#root .story-studio-shell .memory-view-tabs>button:hover,#root .story-studio-shell .memory-view-tabs>button:focus,#root .story-studio-shell .memory-view-tabs>button.active,#root .story-studio-shell .memory-view-tabs>button[aria-selected=true]{position:relative;width:100%;height:66px;min-width:0;min-height:66px;margin:0;padding:var(--ds-space-2) var(--ds-space-3) var(--ds-space-3) 0;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:var(--ds-space-3);color:#8f8986;text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .story-studio-shell .memory-view-tabs>button:hover,#root .story-studio-shell .memory-view-tabs>button:focus-visible{color:#c9c2be}#root .story-studio-shell .memory-view-tabs>button:after,#root .story-studio-shell .memory-view-tabs>button:hover:after,#root .story-studio-shell .memory-view-tabs>button:focus:after{content:"";position:absolute;right:14px;bottom:0;left:0;height:2px;background:var(--accent-soft);opacity:0;transform:none;transition:opacity .16s ease}#root .story-studio-shell .memory-view-tabs>button>span{min-width:0;display:grid;gap:var(--ds-space-1);text-align:left}#root .story-studio-shell .memory-view-tabs>button strong,#root .story-studio-shell .memory-view-tabs>button:is(:hover,:focus,.active) strong,#root .story-studio-shell .memory-view-tabs>button[aria-selected=true] strong{margin:0;color:currentColor;font-size:14px;font-weight:650;line-height:20px;letter-spacing:-.01em}#root .story-studio-shell .memory-view-tabs>button small,#root .story-studio-shell .memory-view-tabs>button:is(:hover,:focus,.active) small,#root .story-studio-shell .memory-view-tabs>button[aria-selected=true] small{margin:0;color:#77716e;font-size:12px;font-weight:400;line-height:18px;letter-spacing:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#root .story-studio-shell .memory-view-tabs>button>b,#root .story-studio-shell .memory-view-tabs>button:is(:hover,:focus,.active)>b,#root .story-studio-shell .memory-view-tabs>button[aria-selected=true]>b{width:22px;min-width:22px;height:22px;margin:0;padding:0;display:grid;place-items:center;color:#8f8986;border:0;border-radius:0;background:transparent;font-size:11px;font-weight:650;line-height:22px}#root .story-studio-shell .memory-view-tabs>button.active,#root .story-studio-shell .memory-view-tabs>button[aria-selected=true]{color:#f0ebe8}@media(max-width:560px){#root .story-studio-shell .memory-view-tabs{width:100%}#root .story-studio-shell .memory-view-tabs>button,#root .story-studio-shell .memory-view-tabs>button:hover,#root .story-studio-shell .memory-view-tabs>button:focus,#root .story-studio-shell .memory-view-tabs>button.active,#root .story-studio-shell .memory-view-tabs>button[aria-selected=true]{padding-right:var(--ds-space-2)}#root .story-studio-shell .memory-view-tabs>button:after,#root .story-studio-shell .memory-view-tabs>button:hover:after,#root .story-studio-shell .memory-view-tabs>button:focus:after{right:10px}}#root .story-studio-shell .studio-empty-state,#root .story-studio-shell .studio-empty-state.compact,#root .story-studio-shell .studio-empty-state.audio-empty{width:100%;min-height:0;margin:var(--ds-space-6) 0 var(--ds-space-8);padding:var(--ds-space-6) 0 var(--ds-space-6);display:grid;grid-template-columns:24px minmax(0,1fr);grid-auto-rows:max-content;align-content:start;align-items:start;justify-content:stretch;justify-items:start;column-gap:var(--ds-space-4);row-gap:0;color:#918b88;text-align:left;border:0;border-radius:0;outline:0;background:transparent;box-shadow:none}#root .story-studio-shell .studio-empty-state>svg{grid-column:1;grid-row:1 / span 3;width:20px;height:20px;margin-top:var(--ds-space-1);color:#df9690}#root .story-studio-shell .studio-empty-state>strong{grid-column:2;max-width:680px;margin:0;color:#e9e4e1;font-family:var(--font-ui);font-size:15px;font-weight:650;line-height:21px;letter-spacing:-.01em}#root .story-studio-shell .studio-empty-state>p{grid-column:2;max-width:680px;margin:var(--ds-space-2) 0 0;color:#918b88;font-size:12px;line-height:20px}#root .story-studio-shell .studio-empty-state>button,#root .story-studio-shell .studio-empty-state>div:not(.character-ai-panel){grid-column:2;margin-top:var(--ds-space-4)}#root .story-studio-shell .studio-empty-state>button,#root .story-studio-shell .studio-empty-state>div:not(.character-ai-panel)>button,#root .story-studio-shell .studio-empty-state>button:hover,#root .story-studio-shell .studio-empty-state>div:not(.character-ai-panel)>button:hover{width:max-content;min-width:0;min-height:36px;padding:var(--ds-space-1) 0;color:#e7aaa5;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .studio-empty-state>button:hover,#root .story-studio-shell .studio-empty-state>div:not(.character-ai-panel)>button:hover{color:#f4c0bb}#root .story-studio-shell .studio-empty-state>.character-ai-panel{grid-column:1 / -1;width:100%;margin:var(--ds-space-6) 0 0}#root .story-studio-shell .keyword-empty-state,#root .story-studio-shell .asset-gallery-empty{min-height:0;margin:var(--ds-space-6) 0 var(--ds-space-7);padding:var(--ds-space-6) 0;color:#918b88;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .keyword-empty-state{display:grid;justify-items:start;gap:var(--ds-space-2);text-align:left}#root .story-studio-shell .keyword-empty-state button{margin-top:var(--ds-space-2)}#root .story-studio-shell .skill-empty-copy,#root .story-studio-shell .item-empty-line,#root .story-studio-shell .protagonist-candidate-empty{margin:var(--ds-space-6) 0 var(--ds-space-7);padding:0;border:0;background:transparent}#root .story-studio-shell .generation-rules p{max-width:920px;margin:0;line-height:1.75}#root :is(.library-empty,.empty-search){min-height:220px;padding:var(--ds-space-9) var(--ds-space-6);gap:var(--ds-space-2);border:0;border-radius:0;background:transparent}#root .curation-feature{min-height:256px;margin:var(--ds-space-9) 0 0;grid-template-columns:minmax(330px,.78fr) minmax(0,1.22fr)}#root .curation-feature-copy{min-width:0;padding:var(--ds-space-7) clamp(var(--ds-space-7),3.2vw,var(--ds-space-9)) var(--ds-space-8)}#root .curation-feature-copy h2{max-width:330px;margin-top:var(--ds-space-2)}#root .curation-feature-copy p{margin-top:var(--ds-space-4)}#root .curation-feature-copy button{margin-top:var(--ds-space-5)}#root .curation-feature-visual>div{min-height:256px}@media(max-width:760px){#root .story-studio-shell .asset-gallery-empty{grid-template-columns:24px minmax(0,1fr)}#root .curation-feature{min-height:300px;grid-template-columns:1fr}#root .curation-feature-copy{padding:var(--ds-space-7) var(--ds-space-6) var(--ds-space-7)}#root .curation-feature-visual,#root .curation-feature-visual>div{min-height:300px}}#root .story-studio-shell .status-stat{--status-active-color: #efb0aa}#root .story-studio-shell .look-trigger-builder{margin:var(--ds-space-7) 0 var(--ds-space-8);padding:0;color:inherit;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .look-trigger-builder>div:first-child{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .look-trigger-builder>div:first-child>span{color:var(--accent-soft, #efaaa4);font-size:11px;font-weight:750;line-height:1.35;letter-spacing:.08em}#root .story-studio-shell .look-trigger-builder>div:first-child>strong{color:#f2efed;font-size:15px;font-weight:700;line-height:1.45}#root .story-studio-shell .look-trigger-builder>div:first-child>small{max-width:720px;color:#99928f;font-size:12px;line-height:1.65}#root .story-studio-shell .look-trigger-types{margin:var(--ds-space-4) 0 var(--ds-space-5);display:flex;flex-wrap:wrap;align-items:flex-end;gap:0 var(--ds-space-6);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .look-trigger-types>button{position:relative;min-width:0;min-height:40px;margin:0;padding:0 0 var(--ds-space-3);color:#8f8986;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px;font-weight:650;line-height:1.4;white-space:nowrap}#root .story-studio-shell .look-trigger-types>button:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:transparent}#root .story-studio-shell .look-trigger-types>button:hover{color:#ded9d6}#root .story-studio-shell .look-trigger-types>button.active{color:#f2efed}#root .story-studio-shell .look-trigger-rule{margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);gap:var(--ds-space-4);border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .look-trigger-rule label{display:grid;gap:var(--ds-space-2);color:#cfc9c6;font-size:12px;font-weight:650}#root .story-studio-shell .look-trigger-rule :is(input,select){width:100%;min-width:0;min-height:44px;padding:0 var(--ds-space-3);color:#f1eeec;border:var(--ds-border-width) solid var(--ds-line);border-radius:6px;background:var(--ds-canvas-raised);box-shadow:none;font-size:13px}#root .story-studio-shell .look-trigger-rule :is(input,select):focus{border-color:var(--ds-accent);outline:2px solid rgb(215 150 144 / 16%);outline-offset:1px}@media(max-width:760px){#root .story-studio-shell .look-trigger-types{gap-inline:var(--ds-space-4);overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}#root .story-studio-shell .look-trigger-rule{grid-template-columns:minmax(0,1fr)}}#root .story-studio-shell .asset-source-tabs{margin:0 0 var(--ds-space-5);display:flex;align-items:flex-end;gap:0 var(--ds-space-6);border:0;background:transparent}#root .story-studio-shell .asset-source-tabs>button{position:relative;min-width:0;min-height:36px;margin:0;padding:0 0 var(--ds-space-2);color:#8f8986;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px;font-weight:650;line-height:1.4}#root .story-studio-shell .asset-source-tabs>button:after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;background:transparent}#root .story-studio-shell .asset-source-tabs>button:hover{color:#e0dbd8;border:0;background:transparent}#root .story-studio-shell .asset-source-tabs>button.active{color:#f3efed}#root .story-studio-shell .asset-gallery-empty{gap:var(--ds-space-4);width:100%;min-height:0;margin:0;padding:var(--ds-space-3) 0 var(--ds-space-4);display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-3) var(--ds-space-4);color:#99938f;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .asset-gallery-empty>div:nth-child(2){min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .asset-gallery-empty strong{color:#e6e1de;font-size:13px;line-height:1.45}#root .story-studio-shell .asset-gallery-empty span{color:#8f8986;font-size:12px;line-height:1.6}#root .story-studio-shell .asset-gallery-empty>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--ds-space-2) var(--ds-space-4)}#root .story-studio-shell .asset-gallery-empty button{min-width:0;min-height:34px;padding:var(--ds-space-1) 0;display:inline-flex;align-items:center;gap:var(--ds-space-1);color:#bdb6b2;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px}#root .story-studio-shell .asset-gallery-empty button:hover{color:var(--accent-soft, #efaaa4);background:transparent}#root .story-studio-shell .look-base-asset,#root .story-studio-shell .expression-set{margin-top:var(--ds-space-8);padding-top:0;border:0;background:transparent}#root .story-studio-shell :is(.look-base-asset,.expression-set)>div:first-child{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell :is(.look-base-asset,.expression-set)>div:first-child>span{color:var(--accent-soft, #efaaa4);font-size:11px;font-weight:750;line-height:1.35;letter-spacing:.08em}#root .story-studio-shell :is(.look-base-asset,.expression-set)>div:first-child>strong{color:#f1edeb;font-size:15px;font-weight:700;line-height:1.45}#root .story-studio-shell :is(.look-base-asset,.expression-set)>div:first-child>small{color:#938d89;font-size:12px;line-height:1.6}#root .story-studio-shell .expression-set>div.expression-set-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5)}#root .story-studio-shell .expression-set-heading>div{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .expression-set-heading>div>span{color:var(--accent-soft, #efaaa4);font-size:11px;font-weight:750;line-height:1.35;letter-spacing:.08em}#root .story-studio-shell .expression-set-heading>div>strong{color:#f1edeb;font-size:15px;font-weight:700;line-height:1.45}#root .story-studio-shell .expression-set-heading>div>small{color:#938d89;font-size:12px;line-height:1.6}#root .story-studio-shell .expression-set-heading>button{flex:0 0 auto;min-width:0;min-height:36px;padding:var(--ds-space-1) 0;display:inline-flex;grid-template-columns:none;align-items:center;justify-content:flex-end;gap:var(--ds-space-2);color:#b9b2ae;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px;text-align:right}#root .story-studio-shell .expression-set-heading>button:hover{color:var(--accent-soft, #efaaa4);background:transparent}#root .story-studio-shell .look-base-asset .studio-asset-picker{margin-top:var(--ds-space-5)}#root .story-studio-shell .expression-asset-list{margin-top:var(--ds-space-5);display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-4)}#root .story-studio-shell .expression-asset-list>article,#root .story-studio-shell .expression-asset-list>article.ready{min-width:0;padding:0;display:grid;grid-template-columns:48px minmax(140px,1fr) auto;align-items:center;gap:var(--ds-space-3);color:#d8d4d1;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .expression-preview{width:48px;height:58px;border:var(--ds-border-width) solid var(--ds-line);border-radius:5px;background:var(--ds-canvas-raised)}#root .story-studio-shell .expression-meta{min-width:0;display:grid;gap:var(--ds-space-1);background:transparent}#root .story-studio-shell .expression-meta>span{color:#c98f8a;font-size:11px}#root .story-studio-shell .expression-meta strong{color:#ece8e5;font-size:13px}#root .story-studio-shell .expression-meta small{overflow:visible;color:#8f8986;font-size:12px;line-height:1.45;text-overflow:clip;white-space:normal}#root .story-studio-shell .expression-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--ds-space-1) var(--ds-space-3)}#root .story-studio-shell .expression-actions :is(label,button),#root .story-studio-shell .expression-asset-list>.add-expression{min-width:0;min-height:34px;padding:var(--ds-space-1) 0;color:#b7b0ad;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px}#root .story-studio-shell .expression-actions :is(label,button):hover,#root .story-studio-shell .expression-asset-list>.add-expression:hover{color:var(--accent-soft, #efaaa4);background:transparent}#root .story-studio-shell .expression-asset-list>.add-expression{width:max-content;margin-top:var(--ds-space-1)}#root .story-studio-shell .generation-rules{padding:0 0 var(--ds-space-2);display:grid;gap:var(--ds-space-2);border:0;background:transparent;max-width:920px;margin:var(--ds-space-7) 0 0;padding:0 0 var(--ds-space-1)}@media(max-width:760px){#root .story-studio-shell .asset-source-tabs{gap-inline:var(--ds-space-5)}#root .story-studio-shell .asset-gallery-empty>div:last-child{margin-top:var(--ds-space-1);grid-column:2;justify-content:flex-start}#root .story-studio-shell .expression-asset-list>article,#root .story-studio-shell .expression-asset-list>article.ready{grid-template-columns:48px minmax(0,1fr)}#root .story-studio-shell .expression-actions{grid-column:2;justify-content:flex-start}#root .story-studio-shell .expression-set>div.expression-set-heading{align-items:flex-start;flex-direction:column;gap:var(--ds-space-3)}}#root .story-studio-shell .cast-editor-grid .cast-image-empty{width:100%;height:100%;display:grid;place-items:center;color:#77716e;background:var(--ds-canvas-raised)}@media(max-width:900px){#root .story-studio-shell .character-planner .cast-editor-grid{scrollbar-width:thin;position:static;display:flex;flex-wrap:nowrap;overflow-x:auto}}#root .story-studio-shell .character-panel-fields{min-height:198px;align-content:start;min-height:253px}#root .story-studio-shell .character-advanced-toggle{width:100%;min-height:58px;margin:var(--ds-space-7) 0 0;padding:var(--ds-space-2) 0;color:#d7d2cf;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .character-advanced-toggle:hover,#root .story-studio-shell .character-advanced-toggle:focus-visible{background:transparent}#root .story-studio-shell .character-advanced-fields,#root .story-studio-shell .character-advanced-fields details,#root .story-studio-shell .character-advanced-fields summary{border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .character-advanced-fields{margin-top:var(--ds-space-3);display:grid;gap:var(--ds-space-5)}#root .story-studio-shell .character-advanced-fields details{padding:0}#root .story-studio-shell .character-advanced-fields summary{min-height:52px;padding:var(--ds-space-2) 0}#root .story-studio-shell .character-advanced-fields details>.studio-form-grid{padding:var(--ds-space-4) 0 var(--ds-space-3)}@media(max-width:620px){#root .story-studio-shell .character-panel-fields{min-height:0}}#root .story-studio-shell .studio-ai-request{margin:var(--ds-space-4) 0 var(--ds-space-6)}#root .story-studio-shell .studio-ai-trigger{width:fit-content;max-width:100%;display:inline-flex;align-items:center;gap:var(--ds-space-3);min-height:64px;padding:var(--ds-space-2) var(--ds-space-2) var(--ds-space-2) 0;color:var(--ds-text-strong);border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}#root .story-studio-shell .studio-ai-trigger>span{min-width:0;max-width:520px;display:grid;gap:var(--ds-space-1);align-self:center}#root .story-studio-shell .studio-ai-trigger>svg{flex:0 0 auto;width:16px;height:16px;align-self:center;justify-self:center}#root .story-studio-shell .studio-ai-trigger>svg:last-child{width:20px;height:20px;margin-left:var(--ds-space-1)}#root .story-studio-shell .studio-ai-trigger strong{color:var(--ds-accent);line-height:var(--ds-line-tight)}#root .story-studio-shell .studio-ai-trigger small{color:var(--ds-text-muted);line-height:var(--ds-line-body);white-space:normal}#root .story-studio-shell .studio-ai-trigger[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}#root .story-studio-shell .studio-ai-request-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.38fr);gap:var(--ds-space-5);align-items:end;max-width:920px;padding-top:var(--ds-space-4)}#root .story-studio-shell .studio-ai-request-body>label,#root .story-studio-shell .studio-ai-request-body>div{display:grid;gap:var(--ds-space-2)}#root .story-studio-shell .studio-ai-request-body textarea{min-height:104px}#root .story-studio-shell .studio-ai-request-body small{color:var(--ds-text-muted);line-height:1.65}@media(max-width:760px){#root .story-studio-shell .studio-ai-trigger{width:100%}#root .story-studio-shell .studio-ai-request-body{grid-template-columns:minmax(0,1fr)}}#root .studio-generated-result{display:grid;gap:var(--ds-space-4);margin:var(--ds-space-5) 0 0}#root .studio-generated-result img{width:100%;max-height:45vh;object-fit:contain}#root .studio-generated-result figcaption{display:flex;align-items:center;gap:var(--ds-space-5)}}@layer design-system{:root{--ds-canvas: #0a0a0a;--ds-canvas-raised: #0f0f0f;--ds-surface-input: #171717;--ds-surface-input-hover: #1d1d1d;--ds-surface-overlay: #121212;--ds-surface-media: #141414;--ds-surface-subtle: rgba(255, 255, 255, .035);--ds-surface-glass: rgba(18, 18, 18, .88);--ds-surface-hero-veil: rgba(3, 7, 13, .48);--ds-overlay-scrim: rgba(0, 0, 0, .72);--ds-media-tint: #10171f;--ds-media-overlay-soft: rgba(14, 13, 12, .28);--ds-media-overlay: rgba(10, 10, 10, .58);--ds-media-overlay-strong: rgba(8, 8, 8, .92);--ds-media-caption-surface: rgba(8, 8, 8, .88);--ds-hero-nav-surface: rgba(5, 5, 8, .12);--ds-status-surface: #20231f;--ds-cover-surface-1: #241b1d;--ds-cover-surface-2: #1b1819;--ds-cover-surface-3: #21191c;--ds-text-strong: #f3f1ef;--ds-text-body: #c9c5c2;--ds-text-muted: #918c89;--ds-text-faint: #6f6b68;--ds-text-on-media: #fff;--ds-text-on-media-soft: rgba(255, 255, 255, .82);--ds-text-on-media-muted: rgba(255, 255, 255, .46);--ds-text-subtle: var(--ds-text-muted);--ds-accent: #e3a09b;--ds-accent-strong: #efb2ad;--ds-accent-soft: #d99590;--ds-accent-muted: #bd827e;--ds-accent-ink: #271817;--ds-on-accent: var(--ds-accent-ink);--ds-danger: #e18d87;--ds-success: #79b69b;--ds-warning: #b49363;--ds-warning-soft: #cfb37f;--ds-warning-wash: rgba(180, 147, 99, .1);--ds-line: rgba(255, 255, 255, .11);--ds-line-strong: rgba(255, 255, 255, .19);--ds-focus: rgba(227, 160, 155, .24);--ds-focus-ring-form: inset 0 0 0 1px var(--ds-accent);--ds-accent-wash: rgba(227, 160, 155, .12);--ds-works-canvas: #0d0e12;--ds-pulse-accent: #ff5e7e;--ds-pulse-highlight: #21151c;--ds-pulse-emblem: #2a1720;--ds-pulse-text: #f7f5f6;--ds-pulse-muted: #aaa8b2;--ds-character-hero-surface: #171315;--ds-character-hero-visual: #2c1e23;--ds-character-hero-message: #21191c;--ds-chat-received: #292527;--ds-chat-sent: #963d50;--ds-chat-received-line: rgba(255, 255, 255, .09);--ds-chat-sent-line: rgba(255, 255, 255, .06);--ds-chat-radius: 18px;--ds-chat-speaker-corner: 5px;--ds-font-ui: "Pretendard Variable", Pretendard, "SUIT Variable", "Noto Sans KR Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--ds-font-display: "Pretendard Variable", Pretendard, "SUIT Variable", "Noto Sans KR Variable", sans-serif;--ds-font-story: "Pretendard Variable", Pretendard, "SUIT Variable", "Noto Sans KR Variable", sans-serif;--ds-font-logo: "Bagel Fat One", "Pretendard Variable", Pretendard, sans-serif;--ds-font-weight-body: 400;--ds-font-size-min: 11px;--ds-font-size-kicker: 12px;--ds-font-size-caption: 12px;--ds-font-size-body: 14px;--ds-font-size-reading: 16px;--ds-font-size-label: 13px;--ds-font-size-title-sm: 18px;--ds-font-size-title-md: clamp(24px, 2.4vw, 34px);--ds-font-size-title-lg: clamp(30px, 4vw, 48px);--ds-line-tight: 1.25;--ds-line-action: 1.35;--ds-line-body: 1.58;--ds-line-height-body: var(--ds-line-body);--ds-letter-kicker: .11em;--ds-letter-heading: -.02em;--ds-space-1: 4px;--ds-space-2: 8px;--ds-space-3: 12px;--ds-space-4: 16px;--ds-space-5: 20px;--ds-space-6: 24px;--ds-space-7: 32px;--ds-space-8: 40px;--ds-space-9: 48px;--ds-space-10: 64px;--ds-space-11: 80px;--ds-surface-content-padding: var(--ds-space-4);--ds-control-height: 44px;--ds-control-height-compact: 36px;--ds-topbar-height: 72px;--ds-edge-control-offset: var(--ds-space-4);--ds-content-max: 1840px;--ds-reading-max: 1180px;--ds-studio-nav: 232px;--ds-focus-rail: 208px;--ds-focus-form: 760px;--ds-focus-form-wide: 1180px;--ds-studio-workspace-max: 104rem;--ds-vn-reading-width: 56rem;--ds-vn-reading-height: clamp(9rem, 23dvh, 14rem);--ds-focus-preview: 304px;--ds-focus-bar: 64px;--ds-focus-title: clamp(24px, 2.4vw, 30px);--ds-focus-textarea: 96px;--ds-studio-step-inline: 200px;--ds-master-compact: 248px;--ds-cast-roster-width: 288px;--ds-cast-roster-height: 520px;--ds-cast-roster-height-mobile: 320px;--ds-metric-min: 144px;--ds-icon-sm: 18px;--ds-radius-control: 6px;--ds-radius-media: 8px;--ds-radius-overlay: 12px;--ds-radius-panel: var(--ds-radius-overlay);--ds-radius-pill: 999px;--ds-media-ratio-landscape: 16 / 9;--ds-media-ratio-portrait: 2 / 3;--ds-media-ratio-square: 1 / 1;--ds-shadow-overlay: 0 24px 70px rgba(0, 0, 0, .42);--ds-shadow-text-on-media: 0 1px 14px rgba(0, 0, 0, .64);--ds-transition: .16s ease;--ds-modal-editor-width: 960px;--ds-modal-editor-height: 760px;--ds-modal-gateway-width: 70rem;--ds-modal-gateway-height: 680px;--ds-modal-detail-width: 920px;--ds-modal-detail-height: 680px;--ds-modal-search-width: 760px;--ds-modal-search-height: 680px;--ds-modal-auth-width: 480px;--ds-modal-auth-height: 620px;--ds-modal-legal-width: 580px;--ds-modal-legal-height: 620px;--ds-modal-preview-width: 880px;--ds-modal-preview-height: 720px;--ds-modal-wide-width: 1180px;--ds-modal-wide-height: 760px;--ds-mobile-nav-height: 62px;--ds-mobile-safe-bottom: calc(var(--ds-mobile-nav-height) + env(safe-area-inset-bottom) + var(--ds-space-5));--ds-story-detail-hero-height: 420px;--ds-image-studio-height: clamp(620px, calc(100dvh - 220px) , 820px);--ds-image-tools-width: 312px;--ds-workspace-height: max(480px, calc(100dvh - var(--ds-topbar-height) - 160px));--ds-workspace-height-mobile: max(360px, calc(100dvh - var(--ds-topbar-height) - var(--ds-mobile-safe-bottom) - 144px));--ds-player-topbar-height: 64px;--ds-player-tablet-topbar-height: 108px;--ds-player-mobile-topbar-height: 102px;--ds-player-panel-width: 420px;--ds-player-composer-height: 76px;--ds-player-stage-min: 320px;--ds-player-stage-ratio: 16 / 9;--ds-player-character-height: clamp(220px, 32vh, 360px);--ds-player-content-max: 1680px;--ds-vn-hud-gutter: clamp(18px, 4vw, 64px);--ds-vn-interaction-width: min(1180px, calc(100vw - 96px) );--ds-vn-dialogue-height: 116px;--ds-vn-dialogue-height-tablet: 120px;--ds-vn-dialogue-height-mobile: 112px;--ds-vn-dialogue-font-size: clamp(16px, 1.25vw, 18px);--ds-vn-dialogue-font-weight: 400;--ds-vn-dialogue-padding-inline: clamp(20px, 2.5vw, 36px);--ds-vn-dialogue-padding-block: 24px;--ds-vn-name-min-width: 0px;--ds-vn-name-font-weight: 650;--ds-vn-name-font-size: 16px;--ds-vn-dialogue-line-height: 1.6;--ds-vn-radius: 0;--ds-vn-hud-surface: rgba(8, 9, 13, .76);--ds-vn-hud-surface-solid: #08090d;--ds-vn-name-surface: #ee9e9e;--vn-dialogue-opacity: 90%;--dialogue-swatch: var(--ds-accent);--ds-vn-name-text: #211519;--ds-vn-dialogue-edge: rgba(255, 255, 255, .1);--ds-vn-name-padding: 8px 24px 8px 16px;--ds-vn-name-padding-mobile: 6px 26px 6px 14px;--ds-vn-scroll-size: 5px;--ds-vn-scroll-track: rgba(255, 255, 255, .08);--ds-vn-scroll-thumb: rgba(238, 158, 158, .82);--ds-vn-input-surface: rgba(8, 9, 13, .84);--ds-vn-hud-shadow: 0 18px 70px rgba(0, 0, 0, .3);--ds-vn-hud-line: rgba(238, 158, 158, .72);--ds-vn-topbar-surface: rgba(8, 9, 13, .74);--ds-vn-choice-line: rgba(255, 255, 255, .24);--ds-vn-choice-surface: rgba(7, 8, 12, .82);--ds-vn-choice-hover: rgba(111, 50, 60, .96);--ds-vn-choice-mark: rgba(255, 207, 207, .75);--ds-vn-stage-shade: rgba(6, 7, 10, .18);--ds-vn-choice-stage-shade: rgba(3, 5, 9, .52);--ds-vn-sprite-active-opacity: 1;--ds-vn-sprite-inactive-opacity: .56;--ds-vn-sprite-inactive-brightness: .72;--ds-vn-sprite-inactive-saturation: .64;--ds-vn-sprite-inactive-blur: 3px;--ds-vn-sprite-transition: .18s ease;--ds-vn-sprite-single-width: min(58%, 760px);--ds-vn-sprite-multiple-width: min(56%, 800px);--ds-vn-sprite-single-height: 96%;--ds-vn-sprite-multiple-height: 86%;--ds-vn-sprite-top: 3%;--ds-vn-input-line: rgba(255, 255, 255, .26);--ds-vn-text-strong: #fff;--ds-vn-text-muted: rgba(255, 255, 255, .62);--ds-vn-opening-backdrop: #100d12;--ds-vn-opening-logo: #76515b;--ds-vn-opening-logo-bright: #f0aab6;--ds-vn-curtain-width: min(calc(100vw - var(--ds-space-10)), 440px);--ds-vn-curtain-height: 196px;--ds-vn-frame-light-surface: rgba(245, 241, 239, .94);--ds-vn-frame-light-surface-solid: #f5f1ef;--ds-vn-frame-light-text: #211b1d;--ds-vn-frame-blue-surface: rgba(18, 48, 66, .92);--ds-vn-frame-blue-surface-solid: #123042;--ds-vn-frame-blue-text: #f7fbff;--ds-dialogue-preview-height: 112px;--ds-dialogue-option-min: 84px;--vn-dialogue-font: var(--ds-font-ui);--ds-motion-fast: .18s;--ds-vn-opening-duration: .5s;--vn-character-accent: var(--ds-vn-name-surface);--character-accent: var(--ds-accent-muted);--ds-story-detail-copy-max: 570px;--ds-story-detail-backdrop-opacity: 1;--ds-story-cast-background: none;--ds-story-detail-aside-min: 260px;--ds-story-detail-work-width: 210px;--ds-story-detail-work-image-height: 210px;--ds-story-detail-mobile-art-height: 240px;--ds-story-detail-media-ratio: 16 / 9;--ds-story-detail-tab-height: 56px;--ds-story-detail-tab-gap: var(--ds-space-7);--ds-cover-sprite-size: 300% 200%;--ds-story-detail-title-tracking: -.035em;--ds-story-detail-reading-line: 1.8;--ds-story-detail-image-blend: linear-gradient(90deg, var(--ds-canvas-raised) 0%, var(--ds-canvas-raised) 10%, transparent 66%);--ds-scrollbar-size: 10px;--ds-scrollbar-content-gap: var(--ds-space-3);--ds-page-gutter: clamp(var(--ds-space-5), 3vw, var(--ds-space-9));--ds-section-gap: var(--ds-space-9);--ds-space-section: var(--ds-space-9);--ds-field-gap: var(--ds-space-5);--ds-stack-gap: var(--ds-space-4);--ds-inline-gap: var(--ds-space-3);--ds-page-flow-gap: var(--ds-space-9);--ds-section-flow-gap: var(--ds-space-8);--ds-section-heading-gap: var(--ds-space-3);--ds-section-content-gap: var(--ds-space-6);--ds-row-flow-gap: var(--ds-space-5);--ds-divider-content-gap: var(--ds-space-4);--ds-copy-max: 760px;--ds-editor-max: 980px;--ds-border-width: 1px;--surface-0: var(--ds-canvas);--surface-1: var(--ds-canvas-raised);--surface-2: var(--ds-surface-input);--surface-3: var(--ds-surface-input-hover);--surface-hover: var(--ds-surface-input-hover);--text-strong: var(--ds-text-strong);--text-body: var(--ds-text-body);--text-muted: var(--ds-text-muted);--dark-border: var(--ds-line);--accent-soft: var(--ds-accent);--accent-hover: var(--ds-accent-strong);--red: var(--ds-accent);--red-dark: var(--ds-accent-strong);--paper: var(--ds-canvas);--card: var(--ds-canvas-raised);--ink: var(--ds-text-strong);--muted: var(--ds-text-muted);--line: var(--ds-line);--font-ui: var(--ds-font-ui);--font-display: var(--ds-font-display);--font-story: var(--ds-font-story);--font-logo: var(--ds-font-logo);--radius-control: var(--ds-radius-control);--radius-panel: var(--ds-radius-media);--color-waku-accent: var(--ds-accent);--color-waku-canvas: var(--ds-canvas);--color-waku-surface-soft: var(--ds-surface-subtle);--color-waku-surface-active: var(--ds-surface-input);--color-waku-choice-rest: rgba(18, 18, 18, .64);--color-waku-choice-hover: rgba(29, 29, 29, .78);--color-waku-choice-selected: rgba(227, 160, 155, .12);--color-waku-choice-error: rgba(225, 141, 135, .1);--color-waku-choice-success: rgba(121, 182, 155, .1);--color-waku-rule: var(--ds-line);--color-waku-text: var(--ds-text-strong);--color-waku-text-muted: var(--ds-text-muted);--font-waku-display: var(--font-display);--font-waku-body: var(--ds-font-ui);--space-waku-row: var(--ds-space-6);--space-waku-section: var(--ds-space-8);--radius-waku-list: var(--ds-radius-overlay);--radius-waku-row: calc(var(--ds-radius-media) + var(--ds-space-1));--radius-waku-flow: calc(var(--ds-radius-media) + var(--ds-space-1));--blur-waku-choice: 18px;--rule-waku: var(--ds-border-width);--dur-waku-fast: .14s;--ease-waku-out: cubic-bezier(.22, .8, .26, 1)}}@layer design-system{#root .story-studio-shell .character-asset-workspace{width:min(var(--ds-modal-wide-width),calc(100vw - (var(--ds-space-6) * 2)));height:min(var(--ds-modal-wide-height),calc(100dvh - (var(--ds-space-6) * 2)));padding:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;color:var(--ds-text-body);background:var(--ds-canvas-raised)}#root .story-studio-shell .character-asset-header{min-width:0;padding:var(--ds-space-5) var(--ds-space-6) var(--ds-space-4);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:var(--ds-space-5);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .character-asset-header>div{min-width:0;display:grid;justify-items:start;gap:var(--ds-space-1);text-align:left}#root .story-studio-shell .character-asset-header>div>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:720;line-height:var(--ds-line-tight)}#root .story-studio-shell .character-asset-header>div>p,#root .character-visual-studio .character-look-priority>p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell :is(.character-asset-back,.character-asset-close){min-width:0;min-height:var(--ds-control-height-compact);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none;font-size:var(--ds-font-size-caption)}#root .story-studio-shell .character-asset-back{justify-self:start}#root .story-studio-shell .character-asset-close{justify-self:end;width:var(--ds-control-height-compact);justify-content:center}#root .story-studio-shell :is(.character-asset-back,.character-asset-close):is(:hover,:focus-visible){color:var(--ds-text-strong)}#root .story-studio-shell .character-asset-kinds{min-width:0;padding:0 var(--ds-space-6);display:flex;align-items:stretch;gap:var(--ds-space-7);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .character-asset-kinds>button{position:relative;min-width:0;min-height:64px;padding:var(--ds-space-3) 0;display:grid;align-content:center;justify-items:start;gap:var(--ds-space-1);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none;font-size:var(--ds-font-size-label);font-weight:680;text-align:left}#root .story-studio-shell .character-asset-kinds>button:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:transparent}#root .story-studio-shell .character-asset-kinds>button small{color:var(--ds-text-faint);font-size:var(--ds-font-size-min);font-weight:520;line-height:var(--ds-line-action)}#root .story-studio-shell .character-asset-kinds>button.active{color:var(--ds-text-strong)}#root .story-studio-shell .character-asset-kinds>button.active:after{background:var(--ds-accent)}#root .story-studio-shell .character-look-workspace{min-width:0;min-height:0;display:grid;grid-template-columns:var(--ds-master-compact) minmax(0,1fr);overflow:hidden}#root .story-studio-shell .character-look-master{min-width:0;min-height:0;padding:var(--ds-space-5) var(--ds-space-4) var(--ds-space-6) var(--ds-space-6);overflow-y:auto;border-right:var(--ds-border-width) solid var(--ds-line);scrollbar-gutter:stable}#root .story-studio-shell .character-look-master-head{min-height:var(--ds-control-height-compact);margin-bottom:var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3)}#root .story-studio-shell .character-look-master-head>div{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .character-look-master-head strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .character-look-master-head span{color:var(--ds-text-faint);font-size:var(--ds-font-size-min)}#root .story-studio-shell .character-look-master-head>button{min-height:var(--ds-control-height-compact);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-1);color:var(--ds-text-body);border:0;border-radius:0;background:transparent;box-shadow:none;font-size:var(--ds-font-size-caption)}#root .story-studio-shell .character-look-master-head>button:is(:hover,:focus-visible){color:var(--ds-accent-strong)}#root .story-studio-shell .character-look-list{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .character-look-list>button{width:100%;min-width:0;min-height:72px;padding:var(--ds-space-2);display:grid;grid-template-columns:44px minmax(0,1fr) 16px;align-items:center;gap:var(--ds-space-3);color:var(--ds-text-body);border:0;border-radius:var(--ds-radius-control);background:transparent;box-shadow:none;text-align:left}#root .story-studio-shell .character-look-list>button:is(:hover,:focus-visible){background:var(--ds-surface-subtle)}#root .story-studio-shell .character-look-list>button.active{background:var(--ds-accent-wash)}#root .story-studio-shell .character-look-thumb{width:44px;height:54px;display:grid;place-items:center;overflow:hidden;color:var(--ds-text-faint);border-radius:var(--ds-radius-control);background:var(--ds-surface-media)}#root .story-studio-shell .character-look-thumb img{width:100%;height:100%;object-fit:cover}#root .story-studio-shell .character-look-copy{min-width:0;display:grid;gap:2px}#root .story-studio-shell .character-look-copy>small{color:var(--ds-accent-muted);font-size:var(--ds-font-size-min)}#root .story-studio-shell .character-look-copy>strong{overflow:hidden;color:var(--ds-text-strong);font-size:var(--ds-font-size-label);text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .character-look-copy>span{overflow:hidden;color:var(--ds-text-muted);font-size:var(--ds-font-size-min);text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .character-look-list>button>svg{color:var(--ds-text-faint)}#root .story-studio-shell .character-look-detail{min-width:0;min-height:0;padding:var(--ds-space-6) var(--ds-space-7) var(--ds-space-8);overflow-y:auto;scrollbar-gutter:stable}#root .story-studio-shell .character-look-detail .character-look-editor{width:min(100%,860px);margin:0 auto;padding:0;border:0;background:transparent;box-shadow:none}#root .story-studio-shell .character-look-detail .look-editor-head{min-height:48px;margin:0 0 var(--ds-space-4);padding:0;align-items:center;border:0}#root .story-studio-shell .character-look-detail .look-editor-head>button{min-height:var(--ds-control-height-compact);padding:0;color:var(--ds-text-muted);border:0;background:transparent}#root .story-studio-shell .character-look-detail .look-editor-head>button:is(:hover,:focus-visible){color:var(--ds-danger)}#root .story-studio-shell .character-look-detail .look-editor-tabs{width:100%;margin:0 0 var(--ds-space-6);display:flex;gap:var(--ds-space-7);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .character-look-detail .look-editor-tabs>button{min-height:44px;padding:0 0 var(--ds-space-3)}#root .story-studio-shell .character-look-detail :is(.look-panel-content,.look-base-asset,.expression-set){margin:0;padding:0}#root .story-studio-shell .look-purpose-note{margin-bottom:var(--ds-space-6);display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .look-purpose-note>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .look-purpose-note>p{max-width:var(--ds-reading-max);margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .look-base-heading,#root .story-studio-shell .expression-set-heading>div{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell :is(.look-base-heading,.expression-set-heading) strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}#root .story-studio-shell :is(.look-base-heading,.expression-set-heading) small{max-width:680px;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .look-reference-preview{margin:var(--ds-space-5) 0 0;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:var(--ds-space-4)}#root .story-studio-shell .look-reference-preview>img{width:112px;aspect-ratio:3 / 4;object-fit:cover;border-radius:var(--ds-radius-media);background:var(--ds-surface-media)}#root .story-studio-shell .look-reference-preview>figcaption{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .look-reference-preview strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .look-reference-preview span{overflow:hidden;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .look-base-asset .studio-asset-picker{margin-top:var(--ds-space-6)}#root .story-studio-shell .expression-set-heading{margin-bottom:var(--ds-space-5)}#root .story-studio-shell .expression-asset-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-5) var(--ds-space-4);margin:0}#root .story-studio-shell .expression-asset-list>article{min-width:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:var(--ds-space-3);border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .expression-preview{width:100%;height:auto;aspect-ratio:3 / 4;display:grid;place-items:center;overflow:hidden;color:var(--ds-text-faint);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-media);background:var(--ds-surface-media);outline:var(--ds-border-width) solid transparent;outline-offset:calc(var(--ds-border-width) * -1)}#root .story-studio-shell .expression-asset-list>article.active .expression-preview{outline-color:var(--ds-accent)}#root .story-studio-shell .expression-preview img{width:100%;height:100%;object-fit:cover}#root .story-studio-shell .expression-preview span{font-size:var(--ds-font-size-title-sm)}#root .story-studio-shell .expression-meta{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--ds-space-1) var(--ds-space-2)}#root .story-studio-shell .expression-meta>span{color:var(--ds-accent-muted);font-size:var(--ds-font-size-min)}#root .story-studio-shell .expression-meta>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .expression-meta>small{grid-column:1 / -1;overflow:hidden;color:var(--ds-text-muted);font-size:var(--ds-font-size-min);text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .expression-actions{grid-column:auto;display:flex;align-items:center;flex-wrap:wrap;gap:var(--ds-space-2) var(--ds-space-3)}#root .story-studio-shell .expression-actions :is(button,label){min-height:var(--ds-control-height-compact);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-1);color:var(--ds-text-body);border:0;background:transparent;font-size:var(--ds-font-size-min);cursor:pointer}#root .story-studio-shell .expression-actions :is(button,label):is(:hover,:focus-visible){color:var(--ds-accent-strong)}#root .story-studio-shell .expression-actions button:disabled{color:var(--ds-text-faint);cursor:not-allowed}#root .story-studio-shell .expression-actions .remove{color:var(--ds-danger)}#root .story-studio-shell .expression-asset-list>.add-expression{width:100%;min-height:var(--ds-control-height-compact);align-self:end;justify-content:flex-start}#root .story-studio-shell .expression-generation-panel{margin-top:var(--ds-space-8);padding-top:var(--ds-space-5);display:grid;gap:var(--ds-space-5);border-top:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .expression-generation-panel>header{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4)}#root .story-studio-shell .expression-generation-panel>header>div{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .expression-generation-panel>header span{color:var(--ds-accent-muted);font-size:var(--ds-font-size-min)}#root .story-studio-shell .expression-generation-panel>header strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .story-studio-shell .expression-generation-panel>header button{width:var(--ds-control-height-compact);height:var(--ds-control-height-compact);padding:0;display:grid;place-items:center;color:var(--ds-text-muted);border:0;background:transparent}#root .story-studio-shell .asset-generation-reference{grid-column:1 / -1;margin:0;display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:var(--ds-space-3)}#root .story-studio-shell .asset-generation-reference img{width:64px;height:80px;object-fit:cover;border-radius:var(--ds-radius-control);background:var(--ds-surface-media)}#root .story-studio-shell .asset-generation-reference figcaption{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .asset-generation-reference strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .asset-generation-reference span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .character-look-empty{width:min(100%,520px);min-height:100%;margin:0 auto;padding:var(--ds-space-10) var(--ds-space-4);display:grid;align-content:center;justify-items:center;gap:var(--ds-space-3);text-align:center;border:0;background:transparent}#root .story-studio-shell .character-look-empty>svg{color:var(--ds-text-faint)}#root .story-studio-shell .character-look-empty>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .story-studio-shell .character-look-empty>p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body)}#root .story-studio-shell .character-look-empty>button{margin-top:var(--ds-space-3)}#root .story-studio-shell .character-highlight-workspace{min-width:0;min-height:0;padding:var(--ds-space-10) var(--ds-space-7);display:grid;align-content:center;justify-items:center;gap:var(--ds-space-7);overflow-y:auto}#root .story-studio-shell .character-highlight-intro{width:min(100%,620px);display:grid;justify-items:center;gap:var(--ds-space-2);text-align:center}#root .story-studio-shell .character-highlight-intro>span{color:var(--ds-accent-muted);font-size:var(--ds-font-size-kicker);font-weight:720}#root .story-studio-shell .character-highlight-intro>h3{margin:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-md);line-height:var(--ds-line-tight)}#root .story-studio-shell .character-highlight-intro>p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .story-studio-shell .character-highlight-flow{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--ds-space-3);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .character-highlight-flow>span{display:inline-flex;align-items:center;gap:var(--ds-space-2)}#root .story-studio-shell .character-highlight-flow b{color:var(--ds-accent);font-size:var(--ds-font-size-min)}#root .story-studio-shell .character-highlight-flow>svg{color:var(--ds-text-faint)}#root .story-studio-shell .character-highlight-action{display:inline-flex;align-items:center;gap:var(--ds-space-2)}@media(max-width:760px){#root .story-studio-shell .character-asset-workspace{width:calc(100vw - (var(--ds-space-3) * 2));height:calc(100dvh - (var(--ds-space-3) * 2))}#root .story-studio-shell .character-asset-header{padding:var(--ds-space-3) var(--ds-space-4);grid-template-columns:minmax(0,1fr) auto;gap:var(--ds-space-2)}#root .story-studio-shell .character-asset-header>div{grid-column:1 / -1;grid-row:2;justify-items:start;text-align:left}#root .story-studio-shell .character-asset-close{grid-column:2;grid-row:1}#root .story-studio-shell .character-asset-kinds{padding:0 var(--ds-space-4);gap:var(--ds-space-5);overflow-x:auto}#root .story-studio-shell .character-asset-kinds>button{flex:0 0 auto;min-height:58px}#root .story-studio-shell .character-asset-kinds>button small{display:none}#root .story-studio-shell .character-look-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}#root .story-studio-shell .character-look-master{padding:var(--ds-space-3) var(--ds-space-4);overflow:visible;border-right:0;border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-studio-shell .character-look-master-head{margin-bottom:var(--ds-space-2)}#root .story-studio-shell .character-look-list{display:flex;overflow-x:auto;padding-bottom:var(--ds-space-1)}#root .story-studio-shell .character-look-list>button{flex:0 0 220px}#root .story-studio-shell .character-look-detail{padding:var(--ds-space-5) var(--ds-space-4) var(--ds-space-7)}#root .story-studio-shell .character-look-detail .look-editor-tabs{gap:var(--ds-space-5);overflow-x:auto}#root .story-studio-shell .expression-asset-list{grid-template-columns:repeat(2,minmax(0,1fr))}#root .story-studio-shell .character-highlight-workspace{padding:var(--ds-space-8) var(--ds-space-4)}}@media(max-width:1100px){#root .story-studio-shell .expression-generation-panel .asset-generate{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .expression-generation-panel .asset-generate-actions{width:100%}}@media(max-width:520px){#root .story-studio-shell .expression-asset-list{grid-template-columns:repeat(2,minmax(0,1fr))}#root .story-studio-shell .look-reference-preview{grid-template-columns:88px minmax(0,1fr)}#root .story-studio-shell .look-reference-preview>img{width:88px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#root :where([data-structural-group]){border:0;background:transparent;box-shadow:none}#root :where([data-structural-group]:empty,[data-structural-group][hidden],[data-ui-section]:empty,[data-ui-content]:empty,[data-ui-list]:empty,[data-ui-empty]:empty){display:none}#root [data-media-ratio=landscape]{width:100%;aspect-ratio:var(--ds-media-ratio-landscape);overflow:hidden;border-radius:var(--ds-radius-media);background:var(--ds-surface-media)}#root [data-media-ratio=landscape]>img{width:100%;height:100%;display:block;object-fit:cover}#root [data-media-ratio=portrait]{aspect-ratio:var(--ds-media-ratio-portrait)}#root [data-media-ratio=square]{aspect-ratio:var(--ds-media-ratio-square)}#root .cover-art-empty{display:grid;place-items:center;color:var(--ds-text-muted);background:var(--ds-surface-media);background-image:none}#root .character-look-library img,#root .preview-character img{width:100%;height:100%;display:block;object-fit:cover}#root .scene-background.empty{display:grid;place-items:center;background-color:var(--ds-surface-media);background-image:none;background-blend-mode:normal}#root .vn-preview-missing{max-width:260px;padding:var(--ds-space-3) var(--ds-space-4);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);text-align:center}#root .studio-modal-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:var(--ds-space-6);background:var(--ds-overlay-scrim);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}#root .studio-modal{width:min(var(--ds-modal-editor-width),calc(100vw - (var(--ds-space-6) * 2)));height:min(var(--ds-modal-editor-height),calc(100dvh - (var(--ds-space-6) * 2)));max-height:none;overflow:auto;color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-overlay);background:var(--ds-surface-overlay);box-shadow:var(--ds-shadow-overlay)}#root .character-visual-studio.studio-modal{min-height:0;padding:var(--ds-space-7)}#root .character-visual-studio .character-look-empty{min-height:0;margin:0;padding:var(--ds-space-9) 0 var(--ds-space-7);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);grid-template-areas:"main guide" "priority priority";gap:var(--ds-space-9) var(--ds-space-10);color:var(--ds-text-body);border:0;background:transparent;box-shadow:none}#root .character-visual-studio .character-look-empty-main{grid-area:main;max-width:560px;display:grid;justify-items:start;gap:var(--ds-space-3)}#root .character-visual-studio .character-look-empty-main>span{color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .character-visual-studio .character-look-empty-main>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:680;line-height:var(--ds-line-tight)}#root .character-visual-studio .character-look-empty-main>p{max-width:520px;margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .character-visual-studio .character-look-empty-main>button{min-height:var(--ds-control-height-compact);margin-top:var(--ds-space-2);padding:var(--ds-space-2) 0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-accent-strong);border:0;background:transparent;box-shadow:none;cursor:pointer;font-size:var(--ds-font-size-label);font-weight:700}#root .character-visual-studio .character-look-empty-main>button:hover,#root .character-visual-studio .character-look-empty-main>button:focus-visible{color:var(--ds-text-strong)}#root .character-visual-studio .character-look-guide{grid-area:guide;margin:0;display:grid;align-content:start;gap:var(--ds-space-6)}#root .character-visual-studio .character-look-guide>div{display:grid;gap:var(--ds-space-1)}#root .character-visual-studio .character-look-guide :is(dt,dd){margin:0}#root .character-visual-studio .character-look-guide dt{color:var(--ds-text-strong);font-size:var(--ds-font-size-label);font-weight:680}#root .character-visual-studio .character-look-guide dd{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .character-visual-studio .character-look-priority{grid-area:priority;display:grid;grid-template-columns:132px minmax(0,1fr);align-items:baseline;gap:var(--ds-space-4)}#root .character-visual-studio .character-look-priority>span{color:var(--ds-text-strong);font-size:var(--ds-font-size-label);font-weight:680}#root .character-settings-modal{overflow:hidden}#root .character-settings-modal .character-detail-form{min-height:100%;padding:var(--ds-space-7);height:100%;display:flex;flex-direction:column;overflow:hidden}#root .character-settings-modal .character-detail-head,#root .character-visual-studio.studio-modal .character-visual-heading{position:sticky;top:calc(var(--ds-space-7) * -1);z-index:3;margin:calc(var(--ds-space-7) * -1) calc(var(--ds-space-7) * -1) 0;padding:var(--ds-space-6) var(--ds-space-7);background:var(--ds-surface-overlay)}#root .character-settings-modal .character-detail-tabs{position:sticky;top:76px;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-5);margin:0;padding:var(--ds-space-4) 0 var(--ds-space-3);border:0;background:var(--ds-surface-overlay)}#root .character-settings-modal .character-detail-tabs>button{min-width:0;min-height:60px;padding:var(--ds-space-2) 0;display:grid;align-content:start;gap:var(--ds-space-1);color:var(--ds-text-muted);border:0;background:transparent;text-align:left;cursor:pointer}#root .character-settings-modal .character-detail-tabs>button:after{content:none}#root .character-settings-modal .character-detail-tabs>button strong{color:var(--ds-text-body);font-size:var(--ds-font-size-body);font-weight:650;line-height:var(--ds-line-tight);transition:color var(--ds-transition)}#root .character-settings-modal .character-detail-tabs>button small{display:block;min-height:calc(var(--ds-font-size-caption) * var(--ds-line-body));margin:0;color:var(--ds-text-faint);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);white-space:normal;transition:color var(--ds-transition)}#root .character-settings-modal .character-detail-tabs>button:not(.active):hover strong,#root .character-settings-modal .character-detail-tabs>button:not(.active):focus-visible strong{color:var(--ds-text-strong)}#root .character-settings-modal .character-detail-tabs>button:not(.active):hover small,#root .character-settings-modal .character-detail-tabs>button:not(.active):focus-visible small{color:var(--ds-text-muted)}#root .character-settings-modal .character-detail-tabs>button:focus-visible{outline:2px solid var(--ds-focus);outline-offset:var(--ds-space-1)}#root .character-settings-modal .character-detail-tabs>button.active strong{color:var(--ds-accent-strong)}#root .character-settings-modal .character-detail-tabs>button.active small{color:var(--ds-text-muted)}#root .character-settings-modal .character-modal-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:var(--ds-space-6);overflow-y:auto;padding:var(--ds-space-7) var(--ds-scrollbar-content-gap) var(--ds-space-8) 0}#root :where(.studio-modal,.creation-start,.search-overlay,.legal-sheet,.dialog-content,.character-modal-body,.storychat-preview>main,.relationship-workspace>aside){box-sizing:border-box;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--ds-line-strong) transparent;overscroll-behavior:contain}#root .story-studio-shell input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]){padding-inline:var(--ds-space-3)}#root textarea{padding:var(--ds-space-3) var(--ds-space-4);line-height:var(--ds-line-body);scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--ds-line-strong) transparent}#root :where(.studio-modal,.creation-start,.search-overlay,.legal-sheet,.dialog-content,.character-modal-body,.storychat-preview>main,.relationship-workspace>aside)::-webkit-scrollbar{width:var(--ds-scrollbar-size);height:var(--ds-scrollbar-size)}#root :where(.studio-modal,.creation-start,.search-overlay,.legal-sheet,.dialog-content,.character-modal-body,.storychat-preview>main,.relationship-workspace>aside)::-webkit-scrollbar-track{background:transparent}#root :where(.studio-modal,.creation-start,.search-overlay,.legal-sheet,.dialog-content,.character-modal-body,.storychat-preview>main,.relationship-workspace>aside)::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:var(--ds-radius-control);background:var(--ds-line-strong);background-clip:padding-box}#root textarea::-webkit-scrollbar{width:var(--ds-scrollbar-size);height:var(--ds-scrollbar-size)}#root textarea::-webkit-scrollbar-track{background:transparent}#root textarea::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:var(--ds-radius-control);background:var(--ds-line-strong);background-clip:padding-box}#root .creation-wrap,#root .search-overlay-wrap,#root .dialog-wrap,#root .studio-preview-wrap,#root .relationship-board-wrap{place-items:center;padding:var(--ds-space-6)}#root .search-overlay{width:min(var(--ds-modal-search-width),calc(100vw - (var(--ds-space-6) * 2)));height:auto;min-height:0;max-height:min(var(--ds-modal-search-height),calc(100dvh - (var(--ds-space-6) * 2)));overflow:auto}#root .story-dialog{width:min(var(--ds-modal-detail-width),calc(100vw - (var(--ds-space-6) * 2)));height:min(var(--ds-modal-detail-height),calc(100dvh - (var(--ds-space-6) * 2)));max-height:none;grid-template-columns:minmax(280px,.86fr) minmax(0,1.14fr);overflow:hidden;border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-overlay);background:var(--ds-surface-overlay);box-shadow:var(--ds-shadow-overlay)}#root .story-dialog .dialog-art{min-width:0;min-height:0;height:100%;background:var(--ds-surface-media)}#root .story-dialog .dialog-art>.cover-art{width:100%;height:100%;display:block}#root .story-dialog .dialog-art-caption{position:absolute;left:var(--ds-space-5);bottom:var(--ds-space-5);z-index:2;color:var(--ds-text-body);font-size:var(--ds-font-size-min);letter-spacing:var(--ds-letter-kicker)}#root .story-dialog .dialog-content{min-width:0;height:100%;padding:var(--ds-space-8) var(--ds-space-8) var(--ds-space-7);display:block;overflow-y:auto;scrollbar-gutter:stable}#root .story-dialog .dialog-content h3{margin:var(--ds-space-3) 0 var(--ds-space-2);color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:var(--ds-font-size-title-md);font-weight:400;line-height:var(--ds-line-tight)}#root .story-dialog .dialog-meta{margin:var(--ds-space-3) 0 var(--ds-space-5);gap:var(--ds-space-2) var(--ds-space-4)}#root .story-dialog .dialog-meta span{min-height:0;padding:0;color:var(--ds-text-muted);border:0;background:transparent;font-size:var(--ds-font-size-min)}#root .story-dialog .story-logline{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .story-promise-list,#root .story-cast-preview{width:100%;margin-top:var(--ds-space-7)}#root .story-promise-list>span,#root .story-cast-preview>span,#root .story-intro-preview>span{display:block;color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .story-promise-list ul{margin:var(--ds-space-3) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-4);list-style:none}#root .story-promise-list li{min-width:0;color:var(--ds-text-body);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-promise-list li b{display:block;margin-bottom:var(--ds-space-1);color:var(--ds-accent);font-size:var(--ds-font-size-min)}#root .story-cast-preview>strong{display:block;margin-top:var(--ds-space-2);color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-cast-preview>div{margin-top:var(--ds-space-2);display:flex;flex-wrap:wrap;gap:var(--ds-space-2) var(--ds-space-4)}#root .story-cast-preview small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-intro-preview{width:100%;margin:var(--ds-space-7) 0 0;padding:var(--ds-space-5) var(--ds-space-6);border:0;border-radius:var(--ds-radius-media) var(--ds-radius-media) var(--ds-radius-media) var(--ds-space-1);background:var(--ds-accent-wash)}#root .story-intro-preview>p{margin:var(--ds-space-2) 0 0;color:var(--ds-text-strong);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .story-intro-preview>small{display:block;margin-top:var(--ds-space-3);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-dialog .dialog-actions{margin-top:var(--ds-space-6)}#root .legal-sheet{width:min(var(--ds-modal-legal-width),calc(100vw - (var(--ds-space-6) * 2)));height:min(var(--ds-modal-legal-height),calc(100dvh - (var(--ds-space-6) * 2)));max-height:none;overflow:auto}#root .storychat-preview,#root .vn-preview{width:min(var(--ds-modal-preview-width),calc(100vw - (var(--ds-space-6) * 2)));height:min(var(--ds-modal-preview-height),calc(100dvh - (var(--ds-space-6) * 2)));max-height:none}#root .relationship-board-modal{width:min(var(--ds-modal-wide-width),calc(100vw - (var(--ds-space-6) * 2)));height:min(var(--ds-modal-wide-height),calc(100dvh - (var(--ds-space-6) * 2)));max-height:none}#root .character-settings-modal .character-panel-fields,#root .character-settings-modal .character-advanced-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-5) var(--ds-space-6)}#root .character-settings-modal .candidate-card-fields{display:grid;gap:var(--ds-space-5);padding-top:var(--ds-space-5);border-top:1px solid var(--ds-line)}#root .character-settings-modal .candidate-card-fields>header>div{display:grid;gap:var(--ds-space-1)}#root .character-settings-modal .candidate-card-fields>header span{color:var(--ds-accent-muted);font-size:var(--ds-font-size-label);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .character-settings-modal .candidate-card-fields>header strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-reading)}#root .character-settings-modal .candidate-card-fields>header small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-settings-modal .candidate-card-fields>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-field-gap)}#root .character-settings-modal .candidate-card-fields>div>.wide{grid-column:1 / -1}#root .character-settings-modal .candidate-initial-stats{min-width:0;margin:0;padding:var(--ds-space-4) 0 0;border:0;border-top:1px solid var(--ds-line)}#root .character-settings-modal .candidate-initial-stats>legend{padding:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-label);font-weight:700}#root .character-settings-modal .candidate-initial-stats>p{margin:var(--ds-space-1) 0 var(--ds-space-3);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-settings-modal .candidate-initial-stats>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-field-gap)}#root .character-settings-modal textarea{min-height:112px}#root .studio-modal-footer{position:sticky;bottom:0;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:var(--ds-space-4);margin:0 calc(var(--ds-space-7) * -1) calc(var(--ds-space-7) * -1);padding:var(--ds-space-5) var(--ds-space-7) var(--ds-space-6);background:var(--ds-surface-overlay)}#root .studio-modal-footer .character-delete{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--ds-space-2);min-height:var(--ds-control-height-compact);padding:var(--ds-space-2);white-space:nowrap}#root .studio-modal-footer .character-delete svg{flex:0 0 auto}#root .studio-modal-footer .primary{min-height:var(--ds-control-height);padding:0 var(--ds-space-6);color:var(--ds-accent-ink);border:0;border-radius:var(--ds-radius-control);background:var(--ds-accent);font-weight:750}#root .character-status-sheet{grid-column:2;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-areas:"avatar title" "facts facts" "actions actions";column-gap:clamp(var(--ds-space-3),2vw,var(--ds-space-5));row-gap:var(--ds-space-5);align-items:center;min-width:0;padding:var(--ds-space-5) 0 var(--ds-space-6);border:0;border-radius:0;background:transparent}#root .character-status-avatar{grid-area:avatar;width:64px;aspect-ratio:1;overflow:hidden;border-radius:50%;background:var(--ds-surface-media)}#root .character-status-avatar :is(img,span){width:100%;height:100%;display:grid;place-items:center;object-fit:cover;color:var(--ds-text-muted)}#root .character-status-title{grid-area:title;min-width:0;writing-mode:horizontal-tb}#root .character-status-title>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:750}#root .character-status-title>strong{display:block;margin-top:var(--ds-space-1);color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .character-status-title>p{margin:var(--ds-space-2) 0 0;color:var(--ds-text-muted);line-height:var(--ds-line-height-body);word-break:keep-all;overflow-wrap:break-word}#root .character-status-facts{grid-area:facts;display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:var(--ds-space-5) var(--ds-space-7);min-width:0;margin:0}#root .character-status-facts div{min-width:0;writing-mode:horizontal-tb}#root .character-status-facts dt{color:var(--ds-text-faint);font-size:var(--ds-font-size-caption)}#root .character-status-facts dd{margin:var(--ds-space-1) 0 0;color:var(--ds-text-body);line-height:var(--ds-line-height-body);white-space:normal;word-break:keep-all;overflow-wrap:break-word}#root .character-status-actions{grid-area:actions;display:flex;flex-wrap:wrap;gap:var(--ds-space-5)}#root .character-status-actions button{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--ds-space-2);min-height:var(--ds-control-height-compact);padding:0;color:var(--ds-text-body);border:0;border-radius:0;background:transparent}#root .character-status-actions button:hover{color:var(--ds-accent)}#root .story-studio-shell .character-studio,#root .story-studio-shell .character-planner,#root .story-studio-shell .relation-copy{min-width:0;border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none}#root .story-studio-shell .character-studio{width:min(100%,var(--ds-reading-max));padding:0}#root .story-studio-shell .relation-copy{margin:0 0 var(--ds-space-6);padding:0;display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:var(--ds-space-5) var(--ds-space-7)}#root .story-studio-shell .relation-copy>div{min-width:0}#root .story-studio-shell .relation-copy>button.studio-inline-entry,#root .story-studio-shell .relation-copy>button.studio-inline-entry:is(:hover,:focus-visible){width:max-content;min-width:0;min-height:var(--ds-control-height-compact);padding:var(--ds-space-3) var(--ds-space-4);display:grid;align-content:center;justify-items:start;gap:var(--ds-space-2);color:var(--ds-text-body);border:0;border-radius:var(--ds-radius-control);background:transparent;box-shadow:none;transform:none;white-space:nowrap}#root .story-studio-shell .relation-copy>button.studio-inline-entry>span{display:inline-flex;align-items:center;gap:var(--ds-space-2);line-height:var(--ds-line-action)}#root .story-studio-shell .relation-copy>button.studio-inline-entry>small{margin:0;line-height:var(--ds-line-body)}#root .story-studio-shell .relation-copy>button.studio-inline-entry:hover{color:var(--ds-accent)}#root .story-studio-shell .relation-copy>button.studio-inline-entry:disabled{color:var(--ds-text-faint);background:var(--ds-surface-input);opacity:.62;cursor:default}#root .story-studio-shell .relation-copy>button.studio-inline-entry:disabled :is(svg,small){color:var(--ds-text-faint)}#root .character-image-entry button{display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-4);color:var(--ds-text-strong);border:0;border-radius:var(--ds-radius-control);background:var(--ds-surface-input-hover)}#root .character-image-entry{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5);padding-top:var(--ds-space-3)}#root .character-image-entry strong,#root .character-image-entry span{display:block}#root .character-image-entry span{margin-top:var(--ds-space-1);color:var(--ds-text-muted)}@media(max-width:900px){#root .character-status-sheet{grid-column:1;grid-template-columns:56px minmax(0,1fr)}#root .character-status-facts,#root .character-status-actions{grid-column:1 / -1}#root .character-status-actions{display:flex;flex-wrap:wrap}#root .story-studio-shell .relation-copy{grid-template-columns:minmax(0,1fr);align-items:start}#root .story-studio-shell .relation-copy>button.studio-inline-entry{justify-self:start;align-items:flex-start;text-align:left}}@media(max-width:980px){#root .character-settings-modal .character-detail-tabs{grid-template-columns:repeat(2,minmax(0,1fr));top:76px}}@media(max-width:640px){#root .studio-modal-scrim,#root .creation-wrap,#root .search-overlay-wrap,#root .dialog-wrap,#root .studio-preview-wrap,#root .relationship-board-wrap{padding:0}#root .studio-modal,#root .creation-start,#root .search-overlay,#root .story-dialog,#root .legal-sheet,#root .storychat-preview,#root .vn-preview,#root .relationship-board-modal{width:100%;height:100dvh;max-height:none;min-height:100dvh;border:0;border-radius:0}#root .character-settings-modal .character-detail-form,#root .character-visual-studio.studio-modal{padding:var(--ds-space-5)}#root .studio-modal-footer{margin:0 calc(var(--ds-space-5) * -1) calc(var(--ds-space-5) * -1);padding:var(--ds-space-4) var(--ds-space-5) var(--ds-space-5)}#root .character-settings-modal .character-panel-fields,#root .character-settings-modal .character-advanced-panel{grid-template-columns:1fr}#root .character-settings-modal .candidate-card-fields>div{grid-template-columns:1fr}#root .character-settings-modal .candidate-initial-stats>div{grid-template-columns:1fr}#root .character-status-sheet{padding:var(--ds-space-5)}}#root .topbar-login,#root .topbar-login:is(:hover,:focus-visible,:active){min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-4);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-strong);border:1px solid var(--ds-line);border-radius:var(--ds-radius-pill);background:transparent;box-shadow:none;transform:none}#root .login-page{position:relative;z-index:1;width:min(var(--ds-modal-auth-width),calc(100vw - (var(--ds-space-6) * 2)));max-height:calc(100dvh - (var(--ds-space-6) * 2));overflow-y:auto;scrollbar-gutter:stable;padding:var(--ds-space-8);display:grid;align-content:start;color:var(--ds-text-strong);border:0;border-radius:var(--ds-radius-panel);outline:0;background:var(--ds-canvas-raised);box-shadow:var(--ds-shadow-overlay)}#root .login-overlay{z-index:140}#root .login-action{min-width:0;display:grid;align-content:center;background:transparent}#root .login-close,#root .login-close:is(:hover,:focus-visible,:active){position:absolute;top:var(--ds-space-4);right:var(--ds-space-4);width:var(--ds-control-height);height:var(--ds-control-height);padding:0;display:grid;place-items:center;color:var(--ds-text-body);border:0;border-radius:var(--ds-radius-control);background:transparent;box-shadow:none;transform:none}#root .login-close:hover{background:var(--ds-surface-subtle)}#root .login-action>header{display:grid;gap:var(--ds-space-2);margin-block-end:var(--ds-space-6);padding-inline-end:var(--ds-space-6)}#root .login-action>header>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:900;letter-spacing:.12em}#root .login-action>header h1{margin:0;color:var(--ds-text-strong);font:800 clamp(28px,4vw,38px)/var(--ds-line-tight) var(--ds-font-ui);letter-spacing:-.035em}#root .login-action>header p,#root .login-dev-note{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .login-providers{display:grid;justify-items:center;gap:var(--ds-space-3)}#root .login-providers button,#root .login-providers button:is(:hover,:focus-visible,:active){display:grid;place-items:center;min-height:48px;padding:0;border:0;background:transparent;box-shadow:none;transform:none}#root .login-providers img{display:block;height:48px;width:auto;max-width:100%}#root .login-providers [data-provider=google] img{height:52px}#root .login-dev-note{margin-block-start:var(--ds-space-4)}#root .login-status{display:grid;justify-items:start;gap:var(--ds-space-3)}#root .login-status p{margin:0;color:var(--ds-danger)}#root .login-error{margin:0;color:var(--ds-danger);font-size:var(--ds-font-size-caption)}@media(max-width:640px){#root .topbar-login{min-width:42px;padding:0 var(--ds-space-3)}#root .topbar-login span{display:none}#root .login-overlay{padding:var(--ds-space-4)}#root .login-page{width:100%;max-height:calc(100dvh - (var(--ds-space-4) * 2));padding:var(--ds-space-7) var(--ds-space-5)}}html,body,#root{color:var(--ds-text-strong);background:var(--ds-canvas)}body{font-family:var(--ds-font-ui);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}:is(button,input,textarea,select,small){font-size:max(var(--ds-font-size-min),1em)}:is(button):focus-visible,a:focus-visible{outline:2px solid var(--ds-accent);outline-offset:var(--ds-space-1)}:is(input:not([type=radio]),textarea,select){min-height:var(--ds-control-height);color:var(--ds-text-strong);border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);transition:border-color var(--ds-transition),background var(--ds-transition),box-shadow var(--ds-transition)}:is(input:not([type=radio]),textarea,select):hover{border-color:var(--ds-line-strong);background:var(--ds-surface-input-hover)}:is(input:not([type=radio]),textarea,select):focus,:is(input:not([type=radio]),textarea,select):focus-visible{outline:none;outline-offset:0;border-color:var(--ds-accent);box-shadow:var(--ds-focus-ring-form)}#root :where(input,textarea,select):focus,#root :where(input,textarea,select):focus-visible{outline:none;outline-offset:0;border-color:var(--ds-accent);box-shadow:var(--ds-focus-ring-form)}::placeholder{color:var(--ds-text-faint)}.page-content{width:min(100%,var(--ds-content-max));margin-inline:auto;padding:var(--ds-space-6) clamp(var(--ds-space-5),4vw,var(--ds-space-10)) var(--ds-space-11)}.page-intro,.section-head,.asset-section-head,.studio-section-copy{color:var(--ds-text-body)}:is(.page-intro,.section-head,.asset-section-head,.studio-section-copy) :is(h1,h2,h3,strong){color:var(--ds-text-strong)}:is(.page-intro,.section-head,.asset-section-head,.studio-section-copy) :is(p,small){color:var(--ds-text-muted)}:is(.profile-menu,.notification-popover,.dialog,.search-panel,.legal-sheet){border:1px solid var(--ds-line);border-radius:var(--ds-radius-overlay);background:var(--ds-surface-overlay);box-shadow:var(--ds-shadow-overlay)}:is(.story-card,.character-card,.project-row){--card-copy-gap: var(--ds-space-2)}:is(.story-card,.character-card,.project-row) :is(.card-body,.project-copy){gap:var(--card-copy-gap)}.story-type-chips{min-width:0;display:inline-flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-1)}.story-type-chip.is-visual-novel{--format-accent: #e4a09b}.story-type-chip.is-story-chat{--format-accent: #aab7e8}.story-type-chip.is-character-chat{--format-accent: #d6b77d}.story-type-chip{box-sizing:border-box;padding:0;display:inline-flex;align-items:center;color:var(--format-accent, var(--ds-accent-muted));border:0;border-radius:0;background:transparent;font-size:var(--ds-font-size-min);font-style:normal;font-weight:700;line-height:var(--ds-line-action);white-space:nowrap}.story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards){border:0;background:transparent;box-shadow:none}.story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button{position:relative;min-height:var(--ds-control-height-compact);padding:var(--ds-space-2) var(--ds-space-3);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;transition:color var(--ds-transition)}.story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:before,.story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:after{content:none;display:none}.story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:is(:hover,.active,[aria-selected=true],[aria-pressed=true]){color:var(--ds-text-strong);background:transparent}.story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:is(.active,[aria-selected=true],[aria-pressed=true]){color:var(--ds-accent)}.story-studio-shell{color:var(--ds-text-body);background:var(--ds-canvas)}.story-studio-shell .studio-main{min-width:0;padding:var(--ds-space-5) clamp(var(--ds-space-5),4vw,var(--ds-space-10)) var(--ds-space-10)}.story-studio-shell .studio-main>:is(.studio-form-grid,.character-editor-layout,.system-setting-step,.memory-studio,.illustration-studio,.publish-studio,.background-studio,.player-settings-step){width:min(100%,var(--ds-reading-max))}.story-studio-shell .studio-main-head{width:min(100%,var(--ds-reading-max));margin:0 0 var(--ds-space-6)}.story-studio-shell .studio-main-head h2{margin:var(--ds-space-2) 0 0;font-family:var(--ds-font-ui);font-size:clamp(24px,2.1vw,31px);letter-spacing:-.035em}.story-studio-shell .studio-main-head p{margin:var(--ds-space-2) 0 0;color:var(--ds-text-muted)}.story-studio-shell .studio-substeps{width:min(100%,var(--ds-reading-max));margin:0 0 var(--ds-space-5);gap:var(--ds-space-3)}.story-studio-shell .studio-form-grid{gap:var(--ds-space-5) var(--ds-space-4)}.story-studio-shell .studio-form-grid>label,.story-studio-shell label{gap:var(--ds-space-2)}.story-studio-shell .field-label{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}.story-studio-shell .field-label em{color:var(--ds-text-muted);background:transparent}.story-studio-shell .field-label em.required{color:var(--ds-accent)}.story-studio-shell :is(section,.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.character-look-editor,.look-trigger-builder,.look-base-asset,.expression-set,.scene-form-card,.keyword-note-layout,.response-example-editor,.ending-editor,.cg-create-panel,.publish-required,.publish-option-summary,.publish-access-panel,.publish-taxonomy,.generation-rules,.studio-empty-state,.system-empty-copy,.item-empty-line){border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.character-look-editor,.scene-form-card,.keyword-note-layout,.response-example-editor,.ending-editor,.cg-create-panel,.publish-required,.publish-option-summary,.publish-access-panel,.publish-taxonomy){padding:var(--ds-space-7) 0}.story-studio-shell .studio-empty-state{min-height:0;padding:var(--ds-space-9) 0}.story-studio-shell :is(details,summary,.character-advanced-toggle,.studio-disclosure){border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell :is(summary,.character-advanced-toggle,.studio-disclosure>button){min-height:var(--ds-control-height);padding:var(--ds-space-2) 0}.story-studio-shell .character-editor-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:var(--ds-space-8);align-items:start}.story-studio-shell .cast-editor-grid{display:grid;gap:var(--ds-space-2);position:sticky;top:var(--ds-space-7)}.story-studio-shell .cast-editor-grid>button{min-height:54px;padding:var(--ds-space-2) 0;border:0;background:transparent;box-shadow:none}.story-studio-shell .cast-editor-grid>button:after{content:none}.story-studio-shell .cast-editor-grid>button.active{color:var(--ds-accent)}.story-studio-shell .cast-detail-panel{min-width:0}.story-studio-shell .character-detail-tabs,.story-studio-shell .look-editor-tabs{display:flex;flex-wrap:wrap;gap:var(--ds-space-2);margin-bottom:var(--ds-space-6)}.story-studio-shell .character-detail-tabs>button{display:grid;gap:var(--ds-space-1);text-align:left}.story-studio-shell .character-panel-fields{min-height:190px}.story-studio-shell .character-advanced-tabs{display:flex;flex-wrap:wrap;gap:var(--ds-space-2);margin-bottom:var(--ds-space-5)}.story-studio-shell .character-advanced-panel{min-height:220px}.story-studio-shell .character-visual-studio{width:min(100%,var(--ds-reading-max));margin-top:var(--ds-space-9);padding-top:0}.story-studio-shell .character-look-library{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:var(--ds-space-4);margin:var(--ds-space-6) 0 var(--ds-space-8)}.story-studio-shell .character-look-library>button{min-width:0;padding:0;text-align:left;color:var(--ds-text-body);border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .character-look-library>button>div{height:132px;margin-bottom:var(--ds-space-3);overflow:hidden;border-radius:var(--ds-radius-media);background:var(--ds-surface-media)}.story-studio-shell .character-look-library>button>:is(span,strong,small){display:block;margin:var(--ds-space-1) 0 0}.story-studio-shell .character-look-library>button.active>strong{color:var(--ds-accent)}.story-studio-shell .character-look-library .add-character-look{min-height:132px;align-content:center;color:var(--ds-text-muted)}.story-studio-shell .character-look-library .add-character-look>div{display:none}.story-studio-shell .look-editor-head{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);margin-bottom:var(--ds-space-4)}.story-studio-shell .look-editor-head>div{display:grid;gap:var(--ds-space-1)}.story-studio-shell .look-editor-head span{color:var(--ds-text-muted)}.story-studio-shell .look-editor-head strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}.story-studio-shell .look-editor-head>button{display:inline-flex;align-items:center;gap:var(--ds-space-2);padding:var(--ds-space-2) 0;color:var(--ds-danger);border:0;background:transparent}.story-studio-shell .look-panel-content,.story-studio-shell .look-base-asset,.story-studio-shell .expression-set{min-height:330px}.story-studio-shell .look-trigger-builder{margin-top:var(--ds-space-7)}.story-studio-shell .look-trigger-types{display:flex;flex-wrap:wrap;gap:var(--ds-space-2);margin:var(--ds-space-4) 0}.story-studio-shell .look-trigger-rule{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);gap:var(--ds-space-4)}.story-studio-shell .asset-source-tabs,.story-studio-shell .illustration-type-tabs{display:flex;flex-wrap:wrap;gap:var(--ds-space-2)}.story-studio-shell .expression-asset-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-4) var(--ds-space-6);margin-top:var(--ds-space-6)}.story-studio-shell .expression-asset-list>article{display:grid;grid-template-columns:64px minmax(0,1fr);gap:var(--ds-space-3);padding:var(--ds-space-3) 0;border:0;background:transparent}.story-studio-shell .expression-preview{width:64px;height:64px;overflow:hidden;border-radius:var(--ds-radius-media);background:var(--ds-surface-media)}.story-studio-shell .expression-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:var(--ds-space-3)}.story-studio-shell .expression-actions :is(button,label){border:0;background:transparent}.story-studio-shell :is(.primary-button,.studio-footer .next){min-height:var(--ds-control-height);padding-inline:var(--ds-space-5);color:var(--ds-accent-ink);border:0;border-radius:var(--ds-radius-control);background:var(--ds-accent)}.story-studio-shell :is(.primary-button,.studio-footer .next):hover{background:var(--ds-accent-strong)}.story-studio-shell .studio-footer{width:min(100%,var(--ds-reading-max));margin-top:var(--ds-space-10);padding:0;border:0}.story-studio-shell .system-setting-step .status-preview{width:100%;margin:var(--ds-space-7) 0 var(--ds-space-9);padding:var(--ds-space-6);display:grid;grid-template-columns:minmax(160px,.32fr) minmax(0,1fr);gap:var(--ds-space-6) var(--ds-space-8);overflow:visible;color:var(--ds-text-body);border:0;border-radius:var(--ds-radius-media);background:var(--ds-surface-media);box-shadow:none}.story-studio-shell .status-preview-owner{min-width:0;padding:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--ds-space-1);border:0;background:transparent}.story-studio-shell .status-preview-owner>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:700;letter-spacing:0}.story-studio-shell .status-preview-owner>strong{max-width:100%;overflow:hidden;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:720;text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .status-preview-owner>small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}.story-studio-shell .status-stat-grid{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--ds-metric-min)),1fr));gap:var(--ds-space-5) var(--ds-space-6)}.story-studio-shell .status-stat-grid>.status-stat,.story-studio-shell .status-stat-grid>.status-stat:is(:hover,:focus,.active,[aria-pressed=true]){position:relative;min-width:0;min-height:86px;padding:var(--ds-space-2) 0 var(--ds-space-2) var(--ds-space-4);display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:var(--ds-space-2);color:var(--ds-text-muted);text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .status-stat-grid>.status-stat:before{left:0}.story-studio-shell .status-stat-grid>.status-stat:is(.active,[aria-pressed=true]){color:var(--ds-accent)}.story-studio-shell .status-stat>span{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-3)}.story-studio-shell .status-stat>span>small{min-width:0;overflow:hidden;color:currentColor;font-size:var(--ds-font-size-caption);font-weight:650;text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .status-stat>span>strong{flex:0 0 auto;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}.story-studio-shell .status-stat>span>strong>em{margin-left:var(--ds-space-1);color:var(--ds-accent);font-size:var(--ds-font-size-min);font-style:normal}.story-studio-shell .status-stat>i{width:100%;height:var(--ds-space-1);overflow:hidden;border-radius:var(--ds-radius-control);background:var(--ds-line-strong)}.story-studio-shell .status-stat>i>em{display:block;height:100%;border-radius:inherit;background:var(--ds-accent);box-shadow:none}.story-studio-shell .status-stat>b{color:var(--ds-text-faint);font-size:var(--ds-font-size-min);font-weight:500}.story-studio-shell .status-preview-owner>.status-stat-add,.story-studio-shell .status-preview-owner>.status-stat-add:hover{margin-top:var(--ds-space-3);min-height:var(--ds-control-height-compact);width:max-content;padding:var(--ds-space-2) 0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .status-preview-owner>.status-stat-add:hover{color:var(--ds-accent)}.story-studio-shell .stat-editor-heading{grid-column:1 / -1;margin:0 0 var(--ds-space-3);padding:0;display:flex;align-items:flex-start;justify-content:space-between;gap:var(--ds-space-4);border:0}.story-studio-shell .stat-editor-heading>div{display:grid;gap:var(--ds-space-1)}.story-studio-shell .stat-editor-heading>div>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:700}.story-studio-shell .stat-editor-heading>div>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}.story-studio-shell .stat-editor-heading>div>small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}.story-studio-shell .stat-editor-heading>button{padding:var(--ds-space-2) 0;color:var(--ds-danger);border:0;background:transparent}.story-studio-shell .stat-value-fields>span{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:var(--ds-space-2)}.story-studio-shell .item-workspace{margin-top:var(--ds-space-7);display:grid;grid-template-columns:var(--ds-master-compact) minmax(0,1fr);gap:var(--ds-space-9);align-items:start}.story-studio-shell .item-library{min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent}.story-studio-shell .item-library>header{min-height:var(--ds-control-height-compact);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}.story-studio-shell .item-library button.add-item,.story-studio-shell .item-library button.add-item:hover{min-width:0;min-height:var(--ds-control-height-compact);padding:var(--ds-space-2) 0;color:var(--ds-accent);border:0;background:transparent}.story-studio-shell .item-library>div:last-child{margin:var(--ds-space-3) 0 0;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-2);overflow:visible;border:0}.story-studio-shell .item-library>div:last-child>button,.story-studio-shell .item-library>div:last-child>button:is(:hover,.active,[aria-pressed=true]){min-width:0;width:100%;min-height:56px;padding:var(--ds-space-2) 0 var(--ds-space-2) var(--ds-space-5);display:grid;grid-template-columns:var(--ds-icon-sm) minmax(0,1fr);align-items:center;gap:var(--ds-space-3);color:var(--ds-text-muted);text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none}.story-studio-shell .item-library>div:last-child>button:is(.active,[aria-pressed=true]){color:var(--ds-accent)}.story-studio-shell .item-library>div:last-child>button:before{left:var(--ds-space-1)}#root .story-studio-shell .system-setting-step .item-library>div:last-child>button,#root .story-studio-shell .system-setting-step .item-library>div:last-child>button:is(:hover,.active,[aria-pressed=true]){border:0;background:transparent;box-shadow:none}.story-studio-shell .item-library button>span{min-width:0;display:grid;gap:var(--ds-space-1)}.story-studio-shell .item-library button strong{overflow:hidden;color:var(--ds-text-strong);font-size:var(--ds-font-size-label);text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .item-library button small{overflow:hidden;color:var(--ds-text-muted);font-size:var(--ds-font-size-min);text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .item-editor-pane{min-width:0}.story-studio-shell .item-editor-head{min-height:var(--ds-control-height);margin-bottom:var(--ds-space-5);padding:0;display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border:0;background:transparent}.story-studio-shell .item-editor-head>div{min-width:0;display:flex;align-items:center;gap:var(--ds-space-3)}.story-studio-shell .item-editor-head span{min-width:0;display:grid;gap:var(--ds-space-1)}.story-studio-shell .item-editor-head small{color:var(--ds-accent);font-size:var(--ds-font-size-min)}.story-studio-shell .item-editor-head strong{overflow:hidden;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);text-overflow:ellipsis;white-space:nowrap}.story-studio-shell .item-editor-head>button{padding:var(--ds-space-2) 0;color:var(--ds-danger);border:0;background:transparent}.story-studio-shell .item-editor{margin:0;padding:0;border:0;background:transparent}.story-studio-shell .item-media-editor{margin-top:var(--ds-space-7);padding:0;border:0}.story-studio-shell .item-media-editor>div:first-child{margin-bottom:var(--ds-space-4);display:grid;gap:var(--ds-space-1)}.story-studio-shell .item-media-editor>div:first-child small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}@media(max-width:900px){.story-studio-shell .system-setting-step .status-preview{grid-template-columns:1fr}.story-studio-shell .item-workspace{grid-template-columns:1fr;gap:var(--ds-space-7)}.story-studio-shell .item-library>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.story-studio-shell .system-setting-step .status-preview{padding:var(--ds-space-5)}.story-studio-shell .status-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-studio-shell .item-library>div:last-child{grid-template-columns:1fr}.story-studio-shell .stat-value-fields>span{grid-template-columns:1fr}}#root .story-studio-shell .system-setting-step .status-preview{border:0;background:var(--ds-surface-media);box-shadow:none}#root .story-studio-shell .system-setting-step .status-preview-owner{border:0;background:transparent}#root .story-studio-shell .system-setting-step .status-stat-grid>.status-stat,#root .story-studio-shell .system-setting-step .status-stat-grid>.status-stat:is(:hover,:focus,.active,[aria-pressed=true]){border:0;background:transparent;box-shadow:none}#root .story-studio-shell .system-setting-step .status-preview-owner>.status-stat-add,#root .story-studio-shell .system-setting-step .status-preview-owner>.status-stat-add:hover{border:0;background:transparent;box-shadow:none}#root .story-studio-shell .studio-top{min-height:var(--ds-control-height);padding:var(--ds-space-3) clamp(var(--ds-space-4),3vw,var(--ds-space-8));border:0;background:transparent;box-shadow:none}#root .story-studio-shell .studio-top>div:first-child>button{min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-3) 0 0;border:0;background:transparent}#root .story-studio-shell .studio-main,#root .character-studio .compact-studio-layout>main{min-width:0;border:0;background:transparent;box-shadow:none}#root .story-studio-shell .studio-main-head em{padding:0;color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards){border:0;background:transparent;box-shadow:none}#root .story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button,#root .story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:is(:hover,:focus-visible,.active,[aria-selected=true],[aria-pressed=true]){min-height:var(--ds-control-height-compact);padding:var(--ds-space-2) var(--ds-space-3);border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;font-size:var(--ds-font-size-caption);font-weight:600;line-height:var(--ds-line-tight)}#root .story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:before,#root .story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:after{content:none;display:none}#root .story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button:is(.active,[aria-selected=true],[aria-pressed=true]){color:var(--ds-accent)}#root .story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button>:is(strong,b){color:inherit;font-size:inherit;font-weight:inherit}#root .story-studio-shell :is([data-flat-selection],[role=tablist],.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards)>button>:is(small,span){border:0;background:transparent;box-shadow:none}#root .story-studio-shell :is(.style-comparison,.example-library,.rule-guide,.start-setting-editor,.protagonist-brief-panel,.protagonist-candidates,.custom-player-panel,.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.character-look-editor,.look-trigger-builder,.look-base-asset,.expression-set,.scene-form-card,.keyword-note-layout,.response-example-editor,.ending-editor,.cg-create-panel,.publish-required,.publish-option-summary,.publish-access-panel,.publish-taxonomy,.generation-rules,.studio-empty-state,.character-advanced-fields){border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .style-comparison{padding:var(--ds-space-5) 0}#root .story-studio-shell .style-comparison>div:last-child>button,#root .story-studio-shell .style-comparison>div:last-child>button:is(:hover,:focus-visible,.active,[aria-pressed=true]){min-height:112px;padding:var(--ds-space-3) 0;display:grid;align-content:start;gap:var(--ds-space-2);color:var(--ds-text-body);text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .story-studio-shell .style-comparison>div:last-child>button strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .style-comparison>div:last-child>button p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .story-studio-shell .style-comparison>div:last-child>button:is(.active,[aria-pressed=true]) strong{color:var(--ds-accent)}#root .story-studio-shell .style-comparison>div:last-child>button:before,#root .story-studio-shell .style-comparison>div:last-child>button:after{content:none;display:none}#root .story-studio-shell .character-advanced-toggle,#root .story-studio-shell .character-advanced-toggle:is(:hover,:focus-visible,.active){margin-top:var(--ds-space-5);padding:var(--ds-space-3) 0;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .character-advanced-fields{margin-top:var(--ds-space-4);padding:0}#root .story-studio-shell .studio-main>.studio-form-grid,#root .story-studio-shell .character-planner,#root .story-studio-shell .character-detail-form,#root .story-studio-shell .reader-style-options{border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .character-detail-form{min-width:0;padding:0}#root .story-studio-shell .reader-style-options>div{margin-top:var(--ds-space-3);display:flex;flex-wrap:wrap;gap:var(--ds-space-3)}#root .story-studio-shell .reader-style-options button,#root .story-studio-shell .reader-style-options button:is(:hover,:focus-visible,.active,[aria-pressed=true]){min-height:var(--ds-control-height-compact);padding:var(--ds-space-2) 0;color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;font-size:var(--ds-font-size-caption);font-weight:600}#root .story-studio-shell .reader-style-options button:is(.active,[aria-pressed=true]){color:var(--ds-accent)}#root .story-studio-shell .reader-style-options button:before,#root .story-studio-shell .reader-style-options button:after{content:none;display:none}#root .creation-method>button:before,#root .creation-method>button:after{content:none;display:none}#root :where(.app-shell,.story-curation-home,.character-curation-home,.tag-search-view,.my-projects,.profile-overview,.image-studio,.story-studio-shell,.character-studio,.story-player,.text-adventure-player,.chat-shell){color:var(--ds-text-strong);background:var(--ds-canvas)}#root :where(.page-content,.my-projects,.profile-overview,.image-studio){width:min(100%,var(--ds-content-max));max-width:var(--ds-content-max);margin-inline:auto;padding-inline:var(--ds-page-gutter)}#root :where(.detail-filters,.discovery-nav-row,[data-flat-toolbar],.category-bar,.character-category-bar,.creator-intro,.profile-overview,.profile-identity,.profile-stats,.my-menu,.ticket-panel,.work-summary,.creation-start,.creation-method,.creation-prompt,.studio-main,.studio-main-head,.studio-section-copy,.genre-builder,.style-comparison,.example-library,.rule-guide,.start-setting-editor,.protagonist-brief-panel,.protagonist-candidates,.custom-player-panel,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.character-planner,.character-detail-form,.character-advanced-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-book-panel,.scene-library,.keyword-note-layout,.response-example-editor,.audio-editor,.ending-editor,.cg-create-panel,.publish-required,.publish-option-summary,.publish-feedback,.publish-access-panel,.publish-taxonomy,.system-setting-step,.scene-studio,.gallery-studio,.character-publish-panel){border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none}#root :where(.discovery-nav-row,[data-flat-toolbar]){position:relative;top:auto;min-height:var(--ds-control-height);margin:0 0 var(--ds-space-5);padding:0;display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5);border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;filter:none;outline:0}#root [data-flat-toolbar]:before,#root [data-flat-toolbar]:after,#root .bot-library,#root .page-my-works,#root .page-my-works .page-content{--page-intro-min-height: 72px;--page-intro-padding: 0;--page-intro-align: center;--page-intro-gap: var(--ds-space-4);--page-intro-margin-bottom: var(--ds-space-2);background:var(--ds-works-canvas)}#root .page-my-works .page-content{max-width:1180px;box-sizing:border-box;padding-top:var(--ds-space-4);padding-inline:clamp(var(--ds-space-4),2.2vw,var(--ds-space-7))}@media(max-width:620px){#root .bot-library,#root .page-my-works,#root .page-my-works .page-content{--page-intro-min-height: 0;--page-intro-padding: var(--ds-space-2) 0 var(--ds-space-1);--page-intro-display: grid;--page-intro-columns: minmax(0, 1fr) auto;--page-intro-align: flex-start;--page-intro-gap: var(--ds-space-1) var(--ds-space-3);--page-intro-margin-bottom: var(--ds-space-1);--page-intro-copy-display: contents;--page-intro-title-column: 1;--page-intro-copy-column: 1 / -1;--page-intro-action-column: 2;--page-intro-action-row: 1}#root .my-projects,#root .project-card,#root .project-copy{min-width:0;max-width:100%;box-sizing:border-box}#root .project-copy :where(strong,p,small,span){min-width:0;max-width:100%;word-break:keep-all}}html,body{overflow-x:clip}#root .my-projects-only{gap:var(--ds-space-2);margin-top:0;padding-inline:0;border:0;background:transparent;box-shadow:none}#root .my-projects-only>.project-card,#root .my-projects-only>.project-card.new{width:100%;min-height:132px;padding:var(--ds-space-3);grid-template-columns:92px minmax(0,1fr);align-items:center;gap:var(--ds-space-4);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-panel);background:var(--ds-canvas-raised);box-shadow:none}#root .my-projects-only>.project-card:after{content:none}@media(hover:hover)and (pointer:fine){#root .my-projects-only>.project-card:hover,#root .my-projects-only>.project-card.new:hover{background:var(--ds-accent-wash)}}#root .my-projects-only .project-cover{width:92px;height:108px;margin:0;border-radius:var(--ds-radius-media)}#root .my-projects-only .project-cover>.cover-art{width:100%;height:100%;background-position:center;background-size:cover}#root .my-projects-only .project-copy{text-align:left;display:grid;align-content:center;gap:var(--ds-space-2)}#root .my-projects-only .project-eyebrow{margin:0;gap:var(--ds-space-3)}#root .my-projects-only .project-eyebrow i:before{content:none}#root .my-projects-only .project-copy>strong{margin:0;overflow:hidden;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight);text-overflow:ellipsis;white-space:nowrap}#root .my-projects-only .project-cast-count{display:inline-flex;align-items:center;gap:var(--ds-space-1);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}@media(max-width:620px){#root .my-projects-only>.project-card,#root .my-projects-only>.project-card.new{min-height:116px;padding:var(--ds-space-2);grid-template-columns:76px minmax(0,1fr);gap:var(--ds-space-3)}#root .my-projects-only .project-cover{width:76px;height:96px}}#root .creation-kind-grid>button:active{opacity:.78}#root .creation-step-label{margin-top:var(--ds-space-7);padding-bottom:var(--ds-space-4);display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:var(--ds-space-1) var(--ds-space-3);border-bottom:var(--rule-waku) solid var(--color-waku-rule)}#root .creation-step-label>span{grid-row:1 / span 2;color:var(--color-waku-accent);font-size:var(--ds-font-size-caption);font-weight:700}#root .creation-step-label>strong{color:var(--color-waku-text);font-family:var(--font-waku-display);font-size:var(--ds-font-size-title-sm)}#root .creation-step-label>small{color:var(--color-waku-text-muted);font-size:var(--ds-font-size-caption)}#root .creation-method[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}#root .story-studio-shell .reader-style-panel{position:relative;margin-top:var(--space-waku-section);padding:var(--ds-space-6) 0 0 var(--ds-space-5);border:0;border-top:var(--rule-waku) solid var(--color-waku-rule);background:transparent}#root .story-studio-shell .reader-style-panel:before{content:"";position:absolute;top:var(--ds-space-6);bottom:0;left:0;width:var(--ds-space-1);border-radius:var(--radius-waku-list);background:var(--color-waku-accent)}#root .story-studio-shell .reader-style-panel>.asset-section-head{margin-bottom:var(--ds-space-5)}#root .story-studio-shell .reader-style-modes{grid-template-columns:repeat(2,minmax(0,1fr));border-top:var(--rule-waku) solid var(--color-waku-rule)}#root .story-studio-shell .reader-style-options{margin-top:var(--ds-space-6);padding:0;padding-top:var(--ds-space-5);border-top:var(--rule-waku) solid var(--color-waku-rule)}#root .story-studio-shell .reader-style-options>span{display:block;margin-bottom:var(--ds-space-3);color:var(--color-waku-text);font-size:var(--ds-font-size-label);font-weight:700}@media(max-width:760px){#root .story-studio-shell .reader-style-panel{padding-left:var(--ds-space-4)}#root .story-studio-shell .reader-style-modes{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){#root .creation-start *,#root .story-studio-shell *,#root .my-projects-only *{animation-duration:var(--dur-waku-fast);transition-duration:var(--dur-waku-fast)}}#root .story-play-page{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1800;width:100%;min-width:0;height:100dvh;overflow:hidden;color:var(--ds-text-body);background:var(--ds-canvas)}#root .story-live-shell{width:100%;height:100%;min-width:0;min-height:0;display:grid;grid-template-rows:minmax(180px,32dvh) minmax(0,1fr);background:var(--ds-canvas)}#root .story-live-shell.artwork-hidden{grid-template-rows:minmax(0,1fr)}#root .story-live-scene{position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--ds-surface-media)}#root .story-live-art{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background-color:var(--ds-surface-media);background-position:center;background-size:cover}#root .story-live-art>.cover-art{width:100%;height:100%}#root .story-live-art>.cover-art img{width:100%;height:100%;object-fit:cover}#root .story-live-character{position:absolute;inset-block-end:0;inset-inline-end:clamp(var(--ds-space-3),7vw,var(--ds-space-10));width:min(54%,500px);height:94%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 22px 34px rgba(0,0,0,.38))}#root .story-live-vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:var(--ds-media-overlay)}#root .story-live-profile{position:absolute;inset-inline:0;inset-block-end:0;z-index:2;min-width:0;padding:var(--ds-space-4) clamp(var(--ds-space-4),5vw,var(--ds-space-8));display:grid;gap:var(--ds-space-1)}#root .story-live-profile :is(h1,p){margin:0}#root .story-live-profile>span{color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .story-live-profile h1{min-width:0;word-break:keep-all;overflow-wrap:normal;color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:clamp(1.5rem,5vw,3.25rem);font-weight:500;line-height:1.12;letter-spacing:-.025em}#root .story-live-profile p{display:-webkit-box;max-width:64ch;overflow:hidden;color:var(--ds-text-body);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);-webkit-box-orient:vertical;-webkit-line-clamp:2}#root .story-live-session{position:relative;min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:var(--ds-canvas-raised)}#root .story-live-session>header{min-width:0;min-height:72px;padding:var(--ds-space-3) clamp(var(--ds-space-3),4vw,var(--ds-space-7));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-2) var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-live-header-main,#root .story-live-actions{min-width:0;display:flex;align-items:center;gap:var(--ds-space-2)}#root .story-live-header-main>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-live-header-main :is(strong,small){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .story-live-header-main strong{color:var(--ds-text-strong)}#root .story-live-header-main small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-live-actions{justify-content:flex-end}#root .story-live-header-main>button,#root .story-live-actions>button{min-width:44px;min-height:44px;padding-inline:var(--ds-space-3);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;border-radius:var(--ds-radius-control);background:transparent;cursor:pointer;white-space:nowrap;transition:color var(--dur-waku-fast) var(--ease-waku-out),background-color var(--dur-waku-fast) var(--ease-waku-out),transform var(--dur-waku-fast) var(--ease-waku-out)}#root .story-live-actions>button.is-saved{color:var(--ds-success)}@media(hover:hover)and (pointer:fine){#root .story-live-header-main>button:hover,#root .story-live-actions>button:hover{color:var(--ds-text-strong);background:var(--ds-surface-subtle)}}#root .story-live-header-main>button:focus-visible,#root .story-live-actions>button:focus-visible,#root .story-play-mode-tabs>button:focus-visible,#root .story-live-choices>button:focus-visible,#root .story-play-settings button:focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}#root .story-live-header-main>button:active,#root .story-live-actions>button:active{transform:translateY(1px)}#root .story-live-header-main>button span,#root .story-live-actions>button span{display:none}#root .story-play-mode-tabs{grid-column:1 / -1;min-width:0;display:flex;gap:var(--ds-space-2);overflow-x:auto;scrollbar-width:none}#root .story-play-mode-tabs::-webkit-scrollbar{display:none}#root .story-play-mode-tabs>button{min-height:36px;padding:0 var(--ds-space-4);color:var(--ds-text-muted);border:var(--ds-border-width) solid var(--ds-line);border-radius:999px;background:var(--ds-surface-subtle);white-space:nowrap;cursor:pointer}#root .story-play-mode-tabs>button.active,#root .story-play-mode-tabs>button[aria-pressed=true]{color:var(--ds-accent-ink);border-color:var(--ds-accent);background:var(--ds-accent)}#root .story-live-session>main{min-width:0;min-height:0;padding:clamp(var(--ds-space-5),4vw,var(--ds-space-8));display:flex;flex-direction:column;gap:var(--ds-space-5);overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;scroll-padding-block-end:var(--ds-space-6)}#root .story-live-entry{width:min(100%,70ch);padding-inline-start:var(--ds-space-4);border-inline-start:2px solid var(--ds-line-strong)}#root .story-live-entry.user{align-self:flex-end;width:min(88%,56ch);padding:var(--ds-space-3) var(--ds-space-4);color:var(--ds-accent-ink);border:0;border-radius:var(--ds-radius-media) var(--ds-radius-media) var(--ds-space-1) var(--ds-radius-media);background:var(--ds-accent)}#root .story-live-entry.system{border-inline-color:var(--ds-accent)}#root .story-live-entry :is(small,p){margin:0}#root .story-live-entry small{display:block;margin-block-end:var(--ds-space-2);color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:.08em}#root .story-live-entry.user small{color:var(--ds-accent-ink)}#root .story-live-entry p{color:inherit;font-family:var(--ds-font-story);font-size:var(--ds-font-size-body);line-height:1.75;white-space:pre-wrap}#root .story-current-line{margin-block-start:auto;padding:clamp(var(--ds-space-5),4vw,var(--ds-space-8));display:grid;gap:var(--ds-space-3);border-radius:var(--ds-radius-overlay) var(--ds-radius-overlay) var(--ds-space-1) var(--ds-radius-overlay);background:var(--ds-surface-input);box-shadow:var(--ds-shadow-overlay)}#root .story-current-line>span{color:var(--ds-accent);font-size:var(--ds-font-size-label);font-weight:750}#root .story-current-line>p{max-width:68ch;margin:0;color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:clamp(1rem,2.2vw,1.25rem);line-height:1.72;white-space:pre-wrap}#root .story-play-page.text-작게 :is(.story-current-line>p,.story-live-entry p){font-size:var(--ds-font-size-caption)}#root .story-play-page.text-크게 :is(.story-current-line>p,.story-live-entry p){font-size:1.125rem}#root .story-live-choices{width:min(100%,70ch);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-3)}#root .story-live-choices>button{min-width:0;min-height:52px;padding:var(--ds-space-3) var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);color:var(--ds-text-strong);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);text-align:start;cursor:pointer}#root .story-live-choices>button span{min-width:0;word-break:keep-all;overflow-wrap:normal}@media(hover:hover)and (pointer:fine){#root .story-live-choices>button:hover{color:var(--ds-accent-ink);border-color:var(--ds-accent);background:var(--ds-accent)}}#root .story-live-choices>button:disabled,#root .story-live-session>form button:disabled,#root .story-native-action:disabled{opacity:.52;cursor:not-allowed}#root .story-live-error{margin:0;padding:var(--ds-space-3) var(--ds-space-4);color:var(--ds-danger);border:var(--ds-border-width) solid var(--ds-danger);border-radius:var(--ds-radius-control);background:var(--color-waku-choice-error)}#root .story-live-session>form{min-width:0;padding:var(--ds-space-3) clamp(var(--ds-space-3),4vw,var(--ds-space-7)) max(var(--ds-space-3),env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:var(--ds-space-2);border-top:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}#root .story-live-session>form label{min-width:0}#root .story-live-session>form input{width:100%;height:48px;padding:0 var(--ds-space-4);color:var(--ds-text-strong);border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:var(--ds-radius-control);outline:2px solid transparent;outline-offset:1px;background:var(--ds-surface-input)}#root .story-live-session>form input:focus-visible{outline-color:var(--ds-accent)}#root .story-live-session>form>button{width:48px;height:48px;display:grid;place-items:center;color:var(--ds-accent-ink);border:var(--ds-border-width) solid var(--ds-accent);border-radius:var(--ds-radius-control);background:var(--ds-accent);cursor:pointer}#root .story-play-settings{position:absolute;top:0;right:0;bottom:0;left:0;z-index:8;min-width:0;overflow-y:auto;color:var(--ds-text-body);background:var(--ds-surface-glass);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}#root .story-play-settings>header{min-height:72px;padding:var(--ds-space-4) clamp(var(--ds-space-4),4vw,var(--ds-space-7));display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .story-play-settings>header>div{display:grid;gap:var(--ds-space-1)}#root .story-play-settings>header span{color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .story-play-settings>header strong{color:var(--ds-text-strong)}#root .story-play-settings>header button{width:44px;height:44px;color:var(--ds-text-muted);border:0;border-radius:var(--ds-radius-control);background:transparent;cursor:pointer}#root .story-play-settings>div{padding:clamp(var(--ds-space-5),5vw,var(--ds-space-8));display:grid;gap:var(--ds-space-7)}#root .story-play-toggle{min-height:72px;padding:var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border-radius:var(--ds-radius-control);background:var(--ds-surface-input)}#root .story-play-toggle>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-play-toggle strong{color:var(--ds-text-strong)}#root .story-play-toggle small{color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .story-play-toggle input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--ds-accent)}#root .story-play-settings fieldset{margin:0;padding:0;border:0}#root .story-play-settings legend{margin-block-end:var(--ds-space-3);color:var(--ds-text-strong);font-weight:700}#root .story-play-settings fieldset>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}#root .story-play-settings fieldset button{min-height:44px;color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);cursor:pointer}#root .story-play-settings fieldset button.active{color:var(--ds-accent-ink);border-color:var(--ds-accent);background:var(--ds-accent)}#root .story-native-action{min-height:68px;padding:var(--ds-space-3) var(--ds-space-4);display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--ds-space-1) var(--ds-space-3);color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-subtle);text-align:start;cursor:pointer}#root .story-native-action svg{grid-row:1 / 3;align-self:center}#root .story-native-action span{color:var(--ds-text-strong);font-weight:700}#root .story-native-action small{color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .unified-story-preview{z-index:1800;padding:0;background:var(--ds-canvas)}#root .unified-story-preview>.story-play-page{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0}@media(min-width:40rem){#root .story-live-header-main>button span,#root .story-live-actions>button span{display:inline}}@media(min-width:60rem){#root .story-live-shell{grid-template-columns:minmax(360px,.92fr) minmax(0,1.08fr);grid-template-rows:minmax(0,1fr)}#root .story-live-shell.artwork-hidden{grid-template-columns:minmax(0,1fr)}#root .story-live-profile{padding:var(--ds-space-7) clamp(var(--ds-space-6),6vw,var(--ds-space-10))}#root .story-play-settings{inset-inline-start:auto;width:min(440px,100%);border-inline-start:var(--ds-border-width) solid var(--ds-line)}}@media(max-width:39.99rem){#root .story-live-session>header{grid-template-columns:minmax(0,1fr) auto}#root .story-live-actions>button:first-child{display:none}#root .story-live-choices{grid-template-columns:minmax(0,1fr)}#root .story-live-session>main{padding-inline:var(--ds-space-4)}#root .story-current-line{padding:var(--ds-space-5)}}@media(prefers-reduced-motion:reduce){#root .story-live-header-main>button,#root .story-live-actions>button{transition-duration:.01ms}#root .story-live-session>main{scroll-behavior:auto}}#root .character-studio .character-test-layout{grid-template-columns:minmax(0,720px) minmax(248px,288px);gap:var(--ds-space-8)}#root .character-studio .character-test-phone{width:100%;max-width:none;border-color:var(--ds-line-strong);border-radius:var(--ds-radius-overlay);background:var(--ds-surface-overlay)}#root .character-studio .character-test-phone>header{min-width:0;min-height:72px;padding:var(--ds-space-4) var(--ds-space-5);gap:var(--ds-space-3);background:var(--ds-canvas-raised)}#root .character-studio .character-test-phone>header>div{min-width:0;flex:1}#root .character-studio .character-test-phone>header>div>:is(strong,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .character-studio .test-avatar{width:var(--ds-control-height);height:var(--ds-control-height);overflow:hidden;flex:0 0 auto}#root .character-studio .test-avatar>img{width:100%;height:100%;display:block;object-fit:cover}#root .character-studio .character-test-status{margin-inline-start:auto;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);white-space:nowrap}#root .character-studio .character-test-status:before{width:6px;height:6px;content:"";border-radius:50%;background:var(--ds-text-faint)}#root .character-studio .character-test-status:is(.loading,.success):before{background:var(--ds-success)}#root .character-studio .character-test-status.error:before{background:var(--ds-danger)}#root .character-studio .character-test-phone>main{min-height:400px;max-height:480px;padding:var(--ds-space-6);gap:var(--ds-space-4);background:var(--ds-canvas-raised)}#root .character-studio .character-test-phone main p{max-width:min(76%,56ch);padding:var(--ds-space-3) var(--ds-space-4);color:var(--ds-text-body);border-radius:var(--ds-radius-overlay);background:var(--ds-surface-input);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body);white-space:pre-wrap}#root .character-studio .character-test-phone main .user-bubble{color:var(--ds-accent-ink);background:var(--ds-accent)}#root .character-studio .character-test-phone main .character-bubble.pending{color:var(--ds-text-muted);opacity:.72}#root .character-studio .character-test-error{max-width:100%;color:var(--ds-danger);border:var(--ds-border-width) solid var(--ds-danger);background:var(--color-waku-choice-error)}#root .character-studio .character-test-phone>form{min-height:80px;padding:var(--ds-space-4) var(--ds-space-5);gap:var(--ds-space-3);align-items:center;background:var(--ds-surface-overlay)}#root .character-studio .character-test-phone form :is(input,textarea){min-height:calc(var(--ds-control-height) + var(--ds-space-1));padding-inline:var(--ds-space-4);border-radius:var(--ds-radius-control);font-size:var(--ds-font-size-body);resize:none}#root .character-studio .character-test-phone form button{width:calc(var(--ds-control-height) + var(--ds-space-1));min-width:calc(var(--ds-control-height) + var(--ds-space-1));min-height:calc(var(--ds-control-height) + var(--ds-space-1));border-radius:var(--ds-radius-control)}#root .character-studio .character-test-phone form button:focus-visible,#root .character-studio .character-publish-panel>button:focus-visible,#root .character-studio .studio-footer button:focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}#root .character-studio .character-test-phone form button:disabled{opacity:.45;cursor:not-allowed}#root .character-studio .character-publish-panel>button:not(.primary-button){min-height:64px;border-color:transparent;border-radius:var(--ds-radius-media);background:var(--ds-surface-subtle)}#root .character-studio .character-publish-panel>button:not(.primary-button):is(.active,[aria-pressed=true]){color:var(--ds-text-strong);border-color:var(--ds-accent-muted);background:var(--ds-accent-wash)}#root .character-studio .studio-footer .next{white-space:nowrap}@media(max-width:900px){#root .character-studio .character-test-layout{grid-template-columns:minmax(0,1fr)}}#root .dialogue-presentation-settings,#root .character-dialogue-settings{display:grid;gap:var(--ds-space-5);padding-block:var(--ds-space-3)}#root .dialogue-setting-row{display:grid;grid-template-columns:minmax(180px,.34fr) minmax(0,1fr);align-items:start;gap:var(--ds-space-7)}#root .dialogue-setting-row>div:first-child{display:grid;align-content:start;gap:var(--ds-space-2)}#root .dialogue-setting-row>div:first-child>small{max-width:34ch;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root :is(.dialogue-style-preview,.is-visual-novel .player-dialogue){--ds-vn-hud-line: color-mix(in srgb, var(--vn-character-accent) 65%, transparent);--ds-vn-dialogue-edge: color-mix(in srgb, var(--vn-character-accent) 22%, transparent);--ds-vn-scroll-thumb: color-mix(in srgb, var(--vn-character-accent) 75%, transparent)}#root .is-visual-novel .player-dialogue.is-narration{--ds-vn-hud-line: color-mix(in srgb, var(--ds-vn-text-muted) 65%, transparent);--ds-vn-dialogue-edge: color-mix(in srgb, var(--ds-vn-text-muted) 22%, transparent);--ds-vn-scroll-thumb: var(--ds-vn-text-muted)}#root .dialogue-style-preview{position:relative;display:grid;align-content:center;width:100%;height:var(--ds-dialogue-preview-height);min-height:var(--ds-dialogue-preview-height);max-height:var(--ds-dialogue-preview-height);box-sizing:border-box;padding:var(--ds-vn-dialogue-padding-block) var(--ds-vn-dialogue-padding-inline);color:var(--ds-vn-text-strong);border:0;border-top:1px solid var(--ds-vn-hud-line);border-bottom:1px solid var(--ds-vn-dialogue-edge);border-radius:var(--ds-vn-radius);background:color-mix(in srgb,var(--ds-vn-hud-surface-solid) var(--vn-dialogue-opacity, 90%),transparent);font-family:var(--vn-dialogue-font, var(--ds-font-ui));overflow:visible}#root .dialogue-style-preview.frame-soft-light{color:var(--ds-vn-frame-light-text);background:color-mix(in srgb,var(--ds-vn-frame-light-surface-solid) var(--vn-dialogue-opacity, 90%),transparent)}#root .dialogue-style-preview.frame-blue-strip{color:var(--ds-vn-frame-blue-text);background:color-mix(in srgb,var(--ds-vn-frame-blue-surface-solid) var(--vn-dialogue-opacity, 90%),transparent)}#root .dialogue-custom-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-7);padding:var(--ds-space-5) 0 var(--ds-space-7)}#root .dialogue-custom-controls>label{min-width:0;display:grid;gap:var(--ds-space-3)}#root .dialogue-custom-controls .field-label{display:flex;justify-content:space-between;gap:var(--ds-space-3)}#root .dialogue-custom-controls .field-label>em{color:var(--ds-text-muted);font-style:normal;font-weight:500}#root .dialogue-color-input{position:relative;display:block;width:var(--ds-control-height);height:var(--ds-control-height);border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:var(--ds-radius-control);background:var(--dialogue-swatch, var(--ds-accent));overflow:hidden}#root .dialogue-color-input:focus-within{outline:2px solid var(--ds-focus);outline-offset:2px}#root .dialogue-color-input>input[type=color]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}#root .dialogue-custom-controls input[type=range]{width:100%}#root .dialogue-style-preview .vn-reading-column{display:grid;width:min(100%,var(--ds-vn-reading-width));min-width:0;justify-self:center;gap:var(--ds-space-2)}#root .dialogue-style-preview .player-dialogue-speaker{position:static;display:block;width:fit-content;margin:0;padding:0;color:var(--vn-character-accent, var(--ds-accent));background:transparent;font-family:var(--ds-font-ui);font-size:var(--ds-font-size-label);font-weight:750;line-height:var(--ds-line-tight);clip-path:none;transform:none}#root .dialogue-style-preview .player-dialogue-copy{min-width:0;max-height:calc(var(--ds-dialogue-preview-height) - var(--ds-space-8));overflow:auto;scrollbar-width:thin;scrollbar-color:var(--ds-vn-scroll-thumb) transparent}#root .dialogue-style-preview .player-dialogue-copy>p{margin:0;color:inherit;font-family:var(--vn-dialogue-font, var(--ds-font-ui));font-size:var(--ds-vn-dialogue-font-size);font-weight:var(--ds-vn-dialogue-font-weight);line-height:var(--ds-vn-dialogue-line-height)}#root .character-color-control{display:flex;align-items:center;gap:var(--ds-space-4);min-height:var(--ds-control-height)}#root .character-color-control>span{width:24px;height:24px;flex:0 0 auto;border-radius:50%;background:var(--character-accent, var(--ds-accent-muted))}#root .character-color-control>input[type=color]{width:42px;height:34px;padding:var(--ds-space-1);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input)}#root .character-color-control>button{min-height:var(--ds-control-height-compact);padding:0;color:var(--ds-text-muted);border:0;background:transparent;font:inherit;cursor:pointer}#root .character-color-control>button:hover{color:var(--ds-text-strong)}#root .character-color-control>button:disabled{opacity:.42;cursor:default}@media(max-width:840px){#root .dialogue-setting-row{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-4)}#root .dialogue-custom-controls{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-5)}}#root .profile-overview{margin-block-start:var(--ds-space-7);padding-block:var(--ds-space-6);display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:var(--ds-space-8);border-block:var(--rule-waku) solid var(--color-waku-rule);border-inline:0;border-radius:0;background:transparent;box-shadow:none}#root .profile-identity{min-width:0;min-height:0;padding:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-4);border:0;border-radius:0;background:transparent;box-shadow:none}#root .profile-identity .large-avatar{width:64px;height:64px;display:grid;place-items:center;color:var(--ds-text-strong);border:0;border-radius:42% 58% 54% 46%/51% 43% 57% 49%;background:var(--ds-accent-muted);font-family:var(--ds-font-display);font-size:var(--ds-font-size-title-md);font-weight:800;overflow:hidden}#root .profile-identity .large-avatar>img{width:100%;height:100%;object-fit:cover}#root .profile-identity>div{min-width:0;display:grid;gap:var(--ds-space-1)}#root .profile-identity :is(small,p),#root .profile-stats small,#root .my-menu small{color:var(--ds-text-muted)}#root .profile-identity>button{min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-2);display:inline-flex;align-items:center;gap:var(--ds-space-1);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none;white-space:nowrap}#root .profile-identity>button:is(:hover,:focus-visible){color:var(--ds-accent)}#root [data-responsive-region]{min-width:0;container-type:inline-size}#root [data-responsive-region] :where(button,section,article,aside,div,span){min-width:0}#root .profile-stats{min-width:0;min-height:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:clamp(var(--ds-space-4),3vw,var(--ds-space-8));border:0;border-radius:0;background:transparent;box-shadow:none}#root .profile-stats>:is(button,div){min-width:0;min-height:96px;padding:0;display:grid;align-content:center;justify-items:start;gap:var(--ds-space-1);color:var(--ds-text-strong);text-align:start;border:0;border-radius:0;background:transparent;box-shadow:none}#root .profile-stats>button:is(:hover,:focus-visible){color:var(--ds-accent);background:transparent;transform:none}#root .profile-stats span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .profile-stats strong{color:currentColor;font-family:var(--ds-font-ui);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}#root .my-menu{margin-block-start:clamp(var(--ds-space-8),7vw,88px);padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(var(--ds-space-6),5vw,var(--ds-space-10));row-gap:var(--ds-space-3);border:0;border-radius:0;background:transparent;box-shadow:none}#root .my-menu>button,#root .my-menu>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){min-width:0;min-height:72px;padding:var(--ds-space-2) 0;display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);color:var(--ds-text-strong);text-align:start;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .my-menu>button>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .my-menu>button>svg{flex:0 0 auto;color:var(--ds-text-faint);transition:color var(--ds-transition),transform var(--ds-transition)}#root .my-menu>button:is(:hover,:focus-visible,.active,[aria-pressed=true])>svg{color:var(--ds-accent);transform:translate(3px)}#root .preference-list>button:is(:hover,:focus-visible){color:var(--ds-accent);background:transparent}#root .preference-list i{background:var(--ds-surface-input)}#root .preference-list i.on{background:var(--ds-accent)}#root .preference-list>button.is-sensitive strong{color:var(--ds-warning-soft)}#root .preference-list>button.is-sensitive i.on{background:var(--ds-warning)}#root .profile-avatar-editor{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--ds-space-5);padding-bottom:var(--ds-space-6);margin-bottom:var(--ds-space-3);border-bottom:var(--rule-waku) solid var(--color-waku-rule)}#root .profile-avatar-preview{width:88px;height:88px;display:grid;place-items:center;overflow:hidden;border-radius:50%;color:var(--ds-text-strong);background:var(--ds-accent-muted);font:800 var(--ds-font-size-title-lg)/1 var(--ds-font-display)}#root .profile-avatar-preview>img{width:100%;height:100%;object-fit:cover}#root .profile-avatar-editor>div{min-width:0;display:grid;gap:var(--ds-space-2)}#root .profile-avatar-editor :is(strong,p){margin:0}#root .profile-avatar-editor p{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .profile-avatar-actions{display:flex;flex-wrap:wrap;gap:var(--ds-space-4)}#root .profile-avatar-actions>button{min-height:var(--ds-control-height);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;background:transparent;font:650 var(--ds-font-size-label)/1 var(--ds-font-ui)}#root .profile-avatar-actions>button:is(:hover,:focus-visible){color:var(--ds-accent)}#root .preference-section-heading,#root .preference-memory-note{padding:var(--ds-space-4) 0;display:grid;gap:var(--ds-space-1);border:0;background:transparent}#root .preference-section-heading{padding-top:0;border-bottom:var(--rule-waku) solid var(--color-waku-rule)}#root .preference-section-heading :is(strong,p),#root .preference-memory-note :is(strong,p){margin:0}#root .preference-section-heading p,#root .preference-memory-note p{max-width:680px;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .preference-memory-note{margin-top:var(--ds-space-5);border-top:var(--rule-waku) solid var(--color-waku-rule)}@media(max-width:960px){#root .profile-overview{grid-template-columns:minmax(0,1fr)}#root .my-menu{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){#root .profile-identity{grid-template-columns:auto minmax(0,1fr)}#root .profile-identity>button{grid-column:2;justify-self:start}#root .profile-stats{gap:var(--ds-space-3)}#root .profile-stats>:is(button,div){min-height:82px}#root .profile-stats strong{font-size:var(--ds-font-size-title-sm)}#root .my-menu{grid-template-columns:minmax(0,1fr)}}#root .my-detail-panel,#root .commerce-flow,#root .notice-list,#root .support-list,#root .policy-summary{width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}#root .my-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--ds-space-5);margin-block-end:var(--ds-space-7)}#root .my-detail-head>div{display:grid;gap:var(--ds-space-2)}#root .my-detail-head h2,#root .my-detail-head p,#root .commerce-flow header p,#root .commerce-flow section p,#root .creator-intro p,#root .notice-list article p,#root .policy-summary p{margin:0}#root .my-detail-head h2{color:var(--ds-text-strong);font:700 var(--ds-font-size-title-md)/var(--ds-line-tight) var(--ds-font-ui)}#root .my-detail-head p,#root .commerce-flow header p,#root .commerce-flow section p,#root .creator-intro p,#root .notice-list article p,#root .policy-summary p{color:var(--ds-text-muted);font:400 var(--ds-font-size-label)/var(--ds-line-body) var(--ds-font-ui)}#root .commerce-flow{display:grid;gap:var(--ds-space-9)}#root .commerce-flow>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--ds-space-2) var(--ds-space-6);padding-block-end:var(--ds-space-6);border:0;border-bottom:1px solid var(--ds-line);background:transparent}#root .commerce-flow>header>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-label)}#root .commerce-flow>header>strong{grid-row:1 / span 2;grid-column:2;color:var(--ds-text-strong);font:700 var(--ds-font-size-title-lg)/1 var(--ds-font-ui);white-space:nowrap}#root .commerce-flow>header>strong small{color:var(--ds-accent);font-size:var(--ds-font-size-caption)}#root .commerce-flow>section{display:grid;gap:var(--ds-space-5);padding:0;border:0;background:transparent}#root .commerce-flow .section-copy{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--ds-space-3);align-items:start}#root .commerce-flow .section-copy>span{color:var(--ds-accent);font:700 var(--ds-font-size-caption)/var(--ds-line-action) var(--ds-font-ui)}#root .commerce-flow .section-copy h3{margin:0 0 var(--ds-space-1);color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .commerce-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-3)}#root .commerce-products>button,#root .commerce-products>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){min-height:92px;padding:var(--ds-space-4);display:grid;align-content:space-between;justify-items:start;gap:var(--ds-space-3);color:var(--ds-text-body);border:1px solid var(--ds-line);border-radius:var(--ds-radius-control);background:transparent;box-shadow:none;transform:none}#root .commerce-products>button:is(.active,[aria-pressed=true]){color:var(--ds-text-strong);border-color:var(--ds-accent);background:var(--ds-accent-wash)}#root .commerce-review{padding:var(--ds-space-5) 0 0;border:0;border-top:1px solid var(--ds-line);border-radius:0;background:transparent}#root .commerce-review dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-4)}#root .bm-policy-details>summary{min-height:var(--ds-control-height);padding-block:var(--ds-space-3);color:var(--ds-text-body);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body);cursor:pointer}#root .bm-policy-details>:not(summary){margin:var(--ds-space-4) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .bm-share-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-6);margin:var(--ds-space-3) 0}#root .bm-share-rates>div{display:grid;gap:var(--ds-space-2);min-width:0}#root .bm-share-rates dt{color:var(--ds-text-muted);font-size:var(--ds-font-size-label)}#root .bm-share-rates dd{margin:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-md);font-weight:700}#root .notice-list article{padding:0 0 var(--ds-space-6);display:grid;gap:var(--ds-space-2);border:0;border-bottom:1px solid var(--ds-line);border-radius:0;background:transparent}#root .notice-list article>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:700}#root .notice-list article h3{margin:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .support-list{display:grid;gap:0}#root .support-search{min-height:var(--ds-control-height);margin-block-end:var(--ds-space-6);padding-inline:var(--ds-space-4);display:flex;align-items:center;gap:var(--ds-space-3);color:var(--ds-text-muted);border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-control);background:var(--ds-surface-input)}#root .support-search input{min-width:0;flex:1;padding:0;border:0;outline:0;background:transparent}#root .support-list details{padding:var(--ds-space-5) 0;border:0;border-bottom:1px solid var(--ds-line);border-radius:0;background:transparent}#root .support-list summary{color:var(--ds-text-strong);font-weight:700}#root .support-list details p,#root .support-empty{margin:var(--ds-space-3) 0 0;color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .policy-summary{display:grid;gap:var(--ds-space-5)}#root .policy-summary a{width:fit-content;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-accent);font-weight:700}#root .image-studio{position:relative;height:var(--ds-image-studio-height);display:grid;grid-template-columns:var(--ds-image-tools-width) minmax(0,1fr);gap:0;margin-block-start:var(--ds-space-8);padding:0;border:0;border-radius:var(--ds-radius-media);background:var(--ds-surface-media);box-shadow:none;overflow:hidden}#root .image-studio.controls-collapsed{grid-template-columns:minmax(0,1fr)}#root .image-studio.controls-collapsed .image-controls{display:none}#root .image-controls{min-width:0;height:100%;padding:var(--ds-space-6);display:grid;align-content:start;gap:var(--ds-space-6);overflow:auto;border:0;background:var(--ds-canvas-raised)}#root .tool-heading{display:flex;align-items:start;justify-content:space-between;gap:var(--ds-space-4)}#root .tool-heading>div{min-width:0;display:grid;gap:var(--ds-space-2)}#root .tool-heading>button,#root .image-controls-reopen{width:var(--ds-control-height-compact);min-width:var(--ds-control-height-compact);height:var(--ds-control-height-compact);padding:0;display:inline-grid;place-items:center;color:var(--ds-text-muted);border:0;border-radius:var(--ds-radius-control);background:var(--ds-surface-subtle);box-shadow:none}#root .tool-heading>span,#root .generation-review>span{color:var(--ds-accent);font:700 var(--ds-font-size-caption)/var(--ds-line-action) var(--ds-font-ui)}#root .tool-heading>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-md)}#root .image-purpose-list{display:grid;grid-template-columns:1fr;gap:0}#root .image-purpose-list>button,#root .image-purpose-list>button:is(:hover,:focus-visible,:active,.active,[aria-checked=true]){position:relative;min-height:58px;padding:var(--ds-space-3) 0 var(--ds-space-3) var(--ds-space-5);display:grid;align-content:center;justify-items:start;gap:var(--ds-space-1);text-align:start;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .image-purpose-list>button:before{content:"";position:absolute;inset-inline-start:0;inset-block-start:50%;width:6px;height:6px;border-radius:50%;background:var(--ds-text-faint);transform:translateY(-50%)}#root .image-purpose-list>button:is(.active,[aria-checked=true]){color:var(--ds-accent-strong)}#root .image-purpose-list>button:is(.active,[aria-checked=true]):before{background:var(--ds-accent)}#root .image-purpose-list small{color:var(--ds-text-muted)}#root .prompt-field,#root .tool-group,#root .image-reference-control,#root .generation-review{display:grid;gap:var(--ds-space-3);padding:0;border:0;border-radius:0;background:transparent}#root .prompt-field>span,#root .tool-group>span,#root .image-reference-control strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label);font-weight:700}#root .tool-group>div,#root .image-actions{display:flex;flex-wrap:wrap;gap:var(--ds-space-2)}#root .tool-group button,#root .tool-group button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-2);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .tool-group button:is(.active,[aria-pressed=true]){color:var(--ds-text-strong);text-decoration:underline;text-decoration-color:var(--ds-accent);text-decoration-thickness:2px;text-underline-offset:7px}#root .image-reference-control>div{display:grid;gap:var(--ds-space-1)}#root .image-reference-control small,#root .generation-review p,#root .image-note{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .image-reference-control>img{width:100%;aspect-ratio:16 / 9;object-fit:cover;border-radius:var(--ds-radius-media)}#root .image-workspace{position:relative;min-width:0;min-height:0;height:100%;padding:0;display:flex;flex-direction:column;border:0;border-radius:0;background:var(--ds-surface-media);overflow:hidden}#root .image-controls-reopen{position:absolute;inset-block-start:var(--ds-space-4);inset-inline-start:var(--ds-space-4);z-index:2;background:var(--ds-surface-glass)}#root .image-canvas-stage{min-width:0;min-height:0;flex:1 1 auto;padding:clamp(var(--ds-space-5),4vw,var(--ds-space-9));display:grid;place-items:center;overflow:auto}#root .image-prompt-dock{flex:0 0 auto;padding:var(--ds-space-4) var(--ds-space-5);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:var(--ds-space-3);border:0;background:var(--ds-surface-overlay)}#root .image-prompt-dock .prompt-field{min-width:0;gap:var(--ds-space-2)}#root .image-prompt-dock textarea{min-height:56px;max-height:96px;resize:none}#root .image-prompt-dock>button{min-height:56px;padding-inline:var(--ds-space-6)}#root .image-prompt-dock .generation-error{grid-column:1 / -1}#root .image-generation-empty,#root .image-generation-loading{max-width:420px;display:grid;justify-items:center;gap:var(--ds-space-3);padding:var(--ds-space-5);text-align:center;border:0;background:transparent}#root .generated-preview{width:min(100%,960px);display:grid;gap:var(--ds-space-4)}#root .generated-preview img{width:100%;max-height:72vh;object-fit:contain;border-radius:var(--ds-radius-media)}@media(hover:hover)and (pointer:fine){#root .commerce-products>button:not([aria-pressed=true]):hover,#root .image-purpose-list>button:not([aria-checked=true]):hover{color:var(--ds-text-strong)}}@media(max-width:900px){#root .commerce-products,#root .commerce-review dl{grid-template-columns:1fr}#root .image-studio{height:max(560px,calc(100dvh - 160px));grid-template-columns:1fr}#root .image-controls{position:absolute;inset:0 auto 0 0;z-index:4;width:min(86vw,var(--ds-image-tools-width));box-shadow:var(--ds-shadow-overlay)}}@media(max-width:640px){#root .my-detail-head{display:grid}#root .commerce-flow>header{grid-template-columns:1fr}#root .commerce-flow>header>strong{grid-row:auto;grid-column:auto}#root .image-purpose-list{grid-template-columns:1fr}#root .image-prompt-dock{grid-template-columns:1fr;padding:var(--ds-space-3)}#root .image-prompt-dock>button{width:100%}}#root .story-studio-shell .studio-flow-builder{width:min(100%,var(--ds-editor-max));min-width:0;display:grid;gap:var(--ds-section-flow-gap);container-type:inline-size}#root .story-studio-shell .studio-flow-section{min-width:0;display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:var(--ds-space-4);row-gap:var(--ds-section-content-gap);margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .studio-flow-section>header{display:contents}#root .story-studio-shell .studio-flow-section>header>span{grid-column:1;color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:800;line-height:var(--ds-line-action);letter-spacing:var(--ds-letter-kicker)}#root .story-studio-shell .studio-flow-section>header>div{grid-column:2;min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .studio-flow-section>:not(header){grid-column:2}#root .story-studio-shell .studio-flow-section>header strong,#root .story-studio-shell .studio-flow-inline-head strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}#root .story-studio-shell .studio-flow-section>header small,#root .story-studio-shell .studio-flow-inline-head small,#root .story-studio-shell .studio-flow-options small,#root .story-studio-shell .studio-flow-cast small,#root .story-studio-shell .studio-flow-preplay small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .studio-flow-current{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--ds-space-2) var(--ds-space-4);margin:0;color:var(--ds-text-body)}#root .story-studio-shell .studio-flow-current b{color:var(--ds-accent-strong)}#root .story-studio-shell .studio-flow-subsection,#root .story-studio-shell .assignment-editor,#root .story-studio-shell .studio-flow-dialogue,#root .story-studio-shell .protagonist-choice-authoring,#root .story-studio-shell .protagonist-prelude-list{min-width:0;display:grid;gap:var(--ds-row-flow-gap)}#root .story-studio-shell .protagonist-choice-authoring{padding-top:var(--ds-space-6);border-top:1px solid var(--ds-line)}#root .story-studio-shell .protagonist-prelude-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-4)}#root .story-studio-shell .protagonist-prelude-actions>button{min-height:var(--ds-control-height-compact);display:inline-flex;align-items:center;gap:var(--ds-space-2);padding:0;color:var(--ds-text-body);border:0;background:transparent}#root .story-studio-shell .protagonist-prelude-actions>button:disabled{opacity:.42;cursor:not-allowed}#root .story-studio-shell .protagonist-choice-prompt{max-width:640px;display:grid;gap:var(--ds-space-2)}#root .story-studio-shell .protagonist-prelude-event{min-width:0;display:grid;grid-template-columns:minmax(120px,.22fr) minmax(140px,.28fr) minmax(0,1fr) 36px;align-items:end;gap:var(--ds-space-3)}#root .story-studio-shell .protagonist-prelude-event>:is(select,textarea){min-width:0}#root .story-studio-shell .protagonist-prelude-event>textarea{min-height:72px;resize:vertical}#root .story-studio-shell .protagonist-prelude-event>button{width:36px;height:var(--ds-control-height-compact);display:grid;place-items:center;padding:0;color:var(--ds-text-muted);border:0;background:transparent}#root .story-studio-shell .protagonist-choice-preview{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-4);padding-top:var(--ds-space-4)}#root .story-studio-shell .protagonist-choice-preview>article{min-width:0;display:grid;grid-template-rows:156px minmax(0,1fr);overflow:hidden;border:1px solid var(--ds-line);background:var(--ds-surface-subtle)}#root .story-studio-shell .protagonist-choice-preview>article>:is(img,span){width:100%;height:156px;display:grid;place-items:end center;object-fit:contain;object-position:center bottom;background:var(--ds-surface-media)}#root .story-studio-shell .protagonist-choice-preview>article>div{min-width:0;display:grid;align-content:start;gap:var(--ds-space-1);padding:var(--ds-space-3)}#root .story-studio-shell .protagonist-choice-preview :is(small,p,em,b){margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-style:normal;line-height:var(--ds-line-body)}#root .story-studio-shell .protagonist-choice-preview strong{color:var(--ds-text-strong)}#root .story-studio-shell .protagonist-choice-preview p{min-height:calc(var(--ds-font-size-caption) * var(--ds-line-body) * 2)}#root .story-studio-shell .protagonist-choice-preview dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-1) var(--ds-space-3);margin:var(--ds-space-1) 0 0;padding-top:var(--ds-space-2);border-top:1px solid var(--ds-line)}#root .story-studio-shell .protagonist-choice-preview dl>div{display:flex;justify-content:space-between;gap:var(--ds-space-2);min-width:0}#root .story-studio-shell .protagonist-choice-preview dl :is(dt,dd){margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .protagonist-choice-preview dl dd{color:var(--ds-text-strong);font-weight:700}#root .story-studio-shell .studio-flow-options,#root .story-studio-shell .studio-flow-cast,#root .story-studio-shell .studio-flow-preplay{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-4)}#root .story-studio-shell .studio-flow-options.compact{grid-template-columns:repeat(2,minmax(0,1fr))}#root .story-studio-shell :where(.studio-flow-options,.studio-flow-cast,.studio-flow-preplay)>button{position:relative;min-width:0;min-height:88px;display:grid;align-content:start;gap:var(--ds-space-2);margin:0;padding:var(--ds-space-3) 0 var(--ds-space-4);text-align:start;color:var(--ds-text-body);border:0;border-radius:0;background:transparent;box-shadow:none;transition:color var(--ds-transition),opacity var(--ds-transition)}#root .story-studio-shell :where(.studio-flow-options,.studio-flow-cast,.studio-flow-preplay)>button>strong{color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:var(--ds-line-action)}#root .story-studio-shell :where(.studio-flow-options,.studio-flow-cast,.studio-flow-preplay)>button:is(.active,[aria-pressed=true])>strong{color:var(--ds-accent-strong)}#root .story-studio-shell :where(.studio-flow-options,.studio-flow-cast,.studio-flow-preplay)>button:disabled{opacity:.42;cursor:not-allowed}@media(hover:hover)and (pointer:fine){#root .story-studio-shell :where(.studio-flow-options,.studio-flow-cast,.studio-flow-preplay)>button:not(:disabled):hover>strong{color:var(--ds-text-strong)}}#root .story-studio-shell .studio-flow-inline-head{min-width:0;display:flex;align-items:end;justify-content:space-between;gap:var(--ds-space-5)}#root .story-studio-shell .studio-flow-inline-head>div{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .studio-flow-inline-head>button,#root .story-studio-shell .assignment-question>button,#root .story-studio-shell .opening-dialogue-line>button{min-height:var(--ds-control-height-compact);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);padding:0;color:var(--ds-text-body);border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .studio-flow-empty{margin:0;color:var(--ds-text-muted)}#root .story-studio-shell .assignment-question,#root .story-studio-shell .opening-dialogue-line{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) 36px;gap:var(--ds-space-4);align-items:end}#root .story-studio-shell .assignment-question>label{min-width:0;display:grid;gap:var(--ds-space-2)}#root .story-studio-shell .assignment-question>label>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .opening-dialogue-line{grid-template-columns:minmax(160px,.35fr) minmax(0,1fr) 36px}#root .story-studio-shell .opening-copy-section .start-setting-editor{width:100%;margin:0}@container (max-width: 791px){#root .story-studio-shell .studio-flow-options,#root .story-studio-shell .studio-flow-preplay{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-3)}}@media(max-width:840px){#root .story-studio-shell .studio-flow-options.compact,#root .story-studio-shell .studio-flow-cast{grid-template-columns:repeat(2,minmax(0,1fr))}#root .story-studio-shell .assignment-question,#root .story-studio-shell .opening-dialogue-line,#root .story-studio-shell .protagonist-prelude-event{grid-template-columns:minmax(0,1fr) 36px}#root .story-studio-shell .assignment-question>label:last-of-type,#root .story-studio-shell .opening-dialogue-line>input{grid-column:1}#root .story-studio-shell .assignment-question>button,#root .story-studio-shell .opening-dialogue-line>button,#root .story-studio-shell .protagonist-prelude-event>button{grid-column:2;grid-row:1 / span 2}#root .story-studio-shell .protagonist-prelude-event>textarea{grid-column:1}#root .story-studio-shell .protagonist-choice-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){#root .story-studio-shell .studio-flow-options.compact,#root .story-studio-shell .studio-flow-cast{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .studio-flow-inline-head{align-items:start;flex-direction:column}#root .story-studio-shell .protagonist-choice-preview{grid-template-columns:minmax(0,1fr)}}#root .story-studio-shell :is(.cast-roster-heading,.cast-detail-heading){min-width:0;min-height:var(--ds-control-height);display:flex;align-items:center;gap:var(--ds-space-2)}#root .story-studio-shell :is(.cast-roster-heading,.cast-detail-heading)>div{min-width:0}#root .story-studio-shell :is(.cast-roster-heading,.cast-detail-heading)>div>span{display:block;color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .story-studio-shell :is(.cast-roster-heading,.cast-detail-heading)>div>strong{display:block;margin-top:var(--ds-space-1);color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .cast-roster-heading>b{min-width:max-content;padding:var(--ds-space-1) var(--ds-space-2);color:var(--ds-text-muted);border-radius:var(--ds-radius-control);background:var(--ds-surface-input-hover);font-size:var(--ds-font-size-caption);font-weight:650}#root .story-studio-shell .cast-roster-search{position:relative;display:block;min-width:0}#root .story-studio-shell .cast-roster-search>svg{position:absolute;top:50%;left:var(--ds-space-3);z-index:1;color:var(--ds-text-faint);transform:translateY(-50%);pointer-events:none}#root .story-studio-shell .cast-roster-search>input{width:100%;min-height:var(--ds-control-height);padding:0 var(--ds-space-3) 0 var(--ds-space-7);color:var(--ds-text-body);border-color:transparent;border-radius:var(--ds-radius-control);background:var(--ds-surface-input)}#root .story-studio-shell .cast-roster-search>input:focus{border-color:transparent;box-shadow:var(--ds-focus-ring-form)}#root .story-studio-shell .cast-roster .cast-editor-grid>button,#root .story-studio-shell .cast-roster .cast-editor-grid>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){position:relative;width:100%;min-width:0;min-height:calc(var(--ds-control-height) + var(--ds-space-6));display:grid;grid-template-columns:var(--ds-control-height) minmax(0,1fr);align-items:center;gap:var(--ds-space-3);margin:0;padding:var(--ds-space-2) var(--ds-space-3);color:var(--ds-text-body);text-align:left;border:0;border-radius:var(--ds-radius-control);background:transparent;box-shadow:none;transform:none}#root .story-studio-shell .cast-roster .cast-editor-grid>button:after{content:none}#root .story-studio-shell .cast-roster .cast-editor-grid>button:is(.active,[aria-pressed=true]){color:var(--ds-text-strong);background:var(--ds-accent-wash)}@media(hover:hover)and (pointer:fine){#root .story-studio-shell .cast-roster .cast-editor-grid>button:not(.active):not([aria-pressed=true]):hover{background:var(--ds-surface-input-hover)}}#root .story-studio-shell .cast-roster .cast-editor-grid>button:focus-visible{outline:2px solid var(--ds-accent);outline-offset:-2px}#root .story-studio-shell .cast-roster-avatar{position:static;inset:auto;width:var(--ds-control-height);height:var(--ds-control-height);min-width:var(--ds-control-height);display:block;margin:0;overflow:hidden;color:var(--ds-text-faint);border-radius:50%;background:var(--ds-surface-media)}#root .story-studio-shell .cast-roster-avatar :is(img,.cover,.cast-image-empty){width:100%;height:100%;display:grid;place-items:center;object-fit:cover}#root .story-studio-shell .cast-roster-copy>:is(strong,span,small){min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .cast-roster-copy>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .cast-roster-copy>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .cast-roster-copy>small{color:var(--ds-text-faint);font-size:var(--ds-font-size-min)}#root .story-studio-shell .cast-roster-add,#root .story-studio-shell .cast-roster-add:is(:hover,:focus-visible,:active){width:100%;min-height:var(--ds-control-height);display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--ds-space-3);margin:0;padding:var(--ds-space-2) var(--ds-space-3);color:var(--ds-text-body);text-align:left;border:0;border-radius:var(--ds-radius-control);background:var(--ds-surface-input-hover);box-shadow:none}#root .story-studio-shell .cast-roster-add>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .cast-roster-add :is(strong,small){margin:0}#root .story-studio-shell .cast-roster-add small{color:var(--ds-text-faint);font-size:var(--ds-font-size-min)}#root .story-studio-shell .cast-roster-add:hover{color:var(--ds-accent)}#root .story-studio-shell .cast-detail-workspace{min-width:0;display:grid;align-content:start;gap:var(--ds-space-4)}#root .story-studio-shell .cast-detail-heading{min-height:var(--ds-control-height-compact)}#root .story-studio-shell .cast-detail-heading>small{color:var(--ds-text-faint);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .cast-detail-workspace>.character-status-sheet{grid-column:auto;width:100%;min-width:0;padding:var(--ds-space-6);border:0;border-radius:var(--radius-waku-flow);background:var(--ds-surface-subtle)}#root .story-studio-shell .cast-detail-workspace .character-status-actions button,#root .story-studio-shell .cast-detail-workspace .character-status-actions button:is(:hover,:focus-visible,:active){min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-3);border-radius:var(--ds-radius-control);background:var(--ds-surface-input-hover)}#root .story-studio-shell .cast-detail-workspace .character-status-actions button:hover{color:var(--ds-accent)}@media(max-width:900px){#root .story-studio-shell .character-planner{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-7)}#root .story-studio-shell .cast-roster{position:static}#root .story-studio-shell .cast-roster .cast-editor-grid{display:grid;grid-template-columns:minmax(0,1fr);max-height:none;overflow-y:visible;scrollbar-gutter:auto}#root .story-studio-shell .cast-roster .cast-editor-grid>button{min-width:0;flex:none}}@media(max-width:560px){#root .story-studio-shell .cast-roster,#root .story-studio-shell .cast-detail-workspace>.character-status-sheet{padding:var(--ds-space-4)}#root .story-studio-shell .cast-detail-workspace>.character-status-sheet{grid-template-columns:calc(var(--ds-control-height) + var(--ds-space-2)) minmax(0,1fr);column-gap:var(--ds-space-3)}#root .story-studio-shell .character-status-facts{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-4)}}#root .character-player-page{min-height:calc(100dvh - 58px);color:var(--ds-text-body);background:var(--ds-canvas)}#root .app-shell:has(.character-player-page) :is(.main-footer,.mobile-nav){display:none}#root .character-player-stage{min-width:0;min-height:0;width:100%}#root .character-live-shell{min-width:0;min-height:calc(100dvh - 58px);display:grid;grid-template-rows:auto minmax(520px,1fr);background:var(--ds-canvas)}#root .character-live-identity{position:relative;min-width:0;min-height:0;display:grid;grid-template-rows:minmax(220px,34svh) auto;overflow:hidden;background:var(--ds-surface-input)}#root .character-live-art{position:relative;min-height:220px;display:grid;place-items:center;color:var(--ds-text-muted);font-family:var(--font-display);font-size:clamp(4rem,18vw,10rem);font-weight:700;background:var(--ds-surface-subtle)}#root .character-live-art :is(img,svg){width:100%;height:100%;object-fit:cover;object-position:center 22%}#root .character-live-art>.cover-art,#root .test-avatar>.cover-art,#root .message-avatar>.cover-art{width:100%;height:100%}#root .test-avatar{position:relative;overflow:hidden}#root .character-live-profile{position:relative;min-width:0;padding:var(--ds-space-5) clamp(var(--ds-space-4),5vw,var(--ds-space-8));display:grid;gap:var(--ds-space-2);background:var(--ds-canvas)}#root .character-live-profile>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:750;letter-spacing:.12em}#root .character-live-profile h1,#root .character-live-profile p,#root .character-live-profile small{margin:0}#root .character-live-profile h1{min-width:0;color:var(--ds-text-strong);font-family:var(--font-display);font-size:clamp(1.75rem,4vw,3.25rem);line-height:1.08;letter-spacing:-.035em;word-break:keep-all}#root .character-live-profile p{color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .character-live-profile small{display:none;max-width:58ch;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}#root .character-live-conversation{position:relative;min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:var(--ds-canvas-raised)}#root .character-live-conversation>header{min-height:72px;padding:var(--ds-space-3) clamp(var(--ds-space-4),4vw,var(--ds-space-7));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .character-live-conversation>header>div{min-width:0;display:flex;align-items:center;gap:var(--ds-space-3)}#root .character-live-conversation>header>div>span:last-child{min-width:0;display:grid;gap:var(--ds-space-1)}#root .character-live-conversation>header>.character-test-status{grid-column:1 / -1;justify-self:end}#root .character-live-header-main>button,#root .character-live-settings,#root .character-live-reset{min-width:44px;min-height:44px;padding-inline:var(--ds-space-3);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;border-radius:var(--ds-radius-control);background:transparent;cursor:pointer;white-space:nowrap;transition:color var(--dur-waku-fast) var(--ease-waku-out),background-color var(--dur-waku-fast) var(--ease-waku-out),transform var(--dur-waku-fast) var(--ease-waku-out)}@media(hover:hover)and (pointer:fine){#root .character-live-header-main>button:hover,#root .character-live-settings:hover,#root .character-live-reset:hover{color:var(--ds-text-strong);background:var(--ds-surface-subtle)}}#root .character-live-header-main>button:focus-visible,#root .character-live-settings:focus-visible,#root .character-live-reset:focus-visible{color:var(--ds-text-strong);outline:2px solid var(--ds-focus);outline-offset:2px}#root .character-live-header-main>button:active,#root .character-live-settings:active,#root .character-live-reset:active{transform:translateY(1px)}#root .character-live-header-main>button span,#root .character-live-settings span,#root .character-live-reset span{display:none}@media(min-width:40rem){#root .character-live-header-main>button span,#root .character-live-settings span,#root .character-live-reset span{display:inline}}#root .character-live-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-1)}#root .character-live-conversation>header :is(strong,small){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .character-live-conversation>main{min-height:420px;padding:clamp(var(--ds-space-5),4vw,var(--ds-space-8));display:flex;flex-direction:column;gap:var(--ds-space-5);overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;scroll-padding-block-end:var(--ds-space-6)}#root .character-live-message{width:min(100%,68ch);display:flex;align-items:flex-start;gap:var(--ds-space-3)}#root .character-live-message.user{align-self:flex-end;flex-direction:row-reverse}#root .character-live-message>div{min-width:0;display:grid;gap:var(--ds-space-2)}#root .character-live-message.user>div{justify-items:end}#root .character-live-message small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-live-message p{max-width:min(100%,58ch);margin:0;padding:var(--ds-space-3) var(--ds-space-4);color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:1.68;white-space:pre-wrap;border-radius:var(--ds-radius-overlay);background:var(--ds-surface-input)}#root .character-live-message.user p{color:var(--ds-accent-ink);border-end-end-radius:var(--ds-radius-control);background:var(--ds-accent)}#root .message-avatar{position:relative;width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;overflow:hidden;color:var(--ds-canvas);font-size:var(--ds-font-size-caption);font-weight:750;border-radius:50%;background:var(--ds-accent)}#root :is(.test-avatar,.message-avatar) :is(img,svg){width:100%;height:100%;object-fit:cover}#root .character-live-conversation>form{padding:var(--ds-space-3) clamp(var(--ds-space-4),4vw,var(--ds-space-7)) max(var(--ds-space-3),env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-2);border-top:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}#root .character-live-conversation>form label{min-width:0}#root .character-live-conversation>.character-reply-suggestions{margin:0;padding:0 clamp(var(--ds-space-4),4vw,var(--ds-space-7)) var(--ds-space-3);background:var(--ds-canvas-raised)}#root .character-live-conversation>form :is(input,textarea){width:100%;min-height:52px;padding-inline:var(--ds-space-4);color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:var(--ds-radius-overlay);outline:2px solid transparent;outline-offset:1px;background:var(--ds-surface-input);resize:none;font:inherit;line-height:var(--ds-line-body)}#root .character-live-conversation>form :is(input,textarea):focus-visible{outline-color:var(--ds-focus)}#root .character-live-conversation>form button{width:52px;height:52px;display:grid;place-items:center;color:var(--ds-accent-ink);border:0;border-radius:50%;background:var(--ds-accent);cursor:pointer;transition:transform var(--dur-waku-fast) var(--ease-waku-out),opacity var(--dur-waku-fast) var(--ease-waku-out)}#root .character-live-conversation>form button:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}#root .character-live-conversation>form button:active{transform:translateY(1px)}#root .character-live-conversation>form button:disabled{opacity:.42;cursor:not-allowed}#root .character-chat-settings{position:absolute;z-index:12;inset-block:0;inset-inline-end:0;width:min(390px,100%);display:grid;grid-template-rows:auto minmax(0,1fr);color:var(--ds-text-body);border-inline-start:var(--ds-border-width) solid var(--ds-line-strong);background:var(--ds-canvas-raised);box-shadow:var(--ds-shadow-overlay)}#root .character-chat-settings>header{min-height:88px;padding:var(--ds-space-4) var(--ds-space-5);display:flex;align-items:flex-start;justify-content:space-between;gap:var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .character-chat-settings>header>div{min-width:0;display:grid;gap:var(--ds-space-1)}#root .character-chat-settings>header span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:750;letter-spacing:.1em}#root .character-chat-settings>header strong{color:var(--ds-text-strong);font-family:var(--font-display);font-size:var(--ds-font-size-title-sm)}#root .character-chat-settings>header p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-chat-settings>header button{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;color:var(--ds-text-muted);border:0;border-radius:50%;background:var(--ds-surface-subtle);cursor:pointer}#root .character-chat-settings>header button:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}#root .character-chat-settings-body{min-height:0;padding:var(--ds-space-5);display:grid;align-content:start;gap:var(--ds-space-6);overflow-y:auto}#root .character-chat-name-setting{display:grid;gap:var(--ds-space-2);color:var(--ds-text-strong);font-size:var(--ds-font-size-caption);font-weight:700}#root .character-chat-name-setting input{width:100%;min-height:48px;padding-inline:var(--ds-space-3);color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:var(--ds-radius-control);outline:2px solid transparent;outline-offset:1px;background:var(--ds-surface-input)}#root .character-chat-name-setting input:focus-visible{outline-color:var(--ds-focus)}#root .character-chat-settings fieldset{min-width:0;margin:0;padding:0;display:grid;gap:var(--ds-space-3);border:0}#root .character-chat-settings legend{margin-block-end:var(--ds-space-2);color:var(--ds-text-strong);font-size:var(--ds-font-size-caption);font-weight:700}#root .character-chat-settings fieldset>div:where(:not(.length-picker)){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}#root .character-chat-settings fieldset button{min-height:44px;padding-inline:var(--ds-space-2);color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);cursor:pointer;white-space:nowrap}#root .character-chat-settings fieldset button.active{color:var(--ds-accent-ink);border-color:var(--ds-accent);background:var(--ds-accent)}#root .character-chat-settings fieldset button:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}#root .character-chat-settings fieldset small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .character-chat-settings .character-reply-length-value{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-3)}#root .character-reply-length-value strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body)}#root .character-reply-length-value span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .character-chat-toggle{min-height:72px;padding:var(--ds-space-3) var(--ds-space-4);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border-radius:var(--ds-radius-control);background:var(--ds-surface-subtle)}#root .character-chat-toggle>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .character-chat-toggle strong{color:var(--ds-text-strong)}#root .character-chat-toggle small{color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .character-chat-toggle input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--ds-accent)}#root .public-character-chat{display:block;overflow:hidden}#root .public-character-chat>.character-live-shell{height:100dvh;min-height:0}@media(max-width:59.99rem){#root .public-character-chat>.character-live-shell{grid-template-rows:minmax(180px,32dvh) minmax(0,1fr)}#root .public-character-chat .character-live-identity{grid-template-rows:minmax(0,1fr)}#root .public-character-chat .character-live-profile{position:absolute;inset-inline:0;inset-block-end:0;padding-block:var(--ds-space-3);background:var(--ds-canvas-raised)}#root .public-character-chat .character-live-profile small{display:none}#root .public-character-chat .character-live-conversation>main{min-height:0}#root .public-character-chat>.character-live-shell:has(.character-live-identity.is-collapsed){grid-template-rows:auto minmax(0,1fr)}#root .public-character-chat .character-live-identity.is-collapsed .character-live-profile{position:static}}@media(min-width:60rem){#root .character-live-shell{height:calc(100dvh - 58px);min-height:0;grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);grid-template-rows:minmax(0,1fr)}#root .character-live-shell:has(.character-live-identity.is-collapsed){grid-template-columns:minmax(0,1fr)}#root .character-live-identity.is-collapsed{display:none}#root .character-live-identity{grid-template-rows:minmax(0,1fr) auto}#root .character-live-profile small{display:-webkit-box}#root .character-live-conversation>main{min-height:0}}@media(min-width:90rem){#root .character-live-shell{grid-template-columns:minmax(380px,.74fr) minmax(0,1.26fr)}}#root .character-native-play-error{margin:var(--ds-space-5) 0 0;padding:var(--ds-space-3) var(--ds-space-4);color:var(--ds-danger);border:var(--ds-border-width) solid var(--ds-danger);border-radius:var(--ds-radius-control);background:var(--color-waku-choice-error)}#root .character-asset-note{margin:0;padding:var(--ds-space-3) var(--ds-space-4);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);border-radius:var(--ds-radius-control);background:var(--ds-surface-subtle)}@media(max-width:560px){#root .character-studio .character-test-phone>header{align-items:flex-start;flex-wrap:wrap}#root .character-studio .character-test-status{width:100%;margin-inline-start:42px}#root .character-studio .character-test-phone main p{max-width:90%}#root .character-studio .character-test-phone>main{min-height:360px;padding:var(--ds-space-4)}#root .character-studio .character-test-phone>form{min-height:72px;padding:var(--ds-space-3)}}@media(prefers-reduced-motion:reduce){#root .character-studio .character-test-phone form button{transition-duration:.01ms;transform:none}}#root .creation-kind-grid>button strong{color:var(--creation-kind-title-color, var(--ds-text-strong));font-size:var(--ds-font-size-title-md);line-height:var(--ds-line-tight)}#root .creation-kind-grid>button p{max-width:42ch;margin:var(--ds-space-2) 0 0;color:var(--ds-text-body);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .creation-kind-grid>button small{margin-top:var(--ds-space-3);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-tight)}#root .publish-play-mode{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);align-items:start;gap:var(--ds-space-9);margin:var(--ds-space-8) 0 var(--ds-space-10);padding:0;border:0;background:transparent}#root .publish-play-mode>div:first-child{display:grid;align-content:start;gap:var(--ds-space-2)}#root .publish-play-mode>div:first-child>span{color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:700;letter-spacing:var(--ds-letter-kicker)}#root .publish-play-mode h3,#root .publish-play-mode p{margin:0}#root .publish-play-mode h3{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}#root .publish-play-mode p{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .publish-play-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-6)}#root .publish-play-mode-options>button,#root .publish-play-mode-options>button:is(:hover,:focus-visible,.active){position:relative;display:grid;align-content:start;gap:var(--ds-space-2);min-width:0;min-height:72px;padding:0 0 var(--ds-space-2) var(--ds-space-5);color:var(--ds-text-muted);text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .publish-play-mode-options>button:before{content:"";position:absolute;top:5px;left:0;width:7px;height:7px;border-radius:50%;background:var(--ds-text-faint)}#root .publish-play-mode-options>button.active:before,#root .publish-play-mode-options>button[aria-checked=true]:before{background:var(--ds-accent)}#root .publish-play-mode-options>button strong{color:inherit;font-size:var(--ds-font-size-label);line-height:var(--ds-line-tight)}#root .publish-play-mode-options>button small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .publish-play-mode-options>button.active,#root .publish-play-mode-options>button[aria-checked=true]{color:var(--ds-accent)}#root .publish-play-mode-fixed{display:grid;align-content:start;gap:var(--ds-space-2);padding:var(--ds-space-2) 0}#root .publish-play-mode-fixed strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .publish-play-mode-fixed span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-start-modes{display:flex;align-items:center;gap:var(--ds-space-5);min-height:var(--ds-control-height-compact);margin:var(--ds-space-5) 0 var(--ds-space-3)}#root .story-start-modes>button,#root .story-start-modes>button:is(:hover,:focus-visible,.active){min-height:var(--ds-control-height-compact);padding:0;color:var(--ds-text-muted);font-family:var(--ds-font-ui);font-size:var(--ds-font-size-label);font-weight:650;line-height:var(--ds-control-height-compact);border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .story-start-modes>button.active,#root .story-start-modes>button[aria-checked=true]{color:var(--ds-accent)}#root .studio-preview-mode{position:fixed;z-index:210;top:var(--ds-space-5);left:50%;display:flex;align-items:center;gap:var(--ds-space-5);min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-4);background:var(--ds-surface-overlay);box-shadow:var(--ds-shadow-overlay);transform:translate(-50%)}#root .studio-preview-mode>button,#root .studio-preview-mode>button:is(:hover,:focus-visible,.active){min-height:var(--ds-control-height-compact);padding:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-weight:650;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .studio-preview-mode>button.active{color:var(--ds-accent)}@media(max-width:760px){#root .creation-kind-grid,#root .publish-play-mode,#root .publish-play-mode-options{grid-template-columns:1fr}#root .publish-play-mode{gap:var(--ds-space-7)}#root .publish-play-mode-options{gap:var(--ds-space-3)}#root .publish-play-mode-options>button{min-height:64px}}#root .character-media-grid{gap:var(--ds-space-section);border:0;background:transparent}#root .character-media-grid>section{padding:0;background:transparent}#root .character-media-grid>section>button{width:fit-content;min-height:36px;padding-block:var(--ds-space-2);padding-inline:0;justify-content:flex-start;color:var(--ds-accent);border:0;background:transparent}#root .story-studio-shell .system-setting-step>*{order:initial}#root .story-studio-shell .system-setting-step.active-system-growth>.growth-system-panel,#root .story-studio-shell .system-setting-step.active-system-items>.item-system-panel,#root .story-studio-shell .system-setting-step.active-system-relationships>.relationship-system-panel{display:grid}#root .story-studio-shell .system-setting-step>:where(.growth-system-panel,.item-system-panel,.relationship-system-panel){width:min(100%,var(--ds-editor-max));min-width:0;align-content:start;gap:var(--ds-section-content-gap)}#root .story-studio-shell .system-setting-step>.studio-section-copy{max-width:920px}#root .story-studio-shell .system-setting-step>.system-preset-grid{margin-top:calc(var(--ds-space-2) * -1)}#root .story-studio-shell .system-setting-step .item-system-panel>.studio-ai-request{margin:0}#root .story-studio-shell .system-setting-step .item-workspace{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-section-content-gap);margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .system-setting-step .item-workspace.has-selection{grid-template-columns:minmax(220px,.34fr) minmax(0,1fr);align-items:start}#root .story-studio-shell .system-setting-step .item-empty-line{min-height:0;grid-template-columns:28px minmax(0,1fr);gap:var(--ds-space-3) var(--ds-space-4);padding:var(--ds-space-2) 0}#root .story-studio-shell .system-setting-step .item-empty-line>button{grid-column:2;justify-self:start}#root .story-studio-shell .system-setting-step .item-empty-line>svg{color:var(--ds-accent-muted)}#root .story-studio-shell .system-setting-step .item-empty-line>div>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body);font-weight:720;line-height:var(--ds-line-action)}#root .story-studio-shell .system-setting-step .item-empty-line>div>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:1.65}@media(max-width:840px){#root .story-studio-shell .system-setting-step .item-workspace.has-selection{grid-template-columns:minmax(0,1fr)}}@media(max-width:620px){#root .story-studio-shell .system-setting-step .item-empty-line{grid-template-columns:28px minmax(0,1fr)}#root .story-studio-shell .system-setting-step .item-empty-line>button{grid-column:2;justify-self:start}}#root :where([data-ui-section],[data-ui-content],[data-ui-list],.studio-section-copy,.asset-section-head,.studio-empty-state,.item-empty-line,.system-empty-copy){border:0;border-radius:0;background:transparent;box-shadow:none}#root :where([data-ui-section]){width:100%;margin:0;padding:0}#root .story-studio-shell [data-ui-flow]{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:var(--ds-section-flow-gap);transition:none}#root .story-studio-shell [data-ui-section]{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:var(--ds-section-content-gap)}#root .story-studio-shell [data-ui-flow]>*,#root .story-studio-shell [data-ui-section]>*{min-width:0;margin-block:0}#root .story-studio-shell .publish-studio.compact-publish{width:min(100%,880px);max-width:880px;justify-self:start;gap:0}#root .story-studio-shell .publish-studio.compact-publish>:is(.publish-required,.publish-option-summary,.publish-access-panel){padding-block:var(--ds-space-6)}#root .story-studio-shell [data-ui-flow]>:is(.start-setting-editor,.protagonist-candidates,.custom-player-panel,.genre-builder,.thought-access-panel,.reader-style-panel,.ai-policy-panel,.character-ai-panel,.growth-system-panel,.item-system-panel,.relationship-system-panel,.background-rule-editor,.character-look-editor,.scene-form-card,.keyword-book-panel,.scene-library,.keyword-note-layout,.response-example-editor,.audio-editor,.ending-editor,.cg-create-panel,.generation-rules,.studio-empty-state,.system-empty-copy,.item-empty-line){padding-block:0}#root .story-studio-shell .background-studio>.studio-empty-state{padding-block:0}#root .story-studio-shell .character-studio>.relationship-preview,#root .story-studio-shell [data-ui-flow]>.protagonist-brief-panel{margin-top:0;padding-top:var(--ds-space-2)}#root :where([data-ui-section]+[data-ui-section]){margin-top:var(--ds-section-flow-gap)}#root :where(.page-intro[data-ui-header],.section-head[data-ui-header]){min-width:0;margin-bottom:var(--page-intro-margin-bottom, var(--ds-section-content-gap))}#root .page-intro[data-has-action]{display:var(--page-intro-display, flex);grid-template-columns:var(--page-intro-columns, none);flex-direction:row;align-items:var(--page-intro-align, center);justify-content:space-between;gap:var(--page-intro-gap, var(--ds-space-6))}#root .page-intro[data-has-action]>div{min-width:0;display:var(--page-intro-copy-display, block)}#root .page-intro[data-has-action]>div>h1{grid-column:var(--page-intro-title-column, auto)}#root .page-intro[data-has-action]>div>p{grid-column:var(--page-intro-copy-column, auto)}#root .page-intro[data-has-action]>button{grid-column:var(--page-intro-action-column, auto);grid-row:var(--page-intro-action-row, auto);flex:0 0 auto;white-space:nowrap}@media(max-width:640px){#root .page-intro[data-has-action]{flex-direction:column;align-items:var(--page-intro-align, stretch);gap:var(--page-intro-gap, var(--ds-space-5))}#root .page-intro[data-has-action]>button{align-self:flex-end}}#root :where(.page-intro[data-ui-header],.section-head[data-ui-header]) :where(h1,h2){margin:0;color:var(--ds-text-strong);line-height:var(--ds-line-tight);text-wrap:balance}#root :where(.page-intro[data-ui-header],.section-head[data-ui-header]) p{max-width:var(--ds-copy-max);margin:var(--ds-section-heading-gap) 0 0;color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .story-studio-shell .studio-section-copy{width:min(100%,var(--ds-copy-max));margin:0 0 var(--ds-section-content-gap);padding:0;display:block}#root .story-studio-shell .studio-section-copy>:where(span,div>span){display:block;margin:0 0 var(--ds-space-2);color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:750;line-height:var(--ds-line-action);letter-spacing:var(--ds-letter-kicker)}#root .story-studio-shell .studio-section-copy>:where(h3,div>h3){max-width:var(--ds-copy-max);margin:0;color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:var(--ds-font-size-title-md);font-weight:500;line-height:1.32;letter-spacing:-.025em;text-wrap:balance}#root .story-studio-shell .studio-section-copy>:where(p,div>p){max-width:var(--ds-copy-max);margin:var(--ds-section-heading-gap) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body);line-height:1.7}#root .story-studio-shell .asset-section-head{width:min(100%,var(--ds-editor-max));margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title count" "copy count";align-items:start;gap:var(--ds-space-3) var(--ds-space-7)}#root .story-studio-shell .asset-section-head>div{grid-area:title;min-width:0;display:grid;gap:var(--ds-space-2)}#root .story-studio-shell .asset-section-head>div>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:750;line-height:var(--ds-line-action);letter-spacing:var(--ds-letter-kicker)}#root .story-studio-shell .asset-section-head>div>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:700;line-height:var(--ds-line-tight)}#root .story-studio-shell .asset-section-head>p{grid-area:copy;max-width:var(--ds-copy-max);margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:1.65}#root .story-studio-shell [data-ui-count]{grid-area:count;align-self:center;min-width:40px;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-action);text-align:right;white-space:nowrap}#root .story-studio-shell .system-setting-step .system-preset-grid{width:min(100%,var(--ds-editor-max));margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-7)}#root .story-studio-shell .system-setting-step .system-preset-grid>button,#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(:hover,:focus,.active,[aria-pressed=true]){width:100%;min-height:80px;margin:0;padding:var(--ds-space-2) 0;display:grid;grid-template-columns:var(--ds-space-8) minmax(0,1fr);grid-template-areas:"switch title" "switch copy";align-content:start;justify-items:start;gap:var(--ds-space-2) var(--ds-space-3);color:var(--ds-text-muted);text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .story-studio-shell .system-setting-step .system-preset-grid>button>i{grid-area:switch;width:var(--ds-space-8);height:var(--ds-space-5);padding:var(--ds-space-1);display:flex;box-sizing:border-box;align-items:center;align-self:start;border-radius:999px;background:var(--ds-surface-input)}#root .story-studio-shell .system-setting-step .system-preset-grid>button>i em{flex:0 0 var(--ds-space-3);width:var(--ds-space-3);height:var(--ds-space-3);border-radius:50%;display:block;background:var(--ds-text-faint);transform:none}#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(.active,[aria-pressed=true])>i{background:var(--ds-accent)}#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(.active,[aria-pressed=true])>i em{background:var(--ds-canvas);transform:translate(calc(var(--ds-space-8) - 2 * var(--ds-space-1) - var(--ds-space-3)))}#root .story-studio-shell .system-setting-step .system-preset-grid>button strong{grid-area:title;color:inherit;font-size:var(--ds-font-size-body);font-weight:700;line-height:var(--ds-line-action)}#root .story-studio-shell .system-setting-step .system-preset-grid>button span{grid-area:copy;max-width:28ch;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:1.6}#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(:hover,:focus) strong{color:var(--ds-text-strong)}#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(.active,[aria-pressed=true]) strong{color:var(--ds-accent)}#root .story-studio-shell .system-editor-tabs{width:min(100%,var(--ds-editor-max));margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-7);border:0;background:transparent}#root .story-studio-shell .system-editor-tabs>button,#root .story-studio-shell .system-editor-tabs>button:is(:hover,:focus-visible,.active,[aria-pressed=true]){position:relative;min-width:0;min-height:64px;margin:0;padding:var(--ds-space-3) 0 var(--ds-space-4);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-4);color:var(--ds-text-muted);text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .story-studio-shell .system-editor-tabs>button:after{content:"";position:absolute;inset-block-end:0;inset-inline-start:0;width:var(--ds-space-8);height:calc(var(--ds-border-width) * 2);background:transparent}#root .story-studio-shell .system-editor-tabs>button:is(.active,[aria-pressed=true]):after{background:var(--ds-accent)}@media(prefers-reduced-motion:reduce){#root .story-studio-shell .system-setting-step .system-preset-grid>button>i em{transition-duration:.01ms}}#root .story-studio-shell .system-editor-tabs>button>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .system-editor-tabs>button strong,#root .story-studio-shell .system-editor-tabs>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .system-editor-tabs>button strong{color:inherit;font-size:var(--ds-font-size-body);line-height:var(--ds-line-action)}#root .story-studio-shell .system-editor-tabs>button small,#root .story-studio-shell .system-editor-tabs>button>em{color:var(--ds-text-faint);font-size:var(--ds-font-size-caption);font-style:normal;line-height:var(--ds-line-action)}#root .story-studio-shell .system-editor-tabs>button:is(:hover,:focus-visible) strong{color:var(--ds-text-strong)}#root .story-studio-shell .system-editor-tabs>button:is(.active,[aria-pressed=true]) strong,#root .story-studio-shell .system-editor-tabs>button:is(.active,[aria-pressed=true])>em{color:var(--ds-accent)}#root .story-studio-shell .system-disclosure-nav{width:min(100%,var(--ds-editor-max));margin:0 0 var(--ds-section-content-gap);padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:var(--ds-space-7);border:0;background:transparent}#root .story-studio-shell .system-setting-step .studio-disclosure,#root .story-studio-shell .system-setting-step .studio-disclosure+.studio-disclosure{width:100%;margin:0;padding:0;border:0;background:transparent}#root .story-studio-shell .system-setting-step .studio-disclosure-trigger,#root .story-studio-shell .system-setting-step .studio-disclosure-trigger:is(:hover,:focus){width:100%;min-height:56px;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-4);text-align:left;border:0;background:transparent;box-shadow:none}#root .story-studio-shell .system-setting-step .studio-disclosure-copy{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .system-setting-step .studio-disclosure-copy strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body);font-weight:700}#root .story-studio-shell .system-setting-step .studio-disclosure-copy small,#root .story-studio-shell .system-setting-step .studio-disclosure-meta{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .system-setting-step .studio-disclosure.open .studio-disclosure-copy strong{color:var(--ds-accent)}#root .story-studio-shell .item-system-panel{width:min(100%,var(--ds-editor-max));margin:0}#root .story-studio-shell .item-workspace{width:100%;margin:0;padding:0;align-items:start}#root .story-studio-shell .item-workspace.has-selection{display:grid;grid-template-columns:minmax(220px,var(--ds-master-compact)) minmax(0,1fr);gap:var(--ds-space-8)}#root .story-studio-shell .item-workspace.is-empty{display:block}#root .story-studio-shell .item-library{min-width:0;display:grid;align-content:start;gap:var(--ds-space-5)}#root .story-studio-shell .item-library>[data-ui-list]{margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-2)}#root .story-studio-shell .item-library>[data-ui-list]>button,#root .story-studio-shell .item-library>[data-ui-list]>button:is(:hover,:focus,.active,[aria-pressed=true]){width:100%;min-width:0;min-height:56px;margin:0;padding:var(--ds-space-2) 0;display:grid;grid-template-columns:var(--ds-icon-sm) minmax(0,1fr);align-items:center;gap:var(--ds-space-3);color:var(--ds-text-muted);text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .story-studio-shell .item-library>[data-ui-list]>button:is(:hover,:focus) strong{color:var(--ds-text-strong)}#root .story-studio-shell .item-library>[data-ui-list]>button:is(.active,[aria-pressed=true])>svg,#root .story-studio-shell .item-library>[data-ui-list]>button:is(.active,[aria-pressed=true]) strong{color:var(--ds-accent)}#root .story-studio-shell .item-library .add-item{width:max-content;margin:0}#root .story-studio-shell .item-empty-line{width:min(100%,var(--ds-copy-max));min-height:0;margin:0;padding:var(--ds-space-3) 0;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:var(--ds-space-4);color:var(--ds-text-muted)}#root .story-studio-shell .item-empty-line>svg{color:var(--ds-text-faint)}#root .story-studio-shell .item-empty-line>div{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .item-empty-line strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body);line-height:var(--ds-line-action)}#root .story-studio-shell .item-empty-line span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .item-empty-line>button,#root .story-studio-shell .item-empty-line>button:hover{grid-column:2;justify-self:start;min-height:var(--ds-control-height-compact);padding:var(--ds-space-2) 0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-accent);border:0;background:transparent;box-shadow:none}#root .story-studio-shell .item-editor-pane{min-width:0}#root .story-studio-shell .item-editor-head{margin:0 0 var(--ds-space-6)}#root .story-studio-shell :where(.studio-empty-state,.system-empty-copy,[data-ui-empty]){min-height:0;margin:0;padding:var(--ds-space-6) 0}#root .story-studio-shell .system-empty-copy{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .system-empty-copy strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body)}#root .story-studio-shell .system-empty-copy span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}@media(max-width:820px){#root .story-studio-shell .asset-section-head{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title count" "copy copy";gap:var(--ds-space-3) var(--ds-space-5)}#root .story-studio-shell .asset-section-head>p{grid-area:copy}#root .story-studio-shell .system-setting-step .system-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-5)}#root .story-studio-shell .system-setting-step .system-preset-grid>button,#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(:hover,:focus,.active,[aria-pressed=true]){min-height:82px}#root .story-studio-shell .system-editor-tabs{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:var(--ds-space-5)}#root .story-studio-shell .system-editor-tabs>button,#root .story-studio-shell .system-editor-tabs>button:is(:hover,:focus-visible,.active,[aria-pressed=true]){min-height:52px}#root .story-studio-shell .item-workspace.has-selection{grid-template-columns:1fr;gap:var(--ds-space-7)}#root .story-studio-shell .item-library>[data-ui-list]{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-3) var(--ds-space-6)}}@media(max-width:560px){#root .story-studio-shell .asset-section-head{grid-template-columns:1fr;grid-template-areas:"title" "copy" "count"}#root .story-studio-shell .asset-section-head>p,#root .story-studio-shell [data-ui-count]{grid-column:auto;text-align:left}#root .story-studio-shell .system-disclosure-nav,#root .story-studio-shell .item-library>[data-ui-list]{grid-template-columns:1fr}#root .story-studio-shell .system-setting-step .system-preset-grid,#root .story-studio-shell .system-editor-tabs{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-2)}#root .story-studio-shell .item-empty-line{grid-template-columns:auto minmax(0,1fr)}#root .story-studio-shell .item-empty-line>button{grid-column:2;justify-self:start}}@media(max-width:420px){#root .story-studio-shell .system-setting-step .system-preset-grid{gap:var(--ds-space-4)}#root .story-studio-shell .system-setting-step .system-preset-grid>button,#root .story-studio-shell .system-setting-step .system-preset-grid>button:is(:hover,:focus,.active,[aria-pressed=true]){min-height:48px}#root .story-studio-shell .system-setting-step .system-preset-grid>button span{display:none}}#root [data-flat-toolbar]>nav{align-self:stretch;display:flex;align-items:center;gap:var(--ds-space-5)}#root [data-flat-toolbar]>div{display:flex;align-items:baseline;gap:var(--ds-space-2)}#root [data-flat-toolbar]>div>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:700;letter-spacing:.12em}#root [data-flat-toolbar]>div>strong{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-weight:500}#root [data-flat-toolbar]>small{margin-right:auto;color:var(--ds-text-subtle);font-size:var(--ds-font-size-caption);font-weight:700;line-height:var(--ds-line-tight);letter-spacing:.16em}#root [data-flat-toolbar]>button>span{margin-left:var(--ds-space-1);padding:0;color:currentColor;border:0;border-radius:0;background:transparent;font-size:inherit}#root .work-filter-row+.my-projects{margin-top:0}#root :where(.primary-tabs,[data-flat-toolbar],.discovery-header nav,[data-flat-toolbar] nav,.category-tabs,.detail-filter-row,.sort-toggle,.library-tabs,.character-type-tabs,.mywork-tabs,.profile-stats,.my-menu,.ticket-options,.creation-method,.creation-format-grid,.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.reader-style-options,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.search-scopes,.tool-group,.mobile-nav,[data-flat-selection],[role=tablist])>button,#root :where(.primary-tabs,[data-flat-toolbar],.discovery-header nav,[data-flat-toolbar] nav,.category-tabs,.detail-filter-row,.sort-toggle,.library-tabs,.character-type-tabs,.mywork-tabs,.profile-stats,.my-menu,.ticket-options,.creation-method,.creation-format-grid,.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.reader-style-options,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.search-scopes,.tool-group,.mobile-nav,[data-flat-selection],[role=tablist])>button:is(:hover,:focus-visible,.active,.enabled,.selected,[aria-selected=true],[aria-pressed=true]){min-height:var(--ds-control-height-compact);padding:var(--ds-space-2) var(--ds-space-3);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;font-family:var(--ds-font-ui);font-size:var(--ds-font-size-caption);font-weight:600;line-height:var(--ds-line-tight);letter-spacing:0}#root :where(.primary-tabs,[data-flat-toolbar],.discovery-header nav,[data-flat-toolbar] nav,.category-tabs,.detail-filter-row,.sort-toggle,.library-tabs,.character-type-tabs,.mywork-tabs,.profile-stats,.my-menu,.ticket-options,.creation-method,.creation-format-grid,.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.reader-style-options,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.search-scopes,.tool-group,.mobile-nav,[data-flat-selection],[role=tablist])>button:is(:hover,:focus-visible,.active,.enabled,.selected,[aria-selected=true],[aria-pressed=true]){color:var(--ds-accent)}#root :where(.primary-tabs,[data-flat-toolbar],.discovery-header nav,[data-flat-toolbar] nav,.category-tabs,.detail-filter-row,.sort-toggle,.library-tabs,.character-type-tabs,.mywork-tabs,.profile-stats,.my-menu,.ticket-options,.creation-method,.creation-format-grid,.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.reader-style-options,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.search-scopes,.tool-group,.mobile-nav,[data-flat-selection],[role=tablist])>button:before,#root :where(.primary-tabs,[data-flat-toolbar],.discovery-header nav,[data-flat-toolbar] nav,.category-tabs,.detail-filter-row,.sort-toggle,.library-tabs,.character-type-tabs,.mywork-tabs,.profile-stats,.my-menu,.ticket-options,.creation-method,.creation-kind-grid,.creation-format-grid,.studio-substeps,.character-detail-tabs,.character-advanced-tabs,.asset-source-tabs,.illustration-type-tabs,.look-trigger-types,.memory-view-tabs,.reader-style-modes,.reader-style-options,.thought-mode-grid,.ai-policy-modes,.system-preset-grid,.ending-preset-grid,.audio-type-cards,.search-scopes,.tool-group,.mobile-nav,[data-flat-selection],[role=tablist])>button:after,#root .studio-main-head em:before,#root .studio-main-head em:after{content:none;display:none}#root :where(.story-studio-shell,.story-studio-shell .studio-top,.story-studio-shell .studio-layout,.story-studio-shell .studio-main,.character-studio .compact-studio-layout){box-sizing:border-box;min-width:0;max-width:100%}#root .story-studio-shell{overflow-x:clip}#root .chat-intro{margin:0 0 var(--ds-space-7);padding:0;text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none}#root :where(.studio-form-grid,.character-panel-fields,.character-advanced-fields,.secret-authoring-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-field-gap)}#root :where(.studio-form-grid,.character-panel-fields,.character-advanced-fields,.secret-authoring-grid)>.wide{grid-column:1 / -1}#root .character-settings-modal .character-advanced-fields{display:block;width:100%;margin:0;padding:0}#root .character-settings-modal .character-advanced-panel{width:100%;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-6) var(--ds-space-7)}#root .character-settings-modal .character-advanced-panel>label{min-width:0}#root .character-settings-modal .character-advanced-panel textarea{min-height:116px;max-height:220px;overflow-y:auto;resize:vertical}#root .character-settings-modal .character-image-entry{grid-column:1 / -1;min-height:var(--ds-control-height);margin-top:var(--ds-space-2);padding:var(--ds-space-3) 0 0;display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5);border:0;border-radius:0;background:transparent;box-shadow:none}#root .character-settings-modal .character-image-entry>div{min-width:0;display:grid;gap:var(--ds-space-1)}#root .character-settings-modal .character-image-entry>div>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body)}#root .character-settings-modal .character-image-entry>div>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-settings-modal .character-image-entry>button{flex:0 0 auto;min-height:var(--ds-control-height-compact);padding:var(--ds-space-2) var(--ds-space-4);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-accent-strong);border:0;border-radius:var(--ds-radius-control);background:var(--ds-accent-wash)}#root :where(.studio-main,.compact-studio-layout>main){padding:var(--ds-space-6) var(--ds-page-gutter) var(--ds-space-10)}#root :where(.studio-main-head,.studio-section-copy,.asset-section-head){margin-block:0 var(--ds-space-6);padding:0}#root :where(.studio-main-head,.studio-section-copy,.asset-section-head) h2{margin:var(--ds-space-2) 0 var(--ds-space-1);font-family:var(--ds-font-story);font-size:var(--ds-font-size-title-md);line-height:var(--ds-line-tight);letter-spacing:-.025em}#root :where(.studio-main-head,.studio-section-copy,.asset-section-head) p{max-width:760px;margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root :where(.studio-empty-state,.asset-gallery-empty,.keyword-empty-state,.skill-empty-copy,.system-empty-copy,.relationship-empty-copy,.protagonist-candidate-empty,.library-empty,.player-empty,.audio-empty,.item-empty-line,.generation-rules,.opening-system-note,.viewpoint-note,.secret-flow-explainer,.field-help,.field-warning){border:0;border-radius:0;background:transparent;box-shadow:none}#root :where(.studio-empty-state,.asset-gallery-empty,.keyword-empty-state,.library-empty){padding:var(--ds-space-7) 0}#root :where(button,[role=button]){line-height:var(--ds-line-action);writing-mode:horizontal-tb;text-orientation:mixed;word-break:keep-all;overflow-wrap:normal;-webkit-hyphens:none;hyphens:none}#root :where(button,[role=button]) :where(span,strong,small,b,em){min-inline-size:0;writing-mode:horizontal-tb;text-orientation:mixed;word-break:keep-all;overflow-wrap:normal;-webkit-hyphens:none;hyphens:none}#root :where(button,[role=button])>svg{flex:0 0 auto;align-self:center;vertical-align:middle}#root :where(.add-cast,.add-character-look,.add-expression,.add-gallery,.add-item,.add-scene,.add-ending,.add-background,.keyword-add-action,.skill-add-action,.stat-empty-action,.audio-add-bar,.studio-disclosure-trigger,.character-advanced-toggle,.danger-inline,.character-delete,.keyword-delete,.remove,.remove-relation){min-height:var(--ds-control-height-compact);padding:var(--ds-space-2) 0;color:var(--ds-text-body);border:0;border-radius:0;background:transparent;box-shadow:none}#root :where(.primary-button,.generate-button,.studio-footer .next,.chat-shell>form button){min-height:var(--ds-control-height);padding:var(--ds-space-2) var(--ds-space-5);color:var(--ds-accent-ink);border:0;border-radius:var(--ds-radius-control);background:var(--ds-accent);box-shadow:none}#root .asset-generate{grid-template-columns:minmax(0,1fr) minmax(240px,280px);align-items:end;gap:var(--ds-space-4)}#root .asset-generate-actions{width:100%;min-width:0;gap:var(--ds-space-2)}#root .asset-generate-actions .primary-button{width:100%;min-width:0;justify-content:center;text-align:center;white-space:normal}#root .top-actions{gap:clamp(var(--ds-space-1),calc(10vw - 2rem),var(--ds-space-4))}#root :where(.global-search-trigger,.profile-button,.top-actions>.icon-button){width:auto;white-space:nowrap;min-width:var(--ds-control-height);min-height:var(--ds-control-height);height:var(--ds-control-height-compact);padding:0;gap:var(--ds-space-2);color:var(--ds-text-body);border:0;border-radius:0;background:transparent;box-shadow:none}#root :where(.global-search-trigger,.profile-button,.top-actions>.icon-button):hover,#root :where(.global-search-trigger,.profile-button,.top-actions>.icon-button):focus-visible{color:var(--ds-text-strong);border:0;background:transparent;box-shadow:none}#root .top-actions>.icon-button{width:var(--ds-control-height-compact);justify-content:center}#root .search-overlay>form{min-height:var(--ds-control-height);border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);box-shadow:none}#root .search-overlay>form:focus-within{border-color:var(--ds-accent);box-shadow:0 0 0 3px var(--ds-focus)}#root .search-overlay>form>input{min-height:0;padding:0;color:var(--ds-text-strong);border:0;border-radius:0;outline:0;background:transparent;box-shadow:none}#root .search-overlay>form>button{min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-4);color:var(--ds-accent-ink);border:0;border-radius:var(--ds-radius-control);background:var(--ds-accent);box-shadow:none}#root .preference-list{gap:0}#root .preference-list>button,#root .account-language-setting{width:100%;min-height:72px;padding:var(--ds-space-4) 0;border:0;border-radius:0;background:transparent;box-shadow:none}#root .account-language-setting{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px);align-items:center;gap:var(--ds-space-6)}#root .account-language-setting>span{display:grid;gap:var(--ds-space-1)}#root .account-language-setting strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .account-language-setting small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .account-language-setting select{width:100%;min-height:var(--ds-control-height);padding:0 var(--ds-space-3);color:var(--ds-text-strong);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);box-shadow:none}#root .character-hero{position:relative;display:grid;grid-template-columns:44% 56%;overflow:hidden;color:var(--ds-text-strong);text-align:left;border-radius:0;background:var(--ds-character-hero-surface)}#root .character-hero-copy{position:relative;z-index:2;min-width:0;padding:5.38cqi;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#root .character-hero-copy>small{color:var(--ds-accent-strong);font-size:.93cqi;font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .character-hero-copy h1{margin:1.35cqi 0 1.01cqi;font-family:var(--ds-font-story);font-size:4.2cqi;font-weight:400;line-height:1.2;letter-spacing:var(--ds-story-detail-title-tracking);word-break:keep-all}#root .character-hero-copy h1 em{color:var(--ds-accent-strong);font-style:normal}#root .character-hero-copy>p{max-width:36.16cqi;margin:0;color:var(--ds-text-body);font-size:1.09cqi;line-height:var(--ds-line-body)}#root .character-hero-footer{position:relative;width:100%;height:5.64cqi;max-width:42.05cqi;margin-top:4.04cqi;display:flex;align-items:flex-end;justify-content:space-between;gap:2.02cqi}#root .character-hero-profile{min-width:0;display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;gap:.34cqi}#root .character-hero-profile strong{color:var(--ds-text-strong);font-size:1.43cqi;line-height:1.35}#root .character-hero-profile>span,#root .character-hero-profile>small{color:var(--ds-text-muted);font-size:.93cqi;line-height:1.45}#root .character-hero-action{position:absolute;right:calc((9.46cqi - max(44px,9.46cqi))/2);bottom:calc((3.7cqi - max(44px,3.7cqi))/2);width:max(44px,9.46cqi);min-height:max(44px,3.7cqi);padding:0;display:inline-flex;align-items:center;justify-content:center;color:var(--ds-on-accent);font-size:.93cqi;font-weight:700;border:0;border-radius:0;background:transparent;transition:color var(--ds-transition),border-color var(--ds-transition),background-color var(--ds-transition)}#root .character-hero-action:before{position:absolute;z-index:0;top:50%;left:50%;width:9.46cqi;height:3.7cqi;border:var(--ds-border-width) solid var(--ds-accent);border-radius:var(--ds-radius-control);background:var(--ds-accent);transform:translate(-50%,-50%);transition:border-color var(--ds-transition),background-color var(--ds-transition);content:""}#root .character-hero-action>span{position:relative;z-index:1;white-space:nowrap}#root .character-hero-action:is(:hover,:focus-visible){color:var(--ds-accent-ink);background:transparent}#root .character-hero-action:is(:hover,:focus-visible):before{border-color:var(--ds-accent-strong);background:var(--ds-accent-strong)}#root .character-hero-scene{position:relative;min-width:0;overflow:hidden;background:var(--ds-character-hero-visual)}#root .character-hero-portrait{position:absolute;top:0;right:0;bottom:0;left:0;display:block}#root .character-hero-portrait .cover-art{width:100%;height:100%;background-size:cover;transition:transform .5s ease}#root .character-hero:hover .character-hero-portrait .cover-art{transform:scale(1.025)}#root .character-hero-message{position:absolute;left:2.69cqi;bottom:7.4cqi;width:min(32.8cqi,calc(100% - 5.38cqi));padding:1.35cqi 1.68cqi;display:grid;gap:.67cqi;background:var(--ds-character-hero-message)}#root .character-hero-message small{color:var(--ds-accent-strong);font-size:.93cqi;letter-spacing:.08em}#root .character-hero-message strong{color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:1.77cqi;font-weight:400;line-height:1.55}#root .character-hero-live{position:absolute;top:1.68cqi;right:1.68cqi;display:inline-flex;align-items:center;gap:.67cqi;color:var(--ds-text-strong);font-size:.93cqi}#root .character-hero-live i{width:.59cqi;height:.59cqi;border-radius:50%;background:var(--ds-success)}@media(min-width:1180px){#root :where(.character-panel-fields,.character-advanced-fields){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1080px){#root .story-studio-shell .background-editor-workspace,#root .story-studio-shell .studio-form-grid{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .studio-form-grid>.wide{grid-column:auto}}@media(max-width:980px){:root{--ds-studio-nav: 184px}#root .story-studio-shell .studio-main{padding-inline:var(--ds-space-5)}#root .story-studio-shell .character-editor-layout{grid-template-columns:170px minmax(0,1fr);gap:var(--ds-space-5)}#root .story-studio-shell .character-look-library{grid-template-columns:repeat(3,minmax(120px,1fr))}}@media(max-width:760px){#root .page-content{padding-inline:var(--ds-space-4);padding-bottom:var(--ds-mobile-safe-bottom)}#root .app-shell:has(.story-studio-shell) .mobile-nav{display:none}#root .story-studio-shell{width:100%;max-width:100%;overflow-x:clip}#root .story-studio-shell .studio-main{padding:var(--ds-space-5) var(--ds-space-4) var(--ds-space-9)}#root .story-studio-shell .studio-footer{position:static;bottom:auto;margin-top:var(--ds-space-8);padding:var(--ds-space-4) 0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0}#root .story-studio-shell .character-editor-layout{grid-template-columns:1fr}#root .story-studio-shell .cast-editor-grid{position:static;display:flex;overflow-x:auto}#root .story-studio-shell .cast-editor-grid>button{min-width:160px}#root .story-studio-shell .character-look-library{grid-template-columns:repeat(2,minmax(0,1fr))}#root .character-visual-studio .character-look-empty{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "guide" "priority";gap:var(--ds-space-7);padding-block:var(--ds-space-7)}#root .character-visual-studio .character-look-guide{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-5)}#root .character-visual-studio .character-look-priority{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-1)}#root .character-visual-studio .character-visual-heading{grid-template-columns:minmax(0,1fr) var(--ds-control-height-compact);grid-template-areas:"title close";align-items:start;gap:var(--ds-space-4)}#root .character-visual-studio .character-visual-heading>div{grid-area:title}#root .character-visual-studio .character-visual-heading>button{grid-area:close;align-self:start;justify-self:end}#root .character-visual-studio.studio-modal{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100dvh;max-height:100dvh;padding:var(--ds-space-5);border:0;border-radius:0}#root :where(.detail-filter-row button,.detail-filter-head button,.section-tools button,.main-footer button,.search-scopes button,.category-tabs button,.creation-start button,.story-dialog-tabs button){min-height:var(--ds-control-height)}#root .story-studio-shell .look-trigger-rule,#root .story-studio-shell .expression-asset-list{grid-template-columns:1fr}#root :where(.studio-form-grid,.character-panel-fields,.character-advanced-fields,.secret-authoring-grid){grid-template-columns:1fr}#root .character-settings-modal .character-advanced-panel{grid-template-columns:1fr}#root .character-settings-modal .character-image-entry{align-items:flex-start;flex-direction:column}#root .account-language-setting{grid-template-columns:1fr;gap:var(--ds-space-3)}#root .asset-generate{grid-template-columns:minmax(0,1fr)}#root .asset-generate-actions{width:min(100%,320px)}#root .story-dialog{grid-template-columns:1fr;grid-template-rows:210px minmax(0,1fr)}#root .story-dialog .dialog-content{padding:var(--ds-space-6) var(--ds-space-5)}#root .story-promise-list ul{grid-template-columns:1fr;gap:var(--ds-space-2)}#root .story-promise-list li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:var(--ds-space-2)}#root .story-promise-list li b{margin:0}}@media(prefers-reduced-motion:reduce){#root *,#root *:before,#root *:after{scroll-behavior:auto;transition-duration:1ms;animation-duration:1ms;animation-iteration-count:1}}#root .story-detail-dialog{width:min(var(--ds-modal-wide-width),calc(100vw - (var(--ds-space-6) * 2)));height:min(var(--ds-modal-wide-height),calc(100dvh - (var(--ds-space-6) * 2)));display:block;overflow:hidden;border-radius:0 var(--ds-radius-overlay) var(--ds-radius-overlay) 0}#root .story-detail-dialog .story-detail-scroll{width:100%;height:100%;overflow-y:auto;scrollbar-gutter:stable}#root .story-detail-dialog .story-detail-hero{position:relative;min-height:var(--ds-story-detail-hero-height);display:block;isolation:isolate;overflow:hidden;background:var(--ds-canvas-raised)}#root .story-detail-dialog .story-detail-hero-copy{position:relative;z-index:4;width:min(62%,var(--ds-story-detail-copy-max));min-height:var(--ds-story-detail-hero-height);min-width:0;max-width:var(--ds-story-detail-copy-max);padding:var(--ds-space-10) var(--ds-space-8) var(--ds-space-9);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#root .story-detail-dialog .story-detail-hero-copy .eyebrow,#root .story-detail-dialog .story-detail-section-head>span{color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .story-detail-dialog .story-detail-hero-copy h3{margin:var(--ds-space-3) 0 0;color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:var(--ds-font-size-title-lg);font-weight:400;line-height:var(--ds-line-tight);letter-spacing:-.035em}#root .story-detail-dialog .story-detail-classification{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-2) var(--ds-space-4);margin:var(--ds-space-3) 0 var(--ds-space-2)}#root .story-detail-dialog .story-detail-engagement{display:flex;flex-wrap:wrap;gap:0;margin:var(--ds-space-4) 0 0}#root .story-detail-dialog .story-detail-classification>:is(b,span):not(.story-type-chips){position:relative;min-height:auto;padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-1);color:var(--ds-text-muted);border:0;background:transparent;font-size:var(--ds-font-size-min);line-height:var(--ds-line-body)}#root .story-detail-dialog .story-detail-engagement>div{min-width:5.5rem;padding-right:var(--ds-space-5)}#root .story-detail-dialog .story-detail-engagement>div+div{padding-left:var(--ds-space-5);border-left:1px solid var(--ds-line)}#root .story-detail-dialog .story-detail-engagement :is(dt,dd){margin:0}#root .story-detail-dialog .story-detail-engagement dt{display:flex;align-items:center;gap:var(--ds-space-1);color:var(--ds-text-muted);font-size:var(--ds-font-size-min);line-height:var(--ds-line-body)}#root .story-detail-dialog .story-detail-engagement dd{margin-top:var(--ds-space-1);color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:750;line-height:var(--ds-line-tight)}#root .story-detail-dialog .story-detail-classification>b{color:var(--ds-accent-strong);font-weight:700}#root .story-detail-dialog .story-detail-classification>b~span:before{content:"·";position:absolute;left:calc(var(--ds-space-2) * -1.25);color:var(--ds-text-faint)}#root .story-detail-dialog .story-detail-hero-copy .story-logline{max-width:32em;margin:var(--ds-space-2) 0 0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:520;line-height:1.65}#root .story-detail-dialog .story-detail-waku-point{max-width:34em;margin:var(--ds-space-5) 0 var(--ds-space-4)}#root .story-detail-dialog .story-detail-waku-point>span{color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .story-detail-dialog .story-detail-hero-copy .dialog-author.creator-credit{margin:0 0 var(--ds-space-2);color:var(--ds-text-body)}#root .story-detail-dialog .story-detail-hero-copy .primary-button{margin-top:var(--ds-space-6)}#root .story-detail-dialog .story-detail-hero-art{position:absolute;inset:0 0 0 auto;z-index:0;width:min(72%,860px);height:100%;aspect-ratio:auto;min-width:0;min-height:var(--ds-story-detail-hero-height);overflow:hidden;background:var(--ds-surface-media);border-radius:0;pointer-events:none}#root .story-detail-dialog .story-detail-hero-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;width:100%;height:100%;background:var(--ds-story-detail-image-blend);box-shadow:none}#root .story-detail-dialog .story-detail-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;background-color:var(--ds-canvas-raised);background-position:center;background-repeat:no-repeat;background-size:contain;filter:none;opacity:1;border-radius:0}#root .story-detail-dialog .story-detail-tabs{min-height:var(--ds-story-detail-tab-height);border-bottom:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}#root .story-detail-dialog .story-detail-tabs>div{width:min(100%,var(--ds-reading-max));min-height:var(--ds-story-detail-tab-height);margin:0 auto;padding:0 var(--ds-space-8);display:flex;align-items:stretch;gap:var(--ds-story-detail-tab-gap);overflow-x:auto}#root .story-detail-dialog .story-detail-tabs button{position:relative;flex:0 0 auto;min-height:var(--ds-story-detail-tab-height);padding:0;color:var(--ds-text-muted);border:0;background:transparent;font-size:var(--ds-font-size-label);font-weight:650;white-space:nowrap}#root .story-detail-dialog .story-detail-tabs button:after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;background:transparent}#root .story-detail-dialog .story-detail-tabs button[aria-selected=true]{color:var(--ds-accent-strong)}#root .story-detail-dialog .story-detail-tabs button[aria-selected=true]:after{background:var(--ds-accent)}#root .story-detail-dialog .story-detail-tabs button:hover{color:var(--ds-text-body)}#root .story-detail-dialog .story-detail-main{width:min(100%,var(--ds-reading-max));margin:0 auto;padding:var(--ds-space-10) var(--ds-space-8) var(--ds-space-11)}#root .story-detail-dialog .story-detail-main>section+section{margin-top:var(--ds-space-11)}#root .story-detail-dialog .story-detail-section-head h4{margin:var(--ds-space-2) 0 0;color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:var(--ds-font-size-title-md);font-weight:400;line-height:var(--ds-line-tight)}#root .story-detail-dialog .story-detail-section-head>p{margin:var(--ds-space-3) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-detail-dialog .story-detail-section-head>p strong{color:var(--ds-text-body);font-weight:650}#root .story-detail-dialog .story-detail-reader-role{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--ds-space-2)}#root .story-detail-dialog .story-detail-reader-role>span{color:var(--ds-accent-muted);font-weight:700}#root .story-detail-dialog .story-detail-about>.story-detail-description{margin-top:var(--ds-space-7)}#root .story-detail-dialog .story-detail-description{width:100%;max-width:none;display:grid;gap:var(--ds-space-4)}#root .story-detail-dialog .story-detail-description p,#root .story-detail-dialog .story-detail-prologue>p{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:var(--ds-story-detail-reading-line)}#root .story-detail-dialog .story-detail-description p:first-child{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:520;line-height:1.75}#root .story-detail-dialog .story-detail-cast-list{margin-top:var(--ds-space-7);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-6) var(--ds-space-8)}#root .story-detail-dialog .story-detail-cast-list article{min-width:0;padding:var(--ds-space-6) 0 0;border-top:var(--ds-border-width) solid var(--ds-line)}#root .story-detail-dialog .story-detail-cast-list article.has-image{display:grid;grid-template-columns:minmax(180px,42fr) minmax(0,58fr);gap:var(--ds-space-5);align-items:stretch}#root .story-detail-dialog .story-detail-cast-list figure{position:relative;width:100%;min-height:0;aspect-ratio:4 / 3;margin:0;overflow:hidden;border-radius:var(--ds-radius-media);background-color:var(--ds-surface-media);background-image:var(--ds-story-cast-background);background-position:center;background-size:cover;align-self:start}#root .story-detail-dialog .story-detail-cast-list figure img{width:100%;height:100%;display:block;object-fit:contain}#root .story-detail-dialog .story-detail-cast-list article.has-scene-image figure img{object-fit:cover}#root .story-detail-dialog .story-detail-cast-copy{min-width:0;align-self:stretch;display:flex;flex-direction:column}#root .story-detail-dialog .story-detail-cast-list header{display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--ds-space-2)}#root .story-detail-dialog .story-detail-cast-list header>span{display:block;width:100%;color:var(--ds-accent);font-size:var(--ds-font-size-min);font-weight:650;line-height:var(--ds-line-body)}#root .story-detail-dialog .story-detail-cast-list strong{display:block;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .story-detail-dialog .story-detail-cast-list p{margin:var(--ds-space-3) 0 0;color:var(--ds-text-body);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-detail-dialog .story-detail-cast-list dl{margin-top:var(--ds-space-3);display:grid;gap:var(--ds-space-2)}#root .story-detail-dialog .story-detail-cast-list dl>div{display:grid;grid-template-columns:52px minmax(0,1fr);gap:var(--ds-space-2)}#root .story-detail-dialog .story-detail-cast-list dt{color:var(--ds-text-muted);font-size:var(--ds-font-size-min)}#root .story-detail-dialog .story-detail-cast-list dd{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-min);line-height:var(--ds-line-body)}#root .story-detail-dialog .story-detail-character-chat,#root .story-detail-dialog .story-detail-character-chat:is(:hover,:focus-visible,:active){min-height:var(--ds-control-height);margin-top:auto;padding:0;align-self:flex-start;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-accent);border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;font:700 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui);text-align:start}#root .story-detail-dialog .story-detail-character-chat>svg{flex:0 0 auto}#root .story-detail-dialog .story-detail-character-chat>svg:last-child{color:var(--ds-text-muted)}#root .story-detail-dialog .story-detail-prologue{max-width:780px}#root .story-detail-dialog .story-detail-prologue>p{margin-top:var(--ds-space-6);color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:var(--ds-font-size-title-sm)}#root .story-detail-dialog .story-detail-prologue>p+p{margin-top:var(--ds-space-4)}#root .story-detail-dialog .story-detail-prologue>small{display:block;margin-top:var(--ds-space-4);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-detail-dialog .story-detail-related{min-width:0;overflow:hidden}#root .story-detail-dialog .story-detail-discovery>.story-detail-related{margin-top:var(--ds-space-9)}#root .story-detail-dialog .story-detail-discovery>.story-detail-related+.story-detail-related{margin-top:var(--ds-space-10)}#root .story-detail-dialog .story-detail-related-head h5{margin:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}#root .story-detail-dialog .story-detail-related-head p{margin:var(--ds-space-2) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-detail-dialog .story-detail-work-rail{margin-top:var(--ds-space-6);padding-bottom:var(--ds-space-2);display:grid;grid-auto-flow:column;grid-auto-columns:var(--ds-story-detail-work-width);gap:var(--ds-space-4);overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}#root .story-detail-dialog .story-detail-work-rail::-webkit-scrollbar{display:none}#root .story-detail-dialog .story-detail-work-rail>button{min-width:0;padding:0;display:grid;grid-template-rows:var(--ds-story-detail-work-image-height) auto auto auto;gap:var(--ds-space-1);text-align:left;color:var(--ds-text-body);border:0;background:transparent;scroll-snap-align:start}#root .story-detail-dialog .story-detail-work-rail .cover-art{position:relative;inset:auto;width:100%;height:var(--ds-story-detail-work-image-height);margin-bottom:var(--ds-space-2);border-radius:var(--ds-radius-media);background-size:var(--ds-cover-sprite-size);transition:transform var(--ds-transition),opacity var(--ds-transition)}#root .story-detail-dialog .story-detail-work-rail>button:hover .cover-art{transform:translateY(calc(var(--ds-space-1) * -1));opacity:.9}#root .story-detail-dialog .story-detail-work-rail>button>span{color:var(--ds-accent);font-size:var(--ds-font-size-min)}#root .story-detail-dialog .story-detail-work-rail>button>strong{overflow:hidden;color:var(--ds-text-strong);font-size:var(--ds-font-size-label);text-overflow:ellipsis;white-space:nowrap}#root .story-detail-dialog .story-detail-work-rail>button>small{color:var(--ds-text-muted);font-size:var(--ds-font-size-min)}@media(max-width:980px){#root .story-detail-dialog .story-detail-cast-list{grid-template-columns:1fr}#root .story-detail-dialog .story-detail-cast-list article.has-image{grid-template-columns:minmax(220px,38%) minmax(0,1fr)}}@media(max-width:760px){#root .story-detail-dialog{display:block;grid-template-columns:none;grid-template-rows:none}#root .story-detail-dialog .story-detail-hero{min-height:0;display:flex;flex-direction:column}#root .story-detail-dialog .story-detail-hero-copy{order:2;width:100%;min-height:0;max-width:none;padding:var(--ds-space-9) var(--ds-space-5) var(--ds-space-7)}#root .story-detail-dialog .story-detail-hero-art{position:relative;inset:auto;order:1;width:100%;height:auto;aspect-ratio:var(--ds-story-detail-media-ratio);min-height:0}#root .story-detail-dialog .story-detail-hero-art:after{display:none}#root .story-detail-dialog .story-detail-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}#root .story-detail-dialog .story-detail-main{padding:var(--ds-space-9) var(--ds-space-5) var(--ds-space-10)}#root .story-detail-dialog .story-detail-tabs>div{padding:0 var(--ds-space-5);gap:var(--ds-space-5)}#root .story-detail-dialog .story-detail-main>section+section{margin-top:var(--ds-space-10)}#root .story-detail-dialog .story-detail-cast-list{grid-template-columns:1fr;gap:var(--ds-space-6)}#root .story-detail-dialog .story-detail-cast-list article.has-image{grid-template-columns:1fr;gap:var(--ds-space-4)}#root .story-detail-dialog .story-detail-cast-list figure{min-height:0;aspect-ratio:var(--ds-story-detail-media-ratio)}#root .story-detail-dialog .story-detail-work-rail{grid-auto-columns:min(76vw,var(--ds-story-detail-work-width))}}@media(prefers-reduced-motion:reduce){#root .story-detail-dialog .story-detail-work-rail .cover-art{transition:none}}#root .story-studio-shell .gallery-studio{--illustration-copy-max: 760px;display:block;width:min(100%,var(--ds-reading-max))}#root .story-studio-shell .gallery-studio>.studio-section-copy{max-width:var(--illustration-copy-max);margin:0 0 var(--ds-space-8);padding:0}#root .story-studio-shell .gallery-studio>.studio-section-copy>span{display:block;margin-bottom:var(--ds-space-3);color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:750;line-height:var(--ds-line-action);letter-spacing:var(--ds-letter-kicker)}#root .story-studio-shell .gallery-studio>.studio-section-copy>h3{max-width:720px;margin:0;color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:var(--ds-font-size-title-md);font-weight:500;line-height:1.32;letter-spacing:-.025em}#root .story-studio-shell .gallery-studio>.studio-section-copy>p{max-width:var(--illustration-copy-max);margin:var(--ds-space-4) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body);line-height:1.75}#root .story-studio-shell .gallery-studio>.studio-ai-request{margin:0 0 var(--ds-space-9)}#root .story-studio-shell .gallery-studio .studio-ai-trigger{min-height:var(--ds-control-height);gap:var(--ds-space-3)}#root .story-studio-shell .gallery-studio .studio-ai-trigger strong{font-size:var(--ds-font-size-body);line-height:1.4}#root .story-studio-shell .gallery-studio .studio-ai-trigger small{font-size:var(--ds-font-size-caption);line-height:1.5}#root .story-studio-shell .illustration-catalog{display:block;margin:0;padding:0;border:0;background:transparent}#root .story-studio-shell .illustration-catalog .illustration-type-tabs{display:flex;align-items:center;gap:var(--ds-space-7);min-height:42px;margin:0 0 var(--ds-space-6);padding:0}#root .story-studio-shell .illustration-catalog .illustration-type-tabs button{position:relative;min-height:42px;padding:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-label);font-weight:650;line-height:42px;border:0;background:transparent;box-shadow:none}#root .story-studio-shell .illustration-catalog .illustration-type-tabs button:after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;background:transparent}#root .story-studio-shell .illustration-catalog .illustration-type-tabs button:hover,#root .story-studio-shell .illustration-catalog .illustration-type-tabs button.active,#root .story-studio-shell .illustration-catalog .illustration-type-tabs button[aria-selected=true]{color:var(--ds-text-strong)}#root .story-studio-shell .illustration-catalog .illustration-type-tabs button.active:after,#root .story-studio-shell .illustration-catalog .illustration-type-tabs button[aria-selected=true]:after{background:var(--ds-accent)}#root .story-studio-shell .illustration-catalog .unlock-gallery{margin:0}#root .story-studio-shell .illustration-catalog .unlock-gallery .add-gallery{min-height:40px;padding:0;gap:var(--ds-space-3);border:0;background:transparent;box-shadow:none}#root .story-studio-shell .illustration-catalog .unlock-gallery .add-gallery strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label);font-weight:700}#root .story-studio-shell .illustration-catalog .unlock-gallery .add-gallery span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .illustration-catalog>.studio-empty-state{margin:var(--ds-space-8) 0 var(--ds-space-10);padding:0}#root .story-studio-shell .gallery-studio>.generation-rules{max-width:var(--illustration-copy-max);margin:var(--ds-space-10) 0 0;padding:0;gap:var(--ds-space-3)}#root .story-studio-shell .gallery-studio>.generation-rules>span{color:var(--ds-text-strong);font-size:var(--ds-font-size-label);font-weight:700;line-height:1.4}#root .story-studio-shell .gallery-studio>.generation-rules>p{max-width:var(--illustration-copy-max);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:1.75}@media(max-width:620px){#root .story-studio-shell .gallery-studio>.studio-section-copy{margin-bottom:var(--ds-space-7)}#root .story-studio-shell .gallery-studio>.studio-ai-request{margin-bottom:var(--ds-space-8)}#root .story-studio-shell .illustration-catalog .illustration-type-tabs{gap:var(--ds-space-5);overflow-x:auto;scrollbar-width:none}#root .story-studio-shell .illustration-catalog .illustration-type-tabs::-webkit-scrollbar{display:none}}#root .work-filter-row{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none;background-color:transparent;background-image:none;margin-top:0;margin-bottom:0;padding:var(--ds-space-3) 0}#root :is(.work-status-tabs,.work-list-controls){min-width:0;display:flex;align-items:center;gap:var(--ds-space-2)}#root .work-status-tabs>button,#root .work-status-tabs>button:is(:hover,:focus-visible,:active){min-height:var(--ds-control-height);padding:0 var(--ds-space-4);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-canvas-raised)}#root .work-status-tabs>button.active{color:var(--ds-accent-strong);border-color:var(--ds-accent-muted);background:var(--ds-accent-wash)}#root .work-status-tabs>button span{color:var(--ds-text-faint);font-size:var(--ds-font-size-caption)}#root .work-list-controls label{min-width:0}#root .work-list-controls select{min-height:var(--ds-control-height);padding:0 calc(var(--ds-space-7) + var(--ds-space-1)) 0 var(--ds-space-3);color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background-color:var(--ds-surface-input)}#root .work-list-head{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5);margin-top:var(--ds-space-2);padding-bottom:var(--ds-space-3)}#root .work-list-head h2{min-width:0;margin:0;color:var(--ds-text-strong);font:650 var(--ds-font-size-body)/var(--ds-line-tight) var(--ds-font-ui)}#root .work-list-head select{min-height:var(--ds-control-height);padding:0 calc(var(--ds-space-6) + var(--ds-space-1)) 0 var(--ds-space-2);color:var(--ds-text-muted);border:0;background-color:transparent}@media(max-width:620px){#root .work-list-head{align-items:center;gap:var(--ds-space-3);padding-bottom:var(--ds-space-1)}#root .work-filter-row{align-items:stretch;flex-direction:column;gap:var(--ds-space-2);padding:var(--ds-space-2) 0}#root :is(.work-status-tabs,.work-list-controls){width:100%}#root .work-status-tabs>button{flex:0 0 auto;justify-content:center}#root .work-status-tabs{overflow-x:auto;scrollbar-width:none}#root .work-list-controls label{flex:1 1 0}#root .work-list-controls select{width:100%}}#root .story-studio-shell .character-planner{min-width:0;display:grid;align-items:start;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-5)}#root .story-studio-shell .cast-roster{min-width:0;display:grid;gap:var(--ds-space-3);position:static;padding:var(--ds-space-6)}#root .story-studio-shell .cast-roster .cast-editor-grid{min-height:0;max-height:min(52vh,var(--ds-cast-roster-height));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-3);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#root .story-studio-shell .cast-roster-card{min-width:0;min-height:128px;padding:var(--ds-space-3);display:grid;grid-template-rows:minmax(64px,1fr) var(--ds-control-height-compact);gap:var(--ds-space-3);border:var(--rule-waku) solid transparent;border-radius:var(--ds-radius-control);background:var(--ds-surface-subtle);transition:border-color .16s ease,background-color .16s ease}#root .story-studio-shell .cast-roster-card.active,#root .story-studio-shell .cast-roster-card[data-selected=true]{border-color:var(--ds-accent);background:var(--ds-accent-wash)}#root .story-studio-shell .cast-card-select{width:100%;min-width:0;min-height:64px;padding:0;display:grid;grid-template-columns:var(--ds-control-height) minmax(0,1fr);align-items:center;gap:var(--ds-space-3);color:var(--ds-text-body);border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}#root .story-studio-shell .cast-card-select:focus-visible{outline:2px solid var(--ds-accent);outline-offset:3px}#root .story-studio-shell .cast-roster-copy{margin:0;color:inherit;min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .cast-roster-copy>:is(strong,span){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .cast-card-status{min-width:0;min-height:var(--ds-control-height-compact);padding-top:var(--ds-space-2);display:flex;align-items:center;color:var(--ds-text-faint);border-top:var(--rule-waku) solid var(--color-waku-rule);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .cast-card-actions{min-width:0;min-height:var(--ds-control-height-compact);padding-top:var(--ds-space-2);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-2);border-top:var(--rule-waku) solid color-mix(in srgb,var(--ds-accent) 45%,var(--color-waku-rule))}#root .story-studio-shell .cast-card-actions>button{min-width:0;min-height:var(--ds-control-height-compact);padding:0 var(--ds-space-2);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-1);color:var(--ds-text-body);border:0;border-radius:var(--ds-radius-control);background:color-mix(in srgb,var(--ds-canvas) 66%,transparent);font:650 var(--ds-font-size-caption)/1 var(--ds-font-ui);white-space:nowrap}@media(hover:hover)and (pointer:fine){#root .story-studio-shell .cast-roster-card:not(.active):hover{border-color:var(--ds-line-strong);background:var(--ds-surface-input-hover)}#root .story-studio-shell .cast-card-actions>button:hover{color:var(--ds-accent);background:color-mix(in srgb,var(--ds-accent-wash) 78%,var(--ds-canvas))}}#root .story-studio-shell .cast-roster-add{width:max-content;min-width:210px}#root .story-studio-shell .relationship-preview{margin-top:var(--ds-space-9);padding-top:var(--ds-space-7);border-top:var(--rule-waku) solid var(--color-waku-rule)}#root .story-studio-shell .relationship-preview>header{display:flex;align-items:end;justify-content:space-between;gap:var(--ds-space-5)}#root .story-studio-shell .relationship-preview>header>div{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .relationship-preview>header span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:700}#root .story-studio-shell .relationship-preview>header strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .story-studio-shell .relationship-preview>header small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .relationship-preview>header>button{min-height:var(--ds-control-height-compact);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;background:transparent}#root .story-studio-shell .relationship-preview>header>button:is(:hover,:focus-visible){color:var(--ds-accent)}#root .story-studio-shell .relationship-preview-scroll{min-width:0;margin-top:var(--ds-space-6);overflow-x:var(--relationship-preview-overflow, auto);overscroll-behavior-inline:contain;scrollbar-color:var(--ds-line-strong) transparent;scrollbar-width:var(--relationship-preview-scrollbar, thin)}#root .story-studio-shell .relationship-preview-scroll:focus-visible{outline:2px solid var(--ds-accent);outline-offset:var(--ds-space-2)}#root .story-studio-shell .relationship-preview-canvas{position:relative;min-width:var(--relationship-preview-canvas-width, 760px);height:var(--relationship-preview-canvas-height, 360px);display:var(--relationship-preview-canvas-display, block);gap:var(--relationship-preview-canvas-gap, 0);padding:var(--relationship-preview-canvas-padding, 0);overflow:var(--relationship-preview-canvas-overflow, hidden);border:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas)}#root .story-studio-shell .relationship-preview-canvas>svg,#root .story-studio-shell .relationship-preview-labels{position:var(--relationship-preview-graphic-position, absolute);display:var(--relationship-preview-graphic-display, block);top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}#root .story-studio-shell .relationship-preview-canvas>svg line{vector-effect:non-scaling-stroke;stroke:var(--relationship-preview-line-stroke, var(--ds-line-strong));stroke-width:1}#root .story-studio-shell .relationship-preview-labels>span{position:var(--relationship-preview-label-position, absolute);max-width:var(--relationship-preview-label-width, 190px);padding:var(--ds-space-1) var(--ds-space-2);overflow:var(--relationship-preview-label-overflow, hidden);color:var(--ds-text-body);background:var(--ds-canvas);font-size:var(--ds-font-size-caption);font-weight:650;line-height:var(--ds-line-tight);text-overflow:var(--relationship-preview-label-overflow-mode, ellipsis);white-space:var(--relationship-preview-label-white-space, nowrap);transform:var(--relationship-preview-label-transform, translate(-50%, -50%))}#root .story-studio-shell .relationship-preview-node{position:var(--relationship-preview-node-position, absolute);width:var(--relationship-preview-node-width, 172px);min-height:76px;padding:var(--ds-space-3);display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:var(--ds-space-3);border:var(--rule-waku) solid var(--ds-line-strong);border-radius:var(--ds-radius-control);background:color-mix(in srgb,var(--ds-canvas) 94%,transparent);transform:var(--relationship-preview-node-transform, translateY(-50%))}#root .story-studio-shell .relationship-preview-node.selected{border-color:var(--ds-accent);background:color-mix(in srgb,var(--ds-accent-wash) 58%,var(--ds-canvas))}#root .story-studio-shell .relationship-preview-node>span{width:44px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:var(--ds-radius-control);background:var(--ds-surface-media)}#root .story-studio-shell .relationship-preview-node>span :is(img,.cover){width:100%;height:100%;object-fit:cover}#root .story-studio-shell .relationship-preview-node>div{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .relationship-preview-node :is(strong,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .relationship-preview-node strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .story-studio-shell .relationship-preview-node small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .relationship-preview-empty{position:absolute;right:var(--ds-space-6);bottom:var(--ds-space-5);left:var(--ds-space-6);min-width:0;min-height:44px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-3)}#root .story-studio-shell .relationship-preview-empty span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .relationship-preview-empty>button{min-height:var(--ds-control-height-compact);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-accent);border:0;background:transparent;white-space:nowrap}#root .story-studio-shell .asset-section-head>.stat-add-action{grid-area:count;align-self:center;min-height:var(--ds-control-height-compact);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;background:transparent;white-space:nowrap}#root .story-studio-shell .asset-section-head>.stat-add-action:is(:hover,:focus-visible){color:var(--ds-accent)}#root .story-studio-shell .stat-empty-action{margin:var(--ds-space-7) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .stat-editor{margin-top:var(--ds-space-7);padding-top:var(--ds-space-7);border-top:var(--rule-waku) solid var(--color-waku-rule)}#root .story-studio-shell .danger-text-action{min-height:var(--ds-control-height-compact);padding:0;display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-danger);border:0;background:transparent;white-space:nowrap}#root .story-studio-shell .stat-value-fields>span{grid-template-columns:minmax(0,1fr) minmax(92px,.34fr);gap:0}#root .story-studio-shell .stat-value-fields>span>input:first-child{border-radius:var(--ds-radius-control) 0 0 var(--ds-radius-control)}#root .story-studio-shell .stat-value-fields>span>input:last-child{border-left:0;border-radius:0 var(--ds-radius-control) var(--ds-radius-control) 0;color:var(--ds-text-muted)}@media(max-width:860px){#root .story-studio-shell .cast-roster .cast-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){#root .story-studio-shell .cast-roster .cast-editor-grid{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .cast-roster-add{width:100%}#root .story-studio-shell .relationship-preview{--relationship-preview-overflow: visible;--relationship-preview-scrollbar: none;--relationship-preview-canvas-width: 0;--relationship-preview-canvas-height: auto;--relationship-preview-canvas-display: grid;--relationship-preview-canvas-gap: var(--ds-space-3);--relationship-preview-canvas-padding: var(--ds-space-3);--relationship-preview-canvas-overflow: visible;--relationship-preview-graphic-position: static;--relationship-preview-graphic-display: contents;--relationship-preview-line-stroke: transparent;--relationship-preview-label-position: static;--relationship-preview-label-width: 100%;--relationship-preview-label-overflow: visible;--relationship-preview-label-overflow-mode: clip;--relationship-preview-label-white-space: normal;--relationship-preview-label-transform: none;--relationship-preview-node-position: static;--relationship-preview-node-width: 100%;--relationship-preview-node-transform: none}#root .story-studio-shell .relationship-preview>header{align-items:start;flex-direction:column}#root .story-studio-shell .stat-value-fields>span{grid-template-columns:minmax(0,1fr) 96px}}#root .story-studio-shell .style-comparison>div:first-child{gap:var(--ds-space-2)}#root .creation-step-label:has(+.creation-method){padding-bottom:0;border-bottom:0}#root .story-studio-shell .story-design-step>.style-comparison{margin-top:var(--ds-space-5);padding:var(--ds-space-6) 0 var(--ds-space-5);border:0;background:transparent}#root .story-studio-shell .style-comparison>div:last-child{margin-top:var(--ds-space-5);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-3)}#root .story-studio-shell .style-comparison>div:last-child>button,#root .story-studio-shell .style-comparison>div:last-child>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){position:relative;min-height:128px;padding:var(--ds-space-5) var(--ds-space-6);border:0;border-radius:var(--radius-waku-flow);background:var(--color-waku-choice-rest);box-shadow:none;backdrop-filter:blur(var(--blur-waku-choice)) saturate(112%);-webkit-backdrop-filter:blur(var(--blur-waku-choice)) saturate(112%);cursor:pointer;transition:background-color var(--dur-waku-fast) var(--ease-waku-out),color var(--dur-waku-fast) var(--ease-waku-out),opacity var(--dur-waku-fast) var(--ease-waku-out)}#root .story-studio-shell .style-comparison>div:last-child>button:after{content:"선택";position:absolute;top:var(--ds-space-4);right:var(--ds-space-5);display:block;color:var(--color-waku-text-muted);font-family:var(--font-waku-body);font-size:var(--ds-font-size-min);font-weight:700;line-height:var(--ds-line-tight);letter-spacing:0;pointer-events:none}#root .story-studio-shell .style-comparison>div:last-child>button:hover{background:var(--color-waku-choice-hover)}#root .story-studio-shell .style-comparison>div:last-child>button:focus-visible{outline:2px solid var(--color-waku-accent);outline-offset:2px}#root .story-studio-shell .style-comparison>div:last-child>button:active{background:var(--color-waku-surface-active);opacity:.86}#root .story-studio-shell .style-comparison>div:last-child>button:is(.active,[aria-pressed=true]){background:var(--color-waku-choice-selected)}#root .story-studio-shell .style-comparison>div:last-child>button:is(.active,[aria-pressed=true]):after{content:"선택됨";color:var(--color-waku-accent)}#root .story-studio-shell .style-comparison>div:last-child>button:disabled{opacity:.42;cursor:not-allowed}#root .story-studio-shell .style-comparison>div:last-child>button[aria-busy=true]{opacity:.66;cursor:progress}#root .story-studio-shell .style-comparison>div:last-child>button[data-state=error]{background:var(--color-waku-choice-error)}#root :is(.field-label,label)>em,#root .creation-charx-copy>span>em,#root .ending-rule-builder>div:first-child>span>em{display:inline;margin:0 0 0 var(--ds-space-1);padding:0;color:var(--color-waku-text-muted);border:0;border-radius:0;background:transparent;font-family:var(--font-waku-body);font-size:var(--ds-font-size-min);font-style:normal;font-weight:600;line-height:inherit;letter-spacing:0;white-space:nowrap}#root .field-label{display:inline-flex;align-items:baseline;flex-wrap:wrap;column-gap:0}#root :is(.field-label,label)>em.required{display:inline-flex;align-items:baseline;gap:3px;color:var(--color-waku-accent);font-style:normal;font-weight:750}#root :is(.field-label,label)>em.required>span{font-size:1.08em;line-height:1}#root .story-studio-shell .style-comparison>div:last-child>button[data-state=success]{background:var(--color-waku-choice-success)}@media(prefers-reduced-motion:reduce){#root .story-studio-shell .style-comparison>div:last-child>button{transition-duration:.01ms}}#root .creation-charx{margin-top:var(--ds-space-4);padding:var(--ds-space-5);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-4) var(--ds-space-5);color:var(--color-waku-text);border:var(--rule-waku) solid transparent;border-radius:var(--radius-waku-flow);background:var(--color-waku-surface-soft);transition:background-color var(--dur-waku-fast) var(--ease-waku-out)}#root .creation-charx+.creation-prompt{margin-top:var(--ds-space-6)}#root .creation-charx.active{background:var(--color-waku-choice-selected)}#root .creation-charx.error{border-color:var(--ds-danger)}#root .creation-charx-copy{display:grid;gap:var(--ds-space-1)}#root .creation-charx-copy>span{color:var(--color-waku-accent);font-size:var(--ds-font-size-min);font-weight:750;letter-spacing:.08em;text-transform:uppercase}#root .creation-charx-copy em{margin-left:var(--ds-space-1);color:var(--color-waku-text-muted);font-style:normal;letter-spacing:0}#root .creation-charx-copy strong{font-family:var(--font-waku-display);font-size:var(--ds-font-size-label)}#root .creation-charx-copy p,#root .creation-charx-copy small{max-width:64ch;margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .creation-charx-copy small{color:var(--color-waku-text-muted)}#root .creation-charx-upload{min-height:var(--ds-control-height);padding:0 var(--ds-space-4);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);color:var(--color-waku-text);border:var(--rule-waku) solid var(--color-waku-rule);border-radius:var(--radius-waku-flow);background:var(--color-waku-surface-active);cursor:pointer}#root .creation-charx-upload:focus-within{outline:2px solid var(--color-waku-accent);outline-offset:2px}#root .creation-charx-upload:has(input:disabled){opacity:.55;cursor:progress}#root .creation-charx-upload input{position:absolute;width:1px;height:1px;opacity:0}#root .creation-charx-result{grid-column:1 / -1;min-height:var(--ds-control-height);padding:var(--ds-space-3) var(--ds-space-4);display:flex;align-items:center;gap:var(--ds-space-3);text-align:left;color:var(--color-waku-text);border:0;border-radius:var(--radius-waku-flow);background:var(--color-waku-choice-selected)}#root .creation-charx-result>svg{color:var(--color-waku-accent)}#root .creation-charx-result>span{display:grid;gap:2px}#root .creation-charx-result small{color:var(--color-waku-text-muted)}#root .creation-charx-result>button{min-height:var(--ds-control-height);margin-left:auto;padding-inline:var(--ds-space-4);color:var(--color-waku-text);white-space:nowrap;border:var(--rule-waku) solid var(--color-waku-rule);border-radius:var(--radius-waku-flow);background:var(--color-waku-surface-active);cursor:pointer}#root .creation-charx-result>button:focus-visible{outline:2px solid var(--color-waku-accent);outline-offset:2px}#root .creation-charx-result>button:active{transform:translateY(1px)}#root .creation-charx-result>button:disabled{opacity:.55;cursor:not-allowed}#root .creation-charx-error,#root .playtest-launch-error{grid-column:1 / -1;margin:0;color:var(--ds-danger);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .creation-charx-warning{grid-column:1 / -1;margin:0;padding:var(--ds-space-3) var(--ds-space-4);color:var(--color-waku-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);border-radius:var(--radius-waku-flow);background:color-mix(in srgb,var(--color-waku-accent) 7%,transparent)}#root .media-upload-card>img{width:72px;height:72px;object-fit:cover;border-radius:var(--radius-waku-flow)}#root .story-studio-shell .cast-editor-grid>button>div>img{width:100%;height:100%;display:block;object-fit:cover}@media(max-width:680px){#root .creation-charx{grid-template-columns:minmax(0,1fr)}#root .creation-charx-upload{width:100%}#root .creation-charx-result{flex-wrap:wrap}#root .creation-charx-result>button{width:100%;margin-left:0}}@media(prefers-reduced-motion:reduce){#root .creation-charx{transition-duration:.01ms}}#root .story-studio-shell .reader-style-availability{width:100%;min-height:72px;margin-top:var(--ds-space-4);padding:var(--ds-space-4) var(--ds-space-5);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5);color:var(--color-waku-text);border:0;border-radius:var(--radius-waku-flow);background:var(--color-waku-choice-rest);box-shadow:none;text-align:left;cursor:pointer;transition:background-color var(--dur-waku-fast) var(--ease-waku-out),opacity var(--dur-waku-fast) var(--ease-waku-out)}#root .story-studio-shell .reader-style-availability>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .reader-style-availability>span>strong{color:var(--color-waku-text);font-size:var(--ds-font-size-label)}#root .story-studio-shell .reader-style-availability>span>small{color:var(--color-waku-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .reader-style-availability>i,#root .story-studio-shell .ai-permission-grid>button>i{position:relative;width:38px;height:22px;flex:0 0 38px;display:block;border:0;border-radius:999px;background:var(--ds-line-strong);box-shadow:none;font-style:normal;transition:background-color var(--dur-waku-fast) var(--ease-waku-out)}#root .story-studio-shell .reader-style-availability>i>em,#root .story-studio-shell .ai-permission-grid>button>i>em{position:absolute;top:var(--ds-space-1);left:var(--ds-space-1);width:14px;height:14px;display:block;border-radius:50%;background:var(--color-waku-text-muted);transform:translate(0);transition:transform var(--dur-waku-fast) var(--ease-waku-out),background-color var(--dur-waku-fast) var(--ease-waku-out)}#root .story-studio-shell .reader-style-availability[aria-pressed=true],#root .story-studio-shell .ai-permission-grid>button.enabled{color:var(--color-waku-text);background:var(--color-waku-choice-selected)}#root .story-studio-shell .reader-style-availability[aria-pressed=true]>i,#root .story-studio-shell .ai-permission-grid>button.enabled>i{background:var(--color-waku-accent)}#root .story-studio-shell .reader-style-availability[aria-pressed=true]>i>em,#root .story-studio-shell .ai-permission-grid>button.enabled>i>em{background:var(--ds-accent-ink);transform:translate(var(--ds-space-4))}#root .story-studio-shell .ai-policy-modes{margin-top:var(--ds-space-5);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-3);border:0;background:transparent}#root .story-studio-shell .ai-policy-modes>button,#root .story-studio-shell .ai-policy-modes>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){position:relative;min-height:104px;padding:var(--ds-space-5);display:grid;grid-template-columns:24px minmax(0,1fr);align-content:start;gap:var(--ds-space-1) var(--ds-space-3);color:var(--color-waku-text-muted);border:0;border-radius:var(--radius-waku-flow);background:var(--color-waku-choice-rest);box-shadow:none;text-align:left;cursor:pointer;transition:background-color var(--dur-waku-fast) var(--ease-waku-out),opacity var(--dur-waku-fast) var(--ease-waku-out)}#root .story-studio-shell .ai-policy-modes>button>.ai-policy-indicator{grid-row:1 / span 2;width:20px;height:20px;display:grid;place-items:center;color:transparent;border:var(--rule-waku) solid var(--ds-line-strong);border-radius:50%;background:transparent;font-style:normal}#root .story-studio-shell .ai-policy-modes>button>strong{color:var(--color-waku-text);font-size:var(--ds-font-size-label)}#root .story-studio-shell .ai-policy-modes>button>span{color:var(--color-waku-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .ai-policy-modes>button:is(.active,[aria-pressed=true]){color:var(--color-waku-text);background:var(--color-waku-choice-selected)}#root .story-studio-shell .ai-policy-modes>button:is(.active,[aria-pressed=true])>.ai-policy-indicator{color:var(--ds-accent-ink);border-color:transparent;background:var(--color-waku-accent)}#root .story-studio-shell .ai-permission-grid{margin-top:var(--ds-space-3);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-3)}#root .story-studio-shell .ai-permission-grid>button,#root .story-studio-shell .ai-permission-grid>button:is(:hover,:focus-visible,:active,.enabled){min-height:80px;padding:var(--ds-space-4) var(--ds-space-5);color:var(--color-waku-text-muted);border:0;border-radius:var(--radius-waku-flow);background:var(--color-waku-choice-rest);box-shadow:none;cursor:pointer;transition:background-color var(--dur-waku-fast) var(--ease-waku-out),opacity var(--dur-waku-fast) var(--ease-waku-out)}#root .story-studio-shell .ai-permission-grid>button>div>strong{color:var(--color-waku-text);font-size:var(--ds-font-size-label)}#root .story-studio-shell .ai-permission-grid>button>div>span{color:var(--color-waku-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}@media(hover:hover)and (pointer:fine){#root .story-studio-shell .reader-style-availability:not([aria-pressed=true]):hover,#root .story-studio-shell .ai-policy-modes>button:not(.active):hover,#root .story-studio-shell .ai-permission-grid>button:not(.enabled):not(:disabled):hover{background:var(--color-waku-choice-hover)}}#root .story-studio-shell .reader-style-availability:focus-visible,#root .story-studio-shell .ai-policy-modes>button:focus-visible,#root .story-studio-shell .ai-permission-grid>button:focus-visible{outline:2px solid var(--color-waku-accent);outline-offset:2px}#root .story-studio-shell .reader-style-availability:active,#root .story-studio-shell .ai-policy-modes>button:active,#root .story-studio-shell .ai-permission-grid>button:not(:disabled):active{opacity:.82}#root .story-studio-shell .reader-style-availability:disabled,#root .story-studio-shell .ai-policy-modes>button:disabled,#root .story-studio-shell .ai-permission-grid>button:disabled{opacity:.45;cursor:not-allowed}#root .story-studio-shell .reader-style-availability[aria-busy=true],#root .story-studio-shell .ai-policy-modes>button[aria-busy=true],#root .story-studio-shell .ai-permission-grid>button[aria-busy=true]{opacity:.66;cursor:progress}#root .story-studio-shell .reader-style-availability[data-state=error],#root .story-studio-shell .ai-policy-modes>button[data-state=error],#root .story-studio-shell .ai-permission-grid>button[data-state=error]{background:var(--color-waku-choice-error)}#root .story-studio-shell .reader-style-availability[data-state=success],#root .story-studio-shell .ai-policy-modes>button[data-state=success],#root .story-studio-shell .ai-permission-grid>button[data-state=success]{background:var(--color-waku-choice-success)}@media(max-width:760px){#root .story-studio-shell .ai-policy-modes,#root .story-studio-shell .ai-permission-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){#root .story-studio-shell .reader-style-availability,#root .story-studio-shell .reader-style-availability>i,#root .story-studio-shell .reader-style-availability>i>em,#root .story-studio-shell .ai-policy-modes>button,#root .story-studio-shell .ai-permission-grid>button,#root .story-studio-shell .ai-permission-grid>button>i,#root .story-studio-shell .ai-permission-grid>button>i>em{transition-duration:.01ms}}@media(hover:hover)and (pointer:fine){#root .story-studio-shell .genre-builder .genre-choice-row>button:not(.active):not(.primary):not(:disabled):hover,#root .story-studio-shell .genre-builder+.studio-choice-group>div>button:not(.active):not(:disabled):hover{color:var(--ds-text-strong);border-color:var(--ds-line-strong);background:var(--color-waku-choice-hover)}}#root .story-studio-shell .genre-builder .genre-choice-row>button:is(.active,.primary),#root .story-studio-shell .genre-builder .genre-choice-row>button:is(.active,.primary):is(:hover,:focus-visible,:active),#root .story-studio-shell .genre-builder+.studio-choice-group>div>button.active,#root .story-studio-shell .genre-builder+.studio-choice-group>div>button.active:is(:hover,:focus-visible,:active){color:var(--ds-accent-ink);border-color:var(--color-waku-accent);background:var(--color-waku-accent);box-shadow:inset 0 0 0 1px #2718172e}#root .story-studio-shell .genre-builder .genre-choice-row>button:focus-visible,#root .story-studio-shell .genre-builder+.studio-choice-group>div>button:focus-visible{outline:2px solid var(--ds-text-strong);outline-offset:3px}#root .story-studio-shell .genre-builder .genre-choice-row>button:not(:disabled):active,#root .story-studio-shell .genre-builder+.studio-choice-group>div>button:not(:disabled):active{transform:translateY(1px)}#root .story-studio-shell .genre-builder .genre-choice-row>button:disabled,#root .story-studio-shell .genre-builder+.studio-choice-group>div>button:disabled{opacity:.45;cursor:not-allowed}#root .story-studio-shell .genre-builder .genre-choice-row>button[aria-busy=true],#root .story-studio-shell .genre-builder+.studio-choice-group>div>button[aria-busy=true]{opacity:.66;cursor:progress}#root .story-studio-shell .genre-builder .genre-choice-row>button[data-state=error],#root .story-studio-shell .genre-builder+.studio-choice-group>div>button[data-state=error]{color:var(--ds-text-strong);border-color:var(--ds-danger);background:var(--color-waku-choice-error)}#root .story-studio-shell .genre-builder .genre-choice-row>button[data-state=success],#root .story-studio-shell .genre-builder+.studio-choice-group>div>button[data-state=success]{color:var(--ds-text-strong);border-color:var(--ds-success);background:var(--color-waku-choice-success)}@media(prefers-reduced-motion:reduce){#root .story-studio-shell .genre-builder .genre-choice-row>button,#root .story-studio-shell .genre-builder+.studio-choice-group>div>button{transform:none;transition-duration:.01ms}}#root .section-tools>button:not(.see-all),#root .section-tools>button:not(.see-all):is(:hover,:focus-visible,:active){width:var(--ds-control-height);min-width:var(--ds-control-height);height:var(--ds-control-height);min-height:var(--ds-control-height);padding:0;color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:50%;background:transparent;box-shadow:none;transform:none;transition:background-color var(--dur-waku-fast) var(--ease-waku-out),border-color var(--dur-waku-fast) var(--ease-waku-out),color var(--dur-waku-fast) var(--ease-waku-out),opacity var(--dur-waku-fast) var(--ease-waku-out),transform .1s var(--ease-waku-out)}@media(hover:hover)and (pointer:fine){#root .section-tools>button:not(.see-all):not(:disabled):hover{color:var(--ds-text-strong);border-color:var(--ds-line-strong);background:var(--ds-surface-subtle)}}#root .section-tools>button:not(.see-all):focus-visible{outline:2px solid var(--ds-accent);outline-offset:3px}#root .section-tools>button:not(.see-all):not(:disabled):active{color:var(--ds-text-strong);background:var(--ds-surface-input);transform:translateY(1px)}#root .section-tools>button:not(.see-all):disabled{opacity:.4;cursor:not-allowed}@media(prefers-reduced-motion:reduce){#root .section-tools>button:not(.see-all){transform:none;transition-duration:.01ms}}#root :where(.creation-start .creation-kind-grid,.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button,#root .story-studio-shell .background-library>button:not(.add-background),#root .character-studio .character-publish-panel>button:not(.primary-button){color:var(--ds-text-body);border-color:transparent;border-radius:var(--radius-waku-flow);background:var(--color-waku-choice-rest);box-shadow:none;cursor:pointer;transition:background-color var(--dur-waku-fast) var(--ease-waku-out),color var(--dur-waku-fast) var(--ease-waku-out),opacity var(--dur-waku-fast) var(--ease-waku-out),transform .1s var(--ease-waku-out)}#root .story-studio-shell .background-library>button:not(.add-background){padding:var(--ds-surface-content-padding);overflow:hidden}#root .story-studio-shell .background-library>button:not(.add-background)>.background-asset{width:calc(100% + var(--ds-surface-content-padding) + var(--ds-surface-content-padding));margin:calc(-1 * var(--ds-surface-content-padding)) calc(-1 * var(--ds-surface-content-padding)) var(--ds-space-3)}@media(hover:hover)and (pointer:fine){#root :where(.creation-start .creation-kind-grid,.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button:not(:disabled):hover,#root .story-studio-shell .background-library>button:not(.add-background):hover,#root .character-studio .character-publish-panel>button:not(.primary-button):hover{color:var(--ds-text-strong);background:var(--color-waku-choice-hover)}}#root :where(.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button:is(.active,.enabled,.selected,[aria-selected=true],[aria-pressed=true],[aria-checked=true]),#root .story-studio-shell .background-library>button.active,#root .character-studio .character-publish-panel>button.active:not(.primary-button){color:var(--color-waku-text);background:var(--color-waku-choice-selected)}#root :where(.creation-start .creation-kind-grid,.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button:focus-visible,#root .story-studio-shell .background-library>button:not(.add-background):focus-visible,#root .character-studio .character-publish-panel>button:not(.primary-button):focus-visible{outline:2px solid var(--color-waku-accent);outline-offset:3px}#root :where(.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button:not(:disabled):active,#root .story-studio-shell .background-library>button:not(.add-background):active,#root .character-studio .character-publish-panel>button:not(.primary-button):active{opacity:.84;transform:translateY(1px)}#root :where(.creation-start .creation-kind-grid,.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button:disabled{opacity:.44;cursor:not-allowed}#root :where(.creation-start .creation-kind-grid,.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button[aria-busy=true]{opacity:.66;cursor:progress}#root :where(.creation-start .creation-kind-grid,.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button[data-state=error]{background:var(--color-waku-choice-error)}#root :where(.creation-start .creation-kind-grid,.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button[data-state=success]{background:var(--color-waku-choice-success)}@media(prefers-reduced-motion:reduce){#root :where(.creation-start .creation-kind-grid,.creation-start .creation-playmode-grid,.creation-start .creation-method,.creation-start .creation-prompt>div,.story-studio-shell [data-flat-selection],.story-studio-shell .thought-mode-grid,.story-studio-shell .player-mode-grid,.story-studio-shell .fixed-protagonist-picker,.story-studio-shell .reader-option-grid,.story-studio-shell .ai-policy-modes,.story-studio-shell .ai-permission-grid,.story-studio-shell .system-preset-grid,.story-studio-shell .memory-view-tabs,.story-studio-shell .audio-type-cards,.story-studio-shell .ending-preset-grid,.story-studio-shell .story-start-modes,.story-studio-shell .avatar-policy>div:last-child)>button,#root .story-studio-shell .background-library>button:not(.add-background),#root .character-studio .character-publish-panel>button:not(.primary-button){transform:none;transition-duration:.01ms}}#root .creation-start .creation-prompt>div{gap:var(--ds-space-2)}#root .creation-start .creation-prompt>div>button,#root .story-studio-shell :is(.studio-substeps,.look-editor-tabs,.look-trigger-types,.asset-source-tabs,.illustration-type-tabs,.publish-mode-tabs):not([data-control-group=tabs])>button,#root .story-studio-shell .genre-choice-row>button,#root .story-studio-shell .studio-choice-group>div>button{min-width:max-content;min-height:var(--ds-control-height);padding:0 var(--ds-space-4);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);text-align:center;font-size:var(--ds-font-size-caption);line-height:var(--ds-line-tight);white-space:nowrap}#root .creation-draft-review{display:grid;gap:var(--ds-space-5)}#root .creation-draft-review-copy{padding-bottom:var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .creation-draft-review-copy strong,#root .creation-draft-review-list article strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .creation-draft-review-copy p,#root .creation-draft-review-list article p{margin:var(--ds-space-1) 0 0;color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .creation-draft-review-list{display:grid;gap:var(--ds-space-3)}#root .creation-draft-review-list article{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-4);padding:var(--ds-space-4) 0;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .creation-draft-review-list article[data-status=accepted]{border-color:var(--ds-accent-muted)}#root .creation-draft-review-list article>div:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:var(--ds-space-2)}#root .creation-draft-review-list button{min-height:var(--ds-control-height);padding:0 var(--ds-space-3);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:transparent;color:var(--ds-text-body);font:inherit}#root .creation-draft-review-list button[aria-pressed=true]{color:var(--ds-accent-strong);border-color:var(--ds-accent-muted);background:var(--ds-accent-wash)}#root .creation-draft-error{margin:var(--ds-space-4) 0 0;color:var(--ds-danger);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .creation-ai-loading{position:fixed;z-index:6;top:0;right:0;bottom:0;left:0;display:grid;align-content:center;justify-items:center;gap:var(--ds-space-3);padding:var(--ds-space-6);color:var(--ds-text-strong);background:color-mix(in srgb,var(--ds-canvas) 80%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);text-align:center}#root .creation-ai-loading strong{font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}#root .creation-ai-loading p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .creation-heartbeat{width:min(420px,78vw);height:var(--ds-space-11)}#root .creation-heartbeat svg{display:block;width:100%;height:100%;overflow:visible}#root .creation-heartbeat path{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;vector-effect:non-scaling-stroke}#root .creation-heartbeat .heartbeat-track{stroke:var(--ds-line-strong)}#root .creation-heartbeat .heartbeat-pulse{stroke:var(--ds-accent-strong);stroke-dasharray:72 420;stroke-dashoffset:492;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--ds-accent) 68%,transparent));animation:creation-heartbeat-travel 2.1s linear infinite}@keyframes creation-heartbeat-travel{to{stroke-dashoffset:0}}@container creation-image-plan (max-width: 680px){#root .creation-image-plan>div{grid-template-columns:minmax(0,1fr)}}@media(max-width:560px){#root .creation-ai-loading{padding:var(--ds-space-4)}}@media(prefers-reduced-motion:reduce){#root .creation-heartbeat .heartbeat-pulse{animation:none;stroke-dasharray:none}}@media(max-width:560px){#root .creation-start .creation-prompt>div>button,#root .story-studio-shell :is(.studio-substeps,.look-editor-tabs,.look-trigger-types,.asset-source-tabs,.illustration-type-tabs,.publish-mode-tabs):not([data-control-group=tabs])>button,#root .story-studio-shell .genre-choice-row>button,#root .story-studio-shell .studio-choice-group>div>button{padding-inline:var(--ds-space-3)}}@media(max-width:840px){#root .story-studio-shell .studio-main,#root .character-studio .compact-studio-layout>main{padding-inline:var(--ds-space-4)}}#root .story-studio-shell :is([data-flat-selection],.thought-mode-grid,.fixed-protagonist-picker,.reader-option-grid,.ai-policy-modes,.ai-permission-grid,.system-preset-grid,.memory-view-tabs,.audio-type-cards,.ending-preset-grid,.story-start-modes)>button,#root .story-studio-shell :is([data-flat-selection],.thought-mode-grid,.fixed-protagonist-picker,.reader-option-grid,.ai-policy-modes,.ai-permission-grid,.system-preset-grid,.memory-view-tabs,.audio-type-cards,.ending-preset-grid,.story-start-modes)>button:is(:hover,:focus-visible,:active,.active,.enabled,.selected,[aria-selected=true],[aria-pressed=true],[aria-checked=true]){border-radius:var(--radius-waku-flow)}#root .story-studio-shell .genre-builder .genre-choice-row>button,#root .story-studio-shell .genre-builder .genre-choice-row>button:is(:hover,:focus-visible,:active,.active,.primary),#root .story-studio-shell .genre-builder+.studio-choice-group>div>button,#root .story-studio-shell .genre-builder+.studio-choice-group>div>button:is(:hover,:focus-visible,:active,.active){position:relative;min-height:var(--ds-control-height);padding:0 var(--ds-space-3);color:var(--ds-text-body);border:var(--rule-waku) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--color-waku-choice-rest);box-shadow:none;font-weight:600;line-height:var(--ds-line-action);white-space:nowrap;cursor:pointer;transition:background-color var(--dur-waku-fast) var(--ease-waku-out),border-color var(--dur-waku-fast) var(--ease-waku-out),color var(--dur-waku-fast) var(--ease-waku-out),opacity var(--dur-waku-fast) var(--ease-waku-out),transform .1s var(--ease-waku-out);border-radius:var(--radius-waku-flow)}#root .story-studio-shell :is(.studio-substeps,.look-editor-tabs,.asset-source-tabs,.illustration-type-tabs,.publish-mode-tabs):not([data-control-group=tabs])>button,#root .story-studio-shell :is(.studio-substeps,.look-editor-tabs,.asset-source-tabs,.illustration-type-tabs,.publish-mode-tabs):not([data-control-group=tabs])>button:is(:hover,:focus-visible,:active,.active,[aria-selected=true],[aria-pressed=true]){border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--radius-waku-flow)}#root .story-studio-shell :is(.studio-substeps,.look-editor-tabs,.asset-source-tabs,.illustration-type-tabs,.publish-mode-tabs):not([data-control-group=tabs])>button:is(.active,[aria-selected=true],[aria-pressed=true]){border-color:var(--color-waku-accent)}#root .story-studio-shell [data-equal-controls]{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:var(--ds-space-3);border:0;background:transparent}#root .story-studio-shell [data-equal-controls]>button,#root .story-studio-shell [data-equal-controls]>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){width:100%;min-width:0;min-height:var(--ds-control-height);height:var(--ds-control-height);margin:0;padding:0 var(--ds-space-3);display:inline-flex;align-items:center;justify-content:center;color:var(--ds-text-muted);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--radius-waku-flow);background:var(--ds-canvas-raised);font-size:var(--ds-font-size-caption);font-weight:650;line-height:var(--ds-line-tight);white-space:nowrap;box-shadow:none;transform:none}#root .story-studio-shell [data-equal-controls]>button:is(.active,[aria-pressed=true]){color:var(--ds-text-strong);border-color:var(--color-waku-accent);background:var(--color-waku-choice-selected)}@media(max-width:900px){#root .story-studio-shell [data-equal-controls]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){#root .story-studio-shell [data-equal-controls]{grid-template-columns:repeat(2,minmax(0,1fr))}}#root .story-studio-shell .thought-mode-grid{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-3)}#root .story-studio-shell .thought-mode-grid>button,#root .story-studio-shell .thought-mode-grid>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){min-width:0;min-height:92px;padding:var(--ds-space-4) var(--ds-space-5);display:grid;align-content:center;justify-items:center;gap:var(--ds-space-2);text-align:center;border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--radius-waku-flow)}#root .story-studio-shell .thought-mode-grid>button:is(.active,[aria-pressed=true]){border-color:var(--color-waku-accent);background:var(--color-waku-choice-selected)}#root .story-studio-shell .thought-mode-grid>button :is(strong,span){width:100%;margin:0;text-align:center}@media(hover:hover)and (pointer:fine){#root .story-studio-shell .thought-mode-grid>button:not(.active):not(:disabled):hover{border-color:var(--ds-line-strong);background:var(--color-waku-choice-hover)}}#root .story-studio-shell .thought-mode-grid>button:focus-visible{outline:2px solid var(--color-waku-accent);outline-offset:3px}#root .story-studio-shell .thought-mode-grid>button:not(:disabled):active{transform:none}#root .story-studio-shell .thought-mode-grid>button:disabled{opacity:.45;cursor:not-allowed}#root .story-studio-shell .thought-mode-grid>button[aria-busy=true]{opacity:.66;cursor:progress}#root .story-studio-shell .thought-mode-grid>button[data-state=error]{border-color:var(--ds-danger);background:var(--color-waku-choice-error)}#root .story-studio-shell .thought-mode-grid>button[data-state=success]{border-color:var(--ds-success);background:var(--color-waku-choice-success)}@media(max-width:840px){#root .story-studio-shell .studio-substeps{justify-content:flex-start}}#root .story-studio-shell .studio-main>:is(.studio-substeps,.studio-main-head,[data-ui-flow]){width:min(100%,var(--ds-reading-max));max-width:var(--ds-reading-max);margin-inline:0}#root .story-studio-shell .studio-substeps{justify-content:flex-start;margin-block:0 var(--ds-space-6)}#root .story-studio-shell .studio-main-head{margin-block:0 var(--ds-space-6)}#root .story-studio-shell .author-heading:has(+.author-sections){margin-block-end:var(--ds-space-2)}#root .story-studio-shell [data-ui-flow]>:first-child{margin-block-start:0}#root .story-studio-shell .studio-ai-request{width:100%;margin:0}#root .story-studio-shell .studio-ai-request-body{width:min(100%,760px);max-width:760px;padding-top:var(--ds-space-4);display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:var(--ds-space-4)}#root .story-studio-shell .studio-ai-request-body>label{width:100%;min-width:0}#root .story-studio-shell .studio-ai-request-body textarea{width:100%;min-height:112px}#root .studio-ai-model{display:flex;align-items:baseline;gap:var(--ds-space-3);color:var(--ds-text-body)}#root .studio-ai-model span{color:var(--ds-text-strong);font-size:var(--ds-font-size-label);font-weight:700}#root .studio-ai-model small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .studio-ai-request-actions{width:100%;padding-top:var(--ds-space-5);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);border-top:0}#root .story-studio-shell .studio-ai-request-actions>small{max-width:540px}#root .story-studio-shell :is(.studio-ai-trigger,.studio-disclosure-trigger,.profession-survey-toggle,.inline-check)>:is(svg,input,.studio-disclosure-action){align-self:center}#root .story-studio-shell .studio-disclosure-action{display:inline-flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-3)}#root .story-studio-shell :is(.studio-disclosure-copy,.profession-survey-toggle>span){min-width:0;align-self:center}#root .story-studio-shell .studio-ai-request-actions>button{flex:0 0 auto;min-height:var(--ds-control-height)}#root .story-studio-shell .cast-roster-empty{min-height:calc(var(--ds-control-height) * 3 + var(--ds-space-6));place-content:center;justify-items:center;padding:var(--ds-space-5);color:var(--ds-text-faint);text-align:center;width:100%;min-height:200px;padding:var(--ds-space-8) 0;display:grid;place-content:center start;justify-items:start;gap:var(--ds-space-2);text-align:left;border:0;background:transparent;transition:none}#root .story-studio-shell .cast-roster-empty>strong{color:var(--ds-text-body);font-size:var(--ds-font-size-label);color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}#root .story-studio-shell .cast-roster-empty>span{max-width:520px;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .cast-roster-empty-action,#root .story-studio-shell .cast-roster-empty-action:is(:hover,:focus-visible,:active){width:max-content;min-height:var(--ds-control-height);margin-top:var(--ds-space-3);padding:0 var(--ds-space-4);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-on-accent);border:var(--ds-border-width) solid var(--ds-accent);border-radius:var(--ds-radius-control);background:var(--ds-accent);box-shadow:none}#root .story-studio-shell .cast-roster-empty-action.is-secondary,#root .story-studio-shell .cast-roster-empty-action.is-secondary:is(:hover,:focus-visible,:active){color:var(--ds-text-body);border-color:var(--ds-line);background:transparent}#root .story-studio-shell .memory-view-tabs{width:min(100%,560px);margin:0 0 var(--ds-space-8);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-4)}#root .story-studio-shell .memory-view-tabs>button,#root .story-studio-shell .memory-view-tabs>button:is(:hover,:focus-visible,.active,[aria-selected=true]){height:72px;min-height:72px;padding:var(--ds-space-2) 0 var(--ds-space-3);border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent}#root .story-studio-shell .memory-view-tabs>button:after{display:none}#root .story-studio-shell .memory-view-tabs>button:is(.active,[aria-selected=true]){color:var(--ds-text-strong);border-bottom-color:var(--ds-accent)}#root .story-studio-shell .active-memory-panel{min-width:0;display:grid;gap:var(--ds-space-7);opacity:1;animation:none}#root .story-studio-shell .active-memory-panel>:is(.studio-section-copy,.section-example-panel,.keyword-note-layout,.scene-builder-steps,.generation-rules,.scene-library,.scene-form-card,.studio-empty-state){margin-block:0}#root .story-studio-shell .studio-empty-state.studio-zero-state,#root .story-studio-shell .studio-empty-state.studio-zero-state.compact{width:min(100%,620px);min-height:0;margin:0;padding:var(--ds-space-5) 0;display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:0;text-align:left;border:0;background:transparent;transition:none}#root .story-studio-shell .studio-empty-state.studio-zero-state>:is(strong,p,button){grid-column:1;margin-inline:0}#root .story-studio-shell .studio-empty-state.studio-zero-state>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .story-studio-shell .studio-empty-state.studio-zero-state>p{max-width:560px;margin:var(--ds-space-2) 0 0;color:var(--ds-text-muted)}#root .story-studio-shell .studio-empty-state.studio-zero-state>button{margin-top:var(--ds-space-4)}@media(max-width:620px){#root .story-studio-shell .studio-ai-request-actions{align-items:stretch;flex-direction:column}#root .story-studio-shell .studio-ai-request-actions>button{width:100%}#root .story-studio-shell .memory-view-tabs{gap:var(--ds-space-3)}#root .story-studio-shell .memory-view-tabs>button small{display:none}}@media(max-width:560px){#root .story-studio-shell .thought-mode-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){#root .story-studio-shell .thought-mode-grid>button{transform:none;transition-duration:.01ms}}#root input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:var(--ds-control-height);margin:0;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer;accent-color:var(--ds-accent)}#root .ds-range-control{--ds-range-fraction: 0;position:relative;display:block;width:100%;min-width:0;height:var(--ds-control-height)}#root :is(.ds-range-track,.ds-range-fill){position:absolute;z-index:1;top:50%;left:calc(var(--ds-space-4) / 2);height:var(--ds-space-1);border-radius:var(--ds-radius-pill);transform:translateY(-50%);pointer-events:none}#root .ds-range-track{width:calc(100% - var(--ds-space-4));background:var(--ds-line-strong)}#root .ds-range-fill{z-index:2;width:calc(100% - var(--ds-space-4));background:var(--ds-accent);transform:translateY(-50%) scaleX(var(--ds-range-fraction, 0));transform-origin:left center;transition:none}#root .ds-range-control>input[type=range]{position:relative;z-index:3}#root input[type=range]::-webkit-slider-runnable-track{height:var(--ds-space-1);border:0;border-radius:var(--ds-radius-pill);background:transparent}#root input[type=range]::-moz-range-track{height:var(--ds-space-1);border:0;border-radius:var(--ds-radius-pill);background:transparent}#root input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:var(--ds-space-4);height:var(--ds-space-4);margin-top:calc((var(--ds-space-1) - var(--ds-space-4)) / 2);border:0;border-radius:50%;background:var(--ds-accent)}#root input[type=range]::-moz-range-thumb{width:var(--ds-space-4);height:var(--ds-space-4);border:0;border-radius:50%;background:var(--ds-accent)}#root input[type=range]:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}#root input[type=checkbox]{accent-color:var(--ds-accent)}#root :is(button,a[href],summary,select,[role=button],[role=tab],[role=radio],input[type=checkbox],input[type=radio],input[type=range]):not(:disabled):not([aria-disabled=true]){cursor:pointer}#root :is(button,input,select):disabled,#root [aria-disabled=true]{cursor:not-allowed}#root .page-intro.page-intro-action-near[data-has-action]{justify-content:flex-start;gap:var(--ds-space-7)}@media(max-width:640px){#root .page-intro.page-intro-action-near[data-has-action]>button{align-self:flex-start}}#root :where(.preference-choice-group,.preference-length-setting){margin:var(--ds-space-4) 0 0;padding:var(--ds-space-6) 0;display:grid;gap:var(--ds-space-4);border:0;border-bottom:var(--rule-waku) solid var(--color-waku-rule);background:transparent}#root :where(.preference-choice-group,.preference-length-setting)>legend{padding:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-body);font-weight:680}#root .preference-choice-group>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}#root .preference-choice-group button{min-height:var(--ds-control-height);padding:0 var(--ds-space-4);color:var(--ds-text-muted);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:transparent}#root .preference-choice-group button[aria-checked=true]{color:var(--ds-text-strong);border-color:var(--ds-accent);background:var(--ds-accent-wash)}#root .preference-length-setting>div:not(.length-picker){min-height:38px;display:grid;grid-template-columns:max-content minmax(0,1fr);align-content:start;align-items:baseline;gap:var(--ds-space-3)}#root .preference-length-setting>div:not(.length-picker)>strong{color:var(--ds-text-strong)}#root .preference-length-setting>div:not(.length-picker)>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .preference-length-setting>p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .story-studio-shell .character-asset-workspace.character-visual-studio.studio-modal{position:relative;inset:auto;width:min(var(--ds-modal-wide-width),calc(100vw - (var(--ds-space-6) * 2)));height:min(var(--ds-modal-wide-height),calc(100dvh - (var(--ds-space-6) * 2)));max-height:calc(100dvh - (var(--ds-space-6) * 2));padding:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-overlay)}@media(max-width:760px){#root .story-studio-shell .character-asset-workspace.character-visual-studio.studio-modal{width:calc(100vw - (var(--ds-space-3) * 2));height:calc(100dvh - var(--ds-topbar-height));max-height:calc(100dvh - var(--ds-topbar-height))}}#root .story-studio-shell .character-asset-workspace .character-look-detail .look-editor-tabs>button,#root .story-studio-shell .character-asset-workspace .character-look-detail .look-editor-tabs>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){min-width:0;min-height:44px;padding:0 0 var(--ds-space-3);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none}#root .story-studio-shell .character-asset-workspace .character-look-detail .look-editor-tabs>button.active,#root .story-studio-shell .character-asset-workspace .character-look-detail .look-editor-tabs>button[aria-pressed=true]{color:var(--ds-text-strong)}@media(min-width:621px)and (max-width:860px){#root .mobile-nav{position:fixed;z-index:35;left:var(--ds-space-3);right:var(--ds-space-3);bottom:var(--ds-space-2);height:var(--ds-mobile-nav-height);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-overlay);background:var(--ds-surface-glass);box-shadow:var(--ds-shadow-overlay)}#root .mobile-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-1)}}@media(max-width:860px){html{scroll-padding-bottom:var(--ds-mobile-safe-bottom)}#root .my-projects{padding-bottom:var(--ds-mobile-safe-bottom)}#root .my-projects>.project-card{scroll-margin-bottom:var(--ds-mobile-safe-bottom)}#root .main-footer{padding-bottom:var(--ds-mobile-safe-bottom);grid-template-columns:minmax(0,1fr);align-items:start;gap:var(--ds-space-3)}#root .main-footer>:is(.logo,p,div,span){grid-column:1;min-width:0}#root .main-footer>p{width:100%;max-width:36ch;margin:0;overflow-wrap:break-word;word-break:keep-all}#root .main-footer>div{flex-wrap:wrap}#root .main-footer>span{text-align:left}}#root .app-shell:has(.story-studio-shell) .mobile-nav,#root .app-shell:has(.character-player-page) .mobile-nav,#root .app-shell:has(.character-chat-player) .mobile-nav{display:none}#root .story-studio-shell :is(.fixed-protagonist-picker,.candidate-selection-list){width:100%;min-width:0;margin-top:var(--ds-space-4);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:0 var(--ds-space-6);border:0;background:transparent}#root .story-studio-shell .candidate-selection-list>label,#root .story-studio-shell .candidate-selection-list>label:is(:hover,:active,.active),#root .story-studio-shell .fixed-protagonist-picker>button,#root .story-studio-shell .fixed-protagonist-picker>button:is(:hover,:active,.active,[aria-pressed=true]){box-sizing:border-box;min-width:0;min-height:68px;margin:0;padding:var(--ds-space-3) 0;align-items:center;gap:var(--ds-space-3);color:var(--ds-text-body);text-align:left;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:transparent;box-shadow:none;transform:none}#root .story-studio-shell .candidate-selection-list>label,#root .story-studio-shell .fixed-protagonist-picker>button{display:flex;flex-direction:row;cursor:pointer}#root .story-studio-shell .candidate-selection-list input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:static;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;margin:0;display:grid;place-content:center;opacity:1;pointer-events:auto;border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:4px;background:transparent;box-shadow:none;cursor:pointer}#root .story-studio-shell .candidate-selection-list input[type=checkbox]:before{width:10px;height:8px;content:"";background:var(--ds-on-accent);clip-path:polygon(14% 44%,0 59%,38% 100%,100% 18%,84% 0,36% 69%);transform:scale(0)}#root .story-studio-shell .candidate-selection-list input[type=checkbox]:checked{border-color:var(--ds-accent);background:var(--ds-accent)}#root .story-studio-shell .candidate-selection-list input[type=checkbox]:checked:before{transform:scale(1)}#root .story-studio-shell :is(.candidate-selection-list>label,.fixed-protagonist-picker>button)>span{flex:1 1 0;min-width:0;display:grid;gap:var(--ds-space-1)}#root .story-studio-shell :is(.candidate-selection-list>label,.fixed-protagonist-picker>button) strong{overflow:hidden;color:var(--ds-text-strong);font-size:var(--ds-font-size-label);font-weight:700;line-height:var(--ds-line-body);text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell :is(.candidate-selection-list>label,.fixed-protagonist-picker>button) small{overflow:hidden;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .candidate-selection-list>label.active strong,#root .story-studio-shell .fixed-protagonist-picker>button[aria-pressed=true] strong{color:var(--ds-accent-muted)}#root .story-studio-shell .candidate-selection-list>label:has(input:focus-visible){outline:0}#root .story-studio-shell .candidate-selection-list input[type=checkbox]:focus-visible,#root .story-studio-shell .fixed-protagonist-picker>button:focus-visible{outline:2px solid var(--ds-focus);outline-offset:3px;box-shadow:none}@media(max-width:760px){#root .story-studio-shell :is(.fixed-protagonist-picker,.candidate-selection-list){grid-template-columns:minmax(0,1fr);gap:0}}}@layer design-system{#root .service-page{width:min(100%,var(--ds-content-max));min-height:calc(100dvh - var(--ds-topbar-height));margin-inline:auto;padding:var(--ds-space-8) clamp(var(--ds-space-5),4vw,var(--ds-space-10)) var(--ds-space-11);border:0;background:transparent;box-shadow:none}#root .service-page-header,#root .service-page-body{width:min(100%,var(--ds-reading-max));margin-inline:auto}#root .service-page-header{display:grid;gap:var(--ds-space-2);margin-block-end:var(--ds-space-9)}#root .service-page-back{min-height:var(--ds-control-height);justify-self:start;display:inline-flex;align-items:center;gap:var(--ds-space-2);margin-block-end:var(--ds-space-5);padding:0;color:var(--ds-text-muted);border:0;border-radius:0;background:transparent;box-shadow:none}#root .service-page-header h1{margin:0;color:var(--ds-text-strong);font:700 var(--ds-font-size-title-lg)/var(--ds-line-tight) var(--ds-font-ui);letter-spacing:var(--ds-letter-heading)}#root .policy-document,#root .policy-clauses{display:grid}#root .policy-document{gap:var(--ds-space-9)}#root .policy-document-intro{display:grid;gap:var(--ds-space-3);padding:0 0 var(--ds-space-7);border:0;border-bottom:1px solid var(--ds-line);background:transparent}#root .policy-document-intro strong{color:var(--ds-accent-soft);font-size:var(--ds-font-size-label)}#root .policy-document-intro p,#root .policy-clause p{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-reading);line-height:1.8;white-space:pre-line}#root .policy-clauses{gap:var(--ds-space-8)}#root .policy-clause h2{margin:0 0 var(--ds-space-3);color:var(--ds-text-strong);font:700 var(--ds-font-size-title-sm)/var(--ds-line-tight) var(--ds-font-ui)}#root .support-hub,#root .support-groups{display:grid}#root .support-hub{gap:var(--ds-space-7)}#root .support-categories{display:flex;align-items:center;gap:var(--ds-space-5);overflow-x:auto;scrollbar-width:none}#root .support-categories::-webkit-scrollbar{display:none}#root .support-categories button{position:relative;min-height:var(--ds-control-height-compact);padding:0 0 var(--ds-space-2);flex:0 0 auto;color:var(--ds-text-muted);font:700 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui);border:0;border-radius:0;background:transparent}#root .support-categories button:after{content:"";position:absolute;inset:auto 0 0;height:2px;background:transparent}#root .support-categories button[aria-pressed=true]{color:var(--ds-text-strong)}#root .support-categories button[aria-pressed=true]:after{background:var(--ds-accent)}#root .support-result-count{margin:calc(var(--ds-space-4) * -1) 0 0;color:var(--ds-text-faint);font-size:var(--ds-font-size-caption)}#root .support-groups{gap:var(--ds-space-10)}#root .support-group{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:var(--ds-space-9);margin:0;padding:0;border:0;background:transparent}#root .support-group>header{align-self:start}#root .support-group>header h2{margin:0 0 var(--ds-space-2);color:var(--ds-text-strong);font:700 var(--ds-font-size-title-sm)/var(--ds-line-tight) var(--ds-font-ui)}#root .support-group>header p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .support-answer{display:grid;gap:var(--ds-space-3);padding-inline-end:var(--ds-space-6)}#root .support-answer p{font-size:var(--ds-font-size-reading);line-height:1.8;max-width:78ch}#root .policy-document-intro span{color:var(--ds-text-faint);font-size:var(--ds-font-size-caption)}#root .policy-toc{display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:var(--ds-space-7);margin:0;padding:0 0 var(--ds-space-8);border:0;border-bottom:1px solid var(--ds-line);background:transparent}#root .policy-toc>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .policy-toc ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-3) var(--ds-space-7);margin:0;padding:0;list-style:none;counter-reset:policy-toc}#root .policy-toc li{min-width:0;counter-increment:policy-toc}#root .policy-toc a{display:grid;grid-template-columns:2ch minmax(0,1fr);gap:var(--ds-space-2);color:var(--ds-text-body);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body);text-decoration:none}#root .policy-toc a:before{content:counter(policy-toc,decimal-leading-zero);color:var(--ds-accent-soft);font-size:var(--ds-font-size-caption)}#root .policy-clause{max-width:76ch;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;scroll-margin-top:var(--ds-space-10)}#root .policy-clause p+p,#root .policy-clause p+ul,#root .policy-clause ul+p{margin-top:var(--ds-space-3)}#root .policy-clause ul{display:grid;gap:var(--ds-space-2);margin:0;padding-inline-start:var(--ds-space-5);color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:1.8}@media(max-width:900px){#root .service-page{padding-block-start:var(--ds-space-6)}#root .service-page-header{margin-block-end:var(--ds-space-7)}#root .policy-document,#root .policy-clauses{gap:var(--ds-space-7)}#root .support-group,#root .policy-toc{grid-template-columns:1fr;gap:var(--ds-space-5)}#root .policy-toc ol{grid-template-columns:1fr}}}@layer navigation{#root .story-studio-shell{container:studio / inline-size;min-width:0}#root>.focus-studio{margin:0;min-height:100dvh;padding:0;background:var(--ds-canvas)}#root .focus-studio>.focus-bar{position:relative;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:var(--ds-space-4);min-height:var(--ds-focus-bar);padding:var(--ds-space-2) var(--ds-space-7);border-bottom:var(--ds-border-width) solid var(--ds-line);background:var(--ds-canvas-raised)}.focus-bar .focus-crumb,.focus-bar .focus-actions{display:flex;min-width:0;align-items:center;gap:var(--ds-space-3)}#root .focus-bar .focus-crumb :is(button,button>span,strong){font-size:var(--ds-font-size-body);line-height:var(--ds-line-tight);letter-spacing:normal}#root .focus-bar .focus-crumb button>span{font-weight:500}.focus-bar .focus-crumb strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.focus-bar button{flex-shrink:0}#root .focus-studio>.focus-bar button{min-height:var(--ds-control-height)}#root .focus-studio .author-heading h2{font:700 var(--ds-focus-title)/var(--ds-line-tight) var(--ds-font-ui)}#root .focus-studio .focus-cast-fields textarea{min-height:var(--ds-focus-textarea);height:var(--ds-focus-textarea)}.focus-bar .focus-actions{justify-self:end}.focus-brand{color:var(--ds-text-body);font-size:var(--ds-font-size-body);font-weight:650}.focus-studio .focus-bar .focus-actions button{display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);padding-inline:var(--ds-space-3);background:transparent;color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control)}.focus-studio .focus-bar .focus-actions button:hover{background:var(--ds-surface-input-hover);color:var(--ds-text-strong)}.focus-preview{min-width:0;color:var(--ds-text-body);overflow-wrap:break-word}.focus-preview h3{font-size:var(--ds-font-size-label);color:var(--ds-text-muted);margin:0 0 var(--ds-space-4)}.focus-preview img{display:block;width:100%;max-height:45vh;object-fit:contain;margin-bottom:var(--ds-space-4)}.focus-portrait{position:relative;isolation:isolate;overflow:hidden;border-radius:var(--ds-radius-media);margin-bottom:var(--ds-space-4);background:var(--ds-canvas-raised)}.focus-portrait img:last-child{height:auto;aspect-ratio:4/5;position:relative;object-position:center bottom;object-fit:contain;margin:0}.focus-portrait img.focus-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;max-height:none;object-fit:cover;margin:0}.focus-chat-sample{display:flex;gap:var(--ds-space-3);align-items:start}.focus-chat-sample>img{width:var(--ds-control-height);height:var(--ds-control-height);border-radius:50%;object-fit:cover}.focus-chat-sample>div{min-width:0}.focus-preview .focus-chat-sample p{background:var(--ds-surface-input);border-radius:var(--ds-radius-media);padding:var(--ds-space-3) var(--ds-space-4)}.focus-preview strong,.focus-preview small{display:block}.focus-preview strong{font-size:var(--ds-font-size-title-sm);color:var(--character-accent, var(--ds-text-strong))}.focus-candidates{display:grid;gap:var(--ds-space-4);list-style:none;margin:0;padding:0}.focus-candidates li{display:flex;gap:var(--ds-space-3);align-items:center}.focus-candidates li img{width:var(--ds-space-10);height:var(--ds-space-11);object-fit:contain;object-position:center top;margin:0}.focus-cast-tools,.focus-cast-actions{display:flex;flex-wrap:wrap;align-items:end;gap:var(--ds-space-3)}.focus-cast-tools label{display:grid;flex:1 1 12rem;gap:var(--ds-space-2);min-width:0;max-width:30rem}.focus-cast-tools button:last-child{margin-inline-start:auto}.focus-cast-tools button,.focus-cast-actions button{display:inline-flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);background:var(--ds-surface-input);border-radius:var(--ds-radius-control);padding:0 var(--ds-space-3)}.focus-cast-actions{margin-top:var(--ds-space-5)}.focus-profile-copy{padding-top:var(--ds-space-6);border-top:var(--ds-border-width) solid var(--ds-line)}.focus-profile-copy h3{margin:0 0 var(--ds-space-4);font-size:var(--ds-font-size-title-sm)}.focus-preview small,.focus-preview p{margin:var(--ds-space-2) 0 0;color:var(--ds-text-muted);line-height:var(--ds-line-body)}.focus-preview p{white-space:pre-line;color:var(--ds-text-body);font-size:var(--ds-font-size-body)}.focus-workspace .focus-preview-toggle{display:none}#root .story-studio-shell :is(.studio-layout,.compact-studio-layout){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:start;gap:0;width:100%;max-width:var(--ds-studio-workspace-max);margin:0 auto;padding:0 var(--ds-space-7) var(--ds-space-7);min-width:0}#root .story-studio-shell .author-progress{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center;position:sticky;top:0;z-index:4;width:100%;min-width:0;max-height:none;padding:var(--ds-space-3) 0 0;border:0;border-bottom:var(--ds-border-width) solid var(--ds-line);border-radius:0;background:var(--ds-canvas);overflow:hidden}#root .story-studio-shell .author-progress-scroll{width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-gutter:stable;scroll-snap-type:inline proximity}#root .story-studio-shell .author-progress-track{--author-step-count: 6;--author-progress-min-width: 696px;--author-progress-start: 8.333%;--author-progress-fill: 0%;--author-progress-position: 8.333%;position:relative;display:grid;grid-template-columns:repeat(var(--author-step-count),minmax(0,1fr));min-width:max(100%,min(max(var(--author-progress-min-width),720px),calc(200cqw - 64px)));min-height:106px;padding:0}#root .story-studio-shell .author-progress-track:before,#root .story-studio-shell .author-progress-track:after{content:"";position:absolute;z-index:0;top:54px;left:var(--author-progress-start);height:2px;pointer-events:none}#root .story-studio-shell .author-progress-track:before{right:var(--author-progress-start);background:var(--ds-line-strong)}#root .story-studio-shell .author-progress-track:after{width:var(--author-progress-fill);background:var(--ds-accent);transition:width .36s cubic-bezier(.2,.8,.2,1)}#root .story-studio-shell .author-progress-track>button{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;min-height:106px;padding:calc(var(--ds-control-height) + var(--ds-space-7)) var(--ds-space-2) var(--ds-space-3);border:0;border-radius:0;background:transparent;color:var(--ds-text-muted);text-align:center;box-shadow:none;transform:none;scroll-snap-align:center;transition:color var(--ds-transition)}#root .story-studio-shell .author-progress-track>button:before{content:"";position:absolute;z-index:2;top:48px;left:50%;width:12px;height:12px;border:2px solid var(--ds-line-strong);border-radius:50%;background:var(--ds-canvas);transform:translate(-50%);transition:width var(--ds-transition),height var(--ds-transition),top var(--ds-transition),border-color var(--ds-transition),background-color var(--ds-transition)}#root .story-studio-shell .author-progress-track>button[data-state=current]:before{border-color:var(--ds-accent);background:var(--ds-canvas);box-shadow:0 0 0 4px color-mix(in srgb,var(--ds-accent) 14%,transparent)}#root .story-studio-shell .author-progress-track>button[data-complete=true]:before{border-color:var(--ds-accent);background:var(--ds-accent)}#root .story-studio-shell .author-progress-track>button[data-complete=true][data-state=current]:before{box-shadow:0 0 0 4px color-mix(in srgb,var(--ds-accent) 20%,transparent)}#root .story-studio-shell .author-progress-track>button>b{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#root .story-studio-shell .author-progress-track>button>span{display:block;min-width:0}#root .story-studio-shell .author-progress-track>button strong{display:block;overflow:hidden;color:inherit;font:650 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui);text-overflow:ellipsis;white-space:nowrap}#root .story-studio-shell .author-progress-track>button small{display:none}#root .story-studio-shell .author-progress-track>button[aria-current=step]{color:var(--ds-text-strong)}#root .story-studio-shell .author-progress-track>button:focus-visible:before{box-shadow:0 0 0 4px color-mix(in srgb,var(--ds-accent) 22%,transparent)}#root .story-studio-shell .author-progress-track>button:is(:focus-visible,:active){background:transparent;color:var(--ds-text-strong);box-shadow:none;transform:none}#root .story-studio-shell .author-progress-track>button:not([aria-current=step]):focus-visible:before{border-color:var(--ds-accent-muted);box-shadow:0 0 0 4px color-mix(in srgb,var(--ds-accent-muted) 16%,transparent)}#root .story-studio-shell .author-progress-marker{--author-guide-column: 0;--author-guide-row: 0;position:absolute;z-index:3;top:1px;left:var(--author-progress-position);display:grid;place-items:end center;width:calc(var(--ds-control-height) + var(--ds-space-3));height:calc(var(--ds-control-height) + var(--ds-space-3));overflow:hidden;pointer-events:none;transform:translate(-50%);transition:left .36s cubic-bezier(.2,.8,.2,1)}#root .story-studio-shell .author-progress-marker img{position:absolute;top:calc(var(--author-guide-row) * -100%);left:calc(var(--author-guide-column) * -100%);display:block;width:300%;max-width:none;height:200%;object-fit:fill;-webkit-user-select:none;user-select:none;animation:author-progress-step .36s steps(2,end) 1}#root .story-studio-shell .author-progress-marker[data-image-state=loading]{opacity:0}#root .story-studio-shell .author-progress-marker[data-image-state=ready],#root .story-studio-shell .author-progress-marker[data-image-state=fallback]{opacity:1}#root .story-studio-shell .author-progress-fallback{display:grid;place-items:center;width:var(--ds-control-height);height:var(--ds-control-height);margin-bottom:var(--ds-space-1);color:var(--ds-text-strong);font:800 var(--ds-font-size-caption)/1 var(--ds-font-ui);border:var(--rule-waku) solid var(--ds-accent-muted);border-radius:50%;background:var(--ds-canvas)}@keyframes author-progress-step{0%,to{transform:translateY(0)}25%{transform:translateY(-3px)}75%{transform:translateY(-2px)}}#root .story-studio-shell .author-stage-mood{display:inline-flex;align-items:center;gap:var(--ds-space-2);min-width:0;margin-bottom:var(--ds-space-3);color:var(--ds-text-muted);font:550 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui)}#root .story-studio-shell .author-stage-mood svg{flex:0 0 auto;color:var(--ds-accent)}@media(prefers-reduced-motion:reduce){#root .story-studio-shell .author-progress-track:after,#root .story-studio-shell .author-progress-marker{transition:none}#root .story-studio-shell .author-progress-marker img{animation:none}}@media(hover:hover)and (pointer:fine){#root .story-studio-shell .author-progress-track>button:not([aria-current=step]):hover{background:transparent;color:var(--ds-text-strong);box-shadow:none;transform:none}#root .story-studio-shell .author-progress-track>button:not([aria-current=step]):hover:before{border-color:var(--ds-accent-muted);box-shadow:0 0 0 4px color-mix(in srgb,var(--ds-accent) 14%,transparent)}}@container studio (max-width: 1080px){#root .story-studio-shell :is(.studio-layout,.compact-studio-layout){padding-inline:var(--ds-space-4)}#root .story-studio-shell :is(.studio-main,.compact-studio-layout>main){min-width:0;padding-inline:var(--ds-space-4)}}@container studio (max-width: 600px){#root .story-studio-shell :is(.studio-layout,.compact-studio-layout){padding-inline:var(--ds-space-2)}#root .story-studio-shell .author-stage-mood{font-size:var(--ds-font-size-caption)}}.author-sheet{grid-column:1;grid-row:2;scroll-margin-top:var(--ds-topbar-height);justify-self:center;width:100%;max-width:var(--ds-reading-max)}@container studio (min-width: 1081px){#root .focus-workspace[data-preview]>.author-sheet{display:grid;grid-template-columns:minmax(0,1fr) clamp(250px,22vw,var(--ds-focus-preview));column-gap:var(--ds-space-8);row-gap:0;align-items:start;max-width:none}.focus-workspace[data-preview] .author-sheet>*{grid-column:1;min-width:0}.focus-workspace[data-preview] .author-sheet>.focus-preview{grid-column:2;grid-row:1 / span 5;position:static;padding-inline-start:var(--ds-space-6);border-inline-start:var(--ds-border-width) solid var(--ds-line)}}@container studio (max-width: 600px){#root .focus-studio>.focus-bar{grid-template-columns:minmax(0,1fr) auto;gap:var(--ds-space-2);padding-inline:var(--ds-space-3)}.focus-bar .focus-brand,.focus-bar .focus-actions small,.focus-bar .focus-crumb button span,.focus-bar .focus-actions button:first-of-type span{display:none}}.author-profile-link{justify-self:start;display:inline-flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);padding:var(--ds-space-2) var(--ds-space-3);color:var(--ds-text-body);background:var(--ds-surface-input);border:0;border-radius:var(--ds-radius-control)}.author-profile-link img{width:var(--ds-control-height);aspect-ratio:1;border-radius:50%;object-fit:cover}.author-optional{grid-column:1 / -1;min-width:0}.author-optional:not([open])>:not(summary){display:none}.author-optional>summary{padding-block:var(--ds-space-3);color:var(--ds-text-body);font-size:var(--ds-font-size-body);font-weight:650;cursor:pointer}.author-optional[open]>summary{margin-bottom:var(--ds-space-4)}.author-optional>div+div{margin-top:var(--ds-space-6)}#root .focus-workspace .author-sheet>.author-heading{display:grid;gap:var(--ds-space-4);margin:0 0 var(--ds-space-6);padding:0 0 var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .focus-workspace .author-heading:has(.author-sections){padding-bottom:0}.author-sections{display:flex;flex-wrap:wrap;gap:0 var(--ds-space-5)}#root .author-heading .author-sections button{margin:0;padding:0 var(--ds-space-1);min-height:var(--ds-control-height);font:650 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui);color:var(--ds-text-muted);border:0;border-radius:0;background:transparent}#root .author-heading .author-sections button:hover{color:var(--ds-text-strong)}#root .author-heading .author-sections button[aria-current]{color:var(--ds-accent);box-shadow:inset 0 -2px currentColor}#root .focus-studio>.focus-workspace{width:100%;max-width:var(--ds-studio-workspace-max);margin-inline:auto}#root .focus-workspace>.author-sheet{justify-self:center;width:100%;max-width:var(--ds-focus-form);padding:var(--ds-divider-content-gap) 0 0;margin:0 auto;--ds-reading-max: 100%}#root .focus-workspace>.author-sheet[data-author-layout=focused]{max-width:var(--ds-focus-form)}#root .focus-workspace>.author-sheet[data-author-layout=wide]{max-width:var(--ds-focus-form-wide)}@container studio (max-width: 1080px){#root .focus-studio .focus-workspace{padding:var(--ds-space-4)}#root .focus-workspace>.author-sheet{margin:0 auto}.focus-workspace .focus-preview-toggle{display:inline-flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);margin-bottom:var(--ds-space-3)}.focus-preview{display:none}.focus-preview[data-expanded=true]{display:block;padding-block:var(--ds-space-4)}.focus-preview h3{display:none}}#root .focus-workspace>.author-sheet>.publish-studio.compact-publish{width:min(100%,880px);max-width:880px;justify-self:start}#root .focus-workspace .author-sheet .studio-section-copy{display:grid;gap:var(--ds-space-2);margin:0 0 var(--ds-space-5);padding:0}#root .focus-workspace .author-sheet .studio-section-copy h3{margin:0;font:680 var(--ds-font-size-title-sm)/var(--ds-line-tight) var(--ds-font-ui)}#root .focus-workspace .author-sheet .studio-section-copy p{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .focus-workspace .author-sheet [data-ui-flow]>.studio-section-copy{margin-block:0}.editor-preference{display:grid;min-width:0;grid-template-columns:minmax(8rem,.45fr) minmax(0,1fr);gap:var(--ds-space-3) var(--ds-space-5);align-items:baseline}.editor-preference>div{display:grid;gap:var(--ds-space-2);min-width:0}.editor-select-input{position:relative;min-width:0}.editor-select-button{width:100%;min-width:0;min-height:var(--ds-control-height);padding:0 var(--ds-space-3);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);font:inherit;text-align:start}.editor-select-button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-select-button>svg{flex:0 0 auto;color:var(--ds-text-muted);transition:transform var(--ds-motion-fast) ease}.editor-select-button[aria-expanded=true]>svg{transform:rotate(180deg)}.editor-select-button:is(:hover,:focus-visible),.editor-select-button[aria-expanded=true]{border-color:var(--ds-accent-muted);background:var(--ds-surface-input-hover)}.editor-select-button:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}.editor-select-popover{position:absolute;z-index:40;top:calc(100% + var(--ds-space-2));inset-inline:0;display:grid;padding:var(--ds-space-2);border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:var(--ds-radius-control);background:var(--ds-canvas-raised);box-shadow:var(--ds-shadow-overlay)}.editor-select-popover>button{width:100%;min-height:var(--ds-control-height);padding:0 var(--ds-space-3);display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);color:var(--ds-text-body);border:0;border-radius:var(--ds-radius-control);background:transparent;font:inherit;text-align:start}.editor-select-popover>button:is(:hover,:focus-visible){background:var(--ds-surface-input-hover)}.editor-select-popover>button.is-selected{color:var(--ds-text-strong);background:var(--ds-accent-wash)}.editor-select-popover>button:focus-visible{outline:2px solid var(--ds-focus);outline-offset:-2px}.editor-preference small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}.character-publish-panel .editor-preference{grid-template-columns:minmax(0,1fr)}@container studio (max-width: 600px){.editor-preference{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-2)}}#root .focus-workspace .author-media-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-6)}.author-media-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-5)}.author-media-portrait{display:grid;place-items:center;width:min(32%,9rem);aspect-ratio:1;background:var(--ds-surface-input);color:var(--ds-text-muted);border-radius:var(--ds-radius-media)}.author-media-portrait :is(img,svg){width:100%;height:100%;min-height:0;object-fit:contain}.author-media-tools{display:grid;align-content:center;justify-items:start;gap:var(--ds-space-2);min-width:0;flex:1 1 12rem}.author-media-tools h3{margin:0;font-size:var(--ds-font-size-title-sm)}.author-media-tools small{max-width:100%;overflow-wrap:break-word;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}.author-media-tools button{display:inline-flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);padding-inline:var(--ds-space-3)}.character-expression-authoring{display:grid;gap:var(--ds-space-4);padding-top:var(--ds-space-6);border-top:var(--ds-border-width) solid var(--ds-line)}.character-expression-authoring>header{display:flex;align-items:end;justify-content:space-between;gap:var(--ds-space-4)}.character-expression-authoring>header h3,.character-expression-authoring>header p{margin:0}.character-expression-authoring>header h3{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}.character-expression-authoring>header p{margin-top:var(--ds-space-1);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}.character-expression-authoring>header>span{flex:0 0 auto;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}.character-expression-authoring-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-4)}.character-expression-authoring-grid article{display:grid;min-width:0;gap:var(--ds-space-2)}.character-expression-authoring-grid article>strong{color:var(--ds-text-body);font-size:var(--ds-font-size-body)}.character-expression-authoring-image{display:grid;place-items:center;width:100%;aspect-ratio:1;overflow:hidden;color:var(--ds-text-muted);background:var(--ds-surface-input);border-radius:var(--ds-radius-media)}.character-expression-authoring-image :is(img,svg){display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}.character-expression-authoring-grid article>div:last-child{display:flex;flex-wrap:wrap;gap:var(--ds-space-2)}.character-expression-upload,.character-expression-authoring-grid button{display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-1);min-height:var(--ds-control-height-compact);padding-inline:var(--ds-space-2);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:transparent;color:var(--ds-text-body);font:inherit;font-size:var(--ds-font-size-caption);cursor:pointer}.character-expression-upload:is(:hover,:focus-within),.character-expression-authoring-grid button:is(:hover,:focus-visible){border-color:var(--ds-accent);color:var(--ds-text-strong)}.character-expression-generation{min-width:0}@container studio (max-width: 760px){.character-expression-authoring-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container studio (max-width: 390px){.character-expression-authoring-grid{grid-template-columns:minmax(0,1fr)}}.author-candidate-photo{width:var(--ds-control-height);height:var(--ds-control-height);object-fit:contain;object-position:center;flex-shrink:0;border-radius:var(--ds-radius-control)}#root .story-studio-shell .author-sheet .memory-editor[data-ui-flow]{display:grid;min-width:0;gap:var(--ds-section-content-gap)}.memory-tools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--ds-space-4)}.memory-editor h3{margin:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}.memory-editor h3 small{margin-inline-start:var(--ds-space-1);font-size:var(--ds-font-size-body);color:var(--ds-text-muted)}.memory-tools p,.memory-help p{margin:var(--ds-space-2) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}.memory-tools .memory-add{display:inline-flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);padding:0 var(--ds-space-4);background:var(--ds-accent);color:var(--ds-on-accent);border:0;border-radius:var(--ds-radius-control);font-weight:650}.memory-notes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:var(--ds-space-6);align-items:start}.memory-notes nav{display:grid;gap:var(--ds-space-2)}.memory-notes .memory-note-picker{display:none}.memory-notes nav button{display:grid;min-height:var(--ds-control-height);padding:var(--ds-space-3) var(--ds-space-4);gap:var(--ds-space-1);text-align:start;background:transparent;color:var(--ds-text-body);border-radius:var(--ds-radius-control)}.author-sheet .memory-notes nav button[aria-pressed=true]{color:var(--ds-text-strong);box-shadow:inset 3px 0 var(--ds-accent);background:var(--ds-surface-input-hover)}.memory-notes nav button:hover{background:var(--ds-surface-input-hover)}.memory-notes nav :is(strong,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memory-notes nav small{color:var(--ds-text-muted)}.memory-help{padding-top:var(--ds-divider-content-gap);border-top:var(--ds-border-width) solid var(--ds-line)}.memory-help dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:var(--ds-space-3) var(--ds-space-5);font-size:var(--ds-font-size-body)}.memory-help dd{margin:0;color:var(--ds-text-body)}@container studio (max-width: 800px){.memory-notes{grid-template-columns:minmax(0,1fr)}.memory-notes nav{display:none}.memory-notes .memory-note-picker{display:grid;gap:var(--ds-space-2)}}}@layer player{#root .waku-player-page{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;min-height:100dvh;height:100dvh;overflow:hidden;color:var(--ds-text-strong);background:var(--ds-canvas);font-family:var(--ds-font-ui)}#root .player-topbar{position:relative;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:var(--ds-player-topbar-height);padding:0 var(--ds-space-6);border-bottom:0;background:var(--ds-canvas-raised);-webkit-backdrop-filter:none;backdrop-filter:none}#root .story-play-page .player-topbar{height:var(--ds-player-topbar-height)}#root .player-title,#root .player-title>span,#root .player-tools{display:flex;align-items:center}#root .player-title{gap:var(--ds-space-3);min-width:0}#root .player-title>button,#root .player-tools>button,#root .player-side-panel>header button{display:inline-flex;align-items:center;justify-content:center;min-width:var(--ds-control-height-compact);height:var(--ds-control-height-compact);padding:0 var(--ds-space-3);color:var(--ds-text-body);border:0;background:transparent;cursor:pointer}#root .player-title>button:hover,#root .player-tools>button:hover,#root .player-tools>button[aria-pressed=true],#root .player-side-panel>header button:hover{color:var(--ds-accent-strong);background:var(--ds-surface-subtle)}#root .player-title>span{align-items:flex-start;flex-direction:column;min-width:0}#root .player-title strong{overflow:hidden;max-width:min(35vw,420px);font-size:var(--ds-font-size-body);text-overflow:ellipsis;white-space:nowrap}#root .player-title small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .player-tools{grid-column:-2;justify-self:end;gap:var(--ds-space-1)}#root .player-tools>button{gap:var(--ds-space-2);font-size:var(--ds-font-size-label)}@media(hover:hover)and (pointer:fine){#root .is-visual-novel .player-tools{opacity:.46;transition:opacity var(--ds-transition)}#root .is-visual-novel .player-topbar:hover .player-tools,#root .is-visual-novel .player-tools:focus-within{opacity:1}}#root .player-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.75fr);width:min(100%,var(--ds-player-content-max));height:calc(100dvh - var(--ds-player-topbar-height));margin:0 auto;overflow:hidden}#root .player-workspace.artwork-hidden{grid-template-columns:minmax(0,980px);justify-content:center}#root .player-stage{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;overflow:clip;background:var(--ds-surface-media)}#root .player-stage-art{position:relative;min-height:var(--ds-player-stage-min);overflow:hidden;background:var(--ds-media-tint) center / cover no-repeat}#root .player-stage-art>.cover-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-size:var(--ds-cover-sprite-size)}#root .player-stage-empty{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--ds-space-2);padding:var(--ds-space-6);color:var(--ds-text-faint);font-size:var(--ds-font-size-label);text-align:center}#root .player-stage-error{max-width:42rem;color:var(--ds-danger);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .player-stage-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--ds-media-overlay-soft);pointer-events:none}#root .player-stage-character{position:absolute;z-index:1;bottom:0;left:50%;width:min(60%,520px);max-height:92%;object-fit:contain;opacity:var(--ds-vn-sprite-active-opacity);filter:none;transform:translate(-50%);transition:opacity var(--ds-vn-sprite-transition),filter var(--ds-vn-sprite-transition)}#root .is-visual-novel .player-stage-character{top:var(--ds-vn-sprite-top);bottom:auto;width:var(--ds-vn-sprite-single-width);height:auto;max-width:none;max-height:none;object-fit:fill;object-position:center top}#root .is-visual-novel .player-stage-art.has-multiple-characters .player-stage-character{width:var(--ds-vn-sprite-multiple-width);height:auto;top:clamp(56px,10vh,116px)}#root .is-visual-novel .player-stage-art.has-active-speaker .player-stage-character[data-speaking=true]{z-index:2;opacity:var(--ds-vn-sprite-active-opacity);filter:none}#root .is-visual-novel .player-stage-art.has-active-speaker .player-stage-character[data-speaking=false]{opacity:var(--ds-vn-sprite-inactive-opacity);filter:brightness(var(--ds-vn-sprite-inactive-brightness)) saturate(var(--ds-vn-sprite-inactive-saturation)) blur(var(--ds-vn-sprite-inactive-blur))}#root .player-stage-character.position-left{right:auto;left:6%;transform:none}#root .player-stage-character.position-right{right:6%;left:auto;transform:none}#root .is-visual-novel .player-stage-art.has-multiple-characters .player-stage-character.position-left{right:auto;left:calc(50% - var(--ds-vn-sprite-multiple-width))}#root .is-visual-novel .player-stage-art.has-multiple-characters .player-stage-character.position-right{right:calc(50% - var(--ds-vn-sprite-multiple-width));left:auto}#root .is-visual-novel .player-stage-art[data-character-count="3"] .player-stage-character{width:calc(100% / 3)}#root .is-visual-novel .player-stage-art[data-character-count="3"] .player-stage-character.position-left{left:0}#root .is-visual-novel .player-stage-art[data-character-count="3"] .player-stage-character.position-center{left:50%}#root .is-visual-novel .player-stage-art[data-character-count="3"] .player-stage-character.position-right{right:0}#root .is-visual-novel .player-stage-art[data-character-count="4"] .player-stage-character{width:25%;transform:none}#root .is-visual-novel .player-stage-art[data-character-count="4"] .player-stage-character.position-left{left:0}#root .is-visual-novel .player-stage-art[data-character-count="4"] .player-stage-character.position-center_left{left:25%}#root .is-visual-novel .player-stage-art[data-character-count="4"] .player-stage-character.position-center_right{left:50%}#root .is-visual-novel .player-stage-art[data-character-count="4"] .player-stage-character.position-right{right:0}#root .is-visual-novel .player-stage-art[data-character-count="5"] .player-stage-character{width:20%;transform:none}#root .is-visual-novel .player-stage-art[data-character-count="5"] .player-stage-character.position-left{left:0}#root .is-visual-novel .player-stage-art[data-character-count="5"] .player-stage-character.position-center_left{left:20%}#root .is-visual-novel .player-stage-art[data-character-count="5"] .player-stage-character.position-center{left:40%}#root .is-visual-novel .player-stage-art[data-character-count="5"] .player-stage-character.position-center_right{left:60%}#root .is-visual-novel .player-stage-art[data-character-count="5"] .player-stage-character.position-right{right:0}#root .player-stage-character.position-center_left{left:32%}#root .player-stage-character.position-center_right{left:68%}@media(max-width:960px){#root .is-visual-novel .player-stage-art{--ds-vn-sprite-single-width: min(72%, 620px);--ds-vn-sprite-multiple-width: min(70%, 600px);--ds-vn-sprite-single-height: 82%;--ds-vn-sprite-multiple-height: 62%;--ds-vn-sprite-top: 6%}}@media(max-width:480px){#root .is-visual-novel .player-stage-art[data-character-count] .player-stage-character:is(.position-left,.position-center_left,.position-center,.position-center_right,.position-right){top:0;right:auto;left:50%;width:106vw;transform:translate(-50%)}#root .is-visual-novel .player-stage-art.has-active-speaker .player-stage-character[data-speaking=false],#root .is-visual-novel .player-stage-art:not(.has-active-speaker) .player-stage-character{opacity:0}}@media(prefers-reduced-motion:reduce){#root .player-stage-character{transition:none}}#root .player-stage-background,#root .player-stage-cg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}#root .player-stage-cg{object-fit:contain;background:var(--ds-media-tint)}#root .player-dialogue{min-height:146px;padding:var(--ds-space-6) var(--ds-space-7);border-top:1px solid var(--ds-line);background:var(--ds-surface-overlay)}#root .player-dialogue span{display:block;margin-bottom:var(--ds-space-2);color:var(--ds-accent-strong);font-size:var(--ds-font-size-label);font-weight:800}#root .player-dialogue p{margin:0;color:var(--ds-text-strong);font-family:var(--vn-dialogue-font, var(--ds-font-ui));font-size:18px;line-height:var(--ds-line-body)}#root .player-session{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;min-width:0;min-height:0;padding:var(--ds-space-6);border-left:1px solid var(--ds-line);background:var(--ds-canvas-raised)}#root .player-session-foot button{display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-muted);border:0;background:transparent;font:inherit;font-size:var(--ds-font-size-caption);cursor:pointer}#root .player-transcript{min-height:0;overflow-y:auto;padding:var(--ds-space-2) var(--ds-space-2) var(--ds-space-5) 0;scrollbar-gutter:stable}#root .player-entry{max-width:92%;margin:0 0 var(--ds-space-5)}#root .player-entry small{display:block;margin-bottom:var(--ds-space-1);color:var(--player-speaker-accent, var(--ds-accent-strong));font-size:var(--ds-font-size-caption);font-weight:750}#root .player-entry p{margin:0;color:var(--ds-text-body);font-family:var(--ds-font-story);font-size:15px;line-height:var(--ds-line-body);white-space:pre-wrap}#root .player-entry.user{padding-left:var(--ds-space-3);border-left:2px solid var(--player-speaker-accent, var(--ds-accent-muted))}#root .player-entry.user p{color:var(--ds-text-strong)}#root .player-entry.narration p{color:var(--ds-text-muted)}#root .player-entry.thought small{color:var(--ds-text-faint)}#root .player-entry.thought p{color:var(--ds-text-muted);font-style:italic}#root .player-empty-log{margin:var(--ds-space-7) 0;color:var(--ds-text-muted);text-align:center}#root .player-error{margin:var(--ds-space-3) 0;color:var(--ds-danger);font-size:var(--ds-font-size-label)}#root .player-choices{width:min(100%,760px);margin-inline:auto;display:grid;gap:var(--ds-space-2);padding:var(--ds-space-3) 0}#root .player-choices button{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-2);min-height:46px;padding:0 var(--ds-space-3);color:var(--ds-text-body);border:0;border-radius:12px;background:var(--ds-surface-input);text-align:left;cursor:pointer}#root .player-choices button:hover{color:var(--ds-text-strong);background:var(--ds-surface-input-hover)}#root .player-choices small{color:var(--ds-accent-muted)}#root .player-composer,#root .character-composer{display:block}#root .player-composer textarea,#root .character-composer textarea{width:100%;min-height:52px;height:52px;max-height:124px;resize:vertical;margin:0;padding:var(--ds-space-3) calc(var(--ds-control-height) + var(--ds-space-3)) var(--ds-space-3) var(--ds-space-4);border:1px solid var(--ds-line);border-radius:14px;outline:0;background:var(--ds-surface-input);font:inherit;font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .player-composer textarea:focus,#root .character-composer textarea:focus{box-shadow:var(--ds-focus-ring-form)}#root .player-composer>label,#root .character-composer>label{position:relative;min-width:0;display:grid}#root .player-composer>label>button,#root .character-composer>label>button{position:absolute;right:12px;bottom:50%;width:var(--ds-control-height);height:var(--ds-control-height);display:grid;place-items:center;padding:0;transform:translateY(50%);color:var(--ds-accent);border:0;background:transparent;cursor:pointer}#root .player-composer>label>button:hover,#root .character-composer>label>button:hover{color:var(--ds-accent-strong);background:transparent}#root .player-composer-shell{display:grid;min-width:0;gap:var(--ds-space-2)}#root .player-composer-tools{min-height:34px;display:flex;align-items:center;gap:var(--ds-space-2)}#root .player-composer-tools button{display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);padding:0 var(--ds-space-3);color:var(--ds-text-muted);border:1px solid var(--ds-line);border-radius:var(--ds-radius-pill);background:color-mix(in srgb,var(--ds-surface-input) 82%,transparent);font:650 var(--ds-font-size-caption)/1 var(--ds-font-ui);white-space:nowrap;cursor:pointer}#root .player-composer-tools button svg{display:block;flex:0 0 auto}#root .player-composer-tools button:hover,#root .player-composer-tools button[aria-pressed=true]{color:var(--ds-text-strong);border-color:var(--ds-accent-muted);background:var(--ds-surface-subtle)}#root .player-composer-tools>.player-model-chip{margin-left:auto;padding:var(--ds-space-1) var(--ds-space-2);border:0;border-radius:12px;background:var(--ds-surface-input)}#root .player-model-chip>span{display:grid;gap:var(--ds-space-1);text-align:left}#root .player-model-chip strong{color:var(--ds-text-strong);font-size:11px}#root .player-model-chip small{color:var(--ds-text-muted);font-size:11px}#root .player-composer-tools>.player-choice-back{color:var(--ds-accent);border:0;background:transparent}#root .player-session-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);padding-top:var(--ds-space-3);color:var(--ds-text-faint);font-size:var(--ds-font-size-caption)}#root .player-session-foot>div{display:flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-3)}#root .player-session-foot button:disabled{opacity:.4;cursor:default}#root .player-regenerate-action{display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);min-height:34px;padding:0 var(--ds-space-3);color:var(--ds-text-muted);border:0;border-radius:var(--ds-radius-control);background:transparent;font:650 var(--ds-font-size-caption)/1 var(--ds-font-ui);cursor:pointer}#root .player-regenerate-action:hover{color:var(--ds-text-strong);background:var(--ds-surface-subtle)}#root .player-regenerate-action:disabled{opacity:.4;cursor:default}#root .player-entry-copy{min-width:0}#root .story-play-page.is-story-chat{--story-chat-topbar-height: 64px;--ds-player-tablet-topbar-height: 64px;--ds-player-mobile-topbar-height: 64px}#root .story-play-page.is-story-chat .player-topbar{height:var(--story-chat-topbar-height);min-height:var(--story-chat-topbar-height);padding:0 clamp(var(--ds-space-2),3vw,var(--ds-space-7));grid-template-rows:1fr}#root .story-play-page.is-story-chat .player-title{grid-row:1;grid-column:1;gap:var(--ds-space-2)}#root .story-play-page.is-story-chat .player-title strong{max-width:calc(100vw - 200px)}#root .story-play-page.is-story-chat .story-chat-tools{grid-row:1;grid-column:2;width:auto;overflow:visible}#root .story-play-page.is-story-chat .story-chat-tools>button{min-width:40px;padding-inline:var(--ds-space-2)}#root .story-chat-tools-more,#root .is-visual-novel .player-tools-more{position:relative}#root .story-chat-tools-more>summary,#root .is-visual-novel .player-tools-more>summary{width:44px;height:44px;display:grid;place-items:center;border-radius:var(--ds-radius-control);cursor:pointer;list-style:none}#root .story-chat-tools-more>summary::-webkit-details-marker,#root .is-visual-novel .player-tools-more>summary::-webkit-details-marker{display:none}#root .story-chat-tools-more>summary:is(:hover,:focus-visible),#root .story-chat-tools-more[open]>summary,#root .is-visual-novel .player-tools-more>summary:is(:hover,:focus-visible),#root .is-visual-novel .player-tools-more[open]>summary{color:var(--ds-text-strong);background:var(--ds-surface-input-hover)}#root .story-chat-tools-more[open]>div,#root .is-visual-novel .player-tools-more[open]>div{position:absolute;z-index:50;top:calc(100% + var(--ds-space-2));right:0;min-width:var(--player-tools-menu-width, 168px);padding:var(--ds-space-2);display:grid;gap:var(--ds-space-1);border:1px solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-overlay)}#root .story-chat-tools .story-chat-tools-more>div>button,#root .is-visual-novel .player-tools-more>div>button{width:100%;min-height:44px;display:flex;align-items:center;gap:var(--ds-space-3);padding:0 var(--ds-space-3);border:0;background:transparent}#root .story-chat-tools .story-chat-tools-more>div>button:is(:hover,:focus-visible),#root .is-visual-novel .player-tools-more>div>button:is(:hover,:focus-visible,[aria-pressed=true]){background:var(--ds-surface-input-hover)}#root .is-story-chat .story-chat-reader{display:block;height:calc(100dvh - var(--story-chat-topbar-height));overflow-x:hidden;overflow-y:auto}#root .is-story-chat .player-session{width:min(100%,720px);min-height:100%;margin:0 auto;padding:clamp(var(--ds-space-5),3vw,var(--ds-space-7)) var(--ds-space-4) max(var(--ds-space-5),env(safe-area-inset-bottom));display:block;border:0;background:transparent}#root .is-story-chat .player-transcript{overflow:visible;padding:0}#root .is-story-chat .story-chat-event{max-width:100%}#root .is-story-chat :is(.story-chat-event p,.story-chat-choice-prompt>div){font-size:17px;line-height:1.75;word-break:keep-all}#root .story-chat-scene-figure{position:relative;width:100%;aspect-ratio:16 / 9;margin:0 0 var(--ds-space-6);overflow:hidden;border-radius:var(--ds-radius-media);background:var(--ds-media-tint)}#root .story-chat-scene-figure>img{width:100%;height:100%;display:block;object-fit:cover}#root .story-chat-scene-figure.is-loading>img{opacity:0}#root .story-chat-scene-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}#root .story-chat-scene-error{display:flex;align-items:center;gap:var(--ds-space-3)}#root .is-story-chat .player-generation-status,#root .is-story-chat .story-chat-choice-prompt,#root .is-story-chat :is(.player-choices,.player-composer-shell),#root .story-chat-failure{width:100%;margin-top:var(--ds-space-7)}#root .story-chat-info{margin-top:var(--ds-space-7);padding-top:var(--ds-space-5);border-top:1px solid var(--ds-line)}#root .story-chat-info h2{margin:0 0 var(--ds-space-3);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-chat-info dl{display:grid;gap:var(--ds-space-2);margin:0}#root .story-chat-info dl>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:var(--ds-space-3)}#root .story-chat-info :is(dt,dd){margin:0;font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .story-chat-info dt{color:var(--ds-text-muted)}#root .is-story-chat .player-choices{padding:0;gap:0;border-top:1px solid var(--ds-line)}#root .is-story-chat .player-choice-option{display:grid;grid-template-columns:minmax(0,1fr) 44px;border-bottom:1px solid var(--ds-line);border-radius:0}#root .is-story-chat .player-choice-option>.player-choice-submit{min-height:56px;padding:0 var(--ds-space-2);border-radius:0;background:transparent}#root .is-story-chat .player-choice-option>.player-choice-edit{position:static;align-self:stretch;transform:none;border-radius:0}#root .is-story-chat .player-choice-option>:is(.player-choice-submit,.player-choice-edit):is(:hover,:focus-visible){background:var(--ds-surface-input-hover)}#root .is-story-chat .player-direct-input-toggle{grid-template-columns:minmax(0,1fr);margin-top:var(--ds-space-3);border:0;background:transparent;white-space:nowrap}#root .story-chat-failure{padding-top:var(--ds-space-5);border-top:1px solid var(--ds-line)}#root .story-chat-recovery{display:flex;flex-wrap:wrap;gap:var(--ds-space-2)}#root .story-chat-recovery:empty{display:none}#root .is-story-chat .player-session-foot{margin-top:var(--ds-space-5)}#root .is-story-chat .player-side-panel{top:var(--story-chat-topbar-height)}#root .is-story-chat .player-panel-scrim{inset:var(--story-chat-topbar-height) 0 0}@media(max-width:640px){#root .is-story-chat .story-chat-tools>button span{display:none}#root .is-story-chat :is(.story-chat-event p,.story-chat-choice-prompt>div){font-size:16px;line-height:1.68}#root .is-story-chat .player-composer-tools>button:not(.player-choice-back),#root .is-story-chat .player-composer-tools>.player-model-chip{display:none}#root .is-story-chat .player-composer textarea{min-height:56px;height:auto;max-height:30dvh}}#root .is-visual-novel .player-topbar{position:absolute;inset:0 0 auto;--player-tools-menu-width: 236px;transition:opacity var(--ds-motion-fast),background-color var(--ds-motion-fast),border-color var(--ds-motion-fast),backdrop-filter var(--ds-motion-fast)}#root .story-play-page.is-visual-novel{--ds-player-tablet-topbar-height: var(--ds-player-topbar-height);--ds-player-mobile-topbar-height: var(--ds-player-topbar-height)}#root .is-visual-novel .player-topbar:hover,#root .is-visual-novel .player-topbar:focus-within{border-bottom-color:var(--ds-vn-hud-line);background:var(--ds-vn-topbar-surface);opacity:1;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}#root .is-visual-novel .player-tools>button:hover,#root .is-visual-novel .player-tools>button[aria-pressed=true]{color:var(--ds-vn-text-strong);background:transparent}#root .is-visual-novel .player-title>button:hover{background:transparent}#root .is-visual-novel .player-tools>button{color:var(--ds-vn-text-muted);border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}#root .is-visual-novel .player-tools>button:disabled{opacity:.38;cursor:default}#root .is-visual-novel.is-ui-hidden .player-stage-art{cursor:pointer}#root .is-visual-novel .player-workspace{position:relative;display:block;width:100%;height:100%;max-width:none}#root .is-visual-novel .player-stage{position:absolute;top:0;right:0;bottom:0;left:0;display:block;background:var(--ds-surface-media)}#root .is-visual-novel .player-stage-art{width:100%;height:100%;min-height:0}#root .is-visual-novel .player-stage-art>.cover-art{background-size:cover}#root .is-visual-novel .player-stage-shade{background:var(--ds-vn-stage-shade)}#root .is-visual-novel .player-stage-art.is-awaiting-choice .player-stage-shade{background:var(--ds-vn-choice-stage-shade)}#root .is-visual-novel .player-vn-interaction{position:absolute;z-index:5;right:auto;bottom:clamp(var(--ds-space-3),2.4vh,var(--ds-space-6));left:50%;display:grid;gap:var(--ds-space-2);width:var(--ds-vn-interaction-width);min-width:0;max-width:100%;max-height:calc(100dvh - var(--ds-space-9));box-sizing:border-box;transform:translate(-50%);pointer-events:auto}#root .is-visual-novel .player-vn-interaction.has-protagonist-choice{--ds-vn-interaction-width: min(1240px, calc(100vw - var(--ds-space-10)));top:clamp(76px,9vh,104px);bottom:auto;max-height:calc(100dvh - clamp(92px,12vh,128px))}#root .is-visual-novel .player-vn-interaction.has-event-choice:not(.has-protagonist-choice):not(.has-profession-choice){top:50%;bottom:auto;width:min(680px,calc(100vw - var(--ds-space-8)));max-height:calc(100dvh - var(--ds-space-10));transform:translate(-50%,-50%)}#root .is-visual-novel .player-vn-interaction.has-protagonist-choice .player-dialogue{height:88px;min-height:88px;max-height:88px;padding-block:var(--ds-space-4)}#root .is-visual-novel .player-vn-interaction.has-protagonist-choice .player-dialogue-copy{height:auto;min-height:0;max-height:2.8em}#root .is-visual-novel .player-dialogue.has-speaker{padding-top:calc(var(--ds-space-7) + var(--ds-space-2));padding-bottom:var(--ds-space-3)}#root .is-visual-novel .player-dialogue.frame-soft-light{color:var(--ds-vn-frame-light-text);background:color-mix(in srgb,var(--ds-vn-frame-light-surface-solid) var(--vn-dialogue-opacity, 90%),transparent)}#root .is-visual-novel .player-dialogue.frame-blue-strip{color:var(--ds-vn-frame-blue-text);background:color-mix(in srgb,var(--ds-vn-frame-blue-surface-solid) var(--vn-dialogue-opacity, 90%),transparent)}#root .is-visual-novel .player-dialogue.can-advance{cursor:pointer}#root .is-visual-novel .player-dialogue.can-advance:focus-visible{outline:2px solid var(--vn-character-accent);outline-offset:2px}#root .is-visual-novel .player-dialogue .player-dialogue-speaker{position:absolute;top:var(--ds-space-4);left:var(--ds-vn-dialogue-padding-inline);display:block;min-width:0;margin:0;padding:0;color:var(--vn-character-accent, var(--ds-accent-strong));font-size:var(--ds-vn-name-font-size);font-weight:var(--ds-vn-name-font-weight);letter-spacing:.02em;line-height:1.2;background:transparent;clip-path:none;text-shadow:0 1px 14px rgba(0,0,0,.76);transform:none}#root .is-visual-novel .player-dialogue.is-thought .player-dialogue-speaker{color:var(--ds-vn-text-muted);font-weight:650}#root .is-visual-novel .player-dialogue.is-thought .player-dialogue-copy{width:min(100%,70ch);padding-left:0;color:var(--ds-vn-text-muted);box-shadow:none;font:normal 500 clamp(17px,1.25vw,19px)/1.62 var(--vn-dialogue-font, var(--ds-font-ui))}#root .is-visual-novel .player-dialogue .player-dialogue-copy{width:100%;height:3.2em;min-height:3.2em;max-height:3.2em;padding-right:var(--ds-space-4);overflow-x:hidden;overflow-y:auto;box-sizing:border-box;color:var(--ds-vn-text-strong);font-size:var(--ds-vn-dialogue-font-size);line-height:var(--ds-vn-dialogue-line-height);scrollbar-color:var(--ds-vn-scroll-thumb) var(--ds-vn-scroll-track);scrollbar-gutter:stable;scrollbar-width:thin;overscroll-behavior:contain}#root .is-visual-novel .player-dialogue.frame-soft-light .player-dialogue-copy,#root .is-visual-novel .player-dialogue.frame-soft-light p{color:var(--ds-vn-frame-light-text)}#root .is-visual-novel .player-dialogue.frame-blue-strip .player-dialogue-copy,#root .is-visual-novel .player-dialogue.frame-blue-strip p{color:var(--ds-vn-frame-blue-text)}#root .is-visual-novel .player-dialogue .player-dialogue-copy::-webkit-scrollbar{width:var(--ds-vn-scroll-size)}#root .is-visual-novel .player-dialogue .player-dialogue-copy::-webkit-scrollbar-track{background:var(--ds-vn-scroll-track)}#root .is-visual-novel .player-dialogue .player-dialogue-copy::-webkit-scrollbar-thumb{background:var(--ds-vn-scroll-thumb);border-radius:999px}#root .is-visual-novel .player-dialogue .player-dialogue-copy:focus-visible{outline:1px solid var(--ds-vn-hud-line);outline-offset:var(--ds-space-1)}#root .is-visual-novel .player-dialogue p{max-width:82ch;font-size:inherit;font-weight:var(--ds-vn-dialogue-font-weight);line-height:inherit;white-space:pre-wrap}#root .is-visual-novel .player-dialogue-glyph{display:inline;margin:0;color:inherit;font:inherit;font-weight:inherit;white-space:pre-wrap;animation:player-dialogue-glyph var(--ds-motion-fast) ease-out both}@keyframes player-dialogue-glyph{0%{opacity:0}to{opacity:1}}#root .is-visual-novel .player-scene-preparing{position:absolute;z-index:8;right:var(--ds-vn-hud-gutter);bottom:var(--ds-space-5);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-strong);text-shadow:0 1px 14px rgba(0,0,0,.9);pointer-events:none}#root .is-visual-novel .player-scene-preparing strong{font-size:var(--ds-font-size-label);line-height:1}#root .is-visual-novel .player-generation-status{position:absolute;z-index:7;top:calc(var(--ds-player-topbar-height) + var(--ds-space-3));left:var(--ds-vn-hud-gutter);display:inline-flex;align-items:center;min-height:28px;padding:0;gap:var(--ds-space-2);color:var(--ds-vn-text-strong);border:0;border-radius:0;background:transparent;box-shadow:none;font-size:var(--ds-font-size-label);font-weight:650;line-height:1;text-shadow:0 1px 14px rgba(0,0,0,.9);pointer-events:none}#root .is-visual-novel .player-generation-status.is-error{color:var(--ds-danger)}#root .is-visual-novel .player-generation-mark{display:inline-flex;align-items:center;width:18px;height:12px;justify-content:space-between}#root .is-visual-novel .player-generation-mark i{width:4px;height:4px;border-radius:50%;background:var(--vn-character-accent, var(--ds-accent-strong));animation:player-generation-pulse 1.15s ease-in-out infinite}#root .is-visual-novel .player-generation-mark i:nth-child(2){animation-delay:.14s}#root .is-visual-novel .player-generation-mark i:nth-child(3){animation-delay:.28s}#root .is-visual-novel .player-dialogue.is-generating{opacity:.94}@keyframes player-generation-pulse{0%,72%,to{opacity:.34;transform:translateY(1px) scale(.72)}36%{opacity:1;transform:translateY(-2px) scale(1)}}#root .is-visual-novel .player-choices{position:static;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;box-sizing:border-box;padding:0;gap:var(--ds-space-2)}#root .is-visual-novel .player-choices button:not(.player-choice-edit){display:flex;justify-content:center;min-height:52px;padding:0 var(--ds-space-9);color:#fffffffa;border-radius:var(--ds-radius-control);background:var(--ds-vn-hud-surface);font-weight:650;text-align:center;transition:color var(--ds-transition),background var(--ds-transition)}#root .is-visual-novel .player-choices button:hover{color:#fff;background:color-mix(in srgb,var(--ds-accent-muted) 34%,var(--ds-vn-hud-surface-solid))}#root :is(.is-visual-novel,.is-story-chat) .player-choice-option{position:relative;min-width:0;border-radius:var(--ds-radius-control);overflow:hidden}#root :is(.is-visual-novel,.is-story-chat) .player-choice-option>.player-choice-submit{width:100%;padding-right:calc(var(--ds-space-6) + var(--ds-space-7))}#root :is(.is-visual-novel,.is-story-chat) .player-choice-option>.player-choice-edit{position:absolute;top:50%;right:var(--ds-space-3);display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;height:44px;padding:0;color:var(--ds-vn-text-muted);border:0;border-radius:50%;background:transparent;transform:translateY(-50%)}#root :is(.is-visual-novel,.is-story-chat) .player-choice-option>.player-choice-edit:hover,#root :is(.is-visual-novel,.is-story-chat) .player-choice-option>.player-choice-edit:focus-visible{color:var(--ds-vn-text-strong);background:transparent}#root :is(.is-visual-novel,.is-story-chat) .player-choice-option>.player-choice-edit svg{display:block}#root .is-visual-novel .player-response-actions{display:grid;gap:var(--ds-space-3);min-width:0}#root .is-visual-novel .player-event-choices button{display:grid;grid-template-columns:52px minmax(0,1fr);justify-content:stretch;gap:var(--ds-space-3);min-height:68px;padding:var(--ds-space-2) var(--ds-space-5);text-align:left}#root .is-visual-novel .player-event-choices img{width:52px;height:52px;object-fit:contain;object-position:center bottom}#root .is-visual-novel .player-event-choices button>span{display:grid;align-content:center;gap:var(--ds-space-1);min-width:0}#root .is-visual-novel .player-event-choices strong,#root .is-visual-novel .player-event-choices small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .is-visual-novel .player-event-choices strong{color:var(--ds-vn-text-strong);font-size:var(--ds-font-size-body)}#root .is-visual-novel .player-event-choices small{color:var(--ds-vn-text-muted);font-size:var(--ds-font-size-caption)}#root .is-visual-novel .player-choice-stage{position:relative;display:grid;min-width:0;gap:var(--ds-space-3)}#root .is-visual-novel .player-choice-prompt{padding:0 var(--ds-space-4) var(--ds-space-2);text-align:center}#root .is-visual-novel .player-choice-prompt p{margin:0;color:var(--ds-vn-text-strong);font-family:var(--ds-font-story);font-size:clamp(17px,1.45vw,21px);font-weight:650;line-height:var(--ds-line-body);text-shadow:0 2px 18px rgba(0,0,0,.92);white-space:pre-wrap;overflow-wrap:break-word;word-break:keep-all}#root .is-visual-novel .player-event-choices:not(.is-protagonist-choice){grid-template-columns:minmax(0,1fr);max-height:min(48dvh,440px);overflow-y:auto;padding:var(--ds-space-1);scrollbar-gutter:stable;scrollbar-width:thin}#root .is-visual-novel .player-event-choices{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));animation:player-choice-enter var(--ds-motion-fast) ease-out both}@keyframes player-choice-enter{0%{opacity:0;transform:translateY(var(--ds-space-2))}to{opacity:1;transform:translateY(0)}}#root .is-visual-novel .player-event-choices:not(.is-protagonist-choice) button{grid-template-columns:22px minmax(0,1fr);min-height:48px;padding:var(--ds-space-2) var(--ds-space-4);border:1px solid var(--ds-vn-choice-line);border-radius:var(--ds-radius-control);background:color-mix(in srgb,var(--ds-vn-choice-surface) 88%,transparent);clip-path:none;text-shadow:0 2px 12px rgba(0,0,0,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}#root .is-visual-novel .player-event-choices:not(.is-protagonist-choice) button:before{content:none}#root .is-visual-novel .player-event-choices:not(.is-protagonist-choice) button:has(.player-event-choice-media){grid-template-columns:22px 52px minmax(0,1fr)}#root .is-visual-novel .player-event-choice-icon{display:grid;align-self:center;place-items:center;width:22px;height:22px;color:var(--vn-character-accent, var(--ds-accent))}#root .is-visual-novel .player-event-choices button .player-event-choice-icon svg{display:block}#root .is-visual-novel .player-event-choices:not(.is-protagonist-choice) button:hover,#root .is-visual-novel .player-event-choices:not(.is-protagonist-choice) button:focus-visible{border-color:var(--vn-character-accent, var(--ds-accent-muted));background:var(--ds-vn-choice-hover);outline:0}#root .is-visual-novel .player-event-choices:not(.is-protagonist-choice) .player-event-choice-copy{display:grid;align-content:center;gap:var(--ds-space-1);min-width:0}#root .is-visual-novel .player-vn-interaction.has-profession-choice{top:50%;bottom:auto;width:min(760px,calc(100vw - var(--ds-space-8)));max-height:min(78dvh,620px);transform:translate(-50%,-50%)}#root .is-visual-novel .player-choice-stage.is-profession-choice{grid-template-rows:3.4em minmax(0,1fr);gap:var(--ds-space-4);min-height:336px}#root .is-visual-novel .player-choice-stage.is-profession-choice .player-choice-prompt{display:grid;align-items:start;justify-items:center;width:100%;height:3.4em;min-height:3.4em;box-sizing:border-box;padding:0 var(--ds-space-6) var(--ds-space-2);overflow-y:auto}#root .is-visual-novel .player-event-choices.is-profession-choice{width:100%;max-height:min(52dvh,460px);gap:var(--ds-space-2);padding:var(--ds-space-1) 0;overflow-x:visible;overflow-y:auto;animation:none;scrollbar-gutter:stable}#root .is-visual-novel .player-event-choices.is-profession-choice button{grid-template-columns:22px minmax(0,1fr);gap:var(--ds-space-3);min-height:60px;padding:var(--ds-space-3) var(--ds-space-5);border:1px solid var(--ds-vn-choice-line);border-radius:16px 6px;background:var(--ds-vn-choice-surface);clip-path:none;box-shadow:inset 0 1px #fff5d20f,0 10px 24px #00000047;-webkit-backdrop-filter:none;backdrop-filter:none;animation:profession-choice-enter .36s cubic-bezier(.22,.75,.24,1) both;animation-delay:calc(var(--profession-choice-index, 0) * 70ms)}#root .is-visual-novel .player-event-choices.is-reveal-skipped button{animation:none}@keyframes profession-choice-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}#root .is-visual-novel .player-event-choices.is-profession-choice button:before{content:none}#root .is-visual-novel .player-event-choices.is-profession-choice button:after{content:none}#root .is-visual-novel .player-event-choices.is-profession-choice button:hover,#root .is-visual-novel .player-event-choices.is-profession-choice button:focus-visible{border-color:var(--ds-accent);background:var(--ds-vn-choice-hover);box-shadow:inset 0 1px #fff5d21f,0 0 0 1px #e2c9822e,0 12px 30px #0000005c}#root .is-visual-novel .player-event-choices.is-profession-choice .player-event-choice-copy{gap:var(--ds-space-1);padding:0}#root .is-visual-novel .player-event-choices.is-profession-choice .player-event-choice-copy small{color:#d8bd78;font-size:12px;font-weight:650;line-height:1.25;letter-spacing:.02em}#root .is-visual-novel .player-event-choices.is-profession-choice .player-event-choice-copy strong{font-size:15px;line-height:1.4}#root .is-visual-novel .player-choice-composer{margin-top:var(--ds-space-1)}#root .is-visual-novel .protagonist-choice-pagination{position:absolute;z-index:2;top:calc(var(--ds-control-height-compact) * -1 - var(--ds-space-2));right:0;display:flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-vn-text-muted);font-size:var(--ds-font-size-caption);font-variant-numeric:tabular-nums}#root .is-visual-novel .protagonist-choice-pagination button{display:grid;width:var(--ds-control-height-compact);height:var(--ds-control-height-compact);min-height:0;padding:0;place-items:center;color:var(--ds-vn-text-strong);border:1px solid var(--ds-vn-hud-line);border-radius:50%;background:var(--ds-vn-hud-surface);clip-path:none;cursor:pointer}#root .is-visual-novel .protagonist-choice-pagination button:disabled{opacity:.34;cursor:default}#root .is-visual-novel .protagonist-choice-pagination button svg{display:block}#root .is-visual-novel .player-event-choices.is-protagonist-choice{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-3)}#root .is-visual-novel .player-event-choices.is-protagonist-choice button{display:block;height:min(68vh,630px);min-height:520px;padding:0;overflow:hidden;border:1px solid var(--ds-vn-hud-line);background:var(--ds-vn-hud-surface);clip-path:none;text-shadow:none;overflow-anchor:none}#root .is-visual-novel .player-event-choices.is-protagonist-choice button:hover,#root .is-visual-novel .player-event-choices.is-protagonist-choice button:focus-visible{border-color:var(--vn-character-accent, var(--ds-accent));background:var(--ds-vn-choice-hover);outline:0}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-media{display:grid;height:clamp(310px,39vh,380px);min-width:0;min-height:0;place-items:end center;overflow:hidden;background:var(--ds-media-tint);overflow-anchor:none}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-media img{width:auto;height:100%;max-width:100%;max-height:100%;min-height:0;object-fit:contain;object-position:center bottom}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-copy{display:grid;align-content:start;gap:var(--ds-space-2);min-width:0;min-height:0;padding:var(--ds-space-4);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--ds-vn-scroll-thumb) transparent;scrollbar-width:thin;overflow-anchor:none}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-copy>*{min-width:0;margin:0;overflow-wrap:break-word;word-break:keep-all}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-copy small{display:block;color:var(--ds-accent-muted);font-weight:650;line-height:var(--ds-line-action);min-height:1.35em}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-copy>strong{display:block;font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight);min-height:1.25em}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-copy p{color:var(--ds-vn-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .is-visual-novel .player-event-choice-summary{color:var(--ds-vn-text-strong);font-weight:620}#root .is-visual-novel .player-event-choice-detail{padding-bottom:var(--ds-space-2);border-bottom:1px solid var(--ds-vn-hud-line)}#root .is-visual-novel .player-event-choice-fact{display:grid;gap:var(--ds-space-1)}#root .is-visual-novel .player-event-choice-fact :is(em,b){color:var(--ds-vn-text-muted);font-size:var(--ds-font-size-caption);font-style:normal;font-weight:700}#root .is-visual-novel .player-event-choice-fact>span{color:var(--ds-vn-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .is-visual-novel .player-event-choice-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-1) var(--ds-space-3);margin:var(--ds-space-1) 0 0;padding-top:var(--ds-space-2);border-top:1px solid var(--ds-vn-hud-line)}#root .is-visual-novel .player-event-choice-stats>div{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-2);min-width:0}#root .is-visual-novel .player-event-choice-stats :is(dt,dd){margin:0;color:var(--ds-vn-text-muted);font-size:var(--ds-font-size-caption)}#root .persona-card :is(strong,small),#root .player-role>:is(span,b),#root .player-turn-receipt>span,#root .is-visual-novel .player-event-choice-stats dt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#root .is-visual-novel .player-event-choice-stats dd{color:var(--ds-vn-text-strong);font-weight:700;font-variant-numeric:tabular-nums}#root .reader-font-pretendard .player-entry p{font-family:Pretendard Variable,SUIT Variable,sans-serif}#root .reader-font-suit .player-entry p{font-family:SUIT Variable,Pretendard Variable,sans-serif}#root .reader-font-story-serif .player-entry p{font-family:"Noto Serif KR",Nanum Myeongjo,serif}@media(hover:none){#root .is-visual-novel .player-topbar{border-bottom-color:color-mix(in srgb,var(--ds-vn-hud-line) 45%,transparent);background:color-mix(in srgb,var(--ds-vn-topbar-surface) 64%,transparent);opacity:.84;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}}#root .is-visual-novel .player-vn-interaction:not(.has-event-choice)>.player-composer-shell>.player-composer-tools{position:absolute;inset-inline:0;bottom:calc(100% + var(--ds-space-2));padding:0}#root .is-visual-novel .player-composer-tools button{color:var(--ds-vn-text-muted);border-color:var(--ds-vn-input-line);background:var(--ds-vn-input-surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}#root .is-visual-novel .player-composer-tools button:hover,#root .is-visual-novel .player-composer-tools button[aria-pressed=true]{color:var(--ds-vn-text-strong);border-color:var(--ds-accent-muted)}#root .is-visual-novel .player-composer-setting{position:absolute;top:calc(100% + var(--ds-space-2));inset-inline:0;border-color:var(--ds-vn-input-line);background:var(--ds-vn-hud-surface);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}#root .is-visual-novel .player-composer textarea{min-width:0;max-height:76px;resize:none;border-color:var(--ds-vn-input-line);background:var(--ds-vn-input-surface)}#root .is-visual-novel .player-composer textarea:focus{border-color:var(--ds-accent);box-shadow:var(--ds-focus-ring-form)}#root .player-turn-receipt{display:flex;align-items:baseline;gap:var(--ds-space-2);min-width:0;padding:var(--ds-space-2) var(--ds-space-3);background:var(--ds-surface-overlay);color:var(--ds-text-body);font-size:var(--ds-font-size-label)}#root .player-turn-receipt :is(strong,small,button){flex:none}#root .player-turn-receipt button{pointer-events:auto;text-decoration:underline}#root .player-panel-scrim{position:fixed;z-index:29;inset:var(--ds-player-topbar-height) 0 0;border:0;background:var(--ds-overlay-scrim)}#root .player-side-panel{--ds-player-panel-inset: var(--ds-space-6);position:fixed;z-index:30;top:var(--ds-player-topbar-height);right:0;bottom:0;display:flex;flex-direction:column;width:min(100%,var(--ds-player-panel-width));overflow:hidden;border-left:1px solid var(--ds-line);background:var(--ds-surface-overlay);box-shadow:var(--ds-shadow-overlay)}#root .player-side-panel>header{display:flex;align-items:center;justify-content:space-between;min-height:76px;padding:var(--ds-space-4) var(--ds-player-panel-inset)}#root .player-side-panel>header>div,#root .character-conversation-head>div,#root .player-setting-toggle span{display:flex;flex-direction:column;gap:var(--ds-space-1)}#root .player-side-panel>header span{color:var(--ds-accent-strong);font-size:var(--ds-font-size-caption);font-weight:800;letter-spacing:var(--ds-letter-kicker)}#root .player-side-panel>header strong,#root .character-conversation-head strong{font-size:var(--ds-font-size-title-sm)}#root .player-panel-log,#root .player-gallery,#root .player-settings-form,#root .character-gallery{flex:1;min-height:0;overflow-y:auto;padding:var(--ds-player-panel-inset);scrollbar-gutter:stable}#root .player-panel-log{padding-top:var(--ds-space-3)}#root .player-memory-list .player-entry,#root .player-memory-item,#root .player-panel-log .player-entry{max-width:none;margin:0;padding:var(--ds-space-4) 0;border-bottom:1px solid var(--ds-line)}#root .player-panel-log .player-entry.user{padding-left:var(--ds-space-3);border-left:2px solid var(--player-speaker-accent, var(--ds-accent-muted))}#root .player-panel-log .player-entry small{margin-bottom:var(--ds-space-2);color:var(--player-speaker-accent, var(--ds-accent-muted));font-size:var(--ds-font-size-label)}#root .player-panel-log .player-entry p{margin:0;color:var(--ds-text-body);font-family:var(--ds-font-story);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body);white-space:pre-wrap;overflow-wrap:break-word;word-break:keep-all}#root .player-panel-log .player-entry.narration p{color:var(--ds-text-muted)}#root .player-panel-empty{display:grid;justify-items:center;gap:var(--ds-space-2);padding:var(--ds-space-9) var(--ds-space-4);color:var(--ds-text-muted);text-align:center}#root .player-panel-empty strong,#root .player-gallery-empty strong,#root .character-gallery-empty strong{color:var(--ds-text-body)}#root .player-panel-empty p{max-width:32ch;margin:0;font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .player-gallery,#root .character-gallery{display:flex;flex-direction:column;gap:var(--ds-space-7)}#root .player-gallery figure,#root .character-gallery figure{margin:0}#root .player-gallery figure>img,#root .player-gallery figure>.cover-art,#root .character-gallery figure>.cover-art,#root .character-gallery figure>:is(img,svg){display:block;width:100%;aspect-ratio:var(--ds-player-stage-ratio);object-fit:cover;background-size:var(--ds-cover-sprite-size)}#root .player-gallery figcaption,#root .character-gallery figcaption{display:flex;justify-content:space-between;padding-top:var(--ds-space-3);color:var(--ds-text-muted)}#root .player-gallery-empty{display:flex;flex-direction:column;align-items:center;gap:var(--ds-space-2);padding:var(--ds-space-7) 0;color:var(--ds-text-muted);text-align:center}#root .player-gallery-empty p{margin:0;font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .player-settings-form{display:flex;flex-direction:column;gap:var(--ds-space-6);padding:var(--ds-player-panel-inset);font-size:var(--ds-font-size-body)}#root .player-settings-form label:not(.player-setting-toggle){display:flex;flex-direction:column;gap:var(--ds-space-2)}#root .player-settings-form input:is([type=search],[type=text]),#root .player-settings-form input:not([type]){min-width:0;width:100%;height:var(--ds-control-height);padding:0 var(--ds-space-3);color:var(--ds-text-strong);border:1px solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input)}#root .player-settings-form fieldset{min-width:0;margin:0;padding:0;border:0}#root .player-settings-form legend{padding:0;margin-bottom:var(--ds-space-3);font-weight:650;color:var(--ds-text-strong)}#root .player-settings-form fieldset>div[role=radiogroup]{display:flex;gap:var(--ds-space-2)}#root .player-settings-form fieldset button{flex:1;min-width:0;height:var(--ds-control-height);color:var(--ds-text-muted);border:1px solid var(--ds-line);border-radius:var(--ds-radius-control);background:transparent;font:500 var(--ds-font-size-body)/var(--ds-line-action) var(--ds-font-ui)}#root .persona-card[aria-pressed=true],#root .player-settings-form fieldset button[aria-checked=true]{color:var(--ds-text-strong);border-color:var(--ds-accent);background:var(--ds-accent-wash)}#root .player-setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4)}#root .player-setting-toggle small{color:var(--ds-text-muted)}#root .player-native-link{display:flex;align-items:center;justify-content:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);color:var(--ds-text-strong);border:1px solid var(--ds-line);background:transparent}#root .character-chat-workspace{display:grid;grid-template-columns:minmax(340px,.43fr) minmax(520px,.57fr);width:min(100%,1440px);height:calc(100dvh - var(--ds-player-topbar-height));margin:0 auto;overflow:hidden;background:var(--ds-canvas-raised)}#root .character-chat-workspace.artwork-hidden{grid-template-columns:minmax(0,1fr)}#root .character-presence{position:relative;min-height:0;overflow:hidden;border-right:1px solid var(--ds-line);background:var(--ds-surface-media)}#root .character-presence-art{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}#root .character-presence-art>:is(img,svg){display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}#root .character-presence-art.is-empty{display:grid;place-items:center}#root .character-presence-empty{display:flex;align-items:center;flex-direction:column;gap:var(--ds-space-3);max-width:420px;padding:var(--ds-space-6);color:var(--ds-text-muted);text-align:center}#root .character-presence-empty>span{display:grid;place-items:center;width:88px;height:88px;color:var(--ds-accent-strong);border:1px solid var(--ds-line-strong);border-radius:50%;font-family:var(--ds-font-display);font-size:var(--ds-font-size-title-lg)}#root .character-presence-empty>small{font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .character-presence-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--ds-media-overlay-soft)}#root .character-presence-copy{position:absolute;right:var(--ds-space-7);bottom:var(--ds-space-6);left:var(--ds-space-7)}#root .character-presence-copy span{color:var(--ds-accent-strong);font-size:var(--ds-font-size-caption);font-weight:800}#root .character-presence-copy h1{margin:var(--ds-space-1) 0;font-family:var(--ds-font-display);font-size:var(--ds-font-size-title-md)}#root .character-presence-copy p{overflow:hidden;max-width:720px;margin:0;color:var(--ds-text-body);text-overflow:ellipsis;white-space:nowrap}#root .character-conversation{display:grid;grid-template-rows:auto minmax(0,1fr);grid-auto-rows:auto;min-height:0;gap:var(--ds-space-4);padding:clamp(var(--ds-space-6),3vw,var(--ds-space-8)) clamp(var(--ds-space-7),4vw,var(--ds-space-9)) var(--ds-space-5);background:var(--ds-canvas-raised)}#root .character-conversation>:is(.character-conversation-head,.character-message-list,.character-reply-suggestions,.character-composer-tools,.character-composer-setting,.character-composer){width:min(100%,900px);margin-inline:auto}#root .character-conversation-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--ds-space-6);padding:0 var(--ds-space-1) var(--ds-space-4)}#root .character-conversation-head small,#root .character-expression-slots>header>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-message-list{min-height:0;display:flex;flex-direction:column;gap:var(--ds-space-4);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ds-space-5) var(--ds-space-2) var(--ds-space-5) var(--ds-space-1);scrollbar-color:var(--ds-line-strong) transparent;scrollbar-width:thin;scrollbar-gutter:stable}#root .character-message-list::-webkit-scrollbar{width:6px}#root .character-message-list::-webkit-scrollbar-thumb{border-radius:999px;background:var(--ds-line)}#root .character-message-list:hover::-webkit-scrollbar-thumb{background:var(--ds-line-strong)}#root .character-message-list>:first-child{margin-top:auto}#root .character-message{width:fit-content;max-width:min(68%,560px);margin:0}#root .character-message.user{margin-left:auto}#root .character-message small{display:block;margin:0 var(--ds-space-2) var(--ds-space-1);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-message.user small{text-align:right}#root .character-message p{position:relative;margin:0;padding:var(--ds-space-4);color:var(--ds-text-strong);border:var(--ds-border-width) solid var(--ds-chat-received-line);border-radius:var(--ds-chat-speaker-corner) var(--ds-chat-radius) var(--ds-chat-radius) var(--ds-chat-radius);background:var(--ds-chat-received);font-size:var(--ds-font-size-body);font-weight:var(--ds-font-weight-body);line-height:1.65;white-space:pre-wrap;overflow-wrap:break-word;word-break:keep-all}#root .character-message p:before,#root .character-message p:after{content:none;display:none}#root .character-message.user p{border-radius:var(--ds-chat-radius) var(--ds-chat-speaker-corner) var(--ds-chat-radius) var(--ds-chat-radius);border-color:var(--ds-chat-sent-line);background:var(--ds-chat-sent)}#root .character-stage-direction{align-self:center;max-width:90%;margin:var(--ds-space-3) 0;padding:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body);text-align:center;white-space:pre-wrap;overflow-wrap:break-word;background:transparent}#root .character-reply-suggestions{display:grid;gap:var(--ds-space-2);margin-bottom:var(--ds-space-3)}#root .character-reply-option{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 44px;border-radius:var(--ds-radius-control);background:var(--ds-surface-input);overflow:hidden}#root .character-reply-suggestions .character-reply-option>button{min-height:44px;padding:var(--ds-space-2) var(--ds-space-4);color:var(--ds-text-body);border:0;border-radius:0;background:transparent;text-align:left;cursor:pointer}#root .character-reply-edit{width:44px;padding:0;display:grid;place-items:center;color:var(--ds-text-muted)}#root .character-reply-option:is(:hover,:focus-within) :is(.character-reply-send,.character-reply-edit){color:var(--ds-text-strong)}#root .character-composer-tools{margin-top:var(--ds-space-2)}#root .character-gallery>figure>:is(img,svg,.asset-image){display:block;width:100%;max-height:52dvh;aspect-ratio:4 / 5;object-fit:contain;object-position:center top;background:var(--ds-surface-media)}#root .character-gallery figcaption{flex-direction:column;gap:var(--ds-space-1)}#root .character-gallery-empty{display:flex;align-items:center;flex-direction:column;gap:var(--ds-space-2);padding:var(--ds-space-7) var(--ds-space-3);color:var(--ds-text-muted);text-align:center}#root .character-gallery-empty p{max-width:320px;margin:0;font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .character-expression-slots>header{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-3);margin-bottom:var(--ds-space-3)}#root .character-expression-slots>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ds-space-2)}#root .character-expression-slots figure{min-width:0;margin:0;opacity:.62}#root .character-expression-slots figure.is-active{opacity:1}#root .character-expression-slots :is(img,svg){display:block;width:100%;aspect-ratio:4 / 5;object-fit:contain;object-position:center top;background:var(--ds-surface-media)}#root .character-expression-slots figcaption{padding-top:var(--ds-space-2);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);text-align:center}#root .character-expression-slots figure.is-active figcaption{color:var(--ds-accent-strong);font-weight:700}#root .character-tool-panel .character-chat-settings{position:static;display:flex;flex:1;flex-direction:column;width:auto;min-height:0;border:0;background:transparent;box-shadow:none}#root .character-tool-panel .character-chat-settings>header{display:none}#root .character-tool-panel .character-chat-settings-body{flex:1;min-height:0;grid-template-columns:minmax(0,1fr);overflow-y:auto;padding:var(--ds-space-5);scrollbar-gutter:stable}#root .character-tool-panel .character-chat-name-setting,#root .character-tool-panel .character-chat-persona-setting{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-2);color:var(--ds-text-strong);font-size:var(--ds-font-size-caption);font-weight:700}#root .character-tool-panel .character-chat-persona-setting em{color:var(--ds-text-muted);font-style:normal;font-weight:500}#root .character-tool-panel .character-chat-persona-setting textarea{box-sizing:border-box;width:100%;min-height:112px;resize:vertical;padding:var(--ds-space-3);color:var(--ds-text-body);border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-control);outline:0;background:var(--ds-surface-input);font:inherit;font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .character-tool-panel .character-chat-persona-setting textarea:focus{box-shadow:var(--ds-focus-ring-form)}#root .character-tool-panel .character-chat-persona-setting small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-weight:400;line-height:var(--ds-line-body)}.text-작게 .player-dialogue .player-dialogue-copy{--ds-vn-dialogue-font-size: 14px}.text-작게 .player-entry p{font-size:14px}.text-크게 .player-dialogue .player-dialogue-copy{--ds-vn-dialogue-font-size: 19px}.text-크게 .player-entry p{font-size:19px}@media(max-width:960px){#root .player-topbar{grid-template-columns:minmax(0,1fr) auto;padding:0 var(--ds-space-4)}#root .story-play-page .player-topbar{height:var(--ds-player-tablet-topbar-height);min-height:var(--ds-player-tablet-topbar-height);padding-bottom:0}#root .story-play-page .player-workspace{height:calc(100dvh - var(--ds-player-tablet-topbar-height))}#root .story-play-page .player-side-panel{top:var(--ds-player-tablet-topbar-height)}#root .story-play-page .player-panel-scrim{inset:var(--ds-player-tablet-topbar-height) 0 0}#root .player-workspace,#root .character-chat-workspace{grid-template-columns:1fr;grid-template-rows:minmax(240px,44%) minmax(0,56%)}#root .player-workspace.artwork-hidden,#root .character-chat-workspace.artwork-hidden{grid-template-rows:minmax(0,1fr)}#root .player-stage{grid-template-rows:minmax(0,1fr) auto}#root .player-dialogue{min-height:110px;padding:var(--ds-space-4) var(--ds-space-5)}#root .player-session{padding:var(--ds-space-4);border-top:1px solid var(--ds-line);border-left:0}#root .character-conversation{padding-right:var(--ds-space-5);padding-left:var(--ds-space-5)}#root .character-presence{border-right:0;border-bottom:1px solid var(--ds-line)}}@media(max-width:640px){#root .story-play-page{--ds-player-mobile-topbar-height: calc(var(--ds-control-height) * 2 + var(--ds-space-5))}#root .player-topbar{min-height:58px;padding:0 var(--ds-space-2)}#root .story-play-page .player-topbar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr;align-content:center;min-height:var(--ds-player-mobile-topbar-height);height:var(--ds-player-mobile-topbar-height);padding:0 var(--ds-space-2)}#root .story-play-page .player-title{grid-row:1;grid-column:1}#root .story-play-page .player-tools{grid-row:1;grid-column:2;flex-wrap:nowrap;justify-content:flex-end;width:auto;max-width:none;overflow:visible;scrollbar-width:none}#root .story-play-page .player-tools::-webkit-scrollbar{display:none}#root .player-title{gap:0}#root .player-title strong{max-width:36vw}#root .player-title small{display:none}#root .player-tools>button{min-width:38px;padding:0 var(--ds-space-2)}#root .player-tools>button span{display:none}#root .player-workspace,#root .character-chat-workspace{height:calc(100dvh - 58px)}#root .story-play-page .player-workspace{height:calc(100dvh - var(--ds-player-mobile-topbar-height))}#root .player-workspace{grid-template-rows:minmax(210px,38%) minmax(0,62%)}#root .player-dialogue{min-height:94px;padding:var(--ds-space-3) var(--ds-space-4)}#root .player-dialogue p{font-size:15px}#root .player-session{padding:var(--ds-space-3)}#root .player-entry{margin-bottom:var(--ds-space-3)}#root .player-settings-form fieldset>div[role=radiogroup]:has(>button:nth-child(4)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#root .player-side-panel{--ds-player-panel-inset: var(--ds-space-4);top:58px}#root .player-panel-scrim{top:58px;right:0;bottom:0;left:0}#root .story-play-page .player-side-panel{top:var(--ds-player-mobile-topbar-height)}#root .story-play-page .player-panel-scrim{inset:var(--ds-player-mobile-topbar-height) 0 0}#root .character-chat-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:190px minmax(0,1fr)}#root .character-presence-copy{right:var(--ds-space-4);bottom:var(--ds-space-4);left:var(--ds-space-4)}#root .character-presence-copy p{font-size:var(--ds-font-size-caption)}#root .character-presence-empty{position:absolute;top:50%;right:var(--ds-space-4);max-width:none;padding:0;transform:translateY(-50%)}#root .character-presence-empty>span{width:72px;height:72px}#root .character-presence-empty>small{display:none}#root .character-conversation{padding:var(--ds-space-4) var(--ds-space-3)}#root .character-message{max-width:88%}}@media(max-width:380px){#root .story-play-page .player-title strong{max-width:24vw}}#root .player-generation-length{display:grid;gap:var(--ds-space-3)}#root .player-generation-length .generation-length-value{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-4)}#root .generation-length-value strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .generation-length-value span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);text-align:end}#root .player-generation-length>p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}@media(max-width:960px){#root .is-visual-novel .player-workspace,#root .is-visual-novel .player-stage{display:block}#root .is-visual-novel .player-vn-interaction{bottom:var(--ds-space-4);width:calc(100% - (var(--ds-space-4) * 2));max-height:calc(100dvh - var(--ds-space-8));overflow-y:auto;scrollbar-gutter:stable}#root .is-visual-novel .player-vn-interaction.has-protagonist-choice{top:var(--ds-space-9);bottom:auto;width:calc(100% - var(--ds-space-7));max-height:calc(100dvh - var(--ds-space-10));overflow:hidden}#root .is-visual-novel .player-vn-interaction.has-event-choice:not(.has-protagonist-choice):not(.has-profession-choice){top:50%;bottom:auto;width:min(680px,calc(100% - var(--ds-space-7)));max-height:calc(100dvh - var(--ds-space-10));overflow:hidden;transform:translate(-50%,-50%)}#root .is-visual-novel .player-dialogue{height:var(--ds-vn-dialogue-height-tablet);min-height:var(--ds-vn-dialogue-height-tablet);max-height:var(--ds-vn-dialogue-height-tablet);padding:var(--ds-space-5) var(--ds-space-6) var(--ds-space-4)}#root .is-visual-novel .player-dialogue .player-dialogue-speaker{transform:none}#root .is-visual-novel .player-generation-status{top:calc(var(--ds-player-tablet-topbar-height) + var(--ds-space-2))}#root .is-visual-novel .player-event-choices{grid-template-columns:repeat(2,minmax(0,1fr))}#root .is-visual-novel .player-event-choices.is-protagonist-choice{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}#root .is-visual-novel .player-event-choices.is-protagonist-choice button{flex:0 0 min(46vw,390px);scroll-snap-align:center}}@media(max-width:640px){#root .is-visual-novel .player-workspace{height:100%}#root .is-visual-novel .player-vn-interaction{bottom:0;gap:var(--ds-space-1);width:100%;max-height:62dvh;padding-bottom:max(var(--ds-space-3),env(safe-area-inset-bottom));overflow-y:auto}#root .is-visual-novel .player-vn-interaction.has-protagonist-choice{top:calc(var(--ds-player-mobile-topbar-height) + var(--ds-space-2));bottom:auto;width:100%;max-height:calc(100dvh - var(--ds-player-mobile-topbar-height) - var(--ds-space-3));padding-bottom:var(--ds-space-3)}#root .is-visual-novel .player-vn-interaction.has-event-choice:not(.has-protagonist-choice):not(.has-profession-choice){top:50%;bottom:auto;width:100%;max-height:calc(100dvh - var(--ds-player-mobile-topbar-height) - var(--ds-space-5));padding:0 var(--ds-space-3);overflow:hidden;transform:translate(-50%,-50%)}#root .is-visual-novel .player-choice-prompt{padding-inline:var(--ds-space-2)}#root .is-visual-novel .player-event-choices:not(.is-protagonist-choice){max-height:42dvh;padding-inline:0}#root .is-visual-novel .player-vn-interaction.has-profession-choice{width:100%;padding-inline:var(--ds-space-3)}#root .is-visual-novel .player-choice-stage.is-profession-choice .player-choice-prompt{padding-inline:var(--ds-space-2)}#root .is-visual-novel .player-event-choices.is-profession-choice button{grid-template-columns:22px minmax(0,1fr);gap:var(--ds-space-2);min-height:56px;padding-inline:var(--ds-space-4);clip-path:none}#root .is-visual-novel .player-dialogue{height:var(--ds-vn-dialogue-height-mobile);min-height:var(--ds-vn-dialogue-height-mobile);max-height:var(--ds-vn-dialogue-height-mobile);padding:var(--ds-vn-dialogue-padding-block) var(--ds-vn-dialogue-padding-inline);border-radius:0}#root .is-visual-novel .player-dialogue .player-dialogue-speaker{left:var(--ds-vn-dialogue-padding-inline);min-width:0;padding:0}#root .is-visual-novel .player-dialogue.has-speaker{padding-top:var(--ds-space-7);padding-bottom:var(--ds-space-2)}#root .is-visual-novel .player-dialogue .player-dialogue-copy{--ds-vn-dialogue-font-size: 15px}#root .is-visual-novel .player-generation-status{top:calc(var(--ds-player-mobile-topbar-height) + var(--ds-space-2));left:var(--ds-space-3);min-height:var(--ds-space-7);padding-inline:var(--ds-space-3)}#root .is-visual-novel .player-event-choices{grid-template-columns:minmax(0,1fr);padding:0 var(--ds-space-3)}#root .is-visual-novel .player-event-choices button{grid-template-columns:44px minmax(0,1fr);min-height:56px;padding:var(--ds-space-2) var(--ds-space-4)}#root .is-visual-novel .player-event-choices img{width:44px;height:44px}#root .is-visual-novel .player-event-choices.is-protagonist-choice{display:flex;gap:var(--ds-space-3);padding-inline:var(--ds-space-3);overflow-x:auto;scroll-padding-inline:var(--ds-space-3);scroll-snap-type:x mandatory;scrollbar-width:thin}#root .is-visual-novel .player-event-choices.is-protagonist-choice button{grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(260px,38vh,330px) minmax(0,1fr);flex:0 0 min(86vw,360px);height:min(64vh,560px);min-height:470px;scroll-snap-align:center}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-media{height:clamp(260px,38vh,330px)}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-copy{align-content:start;padding:var(--ds-space-4)}#root .is-visual-novel .player-event-choices.is-protagonist-choice .player-event-choice-media img{width:auto;height:100%;max-height:100%}#root .is-visual-novel .player-composer{padding:0 var(--ds-space-3)}}#root .story-play-page.is-visual-novel .player-panel-scrim{top:0;right:0;bottom:0;left:0;background:transparent;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}#root .story-play-page.is-visual-novel .player-side-panel{top:0;right:0;bottom:0;left:0;width:100%;border:0;background:var(--ds-canvas);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}#root .story-play-page.is-visual-novel .player-side-panel>header,#root .story-play-page.is-visual-novel .player-panel-log,#root .story-play-page.is-visual-novel .player-settings-form,#root .story-play-page.is-visual-novel .player-settings-tabs,#root .story-play-page.is-visual-novel .player-reader-notes,#root .story-play-page.is-visual-novel .player-gallery{width:min(100%,860px);margin-inline:auto;box-sizing:border-box}#root .story-play-page.is-visual-novel .player-side-panel>header{flex:0 0 auto;background:transparent}#root .story-play-page.is-visual-novel .player-panel-log,#root .story-play-page.is-visual-novel .player-settings-form,#root .story-play-page.is-visual-novel .player-reader-notes,#root .story-play-page.is-visual-novel .player-gallery{flex:1;min-height:0}#root .is-visual-novel:has(.vn-reader-library) :is(.player-topbar,.player-vn-interaction,.player-generation-status){visibility:hidden}#root .is-visual-novel:has(.vn-reader-library) .player-panel-scrim{-webkit-backdrop-filter:none;backdrop-filter:none}#root .story-play-page.is-visual-novel .vn-reader-library>header{width:100%;min-height:var(--ds-space-10);padding:var(--ds-space-2) var(--ds-space-4);border:0}.vn-reader-library header nav{display:flex;gap:var(--ds-space-2)}#root .vn-reader-library header nav button{min-height:var(--ds-control-height);font:650 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui);color:var(--ds-vn-text-muted);border-radius:var(--ds-radius-pill)}#root .vn-reader-library header nav button[aria-pressed=true]{color:var(--ds-canvas);background:var(--ds-vn-text-strong)}#root .is-visual-novel .vn-reader-library .player-panel-log{width:min(calc(100% - 2 * var(--ds-space-5)),48rem);padding:var(--ds-space-5) 0 var(--ds-space-10);overscroll-behavior:contain}#root .vn-reader-library .player-panel-log .player-entry{padding:0;margin:0;border:0}#root .vn-reader-library .player-entry+.player-entry{margin-block-start:var(--ds-space-5)}#root .vn-reader-library .player-entry small{display:block;margin-bottom:var(--ds-space-1);font-size:var(--ds-font-size-body)}#root .vn-reader-library .player-entry p{color:var(--ds-vn-text-strong);font-weight:450;font-size:var(--ds-vn-dialogue-font-size);line-height:var(--ds-line-body)}#root .vn-reader-library .player-entry.narration p,#root .vn-reader-library .player-entry.thought p{color:var(--ds-text-body);font-style:oblique}@media(prefers-reduced-motion:reduce){#root .is-visual-novel .player-dialogue-glyph,#root .is-visual-novel .player-event-choices,#root .is-visual-novel .player-event-choices.is-profession-choice button,#root .is-visual-novel .player-generation-mark i{animation:none}}#root .is-visual-novel .player-dialogue{position:relative;display:grid;align-content:center;width:100%;height:var(--ds-vn-dialogue-height);min-width:0;box-sizing:border-box;min-height:var(--ds-vn-dialogue-height);max-height:var(--ds-vn-dialogue-height);padding:var(--ds-vn-dialogue-padding-block) var(--ds-vn-dialogue-padding-inline);border:0;border-radius:var(--ds-vn-radius);background:var(--ds-vn-hud-surface);box-shadow:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);overflow:visible;user-select:none;-webkit-user-select:none}#root .player-settings-form textarea{width:100%;min-height:var(--ds-space-11);padding:var(--ds-space-3);resize:vertical;font:inherit;line-height:var(--ds-line-body)}#root .player-panel-intro p,#root .player-settings-form>p,#root .player-settings-form section>p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .player-settings-form section{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:var(--ds-space-5);padding-top:var(--ds-space-5);border-top:1px solid var(--ds-line)}#root .player-settings-form section>*{min-width:0}#root .player-settings-form section[hidden]{display:none}#root .player-settings-form>section:first-child,#root .player-settings-form[role=tabpanel]>section{padding-top:0;border-top:0}#root .player-panel-tabs.player-settings-tabs{flex:0 0 auto;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 var(--ds-player-panel-inset)}#root .player-settings-form section h3{margin:0;font-size:var(--ds-font-size-body)}#root .player-panel-intro,#root .player-cast-gallery figcaption,#root .player-setting-section-title{display:grid;gap:var(--ds-space-1)}#root .player-setting-section-title>span{color:var(--ds-text-strong);font-size:var(--ds-font-size-body);font-weight:750}#root .player-setting-section-title>p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .persona-inventory,#root .player-image-model-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-4)}#root .player-image-model-settings>div{display:grid;min-width:0;gap:var(--ds-space-2)}#root .player-image-model-settings>div>span{color:var(--ds-text-body);font-size:var(--ds-font-size-label);font-weight:700}#root .player-image-model-settings .editor-select-input,#root .player-image-model-settings .editor-select-button{width:100%;min-width:0}@media(max-width:560px){#root .player-image-model-settings{grid-template-columns:minmax(0,1fr)}}#root .player-settings-link{display:grid;grid-template-columns:var(--ds-control-height-compact) minmax(0,1fr) auto;align-items:center;min-height:var(--ds-control-height);padding:0;color:var(--ds-text-body);border:0;background:transparent;font:inherit;text-align:left;cursor:pointer}#root .player-settings-link:hover{color:var(--ds-text-strong)}#root .player-reader-notes{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}#root .player-panel-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 var(--ds-space-6)}#root .player-panel-tabs button{min-height:var(--ds-control-height);color:var(--ds-text-muted);border:0;border-radius:var(--ds-radius-control);background:transparent;font:700 var(--ds-font-size-body)/var(--ds-line-action) var(--ds-font-ui);cursor:pointer}#root .player-panel-tabs button[aria-selected=true]{color:var(--ds-text-strong);background:var(--ds-accent-wash)}#root .player-note-editor,#root .player-memory-browser{flex:1;min-height:0;overflow-y:auto;padding:var(--ds-space-6);scrollbar-gutter:stable}#root .player-memory-browser,#root .player-note-editor{display:flex;flex-direction:column;gap:var(--ds-space-5)}#root .player-settings-link.player-role{grid-template-columns:minmax(0,1fr);max-width:100%;color:inherit}#root .persona-card{display:grid;align-content:center;justify-items:center;gap:var(--ds-space-2);min-width:0;min-height:var(--ds-space-11);padding:var(--ds-space-3);border:1px solid var(--ds-line);border-radius:var(--ds-radius-media);color:var(--ds-text-body);background:var(--ds-surface-input);cursor:pointer}#root .persona-editor,#root .persona-image-field{display:grid;gap:var(--ds-space-3);justify-items:start}#root .persona-card :is(strong,small),#root .persona-editor>label{width:100%}#root .persona-card img,#root .persona-image-field img{width:var(--ds-space-12, 6rem);aspect-ratio:1;object-fit:contain;border:1px solid var(--ds-line);border-radius:var(--ds-radius-media);background:var(--ds-surface-input)}#root .persona-editor>button[type=submit]{min-height:var(--ds-control-height);padding-inline:var(--ds-space-4);border-radius:var(--ds-radius-control);background:var(--ds-accent-wash);color:var(--ds-accent-strong)}#root .player-panel-intro strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body)}#root .player-note-editor textarea{box-sizing:border-box;width:100%;min-height:240px;resize:vertical;padding:var(--ds-space-4);color:var(--ds-text-strong);border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-control);outline:0;background:var(--ds-surface-input);font:500 var(--ds-font-size-body)/var(--ds-line-body) var(--ds-font-ui)}#root .player-note-editor textarea:focus{border-color:var(--ds-accent);box-shadow:var(--ds-focus-ring-form)}#root .player-note-meta{display:flex;justify-content:flex-end;margin-top:calc(var(--ds-space-4) * -1);color:var(--ds-text-faint);font-size:var(--ds-font-size-caption);font-variant-numeric:tabular-nums}#root .player-note-editor .player-setting-toggle{padding-top:var(--ds-space-5);border-top:1px solid var(--ds-line)}#root .player-note-editor .player-setting-toggle input{accent-color:var(--ds-accent)}#root .player-memory-tabs{position:relative;z-index:1;display:flex;flex:0 0 auto;gap:var(--ds-space-5);overflow-x:auto}#root .player-memory-tabs button{position:relative;z-index:1;display:inline-flex;align-items:center;gap:var(--ds-space-2);min-width:max-content;min-height:var(--ds-control-height);padding:0;color:var(--ds-text-muted);border:0;border-bottom:2px solid transparent;background:transparent;font:650 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui);cursor:pointer}#root .player-memory-tabs button[aria-selected=true]{color:var(--ds-text-strong);border-bottom-color:var(--ds-accent)}#root .player-memory-tabs button span{color:var(--ds-text-faint);font-size:var(--ds-font-size-caption);font-variant-numeric:tabular-nums}#root .player-memory-list{display:flex;flex-direction:column}#root .player-memory-list .player-entry.user{padding-left:var(--ds-space-3)}#root .player-memory-item p{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body);white-space:pre-wrap;overflow-wrap:break-word;word-break:keep-all}#root .player-text-action{align-self:flex-start;padding:var(--ds-space-2) 0;border:0;background:transparent;color:var(--ds-text-body);font:inherit}#root .player-settings-form input[type=range]{width:100%;accent-color:var(--ds-accent)}#root .player-cast-gallery{display:grid;gap:var(--ds-space-4)}#root .player-cast-gallery figure{display:flex;align-items:center;gap:var(--ds-space-4);margin:0}#root .player-cast-gallery img{width:var(--ds-space-10);height:var(--ds-space-11);object-fit:contain}#root .player-context-stats{display:grid;gap:var(--ds-space-3);margin:0}#root .player-context-stats>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:var(--ds-space-4)}#root .player-context-stats dt{color:var(--ds-text-muted)}#root .player-context-stats dd{margin:0;color:var(--ds-text-strong);font-weight:700;font-variant-numeric:tabular-nums}html:has(.story-play-page){overflow:hidden;scrollbar-gutter:auto}#root .story-play-page.is-visual-novel .player-workspace{height:100dvh}#root .is-visual-novel .player-vn-interaction:not(.has-event-choice){inset-inline:0;bottom:0;width:100%;transform:none;padding:0;gap:0;overflow:visible;scrollbar-gutter:auto}#root .is-visual-novel .player-vn-interaction:not(.has-event-choice)>:not(.player-dialogue){width:min(var(--ds-vn-reading-width),calc(100% - 2 * var(--ds-space-4)));margin-inline:auto}#root .is-visual-novel .player-vn-interaction:not(.has-event-choice)>.player-response-stack{position:fixed;z-index:9;top:calc(var(--ds-player-topbar-height) + var(--ds-space-5));bottom:calc(var(--ds-vn-reading-height) + var(--ds-space-5));left:50%;width:min(760px,calc(100vw - 2 * var(--ds-space-8)));margin:0;display:grid;align-content:center;gap:var(--ds-space-2);overflow-y:auto;transform:translate(-50%);scrollbar-width:thin}#root .is-visual-novel .player-vn-interaction:not(.has-event-choice)>.player-response-actions{position:static}#root .is-visual-novel .player-response-stack>.player-response-actions{width:min(620px,100%);margin-inline:auto}#root .is-visual-novel .player-response-stack>.player-composer-shell{width:100%}#root .is-visual-novel .player-response-stack>.player-response-actions .player-choice-option{animation:player-choice-enter var(--ds-motion-medium) ease-out both}#root .is-visual-novel .player-response-stack>.player-response-actions .player-choice-option:nth-child(2){animation-delay:60ms}#root .is-visual-novel .player-response-stack>.player-response-actions .player-choice-option:nth-child(3){animation-delay:.12s}@media(max-width:640px){#root .is-visual-novel .player-vn-interaction:not(.has-event-choice)>.player-response-stack{width:calc(100vw - 2 * var(--ds-space-3))}#root .player-composer-tools{flex-wrap:wrap}#root .player-composer-tools>.player-model-chip{width:100%;margin-left:0;justify-content:flex-start}#root .player-model-chip>svg:last-child{margin-left:auto}}#root .is-visual-novel .player-dialogue:has(.vn-reading-column){grid-template-columns:minmax(0,1fr);height:var(--ds-vn-reading-height);min-height:var(--ds-vn-reading-height);max-height:var(--ds-vn-reading-height);align-content:start;padding:clamp(var(--ds-space-4),2.4vh,var(--ds-space-7)) var(--ds-space-5) max(env(safe-area-inset-bottom),var(--ds-space-3));border-radius:0;border-top-color:color-mix(in srgb,var(--ds-vn-hud-line) 38%,transparent);-webkit-backdrop-filter:none;backdrop-filter:none}#root .is-visual-novel .player-dialogue.frame-dark-stage{color:var(--ds-vn-text-strong);background:color-mix(in srgb,var(--ds-vn-hud-surface-solid) 78%,transparent)}.vn-reading-column{display:grid;width:min(100%,var(--ds-vn-reading-width));justify-self:center;min-width:0;gap:var(--ds-space-2)}#root .is-visual-novel .vn-reading-column .player-dialogue-speaker{position:static}#root .story-play-page.is-visual-novel .player-topbar{background:transparent;border:solid transparent;border-width:0 0 1px;-webkit-backdrop-filter:none;backdrop-filter:none}#root .is-visual-novel .player-topbar :is(button,nav){pointer-events:auto}#root .story-play-page .player-tools{gap:var(--ds-space-2)}#root .story-play-page .player-tools>button{display:inline-grid;place-items:center;flex-shrink:0;width:var(--ds-control-height);height:var(--ds-control-height);min-width:0;padding:0;border:0}#root .story-play-page:not(.is-visual-novel) .player-tools>button{border-radius:50%;background:var(--ds-vn-hud-surface);color:var(--ds-vn-text-strong)}#root .story-play-page:not(.is-visual-novel) .player-tools>button:is(:hover,:focus-visible,[aria-pressed=true]){background:var(--ds-canvas-raised);color:var(--ds-accent)}#root .story-play-page .player-tools>button>span{display:none}@media(max-width:640px){#root .is-visual-novel{--ds-vn-reading-height: clamp(8rem, 19dvh, 10rem)}}}@layer player{#root .player-status{width:min(100%,860px);margin-inline:auto;padding:var(--ds-space-6);box-sizing:border-box;min-height:0;overflow-y:auto;scrollbar-gutter:stable;container-type:inline-size;color:var(--ds-text-body)}#root .player-status :where(figure,h3,p,dl,dd){margin:0}#root .player-status :where(div,section,figure,button){min-width:0}#root .player-status-tabs{display:flex;gap:var(--ds-space-6)}#root .player-status-tab-label{color:inherit;font:inherit;display:inline-flex;align-items:center;gap:var(--ds-space-2);white-space:nowrap}#root .player-status :where(button):focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}#root .player-status-content{padding-top:var(--ds-space-7)}#root .player-status-overview{display:grid;gap:var(--ds-space-7)}#root .player-status-overview.has-portrait{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);align-items:start}#root .player-status-person{border:0;padding:0;display:grid;gap:var(--ds-space-4);text-align:center}#root .player-status-person>img{width:100%;height:280px;object-fit:contain}#root .player-status-person h3{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .player-status-person p{margin-top:var(--ds-space-2);color:var(--ds-text-muted);font-size:var(--ds-font-size-label);line-height:1.6}#root .player-status-current{display:grid;gap:var(--ds-space-7)}#root .player-status-profile-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-4) var(--ds-space-6)}#root .player-status-profile-rows>div{min-width:0}#root .player-status-profile-rows dt{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .player-status-profile-rows dd{margin-top:var(--ds-space-1);color:var(--ds-text-strong);font-size:var(--ds-font-size-body);font-weight:600;line-height:1.6;overflow-wrap:break-word;word-break:keep-all}#root .player-status-stats{display:grid;gap:var(--ds-space-6)}#root .player-status-stat>div{display:flex;justify-content:space-between;align-items:baseline;gap:var(--ds-space-4)}#root .player-status-stat dt{color:var(--ds-text-body);font-size:var(--ds-font-size-body)}#root .player-status-stat dd{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:600;font-variant-numeric:tabular-nums}#root .player-status-stat dd small{margin-left:var(--ds-space-2);font-size:var(--ds-font-size-caption);color:var(--ds-text-muted)}#root .player-status-stat meter{display:block;width:100%;height:var(--ds-space-2);margin-top:var(--ds-space-3);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:var(--ds-radius-pill);background:var(--ds-line)}#root .player-status-stat meter::-webkit-meter-bar{height:100%;border:0;border-radius:var(--ds-radius-pill);background:var(--ds-line)}#root .player-status-stat meter::-webkit-meter-optimum-value{background:var(--ds-accent);border-radius:var(--ds-radius-pill)}#root .player-status-stat meter::-moz-meter-bar{background:var(--ds-accent);border-radius:var(--ds-radius-pill)}#root .player-status-range{display:block;margin-top:var(--ds-space-2);color:var(--ds-text-muted);text-align:right;font-size:var(--ds-font-size-caption)}#root .player-status-collection{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:var(--ds-space-7);align-items:start}#root .player-status-collection.is-skills{grid-template-columns:minmax(160px,200px) minmax(0,1fr);gap:var(--ds-space-6)}#root .player-status-collection.is-items{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:var(--ds-space-7)}#root .player-status-list{display:grid;gap:0}#root .player-status-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-3);width:100%;padding:var(--ds-space-3) var(--ds-space-2);min-height:44px;border:0;border-radius:0;background:none;color:var(--ds-text-muted);text-align:left}#root .player-status-entry.has-art{grid-template-columns:var(--ds-space-10) minmax(0,1fr) auto}#root .player-status-entry[aria-pressed=true]{color:var(--ds-accent);background:var(--ds-surface-input)}#root .player-status-entry:hover{color:var(--ds-text-strong);background:none}#root .player-status-entry-art{display:grid;place-items:center;width:var(--ds-space-10);height:var(--ds-space-10)}#root .player-status-entry-art :is(img,svg.player-status-atlas){width:100%;height:100%;object-fit:contain}#root .player-status-entry-label{color:inherit;display:grid;gap:var(--ds-space-2);overflow-wrap:break-word}#root .player-status-entry-label strong{color:inherit;font-size:var(--ds-font-size-body);font-weight:600;line-height:1.6}#root .player-status-entry-label small{font-size:var(--ds-font-size-caption);font-variant-numeric:tabular-nums}#root .player-status-detail{border:0;padding:0;display:grid;align-content:start;gap:var(--ds-space-5)}#root .player-status-item-art{width:100%;height:240px;object-fit:contain}#root .player-status-detail-symbol{margin:var(--ds-space-6) auto;color:var(--ds-accent)}#root .player-status-detail>header,#root .player-status-detail>p{padding:0;border:0;background:none}#root .player-status-detail h3{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:1.5}#root .player-status-detail header small{display:block;margin-bottom:var(--ds-space-2);font-size:var(--ds-font-size-caption);color:var(--ds-accent)}#root .player-status-detail p,#root .player-status-detail dd{font-size:var(--ds-font-size-body);line-height:1.8;white-space:pre-line;overflow-wrap:break-word}#root .player-status-detail dl{display:grid;gap:var(--ds-space-5)}#root .player-status-detail dt{margin-bottom:var(--ds-space-2);font-size:var(--ds-font-size-label);color:var(--ds-text-muted)}#root .player-status-collection.is-skills .player-status-detail{gap:var(--ds-space-6)}#root .player-status-collection.is-skills .player-status-detail dl{padding-top:var(--ds-space-5);border-top:1px solid var(--ds-line)}#root .player-inventory{display:grid;align-content:start;gap:var(--ds-space-3)}#root .player-inventory>header{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-3)}#root .player-inventory>header strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body)}#root .player-inventory>header small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-variant-numeric:tabular-nums}#root .player-status-collection.is-items .player-status-detail{gap:var(--ds-space-4)}#root .player-status-collection.is-items .player-status-item-art{height:180px}#root .player-status-empty{display:grid;gap:var(--ds-space-4);justify-items:center;align-content:center;padding-block:var(--ds-space-9);color:var(--ds-text-muted);text-align:center;font-size:var(--ds-font-size-body)}#root .player-status-empty svg{color:var(--ds-accent)}@container (max-width: 560px){#root .player-status-overview.has-portrait,#root .player-status-collection,#root .player-status-collection.is-skills,#root .player-status-collection.is-items{grid-template-columns:minmax(0,1fr)}#root .player-status-person>img{height:200px}#root .player-status-tabs{gap:var(--ds-space-4)}#root .player-status-item-art{height:200px}#root .player-status-profile-rows{grid-template-columns:minmax(0,1fr)}}#root .player-status-atlas{overflow:hidden}}@layer player{.first-scene-opening{position:absolute;top:0;right:0;bottom:0;left:0;z-index:9;display:grid;place-items:center;padding:var(--ds-space-6);overflow:hidden;color:var(--ds-text-strong);background:var(--ds-vn-opening-backdrop)}.first-scene-opening-identity{display:grid;max-width:min(100%,560px);justify-items:center;gap:var(--ds-space-5);text-align:center}.first-scene-opening-logo{position:relative;display:block;width:clamp(112px,12vw,148px);aspect-ratio:1;overflow:visible}.first-scene-opening-logo>img{display:block;width:100%;height:100%;object-fit:contain;opacity:.58;filter:saturate(.72) brightness(.78)}.first-scene-opening-logo-sweep{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;-webkit-mask:url(/assets/waku-ribbon-mark-D6NeBZO8.png) center / contain no-repeat;mask:url(/assets/waku-ribbon-mark-D6NeBZO8.png) center / contain no-repeat}.first-scene-opening-logo-sweep>i{position:absolute;top:0;bottom:0;left:-28%;display:block;width:28%;background:var(--ds-vn-opening-logo-bright);box-shadow:0 0 18px var(--ds-vn-opening-logo-bright);animation:first-scene-logo-sweep 1.9s ease-in-out infinite}.first-scene-opening-identity h1{margin:0;font-size:var(--ds-font-size-title-md);line-height:1.5;letter-spacing:var(--ds-letter-heading);word-break:keep-all;overflow-wrap:break-word}.first-scene-opening-status{color:var(--ds-text-muted);font-size:var(--ds-font-size-label);line-height:1.5}.first-scene-opening[data-phase=opening]{animation:first-scene-reveal var(--ds-vn-opening-duration) ease-out both}@keyframes first-scene-logo-sweep{0%,10%{opacity:0;transform:translate(0)}20%{opacity:1}78%{opacity:1}90%,to{opacity:0;transform:translate(458%)}}@keyframes first-scene-reveal{0%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.first-scene-opening-logo-sweep>i{animation:none;opacity:.55;transform:translate(178%)}.first-scene-opening[data-phase=opening]{animation-duration:1ms}}@media(max-width:600px){.first-scene-opening{padding:var(--ds-space-5)}.first-scene-opening-identity{gap:var(--ds-space-4)}}}@layer player{.player-media-gallery{display:grid;gap:var(--ds-space-4);min-width:0;padding:var(--ds-player-panel-inset)}.player-media-gallery .player-media-tabs{display:flex;gap:var(--ds-space-4);flex-wrap:wrap;border-bottom:1px solid var(--ds-line)}.player-media-gallery .player-media-source-panel{display:grid;gap:var(--ds-space-4)}.player-media-gallery .player-media-type-panel{display:grid;gap:var(--ds-space-4);min-width:0}.player-media-gallery .player-media-character-groups{display:grid;gap:var(--ds-space-8);min-width:0}.player-media-gallery .player-media-character-group{display:grid;gap:var(--ds-space-4);min-width:0}.player-media-gallery .player-media-character-group>header{display:flex;align-items:baseline;justify-content:space-between;gap:var(--ds-space-4);min-width:0}.player-media-gallery .player-media-character-group h3{min-width:0;margin:0;color:var(--ds-text-strong);line-height:var(--ds-line-body);word-break:keep-all;overflow-wrap:break-word}.player-media-gallery .player-media-character-group>header>span{flex:0 0 auto;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}.player-media-gallery .player-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));align-items:start;gap:var(--ds-space-6) var(--ds-space-4)}.player-media-gallery .player-media-tile{display:flex;flex-direction:column;width:100%;min-width:0;padding:0;gap:var(--ds-space-3);border:0;background:transparent;border-radius:var(--ds-radius-media);text-align:left;color:var(--ds-text-body);font:inherit}.player-media-gallery .player-media-thumbnail{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:var(--ds-radius-media);background:var(--ds-surface-media)}.player-media-gallery .player-media-grid[data-media-type=character] .player-media-thumbnail{aspect-ratio:3 / 4}.player-media-gallery .player-media-grid[data-media-type=screenshot] .player-media-thumbnail{aspect-ratio:16 / 9}.player-media-gallery .player-media-thumbnail>:is(img,svg){display:block;width:100%;height:100%;object-fit:contain}.player-media-gallery .player-media-caption{line-height:var(--ds-line-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-media-gallery .player-media-tile:hover{color:var(--ds-accent)}.player-media-gallery .player-media-generation>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--ds-text-body)}.player-media-gallery .player-media-empty{display:flex;flex-direction:column;align-items:center;gap:var(--ds-space-3);padding:var(--ds-space-8) var(--ds-space-4);text-align:center;color:var(--ds-text-muted)}.player-media-gallery .player-media-empty>strong{color:var(--ds-text-body);font-size:var(--ds-font-size-body)}.player-media-gallery .player-media-empty>p{margin:0;font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}.player-media-image-error{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:var(--ds-space-3);padding:var(--ds-space-4);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);text-align:center}.player-media-viewer{width:calc(100vw - var(--ds-space-7));max-width:1200px;height:calc(100dvh - var(--ds-space-7));max-height:none;margin:auto;padding:var(--ds-space-4);border:1px solid var(--ds-line);border-radius:var(--ds-radius-overlay);background:var(--ds-surface-overlay);color:var(--ds-text-strong)}.player-media-viewer::backdrop{background:var(--ds-overlay-scrim)}.player-media-viewer .player-media-viewer-body{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:var(--ds-space-4);height:100%;min-width:0}.player-media-viewer .player-media-viewer-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);min-width:0}.player-media-viewer .player-media-viewer-heading>strong{min-width:0;line-height:var(--ds-line-body);word-break:keep-all;overflow-wrap:break-word}.player-media-viewer button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:44px;min-height:44px;gap:var(--ds-space-2);padding:var(--ds-space-2);border:0;border-radius:var(--ds-radius-control);background:transparent;color:var(--ds-text-body);font:inherit}.player-media-viewer button:hover:not(:disabled){background:var(--ds-surface-input-hover);color:var(--ds-text-strong)}.player-media-viewer button:disabled{opacity:.4;cursor:default}.player-media-viewer .player-media-full-image{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;overflow:hidden}.player-media-viewer .player-media-full-image>:is(img,svg){display:block;width:100%;height:100%;object-fit:contain}.player-media-viewer .player-media-viewer-navigation{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-4);font-size:var(--ds-font-size-caption);color:var(--ds-text-muted)}.player-media-gallery button:focus-visible,.player-media-viewer button:focus-visible{outline:2px solid var(--ds-accent);outline-offset:-2px}@media(max-width:480px){.player-media-gallery .player-media-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:var(--ds-space-5) var(--ds-space-3)}.player-media-gallery .player-media-grid:not([data-media-type=character]){grid-template-columns:minmax(0,1fr)}.player-media-viewer{width:calc(100vw - var(--ds-space-4));height:calc(100dvh - var(--ds-space-4));padding:var(--ds-space-3)}}}@layer curation{:root{--curation-lead-height: min(620px, 52.36cqi);--curation-character-lead-height: min(620px, 52.145cqi);--curation-section-gap: clamp(48px, 5.5vw, 76px);--curation-motion-duration: .44s;--curation-motion-ease: cubic-bezier(.22, .8, .24, 1);--hero-focal-desktop: center;--hero-focal-mobile: center;--character-hero-backdrop: none}#root .page-content:has(>.discovery-experience){max-width:none;padding:0 0 var(--ds-space-11)}#root .main-area:has(>.page-content>.discovery-experience>.discovery-hero-slot)>.topbar{margin-bottom:calc(-1 * var(--ds-topbar-height));transition:background-color .18s ease,border-color .18s ease,backdrop-filter .18s ease}#root .main-area:has(>.page-content>.discovery-experience.is-home>.discovery-hero-slot)>.topbar:not(.is-scrolled){color:var(--ds-text-on-media);border-bottom:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}#root .main-area:has(>.page-content>.discovery-experience.is-home>.discovery-hero-slot)>.topbar:not(.is-scrolled) :is(.primary-tabs button,.global-search-trigger,.profile-button,.top-actions>.icon-button,.menu-button){color:var(--ds-text-on-media-soft);background:transparent;text-shadow:var(--ds-shadow-text-on-media)}#root .main-area:has(>.page-content>.discovery-experience.is-home>.discovery-hero-slot)>.topbar:not(.is-scrolled) :is(.primary-tabs button,.global-search-trigger,.profile-button,.top-actions>.icon-button,.menu-button):is(:hover,:focus-visible){color:var(--ds-text-on-media);background:transparent}#root .main-area:has(>.page-content>.discovery-experience.is-home>.discovery-hero-slot)>.topbar:not(.is-scrolled) .primary-tabs button.active{color:var(--ds-accent)}#root .main-area:has(>.page-content>.discovery-experience.is-searching)>.topbar,#root .main-area:has(>.page-content>.discovery-experience.is-home>.discovery-hero-slot)>.topbar.is-scrolled{border-bottom-color:var(--ds-line);background:var(--ds-vn-topbar-surface);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}#root .discovery-experience{container-type:inline-size}#root .discovery-experience.is-searching:has(>.discovery-hero-slot){padding-top:var(--ds-topbar-height)}#root .discovery-hero-slot{height:var(--curation-lead-height);overflow:clip;transition:height var(--curation-motion-duration) var(--curation-motion-ease),opacity .18s ease,transform var(--curation-motion-duration) var(--curation-motion-ease)}#root .discovery-hero-slot:has(>.character-hero){--curation-lead-height: var(--curation-character-lead-height);height:calc(var(--curation-character-lead-height) + var(--ds-topbar-height));padding-top:var(--ds-topbar-height)}#root .discovery-experience.is-searching .discovery-hero-slot{height:0;padding-top:0;opacity:0;transform:translateY(-32px);pointer-events:none}#root .discovery-hero-slot>:is(.hero,.character-hero){height:var(--curation-lead-height);margin:0;border-radius:0}#root .discovery-experience>.discovery-nav-row{margin:0 var(--ds-page-gutter) var(--ds-space-5);padding-top:var(--ds-space-4);display:grid;gap:var(--ds-space-3)}#root .discovery-experience>.discovery-nav-row nav{display:flex}#root .discovery-experience>.discovery-nav-row .discovery-secondary-nav nav{gap:var(--ds-space-3)}#root .discovery-experience>.discovery-nav-row .story-product-filter>button{color:var(--ds-text-muted);transition:none}#root .discovery-experience>.discovery-nav-row .story-product-filter>button[aria-selected=true]{color:var(--ds-accent-strong)}#root .discovery-experience>.discovery-nav-row .story-product-filter>.is-visual-novel[aria-selected=true]{color:#e4a09b}#root .discovery-experience>.discovery-nav-row .story-product-filter>.is-story-chat[aria-selected=true]{color:#aab7e8}#root .discovery-experience>.discovery-nav-row :is(button,a){min-height:var(--ds-control-height);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);line-height:1}#root .discovery-experience.is-searching .discovery-content{padding-inline:var(--ds-page-gutter)}#root :is(.story-card .card-visual,.character-card .character-visual){border-radius:var(--ds-radius-media)}#root :is(.story-card .card-visual,.character-card .character-visual) .cover-art{background-position:center 18%;background-size:cover;transition:transform .28s ease}#root :is(.story-card .card-visual:is(:hover,:focus-visible),.character-card:is(:hover,:focus-visible) .character-visual) .cover-art{transform:scale(1.025)}#root :is(.story-curation-home,.character-curation-home){font-family:var(--ds-font-ui)}#root :is(.story-curation-home,.character-curation-home)>*{width:auto;margin-inline:var(--ds-page-gutter)}#root :is(.story-curation-home,.character-curation-home)>.content-shelf:first-child,#root :is(.story-curation-home,.character-curation-home) .content-shelf+.content-shelf{margin-top:var(--curation-section-gap)}#root .hero-carousel .eyebrow{min-height:2.06cqi;color:var(--ds-accent-strong);font-size:1.03cqi;font-weight:760;letter-spacing:.11em;line-height:1;text-shadow:var(--ds-shadow-text-on-media)}@keyframes curation-art-enter{0%{opacity:.62;transform:scale(1.025)}to{opacity:1;transform:scale(1.015)}}@keyframes curation-copy-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes curation-slide-in-forward{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes curation-slide-out-forward{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes curation-slide-in-backward{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes curation-slide-out-backward{0%{transform:translate(0)}to{transform:translate(100%)}}#root .hero-carousel-track,#root .hero-carousel-slide{position:absolute;top:0;right:0;bottom:0;left:0}#root .hero-carousel-track{overflow:hidden}#root .hero-carousel-slide.is-current{z-index:2}#root .hero-carousel-slide.is-transitioning.is-current{animation:curation-slide-in-forward var(--curation-motion-duration) var(--curation-motion-ease) both}#root .hero-carousel-slide.is-previous{z-index:1;animation:curation-slide-out-forward var(--curation-motion-duration) var(--curation-motion-ease) both;pointer-events:none}#root .hero-carousel[data-slide-direction="-1"] .hero-carousel-slide.is-transitioning.is-current{animation-name:curation-slide-in-backward}#root .hero-carousel[data-slide-direction="-1"] .hero-carousel-slide.is-previous{animation-name:curation-slide-out-backward}#root .hero-carousel .hero-carousel-slide:after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;content:"";pointer-events:none;background:var(--ds-story-detail-image-blend)}#root .hero-carousel .hero-image{background-color:transparent;background-position:var(--hero-focal-desktop, center);background-blend-mode:normal;filter:none;animation:curation-art-enter .48s var(--curation-motion-ease) both}#root .hero-carousel .hero-copy{--curation-hero-title-size: 4.12cqi;--curation-hero-copy-size: 1.2cqi;--curation-hero-copy-line-height: 1.5;inset:auto auto 5.49cqi 5.49cqi;width:39.5cqi;transform:none;text-shadow:0 2px 4px rgba(0,0,0,.96),0 0 18px rgba(0,0,0,.92),0 0 36px rgba(0,0,0,.72);animation:curation-copy-enter .42s var(--curation-motion-ease) both}@media(max-width:768px){#root .hero-carousel .hero-image{background-position:var(--hero-focal-mobile, var(--hero-focal-desktop, center))}}#root .hero-carousel-controls{position:absolute;z-index:8;top:0;right:0;bottom:0;left:0;pointer-events:none;color:#ffffffc7}#root .hero-carousel-controls button{flex:0 0 auto;color:inherit;border:0;background:transparent;pointer-events:auto;cursor:pointer}#root .hero-carousel-pagination{position:absolute;right:5.49cqi;bottom:2.06cqi;display:flex;align-items:center}#root .hero-carousel-pages{display:flex;align-items:center}#root .hero-carousel-pages button{width:44px;height:44px;padding:0;display:grid;place-items:center;border-radius:50%}#root .hero-carousel-pages button>span{width:.59cqi;height:.59cqi;border-radius:50%;background:var(--ds-text-on-media-muted)}#root .hero-carousel-pages button.active>span{background:var(--ds-accent-strong)}#root .hero-carousel-controls button:focus-visible{outline:2px solid var(--ds-accent-strong);outline-offset:3px}#root .character-hero.hero-carousel .character-hero-copy,#root .character-hero.hero-carousel .character-hero-scene{animation:curation-copy-enter .44s var(--curation-motion-ease) both}#root .character-hero.hero-carousel{overflow:visible}#root .character-hero.hero-carousel:before{position:absolute;inset:calc(-1 * var(--ds-topbar-height)) 0 0 44%;background:var(--character-hero-backdrop) 58% 18% / cover no-repeat;content:""}#root .character-hero.hero-carousel .character-hero-scene{background:transparent}#root .character-hero.hero-carousel .character-hero-cover{opacity:0}@media(max-width:768px){#root .discovery-experience>.discovery-nav-row,#root :is(.story-curation-home,.character-curation-home)>*{margin-inline:var(--ds-space-4)}#root .discovery-experience.is-searching .discovery-content{padding-inline:var(--ds-space-4)}}#root .hero-carousel .hero-actions{position:relative;height:3.26cqi;gap:.69cqi}#root .hero-carousel .hero-actions .primary-button{position:absolute;inset:50% auto auto 0;width:max(44px,10.31cqi);height:44px;padding:0;gap:.68cqi;border:0;background:transparent;box-shadow:none;font-size:.94cqi;transform:translateY(calc(-50% - 2px))}#root .hero-carousel .hero-actions .primary-button:before{position:absolute;inset:50% auto auto 0;width:10.31cqi;height:3.26cqi;border-radius:.43cqi;background:var(--accent-soft);transform:translateY(calc(-50% + 2px));content:""}#root .hero-carousel .hero-actions .primary-button:hover:before{background:var(--accent-hover)}#root .hero-carousel .hero-actions .primary-button svg{width:1.46cqi;height:1.46cqi}#root .hero-carousel .hero-actions .primary-button>*{position:relative;transform:translate(calc((10.31cqi - max(44px,10.31cqi))/2))}@media(prefers-reduced-motion:reduce){#root .discovery-experience,#root .discovery-hero-slot,#root .main-area:has(>.page-content>.discovery-experience>.discovery-hero-slot)>.topbar{transition-duration:1ms}#root .hero-carousel .hero-image,#root .hero-carousel .hero-carousel-slide,#root .hero-carousel .hero-copy,#root .character-hero.hero-carousel .character-hero-copy,#root .character-hero.hero-carousel .character-hero-scene{animation-duration:1ms}}}@layer commerce{#root .waffle-mark{display:block;flex:0 0 auto;object-fit:contain;object-position:center}#root .waffle-usage{display:inline-flex;align-items:center;gap:var(--ds-space-2);min-width:0;min-height:28px;color:var(--ds-text-muted);font-family:var(--ds-font-ui);font-size:var(--ds-font-size-caption);white-space:nowrap}#root .waffle-usage>span{padding-right:var(--ds-space-2);border-right:var(--ds-border-width) solid var(--ds-line)}#root .waffle-usage>strong{color:var(--ds-text-body);font-weight:650}#root .waffle-usage.is-unavailable>strong{color:var(--ds-text-faint);font-weight:520}#root .waffle-wallet{min-width:0;display:grid;gap:var(--ds-space-6)}#root .waffle-wallet-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,400px);align-items:center;gap:var(--ds-space-5);padding-bottom:var(--ds-space-5);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .waffle-wallet-balance{display:flex;align-items:center;gap:var(--ds-space-5)}#root .waffle-wallet-balance>.waffle-mark{width:80px;height:80px}#root .waffle-wallet-balance>div{display:grid;gap:var(--ds-space-1)}#root .waffle-wallet-balance span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:700;letter-spacing:.08em}#root .waffle-wallet-balance strong{color:var(--ds-text-strong);font-size:clamp(34px,4vw,54px);line-height:1;font-variant-numeric:tabular-nums}#root .waffle-wallet-balance small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .waffle-wallet-hero>p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .waffle-wallet-hero>p b{color:var(--ds-accent);font-size:var(--ds-font-size-caption);letter-spacing:.06em}#root .waffle-wallet section header{margin-bottom:var(--ds-space-5)}#root .waffle-wallet section header h2{margin:0 0 var(--ds-space-1);color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .waffle-wallet section header p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waffle-wallet-tabs{display:flex;gap:var(--ds-space-6);min-height:var(--ds-control-height);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .waffle-wallet-tabs button{position:relative;min-height:var(--ds-control-height);display:inline-flex;align-items:center;gap:var(--ds-space-2);padding:0;color:var(--ds-text-muted);border:0;background:transparent;cursor:pointer;font-family:var(--ds-font-ui);font-size:var(--ds-font-size-body);font-weight:650}#root .waffle-wallet-tabs button:after{content:"";position:absolute;inset:auto 0 -1px;height:2px;background:transparent}#root .waffle-wallet-tabs button[aria-pressed=true]{color:var(--ds-text-strong)}#root .waffle-wallet-tabs button[aria-pressed=true]:after{background:var(--ds-accent)}#root .waffle-wallet-tabs button:hover{color:var(--ds-text-strong)}#root .waffle-charge-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:start;gap:var(--ds-space-10)}#root .waffle-charge-main{min-width:0}#root .waffle-product{width:100%;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-4);min-height:84px;padding:var(--ds-space-4) 0;color:var(--ds-text-body);text-align:left;border:0;border-radius:0;background:transparent;cursor:pointer;font-family:var(--ds-font-ui)}#root .waffle-product:is(:hover,:focus-visible,:active,.is-selected){background:transparent;border:0}#root .waffle-product-check{width:20px;height:20px;display:grid;place-items:center;border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:50%;color:var(--ds-canvas)}#root .waffle-product.is-selected .waffle-product-check{border-color:var(--ds-accent);background:var(--ds-accent)}#root .waffle-product:hover .waffle-product-check{border-color:var(--ds-accent)}#root .waffle-product-content{min-width:0;display:grid;gap:var(--ds-space-2)}#root .waffle-product-amount{min-width:0;display:flex;align-items:center;gap:var(--ds-space-2)}#root .waffle-product-amount strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-variant-numeric:tabular-nums;white-space:nowrap}#root .waffle-product-amount small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .waffle-product-breakdown{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-2)}#root .waffle-product-breakdown small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-variant-numeric:tabular-nums}#root .waffle-product-breakdown b{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:700;font-variant-numeric:tabular-nums}#root .waffle-product-price{color:var(--ds-text-strong);font-size:var(--ds-font-size-body);font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}#root .waffle-product:focus-visible{outline:none}#root .waffle-product:focus-visible .waffle-product-check{outline:2px solid var(--ds-accent);outline-offset:2px}#root .waffle-order-summary{position:sticky;top:calc(var(--ds-topbar-height) + var(--ds-space-5));padding:var(--ds-space-5) 0 var(--ds-space-2) var(--ds-space-6);border-left:var(--ds-border-width) solid var(--ds-line)}#root .waffle-order-kicker{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:700;letter-spacing:.08em}#root .waffle-order-total{display:flex;align-items:baseline;gap:var(--ds-space-2);margin:var(--ds-space-3) 0 var(--ds-space-5)}#root .waffle-order-total>span{display:flex;align-items:center;gap:var(--ds-space-3)}#root .waffle-order-total strong{color:var(--ds-text-strong);font-size:clamp(30px,3.5vw,44px);line-height:1;font-variant-numeric:tabular-nums}#root .waffle-order-total small{color:var(--ds-text-muted);font-size:var(--ds-font-size-body)}#root .waffle-order-summary dl{margin:0 0 var(--ds-space-5);border-top:var(--ds-border-width) solid var(--ds-line)}#root .waffle-order-summary dl>div{display:flex;justify-content:space-between;gap:var(--ds-space-4);padding-block:var(--ds-space-3);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .waffle-order-summary dt{color:var(--ds-text-muted)}#root .waffle-order-summary dd{margin:0;color:var(--ds-text-body);font-weight:650;font-variant-numeric:tabular-nums}#root .waffle-order-summary .waffle-order-price dt,#root .waffle-order-summary .waffle-order-price dd{color:var(--ds-text-strong)}#root .waffle-order-summary>button{width:100%;justify-content:center}#root .waffle-order-summary>button:disabled{position:static;min-height:var(--ds-control-height);margin:0;cursor:not-allowed;opacity:.54}#root .waffle-order-summary>p{margin:var(--ds-space-3) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waffle-purchase-note{display:flex;align-items:flex-start;gap:var(--ds-space-3);padding-top:var(--ds-space-4);color:var(--ds-text-muted)}#root .waffle-purchase-note svg{flex:0 0 auto;margin-top:var(--ds-space-1);color:var(--ds-accent)}#root .waffle-purchase-note p{margin:0;font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waffle-history-section{max-width:900px}#root .waffle-history{border-top:var(--ds-border-width) solid var(--ds-line)}#root .waffle-history article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--ds-space-4);padding-block:var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .waffle-history article div{display:grid;gap:var(--ds-space-1)}#root .waffle-history article strong{color:var(--ds-text-strong)}#root .waffle-history article small{color:var(--ds-text-muted)}#root .waffle-history article>b{color:var(--ds-text-strong);font-variant-numeric:tabular-nums}#root .waffle-history article>b.is-spent{color:var(--ds-accent)}#root .waffle-wallet-empty{display:flex;align-items:flex-start;gap:var(--ds-space-4);padding-block:var(--ds-space-6);border-block:var(--ds-border-width) solid var(--ds-line)}#root .waffle-wallet-empty>svg{flex:0 0 auto;color:var(--ds-text-muted)}#root .waffle-wallet-empty>div{display:grid;gap:var(--ds-space-1)}#root .waffle-wallet-empty strong{color:var(--ds-text-strong)}#root .waffle-wallet-empty p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waffle-rates{display:grid;gap:var(--ds-space-4);padding-top:var(--ds-space-6);border-top:var(--ds-border-width) solid var(--ds-line)}#root .waffle-rates h2{margin:0;font-size:var(--ds-font-size-title-sm);color:var(--ds-text-strong)}#root .waffle-rates dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-6);margin:0}#root .waffle-rates dl>div{display:grid;align-content:start;gap:var(--ds-space-3)}#root .waffle-rates dt{display:grid;gap:var(--ds-space-1);color:var(--ds-text-body)}#root .waffle-rates dt small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .waffle-rates dd{margin:0;color:var(--ds-text-muted)}#root .waffle-rates dd strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .waffle-postpaid-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-8);align-items:start}#root :is(.waffle-calculator,.waffle-budget){min-width:0;display:grid;align-content:start;gap:var(--ds-space-4)}#root :is(.waffle-calculator,.waffle-budget) h3{margin:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .waffle-field{display:grid;gap:var(--ds-space-2);min-width:0;color:var(--ds-text-body);font-size:var(--ds-font-size-body)}#root .waffle-field>span{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--ds-space-2)}#root .waffle-field small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waffle-field>input{width:100%;min-width:0;min-height:var(--ds-control-height);padding:var(--ds-space-3) var(--ds-space-4);border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:var(--radius-control);background:var(--ds-surface-input);color:var(--ds-text-strong);font:inherit;font-variant-numeric:tabular-nums}#root .waffle-field>input:focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}#root .waffle-field-help{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waffle-field-help[role=alert]{color:var(--ds-accent)}#root .waffle-rate-list{margin:0;border-top:var(--ds-border-width) solid var(--ds-line)}#root .waffle-rate-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-3);padding-block:var(--ds-space-4);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .waffle-rate-list dt{display:grid;gap:var(--ds-space-1);color:var(--ds-text-body)}#root .waffle-rate-list small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .waffle-rate-list dd{margin:0;color:var(--ds-text-strong);font-variant-numeric:tabular-nums}#root .waffle-preview-total{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:var(--ds-space-3);padding-block:var(--ds-space-2)}#root .waffle-preview-total>span{color:var(--ds-text-muted)}#root .waffle-preview-total>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-variant-numeric:tabular-nums}#root .waffle-budget-modes{display:grid;gap:var(--ds-space-4);min-width:0;margin:0;padding:0;border:0}#root .waffle-budget-modes legend{margin-bottom:var(--ds-space-4);color:var(--ds-text-body)}#root .waffle-budget-modes label{min-height:var(--ds-control-height);display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:var(--ds-space-3);cursor:pointer}#root .waffle-budget-modes input{width:20px;height:20px;margin:0;accent-color:var(--ds-accent)}#root .waffle-budget-modes label>span{display:grid;gap:var(--ds-space-1)}#root .waffle-budget-modes strong{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--ds-space-2);color:var(--ds-text-body);font-size:var(--ds-font-size-body);font-weight:650}#root .waffle-budget-modes small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waffle-budget-result{margin:0;padding-top:var(--ds-space-4);border-top:var(--ds-border-width) solid var(--ds-line);color:var(--ds-text-body);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .profile-menu-account{padding-bottom:var(--ds-space-3);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .profile-menu-account+.profile-menu-list{border-top:0}#root .profile-menu-wallet{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-2);padding:0 var(--ds-space-4)}#root .profile-menu-wallet-balance{min-width:0;min-height:var(--ds-control-height-compact);display:flex;align-items:center;gap:var(--ds-space-2);padding:0;color:var(--ds-text-body);text-align:left;border:0;background:transparent;cursor:pointer}#root .profile-menu-wallet-balance>span{min-width:0;display:flex;align-items:baseline;gap:var(--ds-space-2)}#root .profile-menu-wallet-balance small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);white-space:nowrap}#root .profile-menu-wallet-balance strong{overflow:hidden;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:1;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}#root .profile-menu-wallet-charge{min-width:48px;min-height:var(--ds-control-height);padding-inline:var(--ds-space-3);color:var(--ds-canvas);border:0;border-radius:var(--radius-control);background:var(--ds-text-strong);cursor:pointer;font-family:var(--ds-font-ui);font-size:var(--ds-font-size-caption);font-weight:700}#root .profile-menu-wallet-balance:hover strong{color:var(--ds-accent)}#root .profile-menu-wallet-balance:focus-visible,#root .profile-menu-wallet-charge:focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}#root .player-usage-line{display:flex;justify-content:flex-end;min-height:28px}#root .image-waffle-usage{flex:0 0 auto;margin-left:auto}@media(max-width:900px){#root .waffle-wallet-hero{grid-template-columns:1fr;align-items:start;gap:var(--ds-space-5)}#root .waffle-charge-section{grid-template-columns:1fr;gap:var(--ds-space-6)}#root .waffle-order-summary{position:static;padding:var(--ds-space-5) 0 0;border-top:var(--ds-border-width) solid var(--ds-line);border-left:0}#root .waffle-usage{white-space:normal}#root .image-waffle-usage{margin-left:0}#root .waffle-postpaid-columns{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-7)}}@media(max-width:480px){#root .waffle-wallet-balance>.waffle-mark{width:68px;height:68px}#root .waffle-wallet-hero{padding-bottom:var(--ds-space-6)}#root .waffle-wallet-tabs{gap:var(--ds-space-5)}#root .waffle-product{grid-template-columns:20px minmax(0,1fr) auto;gap:var(--ds-space-2) var(--ds-space-3)}#root .waffle-product-amount{flex-wrap:wrap;gap:var(--ds-space-1)}#root .waffle-product-amount strong{font-size:var(--ds-font-size-body)}#root .waffle-product-amount small{display:none}#root .waffle-rates dl{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-5)}}@container (max-width: 59.99rem){#root .waffle-wallet-hero{grid-template-columns:minmax(0,1fr);align-items:start;gap:var(--ds-space-5)}#root .waffle-charge-section{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-6)}#root .waffle-order-summary{position:static;top:auto;padding:var(--ds-space-5) 0 0;border-top:var(--ds-border-width) solid var(--ds-line);border-left:0}#root .waffle-postpaid-columns{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-7)}}@container (max-width: 35.99rem){#root .waffle-wallet{gap:var(--ds-space-6)}#root .waffle-wallet-balance>.waffle-mark{width:64px;height:64px}#root .waffle-wallet-tabs{max-width:100%;gap:var(--ds-space-5);overflow-x:auto;scrollbar-width:none}#root .waffle-wallet-tabs::-webkit-scrollbar{display:none}#root .waffle-wallet-tabs button{flex:0 0 auto;white-space:nowrap}#root .waffle-product,#root .waffle-product:is(:hover,:focus-visible,:active){grid-template-columns:20px minmax(0,1fr) auto;gap:var(--ds-space-2) var(--ds-space-3);min-height:88px;padding:var(--ds-space-4) 0}#root .waffle-product-amount{flex-wrap:wrap;gap:var(--ds-space-1)}#root .waffle-product-amount strong{font-size:var(--ds-font-size-body)}#root .waffle-product-amount small{display:none}#root .waffle-rates dl{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-5)}#root .waffle-order-total{align-items:flex-end;flex-wrap:wrap}}}@layer interaction{#root [data-control-group=tabs]{min-width:0;display:flex;align-items:stretch;gap:var(--ds-space-5);overflow-x:auto;scrollbar-width:none}#root [data-control-group=tabs]::-webkit-scrollbar{display:none}#root [data-control-group=tabs]>button,#root [data-control-group=tabs]>button:is(:hover,:focus-visible,:active,.active,[aria-selected=true],[aria-pressed=true]){box-sizing:border-box;flex:0 0 auto;min-width:44px;min-height:var(--ds-control-height);margin:0;padding:var(--ds-space-2) var(--ds-space-1) var(--ds-space-3);display:grid;align-content:center;gap:var(--ds-space-1);color:var(--ds-text-muted);border:0;border-bottom:calc(var(--ds-border-width) * 2) solid transparent;border-radius:0;background:transparent;box-shadow:none;font-family:var(--ds-font-ui);font-size:var(--ds-font-size-label);font-weight:680;line-height:var(--ds-line-tight);text-align:left;transform:none}#root [data-control-group=tabs]>button:is(.active,[aria-selected=true],[aria-pressed=true]){color:var(--ds-text-strong);border-bottom-color:var(--ds-accent)}#root [data-control-group=tabs]>button:not(.active):not([aria-selected=true]):not([aria-pressed=true]):hover{color:var(--ds-text-strong)}#root [data-control-group=tabs]>button:focus-visible{outline:calc(var(--ds-border-width) * 2) solid var(--ds-focus);outline-offset:calc(var(--ds-space-1) * -1)}#root [data-control-group=tabs][data-control-variant=descriptive]>button,#root [data-control-group=tabs][data-control-variant=descriptive]>button:is(:hover,:focus-visible,:active,.active,[aria-selected=true],[aria-pressed=true]){min-width:min(176px,38vw);min-height:calc(var(--ds-control-height) + var(--ds-space-4));padding-inline:var(--ds-space-2)}#root [data-control-group=tabs]>button>strong{color:inherit;font:inherit}#root [data-control-group=tabs]>button>small{min-height:0;color:var(--ds-text-faint);font-size:var(--ds-font-size-caption);font-weight:520;line-height:var(--ds-line-body);white-space:normal}#root [data-control-group=tabs]>button:is(.active,[aria-selected=true],[aria-pressed=true])>small,#root [data-control-group=tabs]>button:hover>small{color:var(--ds-text-muted)}}@layer interaction{#root .story-studio-shell .studio-choice-group>div>button,#root .story-studio-shell .studio-choice-group>div>button:is(:hover,:focus-visible,:active,.active,[aria-pressed=true]){min-height:var(--ds-control-height);padding:var(--ds-space-2) var(--ds-space-4);border:var(--ds-border-width) solid var(--ds-line-strong);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);color:var(--ds-text-body);box-shadow:none;font-weight:650;transform:none}#root .story-studio-shell .studio-choice-group>div>button:is(.active,[aria-pressed=true]){color:var(--ds-text-strong);border-color:var(--ds-accent);background:var(--ds-accent-wash)}#root .story-studio-shell .studio-choice-group>div>button:not(.active):not([aria-pressed=true]):hover{color:var(--ds-text-strong);background:var(--ds-surface-input-hover)}#root .story-studio-shell .studio-choice-group>div>button:focus-visible{outline:calc(var(--ds-border-width) * 2) solid var(--ds-focus);outline-offset:var(--ds-space-1)}.cast-editor-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:var(--ds-space-2);padding-bottom:var(--ds-space-4);flex:none}.cast-editor-heading h3{margin:var(--ds-space-1) 0 0;font-size:var(--ds-font-size-title-sm)}#root .cast-editor-heading small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);word-break:keep-all}#root .character-settings-modal .cast-editor-heading button{display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);padding-inline:var(--ds-space-2);color:var(--ds-text-body);border:0;background:transparent;border-radius:var(--ds-radius-control)}#root .character-settings-modal .cast-editor-heading button:hover{color:var(--ds-text-strong);background:var(--ds-surface-input-hover)}.cast-editor-heading button:focus-visible{outline:calc(var(--ds-border-width) * 2) solid var(--ds-focus)}.cast-editor-heading .cast-close{width:var(--ds-control-height)}@container studio (max-width: 480px){#root .character-settings-modal .character-detail-tabs[data-control-group=tabs][role=tablist]{column-gap:var(--ds-space-1)}}@container studio (max-width: 350px){#root .character-settings-modal .character-detail-tabs[data-control-group=tabs][role=tablist]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}#root .character-settings-modal .character-detail-tabs[data-control-group=tabs]{position:static;display:flex;flex:none;flex-wrap:wrap;justify-content:flex-start;gap:0 var(--ds-space-4);padding:0;margin:0;border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .character-settings-modal .character-detail-tabs[data-control-group=tabs]>button{flex:none;min-width:max-content;min-height:var(--ds-control-height);width:auto;padding:var(--ds-space-2) var(--ds-space-1)}#root .character-settings-modal .character-detail-tabs[data-control-group=tabs]>button[role=tab]{display:inline-flex;align-items:center;justify-content:flex-start;border-bottom:calc(2 * var(--ds-border-width)) solid transparent}#root .character-settings-modal .character-detail-tabs[data-control-group=tabs]>button[aria-selected=true]{border-bottom-color:var(--ds-accent)}#root .character-settings-modal .character-base-asset-card{min-width:0;padding-bottom:var(--ds-space-6);display:grid;grid-template-columns:minmax(120px,160px) minmax(0,1fr);align-items:stretch;gap:var(--ds-space-5);border-bottom:var(--ds-border-width) solid var(--ds-line)}#root .character-settings-modal .character-base-asset-preview{position:relative;aspect-ratio:3 / 4;display:grid;place-items:center;overflow:hidden;color:var(--ds-text-faint);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-media);background:var(--ds-surface-media)}#root .character-settings-modal .character-base-asset-preview>img{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;object-fit:contain}#root .character-settings-modal .character-base-asset-preview>span{display:grid;justify-items:center;gap:var(--ds-space-2)}#root .character-settings-modal .character-base-asset-preview small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-settings-modal .character-base-asset-copy{min-width:0;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:var(--ds-space-2)}#root .character-settings-modal .character-base-asset-copy>span{color:var(--ds-accent-muted);font-size:var(--ds-font-size-caption);font-weight:750}#root .character-settings-modal .character-base-asset-copy>strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);line-height:var(--ds-line-tight)}#root .character-settings-modal .character-base-asset-copy>p{max-width:var(--ds-reading-max);margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .character-settings-modal .character-base-asset-actions{margin-top:var(--ds-space-3);display:flex;align-items:center;flex-wrap:wrap;gap:var(--ds-space-2)}#root .character-settings-modal .character-base-asset-actions :is(label,button),#root .character-settings-modal .character-base-asset-actions :is(label,button):is(:hover,:focus-visible,:active){min-height:var(--ds-control-height);margin:0;padding:0 var(--ds-space-4);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);color:var(--ds-text-body);border:var(--ds-border-width) solid var(--ds-line);border-radius:var(--ds-radius-control);background:transparent;box-shadow:none;font:680 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui);transform:none;cursor:pointer}#root .character-settings-modal .character-base-asset-actions :is(label,button):hover{color:var(--ds-text-strong);border-color:var(--ds-line-strong);background:var(--ds-surface-subtle)}#root .ui-feedback{width:100%;margin:var(--ds-space-4) 0 0;padding:var(--ds-space-4) 0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:var(--ds-space-3);color:var(--ds-text-body);border-top:var(--ds-border-width) solid var(--ds-line);border-bottom:var(--ds-border-width) solid var(--ds-line);background:transparent}#root .ui-feedback[data-tone=error]>svg{color:var(--ds-danger)}#root .ui-feedback>div{min-width:0;display:grid;gap:var(--ds-space-1)}#root .ui-feedback strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-label)}#root .ui-feedback p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);word-break:keep-all}@media(max-width:760px){#root .character-settings-modal .character-base-asset-card{grid-template-columns:minmax(96px,120px) minmax(0,1fr);gap:var(--ds-space-4)}}@media(max-width:480px){#root .character-settings-modal .character-base-asset-card{grid-template-columns:minmax(0,1fr)}#root .character-settings-modal .character-base-asset-preview{width:min(48vw,160px)}}@media(forced-colors:none){#root [data-scroll-chrome=quiet]{scrollbar-width:none;scrollbar-gutter:auto}#root [data-scroll-chrome=quiet]::-webkit-scrollbar{display:none}}#root .length-picker{--length-inset: calc(50% / var(--length-stops) - var(--ds-space-4) / 2);display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:0;width:100%;min-width:0}#root .length-picker>.ds-range-control{width:calc(100% - 2 * var(--length-inset));margin-inline:var(--length-inset)}#root .length-picker input[type=range]{box-sizing:border-box;width:100%;margin:0;padding:0;border:0;background:transparent}@media(forced-colors:none){#root fieldset .length-picker input[type=range]:focus{box-shadow:none;outline:none}#root .length-picker input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid var(--ds-text-strong);outline-offset:var(--ds-space-1)}#root .length-picker input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid var(--ds-text-strong);outline-offset:var(--ds-space-1)}}#root .length-ticks{display:grid;grid-template-columns:repeat(var(--length-stops),minmax(0,1fr));gap:0}#root .length-ticks>button{display:grid;place-items:center;min-width:0;min-height:var(--ds-control-height);margin:0;padding:0;background:transparent;border:0;box-shadow:none;color:var(--ds-text-muted);font:600 var(--ds-font-size-label)/var(--ds-line-action) var(--ds-font-ui)}#root .length-ticks>button[aria-pressed=true]{color:var(--ds-accent)}#root .length-ticks>button:hover{color:var(--ds-text-strong)}}@layer authoring{#root .story-studio-shell .authoring-workspace{display:grid;gap:var(--ds-space-6);min-width:0;container-type:inline-size;width:100%;max-width:none;margin-inline:0;justify-self:stretch}.authoring-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ds-space-6);align-items:start}.authoring-list,.authoring-editor,.authoring-section,.authoring-media{display:grid;gap:var(--ds-space-4);min-width:0}.authoring-workspace :is(h3,h4,p){margin:0}.authoring-workspace :is(p,small){color:var(--ds-text-muted);line-height:var(--ds-line-body);overflow-wrap:break-word}.authoring-workspace h3{font-size:var(--ds-font-size-title-sm)}.authoring-workspace h4{font-size:var(--ds-font-size-body)}#root .authoring-list>button{display:flex;flex-direction:column;align-items:flex-start;gap:var(--ds-space-2);min-height:44px;height:auto;padding:var(--ds-space-3) var(--ds-space-4);text-align:left;overflow-wrap:break-word;border-radius:var(--ds-space-2);border:0;background:transparent;box-shadow:none}#root .authoring-list>button[aria-pressed=true]{color:var(--ds-accent);background:var(--ds-surface-subtle);box-shadow:inset 2px 0 var(--ds-accent)}#root .authoring-list>button.outline-action{flex-direction:row;align-items:center}#root .authoring-workspace .studio-section-copy{margin:0}#root .authoring-workspace .illustration-type-tabs{margin:0;padding:0}.authoring-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ds-space-3);min-width:0}#root .authoring-actions>button,#root .authoring-issues button{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-space-2);min-width:44px;min-height:44px;padding:var(--ds-space-2) var(--ds-space-3)}.authoring-field{display:grid;gap:var(--ds-space-2);min-width:0}.authoring-media>img{display:block;max-width:100%;width:100%;height:240px;object-fit:contain;background:var(--ds-surface-media);border-radius:var(--ds-space-2)}.authoring-note{color:var(--ds-text-muted)}.authoring-issues{display:grid;gap:var(--ds-space-4);padding:0;margin:0;list-style:none}.authoring-issues>li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--ds-space-4);padding-block:var(--ds-space-4);border-bottom:1px solid var(--ds-line)}.authoring-issues>li>:first-child{flex:1 1 180px;min-width:0}:is(.authoring-workspace,.bot-library) details>summary{min-height:44px;padding-block:var(--ds-space-3);cursor:pointer}:is(.authoring-workspace,.bot-library) details[open]>summary{margin-bottom:var(--ds-space-4)}.authoring-workspace input,.authoring-workspace textarea{max-width:100%;min-width:0}.authoring-workspace textarea{min-height:120px;resize:vertical}.authoring-workspace button:focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}@container (min-width: 760px){.authoring-layout{grid-template-columns:minmax(180px,.65fr) minmax(0,2fr)}}#root .creation-story-character{margin-top:var(--ds-space-6);display:grid;gap:var(--ds-space-5)}#root .creation-story-character>div:first-child{max-width:var(--ds-copy-max);display:grid;gap:var(--ds-space-2)}#root .creation-story-character>div:first-child>span,#root .publish-character-reuse>div:first-child>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .creation-story-character h3,#root .publish-character-reuse h3{margin:0;color:var(--ds-text-strong);font-family:var(--ds-font-story);font-size:var(--ds-font-size-title-md);line-height:var(--ds-line-tight)}#root .creation-story-character>div:first-child>p,#root .publish-character-reuse>div:first-child>p{margin:0;color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .creation-story-character-list{display:grid;grid-template-columns:minmax(0,1fr)}#root .creation-story-character-list>button{min-height:76px;padding:var(--ds-space-4) 0;display:grid;grid-template-columns:minmax(150px,.38fr) minmax(0,1fr) 24px;align-items:center;gap:var(--ds-space-4);color:var(--ds-text-body);text-align:left;border:0;border-bottom:var(--rule-waku) solid var(--color-waku-rule);background:transparent;cursor:pointer}#root .creation-story-character-list>button>span{display:grid;gap:var(--ds-space-1)}#root .creation-story-character-list>button strong{color:var(--ds-text-strong)}#root .creation-story-character-list>button small,#root .creation-story-character-list>button p{color:var(--ds-text-muted)}#root .creation-story-character-list>button p{margin:0;line-height:var(--ds-line-body)}#root .creation-story-character-list>button>svg{color:transparent}#root .creation-story-character-list>button.active>svg{color:var(--ds-accent)}#root .creation-story-character-list>button:hover{color:var(--ds-text-strong)}#root .creation-story-character-list>button:focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}#root .character-source-reference{display:flex;align-items:flex-start;gap:var(--ds-space-3);color:var(--ds-accent)}#root .character-source-reference>span{display:grid;gap:var(--ds-space-1)}#root .character-source-reference strong{color:var(--ds-text-strong)}#root .character-source-reference small{color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .publish-character-reuse{padding-block:var(--ds-space-6);display:grid;gap:var(--ds-space-5)}#root .publish-character-reuse>div:first-child{max-width:var(--ds-copy-max);display:grid;gap:var(--ds-space-2)}#root .publish-character-reuse-list{display:grid;grid-template-columns:minmax(0,1fr)}#root .publish-character-reuse-list>label{min-height:64px;padding-block:var(--ds-space-3);display:grid;grid-template-columns:var(--ds-control-height) minmax(0,1fr) auto;align-items:center;gap:var(--ds-space-3);border-bottom:var(--rule-waku) solid var(--color-waku-rule);cursor:pointer}#root .publish-character-reuse-list input{width:20px;height:20px;margin:0;accent-color:var(--ds-accent)}#root .publish-character-reuse-list label>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .publish-character-reuse-list small,#root .publish-character-reuse-list em{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-style:normal}#root .publish-character-reuse-list label:has(input:checked) em{color:var(--ds-accent)}#root .profession-survey-control{display:grid;gap:var(--ds-space-5);margin-top:var(--ds-space-5);padding-top:var(--ds-space-5);border-top:var(--rule-waku) solid var(--color-waku-rule)}#root .profession-survey-toggle{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--ds-space-3);cursor:pointer}#root .profession-survey-toggle>input{width:20px;height:20px;margin:0;align-self:center}#root .profession-survey-toggle>span,#root .profession-survey-editor,#root .profession-survey-copy,#root .profession-outcome-list,#root .profession-question-list,#root .profession-survey-rules{display:grid;gap:var(--ds-space-4);min-width:0}#root .profession-survey-toggle>span{gap:var(--ds-space-1)}#root .profession-survey-toggle small,#root .profession-survey-editor small{color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .profession-survey-copy{grid-template-columns:minmax(12rem,.7fr) minmax(18rem,1.3fr)}#root .profession-survey-copy label,#root .profession-outcome label,#root .profession-survey-rules>label:first-child{display:grid;gap:var(--ds-space-2);min-width:0}#root .profession-survey-copy span,#root .profession-outcome label>span,#root .profession-survey-rules label>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .profession-outcome{display:grid;grid-template-columns:minmax(8rem,.55fr) minmax(12rem,1fr) minmax(13rem,1fr) minmax(11rem,.9fr) auto;align-items:end;gap:var(--ds-space-3);padding-bottom:var(--ds-space-4);border-bottom:var(--rule-waku) solid var(--color-waku-rule)}#root .profession-outcome:last-child{padding-bottom:0;border-bottom:0}#root .profession-outcome>button,#root .profession-question-list .assignment-question>button{width:44px;height:44px}#root .profession-survey-rules{grid-template-columns:minmax(0,1fr) auto;align-items:end}#root .profession-survey-rules>label:last-child{display:flex;align-items:center;gap:var(--ds-space-2);min-height:44px}@media(max-width:760px){#root .creation-method[data-count="3"]{grid-template-columns:minmax(0,1fr)}#root .creation-story-character-list>button{grid-template-columns:minmax(0,1fr) 24px}#root .creation-story-character-list>button>p{grid-column:1 / -1}#root .publish-character-reuse-list>label{grid-template-columns:var(--ds-control-height) minmax(0,1fr)}#root .publish-character-reuse-list em{grid-column:2}#root .profession-survey-copy,#root .profession-outcome,#root .profession-survey-rules{grid-template-columns:minmax(0,1fr)}#root .profession-outcome>button,#root .profession-question-list .assignment-question>button{justify-self:end}}#root .story-studio-shell .condition-builder{display:grid;gap:var(--ds-space-4);min-width:0;padding-block:var(--ds-space-5);border-block:var(--rule-waku) solid var(--color-waku-rule)}#root .story-studio-shell .condition-builder-heading,#root .story-studio-shell .context-inspector-heading{display:flex;align-items:end;justify-content:space-between;gap:var(--ds-space-5);min-width:0}#root .story-studio-shell .condition-builder-heading>div,#root .story-studio-shell .context-inspector-heading>div{display:grid;gap:var(--ds-space-2);min-width:0;max-width:var(--ds-copy-max)}#root .story-studio-shell .condition-builder-heading h4,#root .story-studio-shell .context-inspector-heading h3{margin:0;color:var(--ds-text-strong)}#root .story-studio-shell .condition-builder-heading p,#root .story-studio-shell .context-inspector-heading p{margin:0;color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .story-studio-shell .condition-builder-heading>label{display:grid;gap:var(--ds-space-2);flex:0 0 min(12rem,40%)}#root .story-studio-shell .condition-builder-heading>label>span,#root .story-studio-shell .condition-row label>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .condition-list{display:grid;min-width:0}#root .story-studio-shell .condition-row{display:grid;grid-template-columns:minmax(12rem,1.6fr) minmax(8rem,.8fr) minmax(7rem,.6fr) auto;align-items:end;gap:var(--ds-space-3);min-width:0;padding-block:var(--ds-space-3)}#root .story-studio-shell .condition-row+.condition-row{border-top:var(--rule-waku) solid var(--color-waku-rule)}#root .story-studio-shell .condition-row label{display:grid;gap:var(--ds-space-2);min-width:0}#root .story-studio-shell .condition-row .condition-remove,#root .story-studio-shell .condition-add{min-height:44px}#root .story-studio-shell .condition-row .condition-remove{color:var(--ds-text-muted);background:transparent;border:0}#root .story-studio-shell .condition-row .condition-remove:hover{color:var(--ds-text-strong);transform:none}#root .story-studio-shell .condition-add{justify-self:start}#root .story-studio-shell .authoring-memory-step{display:grid;gap:var(--ds-space-6);min-width:0}#root .story-studio-shell .context-inspector{display:grid;gap:var(--ds-space-5);min-width:0;padding-top:var(--ds-space-6);border-top:var(--rule-waku) solid var(--color-waku-rule)}#root .story-studio-shell .context-inspector-heading>span{flex:0 0 auto;color:var(--ds-text-muted);white-space:nowrap}#root .story-studio-shell .context-inspector-heading>span strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}#root .story-studio-shell .context-inspector dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}#root .story-studio-shell .context-inspector dl>div{display:grid;gap:var(--ds-space-1);min-width:0;padding-block:var(--ds-space-3)}#root .story-studio-shell .context-inspector dt{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .story-studio-shell .context-inspector dd{margin:0;color:var(--ds-text-strong);font-weight:700}#root .story-studio-shell .authoring-release{display:grid;gap:var(--ds-space-6);min-width:0;padding-block:var(--ds-space-7);border-top:var(--rule-waku) solid var(--color-waku-rule)}#root .story-studio-shell .authoring-release>div:first-child{display:grid;gap:var(--ds-space-2);max-width:var(--ds-copy-max)}#root .story-studio-shell .authoring-release>div:first-child>span{color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-weight:750;letter-spacing:var(--ds-letter-kicker)}#root .story-studio-shell .authoring-release h3,#root .story-studio-shell .authoring-release p{margin:0}#root .story-studio-shell .authoring-release p{color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .rights-confirmation{display:flex;align-items:center;gap:var(--ds-space-3);min-height:44px}#root .rights-confirmation>input{flex:0 0 auto;width:20px;height:20px;margin:0;accent-color:var(--ds-accent)}#root .rights-confirmation>span{color:var(--ds-text-body);line-height:var(--ds-line-body)}#root .character-studio .character-release-fields{display:grid;gap:var(--ds-space-4);padding-top:var(--ds-space-5)}#root .character-studio .character-release-fields>label{display:grid;gap:var(--ds-space-2);min-width:0}#root .character-studio .character-release-fields>label>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-studio .character-release-fields textarea{min-height:88px}#root .character-studio .character-release-fields .rights-confirmation{grid-template-columns:auto minmax(0,1fr)}@media(max-width:760px){#root .story-studio-shell .condition-builder-heading,#root .story-studio-shell .context-inspector-heading{align-items:stretch;flex-direction:column}#root .story-studio-shell .condition-builder-heading>label{flex-basis:auto;width:100%}#root .story-studio-shell .condition-row{grid-template-columns:minmax(0,1fr)}#root .story-studio-shell .condition-row .condition-remove{justify-self:end}#root .story-studio-shell .context-inspector dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:390px){#root .story-studio-shell .context-inspector dl{grid-template-columns:minmax(0,1fr)}}#root .story-studio-shell .stat-editor-heading{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:var(--ds-space-3);padding-bottom:0;border-bottom:0}#root .story-studio-shell .stat-editor-heading>div{min-width:0}#root .story-studio-shell .stat-editor-heading>button{width:max-content;min-width:max-content;white-space:nowrap}#root .story-studio-shell .authoring-advanced-settings{width:100%;min-width:0;padding-block:var(--ds-space-3);border:0;background:transparent}#root .story-studio-shell .authoring-advanced-settings>summary{min-height:var(--ds-control-height);display:flex;align-items:center;color:var(--ds-text-body);font-weight:700;cursor:pointer}#root .story-studio-shell .authoring-advanced-settings>.studio-form-grid{padding-top:var(--ds-space-4)}#root .story-studio-shell .inline-check{min-height:var(--ds-control-height);display:flex;align-items:center;gap:var(--ds-space-3)}#root .story-studio-shell .inline-check>input{flex:0 0 auto;width:20px;height:20px;margin:0;accent-color:var(--ds-accent)}#root .story-studio-shell .studio-ai-suggestion{width:100%;display:grid;gap:var(--ds-space-4)}#root .story-studio-shell .studio-ai-suggestion>section{display:grid;gap:var(--ds-space-2)}#root .story-studio-shell .studio-ai-suggestion p,#root .story-studio-shell .studio-ai-suggestion ul{margin:0;color:var(--ds-text-muted);line-height:var(--ds-line-body)}#root .story-studio-shell .studio-ai-suggestion ul{display:grid;gap:var(--ds-space-3);padding:0;list-style:none}#root .story-studio-shell .studio-ai-suggestion li{display:grid;gap:var(--ds-space-1)}#root .story-studio-shell .studio-ai-suggestion li>span{color:var(--ds-text-muted)}#root .story-studio-shell .studio-ai-request-actions>div{display:flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-3);flex:0 0 auto}#root .story-studio-shell .studio-ai-request-actions>div>button{min-height:var(--ds-control-height);padding:0 var(--ds-space-5);display:inline-flex;align-items:center;justify-content:center;gap:var(--ds-space-2);border-radius:var(--ds-radius-pill);box-shadow:none;transform:none;white-space:nowrap}#root .story-studio-shell .studio-ai-request-actions .studio-ai-generate-action,#root .story-studio-shell .studio-ai-request-actions .studio-ai-generate-action:is(:hover,:focus-visible,:active){color:var(--ds-accent-strong);border:0;background:var(--ds-accent-wash);box-shadow:none;transform:none}#root .story-studio-shell .studio-ai-request-actions .studio-ai-generate-action:hover{background:color-mix(in srgb,var(--ds-accent-wash) 82%,var(--ds-accent) 18%)}#root .story-studio-shell .studio-ai-request-actions .studio-ai-generate-action:disabled{color:var(--ds-text-faint);background:var(--ds-surface-subtle)}#root .story-studio-shell .studio-ai-request-actions .studio-ai-apply-action,#root .story-studio-shell .studio-ai-request-actions .studio-ai-apply-action:is(:hover,:focus-visible,:active){color:var(--ds-text-body);border:0;background:var(--ds-surface-subtle);box-shadow:none;transform:none}#root .story-studio-shell .studio-ai-request-actions .studio-ai-apply-action:hover{background:var(--ds-surface-input-hover)}@media(max-width:760px){#root .story-studio-shell .studio-ai-request-actions,#root .story-studio-shell .studio-ai-request-actions>div{align-items:stretch;flex-direction:column}#root .story-studio-shell .studio-ai-request-actions>div>button{width:100%}}.story-studio-shell .inventory-policy-editor{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(280px,1fr) minmax(120px,.4fr);align-items:end;gap:var(--ds-space-4);padding-block:var(--ds-space-5)}.story-studio-shell .inventory-policy-editor>div:first-child{display:grid;align-self:center;gap:var(--ds-space-1)}.story-studio-shell .inventory-policy-editor>div:first-child strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-body)}.story-studio-shell .inventory-policy-editor>div:first-child small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}.story-studio-shell .inventory-policy-editor>label{display:grid;gap:var(--ds-space-2)}@media(max-width:760px){.story-studio-shell .inventory-policy-editor{grid-template-columns:minmax(0,1fr);align-items:stretch}}}@layer authoring{.creation-wrap{--ds-surface-glass: color-mix(in srgb, var(--ds-canvas) 90%, transparent);position:fixed;z-index:110;top:0;right:0;bottom:0;left:0;display:grid;padding:var(--ds-space-6)}.creation-start>header{display:flex;justify-content:space-between;gap:var(--ds-space-5);margin-bottom:var(--ds-space-6)}.creation-kind-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--rule-waku)}.creation-kind-grid>button,.creation-format-grid>button{min-height:190px;padding:var(--ds-space-5);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;color:var(--creation-kind-copy-color, #eee);border:var(--ds-border-width) solid var(--ds-line);border-radius:8px;background:var(--ds-canvas-raised);cursor:pointer}.creation-kind-grid>button>span{width:calc(100% + (var(--ds-space-6) * 2));height:var(--creation-kind-art-height, 390px);margin:0 calc(var(--ds-space-6) * -1) var(--ds-space-4);display:block;border-radius:0;background-position:var(--creation-kind-art-position, center);background-size:cover}.creation-method{margin:var(--ds-space-4) 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:0;background:transparent}.creation-method>button{padding:var(--ds-space-3);display:flex;align-items:center;gap:var(--ds-space-3);text-align:left;color:#aaa;border:var(--ds-border-width) solid var(--ds-line);border-radius:7px;background:transparent;cursor:pointer}@media(max-width:760px){.creation-kind-grid,.creation-format-grid,.creation-method{grid-template-columns:1fr}}.creation-start{position:relative;z-index:2;overflow-y:auto;padding:var(--ds-space-7);color:var(--text-strong);border:0;border-radius:0;background:transparent;box-shadow:none}#root .creation-start{width:min(var(--ds-modal-gateway-width),calc(100vw - (var(--ds-space-5) * 2)));height:min(760px,calc(100dvh - (var(--ds-space-6) * 2)));max-height:none;overflow:auto}@media(max-width:640px){.creation-wrap{padding:0}#root .creation-start>header>button{position:fixed;inset-block-start:var(--ds-space-7);inset-inline-end:var(--ds-space-7);inline-size:var(--ds-control-height)}#root .creation-start>header{padding-inline-end:calc(var(--ds-control-height) + var(--ds-space-4))}#root .creation-start{width:100%;height:100dvh;min-height:100dvh;border:0;border-radius:0}}#root .creation-method>button,#root .creation-method>button:is(:hover,:focus-visible,.active){min-height:var(--ds-control-height);padding:var(--ds-space-3) 0;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}#root .creation-method>button.active,#root .creation-method>button.active strong,#root .creation-method>button.active svg{color:var(--ds-accent)}#root .creation-start>header{position:relative;top:0;z-index:2;padding-bottom:var(--ds-space-6);border-bottom:0;background:transparent}#root .creation-kind-grid>button{min-height:184px;padding:var(--ds-space-6);align-content:start;border-radius:var(--radius-waku-flow);background:var(--creation-kind-copy-background, var(--color-waku-surface-soft))}#root .creation-method{margin-top:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-3);border:0;background:transparent;box-shadow:none}#root .creation-step-label+.creation-method{margin-top:var(--ds-space-5)}#root .creation-method>button,#root .creation-method>button:is(:hover,:focus-visible,.active,[aria-pressed=true]){min-height:96px;padding:var(--ds-space-4);border:var(--rule-waku) solid var(--color-waku-rule);border-radius:var(--radius-waku-flow);background:transparent}#root .creation-method>button.active,#root .creation-method>button[aria-pressed=true]{background:var(--color-waku-surface-soft)}@media(max-width:760px){#root .creation-kind-grid,#root .creation-method{grid-template-columns:minmax(0,1fr)}}#root .creation-kind-grid{margin-top:var(--ds-space-7);grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--rule-waku);row-gap:var(--rule-waku)}#root .creation-kind-grid>button,#root .creation-kind-grid>button:is(:hover,:focus-visible,:active){--creation-kind-art-height: 390px;--ds-font-size-title-md: clamp(2rem, 4vw, 3.25rem);min-width:0;min-height:540px;overflow:hidden;padding:0 var(--ds-space-6) var(--ds-space-5);border:0;transform:none}#root .creation-kind-grid>button>span{width:calc(100% + (var(--ds-space-6) * 2));height:var(--creation-kind-art-height);margin:0 calc(var(--ds-space-6) * -1) var(--ds-space-4);background-size:cover;filter:var(--creation-kind-art-filter, brightness(.88) saturate(.92))}@media(max-width:760px){#root .creation-kind-grid{grid-template-columns:1fr;gap:var(--rule-waku)}#root .creation-kind-grid>button,#root .creation-kind-grid>button:is(:hover,:focus-visible,:active){--creation-kind-art-height: 150px;--creation-kind-art-position: center 20%;min-height:270px}}}@layer polish{#root .main-area:not(:has(.story-studio-shell)):not(.page-my-works)>.page-content:not(:has(>.discovery-experience)){width:min(100%,1360px);max-width:1360px;padding-inline:clamp(var(--ds-space-6),4vw,var(--ds-space-10))}#root .menu-button:is(:hover,:focus-visible,:active){background:transparent;box-shadow:none}#root .story-dialog.character-dialog{width:min(1120px,calc(100vw - 64px));height:min(720px,calc(100dvh - 64px));grid-template-columns:minmax(380px,.88fr) minmax(0,1.12fr);border:0;border-radius:22px;background:var(--ds-surface-overlay);overflow:hidden}#root .character-dialog .dialog-art .cover-art{background-size:cover;background-position:center 18%}#root .character-dialog .dialog-content{padding:clamp(var(--ds-space-7),3.2vw,var(--ds-space-9));justify-content:flex-start;align-items:stretch;gap:var(--ds-space-6);overflow-y:auto}#root .character-dialog .character-dialog-head{display:grid;gap:var(--ds-space-3);padding-inline:var(--ds-space-1)}#root .character-dialog .character-dialog-head>:is(.eyebrow,h3,.character-dialog-role,p,.character-profile-line){margin:0}#root .character-dialog .character-dialog-head>p{max-width:58ch;color:var(--ds-text-body);line-height:var(--ds-line-body)}#root .character-dialog .character-dialog-role{color:var(--ds-text-muted)}#root .character-dialog .character-profile-line{display:flex;flex-wrap:wrap;gap:var(--ds-space-2);padding-top:var(--ds-space-1)}#root .character-dialog .character-profile-line>span{padding:var(--ds-space-1) var(--ds-space-2);border-radius:999px;background:var(--ds-surface-input);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .character-dialog .character-dialog-greeting{display:grid;gap:var(--ds-space-2);margin:var(--ds-space-2) 0 var(--ds-space-3);padding:0 var(--ds-space-1);background:transparent}#root .character-dialog .character-dialog-greeting>span{color:var(--ds-accent-strong);font-size:var(--ds-font-size-caption);font-weight:700}#root .character-dialog .character-dialog-greeting>.character-message{width:min(100%,92%);max-width:none}#root .character-dialog .character-dialog-greeting>.character-message small{margin-left:var(--ds-space-2);color:var(--ds-text-muted)}#root .character-dialog .character-dialog-details{display:grid;gap:var(--ds-space-4);margin:var(--ds-space-2) 0 var(--ds-space-3);padding-inline:var(--ds-space-1)}#root .character-dialog .character-dialog-details>div{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:var(--ds-space-4)}#root .character-dialog .character-dialog-details :is(dt,dd){margin:0}#root .character-dialog .character-dialog-details dt{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-weight:700}#root .character-dialog .character-dialog-details dd{color:var(--ds-text-body);line-height:1.65}#root .character-dialog .character-intro-preview,#root .character-dialog .character-intro-preview:is(:hover,:focus-visible,:active){margin:var(--ds-space-4) var(--ds-space-1) 0;min-height:68px;padding:var(--ds-space-3) var(--ds-space-3) var(--ds-space-3) var(--ds-space-5);display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;gap:var(--ds-space-1) var(--ds-space-4);border:0;border-radius:16px;background:color-mix(in srgb,var(--ds-surface-input) 90%,var(--ds-accent) 10%);color:var(--ds-text-strong);text-align:left;box-shadow:0 14px 34px #0003;transform:none}#root .character-dialog .character-intro-preview:is(:hover,:focus-visible){background:color-mix(in srgb,var(--ds-surface-input-hover) 84%,var(--ds-accent) 16%)}#root .character-dialog .character-intro-preview>span{grid-column:1;color:var(--ds-accent-strong);font-size:var(--ds-font-size-caption);font-weight:700}#root .character-dialog .character-intro-preview>strong{grid-column:1}#root .character-dialog .character-intro-preview>svg{grid-column:2;grid-row:1 / span 2;justify-self:center;width:36px;height:36px;padding:var(--ds-space-2);border-radius:50%;color:var(--ds-on-accent);background:var(--ds-accent);box-sizing:border-box}#root .is-visual-novel .player-dialogue:has(.vn-reading-column){--ds-vn-reading-height: clamp(10.5rem, 24dvh, 14rem);padding-top:var(--ds-space-6);border:0;background:var(--ds-vn-hud-surface);box-shadow:inset 0 1px color-mix(in srgb,var(--vn-character-accent, var(--ds-accent)) 52%,transparent)}#root .is-visual-novel .player-dialogue-speaker{width:max-content;padding:0 var(--ds-space-4) var(--ds-space-2) 0;color:var(--ds-accent-soft);letter-spacing:.02em}#root .character-live-conversation>main>:first-child{margin-top:auto}#root .character-test-phone>main>:first-child{margin-top:auto}#root .character-live-conversation>form{border-top:0}#root .history-tabs{display:grid;grid-template-columns:1fr 1fr;gap:var(--ds-space-1);margin-top:var(--ds-space-3)}#root .history-tabs button{min-height:32px;color:var(--ds-text-muted);border:0;border-radius:7px;background:transparent}#root .history-tabs button[aria-selected=true]{color:var(--ds-text-strong);background:var(--ds-surface-subtle)}#root .player-wallet-balance{min-height:32px;padding:0 var(--ds-space-2);display:inline-flex;align-items:center;gap:var(--ds-space-2);color:var(--ds-text-strong);border-radius:999px;background:var(--ds-vn-hud-surface);font-size:12px;font-variant-numeric:tabular-nums}#root .player-model-modal-layer{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;place-items:start end;padding:calc(var(--ds-player-topbar-height) + var(--ds-space-3)) var(--ds-space-6) var(--ds-space-6)}#root .player-model-modal-scrim{position:absolute;top:0;right:0;bottom:0;left:0;padding:0;border:0;background:color-mix(in srgb,var(--ds-overlay-scrim) 70%,transparent);-webkit-backdrop-filter:none;backdrop-filter:none}#root .player-model-modal{position:relative;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;color:var(--ds-text-body);border:1px solid var(--ds-line);border-radius:20px;background:var(--ds-surface-overlay);box-shadow:var(--ds-shadow-overlay)}#root .player-model-modal>header{height:64px;padding:0 var(--ds-space-5);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ds-line)}#root .player-model-modal>header>button{width:44px;height:44px;padding:0;display:grid;place-items:center;color:var(--ds-text-muted);border:0;border-radius:50%;background:transparent}#root .player-model-modal>div{display:grid}#root .player-model-modal>div>button{min-height:82px;padding:var(--ds-space-2) var(--ds-space-5);display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:var(--ds-space-3);color:var(--ds-text-body);text-align:left;border:0;border-bottom:1px solid var(--ds-line);background:transparent}#root .player-model-modal>div>button:last-child{border-bottom:0}#root .player-model-modal>div>button:is(:hover,:focus-visible){background:var(--ds-surface-input-hover)}#root .player-model-modal>div>button>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .player-model-modal>div>button small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:1.4}#root .player-model-modal>div>button em{color:var(--ds-text-faint);font-size:var(--ds-font-size-caption);font-style:normal;white-space:nowrap}#root .player-model-modal>div>button>svg{color:transparent}#root .player-model-modal>div>button[aria-checked=true]>svg,#root .player-model-modal>div>button[aria-checked=true] strong{color:var(--ds-accent-strong)}#root .story-play-page.is-visual-novel .player-topbar:is(:hover,:focus-within){border-bottom:1px solid var(--ds-vn-hud-line);background:var(--ds-vn-topbar-surface);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}#root .length-picker>.ds-range-control{display:none}#root .length-ticks{display:grid;grid-template-columns:repeat(var(--length-stops),minmax(0,1fr));gap:var(--ds-space-2)}#root .length-ticks>button{min-height:38px;padding:0 var(--ds-space-2);color:var(--ds-text-muted);border:0;border-radius:10px;background:var(--ds-surface-input)}#root .length-ticks>button[aria-pressed=true]{color:var(--ds-text-strong);background:var(--ds-accent-muted)}@media(max-width:820px){#root .profile-overview{grid-template-columns:minmax(0,1fr)}#root .story-dialog.character-dialog{width:100%;height:100dvh;grid-template-columns:minmax(0,1fr);border-radius:0;overflow-y:auto}}@media(min-width:761px)and (max-width:820px){#root .character-dialog .dialog-art{min-height:42dvh}}@media(max-width:760px){#root .player-model-modal-layer{place-items:end center;padding:var(--ds-space-3)}}}@layer account{#root :is(.page-intro h1,.service-page-header h1){font-size:var(--ds-font-size-title-md);font-weight:650;line-height:var(--ds-line-tight);letter-spacing:var(--ds-letter-heading)}#root .section-head h2{font-weight:650;letter-spacing:var(--ds-letter-heading)}#root :is(.my-overview,.service-page){font-weight:var(--ds-font-weight-body)}#root :is(.my-overview,.service-page) :is(strong,h2,h3){font-weight:600}#root .my-overview{width:min(100%,1040px);margin-inline:auto;padding-block:var(--ds-space-5) var(--ds-space-9)}#root .my-overview>.page-intro{display:block;min-height:0;margin:0 0 var(--ds-space-8);padding:0}#root .my-overview>.page-intro>div>span:empty{display:none}#root .my-overview>.page-intro h1{margin:0 0 var(--ds-space-2)}#root .profile-overview{width:100%;max-width:none;margin:0;padding:0;grid-template-columns:minmax(0,1fr) auto;gap:var(--ds-space-8);align-items:center;border:0;border-radius:0;background:transparent}#root .profile-identity{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--ds-space-4)}#root .profile-identity .large-avatar{width:56px;height:56px;color:var(--ds-accent);background:transparent;border-radius:50%;font-weight:600;font-size:var(--ds-font-size-title-md)}#root .profile-identity h2{margin:0;font-size:var(--ds-font-size-title-sm);overflow-wrap:break-word}#root .profile-identity p{margin:var(--ds-space-1) 0;font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root :is(.my-profile-edit,.my-wallet-link){width:fit-content;min-height:var(--ds-control-height);display:inline-flex;align-items:center;gap:var(--ds-space-1);padding:0;color:var(--ds-text-muted);border:0;background:transparent;font-size:var(--ds-font-size-label)}#root :is(.my-profile-edit,.my-wallet-link):hover{color:var(--ds-accent)}#root .my-balance-summary{display:grid;justify-items:end;gap:0}#root .my-balance-summary>small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .my-wallet-row,#root .my-wallet-row:is(:hover,:focus-visible,:active){display:flex;min-height:var(--ds-control-height);align-items:center;gap:var(--ds-space-2);margin:0;padding:0;border:0;border-radius:0;background:transparent}#root .my-wallet-row strong{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-md);font-weight:650;line-height:var(--ds-line-tight);font-variant-numeric:tabular-nums}#root .my-wallet-row>:first-child{width:28px;height:28px}#root .my-wallet-row>svg:last-child{width:16px;height:16px;color:var(--ds-text-muted)}#root .my-overview-sections{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:var(--ds-space-10);margin-top:var(--ds-space-9);padding:0}#root .my-overview-section{padding:0;background:transparent}#root .my-overview-section>header{display:block;min-height:0;margin:0 0 var(--ds-space-4);padding:0;border:0}#root .my-overview-section>header h2{margin:0;color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm);font-weight:600}#root .my-section-list{display:grid;gap:var(--ds-space-2)}#root .my-section-list>button,#root .my-section-list>button:is(:hover,:focus-visible,:active){display:grid;grid-template-columns:20px minmax(0,1fr) auto 16px;gap:var(--ds-space-3);min-height:64px;padding:var(--ds-space-2) 0;border:0;border-radius:0;background:transparent}#root .my-section-list>button>svg:first-child{color:var(--ds-text-muted)}#root .my-section-list>button>svg:last-child{grid-column:4;width:16px;height:16px;color:var(--ds-text-muted)}#root .my-section-list>button>span{display:grid;gap:var(--ds-space-1)}#root .my-section-list>button strong{color:var(--ds-text-body);font-size:var(--ds-font-size-body);font-weight:500}#root .my-section-list>button:is(:hover,:focus-visible) strong{color:var(--ds-accent)}#root .my-section-list>button small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .my-section-list>button em{color:var(--ds-text-muted);font-style:normal;font-size:var(--ds-font-size-caption)}#root .my-library-empty{margin:var(--ds-space-6) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .my-recent-works{display:grid;gap:var(--ds-space-4);margin-top:var(--ds-space-6)}#root .my-recent-works>:is(button,a){display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--ds-space-4);align-items:center;padding:0;text-align:start;background:transparent;border:0}#root .my-recent-cover{width:60px;aspect-ratio:3 / 4;position:relative;overflow:hidden;border-radius:var(--ds-radius-media)}#root .my-recent-cover .cover-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}#root .my-recent-works>:is(button,a)>span:last-child{display:grid;gap:var(--ds-space-1)}#root .my-recent-works small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .my-recent-works strong{color:var(--ds-text-body);font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .my-recent-works em{display:flex;align-items:center;gap:var(--ds-space-1);color:var(--ds-accent);font-size:var(--ds-font-size-caption);font-style:normal}#root :is(.bot-library,.work-activity-log,.work-total-display,.profile-overview,.waffle-balance-hero,.waffle-purchase-note,.waffle-rates,.bm-policy-details,.work-status-screen,.work-summary,.profile-stats,.character-profile-line>span){background:transparent;box-shadow:none}#root .waffle-rate-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:var(--ds-space-8)}#root :is(.my-overview,.service-page) .eyebrow{font-size:var(--ds-font-size-caption)}#root .waffle-rate-layout h3{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-body);font-weight:600}#root .waffle-rate-layout p{margin:var(--ds-space-2) 0 var(--ds-space-5);color:var(--ds-text-muted);font-size:var(--ds-font-size-label)}#root .waffle-rates .waffle-length-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ds-space-4)}#root .waffle-length-rates>div{gap:var(--ds-space-2)}#root .waffle-length-rates dt{font-size:var(--ds-font-size-caption);color:var(--ds-text-muted)}#root .waffle-image-allowance{color:var(--ds-text-strong);font-size:var(--ds-font-size-title-sm)}@media(max-width:760px){#root .my-overview{padding-block:0 var(--ds-mobile-safe-bottom)}#root .my-overview-sections{grid-template-columns:minmax(0,1fr);gap:calc(var(--ds-mobile-safe-bottom) + var(--ds-space-8));margin-top:var(--ds-space-8)}#root .profile-overview{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-5)}#root .my-balance-summary{justify-items:start;grid-template-columns:minmax(0,1fr) auto;align-items:center}#root .my-wallet-row{grid-column:1;grid-row:2}#root .my-wallet-link{grid-column:2;grid-row:2}#root .waffle-rate-layout{grid-template-columns:minmax(0,1fr);gap:var(--ds-space-6)}}}@layer image-workspace{#root .waku-image-studio{min-width:0;display:grid;gap:var(--ds-space-6)}#root .waku-image-header{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-5)}#root .waku-image-header h1{margin:0 0 var(--ds-space-2);font:750 var(--ds-font-size-title-md)/var(--ds-line-tight) var(--ds-font-ui)}#root .waku-image-header p{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-body)}#root .image-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-5);flex-shrink:0}#root .image-header-actions>button{display:flex;align-items:center;gap:var(--ds-space-2);flex-shrink:0;min-height:var(--ds-control-height);border:0;background:transparent;color:var(--ds-text-body)}#root .waku-image-layout{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--ds-image-tools-width);gap:var(--ds-space-7);height:var(--ds-workspace-height);min-width:0}#root .settings-closed .waku-image-layout{grid-template-columns:minmax(0,1fr)}#root .waku-image-rail{grid-column:2;grid-row:1;min-width:0;overflow-y:auto;scrollbar-gutter:stable;padding:var(--ds-space-1) var(--ds-space-1) var(--ds-space-4) var(--ds-space-5);border-left:1px solid var(--ds-line);background:var(--ds-canvas)}#root .waku-image-rail>section{display:grid;gap:var(--ds-space-3);margin:0 0 var(--ds-space-6);padding:0 0 var(--ds-space-6);border:0;border-bottom:1px solid var(--ds-line);background:transparent}#root .waku-image-rail>.image-ratio-section{border-bottom:0}#root .waku-image-rail h2,#root .waku-image-rail label{margin:0;font-size:var(--ds-font-size-body);font-weight:650}#root .waku-image-rail h2 small{margin-left:var(--ds-space-2);color:var(--ds-text-muted);font-weight:400}#root .image-model-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3)}#root .image-model-heading small{color:var(--ds-accent-strong);font-size:var(--ds-font-size-caption);font-weight:650}#root .image-seed-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(6rem,8rem);align-items:center;gap:var(--ds-space-3)}#root .image-seed-field input{width:100%;min-height:var(--ds-control-height);padding:0 var(--ds-space-3);border:1px solid var(--ds-line);border-radius:var(--ds-radius-control);background:var(--ds-surface-input);color:var(--ds-text-strong);font:inherit}#root .image-model-contract{margin:0;padding-left:var(--ds-space-3);border-left:2px solid var(--ds-accent);color:var(--ds-text-body);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .image-model-notice{margin:0;color:var(--ds-accent-strong);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .image-model-lab{border-top:1px solid var(--ds-line)}#root .image-model-lab>summary{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);min-height:var(--ds-control-height);cursor:pointer;color:var(--ds-text-body);font-size:var(--ds-font-size-label);font-weight:650}#root .image-model-lab>summary small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-weight:500}#root .image-model-lab>ul{display:grid;gap:0;margin:0;padding:0;list-style:none}#root .image-model-lab li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--ds-space-3);padding:var(--ds-space-3) 0;border-top:1px solid var(--ds-line)}#root .image-model-lab li>span{min-width:0;display:grid;gap:var(--ds-space-1)}#root .image-model-lab li strong{overflow-wrap:break-word;word-break:keep-all;color:var(--ds-text-body);font-size:var(--ds-font-size-caption);font-weight:650}#root .image-model-lab li small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .image-model-lab li em{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);font-style:normal;white-space:nowrap}#root .image-model-lab li[data-status=ready] em{color:var(--ds-success)}#root .waku-image-purpose{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-space-2)}#root .waku-image-purpose>button{display:flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);padding:var(--ds-space-3);border:1px solid var(--ds-line);border-radius:var(--ds-radius-control);background:transparent;color:var(--ds-text-body);text-align:left}#root .waku-image-purpose>button strong{font-size:var(--ds-font-size-label);font-weight:600;white-space:nowrap}#root .waku-image-purpose>button[aria-checked=true]{color:var(--ds-accent-strong);border-color:var(--ds-accent)}#root .image-field-hint{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .image-purpose-example{margin:0;color:var(--ds-text-body);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waku-image-rail select{width:100%;padding:var(--ds-space-2) var(--ds-space-3);font:inherit}#root .image-ratio-options{display:flex;gap:var(--ds-space-3)}#root .image-ratio-options>button{min-height:var(--ds-control-height);min-width:var(--ds-space-10);display:flex;align-items:center;gap:var(--ds-space-2);padding:var(--ds-space-2) 0;color:var(--ds-text-muted);border:0;border-radius:0;background:transparent}#root .image-ratio-options>button[aria-checked=true]{color:var(--ds-accent-strong)}#root .image-ratio-options i{display:block;width:var(--ds-space-5);max-height:var(--ds-space-6);border:1px solid currentColor;border-radius:var(--ds-space-1)}#root .image-upload-action{display:flex;align-items:center;gap:var(--ds-space-2);justify-self:start;padding:var(--ds-space-2) 0;min-height:var(--ds-control-height);border:0;background:transparent;color:var(--ds-text-strong)}#root .image-reference-preview{display:grid;grid-template-columns:var(--ds-space-10) minmax(0,1fr) var(--ds-control-height-compact);align-items:center;gap:var(--ds-space-3)}#root .image-reference-preview img{width:var(--ds-space-10);height:var(--ds-space-10);object-fit:cover;border-radius:var(--ds-radius-media)}#root .image-reference-preview>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ds-font-size-caption);color:var(--ds-text-body)}#root .image-reference-preview button{height:var(--ds-control-height-compact);display:grid;place-items:center;border:0;background:transparent;color:var(--ds-text-body)}#root .waku-image-advanced summary{cursor:pointer;padding-block:var(--ds-space-2);font-size:var(--ds-font-size-body);font-weight:650}#root .waku-image-advanced label{display:block;margin-block:var(--ds-space-4) var(--ds-space-2)}#root .waku-image-advanced textarea{display:block;width:100%;min-height:var(--ds-space-11);padding:var(--ds-space-3);resize:vertical;font:inherit}#root .waku-image-main{grid-column:1;grid-row:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:var(--ds-space-4)}#root .image-view-tabs{display:flex;gap:var(--ds-space-6);flex-shrink:0;border-bottom:1px solid var(--ds-line)}#root .image-view-tabs button{display:flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height);padding:0 0 var(--ds-space-3);font:600 var(--ds-font-size-body)/var(--ds-line-action) var(--ds-font-ui);color:var(--ds-text-muted);background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0}#root .image-view-tabs button[aria-pressed=true]{color:var(--ds-text-strong);border-bottom-color:var(--ds-accent)}#root .image-view-tabs button>span{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .waku-image-stage{position:relative;flex:1;min-height:var(--ds-player-stage-min);min-width:0;display:grid;place-items:center;overflow:hidden;border-radius:var(--ds-radius-media);background:var(--ds-surface-media)}#root .waku-image-empty{padding:var(--ds-space-5);display:grid;justify-items:center;gap:var(--ds-space-3);text-align:center;color:var(--ds-text-muted)}#root .waku-image-empty>svg{margin-bottom:var(--ds-space-3);color:var(--ds-accent-muted)}#root .waku-image-empty strong{color:var(--ds-text-strong);font:650 var(--ds-font-size-title-sm)/var(--ds-line-tight) var(--ds-font-ui)}#root .waku-image-empty p{margin:0;font-size:var(--ds-font-size-body);line-height:var(--ds-line-body)}#root .waku-image-result{width:100%;height:100%;min-height:0;object-fit:contain}#root .waku-image-result.is-generating{filter:blur(var(--ds-space-1));opacity:.34;transform:scale(1.01)}#root .image-generation-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-content:center;justify-items:center;gap:var(--ds-space-3);padding:var(--ds-space-6);text-align:center;background:var(--ds-media-overlay-strong);-webkit-backdrop-filter:blur(var(--ds-space-1));backdrop-filter:blur(var(--ds-space-1))}#root .image-generation-heartbeat{width:min(100%,calc(var(--ds-space-11) * 5));height:var(--ds-space-8);overflow:visible;color:var(--ds-accent)}#root .image-generation-heartbeat path{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:320;animation:image-heartbeat-draw calc(var(--ds-motion-fast) * 8) ease-in-out infinite}#root .image-generation-overlay strong{color:var(--ds-text-strong);font:700 var(--ds-font-size-title-sm)/var(--ds-line-tight) var(--ds-font-ui)}#root .image-generation-overlay p,#root .image-generation-overlay small{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .image-generation-overlay small{font-size:var(--ds-font-size-caption)}@keyframes image-heartbeat-draw{0%{stroke-dashoffset:320;opacity:.32}45%,70%{stroke-dashoffset:0;opacity:1}to{stroke-dashoffset:-320;opacity:.32}}#root .waku-image-result-actions{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-space-3);flex-wrap:wrap;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .waku-image-result-actions>div{display:flex;gap:var(--ds-space-5)}#root .waku-image-result-actions :is(a,button){display:flex;align-items:center;gap:var(--ds-space-2);min-height:var(--ds-control-height-compact);border:0;background:transparent;color:var(--ds-text-body);text-decoration:none}#root .waku-image-composer{flex-shrink:0;min-width:0;padding:var(--ds-space-4);border:1px solid var(--ds-line-strong);border-radius:var(--ds-radius-panel);background:var(--ds-surface-input)}#root .waku-image-composer>label{display:block;min-width:0}#root .image-composer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--ds-space-5);border-bottom:1px solid var(--ds-line)}#root .image-composer-wallet{display:flex;align-items:center;justify-content:flex-end;gap:var(--ds-space-4);flex:0 0 auto;min-height:var(--ds-control-height)}#root .image-wallet-balance{display:inline-flex;align-items:baseline;gap:var(--ds-space-2);color:var(--ds-text-muted);white-space:nowrap}#root .image-wallet-balance small{font-size:var(--ds-font-size-caption)}#root .image-wallet-balance strong{color:var(--ds-text-body);font-size:var(--ds-font-size-label);font-weight:650}#root .image-prompt-label{display:block;margin-bottom:var(--ds-space-2);font-size:var(--ds-font-size-label);font-weight:650;color:var(--ds-text-strong)}#root .image-prompt-label small{margin-left:var(--ds-space-2);font-weight:400;color:var(--ds-text-muted)}#root .image-prompt-tabs{display:flex;align-items:center;gap:var(--ds-space-4);min-height:var(--ds-control-height)}#root .image-prompt-tabs>button{position:relative;align-self:stretch;display:inline-flex;align-items:center;gap:var(--ds-space-2);padding:0;border:0;background:transparent;color:var(--ds-text-muted);font:650 var(--ds-font-size-label)/1 var(--ds-font-ui)}#root .image-prompt-tabs>button[aria-selected=true]{color:var(--ds-text-strong)}#root .image-prompt-tabs>button[aria-selected=true]:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--ds-accent)}#root .image-prompt-tabs>button>span{width:5px;height:5px;border-radius:50%;background:var(--ds-accent)}#root .image-reference-item{display:grid;gap:var(--ds-space-2)}#root .image-reference-role-help{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body)}#root .waku-image-composer textarea{display:block;width:100%;height:var(--ds-player-composer-height);min-height:var(--ds-player-composer-height);max-height:var(--ds-player-composer-height);resize:none;padding:var(--ds-space-1);border:0;border-radius:var(--ds-radius-control);background:transparent;font:400 var(--ds-font-size-body)/var(--ds-line-body) var(--ds-font-ui)}#root .image-composer-footer{display:flex;align-items:center;gap:var(--ds-space-3);margin-top:var(--ds-space-2)}#root .image-composer-footer>span{flex:1;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .image-composer-footer>small{color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .image-generate-action{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;min-width:0}#root .image-generate-action>button{display:flex;align-items:center;justify-content:center;gap:var(--ds-space-3);min-width:calc(var(--ds-control-height) * 4);min-height:var(--ds-control-height);padding:0 var(--ds-space-3) 0 var(--ds-space-4);border:0;border-radius:var(--ds-radius-control);background:var(--ds-accent);color:var(--ds-on-accent);font:650 var(--ds-font-size-body)/var(--ds-line-action) var(--ds-font-ui)}#root .image-generate-label{display:inline-flex;align-items:center;gap:var(--ds-space-2);white-space:nowrap}#root .image-generate-button-cost{display:inline-flex;align-items:center;min-height:calc(var(--ds-control-height) - var(--ds-space-3));padding-left:var(--ds-space-3);border-left:var(--ds-border-width) solid color-mix(in srgb,currentColor 36%,transparent)}#root .image-generate-button-cost .waffle-usage{min-height:0;gap:var(--ds-space-1);color:currentColor}#root .image-generate-button-cost .waffle-usage>strong,#root .image-generate-button-cost .waffle-usage.is-unavailable>strong{color:currentColor;font-weight:700}#root .image-generate-action>button:disabled{background:var(--ds-surface-input-hover);color:var(--ds-text-muted);cursor:not-allowed}#root .image-generate-requirement{margin:var(--ds-space-2) 0 0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption);line-height:var(--ds-line-body);text-align:right}#root .image-request-error{margin:var(--ds-space-2) 0 0;color:var(--ds-danger);font-size:var(--ds-font-size-label);line-height:var(--ds-line-body)}#root .image-storage-notice{margin:0;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .image-history-view{width:100%;height:100%;min-height:0;overflow-y:auto;padding:var(--ds-space-1);scrollbar-gutter:stable}#root .image-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:var(--ds-space-5);margin-top:var(--ds-space-4)}#root .image-history-grid article{min-width:0}#root .image-history-open{display:block;width:100%;padding:0;border:0;background:transparent}#root .image-history-open img{display:block;width:100%;aspect-ratio:var(--ds-media-ratio-landscape);object-fit:cover;border-radius:var(--ds-radius-media)}#root .image-history-grid p{margin:var(--ds-space-2) 0;color:var(--ds-text-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ds-font-size-label)}#root .image-history-grid small{display:block;min-height:var(--ds-control-height-compact);color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}#root .image-history-grid article>div{display:flex;justify-content:space-between}#root .image-history-grid article>div button{min-height:var(--ds-control-height-compact);border:0;background:transparent;color:var(--ds-text-muted);font-size:var(--ds-font-size-caption)}@media(max-width:960px){#root .waku-image-layout{grid-template-columns:minmax(0,1fr);height:var(--ds-workspace-height-mobile)}#root .waku-image-rail{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;grid-column:1;padding:var(--ds-space-5);border:1px solid var(--ds-line);border-radius:var(--ds-radius-panel)}#root .settings-open .waku-image-main{visibility:hidden}}@media(max-width:640px){#root .waku-image-studio{--ds-workspace-height-mobile: auto;--ds-player-stage-min: 220px;--ds-player-composer-height: 60px;padding-bottom:calc(var(--ds-mobile-safe-bottom) + var(--ds-space-6))}#root .waku-image-composer{scroll-margin-bottom:calc(var(--ds-mobile-safe-bottom) + var(--ds-space-5))}#root .waku-image-header{align-items:flex-start;flex-wrap:wrap}#root .waku-image-header p{max-width:26ch;font-size:var(--ds-font-size-label)}#root .image-header-actions{width:100%;justify-content:flex-end}#root .image-header-actions>button{font-size:var(--ds-font-size-caption)}#root .image-composer-head{flex-wrap:wrap;gap:0}#root .image-prompt-tabs{width:100%}#root .image-composer-footer{flex-wrap:wrap}#root .image-composer-footer>span{flex-basis:100%}#root .image-composer-footer>small{margin-right:auto}#root .image-generate-action{width:100%}#root .image-generate-action>button{width:100%}#root .image-generate-requirement{text-align:left}}@media(prefers-reduced-motion:reduce){#root .image-generation-heartbeat path{animation:none;stroke-dasharray:none}}}
