/* ═══════════════════════════════════════════════════════════════════════
   ChordVault — Design System
   Clean, flat, professional. No effects. No emojis. No blur.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg-base:       #0a0e1a;
  --bg-surface:    #0d1220;
  --bg-elevated:   #111827;
  --bg-card:       #151e30;
  --bg-input:      #090d18;
  --bg-hover:      #182035;

  --border:        #1a2438;
  --border-subtle: #131a2e;
  --border-strong: #243050;

  --text-primary:   #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary:  #52525b;

  --accent:        #e0a23a;
  --accent-hover:  #f0be5c;
  --accent-muted:  rgba(224, 162, 58, 0.10);
  --accent-border: rgba(224, 162, 58, 0.25);

  --success:       #22c55e;
  --success-muted: rgba(34, 197, 94, 0.10);
  --danger:        #ef4444;
  --danger-muted:  rgba(239, 68, 68, 0.10);

  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --radius:     8px;
  --radius-sm:  6px;
  --radius-xs:  4px;

  --song-font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }

body {
  min-height: 100%;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.hidden { display: none !important; }

/* ── Header ──────────────────────────────────────────────────────────── */

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  height: 52px;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover { color: var(--text-primary); }

.brand-icon {
  width: 26px;
  height: 26px;
  background: var(--accent);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.brand-text { font-weight: 600; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  transition: color 0.1s, background 0.1s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
  text-decoration: none;
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
}

.hamburger:hover { color: var(--text-primary); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 6px 12px 10px;
}

.mobile-nav.open { display: block; }

.mobile-nav .nav-link {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.mobile-nav .nav-link.active { background: var(--bg-card); }

.user-chip { display: flex; align-items: center; gap: 8px; }

.user-chip img,
.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-muted);
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}

.user-name {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setup-chip {
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

/* ── Page ────────────────────────────────────────────────────────────── */

.page {
  max-width: 940px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}

.page-narrow { max-width: 720px; }

.status { color: var(--text-secondary); font-size: 13px; margin: 12px 0; }
.status.error { color: var(--danger); }

.empty {
  color: var(--text-tertiary);
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--bg-surface);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.back-link:hover { color: var(--text-primary); text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-hover);
  text-decoration: none;
}

.btn:active { background: var(--bg-card); }
.btn:disabled { opacity: 0.3; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-danger {
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.btn-danger:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-muted);
}

.btn-small { padding: 5px 10px; font-size: 12px; }
.btn-block { width: 100%; }

.btn-google {
  background: #fff;
  border-color: #e0e0e0;
  color: #1a1a1a;
  width: 100%;
  font-weight: 600;
  padding: 10px 16px;
}

.btn-google:hover {
  background: #f5f5f5;
  border-color: #ccc;
  color: #1a1a1a;
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover:not(:disabled) {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.icon-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}

/* ── Toolbar ─────────────────────────────────────────────────────────── */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.search-input {
  flex: 1 1 200px;
  min-width: 180px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  outline: none;
}

.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-tertiary); }

.chip-row { display: flex; flex-wrap: wrap; gap: 4px; }

.chip {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  cursor: pointer;
}

.chip:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.chip.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Song Cards ──────────────────────────────────────────────────────── */

.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.song-card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text-primary);
}

.song-card:hover {
  border-color: var(--border-strong);
  text-decoration: none;
}

.song-card-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 3px;
  line-height: 1.3;
}

.song-card-artist {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.song-card-uploader {
  font-size: 11px;
  color: var(--text-tertiary);
}

.song-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
}

.badge-neutral {
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border-color: var(--border);
}

.badge-fav {
  margin-left: auto;
  color: var(--text-tertiary);
  background: transparent;
  border-color: var(--border);
}

.badge-public {
  color: var(--success);
  background: var(--success-muted);
  border-color: rgba(34, 197, 94, 0.25);
}

/* ── Song Detail ─────────────────────────────────────────────────────── */

.song-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.song-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 2px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.song-artist {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.song-uploader {
  font-size: 12px;
  color: var(--text-tertiary);
  margin: 4px 0 0;
}

.song-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 16px 0 18px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
}

.song-meta-item { color: var(--text-secondary); }

.song-meta-item strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 2px;
}

.song-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.fav-btn { color: var(--text-secondary); }
.fav-btn.active { color: var(--danger); border-color: var(--danger); }

.tags-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }

.tag {
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 2px 7px;
}

/* ── Song Controls ───────────────────────────────────────────────────── */

.song-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 18px 0 14px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.control-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.control-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 600;
}

.transpose-badge {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-width: 52px;
  text-align: center;
}

.font-slider {
  width: 120px;
  accent-color: var(--accent);
}

/* ── Song Body ───────────────────────────────────────────────────────── */

.song-body {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  overflow: hidden;
}

