
/* V32 focus: full cards + CapCut-inspired timeline */
.chooser-page-clean .mode-card .mode-media{background:#091522!important;overflow:hidden!important}
.chooser-page-clean .mode-card .mode-media img.v28-showcase-img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;background:none!important;display:block!important;transform:none!important;filter:contrast(1.04) saturate(1.05)!important}
.chooser-page-clean .mode-card.video-mode .mode-media img.v28-showcase-img{object-position:27% center!important}
.chooser-page-clean .mode-card.photo-mode .mode-media img.v28-showcase-img{object-position:center center!important}
.chooser-page-clean .mode-card.ai-mode .mode-media img.v28-showcase-img{object-position:center center!important}
.chooser-page-clean .mode-card.v30-auto-card .mode-media img.v28-showcase-img{object-position:center center!important}
.chooser-page-clean .mode-card .mode-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,11,20,0) 0%,rgba(5,11,20,.18) 100%);pointer-events:none}
.chooser-page-clean .mode-card .media-badge{z-index:3}
.chooser-page-clean .mode-card .mode-info{padding:20px 18px!important}
.chooser-page-clean .mode-card .mode-info strong{margin-bottom:4px!important}
.chooser-page-clean .mode-card .mode-info>small{line-height:1.45!important;margin-bottom:14px!important}
.chooser-page-clean .mode-card{min-height:215px!important}

/* cleaner mobile editor top */
body .mode-editor .content-shell .editor-top{grid-template-columns:minmax(0,1fr) 78px 40px 120px!important;gap:7px!important}
body .mode-editor .editor-top .editor-top-left{gap:6px!important}
body .mode-editor .editor-top #project-name{font-size:13px!important;max-width:100%!important}
body .mode-editor .editor-top #ratio-select{width:78px!important;max-width:78px!important;height:40px!important;min-height:40px!important;padding:0 24px 0 10px!important;font-size:12px!important}
body .mode-editor .editor-top .editor-actions{gap:7px!important}
body .mode-editor .editor-top .editor-actions label{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important}
body .mode-editor .editor-top .editor-actions [data-action="export"]{min-width:120px!important;height:40px!important;min-height:40px!important;padding:0 12px!important;font-size:12px!important}

