*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf8f5;
  --panel: #ffffff;
  --panel2: #f6f3f9;
  --panel3: #ece7f4;
  --line: #e7e3ec;
  --line2: #d6d0e0;
  --text: #14121f;
  --text2: #5d5a6b;
  --text3: #8e8a9c;
  --brand: #6f5cf0;
  --brand2: #9d8cff;
  --soft: #f3effa;
  --pink: #e48bf2;
  --ok: #1d9e70;
  --warn: #b7791f;
  --bad: #d64545;
  --mark: #d94fa0;
  --grad: linear-gradient(100deg, #e48bf2 0%, #9d8cff 55%, #6f8bff 100%);
  --shadow: 0 1px 2px rgba(20, 18, 31, .04), 0 12px 32px -14px rgba(20, 18, 31, .16);
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --radius: 16px;
}

html, body { height: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1 em, h2 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

/* ---------- piezas comunes ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .12s, border-color .12s, opacity .12s; white-space: nowrap; }
.btn:hover { border-color: var(--text); }
.btn.primary { background: var(--text); border-color: var(--text); color: #fff; }
.btn.primary:hover { box-shadow: 0 10px 24px -10px rgba(20, 18, 31, .55); transform: translateY(-1px); }
.btn.grad { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 28px -14px rgba(111, 139, 255, .8); }
.btn.grad:hover { transform: translateY(-1px); border-color: transparent; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text2); }
.btn.ghost:hover { color: var(--text); background: var(--soft); }
.btn.small { padding: 6px 13px; font-size: 12.5px; }
.btn.big { padding: 13px 26px; font-size: 15px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.danger:hover { border-color: var(--bad); color: var(--bad); }
.link { background: none; border: none; color: var(--brand); font-size: 12.5px; font-weight: 700; padding: 0; }
.link:hover { text-decoration: underline; }
.muted { color: var(--text3); }
.note { font-size: 12px; color: var(--text3); line-height: 1.5; }
.note.warn { color: var(--warn); }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: #fff; border: 1px solid var(--text); padding: 11px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; box-shadow: 0 14px 34px -12px rgba(20,18,31,.5); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast.error { background: var(--bad); border-color: var(--bad); }
.toast.success::before { content: '✓  '; color: #7ee2b8; }

input[type="text"], input[type="number"], input[type="password"], input[type="url"], textarea, select { width: 100%; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 13px; outline: none; transition: border-color .12s, box-shadow .12s; font-size: 14px; }
input:focus, textarea:focus, select:focus { border-color: var(--brand2); box-shadow: 0 0 0 4px #9d8cff2e; }
textarea { resize: vertical; line-height: 1.5; }
::placeholder { color: var(--text3); }
input:disabled, select:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- cabecera ---------- */
.topbar { height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 24px; border-bottom: 1px solid var(--line); background: rgba(250,248,245,.85); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 15px; color: var(--text); text-decoration: none; }
.brand i { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), #c56cff); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.topbar .grow { flex: 1; }
.name-input { background: transparent !important; border-color: transparent !important; font-size: 15px !important; font-weight: 600; max-width: 380px; padding: 5px 8px !important; }
.name-input:hover, .name-input:focus { border-color: var(--line2) !important; background: var(--panel2) !important; }

/* ---------- galería ---------- */
.page { max-width: 1180px; margin: 0 auto; padding: 32px 24px 60px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.page-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.page-head p { color: var(--text2); margin-top: 4px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: border-color .12s, transform .12s; position: relative; }
.card:hover { border-color: var(--brand2); transform: translateY(-3px); }
.card .thumb { aspect-ratio: 9 / 13; background: #05060a center / cover no-repeat; display: grid; place-items: center; color: var(--text3); font-size: 12px; text-align: center; padding: 12px; }
.card .meta { padding: 10px 12px 12px; }
.card .meta b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .meta span { font-size: 11.5px; color: var(--text3); }
.card .chip { position: absolute; top: 8px; left: 8px; }
.card .del { position: absolute; top: 6px; right: 6px; opacity: 0; background: rgba(255,255,255,.92); border: 1px solid var(--line2); border-radius: 50%; width: 28px; height: 28px; color: var(--text2); transition: opacity .12s; }
.card:hover .del { opacity: 1; }
.card .del:hover { color: var(--bad); border-color: var(--bad); }
.card.new { border-style: dashed; display: grid; place-items: center; min-height: 260px; color: var(--text2); text-align: center; gap: 6px; padding: 16px; }
.card.new b { font-size: 34px; font-weight: 300; color: var(--brand2); line-height: 1; }
.chip { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--text2); letter-spacing: .01em; white-space: nowrap; }
.chip.ok { color: var(--ok); border-color: #1d9e7044; background: #e9f7f1; }
.chip.run { color: var(--brand); border-color: #9d8cff66; background: var(--soft); }
.chip.bad { color: var(--bad); border-color: #d6454544; background: #fdeeee; }

/* ---------- ventana de nuevo reel ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(20,18,31,.42); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal { width: min(680px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 40px 90px -30px rgba(20,18,31,.45); }
.modal h2 { font-size: 20px; margin-bottom: 4px; }
.modal .sub { color: var(--text2); margin-bottom: 18px; }
.drop { border: 1.5px dashed var(--line2); border-radius: 14px; padding: 26px; text-align: center; color: var(--text2); background: var(--panel2); transition: border-color .12s, background .12s; cursor: pointer; }
.drop.over { border-color: var(--brand); background: var(--soft); }
.drop b { color: var(--text); display: block; font-size: 15px; margin-bottom: 2px; }
.files { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.file { display: flex; align-items: center; gap: 10px; font-size: 12.5px; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.file span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file em { color: var(--text3); font-style: normal; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.field > label, .label { font-size: 13px; font-weight: 700; color: var(--text); }
.modal-foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.bar { height: 6px; background: var(--panel3); border-radius: 99px; overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s; }

/* ---------- estilos de un clic ---------- */
.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preset { text-align: left; background: var(--panel2); border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 12px; transition: border-color .12s, background .12s; }
.preset:hover { border-color: var(--line2); }
.preset.on { border-color: var(--brand); background: var(--soft); }
.preset b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.preset span { font-size: 11.5px; color: var(--text2); line-height: 1.4; display: block; }

/* ---------- procesando ---------- */
.working { max-width: 560px; margin: 70px auto; padding: 0 24px; text-align: center; }
.working h1 { font-size: 22px; margin-bottom: 6px; }
.working p { color: var(--text2); }
.steps { margin: 30px 0 18px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.step { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--text3); }
.step:last-child { border-bottom: none; }
.step .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font-size: 12px; flex: none; }
.step.run { color: var(--text); }
.step.run .dot { border-color: var(--brand); border-top-color: transparent; animation: spin .9s linear infinite; }
.step.done { color: var(--text2); }
.step.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; font-weight: 700; }
.step.bad .dot { background: var(--bad); border-color: var(--bad); color: #fff; }
.step small { display: block; font-size: 11.5px; color: var(--text3); }
@keyframes spin { to { transform: rotate(360deg); } }
.liveline { font-size: 12.5px; color: var(--text2); min-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.errorbox { background: #fdeeee; border: 1px solid #d6454555; color: #9b2c2c; border-radius: 12px; padding: 14px 16px; margin-top: 16px; text-align: left; font-size: 13px; }

/* ---------- editor ---------- */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 420px; height: calc(100vh - 56px); }
@media (max-width: 980px) { .editor { grid-template-columns: 1fr; height: auto; } }
.stage { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 22px; overflow: auto; }
.player { position: relative; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); --ar: .5625; aspect-ratio: var(--ar); height: min(calc(100vh - 410px), 720px); min-height: 260px; max-width: 100%; flex: none; }
.player video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.player .veil { position: absolute; inset: 0; background: rgba(20,18,31,.6); display: grid; place-items: center; text-align: center; padding: 20px; font-size: 13px; color: #fff; }
.player .take-tag { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 8px; align-items: center; }
.statusline { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text2); min-height: 32px; width: 100%; max-width: 1100px; }
.statusline .pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); white-space: nowrap; }
.statusline .pill.ok { color: var(--ok); }
.statusline .pill.busy { color: var(--brand2); }
.statusline .pill.busy::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--brand2); border-top-color: transparent; animation: spin .9s linear infinite; }
.statusline .pill.pending { color: var(--warn); }
.statusline .live { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text3); }

