﻿/* ─────────────────────────────────────────────
   HITLINKER — Design System
   BUMP THIS + ?v= in base.html together → currently v=44
   ───────────────────────────────────────────── */

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

:root {
  --bg:           #0A0A0A;
  --surface:      #141414;
  --surface-2:    #1C1C1C;
  --surface-3:    #242424;
  --border:       rgba(255, 255, 255, 0.07);
  --border-focus: rgba(255, 255, 255, 0.25);
  --text:         #FFFFFF;
  --text-2:       #999999;
  --text-3:       #555555;
  --growth:       #3DD68C;
  --spotify:      #1DB954;
  --apple:        #FC3C44;
  --youtube:      #FF0000;
  --r-sm:         8px;
  --r:            12px;
  --r-lg:         18px;
  --r-xl:         24px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overscroll-behavior: none;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── App shell ── centered mobile frame on desktop ── */
.app-shell {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 500px) {
  body { background: #050505; }
  .app-shell { box-shadow: 0 0 120px rgba(0, 0, 0, 0.9); }
}

/* ─────────────────────────────────────────────
   ARTIST PAGE
   ───────────────────────────────────────────── */

/* ── Top bar ─ */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
}

.top-bar-logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.top-bar-admin {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.top-bar-admin:hover { color: var(--text-2); border-color: var(--border-focus); }

/* ── Artist header ─ */
.artist-header { padding: 8px 20px 0; }

/* Row 1: avatar | text | play btn */
.artist-top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* ── Honeycomb avatar with neon glow ───────────────────────────────────────
   FLAT-TOP regular hexagon — all 6 sides equal.
   Math: W=88, H=W×(√3/2)=76  →  side = W/2 = 44px ✓
   clip-path vertices (clockwise from top-left):
     (25%,0%) (75%,0%) (100%,50%) (75%,100%) (25%,100%) (0%,50%)
   --neon is set per-artist from data.json via inline <style> in artist.html
   ──────────────────────────────────────────────────────────────────────── */

:root {
  --neon: #FFD700;   /* gold default — overridden per artist */
}

.artist-hex-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 3px var(--neon))
    drop-shadow(0 0 8px var(--neon))
    drop-shadow(0 0 18px color-mix(in srgb, var(--neon) 45%, transparent));
}

/* Neon border ring — 2 px of --neon color around the image */
.artist-hex-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--neon);
  border-radius: 50%;
  z-index: 0;
}

/* Image — inset 2 px inside the border ring */
.artist-avatar {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface-2);
  display: block;
  z-index: 1;
}


.artist-meta { flex: 1; min-width: 0; }

