.drama-script-overlay{position:fixed;inset:0;z-index:1100;background:rgba(25,32,45,.32);display:flex;align-items:center;justify-content:center;padding:24px;}
.drama-script-dialog{width:min(980px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;background:#fff;border:1px solid #dfe5ef;border-radius:24px;box-shadow:0 24px 80px rgba(34,44,69,.2);color:#172333;overflow:hidden;}
.drama-script-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 26px;border-bottom:1px solid #e7ebf3;gap:20px;}
.drama-script-dialog h2{margin:0 0 7px;font-size:23px;}.drama-script-dialog h3{font-size:16px;margin:6px 0 14px;}.drama-script-dialog p{margin:0;color:#718097;line-height:1.6;}
.drama-script-dialog>header button,.drama-script-shot button{background:transparent;border:0;color:#8995a7;font-size:24px;cursor:pointer;min-width:32px;}
.drama-script-body{overflow:auto;padding:22px 26px;display:grid;gap:18px;}
.drama-script-source-label{display:grid;gap:9px;font-size:14px;font-weight:600;}
.drama-script-dialog textarea,.drama-script-dialog input,.drama-script-dialog select{font:inherit;color:#243449;border:1px solid #dce3ef;border-radius:10px;background:#fafbfe;padding:12px;box-sizing:border-box;}
.drama-script-dialog textarea:focus,.drama-script-dialog input:focus,.drama-script-dialog select:focus{outline:2px solid #a5c4ff;outline-offset:1px;}
.drama-script-source-label textarea{width:100%;min-height:170px;resize:vertical;line-height:1.6;font-weight:400;}
.drama-script-options{display:flex;gap:14px;align-items:end;flex-wrap:wrap;}.drama-script-options label{display:grid;gap:7px;font-size:13px;color:#627087;flex:1;}.drama-script-options select{width:100%;min-height:43px;}.drama-script-options>button{min-height:43px;}
.drama-script-shot{border:1px solid #e2e7f0;padding:12px;border-radius:13px;margin-bottom:12px;}.drama-script-shot>div{display:flex;align-items:center;gap:9px;margin-bottom:9px;}.drama-script-shot input{flex:1;min-width:0;background:#fff;}.drama-script-shot span{font-size:13px;color:#759de6;min-width:18px;}.drama-script-shot textarea{width:100%;min-height:100px;resize:vertical;line-height:1.6;}.drama-script-dialog .drama-script-error{color:#bf3636;background:#fff3f3;padding:10px 14px;border-radius:9px;}.drama-script-empty{padding:18px;background:#f6f8fc;border-radius:12px;}
.drama-script-dialog>footer{padding:17px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e7ebf3;background:#fff;}.drama-script-dialog>footer p{font-size:12px;max-width:620px;}.drama-script-dialog>footer button{white-space:nowrap;}
@media(max-width:600px){.drama-script-overlay{padding:10px;}.drama-script-dialog{max-height:calc(100dvh - 20px);}.drama-script-dialog>header,.drama-script-body,.drama-script-dialog>footer{padding:16px;}.drama-script-options{display:grid;}.drama-script-dialog>footer{align-items:stretch;flex-direction:column;}}
