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

/* ============================================
   themes/neon-pulse/overrides.css
   OUMRADIO — NEON PULSE  v3 (structural depth)
   ============================================ */

/* ============================================
   BODY / BACKGROUND — fixed atmospheric lighting
   ============================================ */
/* ============================================
   ACCENT COLOUR TOKENS — cycled by JS
   ============================================ */
[data-theme="neon-pulse"] {
  --cfm-hi:       #c86bff;
  --cfm-lo:       #9d3fff;
  --cfm-mid:      #c056ff;
  --cfm-hi-rgb:   200,107,255;
  --cfm-lo-rgb:   157,63,255;
  --cfm-mid-rgb:  192,86,255;
  --cfm-b-hi:     #ff7ae5;
  --cfm-b-lo:     #ff4dcb;
  --cfm-b-soft:   #d580ff;
  --cfm-b-hi-rgb: 255,122,229;
  --cfm-b-lo-rgb: 255,77,203;
}

[data-theme="neon-pulse"] body {
  background:
    radial-gradient(circle at top left,  rgba(var(--cfm-mid-rgb),.05), transparent 35%),
    radial-gradient(circle at top right, rgba(220,0,100,.04),  transparent 38%),
    linear-gradient(180deg, #060509 0%, #030305 100%);
  background-attachment: fixed;
}

/* AMBIENT BLOOM — large fixed light sources */
[data-theme="neon-pulse"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(var(--cfm-mid-rgb),.04), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(200,0,110,.03),  transparent 34%);
  filter: blur(80px);
  opacity: .70;
}

/* NOISE GRAIN */
[data-theme="neon-pulse"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .028;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ============================================
   PAGE WRAPPER
   ============================================ */
[data-theme="neon-pulse"] .cfm-page {
  max-width: 1680px;
  margin: auto;
  padding: 20px;
  position: relative;
  z-index: 2;
  animation: cfm-neon-ambient 18s linear infinite alternate;
}

@keyframes cfm-neon-ambient {
  0%   { filter: none; }
  100% { filter: none; }
}

/* ============================================
   MAIN GRID — tighter, no double padding
   ============================================ */
[data-theme="neon-pulse"] .cfm-main--booth {
  display: grid;
  grid-template-columns: 290px 1fr 310px;
  gap: 16px;
  padding: 0;
}

[data-theme="neon-pulse"] .cfm-col {
  gap: 16px;
}

/* ============================================
   HEADER
   ============================================ */
[data-theme="neon-pulse"] .cfm-header {
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  backdrop-filter: blur(30px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 40px rgba(0,0,0,.45);
  margin-bottom: 16px;
}

/* ============================================
   BRAND
   ============================================ */
[data-theme="neon-pulse"] .cfm-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

[data-theme="neon-pulse"] .cfm-brand__icon {
  width: 68px !important;
  height: 68px !important;
  border-radius: 0 !important;
  overflow: visible !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="neon-pulse"] .cfm-brand__icon::after {
  display: none !important;
}

[data-theme="neon-pulse"] .cfm-brand__icon::before {
  display: none !important;
}

[data-theme="neon-pulse"] .cfm-brand__logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 0;
  display: block;
  background: transparent;
}

/* Brand stack — OUM on top, Clarendon FM below */
[data-theme="neon-pulse"] .cfm-brand__wordmark-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

[data-theme="neon-pulse"] .cfm-brand__oum-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 0%, var(--cfm-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: .90;
}

[data-theme="neon-pulse"] .cfm-brand__wordmark {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.70) 0%, rgba(255,255,255,.50) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

[data-theme="neon-pulse"] .cfm-brand__wordmark-fm {
  opacity: .80;
}

[data-theme="neon-pulse"] .cfm-brand__subline {
  color: var(--cfm-b-soft);
  letter-spacing: .20em;
  text-transform: uppercase;
  margin-top: 6px;
  font-size: 10px;
}

/* ============================================
   NAVIGATION
   ============================================ */
[data-theme="neon-pulse"] .cfm-nav {
  gap: 6px;
}

[data-theme="neon-pulse"] .cfm-nav__btn {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: blur(10px);
  transition: all 220ms cubic-bezier(.22,1,.36,1);
  color: rgba(255,255,255,.72);
  min-width: 90px;
  height: 40px;
  font-size: 10px;
  letter-spacing: .10em;
  font-weight: 600;
}

[data-theme="neon-pulse"] .cfm-nav__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 4px 16px rgba(0,0,0,.40);
  color: white;
}