/* capcut-inspired sequence */
.timeline-panel #v29-playlist{margin-top:8px!important;padding-top:10px!important;border-top:1px solid #39547173!important}
.v32-seq-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin:2px 0 8px}
.v32-seq-head>div{display:grid;gap:4px;min-width:0}
.v32-seq-head strong{font-size:13px;color:#f2d19c}
.v32-seq-head small{font-size:10px;color:#8fa9c0;line-height:1.3}
.v32-organize{padding:10px 12px!important;min-height:38px!important}
.v32-capcut-shell{position:relative;border:1px solid #3e577070;border-radius:14px;background:linear-gradient(180deg,#08111c,#0c1623);padding:10px 10px 12px;overflow:hidden}
.v32-capcut-ruler{display:flex;align-items:center;gap:20px;color:#8ea4b8;font-size:9px;line-height:1;margin:0 2px 6px;white-space:nowrap;overflow:hidden}
.v32-ruler-end{margin-left:auto;color:#c5d7e8}
.v32-capcut-strip{position:relative;display:flex;align-items:center;gap:0;overflow-x:auto;padding:4px 0 10px;scrollbar-width:thin;overscroll-behavior-x:contain}
.v32-playhead{position:sticky;left:50%;width:2px;min-width:2px;height:82px;background:#fff;border-radius:99px;box-shadow:0 0 0 1px #ffffff20,0 0 10px #ffffff44;align-self:stretch;z-index:4;pointer-events:none;margin-left:-1px;opacity:.92}
.v32-unit{display:flex;align-items:center;flex:0 0 auto}
.v32-clip{display:flex;align-items:stretch;min-width:var(--clip-width);width:var(--clip-width);height:74px;border:1px solid #53697d;border-radius:10px;overflow:hidden;background:#0b1625;position:relative;box-shadow:inset 0 1px #ffffff14}
.v32-clip.selected{border-color:#e8bc73;box-shadow:0 0 0 1px #e1af5f77,0 0 16px #d6a55a28}
.v32-clip-main{position:relative;display:block;width:calc(var(--clip-width) - 24px);min-width:88px;border:0;padding:0;background:transparent;color:#fff;cursor:pointer}
.v32-clip-fill{position:absolute;inset:0;background:linear-gradient(135deg,#17304c,#0a1421);background-size:cover;background-position:center;filter:contrast(1.02) saturate(1.03)}
.v32-clip-fill::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,15,24,0) 0%,rgba(7,15,24,.32) 52%,rgba(7,15,24,.9) 100%)}
.v32-clip-no{position:absolute;top:6px;left:6px;z-index:2;background:#061321d8;border:1px solid #9abbd45e;color:#fff;border-radius:999px;padding:1px 7px;font-size:10px;font-weight:800}
.v32-clip-dur{position:absolute;right:7px;bottom:26px;z-index:2;background:#06111acc;color:#fff;border-radius:7px;padding:2px 6px;font-size:10px}
.v32-clip-name{position:absolute;left:8px;right:8px;bottom:7px;z-index:2;color:#dceaf8;font-size:9px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.v32-clip-grip{width:24px;min-width:24px;border:0;border-left:1px solid #355067;background:linear-gradient(180deg,#122439,#0a1523);color:#d2e0ee;font-size:14px;cursor:grab}
.v32-clip-grip:active{cursor:grabbing}
.v32-join{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:40px;min-width:40px;height:54px;margin:0 4px;border-radius:10px;border:1px dashed #5a8bb2;background:#10253b;color:#c5e4ff;padding:3px 2px;cursor:pointer}
.v32-join span{font-size:16px;line-height:1}
.v32-join small{font-size:7px;line-height:1.15;text-align:center;max-width:34px}
.v32-join.active{border-color:#e1b46d;background:#2c2530;color:#ffe1b0}
.v32-add{display:flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:54px;margin-left:6px;border:1px dashed #6f96b7;border-radius:10px;background:#0f2033;color:#cce6ff;cursor:pointer}
.v32-add b{font-size:24px;line-height:1}
.v32-track-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;border-top:1px solid #284155;padding:8px 2px 0;margin-top:2px;color:#93aabd;font-size:10px}
.v32-track-add{border:1px solid #486988;background:#0f2235;color:#d2e9ff;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:700;cursor:pointer}
.v32-edit-box{margin-top:10px;padding:12px;border:1px solid #40607c;border-radius:14px;background:linear-gradient(180deg,#081625,#0b1928)}
.v32-edit-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.v32-edit-head strong{font-size:12px;color:#f0d09b}
.v32-edit-head button{border:1px solid #95656d;background:#44262d;color:#ffd6db;border-radius:12px;height:40px;padding:0 14px;font-size:11px;font-weight:700}
.v32-trim-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.v32-trim-grid label{display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center;color:#a7c0d4;font-size:11px}
.v32-trim-grid output{color:#edcb91;font-variant-numeric:tabular-nums}
.v32-trim-grid input{grid-column:1/-1;display:block;width:100%;height:18px;accent-color:#e7bb71}
.v32-tip{margin:10px 2px 0;color:#89a8c0;font-size:10px;line-height:1.35}
@media(max-width:620px){
  .chooser-page-clean .mode-card{grid-template-columns:minmax(122px,37%) minmax(0,1fr)!important;min-height:198px!important}
  .chooser-page-clean .mode-card .mode-media{height:100%!important;min-height:100%!important}
}
@media(max-width:420px){
  .v32-seq-head{align-items:center}
  .v32-trim-grid{grid-template-columns:1fr}
  .v32-capcut-shell{padding:9px 8px 10px}
  .v32-clip{height:70px}
  .v32-join{width:38px;min-width:38px;height:52px}
}