/* "Music Artist" — small label above name */
.artist-type-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.artist-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.artist-genre-line {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-country-line {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* Header play button — large circle outline */
.header-play-btn {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.8px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  padding-left: 3px; /* optical center for triangle */
}
.header-play-btn:hover  { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.header-play-btn:active { transform: scale(0.94); }
.header-play-btn.playing {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  padding-left: 0;
}

/* ── Stats row (3 main metrics) ─ */
.artist-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 14px;
}

.stat { flex: 1; }

.stat + .stat {
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

.stat-main-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-category {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

.stat-growth {
  font-size: 11px;
  font-weight: 600;
  color: var(--growth);
  letter-spacing: -0.01em;
}

/* ── Micro-stats row ─ */
.micro-stats-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding: 10px 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.micro-stats-row::-webkit-scrollbar { display: none; }

.micro-stat-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 12px 3px 0;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.micro-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

.micro-stat-info-btn {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  font-size: 9px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.micro-stat-item:hover .micro-stat-info-btn,
.micro-stat-item.active .micro-stat-info-btn {
  background: var(--surface-2);
  color: var(--text-2);
}

/* Tooltip popover */
.micro-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 120px;
  max-width: 160px;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 1.3;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  z-index: 200;
  pointer-events: none;
}

.micro-stat-item.active .micro-tooltip { display: block; }

/* Keep last tooltip from overflowing right edge */
.micro-stat-item:last-child .micro-tooltip { left: auto; right: 0; }

.micro-tooltip-value {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2px;
}

.micro-tooltip-desc {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.3;
  opacity: 0.75;
}

/* ─────────────────────────────────────────────
   HITLINKS CAROUSEL
   ───────────────────────────────────────────── */

.section { margin-bottom: 28px; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 20px 14px;
}

.section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hitlinks-track {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  padding-bottom: 8px;
  padding-left:  calc(50% - 70px);
  padding-right: calc(50% - 70px);
  cursor: grab;
}
.hitlinks-track:active { cursor: grabbing; }
.hitlinks-track::-webkit-scrollbar { display: none; }

.hitlink-card {
  flex: 0 0 140px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  cursor: pointer;
  opacity: 0.45;
  transform: scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}
.hitlink-card.active { opacity: 1; transform: scale(1); }

.hitlink-cover-wrap {
  width: 140px;
  height: 140px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 10px;
  position: relative;
}
.hitlink-card.active .hitlink-cover-wrap {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.hitlink-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hitlink-card.active .hitlink-cover { transform: scale(1.03); }

.hitlink-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.hitlink-card.active .hitlink-title { color: var(--text); }

/* ── Carousel status & format labels ─ */
.hl-status-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 2;
  line-height: 1.3;
}
.hl-status-presave {
  background: rgba(109, 40, 217, 0.6);
  color: rgba(237, 233, 254, 0.95);
}
.hl-status-release {
  background: rgba(52, 211, 153, 0.22);
  color: rgba(167, 243, 208, 0.95);
}
.hl-format-tag {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-top: 3px;
  opacity: 0.7;
}

/* ── Detail view status & format tags ─ */
.release-meta-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 5px 0 10px;
}
.release-status-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  line-height: 1.4;
}
.release-status-presave {
  background: rgba(109, 40, 217, 0.14);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.release-status-release {
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.release-format-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0.75;
}

/* ─────────────────────────────────────────────
   RELEASE DETAIL
   ───────────────────────────────────────────── */

.release-detail {
  padding: 4px 20px 8px;
  min-height: 80px;
}

/* Top row: title + play button side-by-side */
.release-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.release-texts { flex: 1; min-width: 0; }

.release-title-large {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.release-description {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── YouTube embed ─ */
.release-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
  border-radius: var(--r);
  background: #000;
  margin: 12px 0 14px;
}

/* ── Music Angels ─ */
.music-angels {
  --ma-accent: #3DD68C;
  margin: 24px 0 8px;
  background: color-mix(in srgb, var(--surface-2) 92%, #ffffff 8%);
  border: 1px solid color-mix(in srgb, var(--ma-accent) 24%, transparent);
  border-radius: var(--r);
  padding: 18px 18px 20px;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.14);
}
.ma-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.ma-badge {
  font-size: 10px;
  font-weight: 600;
  background: color-mix(in srgb, var(--ma-accent) 16%, transparent);
  color: var(--ma-accent);
  border-radius: 20px;
  padding: 3px 10px;
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
}
.ma-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ma-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}
.ma-meter-wrap {
  position: relative;
  width: 116px;
  height: 116px;
}
.ma-svg {
  position: absolute;
  top: 0; left: 0;
  width: 116px;
  height: 116px;
  transform: rotate(-90deg);
}
.ma-track {
  fill: none;
  stroke: #EAEAEA;
  stroke-width: 3;
}
.ma-fill {
  fill: none;
  stroke: var(--ma-accent);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(61, 214, 140, 0.35));
  transition: stroke-dashoffset 0.5s ease;
}
.ma-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
}
.cover-support {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#2ecc71 calc(var(--percent) * 1%), transparent 0);
  opacity: 0.2;
}
.ma-insights {
  width: 100%;
  min-width: 0;
  background: color-mix(in srgb, var(--surface) 78%, #ffffff 22%);
  border: 1px solid color-mix(in srgb, var(--ma-accent) 20%, transparent);
  border-radius: 10px;
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ma-insights-title {
  font-size: 9px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ma-accent) 70%, #ffffff 30%);
  margin-bottom: 0;
}
.ma-insights-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ma-insights-group-title {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 48%, transparent);
}
.ma-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
}
.ma-insight-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ma-insight-label {
  font-size: 9px;
  line-height: 1.15;
  color: color-mix(in srgb, var(--text) 52%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ma-insight-val {
  font-size: 10px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ma-insight-hint {
  font-size: 8px;
  line-height: 1.1;
  color: color-mix(in srgb, var(--ma-accent) 68%, transparent);
}
.ma-avail-label {
  text-align: center;
  line-height: 1.3;
}
.ma-avail-pct {
  font-size: 18px;
  font-weight: 800;
  color: var(--ma-accent);
  display: block;
}
.ma-avail-sub {
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ma-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ma-slider-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ma-label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.7;
}
.ma-info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text) 35%, transparent);
  color: color-mix(in srgb, var(--text) 58%, transparent);
  font-size: 9px;
  line-height: 1;
  cursor: help;
  text-transform: none;
}
.ma-range-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ma-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--ma-accent) 0%, var(--ma-accent) var(--ma-range-pct, 0%), #EAEAEA var(--ma-range-pct, 0%), #EAEAEA 100%);
  outline: none;
  cursor: pointer;
}
.ma-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--ma-accent);
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(61,214,140,0.30);
}
.ma-range-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  min-width: 92px;
  text-align: right;
}
.ma-stream-helper {
  font-size: 10px;
  line-height: 1.25;
  color: color-mix(in srgb, var(--text) 58%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slider-value {
  font-size: 10px;
  line-height: 1.2;
  color: color-mix(in srgb, var(--text) 56%, transparent);
}
.summary-block {
  width: 100%;
  overflow: hidden;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.summary-label {
  flex: 1;
  min-width: 0;
}
.summary-value {
  text-align: right;
  flex-shrink: 0;
  max-width: 45%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ma-result {
  background: color-mix(in srgb, var(--surface) 74%, #ffffff 26%);
  border-radius: 10px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ma-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: color-mix(in srgb, var(--text) 64%, transparent);
}
.ma-result-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.ma-result-val.green { color: var(--ma-accent); }
.ma-result-val.red   { color: #f87171; }
.ma-result-helper {
  font-size: 10px;
  line-height: 1.25;
  color: color-mix(in srgb, var(--text) 52%, transparent);
  margin-top: 2px;
}
.ma-invest-btn {
  width: 100%;
  padding: 11px;
  background: var(--ma-accent);
  color: #000000;
  border: none;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: opacity 0.2s;
  text-transform: uppercase;
}
.ma-invest-btn:hover { opacity: 0.92; }
.ma-range::-moz-range-track {
  height: 4px;
  border: none;
  border-radius: 999px;
  background: #EAEAEA;
}
.ma-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--ma-accent);
  box-shadow: 0 3px 9px rgba(61,214,140,0.30);
  cursor: pointer;
}
.ma-range:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ma-accent) 45%, transparent);
  outline-offset: 3px;
}
[data-theme="light"] .music-angels {
  background: #FFFFFF;
  border-color: rgba(61,214,140,0.28);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .ma-result {
  background: #F6F8F7;
}
[data-theme="light"] .ma-insights {
  background: #F6F8F7;
  border-color: rgba(61,214,140,0.24);
}
[data-theme="light"] .ma-insights-title {
  color: #22995E;
}
[data-theme="light"] .ma-insight-label {
  color: #5E6E66;
}
[data-theme="light"] .ma-insight-val {
  color: #17231D;
}
[data-theme="light"] .ma-insights-group-title {
  color: #6B7C73;
}
[data-theme="light"] .ma-insight-hint {
  color: #22995E;
}
[data-theme="light"] .ma-label,
[data-theme="light"] .ma-avail-sub,
[data-theme="light"] .ma-result-row {
  color: #4A5A52;
}
[data-theme="light"] .ma-stream-helper {
  color: #5E6E66;
}
[data-theme="light"] .slider-value {
  color: #72837A;
}
[data-theme="light"] .ma-result-helper {
  color: #6B7C73;
}

/* ── Play button ─ */
.play-btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.play-btn:active  { transform: scale(0.93); }
.play-btn:hover   { background: var(--surface-2); border-color: var(--border-focus); }
.play-btn.playing { background: var(--text); color: var(--bg); }

/* ── DSP buttons ─ */
.dsp-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.dsp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 20px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.dsp-btn:active { transform: scale(0.98); opacity: 0.88; }
.dsp-btn svg    { flex-shrink: 0; }

.dsp-spotify { background: var(--spotify); color: #000; }
.dsp-apple   { background: #000000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.dsp-youtube { background: #CC0000; color: #fff; }
[data-theme="light"] .dsp-apple { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }

/* ─────────────────────────────────────────────
   SUPPORT THE WAVE
   ───────────────────────────────────────────── */

.wave-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 32px;
}

/* Header */
.wave-header { margin-bottom: 16px; }

.wave-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.wave-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wave-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  background: var(--surface-2);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.wave-subtitle {
  font-size: 13px;
  color: var(--text-2);
}

/* Use this sound button */
.use-sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.use-sound-btn:hover { border-color: var(--border-focus); background: var(--surface-3); }
.use-sound-btn:active { transform: scale(0.97); }

/* Fan video cards horizontal scroll */
.wave-videos-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 16px;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
  touch-action: pan-x;
  cursor: grab;
}
.wave-videos-track::-webkit-scrollbar { display: none; }
.wave-videos-track:active { cursor: grabbing; }

/* Individual video card */
.wave-video-card {
  flex: 0 0 105px;
  display: block;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.35s ease;
}

.wave-video-thumb {
  width: 105px;
  height: 152px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}

.wave-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.wave-video-card:hover .wave-video-thumb img { transform: scale(1.05); }

.wave-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 8px;
  gap: 4px;
}

.wave-play-icon {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave-video-user {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 89px;
}

/* "Add yours" card */
.wave-add-card .wave-video-thumb {
  border: 1.5px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
}
[data-theme="light"] .wave-add-card .wave-video-thumb {
  border: 1.5px dashed rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.03);
}

.wave-add-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-3);
}