[data-theme="neon-pulse"] .cfm-nav__btn--active {
  background: linear-gradient(180deg, var(--cfm-hi), var(--cfm-lo));
  color: white;
  border: none;
  box-shadow: 0 0 30px rgba(var(--cfm-hi-rgb),.55);
}

/* ============================================
   CARDS — deep surface treatment
   ============================================ */
[data-theme="neon-pulse"] .cfm-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  padding: 18px;
  box-shadow:
    0 10px 40px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.05);
  transition: all 220ms cubic-bezier(.22,1,.36,1);
}

[data-theme="neon-pulse"] .cfm-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 60px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.07);
}

/* Typography within cards */
[data-theme="neon-pulse"] .cfm-section-title {
  color: rgba(255,255,255,.52);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .65rem;
  font-weight: 600;
  margin: 0 0 12px;
  opacity: .8;
}

/* ============================================
   AIRSPACE
   ============================================ */
[data-theme="neon-pulse"] .cfm-airspace__wordmark {
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  margin-bottom: 10px;
}

[data-theme="neon-pulse"] .cfm-airspace__wordmark span {
  color: var(--cfm-mid);
}

[data-theme="neon-pulse"] .cfm-airspace__wordmark span:nth-child(1),
[data-theme="neon-pulse"] .cfm-airspace__wordmark span:nth-child(3) {
  color: var(--cfm-b-hi);
}

[data-theme="neon-pulse"] .cfm-airspace__current {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 10px 12px;
}

[data-theme="neon-pulse"] .cfm-airspace__current-dot {
  background: var(--cfm-mid);
  box-shadow: 0 0 8px rgba(var(--cfm-mid-rgb),.7);
}

[data-theme="neon-pulse"] .cfm-airspace[data-state="takeover"] .cfm-airspace__current-dot {
  background: var(--cfm-b-hi);
  box-shadow: 0 0 8px rgba(var(--cfm-b-hi-rgb),.7);
}

[data-theme="neon-pulse"] .cfm-airspace__label {
  color: var(--cfm-b-soft);
  font-size: 12px;
  font-weight: 600;
}

[data-theme="neon-pulse"] .cfm-airspace__sublabel,
[data-theme="neon-pulse"] .cfm-airspace__next {
  color: rgba(255,255,255,.44);
  font-size: 11px;
  margin-top: 8px;
}

[data-theme="neon-pulse"] .cfm-airspace__next strong {
  color: var(--cfm-mid);
}

/* ============================================
   SCHEDULE
   ============================================ */
[data-theme="neon-pulse"] .cfm-schedule__list {
  gap: 6px;
}

[data-theme="neon-pulse"] .cfm-schedule__item-bar {
  background: rgba(255,255,255,.10);
  border-radius: 2px;
}

[data-theme="neon-pulse"] .cfm-schedule__item--now .cfm-schedule__item-bar {
  background: linear-gradient(to top, var(--cfm-mid), var(--cfm-b-lo));
  box-shadow: 0 0 10px rgba(var(--cfm-mid-rgb),.5);
}

[data-theme="neon-pulse"] .cfm-schedule__item-time {
  color: rgba(255,255,255,.35);
  font-size: 10px;
}

[data-theme="neon-pulse"] .cfm-schedule__item--now .cfm-schedule__item-time {
  color: var(--cfm-mid);
}

[data-theme="neon-pulse"] .cfm-schedule__item-name {
  color: rgba(255,255,255,.60);
  font-size: 12px;
}

[data-theme="neon-pulse"] .cfm-schedule__item--now .cfm-schedule__item-name {
  color: #ffffff;
  font-weight: 600;
}

/* ============================================
   STATS CARD (new)
   ============================================ */
[data-theme="neon-pulse"] .cfm-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

[data-theme="neon-pulse"] .cfm-stat-label {
  opacity: .52;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: white;
}

[data-theme="neon-pulse"] .cfm-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

[data-theme="neon-pulse"] .cfm-stat-value--hot {
  color: var(--cfm-b-hi);
  text-shadow: 0 0 20px rgba(var(--cfm-b-hi-rgb),.4);
}

[data-theme="neon-pulse"] .cfm-energy-bar {
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

[data-theme="neon-pulse"] .cfm-energy-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cfm-mid), var(--cfm-b-lo));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(var(--cfm-mid-rgb),.4);
}

[data-theme="neon-pulse"] .cfm-location-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

[data-theme="neon-pulse"] .cfm-location-item {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="neon-pulse"] .cfm-location-flag {
  font-size: 13px;
}

