.hm-story{--hs-bg:#101113;--hs-panel:#191b1e;--hs-line:#303237;--hs-muted:#92969f;--hs-accent:#d8f68b;position:fixed;inset:0;z-index:80;background:var(--hs-bg);color:#f3f4f5;font-size:13px;overflow:hidden;display:flex;flex-direction:column;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif}
.hm-story *{box-sizing:border-box}.hm-story button,.hm-story input,.hm-story select,.hm-story textarea{font:inherit}.hm-story button{cursor:pointer}.hm-story button:disabled{opacity:.42;cursor:not-allowed}.hm-story button:focus-visible,.hm-story input:focus-visible,.hm-story textarea:focus-visible,.hm-story select:focus-visible{outline:2px solid var(--hs-accent);outline-offset:3px}.hm-story h1,.hm-story h2,.hm-story h3,.hm-story p{margin:0}.hm-story p{line-height:1.75;color:var(--hs-muted)}.hm-story h2{font-size:18px;font-weight:600}.hm-story small{font-size:11px;color:var(--hs-muted);line-height:1.7}.hm-story label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#b6bac2}.hm-story input:not([type=checkbox]),.hm-story select,.hm-story textarea{width:100%;background:#111316;border:1px solid var(--hs-line);border-radius:9px;color:#eceef0;padding:10px 12px;min-height:38px}.hm-story textarea{resize:vertical;min-height:76px;line-height:1.7}.hm-story input[type=checkbox]{accent-color:var(--hs-accent);width:16px;height:16px;flex-shrink:0}.hm-story input::placeholder,.hm-story textarea::placeholder{color:#656a74}.hs-primary,.hs-secondary,.hs-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;white-space:nowrap;min-height:36px;border:1px solid transparent;font-weight:500}.hs-primary{background:var(--hs-accent);color:#192115;padding:10px 16px}.hs-primary:hover:not(:disabled){background:#e7ffa9}.hs-secondary{background:#24272b;color:#dbdee3;border-color:#373a40;padding:8px 12px}.hs-secondary:hover:not(:disabled){background:#30343a}.hs-icon{background:transparent;color:#aeb3bd;min-width:32px;min-height:32px;padding:6px}.hs-icon:hover{background:#272b30;color:#fff}.hs-muted{color:var(--hs-muted)}
.hm-story-header{height:68px;flex-shrink:0;border-bottom:1px solid var(--hs-line);display:flex;align-items:center;gap:16px;padding:0 26px;background:#141619}.hs-brand{font-size:19px;font-weight:700;display:flex;align-items:center;gap:9px;letter-spacing:-.6px}.hs-brand svg{color:var(--hs-accent)}.hs-brand>span{font-weight:400}.hs-beta{font-size:11px;border:1px solid #373c35;color:#b6c89d;border-radius:5px;padding:4px 7px}.hs-header-right{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:12px}.hs-save-state{font-size:11px;color:#939b87}.hs-save-state.dirty{color:#e5bb75}.hs-layout{display:flex;min-height:0;flex:1}.hs-projects{width:216px;flex-shrink:0;border-right:1px solid var(--hs-line);background:#141619;padding:22px 14px;overflow:auto}.hs-projects-title{display:flex;justify-content:space-between;align-items:center;padding:0 5px 17px;font-size:14px}.hs-project-filter{display:flex;background:#0e1013;padding:3px;border-radius:8px;margin-bottom:18px}.hs-project-filter button{flex:1;border:0;border-radius:6px;color:#9b9fa8;background:transparent;padding:8px}.hs-project-filter button.active{color:#e4eccf;background:#2a3025}.hs-project{display:flex;align-items:center;border:1px solid transparent;border-radius:9px;margin:5px 0}.hs-project.active{background:#252a22;border-color:#3c4730}.hs-project>button:first-child{display:flex;align-items:center;gap:10px;padding:12px 8px;color:#a6acb6;background:transparent;border:0;min-width:0;flex:1;text-align:left}.hs-project span{display:flex;flex-direction:column;gap:4px;min-width:0}.hs-project strong{font-size:12px;color:#d8dde3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hs-project .hs-icon{min-width:24px;padding:3px}.hs-new-project{border:1px dashed #454a41;color:#c7d5ad;background:transparent;border-radius:8px;padding:12px 6px;display:flex;gap:7px;align-items:center;justify-content:center;width:100%;margin-top:20px}.hs-project-note{font-size:11px;padding:28px 7px;line-height:1.8}.hs-main{flex:1;min-width:0;overflow:auto;padding:30px 36px 70px;background:radial-gradient(ellipse at 75% 0,rgba(107,128,72,.055),transparent 50%),var(--hs-bg)}.hs-eyebrow{font-size:10px;color:#8b9a72;letter-spacing:2px;display:block;margin-bottom:9px}.hs-project-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:12px}.hs-project-heading h1{font-size:25px;font-weight:600;margin-bottom:9px}.hs-project-heading p{font-size:12px}.hs-steps{display:flex;gap:4px;border-bottom:1px solid var(--hs-line);margin-bottom:25px;overflow-x:auto}.hs-steps button{background:transparent;color:#949aa4;border:0;border-bottom:2px solid transparent;border-radius:0;display:flex;align-items:center;gap:8px;padding:14px 19px;white-space:nowrap}.hs-steps button.active{border-color:var(--hs-accent);color:var(--hs-accent)}.hs-steps button>span{font-size:10px;background:#292e25;color:#a6b195;width:20px;height:20px;border-radius:50%;display:grid;place-items:center}.hs-fieldset{margin:0;padding:0;border:0;min-width:0}.hs-panel{background:var(--hs-panel);border:1px solid var(--hs-line);border-radius:14px;padding:24px}.hs-script-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px}.hs-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:23px}.hs-panel label+label{margin-top:16px}.hs-script-input{min-height:380px!important}.hs-script-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.hs-settings h2{margin-bottom:26px}.hs-settings textarea{min-height:115px}.hs-guide{margin-top:25px;padding:20px 16px;border-radius:10px;background:#22271e;border:1px solid #36402d}.hs-guide svg{color:#afca80;margin-bottom:11px}.hs-guide h3{font-size:13px;margin-bottom:11px}.hs-guide p{font-size:12px;color:#a5b293;margin-top:10px}.hs-file{position:relative;overflow:hidden;cursor:pointer;display:inline-flex!important;flex-direction:row!important;align-items:center}.hs-file input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;height:100%}.hs-alert,.hs-notice,.hs-recovery{padding:13px 16px;border-radius:9px;margin-bottom:16px;display:flex;align-items:center;gap:10px;line-height:1.7;font-size:12px;flex-wrap:wrap}.hs-alert{background:#332322;border:1px solid #653d35;color:#f2b5a1}.hs-alert>.hs-icon{margin-left:auto}.hs-notice,.hs-recovery{background:#232d20;border:1px solid #405638;color:#c6dcb2}.hs-recovery button,.hs-alert>button:not(.hs-icon){border:1px solid #55604b;color:#dae5cf;border-radius:5px;background:#283223;padding:5px 9px}.hs-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.hs-toolbar p{margin-top:8px;font-size:12px}.hs-elements{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:18px}.hs-element-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:16px}.hs-element-heading select{width:auto!important}.hs-element{display:flex;flex-direction:column;gap:12px}.hs-element label+label{margin-top:0}.hs-element textarea{min-height:106px}.hs-reference-grid{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.hs-reference-grid>div{width:58px;height:64px;border-radius:6px;position:relative;border:1px solid #3c4048;overflow:hidden}.hs-reference-grid img{width:100%;height:100%;object-fit:cover}.hs-reference-grid .hs-icon{position:absolute;right:0;top:0;background:#111b;min-width:20px;min-height:20px;padding:2px}.hs-generation-bar{background:#1b1e21;border:1px solid #35393b;display:flex;align-items:flex-end;gap:14px;padding:16px 18px;border-radius:12px}.hs-mode{display:flex;background:#111316;padding:3px;border-radius:9px;align-self:flex-end;height:38px}.hs-mode button{display:flex;align-items:center;gap:6px;padding:7px 12px;border:0;background:transparent;color:#9dabb2;border-radius:6px}.hs-mode button.active{background:#333d28;color:var(--hs-accent)}.hs-generation-bar label{font-size:11px;min-width:90px;gap:7px}.hs-model-label{flex:1}.hs-model-note{font-size:11px;margin:12px 0 23px!important}.hs-shot-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:12px}.hs-shot-toolbar>div{display:flex;align-items:center;gap:9px}.hs-shot-toolbar select{width:auto!important}.hs-shots{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px;align-items:start}.hs-shot{padding:0;overflow:hidden}.hs-shot-preview{position:relative;height:205px;background:#0a0c0e;border-bottom:1px solid var(--hs-line);display:grid;place-items:center}.hs-shot-preview img,.hs-shot-preview video{width:100%;height:100%;object-fit:contain;max-height:205px}.hs-shot-number{position:absolute;left:13px;top:13px;border-radius:6px;background:#0b0f12ce;backdrop-filter:blur(6px);padding:5px 8px;font-size:15px;font-weight:600;display:flex;gap:10px;align-items:center}.hs-shot-number span{font-size:10px;color:#a9b2bc;font-weight:400}.hs-shot-check{position:absolute;right:14px;top:14px}.hs-shot-body{padding:18px}.hs-shot-heading{display:flex;align-items:center;gap:3px;margin-bottom:14px}.hs-shot-heading input{background:transparent!important;font-size:14px!important;font-weight:600;border-color:transparent!important;padding:3px 1px!important;min-width:0}.hs-shot-meta{display:grid;grid-template-columns:64px 1fr;gap:10px;margin-bottom:13px}.hs-shot-meta label+label{margin-top:0}.hs-shot-body>label{margin-top:12px}.hs-shot-body>label textarea{min-height:68px;font-size:12px}.hs-shot-body details{margin-top:16px;padding-top:12px;border-top:1px solid var(--hs-line);color:#a8b29a;font-size:11px}.hs-shot-body summary{cursor:pointer}.hs-element-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.hs-element-links label{display:flex;flex-direction:row;align-items:center;gap:4px;font-size:11px;margin:0!important}.hs-output-select{display:flex;align-items:flex-end;gap:6px;margin-top:15px}.hs-output-select label{flex:1;font-size:10px;min-width:0}.hs-output-select select{font-size:11px!important;padding:8px!important}.hs-shot-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:16px}.hs-shot-bottom small{max-width:65%;line-height:1.65}.hs-shot-bottom .hs-secondary{font-size:11px;min-height:31px;padding:6px 9px}.hs-failed{color:#e6a393!important;line-height:1.8}.hs-order-actions{display:flex;gap:12px;margin-top:12px}.hs-order-actions button{font-size:10px;color:#808a95;background:transparent;border:0;padding:2px}.hs-placeholder,.hm-story-placeholder{display:flex;flex-direction:column;align-items:center;gap:11px;font-size:11px;color:#4d555f}.hs-empty-inline{grid-column:1/-1;text-align:center;padding:70px 20px;color:#7c8491;border:1px dashed #30373b;border-radius:12px}.hs-export-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.hs-export-layout h2{margin-bottom:15px}.hs-export-layout p{font-size:12px}.hs-export-stats{display:flex;gap:55px;border-block:1px solid var(--hs-line);padding:26px 0;margin:25px 0}.hs-export-stats>div{display:flex;flex-direction:column;gap:8px}.hs-export-stats strong{font-size:28px;font-weight:500}.hs-export-stats span{color:#929c85;font-size:11px}.hs-export-buttons{display:flex;gap:12px;margin:24px 0 13px;flex-wrap:wrap}.hs-history{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--hs-line)}.hs-history span{display:flex;flex-direction:column;gap:5px;font-size:12px}.hs-empty-project{display:flex;align-items:center;flex-direction:column;gap:20px;padding:110px 20px}.hs-empty-project>svg{color:#899771}.hs-empty-project h2{font-size:27px}.hs-empty-project p{font-size:13px;text-align:center}.hs-welcome{flex:1;padding:90px 14%;background:radial-gradient(ellipse at 80% 45%,#273021 0,transparent 55%)}.hs-welcome h1{font-size:52px;line-height:1.3;letter-spacing:-2px;margin:20px 0}.hs-welcome p{font-size:16px;margin-bottom:28px}.hs-welcome-flow{margin-top:80px;display:flex;align-items:center;gap:18px;color:#a5b58d;font-size:12px}
.hs-modal-backdrop{position:fixed;inset:0;z-index:120;background:#05070cbb;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px}.hs-modal{position:relative;border:1px solid #414740;background:#1a1e1b;border-radius:16px;padding:32px;width:min(480px,100%);max-height:90vh;overflow:auto;box-shadow:0 24px 90px #0008;display:flex;flex-direction:column;gap:20px}.hs-modal h2{font-size:23px}.hs-modal-close{position:absolute;right:12px;top:10px}.hs-modal .hs-failed{font-size:12px}.hs-modal p{font-size:12px}.hs-modal>svg{color:var(--hs-accent)}.hs-picker{width:min(830px,100%)}.hs-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px;max-height:450px;overflow:auto}.hs-picker-grid button{background:#11171a;border:1px solid #3e4843;color:#bcc4bf;border-radius:9px;overflow:hidden;text-align:left;padding:0}.hs-picker-grid img,.hs-picker-grid video{width:100%;height:130px;object-fit:contain}.hs-picker-grid span{font-size:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:9px}.hs-quote-list>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #333d33;padding:9px 0;font-size:12px}.hs-quote-list span{display:flex;flex-direction:column;gap:3px}.hs-quote-total{display:flex;justify-content:space-between;gap:12px;align-items:center}.hs-quote-total strong{font-size:21px;color:var(--hs-accent)}
@media(min-width:1600px){.hs-main{padding-inline:55px}.hs-script-grid{grid-template-columns:minmax(0,1fr) 330px}.hs-shots{grid-template-columns:repeat(auto-fill,minmax(310px,1fr))}}
@media(max-width:1100px){.hs-projects{width:175px;padding-inline:9px}.hs-main{padding:25px 20px 55px}.hs-script-grid{grid-template-columns:minmax(0,1fr) 230px;gap:15px}.hs-panel{padding:19px}.hs-shot{padding:0}.hs-generation-bar{flex-wrap:wrap;gap:10px}.hs-model-label{min-width:200px!important}.hs-export-layout{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:760px){.hm-story-header{height:60px;padding:0 12px;gap:8px}.hs-brand{font-size:16px;gap:6px}.hs-beta,.hs-save-state{display:none}.hs-header-right{gap:7px;font-size:10px}.hs-header-right .hs-secondary{font-size:11px;padding:7px 10px}.hs-layout{flex-direction:column}.hs-projects{width:100%;border-right:0;border-bottom:1px solid var(--hs-line);padding:8px 12px;max-height:170px;flex-shrink:0;display:flex;align-items:center;gap:8px;overflow-x:auto}.hs-projects-title{padding:0;font-size:12px;white-space:nowrap}.hs-project-filter{margin:0;min-width:110px}.hs-project-filter button{font-size:10px;padding:7px}.hs-project{min-width:140px;margin:0}.hs-project strong{max-width:100px}.hs-projects .hs-muted{font-size:10px;white-space:nowrap}.hs-new-project{margin:0;width:auto;white-space:nowrap;min-width:105px;font-size:11px;padding:8px}.hs-project-note{display:none}.hs-main{padding:20px 12px 70px}.hs-project-heading h1{font-size:20px}.hs-project-heading p{font-size:10px}.hs-project-heading .hs-secondary{font-size:10px;padding:7px 9px}.hs-steps{margin-bottom:18px}.hs-steps button{padding:12px 9px;font-size:11px;gap:5px}.hs-steps button svg{display:none}.hs-steps button>span{width:17px;height:17px}.hs-script-grid,.hs-export-layout{grid-template-columns:1fr}.hs-script-input{min-height:300px!important}.hs-panel{padding:18px}.hs-shot{padding:0}.hs-script-footer{flex-wrap:wrap}.hs-elements{grid-template-columns:1fr}.hs-shots{grid-template-columns:1fr}.hs-generation-bar{padding:12px;gap:9px}.hs-generation-bar label{min-width:75px}.hs-model-label{min-width:150px!important}.hs-generation-bar>.hs-primary{flex:1}.hs-mode button{padding:7px 8px}.hs-toolbar h2{font-size:16px}.hs-shot-toolbar{flex-wrap:wrap}.hs-shot-toolbar .hs-secondary{font-size:11px;padding:7px 9px}.hs-shot-preview{height:230px}.hs-shot-preview img,.hs-shot-preview video{max-height:230px}.hs-shot-body textarea{font-size:16px!important}.hs-export-stats{gap:40px}.hs-modal{padding:25px 20px}.hs-empty-project{padding:65px 10px}.hs-empty-project h2{font-size:20px;text-align:center}.hs-welcome{padding:60px 24px}.hs-welcome h1{font-size:36px}.hs-welcome p{font-size:14px}.hs-welcome-flow{flex-wrap:wrap;gap:10px;margin-top:50px}.hs-history small{font-size:10px}}
.studio:has(.hm-story)>.modal-backdrop{z-index:110}.studio:has(.hm-story) .topbar nav{gap:16px}

.hs-ai-panel{margin-top:24px;background:radial-gradient(ellipse at 95% 0,#7c5cff18,transparent 48%),linear-gradient(140deg,#17201d,#13191e);border-color:#b8d99c38}.hs-ai-heading{display:flex;justify-content:space-between;gap:20px;margin-bottom:24px}.hs-ai-heading h2{display:flex;align-items:center;gap:10px;color:#d2eaa9}.hs-ai-heading p,.hs-ai-foot small{color:#a6b1ae;font-size:12px;line-height:1.8}.hs-ai-badge{border:1px solid #b6d59d38;border-radius:30px;padding:8px 12px;color:#bad5ac;font-size:10px;letter-spacing:1px;height:max-content;white-space:nowrap}.hs-ai-controls{display:grid;grid-template-columns:2fr 2fr 2fr 1fr;gap:14px}.hs-ai-panel label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#aab7b0;margin-bottom:14px}.hs-ai-panel input,.hs-ai-panel select,.hs-ai-panel textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #ffffff18;border-radius:8px;padding:11px;background:#0a1013;color:#e0e8df;font:inherit}.hs-ai-panel textarea{min-height:76px;resize:vertical;line-height:1.8}.hs-ai-source{padding:12px 14px;margin:0 0 18px;border:1px solid #ffffff13;border-radius:8px;color:#adbcb2;font-size:12px}.hs-ai-source summary{cursor:pointer}.hs-ai-source pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font:inherit;line-height:1.8}.hs-ai-foot{display:flex;align-items:center;justify-content:space-between;gap:24px}.hs-ai-foot small{max-width:650px}.hs-ai-foot button{flex-shrink:0}.hs-ai-quote{display:flex;justify-content:space-between;gap:24px;border:1px solid #d9d59845;background:#d5c78d08;border-radius:12px;padding:20px;margin-top:22px}.hs-ai-quote p{font-size:12px;color:#c1c0ab;line-height:1.9}.hs-ai-quote small{color:#a5ad9b}.hs-ai-quote>div:last-child{display:flex;gap:10px;align-items:center;flex-shrink:0}.hs-ai-history{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:18px 0;font-size:11px}.hs-ai-history>span{white-space:nowrap;color:#8d9d95}.hs-ai-history button{border:1px solid #ffffff1c;background:#ffffff04;color:#a8b8ae;border-radius:20px;padding:9px 12px;white-space:nowrap;cursor:pointer}.hs-ai-history button.active{border-color:#bcd99b80;color:#d2e8b7;background:#bcd99b0b}.hs-ai-result{border-top:1px solid #ffffff12;margin-top:12px;padding-top:24px}.hs-ai-result-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.hs-ai-result-title h3{margin:0 0 8px}.hs-ai-result-title small{color:#8f9f96;overflow-wrap:anywhere;font-size:11px}.hs-ai-entities{margin-top:24px}.hs-ai-entities h4{margin:0 0 6px}.hs-ai-entities>small{color:#91a598;font-size:11px}.hs-ai-entities>div{display:grid;grid-template-columns:40px 110px 1fr;gap:12px;align-items:center;margin:12px 0;font-size:12px}.hs-ai-entities>div>span{color:#92ad9d}.hs-ai-entities textarea{min-height:52px}.hs-ai-preview{display:flex;flex-direction:column;gap:18px;margin:24px 0}.hs-ai-preview>article{display:flex;gap:18px;border:1px solid #ffffff16;border-radius:12px;padding:20px;background:#080f124d}.hs-ai-number{font-size:26px;color:#bdd7a3;font-weight:300;min-width:36px;line-height:44px}.hs-ai-preview-body{flex:1;min-width:0}.hs-ai-preview-body>input{font-weight:600;margin-bottom:16px;border-color:transparent;background:transparent;padding-left:0}.hs-ai-shot-meta{display:grid;grid-template-columns:1fr 2fr auto;align-items:center;gap:12px;font-size:11px;color:#9cae9e}.hs-ai-shot-meta label{min-width:0}.hs-ai-preview details{font-size:12px;color:#a3b6a8}.hs-ai-preview details summary{margin-bottom:12px;cursor:pointer}.hs-ai-apply{display:flex;flex-direction:column;gap:12px;align-items:flex-start;border-top:1px solid #ffffff13;padding-top:20px}.hs-ai-panel .hs-ai-check{display:flex;flex-direction:row;align-items:center;line-height:1.8;gap:10px;margin:0}.hs-ai-panel input[type=checkbox]{width:17px;height:17px;flex-shrink:0;accent-color:#b2d48c}.hs-ai-message{display:flex;gap:10px;align-items:center;font-size:12px;color:#b8d99e;line-height:1.8}.hs-ai-panel .hs-element-links{display:flex;flex-wrap:wrap;gap:10px}.hs-ai-panel .hs-element-links label{flex-direction:row;align-items:center}.hs-ai-panel .hs-sync-warning button{margin:10px}
.hm-story .hs-ai-controls{align-items:end}.hm-story .hs-ai-panel{background:radial-gradient(ellipse at 95% 0,#7c5cff12,transparent 48%),linear-gradient(140deg,#17201d,#13191e);border-color:#b8d99c38}
@media(max-width:1000px){.hs-ai-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.hs-ai-quote{flex-direction:column}}
@media(max-width:760px){.hs-ai-panel{padding:18px 14px}.hs-ai-heading{gap:10px;margin-bottom:18px}.hs-ai-heading h2{font-size:20px}.hs-ai-badge{display:none}.hs-ai-controls{gap:10px}.hs-ai-controls>label:first-child{grid-column:1/-1}.hs-ai-panel select,.hs-ai-panel input{min-height:44px;font-size:14px}.hs-ai-panel textarea{font-size:16px}.hs-ai-foot{flex-direction:column;align-items:stretch;gap:12px}.hs-ai-foot button{width:100%;justify-content:center}.hs-ai-result-title{align-items:flex-start;flex-direction:column}.hs-ai-preview>article{padding:14px 10px;gap:10px}.hs-ai-number{min-width:24px;font-size:20px}.hs-ai-shot-meta{grid-template-columns:1fr 1fr}.hs-ai-shot-meta>span{grid-column:1/-1;margin-bottom:12px}.hs-ai-entities>div{grid-template-columns:40px 1fr}.hs-ai-entities textarea{grid-column:1/-1}.hs-ai-quote{padding:15px}.hs-ai-quote>div:last-child{justify-content:space-between}.hs-ai-apply{align-items:stretch}.hs-ai-apply>button{justify-content:center;min-height:46px}}

.hs-sync-warning,.hs-parameter-warning,.hs-draft-status{padding:12px 16px;margin:12px 0;border:1px solid #dfbb6b40;border-radius:10px;background:#dfbb6b0a;color:#e7d7ae;font-size:12px;line-height:1.7}.hs-parameter-warning{display:flex;align-items:center;justify-content:space-between;gap:12px}.hs-draft-status{border-color:#a0c2b02b;color:#9db5a8;background:#a0c2b008}.hs-input-warning{font-size:11px;line-height:1.7;color:#e2bd85}.hs-drag-handle{cursor:grab;font-size:20px;flex-shrink:0}.hs-drag-handle:active{cursor:grabbing}.hs-shot.hs-dragging{opacity:.5;outline:1px solid #c7e397}.hs-shot-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.hs-reference-index{position:absolute;left:3px;top:3px;z-index:1;background:#101820cc;padding:1px 5px;border-radius:4px;color:#fff;font-size:11px}.hs-reference-move{position:absolute;bottom:2px;left:3px;border:0;background:#101820dd;color:#fff;border-radius:4px;cursor:pointer}.hs-reference-grid audio{width:100%;height:65px}.hs-reference-grid~small{display:block;margin-top:9px;color:#9ba7a0;font-size:11px;line-height:1.7}.hs-generation-bar select{max-width:100%}.hs-model-label{flex:1;min-width:200px}.hs-shot-heading input{min-width:0}.hs-order-actions button{min-height:36px;min-width:64px}.hs-picker-grid audio{max-width:100%}
@media(max-width:760px){.hs-parameter-warning{align-items:flex-start;flex-direction:column}.hs-generation-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hs-generation-bar .hs-model-label{grid-column:1/-1;min-width:0!important}.hs-generation-bar label{min-width:0}.hs-generation-bar>.hs-primary{grid-column:1/-1}.hs-generation-bar select{width:100%;min-height:40px}.hs-shot-toolbar select{min-height:40px;max-width:145px}.hs-shot-toolbar button{min-height:40px}.hs-draft-status{font-size:11px}.hs-order-actions button{min-height:42px;flex:1}.hs-order-actions{gap:12px}.hs-reference-grid audio{width:100%}.hs-drag-handle{display:none}}

@media(max-width:760px){.hm-story .hs-generation-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px}.hm-story .hs-generation-bar .hs-mode{grid-column:1/-1;display:flex;width:100%}.hm-story .hs-generation-bar .hs-mode button{flex:1;min-height:40px}.hm-story .hs-generation-bar .hs-model-label{grid-column:1/-1;min-width:0!important}.hm-story .hs-generation-bar label{min-width:0}.hm-story .hs-generation-bar>.hs-primary{grid-column:1/-1}.hm-story .hs-generation-bar select{width:100%;min-height:42px}.hm-story .hs-project-heading{align-items:flex-start}.hm-story .hs-project-heading>div:last-child{flex-shrink:0}}

/* HM's original cinema identity, scoped to the short-drama workspace. */
.hm-story{--hs-bg:#0b0d14;--hs-panel:#151820;--hs-line:#2b3041;--hs-muted:#949caf;--hs-accent:#b0bcff;color:#edf0fa;background:#0b0d14}
.hm-story button{transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.hm-story .hs-primary{background:linear-gradient(115deg,#d0d6ff,#a4b4ff 60%,#b8a6f3);color:#141b36;border-color:#cad2ff66;box-shadow:0 3px 20px #8299ff17}
.hm-story .hs-primary:hover:not(:disabled){background:linear-gradient(115deg,#e5e8ff,#bbc8ff 60%,#d1baff);box-shadow:0 4px 24px #8299ff38}
.hm-story .hs-secondary{background:#202532;border-color:#343b50;color:#d3daee}
.hm-story .hs-secondary:hover:not(:disabled){background:#2c3345;border-color:#647199}
.hm-story input:not([type=checkbox]),.hm-story textarea,.hm-story select{background:#0f121b;color:#e6eafa;border-color:#303749}
.hm-story input::placeholder,.hm-story textarea::placeholder{color:#758096}
.hm-story-header{height:72px;background:#10131ceF;border-color:#31374b;gap:18px;padding-inline:26px;box-shadow:0 3px 24px #0003;z-index:2}
.hs-brand{letter-spacing:0;font-size:19px;gap:10px}.hs-brand svg{color:#b9c6ff}.hs-brand>span{color:#c0c8dc;font-size:16px}
.hs-beta{color:#8e9abc;border-color:#353e59;letter-spacing:1.5px;font-size:9px;border-radius:4px;padding:6px 8px}
.hs-header-right{gap:14px}.hs-wallet{color:#c2cbe4;font-size:12px;font-variant-numeric:tabular-nums}
.hs-projects{width:216px;background:#10131b;border-color:#242b3c;padding:24px 14px}
.hs-project-filter{background:#090c13}.hs-project-filter button.active{color:#dce2ff;background:#293148}
.hs-project.active{background:#202a41;border-color:#3b4c75}.hs-new-project{border-color:#404d70;color:#b9c8fa}.hs-project-note{color:#727f9f}
.hs-main{padding:32px 34px 64px;background:radial-gradient(ellipse at 92% 0,#5b64a21a,transparent 43%),#0b0d14;scrollbar-color:#384259 #0e1018}
.hm-story .hs-eyebrow{color:#909fc5;letter-spacing:2.2px;font-size:9px;line-height:1.7}
.hs-project-heading h1{font-size:27px;letter-spacing:.2px;font-weight:600}.hs-project-heading p{font-size:11px;color:#8e99b4}
.hs-panel{border-color:#2b3243;background:linear-gradient(145deg,#181d29,#131720);box-shadow:0 8px 28px #00000012;border-radius:14px}
.hs-steps{border-color:#2a3144}.hs-steps button{color:#939db5;padding:14px 19px;font-size:12px}.hs-steps button.active{color:#c5ceff;border-color:#b0bcff}.hs-steps button>span{background:#252e46;color:#a3b4e8}
.hs-guide{background:#1b2334;border-color:#354260}.hs-guide p{color:#a8b4d0}.hs-guide svg{color:#b0bcff}
.hs-generation-bar{background:#171d2b;border-color:#34405b;padding:16px;border-radius:13px}
.hs-mode{background:#0e131e}.hs-mode button.active{background:#2f3d60;color:#c2d0ff}.hs-mode button{font-size:12px}
.hs-alert{background:#31222b;border-color:#613c4d;color:#ffc0cc}.hs-notice,.hs-recovery{background:#1c2a34;border-color:#375768;color:#bcdfed}
.hs-recovery button,.hs-alert>button:not(.hs-icon){background:#273349;border-color:#4c5a78;color:#dbe3ff}
.hs-shot{padding:0;border-color:#30394d;scroll-margin-top:16px}.hs-shot-preview{background:#0c101c;border-color:#2d3548}
.hs-shot-body details{border-color:#2e354a;color:#a8b8e1}.hs-order-actions button{font-size:11px;color:#9baacc}
.hs-modal{background:linear-gradient(140deg,#1b2233,#131722);border-color:#465373;box-shadow:0 24px 100px #0009}
.hs-modal-backdrop{background:#040711c9;backdrop-filter:blur(9px)}.hs-quote-list>div{border-color:#333d53}.hs-quote-total strong{color:#c4d0ff}
.hs-export-stats span{color:#a0aecf}.hs-history{border-color:#30394c}.hs-save-state{color:#95b5bb}
.hs-cinematic-art{display:block;width:100%;height:100%;object-fit:cover;overflow:hidden}
.hs-cinema-welcome{position:relative;isolation:isolate;padding:0;background:#10162a;overflow:auto;flex:1;min-height:0}
.hs-cinema-welcome>.hs-cinematic-art{position:absolute;inset:0;z-index:-3}.hs-cinema-welcome>.hs-cinematic-art.hero{width:100%;height:100%;transform:scale(1.04)}
.hs-cinema-vignette{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#080d1af5 0%,#10172ad9 30%,#141c3560 62%,#0a101a22 100%),linear-gradient(0deg,#080c19f2,transparent 40%,#090f2466);pointer-events:none}
.hs-cinema-copy{padding:clamp(56px,9vh,130px) clamp(30px,7vw,120px) 92px;max-width:900px;position:relative}
.hs-live-label{display:inline-flex;align-items:center;gap:8px;border:1px solid #a7b9ef30;background:#7782ad0e;border-radius:30px;padding:7px 13px;font-size:10px;color:#b3c1e2;margin:22px 0 8px}
.hs-live-label>span{width:5px;height:5px;border-radius:50%;background:#b2c8ff;box-shadow:0 0 10px #87a2ff}
.hs-welcome .hs-cinema-copy h1{font-size:clamp(38px,4.7vw,70px);font-weight:550;line-height:1.28;letter-spacing:-1.8px;margin:20px 0 23px;color:#edf2ff;text-shadow:0 4px 32px #0004}
.hs-cinema-copy h1>span,.hs-lobby-copy h1>span{display:block;color:#b5c7ff;background:linear-gradient(100deg,#e2e8ff,#b2c5ff 45%,#c0aef2);background-clip:text;-webkit-text-fill-color:transparent}
.hs-welcome .hs-cinema-copy p{font-size:15px;line-height:1.9;color:#afbed8;margin-bottom:32px}
.hs-hero-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.hs-hero-actions .hs-primary{min-height:44px;padding-inline:20px}.hs-hero-actions .hs-secondary{min-height:44px;background:#1b233dcc;border-color:#899fdc44;backdrop-filter:blur(8px)}
.hs-cinema-copy .hs-welcome-flow{margin-top:54px;color:#99afd5;font-size:11px;gap:11px;flex-wrap:wrap}
.hs-hero-footnote{margin-top:26px;display:flex;gap:23px;font-size:10px;color:#8094b8;flex-wrap:wrap}
.hs-hero-footnote>span+span:before{content:"/";margin-right:20px;color:#4c6286}
.hs-frame-caption{position:absolute;right:40px;bottom:34px;display:flex;flex-direction:column;gap:10px;align-items:flex-end;pointer-events:none}
.hs-frame-caption>span{font-size:11px;letter-spacing:3px;color:#b7c7eb}.hs-frame-caption small{font-size:8px;letter-spacing:1.6px;color:#7487aa}
.hs-lobby-hero{position:relative;isolation:isolate;min-height:348px;overflow:hidden;border-radius:18px;border:1px solid #394769;box-shadow:0 18px 65px #12193355;margin-bottom:36px}
.hs-lobby-hero>.hs-cinematic-art{position:absolute;inset:0;z-index:-2;object-fit:cover}.hs-lobby-hero>.hs-cinema-vignette{background:linear-gradient(90deg,#0c1224fa,#131f37b0 45%,#16234222),linear-gradient(0deg,#0c1027aa,transparent)}
.hs-lobby-copy{padding:38px 38px 32px;max-width:680px}.hs-lobby-copy h1{font-size:42px;font-weight:550;line-height:1.26;letter-spacing:-1px;margin:14px 0 17px}.hs-lobby-copy h1>span{display:inline}
.hs-lobby-copy p{font-size:12px;color:#b8c5e1;margin-bottom:23px}.hs-lobby-copy>small{display:block;margin-top:18px;color:#8ca0c6;font-size:10px}
.hs-lobby-art-label{position:absolute;bottom:20px;right:24px;font-size:8px;letter-spacing:1.8px;color:#9eb1d7}
.hs-lobby-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}.hs-lobby-title h2{font-size:20px}
.hs-production-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:20px}
.hs-production{padding:0;text-align:left;border-radius:12px;overflow:hidden;border:1px solid #30394e;background:#171d29;color:#edf0ff;min-width:0}
.hs-production:hover:not(:disabled){border-color:#7f90c4;box-shadow:0 10px 35px #16244666}.hs-production-cover{height:165px;position:relative}
.hs-production-cover>span{position:absolute;bottom:14px;left:18px;background:#12192aca;padding:5px 8px;letter-spacing:1.8px;font-size:8px;color:#c2d1f6;border:1px solid #bacbff22}
.hs-production>div:not(.hs-production-cover){padding:19px}.hs-production h3{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-production p{font-size:11px;margin-top:9px}.hs-production small{display:flex;justify-content:space-between;font-size:10px;margin-top:17px;color:#8494b8}
.hs-production-new{min-height:285px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-style:dashed;background:radial-gradient(ellipse at 50% 35%,#313c5e33,transparent 75%),#111722;text-align:center;padding:20px}
.hs-production-new>span{width:48px;height:48px;border-radius:50%;border:1px solid #61729c66;background:#26314b66;display:grid;place-items:center;color:#b4c5f5;margin-bottom:21px}.hs-production-new h3{font-size:14px}.hs-production-new p{color:#7f91b5;font-size:11px}
.hs-project-director{display:flex;align-items:center;gap:8px;margin:0 0 17px;padding:13px 16px;background:linear-gradient(105deg,#1c2540,#191d2d);border:1px solid #394660;border-radius:10px}
.hs-project-director>div{display:flex;align-items:center;gap:11px;flex:1;min-width:0;color:#a8baff}.hs-project-director>div>span{display:flex;flex-direction:column;gap:5px;color:#8e9bbe;font-size:10px;min-width:0}
.hs-project-director strong{color:#d9e1fb;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hs-project-director .hs-secondary{font-size:11px;padding:7px 11px}
.hs-settings-style{position:relative;display:block;width:100%;height:130px;border:1px solid #55668e;border-radius:9px;overflow:hidden;padding:0;text-align:left;margin-bottom:23px;background:#17243a}
.hs-settings-style>.hs-cinematic-art{position:absolute;inset:0}.hs-settings-style>span{position:absolute;inset:0;background:linear-gradient(0deg,#0a101deb,transparent);padding:44px 15px 12px;display:flex;flex-direction:column;gap:6px}
.hs-settings-style small{color:#acbcdf;font-size:8px;letter-spacing:1.5px}.hs-settings-style strong{font-size:13px;color:#f1f4ff;font-weight:500}.hs-settings-style>span>span{display:flex;align-items:center;justify-content:space-between;color:#b6c5e6;font-size:9px}
.hs-settings .hs-guide{padding:16px;margin-top:19px}.hs-settings .hs-guide h3{font-size:12px}.hs-settings .hs-guide p{font-size:11px}
.hs-scene-outline{border-top:1px solid #2b3449;padding-top:23px;margin-top:26px}.hs-scene-outline h3{font-size:12px;color:#c1cde9;margin-bottom:12px;font-weight:500}
.hs-scene-outline>button{display:flex;align-items:center;gap:9px;background:transparent;border:0;width:100%;padding:10px 8px;color:#acbadd;text-align:left;border-radius:7px;font-size:11px}
.hs-scene-outline>button:hover{background:#242e46}.hs-scene-outline>button>span{color:#687ca3;font-size:10px}.hs-scene-outline strong{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hs-scene-outline small{margin-left:auto;font-size:9px;color:#657ca8}
.hs-shot-director{display:flex;align-items:center;gap:2px;border:1px solid #3a4865;background:#232d4229;border-radius:7px;margin:9px 0 15px;padding:4px}
.hs-shot-style-button{display:flex;align-items:center;gap:5px;flex:1;min-width:0;color:#aebfee;background:transparent;border:0;padding:7px 4px;font-size:10px}
.hs-shot-style-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left}.hs-shot-director>.hs-icon{min-width:23px;min-height:24px;padding:3px}
.hs-prompt-preview{border-top:1px solid #333e54;padding-top:12px;font-size:11px;color:#a9b8dc}
.hs-prompt-preview summary{cursor:pointer;font-size:11px;line-height:1.8}.hs-prompt-preview p{font-size:10px;margin:12px 0 8px;line-height:1.8}
.hs-prompt-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.9 Inter,"Microsoft YaHei",sans-serif;color:#b8c5e3;background:#101623;border:1px solid #2a3650;padding:12px;border-radius:7px;margin:12px 0;max-height:320px;overflow:auto}
.hs-shot-body .hs-prompt-preview{margin-top:16px}.hs-shot-body .hs-prompt-preview summary{color:#a6b8e9}.hs-new-style-note{display:flex;gap:8px;align-items:center}
.hs-director-backdrop{padding:24px;z-index:125}.hs-director-modal{background:#121722;border:1px solid #4a5875;border-radius:17px;width:min(1230px,100%);height:min(790px,90vh);display:flex;flex-direction:column;min-height:0;box-shadow:0 24px 120px #0009;outline:0;overflow:hidden}
.hs-director-header{display:flex;align-items:center;justify-content:space-between;padding:23px 27px 18px;flex-shrink:0;background:linear-gradient(90deg,#1e274035,#121722)}
.hs-director-header h2{font-size:20px;font-weight:500}.hs-director-header h2>span{font-size:11px;color:#8493b5;margin-left:14px;font-weight:400}
.hs-director-header .hs-eyebrow{font-size:8px;margin-bottom:6px}
.hs-director-controls{display:flex;align-items:center;gap:12px;padding:0 27px 16px;border-bottom:1px solid #2e374d;flex-shrink:0;flex-wrap:wrap}
.hs-director-tabs{display:flex;gap:20px;flex:1;min-width:330px;align-items:center}.hs-director-tabs>button{padding:10px 1px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#8997b5;font-size:12px;white-space:nowrap}
.hs-director-tabs>button.active{color:#dde5ff;border-bottom-color:#adbcff}.hs-director-tabs>button:hover{color:#edf0ff}
.hm-story .hs-director-search{flex-direction:row;align-items:center;gap:0;background:#0c121e;border:1px solid #303d59;border-radius:8px;padding-left:11px;color:#7f94bb;width:195px;min-width:0}
.hm-story .hs-director-search input{border:0;background:transparent;padding:8px;font-size:11px;min-height:35px;width:160px;min-width:0}
.hs-director-controls>.hs-secondary{font-size:11px;padding:8px 12px;min-height:37px}
.hs-director-content{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 302px;min-height:0}
.hs-director-gallery{padding:20px 24px 25px;overflow:auto;min-width:0;scrollbar-color:#3b4763 #141b2b}
.hs-director-filter{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;font-size:10px;color:#8594b5}
.hm-story .hs-director-filter select{width:auto;font-size:10px;min-height:30px;padding:5px 8px}
.hs-director-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hs-director-card{position:relative;border:1px solid #2e394e;border-radius:10px;background:#1b2230;overflow:hidden;min-width:0}
.hs-director-card.selected{border-color:#bac8ff;box-shadow:0 0 0 1px #a8baff55,0 8px 25px #121d3955}
.hs-director-card:hover{border-color:#7285b4}.hs-director-card-main{display:block;border:0;padding:0;width:100%;text-align:left;background:transparent;color:#e4ebff;border-radius:0}
.hs-director-cover{height:140px;position:relative;overflow:hidden;isolation:isolate}.hs-director-cover:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#060c1ced,transparent 80%);pointer-events:none}
.hs-director-cover .hs-cinematic-art{transition:transform .35s ease}.hs-director-card-main:hover .hs-cinematic-art{transform:scale(1.035)}
.hs-skill-tag{position:absolute;top:11px;left:11px;padding:4px 6px;background:#152037b5;border:1px solid #a6bbeb40;border-radius:4px;font-size:7px;letter-spacing:.8px;color:#d4e1ff;z-index:2}
.hs-director-card-title{position:absolute;bottom:13px;left:13px;right:12px;z-index:2}.hs-director-card-title>small{font-size:9px;color:#abbbdc}
.hs-director-card-title h3{font-size:13px;line-height:1.7;font-weight:500;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-director-card-main>p{padding:12px 13px 14px;color:#8f9eba;font-size:10px;line-height:1.8;min-height:61px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hs-favorite{position:absolute;top:9px;right:9px;border:1px solid #b3c6fb44;background:#0c152580;color:#c8d6f6;border-radius:6px;display:grid;place-items:center;width:29px;height:29px;z-index:3;padding:0}
.hs-favorite.active{color:#f2d299;background:#393548b8}.hs-favorite.active svg{fill:#f2d299}.hs-favorite:hover{background:#354264}
.hs-style-applied{position:absolute;top:47px;left:11px;z-index:2;font-size:8px;color:#d0e6ff;display:flex;gap:3px;align-items:center;text-shadow:0 1px 4px #000}
.hs-director-detail{border-left:1px solid #303b52;background:#101624;overflow:auto;padding:22px 21px;min-width:0;scrollbar-color:#3a4763 #141b2b}
.hs-detail-cover{position:relative;height:124px;overflow:hidden;border-radius:9px;border:1px solid #3a4966;margin-bottom:21px}.hs-detail-cover>span{position:absolute;bottom:10px;left:12px;color:#d6e5ff;background:#13213bd0;padding:4px 7px;font-size:9px;border-radius:4px}
.hs-detail-heading{display:flex;align-items:flex-start;gap:8px;color:#bdccf5}.hs-detail-heading>svg{margin-top:1px;flex-shrink:0}.hs-detail-heading h3{font-size:15px;font-weight:500;line-height:1.5;color:#e0e8ff}
.hs-director-detail>p{font-size:11px;margin-top:10px;color:#8e9fc0;line-height:1.85}
.hs-director-detail dl,.hs-apply-rules{margin:18px 0 21px;display:flex;flex-direction:column;gap:15px}.hs-director-detail dt,.hs-apply-rules dt{font-size:10px;color:#b0c3ed;line-height:1.8;margin-bottom:4px}
.hs-director-detail dd,.hs-apply-rules dd{margin:0;font-size:11px;line-height:1.9;color:#8c9cbe;overflow-wrap:anywhere}
.hs-director-detail-actions{display:flex;flex-direction:column;gap:9px;border-top:1px solid #2d3b56;padding-top:18px}.hs-director-detail-actions>button{font-size:12px}.hs-director-detail-actions>small{font-size:9px;text-align:center;line-height:1.8}
.hs-back-to-gallery{display:none}
.hs-director-modal>.hs-alert,.hs-director-modal>.hs-notice{margin:12px 24px 0;padding:9px 12px;flex-shrink:0;font-size:11px}
.hs-editor-backdrop{z-index:130}.hs-style-editor{width:min(660px,100%);gap:17px}.hs-style-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.hs-style-editor-fields label{margin:0!important;font-size:11px}.hs-style-editor-fields textarea{min-height:100px;font-size:12px}
.hs-apply-modal{width:min(590px,100%);gap:18px}.hs-apply-art{height:142px;overflow:hidden;border-radius:8px;border:1px solid #3d4c6c;flex-shrink:0}
.hs-style-change{display:flex;align-items:center;gap:10px;font-size:12px;flex-wrap:wrap;color:#94a3c2}.hs-style-change strong{color:#d0dcff;font-weight:500}
.hs-apply-rules{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:16px;border:1px solid #2f3d57;border-radius:9px;padding:16px}.hs-apply-rules dd{font-size:10px}
@media(min-width:1600px){.hs-director-modal{width:1360px}.hs-director-content{grid-template-columns:minmax(0,1fr) 324px}.hs-director-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hs-main{padding-inline:48px}.hs-lobby-hero{min-height:410px}.hs-lobby-copy{padding:48px}.hs-lobby-copy h1{font-size:49px}.hs-director-cover{height:145px}}
@media(max-width:1180px){.hs-projects{width:182px;padding-inline:10px}.hs-main{padding:26px 22px 60px}.hs-director-content{grid-template-columns:minmax(0,1fr) 280px}.hs-director-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hs-director-tabs{gap:17px}.hs-director-header h2>span{display:none}.hs-director-search{width:170px!important}.hs-director-search input{width:135px!important}}
@media(max-width:760px){
  .hm-story-header{height:62px;padding:0 12px;gap:8px}.hs-brand{font-size:16px;gap:5px}.hs-brand>span{font-size:14px}.hs-header-right{gap:7px}.hs-wallet{display:none}.hs-library-button{font-size:10px!important;padding:7px 9px!important}.hs-library-button>svg{width:13px}
  .hs-projects{width:100%;padding:9px 12px;max-height:105px}.hs-scene-outline{display:none}.hs-main{padding:20px 12px 50px}.hs-project-heading{align-items:flex-start;flex-wrap:wrap}.hs-project-heading h1{font-size:21px}.hs-project-heading p{font-size:10px}.hs-project-heading>div:last-child{margin-left:auto}
  .hs-project-director{padding:10px;gap:3px}.hs-project-director>div{gap:7px}.hs-project-director strong{font-size:10px;max-width:170px}.hs-project-director>div>span{font-size:9px}.hs-project-director .hs-secondary{font-size:10px;padding:6px 7px;gap:4px}.hs-project-director .hs-secondary>svg{display:none}
  .hs-steps button{padding:11px 9px;font-size:11px;gap:5px}.hs-steps button svg{display:none}.hs-script-grid,.hs-export-layout{grid-template-columns:1fr}.hs-settings-style{height:154px}.hs-settings-style>span{padding-top:65px}
  .hs-cinema-copy{padding:45px 24px 115px}.hs-welcome .hs-cinema-copy h1{font-size:39px;letter-spacing:-1px;margin:19px 0}.hs-welcome .hs-cinema-copy p{font-size:13px}.hs-live-label{margin-top:20px;font-size:9px}.hs-cinema-copy .hs-welcome-flow{margin-top:38px;gap:7px;font-size:10px}.hs-hero-footnote{gap:11px;margin-top:22px}.hs-hero-footnote>span+span:before{display:none}.hs-frame-caption{right:22px;bottom:23px;left:24px;align-items:flex-start;gap:6px}.hs-frame-caption>span{font-size:9px;letter-spacing:1.6px}.hs-frame-caption small{font-size:7px}.hs-cinema-welcome .hs-cinema-vignette{background:linear-gradient(90deg,#0c1421ee,#121d3488),linear-gradient(0deg,#080c19f0,transparent 65%)}
  .hs-lobby-hero{min-height:330px;border-radius:13px;margin-bottom:27px}.hs-lobby-copy{padding:27px 22px 44px}.hs-lobby-copy h1{font-size:31px;margin:12px 0 18px}.hs-lobby-copy p{font-size:11px;max-width:230px}.hs-lobby-copy .hs-hero-actions{gap:8px}.hs-hero-actions .hs-primary,.hs-hero-actions .hs-secondary{font-size:11px;min-height:39px;padding-inline:12px}.hs-lobby-art-label{right:15px;bottom:14px;font-size:6px}.hs-lobby-title h2{font-size:17px}.hs-production-grid{grid-template-columns:1fr 1fr;gap:12px}.hs-production-cover{height:109px}.hs-production>div:not(.hs-production-cover){padding:12px}.hs-production h3{font-size:12px}.hs-production p{font-size:9px}.hs-production small{font-size:8px;margin-top:12px}.hs-production-cover>span{font-size:6px;left:9px;bottom:9px}.hs-production-new{min-height:210px;padding:12px}.hs-production-new h3{font-size:12px}.hs-production-new>span{width:38px;height:38px;margin-bottom:16px}
  .hs-director-backdrop{padding:10px}.hs-director-modal{height:calc(100dvh - 20px);width:100%;border-radius:13px;max-height:none}.hs-director-header{padding:17px 16px 10px}.hs-director-header h2{font-size:17px}.hs-director-controls{padding:0 15px 12px;gap:9px}.hs-director-tabs{width:100%;min-width:0;flex-basis:100%;gap:22px;overflow-x:auto}.hs-director-tabs>button{font-size:11px;padding:9px 1px}.hs-director-controls .hs-director-search{width:auto!important;flex:1}.hs-director-search input{width:100%!important;font-size:12px!important}.hs-director-controls>.hs-secondary{font-size:10px;padding-inline:9px}
  .hs-director-content{display:block;overflow:auto;min-height:0}.hs-director-gallery{padding:15px;overflow:visible}.hs-director-grid{grid-template-columns:1fr 1fr;gap:11px}.hs-director-cover{height:116px}.hs-director-card-title{left:10px;bottom:10px}.hs-director-card-title h3{font-size:11px;letter-spacing:-.2px}.hs-director-card-title small{font-size:8px}.hs-director-card-main>p{font-size:9px;padding:10px;min-height:54px}.hs-skill-tag{font-size:6px;left:8px;top:8px;padding:3px 4px;letter-spacing:.3px}.hs-favorite{top:7px;right:7px;width:25px;height:25px}.hs-favorite svg{width:14px}.hs-style-applied{top:38px;left:8px;font-size:7px}
  .hs-director-detail{padding:19px 17px;border-left:0;border-top:1px solid #334563;overflow:visible}.hs-back-to-gallery{display:flex;margin-bottom:15px;font-size:11px}.hs-detail-cover{height:130px}.hs-director-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hs-director-detail dd{font-size:10px}.hs-director-detail-actions{position:sticky;bottom:-1px;background:#101624f0;padding:13px 0 12px;backdrop-filter:blur(8px)}.hs-director-detail-actions>button{min-height:41px}
  .hs-director-modal>.hs-alert,.hs-director-modal>.hs-notice{margin:9px 15px 0;font-size:10px;padding:8px}.hs-style-editor-fields{grid-template-columns:1fr}.hs-apply-rules{grid-template-columns:1fr}.hs-style-editor input,.hs-style-editor textarea,.hs-style-editor select{font-size:16px!important}.hs-style-editor label{font-size:12px}
  .hs-shot-style-button{font-size:10px}.hs-shot-body .hs-prompt-preview pre{font-size:11px}.hs-modal{max-height:calc(100dvh - 30px)}
}
@media(max-width:370px){.hs-library-button{font-size:9px!important}.hs-library-button>svg{display:none}.hs-director-tabs{gap:16px}.hs-director-cover{height:104px}.hs-project-director strong{max-width:130px}.hs-director-card-title h3{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hm-story *{transition:none!important;scroll-behavior:auto!important}}

/* Keep floating support controls from intercepting actions inside the material dialog. */
body:has(.hm-gen-library-overlay) .support-widget {
  visibility: hidden;
  pointer-events: none;
}
