/* Captured short-drama creation surface only; upload/remake/canvas keep their rules. */
.sc-page{max-width:920px;margin:0 auto;padding-top:34px;color:#e8e8e8}.sc-page h1{font-family:Songti SC,STSong,serif;font-size:46px;font-weight:400;line-height:1.3;text-align:center;margin:0}.sc-page h1 em{font-family:Georgia,serif;font-weight:400;margin-left:0}.sc-subtitle{text-align:center;color:#858585;font-size:14px;margin:22px 0 38px}.sc-composer{background:#1c1c1c;border-radius:28px;overflow:visible}.sc-tabs{display:flex;height:44px;background:#222;border-radius:28px 28px 0 0;overflow:hidden}.sc-tabs button{width:25%;display:flex;align-items:center;justify-content:center;gap:8px;background:none;border:0;color:#999;font-size:14px}.sc-tabs button[aria-selected=true]{color:white;background:#1c1c1c;border-radius:26px 26px 0 0}.sc-tabs svg{width:16px;height:16px}.sc-body{display:flex;gap:8px;padding:16px 14px 6px;min-height:152px}.sc-dropzone{width:200px;min-width:200px;height:130px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed #303030;border-radius:16px;background:#202020;color:#e2e2e2;font-size:12px}.sc-dropzone:hover{background:#242424}.sc-plus{display:grid;place-items:center;width:24px;height:24px;background:#3a3a3a;border-radius:50%}.sc-plus svg{width:12px;height:12px}.sc-dropzone small{color:#777;display:flex;gap:4px;align-items:center}.sc-dropzone small svg{width:12px;height:12px}.sc-prompt{flex:1;min-width:0}.sc-prompt textarea{background:none!important;border:0!important;box-shadow:none!important;resize:none;width:100%;height:120px;padding:8px 6px;color:#eee;font-size:14px;line-height:1.5}.sc-prompt textarea::placeholder{color:#535353}.sc-toolbar{display:flex;align-items:center;gap:6px;height:58px;padding:8px 16px 12px}.sc-toolbar button,.sc-toolbar summary{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;background:none;border:0;color:#ccc;min-height:32px;padding:5px 10px;font-size:12px;border-radius:18px}.sc-toolbar button:hover,.sc-toolbar summary:hover{background:#333}.sc-toolbar svg{width:16px;height:16px;flex-shrink:0}.sc-toolbar>button:not(.sc-pill):not(#script-creation-send){padding:5px}.sc-toolbar .sc-pill,.sc-combined{background:#272727}.sc-combined{display:flex;border-radius:18px;align-items:center}.sc-combined>*+*{border-left:1px solid #353535}.sc-combined .native-style-menu{position:relative}.sc-settings-trigger{max-width:260px}.sc-settings-trigger span{overflow:hidden;text-overflow:ellipsis}.sc-toolbar #script-creation-send{width:32px;height:32px;border-radius:50%;background:#eee;color:#161616;padding:7px;margin-left:4px}.sc-toolbar #script-creation-send:disabled{background:#292929;color:#515151;cursor:default}.sc-toolbar #script-creation-send svg{width:20px;height:20px}.sc-recommended{display:flex;gap:14px;overflow:hidden;margin:20px 9px 0;white-space:nowrap}.sc-recommended button{display:flex;align-items:center;gap:8px;font-size:14px;padding:7px 12px;border:1px solid #222;border-radius:12px;background:#181818;color:#bbb;flex-shrink:0}.sc-recommended img{width:26px;height:18px;object-fit:cover;border-radius:4px}.sc-chips,.sc-files{display:flex;gap:7px;flex-wrap:wrap}.sc-chip{display:flex;align-items:center;gap:4px;border:1px solid #454545;border-radius:7px;padding:2px 6px;font-size:12px;color:#eee}.sc-chip img{width:22px;height:16px;object-fit:cover}.sc-chip button,.sc-file button{border:0;background:none;color:#aaa;padding:1px;display:grid;place-items:center}.sc-chip svg,.sc-file svg{width:12px;height:12px}.sc-file{display:flex;align-items:center;gap:6px;padding:5px;border:1px solid #444;border-radius:8px;font-size:12px;max-width:260px}.sc-file>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sc-file img{width:35px;height:35px;object-fit:cover}.sc-popup{position:fixed;z-index:150;background:#262626;border:1px solid #303030;border-radius:28px;padding:20px;color:#ccc;box-shadow:0 20px 44px #0007;font-size:12px}.sc-popup button{color:inherit;background:none;border:0;cursor:pointer;font:inherit}.sc-popup h3{font-size:14px;font-weight:500;margin:0 0 14px}.sc-settings{display:grid;grid-template-columns:306px 1fr;gap:32px;width:720px;height:404px;padding:18px 30px}.sc-settings label{display:block;color:#888;margin:12px 0 16px}.sc-models{border-right:1px solid #333;overflow-y:auto;scrollbar-width:none;padding-right:20px}.sc-models>button{width:100%;display:flex;gap:8px;text-align:left;padding:8px 0 20px;min-height:62px}.sc-models>button>span{width:14px}.sc-models svg{width:14px;height:14px}.sc-models strong{font:13px ui-monospace,monospace;letter-spacing:.2px}.sc-models small{display:block;color:#888;font-size:11px;margin-top:6px;line-height:1.5}.sc-models button:disabled{opacity:.5;cursor:not-allowed}.sc-settings-fields{padding-left:8px}.sc-segment{display:flex;align-items:center;height:36px;background:#333;border-radius:20px;padding:3px;margin-bottom:25px}.sc-segment>button,.sc-segment>details,.sc-segment>label{flex:1;text-align:center;border-radius:18px;color:#aaa;height:30px;line-height:30px;padding:0;margin:0;min-width:0}.sc-segment button[aria-checked=true],.sc-count>label{background:#505050;color:#eee}.sc-count details{position:relative}.sc-count summary{list-style:none;display:flex;gap:10px;align-items:center;justify-content:center;cursor:pointer}.sc-count svg{width:12px;height:12px}.sc-count details>div{position:absolute;z-index:3;top:34px;left:0;background:#333;border:1px solid #444;box-shadow:0 8px 25px #0007;border-radius:12px;width:100%;padding:4px}.sc-count details button{display:block;width:100%;height:32px;border-radius:8px}.sc-count details button:hover{background:#454545}.sc-count input{border:0;background:none;box-shadow:none;color:white;width:70%;padding:0 4px;text-align:center;height:26px}.sc-slider{display:flex;align-items:center;gap:8px;color:#aaa;margin-top:-8px}.sc-slider input{width:100%;accent-color:#bbb;padding:0}.sc-topics{width:560px;max-height:480px;padding:20px;display:flex;flex-direction:column}.sc-topics>input{border:1px solid #444;background:#333;border-radius:20px;margin-bottom:18px;height:34px}.sc-topic-list{overflow:auto}.sc-topic-list section{margin-bottom:16px}.sc-topic-list h3{font-size:12px;color:#888;margin-bottom:10px}.sc-topic-list section>div{display:flex;gap:7px;flex-wrap:wrap}.sc-topic-list button{padding:6px 10px;border-radius:6px;background:#333}.sc-topic-list button:hover{background:#404040}.sc-topic-list button[aria-pressed=true]{background:#e8e8e8;color:#222}.sc-empty{text-align:center;color:#999;padding:30px}.sc-ratio{width:360px;border-radius:16px}.sc-ratio>div{display:flex;gap:6px}.sc-ratio button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-end;gap:10px;height:70px;border-radius:8px;font-size:11px;padding:7px}.sc-ratio button>span{display:block;border:1px solid currentColor;border-radius:3px;max-width:30px;max-height:28px;width:25px}.sc-ratio button[aria-pressed=true]{background:#444;color:white}.sc-flow-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-top:1px solid #303030;color:#aaa;font-size:12px;flex-shrink:0}.sc-flow-footer>div:last-child{display:flex;gap:10px;align-items:center}.sc-flow-footer button{border:1px solid #484848;border-radius:20px;padding:9px 15px;color:#eee;background:#292929;white-space:nowrap}.sc-flow-footer .light{background:#eee;color:#111;border-color:#eee}.sc-flow-footer p{max-width:420px;color:#ddb584;margin:7px 0 0}.sc-workspace .native-script-main{display:flex;flex-direction:column}.sc-workspace .sw-document-scroll{flex:1;min-height:0}.sc-workspace .sc-document-empty{text-align:center;color:#777;margin:100px 10px}.sc-workspace .sw-outline{margin-top:20px}.sc-workspace .sw-outline h3{font-weight:500}.sc-workspace .sw-outline .sw-document-field>span{display:none}.sc-workspace .sw-outline input{font-weight:600}.sc-workspace .sw-document-grid{row-gap:38px}
@media(max-width:1050px){.sc-page{min-width:740px}.sc-toolbar{gap:4px}.sc-settings-trigger{max-width:220px}.sc-popup{max-width:calc(100vw - 24px)}.sc-settings{grid-template-columns:45% 1fr;gap:16px;padding:18px}.sc-page h1{font-size:42px}}

@font-face{font-family:ComicTitle;src:url('/static/comic-title-instrument-serif.woff2') format('woff2');font-style:italic;font-weight:400;font-display:swap}
.sc-page h1{display:flex;align-items:baseline;justify-content:center;gap:0;line-height:60px}.sc-page h1>span{font:500 43.231px 'Noto Serif SC','Songti SC',STSong,serif}.sc-page h1>em{font:italic 49.716px ComicTitle,'Times New Roman',serif}.sc-page h1>i{font:italic 45px ComicTitle,'Times New Roman',serif}
.sc-toolbar>.grow:first-of-type{flex:0 0 55px}.sc-toolbar>.grow:last-of-type{flex:1}
.sc-page{padding-top:31px}.sc-page h1{gap:4px;letter-spacing:.29px}.sc-page h1 em{letter-spacing:.33px}.sc-recommended button{font-size:12px;font-weight:400}.sc-recommended .sc-all-skills{background:none;border-color:transparent;padding-left:0;padding-right:0}.sc-all-skills svg{width:14px;height:14px}
.sc-count{margin-bottom:14px}.sc-presets{height:34px}.sc-presets>button{height:28px;line-height:28px}.sc-slider{margin-top:10px}
.sc-workspace .native-script-main{position:relative}.sc-workspace .sc-flow-footer{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);border:0;background:#303030;border-radius:32px;padding:8px 10px 8px 18px;box-shadow:0 6px 18px #0003;z-index:5;gap:12px;color:#ddd}.sc-workspace .sc-flow-footer button{padding:8px 15px;font-size:12px}.sc-workspace .sc-flow-footer>div:first-child{min-width:0}.sc-workspace .sc-flow-footer p{margin:4px 0 0}.sc-workspace .sw-document-scroll{padding-bottom:85px}.sc-workspace .sw-document-grid textarea{line-height:1.65;overflow:hidden}
.sc-page,.sc-popup{-webkit-font-smoothing:antialiased}.sc-page h1{color:#fff}
@media(max-width:1050px){.native-short-home:has(.sc-page){padding-left:12px;padding-right:12px}.sc-page{min-width:0}.sc-page h1{overflow:hidden;white-space:nowrap;min-height:72px}.sc-page h1>*{flex-shrink:0}.sc-subtitle{overflow:hidden}.sc-composer{overflow:hidden}.sc-tabs{min-width:740px}.sc-toolbar{min-width:740px}.sc-prompt{min-width:400px}.sc-recommended{margin-left:0;margin-right:0}}
@media(max-width:600px){.studio-home.native-home.native-short-home:has(.sc-page){padding-left:12px!important;padding-right:12px!important}.sc-page{padding-top:52px}.sc-page h1{align-items:center;height:72px}.sc-page h1>span{font-size:34px}.sc-page h1>em{font-size:39px}.sc-page h1>i{font-size:34px}.sc-tabs{min-width:0}.sc-tabs button[role=tab]{width:0;flex:1;min-width:0;overflow:hidden;padding:0}.sc-tabs button:last-child{width:120px;flex:0 0 120px}}

@media(max-width:600px){.sc-subtitle{margin:4px 0 24px}}

/* Material and mention state follows the observed script-creation editor only. */
.sc-rich-editor{min-height:120px;max-height:230px;overflow-y:auto;width:100%;padding:8px 6px;outline:none;font-size:14px;line-height:1.5;color:#eee;white-space:pre-wrap;overflow-wrap:anywhere}.sc-rich-editor:empty:before{content:attr(data-placeholder);color:#535353;pointer-events:none}.sc-mention{display:inline-flex;vertical-align:middle;align-items:center;gap:4px;margin:0 2px;padding:2px 6px;border:1px solid #ffffff14;border-radius:16px;background:#ffffff0a;color:white;font-size:12px;line-height:16px;max-width:100%;white-space:nowrap}.sc-mention>span{color:#ffffff80}.sc-materials{display:flex;align-items:center;gap:6px;width:266px;min-width:266px;height:130px;padding:24px 40px;border-radius:16px;background:#262626;overflow-x:auto;scrollbar-width:none}.sc-material,.sc-material-add{position:relative;width:90px;height:90px;flex:0 0 90px;border:1px solid #343434;border-radius:14px;background:#303030;display:flex;align-items:center;justify-content:center;color:#999}.sc-material-add:hover{background:#393939}.sc-material-add svg{width:16px;height:16px}.sc-material>img{width:62px;height:62px;object-fit:contain;border-radius:5px}.sc-material>button{position:absolute;right:3px;top:3px;width:20px;height:20px;border:0;border-radius:50%;background:#454545;color:#ddd;padding:3px;opacity:0;cursor:pointer}.sc-material:hover>button,.sc-material:focus-within>button{opacity:1}.sc-material>button svg{width:14px;height:14px}.sc-material-document{position:relative;display:block;color:#fff}.sc-material-document svg{width:48px;height:60px}.sc-material-document small{position:absolute;bottom:3px;left:0;background:#171717bb;border-radius:4px;font:10px monospace;padding:2px 4px}

.sc-material>button.sc-insert-reference{top:auto;bottom:4px;right:4px}.sc-mention-name{color:inherit!important;min-width:0;overflow:hidden;text-overflow:ellipsis}.sc-mention-file{max-width:128px;border:0;border-radius:6px;height:22px;background:#ffffff0f;padding:0 6px}.sc-mention-file svg{width:16px;height:16px;flex-shrink:0}
.sc-material>button:not(.sc-insert-reference){left:0;right:auto;top:-4px;width:16px;height:16px;padding:2px;background:#ffffff1f}.sc-material>button.sc-insert-reference{right:0;bottom:-4px;width:16px;height:16px;padding:2px;background:#ffffff33}.sc-material>button svg{width:12px;height:12px}