/* ============================================
   PLAYER
   ============================================ */
[data-theme="neon-pulse"] .cfm-player {
  padding: 20px;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow:
    0 10px 40px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.06);
}

[data-theme="neon-pulse"] .cfm-player:hover {
  transform: none;
  box-shadow:
    0 10px 40px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.06);
}

[data-theme="neon-pulse"] .cfm-player__topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

[data-theme="neon-pulse"] .cfm-player__viewer-count {
  color: rgba(255,255,255,.50);
  font-size: 11px;
}

/* META STRIP */
[data-theme="neon-pulse"] .cfm-player__meta-strip {
  display: flex;
  gap: 6px;
  align-items: center;
}

[data-theme="neon-pulse"] .cfm-meta-pill {
  font-size: 10px;
  color: rgba(255,255,255,.44);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: .06em;
}

[data-theme="neon-pulse"] .cfm-meta-pill strong {
  color: var(--cfm-b-soft);
  font-weight: 600;
}

[data-theme="neon-pulse"] .cfm-player__live-now {
  color: var(--cfm-b-hi);
  letter-spacing: .24em;
  font-size: 10px;
  margin-bottom: 2px;
  text-shadow: 0 0 14px rgba(var(--cfm-b-hi-rgb),.55);
}

[data-theme="neon-pulse"] .cfm-player__nameblock {
  text-align: center;
  width: 100%;
}

[data-theme="neon-pulse"] .cfm-player__dj-name {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.05;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 30%, var(--cfm-b-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(var(--cfm-b-hi-rgb),.18));
}

[data-theme="neon-pulse"] .cfm-player__set-name {
  color: rgba(255,255,255,.46);
  font-style: italic;
  font-size: 12px;
  margin-top: 4px;
}

/* ============================================
   VIDEO FRAME — cinematic depth
   ============================================ */
[data-theme="neon-pulse"] .cfm-video-frame {
  width: 100%;
  max-width: none;
  height: 280px;
  aspect-ratio: unset;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at center, rgba(var(--cfm-mid-rgb),.07), transparent 55%),
    linear-gradient(180deg, #0d0710, #030305);
  position: relative;
  box-shadow:
    0 40px 100px rgba(0,0,0,.65);
}

/* BLOOM inside stream */
[data-theme="neon-pulse"] .cfm-video-frame__bloom {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(var(--cfm-mid-rgb),.06), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

[data-theme="neon-pulse"] .cfm-video-frame__placeholder {
  opacity: .50;
  z-index: 1;
}

[data-theme="neon-pulse"] .cfm-video-frame__bar {
  background: linear-gradient(to top, var(--cfm-lo), var(--cfm-b-lo));
  box-shadow: 0 0 10px rgba(var(--cfm-mid-rgb),.20);
}

[data-theme="neon-pulse"] .cfm-video-frame__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  z-index: 2;
}

[data-theme="neon-pulse"] .cfm-video-frame__icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 72px;
  color: var(--cfm-b-soft);
  text-shadow:
    0 0 20px rgba(var(--cfm-mid-rgb),.50),
    0 0 50px rgba(var(--cfm-b-lo-rgb),.28);
  position: relative;
  z-index: 3;
  animation: cfm-frame-note-breathe 10s ease-in-out infinite;
}

@keyframes cfm-frame-note-breathe {
  0%   { opacity: 1; }
  42%  { opacity: 1; }
  50%  { opacity: 0.08; }
  92%  { opacity: 0.08; }
  100% { opacity: 1; }
}

[data-theme="neon-pulse"] .cfm-video-frame__label {
  color: rgba(var(--cfm-b-hi-rgb),.65);
  letter-spacing: .32em;
  font-size: 9px;
  font-weight: 600;
}

[data-theme="neon-pulse"] .cfm-video-frame__live-badge {
  background: rgba(0,0,0,.60);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  z-index: 4;
}

/* RING VISUALIZER */
[data-theme="neon-pulse"] .cfm-ring-viz {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="neon-pulse"] .cfm-ring-viz__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--cfm-mid-rgb),.20);
  animation: cfm-ring-pulse 3s ease-in-out infinite;
}

[data-theme="neon-pulse"] .cfm-ring-viz__ring--1 {
  width: 100%;
  height: 100%;
  animation-delay: 0s;
}

[data-theme="neon-pulse"] .cfm-ring-viz__ring--2 {
  width: 140%;
  height: 140%;
  border-color: rgba(var(--cfm-b-lo-rgb),.12);
  animation-delay: .7s;
}

