:root {
  --bg:        #0f0f0f;
  --surface:   #1a1a1a;
  --surface2:  #242424;
  --border:    #2e2e2e;
  --text:      #e8e6e0;
  --muted:     #888680;
  --accent:    #f5a623;
  --accent-dk: #c4831a;
  --danger:    #e05252;
  --mono:      'JetBrains Mono', 'Courier New', monospace;
  --sans:      -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:    8px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  height: 100vh;
  overflow: hidden;
}

#app { display: flex; height: 100vh; }

/* ── Sidebar ─────────────────────────────────────────────── */
#sidebar {
  width: 220px;
  min-width: 220px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}
.sidebar-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  padding: 0 20px 20px;
  letter-spacing: 0.5px;
}
.sidebar-nav { list-style: none; }
.sidebar-nav .nav-link {
  display: block;
  padding: 10px 20px;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}
.sidebar-nav .nav-link:hover { color: var(--text); background: var(--surface2); }
.sidebar-nav .nav-link.active { color: var(--accent); background: var(--surface2); }

#hamburger {
  display: none;
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 18px;
}

/* ── Main ────────────────────────────────────────────────── */
#main { flex: 1; overflow-y: auto; position: relative; }

.view { padding: 24px; display: block; }
.view.hidden { display: none; }

/* ── Login ───────────────────────────────────────────────── */
#view-login.view { display: flex; align-items: center; justify-content: center; height: 100%; }
#view-login.view.hidden { display: none; }
.login-box {
  width: 320px;
  max-width: 90vw;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.login-box h1 { font-size: 20px; color: var(--accent); text-align: center; margin-bottom: 24px; }
.login-box label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.login-box input {
  width: 100%; margin-top: 6px; padding: 8px 10px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-family: var(--sans); font-size: 14px;
}
.login-box button { width: 100%; justify-content: center; margin-top: 6px; }
.login-error { color: var(--danger); font-size: 13px; min-height: 18px; margin-bottom: 6px; }

/* ── Sidebar user / admin panel ─────────────────────────────── */
.sidebar-user {
  padding: 10px 20px; margin: 4px 0;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.sidebar-user .username { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.user-row:last-child { border-bottom: none; }

.settings-action-row input[type="text"],
.settings-action-row input[type="password"] {
  background: var(--surface2); border: 1px solid var(--border); color: var(--text);
  padding: 7px 10px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; outline: none;
}

.auth-hidden { display: none !important; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface2); }

/* ── View header ─────────────────────────────────────────── */
.view-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px; gap: 12px;
}
.view-header h2 { font-size: 20px; font-weight: 600; }

/* ── Search ──────────────────────────────────────────────── */
#search-input {
  flex: 1; max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px;
  outline: none;
  transition: border-color 150ms ease;
}
#search-input:focus { border-color: var(--accent); }

/* ── Filter bar ──────────────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); padding: 5px 12px; border-radius: 20px;
  cursor: pointer; font-size: 13px;
  transition: all 150ms ease;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 600; }

#sort-select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 5px 10px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 13px; cursor: pointer; margin-left: auto;
}

/* ── Tab grid ────────────────────────────────────────────── */
.tab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.tab-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.tab-card:hover { border-color: var(--accent); background: var(--surface2); }
.tab-card-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.tab-card-artist { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.tab-card-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badge {
  font-size: 11px; padding: 2px 7px; border-radius: 4px;
  border: 1px solid var(--border); color: var(--muted); font-family: var(--mono);
}
.badge-accent { border-color: var(--accent); color: var(--accent); }
.tag-chip {
  font-size: 11px; color: var(--muted); background: var(--surface2);
  padding: 2px 6px; border-radius: 4px;
}
.star { color: var(--accent); font-size: 14px; margin-left: auto; }

/* ── Viewer ──────────────────────────────────────────────── */
.viewer-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px; flex-wrap: wrap;
}
.viewer-meta { flex: 1; min-width: 0; }
.viewer-meta span { display: block; }
.viewer-meta span:first-child { font-size: 17px; font-weight: 600; }
.viewer-controls { display: flex; gap: 6px; flex-wrap: wrap; }
#transpose-display {
  display: inline-flex; align-items: center;
  color: var(--accent); font-family: var(--mono); font-size: 13px;
  min-width: 28px; justify-content: center;
}
.chord-diagrams-row {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.chord-diagram { text-align: center; }
.chord-diagram-name { font-size: 11px; color: var(--muted); margin-top: 4px; font-family: var(--mono); }
.tab-content {
  font-family: var(--mono); font-size: 15px; line-height: 1.6;
  white-space: pre; overflow-x: auto; color: var(--text); padding-bottom: 80px;
}
.autoscroll-bar {
  position: fixed; bottom: 0; left: 220px; right: 0;
  background: var(--surface); border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 24px; z-index: 50;
}
#scroll-speed { accent-color: var(--accent); flex: 1; max-width: 120px; }
.scroll-progress { flex: 1; height: 4px; background: var(--border); border-radius: 2px; }
.muted { color: var(--muted); }

/* ── Editor ──────────────────────────────────────────────── */
.editor-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row label {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; color: var(--muted); flex: 1; min-width: 120px;
}
.form-row input,
.form-row select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 7px 10px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; outline: none;
  transition: border-color 150ms ease;
}
.form-row input:focus,
.form-row select:focus { border-color: var(--accent); }
.tab-textarea {
  width: 100%; min-height: 500px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-family: var(--mono); font-size: 14px; line-height: 1.6;
  padding: 14px; border-radius: var(--radius); resize: vertical;
  outline: none; transition: border-color 150ms ease; white-space: pre;
}
.tab-textarea:focus { border-color: var(--accent); }
.draft-indicator { font-size: 12px; color: var(--muted); min-height: 16px; }

