.studio-shell[data-kind=character]{background:var(--theme-surface-1,#1b1b19);grid-template-rows:56px 48px minmax(0,1fr) 98px;grid-template-columns:minmax(0,1fr)}.studio-shell[data-kind=character] .studio-topbar{background:var(--theme-surface-0,#131312);height:56px;min-height:56px}.studio-shell[data-kind=character] .studio-title>a{flex-shrink:0;justify-content:center;align-items:center;width:44px;height:36px;display:inline-flex}.studio-shell[data-kind=character] .studio-title h1{text-overflow:ellipsis;min-width:0;overflow:hidden}.studio-shell[data-kind=character] .studio-title .studio-help,.studio-shell[data-kind=character] .topbar-actions{flex-shrink:0}.studio-shell[data-kind=character] .studio-tabs{background:var(--theme-surface-0,#131312);scrollbar-width:none;gap:0;height:48px;padding:0 20px}.studio-shell[data-kind=character] .studio-tabs button{background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;min-height:48px;padding:12px 8px;font-size:14px;line-height:22px}.studio-shell[data-kind=character] .studio-tabs button[aria-selected=true]{color:var(--theme-text-primary,#f4f4ef);border-bottom-color:var(--theme-surface-inverse,#f4f4ef);font-weight:600}.studio-shell[data-kind=character] .editor-pane{flex-direction:column;padding:0 20px;display:flex}.character-step-heading{flex-shrink:0;min-height:123px;padding:18px 0 17px}.character-step-heading>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.character-step-heading h2{overflow-wrap:anywhere;letter-spacing:-.025em;min-width:0;margin:0;font-size:20px;line-height:28px}.character-step-heading p{color:var(--theme-text-secondary,#aaa9a1);margin:8px 0 0;font-size:15px;line-height:26px}.studio-shell .character-preview-trigger,.character-auto-complete{color:#ef4c40;background:var(--theme-surface-1,#291714);white-space:nowrap;border:0;border-radius:4px;min-height:26px;padding:3px 8px;font-size:12px}.studio-shell[data-kind=character] .editor-scroll{border:1px solid var(--theme-line-subtle,#292925);background:var(--theme-surface-0,#141412);scrollbar-gutter:auto;scrollbar-width:auto;scrollbar-color:auto;border-radius:24px;flex:1;height:auto;min-height:0}.studio-shell[data-kind=character] .editor-scroll::-webkit-scrollbar{width:11px}.studio-shell[data-kind=character] .editor-scroll::-webkit-scrollbar-track{background:0 0;margin-block:4px}.studio-shell[data-kind=character] .editor-scroll::-webkit-scrollbar-thumb{background:var(--theme-surface-4,#797974);border:2px solid var(--theme-line-subtle,#141412)}.studio-shell[data-kind=character] .editor-panel{max-width:none;padding:24px}.studio-shell[data-kind=character] .studio-field{gap:8px;margin-bottom:24px}.studio-shell[data-kind=character] .field-label,.studio-shell[data-kind=character] .studio-field label{font-size:16px;line-height:22px}.studio-shell[data-kind=character] .field-help{color:var(--theme-text-secondary,#aaa9a1);white-space:pre-line;font-size:14px;line-height:21px}.studio-shell[data-kind=character] .required{color:#ee493f;margin-left:2px}.studio-shell[data-kind=character] .field-input-frame input,.studio-shell[data-kind=character] .field-input-frame textarea{background:var(--theme-surface-1,#232322);border-color:var(--theme-line-subtle,#393935);border-radius:12px;font-size:13px;line-height:21px}.studio-shell[data-kind=character] .field-input-frame input{height:40px;min-height:40px}.studio-shell[data-kind=character] .field-input-frame.ui-textarea-frame{--textarea-padding:12px 12px 8px;--textarea-background:var(--theme-surface-1,#232322);--textarea-border:var(--theme-line-subtle,#393935);--textarea-radius:12px;font-size:13px;line-height:21px}.studio-shell[data-kind=character] .field-input-frame .field-count{text-align:right;max-width:calc(100% - 24px);left:auto;right:12px}.studio-shell[data-kind=character] .field-input-frame.is-long .field-count{text-align:left;left:12px;right:auto}.character-profile-panel>.studio-field:not(:first-child){border-top:1px solid var(--theme-line-subtle,#3c3c37);padding-top:24px}.character-profile-image-layout{grid-template-columns:98px minmax(0,1fr);align-items:center;gap:21px;margin-top:10px;display:grid}.character-avatar{object-fit:cover;flex-shrink:0;display:block}.character-profile-image .character-avatar{border-radius:16px;width:98px;height:98px}.character-profile-image-actions{flex-direction:column;align-items:flex-start;gap:8px;min-width:0;display:flex}.studio-shell .character-profile-image-actions button{height:36px;min-height:36px;padding:6px 10px;font-size:13px}.studio-shell .character-profile-image-actions .character-generate{background:var(--theme-action-tint,#2d1714);color:#f04b3e}.character-profile-image-actions p{color:var(--theme-text-muted,#777771);margin:8px 0 0;font-size:14px;line-height:21px}.studio-shell[data-kind=character] [data-field-path=profile\.tagline] .ui-textarea-frame{--textarea-height:98px}.character-policy{background:var(--theme-surface-2,#292926);min-height:83px;color:var(--theme-text-secondary,#99988f);word-break:keep-all;border-radius:12px;align-items:center;gap:6px;margin:0;padding:10px 20px;font-size:14px;line-height:21px;display:flex}.character-policy>svg{flex-shrink:0}.studio-shell[data-kind=character] .studio-bottom{background:var(--theme-surface-1,#1b1b19);border:0;flex-wrap:nowrap;gap:8px;width:100%;padding:36px 20px 16px}.studio-shell[data-kind=character] .studio-bottom>button{flex:1;min-width:0;height:44px;min-height:44px;display:inline-flex}.studio-shell[data-kind=character][data-step=profile] .studio-bottom>button:first-child{display:inline-flex}.studio-shell[data-kind=character] .scroll-top{bottom:-24px;right:10px}.character-intro-section{border-bottom:1px solid var(--theme-line-subtle,#3c3c37);margin-bottom:20px;padding-bottom:20px}.character-intro-section .field-help{margin:8px 0 16px}.studio-shell .character-intro-open{border:1px solid var(--theme-line-strong,#99998f);background:var(--theme-surface-0,#0a0a09);border-radius:9px;width:100%;height:48px;min-height:48px;font-size:13px}.studio-shell .character-example-open{background:var(--theme-surface-2,#272728);border:0;border-radius:7px;width:100%;height:44px;min-height:44px;font-size:13px}.character-example-count{color:var(--theme-text-muted,#77776f);font-weight:400}.studio-shell[data-kind=character] [data-field-path=character\.player_guide] .ui-textarea-frame{--textarea-height:98px}.character-prompt-panel{flex-direction:column;display:flex}.studio-shell[data-kind=character] .character-prompt-panel .studio-field{margin-bottom:0}.studio-shell[data-kind=character] .character-prompt-panel .ui-textarea-frame{--textarea-height:458px}.studio-shell .character-prompt-panel .character-auto-complete{color:#f35142;background:var(--theme-surface-1,#2b1714);border:0;align-self:flex-end;min-height:36px;font-size:13px}.ui-modal.character-dialogue-modal{background:var(--theme-surface-0,#141412);border:0;border-radius:0;width:min(520px,100%);max-width:100%;height:100dvh;max-height:100dvh;padding:0;overflow:hidden}.character-dialogue-shell{flex-direction:column;min-width:0;height:100%;display:flex}.character-dialogue-heading{border-bottom:1px solid var(--theme-line-subtle,#262622);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:4px 8px;min-height:48px;padding:4px 20px;display:flex}.character-dialogue-title,.character-dialogue-actions{align-items:center;gap:8px;display:flex}.character-dialogue-actions{flex-shrink:0;margin-left:auto}.character-dialogue-heading strong{white-space:nowrap;font-size:16px;font-weight:500}.character-dialogue-title>span{color:var(--theme-text-muted,#74746b);white-space:nowrap;font-size:14px}.character-dialogue-heading .character-auto-complete{background:var(--theme-action-tint,#321815);color:#f04b3e;border:0;min-width:84px;min-height:36px;margin-left:auto;padding:8px 15px;font-size:14px;line-height:20px}.character-dialogue-actions>.character-dialogue-close{width:28px;min-width:28px;height:28px;min-height:28px;color:var(--theme-text-secondary,#85857a);background:0 0;border:0;padding:6px}.character-dialogue-thread{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:24px 20px;overflow-y:auto}.character-hidden-background textarea{resize:none;background:var(--theme-surface-2,#2e2d2b);width:100%;min-height:72px;color:var(--theme-text-secondary,#b7b7ad);font:inherit;border:0;border-radius:22px;padding:8px 16px;font-size:16px;line-height:26px;display:block}.character-hidden-background textarea::placeholder{color:var(--theme-text-secondary,#84847b)}.character-background-tools{justify-content:flex-end;align-items:center;gap:6px;height:44px;display:flex}.character-background-tools .ui-button{width:26px;height:26px;min-height:26px;color:var(--theme-text-muted,#737369);background:0 0;border:0;padding:5px}.character-background-image img{object-fit:contain;max-width:100%;max-height:220px}.character-visibility-divider{color:var(--theme-text-muted,#6f6f65);text-align:center;align-items:center;gap:8px;margin:4px 0 28px;font-size:13px;line-height:20px;display:flex}.character-visibility-divider:before,.character-visibility-divider:after{content:"";background:var(--theme-surface-3,#48483f);flex:1;min-width:8px;height:1px}.character-dialogue-row{gap:8px;min-width:0;margin-bottom:20px;display:flex}.character-dialogue-row .character-avatar{border-radius:50%;width:36px;height:36px}.character-speaker-name{color:var(--theme-text-secondary,#a7a79b);margin:0 0 4px;font-size:13px;line-height:18px;display:block}.character-speaker-name:empty{display:none}.character-message{min-width:0;max-width:calc(100% - 44px)}.character-bubble{background:var(--theme-surface-2,#2e2d2b);white-space:pre-wrap;overflow-wrap:anywhere;max-width:258px;color:var(--theme-text-primary,#e4e4da);border-radius:0 23px 23px;padding:10px 16px;font-size:16px;line-height:24px}.is-character .character-bubble{max-width:214px}.character-bubble img{object-fit:contain;border-radius:8px;max-width:100%;max-height:260px;display:block}.character-dialogue-row.is-user{justify-content:flex-end}.is-user .character-message{max-width:100%}.is-user .character-bubble{background:var(--theme-surface-4,#61605b);border-radius:23px 23px 0}.character-dialogue-row.is-narration .character-message{width:100%;max-width:100%}.is-narration .character-bubble{max-width:100%;color:var(--theme-text-secondary,#b7b7ad);background:0 0;padding:4px 12px}.character-message-menu.ui-picker-trigger{width:28px;height:24px;min-height:24px;color:var(--theme-text-secondary,#85857b);background:0 0;border:0;margin:2px 0 0 auto;padding:2px 6px}.character-message-actions{min-width:130px;display:grid}.character-message-actions .ui-button{background:0 0;border:0;justify-content:flex-start;font-size:13px}.character-composer{border:1px solid var(--theme-line-subtle,#34342e);background:var(--theme-surface-0,#0a0a0a);margin:0 20px max(16px,env(safe-area-inset-bottom));border-radius:14px;flex-shrink:0;padding:12px}.character-composer-speakers{justify-content:space-between;align-items:center;gap:8px;display:flex}.character-composer-speakers>div{gap:8px;min-width:0;display:flex}.character-composer-speakers .ui-button,.character-composer-tools .ui-button{border:1px solid var(--theme-line-subtle,#3d3d36);background:var(--theme-surface-1,#171716);height:28px;min-height:28px;color:var(--theme-text-secondary,#b0b0a6);white-space:nowrap;border-radius:8px;padding:4px 10px;font-size:12px;line-height:18px}.character-composer-speakers>div>.ui-button:first-child{text-overflow:ellipsis;max-width:130px;display:block;overflow:hidden}.character-composer-speakers .ui-button[aria-pressed=true],.character-composer-tools .ui-button[aria-pressed=true]{background:var(--theme-surface-inverse,#f1f1ed);color:var(--theme-text-inverse,#22221d);border-color:#0000}.character-composer-speakers .character-composer-image{border-radius:18px;flex-shrink:0;padding-inline:10px;font-size:14px}.character-composer>textarea{resize:none;outline-offset:-2px;width:100%;height:55px;min-height:55px;color:var(--theme-text-primary,#ddd);font:inherit;background:0 0;border:0;padding:14px 0 10px;font-size:14px;line-height:22px;display:block}.character-composer>textarea::placeholder{color:var(--theme-text-secondary,#84847b)}.character-composer-tools{align-items:center;gap:8px;display:flex}.character-composer-tools .ui-button{border-radius:18px;font-size:14px}.character-composer-tools>span{color:var(--theme-text-secondary,#99998c);white-space:nowrap;font-size:12px}.character-composer-tools .character-send{background:var(--theme-surface-inverse,#eeeeea);width:28px;min-width:28px;color:var(--theme-text-inverse,#22221e);border:0;border-radius:50%;margin-left:auto;padding:4px}.character-send svg{transform:rotate(90deg)}.character-composer-editing{color:var(--theme-text-secondary,#aaa);justify-content:space-between;align-items:center;margin-bottom:6px;font-size:12px;display:flex}.character-composer-editing .ui-button{height:24px;min-height:24px;padding:3px 8px;font-size:12px}.is-over,.character-dialogue-title>.is-over,.character-composer-tools>.is-over{color:var(--theme-error-text,#f09890)}.character-scene-heading{align-items:center;gap:20px;margin-bottom:16px;display:flex}.character-scene-heading>div{flex:1;min-width:0}.character-scene-heading .field-help{margin-top:8px}.studio-shell .character-scene-heading>button{background:var(--theme-surface-inverse,#f3f3f0);height:36px;min-height:36px;color:var(--theme-text-inverse,#171715);border:0;flex-shrink:0;padding:8px 14px;font-size:14px}.studio-shell .character-scene-add{background:var(--theme-surface-2,#272728);border:0;border-radius:8px;width:100%;min-height:44px;font-size:14px}.character-image-total{text-align:right;margin-block:16px 8px}.character-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.character-scene-grid>div{position:relative}.character-scene-grid img{aspect-ratio:1;object-fit:cover;border-radius:12px;width:100%;display:block}.studio-shell .character-scene-grid .ui-button{background:rgb(var(--theme-surface-0-rgb,16 16 16) / .733333);width:32px;height:32px;min-height:32px;padding:8px;position:absolute;bottom:6px;right:6px}.character-details-panel>.studio-field{border-bottom:1px solid var(--theme-line-subtle,#3c3c37);padding-bottom:24px}.studio-shell[data-kind=character] .character-details-panel [data-field-path=publication\.description] .ui-textarea-frame{--textarea-height:98px}.studio-shell[data-kind=character] .character-details-panel [data-field-path=publication\.description] .field-input-frame{min-height:98px}.studio-shell[data-kind=character] .character-details-panel .field-input-frame.is-long .field-count{text-align:left;left:12px;right:auto}.studio-shell .character-linked-stories>button{background:var(--theme-surface-2,#272728);border:0;height:44px;min-height:44px;margin-top:8px;font-size:13px}.character-details-panel .publish-visibility legend{font-size:16px}.character-details-panel .publish-visibility .ui-radio-option strong{font-size:14px}.character-details-panel .publish-visibility .ui-radio-option small,.character-details-panel .publish-comments p{font-size:13px}.character-linked-stories-list{gap:8px;margin-block:20px;display:grid}.character-linked-stories-list>label{border:1px solid var(--theme-line-subtle,#383832);border-radius:10px;align-items:flex-start;gap:12px;padding:16px 12px;font-size:14px;display:flex}.character-linked-stories-list small{color:var(--theme-text-secondary,#96968d);margin-top:6px;font-size:12px;display:block}.character-linked-stories-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}@media (min-width:901px){.studio-shell[data-kind=character] .studio-bottom{width:54.0541%}.studio-shell[data-kind=character] .editor-pane{padding-inline:32px}}@media (max-width:600px){.ui-modal.character-dialogue-modal{width:100%;margin:0}}@media (max-width:360px){.studio-shell[data-kind=character] .editor-panel{padding:20px 16px}.character-profile-image-layout{grid-template-columns:82px minmax(0,1fr);gap:14px}.character-profile-image .character-avatar{width:82px;height:82px}.character-dialogue-heading{gap:6px;padding-inline:12px}.character-dialogue-heading .character-auto-complete{padding-inline:8px}.character-dialogue-thread{padding-inline:12px}.character-composer{margin-inline:12px;padding:10px}.character-composer-speakers{flex-wrap:wrap}.character-composer-speakers .character-composer-image{margin-left:auto}}.character-examples-list{flex-direction:column;gap:16px;display:flex}.character-examples-list:not(:empty){margin-bottom:16px}.character-example-row{border:2px solid #0000;border-radius:12px;min-height:52px;padding:2px;position:relative}.character-example-row[data-selected]{border-color:var(--theme-line-focus,#b4b4ac)}.studio-shell .character-example-select{border:1px solid var(--theme-line-subtle,#393935);background:var(--theme-surface-0,#090908);border-radius:8px;justify-content:flex-start;width:100%;height:44px;min-height:44px;padding:8px 72px 8px 16px;display:flex}.character-example-row[data-selected] .character-example-select{border-color:var(--theme-line-strong,#99998f)}.studio-shell .character-example-delete{width:48px;height:48px;min-height:48px;color:var(--theme-text-muted,#77776f);background:0 0;border:0;padding:12px;position:absolute;top:50%;right:24px;transform:translateY(-50%)}.character-editor-host{background:var(--theme-surface-0,#141412);height:100%;min-height:0}@media (min-width:901px){.studio-shell[data-kind=character][data-step=intro]{grid-template-columns:minmax(0,45%) minmax(0,1fr)}.studio-shell[data-kind=character][data-step=intro]>.studio-topbar{grid-area:1/1/auto/-1}.studio-shell[data-kind=character][data-step=intro]>.studio-tabs{grid-area:2/1}.studio-shell[data-kind=character][data-step=intro]>.studio-workspace{display:contents}.studio-shell[data-kind=character][data-step=intro] .editor-pane{grid-area:3/1;padding-inline:40px}.studio-shell[data-kind=character][data-step=intro] .desktop-preview{grid-area:2/2/5;min-width:0}.studio-shell[data-kind=character][data-step=intro]>.studio-bottom{grid-area:4/1;width:100%}.character-editor-host .character-dialogue-thread{padding-inline:40px}.character-editor-host .character-composer{margin-inline:24px}}.character-message{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;display:grid}.character-message>.character-speaker-name{grid-column:1/-1}.character-message-inline-actions{align-items:flex-end;gap:8px;padding-bottom:2px;display:flex}.character-message-inline-actions>.ui-button{width:28px;height:28px;min-height:28px;color:var(--theme-text-muted,#77776f);background:0 0;border:0;padding:6px}.character-insertion-marker{align-items:center;min-height:18px;margin-top:20px;display:flex}.character-insertion-marker:before{content:"";background:var(--color-action,#f43);flex:1;height:1px}.character-insertion-marker>span{background:var(--color-action,#f43);color:#fff;padding:2px 6px;font-size:10px;line-height:14px}@media (min-width:901px){.character-example-row[data-selected] .character-example-select{background:var(--theme-surface-3,#41413f)}}.character-inline-edit{grid-column:1/-1;width:214px;max-width:100%}.character-inline-edit .character-bubble{padding:10px 16px}.character-inline-edit textarea{resize:vertical;border:1px solid var(--theme-line-strong,#70706b);width:100%;height:46px;min-height:46px;color:inherit;background:var(--theme-surface-4,#60605c);font:inherit;border-radius:12px;padding:12px;font-size:14px;line-height:20px;display:block}.character-inline-edit .character-bubble>div{gap:8px;margin-top:10px;display:flex}.character-inline-edit .ui-button{min-height:34px;color:var(--theme-text-secondary,#aaa9a1);background:0 0;border:0;padding:6px;font-size:14px}.character-inline-edit>span{text-align:right;color:var(--theme-text-muted,#74746b);margin-top:4px;font-size:12px;line-height:18px;display:block}.studio-shell .character-example-row .character-intro-open{border-color:var(--theme-line-subtle,#393935);border-radius:8px;height:44px;min-height:44px}.character-inline-edit>span.is-over{color:var(--theme-error-text,#f09890)}@media (min-width:901px){.studio-shell[data-kind=character][data-step=intro]{grid-template-rows:56px 48px minmax(0,1fr) 76px}.studio-shell[data-kind=character][data-step=intro] .editor-pane{padding-bottom:40px}.studio-shell[data-kind=character][data-step=intro] .character-step-heading{min-height:0;padding:32px 0 24px}.studio-shell[data-kind=character][data-step=intro] .character-step-heading h2{font-size:20px;font-weight:600;line-height:20px}.studio-shell[data-kind=character][data-step=intro] .character-step-heading p{font-size:16px;line-height:25.6px}.studio-shell[data-kind=character][data-step=intro] .character-preview-trigger{height:24px;min-height:24px}.studio-shell[data-kind=character][data-step=intro]>.studio-bottom{padding:16px 20px}}@media (min-width:1280px){.studio-shell[data-kind=character][data-step=intro] .character-preview-trigger{display:none}.studio-shell[data-kind=character][data-step=intro] .studio-bottom>button{flex:none;padding-inline:32px}.character-editor-host .character-dialogue-close{display:none}}.character-background-text{color:var(--theme-text-muted,#85857a);background:var(--theme-surface-2,#2e2d2b);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:20px;padding:10px 16px;font-size:16px;line-height:25.6px}.character-background-edit{width:100%}.character-background-edit .character-bubble{border-radius:20px;width:100%;max-width:none}.character-hidden-background .character-background-edit textarea{border:1px solid var(--theme-line-strong,#70706b);background:var(--theme-surface-4,#60605c);color:var(--theme-text-primary,#e4e4da);border-radius:12px;padding:12px;font-size:14px;line-height:20px}.character-hidden-background .character-background-edit textarea::placeholder{color:var(--theme-text-secondary,#b0b0a6)}.character-bubble .work-text,.character-bubble .work-text p{font-size:inherit;line-height:inherit}.character-bubble .work-text p{margin:0}.character-scene-editors{margin-block:16px}.character-scene-info{align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.character-scene-info>img{aspect-ratio:1;object-fit:cover;border-radius:10px;width:88px}.character-scene-meta{flex:1;min-width:0}.character-scene-meta .studio-field{gap:6px;margin:0;display:grid}.character-scene-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.character-scene-editors .ui-editor-card-body>.studio-field{margin-top:16px}@media (max-width:480px){.character-scene-info{flex-direction:column}.character-scene-meta{width:100%}}
@media (max-width:480px){.studio-shell[data-kind=story] .studio-bottom{border-top:0}.studio-shell[data-kind=story] .profile-random-banner{min-height:68px;padding-block:14px}.studio-shell[data-kind=story] .studio-generation-button{white-space:nowrap;min-width:84px;min-height:36px;padding:8px 12px;font-size:14px;line-height:20px}.studio-shell[data-kind=story] .studio-field .field-input-frame.is-short input{height:40px;padding-block:8px}.studio-shell[data-kind=story] .profile-image-field{margin-bottom:20px}.studio-shell[data-kind=story] .profile-image-field>.field-label{line-height:21px}.studio-shell[data-kind=story] .profile-image-field .image-spec{line-height:18px}.studio-shell[data-kind=story] [data-field-path=profile\.name]{margin-bottom:20px}.studio-shell[data-kind=story][data-step=settings] .editor-panel{padding-top:31px}.studio-shell[data-kind=story][data-step=settings] .studio-field .field-help{line-height:21px}.studio-shell[data-kind=story][data-step=settings] .studio-field .ui-select-trigger{height:44px;min-height:44px}.studio-shell[data-kind=story] [data-field-path=story\.prompt] .ui-textarea-frame{--textarea-height:185px}.studio-shell[data-kind=story][data-step=settings] .editor-panel{padding-bottom:48px}.studio-shell[data-kind=story] .suggested-replies>.field-help,.studio-shell[data-kind=story] .story-examples>.field-help{font-size:14px;line-height:21px}.studio-shell[data-kind=story] .story-examples h3{margin-top:20px;line-height:20px}.studio-shell[data-kind=story] .story-example-body{padding-block:20px}.studio-shell[data-kind=story] .example-speaker{font-size:14px;line-height:20px}.studio-shell[data-kind=story] .story-example-body .field-input-frame.ui-textarea-frame{--textarea-height:89px;font-size:14px;line-height:21px}.studio-shell[data-kind=story][data-step=stats] .editor-panel{padding:20px 20px 24px}.studio-shell[data-step=stats] .panel-description{line-height:21px}.studio-shell[data-step=stats] .start-selector{margin-bottom:20px}.studio-shell[data-step=stats] .start-selector .sub-tabs{margin-bottom:0}.studio-shell[data-step=stats] .start-selector .sub-tabs button{padding-block:7px}.studio-shell[data-step=stats] .ui-editor-card{background:var(--theme-surface-2,#292927);border:1px solid #0000}.studio-shell[data-step=stats] .ui-editor-card-body{padding-bottom:24px}.studio-shell[data-kind=story][data-step=stats] .studio-field .field-help{line-height:21px}.studio-shell[data-step=stats] .stat-range{margin-top:4px}.studio-shell[data-step=stats] .stat-range input{height:40px;min-height:40px;padding-block:8px;line-height:22px}.studio-shell[data-step=stats] .ui-editor-card-body .field-input-frame input,.studio-shell[data-step=stats] .stat-range input{background:var(--theme-surface-2,#343432);border-color:var(--theme-line-subtle,#535351)}.studio-shell[data-step=stats] .ui-editor-card-body .ui-textarea-frame{--textarea-background:var(--theme-surface-2,#343432);--textarea-border:var(--theme-line-subtle,#535351)}.studio-shell[data-step=stats] [data-field-path$=\.description] .ui-textarea-frame{--textarea-height:143px}.studio-shell[data-step=stats] .studio-generation-button{min-width:80px}.studio-shell[data-step=stats] .level-heading{margin-bottom:12px}.studio-shell[data-step=stats] .level-heading h3{line-height:16px}.studio-shell[data-step=stats] .level-heading .field-help{font-size:14px;line-height:21px}.studio-shell[data-step=stats] .collection-add{background:var(--theme-surface-0,#0a0a0a);height:36px;min-height:36px;padding:7px 12px;line-height:20px}.studio-shell[data-step=shortcuts] .editor-panel{padding:20px 20px 24px}.studio-shell .shortcuts-panel>.panel-description{margin-bottom:20px;line-height:21px}.studio-shell .shortcuts-panel .ui-editor-card{background:var(--theme-surface-2,#292927);border:1px solid #0000}.studio-shell .shortcuts-panel .ui-editor-card-body{padding-inline:16px}.studio-shell .shortcuts-panel .field-input-frame input{background:var(--theme-surface-2,#343432);border-color:var(--theme-line-subtle,#535351);font-size:14px}.studio-shell .shortcuts-panel .field-input-frame.ui-textarea-frame{--textarea-height:129px;--textarea-background:var(--theme-surface-2,#343432);--textarea-border:var(--theme-line-subtle,#535351);font-size:14px}.studio-shell .shortcuts-panel .field-count{font-size:12px}.studio-shell .shortcuts-panel .collection-add{background:var(--theme-surface-0,#0a0a0a);height:44px;min-height:44px;color:var(--color-foreground);line-height:20px}.studio-shell[data-step=keywords] .editor-panel{padding-top:24px}.studio-shell .keyword-heading{margin-bottom:8px}.studio-shell .keyword-book>.panel-description{white-space:pre-line;margin-bottom:12px;line-height:21px}.studio-shell .keyword-filters{margin-top:0;margin-bottom:20px}.studio-shell .keyword-list [data-field-path$=\.information]{margin-bottom:8px}.studio-shell .keyword-tokens-field>.ui-field-label{line-height:20px}.studio-shell[data-kind=story] .keyword-tokens-field .field-help,.studio-shell[data-kind=story] .keyword-scope-field .field-help{line-height:21px}.studio-shell .keyword-tokens-field .field-help,.studio-shell .keyword-scope-field .field-help{margin-bottom:4px}.studio-shell .keyword-tokens-field{margin-bottom:8px}.studio-shell .keyword-scope-field>.ui-field-label{line-height:23px}.studio-shell .keyword-list .ui-token-input{min-height:40px;padding-block:6px}.studio-shell .keyword-list .ui-editor-card-body .ui-textarea-frame{--textarea-background:var(--theme-surface-2,#343433);--textarea-border:var(--theme-line-subtle,#535352)}.studio-shell .keyword-list .ui-editor-card{background:var(--theme-surface-2,#292928)}.studio-shell .keyword-list .ui-editor-card-body{padding-bottom:18px}.studio-shell .keyword-book>.collection-add{background:var(--theme-surface-0,#0a0a0a);height:36px;min-height:36px;color:var(--color-foreground);padding-block:7px;line-height:20px}.studio-shell[data-step=endings] .editor-panel{padding:20px 20px 24px}.studio-shell[data-step=endings] .panel-description{line-height:21px}.studio-shell[data-step=endings] .start-selector{margin-bottom:20px}.studio-shell[data-step=endings] .start-selector .sub-tabs{margin-bottom:0}.studio-shell[data-step=endings] .start-selector .sub-tabs button{padding-block:7px}.studio-shell[data-step=endings] .ui-editor-card{background:var(--theme-surface-2,#292927);border:1px solid #0000}.studio-shell[data-step=endings] .ui-editor-card-body{padding-bottom:24px}.studio-shell[data-step=endings] .studio-field>.ui-field-label{font-size:16px;line-height:22px}.studio-shell[data-kind=story][data-step=endings] .studio-field .field-help{line-height:21px}.studio-shell[data-step=endings] .ending-image-field{gap:10px;margin-bottom:14px}.studio-shell[data-step=endings] .ending-image-field .image-upload{border:0;margin-bottom:20px}.studio-shell[data-kind=story][data-step=endings] .ending-image-field .field-help{line-height:22px}.studio-shell[data-step=endings] .ending-image-field .image-spec{margin-bottom:14px}.studio-shell[data-step=endings] .ending-image-field .button-row button{font-size:14px}.studio-shell[data-step=endings] .ending-grade-field{margin-bottom:20px}.studio-shell[data-step=endings] [data-field-path$=\.name]{margin-bottom:16px}.studio-shell[data-step=endings] .ending-conditions{gap:4px;margin-bottom:20px}.studio-shell[data-step=endings] .ending-turn{margin:16px 0 8px;font-size:14px}.studio-shell[data-step=endings] .ending-turn .ui-select-trigger{background:var(--theme-surface-2,#343432);border-radius:12px;height:40px;min-height:40px}.studio-shell[data-step=endings] .rule-open{height:36px;min-height:36px;color:var(--color-foreground);padding:7px 12px;line-height:20px}.studio-shell[data-step=endings] .ui-editor-card-body .field-input-frame input{background:var(--theme-surface-2,#343432);border-color:var(--theme-line-subtle,#535351)}.studio-shell[data-step=endings] .ui-editor-card-body .ui-textarea-frame{--textarea-background:var(--theme-surface-2,#343432);--textarea-border:var(--theme-line-subtle,#535351);line-height:21px}.studio-shell[data-step=endings] [data-field-path$=\.judgment_prompt]{margin-bottom:20px}.studio-shell[data-step=endings] [data-field-path$=\.judgment_prompt] .ui-textarea-frame{--textarea-height:161px}.studio-shell[data-step=endings] [data-field-path$=\.epilogue]{margin-bottom:36px}.studio-shell[data-step=endings] [data-field-path$=\.epilogue] .ui-textarea-frame{--textarea-height:143px}.studio-shell[data-step=endings] [data-field-path$=\.hint]{margin-bottom:0}.studio-shell[data-step=endings] [data-field-path$=\.hint] .ui-textarea-frame{--textarea-height:77px}.studio-shell[data-step=endings] .collection-add{background:var(--theme-surface-0,#0a0a0a);height:36px;min-height:36px;color:var(--color-foreground);padding:7px 12px;line-height:20px}.ending-rules-modal .ui-modal-header h1{font-size:18px;font-weight:600}.ending-rules-modal .ui-modal-header .ui-modal-close{width:32px;height:32px;padding:6px;top:-6px;right:2px}.ending-rules-modal .rule-modal-description{margin-bottom:27px;font-size:14px}.ending-rules-modal .ending-rules-scroll{padding-inline:4px;margin-inline:-4px;padding-bottom:33px;overflow-x:hidden}.ending-rules-modal .ending-rules-scroll>.rules-sortable{margin-right:-4px}.ending-rules-modal .rule-line input{height:40px;min-height:40px;padding-block:9px;line-height:20px}.ending-rules-modal .rule-line .rule-remove{height:40px;min-height:40px;padding:0}.ending-rules-modal .rule-group{margin-left:-22px}.ending-rules-modal .rule-group>header{padding-bottom:10px;padding-left:22px}.ending-rules-modal .rules-sortable>.ui-sortable-row:has(>.rule-group)>.ui-drag-handle{top:10px;left:7px}.ending-rules-modal .rule-group-inner{padding-block:10px}.ending-rules-modal .rule-group-inner .rules-sortable>.ui-sortable-row{padding-left:22px}.ending-rules-modal .rule-modal-footer{padding-top:13px}.ending-rules-modal .rule-modal-footer>.rule-add-row button{height:36px;min-height:36px}.ending-rules-modal .rule-modal-actions .ui-button-secondary{background:var(--theme-surface-0,#0a0a0a)}.studio-shell[data-kind=story][data-step=publish] .adult-verification-banner{min-height:77px;line-height:22px}.studio-shell[data-kind=story][data-step=publish] .editor-panel{padding-top:32px}.studio-shell[data-kind=story] .publish-panel .studio-field{gap:8px}.studio-shell[data-kind=story] .publish-panel .field-label{font-size:16px;font-weight:500;line-height:21px}.studio-shell[data-kind=story] .publish-panel .field-help{line-height:21px}.studio-shell[data-kind=story] .publish-panel [data-field-path=publication\.description]>.field-label{line-height:22px}.studio-shell[data-kind=story] .publish-panel [data-field-path=publication\.description] .ui-textarea-frame{--textarea-padding:12px 12px 8px;font-size:14px;line-height:21px}.studio-shell[data-kind=story] .publish-panel .ui-select-trigger{border-radius:8px;font-size:14px;line-height:22px}.studio-shell[data-kind=story] .publish-panel [data-field-path=publication\.target]{gap:7.5px}.studio-shell[data-kind=story] .publish-panel [data-field-path=publication\.recommended_model]{gap:7px}.studio-shell[data-kind=story] .publish-label>.ui-field-label{display:flex}.studio-shell[data-kind=story] .publish-output>.field-label{font-size:14px;line-height:20px}.studio-shell[data-kind=story] .publish-output-mode{margin-top:5px}.studio-shell[data-kind=story] .publish-panel .publish-tags{gap:7px;margin-bottom:36px}.studio-shell[data-kind=story] .publish-rating>.field-help{margin-bottom:8px;font-size:14px}.studio-shell[data-kind=story] .publish-rating-options{padding-block:14px}.studio-shell[data-kind=story] .publish-rating-options .ui-radio-option strong{font-size:14px;line-height:22px}.studio-shell[data-kind=story] .publish-visibility>legend{margin-bottom:8px;padding:0}.studio-shell[data-kind=story] .publish-visibility>legend .ui-field-label{display:flex}.studio-shell[data-kind=story] .publish-visibility .ui-radio-option strong{font-size:14px;line-height:20px}.studio-shell[data-kind=story] .publish-visibility .ui-radio-option small{font-size:14px;line-height:21px}.studio-shell[data-kind=story] .publish-visibility .ui-radio-option{border-radius:14px;min-height:73px}.studio-shell[data-kind=story] .publish-comments strong{line-height:18px;display:block}.studio-shell[data-kind=story] .publish-comments p{margin-top:4px;line-height:12px}.studio-shell[data-kind=story] .publish-individual-toggle{padding-bottom:24px}.studio-shell[data-kind=story] .publish-mode-output{padding-bottom:11px}.studio-shell[data-kind=story] .publish-mode-output:last-child{padding-bottom:8px}.studio-shell[data-kind=story] .publish-mode-output-heading>strong,.studio-shell[data-kind=story] .publish-mode-output-heading>strong>span,.studio-shell[data-kind=story] .publish-mode-output-heading>span{font-size:14px;line-height:21px}.studio-shell[data-kind=story] .publish-mode-output>p{margin-top:0;margin-bottom:4px;font-size:14px;line-height:21px}.studio-shell[data-kind=story] .publish-mode-output .ui-step-slider-labels{font-size:12px;line-height:17px}.studio-shell[data-kind=character]{background:var(--theme-surface-1,#1a1a18);grid-template-rows:56px 48px minmax(0,1fr) 96px}.studio-shell[data-kind=character] .studio-topbar,.studio-shell[data-kind=character] .studio-tabs,.studio-shell[data-kind=character] .studio-bottom{background:var(--theme-surface-0,#141412)}.studio-shell[data-kind=character] .studio-title h1{font-size:16px;font-weight:600}.studio-shell[data-kind=character] .topbar-actions button:not(.history-button){padding-inline:16px;font-size:14px}.studio-shell[data-kind=character] .character-step-heading h2{font-weight:600}.studio-shell[data-kind=character] .character-step-heading p{font-size:16px}.studio-shell[data-kind=character] .editor-panel{padding-bottom:20px}.studio-shell[data-kind=character] .field-label,.studio-shell[data-kind=character] .studio-field label{font-weight:500}.studio-shell[data-kind=character] .ui-field-label{display:flex}.studio-shell[data-kind=character] .field-input-frame.ui-textarea-frame,.studio-shell[data-kind=character] .field-input-frame input{font-size:14px}.studio-shell[data-kind=character] .character-profile-image-actions button{border:0;font-size:14px}.studio-shell[data-kind=character] .character-profile-image-actions .character-generate{min-width:96px}.studio-shell[data-kind=character] .character-profile-image-actions .character-upload{min-width:68px}.studio-shell[data-kind=character] .character-profile-image-actions p{word-break:break-all}.studio-shell[data-kind=character] .character-image-field{margin-bottom:32px}.studio-shell[data-kind=character] .character-image-field>.field-help{line-height:22px}.studio-shell[data-kind=character] .character-intro-panel>.studio-field:last-child{margin-bottom:0}.studio-shell[data-kind=character] .character-scene-heading{margin-bottom:10px}.studio-shell[data-kind=character] .character-scene-heading .field-help{margin-top:4px}.studio-shell[data-kind=character] .character-scene-heading>button{min-width:96px}.studio-shell[data-kind=character] .character-details-panel .publish-tags .ui-token-input{margin-top:8px}.studio-shell[data-kind=character] .character-details-panel .publish-visibility{margin-bottom:24px}.studio-shell[data-kind=character] .character-details-panel .publish-visibility>legend{margin-bottom:6px;padding:0}.studio-shell[data-kind=character] .character-details-panel .publish-visibility .ui-radio-option{border-radius:12px;min-height:73px}.studio-shell[data-kind=character] .character-details-panel .publish-comments{padding:24px 0 0}.studio-shell[data-kind=character] .character-details-panel .publish-comments strong{font-size:16px;line-height:22px;display:block}.studio-shell[data-kind=character] .character-details-panel .publish-comments p{margin-top:8px;font-size:14px;line-height:21px}}
.studio-shell[data-kind=story]>.studio-topbar{height:57px;min-height:57px;padding:4px 20px}.studio-shell[data-kind=story] .studio-title{gap:4px}.studio-shell[data-kind=story] .studio-title>a{flex-shrink:0;justify-content:center;width:48px;height:48px;padding:0}.studio-shell[data-kind=story] .studio-title h1{font-size:16px;font-weight:600;line-height:16px}.studio-shell[data-kind=story] .studio-title .studio-help{flex-shrink:0;width:28px}.studio-shell[data-kind=story] .topbar-actions{flex-shrink:0;gap:2px}.studio-shell[data-kind=story] .topbar-actions button{border:0;height:36px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px}.studio-shell[data-kind=story] .topbar-actions .history-button{width:36px;padding:0}.studio-shell[data-kind=story] .topbar-actions .desktop-publish{background:var(--theme-surface-inverse,#fafafa);color:var(--theme-text-inverse,#171717);margin-left:10px;display:none}.studio-shell[data-kind=story] .studio-tabs{scrollbar-width:none;gap:12px;min-width:0;height:49px;padding:0 20px}.studio-shell[data-kind=story] .studio-tabs button{height:48px;padding:16px 8px;font-size:14px;line-height:14px}.studio-shell[data-kind=story] .studio-tabs .required{font:inherit}.studio-shell[data-kind=story] .studio-bottom{border:0}.studio-shell[data-kind=story] .editor-scroll{scrollbar-width:thin;scrollbar-color:var(--theme-line-strong,#737373) transparent}.studio-shell[data-kind=story] .adult-verification-banner{background:var(--theme-surface-2,#2e2d2b);color:var(--theme-text-primary,#f0efeb);gap:12px;padding:16px 20px;font-size:15px;font-weight:500;line-height:22.5px}.studio-shell[data-kind=story] .adult-verification-banner>button:first-of-type{background:var(--theme-surface-inverse,#fafafa);height:24px;min-height:24px;color:var(--theme-text-inverse,#171717);padding:4px 8px;font-size:12px;font-weight:500;line-height:18px}.studio-shell[data-kind=story] .adult-verification-banner>button:last-of-type{width:28px;height:28px;min-height:28px;color:var(--theme-text-muted,#737373);padding:0}@media (max-width:1023px){.studio-shell[data-kind=story]{grid-template-rows:57px 49px minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}.studio-shell[data-kind=story] .studio-workspace{grid-template-columns:minmax(0,1fr)}.studio-shell[data-kind=story] .desktop-preview{display:none}.studio-shell[data-kind=story] .studio-bottom{padding:56px 20px max(15px, env(safe-area-inset-bottom));flex-wrap:wrap;gap:12px;position:relative}.studio-shell[data-kind=story] .studio-bottom>button:not(.mobile-preview-button){flex:1}.studio-shell[data-kind=story][data-step=profile] .studio-bottom>button:first-child{display:none}.studio-shell[data-kind=story] .studio-bottom .mobile-preview-button{color:#0d0d0c;background:#fcfcfa;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:8px;width:100%;height:40px;min-height:40px;padding:0 20px;font-size:14px;font-weight:600;line-height:14px;display:flex;position:absolute;top:0;left:0}.studio-shell[data-kind=story] .mobile-preview-button span{white-space:normal;text-align:left;min-width:0;font-weight:inherit}.studio-shell[data-kind=story] .mobile-preview-button strong{white-space:nowrap;font-weight:inherit;flex-shrink:0}}@media (min-width:768px){.studio-shell[data-kind=story] .adult-verification-banner{padding-left:48px;padding-right:32px}.studio-shell[data-kind=story] .studio-title h1{font-size:20px;line-height:20px}.studio-shell[data-kind=story] .topbar-actions .desktop-publish{display:inline-flex}.studio-shell[data-kind=story] .studio-bottom>button:not(.mobile-preview-button){flex:none}.studio-shell[data-kind=story][data-step=profile] .studio-bottom{justify-content:flex-end}}@media (min-width:768px) and (max-width:1023px){.studio-shell[data-kind=story] .studio-bottom{padding:60px 40px max(20px, env(safe-area-inset-bottom))}}@media (min-width:1024px){.studio-shell[data-kind=story]:not([data-matrix-expanded]){padding-bottom:max(20px, env(safe-area-inset-bottom));grid-template-rows:57px 49px minmax(0,1fr) 64px;grid-template-columns:repeat(2,minmax(0,1fr))}.studio-shell[data-kind=story]:not([data-matrix-expanded])>.studio-topbar{grid-area:1/1/auto/-1}.studio-shell[data-kind=story]:not([data-matrix-expanded])>.studio-tabs{grid-area:2/1}.studio-shell[data-kind=story]:not([data-matrix-expanded])>.studio-workspace{display:contents}.studio-shell[data-kind=story]:not([data-matrix-expanded]) .editor-pane{grid-area:3/1}.studio-shell[data-kind=story]:not([data-matrix-expanded]) .desktop-preview{border-left-color:var(--theme-line-subtle,#434342);grid-area:2/2/5;min-width:0}.studio-shell[data-kind=story]:not([data-matrix-expanded])>.studio-bottom{grid-area:4/1;padding:20px 40px 0}.studio-shell[data-kind=story][data-step=profile] .studio-bottom>button:first-child{display:none}}
.studio-shell[data-step=stats] .panel-title,.studio-shell[data-step=stats] .studio-field>.ui-field-label{font-size:16px;line-height:22px}.studio-shell[data-step=stats] [data-field-path$=\.description] .ui-textarea-frame{--textarea-padding:12px;font-size:14px;line-height:21px}.studio-shell[data-step=stats] [data-field-path$=\.description] .ui-textarea-footer{flex-shrink:0;min-height:54px;padding:6px 10px 12px 12px}.studio-shell[data-step=stats] .level-heading h3{font-size:16px;font-weight:600;line-height:16px}.studio-shell[data-step=stats] .level-heading button{background:var(--theme-surface-2,#27272a);min-width:0;height:36px;min-height:36px;color:var(--theme-text-primary,#fafafa);white-space:nowrap;border:0;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px}.studio-shell[data-step=stats] .stat-level-card{background:rgb(var(--theme-overlay-rgb,255 255 255) / .05);border-color:rgb(var(--theme-line-rgb,255 255 255) / .2);padding:16px}.studio-shell[data-step=stats] .level-title .ui-field-label{font-size:14px;font-weight:600;line-height:14px}.studio-shell[data-step=stats] .level-title .required{margin-left:0;font-size:14px;line-height:14px}.studio-shell[data-step=stats] .level-remove{width:24px;height:24px;min-height:24px;color:var(--color-muted);padding:4px}.studio-shell[data-step=stats] .stat-levels>.stat-level-card:last-of-type{margin-bottom:12px}.studio-shell[data-step=stats] .stat-level-card .field-input-frame input{background:rgb(var(--theme-overlay-rgb,255 255 255) / .05);border-color:rgb(var(--theme-line-rgb,255 255 255) / .15);height:40px;padding:8px 56px 8px 12px;font-size:14px;line-height:21px}.studio-shell[data-step=stats] .stat-level-card .level-range input{background:rgb(var(--theme-overlay-rgb,255 255 255) / .05);border-color:rgb(var(--theme-line-rgb,255 255 255) / .15);height:40px;padding:8px 40px 8px 12px;font-size:14px;line-height:21px}.studio-shell[data-step=stats] .stat-level-card .level-range input:disabled{background:var(--theme-surface-1,#171717)}.studio-shell[data-step=stats] .stat-level-card .level-range input[aria-invalid=true]{border-color:var(--theme-error-text,#ff7066)}.studio-shell[data-step=stats] .stat-range-cell input[aria-invalid=true]:focus-visible,.studio-shell[data-step=stats] .stat-level-card input[aria-invalid=true]:focus-visible{outline:2px solid color-mix(in srgb, var(--theme-error-text,#ff7066) 40%, transparent);outline-offset:0}.studio-shell[data-step=stats] .stat-level-card .ui-textarea-frame:has([aria-invalid=true]):focus-within{outline:2px solid color-mix(in srgb, var(--theme-error-text,#ff7066) 40%, transparent);outline-offset:0}.studio-shell[data-step=stats] .stat-level-card .level-range input{appearance:textfield}.studio-shell[data-step=stats] .level-range input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.studio-shell[data-step=stats] .level-range input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.studio-shell[data-step=stats] .level-range label>span{font-size:14px;line-height:21px;top:9.5px;right:12px}.studio-shell[data-step=stats] .stat-level-card .level-prompt .ui-textarea-frame{--textarea-background:rgb(var(--theme-overlay-rgb,255 255 255) / .05);--textarea-border:rgb(var(--theme-line-rgb,255 255 255) / .15);--textarea-padding:12px;font-size:14px;line-height:21px}.studio-shell[data-step=stats] .level-prompt .ui-textarea-footer{flex-shrink:0;min-height:30px;padding:6px 10px 12px 12px}.studio-shell[data-step=stats] .level-prompt .field-count{font-size:12px;line-height:12px}.studio-shell[data-step=stats] .level-add{background:var(--theme-surface-0,#0a0a0a);border-color:rgb(var(--theme-line-rgb,255 255 255) / .2);height:36px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px}@media (max-width:480px){.studio-shell[data-step=stats] .level-heading button{flex-shrink:1}}html[lang=en] .studio-shell[data-step=stats] .level-range input{padding-right:64px}html[lang=en] .studio-shell[data-step=stats] .level-range label>span{font-size:12px}@media (max-width:360px){html[lang=en] .studio-shell[data-step=stats] .level-range{grid-template-columns:minmax(0,1fr)}}@media (min-width:481px){.studio-shell[data-kind=story][data-step=stats] .editor-panel{padding:32px 48px 24px}.studio-shell[data-step=stats] .panel-title{font-size:16px;line-height:22px}.studio-shell[data-step=stats] .panel-description{line-height:21px}.studio-shell[data-step=stats] .start-selector{margin-bottom:20px}.studio-shell[data-step=stats] .start-selector .sub-tabs{margin-bottom:0}.studio-shell[data-step=stats] .start-selector .sub-tabs button{padding-block:7px}.studio-shell[data-step=stats] .ui-editor-card{background:rgb(var(--theme-overlay-rgb,255 255 255) / .09);border:1px solid #0000}.studio-shell[data-step=stats] .ui-editor-card-body{padding-bottom:24px}.studio-shell[data-step=stats] .studio-field{gap:8px}.studio-shell[data-step=stats] .studio-field>.ui-field-label{font-size:16px;line-height:22px}.studio-shell[data-kind=story][data-step=stats] .studio-field .field-help{font-size:14px;line-height:21px}.studio-shell[data-step=stats] .stat-range{margin-top:4px}.studio-shell[data-step=stats] .stat-range-field>.field-help{white-space:normal}.studio-shell[data-step=stats] .stat-range input{height:40px;padding:8px 12px;line-height:21px}.studio-shell[data-step=stats] .ui-editor-card-body .field-input-frame input{height:40px;padding:8px 56px 8px 12px;font-size:14px;line-height:21px}.studio-shell[data-step=stats] .ui-editor-card-body .field-input-frame input,.studio-shell[data-step=stats] .stat-range input{background:rgb(var(--theme-overlay-rgb,255 255 255) / .05);border-color:rgb(var(--theme-line-rgb,255 255 255) / .15)}.studio-shell[data-step=stats] .ui-editor-card-body .ui-textarea-frame{--textarea-background:rgb(var(--theme-overlay-rgb,255 255 255) / .05);--textarea-border:rgb(var(--theme-line-rgb,255 255 255) / .15);--textarea-padding:12px;line-height:21px}.studio-shell[data-step=stats] [data-field-path$=\.description] .ui-textarea-frame{--textarea-height:143px}.studio-shell[data-step=stats] .studio-generation-button{min-width:80px;min-height:36px;padding:8px 12px;font-size:14px;line-height:20px}.studio-shell[data-step=stats] .level-heading{margin-bottom:12px}.studio-shell[data-step=stats] .level-heading h3{margin:0 0 4px;font-size:16px;font-weight:600;line-height:16px}.studio-shell[data-step=stats] .level-heading .field-help{font-size:14px;font-weight:500;line-height:21px}.studio-shell[data-step=stats] .level-add{background:var(--theme-surface-0,#0a0a0a);border-color:rgb(var(--theme-line-rgb,255 255 255) / .2);height:36px;min-height:36px;padding:8px 16px;font-size:14px;line-height:21px}.studio-shell[data-step=stats] .collection-add{background:var(--theme-surface-0,#0a0a0a);border-color:rgb(var(--theme-line-rgb,255 255 255) / .2);height:44px;min-height:44px;padding:8px 32px;line-height:21px}}
.studio-shell[data-kind=story][data-step=profile] .editor-panel{max-width:none;padding:32px 20px 72px}.studio-shell[data-kind=story][data-step=profile] .studio-field{gap:8px;margin-bottom:20px}.studio-shell[data-kind=story][data-step=profile] .studio-field>.field-label{color:var(--theme-text-primary,#fafafa);font-size:16px;line-height:22px}.studio-shell[data-kind=story][data-step=profile] .studio-field .required{font:inherit;color:#f43}.studio-shell[data-kind=story][data-step=profile] .studio-field .field-help{color:var(--theme-text-secondary,#b0b0b0);font-size:14px;line-height:21px}.studio-shell[data-kind=story][data-step=profile] .profile-image-field{gap:16px}.studio-shell[data-kind=story][data-step=profile] .profile-image-field>.field-label{margin:0;line-height:16px}.studio-shell[data-kind=story] .profile-image-field .image-spec{margin:4px 0 12px;line-height:18px}.studio-shell[data-kind=story] .profile-image-field .button-row{flex-wrap:wrap;gap:8px;display:flex}.studio-shell[data-kind=story] .profile-image-field .button-row button{background:var(--theme-surface-2,#27272a);height:36px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px}.studio-shell[data-kind=story][data-step=profile] .field-input-frame.is-short input{border-color:rgb(var(--theme-line-rgb,255 255 255) / .14902);background:rgb(var(--theme-overlay-rgb,255 255 255) / .05098);border-radius:12px;height:40px;min-height:40px;padding:8px 56px 8px 12px;font-size:14px;line-height:21px}.studio-shell[data-kind=story][data-step=profile] .field-input-frame.is-short .field-count{font-weight:500;line-height:12px}.studio-shell[data-kind=story][data-step=profile] [data-field-path=profile\.tagline] .ui-textarea-frame{--textarea-padding:12px;--textarea-radius:12px;--textarea-background:rgb(var(--theme-overlay-rgb,255 255 255) / .05098);--textarea-border:rgb(var(--theme-line-rgb,255 255 255) / .14902);font-size:14px;line-height:21px}.studio-shell[data-kind=story][data-step=profile] .ui-textarea-footer{padding:0 12px 12px}.studio-shell[data-kind=story][data-step=profile] .ui-textarea-footer .field-count{line-height:18px}.studio-shell[data-kind=story] .profile-policy{background:var(--theme-surface-2,#27272a);border-radius:12px;align-items:center;gap:8px;margin:0;padding:10px 20px;display:flex}.studio-shell[data-kind=story] .profile-policy>svg{color:var(--theme-text-secondary,#b0b0b0);flex-shrink:1}.studio-shell[data-kind=story] .profile-policy .field-help{color:var(--theme-text-secondary,#b0b0b0);word-break:break-all;font-size:14px;line-height:21px}.studio-shell[data-kind=story]:lang(en) .profile-policy .field-help{word-break:normal}.studio-shell[data-kind=story] .profile-random-banner{min-height:69px;padding:16px 20px}.studio-shell[data-kind=story] .profile-random-banner .studio-generation-button{min-width:0;height:36px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px}.studio-shell[data-kind=story][data-step=profile] .adult-verification-banner{min-height:60px;line-height:22.5px}@media (min-width:768px){.studio-shell[data-kind=story][data-step=profile] .editor-panel{padding-inline:48px}.studio-shell[data-kind=story][data-step=profile] .studio-field{margin-bottom:24px}.studio-shell[data-kind=story] .profile-random-banner{padding-inline:40px}.studio-shell[data-kind=story][data-step=profile] .adult-verification-banner{padding-left:48px;padding-right:32px}}
.studio-shell[data-kind=story][data-step=settings] .editor-panel{max-width:none;padding:32px 20px 72px}.studio-shell[data-kind=story][data-step=settings] .studio-field{gap:8px;margin-bottom:24px}.studio-shell[data-kind=story][data-step=settings] .studio-field>.field-label{color:var(--theme-text-primary,#fafafa);font-size:16px;line-height:22px}.studio-shell[data-kind=story][data-step=settings] .studio-field .required{font:inherit;color:#f43}.studio-shell[data-kind=story][data-step=settings] .field-help{color:var(--theme-text-secondary,#b0b0b0);font-size:14px;line-height:21px}.studio-shell[data-kind=story][data-step=settings] .ui-select-trigger{background:var(--theme-surface-0,#0a0a0a);border-radius:8px;height:44px;min-height:44px;padding:8px 16px;font-size:14px;font-weight:400;line-height:21px}.studio-shell[data-kind=story][data-step=settings] .ui-select-trigger .ui-select-option-label{gap:10px;font-size:16px;font-weight:500;line-height:25.6px}.studio-shell[data-kind=story][data-step=settings] .field-input-frame.ui-textarea-frame{--textarea-padding:12px;--textarea-radius:12px;--textarea-background:rgb(var(--theme-overlay-rgb,255 255 255) / .05098);--textarea-border:rgb(var(--theme-line-rgb,255 255 255) / .14902);font-size:14px;line-height:21px}.studio-shell[data-kind=story][data-step=settings] .ui-textarea-footer{flex-shrink:0;min-height:54px;padding:6px 10px 12px 12px}.studio-shell[data-kind=story][data-step=settings] .ui-textarea-footer .field-count{color:var(--theme-text-disabled,#61605a);font-size:12px;font-weight:500;line-height:12px}.studio-shell[data-kind=story][data-step=settings] .ui-textarea-footer .field-error{color:var(--theme-error-text,#f6a49d)}.studio-shell[data-kind=story][data-step=settings] .studio-generation-button,.studio-shell[data-kind=story][data-step=settings] .example-actions button,.studio-shell[data-kind=story][data-step=settings] .story-example>header button{white-space:nowrap;border:0;border-radius:6px;min-width:0;height:36px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px}.studio-shell[data-kind=story][data-step=settings] .advanced-settings{border:0;margin:0;padding:0}.studio-shell[data-kind=story][data-step=settings] .advanced-settings>summary{background:var(--theme-surface-2,#27272a);border-radius:6px;justify-content:center;align-items:center;gap:4px;height:36px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px;display:flex}.studio-shell[data-kind=story][data-step=settings] .advanced-settings>summary:after{display:none}.studio-shell[data-kind=story][data-step=settings] .advanced-settings>summary>svg{flex-shrink:0}.studio-shell[data-kind=story][data-step=settings] .advanced-settings[open]>summary>svg{transform:rotate(180deg)}.studio-shell[data-kind=story][data-step=settings] .advanced-settings[open]>summary{margin-bottom:24px}.studio-shell[data-kind=story] .story-examples-heading{flex-direction:column;gap:24px;display:flex}.studio-shell[data-kind=story] .story-examples-copy{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.studio-shell[data-kind=story] .story-examples h3{margin:0;font-size:16px;font-weight:600;line-height:16px}.studio-shell[data-kind=story] .story-examples-copy .field-help{margin:0;font-size:14px;font-weight:600;line-height:21px}.studio-shell[data-kind=story] .example-actions{gap:8px;margin:0}.studio-shell[data-kind=story] .example-actions button:not(.studio-generation-button){background:var(--theme-surface-2,#27272a)}.studio-shell[data-kind=story] .story-example{background:var(--theme-surface-2,#27272a);margin-top:24px}.studio-shell[data-kind=story] .story-example>header{border-bottom-color:rgb(var(--theme-line-rgb,255 255 255) / .2);gap:12px;min-height:69px;padding:16px 24px}.studio-shell[data-kind=story] .story-example>header strong{color:var(--theme-text-primary,#f0efeb);font-size:16px;font-weight:700;line-height:16px}.studio-shell[data-kind=story] .story-example-body{padding:20px 24px}.studio-shell[data-kind=story] .example-speaker{min-height:20px;color:var(--theme-text-primary,#f0efeb);font-size:14px;font-weight:600;line-height:14px}.studio-shell[data-kind=story] .example-speaker>svg{color:var(--theme-text-secondary,#85837d)}.studio-shell[data-kind=story][data-step=settings] .story-example-body .ui-textarea-footer{min-height:42px}.studio-shell[data-kind=story][data-step=settings] .story-example-body .studio-field:last-child{margin-bottom:0}@media (min-width:768px){.studio-shell[data-kind=story][data-step=settings] .editor-panel{padding-inline:48px}.studio-shell[data-kind=story] .story-examples-heading{flex-direction:row}.studio-shell[data-kind=story] .example-actions{flex-shrink:0;align-items:center;display:flex}}
.studio-shell[data-kind=story][data-step=starts] .editor-panel{max-width:none;padding:20px 20px 72px}.studio-shell[data-kind=story][data-step=starts] .start-selector{margin-bottom:32px}.studio-shell[data-kind=story][data-step=starts] .start-selector .sub-tabs{gap:8px;margin:0}.studio-shell[data-kind=story][data-step=starts] .sub-tabs button{border-color:rgb(var(--theme-line-rgb,255 255 255) / .2);background:var(--theme-surface-1,#171717);height:36px;min-height:36px;color:var(--theme-text-secondary,#a3a3a3);border-radius:9999px;gap:4px;padding:10px 12px;font-size:14px;font-weight:500;line-height:14px}.studio-shell[data-kind=story][data-step=starts] .sub-tabs button[aria-pressed=true]{background:var(--theme-surface-inverse,#fafafa);border-color:var(--theme-surface-inverse,#fafafa);color:var(--theme-text-inverse,#171717)}.studio-shell[data-kind=story][data-step=starts] .default-start-label{color:#64b0f7;margin:0}.studio-shell[data-kind=story][data-step=starts] .studio-field{gap:8px;margin-bottom:20px}.studio-shell[data-kind=story] .start-panel .field-label{color:var(--theme-text-primary,#fafafa);font-size:16px;line-height:22px}.studio-shell[data-kind=story] .start-panel .required{font:inherit;color:#f43}.studio-shell[data-kind=story] .start-panel .field-help{color:var(--theme-text-secondary,#b0b0b0);font-size:14px;line-height:21px}.studio-shell[data-kind=story] .start-panel .studio-field-heading{align-items:center;gap:4px;min-height:28px;display:flex}.studio-shell[data-kind=story] .start-panel .ui-help-trigger{width:28px;height:28px;min-height:28px;padding:7px}.prologue-help{flex-direction:column;gap:8px;width:max-content;max-width:calc(100vw - 20px);display:flex}.prologue-help h4,.prologue-help p{margin:0}.prologue-help p{font-size:14px;line-height:21px}.prologue-help .prologue-help-example{color:var(--theme-text-secondary,#85837d)}.studio-shell[data-kind=story] .start-panel .field-input-frame.is-short input{border:1px solid rgb(var(--theme-line-rgb,255 255 255) / .14902);background:rgb(var(--theme-overlay-rgb,255 255 255) / .05098);border-radius:12px;height:40px;min-height:40px;padding:8px 56px 8px 12px;font-size:14px;line-height:21px}.studio-shell[data-kind=story] .start-panel .field-input-frame.ui-textarea-frame{--textarea-padding:12px;--textarea-background:rgb(var(--theme-overlay-rgb,255 255 255) / .05098);--textarea-border:rgb(var(--theme-line-rgb,255 255 255) / .14902);--textarea-radius:12px;font-size:14px;line-height:21px}.studio-shell[data-kind=story] .start-panel .ui-textarea-footer{flex-shrink:0;min-height:30px;padding:6px 10px 12px 12px}.studio-shell[data-kind=story] .start-panel .field-count{color:var(--theme-text-disabled,#61605a);font-size:12px;font-weight:500;line-height:12px}.studio-shell[data-kind=story] .start-panel .field-count.field-error{color:var(--theme-error-text,#f6a49d)}.studio-shell[data-kind=story] .start-panel [data-field-path$=\.prologue] .ui-textarea-footer{min-height:54px}.studio-shell[data-kind=story] .start-panel .studio-generation-button,.studio-shell[data-kind=story] .start-panel .suggested-reply-add,.studio-shell[data-kind=story] .start-panel .start-delete{border:0;border-radius:6px;height:36px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px}.studio-shell[data-kind=story] .start-panel .advanced-settings{border:0;margin:0;padding:0}.studio-shell[data-kind=story] .start-panel .advanced-settings>summary{background:var(--theme-surface-2,#27272a);border-radius:6px;justify-content:center;align-items:center;gap:4px;height:36px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px;display:flex}.studio-shell[data-kind=story] .start-panel .advanced-settings>summary:after{display:none}.studio-shell[data-kind=story] .start-panel .advanced-settings[open]>summary{margin-bottom:20px}.studio-shell[data-kind=story] .start-panel .advanced-settings[open]>summary>svg{transform:rotate(180deg)}.studio-shell[data-kind=story] .start-panel [data-field-path$=\.player_guide]{margin-bottom:40px}.studio-shell[data-kind=story] .suggested-replies h3{margin:0 0 8px;font-size:16px;font-weight:600;line-height:16px}.studio-shell[data-kind=story] .suggested-replies>.field-help{margin-bottom:16px}.studio-shell[data-kind=story] .suggested-reply{align-items:center;gap:4px;margin:0 0 12px}.studio-shell[data-kind=story] .suggested-reply .studio-field{margin-bottom:0}.studio-shell[data-kind=story] .suggested-reply .ui-textarea-footer{min-height:42px}.studio-shell[data-kind=story] .suggested-reply>button{width:28px;height:28px;min-height:28px;color:var(--theme-text-muted,#737373);flex:0 0 28px;padding:6px}.studio-shell[data-kind=story] .start-panel .suggested-reply-add{background:var(--theme-surface-2,#27272a);gap:8px;margin:0}.studio-shell[data-kind=story] .start-panel .start-delete{background:var(--theme-surface-0,#0a0a0a);width:100%;margin-top:32px}.studio-shell[data-kind=story] .start-tutorial{border:1px solid var(--theme-line-subtle,#42413d);background:var(--theme-surface-2,#2e2d2b);border-radius:12px;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:32px;padding:20px;display:flex;position:relative}.studio-shell[data-kind=story] .start-tutorial>img{border-radius:8px;width:294px;max-width:100%;height:auto}.studio-shell[data-kind=story] .start-tutorial>button{width:48px;height:48px;min-height:48px;color:var(--theme-text-muted,#737373);background:0 0;border:0;padding:8px;position:absolute;top:16px;right:16px}.studio-shell[data-kind=story] .start-tutorial h3{color:var(--theme-text-primary,#f0efeb);margin:0 0 8px;font-size:16px;font-weight:600;line-height:16px}.studio-shell[data-kind=story] .start-tutorial p{color:var(--theme-text-secondary,#a8a69d);margin:0;font-size:15px;font-weight:500;line-height:22.5px}.start-delete-dialog.ui-modal{border:1px solid var(--theme-line-subtle,#383838);background:var(--theme-surface-0,#0a0a0a);text-align:center;border-radius:16px;width:320px;padding:32px 24px 24px}.start-delete-dialog .ui-modal-header{justify-content:center;margin:0 0 8px}.start-delete-dialog .ui-modal-header h1{letter-spacing:normal;font-size:18px;font-weight:600;line-height:28.8px}.start-delete-dialog>p{color:var(--theme-text-secondary,#a3a3a3);margin:0 0 24px;font-size:14px;line-height:21px}.start-delete-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.start-delete-actions button{background:var(--theme-surface-2,#27272a);border:0;border-radius:6px;height:44px;padding:8px 16px;font-size:14px;font-weight:500;line-height:21px}.start-delete-actions button:last-child{background:var(--theme-surface-inverse,#fafafa);color:var(--theme-text-inverse,#171717)}@media (min-width:768px){.studio-shell[data-kind=story][data-step=starts] .editor-panel{padding:32px 48px 72px}}