[data-theme="neon-pulse"] .cfm-ring-viz__ring--3 {
  width: 180%;
  height: 180%;
  border-color: rgba(var(--cfm-mid-rgb),.06);
  animation-delay: 1.4s;
}

@keyframes cfm-ring-pulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.04); }
}

/* ============================================
   BADGES
   ============================================ */
[data-theme="neon-pulse"] .cfm-badge {
  border-radius: 999px;
}

[data-theme="neon-pulse"] .cfm-badge--live {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.80);
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .10em;
  padding: 4px 10px;
}

[data-theme="neon-pulse"] .cfm-badge__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cfm-b-hi);
  box-shadow: 0 0 6px rgba(var(--cfm-b-hi-rgb),.8);
  animation: cfm-dot-blink 1.4s ease-in-out infinite;
}

@keyframes cfm-dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

/* ============================================
   TOGGLE
   ============================================ */
[data-theme="neon-pulse"] .cfm-toggle {
  margin-top: 0;
  width: 100%;
}

[data-theme="neon-pulse"] .cfm-toggle__btn {
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  color: rgba(255,255,255,.55);
  flex: 1;
  font-size: 10px;
  letter-spacing: .10em;
  font-weight: 600;
  transition: all 220ms cubic-bezier(.22,1,.36,1);
}

[data-theme="neon-pulse"] .cfm-toggle__btn--active {
  background: linear-gradient(180deg, var(--cfm-hi), var(--cfm-lo));
  border: none;
  color: white;
  box-shadow: 0 0 22px rgba(var(--cfm-hi-rgb),.45);
}

/* ============================================
   PLAYER BUTTONS — illuminated acrylic
   ============================================ */
[data-theme="neon-pulse"] .cfm-player__controls {
  gap: 16px;
}

[data-theme="neon-pulse"] .cfm-player__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  box-shadow: 0 4px 20px rgba(0,0,0,.40);
  color: rgba(255,255,255,.72);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  transition: all 220ms cubic-bezier(.22,1,.36,1);
}

[data-theme="neon-pulse"] .cfm-player__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,.50);
  border-color: rgba(255,255,255,.16);
  color: white;
}

[data-theme="neon-pulse"] .cfm-player__btn--play {
  width: 88px;
  height: 88px;
  background: linear-gradient(180deg, var(--cfm-hi), var(--cfm-lo));
  border: none;
  color: white;
  font-size: 24px;
  box-shadow: 0 0 30px rgba(var(--cfm-hi-rgb),.55);
}

[data-theme="neon-pulse"] .cfm-player__btn--play:hover {
  box-shadow: 0 0 50px rgba(var(--cfm-hi-rgb),.70);
  transform: scale(1.04);
}

/* ============================================
   VOLUME
   ============================================ */
[data-theme="neon-pulse"] .cfm-player__volume {
  width: 100%;
  max-width: none;
}

[data-theme="neon-pulse"] .cfm-player__volume-track {
  background: rgba(255,255,255,.07);
}

[data-theme="neon-pulse"] .cfm-player__volume-fill {
  background: linear-gradient(90deg, var(--cfm-mid), var(--cfm-b-lo));
}

[data-theme="neon-pulse"] .cfm-player__volume-thumb {
  background: #ffffff;
  box-shadow: 0 0 12px rgba(var(--cfm-mid-rgb),.40);
}

/* ============================================
   CHAT
   ============================================ */
[data-theme="neon-pulse"] .cfm-chat__header {
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-bottom: 10px;
  margin-bottom: 2px;
}

[data-theme="neon-pulse"] .cfm-chat__count {
  color: rgba(255,255,255,.42);
  font-size: 10px;
}

[data-theme="neon-pulse"] .cfm-chat__window {
  background: rgba(255,255,255,.015);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px;
  min-height: 220px;
  max-height: 280px;
  padding: 10px;
}

[data-theme="neon-pulse"] .cfm-chat__msg strong {
  color: var(--cfm-mid);
}

[data-theme="neon-pulse"] .cfm-chat__msg-body {
  color: rgba(255,255,255,.65);
}

[data-theme="neon-pulse"] .cfm-chat__msg--dj {
  border-left: 2px solid var(--cfm-mid);
  background: rgba(var(--cfm-mid-rgb),.06);
  border-radius: 0 8px 8px 0;
  padding: 3px 8px;
  margin: 2px 0;
}

[data-theme="neon-pulse"] .cfm-chat__msg--dj strong {
  color: var(--cfm-b-hi);
}