/* ── Modal ───────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center; z-index: 200;
}
.modal.hidden { display: none; }
.modal-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; width: 480px; max-width: 95vw;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; font-weight: 600;
}
.modal-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.modal-tab {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  padding: 6px 14px; border-radius: var(--radius); cursor: pointer; font-size: 13px;
  transition: all 150ms ease;
}
.modal-tab.active { background: var(--accent); border-color: var(--accent); color: #000; }
.import-panel { display: flex; gap: 10px; }
.import-panel.hidden { display: none; }
.import-panel input[type="url"],
.import-panel input[type="file"] {
  flex: 1; background: var(--surface2); border: 1px solid var(--border); color: var(--text);
  padding: 7px 10px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; outline: none;
}
.import-status { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ── Playlists ───────────────────────────────────────────── */
.playlists-layout { display: flex; gap: 20px; height: calc(100vh - 120px); }
.playlist-list {
  width: 240px; min-width: 240px;
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto;
}
.playlist-item-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px; cursor: pointer;
  transition: all 150ms ease;
}
.playlist-item-card:hover,
.playlist-item-card.active { border-color: var(--accent); background: var(--surface2); }
.playlist-item-card .pl-name { font-weight: 600; }
.playlist-item-card .pl-count { font-size: 12px; color: var(--muted); margin-top: 2px; }
.playlist-detail { flex: 1; overflow-y: auto; }
.playlist-detail.hidden { display: none; }
.playlist-detail-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.playlist-detail-header h3 { font-size: 18px; font-weight: 600; flex: 1; }
.playlist-search-row { margin-bottom: 16px; }
.playlist-search-row input {
  width: 100%; background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 8px 14px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; outline: none;
}
.playlist-search-row input:focus { border-color: var(--accent); }
.search-dropdown {
  margin-top: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); max-height: 260px; overflow-y: auto;
}
.dropdown-item { padding: 10px 14px; cursor: pointer; transition: background 150ms ease; }
.dropdown-item:hover { background: var(--surface2); }
.dropdown-empty { padding: 14px; color: var(--muted); font-size: 13px; }
.playlist-items { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.playlist-song-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px; cursor: grab;
  transition: border-color 150ms ease;
}
.playlist-song-row.drag-over { border-color: var(--accent); }
.pl-song-title { font-weight: 500; flex: 1; }
.pl-song-artist { font-size: 12px; color: var(--muted); }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── Sidebar backdrop ────────────────────────────────────── */
#sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 140;
}
#sidebar-backdrop.active { display: block; }

