/* 爆款复刻工坊 · 沿用 tokens.css 暗色放映室令牌 */
.cl { padding-bottom: 48px; }
.cl-dim { color: var(--text-hint); font-size: 12px; }
.cl-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cl-grow { flex: 1; min-width: 0; }
.cl-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.cl-h3 { margin: 0 0 10px; color: var(--strong); font-size: 14.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cl-h3 .cl-dim { font-weight: 400; }

.cl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 9px; font-size: 13px; cursor: pointer; border: 1px solid var(--border); background: var(--bg-warm); color: var(--text); text-decoration: none; white-space: nowrap; }
.cl-btn:hover { border-color: rgba(255, 255, 255, .2); color: var(--strong); }
.cl-btn.primary { background: var(--gold-grad); color: #1a1206; border-color: transparent; font-weight: 700; }
.cl-btn.primary:hover { filter: brightness(1.08); color: #1a1206; }
.cl-btn.ghost { background: transparent; }
.cl-btn.danger:hover { color: var(--danger); border-color: rgba(224, 123, 99, .45); }
.cl-btn.sm { padding: 4px 10px; font-size: 12px; }
.cl-btn[disabled] { opacity: .45; cursor: not-allowed; }
.cl-inp, .cl-sel, .cl-ta { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 8px; color: var(--text); padding: 7px 10px; font-size: 13px; outline: none; box-sizing: border-box; }
.cl-inp:focus, .cl-sel:focus, .cl-ta:focus { border-color: rgba(232, 176, 75, .55); }
.cl-ta { width: 100%; resize: vertical; line-height: 1.6; font-family: inherit; }
.cl-seg { display: inline-flex; background: var(--bg-warm); border: 1px solid var(--border); border-radius: 9px; padding: 2px; flex-wrap: wrap; }
.cl-seg button { border: none; background: transparent; color: var(--text-secondary); padding: 5px 11px; border-radius: 7px; font-size: 12.5px; cursor: pointer; }
.cl-seg button.on { background: var(--primary-light); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(232, 176, 75, .3); font-weight: 600; }
.cl-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-warm); color: var(--text-secondary); cursor: pointer; user-select: none; }
.cl-chip.on { color: var(--accent); border-color: rgba(232, 176, 75, .4); background: var(--primary-light); }
.cl-tag { font-size: 11.5px; padding: 1px 8px; border-radius: 6px; background: var(--bg-warm); border: 1px solid var(--border); color: var(--text-secondary); }
.cl-tag.ok { color: var(--success); border-color: rgba(77, 191, 168, .3); }
.cl-tag.run { color: var(--accent); border-color: rgba(232, 176, 75, .35); }
.cl-tag.err { color: var(--danger); border-color: rgba(224, 123, 99, .35); }
.cl-err { color: var(--danger); font-size: 12.5px; line-height: 1.5; }
.cl-empty { text-align: center; color: var(--text-hint); padding: 50px 20px; font-size: 13px; }
.cl-empty i { font-size: 28px; opacity: .6; display: block; margin-bottom: 10px; }