[data-theme="neon-pulse"] .cfm-chat__form {
  gap: 6px;
  margin-top: 8px;
}

/* ============================================
   TIP JAR
   ============================================ */
[data-theme="neon-pulse"] .cfm-tip-jar {
  gap: 10px;
}

[data-theme="neon-pulse"] .cfm-tip-jar__title {
  color: rgba(255,255,255,.52);
  font-size: .65rem;
  letter-spacing: .18em;
}

[data-theme="neon-pulse"] .cfm-tip-jar__btn {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  color: rgba(255,255,255,.70);
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 600;
  min-height: 44px;
  box-shadow: 0 4px 20px rgba(var(--cfm-mid-rgb),.10);
  transition: all 220ms cubic-bezier(.22,1,.36,1);
}

[data-theme="neon-pulse"] .cfm-tip-jar__btn:hover {
  border-color: rgba(var(--cfm-mid-rgb),.20);
  box-shadow: 0 4px 20px rgba(var(--cfm-mid-rgb),.20);
  color: white;
}

[data-theme="neon-pulse"] .cfm-tip-jar__btn--featured {
  background: linear-gradient(180deg, var(--cfm-hi), var(--cfm-lo));
  color: white;
  border: none;
  box-shadow: 0 0 30px rgba(var(--cfm-hi-rgb),.45);
}

[data-theme="neon-pulse"] .cfm-tip-jar__custom-link {
  color: rgba(255,255,255,.32);
  font-size: 11px;
  transition: color 180ms ease;
}

[data-theme="neon-pulse"] .cfm-tip-jar__custom-link:hover {
  color: var(--cfm-mid);
}

/* ============================================
   INPUTS
   ============================================ */
[data-theme="neon-pulse"] .cfm-input {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  color: white;
  font-size: 12px;
  min-height: 40px;
  padding: 0 12px;
}

[data-theme="neon-pulse"] .cfm-input::placeholder {
  color: rgba(255,255,255,.28);
}

[data-theme="neon-pulse"] .cfm-input:focus {
  border-color: rgba(var(--cfm-mid-rgb),.44);
  box-shadow: 0 0 0 3px rgba(var(--cfm-mid-rgb),.10);
  outline: none;
}

/* ============================================
   BUTTONS
   ============================================ */
[data-theme="neon-pulse"] .cfm-button {
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 20px rgba(var(--cfm-mid-rgb),.18);
  transition: all 220ms cubic-bezier(.22,1,.36,1);
  border-radius: 12px;
  color: rgba(255,255,255,.80);
  min-height: 40px;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 600;
}

[data-theme="neon-pulse"] .cfm-button--primary {
  background: linear-gradient(180deg, var(--cfm-hi), var(--cfm-lo));
  border: none;
  color: white;
  box-shadow: 0 0 30px rgba(var(--cfm-hi-rgb),.55);
}

[data-theme="neon-pulse"] .cfm-button--primary:hover {
  box-shadow: 0 0 44px rgba(var(--cfm-hi-rgb),.70);
  transform: translateY(-1px);
}

/* ============================================
   FOOTER
   ============================================ */
[data-theme="neon-pulse"] .cfm-footer {
  margin-top: 16px;
  padding: 14px 4px;
  border-top: 1px solid rgba(255,255,255,.05);
  color: rgba(255,255,255,.32);
  font-size: 10px;
  letter-spacing: .10em;
}

/* ============================================================
   GENRE SCROLL STRIP — OUM-aligned drag-scroll pill bar
   ============================================================ */
[data-theme="neon-pulse"] .cfm-genre-strip {
  position: relative;
  /* centered, max-width shows ~5-6 pills */
  width: 600px;
  max-width: 100%;
  margin: 0 auto 16px;
  z-index: 5;
  overflow: hidden;
}