.wave-add-inner svg { opacity: 0.5; }

.wave-add-inner span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
}

.wave-add-card:hover .wave-video-thumb {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}
[data-theme="light"] .wave-add-card:hover .wave-video-thumb {
  border-color: rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.05);
}

/* Empty hint */
.wave-empty-hint {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 16px;
  padding-left: 2px;
}

/* Upload CTA button */
.wave-upload-btn {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  margin-bottom: 14px;
  -webkit-tap-highlight-color: transparent;
}
.wave-upload-btn:hover  { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }
.wave-upload-btn:active { transform: scale(0.98); }

/* Reward note */
.reward-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-3);
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.reward-note svg { flex-shrink: 0; opacity: 0.5; }

/* ─────────────────────────────────────────────
   SNIPPETS
   ───────────────────────────────────────────── */

.snippets-track {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  padding: 0 20px 8px;
  cursor: grab;
}
.snippets-track::-webkit-scrollbar { display: none; }
.snippets-track:active { cursor: grabbing; }

.snippet-card {
  flex: 0 0 110px;
  height: 160px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.35s ease;
}
.snippet-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.snippet-card:hover img { transform: scale(1.05); }
.snippet-card:active img { transform: scale(1.04); }

.snippet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.snippet-play {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────────────
   UPLOAD MODAL
   ───────────────────────────────────────────── */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

/* Bottom sheet style */
.modal-sheet {
  width: 100%;
  max-width: 430px;
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 12px 20px 32px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.modal-sheet.show { transform: translateY(0); }

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--surface-3);
  border-radius: 999px;
  margin: 0 auto 20px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: none;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--surface-3); }

.modal-sub {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 24px;
}

/* ── Submit toast ─ */
.submit-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--growth);
  z-index: 999;
  animation: toastFade 3.5s forwards;
  white-space: nowrap;
}

@keyframes toastFade {
  0%, 75% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100%     { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ─────────────────────────────────────────────
   FORM ELEMENTS (shared — artist page + admin)
   ───────────────────────────────────────────── */

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--border-focus); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-hint { font-size: 11px; color: var(--text-3); margin-top: 5px; }

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 15px 20px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:active { transform: scale(0.98); opacity: 0.9; }

.btn-secondary {
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--border-focus); color: var(--text); }

/* ─────────────────────────────────────────────
   ADMIN PANEL
   ───────────────────────────────────────────── */

.admin-shell {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 48px;
}

@media (min-width: 540px) {
  body.admin-body { background: #050505; }
  .admin-shell { box-shadow: 0 0 120px rgba(0,0,0,0.9); }
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
  margin-bottom: 0;
}

.admin-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.admin-logo span { color: var(--text-3); font-weight: 400; margin-left: 4px; }

.admin-view-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}
.admin-view-link:hover { color: var(--text-2); border-color: var(--border-focus); }

/* ── Tab bar ─ */
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  margin-bottom: 28px;
}

.tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  padding: 10px 16px 12px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab:hover     { color: var(--text-2); }
.tab.active    { color: var(--text); border-bottom-color: var(--text); }

/* Admin tabs: compact + horizontal scroll inside tabs row */
.admin-shell .tab-bar {
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.admin-shell .tab-bar::-webkit-scrollbar { display: none; }

.admin-shell .tab {
  flex: 0 0 auto;
  font-size: 13px;
  padding: 6px 4px;
}

/* ── Save toast (admin) ─ */
.save-toast {
  margin: 0 20px 20px;
  padding: 12px 16px;
  background: rgba(61, 214, 140, 0.1);
  border: 1px solid rgba(61, 214, 140, 0.25);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--growth);
  animation: fadeOut 3s forwards;
}
@keyframes fadeOut { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

/* ── Form sections ─ */
.form-section   { padding: 0 20px; }
.form-block     { margin-bottom: 32px; }

.form-block-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.ma-admin-grid {
  display: grid;
  gap: 12px;
}
.ma-admin-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ma-admin-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ma-admin-inline .form-input {
  margin: 0;
}
.ma-admin-live {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  min-width: 44px;
  text-align: right;
}
.ma-admin-currency {
  font-size: 12px;
  color: var(--text-3);
}
.ma-admin-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 999px;
  background: #2b2b2b;
  outline: none;
}
.ma-admin-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--growth);
  box-shadow: 0 2px 7px rgba(61, 214, 140, 0.35);
  cursor: pointer;
}
.ma-admin-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--growth);
  box-shadow: 0 2px 7px rgba(61, 214, 140, 0.35);
  cursor: pointer;
}
.ma-admin-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ma-admin-preset {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-2);
  background: var(--surface-2);
  cursor: pointer;
}
.ma-admin-preset:hover {
  border-color: var(--border-focus);
  color: var(--text);
}
.ma-admin-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 420px) {
  .ma-admin-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Release list (admin) ─ */
.release-list  { padding: 0 20px; }

.release-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.release-row:last-child { border-bottom: none; }

.release-row-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}

.release-row-info { flex: 1; min-width: 0; }

.release-row-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.release-row-desc {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-row-actions { display: flex; gap: 8px; flex-shrink: 0; }

.action-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.action-btn:hover              { color: var(--text); border-color: var(--border-focus); }
.action-btn-delete             { color: #666; }
.action-btn-delete:hover       { color: #fc5c5c; border-color: rgba(252,92,92,0.3); }

/* ── Release type / format badges in releases list ─ */
.release-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.5;
  vertical-align: middle;
}
.release-type-presave {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.release-type-release {
  background: rgba(61, 214, 140, 0.12);
  color: #3dd68c;
  border: 1px solid rgba(61, 214, 140, 0.22);
}

/* ── Admin edit page ─ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-3);
  padding: 0 20px;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--text-2); }

.edit-page-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0 20px;
  margin-bottom: 28px;
}

/* ── Wave video admin list ─ */
.wave-admin-list { margin-bottom: 16px; }

.wave-admin-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.wave-admin-row:last-child { border-bottom: none; }

.wave-admin-thumb {
  width: 36px;
  height: 52px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}

.wave-admin-info { flex: 1; min-width: 0; }

.wave-admin-user {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.wave-admin-url {
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Fetch Stats button & results ─ */
.btn-fetch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--r-md);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  margin-top: 4px;
}
.btn-fetch:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.45);
  color: #c7d2fe;
}
.fetch-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.fetch-result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
}
.fetch-platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fetch-platform-name {
  font-weight: 600;
  color: var(--text);
  min-width: 72px;
}
.fetch-platform-stat {
  flex: 1;
}
.fetch-ts {
  font-size: 10px;
  color: var(--text-3);
  flex-shrink: 0;
}

