/* ═══════════════════════════════════════════════════════════
   Pulpit Playlist — shared stylesheet
   Chicago Church of Christ · City Ministry

   Contrast notes (WCAG AA, computed not eyeballed):
     #1B2C44 on #FFFFFF ......... 14.09  (body text)
     #4E5D74 on #FFFFFF .........  6.68  (secondary text)
     #5F6E85 on #FFFFFF .........  5.18  (muted text / placeholders)
     #284A72 on #FFFFFF .........  9.08  (primary on white, and inverse)
     #FFFFFF on #1C3554 ......... 12.45  (hero text)
     #C6D4E5 on #1C3554 .........  8.27  (hero secondary text)
     #E2A368 on #1C3554 .........  5.73  (peach on navy)
     #1C3554 on #E2A368 .........  5.73  (navy text on peach button)
     #284A72 on #EAF0F7 .........  7.92  (Contemporary badge)
     #8F5B21 on #FBF1E6 .........  5.11  (Gospel badge)
     #3F6690 on #EDF2F8 .........  5.31  (Hymn badge)
     #35597F on #FFFFFF .........  7.27  (Spiritual badge, outlined)
     #1C3554 on #EFBA85 .........  7.13  (Seasonal badge)
     #B3261E on #FFFFFF .........  6.54  (error text)
     #1B6B47 on #E7F4EC .........  5.72  (success text)
   #6E93BE and #CE8B4A are decorative only (borders, icons ≥3:1 not required).
═══════════════════════════════════════════════════════════ */

:root {
  /* Navy family */
  --navy-deep:   #1C3554;
  --navy:        #284A72;
  --navy-mid:    #35597F;
  --slate:       #6E93BE;          /* decorative only */
  --navy-tint:   rgba(40, 74, 114, 0.08);
  --navy-ring:   rgba(40, 74, 114, 0.18);

  /* Peach family */
  --peach:       #E2A368;
  --peach-light: #EFBA85;
  --peach-deep:  #CE8B4A;          /* decorative only */
  --peach-text:  #8F5B21;          /* AA on white + peach tints */
  --peach-tint:  #FBF1E6;

  /* Surfaces */
  --bg:          #EEF2F8;
  --card:        #FFFFFF;
  --field-bg:    #F5F8FC;

  /* Text */
  --text:        #1B2C44;
  --text-sub:    #4E5D74;
  --text-muted:  #5F6E85;
  --text-on-navy:        #FFFFFF;
  --text-on-navy-sub:    #C6D4E5;

  /* Borders */
  --border:       rgba(28, 53, 84, 0.14);
  --border-soft:  rgba(28, 53, 84, 0.09);

  /* States */
  --error-text:  #B3261E;
  --error-bg:    #FCECEA;
  --error-deep:  #A62B23;
  --ok-text:     #1B6B47;
  --ok-bg:       #E7F4EC;

  /* Shape & shadow */
  --radius:      18px;
  --radius-sm:   12px;
  --radius-xs:   8px;
  --shadow:      0 2px 16px rgba(28, 53, 84, 0.08), 0 1px 3px rgba(28, 53, 84, 0.06);
  --shadow-lg:   0 10px 34px rgba(28, 53, 84, 0.13);

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* [hidden] must always win, even over display-setting classes like .btn */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(178deg, #E7EDF5 0%, var(--bg) 30%, #F7FAFD 100%) fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--navy); }

/* Visible focus everywhere, keyboard-triggered */
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-navy :focus-visible {
  outline-color: var(--peach-light);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot — off-screen for humans, present for bots.
   NOT display:none, so naive bots still fill it. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse 120% 90% at 50% -10%, rgba(110, 147, 190, 0.28) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 72%, var(--navy-mid) 100%);
  color: var(--text-on-navy);
  text-align: center;
  padding: 44px 20px 72px;
}

.hero--compact { padding: 20px 20px 24px; text-align: left; }

.hero .logo-mark { margin: 0 auto 16px; }

.wordmark {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.1rem, 8vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.wordmark .accent { color: var(--peach-light); }

.subhead {
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-navy-sub);
}

.tagline {
  margin: 18px auto 0;
  max-width: 34ch;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-on-navy-sub);
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px 72px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  margin-top: -36px;   /* overlaps hero */
}

.card + .card { margin-top: 20px; }

.card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.card-sub {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 22px;
}

