/* --------------------------------------------------------------------------
   SongRank — Early-Release Billboard Design System
   Studio obsidian surfaces, live green playback signal, gold top-3 podium,
   compact desktop density (Rule #67), 44px+ mobile touch targets (Rule #37).
   No inline styles anywhere: Content-Security-Policy has no 'unsafe-inline'.
   -------------------------------------------------------------------------- */

:root {
  --bg: #07080a;
  --surface: #0f1115;
  --surface-2: #15181f;
  --surface-3: #1c2029;
  --surface-4: #242936;
  --surface-hover: rgba(255, 255, 255, 0.06);
  --surface-active: rgba(30, 215, 96, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f6f7f9;
  --text-secondary: #cfd5e0;
  --muted: #98a2b3;
  --dim: #667085;

  --green: #1db954;
  --green-bright: #1ed760;
  --green-soft: rgba(30, 215, 96, 0.14);
  --gold: #f5b942;
  --gold-soft: rgba(245, 185, 66, 0.16);
  --down: #fb5f6e;
  --down-soft: rgba(251, 95, 110, 0.14);
  --wave-idle: #3f4654;

  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --topbar-h: 64px;
  --player-h: 84px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --cover-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

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

html {
  color-scheme: dark;
  overflow-x: clip;
}

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

button, input, select { font-family: inherit; color: inherit; font-size: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.hidden { display: none !important; }

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

.mono-text { font-family: var(--font-mono); }

:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 2px; }

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--player-h) + 12px);
}

/* ─── TOP BAR ─────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--topbar-h);
  background: rgba(7, 8, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto minmax(0, 520px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
}

.topbar-left { display: flex; align-items: center; min-width: 0; }

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 2px;
  transition: opacity 0.15s;
}

.brand-logo:hover { opacity: 0.92; }

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-bright) 0%, #0ea548 100%);
  color: #031509;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30, 215, 96, 0.25);
}

.logo-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.logo-text {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo-domain {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
  background: var(--green-soft);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.topbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.home-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.home-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-3); }

.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  height: 38px;
  padding: 0 42px 0 40px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.search-input-wrap input::placeholder { color: var(--muted); }
.search-input-wrap input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.search-input-wrap:hover input { background: var(--surface-3); border-color: var(--border-strong); }
.search-input-wrap input:focus {
  background: var(--surface-3);
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(30, 215, 96, 0.16);
}
.search-input-wrap:focus-within .search-icon { color: var(--text); }

.search-kbd {
  position: absolute;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 1px 6px;
  pointer-events: none;
}

.search-input-wrap:focus-within .search-kbd,
.search-input-wrap.has-value .search-kbd { display: none; }

.clear-search-btn {
  position: absolute;
  right: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.clear-search-btn:hover { color: var(--text); background: var(--surface-4); }
.clear-search-btn[hidden] { display: none; }

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

#authArea { display: flex; min-width: 0; }

.avatar {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #031509;
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.passkey-indicator { color: #0b7a34; display: inline-flex; flex-shrink: 0; }

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn:disabled:hover { opacity: 0.5; cursor: progress; transform: none; }

.btn-primary {
  background: var(--green-bright);
  color: #031509;
  box-shadow: 0 4px 14px rgba(30, 215, 96, 0.2);
}
.btn-primary:hover { background: #36e472; box-shadow: 0 6px 18px rgba(30, 215, 96, 0.3); }

.btn-publish {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-publish:hover { background: var(--surface-3); border-color: rgba(255, 255, 255, 0.28); }

.btn-auth {
  background: var(--text);
  color: #07080a;
}

.btn-auth:hover { background: #ffffff; }

.btn-passkey {
  background: var(--surface-3);
  border-color: var(--border-strong);
  color: var(--text);
  height: 40px;
}

.btn-passkey:hover { border-color: var(--text); background: var(--surface-4); }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
  height: 40px;
}

.btn-outline:hover { border-color: var(--text); background: var(--surface-hover); }

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-link:hover { color: var(--text); }

.full-width { width: 100%; }

/* ─── MAIN VIEW ───────────────────────────────────────────────────────── */