.song-row {
  overflow-x: auto;
  white-space: pre;
  font-family: var(--mono);
  font-size: var(--song-font-size);
  line-height: 1.6;
  padding: 1px 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.song-row::-webkit-scrollbar { height: 4px; }
.song-row::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

.song-chords { color: var(--accent); font-weight: 600; }
.chord-token { color: var(--accent); font-weight: 600; }
.song-lyrics { color: var(--text-primary); }

.song-section {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: calc(var(--song-font-size) * 1.04);
  letter-spacing: 0.01em;
  opacity: 0.6;
}

.song-section-row { margin-top: 6px; }
.song-section-row:first-child { margin-top: 0; }

/* ── Chord Diagrams ──────────────────────────────────────────────────── */

.chord-diagrams-section {
  margin: 14px 0;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}

.chord-diagrams {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: flex-start;
}

/* ── Forms ───────────────────────────────────────────────────────────── */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.field.full { grid-column: 1 / -1; }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-tertiary); }

.field textarea {
  resize: vertical;
  min-height: 200px;
  line-height: 1.6;
}

.field textarea.song-textarea {
  font-family: var(--mono);
  font-size: var(--song-font-size);
  white-space: pre;
  tab-size: 4;
}

.field .hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-tertiary);
}

.field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] { accent-color: var(--accent); }

.checkbox-label .hint {
  font-weight: 400;
  color: var(--text-tertiary);
  font-size: 11px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.form-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 10px;
}

.preview-pane { margin-top: 24px; }

.preview-pane h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 0 0 8px;
  font-weight: 600;
}

/* ── Duplicate Warning ── */

.duplicate-warning {
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
}

.duplicate-warning p { margin: 0 0 10px; }

/* ── Import / Bulk ── */

.ug-import-section {
  margin-bottom: 24px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ug-import-section h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 0 0 8px;
  font-weight: 600;
}

.ug-import-section code {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg-elevated);
  padding: 1px 5px;
  border-radius: var(--radius-xs);
  color: var(--accent);
}

.bulk-import-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.bulk-import-section h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 0 0 8px;
  font-weight: 600;
}

.bulk-import-section code {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg-elevated);
  padding: 1px 5px;
  border-radius: var(--radius-xs);
  color: var(--accent);
}

.bulk-preview { margin-top: 10px; }

.bulk-item {
  padding: 5px 10px;
  margin: 3px 0;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.bulk-item.ok { color: var(--success); background: var(--success-muted); }
.bulk-item.err { color: var(--danger); background: var(--danger-muted); }

/* ── Song Picker ── */

.song-picker {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.picker-song {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-primary);
}

.picker-song:hover { background: var(--bg-elevated); }

/* ── Profile ── */

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Sign-In Gate ── */

.signin-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  padding: 24px;
}

.signin-gate-inner {
  text-align: center;
  max-width: 340px;
}

.signin-gate-brand {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.signin-gate-brand .brand-icon { width: 32px; height: 32px; font-size: 15px; border-radius: var(--radius-sm); }

.signin-gate-brand span { color: var(--text-primary); }

.signin-gate-inner h1 {
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.signin-gate-inner p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* ── Modal ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 24px;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover { color: var(--text-primary); }

.modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--text-tertiary);
  font-size: 11px;
}

.modal-divider::before,
.modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.auth-tab {
  flex: 1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  padding: 7px 0;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
}

.auth-error {
  color: var(--danger);
  font-size: 12px;
  margin: 8px 0 0;
}

/* ── Cover Art ── */

.cover-art-container {
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 320px;
}

.cover-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Artist ── */

.artist-cover-container {
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 240px;
}

.artist-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-bio {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 6px 0 0;
  line-height: 1.6;
}

.artist-edit-form {
  margin: 16px 0;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.artist-edit-form h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 0 0 14px;
  font-weight: 600;
}

/* ── Admin ── */

.admin-section { margin-top: 28px; }

.admin-section h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.admin-section .hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
}

.admin-row:hover {
  border-color: var(--border-strong);
  text-decoration: none;
}

.admin-row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-row-info .hint {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ── Responsive ── */

@media (max-width: 700px) {
  .app-header { padding: 0 16px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .page { padding: 18px 16px 60px; }
  .song-title { font-size: 22px; }
  .song-grid { grid-template-columns: 1fr; }
  .song-controls { gap: 8px 14px; }
  .user-name { display: none; }
}

/* ── Print ── */

@media print {
  body { background: white; color: black; }
  .app-header, .back-link, .song-controls, .song-actions,
  .chord-diagrams-section, .song-meta-grid, .song-uploader,
  .tags-row, .header-nav, #auth-area, .print-hide { display: none !important; }
  .song-body { background: white; border: none; padding: 0; overflow: visible; }
  .song-row { overflow: visible; white-space: pre; color: black; }
  .song-chords, .chord-token { color: #333; font-weight: 600; }
  .song-lyrics { color: black; }
  .song-section { color: black; font-weight: 700; }
  .song-title { font-size: 22px; color: black; }
  .song-artist { color: #555; }
  a { color: black; text-decoration: none; }
}
