/* Schnitt – Videoschnitt im Browser (alles lokal) */
:root {
  --bg: #0b0f1a; --bg2: #0f1524; --panel: #131a2b; --panel2: #182136; --line: rgba(255,255,255,.07); --line2: rgba(255,255,255,.14);
  --text: #e8edf6; --muted: #8e9ab0; --accent: #a259ff; --accent2: #ff5f8f; --good: #5ad19a; --bad: #ff6b6b;
  --v: #4f7cff; --t: #ffb547; --a: #2fc3a0; --c: #9b6bff;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 13px/1.4 var(--font); display: flex; flex-direction: column; overflow: hidden; -webkit-font-smoothing: antialiased; user-select: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hidden { display: none !important; }
.grow { flex: 1; }
.muted { color: var(--muted); }

/* Kopfzeile */
.top { height: 52px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.back { color: var(--muted); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.back:hover { color: var(--text); background: rgba(255,255,255,.06); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-right: 6px; }
.logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #fff; }
.logo svg { width: 14px; height: 14px; }
.pname { background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; width: 200px; color: var(--text); outline: none; }
.pname:hover { border-color: var(--line2); }
.pname:focus { border-color: var(--accent); background: rgba(0,0,0,.25); }
.local { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--good); background: rgba(90,209,154,.1); border: 1px solid rgba(90,209,154,.25); padding: 3px 9px; border-radius: 999px; cursor: help; }
.local svg { width: 13px; height: 13px; }
.sel, .inp { background: rgba(0,0,0,.28); border: 1px solid var(--line2); border-radius: 8px; padding: 6px 8px; color: var(--text); outline: none; }
.sel:focus, .inp:focus { border-color: var(--accent); }
select option { background: #151c2e; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 14px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); cursor: pointer; font-weight: 600; }
.btn:hover { background: rgba(255,255,255,.09); }
.btn.primary { background: linear-gradient(135deg, var(--accent2), var(--accent)); border-color: transparent; color: #fff; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.danger { color: #ffb3b3; border-color: rgba(255,107,107,.4); }
.btn.sm { padding: 5px 10px; font-size: 12px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; }
.ib { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; border: 0; background: transparent; color: #c5cfe0; cursor: pointer; }
.ib:hover { background: rgba(255,255,255,.07); color: #fff; }
.ib:disabled { opacity: .35; cursor: default; }
.ib.sm { width: 26px; height: 26px; }
.ib.sm svg { width: 15px; height: 15px; }

/* Arbeitsfläche */
.ed { flex: 1; min-height: 0; display: flex; }
.side { width: 300px; flex: none; display: flex; flex-direction: column; background: var(--panel); min-height: 0; }
.side.left { border-right: 1px solid var(--line); }
.side.right { border-left: 1px solid var(--line); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); flex: none; }
.tabs button { border: 0; background: none; color: var(--muted); padding: 9px 2px 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.phead { padding: 12px 14px 10px; font-weight: 700; font-size: 13.5px; border-bottom: 1px solid var(--line); flex: none; display: flex; align-items: center; gap: 8px; }
.phead .kind { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.panel { flex: 1; overflow-y: auto; padding: 12px 14px 20px; min-height: 0; }
.panel::-webkit-scrollbar, .tlscroll::-webkit-scrollbar { width: 10px; height: 10px; }
.panel::-webkit-scrollbar-thumb, .tlscroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
h4 { margin: 16px 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
h4:first-child { margin-top: 0; }
.hint { color: var(--muted); font-size: 12px; margin: 6px 0; }

/* Medien */
.drop { border: 1.5px dashed var(--line2); border-radius: 12px; padding: 16px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover { border-color: var(--accent); background: rgba(162,89,255,.06); color: var(--text); }
.drop svg { width: 26px; height: 26px; margin-bottom: 6px; color: var(--accent); }
.drop b { display: block; color: var(--text); margin-bottom: 2px; }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mitem { position: relative; border-radius: 10px; overflow: hidden; background: #0a0e18; border: 1px solid var(--line); cursor: grab; aspect-ratio: 16/10; }
.mitem:hover { border-color: var(--line2); }
.mitem img, .mitem .ph { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.mitem .ph { display: grid; place-items: center; color: var(--a); background: linear-gradient(135deg, #0f2b28, #0b1320); }
.mitem .ph svg { width: 28px; height: 28px; }
.mitem .nm { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 4px; font-size: 11px; background: linear-gradient(transparent, rgba(0,0,0,.85)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mitem .du { position: absolute; top: 4px; left: 4px; font-size: 10.5px; padding: 1px 5px; border-radius: 5px; background: rgba(0,0,0,.6); }
.mitem .add, .mitem .rm { position: absolute; top: 4px; width: 24px; height: 24px; border-radius: 7px; border: 0; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .12s; }
.mitem .add { right: 4px; background: var(--accent); color: #fff; }
.mitem .rm { right: 32px; background: rgba(0,0,0,.65); color: #fff; }
.mitem:hover .add, .mitem:hover .rm { opacity: 1; }
.mitem .add svg, .mitem .rm svg { width: 14px; height: 14px; }
.mitem.miss::after { content: 'Datei fehlt'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.6); color: var(--bad); font-size: 12px; }
.mitem.loading::after { content: 'Lädt …'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); font-size: 12px; }

/* Kachelraster (Text, Effekte, Übergänge) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile { border: 1px solid var(--line); background: var(--panel2); border-radius: 10px; padding: 10px 8px; cursor: pointer; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #d3dbe8; transition: border-color .12s, transform .08s; }
.tile:hover { border-color: var(--accent); color: #fff; }
.tile:active { transform: scale(.97); }
.tile.on { border-color: var(--accent); background: rgba(162,89,255,.16); color: #fff; }
.tile .pv { width: 100%; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: #000; display: grid; place-items: center; position: relative; }
.tile .pv img { width: 100%; height: 100%; object-fit: cover; }
.tile .tx { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.1; padding: 4px; }
.trv { width: 100%; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; position: relative; background: #3a6df0; }
.trv i { position: absolute; inset: 0; background: #ff5f8f; }

/* Eigenschaften */
.row { display: grid; grid-template-columns: 92px 1fr 46px; align-items: center; gap: 8px; margin: 7px 0; }
.row > label { color: #c5cfe0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .val { font-size: 11.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; cursor: pointer; }
.row.two { grid-template-columns: 92px 1fr; }
.row input[type=range] { width: 100%; }
.row input[type=color] { width: 100%; height: 26px; padding: 0 2px; border-radius: 7px; border: 1px solid var(--line2); background: rgba(0,0,0,.3); cursor: pointer; }
.row .sel, .row .inp { width: 100%; padding: 5px 7px; }
textarea.inp { width: 100%; min-height: 64px; resize: vertical; user-select: text; }
input.inp { user-select: text; }
.chk { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #c5cfe0; font-size: 12px; margin: 7px 0; }
.chk input { accent-color: var(--accent); width: 15px; height: 15px; }
.seg { display: flex; border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; }
.seg button { flex: 1; border: 0; background: transparent; padding: 5px 4px; cursor: pointer; color: #c5cfe0; font-size: 12px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--accent); color: #fff; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 4px; }
.acts .btn { padding: 6px 4px; font-size: 11.5px; font-weight: 500; flex-direction: column; gap: 3px; }
.acts .btn svg { width: 16px; height: 16px; }
.sec { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 2px; }
.sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 10px 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.sec > summary::-webkit-details-marker { display: none; }
.sec > summary::after { content: '▸'; transition: transform .15s; }
.sec[open] > summary::after { transform: rotate(90deg); }
.sec > summary:hover { color: var(--text); }
.kbd { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 12.5px; }
kbd { background: rgba(255,255,255,.08); border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font: 600 11.5px var(--font); white-space: nowrap; }

/* Range-Regler */
input[type=range] { -webkit-appearance: none; appearance: none; height: 18px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px; box-shadow: 0 0 0 3px rgba(162,89,255,.45); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }

/* Vorschau */
.stage { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #070a12; }
.view { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; overflow: hidden; }
#cv { background: #000; box-shadow: 0 10px 40px rgba(0,0,0,.6); border-radius: 4px; touch-action: none; }
.view:fullscreen { background: #000; }
.view:fullscreen #cv { border-radius: 0; }
.dropHint { position: absolute; inset: 14px; border: 2px dashed rgba(162,89,255,.7); border-radius: 16px; background: rgba(12,8,24,.85); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; pointer-events: none; z-index: 5; }
.dropHint svg { width: 40px; height: 40px; color: var(--accent); }
.dropHint b { font-size: 18px; }
.dropHint span { color: var(--muted); }
body.dragging .dropHint { display: flex; }
.empty { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); text-align: center; pointer-events: none; }
.empty b { color: var(--text); font-size: 17px; }
.empty .btn { pointer-events: auto; }
.transport { height: 48px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-top: 1px solid var(--line); background: var(--bg2); }
.tbtns { display: flex; align-items: center; gap: 2px; }
.ib.play { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #111; }
.ib.play:hover { background: #fff; color: #000; transform: scale(1.05); }
.time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; min-width: 70px; }
.time.dim { color: var(--muted); font-weight: 500; }

/* Zeitleiste */
.tl { height: 300px; flex: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); background: var(--bg2); position: relative; }
.tl::before { content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 8px; cursor: ns-resize; z-index: 20; }
.tlbar { height: 42px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.tb { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: #c5cfe0; cursor: pointer; font-size: 12.5px; }
.tb:hover { background: rgba(255,255,255,.07); color: #fff; }
.tb svg { width: 16px; height: 16px; }
.tb.tog.on { color: var(--accent); background: rgba(162,89,255,.12); }
.tb:disabled { opacity: .35; cursor: default; background: none; }
.sep { width: 1px; height: 20px; background: var(--line2); margin: 0 4px; }
#zoom { width: 110px; }
.ddw { position: relative; }
.ddm { position: absolute; bottom: calc(100% + 4px); right: 0; background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 4px; display: none; z-index: 30; min-width: 140px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.ddm.open { display: block; }
.ddm button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.ddm button:hover { background: rgba(255,255,255,.08); }
.tlscroll { flex: 1; overflow: auto; position: relative; }
.tlinner { position: relative; min-width: 100%; }
.trow { display: flex; position: relative; border-bottom: 1px solid var(--line); }
.thead { width: 150px; flex: none; position: sticky; left: 0; z-index: 6; background: var(--panel); border-right: 1px solid var(--line); display: flex; align-items: center; gap: 4px; padding: 0 6px 0 10px; font-size: 12px; }
.thead .dot { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.thead .tn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c5cfe0; }
.thead .ib { width: 24px; height: 24px; }
.thead .ib svg { width: 14px; height: 14px; }
.thead .ib.off { color: var(--bad); }
.lane { position: relative; flex: 1; }
.lane.dropok { background: rgba(162,89,255,.08); }
.trow.video .lane { height: 58px; }
.trow.text .lane { height: 38px; }
.trow.audio .lane { height: 46px; }
.trow.ruler { position: sticky; top: 0; z-index: 8; background: var(--bg2); border-bottom: 1px solid var(--line2); }
.trow.ruler .thead { background: var(--bg2); color: var(--muted); font-size: 11px; }
.trow.ruler .lane { height: 26px; cursor: pointer; }
.tick { position: absolute; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.14); font-size: 10.5px; color: var(--muted); padding: 2px 0 0 4px; white-space: nowrap; pointer-events: none; }
.tick.minor { top: 18px; border-left-color: rgba(255,255,255,.08); }
.clip { position: absolute; top: 4px; bottom: 4px; border-radius: 7px; overflow: hidden; cursor: grab; border: 1.5px solid rgba(255,255,255,.12); background-color: var(--v); background-repeat: repeat-x; background-size: auto 100%; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.clip:active { cursor: grabbing; }
.clip.sel { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 4px 12px rgba(0,0,0,.5); z-index: 3; }
.clip.text { background: linear-gradient(180deg, #d99a2b, #b77b17); }
.clip.color { background-image: none; }
.clip.audio { background-color: #15584c; background-repeat: no-repeat; background-size: 100% 100%; }
.clip.image { background-color: #6248c9; }
.clip .cn { position: absolute; left: 6px; top: 3px; right: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px rgba(0,0,0,.9); pointer-events: none; }
.clip .badge { position: absolute; right: 5px; bottom: 3px; font-size: 10px; font-weight: 700; padding: 0 4px; border-radius: 4px; background: rgba(0,0,0,.55); pointer-events: none; }
.clip .tri { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(255,255,255,.45), transparent); pointer-events: none; }
.clip .hl, .clip .hr { position: absolute; top: 0; bottom: 0; width: 8px; cursor: ew-resize; z-index: 2; }
.clip .hl { left: 0; } .clip .hr { right: 0; }
.clip.sel .hl, .clip.sel .hr, .clip:hover .hl, .clip:hover .hr { background: rgba(255,255,255,.35); }
.clip .fx { position: absolute; left: 5px; bottom: 3px; font-size: 10px; padding: 0 4px; border-radius: 4px; background: rgba(162,89,255,.85); pointer-events: none; }
.ph { position: absolute; top: 0; bottom: 0; width: 0; z-index: 9; pointer-events: none; }
.ph::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #ff4d6d; }
.ph::after { content: ''; position: absolute; top: 0; left: -7px; border: 7px solid transparent; border-top: 9px solid #ff4d6d; }
.snapline { position: absolute; top: 0; bottom: 0; width: 1px; background: #ffe066; z-index: 9; pointer-events: none; }
.addrow { padding: 8px 10px; color: var(--muted); font-size: 12px; position: sticky; left: 0; width: max-content; }

/* Dialoge & Meldungen */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(3,5,10,.72); padding: 16px; }
.dlg { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.dlg h2 { margin: 0 0 4px; font-size: 19px; }
.dlg p { color: var(--muted); margin: 0 0 14px; }
.dlg .foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.dlg .opt { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; margin: 10px 0; }
.bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: hidden; margin: 14px 0 6px; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width .2s; }
.toast { position: fixed; left: 50%; bottom: 320px; transform: translateX(-50%); z-index: 120; background: #1d2640; border: 1px solid var(--line2); padding: 10px 16px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: 90vw; }
.toast.bad { border-color: rgba(255,107,107,.5); }

@media (max-width: 1100px) { .side { width: 250px; } .tb span.lbl { display: none; } }
@media (max-width: 860px) {
  .side.left { width: 210px; } .side.right { display: none; } .local, .pname { display: none; }
}

/* ---------- Profi-Runde: Keyframes, Farbkorrektur, Marker ---------- */
.row.anim { grid-template-columns: 92px 1fr 46px 20px; }
.kfb { width: 20px; height: 20px; border: 0; background: none; color: rgba(255,255,255,.28); cursor: pointer; font-size: 12px; padding: 0; line-height: 20px; }
.kfb:hover { color: #fff; }
.kfb.has { color: #f5c542; opacity: .55; }
.kfb.on { color: #f5c542; opacity: 1; text-shadow: 0 0 6px rgba(245,197,66,.7); }
.kflist { margin: 8px 0; display: grid; gap: 4px; }
.kfi { display: grid; grid-template-columns: 1fr auto 26px; align-items: center; gap: 6px; font-size: 12px; background: var(--panel2); border-radius: 8px; padding: 3px 4px 3px 8px; }
.wheels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 4px; }
.wh { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.wh input { width: 100%; }
.wheel { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; cursor: crosshair; touch-action: none;
  background: radial-gradient(circle, rgba(128,128,128,1) 0%, rgba(128,128,128,0) 70%), conic-gradient(from 90deg, #f44, #f4f, #44f, #4ff, #4f4, #ff4, #f44); box-shadow: inset 0 0 0 1px var(--line2); }
.wheel i { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #000; pointer-events: none; }
canvas.curve { width: 100%; aspect-ratio: 1; border-radius: 8px; margin: 8px 0; cursor: crosshair; touch-action: none; box-shadow: inset 0 0 0 1px var(--line2); }
#curveCh { margin-top: 6px; }
.mk { position: absolute; top: 0; bottom: 0; width: 9px; margin-left: -4px; cursor: pointer; z-index: 2; }
.mk::before { content: ''; position: absolute; left: 0; top: 0; border: 4.5px solid transparent; border-top: 8px solid #3ee0b6; }
.mk::after { content: ''; position: absolute; left: 4px; top: 6px; bottom: 0; border-left: 1px solid rgba(62,224,182,.55); }
.mk.beat::before { border-top-color: #ff5f8f; border-width: 3px; border-top-width: 6px; left: 1.5px; }
.mk.beat::after { border-left-color: rgba(255,95,143,.35); }
.io { position: absolute; top: 0; bottom: 0; background: rgba(162,89,255,.22); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); pointer-events: none; }
.clip .kd { position: absolute; bottom: 2px; width: 8px; height: 8px; margin-left: -4px; background: #f5c542; transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(0,0,0,.6); pointer-events: none; z-index: 2; }
.clip.msel { border-color: #f5c542; box-shadow: 0 0 0 2px rgba(245,197,66,.4); }
.stickers { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.stk { font-size: 20px; padding: 4px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel2); cursor: pointer; font-family: 'Segoe UI Emoji', sans-serif; }
.stk:hover { border-color: var(--accent); }