header{gap:14px}.brand{color:var(--text);background:none;border:0;font:inherit;font-weight:900;cursor:pointer;padding:0;white-space:nowrap}.nav{overflow-x:auto;min-width:0}.nav button{white-space:nowrap}.app:not(:has(#studioPage.active)) header>.actions{display:none}.tool-hub,.matchcut{max-width:1300px;margin:auto;padding:40px 26px}.hub-eyebrow,.cut-eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--accent);margin-bottom:14px}.hub-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}.hub-head h1{font-size:clamp(36px,5vw,66px);line-height:1.02;letter-spacing:-2.5px;margin:0;max-width:750px}.hub-head p{font-size:16px;color:var(--muted);max-width:280px;line-height:1.6;margin:0}.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tool-card{border:1px solid #2c3829;border-radius:20px;overflow:hidden;background:#0e140d;display:flex;flex-direction:column;min-width:0}.tool-card.featured{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;background:#1a2913}.tool-card-art{height:170px;overflow:hidden;background:#182114;position:relative;display:grid;place-items:center}.tool-card-art img{width:100%;height:100%;object-fit:cover}.tool-card.featured .tool-card-art{height:100%;min-height:300px;order:2}.tool-card-content{padding:24px;display:flex;flex-direction:column;align-items:start;flex:1}.tool-card small{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#a1b797}.tool-card h2{font-size:26px;margin:10px 0;letter-spacing:-.7px}.tool-card p{font-size:14px;line-height:1.6;color:#a7b3a2;margin:0 0 22px}.tool-card .btn{margin-top:auto;min-height:42px}.format-art{font-size:38px;font-weight:900;letter-spacing:-2px;color:var(--accent)}.hub-footer{color:var(--muted);font-size:13px;margin:24px 0}.matchcut h1{font-size:38px;letter-spacing:-1.5px;margin:0 0 10px}.cut-intro{font-size:15px;color:var(--muted);margin-bottom:26px}.cut-layout{display:grid;grid-template-columns:minmax(320px,430px) minmax(0,1fr);gap:28px}.cut-controls{align-self:start;min-width:0}.cut-controls .card{padding:20px}.cut-controls h2{font-size:16px;margin:0 0 16px}.cut-upload{width:100%;padding:20px;border:1px dashed #4f6148;border-radius:12px;background:#141e10;color:#eef6e9;cursor:pointer;text-align:center;line-height:1.7;font-size:14px}.cut-upload img{max-width:140px;max-height:70px;object-fit:contain;display:block;margin:0 auto 10px;background:#8a9286;border-radius:4px}.cut-field{display:flex;flex-direction:column;gap:7px;margin:13px 0;font-size:14px}.cut-field select,.cut-field input{width:100%;background:#080b08;color:#fff;border:1px solid var(--line);padding:9px;border-radius:8px}.cut-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cut-scenes{display:grid;grid-template-columns:1fr 1fr;gap:7px}.cut-scene{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:8px;font-size:13px;cursor:pointer;min-width:0}.cut-scene:has(input:checked){border-color:#5e853e;background:#172310}.cut-scene input{accent-color:var(--accent)}.cut-summary{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--line);font-size:14px}.cut-summary strong{color:var(--accent)}.cut-preview{min-width:0;padding:20px;border:1px solid var(--line);border-radius:18px;background:#0a100a;align-self:start}.cut-screen{background:#131b12;display:grid;place-items:center;border-radius:12px;overflow:hidden;max-height:640px;min-height:280px}.cut-screen canvas{max-width:100%;max-height:620px;width:auto;height:auto;object-fit:contain}.cut-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.cut-actions .btn{flex:1;text-align:center;text-decoration:none;white-space:nowrap}.cut-status{font-size:14px;color:var(--accent);line-height:1.5;min-height:22px;margin:16px 0}.cut-timeline{display:flex;gap:6px;overflow-x:auto;padding:12px 0}.cut-timeline button{flex:none;width:60px;padding:0;border:2px solid transparent;background:#111;border-radius:6px;overflow:hidden;cursor:pointer}.cut-timeline button.active{border-color:var(--accent)}.cut-timeline img{display:block;width:56px;height:64px;object-fit:cover}.cut-note{font-size:13px;color:var(--muted);line-height:1.6}.matchcut progress{width:100%;accent-color:var(--accent)}.cut-preview video{width:100%;max-height:620px;background:#080b08;border-radius:12px}.cut-preview [hidden],.cut-controls [hidden]{display:none!important}.tool-hub button:focus-visible,.matchcut button:focus-visible{outline:2px solid white;outline-offset:3px}@media(max-width:1100px){header{flex-wrap:wrap;height:auto;padding:12px 16px}.nav{order:3;width:100%}.app{grid-template-rows:auto 1fr}.hub-grid{grid-template-columns:repeat(2,1fr)}.cut-layout{grid-template-columns:minmax(280px,.8fr) minmax(0,1fr)}}@media(max-width:760px){.tool-hub,.matchcut{padding:28px 14px}.hub-head{display:block}.hub-head p{max-width:none;margin-top:16px}.hub-head h1{letter-spacing:-1.5px}.hub-grid,.cut-layout{grid-template-columns:1fr}.tool-card.featured{grid-column:auto;grid-template-columns:1fr}.tool-card.featured .tool-card-art{height:190px;min-height:0;order:0}.cut-preview{padding:12px;order:-1}.cut-screen{max-height:440px;min-height:200px}.cut-screen canvas{max-height:430px}.cut-options{gap:8px}.matchcut h1{font-size:32px}.tool-card-content{padding:20px}}