/* ── Form fields ──────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }

.field-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.field-label .opt {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-left: 4px;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

input[type="text"],
input[type="search"],
input[type="url"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  background: var(--field-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 1rem;               /* ≥16px prevents iOS zoom */
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input::-webkit-search-cancel-button { -webkit-appearance: none; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px var(--navy-ring);
}

input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--error-deep);
}
input[aria-invalid="true"]:focus, textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.15);
}

textarea { resize: vertical; min-height: 104px; line-height: 1.55; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%234E5D74' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field-error {
  display: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--error-text);
  margin-top: 6px;
}
.field-error.visible { display: block; }

.char-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 5px;
}

/* Search input with icon */
.search-wrap { position: relative; }
.search-wrap .search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-wrap input { padding-left: 42px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:disabled { opacity: 0.55; cursor: default; transform: none !important; }

.btn-primary {
  background: var(--peach);
  color: var(--navy-deep);
  width: 100%;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(206, 139, 74, 0.35);
}
.btn-primary:hover:not(:disabled) {
  background: var(--peach-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(206, 139, 74, 0.45);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover:not(:disabled) { background: var(--navy-mid); transform: translateY(-1px); }

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover:not(:disabled) { background: var(--navy-tint); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--radius-xs);
  color: var(--navy);
  min-height: 44px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-ghost:hover { color: var(--navy-deep); }

.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 0.86rem; border-radius: var(--radius-xs); }

/* Inline button spinner */
.btn .spinner {
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Category & status badges ─────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge-contemporary { background: #EAF0F7; color: var(--navy); }
.badge-gospel       { background: var(--peach-tint); color: var(--peach-text); }
.badge-hymn         { background: #EDF2F8; color: #3F6690; border: 1px solid rgba(110, 147, 190, 0.35); }
.badge-spiritual    { background: #FFFFFF; color: var(--navy-mid); border: 1px solid var(--navy-mid); }
.badge-traditional  { background: #F5E7D6; color: var(--navy-deep); }
.badge-seasonal     { background: var(--peach-light); color: var(--navy-deep); }

.badge-new       { background: var(--peach-tint); color: var(--peach-text); }
.badge-familiar  { background: #EAF0F7; color: var(--navy); }

.badge-status-new       { background: var(--navy); color: #fff; }
.badge-status-reviewed  { background: #EAF0F7; color: var(--navy); }
.badge-status-scheduled { background: var(--ok-bg); color: var(--ok-text); }
.badge-status-archived  { background: #E9EDF3; color: var(--text-sub); }

/* ── Song search results ──────────────────────────────────── */
.search-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 14px 2px 4px;
}

.results-list { list-style: none; margin-top: 10px; }

.result-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  min-height: 56px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.result-btn:hover { background: var(--navy-tint); }

.result-text { display: block; flex: 1; min-width: 0; }
.result-title {
  display: block;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-artist {
  display: block;
  font-size: 0.82rem;
  color: var(--text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.results-list li + li .result-btn { border-top: 1px solid var(--border-soft); border-top-left-radius: 0; border-top-right-radius: 0; }

.results-footer {
  border-top: 1px solid var(--border-soft);
  margin-top: 8px;
  padding-top: 10px;
  text-align: center;
}

/* Empty search state */
.empty-state {
  text-align: center;
  padding: 20px 12px 8px;
}
.empty-state p {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}
.empty-state p strong { color: var(--text); }

/* ── Selected song chip ───────────────────────────────────── */
.selected-song {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-tint);
  border: 1.5px solid var(--navy-ring);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
}
.selected-song .note-icon { color: var(--navy); flex-shrink: 0; }
.selected-song .sel-text { flex: 1; min-width: 0; }
.selected-song .sel-title { font-weight: 700; font-size: 1rem; color: var(--navy-deep); }
.selected-song .sel-artist { font-size: 0.84rem; color: var(--text-sub); }
.selected-song .sel-meta { margin-top: 4px; }

/* New-song banner in manual mode */
.mode-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--peach-tint);
  border: 1px solid rgba(206, 139, 74, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--peach-text);
  margin-bottom: 18px;
}
.mode-banner svg { flex-shrink: 0; margin-top: 1px; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.alert-error   { background: var(--error-bg); color: var(--error-deep); }
.alert-ok      { background: var(--ok-bg); color: var(--ok-text); }
.alert-info    { background: #EAF0F7; color: var(--navy); }
.alert a { color: inherit; font-weight: 600; }

/* ── Success panel ────────────────────────────────────────── */
.success-panel { text-align: center; padding: 12px 4px 4px; }

.success-check {
  width: 64px; height: 64px;
  margin: 6px auto 18px;
  color: var(--ok-text);
}
.success-check circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: draw 0.5s ease forwards;
}
.success-check path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw 0.3s ease 0.4s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.success-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.success-body {
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 38ch;
  margin: 0 auto 18px;
}

.success-echo {
  background: var(--field-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 0 auto 22px;
  max-width: 400px;
}
.success-echo .echo-title { font-weight: 700; font-size: 1.05rem; color: var(--navy-deep); }
.success-echo .echo-artist { font-size: 0.86rem; color: var(--text-sub); margin-top: 2px; }
.success-echo .echo-extra { font-size: 0.82rem; color: var(--text-muted); margin-top: 8px; }

.scripture {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--navy-mid);
  max-width: 34ch;
  margin: 26px auto 0;
  line-height: 1.6;
}
.scripture .ref {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Skeleton loading ─────────────────────────────────────── */
.skeleton {
  border-radius: var(--radius-xs);
  background: linear-gradient(90deg, #E9EEF5 25%, #F3F6FA 50%, #E9EEF5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-row { height: 52px; margin-bottom: 8px; }

/* ── Page footer ──────────────────────────────────────────── */
.page-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 28px 16px 0;
}
.page-footer a { color: var(--text-sub); }

/* ═══════════════════════════════════════════════════════════
   Admin
═══════════════════════════════════════════════════════════ */
.admin-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.admin-bar .logo-mark { flex-shrink: 0; }
.admin-bar-title {
  flex: 1;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.admin-bar-title small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-navy-sub);
}
.btn-signout {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-signout:hover:not(:disabled) { background: rgba(255, 255, 255, 0.2); }

.admin-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 16px 72px;
}

/* Login */
.login-card { max-width: 420px; margin: 36px auto 0; }
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 18px 0;
}
.login-divider::before, .login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 6px;
  background: #E4EAF2;
  border-radius: var(--radius-sm);
  padding: 5px;
  margin-bottom: 20px;
}
.tab-btn {
  flex: 1;
  min-height: 44px;
  border: none;
  border-radius: var(--radius-xs);
  background: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.tab-btn[aria-selected="true"] {
  background: #fff;
  color: var(--navy-deep);
  box-shadow: 0 1px 4px rgba(28, 53, 84, 0.12);
}

/* Filter row */
.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.filter-row .form-group { margin-bottom: 0; }
.filter-row .field-label { font-size: 0.75rem; color: var(--text-sub); margin-bottom: 4px; }

.list-summary {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Request cards */
.request-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 12px;
}
.request-card.archived { opacity: 0.65; }

.req-head { display: flex; align-items: flex-start; gap: 10px; }
.req-titles { flex: 1; min-width: 0; }
.req-title { font-weight: 700; font-size: 1.02rem; color: var(--navy-deep); overflow-wrap: anywhere; }
.req-artist { font-size: 0.84rem; color: var(--text-sub); overflow-wrap: anywhere; }
.req-badges { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }

.req-note {
  background: var(--field-bg);
  border-left: 3px solid var(--peach);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.req-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.req-meta a { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }

.req-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

/* Library table → cards on mobile */
.lib-toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.lib-toolbar .search-wrap { flex: 1; }

.lib-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-sub);
  min-height: 44px;
  cursor: pointer;
}
.lib-toggle input {
  width: 18px; height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
}

.song-row {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.song-row.inactive { opacity: 0.6; background: #F4F6FA; }
.song-row .song-text { flex: 1 1 200px; min-width: 0; }
.song-row .song-title { font-weight: 600; font-size: 0.97rem; overflow-wrap: anywhere; }
.song-row .song-artist { font-size: 0.82rem; color: var(--text-sub); overflow-wrap: anywhere; }
.song-row .song-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Inline edit / add form */
.song-form {
  background: var(--card);
  border: 1.5px solid var(--navy-ring);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.song-form .form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.song-form .form-actions { display: flex; gap: 8px; margin-top: 14px; }

/* Empty states (admin lists) */
.list-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 36px 16px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

/* ── Motion preferences ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .success-check circle, .success-check path { stroke-dashoffset: 0; }
}

/* ── ≥640px ───────────────────────────────────────────────── */
@media (min-width: 640px) {
  .hero { padding: 60px 24px 88px; }
  .card { padding: 34px 32px; }
  .container { padding: 0 24px 88px; }

  .song-form .form-grid { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .lib-toolbar { flex-direction: row; align-items: center; }
  .filter-row { max-width: 440px; }
  .req-badges { flex-direction: row; }
}