/* fade edges — clip hint */
[data-theme="neon-pulse"] .cfm-genre-strip::before,
[data-theme="neon-pulse"] .cfm-genre-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
[data-theme="neon-pulse"] .cfm-genre-strip::before {
  left: 0;
  background: linear-gradient(90deg, #060509 20%, transparent);
}
[data-theme="neon-pulse"] .cfm-genre-strip::after {
  right: 0;
  background: linear-gradient(-90deg, #060509 20%, transparent);
}

[data-theme="neon-pulse"] .cfm-genre-scroll {
  display: flex;
  gap: 6px;
  padding: 6px 40px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  /* hard clip — pills outside the strip are hidden */
  overflow-y: visible;
}
[data-theme="neon-pulse"] .cfm-genre-scroll::-webkit-scrollbar { display: none; }
[data-theme="neon-pulse"] .cfm-genre-scroll.dragging { cursor: grabbing; }

[data-theme="neon-pulse"] .cfm-gtag {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.08);
  transition: all 200ms cubic-bezier(.22,1,.36,1);
  white-space: nowrap;
  user-select: none;
  letter-spacing: .06em;
}
[data-theme="neon-pulse"] .cfm-gtag:hover {
  border-color: rgba(var(--cfm-mid-rgb),.28);
  color: rgba(255,255,255,.85);
}
[data-theme="neon-pulse"] .cfm-gtag--on {
  background: linear-gradient(180deg, var(--cfm-hi), var(--cfm-lo));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 22px rgba(var(--cfm-hi-rgb),.45);
}
[data-theme="neon-pulse"] .cfm-gtag--random {
  border-color: rgba(124,58,237,.20);
  color: #a78bfa;
}
[data-theme="neon-pulse"] .cfm-gtag--random:hover {
  border-color: rgba(124,58,237,.40);
  color: #c4b5fd;
}

/* ============================================================
   TILE ACTIONS — Bump It row (OUM-aligned)
   ============================================================ */
[data-theme="neon-pulse"] .cfm-tile-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

[data-theme="neon-pulse"] .cfm-act {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.50);
  letter-spacing: .04em;
  transition: all 200ms cubic-bezier(.22,1,.36,1);
  user-select: none;
  min-height: 36px;
}
[data-theme="neon-pulse"] .cfm-act:hover {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.80);
}
[data-theme="neon-pulse"] .cfm-act:active { transform: scale(0.94); }

[data-theme="neon-pulse"] .cfm-act-icon {
  font-size: 13px;
  line-height: 1;
}
[data-theme="neon-pulse"] .cfm-act-label {
  font-size: 11px;
}
[data-theme="neon-pulse"] .cfm-act-count {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  margin-left: 2px;
}

/* BUMP FILL — energy bar behind button */
[data-theme="neon-pulse"] .cfm-bump-fill {
  position: absolute;
  left: 0; bottom: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,
    rgba(var(--cfm-mid-rgb),.06),
    rgba(var(--cfm-mid-rgb),.18)
  );
  border-radius: 10px;
  z-index: 0;
  transition: width 300ms linear;
}
[data-theme="neon-pulse"] .cfm-act-bump > *:not(.cfm-bump-fill) {
  position: relative;
  z-index: 1;
}

/* Bump locked state */
[data-theme="neon-pulse"] .cfm-act-bump {
  pointer-events: none;
  opacity: .45;
}
/* Bump unlocked */
[data-theme="neon-pulse"] .cfm-act-bump.cfm-act-bump--ready {
  pointer-events: auto;
  opacity: 1;
  border-color: rgba(var(--cfm-b-hi-rgb),.40);
  color: var(--cfm-b-hi);
  background: rgba(var(--cfm-b-lo-rgb),.08);
  box-shadow: 0 0 14px rgba(var(--cfm-b-hi-rgb),.20);
}
/* Bumped state */
[data-theme="neon-pulse"] .cfm-act-bump.cfm-act-bump--bumped {
  border-color: rgba(var(--cfm-b-hi-rgb),.45);
  color: var(--cfm-b-hi);
  background: rgba(var(--cfm-b-lo-rgb),.14);
  box-shadow: 0 0 18px rgba(var(--cfm-b-hi-rgb),.28);
}
[data-theme="neon-pulse"] .cfm-act-bump.cfm-act-bump--bumped .cfm-act-icon {
  animation: cfm-bump-pop 400ms cubic-bezier(.22,1,.36,1);
}
@keyframes cfm-bump-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.6) rotate(-8deg); }
  70%  { transform: scale(0.9) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}

/* FLAG button */
[data-theme="neon-pulse"] .cfm-act-flag {
  padding: 5px 10px;
  min-width: 36px;
  justify-content: center;
}
[data-theme="neon-pulse"] .cfm-act-flag.cfm-act-flag--flagged {
  border-color: rgba(239,68,68,.25);
  color: #ef4444;
  background: rgba(239,68,68,.08);
}

