:root{--border:var(--line);--orange:var(--accent)}
.brand-en{display:block}.brand-title{font-size:21px}.live-nav-gap{margin-top:38px}.boot-note{padding:15vh 24px;text-align:center;color:var(--muted)}.live-language{max-width:210px}.scene-title,.scene-desc,.voice-meta{display:block}.scenes .scene-title{margin-bottom:7px}.live-bgm{padding:26px 30px;border-top:1px solid var(--border)}.live-bgm h3{font-size:15px;display:flex;align-items:center;gap:9px;margin:0 0 7px}.live-bgm h3 svg{width:18px}.live-bgm p{font-size:11px;color:var(--muted);margin:0}.live-upload-hint{margin-top:17px;padding:22px;border:1px dashed #e0e4eb;border-radius:10px;text-align:center;font-size:11px;color:var(--muted)}.live-music-file{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px}.live-music-file>span{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}.live-music-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:270px}.live-music-file small{color:var(--muted);white-space:nowrap}.live-music-file svg{width:17px}.music-preview{height:35px;width:100%;margin:4px 0 20px}.live-mix-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.live-loop{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);margin-top:17px}.live-inline-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.live-audio-player,.live-player-empty{background:white;border:1px solid var(--border);border-radius:15px;padding:25px 28px;margin-top:24px}.live-audio-player h3{margin:0;font-size:16px}.live-audio-player p{font-size:11px;color:var(--muted)}.live-audio-player audio{width:100%;display:block;margin:18px 0}.live-player-empty{color:var(--muted);display:flex;align-items:center;gap:12px;font-size:12px}.live-player-empty svg{width:23px}.live-works{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.live-work{padding:24px;background:#fff;border:1px solid var(--border);border-radius:14px;min-width:0}.live-work h3{font-size:16px}.live-work p{font-size:11px;line-height:1.9}.live-work-text{color:#657085;min-height:42px;overflow-wrap:anywhere}.live-work audio{width:100%;height:38px;margin:10px 0 15px}.live-balance-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.live-balance-cards>div{background:white;padding:23px;border:1px solid var(--border);border-radius:13px}.live-balance-cards small{display:block;color:var(--muted);font-size:11px}.live-balance-cards strong{font-size:27px;display:block;margin-top:10px}.live-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.live-plan{padding:28px 22px;background:white;border:1px solid var(--border);border-radius:14px}.live-plan h3{font-size:15px}.live-price{font-size:34px;font-weight:700;margin:20px 0 10px}.live-plan p{font-size:10px;color:var(--muted);line-height:1.7;min-height:20px}.live-plan .btn{width:100%;margin-top:15px;font-size:11px}.live-section-title{font-size:18px;margin:35px 0 20px}.live-table-wrap{overflow-x:auto;background:white;border:1px solid var(--border);border-radius:12px}.live-table{width:100%;border-collapse:collapse;min-width:450px;text-align:left;font-size:12px}.live-table th,.live-table td{padding:16px 22px;border-bottom:1px solid var(--border)}.live-table th{color:var(--muted);font-size:11px;background:#fcfcfd}.live-table small{display:block;margin-top:6px;color:var(--muted);font-size:10px}.live-invite-card{background:white;padding:40px;border:1px solid var(--border);border-radius:15px;max-width:800px}.live-invite-card h2{font-size:22px}.live-invite-card p{font-size:12px;color:var(--muted);line-height:1.9}.live-invite-card label{font-size:12px;display:block;margin:28px 0 10px}.live-admin-card{background:white;padding:25px;border:1px solid var(--border);border-radius:12px;margin:18px 0}.live-admin-card h2,.live-admin-card h3{font-size:17px;margin:0 0 22px}.live-admin-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:20px}.live-admin-fields label{font-size:12px;color:var(--muted)}.live-admin-fields input:not([type=checkbox]){margin-top:10px}.live-voice-picker{display:grid;gap:10px}.live-voice-picker>button{display:flex;align-items:center;gap:15px;padding:12px;border:1px solid var(--border);border-radius:12px;text-align:left}.live-voice-picker strong,.live-voice-picker small{display:block}.live-voice-picker small{margin-top:5px;color:var(--muted);font-size:11px}.live-voice-picker>button>svg{margin-left:auto;width:15px}.wechat-qr-placeholder img{width:100%;height:100%;object-fit:contain}.live-payment{text-align:center}.live-payment>strong{display:block;font-size:34px;margin-bottom:20px}.live-payment img{width:220px;height:220px;display:block;margin:0 auto}.live-payment p{font-size:12px;line-height:1.8}.live-account{display:grid;gap:20px}.live-account h3,.live-account p{margin:0}.live-account .auth-form{padding-top:20px;border-top:1px solid var(--border)}.auth-form label{font-size:12px;color:var(--muted);line-height:1.7}.auth-form label>.form-input{margin-top:8px}.auth-form .code-input-row{margin-top:8px}.page-footer{display:flex;justify-content:space-between;gap:16px;margin-top:34px;padding:16px 0;color:var(--muted);font-size:10px}audio{max-width:100%}.voice-card .voice-avatar{margin-bottom:12px}.voice-card h3 small{font-size:11px;font-weight:400;color:var(--muted)}.live-loop input{accent-color:var(--orange)}
@media(max-width:1100px){.live-plans{grid-template-columns:repeat(2,1fr)}.brand-title{font-size:19px}.live-admin-fields{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.live-bgm{padding:22px 20px}.live-bgm>.between{gap:8px}.live-bgm h3{font-size:14px}.live-bgm>.between .btn{padding:9px;white-space:nowrap;font-size:11px}.live-mix-controls{gap:18px}.live-music-file strong{max-width:150px}.live-music-file small{display:none}.live-works{grid-template-columns:1fr}.live-work{padding:20px}.live-audio-player,.live-player-empty{padding:20px}.live-audio-player>.between{align-items:flex-start;gap:15px;flex-direction:column}.live-balance-cards{grid-template-columns:repeat(2,1fr);gap:10px}.live-balance-cards>div{padding:16px}.live-balance-cards strong{font-size:23px}.live-plans{gap:10px}.live-plan{padding:18px 13px}.live-price{font-size:28px}.live-plan h3{font-size:14px}.live-plan p{min-height:34px}.live-invite-card{padding:25px 20px}.live-invite-card h2{font-size:19px}.live-admin-card{padding:20px}.live-admin-fields{grid-template-columns:1fr}.live-language{max-width:185px;font-size:11px}.live-loop{font-size:10px;line-height:1.8}.auth-form .form-input{font-size:13px}.top-actions .header-balance{font-size:10px}.mobile-logo strong{font-size:15px}.live-player-empty{font-size:11px}.page-footer{margin-bottom:20px}.live-music-file>span{max-width:80%}}
@media(max-width:370px){.live-mix-controls{grid-template-columns:1fr}.live-bgm p{font-size:10px}.mobile-logo strong{font-size:14px}.live-plans{grid-template-columns:1fr}.live-invite-card .code-input-row{flex-wrap:wrap}}

.sidebar .nav-link{gap:10px}.sidebar .nav-link>span:not(.nav-trailing){white-space:nowrap}.sidebar .nav-trailing{margin-left:auto}.sidebar .nav-trailing .badge{font-size:8px;padding:4px 5px}.live-bgm .btn-sm{white-space:nowrap}
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar>.brand,.sidebar>.nav-label,.sidebar>.side-nav,.sidebar>.sidebar-bottom{flex-shrink:0}
.sidebar-promo{display:block;width:100%;padding:16px;text-align:left;cursor:pointer;color:var(--ink);transition:border-color .15s,box-shadow .15s,background .15s}
.sidebar-promo:hover{border-color:#efc2a7;background:linear-gradient(130deg,#fff0e4,#fff7f0);box-shadow:0 4px 14px #bb79550c}.sidebar-promo:active{background:#ffeddf}
.trial-card-title,.trial-card-description{display:block;position:relative;z-index:1}.trial-card-title{font-size:13px;font-weight:600;line-height:1.7;margin:9px 0 5px}.trial-card-description{font-size:11px;line-height:1.85;color:#a2826c}
.trial-card-action{display:flex;align-items:center;gap:8px;min-height:32px;margin-top:9px;font-size:12px;color:#a86c46}.trial-card-action .icon{width:15px;height:15px}
.sidebar-account{border-top:1px solid var(--line);padding-top:8px}.sidebar .side-user{width:100%;min-height:68px;padding:12px 8px;border:1px solid transparent;border-radius:11px;text-align:left;transition:background .15s,border-color .15s}
.side-user:hover{background:#fff6f0;border-color:#ffdecf}.side-user:active{background:#fff0e6}.side-user-summary{display:block;flex:1;min-width:0}.side-user .user-name,.side-user .user-caption{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-user .user-name{font-size:12px}.side-user .user-caption{font-size:10px;line-height:1.7}.side-user>.icon{margin-left:auto;width:16px;height:16px;color:#9299a5}
.sidebar-promo:focus-visible,.side-user:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

@media(max-width:760px){.settings-panel .settings-content{display:block}.settings-panel .selected-voice{width:100%;margin:10px 0 22px}.settings-panel .emotion-options{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-panel .emotion-options button{white-space:nowrap}.settings-panel .field-group{margin-top:24px}}

.voice-preview-note{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 22px}.live-voice-picker+.voice-preview-note{margin:16px 0 0}.voice-card-actions{display:flex;align-items:center;gap:10px;margin-top:20px}.voice-card-actions>.btn{flex:1;min-width:0;margin:0}.voice-preview-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-width:78px;height:39px;padding:0 12px;border:1px solid #ffd9cb;border-radius:9px;background:#fff6f1;color:var(--orange);font-size:12px;white-space:nowrap;transition:background .15s,color .15s}.voice-preview-btn .icon{width:15px;height:15px}.voice-preview-btn:hover{background:#ffebe1}.voice-preview-btn.is-active{background:var(--orange);border-color:var(--orange);color:#fff}.voice-preview-btn:focus-visible,.voice-picker-main:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.voice-picker-row{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--border);border-radius:12px;background:#fff}.voice-picker-main{display:flex;align-items:center;gap:14px;flex:1;min-width:0;padding:0;border:0;text-align:left;background:none}.voice-picker-main>span:not(.voice-avatar){min-width:0}.voice-picker-main strong{font-size:15px}.voice-picker-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-selected-label{margin-left:auto;color:var(--orange);font-size:10px;white-space:nowrap}.voice-picker-row .voice-preview-btn{min-width:80px}.voice-card .voice-tags{flex-wrap:wrap}
@media(max-width:480px){.voice-picker-row{padding:12px 10px;gap:8px}.voice-picker-main{gap:10px}.voice-picker-main .voice-avatar{width:40px;height:40px;font-size:18px;flex-shrink:0}.voice-picker-main strong{font-size:14px}.voice-picker-main small{font-size:10px}.voice-picker-row .voice-preview-btn{min-width:68px;padding:0 9px;font-size:11px}.voice-selected-label{display:none}.voice-card-actions{gap:8px}.voice-card-actions>.btn{font-size:11px}.voice-card-actions .voice-preview-btn{min-width:70px;padding:0 10px}}

.voice-modal{width:1100px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden}
.voice-modal>.modal-header{flex-shrink:0;padding:24px 28px 20px}
.voice-modal>.modal-body{padding:20px 24px 24px;min-height:0;overflow-y:auto}
.voice-modal .live-voice-picker,.voice-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.voice-library-grid .voice-picker-card,.voice-modal .voice-picker-card{padding:16px;min-width:0;display:flex;flex-direction:column;position:relative;border:1px solid var(--border);border-radius:13px;background:#fff}
.voice-picker-card.is-selected,.voice-modal .voice-picker-card.is-selected{border-color:#ffb79d;background:#fffaf7}
.voice-card-identity{display:flex;align-items:center;gap:11px;width:100%;min-width:0;padding:0;text-align:left;background:none;border:0}
.voice-card-identity .voice-avatar,.voice-modal .voice-card-identity .voice-avatar{width:42px;height:42px;flex-shrink:0;font-size:18px;margin:0}
.voice-card-identity>span:not(.voice-avatar){min-width:0}
.voice-card-identity strong,.voice-card-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.voice-card-identity strong{font-size:15px;line-height:1.5}
.voice-card-identity small{margin-top:3px;font-size:11px;font-weight:400;color:var(--muted)}
.voice-library-grid .voice-picker-card p.voice-card-description,.voice-modal .voice-picker-card p.voice-card-description{font-size:12px;line-height:1.6;color:var(--muted);margin:11px 0 9px;min-height:0}
.voice-library-grid .voice-picker-card .voice-tags,.voice-modal .voice-picker-card .voice-tags{margin:0;gap:5px;flex-wrap:wrap}
.voice-library-grid .voice-picker-card .voice-tags span,.voice-modal .voice-picker-card .voice-tags span{font-size:10px;padding:3px 6px}
.voice-library-grid .voice-picker-card .voice-card-actions,.voice-modal .voice-picker-card .voice-card-actions{margin-top:12px;padding-top:0;border-top:0;gap:9px}
.voice-picker-card .voice-card-actions>.btn,.voice-picker-card .voice-preview-btn{font-size:12px;height:36px;padding:0 12px}
.voice-card-selection{position:absolute;top:8px;right:11px;font-size:9px;color:var(--orange)}
.voice-picker-card.is-selected .voice-card-identity{padding-right:24px}
.voice-toolbar{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr)) minmax(220px,1.6fr);align-items:center;gap:10px;margin-bottom:12px}
.voice-filter-field{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:#fff;min-width:0}
.voice-filter-field>span{font-size:11px;color:var(--muted);white-space:nowrap}
.voice-filter-field select{font-size:12px;border:0;outline:0;background:transparent;min-width:0;width:100%;padding:0;color:var(--text)}
.voice-filter-field:focus-within{border-color:#ffb79d;box-shadow:0 0 0 2px #fff1e9}
.voice-search{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:#fff}
.voice-search>.icon{width:17px;height:17px;flex-shrink:0;color:var(--muted)}
.voice-search input{font-size:12px;border:0;outline:0;background:transparent;width:100%;min-width:0;padding:0;box-shadow:none}
.voice-search:focus-within{border-color:#ffb79d;box-shadow:0 0 0 2px #fff1e9}
.voice-scene-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.voice-scene-label{font-size:11px;color:var(--muted);margin-right:5px;white-space:nowrap}
.voice-language-filter{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:8px;border:1px solid transparent;background:#f0f2f5;color:#687285;font-size:11px;white-space:nowrap}
.voice-language-filter span{font-size:10px;opacity:.75}
.voice-language-filter[aria-pressed=true]{background:#fff1e9;color:var(--orange);border-color:#ffd5c4}
.voice-filter-status{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:22px;margin-bottom:12px}
.voice-filter-count{font-size:11px;color:var(--muted)}
.voice-filter-status .text-btn{font-size:11px;padding:0}
.voice-filter-empty{text-align:center;padding:40px 16px;color:var(--muted)}
.voice-filter-empty h3{font-size:15px}.voice-filter-empty p{font-size:12px}
.voice-picker-card[hidden],.voice-filter-empty[hidden],.voice-filter-status [hidden]{display:none!important}
.voice-modal [data-voice-surface]+.voice-preview-note{margin:16px 0 0}
@media(max-width:1100px){.voice-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.voice-search{grid-column:1/-1}.voice-filter-field{padding:10px;gap:7px}}
@media(max-width:760px){.voice-modal{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}.voice-modal>.modal-header{padding:20px}.voice-modal>.modal-body{padding:16px}.voice-modal .live-voice-picker,.voice-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.voice-library-grid .voice-picker-card,.voice-modal .voice-picker-card{padding:14px}.voice-card-identity{gap:10px}.voice-card-identity strong{font-size:14px}.voice-scene-label{display:none}.voice-filter-field{align-items:flex-start;flex-direction:column;gap:6px}.voice-filter-field select{font-size:11px}.voice-language-filter{padding:7px 9px}.voice-preview-note{margin-bottom:16px}}
@media(max-width:480px){.voice-modal .live-voice-picker,.voice-library-grid{grid-template-columns:1fr}.voice-modal{max-height:calc(100dvh - 24px)}.voice-toolbar{gap:8px}.voice-search{width:100%}.voice-card-identity strong{font-size:15px}.voice-scene-filters{gap:5px}.voice-language-filter{font-size:10px;padding:6px 8px}}

/* Shared dropdowns live above scrollable dialogs instead of using native option menus. */
.ui-select{min-width:0;position:relative;width:100%}
.ui-select-trigger{width:100%;min-height:40px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--ink);font-size:12px;text-align:left;transition:border-color .15s,box-shadow .15s}
.ui-select-trigger:hover{border-color:#efbca8}
.ui-select-trigger[aria-expanded=true],.ui-select-trigger:focus-visible{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #fff0e9}
.ui-select-caption{color:var(--muted);font-size:11px;flex-shrink:0}
.ui-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.ui-select-trigger>.icon{width:14px;height:14px;flex-shrink:0;color:#969eac;transition:transform .15s}
.ui-select-trigger[aria-expanded=true]>.icon{transform:rotate(180deg);color:var(--accent)}
#floating-root{position:relative;z-index:3000}
.ui-select-popup{position:fixed;z-index:3000;display:flex;flex-direction:column;padding:7px;background:#fff;border:1px solid #e8e9ee;border-radius:13px;box-shadow:0 14px 44px #23314b1c,0 3px 9px #23314b0a;overflow:hidden}
.ui-select-popup[hidden],.ui-select-popup [hidden]{display:none!important}
.ui-select-heading{padding:7px 9px 8px;font-size:10px;color:#9aa1ae;flex-shrink:0}
.ui-select-search{display:flex;align-items:center;gap:7px;margin:0 3px 6px;padding:8px 10px;border-radius:7px;background:#f5f6f8;flex-shrink:0}
.ui-select-search .icon{width:15px;height:15px;color:var(--muted)}
.ui-select-search input{min-width:0;width:100%;padding:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}
.ui-select-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dedfe5 transparent}
.ui-select-options [role=option]{display:flex;align-items:center;gap:9px;width:100%;min-height:35px;padding:9px 10px;border:0;border-radius:7px;background:#fff;text-align:left;color:#515b6d;font-size:12px}
.ui-select-options [role=option]:hover,.ui-select-options [role=option]:focus-visible{background:#f5f6f8;outline:0}
.ui-select-options [aria-selected=true],.ui-select-options [aria-selected=true]:hover{background:#fff1ea;color:#dd623d}
.ui-option-label{flex:1;min-width:0;overflow-wrap:anywhere}
.ui-option-count{font-size:10px;color:#969eac;background:#f3f4f7;padding:2px 6px;border-radius:5px}
[aria-selected=true]>.ui-option-count{color:#dc7857;background:#ffe5d9}
.ui-option-check{width:14px;height:14px;opacity:0;flex-shrink:0}
[aria-selected=true]>.ui-option-check{opacity:1}
.ui-select-empty{font-size:12px;color:var(--muted);text-align:center;padding:16px 8px}
.language-bar>.ui-select{max-width:230px}.format-row>.ui-select{max-width:130px}.format-row .ui-select-trigger{min-height:35px;padding:8px 11px}
.user-avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;background:linear-gradient(140deg,#ffeadf,#f8cfbe);color:#bc735b;font-size:15px;font-weight:600;overflow:hidden;border:1px solid #fbe1d4}
.user-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.avatar-medium{width:46px;height:46px;font-size:20px}.avatar-large{width:80px;height:80px;font-size:30px}
.side-user>.user-avatar{width:36px;height:36px}.side-user>div{min-width:0}.side-user .user-name{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-actions>.header-balance{border:0;background:transparent;padding:6px 3px;cursor:pointer}
.account-menu{position:relative}
.account-trigger{display:flex;align-items:center;gap:9px;max-width:195px;border:1px solid transparent;border-radius:10px;padding:5px 7px;background:transparent;color:#303747}
.account-trigger:hover,.account-trigger[aria-expanded=true]{background:#fff6f0;border-color:#ffdecf}
.account-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.account-trigger-name{font-size:12px;font-weight:500;max-width:110px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.account-trigger>.icon{width:13px;height:13px;color:#939baa}
.account-popover{position:absolute;top:calc(100% + 12px);right:0;width:330px;max-width:calc(100vw - 24px);padding:20px;border:1px solid #ececf0;background:#fff;border-radius:16px;box-shadow:0 16px 50px #22304920,0 3px 10px #23314b08;z-index:500}
.account-popover[hidden]{display:none!important}
.account-popover-identity{display:flex;gap:11px;align-items:center;margin-bottom:19px}
.account-popover-identity>div{flex:1;min-width:0}
.account-popover-identity strong{font-size:15px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-popover-identity>div>span{font-size:10px;display:block;color:var(--muted);margin-top:5px}
.account-online{color:#6f9e88;font-size:9px;background:#f0f7f2;border-radius:5px;padding:4px 6px;white-space:nowrap}
.account-popover-balance{padding:16px;background:#fff6f0;border-radius:11px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.account-popover-balance>div>span{font-size:10px;color:#a78978;display:block;margin-bottom:6px}
.account-popover-balance strong{font-size:25px;letter-spacing:-.5px;font-weight:650;color:#3e3f4b}
.account-popover-balance strong small{font-size:10px;font-weight:400;margin-left:5px;color:#b1988a}
.account-popover-balance>.btn{font-size:11px;padding:8px 10px;min-height:30px}
.account-credit-breakdown{display:grid;grid-template-columns:repeat(3,1fr);margin:14px 0 16px;text-align:center}
.account-credit-breakdown>div+div{border-left:1px solid #f0f1f4}
.account-credit-breakdown span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}
.account-credit-breakdown strong{font-size:13px;font-weight:550}
.account-bind-status{display:flex;gap:18px;border-bottom:1px solid var(--border);padding:0 0 15px;margin-bottom:7px}
.account-bind-status span{display:flex;align-items:center;gap:5px;font-size:10px;color:#8e97a6}
.account-bind-status .icon{width:13px;height:13px}
.account-popover-links{display:grid;gap:2px}
.account-menu-item{border:0;width:100%;display:flex;align-items:center;gap:10px;padding:11px 9px;background:transparent;border-radius:7px;text-align:left;color:#626c7d;font-size:12px}
.account-menu-item:hover{background:#f6f7f9}.account-menu-item>.icon{width:16px;height:16px}.account-menu-item>.icon:last-child:not(:first-child){margin-left:auto;width:12px;height:12px}
.account-menu-item.danger{color:#d47a63}.account-menu-item.danger:hover{background:#fff3ed}
.profile-modal{width:560px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;overflow:hidden}
.profile-modal>.modal-header{padding:25px 28px 21px;flex-shrink:0}
.profile-modal>.modal-body{padding:0 28px 26px;min-height:0;overflow-y:auto}
.account-tabs{display:flex;gap:26px;border-bottom:1px solid var(--border);margin-bottom:25px}
.account-tabs>button{padding:16px 1px 13px;border:0;border-bottom:2px solid transparent;background:none;font-size:13px;color:var(--muted)}
.account-tabs>button[aria-selected=true]{color:#e36a46;border-bottom-color:var(--accent);font-weight:600}
.profile-avatar-row{display:flex;align-items:center;gap:20px;padding:1px 0 26px}
.profile-avatar-row>div{min-width:0}.profile-avatar-row strong{font-size:14px}.profile-avatar-row p{font-size:10px;color:var(--muted);line-height:1.7;margin:7px 0 10px}
.profile-avatar-actions{display:flex;align-items:center;gap:15px}.profile-avatar-actions .btn{font-size:11px;padding:7px 10px;min-height:30px}.profile-avatar-actions .text-btn{font-size:10px}
.profile-nickname-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:0 0 10px;color:#5e697c}
.profile-nickname-label>span{color:#a3a9b5;font-size:10px}
.profile-form>.form-input{font-size:13px;padding:13px 14px;height:45px}
.profile-form>.input-help{font-size:10px;margin:8px 0 20px;line-height:1.8}
.profile-readonly{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 22px;padding:16px;background:#f8f9fb;border-radius:10px;font-size:11px}
.profile-readonly>span{color:#9aa2af}.profile-readonly>strong{font-weight:400;color:#626c7f;overflow-wrap:anywhere}
.profile-error{min-height:17px;font-size:11px;margin:12px 0 10px;line-height:1.6}
.profile-form-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);padding-top:20px}
.profile-form-footer>span{font-size:10px;color:#a3a9b5}.profile-form-footer>.btn{font-size:12px;min-height:39px;padding:10px 18px}
.account-security-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--border)}
.account-security-row>.icon{width:21px;height:21px;color:#949dab;flex-shrink:0}
.account-security-row>div{flex:1;min-width:0}.account-security-row strong{display:block;font-size:12px;margin-bottom:5px}.account-security-row>div>span{display:block;font-size:10px;color:var(--muted);line-height:1.7}
.account-state{font-size:10px;color:#a2a8b1;background:#f3f4f6;border-radius:5px;padding:5px 7px;flex-shrink:0}.account-state.is-bound{background:#eff6f2;color:#6b9a82}
.account-security .auth-form{gap:15px;margin-top:20px}.account-security .auth-form .form-input{height:43px;font-size:12px}.account-security .input-help{font-size:10px}
.account-login-id{padding:18px 20px;margin:20px 0 4px;border:1px solid #f8dfd3;border-radius:12px;background:#fff9f5}.account-login-id>span{display:block;font-size:11px;color:var(--muted)}.account-login-id>strong{display:block;margin:8px 0;font-size:23px;letter-spacing:2px;color:var(--text)}.account-login-id>p,.account-identity-help{font-size:11px;color:var(--muted);line-height:1.9;margin:0}.account-identity-help{margin:14px 0}.account-security-row>.btn{font-size:11px;white-space:nowrap;padding:8px 11px;gap:5px}.account-security .identity-bind-form{padding:18px;background:#fafbfc;border:1px solid var(--border);border-radius:10px;margin-top:14px}.identity-bind-form label{font-size:12px}.identity-bind-form .code-input-row>.btn{font-size:11px;padding:9px 11px;white-space:nowrap}.bind-back-action{display:flex;margin:24px auto 0}.account-security-row>.btn>.icon{width:15px;height:15px}
@media(max-width:760px){.ui-select-trigger{padding:9px 10px;gap:7px}.voice-toolbar .ui-select-trigger{align-items:flex-start;flex-wrap:wrap}.voice-toolbar .ui-select-caption{width:100%;font-size:10px}.voice-toolbar .ui-select-value{font-size:11px}.voice-toolbar .ui-select-trigger>.icon{width:12px;height:12px}.account-trigger{gap:7px;padding:4px}.account-trigger-name{max-width:72px;font-size:11px}.account-popover{right:-3px}.profile-modal>.modal-header{padding:22px}.profile-modal>.modal-body{padding:0 22px 22px}}
@media(max-width:480px){.top-actions>.header-balance{display:none}.account-trigger-name{max-width:66px}.account-trigger>.user-avatar{width:30px;height:30px}.account-popover{width:320px;padding:18px}.profile-modal{max-height:calc(100dvh - 24px)}.profile-avatar-row{gap:16px}.profile-avatar-row .avatar-large{width:68px;height:68px}.profile-avatar-row p{font-size:9px}.profile-form-footer>span{max-width:125px;line-height:1.8}.profile-form-footer>.btn{padding:10px 14px}.profile-readonly{gap:12px 15px}.language-bar>.ui-select{max-width:205px}.account-security-row{gap:10px}}
.wechat-one-key{text-align:center;padding:22px 0 6px}.wechat-one-key-icon{width:80px;height:80px;margin:0 auto 22px;background:#eff8f0;color:#53a46a;border-radius:23px;display:flex;align-items:center;justify-content:center}.wechat-one-key-icon>.icon{width:45px;height:45px}.wechat-one-key h3{font-size:19px;margin:0 0 12px}.wechat-one-key>p{font-size:12px;color:var(--muted);line-height:1.9}.wechat-one-key .auth-main-action{margin-top:24px;width:100%}.wechat-qr-placeholder{position:relative}.wechat-qr-expiry{position:absolute;bottom:-24px;left:0;right:0;color:var(--muted);font-size:10px}.wechat-auth-panel h3{margin-top:36px}.wechat-auth-panel #auth-error,.wechat-one-key #auth-error{font-size:11px;line-height:1.8}

/* Keep compact actions easy to reach without changing the visual hierarchy. */
.topbar .icon-btn,.modal-header .icon-btn{width:40px;height:40px}.top-actions>.header-balance,.account-trigger{min-height:40px}
#main-content .text-btn{min-width:36px;min-height:36px;padding:6px 8px}.script-toolbar{flex-wrap:wrap;row-gap:8px}.script-toolbar .script-tool{min-height:36px}.model-switch button{height:auto;min-height:36px}.emotion-options button{min-height:34px}.account-menu-item{min-height:40px}
@media(min-width:761px) and (max-height:780px){.sidebar{padding-top:20px;padding-bottom:12px}.sidebar .brand{margin-bottom:22px}.sidebar .live-nav-gap{margin-top:20px}.sidebar-bottom{padding-top:14px}.sidebar-promo{padding:12px;margin-bottom:10px}.trial-card-title{margin-top:7px}.trial-card-action{margin-top:5px}.sidebar .side-user{min-height:64px;padding-top:10px;padding-bottom:10px}}
@media(max-width:760px){.topbar .icon-btn,.modal-header .icon-btn{width:44px;height:44px}.account-trigger{min-height:44px}#main-content .text-btn{min-width:44px;min-height:40px}.script-toolbar .script-tool,.model-switch button,.emotion-options button{min-height:40px}.voice-picker-card .voice-card-actions>.btn,.voice-picker-card .voice-preview-btn{height:44px}.voice-card-identity{min-height:44px}.voice-language-filter{min-height:40px}.voice-scene-filters{gap:8px}.ui-select-trigger{min-height:44px}.account-security-row>.btn,.account-menu-item{min-height:44px}.form-input,.auth-form .form-input,.auth-compact-form .form-input,.profile-form .form-input,.voice-search input,.ui-select-search input,#draft-title{font-size:16px}.toast{bottom:calc(80px + env(safe-area-inset-bottom))}body[data-page=studio] .toast{bottom:calc(148px + env(safe-area-inset-bottom))}}
@media(max-width:760px){body[data-page=invite] .live-table{min-width:0;table-layout:fixed}body[data-page=invite] .live-table th,body[data-page=invite] .live-table td{padding:14px 12px;overflow-wrap:anywhere}}
@media(max-width:760px){.form-input{min-height:44px}.account-security .auth-form .form-input,#profile-name{font-size:16px}}
@media(max-width:480px){.account-popover{max-width:calc(100vw - 48px);max-height:calc(100dvh - 92px);overflow-y:auto}}
@media(max-height:600px){.account-popover{max-height:calc(100dvh - 100px);overflow-y:auto}}
.sms-status:empty{display:none}.sms-status:not(:empty){color:#537a62}.phone-conflict-help{padding:12px;border:1px solid #f0dfd2;border-radius:10px;background:#fffaf5}.phone-conflict-help p{font-size:12px;line-height:1.8;margin-bottom:10px}.phone-conflict-help[hidden]{display:none}.live-inline-actions a[aria-disabled=true]{opacity:.65;pointer-events:none}
@media(pointer:coarse){.ui-select-options [role=option]{min-height:44px}.ui-select-search{padding:11px 10px}.ui-select-search input{font-size:16px}}

/* Public welcome and support entry points remain visible on small screens. */
.welcome-gift{display:flex;align-items:center;gap:16px;padding:20px 22px;margin:0 0 24px;border:1px solid #f4ddcc;border-radius:14px;background:linear-gradient(115deg,#fff4eb,#fffdf9)}
.welcome-gift-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#fff;color:#dd7954;border-radius:13px;flex-shrink:0}
.welcome-gift-icon>.icon{width:23px;height:23px}
.welcome-gift>div{flex:1;min-width:0}.welcome-gift strong{font-size:16px;font-weight:600;line-height:1.6;color:#755543}
.welcome-gift em{font-style:normal;font-variant-numeric:tabular-nums;color:#db623d;font-size:21px;margin:0 2px}
.welcome-gift p{margin:5px 0 0;font-size:12px;line-height:1.7;color:#a17f69}.welcome-gift .btn{flex-shrink:0}
.sidebar-support{display:flex;align-items:center;gap:10px;min-height:42px;width:100%;padding:10px 9px;margin:0 0 12px;text-align:left;color:#737e8c;font-size:12px;border-radius:8px}
.sidebar-support:hover{background:#f6f7fa}.sidebar-support>.icon{width:17px;height:17px}.sidebar-support>.icon:last-child{margin-left:auto;width:13px;height:13px;color:#a2aab5}
.footer-support{display:inline-flex;align-items:center;gap:6px;min-height:36px;color:#7c8796;font-size:12px;white-space:nowrap}.footer-support>.icon{width:15px;height:15px}
.page-footer{flex-wrap:wrap}

/* Give guidance its own hierarchy instead of inheriting default body text. */
.auth-method-note{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:9px;margin-top:22px;padding-top:17px;border-top:1px solid #eef0f3;color:#8c96a4;font-size:12px;line-height:1.85}
.auth-method-note>.icon{width:16px;height:16px;margin-top:3px;color:#a1aab5}.auth-method-note p{margin:0}.auth-method-note p+p{margin-top:7px}
.auth-trial-line{flex-wrap:wrap;line-height:1.7}.auth-method-tabs button{min-width:0}.auth-method-tabs button>.icon{flex-shrink:0}
.auth-account-switch{justify-content:center;min-height:40px;line-height:1.7}
.wechat-one-key{padding:18px 0 0}.wechat-one-key-icon{width:68px;height:68px;margin-bottom:18px;border-radius:21px}
.wechat-one-key-icon>.icon{width:37px;height:37px}.wechat-one-key h3{margin-bottom:10px}.wechat-one-key .auth-main-action{margin-top:20px}
.auth-form .error-text:empty,.wechat-one-key .error-text:empty,.auth-form>.input-help:empty{display:none}
.auth-form .error-text{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.code-input-row{display:grid;grid-template-columns:minmax(0,1fr) 108px;align-items:stretch;gap:12px}
.code-input-row>.form-input{width:100%;min-width:0}.code-input-row>.btn{min-width:0;padding:0 10px;font-size:12px;min-height:44px}
.phone-binding-note{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:9px;padding:13px;border:1px solid #f0ddce;border-radius:9px;background:#fffbf5}
.phone-binding-note>.icon{width:16px;height:16px;color:#be916c;margin-top:2px}.phone-binding-note p{margin:0;line-height:1.8}
.phone-binding-note strong{font-size:12px;font-weight:550;color:#99724e;display:block}.phone-binding-note span{display:block;margin-top:5px;font-size:11px;color:#a58c76}
.phone-conflict-help strong{display:block;font-size:13px;font-weight:550;color:#b47251;line-height:1.8}
.phone-conflict-help p{margin:7px 0 12px;color:#9d826d}.phone-conflict-help>.btn{width:100%;min-height:44px}
.identity-bind-form .form-input{margin-top:9px}.identity-bind-form .code-input-row .form-input{margin-top:0}
.rich-editor{position:relative;font-size:15px;line-height:1.95;min-height:240px;letter-spacing:0;padding-bottom:16px}
.rich-editor[data-empty=true]:before{position:absolute;inset:0 0 auto;max-width:100%;line-height:1.95;color:#a4acb8}
.rich-editor p,.rich-editor div{margin:0}.title-input{font-size:17px;padding-bottom:17px}.text-editor{padding-top:24px}

.payment-modal{width:420px}.payment-modal>.modal-header{padding:23px 25px 19px}
.payment-modal>.modal-body{padding:28px 28px 24px}.payment-amount-label{display:block;color:#929cab;font-size:12px;line-height:1.6}
.live-payment>strong{font-size:48px;line-height:1.3;letter-spacing:-1px;margin:8px 0 16px;font-variant-numeric:tabular-nums}
.live-payment>strong>small{font-size:25px;vertical-align:4px;margin-right:5px;font-weight:500}
.payment-status{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;background:#fff5e9;border:1px solid #f8e8d2;border-radius:20px;color:#b38b53;font-size:12px;line-height:1.5}
.payment-status>.icon{width:14px;height:14px}.payment-status.is-paid{background:#eff8f1;border-color:#deeee1;color:#609875}
.live-payment .payment-feedback{font-size:12px;line-height:1.85;color:#909baa;margin:18px 0;min-height:22px;overflow-wrap:anywhere}
.payment-actions{display:grid;gap:11px}.payment-actions>.btn{min-height:46px;font-size:14px}
.live-payment .payment-footnote{margin:20px 0 0;color:#a3abb6;font-size:11px;line-height:1.85}
.payment-qr{margin:24px auto 0}.payment-qr img{width:210px;height:210px;max-width:100%;object-fit:contain}.payment-qr p{color:#909baa;margin:10px 0 0}
.support-modal{width:430px}.support-panel{text-align:center}.support-qr-frame{width:264px;max-width:100%;margin:0 auto 21px;padding:10px;background:#fff;border:1px solid #eceef2;border-radius:16px;box-shadow:0 4px 18px #29374d05}
.support-qr-frame>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:8px}
.support-panel h3{font-size:16px;line-height:1.6;margin:0 0 9px}.support-panel>p{font-size:12px;color:#929caa;line-height:1.85;margin:0 auto 22px;max-width:270px}
.support-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.support-actions>.btn{min-width:0;padding:0 12px;min-height:44px;font-size:13px}
.live-plan .btn{padding:0 10px;min-height:44px;line-height:1.6;font-size:12px;gap:6px}

@media(max-width:760px){
  .welcome-gift{padding:17px 16px;gap:11px;margin-bottom:20px;flex-wrap:wrap}.welcome-gift-icon{width:38px;height:38px;border-radius:11px}.welcome-gift-icon>.icon{width:21px;height:21px}
  .welcome-gift strong{font-size:14px}.welcome-gift em{font-size:19px}.welcome-gift p{font-size:11px}.welcome-gift .btn{min-height:40px;padding:0 13px;font-size:12px}
  .rich-editor{font-size:16px;line-height:1.9;min-height:210px;padding-bottom:15px}.title-input{font-size:17px;line-height:1.6}.text-editor{padding:20px 20px 0}
  .auth-modal{display:flex;flex-direction:column;max-height:calc(100dvh - 28px);overflow:hidden}.auth-modal>.modal-header{flex-shrink:0;padding:24px 22px 21px}.auth-modal>.modal-body{padding:0 22px 24px;min-height:0;overflow-y:auto}
  .auth-modal .modal-header p{font-size:12px;line-height:1.8}.auth-modal #auth-panel{min-height:0}.auth-method-tabs button{font-size:12px;min-height:44px;padding:10px 5px;gap:6px}
  .auth-trial-line{font-size:12px;margin:16px 0 21px;padding:11px 9px;gap:6px}.auth-method-note{font-size:12px;line-height:1.85;margin-top:22px;padding-top:17px}
  .wechat-one-key>p{font-size:13px}.wechat-one-key h3{font-size:20px}.auth-main-action,.wechat-auth-panel .auth-main-action{font-size:14px;min-height:46px}
  .auth-compact-form{gap:18px}.auth-form label{font-size:13px}.auth-compact-form .form-input,.account-security .auth-form .form-input{font-size:16px;min-height:46px;height:46px}
  .auth-compact-form .input-help,.account-security .input-help{font-size:12px;line-height:1.9}.auth-compact-form .code-input-row>.btn,.identity-bind-form .code-input-row>.btn{font-size:13px;min-height:46px;min-width:0;padding:0 9px}
  .profile-modal>.modal-header{padding:23px 22px 20px}.profile-modal>.modal-body{padding:0 20px 24px}.profile-modal .modal-header p{font-size:11px;line-height:1.8}
  .account-security-row{gap:11px;padding:19px 0}.account-security-row strong{font-size:14px}.account-security-row>div>span{font-size:12px;line-height:1.8}.account-state{font-size:11px}
  .account-security-row>.btn{font-size:12px;padding:8px 12px}.account-security .identity-bind-form{padding:16px;gap:19px;margin-top:16px;border-radius:12px}
  .account-login-id{padding:17px 18px}.account-login-id>p,.account-identity-help{font-size:12px;line-height:1.85}.account-login-id>strong{font-size:27px}.account-identity-help{margin:18px 0}
  .phone-binding-note strong{font-size:12px}.phone-binding-note span{font-size:12px}.identity-bind-form>button[type=submit]{min-height:46px;font-size:14px}
  .payment-modal>.modal-body{padding:26px 24px 24px}.payment-modal .modal-header p{font-size:12px}.support-modal>.modal-body{padding:23px 24px 24px}
  .footer-support{min-height:44px}.page-footer{align-items:center;gap:8px 14px}
}
@media(max-width:380px){
  .welcome-gift .btn{margin-left:49px}.auth-modal>.modal-header{padding:22px 18px 18px}.auth-modal>.modal-body{padding:0 18px 22px}.auth-method-tabs button{font-size:11px;gap:4px}
  .code-input-row{grid-template-columns:minmax(0,1fr);gap:10px}.code-input-row>.btn{width:100%}
  .profile-modal>.modal-header{padding:21px 18px 18px}.profile-modal>.modal-body{padding:0 16px 20px}.account-security .identity-bind-form{padding:14px}.phone-binding-note{padding:11px;gap:7px}
  .account-security-row>.btn{padding:8px 10px}.account-security-row>div>span{font-size:11px}.auth-method-note{font-size:11px}.support-actions{grid-template-columns:1fr}
}

/* Shared background music choices */
.music-library-caption{display:flex;justify-content:space-between;gap:12px;margin:22px 0 10px;font-size:12px;color:#687386}.music-library-caption small{font-size:10px;color:var(--muted)}
.music-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.music-track{border:1px solid var(--border);border-radius:10px;padding:13px 12px;background:#fcfcfd;min-width:0;transition:border-color .15s,background .15s}.music-track.is-selected{border-color:#f0b298;background:#fff8f3}.music-track-heading{display:flex;align-items:center;gap:9px;min-width:0}.music-track-heading>div{min-width:0;flex:1}.music-track-heading strong,.music-track-heading span:not(.music-track-icon){display:block}.music-track-heading strong{font-size:12px;font-weight:600;color:#485367}.music-track-heading span:not(.music-track-icon){font-size:10px;color:var(--muted);line-height:1.6;margin-top:3px}.music-track-heading small{font-size:10px;color:#9ca4b0;align-self:flex-start;padding-top:3px}.music-track-icon{width:31px;height:34px;display:flex;align-items:center;justify-content:center;background:#f1eee9;border-radius:8px;flex-shrink:0;color:#ab8d72}.music-track-icon>.icon{width:17px;height:17px}.music-track:nth-child(2) .music-track-icon{background:#eef3ed;color:#829777}.music-track:nth-child(3) .music-track-icon{background:#eef0f7;color:#919cbe}.music-track:nth-child(4) .music-track-icon{background:#faf0e7;color:#bb9876}.music-track-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.music-track-actions button{display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 8px;border-radius:6px;min-height:30px;font-size:11px;color:#8791a1}.music-track-actions button:hover{background:#f2f3f5;color:#546075}.music-track-actions .icon{width:13px;height:13px}.music-track-actions .music-use{color:#d57c52;background:#fff2e9}.music-track.is-selected .music-use{background:#f6e3d6;color:#ba6b43}.live-bgm .music-upload-limit{font-size:10px;line-height:1.8;margin:15px 0 0}.music-library+.music-upload-limit+.live-music-file{padding-top:17px;border-top:1px solid var(--border)}
@media(max-width:480px){.music-library{grid-template-columns:1fr;gap:9px}.music-track{display:flex;align-items:center;gap:10px;padding:12px}.music-track-heading{flex:1}.music-track-heading small{display:none}.music-track-actions{margin-top:0;gap:5px;flex-shrink:0}.music-track-actions button{min-height:40px;padding:6px}.music-track-actions .music-use{min-width:64px}.music-track-heading span:not(.music-track-icon){font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-track-icon{width:28px}.music-library-caption{margin-top:20px}.live-bgm .music-upload-limit{font-size:10px}.music-track-heading strong{font-size:12px}}

/* Work filters and permanent deletion confirmation */
.has-text-source .text-source-card{padding:20px 0 0;min-height:280px}.has-text-source .text-source-card pre{max-height:280px}
.speech-mode-tabs button small{display:flex;flex-wrap:wrap;gap:0 6px}.speech-mode-tabs button small span+span:before{content:'·';margin-right:6px}
@media(max-width:600px){.speech-mode-tabs button small{display:block}.speech-mode-tabs button small span{display:block}.speech-mode-tabs button small span+span:before{display:none}.speech-mode-tabs button{min-height:94px}}
.speech-mode-picker{margin:0 0 24px}.speech-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:760px}.speech-mode-tabs button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:76px;padding:16px 20px;border:1px solid var(--border);border-radius:12px;background:white;text-align:left;color:var(--muted);transition:border-color .15s,background .15s}.speech-mode-tabs button strong{font-size:14px;color:var(--text)}.speech-mode-tabs button small{font-size:11px;line-height:1.6}.speech-mode-tabs button.active{background:#fff6f0;border-color:#f1b49d}.speech-mode-tabs button.active strong{color:#da714d}.speech-mode-tabs button:focus-visible{outline:2px solid #e77c57;outline-offset:3px}.speech-mode-picker>p{font-size:12px;line-height:1.8;color:var(--muted);margin:12px 0 0}.long-text-note{margin:0;padding:18px 28px;border-top:1px solid var(--border);background:#fffbf7;color:#a97c63;font-size:12px;line-height:1.8}.long-format-label{font-size:12px;color:var(--muted)}.text-source-card{padding:28px;min-height:330px}.text-source-card .between{align-items:flex-start;gap:16px}.text-source-card strong{display:flex;align-items:center;gap:8px;font-size:15px;overflow-wrap:anywhere}.text-source-card p{font-size:12px;color:var(--muted);line-height:1.8}.text-source-card .btn{flex-shrink:0}.text-source-card .text-source-help{font-size:11px;margin-top:22px}.text-source-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto;padding:18px;border:1px solid var(--border);border-radius:10px;background:#fafbfc;color:#718093;font-family:inherit;font-size:13px;line-height:2}.script-toolbar[hidden]{display:none}
@media(max-width:600px){.speech-mode-picker{margin-bottom:18px}.speech-mode-tabs{gap:8px}.speech-mode-tabs button{padding:13px 12px;min-height:82px;gap:5px}.speech-mode-tabs button strong{font-size:13px}.speech-mode-tabs button small{font-size:10px}.speech-mode-picker>p{font-size:11px}.text-source-card{padding:22px 18px;min-height:300px}.text-source-card strong{font-size:13px}.text-source-card .between{flex-wrap:wrap}.text-source-card pre{padding:14px;font-size:12px}.long-text-note{padding:16px 18px;font-size:11px}.editor-foot>span:first-child{line-height:1.8}}
.work-tabs .btn{gap:8px;min-height:42px}.work-tabs small{font-size:10px;opacity:.75;font-weight:500}.work-empty{grid-column:1/-1}.work-empty p{font-size:12px;color:var(--muted);line-height:1.8;margin:12px 0 20px}.work-delete-button{color:#c85a49;border-color:#efd5cf;background:#fffafa}.work-delete-button:hover{background:#fff0ec}.work-delete-button:disabled{opacity:.45;cursor:not-allowed}.work-delete-wait{color:var(--muted);margin:12px 0 0}.work-delete-modal{width:440px}.work-delete-confirm{text-align:center}.work-delete-icon{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#fff0eb;color:#d5654b}.work-delete-icon>.icon{width:24px;height:24px}.work-delete-confirm h3{font-size:16px;line-height:1.6;margin:18px 0 12px;overflow-wrap:anywhere}.work-delete-confirm>p{font-size:12px;line-height:1.9;color:var(--muted);margin:5px 0}.work-delete-confirm>.error-text{color:#c85a49}.work-delete-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:26px}.work-delete-confirm-button{background:#d9634b;color:white;border-color:#d9634b}.work-delete-confirm-button:hover{background:#c4523d;color:white}.work-delete-confirm-button:disabled{opacity:.55;cursor:wait}
@media(max-width:480px){.work-tabs{gap:7px}.work-tabs .btn{padding:10px 12px;gap:6px;font-size:12px}.work-delete-modal{width:calc(100vw - 32px)}.work-delete-actions{gap:10px}.work-delete-confirm>p{font-size:12px}.live-work .live-inline-actions{gap:8px}}
.recharge-success-modal{width:434px;max-width:calc(100vw - 32px);background:linear-gradient(180deg,#fff8f2 0,#fff 49%);border:1px solid #fff5ed}.recharge-success-modal>.modal-header{padding:21px 24px 0;border:0;background:transparent}.recharge-success-modal>.modal-header h2{font-size:12px;font-weight:500;letter-spacing:1px;color:#aa8e7e}.recharge-success-modal>.modal-header p{display:none}.recharge-success-modal>.modal-body{padding:8px 30px 28px}
.recharge-success{text-align:center}.recharge-success-mark{display:grid;place-items:center;width:64px;height:64px;margin:2px auto 18px;border-radius:50%;background:#fce9dc;color:#df7950;box-shadow:0 0 0 8px #fff5ec}.recharge-success-mark .icon{width:31px;height:31px;stroke-width:2.2}.recharge-success h3{font-size:26px;line-height:1.5;margin:0 0 7px;letter-spacing:1px}.recharge-success-caption{font-size:12px;line-height:1.85;color:#8c96a3;margin:0 auto 23px;max-width:290px}
.recharge-success-amount{padding:20px 12px 21px;border:1px solid #f5e4d8;border-radius:14px;background:#fffbf7}.recharge-success-amount>small{display:block;font-size:11px;color:#ab8b76}.recharge-success-amount>strong{display:block;font-size:43px;line-height:1.35;font-weight:720;letter-spacing:-1px;color:#e47c52;margin:5px 0 6px;font-variant-numeric:tabular-nums}.recharge-success-amount>span{display:block;color:#a48e7e;font-size:11px;line-height:1.8}
.recharge-success-details{display:grid;gap:13px;margin:23px 0;padding:0 3px}.recharge-success-details>div{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}.recharge-success-details dt{color:#939caa}.recharge-success-details dd{margin:0;color:#465161}.recharge-success-details dd.recharge-success-balance{color:#dc7850;font-weight:650;font-size:15px}.recharge-success-actions{display:grid;gap:15px}.recharge-success-actions>.btn{width:100%;justify-content:center;min-height:47px;font-size:14px}.recharge-success-actions>.text-btn{font-size:12px;color:#9099a5;margin:auto}
@media(max-width:760px){.recharge-success-modal>.modal-header{padding:19px 20px 0}.recharge-success-modal>.modal-body{padding:8px 24px 24px}.recharge-success-mark{width:56px;height:56px;margin-bottom:16px}.recharge-success h3{font-size:24px}.recharge-success-caption{font-size:11px;margin-bottom:19px}.recharge-success-amount{padding:17px 10px}.recharge-success-amount>strong{font-size:39px}.recharge-success-details{margin:20px 0;gap:12px}.recharge-success-actions{gap:14px}}

@media(max-height:760px){.recharge-success-modal>.modal-header{padding:13px 22px 0}.recharge-success-modal>.modal-header .icon-btn{width:30px;height:30px}.recharge-success-modal>.modal-body{padding:6px 28px 22px}.recharge-success-mark{width:54px;height:54px;margin:2px auto 13px}.recharge-success h3{font-size:24px}.recharge-success-caption{font-size:11px;margin-bottom:16px}.recharge-success-amount{padding:13px 10px 14px}.recharge-success-amount>strong{font-size:38px}.recharge-success-details{gap:10px;margin:17px 0}.recharge-success-actions{gap:10px}.recharge-success-actions>.btn{min-height:44px}}

/* Compact wallet entry and in-place recharge dialogs. */
.recharge-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:30px}
.recharge-section-heading h2{font-size:18px;margin:0 0 7px}.recharge-section-heading>div>span{font-size:11px;color:#8b95a3}
.recharge-section-heading+.live-plans{margin-top:18px}.recharge-code-trigger{min-height:36px;padding:0 13px;font-size:12px;color:#737e8d;background:#fff;box-shadow:none}
.recharge-code-trigger .icon{width:15px;height:15px;color:#a58b7a}.recharge-code-trigger:hover{border-color:#e6bca6;background:#fffaf6;color:#c77752}
.redeem-modal{width:440px}.redeem-modal>.modal-header,.recharge-modal>.modal-header{padding:25px 28px 21px;align-items:flex-start}
.redeem-modal>.modal-header h2,.recharge-modal>.modal-header h2{font-size:20px;line-height:1.5;letter-spacing:.3px}
.redeem-modal>.modal-header p,.recharge-modal>.modal-header p{font-size:12px;line-height:1.8;color:#8b95a3;margin-top:7px}
.redeem-modal>.modal-header .icon-btn,.recharge-modal>.modal-header .icon-btn{flex-shrink:0;margin:0 -5px 0 0}
.redeem-modal>.modal-body{padding:24px 28px 23px}.redeem-account{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:11px;background:#faf8f5;border:1px solid #f0e9e2}
.redeem-account>.icon{width:23px;height:23px;flex-shrink:0;color:#d7845f}.redeem-account small{color:#9d8e81;font-size:11px}
.redeem-account p{display:flex;flex-wrap:wrap;gap:5px 10px;margin:5px 0 0;font-size:12px;line-height:1.7;color:#637080;overflow-wrap:anywhere}.redeem-account strong{font-weight:500}
.recharge-code-form{margin:23px 0 0}.recharge-code-form>label{display:block;margin-bottom:9px;font-size:13px;font-weight:500;color:#536071}
.recharge-code-form>.form-input{height:48px;font-size:14px;padding:0 13px;letter-spacing:.25px;border-radius:9px}.recharge-code-form>.form-input[aria-invalid=true]{border-color:#c95643}
.recharge-code-help{margin:10px 0 0;font-size:11px;line-height:1.8;color:#909aa6}.recharge-code-form>.error-text{font-size:12px;line-height:1.8;margin:10px 0 0}
.recharge-code-form>.btn{width:100%;margin-top:23px;min-height:46px;font-size:14px}.recharge-code-form>.btn[aria-busy=true] .icon{animation:spin 1.5s linear infinite}
.redeem-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:18px}.redeem-footer>.text-btn{font-size:11px;color:#909aa6}.redeem-footer>.text-btn:only-child{margin:auto}
.recharge-modal{width:790px;max-height:calc(100dvh - 48px)}.recharge-modal>.modal-header{padding-top:21px;padding-bottom:18px}.recharge-modal>.modal-body{padding:20px 28px 14px}
.recharge-need{display:flex;align-items:center;gap:13px;padding:16px 18px;border:1px solid #f3e1d1;border-radius:12px;background:linear-gradient(110deg,#fff7ee,#fffcf8)}
.recharge-need>.icon{width:24px;height:24px;flex-shrink:0;color:#df8256}.recharge-need strong{font-size:14px;line-height:1.7;color:#7e5740;font-weight:600}
.recharge-need p{display:flex;flex-wrap:wrap;gap:0 6px;margin:6px 0 0;color:#a18a77;font-size:11px;line-height:1.8}.recharge-need b{font-weight:600}.recharge-need p>span{color:#cabbaa}
.recharge-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 14px}.recharge-dialog-heading h3{font-size:14px;margin:0}.recharge-dialog-heading>span{font-size:10px;color:#9099a6}
.recharge-dialog-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.recharge-dialog-plan{display:flex;flex-direction:column;min-width:0;padding:17px 14px 14px;border:1px solid #e8ebef;border-radius:12px;background:#fff}
.recharge-dialog-plan.is-recommended{background:linear-gradient(160deg,#fff5ec,#fffdfa);border-color:#eeb594;box-shadow:0 3px 12px #db8d5510}
.recharge-plan-heading{display:flex;flex-direction:column;align-items:flex-start;min-height:46px;position:relative}.recharge-plan-heading h3{font-size:13px;line-height:1.6;margin:0;font-weight:600}.recharge-plan-heading>span{display:inline-block;margin-top:6px;font-size:9px;line-height:1.4;padding:3px 6px;background:#fbe4d2;color:#b5764e;border-radius:4px}
.recharge-plan-price{display:block;font-size:29px;line-height:1.3;letter-spacing:-.5px;margin:15px 0 9px;font-variant-numeric:tabular-nums}.recharge-plan-price>small{font-size:16px;font-weight:500;margin-right:2px}
.recharge-plan-characters{font-size:15px;font-weight:600;line-height:1.8}.recharge-plan-characters>small{font-size:11px;font-weight:400;color:#8792a1}
.recharge-dialog-plan>p{font-size:10px;line-height:1.8;color:#929aa6;margin:4px 0 17px;flex:1}.recharge-dialog-plan>.btn{width:100%;padding:0 8px;min-height:39px;font-size:12px;gap:5px}.recharge-dialog-plan>.btn .icon{width:14px;height:14px}
.recharge-dialog-plan>.btn:not(.btn-primary){color:#bd7a57;border-color:#f0d7c7;background:#fffbf7}.recharge-dialog-plan>.btn:not(.btn-primary):hover{background:#fff1e5}
.recharge-large-draft{font-size:11px;line-height:1.9;color:#9a8a7b;margin:14px 0 0}.recharge-modal .error-text{font-size:12px;line-height:1.8;margin:14px 0 0}
.recharge-code-form>.error-text:empty,.recharge-modal .error-text:empty{display:none}
.recharge-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:21px;padding-top:17px;border-top:1px solid #eff0f3}
.recharge-dialog-footer>.text-btn{font-size:12px;gap:7px;color:#9099a6}.recharge-dialog-footer>.text-btn:first-child{color:#a97b60}.recharge-dialog-footer .icon{width:15px;height:15px}
.recharge-dialog-plan>.btn:disabled,.recharge-code-form>.btn:disabled{opacity:.55;cursor:wait}
@media(max-width:760px){
 .recharge-section-heading{gap:12px;margin-top:25px}.recharge-section-heading h2{font-size:16px;margin-bottom:6px}.recharge-section-heading>div>span{font-size:10px}.recharge-code-trigger{font-size:11px;min-height:36px;padding:0 10px;gap:5px}
 .recharge-modal{max-height:calc(100dvh - 32px)}.recharge-modal>.modal-header,.redeem-modal>.modal-header{padding:21px 21px 18px}.recharge-modal>.modal-header h2,.redeem-modal>.modal-header h2{font-size:18px}.recharge-modal>.modal-header p,.redeem-modal>.modal-header p{font-size:11px;line-height:1.9}
 .recharge-modal>.modal-body,.redeem-modal>.modal-body{padding:20px 21px}.recharge-need{padding:13px 12px;gap:10px}.recharge-need>.icon{width:20px;height:20px}.recharge-need strong{font-size:12px}.recharge-need p{font-size:10px;gap:0 4px}
 .recharge-dialog-heading{margin:20px 0 12px;gap:8px}.recharge-dialog-heading h3{font-size:13px}.recharge-dialog-heading>span{font-size:9px}
 .recharge-dialog-plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recharge-dialog-plan{padding:13px 12px 12px}.recharge-plan-heading{min-height:21px;display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:4px;flex-wrap:wrap}.recharge-plan-heading h3{font-size:12px}.recharge-plan-heading>span{margin:0;font-size:8px;padding:3px 4px}.recharge-plan-price{font-size:26px;margin:14px 0 5px}.recharge-plan-characters{font-size:14px}.recharge-plan-characters>small{font-size:10px}.recharge-dialog-plan>p{font-size:9px;margin-bottom:12px}.recharge-dialog-plan>.btn{min-height:37px;font-size:11px}
 .recharge-dialog-footer{margin-top:18px;padding-top:16px}.recharge-dialog-footer>.text-btn{font-size:11px}.recharge-code-form>.form-input{font-size:16px}.redeem-account{padding:13px}.redeem-account p{font-size:12px}.recharge-code-help{font-size:10px}
}
@media(max-width:370px){.recharge-modal>.modal-header h2{font-size:16px}.recharge-modal>.modal-body{padding:17px 16px}.recharge-modal>.modal-header{padding:18px 16px 16px}.recharge-dialog-heading>span{font-size:8px}.recharge-plan-heading{min-height:38px}.recharge-dialog-plan{padding:12px 10px 10px}.recharge-plan-price{margin-top:8px}.recharge-dialog-plan>.btn{font-size:10px}.recharge-dialog-footer{gap:8px}.recharge-need{align-items:flex-start}.recharge-need>.icon{margin-top:2px}}
