/* ArtistNav design system — refined PlaylistDock visual language.
   Light, Poppins display + Inter body, pink gradient accent, crafted depth. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-grad: radial-gradient(1200px 600px at 50% -10%, #ffe4ef 0%, rgba(255,228,239,0) 62%);
  --surface: #ffffff;
  --surface-2: #f7f8fb;
  --surface-3: #eef1f6;
  --line: #e7eaf0;
  --line-soft: #eff1f6;
  --text: #14182a;
  --text-soft: #3b4256;
  --muted: #6b7280;
  --muted-2: #9aa0ad;
  --accent: #ec1e63;
  --accent-2: #ff5b8a;
  --accent-ink: #c2174f;
  --accent-grad: linear-gradient(135deg, #ec1e63 0%, #ff5b8a 100%);
  --accent-soft: #fde7ef;
  --error: #e23b3b;
  --ok: #16a34a;

  --pastel-pink: #fde7ef;   --pastel-pink-ink: #c2174f;
  --pastel-blue: #e7f0ff;   --pastel-blue-ink: #2f6bff;
  --pastel-violet: #efe9ff; --pastel-violet-ink: #6f3fff;
  --pastel-amber: #fff2dc;  --pastel-amber-ink: #b9760a;
  --pastel-green: #e3f7ec;  --pastel-green-ink: #0f8a43;

  --radius: 20px;
  --radius-sm: 13px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(20,24,42,.05), 0 1px 1px rgba(20,24,42,.03);
  --shadow-2: 0 12px 34px -16px rgba(20,24,42,.22);
  --shadow-3: 0 36px 80px -28px rgba(20,24,42,.30);
  --shadow-pink: 0 14px 34px -12px rgba(236,30,99,.44);
  --ring: 0 0 0 4px rgba(236,30,99,.16);

  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:20px; --space-6:24px; --space-7:28px; --space-8:32px;
  --space-10:40px; --space-12:48px; --space-16:64px; --space-20:80px;

  --maxw: 1160px;
  --header-h: 70px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  font-size: 16px;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0; padding: 0;
  overflow-x: hidden;
  max-width: 100%;
  background: var(--bg);
  background-image: var(--bg-grad);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

h1, h2, h3, .brand, .section-title, .page-title, .hero-title, .stat-value {
  font-family: "Poppins", system-ui, sans-serif;
}

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-6); width: 100%; }

/* keyframes */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,.34); } 50% { box-shadow: 0 0 0 5px rgba(22,163,74,0); } }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: var(--header-h); position: relative; }
.brand { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; display: inline-flex; align-items: center; }
.brand-mark { color: var(--text); }
.brand-mark-accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-toggle {
  display: none; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); width: 44px; height: 44px; cursor: pointer;
  font-size: 19px; color: var(--text); align-items: center; justify-content: center;
  flex: 0 0 auto; transition: background .15s, border-color .15s;
}
.nav-toggle:hover { background: var(--surface-3); }
.nav-toggle:active { transform: scale(.96); }

.main-nav { display: flex; align-items: center; gap: var(--space-5); flex-wrap: nowrap; }
.main-nav a {
  color: var(--text-soft); font-size: .92rem; font-weight: 500; padding: 6px 0;
  position: relative; white-space: nowrap; transition: color .18s var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent-grad); border-radius: 2px; transition: right .26s var(--ease-out);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--accent); }

/* ===== Main ===== */
.site-main { padding: var(--space-10) 0 var(--space-20); animation: fadeIn .4s var(--ease); }

/* ===== Hero ===== */
.hero { text-align: center; padding: var(--space-16) 0 var(--space-12); max-width: 900px; margin: 0 auto; animation: fadeUp .6s var(--ease-out) both; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink);
  background: var(--accent-soft); padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}
.hero-title { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 var(--space-5); font-weight: 800; }
.hero-title .accent { background: linear-gradient(110deg, #ec1e63 0%, #ff5b8a 45%, #b14fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--muted); margin: 0 auto var(--space-7); max-width: 640px; line-height: 1.6; }
.hero-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ===== Sections ===== */
.home-section { margin-top: var(--space-16); animation: fadeUp .6s var(--ease-out) both; }
.section-title { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 700; letter-spacing: -0.025em; margin: 0 0 var(--space-6); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.page-title { font-size: clamp(1.8rem, 4.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 var(--space-3); line-height: 1.1; }
.page-intro { color: var(--text-soft); font-size: 1.1rem; max-width: 740px; margin: 0 0 var(--space-7); }

/* ===== Category grid ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--space-5); }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-7); display: flex; flex-direction: column; gap: var(--space-3);
  box-shadow: var(--shadow-1); transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .2s;
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--accent-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--ease-out);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #dfe3ec; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card-title { font-size: 1.2rem; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.cat-card-intro { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; line-height: 1.6; }
.cat-card-go { color: var(--accent); font-size: .9rem; font-weight: 600; margin-top: var(--space-2); display: inline-flex; align-items: center; gap: 6px; }
.cat-card-go::after { content: '\2192'; transition: transform .24s var(--ease-out); }
.cat-card:hover .cat-card-go::after { transform: translateX(4px); }

/* ===== Entry cards ===== */
.entry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: var(--space-5); }
.entry-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-7); display: flex; flex-direction: column; gap: var(--space-3);
  position: relative; box-shadow: var(--shadow-1);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.entry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.entry-card.is-featured { border-color: rgba(236,30,99,.32); }
.entry-head { display: flex; align-items: center; gap: var(--space-3); }
.entry-name { font-size: 1.16rem; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.entry-desc { color: var(--text-soft); font-size: .93rem; margin: 0; line-height: 1.62; }
.entry-price-note { color: var(--text); font-size: .9rem; margin: 0; font-weight: 600; }
.entry-meta { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.entry-actions { display: flex; gap: var(--space-2); margin-top: auto; flex-wrap: wrap; padding-top: var(--space-3); }

.live-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.live-on { background: var(--ok); animation: pulseDot 2.6s var(--ease) infinite; }
.live-off { background: var(--muted-2); }

.tag {
  font-size: .7rem; padding: 4px 11px; border-radius: var(--radius-pill);
  background: var(--surface-3); color: var(--text-soft); font-weight: 600;
  letter-spacing: .01em; line-height: 1.4; white-space: nowrap;
}
.tag-pricing { background: var(--pastel-pink); color: var(--pastel-pink-ink); }
.tag-universal { background: var(--pastel-green); color: var(--pastel-green-ink); }
.tag-genre { background: var(--pastel-violet); color: var(--pastel-violet-ink); }

.badge {
  position: absolute; top: var(--space-5); right: var(--space-5);
  font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.badge-featured { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-pink); }

/* ===== Genre filter ===== */
.genre-filter { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); }
.genre-chip {
  font-size: .88rem; padding: 9px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--text-soft);
  font-weight: 600; transition: all .2s var(--ease-out); cursor: pointer;
}
.genre-chip:hover { border-color: var(--accent-2); color: var(--accent); transform: translateY(-1px); }
.genre-chip.is-active { background: var(--accent-grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-pink); }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: var(--space-4); display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Campaign cards ===== */
.campaign-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-5); }
.campaign-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); display: flex; align-items: center; gap: var(--space-4); box-shadow: var(--shadow-1); transition: transform .24s var(--ease-out), box-shadow .24s; }
.campaign-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.campaign-cover { flex: 0 0 auto; width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--accent-grad); color: #fff; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-pink); }
.campaign-body { flex: 1; min-width: 0; }
.campaign-actions { margin-top: var(--space-2); }
.campaign-title { font-weight: 700; margin: 0; font-size: 1.04rem; }
.campaign-artist { color: var(--muted); font-size: .88rem; margin: 0 0 var(--space-1); }
.promo-strip-note { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: "Inter", sans-serif; font-weight: 600; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; text-align: center; line-height: 1;
  white-space: nowrap; letter-spacing: -0.01em;
  transition: transform .16s var(--ease-out), box-shadow .22s var(--ease-out), background .18s, border-color .18s, color .18s;
  -webkit-user-select: none; user-select: none;
}
.btn-md { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 17px; font-size: .9rem; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(236,30,99,.55); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-1); }
.btn-secondary:hover { transform: translateY(-2px); border-color: #d8dde7; box-shadow: var(--shadow-2); }
.btn-secondary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text-soft); border-color: var(--line); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent-2); background: var(--accent-soft); }
.btn-danger { background: #fff6f3; color: #c2410c; border-color: #f0c9b8; }
.btn-danger:hover { background: #fef0ea; border-color: #e0a98f; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* ===== Forms ===== */
.narrow { max-width: 680px; }
.form { margin-top: var(--space-6); }
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: var(--space-2); color: var(--text); letter-spacing: -0.01em; }
.field .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); padding: 0 15px; min-height: 48px; font-size: 1rem; font-family: inherit;
  transition: border-color .16s, box-shadow .16s; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: auto; padding: 13px 15px; resize: vertical; line-height: 1.6; }