/* COLLECT BUTTON — full-width CTA (OUM-aligned, neon purple) */
[data-theme="neon-pulse"] .cfm-collect-btn {
  width: auto;
  align-self: center;
  padding: 12px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: .04em;
  background: linear-gradient(90deg, var(--cfm-b-hi), var(--cfm-b-lo));
  color: #fff;
  box-shadow: 0 0 28px rgba(var(--cfm-b-hi-rgb),.40);
  transition: all 200ms cubic-bezier(.22,1,.36,1);
}
[data-theme="neon-pulse"] .cfm-collect-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 52px rgba(var(--cfm-b-hi-rgb),.65);
}
[data-theme="neon-pulse"] .cfm-collect-btn:active { transform: scale(0.98); }
[data-theme="neon-pulse"] .cfm-collect-btn--done {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(var(--cfm-mid-rgb),.20);
  color: var(--cfm-b-soft);
  box-shadow: none;
}

/* ============================================================
   UNIVERSAL BUTTON SYSTEM — consistent feel across all controls
   Spring physics + glow burst + hover lift
   ============================================================ */

/* --- CLICK POP CLASS (added/removed by JS) --- */
[data-theme="neon-pulse"] .cfm-popped {
  animation: cfm-spring-pop 380ms cubic-bezier(.22,1,.36,1) forwards !important;
}
@keyframes cfm-spring-pop {
  0%   { transform: scale(0.91); }
  55%  { transform: scale(1.05); }
  80%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/* Icon pop inside a button (applied to icon child) */
[data-theme="neon-pulse"] .cfm-icon-pop {
  animation: cfm-icon-bounce 400ms cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes cfm-icon-bounce {
  0%   { transform: scale(1)    rotate(0deg); }
  35%  { transform: scale(1.55) rotate(-10deg); }
  65%  { transform: scale(0.88) rotate(5deg); }
  100% { transform: scale(1)    rotate(0deg); }
}

/* Glow ring pulse (applied to button itself) */
[data-theme="neon-pulse"] .cfm-glow-burst {
  animation: cfm-glow-ring 420ms ease-out forwards;
}
@keyframes cfm-glow-ring {
  0%   { box-shadow: 0 0  0px rgba(var(--cfm-mid-rgb),0); }
  25%  { box-shadow: 0 0 32px rgba(var(--cfm-mid-rgb),.65); }
  100% { box-shadow: 0 0  0px rgba(var(--cfm-mid-rgb),0); }
}

/* --- GENRE PILL TAGS --- */
[data-theme="neon-pulse"] .cfm-gtag:active {
  transform: scale(0.91);
}

/* --- PLAYER TRANSPORT BUTTONS --- */
[data-theme="neon-pulse"] .cfm-player__btn:active {
  transform: scale(0.91);
}
[data-theme="neon-pulse"] .cfm-player__btn--play:active {
  transform: scale(0.93);
}

/* --- TOGGLE BUTTONS --- */
[data-theme="neon-pulse"] .cfm-toggle__btn:active {
  transform: scale(0.93);
}
[data-theme="neon-pulse"] .cfm-toggle__btn:hover {
  border-color: rgba(var(--cfm-mid-rgb),.22);
  color: rgba(255,255,255,.85);
}

/* --- TILE ACTIONS (bump, flag) — already have :active, reinforce --- */
[data-theme="neon-pulse"] .cfm-act:active {
  transform: scale(0.91) !important;
}

/* --- TIP JAR BUTTONS --- */
[data-theme="neon-pulse"] .cfm-tip-jar__btn:active {
  transform: scale(0.91);
}
[data-theme="neon-pulse"] .cfm-tip-jar__btn--featured:hover {
  transform: scale(1.04);
  box-shadow: 0 0 44px rgba(var(--cfm-hi-rgb),.60);
}
[data-theme="neon-pulse"] .cfm-tip-jar__btn--featured:active {
  transform: scale(0.93);
}

/* --- CHAT SEND / PRIMARY BUTTONS --- */
[data-theme="neon-pulse"] .cfm-button:active {
  transform: scale(0.93);
}
[data-theme="neon-pulse"] .cfm-button--primary:active {
  transform: scale(0.91);
  box-shadow: 0 0 50px rgba(var(--cfm-hi-rgb),.80);
}

/* --- COLLECT BUTTON --- */
[data-theme="neon-pulse"] .cfm-collect-btn:active {
  transform: scale(0.94) !important;
}

/* --- HEADER / THEME BUTTON --- */
[data-theme="neon-pulse"] .cfm-nav__btn:active {
  transform: scale(0.91);
}

/* --- TIP CUSTOM LINK --- */
[data-theme="neon-pulse"] .cfm-tip-jar__custom-link:active {
  opacity: .65;
}

/* ============================================
   PATTERN OVERLAYS — injected via data-cfm-pattern
   Applied at low opacity: texture, not wallpaper
   ============================================ */

/* shared: pattern pseudo-layer on video frame */
:is([data-cfm-pattern="tiger"],
    [data-cfm-pattern="leopard"],
    [data-cfm-pattern="zebra"],
    [data-cfm-pattern="scales"]) .cfm-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 20px;
  opacity: .18;
}

/* ── TIGER — diagonal slash rips ── */
[data-cfm-pattern="tiger"] .cfm-video-frame::after {
  background-image:
    repeating-linear-gradient(
      58deg,
      transparent            0px,
      transparent            22px,
      rgba(255,136,0,.90)   22px,
      rgba(255,136,0,.90)   28px,
      transparent            28px,
      transparent            48px,
      rgba(180,60,0,.70)    48px,
      rgba(180,60,0,.70)    52px
    );
  background-size: 72px 72px;
}
[data-cfm-pattern="tiger"] .cfm-page {
  background-image:
    repeating-linear-gradient(
      58deg,
      transparent 0px, transparent 28px,
      rgba(255,100,0,.025) 28px, rgba(255,100,0,.025) 34px
    );
}

/* ── LEOPARD — scattered spots via SVG ── */
[data-cfm-pattern="leopard"] .cfm-video-frame::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cellipse cx='16' cy='14' rx='7' ry='5' fill='rgba(200,150,12,0.7)'/%3E%3Cellipse cx='14' cy='12' rx='4' ry='3' fill='rgba(30,15,0,0.9)'/%3E%3Cellipse cx='56' cy='34' rx='8' ry='6' fill='rgba(200,150,12,0.7)'/%3E%3Cellipse cx='54' cy='32' rx='4' ry='3' fill='rgba(30,15,0,0.9)'/%3E%3Cellipse cx='30' cy='58' rx='6' ry='5' fill='rgba(200,150,12,0.65)'/%3E%3Cellipse cx='28' cy='56' rx='3' ry='3' fill='rgba(30,15,0,0.9)'/%3E%3Cellipse cx='68' cy='66' rx='7' ry='5' fill='rgba(200,150,12,0.6)'/%3E%3Cellipse cx='66' cy='64' rx='4' ry='3' fill='rgba(30,15,0,0.9)'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: .30;
}
[data-cfm-pattern="leopard"] .cfm-page {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cellipse cx='16' cy='14' rx='7' ry='5' fill='rgba(200,150,12,0.06)'/%3E%3Cellipse cx='56' cy='34' rx='8' ry='6' fill='rgba(200,150,12,0.05)'/%3E%3Cellipse cx='30' cy='58' rx='6' ry='5' fill='rgba(200,150,12,0.04)'/%3E%3C/svg%3E");
}

