@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-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}}