/* 首页 */
.cl-new { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
.cl-src-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.cl-drop { border: 1.5px dashed rgba(255, 255, 255, .16); border-radius: 12px; padding: 22px; text-align: center; color: var(--text-secondary); cursor: pointer; }
.cl-drop:hover, .cl-drop.over { border-color: rgba(232, 176, 75, .6); color: var(--accent); }
.cl-srcs { max-height: 230px; overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.cl-src { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; }
.cl-src:hover { border-color: rgba(255, 255, 255, .2); }
.cl-src.on { border-color: rgba(232, 176, 75, .55); background: var(--primary-light); }
.cl-src img { width: 84px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; background: var(--bg-warm); }
.cl-src .t { font-size: 12.5px; color: var(--strong); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cl-how { display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; }
.cl-how b { color: var(--strong); }
.cl-how .n { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-light); color: var(--accent); font-size: 11px; font-weight: 800; align-items: center; justify-content: center; margin-right: 6px; }
.cl-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cl-pcard { background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; }
.cl-pcard:hover { border-color: rgba(232, 176, 75, .4); transform: translateY(-1px); }
.cl-pcover { aspect-ratio: 16/10; background: var(--bg-warm) center/cover no-repeat; position: relative; }
.cl-pfilter { display: inline-flex; gap: 6px; margin-left: 12px; font-weight: 400; }
.cl-pfilter .cl-chip em { font-style: normal; opacity: .6; margin-left: 2px; }
.cl-pcover .cl-tag { position: absolute; left: 8px; top: 8px; background: rgba(0, 0, 0, .6); }
.cl-pbody { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.cl-ptitle { color: var(--strong); font-weight: 700; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-pformula { font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 34px; }

/* 项目页 */
.cl-phead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.cl-phead .cl-title-inp { font-size: 17px; font-weight: 800; color: var(--strong); background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 4px 8px; min-width: 160px; flex: 1 1 200px; }
.cl-phead .cl-title-inp:hover, .cl-phead .cl-title-inp:focus { border-color: var(--border); background: var(--bg-warm); outline: none; }
.cl-job { display: flex; align-items: center; gap: 10px; background: var(--bg-white); border: 1px solid rgba(232, 176, 75, .3); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 13px; }
.cl-job.err { border-color: rgba(224, 123, 99, .4); }
.cl-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; flex: 1; min-width: 80px; }
.cl-bar i { display: block; height: 100%; background: var(--gold-grad); transition: width .4s; }
.cl-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.cl-tab { position: relative; background: transparent; border: none; cursor: pointer; padding: 10px 2px; font-size: 14px; color: var(--text-hint); display: inline-flex; gap: 7px; align-items: center; }
.cl-tab.on { color: var(--strong); font-weight: 800; }
.cl-tab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; }
.cl-tab em { font-style: normal; font-size: 11px; color: var(--text-hint); }

/* 拆解 */
.cl-ana { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 14px; align-items: start; }
.cl-player { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 10px; }
.cl-player video { width: 100%; max-height: 62vh; border-radius: 12px; background: #000; }
.cl-formula { background: linear-gradient(135deg, rgba(232, 176, 75, .16), rgba(232, 176, 75, .04)); border: 1px solid rgba(232, 176, 75, .3); border-radius: 12px; padding: 12px 14px; color: var(--strong); font-size: 14px; font-weight: 700; line-height: 1.6; }
.cl-formula small { display: block; color: var(--accent); font-size: 11px; letter-spacing: .08em; margin-bottom: 4px; font-weight: 600; }
.cl-kv { display: grid; grid-template-columns: 76px 1fr; gap: 6px 12px; font-size: 13px; line-height: 1.6; }
.cl-kv > span { color: var(--text-hint); }
.cl-kv > div { color: var(--text); }
.cl-timeline { position: relative; height: 34px; border-radius: 8px; background: var(--bg-warm); overflow: hidden; margin: 6px 0 4px; }
.cl-beat { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-size: 11.5px; color: #111; font-weight: 700; cursor: pointer; overflow: hidden; white-space: nowrap; border-right: 1px solid rgba(0, 0, 0, .35); }
.cl-beat:hover { filter: brightness(1.12); }
.cl-vmarks { position: relative; height: 14px; }
.cl-vmark { position: absolute; top: 2px; width: 8px; height: 8px; border-radius: 50%; transform: translateX(-50%); cursor: pointer; }
.cl-cursor { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 6px #fff; pointer-events: none; }
.cl-list { display: flex; flex-direction: column; gap: 4px; max-height: 360px; overflow: auto; }
.cl-li { display: flex; gap: 10px; padding: 5px 8px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text); }
.cl-li:hover { background: rgba(255, 255, 255, .04); }
.cl-li.on { background: var(--primary-light); }
.cl-li .tc { color: var(--accent-deep); font-variant-numeric: tabular-nums; flex: 0 0 auto; font-size: 12px; min-width: 38px; }
.cl-li .ty { flex: 0 0 auto; }
.cl-frames { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.cl-frames figure { margin: 0; flex: 0 0 auto; cursor: pointer; position: relative; }
.cl-frames img { height: 84px; border-radius: 6px; display: block; }
.cl-frames figcaption { position: absolute; left: 4px; bottom: 4px; background: rgba(0, 0, 0, .7); color: #ffd84a; font-size: 10.5px; padding: 0 5px; border-radius: 4px; }
.cl-why li { margin: 4px 0; color: var(--text); font-size: 13px; line-height: 1.6; }
.cl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* 脚本编辑 */
.cl-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.cl-code { width: 100%; min-height: 460px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.7; background: #0b0d11; color: #dfe2ea; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; box-sizing: border-box; resize: vertical; outline: none; tab-size: 2; }
.cl-code:focus { border-color: rgba(232, 176, 75, .45); }
.cl-prev { background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; max-height: 560px; overflow: auto; }
.cl-prev-beat { margin-bottom: 12px; }
.cl-prev-beat h4 { margin: 0 0 6px; font-size: 13px; color: var(--accent); display: flex; gap: 8px; align-items: center; }
.cl-prev-line { font-size: 14px; line-height: 1.9; color: var(--strong); padding-left: 10px; border-left: 2px solid var(--border); margin: 2px 0; }
.cl-prev-line .spk { color: #7fe0ff; font-size: 12px; margin-right: 6px; }
.cl-prev-line b { color: #ff8a5c; }
.cl-prev-line .anc { border-bottom: 2px solid #ffd84a; background: rgba(255, 216, 74, .1); border-radius: 3px; }
.cl-prev-line .pt { display: inline-block; font-size: 10.5px; padding: 0 5px; border-radius: 4px; background: #ffd84a; color: #111; vertical-align: 2px; margin: 0 2px; font-weight: 700; }
.cl-prev-line .dual { color: #b7f77a; }
.cl-prev-line .dual sub { color: var(--text-hint); font-size: 10.5px; }
.cl-cues { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.cl-cue { display: flex; gap: 8px; font-size: 12.5px; align-items: baseline; }
.cl-cue code { color: #ffd84a; }
.cl-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cl-msgs { margin: 8px 0; display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.cl-msgs .e { color: var(--danger); }
.cl-msgs .w { color: #e0b25a; }
.cl-syntax { white-space: pre-wrap; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--text-secondary); background: #0b0d11; border-radius: 10px; padding: 10px 12px; border: 1px solid var(--border); }

/* 变体 */
.cl-brief { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.cl-brief label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-secondary); }
.cl-vlist { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.cl-var { background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.cl-var .vt { color: var(--strong); font-weight: 800; font-size: 14.5px; }
.cl-var .vn { color: var(--text-secondary); font-size: 12.5px; line-height: 1.6; margin-top: 4px; }
.cl-var .vs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.cl-var .va { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 132px; }
.cl-var .vout { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.cl-var .vout video { max-height: 300px; max-width: 100%; border-radius: 10px; background: #000; }
.cl-var .vprog { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-secondary); }
.cl-snip { font-size: 12.5px; color: var(--text); background: var(--bg-warm); border-radius: 8px; padding: 8px 10px; max-height: 76px; overflow: hidden; white-space: pre-wrap; line-height: 1.6; margin-top: 6px; position: relative; }
.cl-snip::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(transparent, var(--bg-warm)); }

/* 弹层 */
.cl-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.cl-mbg { position: absolute; inset: 0; background: rgba(0, 0, 0, .76); backdrop-filter: blur(3px); }
.cl-mbox { position: relative; z-index: 1; width: min(1180px, 94vw); max-height: 92vh; overflow: auto; background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lg); }
.cl-mbox.sm { width: min(720px, 94vw); }
.cl-mx { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-warm); color: var(--text); cursor: pointer; }
.cl-form { display: flex; flex-direction: column; gap: 12px; }
.cl-frow { display: grid; grid-template-columns: 86px 1fr; gap: 10px; align-items: center; font-size: 13px; }
.cl-frow > span { color: var(--text-secondary); }
.cl-voices { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-voice { border: 1px solid var(--border); background: var(--bg-warm); color: var(--text); border-radius: 10px; padding: 6px 10px; font-size: 12.5px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.cl-voice small { color: var(--text-hint); font-size: 11px; }
.cl-voice em { font-style: normal; font-size: 10px; color: #fff; background: var(--accent, #e0a13a); border-radius: 5px; padding: 0 5px; }
.cl-vgroup { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.cl-vgroup > span { font-size: 11.5px; color: var(--text-hint); }
.cl-voice.on { border-color: rgba(232, 176, 75, .55); background: var(--primary-light); color: var(--accent); }

@media (max-width: 1000px) {
    .cl-new, .cl-ana, .cl-editor, .cl-grid2 { grid-template-columns: 1fr; }
    .cl-player { position: static; }
    .cl-var { grid-template-columns: 1fr; }
}
.cl-msgs .i { color: var(--text-hint); }
.cl-prev-line .pt.rg { background: #7FE0FF; }
.cl-prev-line .brk { color: #ff9edb; font-weight: 800; margin: 0 2px; }
.cl-prev-line .pz { font-size: 10.5px; padding: 0 5px; border-radius: 4px; border: 1px dashed rgba(255, 255, 255, .3); color: var(--text-hint); margin: 0 2px; vertical-align: 2px; }
.cl-review { margin-top: 8px; background: var(--bg-warm); border-radius: 10px; padding: 8px 10px; }
.cl-score { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.cl-score small { font-size: 11px; color: var(--text-hint); font-weight: 400; }
.cl-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 12px; margin-top: 6px; }
.cl-dims > div { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-secondary); }
.cl-dims span { width: 52px; flex: 0 0 auto; }
.cl-dims i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.cl-dims b { display: block; height: 100%; border-radius: 3px; }
.cl-issues { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--text); line-height: 1.55; }
.cl-issues q { color: #ffd84a; }
.cl-issues .fix { color: var(--success); margin-left: 4px; }
.cl-treat { margin-top: 6px; font-size: 12px; color: var(--text-secondary); display: flex; flex-direction: column; gap: 2px; }
details.cl-treat summary { cursor: pointer; list-style: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
details.cl-treat summary::-webkit-details-marker { display: none; }
details.cl-treat summary::before { content: '▸ '; color: var(--accent); }
details.cl-treat[open] summary::before { content: '▾ '; }
details.cl-treat span { display: block; padding-left: 12px; line-height: 1.55; }
details.cl-treat em { font-style: normal; color: var(--accent); margin-right: 6px; }
.cl-treat b { color: var(--accent); font-size: 11.5px; }

/* V2:拆解页新增 */
.cl-sys { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.cl-sys > div { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; line-height: 1.55; color: var(--text); }
.cl-sys b { color: var(--strong); }
.cl-frames figure { display: flex; flex-direction: column; }
.cl-ctx { max-width: 150px; margin-top: 3px; font-size: 10.5px; color: var(--text-hint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.cl-ctx b { background: #FFD84A; color: #111; border-radius: 3px; padding: 0 2px; font-weight: 700; }

/* V2:费用预估 */
.cl-pub { margin-top: 6px; font-size: 12px; color: var(--text-secondary); }
.cl-pub summary { cursor: pointer; list-style: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-pub summary::-webkit-details-marker { display: none; }
.cl-pub summary::before { content: '▸ '; color: var(--accent); }
.cl-pub[open] summary::before { content: '▾ '; }
.cl-pub > div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.cl-pub em { font-style: normal; color: var(--accent); min-width: 56px; }
.cl-pub .cl-chip { max-width: 100%; white-space: normal; line-height: 1.5; }
.cl-ap { background: var(--bg-warm); border: 1px solid rgba(232, 176, 75, .25); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; font-size: 12.5px; }
.cl-ap b { color: var(--strong); }
.cl-hooks { display: flex; flex-direction: column; gap: 4px; }
.cl-hooks > div { display: flex; gap: 8px; align-items: flex-start; padding: 5px 8px; border-radius: 8px; background: var(--bg-warm); line-height: 1.5; }
.cl-hooks > div.on { box-shadow: inset 0 0 0 1px rgba(77, 191, 168, .45); }
.cl-hooks .sc { font-weight: 800; min-width: 26px; font-size: 14px; }
.cl-cover { height: 96px; border-radius: 8px; border: 1px solid var(--border); }
.cl-est { font-size: 12px; color: var(--accent); white-space: nowrap; }
.cl-est-box { background: var(--bg-warm); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; }
.cl-est-box:empty { display: none; }
.cl-estlist { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.cl-estlist > div { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 70px; gap: 8px; align-items: center; }
.cl-estlist b { text-align: right; color: var(--strong); }

/* V2:审片台 */
.cl-badge { font-style: normal; background: var(--danger); color: #fff; border-radius: 999px; padding: 0 6px; font-size: 11px; margin-left: 2px; }
.cl-studio { grid-column: 1 / -1; margin-top: 10px; border-top: 1px dashed var(--border); padding-top: 12px; }
.cl-lanes { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--bg-warm); border-radius: 10px; padding: 8px 10px 8px 0; }
.cl-lane { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; }
.cl-lane .ln { font-size: 11px; color: var(--text-hint); text-align: right; padding-right: 8px; }
.cl-lane .lt { position: relative; height: 20px; border-radius: 5px; background: rgba(255, 255, 255, .03); }
.cl-lane .blk { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; font-style: normal; font-size: 10.5px; line-height: 16px; color: #111; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 3px; cursor: pointer; box-sizing: border-box; min-width: 3px; }
.cl-lane .blk:hover { filter: brightness(1.15); outline: 1px solid rgba(255, 255, 255, .6); z-index: 2; }
.cl-lane .blk.ph { background: rgba(127, 224, 255, .22); color: var(--text); border: 1px solid rgba(127, 224, 255, .35); font-weight: 400; }
.cl-lane .blk.cp { background: rgba(255, 216, 74, .35); border-right: 1px solid rgba(0, 0, 0, .4); }
.cl-lane .blk.ev { text-align: center; opacity: .9; }
.cl-lane .blk.ev b { font-size: 9.5px; }
.cl-lane .blk.ev.drag { cursor: grab; touch-action: none; }
.cl-lane .blk.ev.dragging { cursor: grabbing; outline: 2px solid #fff; z-index: 3; opacity: 1; }
.cl-lane .blk.ev.edited { outline: 2px solid var(--accent); outline-offset: -1px; }
.cl-lane .blk .rs { position: absolute; right: 0; top: 0; bottom: 0; width: 6px; cursor: ew-resize; background: rgba(0, 0, 0, .25); }
.cl-pending { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 6px 10px; border-radius: 8px; background: var(--primary-light); color: var(--accent); font-size: 12.5px; }
.cl-pending .cl-btn { margin-left: auto; }
.cl-lane .blk.ev.skipped { opacity: .3; background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.35) 0 3px, transparent 3px 7px) !important; }
.cl-lane .blk.ev.auto { opacity: .55; outline: 1px dashed rgba(255, 255, 255, .7); outline-offset: -1px; }
.cl-lane .pin { position: absolute; top: 2px; width: 10px; height: 16px; margin-left: -5px; background: var(--danger); border-radius: 50% 50% 50% 0; transform: rotate(-45deg) scale(.8); cursor: pointer; }
.cl-lane .pin.done { background: var(--success); opacity: .6; }
.cl-phwrap { position: absolute; top: 0; bottom: 0; left: 44px; right: 10px; pointer-events: none; }
.cl-playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 6px #fff; transform: translateX(-1px); }
.cl-cmts { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; max-height: 260px; overflow: auto; }
.cl-cmts > div { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; background: var(--bg-warm); border-radius: 8px; padding: 6px 8px; }
.cl-cmts > div.done { opacity: .55; }
.cl-cmts .tc, .cl-achecks .tc { color: #ffd84a; font-variant-numeric: tabular-nums; cursor: pointer; white-space: nowrap; }
.cl-audit { display: flex; flex-direction: column; gap: 8px; }
.cl-achecks { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; line-height: 1.5; }
.cl-achecks > div { padding: 4px 8px; border-radius: 7px; background: var(--bg-warm); }
.cl-achecks > div[data-act] { cursor: pointer; }
.cl-achecks > div.ok i { color: var(--success); }
.cl-achecks > div.bad i { color: var(--danger); }
.cl-achecks .fix { color: var(--success); margin-left: 18px; }
.cl-msgs [data-goto] { cursor: pointer; border-radius: 5px; padding: 1px 4px; margin: 0 -4px; }
.cl-msgs [data-goto]:hover { background: rgba(255, 255, 255, .06); }
.cl-stats [data-fix-code] { margin-left: 4px; }

/* 我的素材 */
.cl-mats { margin-top: 14px; }
.cl-mats.drag { outline: 2px dashed var(--accent); outline-offset: 2px; }
.cl-mats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 10px; }
.cl-mat { display: flex; gap: 10px; background: var(--bg-warm); border: 1px solid var(--border); border-radius: 10px; padding: 8px; min-width: 0; }
.cl-mthumb { position: relative; flex: 0 0 76px; height: 104px; border-radius: 8px; overflow: hidden; background: var(--bg-white); display: flex; align-items: center; justify-content: center; color: var(--text-hint); }
.cl-mthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-mdur { position: absolute; left: 4px; bottom: 4px; font-size: 10px; padding: 1px 5px; border-radius: 5px; background: rgba(0, 0, 0, .6); color: #fff; }
.cl-mref { position: absolute; left: 4px; top: 4px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: var(--accent); color: #1b140a; }
.cl-mref.run { background: rgba(0, 0, 0, .6); color: #fff; font-weight: 400; }
.cl-mref.err { background: var(--danger); color: #fff; font-weight: 400; }
.cl-mbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cl-msub { font-size: 13px; font-weight: 600; color: var(--strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-mcap { font-size: 11px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-mfacts { display: flex; flex-wrap: wrap; gap: 3px; }
.cl-mfacts span { font-size: 10px; padding: 0 5px; border-radius: 4px; background: var(--primary-light); color: var(--accent); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-mchk { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; cursor: pointer; white-space: nowrap; }
.cl-sel.sm, .cl-inp.sm { padding: 3px 7px; font-size: 12px; border-radius: 6px; }
.cl-inp.sm { width: 100%; }
.cl-mbar { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.cl-mbar i { display: block; height: 100%; background: var(--accent); }
.cl-mdrop { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 10px; padding: 22px 14px; border: 1.5px dashed var(--border); border-radius: 12px; color: var(--text-secondary); cursor: pointer; text-align: center; font-size: 12px; }
.cl-mdrop:hover { border-color: var(--accent); }
.cl-mdrop i { font-size: 22px; color: var(--accent); }
.cl-mdrop b { color: var(--strong); font-size: 13px; }
.cl-mlib { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; max-height: 60vh; overflow: auto; margin-top: 10px; }
.cl-mlib-it { position: relative; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--bg-warm); }
.cl-mlib-it img, .cl-mlib-it video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.cl-mlib-it span { display: block; font-size: 11px; padding: 3px 5px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-mlib-it.on { border-color: var(--accent); }
@media (max-width: 520px) { .cl-mats-grid { grid-template-columns: 1fr; } }
.cl-mwarn { font-size: 11px; color: #e0b25a; display: flex; align-items: center; gap: 4px; }

/* 爆款库(首页) */
.cl-libs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
.cl-lib { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg-white); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.cl-lib:hover { border-color: rgba(232, 176, 75, .45); transform: translateY(-1px); }
.cl-libcv { position: relative; aspect-ratio: 3 / 4; background: #000; display: flex; align-items: center; justify-content: center; color: #555; cursor: pointer; overflow: hidden; }
.cl-libcv img { width: 100%; height: 100%; object-fit: cover; }
.cl-libcat, .cl-libdur { position: absolute; font-size: 11px; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .62); color: #fff; }
.cl-libcat { left: 8px; top: 8px; color: #f6cf7a; }
.cl-libdur { right: 8px; bottom: 8px; }
.cl-libb { padding: 9px 11px 11px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cl-libb b { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-libf { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.cl-libb .cl-btn { margin-top: auto; justify-content: center; }

/* 2026-10-10 简化:简报只露核心字段;变体操作收进「更多」*/
.cl-req { font-size: 10.5px; font-weight: 600; color: var(--accent); background: var(--primary-light); border-radius: 4px; padding: 0 5px; margin-left: 4px; }
.cl-bmore { margin-top: 10px; border-top: 1px dashed var(--border); padding-top: 10px; }
.cl-bmore > summary { cursor: pointer; font-size: 12.5px; color: var(--text-secondary); list-style: none; display: flex; align-items: center; gap: 6px; }
.cl-bmore > summary::-webkit-details-marker { display: none; }
.cl-bmore > summary::after { content: '\f107'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free'; font-weight: 900; margin-left: 4px; transition: transform .15s; }
.cl-bmore[open] > summary::after { transform: rotate(180deg); }
.cl-bmore > summary i { color: var(--accent); }
.cl-moreacts { position: relative; }
.cl-moreacts > summary { list-style: none; width: 100%; justify-content: center; }
.cl-moreacts > summary::-webkit-details-marker { display: none; }
.cl-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 190px; padding: 6px; border-radius: 12px; background: var(--bg-white); border: 1px solid var(--border); box-shadow: var(--shadow-lg, 0 14px 40px rgba(0, 0, 0, .35)); display: flex; flex-direction: column; gap: 2px; }
.cl-menu .cl-btn { justify-content: flex-start; border: 0; width: 100%; }
.cl-phead .uxh-btn { font-size: 12px; padding: 4px 10px; }
.cl-flab { display: inline-flex; align-items: center; gap: 2px; }
.cl-h3 { white-space: nowrap; }
.cl-h3 .cl-dim { white-space: normal; }

/* 2026-10-14 FE-CL 简化:合成弹层「画幅 / 音色 / 配乐 + 高级设置」、台词模式、最高分一键合成、报错重试 */
.cl-frow.cl-top { align-items: start; }
.cl-frow.cl-top > span { padding-top: 6px; }
.cl-seg button em { font-style: normal; font-size: 10px; color: #1a1206; background: var(--accent, #e0a13a); border-radius: 4px; padding: 0 4px; margin-left: 3px; }
.cl-seg button[disabled] { opacity: .4; cursor: not-allowed; }
.cl-rvlist { max-height: 168px; overflow: auto; padding: 2px; }
.cl-voice i[data-pv] { color: var(--accent); cursor: pointer; }
.cl-voice i[data-pv]:hover { filter: brightness(1.2); }
.cl-adv { margin-top: 2px; }
.cl-adv .cl-form { gap: 10px; }
.cl-lic { display: inline-block; font-size: 10.5px; color: #e0b25a; border: 1px solid rgba(224, 178, 90, .4); border-radius: 5px; padding: 0 5px; margin-left: 4px; white-space: nowrap; }
.cl-fixbox { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; background: rgba(224, 123, 99, .08); border: 1px solid rgba(224, 123, 99, .3); }
.cl-best { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--primary-light); border: 1px solid rgba(232, 176, 75, .35); font-size: 13px; color: var(--text); }
.cl-best > i { color: var(--accent); font-size: 16px; }
.cl-best b { color: var(--strong); }
.cl-lines { min-height: 320px; font-size: 14px; line-height: 1.9; }
.cl-reflines { display: flex; flex-direction: column; gap: 4px; max-height: 520px; overflow: auto; font-size: 13.5px; line-height: 1.7; color: var(--text); }
.cl-reflines .n { display: inline-block; min-width: 26px; color: var(--text-hint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.cl-menu .cl-btn.on { color: var(--accent); }
.cl-var .vprog .cl-btn { margin-left: 4px; }
@media (max-width: 640px) { .cl-frow { grid-template-columns: 1fr; gap: 6px; } .cl-frow.cl-top > span { padding-top: 0; } }
