/* 20260705 font size setting */
.font-panel{padding:18px!important}
.font-panel .bar{align-items:center!important}
.font-segment{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:12px!important}
.font-segment button{height:42px!important;border-radius:10px!important;border:1px solid #e5e7eb!important;background:#f8fafc!important;color:#64748b!important;font-size:14px!important;font-weight:900!important}
.font-segment button.active{background:#10151b!important;border-color:#10151b!important;color:#fff!important}
body.font-small{--app-font-scale:.92}
body.font-normal{--app-font-scale:1}
body.font-large{--app-font-scale:1.15}
body.font-small .tab-page,body.font-normal .tab-page,body.font-large .tab-page{font-size:calc(15px * var(--app-font-scale))!important}
body[class*="font-"] h1{font-size:calc(36px * var(--app-font-scale))!important}
body[class*="font-"] h2{font-size:calc(22px * var(--app-font-scale))!important}
body[class*="font-"] h3{font-size:calc(16px * var(--app-font-scale))!important}
body[class*="font-"] .brand-name,body[class*="font-"] .title,body[class*="font-"] .history-title,body[class*="font-"] .plan-title,body[class*="font-"] .account-title,body[class*="font-"] .mine-entry-card b{font-size:calc(16px * var(--app-font-scale))!important}
body[class*="font-"] .muted,body[class*="font-"] .lead,body[class*="font-"] .plan-desc,body[class*="font-"] .history-meta,body[class*="font-"] .mine-entry-card em{font-size:calc(13px * var(--app-font-scale))!important}
body[class*="font-"] textarea,body[class*="font-"] input,body[class*="font-"] select{font-size:calc(15px * var(--app-font-scale))!important}
body[class*="font-"] button,body[class*="font-"] .mini-btn,body[class*="font-"] .btn2{font-size:calc(14px * var(--app-font-scale))!important}
body[class*="font-"] .block,body[class*="font-"] .card,body[class*="font-"] .shot,body[class*="font-"] .detail-body{font-size:calc(14px * var(--app-font-scale))!important;line-height:1.68!important}

/* 20260705 custom script import */
.compose-mode{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px!important}
.compose-mode button{height:40px!important;border-radius:10px!important;background:#f1f5f9!important;color:#64748b!important;border:1px solid #e5e7eb!important;font-size:13px!important;font-weight:900!important}
.compose-mode button.active{background:#10151b!important;color:#fff!important;border-color:#10151b!important}

.notify-dot{display:inline-flex;min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:999px;align-items:center;justify-content:center;background:#ef4444;color:#fff;font-style:normal;font-size:11px;font-weight:900;line-height:18px}.notify-dot.hidden{display:none}.notification-unread{border-color:#14b8a6!important;background:#f0fdfa!important}.notification-unread b{color:#0f766e!important}.notification-content{margin-top:8px;color:#17202a;line-height:1.55}.notification-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

/* 20260705 unified type hierarchy */
:root{--type-title:22px;--type-section:18px;--type-name:16px;--type-body:14px;--type-muted:13px;--type-caption:12px;--type-button:14px}
body{font-size:var(--type-body)!important;line-height:1.58!important;font-weight:700!important;letter-spacing:0!important}
h1,.brand-name,.title,.history-brand h2,.pay-brand h2,.mine-brand h2,.result-head h2{font-size:var(--type-title)!important;line-height:1.22!important;font-weight:900!important;letter-spacing:0!important}
h2,.h2,.section-title,.pay-section-title,.detail-body h3,.block h3{font-size:var(--type-section)!important;line-height:1.3!important;font-weight:900!important}
h3,.name,.plan-title,.history-title,.account-title,.quick-card b,.mine-entry-card b,.card b,.shot b,.audio-box b{font-size:var(--type-name)!important;line-height:1.35!important;font-weight:900!important}
p,.block,.shot,.card,.detail-body,.script,.hook{font-size:var(--type-body)!important;line-height:1.68!important;font-weight:700!important}
.muted,.lead,.plan-desc,.history-meta,.history-time,.mine-sub,.account-id,.quick-card em,.mine-entry-card em,.login-tip{font-size:var(--type-muted)!important;line-height:1.55!important;font-weight:700!important;color:#64748b}
label,.badge,.pill,.tag,.hero-tag,.value-row span,.business-tag,.mini{font-size:var(--type-caption)!important;line-height:1.35!important;font-weight:900!important}
button,.mini-btn,.ghost-btn,.light-btn,.login-primary,.plan-buy,.detail-wide,.detail-export button,.history-tabs button,.account-action,#submitFeedback{font-size:var(--type-button)!important;line-height:1.2!important;font-weight:900!important;letter-spacing:0!important}
input,textarea,select{font-size:15px!important;line-height:1.55!important;font-weight:700!important}
.plan-price,.price{font-size:22px!important;line-height:1.1!important;font-weight:1000!important}
@media(max-width:720px){:root{--type-title:21px;--type-section:17px;--type-name:15px;--type-body:14px;--type-muted:12.5px;--type-button:13px}}

.voice-spinner{width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:50%!important;border:4px solid rgba(37,99,235,.18)!important;border-top-color:#2563eb!important;animation:spin .8s linear infinite!important}
.task-box{margin:0 0 10px!important}
.task-card{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 10px!important;padding:13px!important;border:1px solid #bfdbfe!important;border-radius:10px!important;background:linear-gradient(135deg,#eff6ff,#ecfdf5)!important;color:#17202a!important}
.task-card b{display:block!important;color:#111827!important;font-size:15px!important;font-weight:900!important;margin-bottom:4px!important}
.task-card p{margin:0!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.45!important}
.task-card em{display:block!important;margin-top:6px!important;color:#2563eb!important;font-style:normal!important;font-size:12px!important;font-weight:900!important}
#resultEmpty .task-card{margin:0!important}
.task-card.error-card{border-color:#fecdd3!important;background:linear-gradient(135deg,#fff1f2,#fff7ed)!important}
.error-mark{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#e11d48;color:#fff;font-weight:1000}
.task-card.success-card{border-color:#86efac!important;background:linear-gradient(135deg,#f0fdf4,#ecfdf5)!important}
.success-mark{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#16a34a;color:#fff;font-weight:1000}
.error-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}

/* 20260708 mine card landing polish */
#mineSec .mine-menu-panel,#mineSec .action-panel,#mineSec .mine-detail{border-radius:8px!important;border-color:#e2e8f0!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.055)!important}
#mineSec .mine-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
#mineSec .mine-entry-card{position:relative!important;min-height:92px!important;border-radius:8px!important;border-color:#e2e8f0!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;box-shadow:none!important;overflow:hidden!important}
#mineSec .mine-entry-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#14b8a6}
#mineSec .mine-entry-card:nth-child(2):before{background:#e5533d}
#mineSec .mine-entry-card:nth-child(3):before{background:#2563eb}
#mineSec .mine-entry-card b{display:flex!important;align-items:center!important;gap:6px!important;color:#111827!important}
#mineSec .mine-entry-card em{max-width:100%;color:#64748b!important;white-space:normal!important}
#mineSec .account-card .muted{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
#mineSec .mine-detail{min-height:430px!important;padding:16px!important}
#mineSec .mine-detail-head{position:relative;margin:-2px 0 14px!important;padding:0 0 12px!important;border-bottom:1px solid #e2e8f0!important;gap:10px!important}
#mineSec .mine-detail-head h2{margin:0!important;color:#111827!important}
#mineSec .mine-detail-head .ghost-btn{height:34px!important;padding:0 12px!important;border-radius:8px!important;background:#10151b!important;color:#fff!important;border-color:#10151b!important}
#mineSec .mine-detail-head div:last-child{display:flex!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
#mineSec .mine-detail-head div:last-child button{height:34px!important;border-radius:8px!important;background:#f8fafc!important;color:#17202a!important;border:1px solid #e2e8f0!important}
#notificationsList,#orders,#feedbackReplies{display:grid!important;gap:10px!important}
#mineSec .order-item{margin:0!important;padding:14px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#fff!important;box-shadow:0 8px 18px rgba(15,23,42,.045)!important}
#mineSec .order-item b{display:block!important;margin-bottom:5px!important;color:#111827!important;font-size:15px!important;line-height:1.35!important;font-weight:900!important}
#mineSec .order-item .muted{color:#64748b!important;word-break:break-word!important}
#mineSec .order-item .mini-btn,#mineSec .notification-actions .mini-btn{height:34px!important;margin:10px 8px 0 0!important;padding:0 12px!important;border-radius:8px!important}
#mineSec .mine-detail-head div:last-child button,.mini-btn,.ghost-btn,.light-btn,.login-primary,.plan-buy,.detail-export button,.history-tabs button,.account-action,#submitFeedback,.font-segment button,.compose-mode button,.voice-script-actions button,.badge,.pill,.tag,.hero-tag,.business-tag,.media-status b,.voice-script-plan .voice-plan-head em,.voice-plan-stats span,.history-title span,.quota-recommend-tag,.share-video-head span,.image-save{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;line-height:1.2!important;text-align:center!important}
#mineSec .notification-unread{border-color:#14b8a6!important;background:#f0fdfa!important}
#mineSec .notification-content{margin-top:8px!important;padding:10px!important;border-radius:8px!important;background:#f8fafc!important;color:#334155!important}
#mineSec .feedback-panel textarea,#mineSec .feedback-panel input{border-radius:8px!important;border-color:#dbe3ed!important;background:#f8fafc!important}
#mineSec #submitFeedback{width:100%!important;height:42px!important;margin-top:10px!important;border-radius:8px!important;background:#10151b!important;color:#fff!important}
#mineSec .account-links{justify-content:center!important;border-top:1px solid #e2e8f0!important;padding-top:12px!important}
@media(max-width:720px){#mineSec .mine-entry-grid,#mineSec .action-panel .quick-grid{grid-template-columns:1fr!important}#mineSec .action-panel .quick-card{min-height:64px!important}#mineSec .mine-detail-head{align-items:flex-start!important}#mineSec .mine-detail-head div:last-child{width:100%;justify-content:flex-start!important}}
/* 国内 H5 剧本试点 */
.prompt-card .voice-input-wrap{padding:12px!important}
.prompt-card #topic{height:116px!important;padding:0 0 50px!important;box-sizing:border-box!important}
.prompt-card #voiceInput{right:12px;bottom:12px}
.screenplay-entry-btn{position:absolute;left:12px;bottom:12px;z-index:3;height:40px;padding:0 15px;border:0;border-radius:10px;background:#0f766e;color:#fff;font-size:13px;font-weight:900;box-shadow:0 6px 14px rgba(15,118,110,.2)}
.screenplay-entry-btn:hover{background:#0b665f}
.screenplay-entry-btn:focus-visible{outline:2px solid rgba(15,118,110,.34);outline-offset:2px}
.image-video-entry-btn{position:absolute;left:122px;bottom:12px;z-index:3;height:40px;padding:0 15px;border:1px solid #d7dce5;border-radius:10px;background:#fff;color:#334155;font-size:13px;font-weight:900;box-shadow:0 6px 14px rgba(15,23,42,.08)}
.image-video-entry-btn.active{border-color:#2563eb;background:#2563eb;color:#fff}
.prompt-card.image-video-mode #topic{width:100%!important;padding:0 0 50px!important}
.prompt-card.image-video-mode .screenplay-entry-btn{display:none!important}
.prompt-card.image-video-mode .image-video-entry-btn{left:12px;background:#2563eb;color:#fff;border-color:#2563eb}
.prompt-card.image-video-mode #voiceInput{display:none!important}
.prompt-card.image-video-mode .prompt-options [data-image-video-hide]{display:none}
.prompt-card.image-video-mode .prompt-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.project-detail-mode .image-video-entry-btn{display:none!important}
.image-video-source{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:center;margin:12px 0 4px;padding:12px;border:1px solid #dbe3ed;border-radius:14px;background:#f8fafc}
.image-video-source.hidden{display:none}
.image-video-preview{display:grid;place-items:center;overflow:hidden;width:132px;aspect-ratio:16/10;border:1px dashed #94a3b8;border-radius:10px;background:#e2e8f0;color:#64748b;text-align:center;font-size:12px;font-weight:800}
.image-video-preview img{width:100%;height:100%;object-fit:cover}
.image-video-source-copy b{display:block;color:#0f172a}
.image-video-source-copy p{margin:5px 0 9px;color:#64748b;font-size:12px;line-height:1.5}
.image-video-source-copy>div{display:flex;flex-wrap:wrap;gap:8px}
.image-video-source-copy button{height:34px;padding:0 12px;border-radius:8px;font-size:12px}
@media(max-width:560px){.image-video-source{grid-template-columns:92px 1fr}.image-video-preview{width:92px}.image-video-entry-btn{left:116px;padding:0 12px}}
.screenplay-back-entry{width:auto!important;height:36px!important;margin:0 0 10px!important;padding:0 12px!important;border:1px solid #d7dce5!important;border-radius:9px!important;background:#fff!important;color:#334155!important;font-size:12px!important;font-weight:900!important;box-shadow:none!important}
.screenplay-flow{display:grid;gap:14px}
.screenplay-compose,.screenplay-result,.screenplay-history{border-color:rgba(15,118,110,.15)!important;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,253,250,.93))!important}
.screenplay-head,.screenplay-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.screenplay-head span,.screenplay-result-head span{color:#0f766e;font-size:11px;font-weight:800;letter-spacing:.14em}
.screenplay-head h2,.screenplay-result-head h2{margin:4px 0 2px;color:#102a2a}
.screenplay-head p{margin:0;color:#64748b}
.screenplay-head>b{padding:6px 10px;border-radius:999px;background:#ccfbf1;color:#0f766e;font-size:11px;white-space:nowrap}
.screenplay-prompt-box{position:relative;overflow:hidden;border:1px solid #cbd5e1;border-radius:14px;background:#fff;transition:border-color .2s,box-shadow .2s}
.screenplay-prompt-box:focus-within{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.15)}
.screenplay-prompt-box>textarea,.screenplay-compose>textarea{width:100%;min-height:176px;resize:vertical;border:0;background:#fff;color:#0f172a;padding:14px 14px 68px;font:inherit;line-height:1.65;box-sizing:border-box;outline:0}
.screenplay-prompt-action{position:absolute;z-index:2;left:12px;right:12px;bottom:10px;display:flex;align-items:center;gap:10px;min-height:38px;pointer-events:none}
.screenplay-prompt-action button{min-height:36px;border:0;border-radius:10px;background:#0f766e;color:#fff;padding:0 15px;font-weight:800;white-space:nowrap}
.screenplay-prompt-action button{pointer-events:auto}
.screenplay-prompt-action button:disabled{opacity:.6}
.screenplay-prompt-action span{color:#64748b;font-size:12px}
.screenplay-options select:focus{outline:3px solid rgba(13,148,136,.15);border-color:#0d9488}
.screenplay-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0}
.screenplay-options label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:700}
.screenplay-options select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#0f172a;padding:0 10px}
.screenplay-requirements{min-height:82px!important}
.screenplay-status-card{margin-top:14px;padding:15px;border:1px solid #99f6e4;border-radius:14px;background:linear-gradient(135deg,#f0fdfa,#ecfeff);box-shadow:0 12px 28px rgba(15,118,110,.1)}
.screenplay-status-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}
.screenplay-status-top b{display:block;color:#134e4a}
.screenplay-status-top p{margin:3px 0 0;color:#64748b;font-size:12px}
.screenplay-status-top strong{color:#0f766e;font-size:12px;white-space:nowrap}
.screenplay-status-icon{width:30px;height:30px;border:3px solid #99f6e4;border-top-color:#0f766e;border-radius:50%;animation:screenplay-spin .9s linear infinite}
.screenplay-progress{height:7px;margin:13px 0 10px;overflow:hidden;border-radius:999px;background:#ccfbf1}
.screenplay-progress i{display:block;width:8%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f766e,#14b8a6);transition:width .7s ease}
.screenplay-status-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;color:#94a3b8;font-size:11px;text-align:center}
.screenplay-status-steps span{padding-top:7px;border-top:2px solid #cbd5e1}
.screenplay-status-steps span.active{border-color:#0f766e;color:#0f766e;font-weight:800}
.screenplay-status-steps span.done{border-color:#5eead4;color:#475569}
.screenplay-status-card.success{border-color:#86efac;background:#f0fdf4}
.screenplay-status-card.success .screenplay-status-icon{display:grid;place-items:center;border:0;background:#16a34a;color:#fff;animation:none}
.screenplay-status-card.success .screenplay-status-icon:after{content:'✓';font-weight:900}
.screenplay-status-card.success .screenplay-progress i{background:#16a34a}
.screenplay-status-card.error{border-color:#fecaca;background:#fff7f7}
.screenplay-status-card.error .screenplay-status-icon{display:grid;place-items:center;border:0;background:#dc2626;color:#fff;animation:none}
.screenplay-status-card.error .screenplay-status-icon:after{content:'!';font-weight:900}
.screenplay-status-card.error .screenplay-progress i{background:#dc2626}
.screenplay-status-card.error #retryScreenplay{display:block;margin-top:12px}
@keyframes screenplay-spin{to{transform:rotate(360deg)}}
.screenplay-result-head>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.screenplay-result-head button:disabled{cursor:not-allowed;opacity:.62}
.screenplay-segment-copy{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.screenplay-segment-copy button,.screenplay-scene-head button{min-height:30px;border:1px solid #99d8d1;border-radius:8px;background:#fff;color:#0f766e;padding:0 9px;font-size:12px;font-weight:800;white-space:nowrap}
.screenplay-segment-copy button[data-copy-kind="import"]{flex-basis:100%;min-height:40px;border-color:#0f766e;background:#0f766e;color:#fff;font-size:14px}
.screenplay-scene-head b{flex:1;min-width:0}
.screenplay-shot .screenplay-segment-copy{margin-top:11px;padding-top:10px;border-top:1px solid #e2e8f0}
.screenplay-logline{margin:0 0 16px;padding:14px;border-left:4px solid #0d9488;border-radius:0 12px 12px 0;background:#f0fdfa;color:#164e63;line-height:1.7}
.screenplay-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}
.screenplay-info-grid:empty{display:none}
.screenplay-info-grid article{padding:13px 14px;border:1px solid #d7ebe8;border-radius:13px;background:#fff;color:#475569}
.screenplay-info-grid b{display:block;margin-bottom:6px;color:#0f766e}
.screenplay-info-grid p{margin:4px 0;font-size:13px;line-height:1.55}
.screenplay-character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
.screenplay-character{padding:13px;border:1px solid #d7ebe8;border-radius:13px;background:#fff}
.screenplay-character b{display:block;color:#0f766e;margin-bottom:6px}
.screenplay-character p{margin:3px 0;color:#475569;font-size:13px;line-height:1.55}
.screenplay-direction{margin:0 0 16px;padding:13px 14px;border:1px solid #bae6fd;border-radius:13px;background:#f0f9ff;color:#334155}
.screenplay-direction:empty{display:none}
.screenplay-direction b{display:block;margin-bottom:5px;color:#075985}
.screenplay-direction p{margin:3px 0;line-height:1.6}
.screenplay-scenes{display:grid;gap:12px}
.screenplay-scene{overflow:hidden;border:1px solid #d7ebe8;border-radius:14px;background:#fff}
.screenplay-scene-head{display:flex;align-items:center;gap:9px;padding:12px 14px;background:#ecfdf5;color:#134e4a;font-weight:800}
.screenplay-scene-head span{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#0f766e;color:#fff;font-size:12px}
.screenplay-scene-body{padding:14px}
.screenplay-action{margin:0 0 11px;color:#475569;line-height:1.65}
.screenplay-line{display:grid;grid-template-columns:minmax(70px,auto) 1fr;gap:10px;margin:8px 0;line-height:1.6}
.screenplay-line b{color:#0f766e}
.screenplay-line em{color:#94a3b8;font-size:11px;font-style:normal}
.screenplay-storyboard{display:grid;gap:9px;margin-top:16px;padding-top:14px;border-top:1px dashed #99d5cf}
.screenplay-storyboard h4{margin:0;color:#0f766e;font-size:14px}
.screenplay-shot{padding:12px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}
.screenplay-shot-head{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;margin-bottom:8px}
.screenplay-shot-head b{color:#0f766e}
.screenplay-shot-head span{padding:2px 7px;border-radius:999px;background:#ccfbf1;color:#115e59;font-size:11px;font-weight:800}
.screenplay-shot-head em{justify-self:end;color:#64748b;font-size:12px;font-style:normal}
.screenplay-shot>p,.screenplay-shot-prompts p{display:grid;grid-template-columns:42px 1fr;gap:8px;margin:5px 0;color:#475569;line-height:1.55}
.screenplay-shot p strong{color:#0f172a;font-size:12px}
.screenplay-shot-prompts{margin-top:9px;padding-top:8px;border-top:1px dashed #cbd5e1}
.screenplay-shot-prompts summary{cursor:pointer;color:#0f766e;font-size:12px;font-weight:800}
.screenplay-ending{margin-top:14px;padding:13px;border-radius:12px;background:#102a2a;color:#d1fae5;line-height:1.65}
.screenplay-history-list{display:grid;gap:8px}
.history-kind-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;padding:4px;border-radius:14px;background:#eef2f3}
.history-kind-tabs button{min-height:40px;border:0;border-radius:11px;background:transparent;color:#64748b;font-weight:800}
.history-kind-tabs button.active{background:#0f766e;color:#fff;box-shadow:0 6px 16px rgba(15,118,110,.18)}
.history-library-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.screenplay-history-card{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;border:1px solid #d7ebe8;border-radius:12px;background:#fff;color:#0f172a;text-align:left}
.screenplay-history-card span{display:grid;gap:3px}
.screenplay-history-card b{color:#134e4a}
.screenplay-history-card em{color:#64748b;font-size:12px;font-style:normal}
.screenplay-history-actions{display:flex;flex:none;gap:8px}
.screenplay-history-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:10px;white-space:nowrap}
.screenplay-history-actions .danger{min-width:72px;border-color:#b91c1c!important;background:#b91c1c!important;color:#fff!important;opacity:1!important}
.story-bible-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.story-rule-card{margin:0!important}.story-rule-row{display:flex;gap:8px;align-items:flex-start;margin-top:9px;line-height:1.65}.story-rule-row em{display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:50%;background:#ecfdf5;color:#047857;font-size:11px;font-style:normal;font-weight:900}.story-rule-row span{min-width:0;color:#334155;font-size:13px;font-weight:700}@media(max-width:720px){.story-bible-grid{grid-template-columns:1fr}}
@media(max-width:760px){.screenplay-options{grid-template-columns:repeat(2,minmax(0,1fr))}.screenplay-character-grid,.screenplay-info-grid{grid-template-columns:1fr}.screenplay-head,.screenplay-result-head{align-items:stretch;flex-direction:column}.screenplay-result-head>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}.screenplay-result-head button{width:100%}.screenplay-line{grid-template-columns:1fr;gap:2px}.screenplay-history-card{align-items:flex-start;flex-direction:column}.screenplay-history-actions{width:100%}.screenplay-history-actions button{flex:1}.screenplay-status-steps{grid-template-columns:repeat(2,1fr)}.screenplay-status-top{grid-template-columns:auto 1fr}.screenplay-status-top strong{grid-column:2}.screenplay-shot-head{grid-template-columns:auto auto}.screenplay-shot-head em{grid-column:1/-1;justify-self:start}.screenplay-shot>p,.screenplay-shot-prompts p{grid-template-columns:1fr;gap:2px}}
.voice-clone-panel{margin:0 0 12px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:#f8fafc}.voice-clone-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.voice-clone-head b{color:#17202a;font-size:13px}.voice-clone-head button{width:auto!important;min-width:108px;height:34px!important;margin:0!important;padding:0 12px!important;border-radius:8px!important;background:#0f766e!important;color:#fff!important}.voice-clone-head button.recording{background:#dc2626!important}.voice-clone-panel>input{width:100%;height:36px;margin:10px 0 8px;padding:0 10px;border:1px solid #d7dce5;border-radius:8px;background:#fff;color:#17202a}.voice-clone-panel>p{margin:0 0 8px;color:#64748b;font-size:12px;line-height:1.55}.voice-clone-consent{display:flex;align-items:flex-start;gap:7px;color:#475569;font-size:12px}.voice-clone-consent input{width:16px;height:16px;margin:1px 0 0}.voice-clone-list{display:grid;gap:6px;margin-top:9px}.voice-clone-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-radius:8px;background:#fff;color:#17202a;font-size:12px;font-weight:800}.voice-clone-row button{width:auto!important;height:28px!important;margin:0!important;padding:0 9px!important;border-radius:7px!important;background:#fff1f2!important;color:#be123c!important}