/* línea de tiempo: regla, planos del vídeo y pista de recursos sobre la misma escala */
.strip { width: 100%; max-width: 1100px; }
.tl-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tl { display: grid; grid-template-columns: 78px minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tl-labels { display: flex; flex-direction: column; border-right: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--text3); }
.tl-labels span { display: flex; align-items: center; padding: 0 10px; }
.tl-labels .r { height: 22px; border-bottom: 1px solid var(--line); }
.tl-labels .v { height: 38px; }
.tl-labels .c { height: 64px; border-top: 1px solid var(--line); }
.tl-scroll { overflow-x: auto; overflow-y: hidden; }
.tl-inner { position: relative; min-width: 100%; }
.ruler { position: relative; height: 22px; border-bottom: 1px solid var(--line); cursor: pointer; overflow: hidden; }
.ruler span { position: absolute; top: 0; bottom: 0; padding: 4px 0 0 5px; border-left: 1px solid var(--line2); font-size: 10px; color: var(--text3); user-select: none; }
.strip .track { height: 26px; margin: 6px 0; display: flex; background: var(--panel2); cursor: pointer; touch-action: none; }
.strip .shot { height: 100%; border-right: 1px solid rgba(0,0,0,.4); opacity: .9; }
.strip .shot.cut { border-left: 3px solid var(--bg); }
.strip .shot.zoomed { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.2) 0 4px, transparent 4px 8px); }
.cliptrack { position: relative; height: 64px; border-top: 1px solid var(--line); background: var(--panel2); touch-action: none; }
.cliptrack.over { background: var(--soft); box-shadow: inset 0 0 0 2px var(--brand); }
.cliptrack .hint { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--text3); pointer-events: none; }
.clip { position: absolute; top: 5px; bottom: 5px; min-width: 14px; border-radius: 8px; overflow: hidden; background: var(--panel3); border: 1.5px solid var(--line2); cursor: grab; display: flex; align-items: flex-end; user-select: none; touch-action: none; }
.clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.clip .name { position: relative; width: 100%; font-size: 10.5px; font-weight: 600; padding: 10px 9px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; pointer-events: none; }
.clip.auto { background: #e4ddf7; border-color: #b9aef0; color: var(--text); align-items: center; }
.clip.auto .name, .clip.vacia .name { background: none; padding: 0 9px; color: inherit; }
.clip.vacia { background: #fbeef6; border: 1.5px dashed var(--mark); color: var(--mark); align-items: center; }
.clip.off { opacity: .4; }
.clip.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand2); z-index: 2; }
.clip.dragging { cursor: grabbing; z-index: 3; opacity: .92; }
.clip .grip { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; }
.clip .grip.l { left: 0; }
.clip .grip.r { right: 0; }
.clip:hover .grip, .clip.sel .grip { background: rgba(255,255,255,.6); }
.strip .head { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--text); pointer-events: none; z-index: 4; }
.strip .head::before { content: ''; position: absolute; top: 0; left: -4px; border: 5px solid transparent; border-top-color: var(--text); }