/* ── ZEBRA — sharp diagonal stripes ── */
[data-cfm-pattern="zebra"] .cfm-video-frame::after {
  background-image:
    repeating-linear-gradient(
      -48deg,
      rgba(255,255,255,.85) 0px,
      rgba(255,255,255,.85) 14px,
      rgba(0,0,0,.70)       14px,
      rgba(0,0,0,.70)       32px
    );
  background-size: 46px 46px;
  opacity: .14;
}
[data-cfm-pattern="zebra"] .cfm-page {
  background-image:
    repeating-linear-gradient(
      -48deg,
      rgba(255,255,255,.012) 0px, rgba(255,255,255,.012) 12px,
      transparent 12px, transparent 30px
    );
}

/* ── SCALES — fish scale / art deco ── */
[data-cfm-pattern="scales"] .cfm-video-frame::after {
  background-color: transparent;
  background-image:
    radial-gradient(ellipse 24px 18px at 50% 0%,   rgba(0,200,224,.55) 65%, transparent 67%),
    radial-gradient(ellipse 24px 18px at 100% 50%,  rgba(0,168,192,.45) 65%, transparent 67%),
    radial-gradient(ellipse 24px 18px at 0% 50%,    rgba(0,168,192,.45) 65%, transparent 67%),
    radial-gradient(ellipse 24px 18px at 50% 100%,  rgba(0,140,160,.40) 65%, transparent 67%);
  background-size: 48px 36px;
  opacity: .22;
}
[data-cfm-pattern="scales"] .cfm-page {
  background-image:
    radial-gradient(ellipse 24px 18px at 50% 0%,  rgba(0,200,224,.03) 65%, transparent 67%),
    radial-gradient(ellipse 24px 18px at 100% 50%, rgba(0,168,192,.025) 65%, transparent 67%);
  background-size: 48px 36px;
}