.field 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 fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.field input[type="file"] { padding: 11px 15px; min-height: 48px; background: var(--surface-2); cursor: pointer; }
.field-help { font-size: .84rem; color: var(--muted); margin: var(--space-2) 0 0; }
.field-err { font-size: .84rem; color: var(--error); margin: var(--space-2) 0 0; font-weight: 500; }
.field-error input, .field-error textarea, .field-error select { border-color: var(--error); }

.check-label { display: flex; align-items: center; gap: var(--space-2); font-weight: 500; cursor: pointer; font-size: .92rem; }
.check-label input { width: auto; min-height: auto; accent-color: var(--accent); }
.checkbox-group { display: flex; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-2) 0; }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-5); }
.form-actions { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }

/* ===== Flash ===== */
.flash { padding: 13px 17px; border-radius: var(--radius-sm); margin: var(--space-4) 0; font-size: .92rem; font-weight: 500; display: flex; align-items: center; gap: var(--space-2); animation: fadeUp .4s var(--ease-out); }
.flash-success { background: var(--pastel-green); color: var(--pastel-green-ink); border: 1px solid #bfe9cf; }
.flash-error { background: #fdecec; color: var(--error); border: 1px solid #f6c9c9; }

.empty-note { color: var(--muted); font-style: italic; padding: var(--space-6) 0; }

/* ===== Tables (desktop) ===== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); }
.data-table th { color: var(--muted); font-weight: 600; background: var(--surface-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background .14s; }
.data-table tbody tr:hover td { background: var(--surface-2); }
.table-empty { text-align: center; color: var(--muted); font-style: italic; padding: var(--space-16); }
.col-actions { white-space: nowrap; }

.pill { font-size: .66rem; font-weight: 700; padding: 4px 11px; border-radius: var(--radius-pill); background: var(--surface-3); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pill-on { background: var(--pastel-green); color: var(--pastel-green-ink); }
.pill-off { background: var(--surface-3); color: var(--muted); }

.inline-form { display: inline; }
.inline-filter select { min-height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); padding: 0 14px; font-family: inherit; -webkit-appearance: none; appearance: none; }

/* ===== Admin ===== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-8); }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.stat-card::after { content: ''; position: absolute; top: 0; right: 0; width: 70px; height: 70px; background: var(--accent-soft); border-radius: 50%; transform: translate(30%,-30%); opacity: .6; }
.stat-label { color: var(--muted); font-size: .84rem; font-weight: 500; position: relative; }
.stat-value { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; position: relative; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.admin-col { min-width: 0; }
.admin-section { margin-bottom: var(--space-8); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-7); box-shadow: var(--shadow-1); }
.status-list { list-style: none; padding: 0; margin: 0; }
.status-list li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.status-list li:last-child { border-bottom: none; }
.status-list strong { font-weight: 700; }
.auth-box { max-width: 440px; margin: var(--space-16) auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-8); box-shadow: var(--shadow-3); }
.muted-text { color: var(--muted); }

/* ===== Artist Spotlights ===== */
.spotlight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--space-6); }
.spotlight-grid-home { grid-template-columns: repeat(3, 1fr); }
.spotlight-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  display: flex; flex-direction: column;
}
.spotlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.spotlight-cover { display: block; aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; position: relative; }
.spotlight-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
.spotlight-card:hover .spotlight-cover img { transform: scale(1.05); }
.spotlight-cover-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--accent-grad); overflow: hidden; }
.spotlight-cover-empty::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18) 0%, transparent 38%), radial-gradient(circle at 82% 78%, rgba(255,255,255,.12) 0%, transparent 42%); }
.spotlight-cover-empty::after { content: "\266A"; position: absolute; right: 16px; bottom: 12px; font-size: 1.6rem; opacity: .35; }
.spotlight-cover-initial { font-family: "Poppins", sans-serif; font-size: 2.8rem; font-weight: 800; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); }
.spotlight-cover-label { position: relative; z-index: 1; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; opacity: .9; }
.spotlight-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; align-items: flex-start; }
.spotlight-title { font-size: 1.14rem; font-weight: 700; margin: 0; line-height: 1.32; letter-spacing: -0.02em; }
.spotlight-title a { transition: color .16s; }
.spotlight-title a:hover { color: var(--accent); }
.spotlight-artist { color: var(--muted); font-size: .9rem; margin: 0; font-weight: 600; }
.spotlight-body .spotlight-card-actions { margin-top: auto; }

.pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-5); margin-top: var(--space-10); }
.page-indicator { color: var(--muted); font-size: .9rem; font-weight: 600; }

.spotlight-article { max-width: 740px; margin: 0 auto; animation: fadeUp .5s var(--ease-out) both; }
.spotlight-article-header { text-align: center; margin: var(--space-6) 0 var(--space-8); }
.spotlight-eyebrow { display: inline-block; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); background: var(--accent-soft); padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: var(--space-4); }
.spotlight-article-title { font-family: "Poppins", sans-serif; font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 var(--space-3); }
.spotlight-article-artist { color: var(--accent); font-weight: 700; font-size: 1.15rem; margin: 0; }
.spotlight-article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 var(--space-8); box-shadow: var(--shadow-3); aspect-ratio: 16 / 10; }
.spotlight-article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotlight-article-body { font-size: 1.12rem; color: var(--text); line-height: 1.85; }
.spotlight-article-cta { margin: var(--space-10) 0; text-align: center; }
.spotlight-article-foot { margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--line); }

@media (max-width: 600px) {
  .spotlight-article-cover { aspect-ratio: 4 / 3; }
  .spotlight-article-body { font-size: 1.05rem; }
}