/* vista previa de una pieza sobre el reproductor, mientras el vídeo no se ha actualizado */
.preview { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.preview .chip { position: absolute; top: 10px; right: 10px; }
.preview img { animation: appear .25s; }
.preview.as-full img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.93) saturate(.8); }
.preview.as-full.contain img { object-fit: contain; background: #0a0c12; filter: none; }
.preview.as-card img { position: absolute; left: 8%; width: 84%; top: 43%; height: 31%; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 8px 24px rgba(0,0,0,.55); }
.preview.as-card.contain img { object-fit: contain; background: #0a0c12; }
.preview.as-free img { position: absolute; left: 8%; width: 84%; top: 43%; height: 31%; object-fit: contain; }
.preview.as-card.src-auto img { object-fit: contain; border: none; border-radius: 0; box-shadow: none; background: none; }
@keyframes appear { from { opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--text3); margin-top: 6px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.stats { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12px; color: var(--text3); width: 100%; max-width: 1100px; }
.stats b { color: var(--text); font-weight: 600; margin-right: 4px; }

.side { border-left: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; min-height: 0; }
.tabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid var(--line); }
.tab { background: none; border: none; color: var(--text3); padding: 9px 12px 11px; font-size: 13px; font-weight: 550; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text2); }
.tab.on { color: var(--text); border-bottom-color: var(--brand); font-weight: 700; }
.pane { flex: 1; overflow: auto; padding: 16px 16px 40px; display: flex; flex-direction: column; gap: 18px; }
.group { display: flex; flex-direction: column; gap: 10px; }
.group > h3 { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }

/* controles */
.seg { display: inline-flex; background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { background: none; border: none; color: var(--text2); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(20,18,31,.08), 0 4px 12px -6px rgba(20,18,31,.2); }
.seg button:hover:not(.on) { color: var(--text); }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; user-select: none; }
.switch input { appearance: none; width: 40px; height: 24px; border-radius: 99px; background: var(--panel3); border: 1px solid var(--line2); position: relative; transition: background .15s; flex: none; cursor: pointer; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20,18,31,.3); transition: transform .15s, background .15s; }
.switch input:checked { background: var(--brand); border-color: var(--brand); }
.switch input:checked::after { transform: translateX(16px); }
.switch small { display: block; color: var(--text3); font-size: 11.5px; }
.swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid var(--line2); }
.swatch.on { border-color: #fff; outline: 2px solid var(--text); }
input[type="color"] { width: 30px; height: 30px; padding: 0; border: 1px solid var(--line2); border-radius: 50%; background: none; cursor: pointer; overflow: hidden; }
input[type="range"] { width: 100%; accent-color: var(--brand); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.stepper button { background: var(--panel2); border: none; width: 30px; height: 30px; color: var(--text2); }
.stepper button:hover { color: var(--text); }
.stepper b { min-width: 34px; text-align: center; font-size: 13px; }

/* listas del panel */
.item { background: var(--panel2); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.item.off { opacity: .5; }
.item-head { display: flex; align-items: center; gap: 10px; padding: 9px 11px; cursor: pointer; }
.item-head .num { font-size: 11px; font-weight: 700; color: var(--text3); width: 16px; text-align: center; }
.item-head .title { flex: 1; font-size: 13px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-body { padding: 0 11px 11px; display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line); padding-top: 10px; }
.score { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.score.good { background: #46c08c26; color: var(--ok); }
.score.mid { background: #e6a94e26; color: var(--warn); }
.score.bad { background: #ea5d5d26; color: var(--bad); }
.quote { font-size: 12.5px; color: var(--text); line-height: 1.5; }
.why { font-size: 13px; color: var(--text2); }
.take { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; background: var(--panel); }
.take .row { gap: 8px; }
.take .where { font-size: 11.5px; color: var(--text3); flex: 1; }
/* pieza seleccionada y lista de piezas */
.insp-head { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; }
.insp-head img, .insp-head .ph { width: 92px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); background: var(--panel3); }
.insp-head img.text { aspect-ratio: 908 / 596; object-fit: contain; }
.insp-head .ph { display: grid; place-items: center; font-size: 11px; color: var(--text3); border-style: dashed; }
.insp-head b { display: block; font-size: 13.5px; line-height: 1.3; }
.insp-head small { display: block; color: var(--text3); font-size: 11.5px; margin-top: 3px; line-height: 1.4; }
.insp-head small.warn { color: var(--warn); }
.cands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cand { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--panel3); aspect-ratio: 3 / 4; }
.cand img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cand:hover { border-color: var(--line2); }
.cand.on { border-color: var(--brand); }
.clip-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 9px 5px 5px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel2); text-align: left; width: 100%; }
.clip-row:hover { border-color: var(--line2); }
.clip-row.on { border-color: var(--brand); background: var(--soft); }
.clip-row.off { opacity: .5; }
.clip-row img, .clip-row i { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; background: var(--panel3); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--text3); }
.clip-row span { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip-row em { font-style: normal; font-size: 11px; color: var(--text3); }
.link.danger { color: var(--bad); }
.track-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel2); cursor: pointer; }
.track-row.on { border-color: var(--brand); background: var(--soft); }
.track-row .play { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel3); font-size: 10px; flex: none; }
.track-row .play:hover { border-color: var(--brand2); }
.track-row span { flex: 1; font-size: 13px; }
.track-row em { font-style: normal; font-size: 11px; color: var(--text3); }
.thumb-step { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #000; }
.empty { color: var(--text3); font-size: 12.5px; padding: 6px 0; }

.callout { background: var(--soft); border: 1px solid #d9cffb; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.callout p { color: var(--text2); line-height: 1.5; }


.brand.logo img { height: 26px; width: auto; }
.brand.logo span { font-family: var(--serif); font-style: italic; font-size: 21px; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