/* ── Empty state ─ */
.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

/* ── Utilities ─ */
.divider { height: 1px; background: var(--border); margin: 8px 20px 28px; }

/* ─────────────────────────────────────────────
   PLATFORM STATS ROW (artist page)
   ───────────────────────────────────────────── */

.platform-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

.platform-stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}

.platform-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.platform-dot-spotify   { background: var(--spotify); }
.platform-dot-youtube   { background: #FF0000; }
.platform-dot-tiktok    { background: #69C9D0; }
.platform-dot-instagram { background: #E1306C; }

.platform-stat-name  { color: var(--text-3); font-weight: 500; }
.platform-stat-value { color: var(--text-2); font-weight: 600; }

/* ─────────────────────────────────────────────
   FETCH STATS BUTTON (admin)
   ───────────────────────────────────────────── */

.fetch-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: var(--r);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.fetch-btn:hover  { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); color: var(--text); }
.fetch-btn:active { transform: scale(0.98); }

/* ── Fetched results display ─ */
.platform-fetched-results {
  margin-top: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.pfr-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--border);
}

.pfr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.pfr-row:last-child { border-bottom: none; }

.pfr-platform { font-weight: 600; color: var(--text-2); min-width: 70px; }
.pfr-stats    { flex: 1; color: var(--text-3); }
.pfr-time     { font-size: 10px; color: var(--text-3); white-space: nowrap; }

/* ─────────────────────────────────────────────
   COVER FILE UPLOAD (admin)
   ───────────────────────────────────────────── */

.cover-input-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.cover-tab {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.2s;
}
.cover-tab:hover  { color: var(--text-2); }
.cover-tab.active { background: var(--surface-2); color: var(--text); border-color: var(--border-focus); }

.file-upload-zone {
  width: 100%;
  min-height: 80px;
  background: var(--surface);
  border: 1.5px dashed rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-3);
  transition: border-color 0.2s, background 0.2s;
  padding: 16px;
}
.file-upload-zone:hover  { border-color: rgba(255,255,255,0.28); background: var(--surface-2); }
.file-upload-zone svg    { opacity: 0.4; }
.file-upload-zone span   { font-size: 13px; font-weight: 500; }

/* ─────────────────────────────────────────────
   GLOBAL TOOLTIP — fixed, bypasses overflow clipping
   ───────────────────────────────────────────── */

.global-tooltip {
  display: none;
  position: fixed;
  z-index: 9999;
  min-width: 120px;
  max-width: 160px;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 1.3;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.global-tooltip-value {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}

.global-tooltip-desc {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.3;
  opacity: 0.75;
}

/* ─────────────────────────────────────────────
   WAVE REWARDS BLOCK
   ───────────────────────────────────────────── */

.wave-rewards {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.wave-rewards-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.wave-rewards-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.wave-rewards-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.wave-rewards-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-2);
}