.admin-thumb { max-width: 220px; border-radius: var(--radius-sm); margin-top: var(--space-3); border: 1px solid var(--line); display: block; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); padding: var(--space-12) 0; margin-top: var(--space-20); background: var(--surface-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--space-8); justify-content: space-between; align-items: flex-start; }
.footer-brand .brand-mark, .footer-brand .brand-mark-accent { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.2rem; }
.footer-tag { color: var(--muted); font-size: .88rem; margin: var(--space-2) 0 0; max-width: 260px; }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { color: var(--text-soft); font-size: .9rem; font-weight: 500; transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--muted-2); font-size: .82rem; width: 100%; margin: var(--space-6) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--line); }

/* ===== Tablet ===== */
@media (max-width: 900px) {
  .admin-cols { grid-template-columns: 1fr; }
  .spotlight-grid-home { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Nav collapses to hamburger early, before links can overflow ===== */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: calc(var(--header-h) - 1px);
    left: calc(-1 * var(--space-6)); right: calc(-1 * var(--space-6));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: var(--space-3) var(--space-6) var(--space-5); box-shadow: var(--shadow-2);
    animation: fadeUp .22s var(--ease-out); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; white-space: normal; }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a::after { display: none; }
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
  .shell { padding: 0 var(--space-5); }
  .main-nav { left: calc(-1 * var(--space-5)); right: calc(-1 * var(--space-5)); padding-left: var(--space-5); padding-right: var(--space-5); }

  .site-main { padding: var(--space-8) 0 var(--space-16); }
  .home-section { margin-top: var(--space-12); }
  .hero { padding: var(--space-10) 0 var(--space-8); }
  .spotlight-grid-home { grid-template-columns: 1fr; }

  /* Card-style tables on mobile */
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--surface); box-shadow: var(--shadow-1); }
  .data-table td { border: none; padding: 9px 0; display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; border-bottom: 1px solid var(--line-soft); }
  .data-table tr td:last-child { border-bottom: none; }
  .data-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; flex-shrink: 0; }
  .data-table td.col-actions { justify-content: flex-start; flex-wrap: wrap; gap: var(--space-2); padding-top: var(--space-3); }
  .data-table td.col-actions::before { display: none; }
  .table-wrap { border: none; box-shadow: none; background: transparent; overflow: visible; }
  .inline-form { display: inline-block; }

  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: var(--space-6); }
}

@media (max-width: 480px) {
  .entry-grid, .cat-grid, .spotlight-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .btn-md { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* iOS safe-area + tap sizing */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer { padding-bottom: calc(var(--space-12) + env(safe-area-inset-bottom)); }
}

/* ===== Admin filter bar ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); align-items: center; }
.filter-bar select, .filter-search {
  min-height: 42px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--text); padding: 0 13px; font-family: inherit;
  font-size: .9rem; -webkit-appearance: none; appearance: none;
}
.filter-bar 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 fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; cursor: pointer;
}
.filter-search { flex: 1 1 200px; min-width: 150px; }
.filter-bar select:focus, .filter-search:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }

.count-chips { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.count-chip { font-size: .8rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 5px 12px; border-radius: var(--radius-pill); }
.count-chip strong { color: var(--text); font-weight: 700; }
.count-chip.chip-on { background: var(--pastel-green); border-color: #bfe9cf; color: var(--pastel-green-ink); }
.count-chip.chip-on strong { color: var(--pastel-green-ink); }
.count-chip.chip-off { background: var(--surface-3); }

/* ===== Tighter admin forms for fast mobile data entry ===== */
@media (max-width: 720px) {
  .admin-section { padding: var(--space-5) var(--space-4); margin-bottom: var(--space-5); border-radius: var(--radius-sm); }
  .admin-section .field { margin-bottom: var(--space-3); }
  .admin-section .form-row { gap: var(--space-3); }
  .admin-section .field label { margin-bottom: 5px; font-size: .85rem; }
  .admin-section .field input, .admin-section .field textarea, .admin-section .field select { min-height: 46px; font-size: 16px; /* 16px stops iOS zoom-on-focus */ }
  .admin-section .field-help { margin-top: 5px; }
  .filter-bar { gap: var(--space-2); }
  .filter-bar select, .filter-search { flex: 1 1 calc(50% - var(--space-2)); min-width: 0; }
  .filter-bar .btn { flex: 1 1 calc(50% - var(--space-2)); }
  .section-head { margin-bottom: var(--space-3); }
  .page-title { margin-bottom: var(--space-2); }
  .admin-section .form-actions { position: sticky; bottom: 0; background: var(--surface); padding: var(--space-3) 0 var(--space-2); margin-top: var(--space-4); z-index: 5; }
  .admin-section .form-actions .btn { flex: 1; }
}

/* ===== Release Planner ===== */
.planner-banner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  background: linear-gradient(135deg, #fff5f9 0%, #fdeef4 100%);
  border: 1px solid #f8d6e4; border-radius: var(--radius); padding: var(--space-6) var(--space-7);
  margin-top: var(--space-8); flex-wrap: wrap;
}
.planner-banner-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.02em; }
.planner-banner-sub { color: var(--text-soft); margin: 0; font-size: .95rem; }
.planner-banner .btn { flex: 0 0 auto; }

.planner-progress {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
  padding: var(--space-4) var(--space-5); margin-bottom: var(--space-6);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1);
}
.planner-bar { height: 12px; background: var(--surface-3); border-radius: var(--radius-pill); overflow: hidden; }
.planner-bar-fill { display: block; height: 100%; width: 0; background: var(--accent-grad); border-radius: var(--radius-pill); transition: width .5s var(--ease-out); }
.planner-count { font-size: .9rem; color: var(--muted); margin: var(--space-3) 0 0; font-weight: 600; }
.planner-count span { color: var(--accent); font-weight: 800; font-size: 1.05rem; }

.planner { display: flex; flex-direction: column; gap: var(--space-3); position: relative; }
.planner-phase {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 7px 16px; border-radius: var(--radius-pill);
  margin: var(--space-6) 0 var(--space-2); align-self: flex-start;
}
.planner-phase:first-child { margin-top: 0; }

