.template-bulk { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 16px; border-bottom:1px solid var(--border); background:var(--panel); }
.template-card { transition:border-color .12s, box-shadow .12s; }
.template-card.selected { border-color:var(--accent); box-shadow:0 0 0 2px #72d4ff22; }
.template-select { position:absolute; right:8px; top:8px; z-index:4; width:32px; height:32px; border:1px solid var(--border); border-radius:9px; background:var(--card); color:var(--text-secondary); display:grid; place-items:center; }
.template-select[aria-pressed="true"] { background:var(--selected); border-color:var(--accent); color:var(--accent); }
.template-select .icon { font-size:18px; }
.real-template-preview { padding:0; background:#000; }
.real-template-preview img,
.real-template-preview video { width:100%; height:100%; display:block; object-fit:contain; }