.wave-selection-note {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.55;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.wave-challenge {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   LIGHT THEME
   ───────────────────────────────────────────── */

[data-theme="light"] {
  --bg:           #F0F0F0;
  --surface:      #FFFFFF;
  --surface-2:    #F5F5F5;
  --surface-3:    #EBEBEB;
  --border:       rgba(0, 0, 0, 0.09);
  --border-focus: rgba(0, 0, 0, 0.28);
  --text:         #0A0A0A;
  --text-2:       #4A4A4A;
  --text-3:       #909090;
  --growth:       #1A9955;
}

[data-theme="light"] body { background: #F0F0F0; }
[data-theme="light"] .app-shell { background: #F0F0F0; }

@media (min-width: 500px) {
  [data-theme="light"] body { background: #E0E0E0; }
  [data-theme="light"] .app-shell {
    background: #F0F0F0;
    box-shadow: 0 0 80px rgba(0,0,0,0.18);
  }
}

/* ─────────────────────────────────────────────
   THEME TOGGLE BUTTON
   ───────────────────────────────────────────── */

.theme-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle-btn:hover { border-color: var(--border-focus); color: var(--text-2); }
.theme-toggle-btn .icon-moon { display: block; }
.theme-toggle-btn .icon-sun  { display: none;  }
[data-theme="light"] .theme-toggle-btn .icon-moon { display: none;  }
[data-theme="light"] .theme-toggle-btn .icon-sun  { display: block; }

/* ─────────────────────────────────────────────
   HEADER + BUTTON (replaces play button)
   ───────────────────────────────────────────── */

.header-plus-btn {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.8px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}
.header-plus-btn:hover  { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.header-plus-btn:active { transform: scale(0.94); }
[data-theme="light"] .header-plus-btn { border-color: rgba(0,0,0,0.2); }
[data-theme="light"] .header-plus-btn:hover { border-color: rgba(0,0,0,0.45); background: rgba(0,0,0,0.04); }

/* Following / added-to-collection state */
.header-plus-btn.following {
  background: var(--growth);
  border-color: var(--growth);
  color: #000;
}
.header-plus-btn.following:hover { background: #2fd87e; border-color: #2fd87e; }
.header-plus-btn .btn-check-icon { display: none; }
.header-plus-btn.following .btn-plus-icon  { display: none; }
.header-plus-btn.following .btn-check-icon { display: block; }

/* Follow toast */
.follow-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--growth);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.follow-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─────────────────────────────────────────────
   ARTIST SOCIAL PLATFORM ROW
   ───────────────────────────────────────────── */

.artist-platform-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 8px;
}

.artist-platform-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.artist-platform-btn:hover  { transform: scale(1.1); opacity: 0.9; }
.artist-platform-btn:active { transform: scale(0.94); }

.apb-spotify   { background: #1DB954; color: #fff; }
.apb-apple     { background: #000; color: #fff; box-shadow: 0 0 0 1.5px rgba(255,255,255,0.13); }
.apb-youtube   { background: #CC0000; color: #fff; }
.apb-instagram { background: radial-gradient(circle at 30% 110%, #fd5 5%, #f73 45%, #c13584 85%); color: #fff; }
.apb-tiktok    { background: #1a1a1a; color: #fff; box-shadow: 0 0 0 1.5px rgba(255,255,255,0.1); }
[data-theme="light"] .apb-apple  { box-shadow: 0 0 0 1.5px rgba(0,0,0,0.12); }
[data-theme="light"] .apb-tiktok { box-shadow: 0 0 0 1.5px rgba(0,0,0,0.12); }

/* ─────────────────────────────────────────────
   COUNTRY FLAG IMAGE
   ───────────────────────────────────────────── */

.country-based {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

.country-name {
  color: var(--text-2);
  font-weight: 600;
}

.country-flag-img {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   RELEASE GROWTH BADGE
   ───────────────────────────────────────────── */

.release-growth-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--growth);
  background: rgba(61, 214, 140, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 6px;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

/* ─────────────────────────────────────────────
   SOUND PICKER MODAL
   ───────────────────────────────────────────── */

.sound-picker-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.sound-platform-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.sound-platform-btn:hover  { border-color: var(--border-focus); background: var(--surface-3); }
.sound-platform-btn:active { transform: scale(0.98); }

.sound-platform-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sound-platform-icon.tiktok   { background: #000; }
.sound-platform-icon.shorts   { background: #CC0000; }
.sound-platform-icon.reels    { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }

.sound-platform-info { flex: 1; text-align: left; }
.sound-platform-name { font-size: 15px; font-weight: 600; }
.sound-platform-sub  { font-size: 12px; color: var(--text-3); font-weight: 400; margin-top: 1px; }

/* ─────────────────────────────────────────────
   RELATED VIDEOS (per release)
   ───────────────────────────────────────────── */

.related-videos-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.related-videos-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 20px 12px;
  margin: 0 -20px;
  display: block;
}

.related-videos-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.related-videos-track::-webkit-scrollbar { display: none; }

.related-video-card {
  flex: 0 0 200px;
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.related-video-thumb {
  width: 200px;
  height: 112px; /* 16:9 */
  object-fit: cover;
  display: block;
  background: var(--surface-3);
}

.related-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.related-video-card:hover .related-video-overlay { opacity: 1; }

.related-video-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────────────
   FROM ARTIST SECTION (renamed from Shorts)
   ───────────────────────────────────────────── */

/* (Uses same .snippets-track styles) */

/* ─────────────────────────────────────────────
   POWERED BY HITLINKER FOOTER
   ───────────────────────────────────────────── */

.hitlinker-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 20px 36px;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.hitlinker-footer-logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ─────────────────────────────────────────────
   WAVE ADMIN TAB STYLES
   ───────────────────────────────────────────── */

.wave-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.wave-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.wave-toggle-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-3);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.toggle-switch input:checked + .toggle-slider {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateY(-50%) translateX(18px);
  background: var(--text);
}

/* Reward checkboxes */
.reward-check-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reward-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.reward-check-item:last-child { border-bottom: none; }

.reward-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.reward-check-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* ─────────────────────────────────────────────
   NAVIGATION ROW — HitLinks / HitWall / Catalog / Admin
   ───────────────────────────────────────────── */

/* Hide duplicate section-titles — nav row already shows the label */
#view-hitlinks .section-header,
#view-hitwall  .section-header,
#view-catalog  .section-header { display: none; }

.hl-nav {
  display: flex;
  align-items: center;
  padding: 0 20px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  z-index: 10;
}
.hl-nav::-webkit-scrollbar { display: none; }

.hl-nav-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: none;
  border: none;
  padding: 6px 0;
  margin-right: 20px;
  cursor: pointer !important;
  flex-shrink: 0;
  white-space: nowrap;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
  user-select: none;
}
.hl-nav-btn:last-child { margin-right: 0; }
.hl-nav-btn.active { color: var(--text); }

/* ─────────────────────────────────────────────
   HITWALL VIEW — Living composer
   ───────────────────────────────────────────── */

/* ── Composer card ─ */
.hw-composer {
  margin: 0 16px 14px;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: visible;
  transition: border-color 0.2s;
}
.hw-composer:focus-within { border-color: var(--border-focus); }

/* Draw canvas layer */
.hw-draw-layer {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.hw-canvas {
  display: block; width: 100%; max-width: 100%; cursor: crosshair;
  user-select: none; -webkit-user-select: none;
}
.hw-draw-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.hw-colors { display: flex; gap: 5px; align-items: center; }
.hw-color {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer; padding: 0; flex-shrink: 0;
  transition: border-color 0.15s, transform 0.12s;
}
.hw-color.active { border-color: var(--text); transform: scale(1.2); }
.hw-brushes { display: flex; gap: 3px; }
.hw-brush {
  font-size: 10px; font-weight: 700; width: 24px; height: 24px;
  border-radius: var(--r-sm); border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-2); cursor: pointer;
  transition: all 0.15s;
}
.hw-brush.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.hw-clear-btn {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  background: none; border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 3px 9px; cursor: pointer; margin-left: auto;
}
.hw-clear-btn:active { background: var(--surface-2); }

/* Photo preview inside composer */
.hw-img-wrap {
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hw-preview-img {
  display: block; width: 100%; max-height: 300px;
  object-fit: cover;
}
.hw-img-remove {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px;
  background: rgba(0,0,0,0.65); border: none; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  transition: background 0.15s;
}
.hw-img-remove:hover { background: rgba(0,0,0,0.85); }

/* Autogrow textarea — transparent, no border */
.hw-composer-ta {
  display: block; width: 100%;
  background: transparent; border: none; resize: none;
  color: var(--text); font-family: var(--font); font-size: 14px;
  line-height: 1.55; padding: 12px 14px 8px;
  box-sizing: border-box; overflow: hidden;
  min-height: 60px;
}
.hw-composer-ta::placeholder { color: var(--text-3); }
.hw-composer-ta:focus { outline: none; }

/* Footer toolbar */
/* Row 2: tools + Post */
.hw-actions-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px 4px;
  border-top: 1px solid var(--border);
  flex-wrap: nowrap;
}
.hw-actions-left  { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.hw-right-post    { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Row 3: Author dropdown */
.hw-author-row {
  display: flex; justify-content: flex-end;
  padding: 0 10px 8px;
}
.hw-tool-btn {
  width: 32px; height: 32px; border-radius: var(--r-sm); flex-shrink: 0;
  background: none; border: none; color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.hw-tool-btn:hover { color: var(--text-2); background: var(--surface-2); }
.hw-tool-btn:active { background: var(--surface-3); }
.hw-tool-btn.active { color: var(--text); background: var(--surface-2); }
.hw-char-hint {
  font-size: 10px; color: var(--text-3); letter-spacing: 0.02em;
  flex-shrink: 0;
}
.hw-name-input {
  width: 90px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text);
  font-family: var(--font); font-size: 12px; padding: 6px 9px;
  box-sizing: border-box; min-width: 0;
  transition: border-color 0.2s, width 0.25s ease;
}
.hw-name-input::placeholder { color: var(--text-3); }
.hw-name-input:focus { outline: none; border-color: var(--border-focus); width: 110px; }
.hw-post-btn {
  height: 36px; padding: 0 14px; border-radius: 8px;
  background: var(--text); color: var(--bg);
  border: none; font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: opacity 0.2s, transform 0.12s;
}
.hw-post-btn:disabled {
  opacity: 0.28; cursor: default;
}
.hw-post-btn:not(:disabled):hover { opacity: 0.85; }
.hw-post-btn:not(:disabled):active { transform: scale(0.96); }

/* Drag-over highlight */
.hw-composer.drag-over { border-color: var(--border-focus); background: var(--surface-2); }

/* Feed */
.hw-feed { padding: 0 16px 28px; display: flex; flex-direction: column; gap: 10px; }
.hw-empty, .hw-loading {
  padding: 40px 0; text-align: center; color: var(--text-3); font-size: 13px;
}

/* Post card */
.hw-post { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; position: relative; }
.hw-post-img { display: block; width: 100%; max-height: 340px; object-fit: cover; }
.hw-post-media { position: relative; overflow: hidden; }

.hw-post-header {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px;
}
.hw-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-3); color: var(--text-2);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden;
}
.hw-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-post-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hw-post-uname {
  font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hw-post-time { font-size: 11px; color: var(--text-3); }

/* Post menu */
.hw-menu-wrap { position: relative; }
.hw-menu-btn {
  background: none; border: none; color: var(--text-3); cursor: pointer;
  font-size: 16px; padding: 4px 6px; line-height: 1;
  border-radius: var(--r-sm); letter-spacing: 2px;
}
.hw-menu-btn:active { background: var(--surface-2); }
.hw-post-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 4px);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 4px 0; min-width: 120px; z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.hw-post-menu.open { display: block; }
.hw-post-menu button {
  display: block; width: 100%; text-align: left;
  background: none; border: none; color: var(--text-2);
  font-size: 13px; padding: 8px 14px; cursor: pointer;
}
.hw-post-menu button:hover { background: var(--surface-3); color: var(--text); }

/* Post body */
.hw-post-body { padding: 8px 14px 10px; }
.hw-post-text {
  font-size: 14px; color: var(--text-2); line-height: 1.5;
  word-break: break-word; white-space: pre-wrap;
}
.hw-edited { font-size: 10px; color: var(--text-3); margin-left: 4px; }

/* Edit inline */
.hw-edit-btns { display: flex; gap: 8px; margin-top: 8px; }
.hw-esave, .hw-ecancel {
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: var(--r-sm); border: none; cursor: pointer;
}
.hw-esave { background: var(--text); color: var(--bg); }
.hw-ecancel { background: var(--surface-2); color: var(--text-2); }

/* Action bar */
.hw-actions {
  display: flex; border-top: 1px solid var(--border); padding: 2px 6px;
}
.hw-action-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; color: var(--text-3);
  font-size: 12px; font-weight: 500; padding: 8px 10px;
  cursor: pointer; border-radius: var(--r-sm); transition: color 0.15s;
}
.hw-action-btn:active { background: var(--surface-2); }
.hw-action-btn.liked { color: #e55; }

/* Comments */
.hw-comments { border-top: 1px solid var(--border); padding: 8px 14px 12px; }
.hw-comment {
  display: flex; align-items: flex-start; gap: 6px;
  padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.hw-comment:last-of-type { border-bottom: none; }
.hw-comment-u { font-weight: 600; color: var(--text); white-space: nowrap; }
.hw-comment-t { color: var(--text-2); flex: 1; word-break: break-word; }
.hw-cdel {
  background: none; border: none; color: var(--text-3);
  font-size: 10px; cursor: pointer; padding: 2px 4px; flex-shrink: 0; opacity: 0.5;
}
.hw-cdel:hover { opacity: 1; }
.hw-cform { display: flex; gap: 6px; margin-top: 8px; }
.hw-cinput {
  flex: 1; min-width: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--text); font-size: 13px;
  padding: 7px 10px; font-family: var(--font);
}
.hw-cinput::placeholder { color: var(--text-3); }
.hw-cinput:focus { outline: none; border-color: var(--border-focus); }
.hw-csend {
  width: 32px; height: 32px; background: var(--text); color: var(--bg);
  border: none; border-radius: var(--r-sm); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Repost */
.hw-repost-tag {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-3); font-weight: 600;
  padding: 8px 14px 0;
}
.hw-repost-card {
  margin: 6px 14px; border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.hw-repost-by { font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.hw-rp-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: none; border: none; color: var(--text); font-size: 14px;
  font-weight: 500; padding: 14px 20px; cursor: pointer; text-align: left;
  border-radius: var(--r);
}
.hw-rp-opt:active { background: var(--surface-2); }

/* Inline edit textarea (post editing) */
.hw-textarea {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--text);
  font-family: var(--font); font-size: 14px; line-height: 1.5;
  padding: 10px 12px; resize: vertical; width: 100%; box-sizing: border-box;
}
.hw-textarea::placeholder { color: var(--text-3); }
.hw-textarea:focus { outline: none; border-color: var(--border-focus); }

/* ─────────────────────────────────────────────
   CATALOG VIEW
   ───────────────────────────────────────────── */

.cat-tabs {
  display: flex;
  align-items: center;
  padding: 12px 20px 16px;
}
.cat-tab {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: none;
  border: none;
  padding: 0;
  margin-right: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cat-tab:last-child { margin-right: 0; }
.cat-tab.active { color: var(--text); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 140px);
  gap: 16px 12px;
  padding: 0 20px 28px;
  justify-content: center;
}
.cat-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cat-card-cover {
  width: 140px;
  height: 140px;
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 8px;
}
.cat-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.cat-card:active .cat-card-cover img { transform: scale(0.97); }
.cat-card-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}
.cat-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}

/* ─────────────────────────────────────────────
   ADMIN EMBED VIEW
   ───────────────────────────────────────────── */

.admin-embed-frame {
  width: 100%;
  height: 85vh;
  border: none;
  display: block;
  background: var(--surface);
}

/* ─────────────────────────────────────────────
   MOBILE-FIRST AUDIT LAYER (v22)
   ───────────────────────────────────────────── */

:root {
  --mobile-base-max: 380px;
  --mobile-base-pad: 16px;
  --shell-pad: 0px;
  --hitlink-card-size: clamp(7.5rem, 34vw, 8.75rem);
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  overscroll-behavior-y: auto;
}

.app-shell,
.admin-shell {
  width: 100%;
  max-width: var(--mobile-base-max);
  margin: 0 auto;
  padding: 0 var(--mobile-base-pad) calc(env(safe-area-inset-bottom, 0px) + 0.5rem);
}

.top-bar,
.artist-header,
.section-header,
.hl-nav,
.release-detail,
.cat-tabs,
.cat-grid,
.hw-composer,
.hw-feed,
.admin-header,
.tab-bar,
.form-section {
  padding-left: var(--shell-pad);
  padding-right: var(--shell-pad);
}

.modal-sheet {
  max-width: var(--mobile-base-max);
}

.top-bar {
  padding-top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
}

.theme-toggle-btn,
.top-bar-admin,
.hl-nav-btn,
.tab,
.header-plus-btn,
.btn-primary,
.btn-secondary,
.btn-fetch,
.admin-view-link {
  min-height: 2.75rem;
}

.hl-nav,
.tab-bar,
.cat-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hl-nav::-webkit-scrollbar,
.tab-bar::-webkit-scrollbar,
.cat-tabs::-webkit-scrollbar {
  display: none;
}

.hl-nav-btn,
.tab,
.cat-tab {
  white-space: nowrap;
}

.hitlinks-track {
  padding-left: calc(50% - (var(--hitlink-card-size) / 2));
  padding-right: calc(50% - (var(--hitlink-card-size) / 2));
  scroll-padding-inline: 50%;
}

.hitlink-card {
  flex: 0 0 var(--hitlink-card-size);
}

.hitlink-cover-wrap,
.cat-card-cover {
  width: var(--hitlink-card-size);
  height: var(--hitlink-card-size);
}

.cat-grid {
  grid-template-columns: repeat(2, minmax(0, var(--hitlink-card-size)));
  justify-content: center;
  gap: 1rem 0.75rem;
}

.artist-top-row {
  gap: 0.65rem;
}

.artist-meta {
  flex: 1;
  min-width: 0;
}

.artist-type-label {
  margin-bottom: 0.1rem;
}

.artist-name {
  font-size: clamp(18px, 4.5vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.2px;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-genre-line {
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.1px;
  margin-top: 2px;
  margin-bottom: 0.05rem;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-country-line {
  font-size: 13px;
  line-height: 1.3;
  margin-top: 0;
  opacity: 0.75;
}

@media (hover: hover) {
  .genre-text:hover {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

.genre-text.expanded {
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.release-detail {
  min-height: 14rem;
}

.wave-section,
.music-angels,
.related-videos-section,
.hw-feed,
.cat-grid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.wave-videos-track,
.related-videos-track,
.hitlinks-track {
  touch-action: pan-x;
}

@media (hover: none) {
  .top-bar-admin:hover,
  .theme-toggle-btn:hover,
  .header-plus-btn:hover,
  .tab:hover {
    background: inherit;
    color: inherit;
    border-color: inherit;
  }

  .related-video-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12));
  }
}

@media (max-width: 30rem) {
  .artist-top-row {
    align-items: flex-start;
    gap: 0.6rem;
  }

  .artist-hex-wrap {
    width: clamp(4.5rem, 22vw, 5.25rem);
    height: clamp(4.5rem, 22vw, 5.25rem);
  }

  .artist-avatar {
    width: calc(clamp(4.5rem, 22vw, 5.25rem) - 0.25rem);
    height: calc(clamp(4.5rem, 22vw, 5.25rem) - 0.25rem);
    top: 0.125rem;
    left: 0.125rem;
  }

  .header-plus-btn {
    width: 3.125rem;
    height: 3.125rem;
  }

  .artist-stats {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .artist-stats::-webkit-scrollbar { display: none; }
  .stat {
    min-width: 6.9rem;
  }

  .stat + .stat {
    padding-left: 0.625rem;
  }

  .related-video-card {
    flex: 0 0 min(80vw, 12.5rem);
  }
}

@media (min-width: 30.0625rem) and (max-width: 64rem) {
  .app-shell,
  .admin-shell {
    max-width: var(--mobile-base-max);
  }
}

@media (min-width: 64.0625rem) {
  .app-shell,
  .admin-shell {
    max-width: var(--mobile-base-max);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─────────────────────────────────────────────
   Artist selector strip (compact, non-breaking)
   ───────────────────────────────────────────── */
.artist-selector-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 50%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 16px;
  cursor: grab;
}
.artist-scroll {
  margin-top: 6px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.artist-selector-strip::-webkit-scrollbar { display: none; }
.artist-selector-strip:active { cursor: grabbing; }

.artist-selector-wrap {
  position: relative;
}
.artist-selector-wrap::before,
.artist-selector-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  z-index: 2;
}
.artist-selector-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.artist-selector-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.artist-header {
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.artist-selector-item {
  --artist-accent: var(--neon, #3dd68c);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.artist-selector-item.active {
  border-color: color-mix(in srgb, var(--artist-accent) 72%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--artist-accent) 35%, transparent) inset,
    0 0 8px var(--artist-accent),
    0 0 16px var(--artist-accent);
  transform: scale(1.05);
}

.artist-selector-avatar-wrap {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
}

.artist-selector-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-selector-name {
  font-size: 11.5px;
  color: var(--text-2);
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}
.artist-selector-item.active .artist-selector-name { color: var(--text); }

.artist-selector-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 1px;
}

.artist-selector-role {
  font-size: 9.5px;
  opacity: 0.55;
  margin-top: 0;
  color: var(--text-3);
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── HitWall: Section labels ─────────────────────────────────── */
.hw-section-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text);
  padding: 4px 0 8px; margin-top: 4px;
}
.hw-section-icon  { font-size: 12px; opacity: 0.85; }
.hw-section-empty { font-size: 12px; color: var(--text-3); opacity: 0.5; padding: 4px 0 8px; margin: 0; }
.hw-post-today    { border: 1px solid rgba(255,255,255,0.08); }

/* ── HitWall: Wave status badges ─────────────────────────────── */
.hw-status {
  font-size: 10px; font-weight: 600; padding: 2px 7px;
  border-radius: 20px; flex-shrink: 0;
}
.hw-status-viral   { background: rgba(255, 87, 87, 0.18); color: #ff5757; }
.hw-status-strong  { background: rgba(61, 214, 140, 0.18); color: var(--growth); }
.hw-status-growing { background: rgba(107, 154, 255, 0.15); color: #6b9aff; }
.hw-status-low     { background: rgba(255,255,255,0.07); color: var(--text-3); }

/* ── HitWall: Pin overlay (on media area, top-left) ─────────── */
.hw-pin-label {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 3px 7px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #fff;
  opacity: 0;
  animation: hwPinFadeIn 120ms ease forwards;
  pointer-events: none;
  z-index: 2;
}
@keyframes hwPinFadeIn {
  to { opacity: 0.85; }
}
/* .hw-menu-pin-btn.active — no special highlight; Pin/Unpin same style as Edit/Delete */

/* ── HitWall: Identity dropdown ─────────────────────────────── */
.hw-identity-wrap  { position: relative; flex-shrink: 0; width: auto; min-width: 120px; max-width: 160px; }
.hw-identity-btn   {
  display: flex; align-items: center; gap: 4px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 0 10px;
  height: 36px; font-size: 12px; color: var(--text-2); cursor: pointer;
  white-space: nowrap; width: 100%; box-sizing: border-box;
}
.hw-identity-btn:hover { background: var(--surface-3); }
.hw-identity-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.hw-identity-chevron { flex-shrink: 0; opacity: 0.5; }
.hw-identity-menu  {
  display: none; position: absolute; bottom: calc(100% + 4px); left: 0;
  min-width: 130px; width: max-content;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
}
.hw-identity-menu.open { display: block; }
.hw-id-option {
  display: flex; align-items: center;
  width: 100%; height: 36px; padding: 0 12px; box-sizing: border-box;
  font-size: 13px; color: var(--text-2); cursor: pointer;
  background: transparent; border: none; text-align: left;
  white-space: nowrap; overflow: hidden;
}
.hw-id-option:hover  { background: rgba(255,255,255,0.05); color: var(--text); }
.hw-id-option.active { color: var(--text); }
.hw-id-opt-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.hw-id-opt-role { font-size: 11px; opacity: 0.45; font-weight: 400; }

/* ── HitWall: GIF modal ──────────────────────────────────────── */
.hw-gif-modal    { position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-end; }
.hw-gif-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.hw-gif-panel    {
  position: relative; width: 100%; max-width: 480px; margin: 0 auto;
  background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 16px; max-height: 60vh; overflow-y: auto;
}
.hw-gif-header   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hw-gif-title    { font-size: 14px; font-weight: 600; color: var(--text); }
.hw-gif-close    {
  background: var(--surface-2); border: none; border-radius: 50%;
  width: 28px; height: 28px; font-size: 14px; cursor: pointer; color: var(--text-2);
}
.hw-gif-grid     { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hw-gif-item     { cursor: pointer; border-radius: var(--r-md); overflow: hidden; position: relative; }
.hw-gif-item img { width: 100%; height: 100px; object-fit: cover; display: block; }
.hw-gif-item:hover img { opacity: 0.85; }
.hw-gif-label    {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.55); color: #fff; font-size: 11px;
  padding: 4px 8px; text-align: center;
}

/* ── HitWall: Wave status line with emoji icons ──────────────── */
.hw-status-line {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 14px 8px; font-size: 11px; color: var(--text-3);
}
.hw-wave-icons       { font-size: 13px; line-height: 1; }
.hw-wave-icons.viral   { filter: drop-shadow(0 0 4px rgba(255,87,87,0.6)); }
.hw-wave-icons.strong  { filter: drop-shadow(0 0 3px rgba(61,214,140,0.5)); }
.hw-wave-icons.growing { opacity: 0.9; }
.hw-wave-icons.low     { opacity: 0.45; }
.hw-wave-status-text { font-size: 11px; font-weight: 600; color: var(--text-2); }
.hw-wave-actions     { font-size: 11px; color: var(--text-3); }

/* ── HitWall: GIF comment picker ─────────────────────────────── */
.hw-cgif-btn {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 3px 7px;
  font-size: 11px; font-weight: 700; color: var(--text-2); cursor: pointer;
  flex-shrink: 0;
}
.hw-cgif-btn:hover { background: var(--surface-3); color: var(--text); }

.hw-cgif-picker {
  display: none; grid-template-columns: repeat(3, 1fr);
  gap: 4px; padding: 6px 0 2px;
}
.hw-cgif-item {
  background: var(--surface-2); border: none; border-radius: var(--r-sm);
  overflow: hidden; cursor: pointer; padding: 0; aspect-ratio: 4/3;
}
.hw-cgif-item img         { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.5; transition: opacity 0.2s; }
.hw-cgif-item img.loaded  { opacity: 1; }
.hw-cgif-item:hover img   { opacity: 0.8; }
.hw-cgif-loading {
  background: var(--surface-2); border-radius: var(--r-sm);
  aspect-ratio: 4/3; animation: pulse 1.2s ease-in-out infinite;
}
.hw-cgif-empty { font-size: 12px; color: var(--text-3); padding: 8px 0; grid-column: 1/-1; text-align: center; }

.hw-cgif-preview { padding: 4px 0; }
.hw-cgif-preview-wrap { position: relative; display: inline-block; }
.hw-cgif-preview-img  { max-height: 120px; border-radius: var(--r-sm); display: block; }
.hw-cgif-clear {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,0.6); color: #fff; border: none;
  border-radius: 50%; width: 20px; height: 20px; font-size: 14px;
  line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ── HitWall: Emoji picker ───────────────────────────────────── */
.hw-cemoji-btn {
  background: transparent; border: none; padding: 2px 4px;
  font-size: 16px; cursor: pointer; flex-shrink: 0; opacity: 0.7;
  line-height: 1;
}
.hw-cemoji-btn:hover { opacity: 1; }
.hw-emoji-panel {
  display: none; grid-template-columns: repeat(5, 1fr); gap: 2px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  width: 220px;
}
.hw-emoji-item {
  background: transparent; border: none; cursor: pointer;
  font-size: 18px; padding: 4px; border-radius: var(--r-sm);
  text-align: center; line-height: 1;
}
.hw-emoji-item:hover { background: var(--surface-3); }

/* ── HitWall: GIF in comments ────────────────────────────────── */
.hw-comment-gif           { display: block; max-width: 160px; border-radius: var(--r-sm); margin-top: 4px; }
.hw-comment-gif--with-text { margin-top: 4px; }

/* ─────────────────────────────────────────────
   PROOF OF CREATION
   ───────────────────────────────────────────── */

.proof-section {
  border-top: 1px solid var(--border);
  margin-top: 18px;
  margin-bottom: 24px;
  padding-top: 24px;
}

.proof-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: var(--text-1);
  white-space: nowrap;
}

.proof-badge-row {
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(61, 214, 140, 0.35);
  background: rgba(29, 77, 52, 0.35);
  color: #bff7d7;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.proof-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

.proof-info-btn {
  width: 19px;
  height: 19px;
  border-radius: 999px;
  border: 1px solid rgba(191, 247, 215, 0.22);
  background: rgba(255,255,255,0.02);
  color: rgba(191,247,215,0.6);
  font-size: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  opacity: 0.82;
  transition: opacity 120ms ease, transform 120ms ease;
}
.proof-info-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}

.proof-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  padding: 6px 10px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
  z-index: 25;
}

.proof-info-wrap:hover .proof-tooltip,
.proof-info-wrap.open .proof-tooltip {
  opacity: 1;
}

.proof-videos-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.proof-videos-track::-webkit-scrollbar { display: none; }

.proof-video-card {
  flex: 0 0 160px;
  width: 160px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}

.proof-video-trigger {
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: block;
}

.proof-video-thumb,
.proof-video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: var(--surface-3);
}

.proof-video-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

.proof-video-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.2);
}

.proof-video-title {
  min-width: 0;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proof-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.35));
  z-index: 2;
}

.proof-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.proof-description {
  margin-top: 12px;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  max-width: 100%;
  color: var(--text-3);
  font-size: 13.5px;
  line-height: 1.4;
}

.proof-empty {
  color: var(--text-3);
  font-size: 13px;
  padding: 4px 0;
}