.planner-step {
  display: flex; gap: var(--space-4); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-5) var(--space-6); box-shadow: var(--shadow-1);
  transition: border-color .2s, opacity .25s var(--ease-out), background .25s, transform .2s var(--ease-out), box-shadow .2s;
}
.planner-step:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.planner-step.is-done { opacity: .62; background: var(--surface-2); }
.planner-step.is-done:hover { transform: none; }
.planner-step.is-done .planner-step-title { text-decoration: line-through; color: var(--muted); }
.planner-check {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--surface); cursor: pointer;
  margin-top: 2px; position: relative; transition: all .2s var(--ease-out);
}
.planner-check:hover { border-color: var(--accent-2); transform: scale(1.08); }
.planner-check::after {
  content: ''; position: absolute; left: 9px; top: 4px; width: 7px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0);
  transition: transform .2s var(--ease-out);
}
.planner-step.is-done .planner-check { background: var(--accent-grad); border-color: transparent; box-shadow: var(--shadow-pink); }
.planner-step.is-done .planner-check::after { transform: rotate(45deg) scale(1); }
.planner-content { flex: 1; min-width: 0; }
.planner-step-title { font-family: "Poppins", sans-serif; font-size: 1.12rem; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.015em; }
.planner-step-desc { color: var(--text-soft); font-size: .95rem; margin: 0 0 var(--space-3); line-height: 1.62; }
.planner-link {
  color: var(--accent); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent-soft); padding: 7px 14px; border-radius: var(--radius-pill);
  transition: background .16s, transform .16s;
}
.planner-link:hover { background: #fcd9e6; transform: translateX(2px); }
.planner-reset-wrap { margin-top: var(--space-8); text-align: center; }

@media (max-width: 720px) {
  .planner-banner { padding: var(--space-5); }
  .planner-banner .btn { width: 100%; }
  .planner-progress { top: calc(var(--header-h) - 1px); padding: var(--space-3) var(--space-4); }
  .planner-step { padding: var(--space-4); gap: var(--space-3); }
  .planner-step-title { font-size: 1.04rem; }
  .planner-check { width: 28px; height: 28px; }
  .planner-check::after { left: 8px; top: 4px; }
}

/* ===== Spotify-style entry cards ===== */
.ecard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-4);
}
.ecard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  transition: transform .26s var(--ease-out), box-shadow .26s var(--ease-out), border-color .26s;
}
.ecard:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--accent-2); }
.ecard-featured { border-color: rgba(236,30,99,.35); box-shadow: 0 0 0 1px rgba(236,30,99,.12), var(--shadow-1); }
.ecard-cover {
  display: block; position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  overflow: hidden;
}
.ecard-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out); }
.ecard:hover .ecard-cover img { transform: scale(1.06); }
.ecard-cover-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--accent);
  background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
}
.ecard-cover-fallback::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 78% 22%, rgba(236,30,99,.10) 0%, transparent 45%); }
.ecard-badge {
  position: absolute; top: 12px; left: 12px; font-size: .62rem; font-weight: 800; z-index: 1;
  text-transform: uppercase; letter-spacing: .07em; padding: 5px 11px; border-radius: var(--radius-pill);
  background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-pink);
}
.ecard-status { position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; z-index: 1; }
.ecard-status.is-on { background: var(--ok); }
.ecard-status.is-off { background: var(--muted-2); }

.ecard-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.ecard-name { font-family: "Poppins", sans-serif; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.ecard-name:hover { color: var(--accent); }
.ecard-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ecard-desc { color: var(--muted); font-size: .85rem; margin: 0; line-height: 1.5; }
.ecard-desc-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ecard-desc.is-expanded { display: block; -webkit-line-clamp: unset; }
.ecard-more { align-self: flex-start; background: none; border: none; color: var(--accent); font-weight: 600; font-size: .82rem; cursor: pointer; padding: 0; font-family: inherit; }
.ecard-more:hover { text-decoration: underline; }
.ecard-pricenote { font-size: .82rem; color: var(--text); font-weight: 600; margin: 0; }
.ecard-actions { display: flex; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); flex-wrap: wrap; }
.ecard-actions .btn { flex: 1; min-width: 0; }

/* ===== Category slider + rows on homepage ===== */
.cat-slider {
  display: flex; gap: var(--space-2); margin: var(--space-8) 0 var(--space-6);
  position: sticky; top: var(--header-h); z-index: 20; background: var(--bg);
  padding: var(--space-3) 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-slider::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 9px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--text-soft); font-weight: 600; font-size: .9rem;
  transition: all .18s var(--ease-out); box-shadow: var(--shadow-1);
}
.cat-pill:hover { border-color: var(--accent-2); color: var(--accent); transform: translateY(-1px); }
.cat-pill-count {
  font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--surface-3); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.cat-pill:hover .cat-pill-count { background: var(--accent-soft); color: var(--accent); }

.cat-row { margin-top: var(--space-10); scroll-margin-top: calc(var(--header-h) + 70px); }
.cat-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.cat-row-headtext { min-width: 0; flex: 1; }
.cat-row-head .section-title { margin: 0 0 4px; }
.cat-row-intro { color: var(--muted); font-size: .92rem; margin: 0; max-width: 600px; line-height: 1.5; }
.cat-row-head .btn { flex: 0 0 auto; }
.cat-row-empty {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: var(--space-5) var(--space-6); flex-wrap: wrap;
}
.cat-row-empty p { margin: 0; color: var(--muted); }

