.dreamill{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c0d10;--shell:#121419;--panel:#181b21;--panel-2:#1e222a;--line:#2b303a;--text:#f5f4f0;--dm-muted:#9ca3b2;--accent:#ffb65c;--accent-strong:#ff9f2f;--accent-soft:#ffb65c1f;--success:#63c59b;--danger:#ff7c87;--auth-wall:#07080b;--auth-wall-fade:#07080b;--auth-tile:#14171d;--radius:14px;--nav-width:190px;--assistant-width:310px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.dreamill,.dreamill *{box-sizing:border-box}.dreamill{background:var(--bg);min-height:100%;color:var(--text);min-height:100vh;margin:0}.dreamill button,.dreamill input,.dreamill select,.dreamill textarea{font:inherit}.dreamill button{cursor:pointer}.dreamill button:focus-visible,.dreamill input:focus-visible,.dreamill select:focus-visible,.dreamill textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dreamill [data-slot=input-group-control]:focus,.dreamill [data-slot=input-group-control]:focus-visible{outline:none}.dreamill .app{grid-template-columns:var(--nav-width) minmax(0, 1fr);background:radial-gradient(circle at 50% -10%, #ffb65c12, transparent 34%), var(--bg);min-height:100vh;display:grid}.dreamill .sidebar{border-right:1px solid var(--line);background:#0f1115;flex-direction:column;gap:12px;height:100vh;padding:8px 12px 12px;display:flex;position:sticky;top:0}.dreamill .sidebar:has(.is-confirming){z-index:30}.dreamill .sidebar:has(.dm-support-panel){z-index:100}.dreamill .sidebar:has(.sidebar-project.is-picker-open){z-index:90}.dreamill .brand{align-items:center;padding:2px 4px 8px;display:flex}.dreamill .brand-link{border-radius:11px;align-items:center;padding:0;display:flex}.dreamill .dreamill-logo{align-items:center;gap:2px;display:inline-flex}.dreamill .dreamill-logo img{flex:none;max-width:none;height:auto;display:block}.dreamill .dreamill-logo .logo-mark{width:40px}.dreamill .dreamill-logo .logo-word{width:110px}.dreamill .dreamill-logo .logo-light,.dreamill[data-theme=light] .dreamill-logo .logo-dark{display:none}.dreamill[data-theme=light] .dreamill-logo .logo-light{display:block}.dreamill .nav-group{flex:1;align-content:start;gap:5px;min-height:0;display:grid;overflow:auto}:is(.dreamill .nav-group:has(.is-confirming),.dreamill .nav-group:has(.stage-menu.is-open)){overflow:visible}.dreamill .nav-separator{background:var(--line);height:1px;margin:8px 0}.dreamill .nav-home-logo{align-items:center;margin-left:auto;display:none}.dreamill .nav-label{color:#707887;letter-spacing:.09em;text-transform:uppercase;padding:8px 10px 6px;font-size:11px}.dreamill .nav-button{width:100%;min-height:42px;color:var(--dm-muted);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:0 11px;display:flex}.dreamill .nav-button:hover{color:var(--text);background:#ffffff0d}.dreamill .nav-button.active{background:var(--accent-soft);color:var(--accent)}.dreamill .nav-icon{border:1px solid;border-radius:7px;flex:none;place-items:center;width:22px;height:22px;font-size:11px;display:grid}.dreamill .sidebar-footer{margin-top:auto}.dreamill .dm-support{justify-content:flex-start;margin:0 10px 8px;padding:0;display:flex;position:relative}.dreamill .nav-collapsed .dm-support{justify-content:center;margin:0 0 8px}.dreamill .dm-support-launch{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:999px;width:36px;height:36px}.dreamill .dm-support-launch:hover{filter:brightness(1.05)}.dreamill .dm-support-launch .i-lucide-message-circle{color:currentColor}.dreamill .dm-support-panel{z-index:110;width:min(22rem,70vw);height:min(28rem,70vh);color:var(--text);border:1px solid var(--line);background:#171a21;border-radius:16px;flex-direction:column;display:flex;position:absolute;bottom:0;left:calc(100% + 10px);overflow:hidden;box-shadow:0 16px 40px #00000059}.dreamill[data-theme=light] .dm-support-panel{background:#fff}.dreamill .dm-support-is-page{height:calc(100vh - 164px);min-height:32rem;margin:0}.dreamill .dm-support-is-page .dm-support-panel,.dreamill[data-theme=light] .dm-support-is-page .dm-support-panel{width:100%;height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;position:relative;bottom:auto;left:auto}.dreamill .dm-support-head{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:10px 12px;display:flex}.dreamill .dm-support-head.is-clickable{cursor:pointer}.dreamill .dm-support-head-copy{flex:1;min-width:0}.dreamill .dm-support-title{margin:0;font-size:14px;font-weight:650}.dreamill .dm-support-sub{color:var(--dm-muted);margin:1px 0 0;font-size:11px}.dreamill .dm-support-avatar,.dreamill .dm-support-mark{background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:8px;flex:none;place-items:center;display:grid}.dreamill .dm-support-avatar .ui-icon,.dreamill .dm-support-mark .ui-icon{width:15px;height:15px}.dreamill .dm-support-icon{width:28px;height:28px;color:var(--dm-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.dreamill .dm-support-icon:hover{color:var(--text);background:#ffffff0f}.dreamill[data-theme=light] .dm-support-icon:hover{background:#141b3d0f}.dreamill .dm-support-icon .ui-icon{width:14px;height:14px}.dreamill .dm-support-log{flex-direction:column;flex:1;gap:10px;min-height:0;padding:12px;display:flex;overflow:auto}.dreamill .dm-support-welcome{color:var(--dm-muted);align-items:flex-start;gap:10px;font-size:13px;display:flex}.dreamill .dm-support-welcome p{margin:4px 0 0}.dreamill .dm-support-msg{align-items:flex-start;gap:8px;font-size:13px;line-height:1.45;display:flex}.dreamill .dm-support-msg.is-user{justify-content:flex-end}.dreamill .dm-support-msg.is-user .dm-support-copy{background:var(--accent-soft);max-width:85%;color:var(--text);border-radius:12px;padding:8px 10px}.dreamill .dm-support-copy,.dreamill .dm-support-copy .stream-markdown,.dreamill .dm-support-copy [data-stream-markdown]{color:var(--text)}.dreamill .dm-support-status{color:var(--dm-muted);margin:0;font-size:12px}.dreamill .dm-support-status.is-error{color:#c4503a}.dreamill .dm-support-chips{border-top:1px solid var(--line);flex-wrap:wrap;gap:4px;padding:8px 12px;display:flex}.dreamill .dm-support-chip{color:var(--dm-muted);cursor:pointer;background:#ffffff0f;border:0;border-radius:999px;padding:2px 8px;font-size:10px;line-height:1.35}.dreamill[data-theme=light] .dm-support-chip{background:#f3f1ec}.dreamill .dm-support-chip:hover:not(:disabled){color:var(--text)}.dreamill .dm-support-chip:disabled{cursor:default;opacity:.6}.dreamill .dm-support-form{border-top:1px solid var(--line);gap:8px;padding:10px 12px;display:flex}.dreamill .dm-support-input{border:1px solid var(--line);min-width:0;height:34px;color:var(--text);background:0 0;border-radius:8px;flex:1;padding:0 10px;font-size:13px}.dreamill .dm-support-send{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;height:34px;padding:0 12px;font-size:12px}.dreamill .dm-support-send:disabled{cursor:default;opacity:.5}.dreamill .profile{border-top:1px solid var(--line);color:var(--dm-muted);flex-wrap:nowrap;align-items:center;gap:9px;padding:10px;font-size:13px;display:flex}.dreamill .profile-text{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.dreamill .profile .avatar{flex:none}.dreamill .avatar{width:28px;height:28px;color:var(--text);background:#2d3340;border-radius:50%;place-items:center;display:grid;overflow:hidden}.dreamill .avatar img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.dreamill .workspace{min-width:0}.dreamill .topbar:has(.dm-support-panel){z-index:80}.dreamill .top-actions .dm-support{margin:0;padding:0}.dreamill .top-actions .dm-support-panel{width:min(22rem,100vw - 24px);inset:calc(100% + 8px) 0 auto auto}.dreamill .topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);min-height:62px;top:env(safe-area-inset-top,0);z-index:20;background:#121419eb;justify-content:space-between;align-items:center;gap:12px;padding:0 20px;display:flex;position:sticky}.dreamill .project-id{min-width:0}.dreamill .home-top-brand{flex-shrink:0;align-items:center;min-width:0;text-decoration:none;display:inline-flex}.dreamill .home-top-nav{flex-wrap:wrap;align-items:center;gap:6px 20px;min-width:0;display:flex}.dreamill .home-top-nav-link{color:var(--text);white-space:nowrap;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none}.dreamill .home-top-nav-link:focus-visible,.dreamill .home-top-nav-link:hover{color:var(--accent)}.dreamill .home-top-nav-link.is-active{color:var(--accent-strong)}.dreamill .home-top-nav.is-compact{gap:4px 12px}.dreamill .home-top-nav.is-compact .home-top-nav-link{font-size:13px}.dreamill .home-footer-sep,.dreamill .home-top-nav-sep{color:var(--dm-muted);-webkit-user-select:none;user-select:none}.dreamill .project-name{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:15px;font-weight:650;overflow:hidden}.dreamill .save-state{color:var(--success);align-items:center;gap:8px;margin-top:3px;font-size:12px;display:flex}.dreamill .save-state time{color:var(--dm-muted)}.dreamill .save-state time.is-flash{animation:1.1s dreamill-saved-shimmer}@keyframes dreamill-saved-shimmer{0%{color:var(--dm-muted)}35%{color:var(--accent)}to{color:var(--dm-muted)}}.dreamill .save-actions{align-items:center;gap:2px;display:none}.dreamill .save-state:focus-within .save-actions,.dreamill .save-state:hover .save-actions{display:inline-flex}.dreamill .save-actions button{width:22px;height:22px;color:var(--dm-muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.dreamill .save-actions button:hover{color:var(--text);background:#ffffff14}.dreamill .save-actions .ui-icon{width:14px;height:14px}.dreamill .top-actions{align-items:center;gap:8px;display:flex}.dreamill .button,.dreamill a.button{border:1px solid var(--line);background:var(--panel);min-height:38px;color:var(--text);vertical-align:middle;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 13px;line-height:1;text-decoration:none;display:inline-flex}.dreamill .button:hover:not(:disabled){background:var(--panel-2)}.dreamill .button.primary{background:var(--accent);border-color:var(--accent);color:#201507;font-weight:700}.dreamill .button.primary:hover:not(:disabled){background:var(--accent-strong)}.dreamill .button:disabled{opacity:.45;cursor:not-allowed}.dreamill .button.ghost{background:0 0}.dreamill .button.small{min-height:32px;padding:0 10px;font-size:13px}.dreamill .stagebar{z-index:18;border-bottom:1px solid var(--line);background:var(--shell);align-items:center;gap:8px;min-height:58px;padding:0 20px;display:flex;position:sticky;top:62px}.dreamill .stage-scroll{scrollbar-width:thin;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow-x:auto}.dreamill .stagebar-ai-cluster{flex:none;align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.dreamill .stagebar .ai-open-button{flex:none;margin-left:auto}.dreamill .stagebar-ai-cluster .ai-open-button{margin-left:0}.dreamill .video-gen-notice{border:1px solid var(--line);background:var(--panel);border-radius:10px;align-items:flex-start;gap:4px;max-width:min(300px,42vw);padding:6px 8px 6px 10px;display:flex;box-shadow:0 4px 18px #00000014}.dreamill .video-gen-notice__link{min-width:0;color:var(--text);align-items:flex-start;gap:8px;font-size:12px;line-height:1.35;text-decoration:none;display:flex}.dreamill .video-gen-notice__link:hover{color:var(--accent)}.dreamill .video-gen-notice__text{flex-direction:column;gap:2px;min-width:0;display:flex}.dreamill .video-gen-notice__sub{color:var(--dm-muted);font-size:11px;font-weight:400}.dreamill .video-gen-notice__dismiss{color:var(--dm-muted);cursor:pointer;background:0 0;border:0;flex:none;padding:0 2px;font-size:16px;line-height:1}.dreamill .video-gen-notice__dismiss:hover{color:var(--text)}.dreamill .stage-button{min-height:38px;color:var(--dm-muted);white-space:nowrap;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0 13px;line-height:1;text-decoration:none;display:inline-flex}.dreamill .stage-button:hover{color:var(--text);background:#ffffff0a}.dreamill .stage-button.active{color:#201507;background:var(--accent);font-weight:700}.dreamill .stage-button.done:before{content:"✓ ";color:var(--success)}.dreamill .stage-button.done.active:before{color:#1d1409}.dreamill .stage-menu{flex:none;position:relative}.dreamill .stage-menu-file{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dreamill .stage-menu-button{width:38px;padding:0;font-size:18px}.dreamill .stage-menu.is-compact .stage-menu-button{border:1px solid var(--line);background:var(--panel);width:26px;min-height:26px;color:var(--text);border-radius:8px;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .stage-menu.is-compact .stage-menu-button:hover{color:var(--text);background:#ffffff0f}.dreamill .stage-menu.is-inline{position:static}.dreamill .stage-menu.is-inline .stage-menu-panel{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;position:static;top:auto;left:auto}.dreamill .chrome-pop-rule{background:var(--line);height:1px;margin:4px 6px}.dreamill .stage-scroll:has(.stage-menu.is-open){overflow:visible}.dreamill .stage-menu-panel{z-index:30;border:1px solid var(--line);background:var(--panel);border-radius:10px;min-width:160px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 16px 40px #00000047}.dreamill .stage-menu.is-end .stage-menu-panel{left:auto;right:0}.dreamill .stage-menu-item{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;display:flex}.dreamill .stage-menu-item:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.dreamill .stage-menu-item:disabled{opacity:.6}.dreamill .stage-menu-confirm{gap:8px;width:220px;padding:8px;display:grid}.dreamill .stage-menu-confirm p{margin:0;font-size:12px;line-height:1.4}.dreamill .stage-menu-confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.dreamill .stage-menu-error{color:var(--danger);margin:4px 8px 6px;font-size:12px}.dreamill .plan-start{place-items:center;min-height:100%;padding:0;display:grid}.dreamill .plan-prompt{text-align:center;justify-items:center;gap:16px;width:min(640px,100%);display:grid}.dreamill .plan-prompt h1{margin:0}.dreamill .plan-start:has(.plan-stack){flex-direction:column;place-items:stretch stretch;display:flex}.dreamill .plan-stack{flex-direction:column;flex:1;align-items:center;gap:16px;width:100%;min-height:100%;padding-top:12px;display:flex}.dreamill .plan-stack .plan-prompt{z-index:3;background:linear-gradient(180deg, transparent, var(--bg) 28px);margin-top:auto;padding:28px 0 12px;position:sticky;bottom:0}.dreamill .plan-demos .collection-head{justify-content:flex-end}.dreamill .collection-cell{position:relative}.dreamill .demo-play{z-index:3;color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;border:1px solid #ffffff8c;border-radius:999px;place-items:center;width:44px;height:44px;padding:0 0 0 3px;transition:background .15s,transform .15s;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dreamill .demo-play:hover{background:var(--accent);transform:translate(-50%,-50%)scale(1.06)}.dreamill .scene-preview-modal.plan-demo-modal{width:min(92vw,540px);min-width:0;height:min(88vh,940px)}.dreamill .plan-title{text-align:center;margin:0}.dreamill .plan-field{width:100%}.dreamill .plan-compose{border:1px solid var(--line);background:var(--panel);border-radius:16px;gap:0;transition:border-color .15s;display:grid;overflow:hidden}.dreamill .plan-compose:focus-within{border-color:color-mix(in srgb, var(--line) 70%, var(--accent))}.dreamill .plan-compose.is-busy{opacity:.85}.dreamill .plan-compose textarea{--prompt-min:128px;width:100%;height:var(--prompt-min);min-height:var(--prompt-min);max-height:calc(var(--prompt-min)*1.5);color:var(--text);font:inherit;resize:none;text-align:left;box-shadow:none;background:0 0;border:0;border-radius:0;outline:none;padding:16px 18px 10px;line-height:1.5;overflow-y:auto}.dreamill .plan-compose textarea:focus,.dreamill .plan-compose textarea:focus-visible{box-shadow:none;outline:none}.dreamill .plan-inline-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px 10px;display:grid}.dreamill .plan-inline-btn{border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-size:13px;font-weight:650;line-height:1;transition:filter .15s,opacity .15s;display:inline-flex}.dreamill .plan-inline-btn .ui-icon{flex:none;width:16px;height:16px}.dreamill .plan-inline-btn.is-build{background:var(--accent);color:#201507}.dreamill .plan-inline-btn.is-build .ui-icon{stroke:#201507}.dreamill .plan-inline-btn.is-shoot{color:#0d1524;background:#6ea8ff}.dreamill .plan-inline-btn.is-shoot .ui-icon{stroke:#0d1524}.dreamill .plan-inline-btn:hover:not(:disabled){filter:brightness(1.06)}.dreamill .plan-inline-btn:disabled{opacity:.42;cursor:default}.dreamill .plan-inline-tip{text-align:center;max-width:240px;line-height:1.45}.dreamill .plan-chips{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.dreamill .plan-choose-label{color:var(--dm-muted);font-size:13px}.dreamill .plan-styles{justify-self:stretch;width:100%;min-width:0}.dreamill .collection-block{text-align:left;gap:8px;width:100%;min-width:0;margin-top:8px;display:grid}.dreamill .collection-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.dreamill .collection-head span{color:var(--dm-muted);font-size:13px}.dreamill .collection-toggle{border:1px solid var(--line);width:32px;height:32px;color:var(--text);background:0 0;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .collection-toggle .ui-icon{width:16px;height:16px;transition:transform .15s}.dreamill .collection-toggle.is-open .ui-icon{transform:rotate(180deg)}.dreamill .collection-row{scroll-snap-type:x mandatory;gap:10px;padding-bottom:4px;display:flex;overflow-x:auto}.dreamill .collection-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;width:100%;min-width:0;display:grid}.dreamill button.collection-card{aspect-ratio:9/16;scroll-snap-align:start;border:1px solid var(--line);color:#fff;text-align:left;background:#171a20;border-radius:12px;flex:0 0 120px;width:120px;padding:0;position:relative;overflow:hidden}.dreamill .collection-grid button.collection-card{flex:none;width:100%}.dreamill button.collection-card:after{content:"";background:linear-gradient(#0000 42%,#040507eb);position:absolute;inset:0}.dreamill button.collection-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.dreamill button.collection-card .collection-check{z-index:2;background:var(--accent);color:#201507;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex;position:absolute;top:8px;right:8px}.dreamill button.collection-card .collection-check:after{background:var(--accent);content:"";border:2px solid #fff;border-radius:999px;width:17px;height:17px}.dreamill button.collection-card img,.dreamill button.collection-card video{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.dreamill button.collection-card span{z-index:1;text-shadow:0 1px 8px #000c;font-size:12px;font-weight:650;line-height:1.25;position:absolute;bottom:8px;left:8px;right:8px}.dreamill .plan-demos{text-align:left;gap:8px;width:min(880px,100%);display:grid}.dreamill .demo-wall{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.dreamill .demo-tile{aspect-ratio:3/4;perspective:700px;background:#171a20;border-radius:12px;position:relative;overflow:hidden}.dreamill .demo-tile:nth-child(n+15){display:none}.dreamill .demo-face{border:1px solid var(--line);color:#fff;text-align:left;cursor:pointer;backface-visibility:hidden;transform-origin:50%;background:#171a20;border-radius:12px;padding:0;position:absolute;inset:0;overflow:hidden}.dreamill .demo-face:after{content:"";pointer-events:none;background:linear-gradient(#0000 45%,#040507e6);position:absolute;inset:0}.dreamill .demo-face:focus-visible,.dreamill .demo-face:hover{border-color:color-mix(in srgb, var(--line) 40%, var(--accent))}.dreamill .demo-face.is-selected{border-color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent)}.dreamill .demo-face img,.dreamill .demo-face video{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.dreamill .demo-title{z-index:1;text-shadow:0 1px 8px #000c;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11.5px;font-weight:650;line-height:1.25;display:-webkit-box;position:absolute;bottom:7px;left:7px;right:7px;overflow:hidden}.dreamill .demo-check{z-index:2;background:var(--accent);border:2px solid #fff;border-radius:999px;width:18px;height:18px;position:absolute;top:7px;right:7px}.dreamill .demo-face[class*=-enter-active],.dreamill .demo-face[class*=-leave-active]{transition:transform .62s cubic-bezier(.2,.7,.2,1),opacity .62s,filter .62s}.dreamill .demo-slide-up-enter-from{transform:translateY(100%)}.dreamill .demo-slide-up-leave-to,.dreamill .demo-slide-down-enter-from{transform:translateY(-100%)}.dreamill .demo-slide-down-leave-to{transform:translateY(100%)}.dreamill .demo-slide-left-enter-from{transform:translate(100%)}.dreamill .demo-slide-left-leave-to,.dreamill .demo-slide-right-enter-from{transform:translate(-100%)}.dreamill .demo-slide-right-leave-to{transform:translate(100%)}.dreamill .demo-tile .demo-flip-leave-active,.dreamill .demo-tile .demo-flip-x-leave-active{transition:transform .3s ease-in}.dreamill .demo-tile .demo-flip-enter-active,.dreamill .demo-tile .demo-flip-x-enter-active{transition:transform .32s ease-out .3s}.dreamill .demo-flip-leave-to{transform:rotateY(90deg)}.dreamill .demo-flip-enter-from{transform:rotateY(-90deg)}.dreamill .demo-flip-x-leave-to{transform:rotateX(-90deg)}.dreamill .demo-flip-x-enter-from{transform:rotateX(90deg)}.dreamill .demo-tile .demo-fade-leave-active{transition:opacity .3s}.dreamill .demo-tile .demo-fade-enter-active{transition:opacity .38s .3s}.dreamill .demo-crossfade-enter-from,.dreamill .demo-crossfade-leave-to,.dreamill .demo-fade-enter-from,.dreamill .demo-fade-leave-to{opacity:0}.dreamill .demo-zoom-enter-from{opacity:0;transform:scale(1.25)}.dreamill .demo-zoom-leave-to{opacity:0;transform:scale(.85)}.dreamill .demo-blur-enter-from,.dreamill .demo-blur-leave-to{opacity:0;filter:blur(14px)}@media (width<=640px){.dreamill .demo-wall{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.dreamill .demo-tile:nth-child(n+9){display:none}}.dreamill .plan-compose-tools{flex-wrap:wrap;align-items:center;gap:6px;padding:0 10px 10px;display:flex}.dreamill .plan-compose-build{margin-left:auto}.dreamill .plan-tool-btn{width:32px;height:32px;color:var(--dm-muted);border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .plan-tool-btn:hover:not(:disabled){border-color:color-mix(in srgb, var(--line) 50%, var(--accent));color:var(--text)}.dreamill .plan-tool-btn:disabled{opacity:.45}.dreamill .plan-tool-btn.is-labelled{gap:6px;width:auto;padding:0 12px 0 10px;font-size:12.5px;font-weight:600}.dreamill .plan-tool-btn .ui-icon{width:15px;height:15px}.dreamill .plan-tool-note{min-width:0;color:var(--dm-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.dreamill .plan-tool-note.is-error{color:#ff8a8a}.dreamill .plan-attachments{flex-wrap:wrap;gap:8px;padding:0 10px 10px;display:flex}.dreamill .plan-attachment{border:1px solid var(--line);background:#171a20;border-radius:10px;width:56px;height:56px;position:relative;overflow:hidden}.dreamill .plan-attachment.is-cover{border-color:var(--accent)}.dreamill .plan-attachment img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.dreamill .plan-attachment-badge{color:#fff;text-align:center;background:#000000a6;padding:1px 0;font-size:9.5px;position:absolute;bottom:0;left:0;right:0}.dreamill .plan-attachment-busy{color:#fff;background:#00000073;place-items:center;display:grid;position:absolute;inset:0}.dreamill .plan-attachment-remove{color:#fff;background:#000000b3;border:0;border-radius:999px;place-items:center;width:18px;height:18px;padding:0;display:grid;position:absolute;top:2px;right:2px}.dreamill .plan-attachment-remove .ui-icon{width:11px;height:11px}.dreamill .plan-compose.is-drop-over{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent)}.dreamill .plan-progress{text-align:left;gap:8px;width:100%;display:grid}.dreamill .plan-progress p{color:var(--dm-muted);margin:0;font-size:14px}.dreamill .plan-progress p.is-current,.dreamill .plan-progress p.is-done{color:var(--text)}.dreamill .plan-progress p.is-current{font-weight:650}.dreamill .plan-progress p.is-current:after{content:"";text-align:left;width:1.2em;animation:1.2s steps(4,end) infinite dm-progress-dots;display:inline-block}@keyframes dm-progress-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}@media (prefers-reduced-motion:reduce){.dreamill .plan-progress p.is-current:after{content:"…";animation:none}}.dreamill a.style-chip,.dreamill button.style-chip{align-items:center;gap:6px;text-decoration:none;display:inline-flex}.dreamill .plan-prompt .button:disabled{opacity:.45;cursor:default}.dreamill .draft-picks{text-align:left;width:100%}.dreamill .draft-picks ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.dreamill .draft-picks li{border-radius:8px;align-items:center;gap:8px;min-height:32px;padding:4px 6px;display:flex}.dreamill .draft-picks li:hover{background:#7f7f7f1f}.dreamill .draft-pick-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dreamill .draft-remove{opacity:0;color:var(--dm-muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:2px;display:inline-flex}.dreamill .draft-picks li:focus-within .draft-remove,.dreamill .draft-picks li:hover .draft-remove{opacity:1}.dreamill .draft-remove .ui-icon{width:14px;height:14px}.dreamill .draft-clear{color:var(--dm-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin-top:6px;padding:0;font-size:12px;display:inline-flex}.dreamill .draft-clear:hover{color:var(--text)}.dreamill .draft-clear .ui-icon{width:13px;height:13px}@media (hover:none){.dreamill .draft-remove{opacity:1}}.dreamill .workbench{grid-template-columns:minmax(0, 1fr) var(--assistant-width);min-height:calc(100vh - 120px);display:grid}.dreamill .main{background:#2a303a;min-width:0;padding:22px 22px 0}.dreamill .assistant{border-left:1px solid var(--line);background:#101217;padding:18px;position:relative}.dreamill .assistant-resizer{cursor:col-resize;z-index:4;touch-action:none;width:8px;margin-left:-4px;position:absolute;top:0;bottom:0;left:0}.dreamill .assistant-resizer:focus-visible,.dreamill .assistant-resizer:hover{background:var(--accent)}.dreamill .page-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.dreamill .page-heading-actions{flex:none;align-items:center;gap:8px;display:flex}.dreamill .project-import-error{color:var(--danger);margin:-8px 0 16px;font-size:13px}.dreamill .script-heading{align-items:center;gap:12px;min-width:0;display:flex}.dreamill .script-title-row{align-items:center;gap:8px;min-width:0;display:flex}.dreamill .script-title{min-width:0;color:inherit;font:inherit;letter-spacing:-.025em;text-align:left;cursor:text;background:0 0;border:0;padding:0;font-size:clamp(23px,3vw,31px);font-weight:650}.dreamill .script-title:disabled{cursor:default}.dreamill .script-title-input{border:0;border-bottom:1px solid var(--line);width:min(100%,36rem);color:var(--text);font:inherit;letter-spacing:-.025em;background:0 0;padding:0;font-size:clamp(23px,3vw,31px);font-weight:650}.dreamill .script-save{color:var(--dm-muted);flex:none}.dreamill .script-save:hover:not(:disabled){color:var(--text)}.dreamill .script-save:disabled{opacity:.45;cursor:default}.dreamill .script-save .ui-icon{width:16px;height:16px}.dreamill .script-save-group{flex-direction:column;flex:none;align-items:flex-end;gap:3px;display:flex}.dreamill .script-saved-at{color:var(--dm-muted);white-space:nowrap;font-size:10px;line-height:1.2}.dreamill .script-saved-at.is-flash{animation:1.1s dreamill-saved-shimmer}.dreamill .script-heading-copy{flex:auto;min-width:min(100%,28rem)}.dreamill .script-episode-name{min-width:0;max-width:min(36rem,50vw);color:var(--dm-muted);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;margin:0;font-size:clamp(14px,2.2vw,16px);font-weight:500;line-height:1.3;overflow:hidden}.dreamill .script-title-row .script-title,.dreamill .script-title-row .script-title-input{flex:0 auto;min-width:0;line-height:1}.dreamill .script-title-row .script-episode-name:before{content:"·";color:color-mix(in srgb, var(--dm-muted) 70%, transparent);margin:0 .45em;font-weight:400}.dreamill .stagebar:has(.stage-progress-host:not(:empty)) .stage-scroll{flex:none;max-width:calc(100% - 220px)}.dreamill .stage-progress-host:empty{display:none}.dreamill .stagebar:has(.stage-progress-host:not(:empty)) .ai-open-button{margin-left:8px}.dreamill .stage-progress-host{flex:auto;justify-content:flex-end;min-width:0;display:flex}.dreamill .stage-progress-host .progress-line{white-space:nowrap;flex:auto;min-width:0;max-width:420px;margin:0}.dreamill .stage-progress-host .progress-track{flex:120px;width:auto;min-width:80px;max-width:160px}.dreamill .script-cover{border:1px dashed var(--line);width:54px;height:72px;color:var(--dm-muted);cursor:pointer;background:#111;border-radius:8px;flex:none;place-items:center;padding:0;display:grid;overflow:hidden}.dreamill .script-cover:focus-visible,.dreamill .script-cover:hover{border-color:#ff9f2f}.dreamill .script-cover:disabled{cursor:default}.dreamill .script-cover img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.dreamill .script-cover svg{width:22px;height:22px}.dreamill h1{letter-spacing:-.025em;margin:0;font-size:clamp(23px,3vw,31px)}.dreamill .subtitle{color:var(--dm-muted);margin:7px 0 0;font-size:14px;line-height:1.55}.dreamill .heading-actions{flex-direction:column;flex:none;align-items:flex-end;gap:8px;display:flex}.dreamill .dreamill-project-stage-heading-main{flex:auto;min-width:0}.dreamill .design-page-heading .script-heading{align-items:flex-start;width:100%}.dreamill .design-page-heading .script-heading-copy{min-width:0}.dreamill .design-page-heading,.dreamill .dreamill-project-stage-heading.has-actions-below-lead{margin-top:0}.dreamill .design-page-heading .script-heading,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-heading{align-items:flex-start}.dreamill .design-page-heading .script-cover,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-cover{box-sizing:border-box;flex-shrink:0;align-self:flex-start;width:auto;height:auto;min-height:0;max-height:none}.dreamill .design-page-heading .script-heading-copy,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-heading-copy{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:0;padding-top:0;display:flex}.dreamill .design-page-heading .script-title-row,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-title-row{width:100%;margin:0}.dreamill .dreamill-project-stage-heading.has-actions-below-lead .dreamill-project-stage-lead{margin:6px 0 0}.dreamill .design-page-heading .script-heading-stack,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-heading-stack{flex-direction:column;align-items:stretch;gap:0;width:100%;display:flex}.dreamill .dreamill-stage-heading-measure{flex-direction:column;align-items:flex-start;gap:6px;width:100%;display:flex}.dreamill .dreamill-stage-heading-cover-sync{flex-direction:column;align-items:stretch;gap:0;width:100%;display:flex}.dreamill .dreamill-stage-heading-cover-sync>.dreamill-stage-primary-actions{margin-top:10px}.dreamill .design-page-heading .dreamill-stage-primary-actions.design-page-primary-actions,.dreamill .dreamill-project-stage-heading.design-page-heading .dreamill-stage-primary-actions.design-page-primary-actions{flex-flow:wrap;align-self:stretch;align-items:center;width:auto;max-width:100%;display:flex;overflow:visible}.dreamill .design-page-heading .dreamill-stage-primary-actions.design-page-primary-actions>*,.dreamill .dreamill-project-stage-heading.design-page-heading .dreamill-stage-primary-actions.design-page-primary-actions>*{flex:none}@media (width>=768px){.dreamill .dreamill-project-stage-heading.has-actions .script-heading{align-items:flex-start;width:100%}.dreamill .dreamill-project-stage-heading.has-actions:not(.has-actions-below-lead):not(.design-page-heading) .script-heading-copy{-moz-column-gap:16px;flex:auto;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 16px;min-width:0;display:grid}.dreamill .dreamill-project-stage-heading.has-actions .script-title-row{grid-area:1/1}.dreamill .dreamill-project-stage-heading.has-actions .dreamill-project-stage-lead{grid-area:2/1;margin-top:0}.dreamill .dreamill-project-stage-heading.has-actions:not(.has-actions-below-lead) .heading-actions{grid-area:1/2;place-self:start end;width:auto;max-width:100%;margin:0}.dreamill .design-page-heading .script-heading-copy,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-heading-copy{flex-direction:column;display:flex}.dreamill .dreamill-project-stage-heading.has-actions:not(.has-actions-below-lead):not(.design-page-heading) .script-heading-stack>:not(.script-title-row):not(.dreamill-project-stage-lead){grid-column:1;margin-top:0}}.dreamill .dreamill-project-stage-heading .assemble-finalise-progress{flex-basis:100%;max-width:none}.dreamill .design-page-heading .design-page-primary-actions,.dreamill .dreamill-stage-primary-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;width:100%;margin:6px 0 0}.dreamill .design-page-heading .design-page-primary-actions .button,.dreamill .dreamill-stage-primary-actions .button{min-height:44px;padding:0 16px;font-size:14px;font-weight:650}.dreamill .design-page-heading .design-page-primary-actions .script-save-group,.dreamill .dreamill-stage-primary-actions .script-save-group{flex-direction:row;align-items:center;gap:10px}.dreamill .design-page-heading .design-page-primary-actions .script-save .ui-icon,.dreamill .dreamill-stage-primary-actions .script-save .ui-icon{width:18px;height:18px}.dreamill .design-page-heading .design-page-primary-actions .design-write-progress,.dreamill .dreamill-stage-primary-actions .design-write-progress{left:0;right:auto}.dreamill .dreamill-project-stage-heading .dreamill-project-stage-lead{max-width:42rem;margin:8px 0 0;line-height:1.45}.dreamill .assemble-heading-actions{flex-wrap:wrap;align-items:flex-start;gap:10px;width:100%;display:flex}.dreamill .assemble-stage-heading.has-actions-below-lead .assemble-heading-actions,.dreamill .assemble-stage-heading.design-page-heading .dreamill-stage-primary-actions.design-page-primary-actions{flex-wrap:wrap;align-items:flex-start;overflow:visible}.dreamill .assemble-stage-heading .assemble-heading-more{align-self:flex-start}.dreamill .assemble-stage-heading .assemble-heading-progress.assemble-finalise-progress{flex:auto;align-self:center;min-width:min(200px,100%);max-width:min(320px,100%)}.dreamill .assemble-stage-heading .dreamill-stage-heading-cover-sync,.dreamill .assemble-stage-heading .script-heading-copy,.dreamill .assemble-stage-heading .script-heading-stack{overflow:visible}.dreamill .assemble-stage-heading .assemble-finalise-group,.dreamill .assemble-stage-heading .assemble-heading-more.is-open,.dreamill .assemble-stage-heading .make-split.has-menu.is-open{z-index:45}.dreamill .assemble-stage-heading .assemble-heading-menu,.dreamill .assemble-stage-heading .make-split.has-menu.is-open .make-split-menu{z-index:50}.dreamill .assemble-stage-heading .assemble-heading-actions .button{min-height:44px;padding:0 16px;font-size:14px;font-weight:650}.dreamill .assemble-stage-heading .script-save-group.assemble-finalise-group{flex-direction:row;align-items:center;gap:10px}.dreamill .assemble-finalise-group{flex-direction:column;align-items:center;gap:3px;display:flex;position:relative}.dreamill .assemble-finalise-hint{z-index:30;border:1px solid var(--accent);background:var(--panel);width:max-content;max-width:min(260px,100vw - 32px);color:var(--text);border-radius:10px;align-items:flex-start;gap:8px;padding:9px 10px 9px 12px;font-size:12px;line-height:1.4;animation:.25s assemble-hint-in;display:flex;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 10px 28px #00000047}.dreamill .assemble-finalise-hint:before{content:"";border-top:1px solid var(--accent);border-left:1px solid var(--accent);background:var(--panel);width:10px;height:10px;position:absolute;top:-6px;right:22px;transform:rotate(45deg)}.dreamill .assemble-finalise-hint button{width:18px;height:18px;color:var(--dm-muted);cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;place-items:center;padding:0;display:grid}.dreamill .assemble-finalise-hint button:hover{color:var(--text)}@keyframes assemble-hint-in{0%{opacity:0;transform:translateY(-4px)}}.dreamill .assemble-finalised-at{color:var(--dm-muted);white-space:nowrap;font-size:10px;line-height:1.2}.dreamill .assemble-finalised-at.is-flash{animation:1.1s dreamill-saved-shimmer}.dreamill .assemble-takes-changed{border:1px solid var(--accent,#ff9a3c);color:var(--text);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;padding:8px 12px;font-size:13px;display:flex}.dreamill .assemble-takes-changed>span{flex:280px}.dreamill .assemble-finalise-progress{max-width:280px;color:var(--text);align-items:center;gap:8px;font-size:12px;display:flex}.dreamill .assemble-finalise-progress>span:first-child{white-space:nowrap}.dreamill .assemble-finalise-progress .progress-track{flex:0 0 120px;width:120px;min-width:120px;display:block}.dreamill .assemble-finalise-progress .progress-fill{display:block}.dreamill .assemble-upscale-status.is-error{max-width:min(420px,100%);color:var(--danger,#e5484d);align-items:flex-start}.dreamill .assemble-upscale-error-text{word-break:break-word;flex:1;min-width:0;line-height:1.35}.dreamill .assemble-upscale-error-dismiss{color:inherit;cursor:pointer;opacity:.85;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:2px;display:inline-flex}.dreamill .progress-track--indeterminate{position:relative;overflow:hidden}.dreamill .progress-track--indeterminate .progress-fill{width:35%;animation:1.1s ease-in-out infinite alternate dreamill-upscale-indeterminate}@keyframes dreamill-upscale-indeterminate{0%{width:28%;margin-left:0}to{width:35%;margin-left:65%}}.dreamill .assemble-heading-more{position:relative}.dreamill .assemble-heading-more.is-open{z-index:40}.dreamill .assemble-heading-ellipsis{box-sizing:border-box;border:1px solid var(--line);background:var(--panel);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .assemble-heading-ellipsis:hover:not(:disabled){background:var(--panel-2)}.dreamill .assemble-heading-ellipsis>span{width:16px;height:16px}.dreamill .assemble-heading-menu{z-index:2;overscroll-behavior:contain;border:1px solid var(--line);background:var(--bg);border-radius:10px;width:260px;max-height:min(70vh,420px);padding:8px;position:absolute;top:calc(100% + 6px);right:0;overflow:hidden auto;box-shadow:0 12px 32px #00000029}.dreamill .assemble-heading-menu p{color:#8b949e;margin:8px 4px 4px;font-size:11px}.dreamill .assemble-heading-menu p.is-empty{margin-top:0}.dreamill .assemble-menu-history,.dreamill .assemble-menu-row{align-items:center;gap:2px;display:flex}.dreamill .assemble-menu-history{min-height:32px}.dreamill .assemble-heading-menu .assemble-menu-name{min-width:0;color:var(--text);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:auto;padding:6px 8px;font-size:13px;overflow:hidden}.dreamill .assemble-heading-menu .assemble-menu-icon{width:28px;height:28px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .assemble-heading-menu .assemble-menu-icon>span,.dreamill .assemble-version-dialog header button>span{width:15px;height:15px}.dreamill .assemble-menu-confirm{min-width:0;color:var(--dm-muted);white-space:nowrap;flex-wrap:nowrap;flex:auto;align-items:center;gap:6px;padding:0 4px 0 8px;font-size:12px;display:flex}.dreamill .assemble-menu-confirm button{border:1px solid var(--line);color:var(--text);cursor:pointer;background:0 0;border-radius:6px;padding:2px 8px;font-size:12px}.dreamill .assemble-heading-menu .assemble-menu-icon:hover,.dreamill .assemble-heading-menu .assemble-menu-name:hover,.dreamill .assemble-menu-confirm button:hover{background:color-mix(in srgb, var(--text) 8%, transparent)}.dreamill .assemble-version-modal{z-index:80;background:#0000008c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.dreamill .assemble-version-dialog{border:1px solid var(--line);background:var(--bg);border-radius:12px;width:min(960px,100%);padding:12px}.dreamill .assemble-version-dialog header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.dreamill .assemble-version-dialog header strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;overflow:hidden}.dreamill .assemble-version-dialog header button{width:32px;height:32px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .assemble-version-dialog video{background:#000;border-radius:8px;width:100%;max-height:min(70vh,540px);display:block}.dreamill .view-toggle{background:var(--panel);border:1px solid var(--line);border-radius:10px;gap:4px;padding:4px;display:flex}.dreamill .project-library-tabs{width:max-content;margin:-4px 0 16px}.dreamill .view-button{min-height:30px;color:var(--dm-muted);background:0 0;border:0;border-radius:7px;padding:0 10px;font-size:13px}.dreamill .view-button.active{color:var(--text);background:#303641}.dreamill .progress-line{color:var(--dm-muted);align-items:center;gap:10px;margin:0 0 18px;font-size:13px;display:flex}.dreamill .produce-progress{margin:8px 0 0}.dreamill .progress-track{background:#252a33;border-radius:999px;flex:1;max-width:240px;height:5px;overflow:hidden}.dreamill .progress-fill{background:var(--accent);border-radius:inherit;width:58%;height:100%}.dreamill .scene-list{gap:10px;display:grid}.dreamill .scene-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);width:100%;color:var(--text);text-align:left;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:13px;padding:15px;display:grid}.dreamill .scene-card.selected,.dreamill .scene-card:hover{background:var(--panel-2);border-color:#5d6677}.dreamill .scene-card.selected{box-shadow:inset 3px 0 0 var(--accent)}.dreamill .scene-index{width:38px;height:38px;color:var(--dm-muted);background:#272c35;border-radius:10px;place-items:center;font-size:13px;display:grid}.dreamill .scene-title{margin:0;font-size:15px;font-weight:700}.dreamill .scene-summary{color:#c2c7d0;margin:7px 0 0;font-size:13px;line-height:1.55}.dreamill .scene-meta{flex-wrap:wrap;gap:7px;margin-top:9px;display:flex}.dreamill .tag{color:var(--dm-muted);background:#252a33;border-radius:999px;padding:3px 7px;font-size:11px}.dreamill .tag.warn{color:var(--accent);background:#ffb65c1f}.dreamill .duration{color:var(--dm-muted);white-space:nowrap;padding-top:3px;font-size:12px}.dreamill .add-scene{min-height:48px;color:var(--dm-muted);background:0 0;border:1px dashed #3b424e;border-radius:12px}.dreamill .add-scene:hover{color:var(--text);border-color:var(--dm-muted)}.dreamill .canvas{border:1px solid var(--line);border-radius:var(--radius);background-color:#12151a;background-image:radial-gradient(#333944 1px,#0000 0);background-size:20px 20px;min-height:470px;padding:28px;display:none;position:relative;overflow:hidden}.dreamill .canvas.visible{height:100%;min-height:0;display:block;overflow:auto}.dreamill .canvas-toolbar{justify-content:flex-end;gap:7px;margin-bottom:28px;display:flex}.dreamill .flow{grid-template-columns:repeat(3,minmax(190px,1fr));align-items:start;gap:26px;display:grid}.dreamill .flow-column{position:relative}.dreamill .flow-column:not(:last-child):after{content:"";background:#566070;width:26px;height:1px;position:absolute;top:59px;right:-26px}.dreamill .flow-node{background:#1c2027;border:1px solid #414957;border-radius:13px;padding:13px}.dreamill .flow-node strong{font-size:14px;display:block}.dreamill .flow-node p{color:var(--dm-muted);margin:7px 0 0;font-size:12px;line-height:1.45}.dreamill .linked-assets{gap:6px;margin-top:10px;display:flex}.dreamill .asset-dot{color:#ccd1d9;background:#303642;border-radius:50%;place-items:center;width:26px;height:26px;font-size:10px;display:grid}.dreamill .assistant-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:15px;display:flex}.dreamill .assistant-title{margin:0;font-size:15px}.dreamill .ai-mark{color:var(--accent)}.dreamill .assistant-context{background:var(--accent-soft);color:var(--accent);border-radius:10px;margin-bottom:14px;padding:10px 11px;font-size:12px}.dreamill .ai-problem{margin:0 0 12px;font-size:14px;line-height:1.55}.dreamill .suggestions{gap:8px;display:grid}.dreamill .suggestion{border:1px solid var(--line);background:var(--panel);border-radius:11px;padding:11px}.dreamill .suggestion strong{margin-bottom:5px;font-size:13px;display:block}.dreamill .suggestion p{color:var(--dm-muted);margin:0;font-size:12px;line-height:1.45}.dreamill .assistant-actions{gap:8px;margin-top:13px;display:grid}.dreamill .skills-link{border-top:1px solid var(--line);color:var(--dm-muted);margin-top:16px;padding-top:14px;font-size:12px}.dreamill .advanced-panel{background:#1d1a15;border:1px solid #49412f;border-radius:12px;margin-bottom:18px;padding:15px;display:none}.dreamill .advanced-panel.visible{display:block}.dreamill .advanced-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dreamill .field label{color:var(--dm-muted);margin-bottom:6px;font-size:12px;display:block}.dreamill .field input,.dreamill .field select{border:1px solid var(--line);width:100%;height:38px;color:var(--text);background:#121419;border-radius:8px;padding:0 9px}.dreamill .stage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dreamill .content-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);min-height:145px;padding:15px}.dreamill .content-card h3{margin:0 0 7px;font-size:14px}.dreamill .content-icon-title{align-items:center;gap:8px;margin-bottom:7px;display:flex}.dreamill .content-icon-title h3{margin:0}.dreamill .content-icon-title .ui-icon,.dreamill .poster-copy .ui-icon{width:18px;height:18px;color:var(--accent);flex:none}.dreamill .content-card p{color:var(--dm-muted);margin:0;font-size:13px;line-height:1.55}.dreamill .content-card .large-value{margin:12px 0 4px;font-size:22px;font-weight:750}.dreamill .journey{scroll-snap-type:x mandatory;grid-template-columns:repeat(5,minmax(168px,1fr));gap:12px;padding:6px 2px 10px;display:grid;position:relative;overflow-x:auto}.dreamill .journey:before{content:"";background:linear-gradient(90deg, transparent, var(--accent), transparent);pointer-events:none;height:2px;position:absolute;top:46px;left:6%;right:6%}.dreamill .journey-step{z-index:1;scroll-snap-align:start;border:1px solid var(--line);background:linear-gradient(165deg, #ff9f2f29, transparent 46%), var(--panel);min-height:176px;color:var(--text);text-align:left;border-radius:16px;flex-direction:column;align-items:flex-start;gap:4px;padding:16px 14px 18px;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;position:relative}.dreamill .journey-step.current,.dreamill .journey-step:hover{border-color:var(--accent);transform:translateY(-3px);box-shadow:0 16px 36px #00000038}.dreamill .journey-icon{border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);background:var(--accent-soft);width:42px;height:42px;color:var(--accent);border-radius:14px;place-items:center;margin-bottom:10px;display:grid}.dreamill .journey-number{color:var(--accent);font-size:12px;display:block}.dreamill .journey-step strong{font-size:15px;display:block}.dreamill .journey-step small{color:var(--dm-muted);margin-top:4px;font-size:13px;line-height:1.4;display:block}.dreamill .home-section{margin-top:22px}.dreamill .home-section h2{margin:0 0 10px;font-size:16px}.dreamill .home-about{border:1px solid var(--line,#7f7f7f40);border-radius:12px;padding:16px 18px}.dreamill .home-about-lead{max-width:72ch;margin:0 0 12px;line-height:1.55}.dreamill .home-about-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px 28px;display:grid}.dreamill .home-about h3{margin:0 0 6px;font-size:14px}.dreamill .home-about p,.dreamill .home-about-steps{opacity:.9;margin:0 0 8px;font-size:13px;line-height:1.55}.dreamill .home-about-steps{padding-left:1.2em}.dreamill .home-about-steps li+li{margin-top:4px}.dreamill .home-about a{text-decoration:underline}.dreamill .stories-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.dreamill .stories-head h2{margin:0}.dreamill .stories-cue{color:var(--dm-muted);white-space:nowrap;align-items:center;gap:6px;margin:0;font-size:13px;display:inline-flex}.dreamill .stories-cue .ui-icon{width:16px;height:16px;animation:1.6s ease-in-out infinite stories-cue-bob}@keyframes stories-cue-bob{0%,to{transform:translateY(0)}50%{transform:translateY(3px)}}@media (prefers-reduced-motion:reduce){.dreamill .stories-cue .ui-icon{animation:none}}.dreamill .continue-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);justify-content:space-between;align-items:center;gap:16px;padding:12px 17px;display:flex}.dreamill .continue-copy{flex:1;min-width:0}.dreamill .continue-cover{-o-object-fit:cover;object-fit:cover;background:#171a20;border-radius:8px;flex:none;width:48px;height:64px}.dreamill .continue-card strong{margin-bottom:6px;display:block}.dreamill .continue-card p{color:var(--dm-muted);margin:0;font-size:13px}.dreamill .creator-hero{background:#08090c;border:1px solid #4b3b2c;border-radius:20px;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);align-items:center;gap:16px 20px;min-height:340px;padding:24px;display:grid;position:relative;overflow:hidden;box-shadow:0 24px 70px #00000061,inset 0 0 70px #ff9f2f0d}.dreamill .creator-hero:before{content:"";z-index:0;background:url(../dreamill/covers/cover-disappearing-47-seconds.jpg) 50%/cover;animation:28s ease-in-out infinite alternate hero-ken;position:absolute;inset:-8%}.dreamill .creator-hero:after{content:"";z-index:0;pointer-events:none;background:radial-gradient(480px 320px at 88% 18%,#ffc8786b,#0000 58%),radial-gradient(520px 280px at 82% 12%,#ff9f2f47,#0000 62%),linear-gradient(90deg,#08090cf0,#08090cad 44%,#fff8f038);position:absolute;inset:0}@keyframes hero-ken{0%{transform:scale(1)}to{transform:scale(1.08)}}.dreamill .creator-hero-copy,.dreamill .creator-hero-visual{z-index:1;position:relative}.dreamill .creator-hero-copy{width:min(560px,100%)}.dreamill .eyebrow{color:#ffd29b;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#08090c73;border:1px solid #fff3;border-radius:999px;padding:5px 9px;font-size:11px;display:inline-flex}.dreamill .creator-hero h1{margin-top:12px;font-size:clamp(28px,4vw,46px);line-height:1.05}.dreamill .hero-slogan{min-height:1.25em}.dreamill .hero-slogan span{display:inline-block}.dreamill .hero-slogan span.is-rise{animation:.7s hero-slogan-rise}.dreamill .hero-slogan span.is-slide{animation:.7s hero-slogan-slide}.dreamill .hero-slogan span.is-blur{animation:.8s hero-slogan-blur}.dreamill .hero-slogan span.is-zoom{animation:.7s hero-slogan-zoom}.dreamill .hero-slogan span.is-wipe{animation:.8s hero-slogan-wipe}@keyframes hero-slogan-rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes hero-slogan-slide{0%{opacity:0;transform:translate(-22px)}to{opacity:1;transform:none}}@keyframes hero-slogan-blur{0%{opacity:0;filter:blur(12px)}to{opacity:1;filter:none}}@keyframes hero-slogan-zoom{0%{opacity:0;transform:scale(.84)}to{opacity:1;transform:none}}@keyframes hero-slogan-wipe{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}@media (prefers-reduced-motion:reduce){.dreamill .creator-hero:before,.dreamill .hero-slogan span{animation:none}}.dreamill .creator-hero .hero-lead{color:#d5d7dc;max-width:470px;margin:10px 0 18px;line-height:1.55}.dreamill .hero-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.dreamill .hero-draft-note{color:#ffe8cc;align-items:center;gap:6px;margin:12px 0 0;font-size:13px;font-weight:600;display:inline-flex}.dreamill .hero-draft-note .i-lucide-clapperboard{color:#ffb65c;width:14px;height:14px}.dreamill .hero-draft-note sup{opacity:.7;font-size:.65em}.dreamill .cta-credits-pill{color:#fff;white-space:nowrap;vertical-align:middle;background:#c2410c;border-radius:999px;align-items:center;margin-left:8px;padding:2px 8px;font-size:12px;font-weight:800;line-height:1.4;display:inline-flex;box-shadow:0 2px 8px #c2410c59}.dreamill .offer-banner{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(100deg,#ff9f2f47,#08090c8c);border:1px solid #ffd29b73;border-radius:12px;align-items:center;gap:10px;max-width:100%;margin-top:16px;padding:10px 14px;text-decoration:none;display:flex}.dreamill .offer-banner:hover{border-color:#ffd29b}.dreamill .offer-banner-icon{color:#ffd29b;flex:none;width:22px;height:22px}.dreamill .offer-banner-copy{flex:1;gap:2px;min-width:0;font-size:14px;line-height:1.3;display:grid}.dreamill .offer-banner-copy small{color:#ffd29b;font-size:12px}.dreamill .offer-banner-action{color:#ffd29b;white-space:nowrap;flex:none;font-size:13px;font-weight:600}.dreamill .hero-pricing-link{color:#ffd29b;font-size:14px;text-decoration:none}.dreamill .hero-pricing-link:hover{text-decoration:underline}.dreamill .creator-hero-visual{flex-direction:column;place-self:start end;gap:12px;width:100%;max-width:440px;display:flex}.dreamill .creator-hero-promos{flex-direction:column;gap:10px;width:100%;display:flex}.dreamill .hero-spotlight{color:#2a1606;background:radial-gradient(260px 140px at 100% 0,#ffffff8c,#0000 70%),linear-gradient(150deg,#fff6e6,#ffd79a 55%,#ffb25a);border:1px solid #ffd6a0e6;border-radius:18px;flex-direction:column;gap:12px;padding:14px 14px 12px;transition:opacity .2s;display:flex;position:relative;box-shadow:0 22px 48px #0006,0 0 0 4px #ffb65c2e,inset 0 1px #fffc}.dreamill .hero-spotlight.is-loading{opacity:.85}.dreamill .hero-spotlight-ribbon{color:#fff;letter-spacing:.06em;text-transform:uppercase;background:#c2410c;border-radius:999px;align-self:flex-start;align-items:center;gap:6px;padding:4px 10px;font-size:11px;font-weight:800;display:inline-flex;box-shadow:0 4px 12px #c2410c59}.dreamill .hero-spotlight-body{align-items:center;gap:14px;display:flex}.dreamill .hero-spotlight-badge{color:#5c3408;background:#fff;border-radius:14px;flex:none;align-content:center;place-items:center;gap:2px;min-width:92px;padding:10px 8px;display:grid;box-shadow:0 8px 20px #7846142e}.dreamill .hero-spotlight-badge strong{letter-spacing:-.02em;font-size:30px;font-weight:900;line-height:1}.dreamill .hero-promo-column-badge small,.dreamill .hero-spotlight-badge small{text-align:center;text-transform:uppercase;letter-spacing:.03em;color:#7c4a0a;font-size:10px;font-weight:700;line-height:1.1}.dreamill .hero-promo-badge-free{letter-spacing:.06em;text-transform:uppercase;color:#c2410c;font-size:11px;font-weight:800;line-height:1.1}.dreamill .hero-spotlight-copy{min-width:0}.dreamill .hero-spotlight-copy h3{letter-spacing:-.015em;margin:0;font-size:22px;font-weight:900;line-height:1.1}.dreamill .hero-spotlight-copy p{color:#4a3420;margin:4px 0 0;font-size:14px;font-weight:600;line-height:1.35}.dreamill .hero-spotlight-when{color:#c2410c;letter-spacing:0;margin-top:2px;font-size:16px;font-weight:800;display:block}.dreamill .hero-spotlight-copy .hero-spotlight-example{color:#2a1606;background:#ffffffb3;border-radius:9px;margin-top:8px;padding:6px 9px;font-size:13px;font-weight:700}.dreamill .hero-spotlight-copy .hero-spotlight-then{color:#6b4a2a;margin-top:6px;font-size:12px;font-weight:600}.dreamill .hero-spotlight-cta{color:#ffd29b;text-align:center;background:#1f160e;border-radius:12px;padding:11px 14px;font-size:15px;font-weight:800;text-decoration:none;transition:transform .15s,background .15s;display:block}.dreamill .hero-spotlight-cta:hover{background:#000;transform:translateY(-1px)}.dreamill .hero-offer-mark{opacity:.7;margin-left:1px;font-size:.55em;font-weight:700}.dreamill .hero-promo-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.dreamill .hero-promo-columns.is-count-1{grid-template-columns:minmax(0,1fr)}.dreamill .hero-promo-columns.is-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dreamill .hero-promo-column{color:#1f160e;background:#fffaf3f0;border:1px solid #ffc88266;border-radius:14px;flex-direction:column;gap:4px;min-width:0;padding:10px;text-decoration:none;transition:transform .15s,border-color .15s;display:flex;box-shadow:0 12px 28px #00000047}.dreamill .hero-promo-column:hover{border-color:#ff9f2fe6;transform:translateY(-2px)}.dreamill .hero-promo-column-badge{justify-items:start;gap:2px;margin-bottom:2px;display:grid}.dreamill .hero-promo-column-icon{color:#b45309;width:14px;height:14px}.dreamill .hero-promo-column-badge strong{color:#5c3408;font-size:20px;font-weight:900;line-height:1}.dreamill .hero-promo-column-badge small{text-align:left}.dreamill .hero-promo-column-title{font-size:13px;font-weight:800;line-height:1.2}.dreamill .hero-promo-column-body{color:#5c4f42;flex:1;font-size:12px;line-height:1.3}.dreamill .hero-promo-column-cta{color:#b45309;font-size:12px;font-weight:800}.dreamill .hero-offers-note{z-index:1;color:#e1e1e699;margin:0;font-size:11px;position:absolute;bottom:8px;right:18px}.dreamill .hero-offers-note a{color:inherit;text-decoration:underline}.dreamill .hero-offers-note a:hover{color:#ffd29b}@media (width<=480px){.dreamill .hero-promo-columns{grid-template-columns:1fr}.dreamill .hero-spotlight-copy h3{font-size:19px}}.dreamill .home-features-lead{max-width:46ch;color:var(--dm-muted);margin:-2px 0 14px}.dreamill .feature-slides{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--line));background:radial-gradient(520px 240px at 100% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent 64%), radial-gradient(420px 260px at 0 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%), var(--shell);border-radius:22px;padding:22px 18px 14px;position:relative}.dreamill .feature-slides-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px 18px;display:flex}.dreamill .feature-slides-stages{flex-wrap:wrap;gap:6px;margin-bottom:14px;display:flex}.dreamill .feature-slides-stages button{border:1px solid var(--line);background:var(--panel);color:var(--dm-muted);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:12px}.dreamill .feature-slides-stages button.current{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.dreamill .feature-slides-track{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:16px;margin:0;padding:0;list-style:none;display:flex;overflow-x:auto}.dreamill .feature-slides-track::-webkit-scrollbar{display:none}.dreamill .feature-slides-track:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.dreamill .feature-slide{scroll-snap-align:start;flex:0 0 100%;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center;gap:24px;min-width:0;padding:4px 28px 22px 4px;display:grid}.dreamill .feature-slide-copy{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.dreamill .feature-slide-stage{color:var(--accent);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:700}.dreamill .feature-slide-copy h3{margin:0;font-size:clamp(20px,2.4vw,26px);line-height:1.2}.dreamill .feature-slide-badge{background:var(--accent-soft);color:var(--accent);vertical-align:middle;border-radius:999px;margin-left:6px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.dreamill .feature-slide-copy p{max-width:42ch;color:var(--dm-muted);margin:0;line-height:1.55}.dreamill .feature-slide-copy .button svg{width:14px;height:14px}.dreamill .feature-slides-controls{justify-content:center;align-items:center;gap:8px;margin-top:8px;display:flex}.dreamill .feature-slides-controls .flip svg{transform:scaleX(-1)}.dreamill .feature-slides-dots{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.dreamill .feature-slides-dots button{background:var(--line);cursor:pointer;border:0;border-radius:999px;width:8px;height:8px;padding:0;transition:width .25s,background .25s}.dreamill .feature-slides-dots button.current{background:var(--accent);width:22px}.dreamill .mock-window{border:1px solid var(--line);background:var(--panel);-webkit-user-select:none;user-select:none;border-radius:14px;font-size:12px;overflow:hidden;box-shadow:0 10px 24px #00000029}.dreamill .mock-bar{border-bottom:1px solid var(--line);background:var(--panel-2);align-items:center;gap:5px;padding:8px 10px;display:flex}.dreamill .mock-bar i{background:var(--line);border-radius:50%;width:8px;height:8px}.dreamill .mock-bar span{color:var(--dm-muted);margin-left:8px;font-size:11px}.dreamill .mock-body{flex-direction:column;gap:10px;height:300px;padding:14px;display:flex;overflow:hidden}.dreamill .mock-body img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;display:block}.dreamill .mock-body svg{flex:none;width:14px;height:14px}.dreamill .mock-btn{background:var(--accent);color:#1b1307;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:7px 12px;font-weight:700;display:inline-flex}.dreamill .mock-btn.ghost{border:1px solid var(--line);color:var(--text);background:0 0}.dreamill .mock-btn.tiny{padding:4px 10px;font-size:11px}.dreamill .mock-chip{border:1px solid var(--line);color:var(--dm-muted);border-radius:8px;padding:4px 10px}.dreamill .mock-tabs{border-bottom:1px solid var(--line);gap:14px;display:flex}.dreamill .mock-tabs span{color:var(--dm-muted);padding-bottom:6px}.dreamill .mock-tabs .on{border-bottom:2px solid var(--accent);color:var(--text);font-weight:600}.dreamill .mock-toolbar{color:var(--dm-muted);align-items:center;gap:8px;display:flex}.dreamill .mock-toolbar>.mock-btn:last-child{margin-left:auto}.dreamill .mock-toolbar.end{justify-content:flex-end}.dreamill .mock-toolbar.end>.mock-btn:last-child{margin-left:0}.dreamill .feature-slide:not([aria-hidden=true]) .mock-typing{animation:2.4s steps(40,end) both dm-mock-type}@keyframes dm-mock-type{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}.dreamill .mock-shimmer{background:linear-gradient(100deg,#0000 30%,#ffffff59 50%,#0000 70%) 0 0/220% 100%;animation:1.6s linear infinite dm-mock-shimmer;position:absolute;inset:0}@keyframes dm-mock-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}.dreamill .mock-dream{border:1px solid color-mix(in srgb, var(--accent) 45%, var(--line));background:var(--bg);border-radius:14px;flex-direction:column;flex:1;gap:12px;padding:14px;display:flex}.dreamill .mock-dream .mock-typing{margin:0;font-size:15px;line-height:1.45}.dreamill .mock-attachments{align-items:center;gap:8px;display:flex}.dreamill .mock-thumb{border-radius:8px;width:54px;height:72px;position:relative;overflow:hidden}.dreamill .mock-thumb b{color:#fff;text-align:center;background:#0009;padding:2px;font-size:9px;position:absolute;inset:auto 0 0}.dreamill .mock-file{border:1px solid var(--line);border-radius:8px;align-items:center;gap:6px;padding:6px 10px;display:inline-flex}.dreamill .mock-dream-actions{align-items:center;gap:8px;margin-top:auto;display:flex}.dreamill .mock-dream-actions .ghost{margin-left:auto}.dreamill .mock-icon-btn{border:1px solid var(--line);width:28px;height:28px;color:var(--dm-muted);border-radius:50%;place-items:center;display:grid}.dreamill .mock-books{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:0;display:grid}.dreamill .mock-book{flex-direction:column;gap:6px;min-height:0;display:flex;position:relative}.dreamill .mock-book img{border-radius:8px;flex:1;min-height:0}.dreamill .mock-book.picked img{outline:2px solid var(--accent);outline-offset:2px}.dreamill .mock-book .mock-btn{position:absolute;top:40%;left:50%;transform:translate(-50%)}.dreamill .mock-canvas{background-image:radial-gradient(color-mix(in srgb, var(--dm-muted) 35%, transparent) 1px, transparent 1px);background-size:16px 16px;flex-direction:column;flex:1;gap:8px;margin:-14px;padding:14px;display:flex;position:relative}.dreamill .mock-node{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;padding:7px 10px}.dreamill .mock-node.dream{border-color:var(--accent);grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;max-width:70%;display:grid}.dreamill .mock-node.dream small{color:var(--dm-muted);grid-column:1/-1}.dreamill .mock-row{align-items:center;gap:8px;display:flex}.dreamill .mock-lead{color:var(--dm-muted);flex:0 0 86px;justify-content:space-between;align-items:center;gap:4px;font-weight:600;display:inline-flex}.dreamill .mock-node.beat{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:11px;overflow:hidden}.dreamill .mock-card{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;align-items:center;gap:8px;padding:4px 10px 4px 4px;display:flex}.dreamill .mock-card img{border-radius:7px;width:34px;height:34px}.dreamill .mock-card small{gap:4px;display:flex}.dreamill .mock-card em{background:var(--accent-soft);color:var(--accent);border-radius:6px;padding:1px 6px;font-size:10px;font-style:normal}.dreamill .mock-canvas-cta{position:absolute;bottom:14px;right:14px}.dreamill .mock-script{border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:12px 14px;line-height:1.6}.dreamill .mock-script h4{margin:0 0 6px;font-size:13px}.dreamill .mock-script p{margin:0 0 6px}.dreamill .mock-script.faded{opacity:.55;flex:1}.dreamill .mock-script mark{color:inherit;border-radius:4px;padding:0 3px}.dreamill .k-character{--kind:#ffb65c}.dreamill .k-place{--kind:#63c59b}.dreamill .k-thing{--kind:#8fb4ff}.dreamill .mock-cast-chip,.dreamill .mock-script mark{background:color-mix(in srgb, var(--kind) 22%, transparent);box-shadow:inset 0 -2px 0 var(--kind)}.dreamill .mock-cast{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0;display:grid}.dreamill .mock-cast-chip{border-radius:10px;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:6px;display:grid}.dreamill .mock-cast-chip img{border-radius:8px;grid-column:1/-1;min-height:0}.dreamill .mock-cast-chip>span{flex-direction:column;min-width:0;display:flex}.dreamill .mock-cast-chip small{color:var(--dm-muted);font-size:10px}.dreamill .mock-cast-chip svg{color:var(--kind);align-self:center}.dreamill .mock-note{color:var(--accent);align-items:center;gap:6px;font-size:11px;display:flex}.dreamill .mock-note.text{color:#8fb4ff}.dreamill .mock-clip{border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:0 8px 8px 0;margin:4px 0 8px;padding:4px 10px 2px}.dreamill .mock-clip small{color:var(--accent);font-weight:700}.dreamill .mock-assistant{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:10px;min-height:0;display:grid}.dreamill .mock-panel{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;flex-direction:column;gap:8px;padding:10px;display:flex}.dreamill .mock-panel small{color:var(--dm-muted)}.dreamill .mock-panel p{margin:0;line-height:1.45}.dreamill .mock-tip{border:1px solid var(--accent);border-radius:8px;flex-direction:column;align-items:flex-start;gap:6px;padding:8px;display:flex}.dreamill .mock-input{border:1px solid var(--line);color:var(--dm-muted);border-radius:999px;justify-content:space-between;align-items:center;margin-top:auto;padding:7px 10px;display:flex}.dreamill .mock-studio{flex:1;grid-template-columns:96px minmax(0,1fr);gap:12px;min-height:0;display:grid}.dreamill .mock-refs{flex-direction:column;gap:6px;display:flex}.dreamill .mock-refs small{color:var(--dm-muted)}.dreamill .mock-refs>span{border:2px solid #0000;border-radius:8px;height:56px;position:relative;overflow:hidden}.dreamill .mock-refs>span.on{border-color:var(--accent)}.dreamill .mock-refs>span svg{background:var(--accent);color:#1b1307;border-radius:50%;padding:1px;position:absolute;top:3px;right:3px}.dreamill .mock-refs.inline{flex-direction:row;align-items:center}.dreamill .mock-refs.inline>span{width:30px;height:30px}.dreamill .mock-result{border-radius:10px;position:relative;overflow:hidden}.dreamill .mock-prompt{border:1px solid var(--line);border-radius:999px;align-items:center;gap:10px;padding:6px 6px 6px 12px;display:flex}.dreamill .mock-prompt>span:first-child{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.dreamill .mock-describe{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:14px;min-height:0;display:grid}.dreamill .mock-describe figure{flex-direction:column;gap:6px;min-height:0;margin:0;display:flex}.dreamill .mock-describe figure img{border-radius:10px;flex:1;min-height:0}.dreamill .mock-describe figcaption{color:var(--dm-muted)}.dreamill .mock-field{border:1px solid var(--line);background:var(--bg);border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.dreamill .mock-field small{color:var(--dm-muted)}.dreamill .mock-field p{margin:0;font-size:13px;line-height:1.55}.dreamill .mock-ai{background:var(--accent);color:#1b1307;border-radius:6px;margin-left:4px;padding:1px 6px;font-size:10px}.dreamill .mock-strip{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:0;display:grid}.dreamill .mock-take{border-radius:10px;position:relative;overflow:hidden}.dreamill .mock-take em,.dreamill .mock-take small{color:#fff;background:#0009;border-radius:6px;padding:2px 6px;font-size:10px;font-style:normal;position:absolute}.dreamill .mock-take small{bottom:6px;left:6px}.dreamill .mock-take em{top:6px;right:6px}.dreamill .mock-take.busy img{filter:grayscale(.7)brightness(.6)}.dreamill .mock-player{border-radius:10px;flex:1;min-height:0;position:relative;overflow:hidden}.dreamill .mock-frame-btn{position:absolute;top:10px;right:10px}.dreamill .mock-flash{opacity:0;background:#fff;position:absolute;inset:0}.dreamill .mock-toast{color:#fff;opacity:0;background:#000000a6;border-radius:999px;align-items:center;gap:5px;padding:4px 10px;display:inline-flex;position:absolute;bottom:10px;left:10px}.dreamill .feature-slide:not([aria-hidden=true]) .mock-flash{animation:3.2s ease-out .8s both dm-mock-flash}.dreamill .feature-slide:not([aria-hidden=true]) .mock-toast{animation:3.2s ease-out .8s both dm-mock-toast}@keyframes dm-mock-flash{0%{opacity:0}6%{opacity:.8}20%,to{opacity:0}}@keyframes dm-mock-toast{0%,15%{opacity:0;transform:translateY(6px)}25%,to{opacity:1;transform:none}}.dreamill .mock-audio{align-items:center;gap:10px;display:flex}.dreamill .mock-audio>small{color:var(--dm-muted);white-space:nowrap}.dreamill .mock-wave{flex:1;align-items:center;gap:2px;height:36px;display:flex;position:relative}.dreamill .mock-wave i{background:color-mix(in srgb, var(--dm-muted) 55%, transparent);border-radius:2px;flex:1}.dreamill .mock-range{border:2px solid var(--accent);background:var(--accent-soft);color:var(--accent);border-radius:6px;place-items:center;font-size:10px;font-weight:700;display:grid;position:absolute;inset:-3px 38% -3px 30%}.dreamill .mock-preview{background:#000;border-radius:10px;flex:1;min-height:0;position:relative;overflow:hidden}.dreamill .mock-title-text{color:#fff;text-shadow:0 2px 10px #0009;white-space:nowrap;font-size:20px;font-weight:800;position:absolute;top:22%;left:50%;transform:translate(-50%)rotate(-3deg)}.dreamill .mock-timeline{flex-direction:column;gap:4px;display:flex;position:relative}.dreamill .mock-track{align-items:center;gap:4px;height:18px;display:flex}.dreamill .mock-track small{color:var(--dm-muted);flex:0 0 44px;font-size:10px}.dreamill .mock-block{background:color-mix(in srgb, var(--accent) 55%, var(--panel-2));border-radius:4px;flex:1;height:100%}.dreamill .mock-track.t1 .mock-block{background:color-mix(in srgb, #8fb4ff 50%, var(--panel-2));flex:0 0 34%;margin-left:12%}.dreamill .mock-track.t2 .mock-block{background:repeating-linear-gradient(90deg, color-mix(in srgb, #63c59b 55%, var(--panel-2)) 0 3px, transparent 3px 5px)}.dreamill .mock-playhead{z-index:1;background:var(--danger);width:2px;position:absolute;top:-4px;bottom:-4px;left:44%}.dreamill .feature-slide:not([aria-hidden=true]) .mock-playhead{animation:6s linear infinite dm-mock-play}@keyframes dm-mock-play{0%{left:52px}to{left:100%}}.dreamill .mock-preview.tall img{-o-object-position:center 30%;object-position:center 30%}.dreamill .mock-caption{color:#fff;white-space:nowrap;background:#000000b3;border-radius:6px;padding:4px 10px;font-size:14px;font-weight:700;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.dreamill .mock-progress{background:var(--line);border-radius:999px;flex:1;height:6px;overflow:hidden}.dreamill .mock-progress i{background:var(--accent);width:75%;height:100%;display:block}.dreamill .mock-toolbar>small{white-space:nowrap}.dreamill .mock-channels{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:10px;display:grid}.dreamill .mock-film{-moz-column-gap:10px;border:1px solid var(--line);background:var(--bg);border-radius:10px;grid-template-rows:auto auto;grid-template-columns:44px minmax(0,1fr);align-items:center;column-gap:10px;padding:8px;display:grid}.dreamill .mock-film img{border-radius:6px;grid-row:1/3;width:44px;height:58px}.dreamill .mock-film small{color:var(--dm-muted)}.dreamill .mock-channel{border:1px solid var(--line);opacity:.55;border-radius:10px;flex-direction:column;gap:4px;padding:12px;display:flex}.dreamill .mock-channel.on{border-color:var(--success);opacity:1}.dreamill .mock-channel small{color:var(--dm-muted);align-items:center;gap:4px;display:inline-flex}.dreamill .mock-channel.on small{color:var(--success)}@media (width<=860px){.dreamill .feature-slide{grid-template-columns:1fr;gap:14px}.dreamill .mock-body{height:260px}}@media (width<=520px){.dreamill .feature-slides{padding:16px 12px 10px}.dreamill .mock-body{height:230px;padding:10px}.dreamill .mock-cast,.dreamill .mock-channels{grid-template-columns:1fr 1fr}.dreamill .mock-lead{flex-basis:64px}}@media (prefers-reduced-motion:reduce){.dreamill .feature-slide .mock-flash,.dreamill .feature-slide .mock-playhead,.dreamill .feature-slide .mock-shimmer,.dreamill .feature-slide .mock-typing{animation:none!important}.dreamill .feature-slide .mock-toast{opacity:1;animation:none!important}}@media (width<=980px){.dreamill .creator-hero{grid-template-columns:1fr;min-height:0;padding:20px}.dreamill .creator-hero-visual{justify-self:stretch;max-width:none;min-height:0}.dreamill .journey:before{display:none}}@media (prefers-reduced-motion:reduce){.dreamill .journey-step{transition:none}.dreamill .journey-step:hover{transform:none}}.dreamill .free-note{color:#aeb5c1;margin-top:10px;font-size:10.5px}.dreamill .poster-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dreamill .story-row{scroll-snap-type:x mandatory;gap:12px;padding-bottom:8px;display:flex;overflow-x:auto}.dreamill .collection-row>*,.dreamill .story-row>*{transition:opacity .42s,filter .42s,transform .42s}.dreamill .collection-row.is-reshuffling>*,.dreamill .story-row.is-reshuffling>*{opacity:0;filter:blur(5px);transform:translateY(12px)scale(.97)}.dreamill .collection-row.is-reshuffling>:nth-child(2),.dreamill .story-row.is-reshuffling>:nth-child(2){transition-delay:30ms}.dreamill .collection-row.is-reshuffling>:nth-child(3),.dreamill .story-row.is-reshuffling>:nth-child(3){transition-delay:60ms}.dreamill .collection-row.is-reshuffling>:nth-child(4),.dreamill .story-row.is-reshuffling>:nth-child(4){transition-delay:90ms}.dreamill .collection-row.is-reshuffling>:nth-child(5),.dreamill .story-row.is-reshuffling>:nth-child(5){transition-delay:.12s}.dreamill .collection-row.is-reshuffling>:nth-child(6),.dreamill .story-row.is-reshuffling>:nth-child(6){transition-delay:.15s}.dreamill .collection-row.is-reshuffling>:nth-child(n+7),.dreamill .story-row.is-reshuffling>:nth-child(n+7){transition-delay:.18s}.dreamill .collection-row.is-dealt>*,.dreamill .story-row.is-dealt>*{transition:none;animation:.62s both dreamill-reel-deal}.dreamill .collection-row.is-dealt>:nth-child(2),.dreamill .story-row.is-dealt>:nth-child(2){animation-delay:40ms}.dreamill .collection-row.is-dealt>:nth-child(3),.dreamill .story-row.is-dealt>:nth-child(3){animation-delay:80ms}.dreamill .collection-row.is-dealt>:nth-child(4),.dreamill .story-row.is-dealt>:nth-child(4){animation-delay:.12s}.dreamill .collection-row.is-dealt>:nth-child(5),.dreamill .story-row.is-dealt>:nth-child(5){animation-delay:.16s}.dreamill .collection-row.is-dealt>:nth-child(6),.dreamill .story-row.is-dealt>:nth-child(6){animation-delay:.2s}.dreamill .collection-row.is-dealt>:nth-child(n+7),.dreamill .story-row.is-dealt>:nth-child(n+7){animation-delay:.24s}@keyframes dreamill-reel-deal{0%{opacity:0;filter:blur(5px);transform:translateY(16px)scale(.96)}to{opacity:1;filter:blur();transform:none}}@media (prefers-reduced-motion:reduce){.dreamill .collection-row.is-dealt>*,.dreamill .collection-row.is-reshuffling>*,.dreamill .collection-row>*,.dreamill .story-row.is-dealt>*,.dreamill .story-row.is-reshuffling>*,.dreamill .story-row>*{opacity:1;filter:none;transition:none;animation:none;transform:none}}.dreamill a.story-cover{aspect-ratio:9/16;scroll-snap-align:start;border:1px solid var(--line);color:#fff;background:linear-gradient(#ff9f2f2e,#0000 42%),#171a20;border-radius:14px;flex:0 0 148px;text-decoration:none;position:relative;overflow:hidden}.dreamill a.story-cover:after{content:"";background:linear-gradient(#0000 36%,#040507eb);position:absolute;inset:0}.dreamill .story-cover img,.dreamill .story-cover video{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.dreamill .story-cover span{z-index:1;gap:4px;display:grid;position:absolute;bottom:10px;left:10px;right:10px}.dreamill .story-cover small{color:#ffb15a;font-size:11px}.dreamill .story-cover strong{font-size:14px;line-height:1.3}.dreamill .poster-card{border:1px solid var(--line);color:#fff;text-align:left;background:#171a20;border-radius:15px;min-height:185px;position:relative;overflow:hidden}.dreamill .poster-card:after{content:"";background:linear-gradient(#0000 28%,#040507f0);position:absolute;inset:0}.dreamill .publish-channels{gap:8px;margin:4px 0 16px;display:grid}.dreamill .publish-channel{justify-content:space-between;align-items:center;gap:12px;display:flex}.dreamill .publish-channel label{align-items:center;gap:8px;display:flex}.dreamill .publish-channel input{appearance:auto;-webkit-appearance:checkbox;width:16px;height:16px;accent-color:var(--accent);margin:0}.dreamill .publish-connected{color:var(--dm-muted);font-size:13px}.dreamill .channel-board{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:12px;display:grid}.dreamill .channel-card{border:1px solid var(--line);background:var(--panel);border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.dreamill .channel-card.is-picked{border-color:var(--accent);background:var(--accent-soft)}.dreamill .channel-card:not(.is-off) .channel-card-body{cursor:pointer}.dreamill .channel-card-pick input{appearance:auto;-webkit-appearance:checkbox;width:16px;height:16px;accent-color:var(--accent);margin:0}.dreamill .channel-card-body{flex:auto;gap:8px;min-width:0;display:grid}.dreamill .channel-card-title,.dreamill .channel-head h3{align-items:center;gap:8px;display:flex}.dreamill .channel-favicon{border-radius:4px;flex:none}.dreamill .channel-card-hint{color:var(--dm-muted);margin:0;font-size:13px}.dreamill .channel-account{align-items:center;gap:10px;min-width:0;display:flex}.dreamill .channel-avatar{-o-object-fit:cover;object-fit:cover;background:var(--panel-2);border-radius:50%;flex:none;width:36px;height:36px}.dreamill .channel-account.is-large{margin-top:14px}.dreamill .channel-account.is-large .channel-avatar{width:48px;height:48px}.dreamill .channel-account-copy{gap:2px;min-width:0;display:grid}.dreamill .channel-account-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.dreamill .channel-verified{color:var(--accent);margin-left:4px;font-size:12px}.dreamill .channel-account-meta{color:var(--dm-muted);flex-wrap:wrap;gap:4px 10px;font-size:12px;display:flex}.dreamill .channel-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.dreamill .publish-error,.dreamill .publish-modes{color:var(--dm-muted);margin:0 0 12px;font-size:13px}.dreamill .publish-error{color:var(--danger)}.dreamill .channel-card-actions{opacity:0;flex:none;gap:6px;transition:opacity .15s;display:flex}.dreamill .channel-card:focus-within .channel-card-actions,.dreamill .channel-card:hover .channel-card-actions{opacity:1}@media (hover:none){.dreamill .channel-card-actions{opacity:1}}.dreamill .publish-unfinished{border:1px solid var(--accent);background:var(--accent-soft);border-radius:12px;gap:10px;margin:0 0 14px;padding:12px 14px;font-size:13px;display:grid}.dreamill .publish-unfinished p{margin:0}.dreamill .publish-unfinished-actions{flex-wrap:wrap;gap:8px;display:flex}.dreamill .dialog.publish-dialog{height:min(780px,90vh)}.dreamill .publish-dialog .dialog-actions{z-index:1;background:inherit;margin-bottom:-10px;padding:12px 0;position:sticky;bottom:-10px}.dreamill .tiktok-post{background:inherit;gap:14px;display:grid}.dreamill .tiktok-post-head{align-items:center;gap:8px;display:flex}.dreamill .tiktok-post-body{grid-template-columns:minmax(0,160px) minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (width<=560px){.dreamill .tiktok-post-body{grid-template-columns:1fr}}.dreamill .tiktok-post-preview{background:#000;border-radius:10px;width:100%;max-height:300px}.dreamill .tiktok-post-fields{gap:12px;min-width:0;display:grid}.dreamill .tiktok-post-field{border:0;gap:6px;margin:0;padding:0;font-size:13px;display:grid}.dreamill .tiktok-post-field>legend,.dreamill .tiktok-post-field>span{color:var(--dm-muted);font-size:12px}.dreamill .tiktok-post-field select,.dreamill .tiktok-post-field textarea{width:100%}.dreamill .tiktok-post-disclose label,.dreamill .tiktok-post-field fieldset label,.dreamill .tiktok-post-toggle,.dreamill fieldset.tiktok-post-field label{align-items:flex-start;gap:8px;display:flex}.dreamill fieldset.tiktok-post-field{flex-wrap:wrap;gap:6px 16px;display:flex}.dreamill fieldset.tiktok-post-field legend{width:100%;margin-bottom:6px}.dreamill .tiktok-post input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:16px;height:16px;accent-color:var(--accent);margin:1px 0 0}.dreamill .tiktok-post small{color:var(--dm-muted);font-size:12px;display:block}.dreamill .tiktok-post-disclose{gap:8px;margin:8px 0 0 24px;display:grid}.dreamill .tiktok-post-consent{align-items:flex-start;gap:8px;margin:0;font-size:12px;display:flex}.dreamill .tiktok-post input[type=radio]{appearance:auto;-webkit-appearance:radio;width:16px;height:16px;accent-color:var(--accent);margin:1px 0 0}.dreamill .tiktok-post-consent a{text-decoration:underline}.dreamill .poster-card.is-unfinished{border-style:dashed}.dreamill .poster-card.is-unfinished>img{filter:grayscale();opacity:.45}.dreamill .poster-card.is-unfinished .poster-copy strong,.dreamill .poster-card.is-unfinished .poster-copy>span{color:#ffffffbf}.dreamill .poster-card.is-unfinished .poster-copy strong .ui-icon{color:#ffffff8c}.dreamill .poster-card .poster-card-action{width:auto;margin-top:8px;display:inline-flex}.dreamill .youtube-yourself{border:1px solid var(--line);border-radius:10px;gap:10px;padding:10px 12px;font-size:13px;display:grid}.dreamill .youtube-yourself summary{cursor:pointer;font-weight:600}.dreamill .youtube-yourself[open] summary{margin-bottom:8px}.dreamill .youtube-yourself-actions{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.dreamill .youtube-yourself-link{gap:8px;display:flex}.dreamill .youtube-yourself-link input{flex:auto;min-width:0}.dreamill .tiktok-post-field input:not([type]),.dreamill .tiktok-post-field input[type=url]{width:100%}.dreamill .publish-badges{z-index:2;gap:6px;display:flex;position:absolute;top:10px;right:10px}.dreamill .publish-badge{background:#ffffffeb;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:relative;box-shadow:0 2px 8px #00000059}.dreamill .publish-badge img{border-radius:4px}.dreamill .publish-badge:after{content:"";border:2px solid #0000;border-radius:50%;position:absolute;inset:-3px}.dreamill .publish-badge.is-processing:after,.dreamill .publish-badge.is-uploading:after{border-color:var(--accent) transparent var(--accent) transparent;animation:1.1s linear infinite dm-publish-spin}.dreamill .publish-badge.is-draft:after{border-color:var(--dm-muted);border-style:dashed}.dreamill .publish-badge.is-published:after{border-color:var(--success)}.dreamill .publish-badge.is-failed:after{border-color:var(--danger)}@keyframes dm-publish-spin{to{transform:rotate(1turn)}}.publish-badge-tip{gap:2px;max-width:260px;font-size:12px;display:grid}.publish-badge-tip a{text-decoration:underline}.dreamill .publish-progress{border:1px solid var(--line);background:var(--panel-2);border-radius:12px;gap:10px;margin:0 0 14px;padding:12px 14px;display:grid}.dreamill .publish-progress-row{align-items:flex-start;gap:10px;display:flex}.dreamill .publish-progress-row>img{border-radius:4px;margin-top:2px}.dreamill .publish-progress-copy{flex:auto;gap:4px;min-width:0;font-size:13px;display:grid}.dreamill .publish-progress-note{color:var(--dm-muted);font-size:12px}.dreamill .publish-progress-note.is-error,.dreamill .publish-progress-row.is-failed>.publish-progress-copy>span:first-of-type{color:var(--danger)}.dreamill .publish-progress-row.is-published>.publish-progress-copy>span:first-of-type{color:var(--success)}.dreamill .publish-progress-bar{background:var(--line);border-radius:999px;height:6px;overflow:hidden}.dreamill .publish-progress-bar>span{border-radius:inherit;background:var(--accent);height:100%;transition:width .4s;display:block}.dreamill .publish-progress-bar>span.is-indeterminate{animation:1.2s ease-in-out infinite dm-publish-slide;width:40%!important}@keyframes dm-publish-slide{0%{transform:translate(-100%)}to{transform:translate(250%)}}.dreamill .channel-pub-status{color:var(--dm-muted);white-space:nowrap}.dreamill .channel-pub-status.is-published{color:var(--success)}.dreamill .channel-pub-status.is-failed{color:var(--danger)}.dreamill .channel-pub-status a{color:inherit;text-decoration:underline}.dreamill .channel-see-all{margin-top:10px}.dreamill .channel-all-dialog{width:min(640px,100vw - 32px)}.dreamill .channel-all-dialog h2{align-items:center;gap:8px;display:flex}.dreamill .channel-all-list{gap:8px;max-height:min(60vh,520px);margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.dreamill .channel-all-item{border:1px solid var(--line);border-radius:10px;gap:4px;padding:10px 12px;font-size:13px;display:grid}.dreamill .channel-all-head{justify-content:space-between;gap:12px;display:flex}.dreamill .channel-all-head strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dreamill .channel-all-meta{color:var(--dm-muted);font-size:12px}.dreamill .channel-page-pick{color:var(--dm-muted);gap:6px;margin-top:12px;font-size:13px;display:grid}.dreamill .channel-page-pick select{max-width:100%}.dreamill .publish-connected.is-on{color:var(--success)}.dreamill .channel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.dreamill .channel-head h3{margin:0}.dreamill .channel-pubs{gap:8px;margin:12px 0 0;padding:0;list-style:none;display:grid}.dreamill .channel-pub{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;font-size:13px;display:grid}.dreamill .channel-pub strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dreamill .channel-pub:has(>button){grid-template-columns:minmax(0,1fr) auto auto auto}.dreamill .publish-channel-hall{align-items:flex-end}.dreamill .publish-channel-hall .channel-card-body{cursor:default}.dreamill .publish-channel-hall .channel-card-actions{opacity:1}.dreamill .publish-hall-title-text{min-width:0;font-weight:650;line-height:1.35;display:inline}.dreamill .publish-hall-unpublish{vertical-align:middle;margin-left:8px;display:inline-flex}.dreamill .publish-hall-title-sep{color:var(--dm-muted);margin:0 .35em;font-weight:500}.dreamill .publish-hall-title-link{color:var(--accent-strong,var(--accent));font-weight:650;text-decoration:none}.dreamill .publish-hall-title-link:hover{text-decoration:underline}.dreamill .publish-hall-title-name{font-weight:650}.dreamill .publish-hall-caption-input{box-sizing:border-box;border:1px solid var(--line);background:var(--shell);width:100%;color:var(--text);font:inherit;resize:vertical;border-radius:10px;margin-top:10px;padding:8px 10px}.dreamill .publish-hall-unpublish-popover{z-index:100;width:min(18rem,100vw - 24px);padding:12px}.dreamill .publish-hall-unpublish-copy{color:var(--text);margin:0 0 10px;font-size:13px;line-height:1.45}.dreamill .publish-hall-unpublish-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dreamill a.stories-cue{color:inherit;align-items:center;gap:4px;text-decoration:none;display:inline-flex}.dreamill .poster-card img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;transition:transform .35s;position:absolute;inset:0}.dreamill .poster-card:hover img{transform:scale(1.035)}.dreamill .content-card.is-disabled,.dreamill .path-card.is-disabled,.dreamill .poster-card.is-disabled{opacity:.42;pointer-events:none;cursor:default}.dreamill .poster-card.is-disabled:hover img{transform:none}.dreamill .poster-copy{z-index:1;position:absolute;bottom:13px;left:14px;right:14px}.dreamill .poster-copy strong{align-items:center;gap:6px;font-size:14px;display:flex}.dreamill .poster-copy span{color:#c5cad3;margin-top:5px;font-size:11px;display:block}.dreamill .path-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.dreamill .path-card{border:1px solid var(--line);background:linear-gradient(145deg,#1f232b,#15181d);border-radius:14px;min-height:150px;padding:14px}.dreamill .path-card.featured{border-color:#6d5132;box-shadow:inset 0 0 30px #ffb65c0f}.dreamill .path-card strong{margin:10px 0 6px;font-size:14px;display:block}.dreamill .path-card p{color:var(--dm-muted);margin:0;font-size:12px;line-height:1.5}.dreamill .price-pill{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:4px 7px;font-size:10px;display:inline-flex}.dreamill .resource-search{background:var(--panel);border:1px solid #424957;border-radius:14px;gap:9px;margin-bottom:16px;padding:8px;display:flex}.dreamill .resource-search input{min-width:0;height:42px;color:var(--text);background:0 0;border:0;flex:1;padding:0 10px;font-size:15px}.dreamill .resource-search input::placeholder{color:#747d8d}.dreamill .resource-modes{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:20px;display:grid}.dreamill .resource-mode{border:1px solid var(--line);background:var(--panel);min-height:74px;color:var(--text);text-align:left;border-radius:12px;padding:12px}.dreamill .resource-mode.active,.dreamill .resource-mode:hover{border-color:var(--accent);background:var(--accent-soft)}.dreamill .resource-mode strong{font-size:14px;display:block}.dreamill .resource-mode span{color:var(--dm-muted);margin-top:5px;font-size:12px;line-height:1.4;display:block}.dreamill .resource-section-head{justify-content:space-between;align-items:center;gap:12px;margin:18px 0 10px;display:flex}.dreamill .resource-section-head h2{margin:0;font-size:16px}.dreamill .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;display:grid}.dreamill .project-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.dreamill .project-card{border:1px solid var(--line);background:linear-gradient(180deg, #ffb65c0f, transparent 42%), var(--panel);min-height:168px;color:inherit;border-radius:16px;width:100%;display:flex;position:relative;overflow:visible}.dreamill .project-card-link{min-width:0;color:inherit;flex:1;gap:14px;padding:12px;text-decoration:none;display:flex}.dreamill .project-card:hover{border-color:#ff9f2f}.dreamill .project-card.is-static,.dreamill .project-card.is-static:hover{border-color:var(--line);cursor:default}.dreamill .project-card-menu{z-index:2;position:absolute;top:10px;right:8px}.dreamill .project-card:has(.stage-menu.is-open){z-index:4}.dreamill .project-card.has-menu .project-card-top{padding-right:28px}.dreamill .project-card-cover{aspect-ratio:3/4;color:#f5f4f0;background:#000;border-radius:12px;flex:0 0 112px;place-items:center;width:112px;font-size:32px;display:grid;overflow:hidden}.dreamill .project-card-cover img{-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;width:100%;height:100%;margin:0}.dreamill .project-card-body{flex-direction:column;flex:1;min-width:0;padding:4px 4px 2px 0;display:flex}.dreamill .project-card-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.dreamill .project-card-body h3{margin:0;font-size:18px;line-height:1.3}.dreamill .project-card-body p{color:var(--dm-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:8px 0 0;font-size:13px;line-height:1.5;display:-webkit-box;overflow:hidden}.dreamill .project-card-meta{color:var(--dm-muted);flex-wrap:wrap;gap:6px 10px;margin-top:12px;font-size:12px;display:flex}.dreamill .project-card-open{color:#ffb65c;margin-top:auto;padding-top:12px;font-size:13px;font-weight:600}.dreamill .resource-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);padding:15px;position:relative}.dreamill button.resource-card.is-add{border:1px dashed var(--line);width:100%;min-height:148px;color:var(--text);cursor:pointer;font:inherit;background:#fff;justify-content:center;align-items:center;display:flex}.dreamill button.resource-card.is-add:hover{border-color:var(--accent);color:var(--accent)}.dreamill .element-card{align-items:flex-start;gap:12px;display:flex}.dreamill .element-media{background:#111;border-radius:8px;flex:none;place-items:center;width:96px;height:144px;display:grid;position:relative;overflow:hidden}.dreamill .element-media img,.dreamill .element-media video{-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.dreamill .element-copy{min-width:0}.dreamill .element-copy h3{margin:0 0 6px;font-size:14px}.dreamill .element-copy p{color:var(--dm-muted);margin:0;font-size:13px;line-height:1.45}.dreamill .element-card.is-character .element-copy p{-webkit-line-clamp:4;-webkit-box-orient:vertical;max-height:80px;display:-webkit-box;overflow:hidden}.dreamill .element-meta{color:var(--dm-muted);margin-top:8px;font-size:12px}.dreamill .element-actions .element-icon{width:32px;min-width:32px;min-height:32px;padding:0}.dreamill .element-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.dreamill .library-drop{min-height:280px;position:relative}.dreamill .library-drop.is-over{outline-offset:6px;outline:2px dashed #ffb65c}.dreamill .library-drop-overlay{z-index:5;color:var(--text);pointer-events:none;text-align:center;background:#ffb65c29;border-radius:12px;place-items:center;padding:24px;font-size:15px;display:grid;position:absolute;inset:0}.dreamill .style-chip.is-drop{outline:2px solid #ffb65c}.dreamill .library-form{gap:10px;margin-top:12px;display:grid}.dreamill .library-edit{grid-template-columns:minmax(140px,200px) minmax(0,1fr);align-items:stretch;gap:16px;margin-top:12px;display:grid}.dreamill .library-edit .library-form{margin-top:0}.dreamill .library-edit-media{border:1px dashed var(--line);color:#fff;cursor:pointer;background:#111;border-radius:8px;place-items:center;width:100%;min-height:100%;display:grid;position:relative;overflow:hidden}.dreamill .library-edit-media.is-over{outline:2px solid var(--accent)}.dreamill .library-edit-media img,.dreamill .library-edit-media video{-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.dreamill .library-edit-media .library-edit-vision{position:absolute;inset:0}.dreamill .library-edit-media .library-edit-vision .image-vision-frame{width:100%;height:100%;overflow:hidden}.dreamill .library-edit-media .library-edit-vision img{position:static}.dreamill .library-edit-hint{color:#fff;text-align:center;background:#000000a8;border-radius:6px;padding:4px;font-size:11px;line-height:1.3;position:absolute;bottom:4px;left:4px;right:4px}.dreamill .library-form input,.dreamill .library-form textarea{width:100%}.dreamill .resource-card-top{justify-content:space-between;gap:10px;display:flex}.dreamill .resource-card h3{margin:0;font-size:15px}.dreamill .resource-card p{color:var(--dm-muted);margin:8px 0 12px;font-size:13px;line-height:1.55}.dreamill .rights{color:#8dd9b6;background:#26372f;border-radius:999px;flex:none;height:fit-content;padding:3px 7px;font-size:11px}.dreamill .rights.review{color:#f2c47d;background:#3a3022}.dreamill .resource-meta{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.dreamill .resource-actions{pointer-events:none;background:0 0;border-radius:10px;flex-wrap:wrap;gap:7px;padding:8px;display:flex;position:absolute;bottom:10px;left:10px;right:10px}.dreamill .resource-card:focus-within .resource-actions,.dreamill .resource-card:hover .resource-actions{background:var(--panel);pointer-events:auto}.dreamill .resource-actions .button{opacity:0;pointer-events:none;align-items:center;gap:5px;display:inline-flex}.dreamill .resource-card:not(:hover):not(:focus-within) .resource-actions .button:not(.is-choice),.dreamill .resource-card:not(:hover):not(:focus-within):not(.is-chosen) .resource-actions .is-choice{display:none}.dreamill .resource-card.is-chosen .resource-actions .is-choice,.dreamill .resource-card:focus-within .resource-actions .button,.dreamill .resource-card:hover .resource-actions .button{opacity:1;pointer-events:auto;display:inline-flex}.dreamill .plan-chips .ui-icon,.dreamill .resource-actions .ui-icon,.dreamill .stage-button .ui-icon{width:15px;height:15px}.dreamill .resource-card.is-book{align-items:stretch;gap:14px;padding:12px;display:flex}.dreamill .book-cover{-o-object-fit:cover;object-fit:cover;background:#1c1814;border-radius:6px;flex:0 0 64px;align-self:flex-start;width:64px;height:88px;min-height:0;max-height:88px;display:block}.dreamill .resource-card.is-pick.is-book{align-items:flex-start;max-height:136px;overflow:hidden}.dreamill .book-copy{flex-direction:column;flex:1;align-items:flex-start;gap:6px;min-width:0;display:flex}.dreamill .resource-card.is-book .resource-meta,.dreamill .resource-card.is-book h3,.dreamill .resource-card.is-book p{margin:0}.dreamill .resource-card.is-book .resource-card-top{width:100%;min-width:0}.dreamill .resource-card.is-book h3{white-space:nowrap;text-overflow:ellipsis;flex:auto;width:auto;min-width:0;max-width:100%;display:block;overflow:hidden}.dreamill .resource-card.is-book p{-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;width:100%;min-width:0;max-width:100%;display:-webkit-box;overflow:hidden}.dreamill .is-book .resource-actions{background:0 0;margin-top:auto;padding:0;position:static}.dreamill .original-link{color:var(--accent);text-align:left;background:0 0;border:0;margin-top:4px;padding:0;font-size:12px}.dreamill .document-frame{background:#fff;border:0;border-radius:10px;width:100%;height:min(70vh,720px)}.dreamill .epub-pages{gap:12px;display:grid}.dreamill .epub-page{color:#1c1916;background:#fff;border-radius:10px;max-height:min(70vh,720px);padding:16px;overflow:auto}.dreamill .idea-cover{-o-object-fit:cover;object-fit:cover;background:#171a20;border-radius:8px;width:72px;height:96px}.dreamill .adapt-style{align-items:center;gap:6px;display:inline-flex}.dreamill .style-select{border:1px solid var(--line);background:var(--panel);max-width:140px;height:32px;color:var(--text);border-radius:999px;padding:0 8px}@media (hover:none){.dreamill .resource-card .resource-actions{background:var(--panel);pointer-events:auto}.dreamill .resource-actions .button{opacity:1;pointer-events:auto;display:inline-flex}}.dreamill .resource-card.is-chosen{border-color:var(--accent);background:var(--accent-soft)}.dreamill .research-strip{background:#14181e;border:1px solid #38404c;border-radius:13px;margin-top:13px;padding:14px}.dreamill .research-strip strong{margin-bottom:6px;font-size:14px;display:block}.dreamill .research-strip p{color:var(--dm-muted);margin:0;font-size:12px;line-height:1.5}.dreamill .world-pane{border:1px solid var(--line);border-radius:var(--radius);color:#171717;background:#fff;flex-direction:column;height:calc(100vh - 220px);min-height:28rem;display:flex;overflow:hidden}.dreamill .world-pane>.element-drop-zone{flex:1;min-height:0}.dreamill .world-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.dreamill .world-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);overflow:hidden}.dreamill .world-visual{color:#778091;background:linear-gradient(135deg,#2b303a,#191c22);place-items:center;min-height:120px;font-size:30px;display:grid}.dreamill .world-info{padding:12px}.dreamill .world-info strong{font-size:14px;display:block}.dreamill .world-info span{color:var(--dm-muted);margin-top:5px;font-size:12px;display:block}.dreamill .shots{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dreamill .shot{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);overflow:hidden}.dreamill .shot-image{aspect-ratio:16/9;color:#7f8794;background:linear-gradient(135deg,#2b303a,#111318);place-items:center;display:grid}.dreamill .shot-image video{-o-object-fit:cover;object-fit:cover;background:#000;width:100%;height:100%}.dreamill .shot-body{padding:12px}.dreamill .shot-body strong{font-size:13px}.dreamill .shot-body p{color:var(--dm-muted);margin:6px 0 0;font-size:12px;line-height:1.45}.dreamill .editor{background:#111318;border-radius:0;flex-direction:column;display:flex;overflow:hidden}.dreamill .editor-main{flex:none;grid-template-columns:minmax(0,1fr);min-height:160px;display:grid}.dreamill .editor-properties,.dreamill .editor-tools{background:#171a20;padding:12px}.dreamill .editor-tools{border-right:1px solid var(--line)}.dreamill .editor-properties{border-left:1px solid var(--line)}.dreamill .tool-list{gap:6px;display:grid}.dreamill .tool{min-height:34px;color:var(--dm-muted);text-align:left;background:0 0;border:0;border-radius:8px;padding:0 9px}.dreamill .tool.active,.dreamill .tool:hover{color:var(--text);background:#272c34}.dreamill .preview{justify-content:center;align-items:center;height:100%;min-height:0;padding:0;display:flex}.dreamill .editor .preview-frame{aspect-ratio:16/9;width:auto;max-width:100%;height:100%;max-height:100%}.dreamill .property-title{margin:0 0 12px;font-size:13px}.dreamill .property-row{border-bottom:1px solid var(--line);color:var(--dm-muted);padding:9px 0;font-size:12px}.dreamill .timeline{border-top:1px solid var(--line);background:#15181d;padding:0;overflow-x:auto}.dreamill .timeline:after{content:"";background:var(--bg);height:28px;display:block}.dreamill .timeline-scenes{gap:5px;min-width:620px;display:flex}.dreamill .timeline-scene{border-left:3px solid var(--accent);color:#d6dae1;background:#2a303a;border-radius:8px;flex:1;min-width:120px;height:58px;padding:9px;font-size:11px}.dreamill .timeline-scene:nth-child(2){flex:1.35}.dreamill .timeline-scene:nth-child(3){flex:.8}.dreamill .next-step{pointer-events:none;justify-content:flex-end;margin-top:20px;display:flex;position:sticky;bottom:14px}.dreamill .next-step .button{pointer-events:auto;box-shadow:0 12px 30px #00000059}.dreamill .dialog-backdrop{z-index:60;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#040507b8;place-items:center;padding:10px 20px;display:none;position:fixed;inset:0}.dreamill .dialog-backdrop.visible{display:grid}body:has(.dreamill .dialog-backdrop.visible) [data-reka-popper-content-wrapper]{z-index:100!important}.dreamill .dialog{border:1px solid var(--line);background:#171a20;border-radius:18px;width:min(720px,100%);max-height:90vh;padding:10px 20px;overflow:auto;box-shadow:0 30px 80px #00000080}.dreamill .dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.dreamill .dialog h2{margin:0;font-size:22px}.dreamill .close{border:1px solid var(--line);width:34px;height:34px;color:var(--dm-muted);background:0 0;border-radius:9px;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.dreamill .start-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.dreamill .start-option{border:1px solid var(--line);min-height:90px;color:var(--text);text-align:left;background:#1c2027;border-radius:12px;padding:14px}.dreamill .start-option.selected,.dreamill .start-option:hover{border-color:var(--accent);background:var(--accent-soft)}.dreamill .start-option strong{margin-bottom:6px;display:block}.dreamill .start-option span{color:var(--dm-muted);font-size:12px;line-height:1.4}.dreamill .dialog-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.dreamill .theme-button,.dreamill .top-actions>.icon-button{padding:0}.dreamill[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f2ed;--shell:#faf9f6;--panel:#fff;--panel-2:#f1eee7;--line:#d8d3ca;--text:#1c1e22;--dm-muted:#656c77;--accent:#c36b0b;--accent-strong:#a85400;--accent-soft:#c36b0b1c;--success:#28795a;--danger:#b83f4c;--auth-wall:#e4ddd2;--auth-wall-fade:#f4f2ed;--auth-tile:#d5cec2}.dreamill[data-theme=light] .app{background:radial-gradient(circle at 50% -10%, #ff9f2f24, transparent 34%), var(--bg)}.dreamill[data-theme=light] .main{background:var(--bg)}.dreamill[data-theme=light] .sidebar{background:#f8f6f1}.dreamill[data-theme=light] .topbar{background:#faf9f6eb}.dreamill[data-theme=light] .stagebar{background:var(--shell)}.dreamill[data-theme=light] .assistant{background:#f8f6f2}.dreamill[data-theme=light] .nav-label{color:#8a8175}.dreamill[data-theme=light] .nav-button:hover{background:#3c2d190f}.dreamill[data-theme=light] .project-option.active{color:#1c1e22;background:#f3ead8}.dreamill[data-theme=light] .stage-button.active{background:var(--accent);color:#fff}.dreamill[data-theme=light] .button{background:#fff}.dreamill[data-theme=light] .button:hover{background:#f3efe8}.dreamill[data-theme=light] .button.primary{background:var(--accent);color:#fff}.dreamill[data-theme=light] .button.primary:hover{background:var(--accent-strong);color:#fff}.dreamill[data-theme=light] .save-state{color:var(--success)}.dreamill[data-theme=light] .view-toggle{background:#ebe7df}.dreamill[data-theme=light] .view-button.active{color:var(--text);background:#fff;box-shadow:0 1px 4px #231c121f}.dreamill[data-theme=light] .progress-track{background:#ded9d0}.dreamill[data-theme=light] .scene-summary{color:#555c66}.dreamill[data-theme=light] .scene-index,.dreamill[data-theme=light] .tag{background:#ece8e0}.dreamill[data-theme=light] .canvas{background-color:#f7f5f0;background-image:radial-gradient(#c8c1b6 1px,#0000 0)}.dreamill[data-theme=light] .flow-node{background:#fff;border-color:#c9c2b7}.dreamill[data-theme=light] .asset-dot{color:#555c66;background:#e8e3db}.dreamill[data-theme=light] .advanced-panel{background:#fff8eb;border-color:#e0c696}.dreamill[data-theme=light] .field input,.dreamill[data-theme=light] .field select,.dreamill[data-theme=light] .research-strip,.dreamill[data-theme=light] .resource-search{background:#fff}.dreamill[data-theme=light] .shot-image,.dreamill[data-theme=light] .world-visual{color:#6b727c;background:linear-gradient(135deg,#eee9e1,#dcd6cd)}.dreamill[data-theme=light] .path-card{background:linear-gradient(145deg,#fff,#f0ece5)}.dreamill[data-theme=light] .editor{background:#f8f6f1}.dreamill[data-theme=light] .editor-properties,.dreamill[data-theme=light] .editor-tools{background:#f1eee8}.dreamill[data-theme=light] .tool.active,.dreamill[data-theme=light] .tool:hover{background:#dfdad1}.dreamill[data-theme=light] .preview-frame{background:linear-gradient(145deg,#e2ddd5,#c9c3b9);box-shadow:0 22px 55px #4a392329}.dreamill[data-theme=light] .timeline{background:#ece8e1}.dreamill[data-theme=light] .timeline-scene{color:#33373e;background:#ddd7ce}.dreamill[data-theme=light] .dialog{background:#fff;box-shadow:0 30px 80px #3c2d1933}.dreamill[data-theme=light] .start-option{background:#f8f6f1}@media (width<=1120px){.dreamill .workbench{grid-template-columns:minmax(0,1fr)}.dreamill .assistant{display:none}.dreamill .world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=767px){.dreamill .main .page-heading{top:calc(62px + env(safe-area-inset-top,0px));z-index:12;background:#2a303a;margin-bottom:12px;margin-left:-12px;margin-right:-12px;padding:8px 12px 10px;position:sticky}.dreamill[data-theme=light] .main .page-heading{background:var(--bg)}.dreamill:has(.script-screen) .main .page-heading{background:0 0;margin:0 0 12px;padding:0;position:static}.dreamill .app{grid-template-columns:minmax(0,1fr)}.dreamill .sidebar{display:none}.dreamill .nav-menu-backdrop{z-index:60;background:#04050773;position:fixed;inset:0}.dreamill .app.nav-menu-open .topbar{z-index:70}.dreamill .app.nav-menu-open .sidebar{z-index:80;border:1px solid var(--line);border-radius:14px;width:min(320px,100vw - 24px);height:auto;max-height:calc(100vh - 86px);display:flex;position:fixed;top:70px;left:12px;overflow:auto;box-shadow:0 18px 48px #00000059}.dreamill .app.nav-menu-open .sidebar .nav-text,.dreamill .app.nav-menu-open .sidebar .submenu-kicker{display:block}.dreamill .app.nav-menu-open .sidebar .brand,.dreamill .app.nav-menu-open .sidebar .nav-label,.dreamill .app.nav-menu-open .sidebar .nav-separator,.dreamill .app.nav-menu-open .sidebar-footer .profile-text{display:none}.dreamill .app.nav-menu-open .nav-home-logo{display:inline-flex}.dreamill .app.nav-menu-open .nav-home-logo .logo-mark{width:22px}.dreamill .app.nav-menu-open .nav-home-logo .logo-word{width:72px}.dreamill .app.nav-menu-open .sidebar .project-submenu{display:grid}.dreamill .app.nav-menu-open .sidebar .step-number{display:inline}.dreamill .app.nav-menu-open .sidebar .nav-button{justify-content:flex-start;padding:0 11px}.dreamill .app.nav-menu-open .sidebar-footer{flex-wrap:wrap;align-items:center;gap:8px;padding:0 10px 4px;display:flex}.dreamill .app.nav-menu-open .sidebar-footer .space-menu{flex:1 0 100%;margin:0}.dreamill .app.nav-menu-open .sidebar-footer .profile-menu{flex:none;order:1}.dreamill .app.nav-menu-open .sidebar-footer .profile{border-top:0;justify-content:center;width:auto;padding:0}.dreamill .app.nav-menu-open .sidebar-footer .credit-balance{flex:1;order:2;min-width:0;margin:0}.dreamill .topbar{padding:0 12px}.dreamill .home-top-brand{flex:1}.dreamill .home-top-brand .logo-mark{width:28px}.dreamill .home-top-brand .logo-word{width:76px}.dreamill .top-actions .ghost{display:none}.dreamill .theme-button{padding:0 9px}.dreamill .theme-label{display:none}.dreamill .stagebar{padding-inline:12px}.dreamill .main{padding:17px 12px}.dreamill .page-heading,.dreamill .page-heading.design-page-heading,.dreamill .page-heading.dreamill-project-stage-heading{display:block}.dreamill .design-page-heading .script-heading,.dreamill .design-page-heading .script-heading-copy,.dreamill .dreamill-project-stage-heading .script-heading,.dreamill .dreamill-project-stage-heading .script-heading-copy,.dreamill .dreamill-project-stage-heading-main{width:100%;min-width:0}.dreamill .design-page-heading .script-heading,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-heading{-moz-column-gap:12px;flex-direction:row;align-items:flex-start;gap:0 12px;display:flex}.dreamill .design-page-heading .script-cover,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-cover{flex:none}.dreamill .design-page-heading .script-heading-copy,.dreamill .dreamill-project-stage-heading.has-actions-below-lead .script-heading-copy{grid-area:1/2;width:auto}.dreamill .dreamill-project-stage-heading.has-actions .heading-actions{justify-content:flex-start;align-items:flex-start;width:100%;max-width:none;margin:8px 0 0}.dreamill .assemble-heading-actions{flex-wrap:wrap;width:100%}.dreamill .main>.page-heading:has(+.library-drop){display:none}.dreamill .library-drop .style-row{gap:6px;margin:8px 0}.dreamill .library-drop button.style-chip.library-tab{gap:4px;height:28px;min-height:28px;padding:0 8px;font-size:12px}.dreamill .library-drop .library-tab small{font-size:10px}.dreamill .topbar.has-stage-tabs{gap:6px}.dreamill .topbar.has-stage-tabs .project-id{flex:1;min-width:0}.dreamill .topbar-stages{scrollbar-width:none;flex:none;align-items:center;gap:2px;min-width:0;max-width:100%;display:flex;overflow-x:auto}.dreamill .topbar.has-stage-tabs .video-config{flex:auto;min-width:0;overflow:hidden}.dreamill .topbar.has-stage-tabs .video-config.is-compact{flex:none;overflow:visible}.dreamill .topbar .video-config.is-compact .video-config-tags{flex-direction:column;align-items:stretch;width:auto;min-width:0;max-width:none;padding:8px 10px;position:fixed;top:56px;left:12px;right:12px}.dreamill .topbar .video-config.is-compact .video-config-core{flex-direction:column;align-items:stretch;gap:8px;width:100%}.dreamill .topbar .video-config.is-compact .config-tag{flex-direction:row;flex:none;align-items:center;gap:8px;width:100%;min-width:0}.dreamill .topbar .video-config.is-compact .config-tag-label{flex:none;justify-content:flex-start}.dreamill .topbar .video-config.is-compact .config-tag-button{flex:auto;min-width:0;max-width:none;overflow:hidden}.dreamill .topbar-stages .ai-open-button,.dreamill .topbar-stages .stage-button{flex:none;height:32px;min-height:32px;padding:0 8px;font-size:13px}.dreamill .topbar .video-config.is-compact .video-config-toggle{width:32px;height:32px;min-height:32px}.dreamill .topbar-stages .ai-open-button{margin-left:2px}.dreamill .topbar-stages:has(.stage-menu.is-open){overflow:visible}.dreamill .topbar.has-stage-tabs:has(.stage-menu.is-open){overflow:visible}.dreamill .topbar.has-stage-tabs:has(.stage-menu.is-open) .project-id{overflow:visible}.dreamill .chrome-menu{position:relative}.dreamill .chrome-menu-button{min-height:38px;color:var(--text);background:0 0;border:0;padding:0 6px}.dreamill .chrome-pop{z-index:40;border:1px solid var(--line);background:var(--panel);border-radius:10px;min-width:148px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 16px 40px #00000047}.dreamill .chrome-pop button{width:100%;color:var(--text);text-align:left;font:inherit;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.dreamill .chrome-pop button.active,.dreamill .chrome-pop button:hover{background:var(--accent-soft)}.dreamill .heading-actions{align-items:flex-start;margin-top:13px}.dreamill .view-toggle{width:max-content}.dreamill .scene-card{grid-template-columns:36px minmax(0,1fr)}.dreamill .duration{grid-column:2}.dreamill .flow{grid-template-columns:1fr}.dreamill .flow-column:not(:last-child):after{width:1px;height:26px;top:auto;bottom:-26px;left:50%}.dreamill .advanced-grid,.dreamill .path-grid,.dreamill .poster-grid,.dreamill .shots,.dreamill .stage-grid,.dreamill .produce-layout,.dreamill .project-board,.dreamill .resource-grid,.dreamill .resource-modes{grid-template-columns:1fr}.dreamill .world-grid{grid-template-columns:1fr 1fr}.dreamill .editor-main{grid-template-columns:1fr;height:auto!important}.dreamill .editor-properties,.dreamill .editor-tools{border:0;border-bottom:1px solid var(--line)}.dreamill .tool-list{display:flex;overflow-x:auto}.dreamill .tool{white-space:nowrap}.dreamill .start-options,.dreamill .plan-inline-actions{grid-template-columns:1fr}}.dreamill .creator-hero h1{color:#fff}.dreamill .project-id{align-items:center;gap:4px;display:flex}.dreamill .topbar-stages-inline{align-items:center;gap:4px;min-width:0;margin-left:8px;display:flex}.dreamill .topbar-stages-inline .stage-button{height:32px;min-height:32px;padding:0 10px;font-size:13px}.dreamill .video-config.is-collapsible{align-items:center}.dreamill .video-config-arrow{border:1px solid var(--line);background:var(--panel);width:28px;height:28px;min-height:28px;color:var(--dm-muted);border-radius:999px;flex:none;place-items:center;padding:0;display:grid}.dreamill .video-config-arrow.is-open,.dreamill .video-config-arrow:hover{color:var(--text);border-color:#ff9f2f}.dreamill .video-config-arrow .ui-icon{width:16px;height:16px;transition:transform .15s}.dreamill .video-config-arrow.is-open .ui-icon{transform:rotate(90deg)}.dreamill #dreamill-library-tabs.topbar-stages-inline{scrollbar-width:thin;flex:1;overflow-x:auto}.dreamill .project-id:has(#dreamill-library-tabs){flex:1;min-width:0}.dreamill .video-config{align-items:flex-end;gap:10px;min-width:0;display:flex}.dreamill .video-config-tags{align-items:center;gap:10px;min-width:0;display:flex}.dreamill .video-config-core,.dreamill .video-config-models{flex-wrap:wrap;align-items:flex-end;gap:10px;min-width:0;display:flex}.dreamill .video-config-option{width:100%;max-width:320px;color:var(--text);cursor:pointer;flex:100%;align-items:flex-start;gap:8px;font-size:12px;line-height:1.35;display:flex}.dreamill .video-config-option-copy{min-width:0}.dreamill .video-config-option-label{font-weight:600;display:block}.dreamill .video-config-option-hint{color:var(--dm-muted);margin-top:2px;font-size:11px;line-height:1.35;display:block}.dreamill .video-config-models-toggle{border:1px solid var(--line);width:28px;height:28px;color:var(--dm-muted);cursor:pointer;background:0 0;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .video-config-models-toggle:hover{color:var(--ink);background:#ffffff0f}.dreamill .video-config.is-compact{align-items:center;position:relative}.dreamill .video-config.is-compact .video-config-toggle{width:38px;height:38px;padding:0}.dreamill .video-config.is-compact .video-config-tags{z-index:40;border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-direction:column;align-items:stretch;min-width:220px;max-width:min(280px,100vw - 24px);padding:12px;position:absolute;top:calc(100% + 6px);left:auto;right:12px;box-shadow:0 16px 40px #00000047}.dreamill .video-config.is-compact .video-config-core,.dreamill .video-config.is-compact .video-config-models{flex-direction:column;align-items:stretch}.dreamill .video-config.is-compact .video-config-models-toggle{align-self:center}.dreamill .video-config.is-compact .config-tag-button{max-width:none}.dreamill .video-config.is-compact .config-tag-flyout{left:auto;right:100%}.dreamill:has(.script-screen) .topbar{flex-shrink:0;height:auto}.dreamill .config-tag{flex-direction:column;align-items:stretch;gap:2px;min-width:0;display:flex;position:relative}.dreamill .config-tag-label{color:var(--dm-muted);text-align:center;white-space:nowrap;justify-content:center;align-items:center;gap:4px;font-size:10px;line-height:1.2;display:inline-flex}.dreamill .config-tag-label-info{color:var(--dm-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .config-tag-label-info:focus-visible,.dreamill .config-tag-label-info:hover{color:var(--text);box-shadow:0 0 0 1px var(--line);outline:none}.dreamill .config-tag-menu-flat{min-width:12rem;max-width:min(22rem,100vw - 2rem);padding:6px}.dreamill .config-tag-flat-item{text-align:left;width:100%;color:var(--ink);border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.35;display:block}.dreamill .config-tag-flat-item.active,.dreamill .config-tag-flat-item:hover{background:#ffffff14}.dreamill .config-tag-empty{color:var(--dm-muted);margin:0;padding:8px 10px;font-size:12px}.dreamill .config-tag-button{max-width:7.5rem;height:26px;color:var(--dm-muted);background:0 0;border:1px solid #0000;border-radius:999px;align-items:center;padding:0 6px;font-size:12px;font-weight:400;display:inline-flex}.dreamill .config-tag-button strong{text-overflow:ellipsis;white-space:nowrap;color:color-mix(in oklab, var(--text) 72%, var(--dm-muted));font-weight:500;overflow:hidden}.dreamill .config-tag:focus-within .config-tag-button,.dreamill .config-tag:hover .config-tag-button{border-color:var(--line);background:var(--panel-2);color:var(--text)}.dreamill .config-tag-menu-up .config-tag-menu{top:auto;bottom:calc(100% + 4px)}.dreamill-generate-modal .config-tag-menu{z-index:500}.dreamill-generate-modal .dreamill-generate-settings-host{overflow:visible}.dreamill-generate-modal .dreamill-video-model-menu button,.dreamill-generate-modal .dreamill-video-model-menu select{font-size:12px;font-weight:500;line-height:1rem}.dreamill-generate-modal .dreamill-video-model-menu button span{font-size:inherit;line-height:inherit}.dreamill-generate-host{display:contents}.dreamill .dreamill-cover-prompt,.dreamill-generate-modal .dreamill-generate-prompt{overflow:hidden}.dreamill .dreamill-cover-prompt>.z-20,.dreamill-generate-modal .dreamill-generate-prompt>.z-20{height:100%;min-height:0;flex:auto!important;justify-content:flex-start!important;align-items:stretch!important}.dreamill .dreamill-cover-prompt>.z-20>.min-h-0,.dreamill-generate-modal .dreamill-generate-prompt>.z-20>.min-h-0{flex-direction:column;flex:auto;min-height:0;display:flex}.dreamill .dreamill-cover-prompt .relative.min-h-0>div.relative.min-w-0,.dreamill .dreamill-cover-prompt .relative.min-h-px>div.relative.min-w-0,.dreamill-generate-modal .dreamill-generate-prompt .relative.min-h-0>div.relative.min-w-0,.dreamill-generate-modal .dreamill-generate-prompt .relative.min-h-px>div.relative.min-w-0{height:100%;min-height:0;flex-direction:column!important;flex:auto!important;align-items:stretch!important;display:flex!important}.dreamill .dreamill-cover-prompt .relative.min-h-0>div.relative.min-w-0>div,.dreamill .dreamill-cover-prompt .relative.min-h-px>div.relative.min-w-0>div,.dreamill-generate-modal .dreamill-generate-prompt .relative.min-h-0>div.relative.min-w-0>div,.dreamill-generate-modal .dreamill-generate-prompt .relative.min-h-px>div.relative.min-w-0>div{min-height:0;flex-direction:column!important;flex:auto!important;display:flex!important}.dreamill .dreamill-cover-prompt form,.dreamill-generate-modal .dreamill-generate-prompt form{height:100%;min-height:0;flex-direction:column!important;flex:auto!important;display:flex!important}.dreamill .dreamill-cover-prompt .prompt-input-composer,.dreamill .dreamill-cover-prompt [data-slot=input-group],.dreamill-generate-modal .dreamill-generate-prompt .prompt-input-composer,.dreamill-generate-modal .dreamill-generate-prompt [data-slot=input-group]{flex-direction:column!important;flex:auto!important;justify-content:flex-start!important;align-items:stretch!important;height:100%!important;min-height:0!important;display:flex!important}.dreamill .dreamill-cover-prompt [data-slot=input-group-addon][data-align=block-end],.dreamill-generate-modal .dreamill-generate-prompt [data-slot=input-group-addon][data-align=block-end]{flex-direction:row!important;flex:none!important;align-items:center!important;height:auto!important;min-height:0!important;margin-top:0!important;display:flex!important}.dreamill .dreamill-cover-prompt textarea[data-slot=input-group-control],.dreamill-generate-modal .dreamill-generate-prompt textarea[data-slot=input-group-control]{font-size:.75rem;line-height:1.25rem;overflow-y:auto;field-sizing:fixed!important;flex:1 1 0!important;height:auto!important;min-height:3rem!important;max-height:none!important}.dreamill-generate-modal .dreamill-generate-settings-host .config-tag-button,.dreamill-generate-modal .dreamill-generate-toolbar .config-tag-button{max-width:22rem}.dreamill-generate-toolbar .config-tag input{text-align:right}.dm-ref-selected,.dreamill .dm-ref-selected{border-color:#ffb65c;box-shadow:0 0 0 2px #ffb65c}.dreamill .dm-ref-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.dreamill .ref-checkbox{z-index:1;background:#c36b0b;border:2px solid #c36b0b;width:14px;height:14px;display:block;position:absolute;top:.3rem;right:.3rem;box-shadow:0 0 0 1px #fffc}.dreamill .ref-checkbox:after{content:"";border:1px solid #fff;width:10px;height:10px;position:absolute;top:5px;left:5px}.dreamill .config-tag-menu{z-index:40;border:1px solid var(--line);background:var(--panel);border-radius:12px;width:max-content;min-width:7rem;max-width:18rem;padding:6px;position:absolute;top:100%;left:0;box-shadow:0 16px 40px #00000047}.dreamill .config-tag-row{position:relative}.dreamill .config-tag-menu button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;padding:7px 10px;font-size:13px;display:block}.dreamill .config-tag-flyout button:hover,.dreamill .config-tag-menu button.active,.dreamill .config-tag-row:hover>button{background:var(--accent-soft);color:var(--text)}.dreamill .config-tag-flyout{border:1px solid var(--line);background:var(--panel);border-radius:12px;min-width:6.5rem;padding:6px;position:absolute;top:0;left:100%;box-shadow:0 16px 40px #00000047}.dreamill .config-tag-flyout button{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.dreamill .config-tag-credits{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px;font-weight:500}.dreamill .start-creating{font-size:15px;box-shadow:0 4px 18px #ffb65c44}.dreamill .ui-icon{fill:none;stroke:currentColor;stroke-width:1.8px;flex-shrink:0;width:19px;height:19px}.dreamill .nav-icon{border:0}.dreamill .step-number{opacity:.65;margin-left:auto;font-size:11px}.dreamill .assistant{flex-direction:column;height:calc(100vh - 62px);min-height:0;display:flex;position:sticky;top:62px}.dreamill .conversation{flex:1;min-height:0;overflow:auto}.dreamill .chat-message{background:var(--panel);border:1px solid var(--line);white-space:pre-wrap;border-radius:12px;margin:10px 0;padding:12px;font-size:13px;line-height:1.6}.dreamill .chat-message.user{background:var(--accent-soft)}.dreamill .composer{border:1px solid var(--line);background:var(--panel);border-radius:14px;margin-top:12px;padding:10px}.dreamill .composer textarea{resize:vertical;width:100%;min-height:90px;color:var(--text);background:0 0;border:0}.dreamill .composer-tools{justify-content:space-between;align-items:center;gap:5px;display:flex}.dreamill .composer-note{color:var(--dm-muted);margin:6px 0;font-size:11px}.dreamill .workbench.ai-closed{grid-template-columns:minmax(0,1fr)}.dreamill .ai-closed .assistant{display:none}.dreamill .icon-button{justify-content:center;align-items:center;gap:5px;display:inline-flex}.dreamill .idea-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.dreamill .idea-fields label{font-size:14px;display:block}.dreamill .idea-fields textarea,.dreamill .scene-editor input,.dreamill .scene-editor textarea{border:1px solid var(--line);width:100%;color:var(--text);background:var(--panel);border-radius:9px;min-height:90px;margin-top:8px;padding:12px}.dreamill .scene-editor input{min-height:40px}.dreamill .outline-layout{flex:auto;grid-template-columns:210px minmax(0,1fr);gap:8px;min-height:0;display:grid;overflow:hidden}.dreamill .script-outline{background:var(--panel);border:1px solid var(--line);border-radius:12px;flex-direction:column;align-self:stretch;height:100%;min-height:0;padding:10px;display:flex}.dreamill .script-outline details{margin:10px 0}.dreamill .scene-entry{border:1px solid var(--line);background:var(--panel);border-radius:14px;margin-bottom:12px;padding:15px}.dreamill .scene-entry header{justify-content:space-between;align-items:center;gap:8px;display:flex}.dreamill .scene-entry p{color:var(--dm-muted);line-height:1.6}.dreamill .scene-assets{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;display:grid}.dreamill .scene-assets img{aspect-ratio:16/9;-o-object-fit:cover;object-fit:cover;border-radius:8px;width:100%}.dreamill .scene-assets figcaption{color:var(--dm-muted);font-size:12px}.dreamill .scene-assets figure{margin:0}.dreamill .duration-tools{align-items:center;gap:5px;font-size:12px;display:flex}.dreamill .duration-tools .auto-time{opacity:0}.dreamill .duration-tools:focus-within .auto-time,.dreamill .duration-tools:hover .auto-time{opacity:1}.dreamill .scene-editor{width:min(900px,94vw)}.dreamill .rich-editor{border:1px solid var(--line);background:var(--panel);border-radius:9px;min-height:190px;margin-top:10px;padding:14px;line-height:1.7}.dreamill .top-actions select{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:9px;max-width:110px;padding:8px}.dreamill .nav-chrome{flex:none;width:38px;height:38px;padding:0}.dreamill .nav-chrome .ui-icon{width:18px;height:18px}.dreamill .nav-branch{grid-template-columns:minmax(0,1fr);align-items:center;display:grid}.dreamill .nav-branch:has(.nav-branch-toggle){grid-template-columns:minmax(0,1fr) 32px}.dreamill .nav-branch-toggle{width:32px;height:32px;color:var(--dm-muted);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.dreamill .nav-branch-toggle:hover{color:var(--text);background:#ffffff0d}.dreamill .nav-branch-chevron{width:16px;height:16px;transition:transform .15s}.dreamill .nav-branch-chevron.is-open{transform:rotate(180deg)}.dreamill .app.nav-collapsed{--nav-width:72px}.dreamill .nav-edge{top:0;left:calc(var(--nav-width) - 3px);z-index:40;cursor:col-resize;background:0 0;border:0;width:10px;height:100vh;padding:0;position:fixed}.dreamill .nav-edge:before{content:"";background:0 0;width:2px;transition:background-color .15s;position:absolute;top:0;bottom:0;left:2px}.dreamill .nav-edge-knob{border:1px solid var(--line);background:var(--panel);width:22px;height:22px;color:var(--text);opacity:0;border-radius:50%;place-items:center;font-size:14px;transition:opacity .15s;display:grid;position:absolute;top:50%;left:3px;transform:translate(-50%,-50%)}.dreamill .app:has(.sidebar-project.is-picker-open) .nav-edge{pointer-events:none}.dreamill .nav-edge:focus-visible:before,.dreamill .nav-edge:hover:before{background:var(--accent)}.dreamill .nav-edge:focus-visible .nav-edge-knob,.dreamill .nav-edge:hover .nav-edge-knob{opacity:1}.dreamill .nav-collapsed .brand-link{justify-content:center;width:44px;padding:4px 0}.dreamill .nav-collapsed .dreamill-logo .logo-word,.dreamill .nav-collapsed .nav-label,.dreamill .nav-collapsed .nav-text,.dreamill .nav-collapsed .profile-text,.dreamill .nav-collapsed .space-chevron,.dreamill .nav-collapsed .space-label{display:none}.dreamill .nav-collapsed .nav-button{justify-content:center;padding-inline:0}.dreamill .nav-collapsed .nav-button .nav-icon{display:grid}.dreamill .nav-collapsed .step-number{display:none}.dreamill .nav-collapsed .nav-button[data-label]{position:relative}.dreamill .nav-collapsed .nav-button[data-label]:hover:after{content:attr(data-label);z-index:40;border:1px solid var(--line);background:var(--panel);color:var(--text);white-space:nowrap;pointer-events:none;border-radius:8px;padding:6px 8px;font-size:12px;line-height:1.2;position:absolute;top:50%;left:calc(100% + 8px);transform:translateY(-50%)}.dreamill .outline-layout{grid-template-columns:var(--outline-width,250px) 6px minmax(0, 1fr)}.dreamill .outline-layout.outline-collapsed{grid-template-columns:58px minmax(0,1fr)}.dreamill .outline-resizer{cursor:col-resize;background:0 0;border-radius:999px}.dreamill .outline-resizer:focus-visible,.dreamill .outline-resizer:hover{background:var(--accent)}.dreamill .script-outline{min-width:0;overflow:hidden}.dreamill .script-outline.collapsed .outline-head{grid-template-columns:30px;justify-content:center}.dreamill .script-outline.collapsed .outline-head strong{display:none}.dreamill .outline-head{grid-template-columns:30px minmax(0,1fr);align-items:center;gap:6px;margin-bottom:10px;display:grid}.dreamill .outline-head strong{font-size:13px}.dreamill .outline-head:has(.outline-full){grid-template-columns:30px minmax(0,1fr) auto}.dreamill .outline-full{border:1px solid var(--line);height:26px;color:var(--dm-muted);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:0 8px;font-size:12px;display:inline-flex}.dreamill .outline-full:hover{color:var(--text)}.dreamill .outline-full.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.dreamill .outline-control,.dreamill .tree-toggle{border:1px solid var(--line);width:30px;min-width:30px;height:30px;color:var(--dm-muted);background:0 0;border-radius:7px;place-items:center;margin:0;padding:0;display:grid}.dreamill .outline-control .ui-icon{width:16px;height:16px}.dreamill .tree-list{flex:auto;align-content:start;gap:6px;min-height:0;display:grid;overflow:auto}.dreamill .tree-row{border-radius:8px;align-items:center;gap:4px;min-width:0;min-height:34px;padding:0 4px;display:flex}.dreamill .tree-row:hover{background:#ffffff0d}.dreamill .tree-actions{flex:none;align-items:center;gap:2px;margin-left:auto;display:none}.dreamill .tree-row:focus-within .tree-actions,.dreamill .tree-row:hover .tree-actions{display:inline-flex}.dreamill .tree-actions button{width:22px;height:22px;color:var(--dm-muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.dreamill .tree-actions .ui-icon{width:14px;height:14px}.dreamill .tree-actions button:hover{color:var(--text);background:#ffffff14}.dreamill .tree-row.dragging{opacity:.45}.dreamill .tree-row.drop-target{box-shadow:inset 0 0 0 2px var(--accent)}.dreamill .drag-handle{color:var(--dm-muted);-webkit-user-select:none;user-select:none;cursor:grab;text-align:center;padding:0}.dreamill .tree-select{text-overflow:ellipsis;white-space:nowrap;text-align:left;width:0;min-width:0;max-width:100%;color:var(--text);background:0 0;border:0;border-radius:7px;flex:1 1 0;margin:0;padding:7px 5px;font-size:13px;font-weight:400;line-height:1.35;display:block;overflow:hidden}.dreamill .tree-select.selected,.dreamill .tree-select:hover{background:var(--accent-soft);color:var(--accent)}.dreamill .tree-scene{padding-left:34px}.dreamill .tree-nested-section,.dreamill .tree-shot{padding-left:58px}.dreamill .tree-shot-section{padding-left:82px}.dreamill .tree-empty-spacer{width:30px;min-width:30px}.dreamill .tree-empty-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dm-muted);padding:7px 5px;font-size:13px;font-weight:400;line-height:1.35;overflow:hidden}.dreamill .project-name-button{line-height:1.25}.dreamill .project-chevron{flex:none;width:16px;height:16px;display:block}.dreamill .project-option-row{align-items:center;gap:8px;display:flex}.dreamill .project-option-title{text-overflow:ellipsis;min-width:0;overflow:hidden}.dreamill .project-option-icon{flex:none;width:14px;height:14px}.dreamill .project-thumb{-o-object-fit:cover;object-fit:cover;background:var(--shell);border-radius:4px;flex:none;width:22px;height:22px}.dreamill .project-thumb-empty{border:1px solid var(--line);display:block}.dreamill .lang-menu{position:relative}.dreamill .top-actions .lang-button,.dreamill .top-actions .theme-button{min-height:38px;color:var(--text);background:0 0;border:0;padding:0 6px}.dreamill .top-actions .lang-button{justify-content:center;gap:0}.dreamill .lang-button{gap:6px}.dreamill .lang-icon{width:16px;height:16px}.dreamill .lang-picker{z-index:40;border:1px solid var(--line);background:var(--panel);border-radius:10px;min-width:148px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 16px 40px #00000047}.dreamill .lang-picker button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;padding:8px 10px;display:block}.dreamill .lang-picker button.active,.dreamill .lang-picker button:hover{background:var(--accent-soft);color:var(--accent)}.dreamill .episode-rail{flex:auto;align-content:start;justify-items:center;gap:8px;min-height:0;display:grid;overflow:auto}.dreamill .episode-circle{border-radius:50%;width:34px;height:34px;padding:0}.dreamill .episode-circle.active{background:var(--accent);border-color:var(--accent);color:#211506}.dreamill .episode-circle.has-length{border-radius:12px;align-content:center;justify-items:center;width:auto;min-width:34px;height:auto;min-height:34px;padding:4px 5px;line-height:1.05;display:grid}.dreamill .episode-circle small{font-size:9px;font-weight:650}.dreamill .scene-workspace{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.dreamill .scene-name{width:100%;min-width:0;color:var(--text);background:0 0;border:0;border-bottom:1px solid #0000;padding:3px 0;font-size:22px;font-weight:700}.dreamill .scene-name:focus{border-bottom-color:var(--accent)}.dreamill .editor-section{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.dreamill .editor-section-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px;display:flex}.dreamill .editor-section-head h3{margin:0;font-size:14px}.dreamill .scene-main-editor{min-height:220px;margin:0}.dreamill .level-row{border:1px solid var(--line);background:var(--panel);border-radius:11px;margin:8px 0;padding:10px}.dreamill .level-row-header{align-items:center;gap:6px;display:flex}.dreamill .level-row-header input{min-width:0;color:var(--text);background:0 0;border:0;flex:1;font-weight:650}.dreamill .level-row textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:64px;color:var(--text);background:var(--shell);border-radius:8px;margin-top:8px;padding:9px}.dreamill .shot-list{margin-left:22px}.dreamill .shot-row{border-left:2px solid var(--line);padding-left:10px}.dreamill .generation-result{background:var(--accent-soft);color:var(--text);border-radius:8px;margin-top:9px;padding:9px;font-size:12px;display:none}.dreamill .generation-result.visible{display:block}.dreamill .structured-editor h1{color:var(--dm-muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 8px;font-size:13px}.dreamill .structured-editor h2{color:var(--dm-muted);margin:10px 0;font-size:15px}.dreamill .structured-editor h3{margin:14px 0;font-size:24px}.dreamill .structured-editor h4{border-top:1px solid var(--line);margin:22px 0 8px;padding-top:12px;font-size:17px}.dreamill .structured-editor h5{color:var(--accent);margin:14px 0 6px;font-size:14px}.dreamill .media-lane{gap:12px;margin-top:14px;display:grid}.dreamill .media-group{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:12px}.dreamill .media-group-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.dreamill .media-group-head h4,.dreamill .media-group-head h5{margin:0}.dreamill .storyboard-layout{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:16px;display:grid}.dreamill .storyboard-scenes{flex-direction:column;gap:8px;max-height:min(70vh,720px);display:flex;position:sticky;top:12px;overflow:auto}.dreamill .storyboard-episode{flex-direction:column;gap:2px;min-width:0;display:flex}.dreamill .storyboard-episode .produce-episode{width:100%}.dreamill .storyboard-scene-nest{border-left:1px solid var(--line);flex-direction:column;gap:2px;margin-left:14px;padding-left:8px;display:flex}.dreamill .storyboard-scene{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:baseline;gap:8px;padding:6px 8px;display:flex}.dreamill .storyboard-scene.active{border-color:var(--line);background:var(--panel)}.dreamill .storyboard-scene-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;line-height:1.35;overflow:hidden}.dreamill .storyboard-main{gap:12px;min-width:0;display:grid}.dreamill .storyboard-scene-script{color:var(--dm-muted);margin:0;font-size:13px;line-height:1.5}.dreamill .storyboard-heading-actions{flex-wrap:wrap;gap:8px;display:flex}.dreamill .storyboard-scene-dialog{flex-direction:column;gap:12px;width:min(880px,100%);max-height:min(90vh,100%);display:flex;overflow:visible}.dreamill .storyboard-scene-dialog .dreamill-script-editor{flex:none;height:min(66vh,90vh - 140px);min-height:360px;overflow:hidden}.dreamill .storyboard-scene-dialog .dreamill-script-production-body{min-height:0;overflow:hidden}.dreamill .storyboard-scene-dialog .tiptap-toolbar{z-index:2;position:relative;overflow:visible}.dreamill .storyboard-scene-dialog .time-heading-panel{z-index:110}.dreamill .dreamill-script-production{flex-direction:column;min-width:0;min-height:0;display:flex}.dreamill .dreamill-script-production-body{flex-direction:column;flex:auto;min-width:0;min-height:240px;display:flex}.dreamill .dreamill-script-production-body>.h-full,.dreamill .scene-workspace .dreamill-script-editor>.h-full{flex:auto;height:auto;min-height:0}.dreamill .storyboard-scene-dialog .production-review{flex:none;max-height:220px}.dreamill .storyboard-scene-dialog-actions{justify-content:flex-end;gap:8px;display:flex}.dreamill .storyboard-strip{scroll-snap-type:x proximity;gap:12px;padding-bottom:4px;display:flex;overflow-x:auto}.dreamill .storyboard-frame{scroll-snap-align:start;flex:0 0 min(280px,78vw)}.dreamill .storyboard-frame-hit{cursor:pointer;border:0;width:100%;padding:0}.dreamill .storyboard-frame-hit img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.dreamill .produce-layout{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:16px;display:grid}.dreamill .produce-layout-single{grid-template-columns:minmax(0,1fr)}.dreamill .produce-episodes{flex-direction:column;gap:4px;display:flex}.dreamill .produce-episode{color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:baseline;gap:8px;padding:8px 10px;display:flex}.dreamill .produce-episode-mark{color:#ffb65c;font-variant-numeric:tabular-nums;flex:none;font-size:12px}.dreamill .media-group-head h2,.dreamill .media-group-head h3{align-items:baseline;gap:8px;margin:0;display:flex}.dreamill .produce-toolbar{justify-content:flex-start;align-items:center;gap:8px;margin-bottom:12px;display:flex}.dreamill .produce-instructions-host{position:relative}.dreamill .produce-instructions-dot{background:var(--accent);border-radius:50%;flex:none;width:6px;height:6px}.dreamill .produce-instructions-popover{z-index:30;border:1px solid var(--line);background:var(--panel);width:min(22rem,70vw);color:var(--text);border-radius:10px;padding:12px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 8px 24px #00000047}.dreamill .produce-instructions-popover p{color:var(--dm-muted);margin:0 0 8px;font-size:12px;line-height:1.45}.dreamill .script-instructions-host .produce-instructions-popover{left:auto;right:0}.dreamill .produce-instructions-popover textarea{resize:vertical;border:1px solid var(--line);background:var(--main-surface,var(--panel-2,transparent));width:100%;min-height:7.5rem;max-height:14rem;color:var(--text);font:inherit;border-radius:8px;padding:8px 10px;font-size:13px;line-height:1.45;display:block}.dreamill .produce-instructions-error{color:var(--dm-danger,#b42318);margin-top:8px}.dreamill .produce-instructions-actions{justify-content:flex-end;margin-top:8px;display:flex}.dreamill .produce-one{border:1px solid var(--line);min-height:32px;color:var(--dm-muted);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:6px;margin-left:auto;padding:0 12px;display:inline-flex}.dreamill .produce-one.active{color:var(--text);background:#ff9f2f1f;border-color:#ff9f2f}.dreamill .produce-scene-play{position:relative}.dreamill .produce-play-scene{z-index:2;opacity:0;pointer-events:none;position:absolute;top:8px;right:8px}.dreamill .produce-scene-play:focus-within .produce-play-scene,.dreamill .produce-scene-play:hover .produce-play-scene{opacity:1;pointer-events:auto}.dreamill .produce-actions{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.dreamill .assemble-main{min-width:0}.dreamill .assemble-episode-list{max-height:min(70vh,640px);position:sticky;top:12px;overflow:auto}.dreamill .assemble-episode-empty{margin:0;padding:12px 0}.dreamill .assemble-actions{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.dreamill .preview-frame{background:#000;width:100%;padding:0;position:relative;overflow:hidden;container:dreamill-preview/inline-size}.dreamill .preview-frame video{-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;background:#000;width:100%;height:100%;position:absolute;inset:0}.dreamill .preview-frame video.is-canvas{-o-object-fit:contain;object-fit:contain;inset:auto}.dreamill .assemble-cover-preview{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.dreamill .assemble-cover-preview img,.dreamill .assemble-cover-preview video{-o-object-fit:contain;object-fit:contain;background:#000;width:100%;height:100%}.dreamill .assemble-plate-controls{z-index:6;color:#fff;font-variant-numeric:tabular-nums;background:#0009;border-radius:999px;align-items:center;gap:8px;padding:4px 10px 4px 4px;font-size:12px;display:inline-flex;position:absolute;bottom:10px;left:10px}.dreamill .assemble-plate-controls button{color:#111;cursor:pointer;background:#fff;border:0;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.dreamill .assemble-stage{z-index:4;pointer-events:none;position:absolute;inset:0}.dreamill .assemble-stage-item{box-sizing:border-box;pointer-events:auto;position:absolute}.dreamill .assemble-stage-item.is-on{outline-offset:2px;outline:1px solid #fff}.dreamill .assemble-stage-item.is-text{min-height:1.4em}.dreamill .assemble-stage-grip{cursor:grab;background:#fff;border:0;border-radius:4px;height:8px;padding:0;position:absolute;top:-10px;left:0;right:0}.dreamill .assemble-stage-item:not(.is-on) .assemble-stage-grip,.dreamill .assemble-stage-item:not(.is-on) .assemble-stage-handle,.dreamill .assemble-stage-item:not(.is-on) .assemble-stage-rotate{display:none}.dreamill .assemble-stage-text{white-space:pre-wrap;word-break:break-word;text-shadow:0 1px 2px #000;cursor:text;outline:none;min-height:1.2em}.dreamill .assemble-stage-item.has-bg .assemble-stage-text{text-shadow:0 1px 2px #000;background:#000000b8;border-radius:4px;max-width:100%;padding:2px 6px;line-height:1.35;display:inline-block}.dreamill .assemble-stage-item.is-image img,.dreamill .assemble-stage-item.is-video video{pointer-events:none;-o-object-fit:fill;object-fit:fill;width:100%;height:100%;display:block}.dreamill .assemble-stage-audio{pointer-events:none;flex-direction:column;align-items:flex-start;gap:4px;padding:8px;display:flex;position:absolute;inset:0}.dreamill .assemble-stage-item.is-audio{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;border-radius:6px;align-items:center;gap:6px;width:148px;max-width:100%;height:26px;padding:0 8px;font-size:11px;display:flex;position:relative}.dreamill .assemble-stage-item.is-audio.is-empty{border:1px dashed #ffffffb3}.dreamill .assemble-stage-audio-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.dreamill .assemble-stage-audio-wave{align-items:flex-end;gap:2px;height:12px;display:flex}.dreamill .assemble-stage-audio-wave i{background:var(--accent);border-radius:1px;width:2px;height:40%}.dreamill .assemble-stage-item.is-audio.is-playing .assemble-stage-audio-wave i{animation:.9s ease-in-out infinite alternate assemble-audio-wave}.dreamill .assemble-stage-audio-wave i:nth-child(2){animation-delay:-.3s}.dreamill .assemble-stage-audio-wave i:nth-child(3){animation-delay:-.6s}.dreamill .assemble-stage-audio-wave i:nth-child(4){animation-delay:-.15s}@keyframes assemble-audio-wave{0%{height:25%}to{height:100%}}@media (prefers-reduced-motion:reduce){.dreamill .assemble-stage-item.is-audio.is-playing .assemble-stage-audio-wave i{animation:none}}.dreamill .assemble-stage-empty{color:#fff;cursor:pointer;background:#00000059;border:1px dashed #ffffffb3;justify-content:center;align-items:center;width:100%;height:100%;font-size:13px;display:flex}.dreamill .assemble-stage-handle{z-index:2;touch-action:none;background:#fff;border:1px solid #111;width:8px;height:8px;position:absolute}.dreamill .assemble-stage-handle.is-n{cursor:ns-resize;top:-5px;left:calc(50% - 4px)}.dreamill .assemble-stage-handle.is-s{cursor:ns-resize;bottom:-5px;left:calc(50% - 4px)}.dreamill .assemble-stage-handle.is-e{cursor:ew-resize;top:calc(50% - 4px);right:-5px}.dreamill .assemble-stage-handle.is-w{cursor:ew-resize;top:calc(50% - 4px);left:-5px}.dreamill .assemble-stage-handle.is-nw{cursor:nwse-resize;top:-5px;left:-5px}.dreamill .assemble-stage-handle.is-ne{cursor:nesw-resize;top:-5px;right:-5px}.dreamill .assemble-stage-handle.is-sw{cursor:nesw-resize;bottom:-5px;left:-5px}.dreamill .assemble-stage-handle.is-se{cursor:nwse-resize;bottom:-5px;right:-5px}.dreamill .assemble-stage-rotate{cursor:grab;touch-action:none;background:#111;border:2px solid #fff;border-radius:50%;width:12px;height:12px;padding:0;position:absolute;top:-22px;left:calc(50% - 6px)}.dreamill.assemble-stage-pop.is-compact{gap:6px;width:180px;padding:2px}.dreamill.assemble-stage-pop{z-index:90;border:1px solid var(--line);background:var(--bg);width:280px;height:auto;min-height:0;color:var(--text);border-radius:10px;flex-direction:column;gap:8px;padding:2px;display:flex;position:fixed;box-shadow:0 16px 40px #0000002e}.dreamill.assemble-stage-pop label{justify-content:space-between;align-items:center;gap:0;font-size:12px;display:flex}.dreamill.assemble-stage-pop input[type=number],.dreamill.assemble-stage-pop input[type=text],.dreamill.assemble-stage-pop select{border:1px solid var(--line);background:var(--panel);width:148px;height:28px;color:var(--text);font:inherit;border-radius:6px}.dreamill.assemble-stage-pop input[type=range]{width:130px}.dreamill .assemble-stage-compact-row{align-items:center;gap:6px;display:flex}.dreamill .assemble-stage-slider-stack{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.dreamill .assemble-stage-slider-stack--solo{flex:none;width:100%}.dreamill .assemble-stage-micro-label{letter-spacing:.02em;color:#787878e0;font-size:9px;font-weight:500;line-height:1}.dreamill.assemble-stage-pop .assemble-stage-range-thin{appearance:none;cursor:pointer;background:0 0;width:100%;height:14px;margin:0;padding:0}.dreamill.assemble-stage-pop .assemble-stage-range-thin::-webkit-slider-runnable-track{background:var(--line);border-radius:999px;height:3px}.dreamill.assemble-stage-pop .assemble-stage-range-thin::-webkit-slider-thumb{appearance:none;background:var(--text);border:1px solid #ffffffd9;border-radius:50%;width:10px;height:10px;margin-top:-3.5px;box-shadow:0 0 0 1px #0000001f}.dreamill.assemble-stage-pop .assemble-stage-range-thin::-moz-range-track{background:var(--line);border:0;border-radius:999px;height:3px}.dreamill.assemble-stage-pop .assemble-stage-range-thin::-moz-range-thumb{background:var(--text);border:1px solid #ffffffd9;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 1px #0000001f}.dreamill .assemble-stage-delete-icon{border:1px solid var(--line);color:#e11d2e;cursor:pointer;background:0 0;border-radius:6px;flex-shrink:0;justify-content:center;align-self:center;align-items:center;width:24px;height:24px;padding:0;font-size:14px;display:inline-flex}.dreamill .assemble-stage-delete-icon:hover{background:#e11d2e14}.dreamill .assemble-stage-styles{flex-wrap:wrap;gap:4px;display:flex}.dreamill .assemble-stage-styles button,.dreamill.assemble-stage-pop .assemble-stage-styles button{border:1px solid var(--line);min-width:28px;height:28px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border-radius:6px}.dreamill .assemble-stage-styles button:nth-child(2){font-style:italic}.dreamill .assemble-stage-styles button:nth-child(3){text-decoration:underline}.dreamill .assemble-stage-styles button.is-on,.dreamill.assemble-stage-pop .assemble-stage-styles button.is-on{background:var(--text);color:var(--bg)}.dreamill .assemble-stage-colour input{background:0 0;border:0;width:28px;height:28px;padding:0}.dreamill .assemble-stage-template-row{gap:6px;display:flex}.dreamill .assemble-stage-template-row input{flex:1;width:auto;min-width:0}.dreamill .assemble-stage-template-delete,.dreamill .assemble-stage-template-row button{border:1px solid var(--line);background:var(--panel);height:28px;color:var(--text);font:inherit;cursor:pointer;border-radius:6px;padding:0 8px;font-size:12px}.dreamill .assemble-stage-template-note{color:var(--muted,#8b95a1);margin:0;font-size:12px}.dreamill .assemble-layer-item-text{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.dreamill .assemble-blend{z-index:1;-o-object-fit:contain;object-fit:contain;pointer-events:none;background:#000;width:100%;height:100%;position:absolute;inset:0}.dreamill .assemble-blend-source{z-index:0;-o-object-fit:contain;object-fit:contain;opacity:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.dreamill .preview-frame.fading video{opacity:.2}.dreamill .assemble-caption{z-index:3;color:#fff;text-align:center;text-shadow:0 1px 2px #000;font-size:14px;position:absolute;bottom:10px;left:8%;right:8%}.dreamill .assemble-timeline,.dreamill[data-theme=light] .assemble-timeline{background:var(--bg);cursor:default;padding-top:0;position:relative}.dreamill .assemble-timeline.timeline:after{content:none}.dreamill .assemble-track{z-index:1;flex-direction:column;gap:0;display:flex;position:relative}.dreamill .assemble-playhead{z-index:6;touch-action:none;pointer-events:none;width:16px;margin-left:-8px;position:absolute;top:0;bottom:0;left:0}.dreamill .assemble-playhead:after{content:"";background:#ff2d2d;width:1px;position:absolute;top:0;bottom:0;left:7.5px}.dreamill .assemble-timeline .assemble-playhead:before{content:"";pointer-events:auto;cursor:ew-resize;touch-action:none;border:8px solid #0000;border-top:10px solid #ff2d2d;border-bottom:0;width:0;height:0;position:absolute;top:0;left:0}.dreamill .assemble-timeline .assemble-playhead{bottom:48px}.dreamill .assemble-timeline-slot{position:relative}.dreamill .assemble-zoom{flex:0 auto;align-items:center;gap:6px;width:auto;min-width:0;max-width:100%;height:28px;margin:0;display:flex}.dreamill .assemble-zoom-btn{width:22px;height:22px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .assemble-zoom-btn:hover:not(:disabled){background:color-mix(in srgb, var(--text) 10%, transparent)}.dreamill .assemble-zoom-btn:disabled{opacity:.35;cursor:default}.dreamill .assemble-zoom-btn>span[class*=i-lucide]{width:14px;height:14px}.dreamill .assemble-zoom-track{background:color-mix(in srgb, var(--text) 18%, transparent);cursor:ew-resize;touch-action:none;border-radius:999px;flex:132px;width:132px;min-width:36px;max-width:132px;height:8px;position:relative}.dreamill .assemble-zoom-fill{border-radius:inherit;background:var(--text);position:absolute;top:0;bottom:0;left:0}.dreamill .assemble-zoom-thumb{background:var(--text);width:12px;height:12px;box-shadow:0 0 0 2px var(--bg);border-radius:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.dreamill .assemble-toolbar{background:var(--bg);align-items:center;gap:8px;width:100%;min-width:0;min-height:40px;padding:6px 0;display:flex;position:relative}.dreamill .assemble-pick{z-index:90;background:#0000004d;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.dreamill .assemble-pick-panel{background:var(--bg);border-radius:12px;flex-direction:column;width:min(1100px,100%);height:min(90vh,820px);display:flex;overflow:hidden;box-shadow:0 24px 60px #00000047}.dreamill .assemble-pick-body{flex:1;min-height:0;display:flex}.dreamill .assemble-pick-side{border-right:1px solid var(--line);flex:none;width:288px;padding:12px;overflow:auto}.dreamill .assemble-pick-error{color:var(--danger);margin:0 0 8px;font-size:12px}.dreamill .assemble-pick-preview{background:#000;flex:1;justify-content:center;align-items:center;min-width:0;display:flex}.dreamill .assemble-pick-preview img,.dreamill .assemble-pick-preview video{-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.dreamill .assemble-pick-preview .assemble-pick-image{color:#fff;width:100%;height:100%;padding-bottom:8px}.dreamill .assemble-pick-preview .assemble-pick-image .image-vision-frame{flex:1;width:100%;min-height:0}.dreamill .assemble-pick-preview .assemble-pick-image .image-vision-info{max-height:30%;padding:0 12px;overflow:auto}.dreamill .assemble-pick-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:12px 16px;display:flex}.dreamill .assemble-zoom-end{margin-left:auto}.dreamill .assemble-tool{border:1px solid var(--line);height:28px;color:var(--text);cursor:pointer;background:0 0;border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;font-size:12px;line-height:1;display:inline-flex}.dreamill .assemble-tool>span[class*=i-lucide]{width:14px;height:14px}.dreamill .assemble-tool.is-on{background:var(--text);color:var(--bg);border-color:#0000}.dreamill .assemble-caption-action{flex:none;position:relative}.dreamill .assemble-caption-popover{bottom:36px;left:0}.dreamill .assemble-tool:disabled,.dreamill .scene-preview-caption-button:disabled{opacity:.55;cursor:progress}@media (width<=767px){.dreamill .assemble-tool-cover .assemble-tool-label,.dreamill .assemble-tool-ending .assemble-tool-label{display:none}.dreamill .assemble-tool-cover,.dreamill .assemble-tool-ending{justify-content:center;gap:0;width:28px;padding:0}}.dreamill .assemble-resize{background:var(--line);cursor:ns-resize;touch-action:none;flex:none;height:1px;position:relative}.dreamill .assemble-resize:before{content:"";position:absolute;inset:-5px 0 -3px}.dreamill .assemble-layers{flex-direction:column;display:flex}.dreamill .assemble-transition-track{background:#262b33;border-bottom:1px solid #ffffff14;height:28px;position:relative}.dreamill .assemble-transition-label{z-index:3;color:#c5ced8;background:#262b33;align-items:center;height:28px;padding:0 8px;font-size:11px;display:inline-flex;position:sticky;left:0}.dreamill .assemble-transition-track.is-on .assemble-transition-label{color:#fff}.dreamill .assemble-transition-bar{z-index:2;color:#fff;white-space:nowrap;cursor:pointer;background:#000;border:0;border-radius:4px;align-items:center;gap:4px;max-width:132px;height:20px;padding:0 6px;font-size:11px;line-height:1;display:inline-flex;position:absolute;top:4px;transform:translate(-50%)}.dreamill .assemble-transition-bar.has-duration{justify-content:center;max-width:none;overflow:hidden;transform:none}.dreamill .assemble-transition-bar.has-duration.is-on{outline:1px solid #ff9f2f}.dreamill .assemble-transition-bar.is-none{justify-content:center;width:20px;padding:0}.dreamill .assemble-transition-bar>span,.dreamill .assemble-transition-menu>button>span{flex:none;width:12px;height:12px}.dreamill .assemble-transition-line{z-index:5;pointer-events:none;border-left:1px dashed #ff9f2f;width:0;position:absolute;bottom:48px}.dreamill .assemble-transition-backdrop{z-index:80;position:fixed;inset:0}.dreamill .assemble-transition-menu{z-index:81;border:1px solid var(--line);background:var(--bg);border-radius:10px;flex-direction:column;width:196px;max-height:min(320px,60vh);padding:4px;display:flex;position:fixed;overflow-y:auto;box-shadow:0 16px 40px #0000002e}.dreamill .assemble-transition-menu>button{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.dreamill .assemble-transition-menu>button.is-on,.dreamill .assemble-transition-menu>button:hover{background:color-mix(in srgb, var(--text) 8%, transparent)}.dreamill .assemble-layer{background:#262b33;border-bottom:1px solid #ffffff14;height:28px;position:relative}.dreamill .assemble-layer.is-dragged{outline:1px solid var(--text)}.dreamill .assemble-layer-meta{z-index:1;align-items:center;gap:8px;height:28px;padding-right:8px;display:inline-flex;position:sticky;left:0}.dreamill .assemble-layer-grip{color:#c5ced8;cursor:grab;background:0 0;border:0;height:28px;padding:0 8px;font-size:11px}.dreamill .assemble-layer.is-on .assemble-layer-grip{color:#fff}.dreamill .assemble-layer-hint{color:#8b949e;white-space:nowrap;pointer-events:none;font-size:11px}.dreamill .assemble-layer:hover .assemble-layer-hint{color:#b7c0cb}.dreamill .assemble-layer.is-captions{background:#2b3038}.dreamill .assemble-layer.is-off{cursor:pointer}.dreamill .assemble-layer.is-off .assemble-layer-item{opacity:.35;pointer-events:none}.dreamill .assemble-layer-switch{color:#c5ced8;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;height:28px;padding:0 8px;font-size:11px;display:inline-flex}.dreamill .assemble-layer-language{color:#c5ced8;cursor:pointer;background:#1f242b;border:1px solid #3d444d;border-radius:4px;max-width:110px;height:20px;padding:0 4px;font-size:11px}.dreamill .assemble-layer-language:disabled{opacity:.6;cursor:default}.dreamill .assemble-layer-switch[aria-checked=false]{color:#8b949e}.dreamill .assemble-layer.is-on .assemble-layer-switch[aria-checked=true]{color:#fff}.dreamill .assemble-layer-item{z-index:2;color:#fff;cursor:grab;touch-action:none;background:#000;border:0;border-radius:4px;justify-content:flex-start;align-items:center;min-width:28px;height:20px;padding:0 6px;display:flex;position:absolute;top:4px;overflow:hidden}.dreamill .assemble-layer-item.is-on{padding-left:10px;padding-right:10px;overflow:visible}.dreamill .assemble-layer-item.is-dragging{z-index:3;cursor:grabbing}.dreamill .assemble-layer-item-icon{flex:none;width:12px;height:12px}.dreamill .assemble-layer-edge{z-index:3;cursor:ew-resize;touch-action:none;width:16px;position:absolute;top:0;bottom:0}.dreamill .assemble-layer-edge:after{content:"";background:#fff;border-radius:1px;width:2px;position:absolute;top:3px;bottom:3px}.dreamill .assemble-layer-edge.is-start:after{left:2px}.dreamill .assemble-layer-edge.is-end:after{right:2px}.dreamill .assemble-layer-edge.is-start{left:0}.dreamill .assemble-layer-edge.is-end{right:0}.dreamill .assemble-layer-item.is-on:not(.is-dragging){cursor:grab}.dreamill .assemble-layer-item.is-on:not(.is-dragging) .assemble-layer-edge{cursor:ew-resize}.dreamill .assemble-filmrow{align-items:stretch;display:flex}.dreamill .assemble-plate{background:color-mix(in srgb, var(--accent) 55%, #fff);color:#fff;cursor:pointer;border:0;flex:none;height:64px;padding:0;position:relative;overflow:hidden}.dreamill .assemble-plate.is-ending{background:color-mix(in srgb, var(--accent) 28%, #fff4e4)}.dreamill .assemble-plate img,.dreamill .assemble-plate video{-o-object-fit:cover;object-fit:cover;pointer-events:none;width:100%;height:100%}.dreamill .assemble-plate-empty,.dreamill .assemble-plate-time{color:#fff;text-shadow:0 1px 2px #000;font-size:10px;position:absolute;left:4px}.dreamill .assemble-plate-empty{top:4px}.dreamill .assemble-plate-time{bottom:3px}.dreamill .assemble-plate-handle{z-index:2;cursor:ew-resize;background:0 0;width:8px;position:absolute;top:0;bottom:0}.dreamill .assemble-plate-handle.is-end{right:0}.dreamill .assemble-plate-handle.is-start{left:0}.dreamill .assemble-plate:hover .assemble-plate-handle{background:#ffffff8c}.dreamill .assemble-layer-backdrop{z-index:80;position:fixed;inset:0}.dreamill .assemble-layer-menu{z-index:81;border:1px solid var(--line);background:var(--panel,#fff);border-radius:10px;flex-direction:row;align-items:center;gap:2px;width:auto;padding:4px;display:flex;position:fixed;box-shadow:0 16px 40px #0000002e}.dreamill .assemble-layer-menu>button{width:28px;height:28px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.dreamill .assemble-layer-menu>button:hover{background:var(--line)}.dreamill .assemble-layer-menu>button>span{width:16px;height:16px}.dreamill .assemble-layer-confirm button.is-delete,.dreamill .assemble-layer-menu>button.is-delete{color:#e11d2e}.dreamill .assemble-element-menu{flex-direction:column;align-items:stretch;min-width:132px}.dreamill .assemble-element-menu>button{justify-content:flex-start;gap:6px;width:auto;height:auto;padding:8px 10px;font-size:13px}.dreamill.assemble-stage-pop .assemble-stage-delete{border:1px solid var(--line);color:#e11d2e;width:100%;font:inherit;cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin-top:2px;padding:8px 10px;font-size:13px;display:inline-flex}.dreamill.assemble-stage-pop .assemble-stage-delete:hover{background:#e11d2e14}.dreamill .assemble-layer-confirm{border:1px solid var(--line);background:var(--panel,#fff);border-radius:8px;align-items:center;gap:6px;width:max-content;padding:8px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #00000029}.dreamill .assemble-layer-confirm p{color:var(--text);margin:0;font-size:12px}.dreamill .assemble-layer-confirm button{border:1px solid var(--line);height:24px;color:var(--text);cursor:pointer;background:0 0;border-radius:6px;padding:0 8px;font-size:12px}.dreamill .assemble-plate-modal{z-index:90;background:#0000004d;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.dreamill .assemble-plate-panel{background:var(--panel,#fff);border-radius:12px;flex-direction:column;width:min(860px,100%);max-height:min(80vh,720px);display:flex;overflow:hidden;box-shadow:0 24px 70px #00000047}.dreamill .assemble-plate-foot,.dreamill .assemble-plate-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.dreamill .assemble-plate-foot{border-top:1px solid var(--line);border-bottom:0}.dreamill .assemble-plate-head h2{margin:0;font-size:14px}.dreamill .assemble-plate-kinds{gap:8px;padding:12px 16px 0;display:flex}.dreamill .assemble-plate-body{grid-template-columns:220px minmax(0,1fr);gap:12px;min-height:280px;padding:12px 16px 16px;display:grid}.dreamill .assemble-plate-choices{flex-direction:column;gap:8px;display:flex;overflow:auto}.dreamill .assemble-plate-choice{border:1px solid var(--line);color:#fff;text-align:left;background:#111;border-radius:8px;padding:0;overflow:hidden}.dreamill .assemble-plate-choice img{-o-object-fit:cover;object-fit:cover;width:100%;height:72px;display:block}.dreamill .assemble-plate-preview{color:#fff;background:#111;border-radius:10px;place-items:center;display:grid;overflow:hidden}.dreamill .assemble-plate-preview img,.dreamill .assemble-plate-preview video{-o-object-fit:contain;object-fit:contain;width:100%;height:100%;max-height:420px}.dreamill .assemble-plate-name{margin:8px;font-size:12px}.dreamill .button.assemble-trim-go,.dreamill .button.assemble-trim-handle{z-index:8;color:#fff;background:#111318c7;position:absolute;top:0;transform:translate(-50%,calc(-100% - 6px))}.dreamill .button.assemble-trim-handle{cursor:ew-resize;touch-action:none;min-width:40px;padding:0 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.dreamill .button.assemble-trim-go.is-stacked{transform:translate(-50%,calc(-200% - 10px))}.dreamill .button.assemble-trim-go:disabled{opacity:.45}.dreamill .assemble-trim-error{z-index:8;color:#ffb4b4;margin:0;font-size:12px;position:absolute;top:0;left:12px;transform:translateY(calc(-100% - 44px))}.dreamill .assemble-trim-row{align-items:stretch;height:20px;display:flex}.dreamill .assemble-trim-corner{box-sizing:border-box;border:1px solid var(--accent-strong);background:var(--accent);color:#fff;cursor:pointer;flex:none;justify-content:center;align-items:center;height:20px;padding:0;display:flex;overflow:hidden}.dreamill .assemble-trim-corner>span{flex:none;width:12px;height:12px}.dreamill .assemble-trim-corner:focus-visible,.dreamill .assemble-trim-corner:hover{border-color:var(--accent-strong);background:var(--accent-strong);color:#fff}.dreamill .assemble-trim-slot{flex:none;height:20px;min-height:0;max-height:20px;position:relative}.dreamill .assemble-trim-bar{touch-action:none;background-color:#7ebaf057;background-image:radial-gradient(circle,#ffffff29 .45px,#0000 1.35px);background-size:9px 9px;height:20px;max-height:20px;line-height:0;position:relative}.dreamill .assemble-trim-label{z-index:1;background:color-mix(in srgb, #7ebaf0 34%, var(--bg));color:#8b949e;vertical-align:top;pointer-events:none;align-items:center;height:16px;margin-top:1px;padding:0 8px;font-size:11px;line-height:1;display:inline-flex;position:sticky;top:0;left:0}.dreamill .assemble-trim-bar.is-hot .assemble-trim-label,.dreamill .assemble-trim-bar:hover .assemble-trim-label{background:color-mix(in srgb, #7ebaf0 55%, var(--bg))}.dreamill .assemble-trim-bar.is-on .assemble-trim-label{color:#1c2430}.dreamill .assemble-trim-bar.is-hot,.dreamill .assemble-trim-bar:hover{background-color:#7ebaf08c}.dreamill .assemble-trimhead{z-index:4;pointer-events:none;width:10px;margin-left:-5px;position:absolute;top:0;bottom:0}.dreamill .assemble-trimhead:after{content:"";background:#eef7ff;width:2px;position:absolute;top:-3px;bottom:-3px;left:4px;box-shadow:0 0 0 1px #0e30608c}.dreamill .assemble-mark-btn{z-index:7;color:#fff;white-space:nowrap;cursor:pointer;background:#111;border:0;border-radius:8px;justify-content:center;align-items:center;gap:4px;min-width:22px;height:22px;padding:0 7px;font-size:11px;line-height:1;display:inline-flex;position:absolute;top:22px;transform:translate(-50%)}.dreamill .assemble-mark-actions{z-index:9;gap:6px;display:flex;position:absolute;top:22px;transform:translate(-50%)}.dreamill .assemble-mark-btn.assemble-razor{z-index:9}.dreamill .assemble-mark-actions .assemble-mark-btn{width:22px;padding:0;position:static;transform:none}.dreamill .assemble-fuse,.dreamill .assemble-restore{z-index:8;background:#9099a5;width:22px;padding:0}.dreamill .assemble-fuse:hover,.dreamill .assemble-restore:hover{background:#111}.dreamill .assemble-trim-bar .assemble-mark-range{pointer-events:auto}.dreamill .assemble-mark-btn>span[class*=i-lucide]{flex:none;width:13px;height:13px}.dreamill .assemble-split{z-index:5;opacity:.5;cursor:pointer;background:#fff;border:0;width:4px;margin-left:-2px;padding:0;position:absolute;top:0;bottom:0}.dreamill .assemble-mark-range{z-index:3;pointer-events:none;background-color:#7ebaf05c;background-image:radial-gradient(circle,#ffffff38 .45px,#0000 1.35px);background-size:9px 9px;border:0;padding:0;position:absolute;top:0;bottom:0}.dreamill .assemble-mark-range.is-committed{background-color:#5a96d6ad}.dreamill .assemble-ruler .assemble-mark-range{z-index:1}.dreamill .assemble-trim-range{z-index:3;pointer-events:none;background-color:#ff50506b;background-image:radial-gradient(circle,#ffe4e4f2 .9px,#0000 1.1px);background-size:7px 7px;position:absolute;top:0;bottom:0}.dreamill .assemble-ruler{background-color:#1c1f24;background-image:repeating-linear-gradient(to right, #ffffff47 0 1px, transparent 1px var(--tick,36px));height:22px;position:relative;overflow:hidden}.dreamill .assemble-ruler-label{color:#c5cad3;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:10px;line-height:1;position:absolute;top:4px;transform:translate(4px)}.dreamill .assemble-timeline .timeline-scenes{background:#1c1f24;align-items:stretch;gap:2px;min-width:0;display:flex}.dreamill .assemble-timeline .timeline-scene{color:#fff;min-width:0;height:64px;font:inherit;text-align:left;cursor:default;background:#2a303a;border:0;border-radius:0;flex:none;padding:0;position:relative;overflow:hidden}.dreamill .assemble-timeline .timeline-scene:nth-child(2),.dreamill .assemble-timeline .timeline-scene:nth-child(3){flex:none}.dreamill .assemble-film{background-color:#2a303a;background-position:0;background-repeat:repeat-x;background-size:auto 100%;position:absolute;inset:0}.dreamill .assemble-clip-name{z-index:4;color:#9aa3ad;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 1px 2px #000;pointer-events:none;font-size:10px;line-height:1.2;position:absolute;bottom:3px;left:4px;right:4px;overflow:hidden}.dreamill .assemble-timeline .timeline-scene.active .assemble-clip-name{color:#fff}.dreamill .assemble-timeline .timeline-scene.active{outline-offset:-2px;outline:2px solid #ff9f2f}.dreamill .assemble-filmrow .timeline-scenes{position:relative}.dreamill .assemble-filmrow .timeline-scene{cursor:grab;-webkit-user-select:none;user-select:none}.dreamill .assemble-filmrow .timeline-scene.is-dragged{z-index:6;opacity:.8;cursor:grabbing;box-shadow:0 6px 18px #00000073}.dreamill .assemble-clip-remove{z-index:5;color:#fff;cursor:pointer;opacity:0;background:#000000a6;border:0;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;padding:0;transition:opacity .12s;display:inline-flex;position:absolute;top:3px;right:3px}.dreamill .assemble-clip-remove:hover{background:#e11d2e}.dreamill .assemble-clip-insert>span,.dreamill .assemble-clip-remove>span{width:12px;height:12px}.dreamill .assemble-clip-insert{z-index:7;color:#1c1f24;cursor:pointer;opacity:0;background:#ff9f2f;border:2px solid #1c1f24;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;padding:0;transition:opacity .12s;display:inline-flex;position:absolute;top:50%;transform:translate(-50%,-50%)}.dreamill .assemble-clip-insert.is-start{transform:translateY(-50%)}.dreamill .assemble-clip-insert:focus-visible,.dreamill .assemble-clip-remove:focus-visible,.dreamill .assemble-filmrow .timeline-scene:hover .assemble-clip-remove,.dreamill .assemble-filmrow .timeline-scenes:hover .assemble-clip-insert{opacity:1}.dreamill .assemble-filmrow .timeline-scenes.is-dragging .assemble-clip-insert,.dreamill .assemble-filmrow .timeline-scenes.is-dragging .assemble-clip-remove{opacity:0;pointer-events:none}@media (hover:none){.dreamill .assemble-clip-insert,.dreamill .assemble-clip-remove{opacity:1}}.dreamill .assemble-clip-add{color:#c5ced8;cursor:pointer;background:0 0;border:1px dashed #4a525e;align-items:center;gap:6px;height:64px;padding:0 14px;font-size:12px;display:inline-flex}.dreamill .assemble-clip-drop{z-index:8;pointer-events:none;background:#ff9f2f;border-radius:2px;width:3px;margin-left:-1.5px;position:absolute;top:-2px;bottom:-2px}.dreamill .editor-properties label{color:var(--dm-muted);gap:4px;margin-top:10px;font-size:12px;display:grid}.dreamill .editor-properties input,.dreamill .editor-properties select{width:100%;color:var(--text);background:0 0}.dreamill .assemble-check{align-items:center;gap:6px;display:flex}.dreamill .assemble-check input{width:auto}.dreamill .assemble-covers{flex-wrap:wrap;gap:8px;display:flex}.dreamill .editor-properties .dm-media-placeholder,.dreamill .editor-properties .dm-still{width:100%}.dreamill .produce-episode-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dreamill .produce-episode.active{background:#ff9f2f1f;border-color:#ff9f2f}.dreamill .produce-heading .script-heading,.dreamill .stage-actions-end .script-heading{align-items:flex-start;width:100%}.dreamill .stage-actions-end .script-title-static{font-size:26px;font-weight:650;line-height:30px}.dreamill .produce-episode-row{align-items:center;gap:8px;min-width:0;margin-top:0;display:flex}.dreamill .produce-episode-row .produce-episode-picker{margin-top:0}.dreamill .produce-progress-ring{flex:none;width:24px;height:24px;display:inline-flex}.dreamill .produce-progress-ring--small{flex:none;width:20px;height:20px}.dreamill .produce-progress-ring svg{width:24px;height:24px;transform:rotate(-90deg)}.dreamill .produce-progress-ring--small svg{width:20px;height:20px;transform:rotate(-90deg)}.dreamill .produce-progress-track,.dreamill .produce-progress-value{fill:none;stroke-width:2px}.dreamill .produce-progress-track{stroke:var(--line)}.dreamill .produce-progress-value{stroke:var(--accent);stroke-linecap:round}.dreamill .produce-episode-picker{z-index:2;width:max-content;max-width:100%;margin-top:8px;display:block;position:relative}.dreamill .produce-episode-picker.is-open{z-index:30}.dreamill .produce-episode-select{border:1px solid var(--line);background:var(--panel);border-radius:8px;align-items:center;width:max-content;min-width:min(240px,100%);max-width:100%;min-height:34px;padding:4px 8px 4px 10px}.dreamill .produce-episode-chevron{width:18px;height:18px;color:var(--text);flex:none;margin-left:auto}.dreamill .produce-episode-menu{z-index:30;border:1px solid var(--line);background:var(--panel);border-radius:12px;grid-template-columns:minmax(0,1fr);max-height:240px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 12px 32px #00000047}@media (width<=767px){.dreamill .produce-layout{-moz-column-gap:8px;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.dreamill .produce-layout-single{grid-template-columns:auto minmax(0,1fr)}.dreamill .produce-episodes{z-index:1;grid-area:1/1;min-width:0;position:relative}.dreamill .produce-stage{grid-area:1/1/span 2/-1;grid-template-columns:subgrid;grid-template-rows:subgrid;pointer-events:none;display:grid}.dreamill .produce-stage>*{pointer-events:auto}.dreamill .produce-toolbar{z-index:1;grid-area:1/2;gap:6px;margin-bottom:0;position:relative}.dreamill .produce-layout-single .produce-toolbar{grid-column:1;justify-self:start}.dreamill .produce-stage-body{grid-area:2/1/auto/-1;min-width:0}.dreamill .produce-flow.sized-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dreamill .produce-card-frame{padding:8px}.dreamill .produce-flow.sized-cards .produce-card-title{font-size:12px;line-height:1.35;display:block}.dreamill .produce-flow.sized-cards .produce-actions,.dreamill .produce-flow.sized-cards .produce-actions--draft{gap:4px;margin-top:6px}.dreamill .produce-flow.sized-cards .button.small{min-height:28px;padding:0 8px;font-size:12px}.dreamill .produce-episode-picker{min-width:0;display:block;position:relative}.dreamill .produce-episode-tab{display:none}.dreamill .produce-episode-picker>.produce-episode{align-items:center;width:100%;min-width:0}.dreamill .produce-card .produce-instructions-host>.button.small,.dreamill .produce-toolbar>.button.small{align-items:center;width:auto;min-height:28px;padding:0 10px;display:inline-flex}.dreamill .produce-toolbar-label{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dreamill .produce-instructions-popover{left:auto;right:0}}.dreamill .script-heading-stack{display:contents}.dreamill .stage-actions-end.has-actions:not(.has-actions-below-lead) .script-heading-copy{align-items:flex-start;gap:12px;display:flex}.dreamill .stage-actions-end.has-actions-below-lead .script-heading-copy{flex-direction:column;align-items:flex-start;gap:0;display:flex}.dreamill .stage-actions-end.has-actions .script-heading-stack{flex-direction:column;flex:auto;align-items:flex-start;gap:8px;min-width:0;display:flex}.dreamill .stage-actions-end.has-actions .heading-actions{flex:none;align-self:flex-start;width:auto;max-width:none;margin:0 0 0 auto}.dreamill .assemble-layout{grid-template-columns:minmax(0,1fr)}.dreamill:has(.assemble-layout) .workspace{flex-direction:column;min-height:100vh;display:flex}.dreamill:has(.assemble-layout) .workbench{flex:auto;grid-template-rows:minmax(0,1fr);min-height:0}.dreamill:has(.assemble-layout) .main{flex-direction:column;height:100%;min-height:0;display:flex}.dreamill:has(.assemble-layout) .main>.page-heading{flex:none;overflow:visible}.dreamill .assemble-layout,.dreamill .assemble-main,.dreamill .assemble-main>.editor{flex-direction:column;flex:auto;width:100%;min-width:0;max-width:100%;min-height:0;display:flex}.dreamill .assemble-main>.editor>.editor-main{flex:auto;width:100%;min-width:0;max-width:100%;height:auto;min-height:0}.dreamill .assemble-main .assemble-timeline,.dreamill .assemble-main>.editor>.assemble-resize,.dreamill .assemble-main>.editor>.assemble-timeline-slot{flex:none;width:100%;min-width:0;max-width:100%}.dreamill .assemble-main>.editor>.assemble-resize{cursor:default}.dreamill .assemble-main .preview,.dreamill .assemble-main .preview-frame,.dreamill .assemble-main>.editor{box-shadow:none;background:#262b33}.dreamill .assemble-main .preview-frame{aspect-ratio:16/9;background:#262b33;width:auto;max-width:100%;height:100%;max-height:100%}.dreamill .assemble-main .preview-output{background:#000;position:absolute;overflow:hidden}.dreamill .preview-frame.has-assemble-player{cursor:pointer}.dreamill .preview-frame.has-assemble-player .assemble-stage-item,.dreamill .preview-frame.has-assemble-player .dreamill-caption-menu-popover,.dreamill .preview-frame.has-assemble-player .dreamill-player-chrome{cursor:default}.dreamill .assemble-main .preview{padding-left:0;padding-right:0}.dreamill .stage-actions-end .produce-episode-picker{margin-top:0}.dreamill .produce-scenes{gap:20px;display:grid}.dreamill .produce-board{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-top:12px;display:grid}.dreamill .produce-flow{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));align-items:stretch;gap:14px;display:grid}.dreamill .produce-mode{border:1px solid var(--line);background:#ffffff0a;border-radius:999px;padding:2px;display:inline-flex}.dreamill .produce-mode-button{height:26px;color:var(--dm-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 10px;font-size:12px}.dreamill .produce-mode-button.active{color:#1d1409;background:#ff9f2f}.dreamill .produce-scene-unit{flex-direction:column;min-width:0;display:flex}.dreamill .produce-scene-unit>.produce-card-frame,.dreamill .produce-card{flex-direction:column;flex:auto;display:flex}.dreamill .produce-frame-strip{z-index:4;grid-template-columns:repeat(4,minmax(0,1fr)) 24px;align-items:center;gap:4px;display:grid;position:absolute;top:6px;left:6px;right:6px}.dreamill .produce-frame-strip:not(.is-expanded) .produce-frame{transform:translate(calc(var(--frame-index)*2px), calc(var(--frame-index)*2px));z-index:calc(4 - var(--frame-index));grid-area:1/1}.dreamill .produce-frame-toggle{border:1px solid var(--line);background:var(--panel);width:24px;height:24px;color:var(--text);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:grid}.dreamill .produce-frame-strip:not(.is-expanded) .produce-frame-toggle{z-index:5;grid-area:1/1;place-self:center}.dreamill .produce-frame-toggle:hover{background:var(--panel-2)}.dreamill .produce-frame-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dreamill .produce-frame-toggle>.ui-icon{width:14px;height:14px}.dreamill .produce-frame{min-width:0;position:relative}.dreamill .produce-frame>button:first-child{border:1px solid var(--line);color:#f5f4f0;cursor:pointer;background:#00000073;border-radius:6px;place-items:center;width:100%;height:36px;padding:0;display:grid;overflow:hidden}.dreamill .produce-frame-remove{color:#fff;cursor:pointer;background:#0000009e;border:0;border-radius:999px;place-items:center;width:14px;height:14px;padding:0;display:grid;position:absolute;top:2px;right:2px}@media (hover:hover) and (pointer:fine){.dreamill .produce-frame-remove{opacity:0;pointer-events:none}.dreamill .produce-frame:focus-within .produce-frame-remove,.dreamill .produce-frame:hover .produce-frame-remove{opacity:1;pointer-events:auto}}.dreamill .produce-frame img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.dreamill .produce-card-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-bottom:6px;font-size:12px;line-height:18px;display:block;overflow:hidden}.dreamill .produce-card-title .produce-episode-mark{margin-right:8px}.dreamill .produce-card-frame{border:1px solid var(--line);background:var(--panel);border-radius:12px;min-width:0;padding:12px;position:relative}.dreamill .produce-take-count{z-index:3;color:#1d1409;background:#fff;border:1px solid #1d140929;border-radius:999px;place-items:center;min-width:28px;height:28px;padding:0 6px;font-size:13px;font-weight:700;line-height:1;display:grid;position:absolute;bottom:8px;right:8px}.dreamill .produce-take-count:hover{background:#ffe4bc}.dreamill .produce-card{min-width:0}.dreamill .produce-card-frame .shot-body{margin-top:auto;padding:0}.dreamill .produce-episode-action{align-items:center;gap:4px;display:inline-flex}.dreamill .produce-episode-action--icon{flex-shrink:0;padding-inline:7px}.dreamill .produce-card--episode .produce-episode-cover-change{z-index:2;color:#fff;white-space:nowrap;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#00000094;border:1px solid #ffffff47;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dreamill .produce-card--episode .produce-episode-cover-change:hover{background:#000000b8;border-color:#ffffff6b}.dreamill .produce-still{aspect-ratio:16/9;background:#000;border:0;border-radius:8px;width:100%;padding:0;display:block;position:relative;overflow:hidden}.dreamill .produce-still--draft{background:#000}.dreamill .produce-actions--draft{flex-wrap:wrap;gap:6px;display:flex}.dreamill .produce-still--draft img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;display:block}.dreamill .produce-draft-empty{width:100%;height:100%;min-height:120px;color:var(--dm-muted);place-items:center;display:grid}.dreamill .produce-draft-status{color:var(--dm-muted);margin:6px 0 0;font-size:13px}.dreamill .produce-still-hit{z-index:1;cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;display:block;position:absolute;inset:0}.dreamill .produce-still-hit img{-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;background:#000;width:100%;height:100%;display:block}.dreamill .produce-still video{opacity:0;pointer-events:none;width:0;height:0;position:absolute}.dreamill .produce-still.is-video video{z-index:1;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;opacity:1;pointer-events:auto;background:#000;width:100%;height:100%;display:block;inset:0}.dreamill .produce-length{z-index:2;color:#fff;pointer-events:none;background:#000000a6;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:500;position:absolute;bottom:8px;left:8px}.dreamill .produce-capture{z-index:3;color:#fff;cursor:pointer;background:#000000a6;border:0;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex;position:absolute;top:8px;left:8px}.dreamill .produce-capture .i-lucide-camera{width:16px;height:16px}.dreamill .produce-flash{z-index:4;opacity:0;pointer-events:none;background:#fff;transition:opacity .2s;position:absolute;inset:0}.dreamill .produce-flash.on{opacity:.9}.dreamill .produce-take-info{width:100%;color:inherit;text-align:left;display:block}.dreamill .produce-still:disabled{cursor:default}.dreamill .produce-still img{-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;background:#000;width:100%;height:100%;display:block}.dreamill .media-actions{flex-wrap:wrap;gap:6px;display:flex}.dreamill .media-strip{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:9px;display:grid}.dreamill .media-placeholder{border:1px dashed var(--line);min-height:84px;color:var(--dm-muted);text-align:center;border-radius:9px;place-items:center;padding:10px;font-size:12px;display:grid}.dreamill .editor-explainer{background:var(--accent-soft);color:var(--dm-muted);border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.5}.dreamill .scene-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.dreamill .scene-reference-grid img{aspect-ratio:16/9;-o-object-fit:cover;object-fit:cover;border-radius:8px;width:100%}.dreamill .project-switcher{position:relative}.dreamill .project-name-button{min-width:0;max-width:250px;color:var(--text);background:0 0;border:0;align-items:center;gap:8px;padding:3px 0;font-weight:650;display:flex}.dreamill .project-title-stack{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.dreamill .project-title-line{align-items:center;gap:5px;min-width:0;display:flex}.dreamill .project-title-stack .save-state{margin-top:0;line-height:1.2}.dreamill .project-chevron-button,.dreamill .project-name-text{color:inherit;font:inherit;background:0 0;border:0;padding:0;font-weight:650}.dreamill .project-name-text{text-overflow:ellipsis;white-space:nowrap;cursor:default;min-width:0;overflow:hidden}.dreamill .project-title-list{flex:none;width:16px;height:16px}.dreamill .project-title-cover{-o-object-fit:cover;object-fit:cover;background:var(--shell);border-radius:4px;flex:none;width:24px;height:32px}.dreamill .project-name-text:disabled{cursor:default}.dreamill .project-chevron-button{cursor:pointer;display:inline-flex}.dreamill .project-name-input{border:0;border-bottom:1px solid var(--accent);width:min(250px,46vw);color:var(--text);font:inherit;background:0 0;border-radius:0;padding:2px 0;font-weight:650}.dreamill .workspace-phase-header{flex-direction:column;gap:1px;min-width:0;padding:3px 0;display:flex}.dreamill .workspace-phase-header .project-name-text{letter-spacing:-.02em;font-size:18px}.dreamill .workspace-phase-hint{margin-top:0;line-height:1.2}.dreamill .sidebar-project{border:1px solid var(--line);background:color-mix(in srgb, var(--panel) 92%, var(--line));border-radius:12px;min-width:0;max-width:100%;margin:0 0 12px;position:relative}.dreamill .sidebar-project-main{min-width:0}.dreamill .sidebar-project-trigger{width:100%;min-width:0;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.dreamill .sidebar-project-cover-wrap{flex:none;position:relative}.dreamill .sidebar-project-cover{-o-object-fit:cover;object-fit:cover;background:var(--shell);border-radius:6px;width:36px;height:48px;display:block}.dreamill .sidebar-project-cover-chevron{display:none}.dreamill .sidebar-project-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;font-weight:650;overflow:hidden}.dreamill .sidebar-project-chevron{opacity:.75;flex:none}.dreamill .sidebar-project-actions{align-items:center;gap:4px;min-width:0;margin-bottom:6px;display:flex}.dreamill .sidebar-project-all,.dreamill[data-theme=light] .sidebar-project-all{text-overflow:ellipsis;white-space:nowrap;color:#3a2410;min-width:0;min-height:26px;box-shadow:none;background:#ffd9a8;border-color:#ffd9a8;flex:auto;padding:4px 8px;font-size:11px;font-weight:650;line-height:1.2;overflow:hidden}.dreamill .sidebar-project-all:hover,.dreamill[data-theme=light] .sidebar-project-all:hover{color:#3a2410;background:#ffe6c4;border-color:#ffe6c4}.dreamill .sidebar-project-new-host{flex:none;width:auto;margin-top:0;position:relative}.dreamill .sidebar-project-actions .stage-menu{flex:0 0 26px}.dreamill .sidebar-project-new-host .confirm-popover{z-index:90;width:min(260px,100vw - 48px);left:0;right:auto}.dreamill .sidebar-project-new,.dreamill a.sidebar-project-new{white-space:nowrap;text-overflow:ellipsis;justify-content:center;align-items:center;gap:2px;width:26px;height:26px;min-height:26px;padding:0;font-size:11px;font-weight:650;line-height:1.2;display:flex;overflow:hidden;box-shadow:0 2px 10px #ffb65c33}.dreamill .design-heading-actions{flex:none;align-items:flex-start;gap:8px;display:flex}.dreamill .design-write-script-host{flex:none;position:relative}.dreamill .design-write-progress{z-index:90;border:1px solid var(--line);background:var(--panel);border-radius:10px;width:max-content;max-width:min(280px,100vw - 48px);padding:10px 14px;position:absolute;top:calc(100% + 8px);right:0}.dreamill .design-write-script-host .confirm-popover{z-index:90;width:min(280px,100vw - 48px);left:auto;right:0}.dreamill .nav-group:has(.sidebar-project.is-picker-open){overflow:visible}.dreamill .sidebar-project.is-confirming,.dreamill .sidebar-project.is-picker-open{z-index:80}.dreamill .sidebar-project:has(.stage-menu.is-open){z-index:80}.dreamill .sidebar-project .project-picker{width:min(310px,82vw);left:0;right:auto}.dreamill .nav-collapsed .sidebar-project{border:0;border-radius:0;margin:0 0 8px;padding:0}.dreamill .nav-collapsed .sidebar-project-main{justify-content:center;display:flex}.dreamill .nav-collapsed .sidebar-project-trigger{justify-content:center;width:auto}.dreamill .nav-collapsed .sidebar-project-actions,.dreamill .nav-collapsed .sidebar-project-chevron,.dreamill .nav-collapsed .sidebar-project-title{display:none}.dreamill .nav-collapsed .sidebar-project-cover{border-radius:8px;width:48px;height:64px}.dreamill .nav-collapsed .sidebar-project-cover-chevron{color:#f5f4f0;background:#0405076b;border-radius:8px;place-items:center;font-size:18px;line-height:1;display:grid;position:absolute;inset:0}.dreamill .nav-collapsed .sidebar-project .project-picker{width:min(280px,100vw - 96px);top:0;left:calc(100% + 8px)}.dreamill .script-title-static{cursor:default;font:inherit;background:0 0;border:0;padding:0;font-weight:650}.dreamill .dreamill-project-stage-lead{margin-top:4px}.dreamill .project-stage-save-state{margin-top:6px}.dreamill .project-picker{z-index:70;border:1px solid var(--line);background:var(--panel);border-radius:12px;width:min(310px,82vw);max-height:360px;padding:7px;position:absolute;top:calc(100% + 6px);left:0;overflow:auto;box-shadow:0 18px 48px #00000042}.dreamill .project-picker[hidden]{display:none}.dreamill .project-option{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;padding:9px;text-decoration:none;display:block}.dreamill .project-option.active,.dreamill .project-option:hover{color:#1d1409;background:#ffe4bc}.dreamill .project-option.project-picker-item{align-items:center;gap:10px;display:flex}.dreamill .project-picker-cover{-o-object-fit:cover;object-fit:cover;background:var(--shell);border-radius:6px;flex:none;width:36px;height:48px}.dreamill .project-picker-copy{min-width:0}.dreamill .project-picker-title{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.dreamill .project-option.project-picker-all{border-top:1px solid var(--line);border-radius:0;align-items:center;gap:8px;margin-top:4px;display:flex}.dreamill .project-option small{color:var(--dm-muted);margin-top:3px;display:block}.dreamill .project-name-button.is-disabled .project-chevron-button{display:none}.dreamill .project-submenu{border-left:1px solid var(--line);gap:3px;min-width:0;margin:-1px 0 5px 32px;padding-left:8px;display:grid}.dreamill .submenu-kicker{color:var(--dm-muted);cursor:pointer;margin:-20px 0 0 43px;font-size:10px;line-height:1.2;text-decoration:none;display:block}.dreamill .submenu-kicker+.project-submenu{margin-top:6px}.dreamill .nav-collapsed .submenu-kicker,.dreamill .project-submenu[hidden]{display:none}.dreamill .project-submenu .project-option{white-space:nowrap;text-overflow:ellipsis;padding:7px;font-size:12px;overflow:hidden}.dreamill .project-option.project-option-row{align-items:center;gap:8px;display:flex}.dreamill .project-submenu .project-option.project-option-row{cursor:pointer;min-width:0;max-width:100%;position:relative;overflow:visible}.dreamill .project-option-row.is-confirming{z-index:9}.dreamill .project-option-main{min-width:0;color:inherit;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:0;display:flex}.dreamill .nav-project-delete{width:22px;height:22px;color:inherit;opacity:0;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}.dreamill .nav-project-delete .ui-icon{width:14px;height:14px}.dreamill .project-option-row.is-confirming .nav-project-delete,.dreamill .project-option-row:focus-within .nav-project-delete,.dreamill .project-option-row:hover .nav-project-delete{opacity:1}.dreamill .confirm-host{display:contents}.dreamill .confirm-popover{z-index:8;border:1px solid var(--line);background:var(--panel);width:240px;color:var(--text);white-space:normal;border-radius:10px;padding:10px;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 24px #00000047}.dreamill .element-card.is-confirming{z-index:4}.dreamill .element-card .confirm-popover{width:auto;inset:auto 10px 10px}.dreamill .confirm-popover p{margin:0 0 8px;font-size:12px;line-height:1.4}.dreamill .confirm-popover-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px;display:flex}.dreamill .confirm-popover .button{flex:none;min-height:28px;padding:0 10px;font-size:12px}@media (hover:none){.dreamill .nav-project-delete{opacity:1}}.dreamill .project-name-button .project-chevron{flex:none;width:16px;height:16px}.dreamill .nav-collapsed .project-submenu{display:none}@media (width<=1120px){.dreamill .assistant{display:none}.dreamill .workbench.ai-open .assistant{height:auto;max-height:calc(100dvh - 62px);width:min(var(--assistant-width), 100%);z-index:55;padding-bottom:max(18px, env(safe-area-inset-bottom));flex-direction:column;display:flex;position:fixed;top:62px;bottom:0;right:0;overflow:hidden}.dreamill .step-number{display:none}}.dreamill:has(.script-screen){height:100dvh;max-height:100dvh;overflow:hidden}.dreamill:has(.script-screen) .app{height:100dvh;max-height:100dvh;overflow:hidden}.dreamill:has(.script-screen){width:100%;position:fixed;inset:0}.dreamill:has(.script-screen) .workspace{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.dreamill:has(.script-screen) .workbench{flex:auto;grid-template-rows:minmax(0,1fr);min-height:0;overflow:hidden}.dreamill:has(.script-screen) .main{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.dreamill:has(.script-screen) .assistant{height:100%;min-height:0;position:static;top:auto;overflow:hidden}.dreamill .script-screen{flex-direction:column;flex:auto;min-height:0;display:flex}.dreamill .script-screen .page-heading{flex:none}.dreamill .script-screen .heading-actions{flex-direction:row;align-items:flex-start;gap:8px}.dreamill .stagebar:not(:has(.ai-open-button)):not(:has(.video-gen-notice)):not(:has(.stage-progress-host:not(:empty))){display:none}@media (width<=760px){.dreamill .topbar{flex-wrap:wrap;padding-block:8px}.dreamill .top-actions{flex-wrap:wrap}.dreamill .idea-fields{grid-template-columns:1fr}.dreamill .outline-layout,.dreamill .outline-layout.outline-collapsed{grid-template-rows:minmax(0,40%) minmax(0,1fr);grid-template-columns:1fr}.dreamill .outline-layout.outline-collapsed{grid-template-rows:minmax(0,1fr);grid-template-columns:58px minmax(0,1fr)}.dreamill .outline-resizer{display:none}.dreamill .duration-tools .auto-time{opacity:1}.dreamill .scene-entry header,.dreamill .scene-toolbar{flex-wrap:wrap}.dreamill .scene-reference-grid{grid-template-columns:1fr}}.dreamill a.button,.dreamill a.journey-step,.dreamill a.nav-button,.dreamill a.path-card,.dreamill a.poster-card,.dreamill a.project-option,.dreamill a.resource-mode,.dreamill a.stage-button,.dreamill a.view-button{text-decoration:none}.dreamill a.journey-step,.dreamill a.path-card,.dreamill a.poster-card,.dreamill a.project-option,.dreamill a.resource-mode{color:inherit}.dreamill a.path-card,.dreamill a.poster-card,.dreamill a.resource-mode{display:block}.dreamill a.journey-step{display:flex}.dreamill a.view-button{justify-content:center;align-items:center;line-height:1;display:inline-flex}.dreamill .ai-open-button .ai-mark{color:var(--accent);font-size:14px}.dreamill .script-block{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) 168px;align-items:start;gap:12px;margin:12px 0;padding-top:12px;display:grid}.dreamill .script-block.shot{margin-left:18px}.dreamill .script-block-main{min-width:0}.dreamill .script-block-head{align-items:center;gap:8px;display:flex}.dreamill .heading-badge{color:var(--dm-muted);letter-spacing:.04em;flex:none;font-size:11px}.dreamill .script-block h3,.dreamill .script-block h4,.dreamill .script-block h5{margin:0}.dreamill .script-block-head input{min-width:0;color:var(--text);background:0 0;border:0;flex:1;font-weight:650}.dreamill .script-seconds{color:var(--dm-muted);white-space:nowrap;font-size:12px}.dreamill .script-block textarea{border:1px solid var(--line);background:var(--shell);width:100%;min-height:72px;color:var(--text);border-radius:8px;margin-top:8px;padding:9px}.dreamill .script-media{gap:6px;display:grid}.dreamill .media-slot{border:1px dashed var(--line);min-height:52px;color:var(--dm-muted);text-align:center;background:0 0;border-radius:8px;place-items:center;padding:6px;font-size:11px;display:grid;overflow:hidden}.dreamill .media-slot img,.dreamill .media-slot video{-o-object-fit:cover;object-fit:cover;border-radius:6px;width:100%;height:52px}.dreamill .style-row{flex-wrap:wrap;gap:8px;margin:0 0 12px;display:flex}.dreamill .style-chip{border:1px solid var(--line);height:32px;min-height:32px;color:var(--dm-muted);background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 10px;line-height:1;display:inline-flex}.dreamill .style-chip .ui-icon{width:14px;height:14px}.dreamill .style-chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.dreamill .media-placeholder.generation-result{display:grid}.dreamill .media-placeholder.generation-result.visible{background:var(--accent-soft);color:var(--text);border-style:solid}.dreamill .dreamill-script-editor{color:#2e2b29;background:#fff;border:1px solid #e4e0d8;border-radius:12px;flex-direction:column;flex:auto;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.dreamill .script-heading-tools{border-bottom:1px solid #e4e0d8;align-items:center;gap:4px;padding:6px 8px;display:flex}.dreamill .script-heading-tools>button:not(.button){color:#4b5563;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.dreamill .script-heading-tools>button:not(.button):hover{background:#f3f1eb}.dreamill .script-heading-tools.in-toolbar{border-bottom:0;padding:0 0 0 4px}.dreamill .time-heading-menu{position:relative}.dreamill .time-heading-summary{color:#4b5563;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;list-style:none;display:inline-flex}.dreamill .time-heading-summary::-webkit-details-marker{display:none}.dreamill .time-heading-menu[open]>.time-heading-summary,.dreamill .time-heading-summary:hover{background:#f3f1eb}.dreamill .time-heading-panel{z-index:30;background:#fff;border:1px solid #e4e0d8;border-radius:8px;flex-direction:column;gap:6px;width:220px;padding:8px;display:flex;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 24px #00000014}.dreamill .time-heading-slider{align-items:center;gap:8px;display:flex}.dreamill .time-heading-slider input[type=range]{accent-color:#c2410c;flex:auto;width:100%}.dreamill .time-heading-range,.dreamill .time-heading-slider span{color:#4b5563;font-size:12px}.dreamill .time-heading-range{margin:0}.dreamill .time-heading-panel>button{background:#fff;border:1px solid #e4e0d8;border-radius:6px;padding:4px 8px;font-size:12px}.dreamill .script-film-strip{background:#faf9f6;border-top:1px solid #e4e0d8;flex:none;gap:8px;padding:8px;display:flex;overflow-x:auto}.dreamill .script-film-empty{color:#6b7280;margin:0;font-size:12px}.dreamill .script-film-clip{flex-direction:column;flex:none;gap:4px;max-width:100%;display:flex}.dreamill .script-film-clip-label{color:#6b7280;white-space:nowrap;font-size:11px}.dreamill .script-film-beats{gap:2px;display:flex}.dreamill .script-film-beat{color:#1f2937;text-align:left;background:#e7e2d8;border:0;border-radius:6px;flex-direction:column;align-items:flex-start;min-width:48px;height:44px;padding:4px 6px;display:flex;overflow:hidden}.dreamill .script-film-beat.dialogue{background:#d9e4f5}.dreamill .script-film-beat strong{font-size:11px;font-weight:600}.dreamill .script-film-beat span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;overflow:hidden}.dreamill .ProseMirror h6[data-dm-note],.dreamill .production-body h6[data-dm-note]{color:#6b7280;margin:.35rem 0;font-size:.8rem;font-weight:600}.dreamill .production-review{background:#fff;border:1px solid #e4e0d8;border-radius:12px;flex:0 38%;min-height:0;margin-top:8px;padding:10px 12px;overflow:auto}.dreamill .production-review-actions,.dreamill .production-review-head{align-items:center;gap:8px;display:flex}.dreamill .production-review-head{justify-content:space-between}.dreamill .production-body{margin:8px 0;font-size:14px;line-height:1.45}.dreamill .director-dialog{width:min(720px,100vw - 32px);max-height:min(86vh,820px);overflow:auto}.dreamill .director-config{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.dreamill .director-config span{border:1px solid var(--line);color:var(--dm-muted);border-radius:999px;padding:4px 8px;font-size:12px}.dreamill .director-scenes{flex-direction:column;gap:12px;max-height:min(52vh,520px);display:flex;overflow:auto}.dreamill .director-scene p{margin:0 0 6px;font-size:13px}.dreamill .director-scene-stage{aspect-ratio:16/9;background:#111;border-radius:8px;gap:4px;width:100%;display:flex;overflow:hidden}.dreamill .director-clip{background:#1b1b1b;flex:1 1 0;align-items:flex-end;min-width:0;padding:8px;display:flex;position:relative}.dreamill .director-clip-fill{background:#3b82f6;position:absolute;inset:0 auto 0 0}.dreamill .director-clip-meta,.dreamill .director-clip-name{z-index:1;color:#f5f4f0;background:#00000073;border-radius:4px;padding:2px 6px;font-size:11px;position:relative}.dreamill .director-clip-name{margin-left:6px}.dreamill .director-clips,.dreamill .director-stills{margin:8px 0;padding-left:18px;font-size:13px}.dreamill .director-error{color:#9b2c2c}.dreamill .director-notice{color:var(--muted,#6b7280);font-size:12px}.dreamill .dreamill-script-editor>:is(.director-error,.director-notice){margin:0 0 8px}.dreamill .director-warning{color:#6b5420;font-size:12px}.dreamill button.suggestion{text-align:left;cursor:pointer;width:100%;display:block}.dreamill .dreamill-script-editor .ProseMirror,.dreamill .dreamill-script-editor .tiptap{color:#2e2b29;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;min-height:0}.dreamill .dreamill-script-editor .ProseMirror{padding:6px 24px 24px}.dreamill .dreamill-script-editor .dm-heading-mark,.dreamill .dreamill-script-editor .dm-heading-tools{color:#6b7280}.dreamill .dm-heading-id{letter-spacing:.04em;color:#9ca3af;-webkit-user-select:none;user-select:none;pointer-events:none;margin:0 0 2px;font-size:9px;font-weight:400;line-height:1.2;display:block}.dreamill .dreamill-script-editor blockquote[data-dm-clip]{border-left:3px solid var(--accent,#6366f1);color:inherit;background:0 0;margin:.75rem 0 .75rem 2.75rem;padding:.35rem .65rem .35rem .75rem;font-style:normal;position:relative}.dreamill .dreamill-script-editor .prose blockquote[data-dm-clip],.dreamill .dreamill-script-editor blockquote[data-dm-clip] :is(p,li){color:inherit;font-style:normal}.dreamill .dreamill-script-editor blockquote[data-dm-clip],.dreamill .dreamill-script-editor blockquote[data-dm-clip] :is(p,li){quotes:none}.dreamill .dreamill-script-editor blockquote[data-dm-clip] :is(p,li):after,.dreamill .dreamill-script-editor blockquote[data-dm-clip] :is(p,li):not([data-dm-note]):before,.dreamill .dreamill-script-editor blockquote[data-dm-clip]:after,.dreamill .dreamill-script-editor blockquote[data-dm-clip]:before{content:none!important}.dreamill .dreamill-script-editor .dm-clip-gutter{flex-direction:column;align-items:flex-end;gap:3px;width:2.65rem;display:flex;position:absolute;top:0;left:-2.65rem}.dreamill .dreamill-script-editor .dm-clip-mark{letter-spacing:.02em;color:#3730a3;cursor:pointer;background:#6366f11a;border:1px solid #6366f159;border-radius:4px;padding:.1rem .4rem;font-size:10px;font-weight:600;position:static}.dreamill .dreamill-script-editor .dm-clip-mark:hover{background:var(--accent,#6366f1);border-color:var(--accent,#6366f1);color:#fff}.dreamill .dreamill-script-editor .dm-clip-seconds{font-variant-numeric:tabular-nums;color:#374151;text-align:right;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;min-width:2.2rem;padding:.05rem .25rem;font-size:11px;position:static}.dreamill .dreamill-script-editor .dm-clip-seconds:hover{color:#9a3412;background:#fff;border-color:#e4e0d8}.dreamill .dreamill-script-editor hr[data-dm-transition]{border:0;border-top:1px solid var(--line,#2b303a);margin:1.1rem 0 0;position:relative}.dreamill .dreamill-script-editor .dm-transition-bar{pointer-events:none;justify-content:center;align-items:center;height:0;margin:-1px 0 1.1rem;display:flex;position:relative}.dreamill .dreamill-script-editor .dm-transition-chip{pointer-events:auto;border:1px solid var(--line,#2b303a);background:var(--shell,#111318);color:var(--text,#e2e8f0);cursor:pointer;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;line-height:16px;display:inline-flex;transform:translateY(-50%)}.dreamill .dreamill-script-editor .dm-transition-chip:hover{border-color:var(--dm-accent,#38bdf8);color:var(--dm-accent,#38bdf8)}.dreamill .dreamill-script-editor :is(strong,b,em,i,u,s){color:inherit}.dreamill .dreamill-script-editor div[data-dm-text-transition]{border-left:3px solid var(--dm-accent,#0ea5e9);margin:.75rem 0 .75rem 2.75rem;padding:.35rem .65rem .35rem .75rem;position:relative}.dreamill .dreamill-script-editor div[data-dm-text-transition]>p{margin:.15rem 0}.dreamill .dreamill-script-editor .dm-text-gutter .dm-text-mark{color:#0369a1;background:#0ea5e91a;border-color:#0ea5e959}.dreamill .dreamill-script-editor .dm-text-gutter .dm-text-mark:hover{border-color:var(--dm-accent,#0ea5e9);background:var(--dm-accent,#0ea5e9);color:#fff}.dreamill .dreamill-script-editor .dm-text-widget{-webkit-user-select:none;user-select:none}.dreamill .dreamill-script-editor .dm-text-place{font-variant-numeric:tabular-nums;color:#374151;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:6px;margin:0 0 .2rem;padding:2px 6px 2px 3px;font-size:11px;line-height:16px;display:inline-flex}.dreamill .dreamill-script-editor .dm-text-place:hover{color:#0369a1;background:#fff;border-color:#e4e0d8}.dreamill .dreamill-script-editor .dm-text-place-thumb{border:1px solid;border-radius:2px;height:16px;display:block;position:relative}.dreamill .dreamill-script-editor .dm-text-place-pin{background:currentColor;border-radius:50%;width:5px;height:5px;position:absolute;transform:translate(-50%,-50%)}.dm-text-position-panel{flex-direction:column;align-items:center;gap:8px;width:260px;padding:10px;font-size:12px;display:flex}.dm-text-position-head{opacity:.8;align-self:stretch}.dm-text-position-box{background-color:#0b0d12;background-image:linear-gradient(90deg,#94a3b838 1px,#0000 0),linear-gradient(#94a3b838 1px,#0000 0);background-size:var(--dm-grid-x,10%) var(--dm-grid-y,10%);cursor:crosshair;border:1px solid #94a3b880;border-radius:4px;width:100%;max-height:200px;position:relative}.dm-text-position-pin{background:var(--dm-accent,#38bdf8);pointer-events:none;border:2px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #00000059}.dreamill .dm-transition-icon{flex:none;width:14px;height:14px}.dm-transition-menu{width:280px;padding:6px}.dm-transition-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;display:grid}.dm-transition-menu .dm-transition-menu-item{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;display:flex;overflow:hidden}.dm-transition-menu .dm-transition-icon{flex:none;width:16px;height:16px}.dm-transition-menu .time-heading-slider{align-items:center;gap:8px;margin:8px 4px 4px;font-size:12px;display:flex}.dm-transition-menu .time-heading-slider input{flex:1}.dm-duration-panel{flex-direction:column;gap:8px;width:260px;padding:10px;font-size:12px;display:flex}.dm-duration-head{align-items:center;gap:6px;display:flex}.dm-duration-step{color:#2e2b29;cursor:pointer;background:#fff;border:1px solid #e4e0d8;border-radius:6px;flex:none;width:28px;height:28px;font-size:15px;line-height:1}.dm-duration-step:hover{background:#f3f0ea}.dm-duration-input{color:#2e2b29;font-variant-numeric:tabular-nums;text-align:center;background:#fff;border:1px solid #e4e0d8;border-radius:6px;width:100%;min-width:0;height:28px;padding:0 6px;font-size:14px}.dm-duration-unit{color:#6b7280}.dm-duration-slider{accent-color:#c2410c;width:100%}.dm-duration-presets{flex-wrap:wrap;gap:4px;display:flex}.dm-duration-preset{color:#2e2b29;font-variant-numeric:tabular-nums;cursor:pointer;background:#fff;border:1px solid #e4e0d8;border-radius:999px;padding:2px 8px;font-size:11px}.dm-duration-preset.active,.dm-duration-preset:hover{color:#9a3412;background:#fff7ed;border-color:#c2410c}.dm-duration-panel .dm-duration-apply{color:#fff;cursor:pointer;background:#c2410c;border:0;border-radius:6px;flex:none;height:28px;padding:0 10px;font-size:12px;font-weight:600}.dm-duration-panel .dm-duration-apply:hover{background:#9a3412}.dm-duration-panel .dm-duration-step{background:#fff}.dm-duration-panel .dm-duration-step:hover{background:#f3f0ea}.dm-duration-slider-row{align-items:center;gap:6px;display:flex}.dm-duration-slider-row .dm-duration-slider{flex:1;min-width:0}.dm-duration-limit{color:#6b7280;font-variant-numeric:tabular-nums;flex:none;font-size:11px}.dreamill .dreamill-script-editor .dm-toolbar-group{border-left:1px solid var(--line,#2b303a);align-items:center;gap:2px;margin-left:4px;padding-left:4px;display:inline-flex}.dreamill .dreamill-script-editor .dm-toolbar-button{width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.dreamill .dreamill-script-editor .dm-toolbar-button:hover{background:var(--dm-hover,#94a3b826)}.dm-context-menu{min-width:190px}.dm-context-menu .dm-context-menu-item{align-items:center;gap:10px;padding:6px 10px;display:flex}.dm-context-menu-icon{color:#6b7280;font-variant-numeric:tabular-nums;flex:none;justify-content:center;align-items:center;width:22px;font-size:11px;font-weight:600;display:inline-flex}.dm-context-menu-icon svg{width:16px;height:16px}.dm-context-menu-divider{background:#e4e0d8;height:1px;margin:4px 6px}.dreamill .dreamill-script-editor .dm-toolbar-button.is-active{color:#3730a3;background:#6366f124}.dreamill .dm-find-bar{z-index:30;border:1px solid var(--line);background:var(--panel);width:min(380px,100% - 16px);color:var(--text);border-radius:10px;gap:6px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);right:8px;box-shadow:0 10px 28px #00000038}.dreamill .dm-find-row{align-items:center;gap:4px;min-width:0;display:flex}.dreamill .dm-find-input{border:1px solid var(--line);background:var(--panel-2);min-width:0;height:28px;color:inherit;border-radius:6px;flex:1;padding:0 8px;font-size:13px}.dreamill .dm-find-input:focus{border-color:var(--accent);outline:none}.dreamill .dm-find-count{min-width:56px;color:var(--dm-muted);font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap;flex:none;font-size:11px}.dreamill .dm-find-action,.dreamill .dm-find-icon,.dreamill .dm-find-toggle{height:28px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;display:inline-flex}.dreamill .dm-find-icon,.dreamill .dm-find-toggle{width:28px;font-size:12px;font-weight:600}.dreamill .dm-find-action{border:1px solid var(--line);padding:0 10px;font-size:12px}.dreamill .dm-find-icon svg{width:16px;height:16px}.dreamill .dm-find-icon .is-up{transform:rotate(180deg)}.dreamill .dm-find-action:hover:not(:disabled),.dreamill .dm-find-icon:hover:not(:disabled),.dreamill .dm-find-toggle:hover{background:var(--dm-hover,#94a3b826)}.dreamill .dm-find-toggle.is-active{background:var(--accent-soft);color:var(--accent)}.dreamill .dm-find-action:disabled,.dreamill .dm-find-icon:disabled{opacity:.4;cursor:default}.dreamill .dm-find-match{background:#ffb65c47;border-radius:2px}.dreamill .dm-find-match.is-current{box-shadow:0 0 0 1px var(--accent-strong);background:#ff9f2f99}.dreamill .dreamill-script-editor p[data-dm-note=light],.dreamill .dreamill-script-editor p[data-dm-note=performance],.dreamill .dreamill-script-editor p[data-dm-note=sound],.dreamill .library-picker-script-body p[data-dm-note=light],.dreamill .library-picker-script-body p[data-dm-note=performance],.dreamill .library-picker-script-body p[data-dm-note=sound]{color:var(--dm-muted,#64748b);padding-left:1.4rem;font-size:.92em;position:relative}.dreamill .dreamill-script-editor p[data-dm-note=light]:before,.dreamill .dreamill-script-editor p[data-dm-note=performance]:before,.dreamill .dreamill-script-editor p[data-dm-note=sound]:before,.dreamill .library-picker-script-body p[data-dm-note=light]:before,.dreamill .library-picker-script-body p[data-dm-note=performance]:before,.dreamill .library-picker-script-body p[data-dm-note=sound]:before{content:"";background-color:currentColor;width:1rem;height:1rem;position:absolute;top:.2em;left:0}.dreamill .dreamill-script-editor p[data-dm-note=light]:before{-webkit-mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%208a4%204%200%201%200%200%208%204%204%200%201%200%200-8m0-6v2m0%2016v2M2%2012h2m16%200h2M5%205l1.5%201.5m11%2011L19%2019M5%2019l1.5-1.5m11-11L19%205%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat;mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%208a4%204%200%201%200%200%208%204%204%200%201%200%200-8m0-6v2m0%2016v2M2%2012h2m16%200h2M5%205l1.5%201.5m11%2011L19%2019M5%2019l1.5-1.5m11-11L19%205%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat}.dreamill .dreamill-script-editor p[data-dm-note=performance]:before{-webkit-mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M9%207a3%203%200%201%200%200%206%203%203%200%201%200%200-6M3%2021v-1a6%206%200%200%201%2012%200v1m2-17h4v4h-2l-2%202Z%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat;mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M9%207a3%203%200%201%200%200%206%203%203%200%201%200%200-6M3%2021v-1a6%206%200%200%201%2012%200v1m2-17h4v4h-2l-2%202Z%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat}.dreamill .dreamill-script-editor p[data-dm-note=sound]:before{-webkit-mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M4%209h4l5-4v14l-5-4H4Zm13%200a4%204%200%200%201%200%206%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat;mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M4%209h4l5-4v14l-5-4H4Zm13%200a4%204%200%200%201%200%206%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat}.dreamill .dreamill-script-editor p[data-dm-note=camera],.dreamill .library-picker-script-body p[data-dm-note=camera]{color:var(--dm-muted,#64748b);padding-left:1.4rem;font-size:.92em;position:relative}.dreamill .dreamill-script-editor p[data-dm-note=camera]:before,.dreamill .library-picker-script-body p[data-dm-note=camera]:before{content:"";background-color:currentColor;width:1rem;height:1rem;position:absolute;top:.2em;left:0;-webkit-mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M3%207h4l2-3h6l2%203h4v12H3Zm9%202a4%204%200%201%200%200%208%204%204%200%201%200%200-8%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat;mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M3%207h4l2-3h6l2%203h4v12H3Zm9%202a4%204%200%201%200%200%208%204%204%200%201%200%200-8%22%2F%3E%3C%2Fsvg%3E) 50%/contain no-repeat}.dreamill .dreamill-script-editor .dm-toolbar-button svg{width:16px;height:16px}.dreamill .dm-heading-note{color:var(--dm-muted,#64748b);vertical-align:middle;pointer-events:none;justify-content:center;align-items:center;margin-right:.35rem;display:inline-flex}.dreamill .dm-heading-mark{color:#6b7280;font:inherit;cursor:pointer;background:0 0;border:0;margin-right:8px;padding:0;font-size:.82em;font-weight:650;display:inline}.dreamill .dm-heading-mark:hover{color:#111827}.dm-heading-menu{z-index:80;color:#2e2b29;background:#fff;border:1px solid #e4e0d8;border-radius:10px;min-width:168px;padding:6px;position:fixed;box-shadow:0 12px 32px #00000029}.dm-heading-menu-item{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:7px 10px;display:block}.dm-heading-menu-item.active,.dm-heading-menu-item:hover{background:#f3f0ea}.dreamill .dm-heading-tools{color:#6b7280;flex-wrap:wrap;justify-content:flex-end;align-items:stretch;gap:8px;margin:8px 0 14px;display:flex}.dreamill .dm-still{aspect-ratio:16/9;cursor:pointer;background:#000;border:1px solid #3a3a3a;border-radius:8px;width:96px;padding:0;position:relative;overflow:hidden}.dreamill .dm-still img{-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;width:100%;height:100%;margin:0}.dreamill .dm-still.is-selected,.dreamill .dm-still:hover{border-color:#ff9f2f}.dreamill .dm-still.is-selected{box-shadow:0 0 0 1px #ff9f2f}.dreamill .dm-media-placeholder{aspect-ratio:16/9;color:#e5e7eb;text-align:center;cursor:pointer;background:#000;border:1px dashed #3a3a3a;border-radius:8px;place-items:center;width:128px;padding:8px;font-size:12px;line-height:1.2;display:grid;position:relative;overflow:hidden}.dreamill .dm-media-placeholder:hover{color:#fff;border-color:#ff9f2f}.dreamill .dm-media-placeholder img{-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;width:100%;height:100%;margin:0;position:absolute;inset:0}.dreamill .dm-media-placeholder span{z-index:1;position:relative}.dreamill .dm-media-placeholder.has-media span{color:#fff;background:#0c0d109e;border-radius:999px;padding:2px 6px;font-size:11px}.dreamill .dm-heading-seconds{white-space:nowrap;font-size:12px}.dreamill .resource-grid{grid-template-columns:1fr}@media (width>=768px){.dreamill .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1024px){.dreamill .resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=1280px){.dreamill .resource-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.dreamill .plan-picker{resize:both;width:min(1080px,100%);min-width:min(520px,100%);min-height:420px;overflow:auto}.dreamill .plan-picker .sized-cards{grid-template-columns:repeat(auto-fill,minmax(min(208px,100%),240px))}.dreamill .dialog.is-max{resize:none;flex-direction:column;width:calc(100vw - 32px);max-width:none;height:calc(100vh - 32px);max-height:none;display:flex}.dreamill .dialog.is-max .plan-picker-list{flex:1;min-height:0;max-height:none}.dreamill .plan-picker-list{gap:8px;max-height:min(60vh,520px);display:grid;overflow:auto}.dreamill .plan-picker-group{color:var(--dm-muted);margin:6px 0 0;font-size:12px;font-weight:650}.dreamill .plan-picker-thumb{-o-object-fit:cover;object-fit:cover;background:#111;border-radius:6px;flex:none;width:48px;height:64px}.dreamill .plan-picker-row{border:1px solid var(--line);border-radius:12px;align-items:center;gap:12px;padding:8px;display:flex}.dreamill .plan-picker-row strong{font-size:14px;display:block}.dreamill .plan-picker-row p{color:var(--dm-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:4px 0 0;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.dreamill .plan-picker-row .button{flex:none;margin-left:auto}.dreamill .resource-search .button{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.dreamill .sized-cards{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),300px));justify-content:start}@media (width<=767px){.dreamill .library-drop .sized-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dreamill .library-drop .resource-card{border-radius:12px;padding:8px}.dreamill .library-drop button.resource-card.is-add{min-height:0;font-size:13px}.dreamill .library-drop .element-card{flex-direction:column;gap:8px}.dreamill .library-drop .element-media{width:100%;height:88px}.dreamill .library-drop .element-copy h3{margin-bottom:4px;font-size:13px}.dreamill .library-drop .element-card.is-character .element-copy p,.dreamill .library-drop .element-copy p{-webkit-line-clamp:2;max-height:none;font-size:12px;line-height:1.35}.dreamill .library-drop .element-meta{margin-top:4px;font-size:11px}.dreamill .library-drop .element-actions{gap:4px;margin-top:6px}.dreamill .library-drop .element-actions .button.small{min-height:28px;padding:0 8px;font-size:12px}.dreamill .library-drop .element-actions .button.small.element-icon{width:28px;min-width:28px;min-height:28px;padding:0}.dreamill .library-element-dialog{padding:12px}.dreamill .library-element-dialog .dialog-head{margin-bottom:6px}.dreamill .library-element-dialog h2{font-size:16px}.dreamill .library-element-dialog .close{width:28px;height:28px}.dreamill .library-element-dialog .library-edit{grid-template-columns:1fr;gap:10px;margin-top:0}.dreamill .library-element-dialog .library-edit-media{aspect-ratio:16/9;min-height:0}.dreamill .library-element-dialog .library-edit-media img,.dreamill .library-element-dialog .library-edit-media video{-o-object-fit:cover;object-fit:cover;position:absolute;inset:0}.dreamill .main>.resource-grid.sized-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dreamill .main>.resource-grid.sized-cards>.resource-card{border-radius:12px;padding:8px}.dreamill .main>.resource-grid.sized-cards>button.resource-card.is-add{min-height:0;font-size:13px}.dreamill .main>.resource-grid.sized-cards .resource-card-top{flex-direction:column;align-items:flex-start;gap:4px}.dreamill .main>.resource-grid.sized-cards h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.dreamill .main>.resource-grid.sized-cards p{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:4px 0 6px;font-size:12px;line-height:1.35;display:-webkit-box;overflow:hidden}.dreamill .main>.resource-grid.sized-cards .resource-meta{gap:4px;margin-bottom:6px}.dreamill .main>.resource-grid.sized-cards .resource-actions{pointer-events:auto;background:0 0;gap:4px;padding:0;position:static}.dreamill .main>.resource-grid.sized-cards>.resource-card .resource-actions .button,.dreamill .main>.resource-grid.sized-cards>.resource-card:not(:hover) .resource-actions .button:not(.is-choice){opacity:1;pointer-events:auto;min-height:28px;padding:0 8px;font-size:12px;display:inline-flex}.dreamill .main>.resource-grid.sized-cards .resource-card.is-book{flex-direction:column;gap:8px}.dreamill .main>.resource-grid.sized-cards .book-cover{flex-basis:auto;width:100%;height:72px;max-height:72px}}.dreamill .sized-cards-projects{grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),420px));justify-content:start}.dreamill .resource-toolbar{align-items:center;gap:9px;margin-bottom:10px;display:flex}.dreamill .resource-toolbar .resource-search{flex:1;margin-bottom:0}.dreamill .resource-toolbar>.button{flex:none}.dreamill .dialog-window{flex:none;gap:6px;display:flex}.dreamill .dialog-window .ui-icon{width:16px;height:16px}.dreamill .resource-card.is-pick{cursor:pointer;text-align:left}.dreamill .resource-editor{width:min(840px,100%)}.dreamill .resource-editor-body.dreamill-script-editor{height:360px}.dreamill .import-host{margin-right:auto;position:relative}.dreamill .import-pop{z-index:2;border:1px solid var(--line);background:var(--panel);border-radius:12px;gap:8px;width:min(360px,70vw);padding:8px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0}.dreamill .import-pop input{border:1px solid var(--line);min-width:0;height:36px;color:var(--text);background:0 0;border-radius:8px;flex:1;padding:0 10px}.dreamill .design-reel{flex-direction:column;gap:18px;min-width:0;min-height:0;display:flex}.dreamill .canvas.design-canvas.visible{flex:1;align-content:start;gap:28px;display:grid;overflow:auto}.dreamill .design-dream-row{flex-wrap:wrap;align-items:flex-start;gap:26px;display:flex}.dreamill .design-cover-card{color:inherit;font:inherit;text-align:left;cursor:pointer;flex-direction:column;flex:0 0 220px}.dreamill .design-cover-card .design-card-still{width:100%;height:112px}.dreamill .flow-node.design-dream-node{-moz-column-gap:12px;text-align:left;cursor:pointer;border-color:var(--accent);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 12px;width:min(100%,420px);min-height:0;display:grid}.dreamill .design-dream-mark{width:22px;height:22px;color:var(--accent);grid-row:1/span 2}.dreamill .design-dream-node p,.dreamill .design-dream-node strong{grid-column:2}.dreamill .design-beat-node p,.dreamill .design-dream-node p{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.dreamill .design-flow-row{align-items:flex-start;gap:26px;min-width:min-content;display:flex}.dreamill .design-flow-row .flow-column{flex:0 0 220px}.dreamill .design-flow-row .flow-column:first-child{flex-basis:168px}.dreamill .flow-node.design-lead{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, var(--panel));text-align:center;border-radius:999px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:72px;display:flex}.dreamill .design-lead-actions{align-items:center;gap:2px;display:flex}.dreamill .design-lead-icon{width:28px;height:28px;color:var(--dm-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;padding:0;display:grid}.dreamill .design-lead-icon:hover{color:var(--text)}.dreamill .design-lead-icon:disabled{opacity:.45;cursor:default}.dreamill .design-lead-icon .ui-icon{width:16px;height:16px}.dreamill .design-flow-row .flow-column:not(:last-child):after{top:36px}.dreamill .design-flow-row .design-card{flex-direction:column;height:100%}.dreamill .design-flow-row .design-card-still{width:100%;height:112px}.dreamill .design-beat-node{text-align:left;cursor:pointer;width:100%;min-height:96px}.dreamill .design-beat-remove{margin-top:6px}.dreamill .design-beat-remove:disabled{opacity:.5;cursor:default}.dreamill .design-editor{min-height:280px}.dreamill .design-reel h2{margin:0;font-size:16px}.dreamill .design-dream,.dreamill .design-field{gap:8px;font-size:13px;font-weight:600;display:grid}.dreamill .design-beat textarea,.dreamill .design-beats textarea,.dreamill .design-dream textarea,.dreamill .design-field textarea{border:1px solid var(--line);background:var(--panel);width:100%;color:var(--text);font:inherit;resize:vertical;border-radius:12px;padding:12px 14px;font-weight:400;line-height:1.45}.dreamill .design-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.dreamill .design-block{gap:10px;display:grid}.dreamill .design-materials{gap:10px;padding-bottom:4px;display:flex;overflow-x:auto}.dreamill .design-material{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex:0 0 148px;overflow:hidden}.dreamill .design-material img{-o-object-fit:cover;object-fit:cover;background:var(--panel-2);width:100%;height:112px;display:block}.dreamill .design-material-copy{gap:4px;padding:8px 10px 10px;display:grid}.dreamill .design-material-copy strong{font-size:13px;line-height:1.3}.dreamill .design-beats-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dreamill .design-beats-head h2{margin-right:auto}.dreamill .design-beats{gap:8px;margin:0;padding:0;list-style:none;display:grid}.dreamill .design-beats li{grid-template-columns:1fr auto;align-items:start;gap:8px;display:grid}@media (width<=720px){.dreamill .design-beats li,.dreamill .design-pair{grid-template-columns:1fr}}.dreamill button.style-chip.library-tab{white-space:nowrap;justify-content:center;align-items:center;gap:6px;height:32px;min-height:32px;padding:0 10px;line-height:1}.dreamill .library-tab small{color:var(--dm-muted);font-size:11px;font-weight:500}.dreamill .style-chip.active small{color:inherit;opacity:.75}.dreamill .script-cover-status{text-align:center;color:#f3f0ea;padding:4px;font-size:10px;line-height:1.25}.dreamill .design-chosen-head{flex-wrap:wrap;align-items:baseline;gap:8px 14px;display:flex}.dreamill button.text-link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px}.dreamill .design-cast{gap:10px;display:grid}.dreamill .design-card{border:1px solid var(--line);background:var(--panel);border-radius:12px;gap:12px;padding:10px;display:flex;position:relative}.dreamill .design-card .confirm-popover{z-index:12;inset:auto 8px 8px auto}.dreamill .design-card-still{border:1px dashed var(--line);background:var(--panel-2);width:72px;height:96px;color:var(--dm-muted);border-radius:8px;flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.dreamill .design-card-still img,.dreamill .design-card-still video{-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center;width:100%;height:100%;position:absolute;inset:0}.dreamill .design-card-still svg{width:22px;height:22px}.dreamill .design-card-copy{flex:1;align-content:start;gap:6px;min-width:0;display:grid}.dreamill .design-card-top{align-items:center;gap:6px;min-width:0;display:flex}.dreamill .design-card-top input,.dreamill .design-card-top strong{flex:1;min-width:0}.dreamill .design-card-copy textarea,.dreamill .design-card-top input,.dreamill .picker-add input[type=text]{border:1px solid var(--line);width:100%;color:var(--text);font:inherit;background:0 0;border-radius:8px;padding:6px 8px}.dreamill .design-card-text{color:var(--dm-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}.dreamill .design-still-actions,.dreamill .picker-add{flex-wrap:wrap;gap:10px;font-size:13px;display:flex}.dreamill .design-still-actions button,.dreamill .design-still-actions label{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.dreamill .design-card-still .design-still-actions{background:#0000008c;flex-flow:row;gap:0;font-size:10px;line-height:1.2;position:absolute;bottom:0;left:0;right:0}.dreamill .design-card-still .design-still-actions button,.dreamill .design-card-still .design-still-actions label{color:#fff;text-align:center;flex:1;width:auto;padding:3px 2px}.dreamill .design-card-still .design-still-actions button:hover,.dreamill .design-card-still .design-still-actions label:hover{background:#ffffff29}.dreamill .design-still-actions button:disabled{cursor:default;opacity:.6}.dreamill .design-card button.icon-button{width:28px;height:28px;color:var(--dm-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.dreamill .design-card button.icon-button:hover{color:var(--text);background:var(--panel-2)}.dreamill .design-card button.icon-button svg{width:16px;height:16px}.dreamill .picker-add{gap:10px;max-width:420px;display:grid}.dreamill .picker-add label{gap:6px;font-size:13px;font-weight:600;display:grid}.dreamill .profile-signin{text-align:left;cursor:pointer;width:100%;font:inherit;background:0 0;border:0}.dreamill #faq,.dreamill #pricing{scroll-margin-top:76px}.dreamill .faq-list{gap:8px;display:grid}.dreamill .faq-list details{border:1px solid var(--line);background:#ffffff08;border-radius:12px;padding:12px 14px}.dreamill .faq-list summary{cursor:pointer;font-weight:650}.dreamill .faq-list p{color:var(--dm-muted);margin:8px 0 0}.dreamill .make-pricing{background:linear-gradient(180deg, #ffb65c14, transparent 42%), var(--panel);border:1px solid #ffb65c59;border-radius:22px;margin-top:28px;padding:20px 20px 8px}.dreamill .make-pricing.is-steps{margin-top:8px}.dreamill .make-pricing.is-steps .make-steps{margin-top:4px}.dreamill .make-pricing h2{letter-spacing:-.03em;margin:0;font-size:22px}.dreamill .make-lead{max-width:62ch;color:var(--dm-muted);margin:6px 0 0}.dreamill .make-promo{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.dreamill .make-promo article{border:1px solid var(--line);background:#08090c38;border-radius:14px;padding:14px}.dreamill .make-promo article.is-featured{border-color:#ffb65c73}.dreamill .make-promo span{color:var(--accent);font-size:11px;font-weight:700;display:block}.dreamill .make-promo strong{margin:6px 0;display:block}.dreamill .make-promo p{color:var(--dm-muted);margin:0;font-size:13px;line-height:1.45}.dreamill .make-pricing .free-note{color:var(--dm-muted)}.dreamill .make-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:22px 0 12px;padding:0;list-style:none;display:grid;position:relative}.dreamill .make-steps:before{content:"";background:linear-gradient(90deg, var(--success) 0 75%, var(--accent) 75% 100%);height:2px;position:absolute;top:14px;left:3%;right:18%}.dreamill .make-steps li{align-content:start;gap:4px;min-width:0;display:grid;position:relative}.dreamill .make-index{border:2px solid var(--success);background:var(--panel);width:30px;height:30px;color:var(--success);z-index:1;border-radius:50%;place-items:center;font-size:13px;font-weight:700;display:grid}.dreamill .make-steps li.is-paid .make-index{border-color:var(--accent);color:var(--accent-strong)}.dreamill .make-price{color:var(--success);margin-top:6px;font-size:12px;font-weight:750}.dreamill .make-steps li.is-paid .make-price{color:var(--accent-strong)}.dreamill .make-steps strong{font-size:14px}.dreamill .make-steps p{color:var(--dm-muted);margin:0;font-size:12px;line-height:1.45}.dreamill .make-notes{border-top:1px solid var(--line);margin:4px 0 0;padding:14px 0 16px}.dreamill .make-notes h3{margin:0 0 6px;font-size:13px}.dreamill .make-notes ul{color:var(--dm-muted);gap:4px;margin:0;padding-left:18px;font-size:12px;line-height:1.5;display:grid}.dreamill .make-notes a{color:var(--accent)}@media (width<=980px){.dreamill .make-promo{grid-template-columns:1fr}.dreamill .make-steps{grid-template-columns:1fr;gap:16px;padding-left:4px}.dreamill .make-steps:before{background:linear-gradient(180deg, var(--success) 0 70%, var(--accent) 70% 100%);width:2px;height:auto;inset:8px auto 42px 18px}.dreamill .make-steps li{padding-left:46px}.dreamill .make-index{position:absolute;top:0;left:0}}.dreamill .home-footer{border-top:1px solid var(--line);color:var(--dm-muted);flex-wrap:wrap;justify-content:space-between;gap:12px 24px;margin-top:28px;padding:22px 0 8px;font-size:13px;display:flex}.dreamill .home-footer nav{flex-wrap:wrap;gap:8px 16px;display:flex}.dreamill .home-footer a{color:var(--text);text-decoration:none}.dreamill .home-footer a:hover{text-decoration:underline}.dreamill .home-footer p{margin:0}.dreamill .product-hunt-badge{width:max-content;max-width:100%;display:inline-flex}.dreamill .product-hunt-badge img{max-width:100%;height:auto;display:block}.dreamill .product-hunt-badge.is-hero{margin-top:16px}.dreamill .home-product-hunt{justify-content:center;padding-top:8px;padding-bottom:8px;display:flex}.dreamill .product-hunt-badge.is-page img{width:min(250px,100%)}.dreamill .product-hunt-badge.is-footer img{width:200px}.dreamill .product-hunt-badge .is-light,.dreamill[data-theme=light] .product-hunt-badge .is-dark{display:none}.dreamill[data-theme=light] .product-hunt-badge .is-light{display:block}.dreamill .legal-page{max-width:720px;padding-bottom:32px}.dreamill .legal-page h1{letter-spacing:-.03em;margin:0 0 8px;font-size:32px}.dreamill .legal-intro,.dreamill .legal-page section p,.dreamill .legal-updated{color:var(--dm-muted);line-height:1.6}.dreamill .legal-page section p{white-space:pre-line}.dreamill .legal-page section h2{margin:22px 0 6px;font-size:18px}.dreamill .offer-terms{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);color:var(--dm-muted);margin-top:12px;padding:14px 16px;line-height:1.6}.dreamill .offer-terms h3{color:var(--text);margin:14px 0 4px;font-size:15px}.dreamill .offer-terms h3:first-child{margin-top:0}.dreamill .offer-terms .offer-terms-lead{white-space:normal;margin:0 0 8px}.dreamill .offer-terms dl{margin:8px 0}.dreamill .offer-terms dt{color:var(--text);margin-top:10px;font-weight:700}.dreamill .offer-terms dd{margin:0}.dreamill .offer-terms ul{margin:4px 0 0;padding-left:20px}.dreamill .dialog-backdrop.auth-gate{z-index:80}.dreamill .auth-gate-dialog{width:min(440px,100%);padding:18px 18px 8px;position:relative}.dreamill .auth-gate-close{z-index:1;position:absolute;top:10px;right:10px}.dreamill .credit-balance{color:var(--text);background:#ffb65c14;border:1px solid #ffb65c73;border-radius:12px;justify-content:space-between;align-items:baseline;gap:8px;margin:0 10px 8px;padding:8px 10px;text-decoration:none;display:flex}.dreamill .credit-balance strong{font-size:18px;font-weight:700}.dreamill .credit-balance span{color:var(--dm-muted);font-size:12px}.dreamill .credit-balance .credit-balance-amount{color:inherit;align-items:center;gap:4px;display:inline-flex}.dreamill .credit-balance .credit-balance-amount .credit-balance-icon{width:18px;height:18px;color:var(--accent)}@media (width>=768px){.dreamill .app:not(.nav-collapsed) .sidebar-footer .credit-balance .credit-balance-amount .credit-balance-icon{width:15px;height:15px}}.dreamill .nav-collapsed .credit-balance .credit-balance-amount{gap:2px;min-width:0;display:inline-flex}.dreamill .nav-collapsed .credit-balance .credit-balance-amount .credit-balance-icon{width:11px;height:11px;display:inline-block}.dreamill .credit-balance .credit-balance-amount strong{line-height:1}.dreamill .account-balance .account-balance-icon{color:var(--accent);align-self:center;font-size:28px}@media (width>=768px){.dreamill .app:not(.nav-collapsed) .sidebar-footer{grid-template-columns:1fr 1fr;align-items:stretch;gap:8px;padding:0;display:grid}.dreamill .app:not(.nav-collapsed) .sidebar-footer .credit-balance,.dreamill .app:not(.nav-collapsed) .sidebar-footer .space-menu{min-width:0;margin:0 0 8px}.dreamill .app:not(.nav-collapsed) .sidebar-footer .credit-balance{margin-left:10px}.dreamill .app:not(.nav-collapsed) .sidebar-footer .space-menu{margin-right:10px}.dreamill .app:not(.nav-collapsed) .sidebar-footer .credit-balance{flex-direction:column;justify-content:center;align-items:flex-end;gap:1px;padding:6px 8px}.dreamill .app:not(.nav-collapsed) .sidebar-footer .credit-balance strong{font-size:15px;line-height:1.1}.dreamill .app:not(.nav-collapsed) .sidebar-footer .credit-balance span{font-size:10px;line-height:1.2}.dreamill .app:not(.nav-collapsed) .sidebar-footer .space-trigger{gap:6px;height:100%;padding:6px 8px}.dreamill .app:not(.nav-collapsed) .sidebar-footer .space-chevron{display:none}.dreamill .app:not(.nav-collapsed) .sidebar-footer .profile-menu,.dreamill .app:not(.nav-collapsed) .sidebar-footer .profile-signin{grid-column:1/-1}}.dreamill .space-menu{margin:0 10px 8px;position:relative}.dreamill .space-trigger{border:1px solid var(--line);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border-radius:12px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.dreamill .space-trigger:disabled{cursor:default;opacity:.6}.dreamill .space-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.dreamill .space-pop{z-index:40;border:1px solid var(--line);background:var(--panel,#171a21);border-radius:12px;width:max-content;min-width:100%;max-width:240px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 12px 32px #00000047}.dreamill .space-pop button{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:8px;padding:8px 10px;font-size:13px;display:block;overflow:hidden}.dreamill .space-pop button:hover{background:#ffffff0f}.dreamill .space-pop button.is-current{color:var(--accent);font-weight:700}.dreamill .nav-collapsed .space-menu{margin:0 8px 8px}.dreamill .nav-collapsed .space-trigger{justify-content:center;padding:8px 0}.dreamill .nav-collapsed .space-pop{min-width:180px}.dreamill .profile-menu{position:relative}.dreamill .profile-menu .profile{text-align:left;cursor:pointer;width:100%;font:inherit;background:0 0;border:0}.dreamill .profile-pop{z-index:40;border:1px solid var(--line);background:var(--panel,#171a21);border-radius:12px;width:max-content;min-width:100%;padding:6px;display:grid;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 12px 32px #00000047}.dreamill .profile-pop a,.dreamill .profile-pop button{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;text-decoration:none;display:flex}.dreamill .profile-pop a:hover,.dreamill .profile-pop button:hover{color:var(--accent);background:#ffb65c29}.dreamill .nav-collapsed .credit-balance{justify-content:center;width:100%;min-width:0;margin:0 0 8px;padding:4px 2px}.dreamill .nav-collapsed .credit-balance strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.2;overflow:hidden}.dreamill .nav-collapsed .credit-balance span{display:none}.dreamill .nav-collapsed .profile-pop{min-width:180px}.dreamill .account-page{max-width:1024px;padding-bottom:40px}.dreamill .account-page h1{letter-spacing:-.03em;margin:0 0 8px;font-size:32px}.dreamill .account-balance{flex-wrap:wrap;align-items:baseline;gap:10px;margin:12px 0;display:flex}.dreamill .account-balance strong{font-size:42px;line-height:1}.dreamill .account-lead,.dreamill .account-rates{color:var(--dm-muted);line-height:1.55}.dreamill .account-notice{color:#8dba7a}.dreamill .account-error{color:#e07a6a}.dreamill .account-form{gap:14px;margin-top:18px;display:grid}.dreamill .account-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dreamill .account-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.dreamill .account-settings{border-top:1px solid var(--line);gap:10px;margin-top:6px;padding-top:16px;display:grid}.dreamill .account-settings h2{margin:0;font-size:16px}.dreamill .account-switch{justify-content:space-between;align-items:center;gap:16px;font-size:13px;font-weight:450;line-height:1.45;display:flex}.dreamill .account-switch>span{min-width:0}.dreamill .account-switch button{background:var(--line);border:0;border-radius:999px;flex:none;width:44px;height:26px;padding:2px}.dreamill .account-switch button[aria-checked=true]{background:var(--accent)}.dreamill .account-switch-thumb{background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .15s;display:block}.dreamill .account-switch button[aria-checked=true] .account-switch-thumb{transform:translate(18px)}.dreamill .account-settings p{color:var(--dm-muted);margin:0;font-size:13px;line-height:1.5}.dreamill .account-tabs{gap:8px;margin:22px 0 8px;display:flex}.dreamill .account-tabs button{border:1px solid var(--line);min-height:36px;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:0 14px}.dreamill .account-tabs button[aria-selected=true]{background:var(--accent);border-color:var(--accent);color:#201507;font-weight:700}.dreamill[data-theme=light] .account-tabs button[aria-selected=true]{color:#fff}.dreamill .account-page h2{margin:22px 0 8px;font-size:18px}.dreamill .account-form label{gap:6px;font-size:13px;font-weight:650;display:grid}.dreamill .account-form input:not([type=checkbox]):not([type=file]),.dreamill .account-form select,.dreamill .account-form textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid var(--line);color:inherit;background:0 0;border-radius:10px;padding:8px 10px;font-weight:450}.dreamill .account-form small{color:var(--dm-muted);font-weight:450;line-height:1.45}.dreamill .account-form label.account-check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:450;display:flex}.dreamill .account-form label.account-check input{appearance:auto;-webkit-appearance:checkbox;width:16px;min-width:16px;height:16px;accent-color:var(--accent);flex:none;margin:2px 0 0;padding:0}.dreamill .profile-photo{align-items:center;gap:12px;display:flex}.dreamill .profile-photo-preview{flex:none;width:56px;height:56px;font-size:22px}.dreamill .sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.dreamill .credit-activity,.dreamill .credit-packs{gap:12px;margin:16px 0 0;padding:0;list-style:none;display:grid}.dreamill .credit-packs{grid-template-columns:repeat(3,minmax(0,1fr))}.dreamill .credit-activity li,.dreamill .credit-packs li{border:1px solid var(--line);border-radius:14px;align-self:start;gap:6px;padding:14px;display:grid}.dreamill .credit-packs li>p{color:var(--dm-muted);margin:0;font-size:13px;line-height:1.35}.dreamill .credit-packs .coupon-redeem,.dreamill .credit-packs .credit-autotopup,.dreamill .credit-packs .credit-custom{border:0;gap:10px;margin:0;padding:0;display:grid}.dreamill .credit-card-head{justify-content:space-between;align-items:center;gap:8px 0 8px 8px;display:flex}.dreamill .credit-card-head strong{flex:1;min-width:0}.dreamill .credit-autotopup-head{flex-wrap:wrap;row-gap:6px}.dreamill .credit-autotopup-head strong{flex:auto;min-width:0;font-size:16px;font-weight:400}.dreamill .credit-autotopup-head .credit-amount-input{flex:none}.dreamill .credit-autotopup-toggle{flex:none;align-items:center;gap:8px;display:flex}.dreamill .credit-autotopup-toggle input{appearance:auto;-webkit-appearance:checkbox;width:16px;height:16px;margin:0}.dreamill .credit-inline-row{flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:14px;line-height:1.35;display:flex}.dreamill .credit-autotopup-rule{row-gap:6px}.dreamill .credit-compact-copy{color:var(--dm-muted);font-size:13px;line-height:1.35}.dreamill .credit-currency{font-weight:650}.dreamill .credit-inline-equals,.dreamill .credit-inline-hint{color:var(--dm-muted);font-size:13px}.dreamill .credit-packs .coupon-redeem .button,.dreamill .credit-packs .credit-autotopup .button,.dreamill .credit-packs .credit-custom .button{box-sizing:border-box;place-self:start;width:100%;height:auto;min-height:38px}.dreamill .credit-inline-actions{flex-wrap:wrap;gap:8px;display:flex}.dreamill .credit-autotopup-due{color:var(--dm-muted);margin:0;font-size:13px}.dreamill .coupon-redeem-row input[type=text],.dreamill .credit-amount-input{border:1px solid var(--line);width:4.25rem;max-width:100%;color:inherit;font:inherit;background:0 0;border-radius:10px;padding:2px 8px}.dreamill .coupon-redeem-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dreamill .coupon-redeem-row input[type=text]{letter-spacing:.04em;text-transform:uppercase;color:#1c1916;background:#fff;flex:1;width:100%;min-width:7rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.dreamill .coupon-apply{color:#1c1916;background:#fff;justify-self:start}.dreamill .coupon-apply:hover{background:#f4efe6}.dreamill .credit-autotopup-amounts{margin-bottom:2px}.dreamill .pack-price{color:var(--accent);font-weight:650}.dreamill .credit-activity li{grid-template-columns:auto 1fr auto;align-items:center}.dreamill .credit-history-wrap{margin-top:12px;overflow-x:auto}.dreamill .credit-history{border-collapse:collapse;width:100%;font-size:14px}.dreamill .credit-history th{text-align:left;color:var(--dm-muted);border-bottom:1px solid var(--line);padding:8px 10px;font-size:12px;font-weight:650}.dreamill .credit-history td{border-bottom:1px solid var(--line);vertical-align:top;padding:10px}.dreamill .credit-history .account-expiry{margin-top:2px;display:block}.dreamill .credit-transactions li{grid-template-columns:auto 1fr auto}.dreamill .credit-transactions .account-expiry{grid-column:1/-1}.dreamill .credit-transactions .button{grid-column:1/-1;justify-self:end}.dreamill .credit-stack{gap:12px;margin-top:8px;display:grid}.dreamill .credit-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.dreamill .credit-offer{background:color-mix(in srgb, var(--accent) 14%, transparent);border-radius:10px;align-items:center;gap:6px;margin:0;padding:8px 10px;font-size:13px;display:flex}.dreamill .credit-social .coupon-redeem-row input{color:#1c1916;background:#fff;flex:1;min-width:12rem}.dreamill .credit-social-count{color:var(--dm-muted);margin:0;font-size:13px}.dreamill .credit-social-posts{gap:6px;margin:0;padding:0;font-size:13px;list-style:none;display:grid}.dreamill .credit-social-posts li{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.dreamill .credit-social-posts a{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.dreamill .credit-social-posts li.is-rejected,.dreamill .credit-social-posts time{color:var(--dm-muted)}.dreamill .credit-panel{border:1px solid var(--line);border-radius:14px;gap:12px;margin:8px 0 0;padding:14px;display:grid}.dreamill .credit-stack .credit-panel{margin:0}.dreamill .credit-panel h2{margin:0;font-size:16px;font-weight:400;line-height:1.35}.dreamill .credit-row>form.credit-panel:not(.credit-autotopup):not(.coupon-redeem) h2{font-weight:700}.dreamill .credit-panel>.account-lead{font-size:13px;line-height:1.35}.dreamill .credit-panel h3{margin:4px 0 0;font-size:15px}.dreamill .buy-choice{white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:8px 10px;display:flex}.dreamill .buy-choice label{cursor:pointer;align-items:center;gap:6px;margin:0;font-size:14px;font-weight:450;display:inline-flex}.dreamill .buy-choice label:not(.buy-choice-custom):has(input:checked){color:var(--accent);font-weight:700}.dreamill .buy-choice-custom{gap:6px}.dreamill .buy-choice input[type=radio]{accent-color:var(--accent)}.dreamill .invite-line{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dreamill .invite-line code,.dreamill .invite-line input{border:1px solid var(--line);min-width:12rem;color:inherit;font:inherit;background:0 0;border-radius:10px;flex:1;margin:0;padding:6px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.dreamill .credit-panel .button{justify-self:start}@media (width<=800px){.dreamill .account-row,.dreamill .account-row.two,.dreamill .credit-packs,.dreamill .credit-row{grid-template-columns:1fr}}.dreamill .shoot-dialog{flex-direction:column;gap:12px;width:min(1180px,100vw - 32px);max-height:calc(100vh - 32px);display:flex;overflow:auto}.dreamill .shoot-dialog .dialog-head{gap:12px}.dreamill .shoot-config{flex-wrap:wrap;flex:1;gap:6px;display:flex}.dreamill .shoot-config span{border:1px solid var(--line);color:var(--dm-muted);border-radius:999px;padding:2px 8px;font-size:12px}.dreamill .shoot-top{grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:12px;min-height:0;display:grid}.dreamill .shoot-library{flex-direction:column;gap:8px;min-width:0;max-height:min(56vh,560px);display:flex;overflow:auto}.dreamill .shoot-cast{border-top:1px solid var(--line,#e4e0d8);flex-direction:column;gap:6px;padding-top:8px;font-size:12px;display:flex}.dreamill .shoot-cast p{color:var(--muted,#6b7280);margin:0;font-size:11px}.dreamill .shoot-cast-row{grid-template-columns:32px minmax(0,1fr) minmax(0,1.1fr);align-items:center;gap:8px;display:grid}.dreamill .shoot-cast-thumb{background:var(--line,#e4e0d8) center / cover no-repeat;border-radius:4px;width:32px;height:32px}.dreamill .shoot-cast-name{flex-direction:column;min-width:0;display:flex}.dreamill .shoot-cast-name small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted,#6b7280);overflow:hidden}.dreamill .shoot-cast-row select{border:1px solid var(--line,#e4e0d8);background:var(--panel,#fff);border-radius:4px;min-width:0;height:28px;padding:0 6px;font-size:12px}.dreamill .shoot-cast-row select.suggested{border-style:dashed}.dreamill .shoot-library-head,.dreamill .shoot-preview-actions,.dreamill .shoot-preview-head{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.dreamill .shoot-library-head{justify-content:space-between}.dreamill .shoot-preview{flex-direction:column;gap:8px;min-width:0;display:flex;position:relative}.dreamill .shoot-takes{border:1px solid var(--line);border-radius:8px;margin-left:auto;padding:2px;display:inline-flex}.dreamill .shoot-take{color:var(--dm-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:3px 10px;font-size:12px;display:inline-flex}.dreamill .shoot-take.active{background:var(--accent);color:#111}.dreamill .shoot-screen{width:min(100%, calc(min(48vh, 480px)*var(--shoot-ratio,1.7778)));background:#0d0d0d;border-radius:8px;max-height:min(48vh,480px);margin:0 auto;position:relative;overflow:hidden}.dreamill .shoot-screen video{-o-object-fit:contain;object-fit:contain;cursor:pointer;width:100%;height:100%}.dreamill .shoot-screen-empty{color:#c9c7c0;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;padding:16px;display:flex;overflow:auto}.dreamill .shoot-screen-busy,.dreamill .shoot-screen-note{opacity:.8;font-size:12px}.dreamill .shoot-clip-text{white-space:pre-line;max-width:60ch;margin:0;font-size:13px;line-height:1.6}.dreamill .shoot-film-wrap{flex-direction:column;gap:6px;display:flex}.dreamill .shoot-film-note{color:var(--dm-muted);margin:0;font-size:13px}.dreamill .shoot-scenes{gap:4px;display:flex;overflow-x:auto}.dreamill .shoot-scene-tab{border:1px solid var(--line);max-width:220px;color:var(--dm-muted);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:3px 10px;font-size:12px;overflow:hidden}.dreamill .shoot-scene-tab.active{border-color:var(--accent);color:inherit}.dreamill .shoot-film{background:repeating-linear-gradient(90deg,#2a2a2a 0 6px,#0000 0 12px) top/100% 5px no-repeat,repeating-linear-gradient(90deg,#2a2a2a 0 6px,#0000 0 12px) bottom/100% 5px no-repeat,#111;border-radius:6px;gap:3px;height:76px;padding:8px 0;display:flex;position:relative}.dreamill .shoot-film-clip{flex:1 1 0;min-width:28px;position:relative}.dreamill .shoot-film-pick{cursor:pointer;background:#222;border:2px solid #0000;border-radius:4px;align-items:flex-end;width:100%;height:100%;padding:0;display:flex;position:relative;overflow:hidden}.dreamill .shoot-film-clip.empty .shoot-film-pick{background:repeating-linear-gradient(135deg,#1d1d1d 0 8px,#242424 0 16px)}.dreamill .shoot-film-clip.active .shoot-film-pick{border-color:var(--accent)}.dreamill .shoot-film-clip.failed .shoot-film-pick{border-color:#b4463c}.dreamill .shoot-film-pick img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.dreamill .shoot-film-label{z-index:1;color:#f5f4f0;white-space:nowrap;background:#0000008c;border-radius:3px;margin:3px;padding:1px 5px;font-size:11px;position:relative;overflow:hidden}.dreamill .shoot-film-takes{z-index:1;color:#f5f4f0;background:#0009;border-radius:8px;min-width:16px;padding:0 4px;font-size:10px;line-height:16px;position:absolute;top:3px;right:3px}.dreamill .shoot-film-alert{z-index:1;color:#e0766c;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dreamill .shoot-ring{z-index:1;width:28px;height:28px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}.dreamill .shoot-ring circle{fill:#00000080;stroke:#fff3;stroke-width:3px}.dreamill .shoot-ring .shoot-ring-value{fill:none;stroke:var(--accent);stroke-dasharray:94.25;stroke-linecap:round;transition:stroke-dashoffset .5s linear}.dreamill .shoot-film-edit{z-index:2;color:#f5f4f0;opacity:0;cursor:pointer;background:#000000a6;border:0;border-radius:4px;place-items:center;width:20px;height:20px;padding:0;transition:opacity .15s;display:grid;position:absolute;top:3px;left:3px}.dreamill .shoot-film-clip.active .shoot-film-edit,.dreamill .shoot-film-clip:hover .shoot-film-edit,.dreamill .shoot-film-edit:focus-visible{opacity:1}.dreamill .shoot-playhead{z-index:3;pointer-events:none;background:#ff4d4d;width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.dreamill .shoot-playhead:before{content:"";background:#ff4d4d;border-radius:2px;width:10px;height:6px;position:absolute;top:-2px;left:-4px}.dreamill .shoot-stills{flex-wrap:wrap;gap:12px;font-size:13px;display:flex}.dreamill .shoot-status{margin:0;font-size:13px}.dreamill .shoot-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.dreamill .shoot-quote,.dreamill .shoot-skip{color:var(--dm-muted);font-size:12px}.dreamill .shoot-skip{align-items:center;gap:6px;margin-right:auto;display:inline-flex}@media (width<=760px){.dreamill .shoot-top{grid-template-columns:1fr}.dreamill .shoot-library{max-height:40vh}}.dreamill .shoot-film-clip.whole .shoot-film-pick{background:repeating-linear-gradient(135deg,#191919 0 6px,#202020 0 12px);border:1px dashed #ffffff59}.dreamill .shoot-film-clip.whole.active .shoot-film-pick{border:2px dashed var(--accent)}.dreamill .shoot-film-clip.whole .shoot-film-label{font-style:italic}.dreamill .make-anchor{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:inline-flex;position:relative}.dreamill .make-confirm{z-index:40;border:1px solid var(--line);background:var(--panel,#1d2027);width:min(340px,100vw - 32px);color:inherit;text-align:left;border-radius:10px;flex-direction:column;gap:8px;padding:12px;font-size:13px;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 40px #00000073}.dreamill .make-confirm:before{border-top:1px solid var(--line);border-left:1px solid var(--line);background:inherit;content:"";width:10px;height:10px;position:absolute;top:-6px;right:18px;transform:rotate(45deg)}.dreamill .stop-confirm-actions{justify-content:flex-end;gap:6px;display:flex}.dreamill .make-confirm.make-confirm--up{top:auto;bottom:calc(100% + 8px)}.dreamill .make-confirm.make-confirm--up:before{top:auto;bottom:-6px;transform:rotate(225deg)}.dreamill .make-confirm.make-confirm--segment{width:min(300px,100vw - 24px);inset:auto auto calc(100% + 6px) 0}.dreamill .make-confirm.make-confirm--segment:before{left:12px;right:auto}.dreamill .make-confirm.make-confirm--teleport{top:auto;bottom:auto;right:auto}.dreamill .make-confirm.make-confirm--teleport:before{left:var(--confirm-arrow-left,12px)}.dreamill .make-confirm p{color:var(--dm-muted);margin:0;line-height:1.5}.dreamill .make-confirm-ledger{background:color-mix(in srgb, var(--text) 5%, transparent);font-variant-numeric:tabular-nums;border-radius:8px;grid-template-columns:1fr auto;gap:4px 12px;margin:0;padding:8px 10px;display:grid}.dreamill .make-confirm-ledger dt{color:var(--dm-muted)}.dreamill .make-confirm-ledger dd{justify-content:flex-end;align-items:center;gap:4px;margin:0;display:inline-flex}.dreamill .make-confirm-ledger .make-confirm-ledger-total{border-top:1px solid var(--line);color:var(--text);padding-top:4px;font-weight:650}.dreamill .make-confirm-ledger dd.is-short{color:var(--dm-danger,#b42318)}.dreamill .scene-preview-clip-raised{text-underline-offset:3px;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.dreamill .make-confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.dreamill .produce-scene-shoot{flex-direction:column;gap:8px;margin-top:8px;display:flex}.dreamill .produce-film{background:repeating-linear-gradient(90deg,#2a2a2a 0 4px,#0000 0 8px) top/100% 3px no-repeat,repeating-linear-gradient(90deg,#2a2a2a 0 4px,#0000 0 8px) bottom/100% 3px no-repeat,#111;border-radius:4px;gap:2px;height:34px;padding:4px 0;display:flex}.dreamill .produce-film-clip{color:#f5f4f0;cursor:pointer;background:#262626;border:1px solid #0000;border-radius:3px;flex:1 1 0;justify-content:center;align-items:center;min-width:22px;padding:0;display:flex;position:relative;overflow:hidden}.dreamill .produce-film-clip.active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.dreamill .produce-film-clip.whole{background:repeating-linear-gradient(135deg,#191919 0 6px,#202020 0 12px);border:1px dashed #ffffff59}.dreamill .produce-film-clip.whole.active{border-color:var(--accent)}.dreamill .produce-film-clip img{-o-object-fit:cover;object-fit:cover;opacity:.7;width:100%;height:100%;position:absolute;inset:0}.dreamill .produce-film-label{z-index:1;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 2px #000c;padding:0 4px;font-size:10px;position:relative;overflow:hidden}.dreamill .produce-film-clip.whole .produce-film-label{font-style:italic}.dreamill .produce-film-clip .shoot-ring{width:20px;height:20px}.dreamill .produce-scene-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.dreamill .produce-scene-error{color:#e0766c;margin:0 auto 0 0;font-size:12px}.dreamill .produce-clip-overlay{z-index:1;color:#f5f4f0;pointer-events:none;background:#0000008c;border-radius:10px;flex-direction:column;align-items:center;gap:4px;min-width:96px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dreamill .produce-clip-overlay strong{font-size:30px;font-weight:600;line-height:1}.dreamill .produce-clip-overlay.whole strong{font-size:15px}.dreamill .produce-clip-overlay>span:not(.produce-clip-bar){opacity:.85;font-size:12px}.dreamill .produce-clip-bar{background:#fff3;border-radius:2px;width:84px;height:4px;position:relative}.dreamill .produce-clip-bar-fill{background:var(--accent);border-radius:2px;position:absolute;inset:0 auto 0 0}.dreamill .produce-clip-bar-min{background:#ffffffb3;width:1px;height:8px;position:absolute;top:-2px}.dreamill .scene-split-progress{color:var(--dm-muted);align-items:center;gap:8px;margin:0 auto 0 0;font-size:13px;display:inline-flex}.dreamill .scene-split-spinner{border:2px solid #fff3;border-top-color:var(--accent);border-radius:50%;width:14px;height:14px;animation:.8s linear infinite scene-split-spin}@keyframes scene-split-spin{to{transform:rotate(1turn)}}.dreamill .split-hint{z-index:5;background:var(--accent);color:#111;border-radius:8px;width:max-content;max-width:260px;padding:8px 10px;font-size:12px;line-height:1.45;position:absolute;bottom:calc(100% + 10px);right:0;box-shadow:0 8px 24px #00000059}.dreamill .split-hint:after{background:inherit;content:"";width:10px;height:10px;position:absolute;bottom:-5px;right:28px;transform:rotate(45deg)}.dreamill .scene-preview{-webkit-user-select:none;user-select:none;background:#000;border-radius:8px;width:100%;position:relative;overflow:hidden;container:dreamill-preview/inline-size}.dreamill .scene-preview-video{-o-object-fit:contain;object-fit:contain;cursor:pointer;width:100%;position:absolute;inset:0}.dreamill .scene-preview-empty{cursor:pointer;place-items:center;padding-bottom:28px;display:grid;position:absolute;inset:0}.dreamill .scene-preview-clip{color:#f5f4f0;flex-direction:column;align-items:center;gap:5px;display:flex}.dreamill .scene-preview-clip strong{font-size:34px;font-weight:600;line-height:1}.dreamill .scene-preview-clip>span:not(.scene-preview-bar){opacity:.8;font-size:12px}.dreamill .scene-preview-bar{background:#fff3;border-radius:2px;width:96px;height:4px;position:relative}.dreamill .scene-preview-bar-fill{background:var(--accent);border-radius:2px;position:absolute;inset:0 auto 0 0}.dreamill .scene-preview-bar-min{background:#ffffffbf;width:1px;height:8px;position:absolute;top:-2px}.dreamill .scene-preview-play,.dreamill .scene-preview-takes{z-index:3;color:#f5f4f0;cursor:pointer;background:#0009;border:0;place-items:center;display:grid;position:absolute}.dreamill .scene-preview-play{border-radius:50%;width:26px;height:26px;top:8px;left:8px}.dreamill .scene-preview-takes{border-radius:11px;min-width:22px;height:22px;padding:0 6px;font-size:11px;top:8px;right:8px}.dreamill .scene-preview-film{z-index:2;cursor:ew-resize;touch-action:none;background:#0a0a0ab8;border-radius:5px;gap:2px;height:26px;padding:3px;display:flex;position:absolute;bottom:6px;left:6px;right:6px;overflow:hidden}.dreamill .scene-preview-segment{color:#f5f4f0;pointer-events:none;background:#2a2a2a;border:1px solid #0000;border-radius:3px;flex:1 1 0;justify-content:center;align-items:center;min-width:0;display:flex;position:relative;overflow:hidden}.dreamill .scene-preview-segment.active{color:var(--accent)}.dreamill .scene-preview-segment.has-segment-controls,.dreamill .scene-preview-segment.has-segment-make{box-sizing:border-box;background:0 0;outline:none;justify-content:flex-start;gap:0;min-width:max-content;padding:0}.dreamill .scene-preview-segment.has-segment-controls:not(.busy) .scene-preview-segment-bar{z-index:2;box-sizing:border-box;outline-offset:-2px;pointer-events:none;background:repeating-linear-gradient(135deg,#161616 0 5px,#1f1f1f 0 10px);border-radius:3px;outline:1px dashed #ffffff47;flex:auto;width:100%;min-width:0;max-width:100%;padding:2px 2px 4px;position:relative}.dreamill .scene-preview-segment.has-segment-controls:not(.busy) .scene-preview-segment-meta{flex:0 auto;justify-content:flex-start;width:auto;min-width:0;max-width:100%;margin-right:auto}.dreamill .scene-preview-segment.whole{background:repeating-linear-gradient(135deg,#191919 0 6px,#222 0 12px);border-style:dashed;border-color:#ffffff59}.dreamill .scene-preview-segment img{-o-object-fit:cover;object-fit:cover;opacity:.65;width:100%;height:100%;position:absolute;inset:0}.dreamill .scene-preview-segment-label{z-index:1;white-space:nowrap;text-shadow:0 1px 2px #000000e6;flex:0 auto;padding:0 3px;font-size:10px;position:relative}.dreamill .scene-preview-segment-bar{z-index:auto;pointer-events:none;flex:auto;align-items:center;gap:2px;width:100%;min-width:0;max-width:100%;padding:0;display:flex;position:relative;overflow:hidden}.dreamill .scene-preview-segment-meta{pointer-events:none;flex:auto;align-items:center;gap:2px;width:100%;min-width:0;max-width:100%;padding:0 2px;display:inline-flex;overflow:hidden}.dreamill .scene-preview-segment-meta .scene-preview-segment-seconds:not(.scene-preview-segment-whole){margin-right:2px}.dreamill .scene-preview.has-film:not(.has-video) .scene-preview-segment.has-segment-controls .scene-preview-segment-meta .scene-preview-segment-seconds{display:none}.dreamill .scene-preview-clip-toolbar{pointer-events:auto;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%;margin-bottom:4px;display:flex}.dreamill .scene-preview-clip-make.button{pointer-events:auto;min-height:32px;padding:0 12px}.dreamill .scene-preview-clip-refs-btn.button.scene-preview-segment-refs-btn{border-radius:6px;height:32px;min-height:32px;max-height:32px;margin-top:0;padding:0 10px}.dreamill .scene-preview-clip-length-row{flex-wrap:nowrap;flex-basis:100%;justify-content:center;align-items:center;gap:8px;width:100%;max-width:100%;display:flex}.dreamill .scene-preview-clip-seconds{font-variant-numeric:tabular-nums;text-align:right;opacity:.9;color:#f5f4f0;flex-shrink:0;min-width:2.5em;font-size:12px;line-height:1}.dreamill .scene-preview-clip-length-row .seconds-bar{flex:auto;min-width:0;max-width:160px}.dreamill .scene-preview-clip-heading{text-align:center;color:#f5f4f0;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:100%;font-size:12px;font-weight:600;line-height:1.2;display:inline-flex}.dreamill .scene-preview-clip-heading .scene-preview-clip-make.button{flex-shrink:0;height:24px;min-height:24px;max-height:24px;margin:0;padding:0 8px;font-size:12px;line-height:1}.dreamill .scene-preview-clip-heading .scene-preview-clip-refs-btn.button.scene-preview-segment-refs-btn{flex-shrink:0;height:24px;min-height:24px;max-height:24px;margin-top:0;padding:0 8px;font-size:12px;line-height:1}.dreamill .scene-preview-clip-refs-label{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.dreamill .scene-preview-clip-title{align-items:center;gap:4px;display:inline-flex}.dreamill .scene-preview-clip-title-label{font-weight:600}.dreamill .scene-preview-clip-credits{font-variant-numeric:tabular-nums;font-weight:600}.dreamill .scene-preview .scene-preview-clip.is-current{outline-offset:-1px;background:#00000059;border-radius:6px;outline:1px dashed #ffffff59;flex-direction:column;align-items:center;padding:6px 8px 8px}.dreamill .scene-preview.clip-actions-in-header .scene-preview-segment.active:not(.done):not(.busy):not(.has-segment-controls){border-color:var(--accent);outline:none}.dreamill .scene-preview.clip-actions-in-header .scene-preview-segment-label--strip-current{opacity:1;align-items:center;gap:4px;min-width:0;display:inline-flex}.dreamill .scene-preview-segment-label .scene-preview-segment-credits{font-variant-numeric:tabular-nums;color:inherit;opacity:.95;align-items:center;gap:0;font-size:10px;font-weight:600;line-height:1;display:inline-flex}.dreamill .scene-preview-segment-label .scene-preview-segment-credits .scene-preview-clip-coin{vertical-align:0;width:10px;height:10px;margin:0 2px 0 1px}.dreamill .scene-preview-segment-make-icon{flex-shrink:0;width:14px;height:14px;display:none}.dreamill .scene-preview-segment-make-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dreamill .scene-preview-segment-seconds{z-index:1;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #000000e6;flex-shrink:0;font-size:9px;font-weight:600;line-height:1;position:relative}.dreamill .scene-preview-segment-whole{text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:600;overflow:hidden}.dreamill .scene-preview-segment-refs-btn.button{z-index:10;color:#f5f4f0;font-variant-numeric:tabular-nums;pointer-events:auto;min-width:0;height:24px;min-height:24px;max-height:24px;box-shadow:none;background:#3a3a3a;border:1px solid #ffffff29;border-radius:10px;flex-shrink:0;gap:4px;margin-top:2px;padding:0 4px;font-size:12px;position:relative}.dreamill .scene-preview-segment-refs-btn.button:hover:not(:disabled){background:#484848;border-color:#ffffff3d}.dreamill .scene-preview-segment-refs-btn .i-lucide-images{flex-shrink:0;width:11px;height:11px}.dreamill .scene-preview-segment-refs-chevron{opacity:.85;width:10px;height:10px;transition:transform .15s}.dreamill .scene-preview-segment-refs-btn.open .scene-preview-segment-refs-chevron{transform:rotate(180deg)}.dreamill .scene-preview-segment-refs-btn.button.refs-hint-highlight{border-color:var(--line);background:var(--panel,#fff);color:var(--text,#1d1409);font-weight:600;box-shadow:0 1px 4px #00000059}.dreamill .scene-preview-segment-refs-btn.button.refs-hint-highlight:hover:not(:disabled){background:var(--panel-2,#f5f4f0);border-color:var(--line);color:var(--text,#1d1409)}.dreamill .scene-preview-segment-spend{font-variant-numeric:tabular-nums;color:#ffe8c4;font-weight:600}.dreamill .scene-preview-segment-make.button.danger{color:#fff;background:#c2413b;border-color:#c2413b}.dreamill .scene-preview-segment-make.button.danger:hover:not(:disabled){background:#a8352f;border-color:#a8352f}.dreamill .scene-preview-segment-make.button{z-index:10;pointer-events:auto;min-width:0;height:24px;min-height:24px;max-height:24px;box-shadow:none;border-radius:10px;flex-shrink:0;margin-top:2px;padding:0 4px;font-size:11px;position:relative}.dreamill .scene-preview-segment .shoot-ring{width:16px;height:16px}.dreamill .scene-preview-ring{inset:auto 12px 12px auto;transform:rotate(-90deg)}.dreamill .scene-preview-playhead{pointer-events:none;background:#ff4d4d;position:absolute;top:-3px;bottom:-3px;box-shadow:0 0 0 1px #0006}.dreamill .scene-preview-playhead:before{content:"";background:#ff4d4d;border-radius:2px;width:10px;height:6px;position:absolute;top:-3px;left:-4px}.dreamill .produce-scene-head{align-items:center;gap:8px;min-width:0;margin-bottom:8px;display:flex}.dreamill .produce-scene-head .produce-card-title{flex:1;margin-bottom:0}.dreamill .produce-refs-toggle{border:1px solid var(--line);height:22px;color:inherit;cursor:pointer;background:0 0;border-radius:6px;flex:none;align-items:center;gap:3px;padding:0 5px;font-size:11px;display:inline-flex}.dreamill .produce-refs-toggle svg{width:12px;height:12px;transition:transform .15s}.dreamill .produce-refs-count{color:var(--dm-muted);font-variant-numeric:tabular-nums}.dreamill .produce-ref-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:8px;display:grid}.dreamill .produce-ref-card{aspect-ratio:1;position:relative}.dreamill .produce-ref-card.is-drag-over>button.produce-ref-image{outline:2px solid var(--accent,#6366f1);outline-offset:-2px}.dreamill .produce-ref-drag{z-index:3;box-sizing:border-box;color:#fff;cursor:grab;pointer-events:auto;background:#0000008c;border:none;border-radius:4px;place-items:center;width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;padding:0;font-size:12px;line-height:1;display:grid;position:absolute;top:4px;left:4px}.dreamill .produce-ref-drag:active{cursor:grabbing}.dreamill .produce-ref-card>button.produce-ref-image{border:1px solid var(--line);background:var(--panel-2);width:100%;height:100%;color:var(--dm-muted);cursor:pointer;border-radius:6px;place-items:center;padding:0;display:grid;overflow:hidden}.dreamill .produce-ref-card img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.dreamill .produce-ref-card .produce-ref-role{z-index:2}.dreamill .produce-ref-role{color:#fff;cursor:pointer;text-align:left;background:#0a0a0ab8;border:0;border-radius:0 0 6px 6px;justify-content:space-between;align-items:center;gap:2px;width:100%;height:20px;padding:0 4px;font-size:10px;display:flex;position:absolute;bottom:0;left:0;right:0}.dreamill .produce-ref-role-checking{color:var(--accent);align-items:center;gap:3px;display:inline-flex}.dreamill .produce-ref-role>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dreamill .produce-ref-role-menu{z-index:30;border:1px solid var(--line);background:var(--panel,#1a1a1a);border-radius:8px;min-width:180px;max-height:260px;padding:6px;font-size:12px;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto;box-shadow:0 8px 24px #00000059}.dreamill .produce-ref-role-menu p{color:var(--dm-muted);letter-spacing:.04em;text-transform:uppercase;margin:6px 4px 2px;font-size:10px}.dreamill .produce-ref-role-menu p:first-child{margin-top:0}.dreamill .produce-ref-role-menu label{cursor:pointer;border-radius:4px;align-items:center;gap:6px;padding:3px 4px;display:flex}.dreamill .produce-ref-role-done{border-top:1px solid var(--line);background:var(--panel,#1a1a1a);justify-content:flex-end;margin:6px -6px -6px;padding:6px;display:flex;position:sticky;bottom:-6px}.dreamill .produce-ref-role-done .button.small{min-height:18px;padding:0 10px;font-size:11px;line-height:18px}.dreamill .produce-ref-role-menu label:hover{background:var(--panel-2)}.dreamill .produce-ref-role-menu .produce-ref-role-empty{text-transform:none;letter-spacing:0;margin:4px}.dreamill .produce-ref-audios{grid-column:1/-1;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px;display:grid}.dreamill .produce-ref-audio{position:relative}.dreamill .produce-ref-audio>button:first-child{border:1px solid var(--line);background:var(--panel-2);width:100%;height:34px;color:inherit;cursor:pointer;border-radius:6px;align-items:center;gap:6px;padding:0 24px 0 8px;font-size:12px;display:flex}.dreamill .produce-ref-audio>button.empty{color:var(--dm-muted);border-style:dashed}.dreamill .produce-ref-audio-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dreamill .produce-ref-audio .produce-frame-remove{position:absolute;top:8px;right:4px}.dreamill .produce-ref-role--media{border-radius:4px;height:22px;margin-top:4px;position:relative;bottom:auto;left:auto;right:auto}.dreamill .produce-ref-role-menu--media{inset:auto 0 calc(100% + 4px)}.dreamill .produce-make-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-top:8px;display:flex}.dreamill .produce-card--scene>.produce-make-row{z-index:6;position:relative}.dreamill .produce-movie{flex-direction:column;min-width:0;display:flex}.dreamill .produce-movie-strip{overscroll-behavior-x:contain;cursor:grab;scrollbar-width:thin;background:#000;border-radius:10px;align-items:stretch;display:flex;overflow-x:auto}.dreamill .produce-movie-strip:active{cursor:grabbing}.dreamill .produce-movie-cover{z-index:5;background:#000;flex:none;width:clamp(160px,22vw,260px);position:sticky;left:0;box-shadow:6px 0 12px #00000080}.dreamill .produce-movie-cover-image{width:100%;height:100%;min-height:140px;color:var(--dm-muted);cursor:pointer;background:#0b0b0b;border:0;place-items:center;padding:0;display:grid;overflow:hidden}.dreamill .produce-movie-cover-image img{-o-object-fit:cover;object-fit:cover;height:100%}.dreamill .produce-movie-play{color:#fff;cursor:pointer;background:#0009;border:0;border-radius:50%;place-items:center;width:46px;height:46px;font-size:20px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dreamill .produce-movie-play:hover{background:var(--accent);color:#111}.dreamill .produce-movie-scene{border-left:1px solid #ffffff29;flex-direction:column;flex:none;width:clamp(260px,34vw,420px);display:flex;position:relative}.dreamill .produce-movie-scene-label{color:#e6e3dc;text-overflow:ellipsis;white-space:nowrap;margin-bottom:6px;font-size:12px;overflow:hidden}.dreamill .produce-movie-scene-label .produce-episode-mark{margin-right:6px}.dreamill .scene-preview{aspect-ratio:16/9}.dreamill .scene-preview-range{cursor:pointer;appearance:none;background:0 0;width:120px;height:14px;margin:0}.dreamill .scene-preview-range::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--accent) calc(6px + (100% - 12px)*var(--at)), #ffffff38 calc(6px + (100% - 12px)*var(--at)));border-radius:2px;height:4px}.dreamill .scene-preview-range::-moz-range-track{background:linear-gradient(90deg, var(--accent) calc(6px + (100% - 12px)*var(--at)), #ffffff38 calc(6px + (100% - 12px)*var(--at)));border-radius:2px;height:4px}.dreamill .scene-preview-range::-webkit-slider-thumb{appearance:none;background:#fff;border:0;border-radius:50%;width:12px;height:12px;margin-top:-4px}.dreamill .scene-preview-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:12px;height:12px}.dreamill .produce-refs-anchor{flex:none;position:relative}.dreamill .produce-segment-refs-anchor{min-width:0;position:relative}.dreamill .produce-segment-refs-anchor:has(.produce-segment-refs-popover-host--scene){z-index:45}.dreamill .produce-card-frame:has(.produce-segment-refs-popover-host--scene){overflow:visible}.dreamill .scene-preview-segment-refs-anchor{z-index:10;pointer-events:auto;flex-shrink:0;position:relative}.dreamill .produce-segment-refs-anchor:has(.produce-segment-refs-popover-host--scene) .scene-preview-film{z-index:40}.dreamill .produce-segment-refs-popover-host--scene{right:0;bottom:calc(var(--film-bar,32px) + 8px);z-index:41;pointer-events:none;justify-content:flex-start;display:flex;position:absolute;left:0}.dreamill .produce-segment-refs-popover-host--scene>.produce-ref-cards.refs-popover,.dreamill .produce-segment-refs-popover-host--scene>.refs-hint{z-index:41;box-sizing:border-box;pointer-events:auto;width:min(420px,100%);max-width:100%;margin:0;position:relative;top:auto;bottom:auto;left:auto}.dreamill .produce-segment-refs-popover-host--scene>.refs-hint{width:min(280px,100%)}.dreamill .produce-segment-refs-popover-host--scene>.produce-ref-cards.refs-popover:before,.dreamill .produce-segment-refs-popover-host--scene>.refs-hint:before{top:auto;bottom:-6px;left:var(--refs-arrow-left,24px);margin-left:0;transform:rotate(225deg)}.dreamill .produce-segment-refs-popover-host--scene.produce-segment-refs-popover-host--overlay-header{top:auto}.dreamill .scene-preview-film .scene-preview-track{overflow:hidden}.dreamill .produce-segment-refs-anchor .scene-preview.has-film{overflow:visible}.dreamill .refs-hint{z-index:30;border:1px solid var(--line);background:var(--panel,#1d2027);width:220px;color:inherit;border-radius:10px;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 12px;font-size:12px;line-height:1.45;display:flex;position:absolute;top:calc(100% + 8px);left:-4px;box-shadow:0 16px 40px #00000073}.dreamill .refs-hint span{color:var(--dm-muted)}.dreamill .refs-hint:before{border-top:1px solid var(--line);border-left:1px solid var(--line);background:inherit;content:"";width:10px;height:10px;position:absolute;top:-6px;left:14px;transform:rotate(45deg)}.dreamill .refs-hint .button{align-self:flex-end;margin-top:2px}.dreamill .produce-balance{color:var(--dm-muted);align-items:center;gap:5px;font-size:13px;display:inline-flex}.dreamill .produce-balance strong{color:var(--text);font-variant-numeric:tabular-nums}.dreamill .produce-balance-topup{text-align:center;border:1px solid var(--line);width:18px;height:18px;color:var(--accent);border-radius:50%;font-weight:600;line-height:1;text-decoration:none}.dreamill .produce-balance-topup:hover{border-color:var(--accent)}.dreamill .button.primary .ai-mark{color:#fff}.dreamill .scene-preview-clip.whole strong{letter-spacing:.02em;font-size:14px;font-weight:600}.dreamill .scene-preview-film{gap:0}.dreamill .scene-preview-segment{border-radius:0}.dreamill .scene-preview-segment+.scene-preview-segment{box-shadow:inset 1px 0 #000000b3}.dreamill .scene-preview-film{cursor:default}.dreamill .scene-preview-track{flex:1;min-width:0;display:flex;position:relative;overflow:hidden}.dreamill .scene-preview-segment{font:inherit;cursor:pointer;pointer-events:auto;padding:0}.dreamill .scene-preview-segment.busy{background:linear-gradient(90deg, #ffb65c73 var(--progress), #2a2a2a var(--progress));outline:1px dashed var(--accent);outline-offset:-2px;transition:background .4s linear}.dreamill .scene-preview-segment.busy.active{color:#fff}.dreamill .scene-preview-segment.whole.busy{background:linear-gradient(90deg, #ffb65c73 var(--progress), #1b1b1b var(--progress))}.dreamill .scene-preview-segment-label{align-items:center;gap:4px;display:inline-flex}.dreamill .scene-preview-segment-number{z-index:1;color:#fff;min-width:16px;height:16px;text-shadow:none;background:#7850c8;border-radius:8px;flex-shrink:0;place-items:center;padding:0 3px;font-size:9px;font-weight:700;line-height:1;display:inline-grid;position:relative}.dreamill .scene-preview-segment-number--dim{color:#fff;background:#ffffff38;border-radius:7px;min-width:14px;height:14px;padding:0 3px;font-size:9px}.dreamill .scene-preview-playhead{z-index:8;cursor:ew-resize;pointer-events:auto;touch-action:none;width:2px;margin-left:-1px;top:-6px;bottom:-6px}.dreamill .scene-preview-playhead:after{content:"";width:14px;position:absolute;top:0;bottom:0;left:-6px}.dreamill .scene-preview{--film-bar:32px}.dreamill .scene-preview-video{height:100%;top:0;bottom:auto}.dreamill .scene-preview.has-film .scene-preview-video{height:calc(100% - var(--film-bar))}.dreamill .scene-preview-stage{z-index:2;pointer-events:none;position:absolute;inset:0;overflow:hidden}.dreamill .scene-preview.has-film .scene-preview-stage{bottom:var(--film-bar)}.dreamill .scene-preview-text-frame{transform-origin:50%;color:#fff;line-height:1.25;position:absolute;top:50%;left:50%}.dreamill .scene-preview-text{text-shadow:0 1px 3px #000000a6;white-space:pre-wrap;width:max-content;max-width:90%;position:absolute;transform:translate(-50%,-50%)}.dreamill .scene-preview-text :is(p,h1,h2,h3,h4,h5,h6){font-size:inherit;margin:0}.dreamill .scene-preview.has-film .scene-preview-empty{bottom:var(--film-bar);padding-bottom:0}.dreamill .scene-preview.has-film .scene-preview-film{height:var(--film-bar);background:#000;border-radius:0;padding:0;bottom:0;left:0;right:0}.dreamill .scene-preview-tools{z-index:3;gap:6px;display:flex;position:absolute;top:8px;right:8px}.dreamill .scene-preview-tools .scene-preview-takes{position:static}.dreamill .scene-preview-capture{color:#f5f4f0;cursor:pointer;background:#0009;border:0;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;display:grid}.dreamill a.scene-preview-capture.scene-preview-download{text-decoration:none}.dreamill .scene-preview-center-play{z-index:4;color:#f5f4f0;cursor:pointer;pointer-events:auto;background:#00000085;border:0;border-radius:50%;place-items:center;width:56px;height:56px;padding:0;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dreamill .scene-preview.has-video.has-film .scene-preview-center-play:not(.scene-preview-center-play--modal){top:calc((100% - var(--film-bar,32px))*.5)}.dreamill .scene-preview-center-play .i-lucide-pause,.dreamill .scene-preview-center-play .i-lucide-play{width:28px;height:28px}.dreamill .scene-preview-center-play .i-lucide-play{margin-left:3px}.dreamill .scene-preview-center-play.is-playing{background:#00000061}.dreamill .scene-preview-caption-control{z-index:7;position:absolute;top:8px;left:8px}.dreamill .scene-preview-caption-button{color:#fff;cursor:pointer;background:#000000ad;border:1px solid #ffffff40;border-radius:7px;place-items:center;width:26px;height:26px;display:grid}.dreamill .scene-preview-caption-button.ready{border-color:var(--accent);color:var(--accent)}.dreamill .scene-preview-caption-button.failed{color:#fca5a5;border-color:#f87171}.dreamill .assemble-caption-popover,.dreamill .scene-preview-caption-popover{z-index:90;border:1px solid var(--line);background:var(--bg);width:min(310px,100vw - 32px);color:var(--text);text-align:left;border-radius:10px;padding:12px;position:absolute;box-shadow:0 14px 36px #00000047}.dreamill .scene-preview-caption-popover{top:32px;left:0}.dreamill .assemble-caption-popover p,.dreamill .scene-preview-caption-popover p{color:var(--dm-muted);margin:6px 0 12px;font-size:12px;line-height:1.45}.dreamill .assemble-caption-popover>div,.dreamill .scene-preview-caption-popover>div{justify-content:flex-end;gap:7px;display:flex}.dreamill .preview-frame video::cue,.dreamill .produce-still video::cue,.dreamill .scene-preview video::cue,.dreamill .scene-preview-modal video::cue,.dreamill .shoot-screen video::cue{color:#fff;text-shadow:0 1px 2px #000;background:#000000b8;font-size:1.05rem}.dreamill .preview-frame.has-assemble-player video::-webkit-media-text-track-display{display:none!important}.dreamill .scene-preview-modal-body video::-webkit-media-text-track-display{display:none!important}.dreamill .scene-preview.has-video video::-webkit-media-text-track-display{display:none!important}.dreamill .dreamill-caption-overlay{z-index:4;box-sizing:border-box;pointer-events:none;justify-content:center;align-items:flex-end;padding-left:8px;padding-right:8px;display:flex;position:absolute}.dreamill .dreamill-caption-stack{flex-direction:column;align-items:center;gap:4px;width:100%;max-width:100%;display:flex}.dreamill .dreamill-caption-block{color:#fff;text-align:center;text-shadow:0 1px 2px #000;background:#000000b8;border-radius:4px;flex-direction:column;align-items:center;max-width:92%;padding:2px 8px;line-height:1.32;display:flex}.dreamill .dreamill-caption-block span{overflow-wrap:anywhere;max-width:100%;display:block}.dreamill .dreamill-player-chrome{z-index:5;pointer-events:none;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;display:grid;position:absolute;top:8px;left:8px;right:8px}.dreamill .dreamill-player-chrome-side{pointer-events:auto;align-items:center;gap:6px;display:flex}.dreamill .dreamill-player-chrome-left{justify-content:flex-start;justify-self:start}.dreamill .dreamill-player-chrome-right{justify-content:flex-end;justify-self:end}.dreamill .dreamill-player-chrome-center{pointer-events:auto;box-sizing:border-box;background:#0000008c;border-radius:999px;flex-wrap:nowrap;grid-column:2;justify-self:center;align-items:center;gap:8px;width:max-content;max-width:100%;padding:4px 10px;display:inline-flex}.dreamill .dreamill-player-chrome-btn{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;width:28px;height:28px;display:grid}.dreamill .dreamill-player-chrome-time{color:#f5f5f5;font-variant-numeric:tabular-nums;text-align:center;min-width:88px;font-size:12px}.dreamill .dreamill-player-chrome-volume{width:72px;accent-color:var(--accent,#ffb65c)}.dreamill .dreamill-player-chrome-speed{align-items:center;gap:4px;margin-left:2px;display:inline-flex}.dreamill .dreamill-player-chrome-speed-label{color:#f5f5f5;font-variant-numeric:tabular-nums;text-align:right;min-width:28px;font-size:11px}.dreamill .dreamill-player-chrome-speed-range{width:56px;accent-color:var(--accent,#ffb65c)}.dreamill .dreamill-caption-menu{position:relative}.dreamill .dreamill-caption-menu-popover{z-index:20;color:#f5f5f5;text-align:left;background:#1d2027;border:1px solid #ffffff24;border-radius:8px;flex-direction:column;gap:8px;min-width:200px;padding:10px 12px;font-size:12px;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 32px #00000073}.dreamill .dreamill-caption-menu-popover strong{color:#fff;font-size:12px;font-weight:600}.dreamill .dreamill-caption-menu-popover p{color:#ffffffb8;margin:0;font-size:11px;line-height:1.45}.dreamill .dreamill-caption-menu-row{color:#f0f0f0;cursor:pointer;align-items:center;gap:8px;display:flex}.dreamill .scene-preview-modal-body .dreamill-player-chrome{top:10px}.dreamill .scene-preview.has-video .dreamill-player-chrome{top:8px}.dreamill .preview-frame.has-assemble-player .dreamill-player-chrome{z-index:8}.dreamill .assemble-upscale-menu{display:inline-flex;position:relative}.dreamill .assemble-upscale-pop{z-index:20;background:#121214f5;border:1px solid #ffffff1f;border-radius:10px;min-width:168px;padding:6px 0;position:absolute;bottom:calc(100% + 6px);right:0;box-shadow:0 8px 28px #00000073}.dreamill[data-theme=light] .assemble-upscale-pop{background:#fffffffa;border-color:#0000001a;box-shadow:0 8px 24px #0000001f}.dreamill .assemble-upscale-heading{text-transform:uppercase;letter-spacing:.04em;opacity:.65;margin:0;padding:4px 12px 6px;font-size:11px;font-weight:600}.dreamill .assemble-upscale-back,.dreamill .assemble-upscale-item{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:8px 12px;display:block}.dreamill .assemble-upscale-back:hover,.dreamill .assemble-upscale-item:hover:not(:disabled){background:#ffffff14}.dreamill[data-theme=light] .assemble-upscale-back:hover,.dreamill[data-theme=light] .assemble-upscale-item:hover:not(:disabled){background:#0000000f}.dreamill .assemble-upscale-item.is-muted,.dreamill .assemble-upscale-item:disabled{opacity:.45;cursor:not-allowed}.dreamill .assemble-upscale-back{opacity:.85;border-bottom:1px solid #ffffff14;margin-bottom:4px;font-size:12px}.dreamill .assemble-upscale-muted{opacity:.65;margin:0;padding:6px 12px;font-size:12px}.dreamill .assemble-upscale-error{color:var(--destructive,#ef4444);margin:0;padding:6px 12px;font-size:12px}.dreamill .assemble-upscale-menu.is-menu{flex:none}.dreamill .dreamill-overlay-portal{z-index:110;pointer-events:none;position:fixed;inset:0}.dreamill .dreamill-overlay-portal>*{pointer-events:auto}.dreamill .assemble-upscale-pop.is-floating{max-height:min(70vh,320px);position:fixed;bottom:auto;right:auto;overflow-y:auto;box-shadow:0 12px 32px #0003}.assemble-upscale-pop.is-floating.is-outside-dreamill{color:#1a1a1a;background:#fffffffa;border:1px solid #0000001a;border-radius:10px;min-width:168px;padding:6px 0;box-shadow:0 12px 32px #0003}.assemble-upscale-pop.is-floating.is-outside-dreamill .assemble-upscale-back,.assemble-upscale-pop.is-floating.is-outside-dreamill .assemble-upscale-item{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:8px 12px;display:block}@container dreamill-preview (width<=560px){.dreamill .dreamill-player-chrome{gap:4px}.dreamill .dreamill-player-chrome-center{gap:5px;padding:3px 8px}.dreamill .dreamill-player-chrome-btn{width:24px;height:24px}.dreamill .dreamill-player-chrome-time{min-width:68px;font-size:11px}.dreamill .dreamill-player-chrome-volume{width:44px}.dreamill .dreamill-player-chrome-speed-label{display:none}.dreamill .dreamill-player-chrome-speed-range{width:40px}}.dreamill .scene-preview-modal-backdrop{z-index:150;background:#000000b3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.dreamill .scene-preview-modal{resize:both;background:#050505;border:1px solid #ffffff2e;border-radius:12px;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-areas:"header""body""film""footer";width:min(86vw,1200px);min-width:420px;max-width:calc(100vw - 24px);height:min(80vh,780px);min-height:300px;max-height:calc(100vh - 24px);display:grid;position:relative;overflow:hidden;box-shadow:0 24px 80px #0000008c}.dreamill .scene-preview-modal>header{grid-area:header}.dreamill .scene-preview-modal header{background:var(--bg);color:var(--text);justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;display:flex}.dreamill .scene-preview-modal header button{width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.dreamill .scene-preview-modal-body{background:#000;grid-area:body;min-width:0;min-height:0;position:relative;overflow:hidden}.dreamill .scene-preview-modal-body video{-o-object-fit:contain;object-fit:contain;background:#000;width:100%;height:100%;min-height:0}.dreamill .scene-preview-modal>video{-o-object-fit:contain;object-fit:contain;background:#000;grid-area:body;width:100%;height:100%;min-height:0}.dreamill .scene-preview-modal-film{z-index:1;background:var(--bg);cursor:default;touch-action:auto;border-radius:0;flex-shrink:0;grid-area:film;gap:2px;width:100%;height:auto;display:flex;position:relative}.dreamill .scene-preview-modal-film .scene-preview-track{flex:1;min-width:0;height:28px}.dreamill .scene-preview-modal-film .scene-preview-segment{pointer-events:auto}.dreamill .scene-preview-modal-resize{background:var(--bg);color:var(--dm-muted);text-align:right;flex-shrink:0;grid-area:footer;padding:5px 10px;font-size:11px}@media (width<=520px){.dreamill .scene-preview-modal{resize:none;width:calc(100vw - 16px);min-width:0;height:75vh}}.dreamill .scene-preview-flash{z-index:4;opacity:0;pointer-events:none;background:#fff;transition:opacity .2s;position:absolute;inset:0}.dreamill .scene-preview-flash.on{opacity:.5;transition:none}.dreamill .produce-movie-cover{width:clamp(80px,11vw,130px)}.dreamill .produce-movie-cover-image{min-height:0}.dreamill .produce-movie-play{width:36px;height:36px;font-size:16px}.dreamill .scene-preview-blend{z-index:1;opacity:0;pointer-events:none;background:#000;width:100%}.dreamill .scene-preview-blend.on{opacity:1}.dreamill .scene-preview-helper{opacity:0;pointer-events:none;width:2px;height:2px;position:absolute;top:0;left:0}.dreamill .scene-preview-segment{gap:3px}.dreamill .scene-preview-segment-takes{z-index:1;color:#f5f4f0;font-variant-numeric:tabular-nums;cursor:pointer;background:#0000008c;border:0;border-radius:3px;flex:none;align-items:center;gap:1px;height:14px;padding:0 3px;font:600 9px/1 inherit;display:inline-flex;position:relative}.dreamill .scene-preview-segment-takes:hover,.dreamill .scene-preview-segment-takes[aria-expanded=true]{background:var(--accent);color:#111}.dreamill .scene-preview-segment-takes span{width:9px;height:9px}.dreamill .scene-preview-takes-pop{z-index:6;border:1px solid var(--line);background:var(--panel,#1d2027);border-radius:8px;gap:6px;max-width:calc(100% - 8px);padding:6px;display:flex;position:absolute;top:40px;left:50%;overflow-x:auto;transform:translate(-50%);box-shadow:0 10px 28px #00000080}.dreamill .scene-preview-take{aspect-ratio:16/9;color:#f5f4f0;cursor:pointer;background:#111;border:2px solid #0000;border-radius:5px;flex-direction:column;flex:none;justify-content:flex-end;align-items:center;width:72px;padding:0;display:flex;position:relative;overflow:hidden}.dreamill .scene-preview-take img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.dreamill .scene-preview-take:hover{border-color:#ffffff80}.dreamill .scene-preview-take.used{border-color:var(--accent);cursor:default}.dreamill .scene-preview-take-name{text-align:left;background:#0009;width:100%;padding:1px 3px;font-size:9px;position:relative}.dreamill .scene-preview-take-used{width:12px;height:12px;color:var(--accent);position:absolute;top:3px;right:3px}.dreamill .scene-preview-take--make{border:1px dashed var(--accent);color:var(--accent);background:#ffb65c14;justify-content:center;gap:1px;font-size:10px;font-weight:600}.dreamill .scene-preview-take--make small{color:var(--dm-muted);font-size:9px;font-weight:400}.dreamill .scene-preview-take--make:disabled{opacity:.55;cursor:progress}.dreamill .produce-seconds{color:var(--dm-muted);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:4px;font-size:12px;display:inline-flex}.dreamill .scene-preview-segment{justify-content:space-between;padding:0 3px}.dreamill .scene-preview-segment-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.dreamill .scene-preview-segment.whole{justify-content:space-between}.dreamill .produce-flow.sized-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),500px))}.dreamill-article-video-shoot{flex-direction:column;flex:auto;align-items:stretch;width:100%;min-width:0;display:flex}.dreamill-article-video-shoot>.dreamill-embed-config{color:var(--foreground)}.dreamill-article-video-shoot>.dreamill-embed-config .video-config-tags{flex-wrap:wrap;align-items:flex-end;gap:.5rem;display:flex}.dreamill-embed-config-menu.config-tag-menu{border:1px solid oklch(var(--lex-line,var(--border,.856 .031 88.387)));border-radius:calc(var(--radius) - 2px);background-color:oklch(var(--lex-cream,.98 .009 84.572));max-height:min(16rem,50vh);color:oklch(var(--lex-ink,.242 .03 269.883));padding:.35rem;overflow:auto;box-shadow:0 10px 38px #00000029,0 0 0 1px #0000000a;z-index:10100!important;pointer-events:auto!important;margin:0!important}html.dark .dreamill-embed-config-menu.config-tag-menu{background-color:oklch(var(--lex-ink-soft,.327 .035 268.75));color:oklch(var(--lex-cream,.98 .009 84.572));border-color:oklch(var(--lex-line,.495 .038 271.716) / 28%)}.dreamill-embed-config-menu .config-tag-flat-item{border-radius:calc(var(--radius) - 2px);text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:0;padding:.5rem .625rem;font-size:12px;line-height:1.35;display:block}.dreamill-embed-config-menu .config-tag-flat-item.active,.dreamill-embed-config-menu .config-tag-flat-item:hover{background:oklch(var(--lex-paper-warm,.933 .019 83.064));color:oklch(var(--lex-ink-soft,.327 .035 268.75))}html.dark .dreamill-embed-config-menu .config-tag-flat-item.active,html.dark .dreamill-embed-config-menu .config-tag-flat-item:hover{color:oklch(var(--lex-cream,.98 .009 84.572));background:oklch(28% .032 269)}.dreamill-embed-config-menu .config-tag-empty{color:oklch(var(--lex-ink-mute,.495 .038 271.716));margin:0;padding:.5rem .625rem;font-size:12px}.dreamill-article-video-shoot .dreamill-article-video-embed{flex:auto;align-self:stretch;width:100%;min-width:0}.dreamill.dreamill-article-video-embed .produce-flow.sized-cards{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}.dreamill.dreamill-article-video-embed .produce-scene-unit{width:100%;min-width:0;max-width:none}.dreamill.dreamill-article-video-embed .produce-card-frame,.dreamill.dreamill-article-video-embed .produce-card.produce-card--scene{box-sizing:border-box;width:100%;min-width:0;max-width:none}.dreamill.dreamill-article-video-embed .produce-article-optimise-overlay{z-index:12;-webkit-backdrop-filter:blur(10px);background:#0a0a0ab8;flex-direction:column;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:absolute;inset:0}.dreamill.dreamill-article-video-embed .produce-article-optimise-panel{background:#121212f5;border:1px solid #ffffff14;border-radius:.65rem;flex-direction:column;gap:.85rem;width:min(100%,22.5rem);padding:1.1rem 1.25rem;display:flex;box-shadow:0 12px 40px #00000073}.dreamill.dreamill-article-video-embed .produce-layout--article-video{position:relative}.dreamill.dreamill-article-video-embed .produce-stage--article-optimise-busy{pointer-events:none;visibility:hidden}.dreamill.dreamill-article-video-embed .produce-article-optimise-title{align-items:center;gap:.5rem;margin:0;font-size:14px;font-weight:600;display:flex}.dreamill.dreamill-article-video-embed .produce-article-optimise-steps{width:100%;margin:0;padding:0;font-size:13px;list-style:none}.dreamill.dreamill-article-video-embed .produce-article-optimise-step{color:var(--muted-foreground,#f5f4f08c);align-items:flex-start;gap:.5rem;padding:.35rem 0;display:flex}.dreamill.dreamill-article-video-embed .produce-article-optimise-step.done{color:var(--foreground,#f5f4f0)}.dreamill.dreamill-article-video-embed .produce-article-optimise-step.active{color:var(--foreground,#f5f4f0);font-weight:600}.dreamill.dreamill-article-video-embed .produce-article-optimise-step-mark{flex-shrink:0;justify-content:center;align-items:center;width:1.25rem;height:1.25rem;display:inline-flex}.dreamill.dreamill-article-video-embed .produce-article-optimise-step-pending{opacity:.35;background:currentColor;border-radius:999px;width:.45rem;height:.45rem}.dreamill.dreamill-article-video-embed .produce-layout-single,.dreamill.dreamill-article-video-embed .produce-stage,.dreamill.dreamill-article-video-embed .produce-stage-body{flex-direction:column;flex:auto;width:100%;min-width:0;min-height:0;display:flex}.dreamill.dreamill-article-video-embed .produce-card-frame,.dreamill.dreamill-article-video-embed .produce-card.produce-card--scene,.dreamill.dreamill-article-video-embed .produce-scene-unit{flex-direction:column;flex:auto;min-height:0;display:flex}.dreamill.dreamill-article-video-embed .produce-segment-refs-anchor{flex:auto;width:100%;min-width:0;min-height:min(48vh,480px)}.dreamill.dreamill-article-video-embed .produce-make-row--article-video{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;width:100%;display:grid}.dreamill.dreamill-article-video-embed .produce-make-row--article-video .produce-make-row-lead{flex:none;justify-self:start}.dreamill.dreamill-article-video-embed .produce-make-row--article-video .produce-final-anchor--article-center{grid-column:2;justify-self:center}.dreamill.dreamill-article-video-embed .produce-make-row--article-video .produce-make-row-end--article-video{grid-column:3}.dreamill.dreamill-article-video-embed .produce-make-row--article-video>.produce-scene-error{grid-column:1/-1}.dreamill .produce-make-row-end{display:contents}.dreamill.dreamill-article-video-embed .produce-make-row-end--article-video{flex-wrap:wrap;flex:none;justify-content:flex-end;align-self:center;align-items:center;gap:6px;display:inline-flex}.dreamill.dreamill-article-video-embed .produce-make-row-end--article-video .make-anchor{justify-content:flex-end}.dreamill.dreamill-article-video-embed .scene-preview{aspect-ratio:9/16;width:100%;min-height:min(44vh,440px);max-height:min(62vh,94vh - 13rem)}@media (width<=767px){.dreamill.dreamill-article-video-embed .produce-layout-single{flex-direction:column;display:flex}.dreamill.dreamill-article-video-embed .produce-stage{grid-template-columns:unset;grid-template-rows:unset;flex-direction:column;display:flex}.dreamill.dreamill-article-video-embed .produce-flow.sized-cards{grid-template-columns:minmax(0,1fr)}}.dreamill .produce-movie-strip{--strip-h:360px;--scene-label:24px;height:var(--strip-h)}.dreamill .produce-movie-cover-image{height:var(--strip-h)}.dreamill .produce-movie-scene{width:auto;padding:8px}.dreamill .produce-movie-scene-label{height:var(--scene-label);line-height:var(--scene-label);margin-bottom:0}.dreamill .produce-movie-scene .scene-preview{height:calc(var(--strip-h) - 16px - var(--scene-label));width:calc((var(--strip-h) - 16px - var(--scene-label))*16/9)}.dreamill .produce-ref-cards.refs-popover{z-index:30;border:1px solid var(--line);background:var(--panel,#1d2027);border-radius:10px;width:280px;margin-bottom:0;padding:8px;position:absolute;top:calc(100% + 8px);left:-4px;box-shadow:0 16px 40px #00000073}.dreamill .produce-ref-cards.refs-popover:before{border-top:1px solid var(--line);border-left:1px solid var(--line);background:inherit;content:"";width:10px;height:10px;position:absolute;top:-6px;left:14px;transform:rotate(45deg)}.dreamill .produce-scene-seconds{color:var(--dm-muted);font-variant-numeric:tabular-nums;vertical-align:middle;align-items:center;gap:3px;margin-left:8px;font-size:11px;font-weight:400;display:inline-flex}.dreamill .produce-scene-seconds span{width:11px;height:11px}.dreamill .scene-preview-segment:not(.done):not(.has-segment-controls){outline-offset:-2px;background:repeating-linear-gradient(135deg,#161616 0 5px,#1f1f1f 0 10px);outline:1px dashed #ffffff47}.dreamill .scene-preview-segment:not(.done):not(.has-segment-controls) .scene-preview-segment-label{opacity:.6}.dreamill .scene-preview-segment.done img{opacity:.9}.dreamill .scene-preview-segment.done:after{background:var(--success,#63c59b);content:"";height:2px;position:absolute;bottom:0;left:0;right:0}.dreamill .scene-preview-segment.busy:not(.done){background:linear-gradient(90deg, #ffb65c73 var(--progress), #1b1b1b var(--progress))}.dreamill .scene-preview-take-use{color:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:flex-end;align-items:center;padding:0;display:flex;position:absolute;inset:0}.dreamill .scene-preview-take.used .scene-preview-take-use{cursor:default}.dreamill .scene-preview-take-delete{z-index:2;color:#f5f4f0;opacity:0;cursor:pointer;background:#000000a6;border:0;border-radius:4px;place-items:center;width:18px;height:18px;font-size:11px;transition:opacity .12s;display:grid;position:absolute;top:3px;left:3px}.dreamill .scene-preview-take-delete:focus-visible,.dreamill .scene-preview-take:hover .scene-preview-take-delete{opacity:1}.dreamill .scene-preview-take-delete:hover{background:var(--danger,#ff7c87);color:#111}.dreamill .scene-preview-take-prompt{z-index:2;color:#f5f4f0;opacity:0;cursor:pointer;background:#000000a6;border:0;border-radius:4px;place-items:center;width:18px;height:18px;font-size:11px;display:grid;position:absolute;top:3px;left:24px}.dreamill .scene-preview-take-prompt:focus-visible,.dreamill .scene-preview-take:hover .scene-preview-take-prompt{opacity:1}.dreamill .scene-preview-take-prompt:hover{color:#111;background:#f5f4f0}.dreamill .take-prompt{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.dreamill .take-prompt pre{border:1px solid var(--line,#7f7f7f40);white-space:pre-wrap;word-break:break-word;border-radius:6px;width:100%;max-height:60vh;margin:0;padding:12px;font-family:inherit;font-size:12px;line-height:1.55;overflow:auto}.dreamill .scene-preview-take-confirm{z-index:3;color:#f5f4f0;background:#000000d1;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:10px;display:flex;position:absolute;inset:0}.dreamill .scene-preview-take-confirm-actions{gap:4px;display:flex}.dreamill .scene-preview-take-confirm button{color:inherit;cursor:pointer;background:0 0;border:1px solid #ffffff59;border-radius:4px;padding:1px 6px;font-size:10px}.dreamill .scene-preview-take-confirm button.danger{border-color:var(--danger,#ff7c87);background:var(--danger,#ff7c87);color:#111}.dreamill .scene-preview-take.removing{opacity:.45}.dreamill .produce-ref-cards.refs-popover{width:420px;max-width:calc(100vw - 32px)}.dreamill .produce-ref-card .produce-frame-remove{z-index:1;opacity:0;pointer-events:none;width:18px;height:18px;font-size:11px;transition:opacity .12s;top:4px;right:4px}.dreamill .produce-ref-card:focus-within .produce-frame-remove,.dreamill .produce-ref-card:hover .produce-frame-remove{opacity:1;pointer-events:auto}@media (hover:none){.dreamill .produce-ref-card .produce-frame-remove{opacity:1;pointer-events:auto}}.dreamill .scene-preview-take{width:120px}.dreamill .scene-preview-take-name{font-size:10px}@media (width<=1280px){.dreamill .topbar .video-config .config-tag-button{max-width:6rem;padding:0 5px;font-size:11px}}.dreamill .produce-mode{flex-wrap:nowrap}.dreamill .produce-mode-button{white-space:nowrap}.dreamill .sidebar-project-trigger{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-height:34px;padding:4px 8px 4px 10px}.dreamill .sidebar-project-trigger .sidebar-project-cover{border-radius:4px;width:24px;height:32px}.dreamill .sidebar-project{background:#ffffff08;border:0}.dreamill .sidebar-project-start{border-color:color-mix(in srgb, var(--accent) 55%, var(--line))}.dreamill .sidebar-project-start:hover{border-color:var(--accent)}.dreamill .sidebar-project-start-icon{width:16px;height:16px;color:var(--accent);flex:none}.dreamill .sidebar-project-trigger .sidebar-project-chevron{opacity:1;width:18px;height:18px;color:var(--text);margin-left:auto}.dreamill .sidebar-project .project-picker{border-radius:12px;padding:6px;box-shadow:0 12px 32px #00000047}.dreamill .sidebar-project .project-option{border:1px solid #0000;border-radius:8px}.dreamill .sidebar-project .project-option.active,.dreamill[data-theme=light] .sidebar-project .project-option.active{color:inherit;background:#ff9f2f1f;border-color:#ff9f2f}.dreamill .nav-collapsed .sidebar-project-trigger{background:0 0;border:0;min-height:0;padding:0}.dreamill .nav-collapsed .sidebar-project-trigger .sidebar-project-cover{border-radius:6px;width:36px;height:48px}.dreamill .nav-collapsed .sidebar-project{background:0 0}@media (width<=600px){.dreamill .produce-mode-button{padding-inline:10px;font-size:12px}}.dreamill .sidebar-project-actions{margin:0 0 6px}.dreamill .sidebar-project-actions .sidebar-project-list{flex:auto;min-width:0}.dreamill .sidebar-project-main{align-items:center;gap:4px;display:flex}.dreamill .sidebar-project-main>.sidebar-project-trigger{flex:auto}.dreamill .sidebar-project-main>.stage-menu{flex:0 0 26px}.dreamill .nav-collapsed .sidebar-project-actions,.dreamill .nav-collapsed .sidebar-project-main>.stage-menu{display:none}.dreamill .nav-button.is-disabled{opacity:.4;cursor:not-allowed}.dreamill .nav-button.is-disabled:hover{color:inherit;background:0 0}.dreamill a.sidebar-project-start{color:var(--text);text-decoration:none}.dreamill .scene-preview-take-chip{z-index:4;color:#f5f4f0;font-variant-numeric:tabular-nums;cursor:pointer;background:#0009;border:1px solid #ffffff40;border-radius:999px;align-items:center;gap:4px;height:26px;padding:0 8px 0 10px;font-size:12px;font-weight:600;display:inline-flex;position:absolute;top:8px;left:50%;transform:translate(-50%)}.dreamill .scene-preview-take-chip:hover,.dreamill .scene-preview-take-chip[aria-expanded=true]{border-color:var(--accent)}.dreamill .produce-episode-picker.is-single .produce-episode-select:disabled{opacity:1;cursor:default}.dreamill .produce-episode-select .produce-progress-ring{flex:none;margin-right:2px}.dreamill .produce-movie-scene-label{align-items:center;gap:6px;min-width:0;display:flex}.dreamill .produce-card-label{color:inherit;margin-bottom:6px;font-size:12px}.dreamill .produce-scene-badge{color:#111;font-variant-numeric:tabular-nums;background:#f5f4f0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:20px;height:20px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.dreamill[data-theme=light] .produce-scene-badge{color:#fff;background:#ffb65c}.dreamill .produce-scene-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.dreamill .produce-scene-length{color:var(--dm-muted);font-variant-numeric:tabular-nums;flex:none;align-items:center;gap:4px;margin-left:auto;display:inline-flex}.dreamill .produce-scene-length .i-dm-credit,.dreamill .produce-scene-length .i-lucide-clock{vertical-align:0;width:13px;height:13px}.dreamill .produce-movie-wrap{position:relative}.dreamill .produce-movie-cover{transition:width .2s}.dreamill .produce-movie-wrap .produce-movie-cover{width:180px}.dreamill .produce-movie-wrap .produce-movie-cover.is-playing{width:clamp(320px,44vw,520px)}.dreamill .produce-movie-cover-stats{white-space:nowrap;z-index:2;color:#f5f4f0;font-variant-numeric:tabular-nums;text-align:center;cursor:pointer;background:#000000a6;border-radius:6px;justify-content:center;align-items:center;gap:4px;padding:4px 8px;font-size:11px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.dreamill .produce-movie-cover-stats>[class^=i-lucide]{opacity:.8;flex:none;width:12px;height:12px}.dreamill .produce-movie-cover-stats>.i-lucide-clock{margin-left:8px}.dreamill .produce-movie-play:disabled{opacity:.4;cursor:default}.dreamill .produce-movie-more{z-index:6;border:1px solid var(--line);background:var(--panel);width:32px;height:32px;color:var(--text);cursor:pointer;border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%);box-shadow:0 4px 14px #0006}.dreamill .produce-movie-more:hover{border-color:var(--accent)}.dreamill .produce-episode-cover{aspect-ratio:16/9;background:#000;border-radius:8px;position:relative;overflow:hidden}.dreamill .produce-episode-cover .produce-movie-cover-image{min-height:0}.dreamill .reel-player{z-index:3;background:#000;position:absolute;inset:0}.dreamill .reel-player video{-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.dreamill .reel-player-count{color:#f5f4f0;font-variant-numeric:tabular-nums;background:#0009;border-radius:999px;padding:2px 8px;font-size:11px;position:absolute;top:8px;left:8px}.dreamill .reel-player-close{color:#f5f4f0;cursor:pointer;background:#0009;border:0;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:8px;right:8px}.dreamill .produce-refs-anchor--toolbar{margin-right:auto}.dreamill .produce-refs-anchor--toolbar .produce-refs-toggle{border-radius:8px;height:32px;padding:0 8px;font-size:12px}.dreamill .produce-refs-anchor--toolbar .produce-ref-cards.refs-popover,.dreamill .produce-refs-anchor--toolbar .refs-hint{top:auto;bottom:calc(100% + 8px)}.dreamill .produce-refs-anchor--toolbar .produce-ref-cards.refs-popover:before{top:auto;bottom:-6px;transform:rotate(225deg)}.dreamill .button.produce-final-button{color:#111;background:#fff;border-color:#fff}.dreamill .button.produce-final-button:hover:not(:disabled){background:#f1efe9}.dreamill .button.produce-final-button:disabled{cursor:not-allowed;opacity:.45}.dreamill[data-theme=light] .button.produce-final-button{border-color:var(--line)}.dreamill .produce-episode-picker .produce-episode{align-items:center}.dreamill .produce-episode-picker .produce-progress-ring{order:-1;width:18px;height:18px;margin-right:0}.dreamill .produce-episode-picker .produce-progress-ring svg{width:18px;height:18px}.dreamill .dreamill-project-stage-heading .script-heading-stack:has(.produce-episode-picker){flex-direction:column;min-height:72px;display:flex}:is(.dreamill .dreamill-project-stage-heading .script-heading-stack:has(.produce-episode-picker)>.produce-episode-picker,.dreamill .dreamill-project-stage-heading .script-heading-stack:has(.produce-episode-picker)>.produce-episode-row){margin-top:auto}.dreamill .dreamill-project-stage-heading .script-heading-stack .produce-episode-picker{margin-top:0}.dreamill .produce-refs-anchor--toolbar .refs-hint:before{top:auto;bottom:-6px;transform:rotate(225deg)}.dreamill .produce-final-anchor{display:inline-flex;position:relative}.dreamill .produce-final-hint{z-index:40;border:1px solid var(--line);background:var(--panel,#1d2027);width:240px;color:inherit;border-radius:10px;flex-direction:column;gap:2px;padding:10px 12px;font-size:12px;line-height:1.45;display:flex;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 16px 40px #00000073}.dreamill .produce-final-hint:after{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:inherit;content:"";width:10px;height:10px;position:absolute;bottom:-6px;right:22px;transform:rotate(45deg)}.dreamill .produce-movie-less{left:188px;right:auto}.dreamill .produce-movie-less svg{transform:rotate(180deg)}.dreamill .seconds-bar{cursor:ew-resize;touch-action:none;width:140px;height:18px;display:block;position:relative}.dreamill .seconds-bar:before{content:"";background:#fff3;border-radius:2px;height:4px;position:absolute;top:7px;left:0;right:0}.dreamill .seconds-bar-fill{background:var(--accent);border-radius:2px;height:4px;position:absolute;top:7px;left:0}.dreamill .seconds-bar-min{background:#ffffffbf;width:1px;height:10px;position:absolute;top:4px}.dreamill .seconds-bar-ball{border:2px solid var(--accent);background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .1s;position:absolute;top:9px;transform:translate(-50%,-50%);box-shadow:0 1px 4px #00000080}.dreamill .seconds-bar-ball.dragging,.dreamill .seconds-bar:focus-visible .seconds-bar-ball,.dreamill .seconds-bar:hover .seconds-bar-ball{transform:translate(-50%,-50%)scale(1.2)}.dreamill .seconds-bar:focus-visible{outline:none}.dreamill .scene-preview{--take-chip-bottom:34px}.dreamill .scene-preview.has-film{--take-chip-bottom:64px}.dreamill .scene-preview.has-video:not(.has-film){--take-chip-bottom:48px}.dreamill .scene-preview .scene-preview-take-chip{top:auto;bottom:var(--take-chip-bottom)}.dreamill .scene-preview .scene-preview-takes-pop{top:auto;bottom:calc(var(--take-chip-bottom) + 32px);max-height:calc(100% - var(--take-chip-bottom) - 40px)}.dreamill .scene-preview .scene-preview-empty{padding:0;display:block}.dreamill .scene-preview .scene-preview-clip{flex-direction:row;justify-content:center;gap:8px;position:absolute;bottom:8px;left:8px;right:8px}.dreamill .scene-preview .scene-preview-clip.whole strong{font-size:12px}.dreamill .scene-preview .scene-preview-clip-heading--whole{justify-content:center;align-items:center}.dreamill .scene-preview .scene-preview-clip-title--whole{flex:0 auto}.dreamill .scene-preview .scene-preview-clip{flex-wrap:wrap;row-gap:3px}.dreamill .scene-preview .scene-preview-clip strong{text-align:center;flex-basis:100%;font-size:12px}.dreamill .scene-preview .scene-preview-clip .scene-preview-clip-heading{flex-basis:100%;gap:4px}.dreamill .scene-preview .scene-preview-clip-toolbar{flex-basis:100%;order:-1}.dreamill .scene-preview .scene-preview-clip-length-row{flex-basis:100%}.dreamill .scene-preview-script{top:10px;right:12px;bottom:calc(var(--take-chip-bottom) + 34px);color:#f5f4f09e;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;gap:4px;padding:0;font-size:12px;line-height:1.45;display:flex;position:absolute;left:12px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,#0000);mask-image:linear-gradient(#000 70%,#0000)}.dreamill .scene-preview-script:hover{color:#f5f4f0d9}.dreamill .scene-preview-script.open{z-index:5;color:#f5f4f0;cursor:default;-webkit-user-select:text;user-select:text;background:#0a0a0aeb;padding:10px 12px;inset:0;overflow-y:auto;-webkit-mask-image:none;mask-image:none}.dreamill .scene-preview-script-line{overflow-wrap:anywhere;display:block}.dreamill .scene-preview-script-line :is(h1,h2,h3,h4,h5,h6){margin:.35em 0 .15em;font-size:1.05em;font-weight:600;line-height:1.35}.dreamill .scene-preview-script-line :is(strong,b){font-weight:600}.dreamill .scene-preview-script-body :is(p,ul,ol){margin:0 0 .45em}.dreamill .scene-preview-script-body :is(h1,h2,h3,h4,h5,h6){margin:.35em 0 .2em;font-size:1.05em;font-weight:600}.dreamill .account-balance-pending{color:var(--dm-muted);font-size:14px}.dreamill .verify-panel{margin-bottom:18px}.dreamill .produce-movie-refs-toggle{vertical-align:middle;border-color:#ffffff47;height:18px;margin-right:6px}.dreamill .produce-movie-scene .scene-preview.one-shot{border-radius:0;overflow:visible}.dreamill .produce-movie-scene .scene-preview.one-shot.has-film .scene-preview-film{bottom:-8px;left:-9px;right:-8px}.dreamill .produce-movie-scene .scene-preview.one-shot.has-film .scene-preview-video{height:calc(100% - var(--film-bar) + 8px)}.dreamill .produce-movie-scene .scene-preview.one-shot.has-film .scene-preview-takes-row{bottom:calc(var(--film-bar) - 2px)}.dreamill .scene-preview-segment,.dreamill .scene-preview-segment.busy{color:#fff}.dreamill .scene-preview-segment.active,.dreamill .scene-preview-segment.busy.active{color:var(--accent)}.dreamill .scene-preview-segment:not(.done) .scene-preview-segment-label{opacity:1}.dreamill .scene-preview-segment.waiting{animation:1.2s ease-in-out infinite dm-segment-waiting}@keyframes dm-segment-waiting{50%{outline-color:#0000}}.dreamill .make-with-cost{gap:6px}.dreamill .make-split.has-menu .make-split-triggers,.dreamill .make-split.has-menu>.button{z-index:2;position:relative}.dreamill .make-split-triggers{align-items:stretch;display:inline-flex}.dreamill .make-split.has-menu .make-split-triggers>.button.primary:first-child,.dreamill .make-split.has-menu .make-split-triggers>.button.small.primary:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.dreamill .make-split-caret-btn{border-top-left-radius:0;border-bottom-left-radius:0;min-width:32px;margin-left:-1px;padding:0 8px}.dreamill .make-split-triggers>.button.primary{min-height:44px}.dreamill .i-dm-credit{vertical-align:-.125em;background-color:currentColor;flex-shrink:0;width:1em;height:1em;display:inline-block;-webkit-mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.3%2021.95a10%2010%200%201%201%201.4%200M15.4%208.6h-4.5a2.2%202.2%200%200%200%200%204.4h2.2a2.2%202.2%200%200%201%200%204.4H8.6m3.4-11v11.2%22%2F%3E%3C%2Fsvg%3E) 50%/100% 100% no-repeat;mask:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.3%2021.95a10%2010%200%201%201%201.4%200M15.4%208.6h-4.5a2.2%202.2%200%200%200%200%204.4h2.2a2.2%202.2%200%200%201%200%204.4H8.6m3.4-11v11.2%22%2F%3E%3C%2Fsvg%3E) 50%/100% 100% no-repeat}.dreamill .scene-preview-clip-coin{vertical-align:-1px;width:11px;height:11px;margin:0 3px 0 2px;display:inline-block}.dreamill .make-cost{font-variant-numeric:tabular-nums;opacity:.72;align-items:center;gap:2px;font-size:11px;display:inline-flex}.dreamill .make-split{display:inline-flex;position:relative}.dreamill .make-split-caret{opacity:.8;margin-left:-2px}.dreamill .make-split-menu{z-index:1;border:1px solid var(--line);background:var(--panel);pointer-events:none;border-radius:10px;min-width:100%;padding:6px;display:none;position:absolute;bottom:calc(100% + 6px);right:0;box-shadow:0 10px 28px #00000038}.dreamill .make-split-menu:after{content:"";height:8px;position:absolute;top:100%;left:0;right:0}.dreamill .make-split--down .make-split-menu{top:calc(100% + 6px);bottom:auto}.dreamill .make-split--down .make-split-menu:after{top:auto;bottom:100%}.dreamill .make-split.has-menu.is-open .make-split-menu,.dreamill .make-split.has-menu:focus-within .make-split-menu,.dreamill .make-split.has-menu:hover .make-split-menu{z-index:25;pointer-events:auto;gap:6px;display:grid}.dreamill .make-split.has-menu:has(.make-split-triggers .button:hover) .make-split-menu{z-index:25;pointer-events:auto;gap:6px;display:grid}.dreamill .make-split.has-menu:has(>.button:hover) .make-split-menu{z-index:25;pointer-events:auto;gap:6px;display:grid}.dreamill .make-split.has-menu.is-open{z-index:26}.dreamill .make-split-item{border:1px solid var(--line);background:var(--panel-2);width:100%;min-height:32px;color:var(--text);text-align:left;white-space:nowrap;cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:0 12px;font-size:12px;font-weight:600;transition:border-color .15s,background .15s;display:flex}.dreamill .make-split-item:focus-visible,.dreamill .make-split-item:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft);outline:none}.dreamill .make-split-item:disabled{opacity:.45;cursor:default}@media (hover:none){.dreamill .make-split.has-menu:not(.is-open) .make-split-menu{pointer-events:none;display:none}.dreamill .make-split-caret{margin:-2px -4px -2px 0;padding:2px 4px}}.dreamill .produce-make-row .produce-balance,.dreamill .produce-make-row .produce-instructions{margin-right:auto}.dreamill .produce-instructions.is-set{border-color:var(--accent)}.dreamill .world-hint{z-index:60;border:1px solid var(--accent);background:var(--panel,#1d2027);width:min(280px,100vw - 32px);color:var(--text);border-radius:10px;gap:6px;padding:12px 14px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 16px 40px #00000073}.dreamill .world-hint:before{border-top:1px solid var(--accent);border-left:1px solid var(--accent);background:inherit;content:"";width:12px;height:12px;position:absolute;top:-7px;left:50%;transform:translate(-50%)rotate(45deg)}.dreamill .world-hint p{color:var(--dm-muted);margin:0;font-size:13px;line-height:1.45}.dreamill .world-hint .button{justify-self:end}.dreamill .welcome-credits-pop{z-index:110;border:1px solid var(--accent);background:var(--panel,#1d2027);width:min(300px,100vw - 32px);color:var(--text);border-radius:10px;gap:8px;padding:12px 14px;display:grid;position:fixed;transform:translateY(-50%);box-shadow:0 16px 40px #00000073}.dreamill .welcome-credits-pop:before{border-bottom:1px solid var(--accent);border-left:1px solid var(--accent);background:inherit;content:"";width:12px;height:12px;position:absolute;top:50%;left:-7px;transform:translateY(-50%)rotate(45deg)}.dreamill .welcome-credits-pop p{color:var(--dm-muted);margin:0;font-size:13px;line-height:1.45}.dreamill .welcome-credits-pop-row{gap:6px;display:flex}.dreamill .welcome-credits-pop-row input{border:1px solid var(--line);min-width:0;color:inherit;font:inherit;letter-spacing:.12em;background:0 0;border-radius:8px;flex:1;padding:4px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.dreamill .welcome-credits-pop .button.link{justify-self:start}.dreamill .welcome-credits-pop .welcome-credits-pop-error{color:#e07a6a}.dreamill .produce-ref-cards-footer{grid-column:1/-1;gap:6px;margin-top:4px;font-size:12px;line-height:1.4;display:grid}.dreamill .produce-ref-cards-footer p{color:var(--dm-muted);margin:0}.dreamill .produce-refs-skip{flex-direction:column;align-items:flex-start;gap:10px;margin-top:4px;display:flex}.dreamill .produce-refs-skip-note{color:#e5484d;margin:0;font-size:12px;line-height:1.45}.dreamill .produce-refs-skip-confirm{align-self:stretch;max-width:100%}.dreamill a.produce-balance{text-decoration:none}.dreamill a.produce-balance:hover .produce-balance-topup{border-color:var(--accent)}.dreamill .produce-balance-topup{place-items:center;display:inline-grid}.dreamill .button.danger{color:#fff;background:#c2413b;border-color:#c2413b}.dreamill .button.danger:hover:not(:disabled){background:#a8352f;border-color:#a8352f}.dreamill .scene-preview-takes-row{z-index:4;pointer-events:none;flex-wrap:wrap;gap:4px;display:flex;position:absolute;bottom:6px;left:6px;right:6px}.dreamill .scene-preview.has-film .scene-preview-takes-row{bottom:calc(var(--film-bar) + 6px);scrollbar-width:none;flex-wrap:nowrap;align-items:flex-end;overflow-x:auto}.dreamill .scene-preview-take-pill{pointer-events:auto;background:#0a0a0ac7;border:1px solid #ffffff40;border-radius:8px;align-items:center;gap:2px;padding:2px;display:inline-flex}.dreamill .scene-preview-take-pill.shown{border-color:var(--accent)}.dreamill .scene-preview-take-pill.removing{opacity:.5}.dreamill .scene-preview-take-pick{color:#fff;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:2px 6px;font-size:11px;display:inline-flex}.dreamill .scene-preview-take-pill.shown .scene-preview-take-pick{color:var(--accent)}.dreamill .scene-preview-take-pick.is-used{font-weight:600}.dreamill .scene-preview-take-act{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:6px;place-items:center;width:22px;height:22px;display:inline-grid}.dreamill .scene-preview-take-act.is-use{background:#2f8a5b}.dreamill .scene-preview-take-act.is-delete{background:#c2413b}.dreamill .scene-preview-take-confirm-inline{color:#fff;align-items:center;gap:4px;padding:0 4px;font-size:11px;display:inline-flex}.dreamill .scene-preview-take-confirm-inline button{color:#fff;cursor:pointer;background:#ffffff26;border:0;border-radius:5px;padding:1px 6px;font-size:11px}.dreamill .scene-preview-take-confirm-inline button.is-delete{background:#c2413b}.dreamill .scene-preview-segment.failed,.dreamill .scene-preview-segment.failed:not(.done){outline-offset:-2px;background:#c2413b8c;outline:1px solid #e5484d}.dreamill .books-page{gap:14px;width:min(1100px,100%);margin:0 auto;padding:8px 0 32px;display:grid}.dreamill .books-page.is-embedded{width:100%;padding-top:0}.dreamill .books-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dreamill .books-head h1{margin:0 0 4px}.dreamill .books-staff{text-align:right;justify-items:end;gap:4px;max-width:360px;display:grid}.dreamill .books-toolbar{gap:8px;display:grid}.dreamill .books-progress{margin:0}.dreamill .books-grid .resource-card.is-waiting{opacity:.62;cursor:default}.dreamill .book-cover-blank{background:color-mix(in srgb, var(--panel) 70%, var(--line));color:var(--dm-muted);place-items:center;display:grid}.dreamill .book-cover-blank .ui-icon{width:28px;height:28px}.dreamill .books-pager{justify-content:center;align-items:center;gap:12px;display:flex}.dreamill .books-gutenberg{border-top:1px solid var(--line);gap:10px;margin-top:12px;padding-top:16px;display:grid}.dreamill .books-gutenberg h2{margin:0;font-size:18px}.dreamill .books-hits{gap:8px;margin:0;padding:0;list-style:none;display:grid}.dreamill .books-hits li{border:1px solid var(--line);background:var(--panel);border-radius:10px;align-items:center;gap:12px;padding:8px;display:flex}.dreamill .books-hits img{-o-object-fit:cover;object-fit:cover;border-radius:4px;flex:none;width:40px;height:58px}.dreamill .books-hit-copy{flex:1;gap:2px;min-width:0;display:grid}.dreamill .books-hit-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dreamill .book-reader{grid-template-rows:auto auto auto minmax(0,1fr);gap:10px;min-height:min(70vh,720px);display:grid}.dreamill .book-reader-meta{color:var(--dm-muted);flex-wrap:wrap;align-items:center;gap:12px;font-size:13px;display:flex}.dreamill .book-reader-meta .button{margin-left:auto}.dreamill .book-reader-summary{color:var(--dm-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.5;display:-webkit-box;overflow:hidden}.dreamill .book-reader-nav{align-items:center;gap:8px;display:flex}.dreamill .book-reader-nav select{flex:1;min-width:0}.dreamill .book-reader-text{min-height:0;max-height:min(62vh,640px);padding:4px 4px 24px;font-family:Georgia,Times New Roman,Songti SC,serif;font-size:16px;line-height:1.75;transition:opacity .15s;overflow-y:auto}.dreamill .book-reader-text.is-loading{opacity:.45}.dreamill .book-reader-text h1,.dreamill .book-reader-text h2,.dreamill .book-reader-text h3{margin:1.2em 0 .6em;line-height:1.3}.dreamill .book-reader-text p{margin:0 0 1em}.dreamill .library-picker-tabs{margin-bottom:8px}.dreamill .library-picker-read{flex:1;grid-template-rows:auto minmax(0,1fr);gap:10px;min-height:0;display:grid}.dreamill .library-picker-read-head{flex:none;align-items:center;gap:10px;display:flex}.dreamill .library-picker-read-head strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:16px;line-height:1.35;overflow:hidden}.dreamill .library-picker-read-body{flex-direction:column;gap:10px;min-height:0;display:flex;overflow:hidden}.dreamill .library-picker-idea-columns{grid-template-columns:minmax(140px,200px) minmax(0,1fr);align-items:stretch;gap:14px;height:100%;min-height:0;display:grid}.dreamill .library-picker-idea-columns.is-single{grid-template-columns:minmax(0,1fr)}.dreamill .library-picker-idea-aside{flex-direction:column;gap:10px;min-width:0;display:flex}.dreamill .library-picker-dialog-actions{flex-wrap:wrap;justify-content:flex-end}.dreamill .library-picker-dialog-actions .library-picker-back{margin-right:auto}.dreamill .library-picker-dialog-actions .library-picker-action-hint{text-align:left;flex:1;min-width:8rem;font-size:13px;line-height:1.35}.dreamill .dreamill-script-editor img,.dreamill .storyboard-scene-editor img{-o-object-fit:contain;object-fit:contain;border-radius:8px;max-width:min(100%,360px);max-height:260px;margin:8px 0;display:block}.dreamill .dm-toolbar-button.is-labelled{white-space:nowrap;gap:5px;width:auto;padding:0 8px;font-size:12.5px}.dreamill .topbar .topbar-title{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;font-weight:700;line-height:1.2;overflow:hidden}.dreamill .book-select-pop{z-index:400;border:1px solid var(--line);background:var(--panel);border-radius:10px;padding:4px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #00000059}.dreamill .book-select-pop button{color:var(--text);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:600;display:inline-flex}.dreamill .book-select-pop button:hover{background:color-mix(in srgb, var(--accent) 22%, transparent)}.dreamill .book-select-pop .ui-icon{width:15px;height:15px}.dreamill .plan-picker:has(>.library-picker){flex-direction:column;max-height:90vh;display:flex;overflow:hidden}.dreamill .plan-picker:has(>.library-picker .library-picker-read){min-height:min(90vh,680px)}.dreamill .dialog.is-max.plan-picker:has(>.library-picker){max-height:none}.dreamill .library-picker{flex-direction:column;flex:1;min-height:0;display:flex}.dreamill .library-picker .library-picker-drop{border-radius:12px;flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.dreamill .library-picker .library-picker-drop.is-over{outline-offset:4px;outline:2px dashed #ffb65c}.dreamill .library-picker .plan-picker-list{flex:1;min-height:120px;max-height:none;overflow:auto}.dreamill .library-picker .library-picker-read{flex:1;min-height:0}.dreamill .library-picker .library-picker-read .book-reader-text{flex:auto;min-height:0;max-height:none;overflow-y:auto}.dreamill .library-picker .library-picker-book-text,.dreamill .library-picker .library-picker-script-body{min-height:min(42vh,360px)}.dreamill .library-picker>.dialog-actions{border-top:1px solid var(--line);flex:none;margin-top:auto;padding:10px 0 4px}.dreamill .library-picker .resource-card{height:104px;max-height:104px;padding:10px;overflow:hidden}.dreamill .library-picker button.resource-card.is-add{min-height:0}.dreamill .library-picker .resource-card.is-pick:has(>.plan-picker-thumb){-moz-column-gap:10px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:62px minmax(0,1fr);align-content:start;column-gap:10px;display:grid}.dreamill .library-picker .resource-card.is-pick>.plan-picker-thumb{grid-row:1/span 2;width:62px;height:82px}.dreamill .library-picker .resource-card h3{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;line-height:1.3;overflow:hidden}.dreamill .library-picker .resource-card p{color:var(--dm-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;align-self:start;max-height:4.2em;margin:4px 0 0;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.dreamill .library-picker .resource-card.is-book{gap:10px;max-height:104px}.dreamill .library-picker .resource-card.is-book .book-cover{flex-basis:60px;width:60px;height:82px;margin:0}.dreamill .library-picker .resource-card.is-idea-still .book-cover{aspect-ratio:9/16;-o-object-fit:cover;object-fit:cover;flex:0 0 46px;width:46px;height:auto;max-height:82px;margin:0}.dreamill .library-picker .book-copy{gap:4px}.dreamill .library-picker .book-copy h3{width:100%}@media (width<=640px){.dreamill .library-picker .sized-cards{grid-template-columns:minmax(0,1fr)}}.dreamill .library-picker .resource-card{position:relative}.dreamill .library-picker-card-actions{z-index:2;opacity:0;pointer-events:none;gap:4px;transition:opacity .12s;display:flex;position:absolute;top:6px;right:6px}.dreamill .library-picker .resource-card:focus-within .library-picker-card-actions,.dreamill .library-picker .resource-card:hover .library-picker-card-actions,.dreamill .library-picker-card-actions.is-open{opacity:1;pointer-events:auto}.dreamill .library-picker-card-actions .element-icon{background:color-mix(in srgb, var(--panel) 88%, transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);justify-content:center;width:28px;height:28px;padding:0}.dreamill .library-picker .resource-card:has(.library-picker-card-actions.is-open){z-index:6;overflow:visible}.dreamill .library-picker-card-actions .confirm-popover{cursor:default;width:230px;top:calc(100% + 4px);left:auto;right:0}.dreamill .library-picker-edit{flex:1;gap:14px;min-height:0;margin-top:10px;display:flex;overflow:auto}.dreamill .library-picker-edit img{-o-object-fit:cover;object-fit:cover;background:#111;border-radius:8px;flex:none;width:120px;height:160px}.dreamill .library-picker-edit-fields{flex:1;align-content:start;gap:10px;min-width:0;display:grid}.dreamill .library-picker-edit-fields textarea{resize:vertical}@media (width<=640px){.dreamill .library-picker-edit{flex-direction:column}.dreamill .library-picker-edit img{width:90px;height:120px}}.dreamill .library-picker-images{flex-direction:column;align-items:stretch;gap:8px;display:flex}.dreamill .library-picker-images img{aspect-ratio:9/16;border:1px solid var(--line);-o-object-fit:cover;object-fit:cover;background:#1c1814;border-radius:8px;width:100%;max-height:min(52vh,420px);display:block}.dreamill .library-picker-include{min-width:0;color:var(--dm-muted);align-items:flex-start;gap:8px;margin:0;font-size:13px;line-height:1.45;display:inline-flex}.dreamill .library-picker-include input{flex:none;margin-top:3px}.dreamill .library-picker .library-picker-script-body{border:1px solid var(--line);color:#2e2b29;background:#fff;border-radius:10px;padding:10px 14px 16px;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,PingFang SC,Microsoft YaHei,sans-serif;font-size:15px;line-height:1.65}.dreamill .library-picker .library-picker-script-body p{margin:0 0 .75em}.dreamill .library-picker .library-picker-script-body p:last-child{margin-bottom:0}.dreamill .library-picker .library-picker-script-body strong{font-weight:600}.dreamill .book-reader-text:not(.library-picker-script-body) p[data-dm-note],.dreamill .epub-page p[data-dm-note]{color:var(--dm-muted);border-left:3px solid #6ea8ff;padding-left:10px}.dreamill .resource-meta .tag.is-collection{border-color:color-mix(in srgb, var(--accent) 45%, var(--line));color:var(--accent)}.dreamill .idea-reference-images{flex-wrap:wrap;gap:8px;display:flex}.dreamill .idea-reference-image{position:relative}.dreamill .idea-reference-image img{border:1px solid var(--line);-o-object-fit:cover;object-fit:cover;border-radius:8px;max-width:200px;height:96px;display:block}.dreamill .idea-reference-image button{color:#fff;background:#000000b3;border:0;border-radius:999px;place-items:center;width:20px;height:20px;padding:0;font-size:13px;line-height:1;display:grid;position:absolute;top:4px;right:4px}