.main-view {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 12px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Hero Masthead */
.hero {
  position: relative;
  padding: 20px 28px 18px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background:
    radial-gradient(ellipse 75% 95% at 15% -10%, rgba(30, 215, 96, 0.22), transparent 65%),
    radial-gradient(ellipse 55% 75% at 88% 10%, rgba(245, 185, 66, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(15, 17, 21, 0) 100%);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: 20px;
}

.hero-copy { min-width: 0; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  background: var(--green-soft);
  border: 1px solid rgba(30, 215, 96, 0.26);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(30, 215, 96, 0.65);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 215, 96, 0.65); }
  70% { box-shadow: 0 0 0 7px rgba(30, 215, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 215, 96, 0); }
}

.hero h1 {
  font-size: clamp(26px, 3.3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.hero-stats {
  display: inline-block;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-play-cta {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.hero-play-cta .ic { display: block; }
.hero-play-cta .ic-pause { display: none; }
.hero-play-cta.playing .ic-play { display: none; }
.hero-play-cta.playing .ic-pause { display: block; }

/* Sort selector */
.sort-wrap { position: relative; }

.sort-wrap select {
  height: 40px;
  padding: 0 36px 0 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.sort-wrap select:hover { border-color: rgba(255, 255, 255, 0.3); background: var(--surface-3); }
.sort-wrap select option { background: var(--surface-3); color: var(--text); }

.sort-wrap .chevron-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* Featured Chart Spotlight Card */
.hero-spotlight {
  background: rgba(21, 24, 31, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  min-width: 0;
}

.spotlight-cover {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  box-shadow: var(--cover-shadow);
}

.spotlight-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.spotlight-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.spotlight-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.spotlight-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.spotlight-play-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--green-bright);
  color: #031509;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.spotlight-play-btn:hover { background: #36e472; }
.spotlight-play-btn .ic-pause { display: none; }
.spotlight-play-btn.playing .ic-play { display: none; }
.spotlight-play-btn.playing .ic-pause { display: block; }

.spotlight-stat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  background: var(--surface-3);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Filter Bar */
.filter-bar {
  position: sticky;
  top: var(--topbar-h);
  z-index: 25;
  background: rgba(15, 17, 21, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-pills-row::-webkit-scrollbar { display: none; }

.pill-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pill-btn:hover { background: var(--surface-3); color: var(--text); border-color: var(--border-strong); }
.pill-btn.active { background: var(--text); color: #07080a; border-color: var(--text); }
.pill-btn.pill-video.active { background: var(--green-bright); border-color: var(--green-bright); color: #031509; }
.pill-btn.pill-exclusive.active { background: var(--gold); border-color: var(--gold); color: #191202; }
.pill-btn.pill-reset { background: transparent; border-style: dashed; color: var(--muted); }
.pill-btn.pill-reset:hover { color: var(--text); }

.pill-divider {
  flex-shrink: 0;
  width: 1px;
  height: 20px;
  background: var(--border-strong);
  margin: 0 2px;
}

/* ─── COVERS & PLAY BUTTONS ───────────────────────────────────────────── */

.cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: var(--surface-3);
  overflow: hidden;
  flex-shrink: 0;
}

.cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.play-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--green-bright);
  color: #031509;
  display: inline-grid;
  place-items: center;
  transition: transform 0.12s ease, background 0.15s;
}

.play-btn:hover { transform: scale(1.06); background: #36e472; }
.play-btn:active { transform: scale(1); }

.play-btn .ic { display: block; }
.play-btn .ic-pause { display: none; }
.play-btn.playing .ic-play { display: none; }
.play-btn.playing .ic-pause { display: block; }

/* ─── TRENDING SHELF ──────────────────────────────────────────────────── */

.shelf {
  padding: 14px 28px 0;
}

.shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.shelf-head h2, .timeline-heading {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shelf-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.shelf-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 174px);
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.shelf-row::-webkit-scrollbar { display: none; }

.shelf-card {
  scroll-snap-align: start;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}

.shelf-card:hover { background: var(--surface-3); border-color: var(--border-strong); transform: translateY(-2px); }
.shelf-card.is-playing, .shelf-card.is-active { background: var(--surface-3); border-color: rgba(30, 215, 96, 0.45); }

.shelf-cover {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--cover-shadow);
  margin-bottom: 4px;
}

.shelf-format-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(7, 8, 10, 0.8);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.shelf-format-tag.is-video { color: var(--green-bright); border-color: rgba(30, 215, 96, 0.4); }

.shelf-cover .play-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 42px;
  height: 42px;
  opacity: 0;
  transform: translateY(6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
  transition: opacity 0.18s, transform 0.18s, background 0.15s;
}

.shelf-card:hover .play-btn,
.shelf-card:focus-within .play-btn,
.shelf-card.is-playing .play-btn { opacity: 1; transform: translateY(0); }

.shelf-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.shelf-card.is-active .shelf-title { color: var(--green-bright); }

.shelf-sub {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ─── BILLBOARD LIST ──────────────────────────────────────────────────── */

.billboard-feed { padding: 14px 28px 28px; }

.timeline-section { margin-top: 20px; }
.timeline-section:first-of-type { margin-top: 4px; }

.timeline-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.timeline-heading {
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.timeline-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}

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

.list-header,
.song-card {
  display: grid;
  grid-template-columns: 36px 48px minmax(230px, 1.5fr) 144px minmax(190px, 1.45fr) 52px 236px;
  grid-template-areas: "idx cover main media wave dur act";
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
}

.list-header {
  position: sticky;
  top: calc(var(--topbar-h) + 52px);
  z-index: 15;
  background: rgba(15, 17, 21, 0.96);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.list-header span { white-space: nowrap; }
.list-header span:first-child { text-align: center; }
.list-header span:last-child { text-align: right; }
.list-header .hdr-dur { display: inline-flex; justify-content: flex-end; }

.song-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-height: 70px;
  transition: background 0.14s, border-color 0.14s;
}

.song-card:hover, .song-card:focus-within {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.song-card.is-active {
  background: var(--surface-active);
  border-color: rgba(30, 215, 96, 0.42);
}

.row-index {
  grid-area: idx;
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.row-number {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.song-card.is-active .row-number { color: var(--green-bright); }

.row-index .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 34px;
  height: 34px;
  background: var(--green-bright);
  color: #031509;
  opacity: 0;
}

.song-card:hover .row-number,
.song-card:focus-within .row-number,
.song-card.is-playing .row-number { opacity: 0; }

.song-card:hover .play-btn,
.song-card:focus-within .play-btn,
.song-card.is-playing .play-btn { opacity: 1; }

.song-card .cover {
  grid-area: cover;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.row-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.row-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.song-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: anywhere;
}

.song-card.is-active .song-title { color: var(--green-bright); }

.row-artist-line {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.row-meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  min-width: 0;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.meta-sep { color: var(--dim); }
.meta-label-pill {
  color: var(--text-secondary);
  font-weight: 600;
}
.song-label, .song-producer { overflow-wrap: anywhere; }

.tag {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  height: 18px;
  min-width: 18px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.tag-explicit { background: var(--text-secondary); color: #07080a; }
.tag-rank {
  font-family: var(--font-mono);
  background: var(--green-soft);
  color: var(--green-bright);
  border: 1px solid rgba(30, 215, 96, 0.28);
  padding: 0 6px;
}

.tag-rank.is-podium {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: rgba(245, 185, 66, 0.35);
}

.row-media {
  grid-area: media;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.badge-video,
.badge-exclusive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-video {
  background: var(--green-soft);
  border: 1px solid rgba(30, 215, 96, 0.36);
  color: var(--green-bright);
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}

.badge-video:hover {
  background: rgba(30, 215, 96, 0.24);
  border-color: var(--green-bright);
  transform: translateY(-1px);
}

.badge-exclusive {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}

.badge-drop-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

.waveform-container {
  grid-area: wave;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  min-width: 0;
  padding: 0 2px;
}

.waveform-canvas { width: 100%; height: 100%; display: block; }

.duration-label {
  grid-area: dur;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.song-actions-row {
  grid-area: act;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.vote-cluster {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 2px;
}

.vote-btn,
.share-action-btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  min-width: 30px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, transform 0.12s;
}

.vote-btn:hover { color: var(--text); background: var(--surface-3); }
.vote-btn.vote-up.active { color: var(--green-bright); background: var(--green-soft); }
.vote-btn.vote-down.active { color: var(--down); background: var(--down-soft); }
.vote-btn svg { flex-shrink: 0; }

.share-cluster {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.share-action-btn,
.icon-btn {
  padding: 0;
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
}

.share-action-btn:hover,
.icon-btn:hover {
  color: var(--text);
  background: var(--surface-4);
  border-color: var(--border-strong);
}

.btn-copy-link.copied {
  color: var(--green-bright);
  border-color: rgba(30, 215, 96, 0.35);
  background: var(--green-soft);
}

/* ─── FOOTER ──────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: auto;
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-title { font-weight: 800; color: var(--text); }
.footer-sep { color: var(--dim); }

/* ─── NOW PLAYING BAR ─────────────────────────────────────────────────── */

.player-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  min-height: var(--player-h);
  background: rgba(11, 13, 17, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: minmax(200px, 30%) minmax(0, 1fr) minmax(140px, 30%);
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.player-cover {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xs);
  box-shadow: var(--cover-shadow);
}

.player-text { min-width: 0; }

.p-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  color: var(--text);
  overflow-wrap: anywhere;
}

.p-artist {
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--text);
  color: #07080a;
  display: inline-grid;
  place-items: center;
  transition: transform 0.12s, background 0.15s;
}

.p-play-btn:hover { transform: scale(1.06); background: #fff; }
.p-play-btn .ic-pause { display: none; }
.p-play-btn.playing .ic-play { display: none; }
.p-play-btn.playing .ic-pause { display: block; }

.player-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.p-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  min-width: 36px;
  font-variant-numeric: tabular-nums;
}

.p-time:last-child { text-align: left; }
.p-time:first-child { text-align: right; }

/* Full-height hit target with crisp 4px visual track */
.seek {
  --p: 0%;
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 24px;
  background: transparent;
  outline: none;
  cursor: pointer;
  min-width: 0;
}

.seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--green-bright) var(--p), var(--wave-idle) var(--p));
}

.seek::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--green-bright) var(--p), var(--wave-idle) var(--p));
}

.seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--text);
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.15s;
}

.seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text);
  border: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.player-center:hover .seek::-webkit-slider-thumb, .seek:focus-visible::-webkit-slider-thumb { opacity: 1; }
.player-center:hover .seek::-moz-range-thumb, .seek:focus-visible::-moz-range-thumb { opacity: 1; }

.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.btn-mini-video {
  height: 30px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(30, 215, 96, 0.38);
  background: var(--green-soft);
  color: var(--green-bright);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.btn-mini-video:hover { background: rgba(30, 215, 96, 0.24); }

/* ─── MODALS ──────────────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.16s ease-out;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  width: min(460px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-video-card { width: min(880px, 100%); }
.modal-publish-card { width: min(680px, 100%); }

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-title-group { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.modal-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-badge.video-badge, .modal-badge.publish-badge { color: var(--green-bright); }

.modal-header h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.close-modal-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-3);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.close-modal-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-4); }

.modal-body { display: flex; flex-direction: column; gap: 16px; }

.passkey-login-box {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.passkey-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-bright);
  display: grid;
  place-items: center;
}

.passkey-text h3 { font-size: 16px; font-weight: 700; }
.passkey-text p { font-size: 13px; color: var(--muted); }

.modal-divider {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.modal-divider::before, .modal-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
.modal-divider span { padding: 0 12px; }

.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row-2 > * { min-width: 0; }
.form-row-2 + .form-row-2, .form-row-2 + .form-group, .form-group + .form-group { margin-top: 12px; }

.form-group label { font-size: 13px; font-weight: 700; color: var(--text-secondary); }

.form-group input, .form-group select {
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 0 13px;
  font-size: 14.5px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input::placeholder { color: var(--dim); }
.form-group input:hover, .form-group select:hover { border-color: rgba(255, 255, 255, 0.3); }
.form-group input:focus, .form-group select:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(30, 215, 96, 0.16);
}

.form-checkbox-wrap { justify-content: flex-end; }

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  accent-color: var(--green-bright);
  cursor: pointer;
}

.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.role-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.role-chip:hover { border-color: var(--text); }
.role-chip input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.role-chip:has(input:checked) { background: var(--text); border-color: var(--text); color: #07080a; }

#otpStep1 > .btn, #otpStep2 > .btn { margin-top: 16px; height: 44px; }

.otp-code-input {
  letter-spacing: 0.3em;
  font-family: var(--font-mono);
  font-size: 22px !important;
  text-align: center;
  font-weight: 700;
}

#otpStep1.hidden, #otpStep2.hidden { display: none; }

.auth-status-msg {
  font-size: 13px;
  min-height: 20px;
  text-align: center;
  color: var(--muted);
}

.auth-status-msg.error { color: var(--down); }
.auth-status-msg.success { color: var(--green-bright); }

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.video-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.video-song-info { min-width: 0; }
.video-song-info h3 { font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.video-song-info p { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }

.video-share-group { display: flex; gap: 8px; flex-wrap: wrap; }

.share-pill-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-3);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}

.share-pill-btn:hover { border-color: var(--text); background: var(--surface-4); }

.profile-card-details {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.detail-row .lbl { color: var(--muted); }

.val-badge {
  font-size: 12px;
  font-weight: 700;
  background: var(--green-soft);
  color: var(--green-bright);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.val-badge.is-pending {
  background: var(--gold-soft);
  color: var(--gold);
}

.passkey-cta-box {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.passkey-cta-text h3 { font-size: 15.5px; font-weight: 700; }
.passkey-cta-text p { font-size: 13px; color: var(--muted); }

.modal-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-preview-notice {
  margin-top: 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ai-preview-notice svg { flex-shrink: 0; color: var(--green-bright); margin-top: 2px; }

#publishSongForm > .btn { margin-top: 14px; height: 44px; }

/* Loader and empty state */
.feed-loader, .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 56px 20px;
  color: var(--muted);
  text-align: center;
}

.empty-state-title { font-size: 19px; font-weight: 800; color: var(--text); }
.empty-state-hint { font-size: 14px; color: var(--muted); }

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--green-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── RESPONSIVE BREAKPOINTS ───────────────────────────────────────────── */

@media (max-width: 1180px) {
  .list-header { display: none; }

  .song-card {
    grid-template-columns: 36px 48px minmax(0, 1fr) 52px auto;
    grid-template-areas:
      "idx cover main dur act"
      ". . wave wave wave"
      ". . media media media";
    row-gap: 8px;
    padding: 12px 14px;
  }

  .row-media {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px 18px;
  }

  .main-view { margin: 8px 8px 0; width: auto; }
  .filter-pills-row { padding: 10px 20px; }
  .shelf { padding: 18px 20px 4px; }
  .billboard-feed { padding: 12px 20px 24px; }
  .site-footer { padding: 16px 20px; }
}

@media (max-width: 768px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand right"
      "search search";
    gap: 10px 12px;
    padding: 10px 16px;
  }

  .topbar-left { grid-area: brand; }
  .topbar-right { grid-area: right; }
  .topbar-center { grid-area: search; }
  .home-btn { display: none; }
  .logo-domain { display: none; }
  .search-kbd { display: none; }

  .filter-bar { top: 0; position: relative; }

  .player-bar {
    --player-h: 76px;
    min-height: var(--player-h);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 14px 10px;
  }

  .player-center {
    flex-direction: row;
    gap: 0;
    width: auto;
  }

  .player-nav-btn { display: none; }

  .player-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
  }

  .p-time { display: none; }
  .player-right { display: none; }
  .player-cover { width: 46px; height: 46px; }
}

/* Mobile (<= 640px): Restore >= 44px touch targets per Rule #37 & #67 */
@media (max-width: 640px) {
  .app-shell { padding-bottom: calc(82px + 12px); }

  .brand-logo { min-height: 44px; }
  .btn,
  .btn-auth,
  .btn-publish,
  .hero-play-cta,
  .sort-wrap select {
    height: 44px;
    min-height: 44px;
  }

  .btn-publish {
    padding: 0 12px;
    min-width: 44px;
  }

  .btn-auth { padding: 0 14px; }

  .search-input-wrap input { height: 44px; font-size: 15px; }
  .clear-search-btn { width: 44px; height: 44px; right: 0; }
  .search-input-wrap input { padding-right: 46px; }

  .hero { padding: 18px 16px 16px; }
  .hero-actions { width: 100%; }
  .hero-play-cta { flex: 1; }
  .sort-wrap { flex: 1; }
  .sort-wrap select { width: 100%; }

  .spotlight-play-btn { height: 44px; padding: 0 14px; }

  .filter-pills-row { padding: 10px 16px; gap: 8px; }
  .pill-btn { height: 44px; line-height: 26px; padding: 0 16px; font-size: 14px; }
  .btn { line-height: 26px; }

  .shelf { padding: 16px 16px 4px; }
  .shelf-row { grid-auto-columns: 156px; gap: 10px; }
  .shelf-cover .play-btn { opacity: 1; transform: translateY(0); width: 44px; height: 44px; }

  .billboard-feed { padding: 12px 12px 24px; }
  .timeline-heading { font-size: 18px; }

  .song-card {
    grid-template-columns: 48px minmax(0, 1fr) 44px;
    grid-template-areas:
      "cover main idx"
      "wave wave wave"
      "media media dur"
      "act act act";
    gap: 10px 12px;
    padding: 12px;
  }

  .row-index { width: 44px; height: 44px; }
  .row-number { display: none; }
  .row-index .play-btn { opacity: 1; width: 44px; height: 44px; }

  .badge-video { height: 44px; padding: 0 14px; }
  .waveform-container { height: 40px; }

  .song-actions-row {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .vote-cluster { flex: 1; justify-content: stretch; }
  .vote-btn { flex: 1; height: 44px; min-width: 44px; padding: 0 12px; font-size: 13.5px; }
  .share-action-btn,
  .icon-btn { width: 44px; height: 44px; }

  .player-bar { padding: 18px 14px 10px; }
  .p-play-btn { width: 44px; height: 44px; }
  .seek { height: 44px; }
  .player-progress { top: -12px; }

  .modal-card { padding: 20px 16px; }
  .close-modal-btn { width: 44px; height: 44px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-2 > * + * { margin-top: 12px; }
  .role-chip { height: 44px; }
  .btn-link { min-height: 44px; padding: 0 12px; }
  .share-pill-btn { height: 44px; padding: 0 16px; }
  .checkbox-label input[type="checkbox"] { width: 44px; height: 44px; padding: 10px; }

  .site-footer { padding: 16px; }
}

@media (max-width: 420px) {
  .main-view { margin: 6px 6px 0; border-radius: var(--radius-md); }
  .hero-spotlight { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .spotlight-cover { width: 72px; height: 72px; }
  .btn-publish span { display: none; }
  .btn-publish { width: 44px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