@media (max-width: 720px) {
  .ecard-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .ecard-body { padding: var(--space-3); }
  .ecard-name { font-size: .95rem; }
  .ecard-actions { flex-direction: column; }
  .ecard-actions .btn { width: 100%; }
  .cat-slider { top: calc(var(--header-h) - 1px); }
  .cat-row-empty { flex-direction: column; align-items: flex-start; }
  .cat-row-head { align-items: flex-start; }
}
@media (max-width: 380px) {
  .ecard-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Legal pages ===== */
.legal-page h2 { font-family: "Poppins", sans-serif; font-size: 1.15rem; font-weight: 700; margin: var(--space-6) 0 var(--space-2); letter-spacing: -0.01em; }
.legal-page p { color: var(--text-soft); line-height: 1.7; margin: 0 0 var(--space-3); }

/* ===== Footer columns ===== */
.footer-col { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-head { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: var(--space-1); }
.footer-col a { color: var(--text-soft); font-size: .9rem; font-weight: 500; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-admin { color: var(--muted-2) !important; font-size: .82rem !important; }

/* ===== Directory landing cards ===== */
.cat-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.cat-card-num {
  flex: 0 0 auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Comparison table (reference-grade) ===== */
.compare-section { margin-top: var(--space-10); }
.compare-sub { color: var(--muted); font-size: .92rem; margin: var(--space-1) 0 0; max-width: 560px; }
.compare-hint { font-size: .82rem; color: var(--accent); font-weight: 600; display: none; }
.compare-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-2); -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.compare-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 600px; font-size: .9rem; }
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft);
  vertical-align: middle; background: var(--surface);
}
.compare-table thead th { background: var(--surface-2); border-bottom: 2px solid var(--line); }
.compare-corner {
  position: sticky; left: 0; z-index: 3; background: var(--surface-2) !important;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700;
  min-width: 150px;
}
.compare-head { min-width: 150px; text-align: center !important; }
.compare-head-link { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.compare-logo {
  width: 46px; height: 46px; border-radius: 12px; overflow: hidden; display: flex;
  align-items: center; justify-content: center; box-shadow: var(--shadow-1); background: var(--surface);
}
.compare-logo img { width: 100%; height: 100%; object-fit: cover; }
.compare-logo-fallback { background: var(--accent-grad); color: #fff; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.3rem; }
.compare-head-name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: .92rem; color: var(--text); }
.compare-head-link:hover .compare-head-name { color: var(--accent); }
.compare-feature {
  position: sticky; left: 0; z-index: 2; background: var(--surface-2) !important;
  font-weight: 600; color: var(--text-soft); white-space: nowrap; min-width: 150px;
  border-right: 1px solid var(--line);
}
.compare-table tbody tr:hover td { background: #fcfcfe; }
.compare-table tbody tr:hover .compare-feature { background: var(--surface-3) !important; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-dash { color: var(--muted-2); }
.compare-cta-row td { padding-top: var(--space-4); padding-bottom: var(--space-4); background: var(--surface-2); }
.compare-cta-row .compare-feature { background: var(--surface-2) !important; }

/* ===== Admin comparison spec blocks ===== */
.spec-blocks { margin: var(--space-4) 0; padding: var(--space-5); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.spec-intro { font-size: .88rem; color: var(--muted); margin: 0 0 var(--space-4); line-height: 1.6; }
.spec-block-title { font-family: "Poppins", sans-serif; font-size: .95rem; font-weight: 700; margin: 0 0 var(--space-4); color: var(--accent-ink); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3) var(--space-4); }

@media (max-width: 720px) {
  .compare-hint { display: inline-flex; align-items: center; }
  .compare-table { font-size: .82rem; }
  .compare-table th, .compare-table td { padding: 11px 13px; }
  .compare-corner, .compare-feature { min-width: 120px; }
  .compare-head { min-width: 128px; }
  .compare-logo { width: 38px; height: 38px; }
  .compare-head-name { font-size: .82rem; }
  .spec-grid { grid-template-columns: 1fr; }
  .footer-inner { gap: var(--space-6); }
}

/* ===== Planner provider drawer + mini-card slider ===== */
.planner-reveal {
  display: inline-flex; align-items: center; gap: 7px; background: var(--accent-soft);
  color: var(--accent-ink); font-weight: 700; font-size: .9rem; border: none;
  padding: 9px 16px; border-radius: var(--radius-pill); cursor: pointer; font-family: inherit;
  transition: background .16s, transform .16s;
}
.planner-reveal:hover { background: #fcd9e6; }
.planner-reveal-chev { transition: transform .25s var(--ease-out); font-size: .7rem; }
.planner-reveal[aria-expanded="true"] .planner-reveal-chev { transform: rotate(180deg); }
.planner-drawer { margin-top: var(--space-4); animation: fadeUp .28s var(--ease-out); }
.planner-slider {
  display: flex; gap: var(--space-3); overflow-x: auto; padding-bottom: var(--space-3);
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scroll-snap-type: x mandatory;
}
.planner-slider::-webkit-scrollbar { height: 6px; }
.planner-slider::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.mini-card {
  flex: 0 0 160px; scroll-snap-align: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3);
  display: flex; flex-direction: column; gap: var(--space-2); text-align: center;
  box-shadow: var(--shadow-1); transition: transform .2s var(--ease-out), box-shadow .2s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.mini-card-cover {
  width: 100%; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
}
.mini-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.mini-card-fallback { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.8rem; color: #fff; background: var(--accent-grad); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.mini-card-name { font-weight: 700; font-size: .85rem; color: var(--text); line-height: 1.25; }
.mini-card:hover .mini-card-name { color: var(--accent); }
.mini-card-tag { font-size: .68rem; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 3px 9px; border-radius: var(--radius-pill); align-self: center; }
.mini-card-specs { display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.mini-card-spec { font-size: .72rem; color: var(--text-soft); font-weight: 600; background: var(--accent-soft); border-radius: 6px; padding: 3px 6px; line-height: 1.3; }
.planner-drawer-all { display: inline-block; margin-top: var(--space-3); color: var(--accent); font-weight: 700; font-size: .88rem; }
.planner-drawer-all:hover { text-decoration: underline; }

/* ===== Square category select (homepage, under hero) ===== */
.hero-compact { padding: var(--space-12) 0 var(--space-8); }
.cat-select { margin-top: var(--space-4); }
.cat-select-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); flex-wrap: wrap; }
.cat-select-title { font-family: "Poppins", sans-serif; font-size: 1.15rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.cat-select-all { color: var(--accent); font-weight: 600; font-size: .9rem; }
.cat-select-all:hover { text-decoration: underline; }
.cat-select-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-3);
}
.cat-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden; min-height: 96px;
}
.cat-tile::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent-grad); opacity: 0; transition: opacity .2s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent-2); }
.cat-tile:hover::before { opacity: 1; }
.cat-tile-name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1rem; color: var(--text); line-height: 1.3; }
.cat-tile-meta { font-size: .8rem; color: var(--muted); }
.cat-tile-count { font-weight: 800; color: var(--accent-ink); }

/* ===== Tools strip ===== */
.tools-strip { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-10); }
.tool-card {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-6);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-1); transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent-2); }
.tool-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: 1.3rem;
}
.tool-card-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tool-card-title { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.tool-card-sub { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.tool-card-go { flex: 0 0 auto; color: var(--accent); font-size: 1.3rem; font-weight: 700; transition: transform .2s; }
.tool-card:hover .tool-card-go { transform: translateX(4px); }

/* ===== Spotlight marquee (hero-style slider at the bottom) ===== */
.spotlight-marquee-section { margin-top: var(--space-16); }
.spotlight-marquee {
  display: flex; gap: var(--space-4); overflow-x: auto; padding-bottom: var(--space-4);
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.spotlight-marquee::-webkit-scrollbar { height: 7px; }
.spotlight-marquee::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.marquee-card { flex: 0 0 300px; scroll-snap-align: start; }
.marquee-cover {
  display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-2); background: var(--surface-3);
}
.marquee-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.marquee-card:hover .marquee-cover img { transform: scale(1.05); }
.marquee-cover-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif; font-size: 3rem; font-weight: 800; color: #fff; background: var(--accent-grad);
}
.marquee-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-5) var(--space-4) var(--space-4);
  display: flex; flex-direction: column; gap: 3px;
  background: linear-gradient(to top, rgba(20,12,18,.82) 0%, rgba(20,12,18,.45) 55%, transparent 100%);
}
.marquee-genre { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #ffd0e0; }
.marquee-title { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; line-height: 1.25; }
.marquee-artist { font-size: .86rem; color: rgba(255,255,255,.82); }

@media (max-width: 720px) {
  .cat-select-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .cat-tile { padding: var(--space-3); }
  .cat-tile-count { font-size: 1.4rem; }
  .cat-tile-name { font-size: .9rem; }
  .marquee-card { flex-basis: 250px; }
}

/* ===== Dashboard extras ===== */
.dash-note { font-size: .8rem; font-weight: 500; color: var(--muted-2); }
.stat-sub { display: block; font-size: .74rem; color: var(--muted-2); margin-top: 3px; }
.stat-grid-sub { margin-top: var(--space-3); }
.stat-card-muted { background: var(--surface-2); }
.stat-card-muted .stat-value { color: var(--text-soft); }
.dash-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

@media (max-width: 720px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .dash-actions .btn { flex: 1 1 calc(50% - var(--space-2)); }
}

/* ===== Break-Even tool ===== */
.be-tool { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-6); margin-top: var(--space-6); align-items: start; }
.be-inputs { display: flex; flex-direction: column; gap: var(--space-5); }
.be-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: var(--space-2); color: var(--text); }
.be-input-wrap { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.be-input-wrap:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.be-input-wrap input { flex: 1; border: none; padding: 13px 14px; font-size: 16px; font-family: inherit; background: transparent; color: var(--text); outline: none; min-width: 0; }
.be-unit { flex: 0 0 auto; padding: 0 14px; font-weight: 700; color: var(--muted); font-size: .9rem; background: var(--surface-2); align-self: stretch; display: flex; align-items: center; }
.be-hint { font-size: .8rem; color: var(--muted); margin: var(--space-2) 0 0; line-height: 1.5; }
.be-hint a { color: var(--accent); font-weight: 600; }

.be-result {
  position: sticky; top: calc(var(--header-h) + var(--space-4));
  background: linear-gradient(160deg, #fff 0%, #fff5f9 100%);
  border: 1px solid #f6d4e2; border-radius: var(--radius); padding: var(--space-7); box-shadow: var(--shadow-2);
}
.be-result-main { text-align: center; padding-bottom: var(--space-5); border-bottom: 1px solid var(--line-soft); margin-bottom: var(--space-5); }
.be-result-label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: var(--space-2); }
.be-result-value { display: block; font-family: "Poppins", sans-serif; font-size: 2.8rem; font-weight: 800; line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.be-result-grid { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-4); }
.be-stat { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.be-stat-label { font-size: .88rem; color: var(--text-soft); }
.be-stat-value { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--text); font-size: .98rem; text-align: right; }
.be-insight { font-size: .9rem; color: var(--text-soft); line-height: 1.6; margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--line-soft); }
.be-disclaimer { margin-top: var(--space-6); padding: var(--space-4) var(--space-5); background: var(--surface-2); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.be-disclaimer p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.6; }

