.runtime-preview{flex-direction:column;height:100%;min-height:0;display:flex}.runtime-preview-tools,.runtime-preview-snapshot{color:var(--theme-text-secondary);border-bottom:1px solid var(--theme-line);padding:8px 20px;font-size:12px}.runtime-preview-tools{justify-content:space-between;align-items:center;gap:8px;display:flex}.runtime-preview-snapshot p{color:var(--theme-text-primary);margin:6px 0 0}.runtime-preview-body{overflow-wrap:anywhere;flex:1;min-height:0;padding:16px 20px 32px;overflow:auto}.runtime-preview-message{margin:24px 0;font-size:15px;line-height:1.7}.runtime-preview-message>strong{color:var(--theme-text-secondary);margin-bottom:8px;font-size:12px;display:block}.runtime-preview-message.is-user{background:var(--theme-surface-2);border-radius:12px;margin-left:32px;padding:12px 16px}.runtime-preview-footer{padding:12px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--theme-line);flex-shrink:0}.runtime-preview-footer>p,.runtime-preview-footer>small{color:var(--theme-text-secondary);margin:0 0 8px;font-size:12px;display:block}.runtime-preview-footer>[role=alert]{color:var(--theme-text-primary)}.runtime-preview-stats,.runtime-preview-replies{flex-wrap:wrap;gap:8px;display:flex}.runtime-preview-stats{font-size:12px}.runtime-preview-replies .ui-button{white-space:normal;text-align:left}.runtime-preview-history{flex-direction:column;max-height:50dvh;display:flex;overflow:auto}.runtime-preview-history .ui-button{flex-direction:column;align-items:flex-start;gap:6px;height:auto;padding:12px;display:flex}.runtime-preview-history small{color:var(--theme-text-secondary)}.runtime-preview-message .public-character-row{margin-bottom:10px;display:flex}.runtime-preview-message .public-character-message{min-width:0;max-width:94%}.runtime-preview-message .public-character-row.is-user{justify-content:flex-end}.runtime-preview-message .public-character-bubble{background:var(--theme-surface-2);border-radius:14px 14px 14px 4px;padding:12px 14px}.runtime-preview-message .public-character-row.is-narration .public-character-bubble{color:var(--theme-text-secondary);background:0 0;padding:0}.runtime-preview-message .public-character-row.is-narration{margin-block:16px}.runtime-preview-message.is-user:has(.public-narrative){background:0 0;padding:0}.runtime-preview-message .public-character-row:is(.is-character,.is-user) .public-character-bubble{background:var(--chat-character-bubble);border:1px solid var(--chat-bubble-line);color:var(--theme-text-primary)}.runtime-preview-message .public-character-row.is-user .public-character-bubble{background:var(--chat-user-bubble)}.runtime-preview-access{border:1px solid var(--theme-line);background:var(--theme-surface-2);border-radius:12px;gap:10px;margin-bottom:12px;padding:14px;display:grid}.runtime-preview-access strong{font-size:14px;line-height:1.5}.runtime-preview-access p{color:var(--theme-text-secondary);margin:0;font-size:13px;line-height:1.65}.runtime-preview-access .ui-button{white-space:normal;height:auto;min-height:44px}.runtime-preview-access-body{gap:10px;display:grid}.runtime-preview-access-actions{flex-wrap:wrap;gap:8px;display:flex}.runtime-preview-access-actions .ui-button{flex:auto}.runtime-preview{--chat-accent:var(--home-accent)}.runtime-preview .preview-composer>div:last-child{gap:8px}.runtime-preview .preview-composer .preview-send{background:var(--home-accent);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--home-brand-ink,#fff);border:0;margin-left:auto;padding:12px}.runtime-preview .preview-composer .preview-send:disabled{opacity:.45}.runtime-preview .preview-composer .preview-send[aria-busy=true]{opacity:1}.runtime-preview .turn-progress{margin-top:12px}.runtime-preview .turn-stream .public-character-bubble{overflow-wrap:anywhere}.runtime-preview-identity{align-items:center;gap:12px;margin-bottom:12px;display:flex}.runtime-preview-identity strong{color:var(--theme-text-primary);font-size:14px}.runtime-preview-identity .character-avatar{object-fit:cover;border-radius:50%}.runtime-preview-availability{flex-wrap:wrap;align-items:center;gap:10px 16px;width:auto;max-width:none;margin:0 0 12px;padding:0;display:flex}.runtime-preview-availability p{color:var(--theme-text-secondary);flex:220px;margin:0;font-size:13px;line-height:1.6}.runtime-preview-availability .ui-button{flex-shrink:0;min-height:44px}
.character-conversation-preview{background:var(--theme-surface-0,#131312);flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.character-conversation-preview .character-preview-heading{border-bottom:1px solid rgb(var(--theme-line-rgb,255 255 255) / .08);flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;height:48px;min-height:48px;padding:0 20px;font-size:16px;font-weight:500;line-height:24px;display:flex}.character-preview-heading>div{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.character-preview-heading>div>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.character-preview-heading>div>.ui-button{width:28px;height:28px;min-height:28px;color:var(--theme-text-secondary,#a3a3a3);background:0 0;border:0;border-radius:50%;flex-shrink:0;padding:0}.character-preview-heading .ui-select-trigger{border:1px solid rgb(var(--theme-line-rgb,255 255 255) / .15);background:var(--theme-surface-0,#0a0a0a);border-radius:8px;flex-shrink:0;gap:2px;width:auto;height:40px;min-height:40px;padding:8px 12px;font-size:14px;line-height:21px}.character-preview-heading .ui-select-option-label{gap:4px}.character-preview-model-menu .ui-select-option-heading{justify-content:flex-start}.character-preview-model-cost{background:var(--theme-surface-0,#0a0a0a);border-radius:4px;align-items:center;gap:4px;padding:0 4px;font-size:10px;line-height:14px;display:inline-flex}.character-preview-model-cost>svg{color:#ffb800}.character-preview-thread{overscroll-behavior:contain;flex:1;min-height:0;padding:44px 24px 0;overflow-y:auto}.character-preview-thread .fiction-note{text-align:center;color:var(--theme-text-secondary,#85837d);margin:0 0 32px;font-size:14px;line-height:14px}.chat-composer.character-preview-composer{margin:16px 20px max(16px,env(safe-area-inset-bottom));border:1px solid rgb(var(--theme-line-rgb,255 255 255) / .2);background:var(--theme-surface-0,#0a0a0a);border-radius:12px;flex-direction:column;flex-shrink:0;gap:0;padding:0;display:flex}.character-preview-composer:focus-within{border-color:var(--theme-line-strong,#737373);box-shadow:0 0 0 2px rgb(var(--theme-line-rgb,212 212 216) / .5)}.character-preview-composer>.ui-textarea{width:100%;color:var(--theme-text-primary,#fafafa);font:inherit;background:0 0;border:0;border-radius:12px;outline:none;margin:0;padding:12px;font-size:14px;line-height:21px;display:block}.character-preview-composer>.ui-textarea::placeholder{color:var(--theme-text-muted,#a3a3a3)}.character-preview-composer>div:last-child{flex-shrink:0;align-items:center;gap:8px;height:46.5px;margin:0;padding:6px 10px 12px 12px;display:flex}.character-preview-composer>div>.ui-button{border:1px solid rgb(var(--theme-line-rgb,255 255 255) / .2);height:28px;min-height:28px;color:var(--theme-text-secondary,#b0b0b0);background:var(--theme-surface-1,#171717);border-radius:999px;flex-shrink:0;gap:4px;padding:0 12px;font-size:14px;line-height:14px}.character-preview-composer>div>.character-preview-refresh{width:28px;padding:0}.character-preview-composer>div>.character-preview-send{background:var(--theme-surface-inverse,#fafafa);width:28px;color:var(--theme-text-inverse,#171717);border:0;margin-left:auto;padding:0}.character-preview-composer .character-preview-send:disabled{opacity:.5}.character-preview-notice{align-items:flex-start;gap:8px;margin:8px 20px 0;font-size:12px;line-height:18px;display:flex}.character-preview-notice p{margin:0}.character-preview-notice .ui-button{width:28px;min-height:28px;padding:0}.ui-modal.mobile-preview-dialog.character-conversation-dialog{border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;inset:0;overflow:hidden}.mobile-preview-dialog.character-conversation-dialog>.character-conversation-preview{height:100%}@media (min-width:901px){.studio-shell[data-kind=character] .studio-topbar{padding-block:4px}.studio-shell[data-kind=character] .studio-title{gap:4px}.studio-shell[data-kind=character] .studio-title>a{width:48px;height:48px}.studio-shell[data-kind=character] .studio-title h1{font-size:20px;line-height:24px}.studio-shell[data-kind=character] .topbar-actions .ui-button{border:0;height:36px;min-height:36px;padding:8px 16px}.studio-shell[data-kind=character] .topbar-actions .history-button{width:36px;padding:0}.studio-shell[data-kind=character] .topbar-actions .desktop-publish{background:var(--theme-surface-inverse,#fafafa);color:var(--theme-text-inverse,#171717);display:inline-flex}.desktop-preview .character-preview-composer{margin:16px 24px 0}}
.NcqCvG_root{gap:16px;min-width:0;max-width:none;margin:0 0 32px;padding:0;display:grid}.NcqCvG_heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;display:flex}.NcqCvG_root .NcqCvG_heading h3{margin:0;font-size:15px;font-weight:600}.NcqCvG_heading>span,.NcqCvG_count{color:var(--home-muted);font-size:12px}.NcqCvG_fields{gap:24px;display:grid}.NcqCvG_field{gap:8px;min-width:0;display:grid}.NcqCvG_frame{--textarea-height:auto;--textarea-background:var(--home-surface);--textarea-border:var(--home-line);--textarea-radius:10px;font-size:15px;line-height:1.7}.NcqCvG_frame>textarea{padding:12px}.NcqCvG_editRow{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.NcqCvG_root .NcqCvG_edit{background:var(--home-bg);border:1px solid var(--home-line);min-height:44px;color:var(--home-text);border-radius:8px;gap:8px}.NcqCvG_editRow>span,.NcqCvG_hiddenNote{color:var(--home-muted);font-size:12px;line-height:1.7}.NcqCvG_hiddenNote{align-items:flex-start;gap:6px;margin:0;display:flex}.NcqCvG_hiddenNote>svg{flex-shrink:0;margin-top:3px}.NcqCvG_summary{border:1px solid var(--home-line);border-radius:12px;max-height:320px;padding:16px;overflow:auto}.NcqCvG_preview{background:var(--home-bg);flex-direction:column;max-width:none;height:100%;min-height:0;margin:0;padding:0;display:flex}.NcqCvG_preview>header{border-bottom:1px solid var(--home-line);justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;font-size:14px;display:flex}.NcqCvG_preview>header>button{min-height:44px;color:var(--home-muted);background:0 0;border:0}.NcqCvG_previewScroll{flex:1;min-height:0;padding:28px 24px;overflow:auto}.NcqCvG_empty{text-align:center;color:var(--home-muted);justify-items:center;gap:16px;padding:60px 8px;display:grid}.NcqCvG_empty>strong{color:var(--home-text);font-size:17px;font-weight:600}.NcqCvG_empty p{max-width:280px;margin:0;font-size:14px;line-height:1.8}.NcqCvG_previewNote{border-top:1px solid var(--home-line);color:var(--home-muted);margin:0;padding:16px 24px;font-size:12px;line-height:1.7}:is(.NcqCvG_preview .character-dialogue-row,.NcqCvG_summary .character-dialogue-row){margin:0 0 24px}:is(.NcqCvG_preview .character-message,.NcqCvG_summary .character-message){flex:1;min-width:0}:is(.NcqCvG_preview .character-bubble,.NcqCvG_summary .character-bubble){background:var(--chat-character-bubble);max-width:100%;color:var(--home-text);border:1px solid var(--chat-bubble-line);border-radius:14px;padding:12px 16px;font-size:15px;line-height:1.8}:is(.NcqCvG_preview .is-narration .character-message,.NcqCvG_summary .is-narration .character-message){width:100%;max-width:100%}:is(.NcqCvG_preview .is-narration .character-bubble,.NcqCvG_summary .is-narration .character-bubble){color:var(--home-muted);background:0 0;border:0;padding:4px 0}@media (max-width:600px){.NcqCvG_editRow{gap:8px;display:grid}.NcqCvG_root .NcqCvG_edit{justify-self:start}.NcqCvG_summary{padding:12px}}.NcqCvG_pending{flex-direction:column;align-items:flex-start}.NcqCvG_root .NcqCvG_pending .NcqCvG_edit{color:var(--home-accent-text);border-color:var(--home-accent)}
.studio-account-gate{max-width:560px;color:var(--theme-text-primary);margin:12vh auto;padding:24px}.studio-account-gate h1{font-size:24px;line-height:1.35}.studio-account-gate p{color:var(--theme-text-secondary);overflow-wrap:anywhere;line-height:1.7}.studio-account-gate [role=alert]{color:var(--theme-error-text)}.studio-account-gate>div{flex-wrap:wrap;gap:12px;margin-block:24px;display:flex}.studio-account-gate>a{color:var(--theme-text-primary);text-decoration:underline}
.studio-load-page{background:var(--home-bg);min-height:100svh;color:var(--home-text)}.studio-load-page>header{border-bottom:1px solid var(--home-line);justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;display:flex}.studio-load-page>header .ui-button{gap:8px;min-height:48px}.studio-load-page>header>span{color:var(--home-muted);font-size:14px}.studio-load-content{max-width:568px;margin:0 auto;padding:clamp(48px,12vh,112px) 24px 48px}.studio-load-content h1{letter-spacing:-.5px;overflow-wrap:anywhere;margin:20px 0 12px;font-size:26px;line-height:1.35}.studio-load-content h1:focus{outline:none}.studio-load-content p{color:var(--home-muted);margin:0;font-size:15px;line-height:1.75}.studio-load-actions{flex-wrap:wrap;gap:12px;margin-top:28px;display:flex}.studio-load-actions .ui-button{min-height:48px}@media (max-width:479px){.studio-load-page>header{padding:12px 16px}.studio-load-content{padding-inline:24px}.studio-load-actions{flex-direction:column}.studio-load-content h1{font-size:24px}}
.awM_VW_dialog{width:min(560px,100vw - 32px);max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);color:var(--home-text);background:var(--home-bg);border:1px solid var(--home-line);border-radius:20px;flex-direction:column;padding:0;display:flex;overflow:hidden}.awM_VW_dialog .ui-modal-header{border-bottom:1px solid var(--home-line);flex-shrink:0;margin:0;padding:24px 24px 16px}.awM_VW_dialog .ui-modal-header h1{font-size:20px;line-height:1.4}.awM_VW_body{overscroll-behavior:contain;min-height:0;padding:20px 24px;overflow:auto}.awM_VW_saved{color:var(--home-muted);align-items:flex-start;gap:8px;margin:0 0 20px;font-size:13px;line-height:1.7;display:flex}.awM_VW_saved svg{color:var(--home-accent-text);flex-shrink:0;margin-top:3px}.awM_VW_body h2{overflow-wrap:anywhere;margin:0 0 14px;font-size:22px;line-height:1.5}.awM_VW_hint{color:var(--home-muted);margin:0 0 12px;font-size:14px;line-height:1.7}.awM_VW_errors{margin:16px 0 0;padding:0;list-style:none}.awM_VW_errors li{border-bottom:1px solid var(--home-line)}.awM_VW_errors button{text-align:start;white-space:normal;background:0 0;border:0;border-radius:0;justify-content:space-between;gap:16px;width:100%;min-height:68px;padding:12px 0;display:flex}.awM_VW_errors button span{gap:5px;min-width:0;display:grid}.awM_VW_errors strong{font-size:14px;font-weight:600;line-height:1.5}.awM_VW_errors small{color:var(--home-muted);font-size:13px;font-weight:400;line-height:1.6}.awM_VW_errors svg{flex-shrink:0;transform:rotate(-90deg)}.awM_VW_visibility{border-left:3px solid var(--home-accent);margin:20px 0;padding:4px 0 4px 16px}.awM_VW_visibility strong{font-size:17px}.awM_VW_visibility p{color:var(--home-muted);margin:8px 0 0;font-size:14px;line-height:1.7}.awM_VW_details{gap:14px;margin:20px 0;display:grid}.awM_VW_details>div{justify-content:space-between;gap:20px;font-size:14px;line-height:1.5;display:flex}.awM_VW_details dt{color:var(--home-muted)}.awM_VW_details dd{text-align:end;margin:0}.awM_VW_actions{border-top:1px solid var(--home-line);padding:16px 24px max(16px,env(safe-area-inset-bottom));background:var(--home-bg);flex-shrink:0;justify-content:flex-end;gap:12px;display:flex}.awM_VW_actions button{white-space:normal;min-height:48px;line-height:1.5}.awM_VW_dialog :is(button,a):focus-visible{outline:2px solid var(--home-accent);outline-offset:3px}@media (max-width:600px){.awM_VW_dialog{border-radius:20px 20px 0 0;width:100%;max-height:90dvh;margin:auto 0 0}.awM_VW_dialog .ui-modal-header{padding:20px}.awM_VW_body{padding:20px}.awM_VW_actions{padding-inline:20px}.awM_VW_actions button{flex:1}}.awM_VW_dialog .ui-modal-header .ui-modal-close{flex-shrink:0;margin-inline-start:12px;position:static}@media (max-width:600px){.awM_VW_dialog{max-width:100vw}}.awM_VW_pending{border-block:1px solid var(--home-line);margin:24px 0;padding:20px 0}.awM_VW_pending h3{margin:0 0 8px;font-size:16px;line-height:1.5}.awM_VW_pending p{color:var(--home-muted);margin:0 0 12px;font-size:13px;line-height:1.7}.awM_VW_pending ul{margin:0;padding:0;list-style:none}.awM_VW_pending li+li{border-top:1px solid var(--home-line)}.awM_VW_pending li button{text-align:start;white-space:normal;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:72px;padding:14px 0;display:flex}.awM_VW_pending li button>span{gap:6px;min-width:0;display:grid}.awM_VW_pending strong{overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.5}.awM_VW_pending small{-webkit-line-clamp:2;color:var(--home-muted);overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;font-weight:400;line-height:1.7;display:-webkit-box;overflow:hidden}.awM_VW_pending svg{flex-shrink:0;transform:rotate(-90deg)}.awM_VW_resume{color:var(--home-accent-text);font-size:13px;line-height:1.5}.awM_VW_acknowledge{border-top:1px solid var(--home-line);cursor:pointer;align-items:flex-start;gap:12px;min-height:44px;margin-top:16px;padding:14px 0 0;font-size:13px;line-height:1.7;display:flex}.awM_VW_acknowledge input{flex-shrink:0;margin-top:2px}
.JNI0mq_dialog{border:1px solid var(--home-line);background:var(--home-bg);width:min(480px,100vw - 32px);max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);color:var(--home-text);border-radius:20px;flex-direction:column;padding:0;display:flex;overflow:hidden}.JNI0mq_dialog .ui-modal-header{flex-shrink:0;gap:12px;margin:0;padding:24px 24px 0}.JNI0mq_dialog .ui-modal-header h1{min-width:0;font-size:20px;line-height:1.4}.JNI0mq_dialog .ui-modal-header .ui-modal-close{flex-shrink:0;position:static}.JNI0mq_body{overscroll-behavior:contain;min-height:0;padding:24px;overflow:auto}.JNI0mq_character{align-items:center;gap:16px;margin-bottom:24px;display:flex}.JNI0mq_character img{object-fit:cover;border-radius:12px;flex-shrink:0;width:72px;height:96px}.JNI0mq_character>div{min-width:0}.JNI0mq_character h2{overflow-wrap:anywhere;margin:6px 0 0;font-size:22px;line-height:1.4}.JNI0mq_version{color:var(--home-accent-text);align-items:center;gap:6px;margin:0;font-size:13px;line-height:1.6;display:flex}.JNI0mq_version svg{flex-shrink:0}.JNI0mq_access{margin:0 0 12px;font-size:15px;font-weight:550;line-height:1.7}.JNI0mq_hint{color:var(--home-muted);margin:0;font-size:14px;line-height:1.8}.JNI0mq_versionHint{border-top:1px solid var(--home-line);color:var(--home-muted);margin:20px 0 0;padding-top:20px;font-size:12px;line-height:1.7}.JNI0mq_actions{padding:0 24px max(20px,env(safe-area-inset-bottom));flex-shrink:0;gap:8px;display:grid}.JNI0mq_actions :is(a,button){white-space:normal;text-align:center;gap:12px;min-height:48px;line-height:1.5}.JNI0mq_dialog :is(a,button):focus-visible{outline:2px solid var(--home-accent-text);outline-offset:3px}@media (max-width:600px){.JNI0mq_dialog{border-radius:20px 20px 0 0;width:100%;max-width:100%;max-height:90dvh;margin:auto 0 0}.JNI0mq_dialog .ui-modal-header{padding:20px 20px 0}.JNI0mq_body{padding:24px 20px}.JNI0mq_actions{padding-inline:20px}}