#btn-viewer-overflow { display: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Existing rules */
  #sidebar { display: none; position: fixed; z-index: 150; height: 100vh; }
  #sidebar.open { display: flex; }
  #hamburger { display: block; }
  .tab-grid { grid-template-columns: 1fr; }
  .playlists-layout { flex-direction: column; height: auto; }
  .playlist-list { width: 100%; min-width: unset; }
  .live-layout { flex-direction: column; }
  .live-queue-panel { width: 100%; min-width: unset; position: static; max-height: none; }
  .multiselect-bar { left: 0; }

  /* Touch targets */
  .btn { min-height: 44px; min-width: 44px; padding: 10px 16px; }
  .chip { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 16px; }

  /* Library view-header */
  .view-header { flex-wrap: wrap; }
  #search-input { max-width: none; width: 100%; order: -1; flex-basis: 100%; }

  /* Filter bar */
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-chips { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  #sort-select { width: 100%; margin-left: 0; }

  /* Viewer + setlist: tab content */
  .tab-content { white-space: pre-wrap; font-size: 13px; touch-action: pan-y; }

  /* Viewer: chord diagrams horizontal scroll */
  .chord-diagrams-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Viewer: autoscroll bar */
  .autoscroll-bar { left: 0; padding: 10px 16px; }
  #scroll-speed { max-width: none; }

  /* Playlists */
  .playlist-detail-header { flex-wrap: wrap; }
  .playlist-search-inputs { flex-direction: column; }

  /* Modals */
  .bulk-row-fields { flex-direction: column; }
  .import-panel { flex-direction: column; }

  /* Setlist */
  .setlist-body { padding: 16px 16px 80px; }

  /* Viewer: collapsible toolbar */
  #btn-viewer-overflow { display: inline-flex; }
  .viewer-controls {
    display: none;
    width: 100%;
    order: 10;
    justify-content: flex-start;
    padding-top: 8px;
  }
  .viewer-controls.open { display: flex; }
  .viewer-meta {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .viewer-meta span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ── Light mode ──────────────────────────────────────────── */
body.light-mode {
  --bg: #f5f5f2; --surface: #ffffff; --surface2: #efefec;
  --border: #dddbd6; --text: #1a1a1a; --muted: #666460;
}

/* Playlist tag filter */
.playlist-search-inputs {
  display: flex;
  gap: 8px;
}
.playlist-search-inputs input { flex: 1; }
#playlist-tag-filter {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
#playlist-tag-filter:focus { border-color: var(--accent); }

/* Setlist Mode */
#view-setlist {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-x: hidden;
}
#view-setlist.hidden { display: none !important; }
.setlist-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.setlist-nav-compact {
  display: flex;
  align-items: center;
  gap: 8px;
}
.setlist-scroll-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
#setlist-scroll-speed { accent-color: var(--accent); width: 100px; }
.setlist-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 40px 80px;
}
.setlist-counter { font-size: 0.9rem; }
.setlist-title { font-size: 1.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.setlist-artist { font-size: 1rem; margin-bottom: 24px; }

/* Multi-select */
.multiselect-bar {
  position: fixed;
  bottom: 0;
  left: 220px;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  z-index: 60;
}
.multiselect-bar.hidden { display: none; }
#multiselect-playlist-select {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 10px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  outline: none;
}
.tab-card { position: relative; }
.tab-card-checkbox {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}
.tab-card.selected {
  border-color: var(--accent);
  background: var(--surface2);
}
/* ── Search snippet ──────────────────────────────────────────── */
.snippet {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
mark {
  background: rgba(245, 166, 35, 0.3);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}
/* ── Capo/tuning label ──────────────────────────────────────────── */
.capo-tuning-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}
.capo-tuning-label.hidden { display: none; }
.viewer-meta .capo-tuning-label { display: inline-block; margin-top: 4px; }
.setlist-body .capo-tuning-label { margin-bottom: 8px; }

/* ── Bulk import modal ───────────────────────────────────────── */
.modal-box-wide { width: 760px; max-width: 96vw; }

.bulk-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color 150ms ease;
}
.bulk-drop-zone:hover,
.bulk-drop-zone.drag-active { border-color: var(--accent); }

.bulk-or-divider {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0;
}

.bulk-url-textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px;
  border-radius: var(--radius);
  resize: vertical;
  outline: none;
  transition: border-color 150ms ease;
}
.bulk-url-textarea:focus { border-color: var(--accent); }

.bulk-preview-list {
  max-height: 440px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.bulk-preview-row {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.bulk-preview-error { border-color: var(--danger); }
.bulk-row-source { font-size: 11px; color: var(--muted); margin-bottom: 8px; word-break: break-all; }
.bulk-error-msg { font-size: 12px; color: var(--danger); margin-bottom: 8px; }

.bulk-row-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.bulk-row-fields label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  color: var(--muted);
}
.bulk-row-fields input,
.bulk-row-fields select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--sans);
  outline: none;
  transition: border-color 150ms ease;
}
.bulk-row-fields input:focus,
.bulk-row-fields select:focus { border-color: var(--accent); }

.bulk-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

/* ── Sidebar bottom nav ──────────────────────────────────────── */
.sidebar-nav-bottom {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

/* ── Settings page ───────────────────────────────────────────── */
.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 560px;
  margin-bottom: 16px;
}
.settings-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.settings-card-desc {
  font-size: 13px;
  margin-bottom: 16px;
}
.settings-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* ── Live session ────────────────────────────────────────────── */
.live-layout { display: flex; gap: 20px; align-items: flex-start; }
.live-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.live-queue-panel {
  width: 340px; min-width: 300px; flex-shrink: 0;
  position: sticky; top: 20px;
  max-height: calc(100vh - 140px); overflow-y: auto;
}
#live-link { flex: 1; min-width: 220px; }
.live-share-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.live-qr {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: var(--radius);
  padding: 8px;
  flex-shrink: 0;
}
.live-share-info { flex: 1; min-width: 240px; }

.setlist-toast {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  z-index: 50;
  opacity: 1;
  transition: opacity 300ms ease;
}
.setlist-toast.hidden { opacity: 0; pointer-events: none; }