@media (max-width: 820px) {
  .be-tool { grid-template-columns: 1fr; }
  .be-result { position: static; }
}
@media (max-width: 720px) {
  .hero-compact { padding: var(--space-8) 0 var(--space-6); }
  .cat-select-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .cat-tile { min-height: 84px; padding: var(--space-4); }
  .tools-strip { grid-template-columns: 1fr; gap: var(--space-3); }
  .be-result-value { font-size: 2.3rem; }
}

/* ===== Charts button on cards ===== */
.ecard-charts { flex: 0 0 auto !important; }

/* ===== Sticky bottom spotlight ticker ===== */
.spot-ticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(20,12,18,.06);
}
.spot-ticker-inner {
  max-width: var(--shell-max, 1180px); margin: 0 auto; padding: 8px var(--space-5);
  display: flex; align-items: center; gap: var(--space-4);
}
.spot-ticker-label {
  flex: 0 0 auto; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--accent-ink); background: var(--accent-soft); padding: 5px 11px; border-radius: var(--radius-pill);
}
.spot-ticker-track {
  flex: 1; display: flex; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.spot-ticker-track:hover .spot-ticker-group { animation-play-state: paused; }
.spot-ticker-group {
  flex: 0 0 auto; display: flex; gap: var(--space-6); padding-right: var(--space-6);
  animation: tickerScroll 30s linear infinite;
}
.spot-ticker-item {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.spot-ticker-img {
  width: 30px; height: 30px; border-radius: 8px; overflow: hidden; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; background: var(--surface-3);
}
.spot-ticker-img img { width: 100%; height: 100%; object-fit: cover; }
.spot-ticker-img-empty { background: var(--accent-grad); color: #fff; font-weight: 800; font-size: .9rem; }
.spot-ticker-text { font-size: .86rem; color: var(--text-soft); }
.spot-ticker-text strong { color: var(--text); font-weight: 700; }
.spot-ticker-item:hover .spot-ticker-text strong { color: var(--accent); }
.spot-ticker-close {
  flex: 0 0 auto; background: none; border: none; font-size: 1.4rem; line-height: 1; color: var(--muted);
  cursor: pointer; padding: 4px 8px; border-radius: var(--radius-sm); transition: color .15s, background .15s;
}
.spot-ticker-close:hover { color: var(--text); background: var(--surface-2); }
body.has-ticker .site-footer { margin-bottom: 52px; }

@media (max-width: 720px) {
  .spot-ticker-label { display: none; }
  .spot-ticker-inner { padding: 7px var(--space-4); gap: var(--space-2); }
  .spot-ticker-text { font-size: .8rem; }
  .spot-ticker-item { gap: 8px; }
  .spot-ticker-group { animation-duration: 22s; }
  body.has-ticker .site-footer { margin-bottom: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-ticker-group { animation: none; }
  .spot-ticker-track { overflow-x: auto; }
  .spot-ticker-group[aria-hidden="true"] { display: none; }
}

/* ===== Center spotlight marquee (homepage, between banner and data) ===== */
.center-marquee-section { margin-top: var(--space-8); }
.center-marquee-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--space-3); }
.center-marquee-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }
.center-marquee-all { font-size: .85rem; font-weight: 600; color: var(--accent); }
.center-marquee-all:hover { text-decoration: underline; }
.center-marquee {
  display: flex; gap: var(--space-3); overflow-x: auto; padding-bottom: var(--space-2);
  -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-snap-type: x proximity;
}
.center-marquee::-webkit-scrollbar { display: none; }
.cmq-card {
  flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: var(--space-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 7px 18px 7px 7px; box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s;
}
.cmq-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--accent-2); }
.cmq-cover { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--surface-3); display: flex; align-items: center; justify-content: center; }
.cmq-cover img { width: 100%; height: 100%; object-fit: cover; }
.cmq-cover-empty { width: 100%; height: 100%; background: var(--accent-grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cmq-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.cmq-genre { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.cmq-artist { font-weight: 700; font-size: .9rem; color: var(--text); }
.cmq-title { font-size: .78rem; color: var(--muted); }

.cat-row-foot { margin-top: var(--space-4); }

@media (max-width: 720px) {
  .cmq-title { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
}

/* ===== Freshness signal on cards ===== */
.ecard-fresh { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; margin: 0; }
.ecard-fresh-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.ecard-fresh-ok { color: var(--pastel-green-ink, #2a7d4f); }
.ecard-fresh-ok .ecard-fresh-dot { background: var(--ok, #2ecf73); }
.ecard-fresh-down { color: var(--muted-2); }
.ecard-fresh-down .ecard-fresh-dot { background: var(--muted-2); }

/* ===== Promote your song page ===== */
.promote-wrap { max-width: 680px; }
.promote-fineprint { font-size: .8rem; color: var(--muted); margin-top: var(--space-4); line-height: 1.6; }
.promote-fineprint a { color: var(--accent); font-weight: 600; }
.promote-next { margin-top: var(--space-8); text-align: center; }
.form-error-banner { background: #fdecef; border: 1px solid #f8c4d2; color: #b0244a; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); margin-bottom: var(--space-4); font-size: .9rem; }

/* ===== Admin submission inbox ===== */
.sub-list { display: flex; flex-direction: column; gap: var(--space-4); }
.sub-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow-1); }
.sub-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.sub-artist { font-family: "Poppins", sans-serif; font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; }
.sub-song { color: var(--muted); font-weight: 500; }
.sub-meta { display: flex; align-items: center; gap: var(--space-2); margin: 0; }
.sub-date { font-size: .82rem; color: var(--muted); }
.sub-status { flex: 0 0 auto; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--surface-3); color: var(--muted); }
.sub-status-new { background: var(--accent-soft); color: var(--accent-ink); }
.sub-status-featured { background: var(--pastel-green, #e3f6ea); color: var(--pastel-green-ink, #2a7d4f); }
.sub-status-spotlight_offered { background: #fff3d6; color: #9a6a00; }
.sub-links { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-3); }
.sub-social { font-size: .85rem; color: var(--muted); }
.sub-message { font-size: .9rem; color: var(--text-soft); line-height: 1.6; background: var(--surface-2); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); margin: 0 0 var(--space-3); }
.sub-actions { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.sub-actions select { min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-family: inherit; font-size: .88rem; }

@media (max-width: 720px) {
  .sub-card-head { flex-direction: column; gap: var(--space-2); }
}



/* ===== Footer DJ Seip credit ===== */
.footer-by { font-size: .82rem; color: var(--muted); line-height: 1.6; margin: var(--space-3) 0 0; max-width: 280px; }
.footer-by a { color: var(--accent); font-weight: 700; }
.footer-by a:hover { text-decoration: underline; }

/* ===== Admin: scalable entries page ===== */
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); flex-wrap: wrap; }
.admin-head .page-title { margin: 0; }

.admin-form-details { margin-bottom: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.admin-form-summary {
  cursor: pointer; padding: var(--space-4) var(--space-5); font-weight: 700; font-family: "Poppins", sans-serif;
  font-size: 1rem; color: var(--text); list-style: none; display: flex; align-items: center; gap: var(--space-2);
  user-select: none; transition: background .15s;
}
.admin-form-summary:hover { background: var(--surface-3); }
.admin-form-summary::-webkit-details-marker { display: none; }
.admin-form-summary::before { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); font-weight: 700; }
.admin-form-details[open] .admin-form-summary::before { content: "\2212"; }
.admin-form-details[open] .admin-form-summary { border-bottom: 1px solid var(--line); }
.admin-form-details .admin-section { margin: 0; border: none; box-shadow: none; background: var(--surface); border-radius: 0; }

/* Pagination */
.admin-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: var(--space-6); }
.admin-pager-btn {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-soft);
  font-size: .88rem; font-weight: 600; transition: background .15s, border-color .15s, color .15s;
}
.admin-pager-btn:hover { background: var(--surface-2); border-color: var(--accent-2); color: var(--text); }
.admin-pager-btn.is-current { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-pink); }
.admin-pager-gap { color: var(--muted); padding: 0 4px; }
.admin-pager-info { text-align: center; font-size: .82rem; color: var(--muted); margin: var(--space-3) 0 0; }

@media (max-width: 720px) {
  .admin-head { flex-direction: column; align-items: stretch; }
  .admin-head .btn { width: 100%; }
}

/* ===== Rich-text editor (admin) ===== */
.rte { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.rte-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.rte-btn { min-height: 38px; min-width: 38px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; font-size: .9rem; font-weight: 600; color: var(--text-soft); cursor: pointer; transition: background .15s, border-color .15s; }
.rte-btn:hover { background: var(--accent-soft); border-color: var(--accent-2); color: var(--accent-ink); }
.rte-btn-img { color: var(--accent-ink); }
.rte-area { min-height: 220px; padding: var(--space-4); font-size: 1rem; line-height: 1.7; color: var(--text); outline: none; }
.rte-area:focus { box-shadow: inset 0 0 0 2px var(--accent-soft); }
.rte-area h2 { font-size: 1.4rem; margin: 1em 0 .4em; font-family: "Poppins", sans-serif; }
.rte-area h3 { font-size: 1.15rem; margin: 1em 0 .4em; font-family: "Poppins", sans-serif; }
.rte-area p { margin: 0 0 .8em; }
.rte-area img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: .6em 0; }
.rte-area blockquote { border-left: 3px solid var(--accent); margin: 1em 0; padding: .3em 0 .3em 1em; color: var(--text-soft); font-style: italic; }
.rte-area a { color: var(--accent); text-decoration: underline; }
.rte-uploading { color: var(--muted); font-style: italic; }

/* ===== Article body rendering (public spotlight) ===== */
.spotlight-article-body h2 { font-family: "Poppins", sans-serif; font-size: clamp(1.4rem, 3.5vw, 1.8rem); font-weight: 800; margin: 1.6em 0 .5em; letter-spacing: -0.02em; }
.spotlight-article-body h3 { font-family: "Poppins", sans-serif; font-size: clamp(1.15rem, 2.8vw, 1.4rem); font-weight: 700; margin: 1.4em 0 .4em; }
.spotlight-article-body p { margin: 0 0 1.1em; }
.spotlight-article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.5em 0; box-shadow: var(--shadow-2); display: block; }
.spotlight-article-body ul, .spotlight-article-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.spotlight-article-body li { margin-bottom: .5em; }
.spotlight-article-body blockquote { border-left: 4px solid var(--accent); margin: 1.5em 0; padding: .5em 0 .5em 1.2em; font-style: italic; color: var(--text-soft); font-size: 1.1rem; }
.spotlight-article-body a { color: var(--accent); text-decoration: underline; font-weight: 600; }
.spotlight-article-body strong { font-weight: 700; }

/* ===== Mobile-first admin: bigger touch targets ===== */
@media (max-width: 720px) {
  .admin-section { padding: var(--space-4); }
  .admin-section .field input, .admin-section .field select, .admin-section .field textarea { min-height: 48px; font-size: 16px; }
  .admin-section .btn { min-height: 48px; }
  .rte-area { min-height: 260px; }
  .rte-btn { min-height: 44px; flex: 1 1 auto; }
  .filter-bar { gap: var(--space-2); }
  .filter-bar select, .filter-search { min-height: 46px; font-size: 16px; }
  .inline-form { display: inline-block; }
  .sub-actions .btn, .admin-table .btn { min-height: 44px; }
}

/* ===== Consent box on submission form ===== */
.consent-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-4); margin: var(--space-4) 0; background: var(--surface-2); }
.consent-box legend { font-weight: 700; font-size: .9rem; padding: 0 8px; color: var(--text); }
.consent-line { display: flex; align-items: flex-start; gap: 10px; margin: var(--space-2) 0; font-size: .9rem; color: var(--text-soft); line-height: 1.5; cursor: pointer; }
.consent-line input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--accent); }
.tag-type { background: var(--pastel-blue); color: var(--pastel-blue-ink); }
.tag-consent { background: var(--pastel-green); color: var(--pastel-green-ink); }

