/* CutRebel studio: compact navigation, large previews, focused tool sheets. */
.start-actions{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;margin:28px 0 22px}.start-actions button{min-height:150px;display:flex;flex-direction:column;gap:16px;background:#272023;border:1px solid #573137;border-radius:18px}.start-actions .start-new{background:#ff5b62;color:#251014;border:0}.start-actions svg{width:34px;height:34px;stroke-width:2}.start-actions strong{font-size:20px;font-weight:650}.recent-rail{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:0 0 10px}.recent-tile{position:relative;flex:0 0 100px;width:100px;height:100px;padding:0;overflow:hidden;border-radius:14px;background:#26272b}.recent-tile img{width:100%;height:100%;object-fit:cover}.recent-tile span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#080a0ce8);padding:20px 7px 7px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.recent-all{flex:0 0 80px;flex-direction:column;font-size:11px;color:#b3b7bf;background:#202328;border-radius:14px}.home-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 12px;margin:35px 0}.home-shortcuts button{min-height:100px;flex-direction:column;gap:14px;font-size:14px}.home-shortcuts svg{width:30px;height:30px;stroke-width:1.7}.home-nav button{gap:8px}.home-nav svg{width:21px;height:21px}.library-close{margin-left:auto;width:44px;height:44px}.tool-sheet{position:fixed;right:18px;top:150px;width:350px;max-height:calc(100dvh - 180px);background:#1b1d20;border:1px solid #393c42;border-radius:18px;z-index:14;box-shadow:0 12px 60px #0008;display:flex;flex-direction:column;overflow:hidden}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid #33363b;flex-shrink:0;min-height:62px}.sheet-head h2{font-size:18px}.sheet-head button{width:44px;height:44px;color:var(--accent)}.sheet-head svg{width:26px;height:26px}.sheet-content{overflow:auto;padding:16px;overscroll-behavior:contain}.sheet-chips{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px;font-size:12px;color:#959da6}.selected-chip{color:var(--accent);border-bottom:2px solid var(--accent);padding:8px 0}.look-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}.look-option{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:8px;overflow:hidden;border-radius:10px;min-width:0;background:none}.look-option canvas{aspect-ratio:1;width:100%;height:auto;object-fit:cover;border:2px solid transparent;border-radius:10px;background:#292b30}.look-option.chosen canvas{border-color:var(--accent)}.look-option span{font-size:12px;min-height:30px;display:flex;align-items:center;justify-content:center;z-index:1;background:#1b1d20}.look-option.chosen span{color:var(--accent)}.format-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0 22px}.format-option{flex-direction:column;gap:14px;min-height:110px;border:1px solid #42454b}.format-option>span{display:block;border:2px solid currentColor;max-width:38px;max-height:55px;width:36px}.format-option.chosen{border-color:var(--accent);color:var(--accent)}.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px}.action-grid button{flex-direction:column;gap:12px;min-height:90px;font-size:12px;padding:10px 4px}.action-grid svg{width:26px;height:26px}.text-style-grid{display:grid;gap:12px;margin-bottom:20px}.text-style-grid button{min-height:66px;background:#272a2f;font-size:22px;font-weight:750}.text-style-grid button:last-child{font-size:14px;letter-spacing:3px}.caption-styles{display:flex;gap:8px;margin-bottom:20px}.caption-styles button{flex:1;border:1px solid #494d55;min-height:65px;font-size:12px}.caption-styles button:nth-child(2){background:#a82e39}.caption-form label{font-size:13px}.caption-form textarea{width:100%;margin:10px 0 16px;min-height:80px;font-size:16px}.caption-form .field-row{margin-bottom:16px}.caption-list{margin-top:20px}.caption-list button{width:100%;justify-content:flex-start;text-align:left;flex-wrap:wrap;border-bottom:1px solid #383c42;padding:14px 0}.caption-list small{width:100%}.caption-list span{flex:1}.sheet-note{font-size:14px;line-height:1.6;color:#a6abb3}#voiceStatus{padding-top:16px;color:var(--accent)}.mobile-history{display:none}.timeline-add-media{width:40px;min-height:40px;background:#eee;color:#17191b;flex-shrink:0;margin-left:8px}.track-add{min-height:36px;padding:4px 12px;color:#8c939e;font-size:12px;justify-content:flex-start}.track-add svg{width:14px}.overlay-clip{background:#564a34}.overlay-thumb{position:absolute;left:0;top:0;width:70px;height:100%;object-fit:cover;opacity:.7}.tools{overflow-y:auto}.tool{flex-shrink:0}.inspector .field-row{flex-wrap:wrap}.inspector .field{min-width:80px;flex:1}.media-picker{max-width:780px;width:95vw;padding:0;overflow:hidden}.picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px}.picker-head h2{font-size:18px}.picker-head>button:first-child{width:44px;height:44px;flex-shrink:0}.picker-head .quiet{font-size:13px;min-height:44px}.picker-tabs{display:flex;gap:25px;border-bottom:1px solid #35383d;padding:0 18px}.picker-tabs button{min-height:48px;border-radius:0;color:#969da7}.picker-tabs button.active{color:var(--accent);border-bottom:2px solid var(--accent)}.picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;overflow:auto;max-height:58dvh;min-height:180px}.picker-cell{position:relative;aspect-ratio:1;border-radius:0;padding:0;overflow:hidden;border:2px solid transparent}.picker-cell canvas{width:100%;height:100%;object-fit:cover}.picker-cell.chosen{border-color:var(--accent)}.pick-check{position:absolute;top:8px;right:8px;border:2px solid #fff;box-shadow:0 1px 5px #0008;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;font-size:12px;background:#0004}.chosen .pick-check{background:var(--accent);border-color:var(--accent);color:#210d11}.pick-duration{position:absolute;bottom:23px;right:7px;font-size:12px;text-shadow:0 1px 4px #000}.pick-name{position:absolute;bottom:0;left:0;right:0;font-size:10px;background:#111b;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:5px}.picker-footer{display:flex;align-items:center;justify-content:space-between;padding:16px;gap:10px;border-top:1px solid #35383d}.picker-footer>span{font-size:13px;color:#a7aeb8}.picker-footer button{min-height:46px}.picker-empty{grid-column:1/-1;padding:30px;text-align:center}dialog::backdrop{background:#000a}.template-card{border-radius:12px}.template-card>span>span{display:none}.template-card small{font-size:10px}.template-card strong{font-size:18px}.template-grid{gap:14px}.project-heading h1{font-size:28px}.project-controls .select-wrap{min-width:160px}.template-card canvas{height:280px}.template-card>span{padding:12px}
@media(min-width:621px){.tools{gap:3px;padding-top:8px}.tool{height:54px}.tool svg{width:21px;height:21px}.timeline-toolbar{gap:5px}.timeline-name{display:none}}
@media(max-width:620px){
 body[data-screen=editor] header{padding-left:10px;padding-right:10px;gap:6px}.project-title{flex:1;min-width:0}.project-title input{width:100%;max-width:100%;font-size:12px;padding:4px}.brand{letter-spacing:.5px}body[data-screen=editor] .brand{font-size:12px;gap:3px}.header-actions{gap:0}.header-actions .primary{padding:10px 12px;font-size:12px}.home-back{width:34px;min-width:34px}body[data-screen=editor] .home-back{font-size:25px}
 body[data-screen=home] .home-screen{padding:0 16px 112px}.home-nav{padding-bottom:max(12px,env(safe-area-inset-bottom));background:#191b1e}.home-nav button{flex-direction:column;gap:6px;font-size:11px;min-height:58px;padding:5px 15px;border-bottom:0!important}.home-nav button.active{color:var(--accent)}.home-nav svg{width:25px;height:25px}.start-actions{gap:10px;margin:20px 0}.start-actions button{min-height:136px;border-radius:16px;gap:12px}.start-actions strong{font-size:16px}.start-actions svg{width:30px;height:30px}.recent-tile{flex-basis:80px;width:80px;height:84px;border-radius:12px}.recent-all{flex-basis:70px}.recent-rail{gap:9px;margin-right:-16px;padding-right:16px}.home-shortcuts{margin:24px 0;gap:18px 8px}.home-shortcuts button{font-size:12px;min-height:92px;gap:12px}.home-shortcuts svg{width:29px;height:29px}.template-grid{grid-template-columns:1fr 1fr;gap:16px 12px;margin-top:20px}.template-card canvas{height:230px}.template-card>span{padding:10px}.template-card strong{font-size:15px;line-height:1.3;margin:8px 0 0}.template-card small{font-size:9px}.home-section-heading h1{font-size:26px}.project-heading{padding-top:4px}.project-heading .primary{font-size:12px;padding:9px}.project-controls{gap:8px;margin-top:18px}.project-controls input{padding:10px;font-size:16px}.project-controls .select-wrap{min-width:145px;max-width:47%}.project-controls select{font-size:12px;padding-left:10px;padding-right:42px}.project-open{gap:12px}.project-open img{width:72px;height:76px}.project-open strong{font-size:15px}.project-open small{font-size:11px}.project-row{padding:12px 0}.project-tabs{gap:16px}.project-tabs button{font-size:13px}
 body[data-mode=detail][data-screen=editor] .workflow{height:38px;min-height:38px;padding:0;gap:8px}.workflow .step{font-size:11px;min-height:36px;padding:4px 8px}.workflow .step>span{width:21px;height:21px;font-size:10px}body[data-mode=detail][data-screen=editor] main{height:calc(100dvh - 102px - env(safe-area-inset-top));display:flex;flex-direction:column;overflow:hidden}
 body[data-mode=detail] .viewer{flex:1;min-height:130px;order:0}.viewer-heading{padding:5px 12px;font-size:11px;min-height:42px}.viewer-heading select{font-size:11px;min-height:36px;padding-top:7px;padding-bottom:7px}.stage{padding:5px 14px;min-height:0}.stage-badge,.viewer-caption{display:none!important}.transport{padding:0 10px;min-height:46px}.timecode{font-size:10px}.playback{left:50%;gap:0}.playback #previous,.playback #next{display:none}.transport>button{margin-right:82px}.mobile-history{display:flex;position:absolute;right:6px;gap:0}.mobile-history button{width:38px;min-height:44px;padding:8px}.mobile-history svg{width:20px;height:20px}
 body[data-mode=detail] .timeline{order:1;height:242px;flex:0 0 242px;min-height:0;border-top:1px solid #303338}.timeline-toolbar{height:44px;padding:0 8px;gap:4px}.edit-actions{gap:0}.edit-actions button{width:32px;min-height:40px;padding:7px}.edit-actions svg{width:18px;height:18px}.divider{margin:0 2px}.zoom-controls{margin-left:auto;gap:2px}.zoom-controls input{width:45px}.zoom-controls button{padding:3px;font-size:10px}.timeline-add-media{margin-left:2px;width:32px;min-height:32px;padding:5px}.timeline-viewport{grid-template-columns:42px minmax(0,1fr);min-height:0;overflow:hidden;flex:1}.timeline-scroll{overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y}.tracks{padding-top:29px;min-height:0;padding-bottom:4px}.timeline-track-labels{padding-top:29px}.track{height:43px;margin-bottom:5px}.fixed-track-label{height:43px;margin-bottom:5px;padding-left:10px}.fixed-track-label svg{width:18px;height:18px}.clip{height:41px;border-radius:6px}.clip .clip-name{font-size:9px;top:5px}.clip .clip-length{font-size:9px;bottom:4px}.clip.text-clip{height:31px;top:5px}.clip.audio-clip{height:32px;top:5px}.clip.overlay-clip{height:36px;top:2px}.ruler span{font-size:10px}.playhead{top:21px;bottom:0}.track-add{font-size:11px;padding:4px 8px}.track-add svg{width:13px}.timeline footer{display:none}
 body[data-mode=detail] .tools{display:flex;order:2;position:relative;flex:0 0 auto;flex-direction:row;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;gap:0;width:100%;height:calc(76px + env(safe-area-inset-bottom));padding:3px 6px max(7px,env(safe-area-inset-bottom));border-top:1px solid #33363c;scrollbar-width:none;overscroll-behavior-x:contain}.tool{width:76px;min-width:76px;flex:0 0 76px;min-height:65px;height:65px;font-size:10px;gap:7px;border-radius:0;padding:7px 3px}.tool svg{width:26px;height:26px}.tool.active{background:none}.tool.active:after{content:'';height:3px;width:19px;background:var(--accent);border-radius:3px;position:absolute;bottom:3px}.tool{position:relative}
 .tool-sheet{top:auto;left:0;right:0;bottom:calc(76px + env(safe-area-inset-bottom));width:100%;max-height:min(52dvh,480px);border-radius:18px 18px 0 0;border:1px solid #3b3e44;box-shadow:0 -12px 45px #0007}.sheet-content{padding:14px 16px 18px}.sheet-head{padding:8px 15px;min-height:58px}.sheet-head h2{font-size:18px}.look-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 10px}.look-option span{font-size:10px;min-height:29px}.look-option canvas{border-radius:10px}.sheet-chips{margin-bottom:14px;font-size:11px}.sheet-chips button{font-size:12px}.action-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 5px}.action-grid button{font-size:10px;min-height:84px;gap:12px}.action-grid svg{width:25px;height:25px}.caption-styles button{font-size:11px;min-height:58px}.caption-form .field-row{flex-wrap:nowrap}.caption-form .field{min-width:0;flex:1}.caption-form input{font-size:16px}.format-grid{gap:8px}.format-option{font-size:13px}.inspector{bottom:calc(76px + env(safe-area-inset-bottom));max-height:54dvh}.inspector .panel-heading{min-height:58px}.inspector .panel-heading h2{font-size:18px}.inspector-close{border:0;background:none}.library{bottom:calc(76px + env(safe-area-inset-bottom))}
 dialog.media-picker{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#151719}dialog.media-picker #modalBody{height:100%;display:flex;flex-direction:column}.picker-head{padding:8px 12px;min-height:62px}.picker-head h2{font-size:17px}.picker-head .quiet{font-size:12px;padding:8px}.picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;min-height:0;flex:1;align-content:start;gap:2px}.picker-tabs{gap:32px;padding:0 16px}.picker-cell{aspect-ratio:1;min-height:0}.pick-check{width:23px;height:23px;top:6px;right:6px}.picker-footer{min-height:80px;padding:14px 16px}.picker-footer button{font-size:14px}.pick-name{font-size:9px}.pick-duration{font-size:11px}
}
@media(max-width:620px) and (max-height:720px){body[data-mode=detail] .timeline{height:212px;flex-basis:212px}.tool-sheet{max-height:47dvh}.viewer-heading{min-height:36px}.transport{min-height:42px}.tool{height:61px}.tools{height:70px}}

.look-option{position:relative}.look-option.chosen canvas{border-color:transparent}.look-option.chosen:after{content:'';position:absolute;top:0;left:0;width:100%;aspect-ratio:1;border:2px solid var(--accent);border-radius:10px;pointer-events:none;box-sizing:border-box}
@media(max-width:620px){body.sheet-open[data-mode=detail] .viewer{flex:0 0 max(150px,calc(100dvh - 102px - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - var(--sheet-height,300px)))}body.sheet-open[data-mode=detail] .timeline{flex:1;min-height:0}}

.timeline-track-labels{overflow:hidden}
@media(max-width:620px){body[data-mode=detail] .timeline.has-overlays{height:290px;flex-basis:290px}body.inspector-open[data-mode=detail] .viewer{flex:0 0 max(150px,calc(100dvh - 102px - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom) - var(--inspector-height,350px)))}body.inspector-open[data-mode=detail] .timeline{flex:1;min-height:0}}

@media(min-width:621px){.has-overlays .tracks{min-height:0}.has-overlays .track,.has-overlays .fixed-track-label{height:42px;margin-bottom:3px}.has-overlays .clip{height:40px}.has-overlays .text-clip{height:30px;top:4px}.has-overlays .audio-clip{height:32px;top:4px}}

.effect-controls{margin-top:22px;border-top:1px solid #363a40;padding-top:18px}.effect-controls .field{flex:1;min-width:0}.effect-controls .field-row{gap:12px}.effect-controls input[type=number],.effect-controls select{font-size:16px;min-height:44px}.effect-controls select{padding-right:42px}.effect-controls input[type=range]{min-height:36px;background:linear-gradient(90deg,#db555e,#513034) center/100% 4px no-repeat}.effect-controls .select-wrap{width:100%}
.beat-template{padding:8px 0}.beat-file{display:flex;width:100%;text-align:left;justify-content:flex-start;gap:14px;background:#25282d;border:1px solid #3d4149;padding:16px;border-radius:12px;margin-bottom:14px;min-height:82px}.beat-file>svg{width:25px;height:25px;flex-shrink:0;color:var(--accent)}.beat-file>span{min-width:0;flex:1}.beat-file strong{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.beat-file small{display:block;margin-top:7px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.beat-template .field-row{margin:22px 0;flex-wrap:nowrap}.beat-template .field{min-width:0;flex:1}.beat-template select{font-size:14px;padding-right:44px;min-height:46px}.beat-original{display:flex;align-items:center;gap:12px;font-size:14px;min-height:44px}.beat-original input{width:20px;height:20px;accent-color:var(--accent)}.beat-note{font-size:12px;line-height:1.6;color:#929aa5}.beat-template #beatStatus{font-size:13px;line-height:1.6;color:var(--accent);margin:14px 0}.beat-template .primary{font-size:14px;min-height:50px}.beat-marker{position:absolute;top:20px;width:2px;height:8px;background:#ffb1b5;margin:0;pointer-events:none;border-radius:1px}

.pixabay-source{display:inline-flex;align-items:center;min-height:44px;color:var(--accent);font-size:13px;text-decoration:none}.pixabay-source:hover{text-decoration:underline}
.template-poster{position:relative;height:320px;overflow:hidden;background:#25252a;isolation:isolate}.template-poster img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.template-card:hover img{transform:scale(1.04)}.template-poster:after{content:'';position:absolute;inset:0;background:linear-gradient(#0002,#0000 25%,#0009);z-index:0}.template-poster b{position:absolute;left:16px;right:10px;bottom:27px;font-size:38px;font-weight:900;line-height:.95;letter-spacing:-1.6px;white-space:pre-line;z-index:1;text-align:left;color:#fff}.poster-social b{color:#ff646b;font-style:italic;font-size:46px}.poster-minimal b{font-family:Georgia,serif;font-weight:400;letter-spacing:-2px;font-size:46px}.template-poster em{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:5px;font-size:9px;letter-spacing:1px;font-style:normal;color:#fff;background:#0006;padding:6px 8px;border-radius:20px;z-index:1}.template-poster em svg{width:12px;height:12px}.profile-heading{padding:32px 0 24px;text-align:center}.profile-avatar{margin:auto;width:78px;height:78px;display:grid;place-items:center;border-radius:50%;background:#ff5b6226;border:1px solid #ff5b6255;color:var(--accent);font-size:26px;font-weight:750}.profile-heading h1{font-size:25px;margin:14px 0 5px}.profile-heading>span,.profile-local{font-size:13px;color:#989da6}.profile-card{max-width:650px;margin:0 auto 18px;background:#202328;border:1px solid #34373e;border-radius:16px;padding:18px}.profile-card label{display:block;font-size:13px;margin-bottom:10px}.profile-name-row{display:flex;gap:10px}.profile-name-row input{min-width:0;flex:1;font-size:16px}.profile-stats{display:flex;justify-content:center;gap:60px;margin:25px 0}.profile-stats div{display:flex;flex-direction:column;gap:5px;text-align:center}.profile-stats strong{font-size:23px}.profile-stats span{font-size:12px;color:#969ca6}.profile-actions{padding:5px 16px}.profile-actions button{width:100%;justify-content:flex-start;gap:14px;min-height:60px;border-radius:0;border-bottom:1px solid #34373e}.profile-actions button:last-child{border:0}.profile-actions button>span{flex:1;text-align:left}.profile-actions svg{width:22px;height:22px;color:var(--accent)}.profile-actions svg:last-child{width:15px;color:#9096a0}.profile-local{text-align:center;margin:22px 0}.photo-credits{font-size:12px;color:#949ba5;max-width:650px;margin:24px auto}.photo-credits a{color:#b0b6bf}.auto-caption-button{margin-bottom:18px;min-height:48px}.auto-caption-options{display:grid;gap:16px;margin:20px 0}.auto-caption-options select{width:100%}.caption-progress{min-height:42px;color:var(--accent);font-size:14px;line-height:1.5}.auto-caption-options label{display:block;margin-bottom:8px;font-size:13px}
@media(max-width:760px){.home-nav{gap:0}.home-nav button{flex:1;padding:5px 4px}.template-poster{height:260px}.template-poster b{font-size:29px;left:12px}.poster-social b,.poster-minimal b{font-size:36px}.template-poster em{left:9px;top:10px;font-size:8px;padding:5px 7px}.profile-card{padding:14px}.profile-name-row .primary{padding:10px}.profile-actions button{font-size:14px}.profile-heading{padding-top:24px}}
.template-card small{color:#c4a3a7}.app-splash{position:fixed;inset:0;z-index:10000;background:#101214;display:grid;place-items:center;animation:splash-out 2s linear forwards}.splash-brand{display:flex;flex-direction:column;align-items:center;gap:17px}.splash-brand img{animation:logo-breathe 1s ease-in-out infinite}.splash-brand strong{font-size:28px;letter-spacing:-1px}.splash-loader{width:40px;height:3px;background:#ff5b6233;border-radius:10px;overflow:hidden}.splash-loader:after{content:'';display:block;width:50%;height:100%;background:#ff5b62;animation:logo-load .8s ease-in-out infinite alternate}@keyframes splash-out{0%,90%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none}}@keyframes logo-breathe{50%{transform:scale(1.06);opacity:.65}}@keyframes logo-load{to{transform:translateX(100%)}}@media(prefers-reduced-motion:reduce){.splash-brand img,.splash-loader:after{animation:none}}
/* Editor controls behave as app controls, including iOS long presses. */
html,body,body *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea,[contenteditable=true],[contenteditable=true] *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}img,canvas,svg{-webkit-user-drag:none}button,a,label{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}
.effect-type-tabs{display:flex;gap:6px;margin:-2px -4px 20px;padding-bottom:14px;border-bottom:1px solid #36393e}.effect-type-tabs button{flex:1;min-width:0;min-height:68px;flex-direction:column;gap:10px;font-size:12px;padding:6px 2px;color:#a1a6ae}.effect-type-tabs svg{width:28px;height:28px}.effect-type-tabs button.active{color:var(--accent);background:#ff5b620e;border-radius:9px}.body-target{display:flex;align-items:center;gap:16px;justify-content:space-between;margin:12px 0}.body-target label{font-size:13px}.body-target select{max-width:220px;width:100%;padding-right:44px}.body-hint{font-size:12px;line-height:1.6;color:#a4a9b1;margin:12px 0 20px}.body-effect-cover{width:100%;aspect-ratio:1;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 90%,#51313a,#20232a 75%);border:2px solid transparent;border-radius:11px}.body-effect-cover svg{width:62%;height:62%;color:#c8ced8;stroke-width:1.1}.chosen .body-effect-cover{border-color:var(--accent)}.body-outline svg{color:#ff777e;filter:drop-shadow(0 0 3px #ff4c69)}.body-aura svg{color:#ff7389;filter:drop-shadow(0 0 10px #ff254b)}.body-color svg{color:#78d4ff;filter:drop-shadow(3px 0 3px #ff5b62)}.body-negative{background:#ddd5c7}.body-negative svg{color:#1d252c}#bodyGrid{margin:20px 0}.body-look span{min-height:32px}
.template-categories{display:flex;gap:8px;overflow-x:auto;margin:18px 0 22px;padding-bottom:4px;scrollbar-width:none}.template-categories button{min-height:42px;flex-shrink:0;padding:8px 18px;border:1px solid #3b3d44;border-radius:24px;color:#b4b8c0}.template-categories button.active{background:#ff5b62;color:#210d10;border-color:#ff5b62}.poster-night b{font-style:italic;color:#b5a6ff}.poster-golden b{font-family:Georgia,serif;font-weight:400;color:#ffe4b4}.poster-concert b{font-style:italic;color:#ff686f}.poster-fashion b{font-size:30px;letter-spacing:-1px}.poster-food b{font-family:Georgia,serif;font-size:45px;font-weight:400;color:#fff2d2}.poster-sport b{font-size:50px;font-style:italic;color:#d7ff68}.poster-retro b{font-family:Georgia,serif;font-style:italic;color:#ffe4ca}.poster-retro img{filter:sepia(.5)}.poster-soft b{font-family:Georgia,serif;font-weight:400;color:#ecf0de}.poster-soft img{filter:saturate(.65)}
@media(max-width:760px){.poster-fashion b{font-size:25px}.poster-food b{font-size:35px}.poster-sport b{font-size:39px}.template-categories{margin-bottom:10px}}
.subtitle-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 22px}.subtitle-style-option{padding:0;flex-direction:column;align-items:stretch;gap:8px;min-width:0;background:none}.subtitle-style-option canvas{width:100%;height:auto;aspect-ratio:400/170;border:2px solid #363941;border-radius:10px}.subtitle-style-option.chosen canvas{border-color:var(--accent)}.subtitle-style-option span{font-size:12px;color:#afb5bf;min-height:22px}.subtitle-style-option.chosen span{color:var(--accent)}.subtitle-style-heading{font-size:14px;font-weight:650;margin:12px 0}.subtitle-style-section{margin-bottom:24px}
.timeline-lane-actions{display:flex;align-items:center;gap:8px;padding:5px 12px;border-bottom:1px solid #34373d;min-height:39px;flex-shrink:0}.timeline-lane-actions button{font-size:11px;min-height:30px;padding:5px 10px;background:#262930;border:1px solid #3a3d44;border-radius:7px}.timeline-take{touch-action:none!important}.timeline-take:active{cursor:grabbing}.take-trim{position:absolute;top:0;bottom:0;width:10px;z-index:5;background:#ffffff10;touch-action:none}.trim-left{left:0;cursor:ew-resize}.trim-right{right:0;cursor:ew-resize}.take-trim:after{content:'';position:absolute;top:30%;bottom:30%;width:2px;background:#fff7;left:4px}.take-dragging{opacity:.85;z-index:20;box-shadow:0 6px 22px #0009;overflow:visible}.take-fade{position:absolute;top:0;height:100%;pointer-events:none;background:#ffffff35;border-top:1px solid #fff9}.fade-in{left:0;clip-path:polygon(0 0,100% 100%,0 100%)}.fade-out{right:0;clip-path:polygon(0 100%,100% 0,100% 100%)}.take-title{font-size:14px;overflow-wrap:anywhere;margin:0 0 18px}.crossfade-controls{border-top:1px solid #3c3f46;margin-top:24px;padding-top:14px}.crossfade-controls h3{font-size:14px;margin-bottom:18px}.crossfade-controls .quiet{margin-top:12px}.timeline-track-labels .fixed-track-label span:last-child{display:inline!important;font-size:10px}.timeline-track-labels .fixed-track-label{gap:8px}.timeline .clip-length{pointer-events:none}.timeline-take.text-clip .clip-length{display:none}
@media(max-width:760px){body.timeline-multi[data-mode=detail] .timeline{height:320px;min-height:250px}.timeline-lane-actions{gap:7px;padding:5px 8px}.timeline-lane-actions button{font-size:11px;padding:5px 9px}.timeline-track-labels .fixed-track-label{padding-left:8px;gap:4px}.timeline-track-labels svg{width:14px}.tool-sheet #takeStart,.tool-sheet #takeFadeIn,.tool-sheet #takeFadeOut,.tool-sheet #takeCrossfade{font-size:16px}.take-trim{width:12px}.take-trim:after{left:5px}}
.take-trim{height:auto;border-radius:0;margin:0}.take-fade{border-radius:0;margin:0}@media(max-width:760px){.timeline-lane-actions button{min-height:40px}}
#templatePreview{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#0b0c0e;overflow:hidden;z-index:60}#templatePreview[open]{display:flex;flex-direction:column}.template-preview-header{height:68px;min-height:68px;display:flex;gap:15px;padding:10px 20px;border:0;background:#0b0c0e;justify-content:flex-start}.template-preview-header button{width:48px;height:48px;flex-shrink:0}.template-preview-header svg{width:26px;height:26px}.template-preview-header strong{font-size:18px;flex:1}.template-preview-header>span{color:#a4aab4;font-size:13px}.template-preview-stage{position:relative;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;padding:0 18px;overflow:hidden}.template-preview-stage canvas{display:block;max-width:100%;max-height:100%;width:auto;height:100%;object-fit:contain}.template-preview-stage #templatePreviewLoading{position:absolute;color:#b8bdc6;font-size:13px}.template-preview-bottom{flex-shrink:0;background:linear-gradient(#101114,#141619);padding:10px 24px max(20px,env(safe-area-inset-bottom));width:100%;max-width:780px;margin:0 auto}.template-preview-transport{display:flex;align-items:center;gap:12px}.template-preview-transport button{width:44px;height:44px;flex-shrink:0}.template-preview-transport>span{font-size:12px;color:#a5abb5;font-variant-numeric:tabular-nums}.template-preview-transport input{margin:0;min-width:50px;flex:1}.template-preview-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:12px 0 18px}.template-preview-meta>strong{font-size:20px;width:100%}.template-preview-meta>span{font-size:13px;color:#d5d9df}.template-preview-meta>small{font-size:11px;color:#929aa7;width:100%}.template-preview-bottom>.primary{min-height:54px;font-size:17px;border-radius:12px}@media(max-width:760px){.template-preview-header{height:62px;min-height:62px;padding:7px 12px}.template-preview-stage{padding:0}.template-preview-bottom{padding-left:16px;padding-right:16px}.template-preview-meta{margin:6px 0 14px}.template-preview-meta>strong{font-size:20px}}

.profile-settings{display:flex;margin-left:auto;align-items:center;justify-content:center;width:48px;height:48px}.settings-page{max-width:680px;margin:auto;padding:8px 4px 32px}.settings-heading{display:flex;align-items:center;gap:16px;margin-bottom:28px}.settings-heading button{width:48px;height:48px;display:grid;place-items:center}.settings-heading h1{font-size:24px;margin:0}.settings-page h2{font-size:19px;margin:28px 0 12px;color:var(--accent,#ff5b62)}.settings-page form{padding:12px 0 20px}.settings-page form>label{display:block;margin-bottom:10px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;width:100%;padding:14px 16px;border:0;border-bottom:1px solid #303438;border-radius:0;background:transparent;text-align:left;font-size:16px}.settings-row svg{width:22px;height:22px;flex-shrink:0}.settings-row input[role=switch]{appearance:none;flex-shrink:0;width:50px;height:30px;border-radius:18px;background:#484b50;position:relative;cursor:pointer}.settings-row input[role=switch]:before{content:'';position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:white}.settings-row input:checked{background:#ff5b62}.settings-row input:checked:before{left:23px}.settings-version{font-size:13px;color:#969ba2;text-align:center;margin-top:30px}.reduce-motion *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
html,body{overscroll-behavior:none}.timeline-scroll,.sheet-content,.home-screen,.library,.inspector,.tools,.storyboard,.recent-rail,dialog{overscroll-behavior:none}.timeline-scroll{scrollbar-width:none}.timeline-scroll::-webkit-scrollbar{display:none}.timeline-track-labels{overscroll-behavior:none}

.adjust-tabs,.adjust-options{display:flex;gap:8px;overflow-x:auto;overscroll-behavior:none;padding-bottom:12px}.adjust-tabs button,.adjust-options button{flex-shrink:0;min-height:44px;padding:10px 14px;border:1px solid #41454c}.adjust-tabs .active,.adjust-options .active{color:#ff5b62;border-color:#ff5b62}.adjust-clip{font-size:13px;color:#aab0b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.adjust-range{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:20px 0;font-size:15px}.adjust-range input{width:100%;min-height:32px;accent-color:#ff5b62}.adjust-colors{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.adjust-colors button{width:36px;height:36px;background:var(--swatch);border-radius:50%;border:3px solid transparent}.adjust-colors button.active{border-color:white}.curve-preview{width:100%;height:150px;margin-top:16px;background:#121416}.color-wheel{height:110px;width:110px;margin:20px auto;border-radius:50%;background:conic-gradient(red,yellow,lime,cyan,blue,magenta,red);mask-image:radial-gradient(circle,transparent 30%,black 32%)}.adjust-reference{display:block;margin:24px 0 12px}#adjustControls>.wide{margin-bottom:12px}
.all-tools-heading{display:flex;justify-content:space-between;align-items:center}.all-tools-heading button{width:48px;height:48px}.all-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 8px;margin-bottom:26px}.all-tools-grid button{min-height:90px;display:flex;flex-direction:column;gap:12px;font-size:13px;padding:8px 3px}.all-tools-grid svg{width:28px;height:28px}.home-shortcuts button svg{box-sizing:content-box;padding:16px;background:#24272c;border-radius:50%}
.adjust-range input[type=range]{height:32px;padding:0;background:transparent;border:0}.adjust-range input[type=range]::-webkit-slider-runnable-track{height:5px;background:#555b63;border-radius:3px}.adjust-range input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-8px;border:3px solid #ff5b62;border-radius:50%;background:#1b1d20}

.lut-info{padding:18px 0;overflow-wrap:anywhere}.lut-info strong,.lut-info small{display:block}.lut-info small{margin-top:8px;color:#aab0b8}.lut-info+label{padding-left:0;padding-right:0}

.video-filter-categories{display:flex;gap:8px;overflow-x:auto;overscroll-behavior:none;margin:16px 0 24px;padding-bottom:8px}.video-filter-categories button{flex-shrink:0;min-height:44px;padding:10px 14px;border:1px solid #3b4047;border-radius:22px}.video-filter-categories .active{color:#ff5b62;border-color:#ff5b62;background:#ff5b6210}.video-filter-grid{margin-top:22px}#videoFilterStrength{width:100%;accent-color:#ff5b62;margin:12px 0 8px}

.template-music-player{width:100%;margin:12px 0}.beat-template>label[for=templateMusicTrack]{display:block;margin:16px 0 10px}#templateSound{min-height:40px;padding:8px 12px;font-size:13px}
#soundSearch{width:100%;min-height:48px;font-size:16px;padding:12px 14px;background:#24272c;border:1px solid #444950;border-radius:12px}.sound-count{font-size:13px;color:#9da5ae;margin:8px 0}.sound-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #363b41}.sound-preview,.sound-add{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;min-height:46px;border:1px solid #41474e;border-radius:50%}.sound-preview{background:#ff5b6215;color:#ff5b62}.sound-add{color:#ff5b62}.sound-row svg{width:22px;height:22px}.sound-info{flex:1;min-width:0}.sound-info strong{display:block;font-size:15px}.sound-info>span{display:block;font-size:12px;color:#9da5ae;margin-top:5px}.sound-wave{display:flex;align-items:center;gap:2px;height:23px;margin-top:6px;overflow:hidden}.sound-wave i{position:static;width:3px;flex:1;max-width:4px;flex-shrink:0;border-radius:2px;background:#a7757a}.sound-categories{margin-bottom:8px}#soundStatus{min-height:40px}
.sound-wave i{margin:0;min-width:2px;flex:1 0 2px}

.subtitle-style-option canvas{aspect-ratio:480/220}.subtitle-style-option span{font-size:13px;min-height:28px}.subtitle-style-grid{gap:14px 12px}

/* Fullscreen preview: use the same live canvas and playback controls on all devices. */
#fullscreenPreview{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:#08090b;color:#eee;overflow:hidden;box-sizing:border-box}
#fullscreenPreview[open]{display:flex;flex-direction:column}
#fullscreenPreview::backdrop{background:#08090b}
#fullscreenPreview .fullscreen-top{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:max(8px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));font-size:15px}
#fullscreenPreview .fullscreen-top button{display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:12px;border-radius:14px;background:#202227;color:#fff}
#fullscreenPreview .fullscreen-top svg{width:24px;height:24px}
#fullscreenPreview .fullscreen-picture{flex:1;min-height:0;display:flex;overflow:hidden}
#fullscreenPreview #stage{flex:1;width:100%;height:100%;min-height:0;padding:8px 16px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
#fullscreenPreview #preview{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;box-shadow:none}
#fullscreenPreview .stage-badge{display:none}
#fullscreenPreview .fullscreen-controls{flex-shrink:0;padding:8px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
#fullscreenPreview .transport{width:100%;min-height:56px;padding:0;box-sizing:border-box}
#fullscreenPreview .transport button{min-width:44px;min-height:48px}
body.preview-expanded{overflow:hidden;overscroll-behavior:none}
#fullscreenPreview #mobileUndo,#fullscreenPreview #mobileRedo{display:none}
#fullscreenPreview .timecode{font-size:12px}
.kf-position,.kf-actions{display:flex;align-items:center;gap:12px;margin-bottom:14px}.kf-position input{flex:1;min-width:0}.kf-position button{min-width:44px;min-height:44px;font-size:28px}.kf-actions{flex-wrap:wrap;justify-content:space-between}.kf-actions output{font-variant-numeric:tabular-nums}.kf-list{display:flex;gap:8px;overflow-x:auto;margin-bottom:18px;min-height:44px}.kf-list button{white-space:nowrap}.kf-list .active{color:var(--accent);border-color:var(--accent)}.kf-sliders{padding-top:18px}.kf-sliders>input{width:100%;margin-bottom:18px;min-height:32px}.kf-marker{position:absolute;bottom:2px;color:#fff;font-size:11px;transform:translateX(-50%);pointer-events:none;text-shadow:0 1px 3px #000;z-index:3}
.title-tabs{display:flex;gap:8px;margin-bottom:18px}.title-tabs .active{color:var(--accent);border-color:var(--accent)}.title-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.title-card{padding:0 0 12px;overflow:hidden;border:2px solid #30343b;border-radius:13px;text-align:left;background:#22252a;display:flex;flex-direction:column;gap:5px}.title-card.chosen{border-color:var(--accent)}.title-card canvas{width:100%;aspect-ratio:16/9;display:block}.title-card>span{padding:4px 12px 0;font-size:13px;color:#eee}.title-card>small{padding:0 12px;color:#999fa9;font-size:11px}
.effect-take{background:#733345;border:2px solid #ff697b;color:#fff;touch-action:none}.effect-take .clip-name{padding-left:12px}.effect-trim{position:absolute;top:0;bottom:0;width:14px;z-index:5;cursor:ew-resize}.effect-trim:after{content:'';position:absolute;top:25%;bottom:25%;width:3px;border-radius:3px;background:#fff9;left:5px}.effect-trim.left{left:0}.effect-trim.right{right:0}.effect-wide-range{width:100%;margin:12px 0 18px;min-height:32px}
.video-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.video-filter-card{display:flex;flex-direction:column;min-width:0;padding:0;border:2px solid transparent;border-radius:13px;overflow:hidden;background:#303238;color:#eee}.video-filter-card.chosen{border-color:var(--accent);box-shadow:0 0 0 2px #ff5b622b}.video-filter-card canvas,.filter-original{display:block;width:100%;aspect-ratio:3/4;height:auto;object-fit:cover}.video-filter-card>span{display:block;width:100%;padding:10px 5px;text-align:center;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filter-original{display:grid;place-items:center;background:#35373c}.filter-original svg{width:42%;height:auto;fill:none;stroke:#d4d6db;stroke-width:2.5}.video-filter-strength{position:sticky;top:0;z-index:2;background:#1c1e22;padding:10px 0 6px}.video-filter-strength input{width:100%;min-height:32px}.video-filter-categories button{min-height:44px;flex-shrink:0}
@media(min-width:1100px){#toolSheet:has(.video-filter-grid){width:440px}.video-filter-grid{gap:14px}.video-filter-card>span{font-size:13px}}
#toolSheet:has(.video-filter-grid) .video-filter-categories{margin:0 0 8px;padding-bottom:4px;scrollbar-width:none}#toolSheet:has(.video-filter-grid) .video-filter-strength{padding:4px 0}#toolSheet:has(.video-filter-grid) #videoFilterStrength{margin:3px 0;min-height:24px}#toolSheet:has(.video-filter-grid) .range-label{font-size:12px}
@media(max-width:700px){#toolSheet:has(.video-filter-grid){max-height:60dvh}}
.audio-tool-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:6px 0 22px}.audio-tool-menu button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:94px;padding:10px 0;font-size:12px}.audio-tool-menu svg{width:30px;height:30px;stroke-width:1.7}.audio-source-name{font-size:15px;line-height:1.5;margin:4px 0 18px;overflow-wrap:anywhere}#cancelExtract{margin-top:10px}
.music-credit{padding:12px 0;margin:10px 0 16px;border-top:1px solid #3b3e44;border-bottom:1px solid #3b3e44;font-size:12px;line-height:1.5}.music-credit summary{cursor:pointer;color:#e0e2e6;padding:6px 0}.music-credit p{font-size:11px;overflow-wrap:anywhere}.music-credit-actions{display:flex;gap:8px;flex-wrap:wrap}.template-preview-meta a{color:inherit;text-decoration:underline}
.musicfox-picks{display:grid;gap:12px}.musicfox-pick{padding:16px;background:#24272c;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.musicfox-pick strong,.musicfox-pick small{display:block}.musicfox-pick small{font-size:12px;color:#a4a8b0;margin-top:6px}.musicfox-pick a{font-size:13px;text-decoration:none}.musicfox-pick button{grid-column:1/-1;min-height:44px}
/* Desktop workspaces grow with the monitor; cards keep a usable size. */
@media(min-width:1100px){
 body[data-screen=home] .home-screen{padding:0 clamp(28px,3vw,88px) 48px}
 .home-screen>.home-nav,#homeContent{max-width:none;width:100%;margin-left:0;margin-right:0}
 .home-nav{gap:30px}
 .template-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px 20px;margin-top:24px;align-items:start}
 .template-poster{height:auto;aspect-ratio:3/4;min-height:280px;max-height:430px}
 .template-card{min-width:0}.template-card strong{font-size:17px}.template-card>span{padding:14px 16px}
 .template-poster b{font-size:clamp(30px,2.1vw,44px)}
 .home-shortcuts{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:20px 14px}
 .start-actions{max-width:820px}.recent-rail{max-width:none}
 .project-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:18px 24px;margin-top:22px}
 .project-list .project-row{background:#1c1f23;border:1px solid #32363d;border-radius:14px;padding:16px;min-width:0}
 #templatePreview[open]{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:68px minmax(0,1fr)}
 .template-preview-header{grid-column:1/-1;grid-row:1;border-bottom:1px solid #25282e}
 .template-preview-stage{grid-column:1;grid-row:2;padding:24px;min-width:0}
 .template-preview-bottom{grid-column:2;grid-row:2;max-width:none;height:100%;margin:0;border-left:1px solid #2c3036;display:flex;flex-direction:column;padding:28px 24px}
 .template-preview-meta{margin:28px 0;gap:14px}.template-preview-meta>strong{font-size:28px}.template-preview-meta>span{line-height:1.5}.template-preview-meta>small{line-height:1.7}
 .template-preview-bottom>.primary{margin-top:auto}
}

/* Shared studio grid: the brand, navigation and content start on one axis. */
:root{--studio-gutter:16px;--studio-surface:#1b1d21;--studio-border:#34363d;--studio-soft:#969ba5}
body[data-screen=home] header{padding-inline:var(--studio-gutter);background:#111316}
body[data-screen=home] .home-screen{padding-inline:var(--studio-gutter);background:#111316}
body[data-screen=home] .brand{letter-spacing:.4px;font-size:22px;gap:11px}
body[data-screen=home] .brand svg{width:27px;height:27px}
.studio-page-heading{padding:28px 0 0}.studio-page-heading h1{font-size:32px;line-height:1.1;letter-spacing:-1.2px;margin:0;font-weight:750}
.studio-section-label{font-size:13px;font-weight:600;letter-spacing:.1px;color:#b8bdc6;margin:30px 0 14px}
.start-actions{max-width:none;grid-template-columns:1.5fr 1fr;gap:18px;margin:24px 0 26px}
.start-actions button{position:relative;isolation:isolate;overflow:hidden;align-items:flex-start;justify-content:flex-end;min-height:218px;padding:28px;border-radius:12px;border:1px solid var(--studio-border);background:#1d2026;gap:18px;text-align:left;transition:border-color .18s,background .18s}
.start-actions .start-new{background:#252126;border:1px solid #634047;color:#f6f4f3}
.start-actions button:hover{border-color:#9196a3;background:#252830}.start-actions .start-new:hover{border-color:var(--accent);background:#2c2329}
.start-actions button>svg{position:relative;z-index:2;box-sizing:content-box;padding:10px;width:25px;height:25px;background:#ff5b62;color:#160c0d;border-radius:10px;stroke-width:1.8}
.start-actions .start-photo>svg{background:#353943;color:#e9eaf0}
.start-actions strong{position:relative;z-index:2;font-size:26px;font-weight:650;letter-spacing:-.7px;max-width:56%;line-height:1.12}
.action-art{position:absolute;inset:12px 14px 12px 47%;display:flex;align-items:center;justify-content:center;gap:10px;z-index:-1;pointer-events:none;transform:rotate(-7deg)}
.action-art img{height:82%;width:31%;object-fit:cover;border-radius:7px;box-shadow:0 10px 30px #0007;border:1px solid #ffffff22}
.action-art img:first-child{transform:translateY(20px)}.action-art img:last-child{transform:translateY(-20px)}
.photo-art{position:absolute;right:22px;top:22px;bottom:22px;width:39%;z-index:-1;transform:rotate(7deg);border:5px solid #d3cfc5;border-bottom-width:20px;box-shadow:0 8px 26px #0006;background:#d3cfc5;pointer-events:none}
.photo-art img{width:100%;height:100%;object-fit:cover}
.home-shortcuts{gap:12px;margin:0 0 32px;grid-template-columns:repeat(4,minmax(0,1fr))}
.home-shortcuts button{min-height:90px;flex-direction:row;justify-content:flex-start;gap:16px;padding:18px;background:#1b1e23;border:1px solid #30333b;border-radius:10px;font-size:14px;font-weight:500;text-align:left;transition:background .16s,border-color .16s}
.home-shortcuts button:hover{background:#24272e;border-color:#555b67}.home-shortcuts button svg{width:23px;height:23px;color:#c4c8d1;flex-shrink:0;stroke-width:1.65}
.recent-rail{gap:14px}.recent-tile{width:132px;height:110px;flex-basis:132px;border:1px solid #3b3d44;border-radius:9px}.recent-tile span{font-size:12px;padding:24px 10px 9px}.recent-all{border:1px solid #30333b;border-radius:9px;background:#1b1e23}
.template-card{background:#1c1e23;border:1px solid #32353d;border-radius:11px;overflow:hidden;transition:border-color .18s,transform .18s;box-shadow:0 3px 12px #0002}
.template-card:hover{border-color:#6c727e;transform:translateY(-3px);background:#1e2127}
.template-card>span{position:relative;padding:16px 17px 17px;background:#1c1e23;text-align:left}.template-card small{color:#9299a6;font-size:10px;letter-spacing:.5px}.template-card strong{font-size:18px;font-weight:650;letter-spacing:-.35px;margin-top:8px}
.template-poster{background:#24272d}.template-poster em{border:1px solid #ffffff20;border-radius:6px;background:#11141bb8;backdrop-filter:blur(12px);font-size:9px;letter-spacing:.4px}
.template-poster:after{background:linear-gradient(#0002,#0000 35%,#080a0fe6)}.template-poster b{line-height:1.02;bottom:25px;left:20px;right:20px;letter-spacing:-.7px}
.template-categories button{border-radius:7px;background:#1a1d22;border-color:#30343c;font-size:13px;min-height:38px;padding:7px 16px}
.template-categories button.active{background:#ff5b6218;border-color:#ff5b6270;color:#ff7a80}
.home-section-heading h1,.project-heading h1{font-size:32px;letter-spacing:-1.1px;font-weight:750}
body[data-screen=editor]{--panel:#1b1d22;--line:#32353c}.viewer{background:#14161a}.viewer-heading,.panel-heading{color:#adb3be}.stage canvas{box-shadow:0 14px 45px #0006}.timeline{background:#191c21}.timeline-toolbar{background:#202329}.timeline-viewport{background:#191c21}.tool-sheet{background:#1e2127;border-color:#41454f;box-shadow:0 18px 64px #0008}.sheet-head{background:#24272e;border-color:#3b3f48}.sheet-content{background:#1e2127}.sheet-content .look-option span{background:#1e2127}.tools .tool.active{background:#ff5b6212;color:#ff7279}.inspector{background:#1b1e24}.library{background:#191c21}.quiet{background:#252932;border-color:#3a3f49;border-radius:7px}.primary{border-radius:7px}.select-wrap select{background-color:#252932;border-color:#3a3f49;padding-right:46px}.select-wrap:after{right:18px}
@media(min-width:621px){:root{--studio-gutter:34px}body[data-screen=home] .home-nav{padding:13px 0;gap:20px;align-items:center}.home-nav button{min-height:42px;font-size:13px;padding:9px 13px;border:1px solid transparent;border-radius:7px;gap:9px}.home-nav button.active{background:#ff5b6212;border:1px solid #ff5b6238;color:#ff747c}.home-nav svg{width:18px;height:18px}}
@media(min-width:1100px){:root{--studio-gutter:clamp(28px,3vw,88px)}.home-shortcuts{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.start-actions{grid-template-columns:1.6fr 1fr;max-width:none}.start-actions button{min-height:244px}.start-actions strong{font-size:30px}.template-grid{gap:24px}.template-poster{aspect-ratio:4/5;max-height:390px}.studio-page-heading{padding-top:32px}}
@media(max-width:760px){.home-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.home-shortcuts button{flex-direction:column;justify-content:center;text-align:center;min-height:103px;font-size:12px;gap:12px;padding:14px 6px}.start-actions button{padding:20px;min-height:185px}.start-actions strong{font-size:22px}.action-art{inset:10px 5px 10px 50%;gap:4px}.photo-art{right:16px;top:18px;bottom:18px;border-width:3px;border-bottom-width:12px}}
@media(max-width:620px){.studio-page-heading{padding-top:22px}.studio-page-heading h1{font-size:27px}.start-actions{gap:10px;grid-template-columns:1.25fr 1fr;margin:20px 0 22px}.start-actions button{min-height:174px;padding:15px;gap:12px;border-radius:10px}.start-actions button>svg{padding:8px;width:23px;height:23px;border-radius:8px}.start-actions strong{font-size:19px;max-width:100%;letter-spacing:-.5px}.action-art{inset:10px 0 55px 43%;opacity:.60;transform:rotate(-9deg)}.action-art img{width:40%;height:100%}.action-art img:first-child{display:none}.photo-art{width:48%;right:13px;top:12px;bottom:61px;opacity:.75}.recent-tile{width:110px;flex-basis:110px;height:94px}.studio-section-label{margin-top:24px;font-size:12px}.home-shortcuts{gap:9px}.template-poster b{left:13px;right:13px}.home-nav{background:#191c22;border-top-color:#353943}.home-nav button.active{background:#ff5b620d}.template-card>span{padding:12px}.template-card strong{font-size:15px}.template-grid{gap:14px 11px}.home-section-heading h1,.project-heading h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){.template-card,.template-poster img,.home-shortcuts button,.start-actions button{transition:none}.template-card:hover{transform:none}}

@media(min-width:621px) and (max-width:1099px){.home-shortcuts{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.start-photo strong{max-width:100%;font-size:24px}.photo-art{width:33%;top:15px;bottom:88px;opacity:.7}}
@media(min-width:1100px){.home-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1900px){.home-shortcuts{grid-template-columns:repeat(8,minmax(0,1fr))}}
.project-controls input,.profile-card input,.caption-form textarea{background:#22262e;border-color:#3a3f49}.project-row{border-color:#30343c}.project-tabs button{color:#a2a9b6}.project-tabs button.active{color:#ff747c}

/* December: fine serif display with a quiet, tracked sans-serif eyebrow. */
.template-poster.poster-christmas b{left:8%;right:8%;bottom:22%;text-align:center;font-size:clamp(26px,2.5vw,40px);letter-spacing:-.04em;line-height:1.2}
.template-poster.poster-christmas b small{display:block;font:500 9px/1.5 "CR Sans",sans-serif;letter-spacing:.32em;margin-bottom:10px;color:#e5d4b0}
.template-poster.poster-christmas b span{display:block;color:#faf4e7}
@media(max-width:620px){.template-poster.poster-christmas b{font-size:clamp(22px,6vw,34px)}.template-poster.poster-christmas b small{font-size:7px;margin-bottom:8px}}

/* Keep image motion on the compositor; the canvas above contains only type. */
.composited-template-shot{position:absolute;overflow:hidden;pointer-events:none;background:#101315;isolation:isolate;border-radius:2px;z-index:0}
.composited-template-shot[hidden]{display:none}
.composited-template-shot>.composited-template-image{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transform-origin:50% 50%;will-change:transform;backface-visibility:hidden;transition:none!important}
.stage>canvas,.template-preview-stage>canvas{position:relative;z-index:1}
/* Pro tools share the studio's touch targets and spacing. */
.timeline-lane-actions{overflow-x:auto;white-space:nowrap;gap:8px;flex-shrink:0}.timeline-lane-actions button{min-height:40px;padding:8px 14px;flex-shrink:0}.track-menu{min-width:32px;min-height:40px;padding:4px;color:#aab2bc;background:transparent;border:0}.fixed-track-label{position:relative}.track-locked{opacity:.5}.timeline-take.selected{outline:2px solid #ff5360;outline-offset:-2px}.multi-select .timeline-take{cursor:cell}.version-list small{color:#929ca7}.version-list .settings-row{text-align:left;width:100%;min-height:72px}.audio-meter{height:12px;margin-top:20px;border-radius:6px;background:#0a0c0e;overflow:hidden}.audio-meter i{display:block;height:100%;width:0;transition:width .08s linear}.curve-presets{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}#curveCanvas,#maskEditor,#scopeCanvas{display:block;width:100%;height:auto;touch-action:none;border:1px solid #383e45;border-radius:12px;background:#0d0f12}#curveCanvas{aspect-ratio:8/5}.field-row .field{min-width:0}.pro-track-controls input{width:24px;height:24px}.select-wrap select{padding-right:48px!important}.select-wrap:after{right:18px!important}.sheet-content .settings-row{gap:16px}.sheet-content .settings-row input[type=checkbox]{width:24px;height:24px;flex-shrink:0}#audioAnalysis{display:block;margin-top:12px}#audioMeterLabel{display:block;margin:8px 0 16px;color:#9ca7b2;font-variant-numeric:tabular-nums}@media(max-width:700px){.timeline-lane-actions button{min-height:44px}.fixed-track-label .track-menu{position:absolute;right:0;bottom:0;font-size:20px;background:#171a1ed9}.field-row{flex-wrap:wrap}.field-row .field{flex:1 1 110px}}

.track-control-card{padding:12px 0;border-bottom:1px solid #32383f}.track-control-card input[type=checkbox]{width:24px;height:24px}.track-control-card .settings-row{min-height:48px}
.settings-row input[type=checkbox]:not([role=switch]){width:24px;height:24px;min-width:24px;accent-color:#ff5360}#modal .field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#modal .field-row .field,#modal .field-row .select-wrap,#modal .field-row select{width:100%;min-width:0}#compatibilityExport{margin-top:12px}#modal .settings-row{gap:16px;min-height:52px}
#modal:has(.all-tools-heading){width:min(1000px,calc(100vw - 28px));max-width:none}#modal .all-tools-heading{position:sticky;top:0;z-index:10;background:#1b1f22;padding:12px 0;border-bottom:1px solid #343a40}#modal .all-tools-heading button{min-width:44px;min-height:44px;flex-shrink:0}@media(min-width:1000px){#modal .all-tools-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}#modal .all-tools-grid button{min-height:88px}}@media(min-width:621px) and (max-width:999px){#modal .all-tools-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