@media (max-width: 720px) {
  .consent-line { font-size: .88rem; }
  .consent-line input[type="checkbox"] { width: 22px; height: 22px; }
}

/* ===== Entry detail page ===== */
.entry-detail { max-width: 860px; margin: 0 auto; }
.entry-detail-head { display: flex; align-items: center; gap: var(--space-6); margin: var(--space-5) 0 var(--space-7); padding: var(--space-7); background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 130%); border: 1px solid var(--line); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.entry-detail-head::before { content: ""; position: absolute; top: -40%; right: -10%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(236,30,99,.10) 0%, transparent 65%); pointer-events: none; }
.entry-detail-logo { flex: 0 0 auto; width: 104px; height: 104px; border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); position: relative; z-index: 1; }
.entry-detail-logo img { width: 100%; height: 100%; object-fit: cover; }
.entry-detail-headtext { position: relative; z-index: 1; }
.entry-detail-logo-fallback { width: 100%; height: 100%; background: var(--accent-grad); color: #fff; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 2.8rem; display: flex; align-items: center; justify-content: center; }
.entry-detail-name { font-family: "Poppins", sans-serif; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; margin: 0 0 var(--space-3); letter-spacing: -0.03em; line-height: 1.05; }
.entry-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cat { background: var(--text); color: #fff; }
.entry-detail-fresh { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; margin: var(--space-3) 0 0; }
.entry-detail-fresh.is-ok { color: var(--pastel-green-ink); }
.entry-detail-fresh.is-down { color: var(--muted-2); }
.entry-fresh-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.entry-detail-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-7); }
.entry-detail-desc { font-size: 1.12rem; line-height: 1.78; color: var(--text-soft); margin-bottom: var(--space-8); }
.entry-detail-desc p { margin: 0 0 var(--space-3); }
.entry-detail-pricenote { font-size: .95rem; color: var(--muted); }
.entry-detail-h2 { font-family: "Poppins", sans-serif; font-size: 1.5rem; font-weight: 800; margin: 0 0 var(--space-5); letter-spacing: -0.02em; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.spec-table tr:nth-child(even) { background: var(--surface-2); }
.spec-table th[scope="row"] { text-align: left; padding: var(--space-4) var(--space-5); font-weight: 600; color: var(--muted); width: 44%; vertical-align: top; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.spec-table td { padding: var(--space-4) var(--space-5); color: var(--text); font-weight: 700; border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover { background: var(--accent-soft); }
.entry-detail-note { font-size: .85rem; color: var(--muted); margin-top: var(--space-3); font-style: italic; }
.entry-detail-foot { margin-top: var(--space-7); }

@media (max-width: 600px) {
  .entry-detail-head { flex-direction: column; text-align: center; align-items: center; }
  .entry-detail-tags { justify-content: center; }
  .entry-detail-actions .btn { flex: 1 1 100%; }
  .spec-table th[scope="row"] { width: 50%; font-size: .9rem; }
}

/* ===== Spotlight article empty cover ===== */
.spotlight-article-cover-empty { display: flex; align-items: center; justify-content: center; background: var(--accent-grad); position: relative; overflow: hidden; }
.spotlight-article-cover-empty::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 18% 22%, rgba(255,255,255,.2) 0%, transparent 40%), radial-gradient(circle at 84% 80%, rgba(255,255,255,.13) 0%, transparent 44%); }
.spotlight-article-cover-empty::after { content: "\266A"; position: absolute; right: 28px; bottom: 22px; font-size: 3rem; color: #fff; opacity: .3; }
.spotlight-article-initial { font-family: "Poppins", sans-serif; font-size: 4.5rem; font-weight: 800; color: #fff; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 3px rgba(255,255,255,.3); position: relative; z-index: 1; }

/* ===== Directory instant search ===== */
.dir-search { margin: 0 0 var(--space-8); }
.dir-search-bar { position: relative; display: flex; align-items: center; }
.dir-search-ico { position: absolute; left: 18px; font-size: 1.1rem; opacity: .5; pointer-events: none; }
.dir-search-input { width: 100%; min-height: 56px; padding: 0 20px 0 50px; font-size: 1.05rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s; font-family: inherit; }
.dir-search-input:focus { outline: none; border-color: var(--accent-2); box-shadow: var(--ring); }
.dir-search-results { margin-top: var(--space-3); }
.dir-search-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dir-search-item { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.dir-search-item:hover { border-color: var(--accent-2); transform: translateX(3px); box-shadow: var(--shadow-1); }
.dir-search-name { font-weight: 700; color: var(--text); }
.dir-search-item:hover .dir-search-name { color: var(--accent); }
.dir-search-meta { font-size: .82rem; color: var(--muted); flex: 0 0 auto; }
.dir-search-empty { color: var(--muted); padding: var(--space-4); text-align: center; background: var(--surface-2); border-radius: var(--radius-sm); }

/* ===== Spotlight meta row + share ===== */
.spotlight-article-meta { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-4); font-size: .85rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.spotlight-meta-item { font-weight: 600; }
.spotlight-meta-dot { opacity: .5; }
.spotlight-share { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent-ink); border: none; padding: 7px 14px; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s, transform .15s; }
.spotlight-share:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

/* ===== Back to top ===== */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--accent-grad); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-pink); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }
body.has-ticker .to-top { bottom: 70px; }

@media (max-width: 720px) {
  .dir-search-input { min-height: 52px; font-size: 16px; }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  body.has-ticker .to-top { bottom: 62px; }
}

/* ===== Spotlight discovery: card actions + genre count ===== */
.spotlight-card-actions { display: flex; gap: var(--space-2); margin-top: auto; flex-wrap: wrap; }
.spotlight-card-actions .btn { flex: 1 1 auto; }
.genre-chip-count { font-size: .72rem; opacity: .65; font-weight: 700; margin-left: 2px; }

/* ===== Spotlight template picker (admin) ===== */
.rte-templates { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); padding: var(--space-3); background: var(--accent-soft); border-radius: var(--radius-sm); }
.rte-tpl-label { font-weight: 700; font-size: .85rem; color: var(--accent-ink); }
.rte-tpl-select { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-family: inherit; font-size: .9rem; }
.rte-tpl-hint { font-size: .78rem; color: var(--muted); flex: 1 1 100%; }
@media (max-width: 720px) {
  .rte-tpl-select { flex: 1 1 100%; min-height: 46px; font-size: 16px; }
  .rte-templates .btn { flex: 1 1 100%; }
}

/* ===== Compare (VS) pages ===== */
.vs-page { max-width: 880px; margin: 0 auto; }
.vs-header { text-align: center; margin: var(--space-5) 0 var(--space-7); }
.vs-title { font-family: "Poppins", sans-serif; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 var(--space-3); line-height: 1.1; }
.vs-name-a { background: linear-gradient(110deg, #ec1e63, #ff5b8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-name-b { background: linear-gradient(110deg, #6f3fff, #b14fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-x { color: var(--muted-2); font-weight: 700; }
.vs-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.vs-cards { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-bottom: var(--space-8); }
.vs-card { flex: 1 1 0; max-width: 280px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-1); display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.vs-card-logo { width: 76px; height: 76px; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); display: flex; align-items: center; justify-content: center; }
.vs-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.vs-card-fallback { width: 100%; height: 100%; background: var(--accent-grad); color: #fff; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.vs-card-name { font-family: "Poppins", sans-serif; font-size: 1.2rem; font-weight: 800; margin: 0; }
.vs-card-detail { font-size: .82rem; color: var(--accent); font-weight: 600; }
.vs-card-detail:hover { text-decoration: underline; }
.vs-divider { flex: 0 0 auto; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--text); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); }
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 480px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.vs-table thead th { background: var(--surface-2); padding: var(--space-4); font-family: "Poppins", sans-serif; font-weight: 700; text-align: left; border-bottom: 1px solid var(--line); }
.vs-table .vs-feature-head { color: var(--muted); }
.vs-table th[scope="row"] { text-align: left; padding: var(--space-3) var(--space-4); font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.vs-table td { padding: var(--space-3) var(--space-4); color: var(--text); font-weight: 700; border-bottom: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.vs-table tr:last-child th, .vs-table tr:last-child td { border-bottom: none; }
.vs-win { background: var(--pastel-green); color: var(--pastel-green-ink); }
.vs-dash { color: var(--muted-2); }
.vs-note { font-size: .85rem; color: var(--muted); font-style: italic; margin-top: var(--space-3); }
.vs-foot { display: flex; gap: var(--space-3); margin-top: var(--space-7); flex-wrap: wrap; }

/* Compare index suggestions */
.compare-suggest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-3); }
.compare-suggest { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.compare-suggest:hover { border-color: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.compare-suggest-names { font-size: .95rem; color: var(--text); }
.compare-suggest-go { font-size: .82rem; color: var(--accent); font-weight: 700; flex: 0 0 auto; }

@media (max-width: 600px) {
  .vs-cards { flex-direction: column; }
  .vs-divider { transform: rotate(0); }
  .vs-card { max-width: 100%; width: 100%; }
}
.compare-cta { margin-top: var(--space-4); }
