:root {
  --cvr-bg: #040616;
  --cvr-panel: #080b20;
  --cvr-text: #ffffff;
  --cvr-muted: rgba(255,255,255,.72);
  --cvr-faint: rgba(255,255,255,.12);
  --cvr-red: #e43fc4;
  --cvr-red-deep: #69207f;
  --cvr-header-height: 70px;
}

* { box-sizing: border-box; }
html { background: var(--cvr-bg); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(228,63,196,.11), transparent 28rem),
    radial-gradient(circle at 85% 82%, rgba(21,216,255,.12), transparent 34rem),
    #040616;
  color: var(--cvr-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  top: 10px;
  left: 10px;
  z-index: 99999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}

.cvr-site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: calc(var(--cvr-header-height) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.35) 58%, transparent);
}
.cvr-site-header a { pointer-events: auto; text-decoration: none; }
.cvr-brand { display: inline-flex; align-items: center; min-width: 0; }
.cvr-brand .custom-logo-link,
.cvr-default-brand { display: inline-flex; align-items: center; }
.cvr-brand .custom-logo,
.cvr-default-brand img {
  display: block;
  width: auto;
  max-width: min(54vw, 310px);
  max-height: 50px;
  object-fit: contain;
}
.cvr-account-link a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 800;
}
.cvr-account-link a:hover { border-color: rgba(228,63,196,.8); }

.cvr-feed {
  position: relative;
  width: 100%;
  margin: 0;
  background: var(--cvr-panel);
}
.cvr-video-card {
  position: relative;
  width: 100%;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #000;
}
.cosmic-vibes-radio-feed-page { overflow: hidden; }
.cosmic-vibes-radio-feed-page .cvr-feed {
  height: 100svh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.cosmic-vibes-radio-feed-page .cvr-feed::-webkit-scrollbar { display: none; }

.cvr-video-stage {
  --cvr-poster: none;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background-color: #000;
  background-image:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    var(--cvr-poster);
  background-size: cover;
  background-position: center;
}
.cvr-video-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 48%, rgba(228,63,196,.13), transparent 58%), #000;
}
.cvr-video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: inherit;
  filter: blur(30px) saturate(.7);
  transform: scale(1.12);
  opacity: .62;
}
.cvr-direct-player {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .18s ease;
}
/* Source dimensions are read from videoWidth/videoHeight after metadata loads. */
.cvr-video-card.is-landscape-video .cvr-direct-player {
  object-fit: cover;
}
.cvr-video-card.is-portrait-video .cvr-direct-player,
.cvr-video-card.is-square-video .cvr-direct-player {
  object-fit: contain;
}
.cvr-video-card.is-portrait-video .cvr-video-stage::after,
.cvr-video-card.is-square-video .cvr-video-stage::after {
  opacity: .78;
  filter: blur(38px) saturate(.82) brightness(.62);
  transform: scale(1.2);
}
.cvr-video-card.is-portrait-video .cvr-video-stage::before,
.cvr-video-card.is-square-video .cvr-video-stage::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.64), transparent 23%, transparent 77%, rgba(0,0,0,.64)),
    radial-gradient(circle at 50% 48%, rgba(228,63,196,.16), transparent 58%),
    #000;
}
.cvr-stage-shade {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.22) 0%, transparent 25%, transparent 56%, rgba(0,0,0,.9) 100%);
}
.cvr-sound-hint {
  position: absolute;
  z-index: 7;
  top: calc(var(--cvr-header-height) + env(safe-area-inset-top) + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .025em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.cvr-video-card.is-active:not(.is-unmuted) .cvr-sound-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}
.cvr-play-state {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(0,0,0,.54);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%) scale(.84);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.cvr-video-card.is-paused .cvr-play-state {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cvr-play-state svg { width: 30px; fill: #fff; margin-left: 4px; }


.cvr-video-controls {
  position: absolute;
  z-index: 10;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
  display: grid;
  grid-template-columns: 32px auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  box-shadow: 0 8px 28px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity .18s ease, transform .18s ease;
}
.cvr-video-play-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #e43fc4, #69207f);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cvr-video-play-button:hover { filter: brightness(1.12); }
.cvr-video-play-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cvr-video-play-button svg { width: 17px; height: 17px; fill: currentColor; }
.cvr-video-play-button .cvr-video-play-icon { margin-left: 2px; }
.cvr-video-play-button .cvr-video-pause-icon { display: block; }
.cvr-video-play-button .cvr-video-play-icon { display: none; }
.cvr-video-play-button[aria-pressed="false"] .cvr-video-pause-icon { display: none; }
.cvr-video-play-button[aria-pressed="false"] .cvr-video-play-icon { display: block; }

.cvr-video-time {
  min-width: 34px;
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0,0,0,.8);
}
.cvr-video-seek {
  --cvr-progress: 0%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
.cvr-video-seek::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--cvr-red) 0 var(--cvr-progress), rgba(255,255,255,.28) var(--cvr-progress) 100%);
  box-shadow: 0 1px 5px rgba(0,0,0,.5);
}
.cvr-video-seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin-top: -6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--cvr-red);
  box-shadow: 0 2px 9px rgba(0,0,0,.7);
}
.cvr-video-seek::-moz-range-track {
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
}
.cvr-video-seek::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--cvr-red);
}
.cvr-video-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--cvr-red);
  box-shadow: 0 2px 9px rgba(0,0,0,.7);
}
.cvr-video-seek:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 999px;
}

.cvr-fullscreen-button {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cvr-video-card.is-landscape-video .cvr-fullscreen-button { display: grid; }
.cvr-fullscreen-button:hover { background: rgba(228,63,196,.72); }
.cvr-fullscreen-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.cvr-fullscreen-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.cvr-collapse-icon { display: none; }
.cvr-video-stage.is-fullscreen .cvr-expand-icon { display: none; }
.cvr-video-stage.is-fullscreen .cvr-collapse-icon { display: block; }

/* Full-screen mode keeps the complete source visible. The orientation API is
   requested with "landscape", allowing either left or right landscape. */
.cvr-video-stage:fullscreen,
.cvr-video-stage:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: #000;
}
.cvr-video-stage:fullscreen .cvr-direct-player,
.cvr-video-stage:-webkit-full-screen .cvr-direct-player {
  object-fit: contain !important;
}
.cvr-video-stage:fullscreen::before,
.cvr-video-stage:fullscreen::after,
.cvr-video-stage:-webkit-full-screen::before,
.cvr-video-stage:-webkit-full-screen::after {
  opacity: 0;
}
.cvr-video-stage:fullscreen .cvr-video-copy,
.cvr-video-stage:fullscreen .cvr-action-rail,
.cvr-video-stage:fullscreen .cvr-lock-badge,
.cvr-video-stage:fullscreen .cvr-sound-hint,
.cvr-video-stage:-webkit-full-screen .cvr-video-copy,
.cvr-video-stage:-webkit-full-screen .cvr-action-rail,
.cvr-video-stage:-webkit-full-screen .cvr-lock-badge,
.cvr-video-stage:-webkit-full-screen .cvr-sound-hint {
  opacity: 0;
  pointer-events: none;
}
.cvr-video-stage:fullscreen .cvr-video-controls,
.cvr-video-stage:-webkit-full-screen .cvr-video-controls {
  bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
}

.cvr-video-copy {
  position: absolute;
  z-index: 4;
  left: 20px;
  right: 92px;
  bottom: max(70px, calc(env(safe-area-inset-bottom) + 60px));
  text-shadow: 0 2px 14px rgba(0,0,0,.75);
}
.cvr-video-title {
  margin: 0 0 7px;
  font-size: clamp(22px, 6vw, 34px);
  line-height: .98;
  letter-spacing: -.035em;
}
.cvr-video-title a { text-decoration: none; }
.cvr-video-caption {
  margin: 0;
  max-width: 42ch;
  color: var(--cvr-muted);
  font-size: 14px;
  line-height: 1.45;
}
.cvr-action-rail {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: max(72px, calc(env(safe-area-inset-bottom) + 62px));
}
.cvr-favorite-button {
  appearance: none;
  border: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.75));
  transition: transform .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.cvr-favorite-button:hover { transform: translateY(-2px); background: rgba(0,0,0,.38); }
.cvr-favorite-button:active { transform: scale(.9); }
.cvr-favorite-button:disabled { opacity: .7; cursor: wait; }
.cvr-favorite-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cvr-favorite-button svg {
  width: 38px;
  height: 38px;
  fill: #8d8d8d;
  stroke: #c9c9c9;
  stroke-width: 1.25;
  transition: fill .18s ease, stroke .18s ease, transform .18s ease, filter .18s ease;
}
.cvr-favorite-button.is-favorite svg {
  fill: var(--cvr-red);
  stroke: var(--cvr-red);
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(228,63,196,.55));
}
.cvr-favorite-button.has-error { animation: cvr-shake .35s linear 2; }
@keyframes cvr-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }


/* Signed-in members get a private Saved Signals tab and left-side drawer. */
.cvr-favorites-ui { position: fixed; z-index: 180; inset: 0 auto auto 0; }
.cvr-favorites-tab {
  position: fixed;
  z-index: 192;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 48px;
  min-height: 142px;
  padding: 13px 8px;
  border: 1px solid rgba(255,255,255,.17);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(180deg, rgba(20,20,20,.96), rgba(5,5,5,.96));
  color: #fff;
  box-shadow: 10px 14px 38px rgba(0,0,0,.38), inset -2px 0 0 rgba(228,63,196,.52);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .24s ease, opacity .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.cvr-favorites-tab:hover { background: linear-gradient(180deg, #e43fc4, #69207f); }
.cvr-favorites-tab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cvr-favorites-tab svg { width: 25px; height: 25px; fill: var(--cvr-red); stroke: var(--cvr-red); }
.cvr-favorites-tab:hover svg { fill: #fff; stroke: #fff; }
.cvr-favorites-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cvr-favorites-backdrop {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0,0,0,.68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}
.cvr-favorites-drawer {
  position: fixed;
  z-index: 210;
  inset: 0 auto 0 0;
  width: min(390px, 90vw);
  height: 100dvh;
  border-right: 1px solid rgba(228,63,196,.36);
  background:
    radial-gradient(circle at 20% 5%, rgba(228,63,196,.16), transparent 22rem),
    #050505;
  color: #fff;
  box-shadow: 24px 0 80px rgba(0,0,0,.58);
  transform: translateX(-105%);
  transition: transform .28s cubic-bezier(.22,.8,.22,1);
  overflow: hidden;
}
.cvr-favorites-ui.is-open .cvr-favorites-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
.cvr-favorites-ui.is-open .cvr-favorites-drawer { transform: translateX(0); }
.cvr-favorites-ui.is-open .cvr-favorites-tab { opacity: 0; pointer-events: none; transform: translate(-12px,-50%); }
.cvr-favorites-open .cvr-feed { overflow-y: hidden !important; }
.cvr-favorites-header {
  min-height: calc(92px + env(safe-area-inset-top));
  padding: calc(18px + env(safe-area-inset-top)) 18px 16px;
  display: grid;
  grid-template-columns: 54px minmax(0,1fr) 40px;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.54);
}
.cvr-favorites-header > img { width: 54px; height: 54px; object-fit: contain; }
.cvr-favorites-header span { display: block; color: #15d8ff; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.cvr-favorites-header h2 { margin: 3px 0 0; font-size: 24px; letter-spacing: -.04em; }
.cvr-favorites-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
}
.cvr-favorites-close:hover { background: var(--cvr-red); }
.cvr-favorites-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cvr-favorites-close svg { width: 20px; fill: currentColor; }
.cvr-favorites-body { height: calc(100dvh - 92px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; }
.cvr-favorites-list { display: grid; gap: 1px; margin: 0; padding: 10px; list-style: none; }
.cvr-favorite-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 38px;
  align-items: center;
  min-height: 84px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
}
.cvr-favorite-item:hover { border-color: rgba(228,63,196,.46); background: rgba(228,63,196,.07); }
.cvr-favorite-item-link {
  display: grid;
  grid-template-columns: 104px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 9px 4px 9px 9px;
  text-decoration: none;
}
.cvr-favorite-thumb { display: block; width: 104px; height: 64px; border-radius: 9px; overflow: hidden; background: #000; }
.cvr-favorite-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cvr-favorite-item-copy { min-width: 0; }
.cvr-favorite-item-copy strong { display: block; overflow: hidden; color: #fff; font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.cvr-favorite-item-copy span { display: block; margin-top: 5px; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cvr-favorite-remove {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.62);
  cursor: pointer;
}
.cvr-favorite-remove:hover { background: rgba(228,63,196,.22); color: #fff; }
.cvr-favorite-remove:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cvr-favorite-remove:disabled { opacity: .45; cursor: wait; }
.cvr-favorite-remove.has-error { animation: cvr-shake .35s linear 2; }
.cvr-favorite-remove svg { width: 17px; fill: currentColor; }
.cvr-favorites-empty { display: grid; justify-items: center; align-content: center; min-height: 55vh; padding: 38px; text-align: center; }
.cvr-favorites-empty[hidden] { display: none; }
.cvr-favorites-empty svg { width: 56px; fill: transparent; stroke: var(--cvr-red); stroke-width: 1.5; }
.cvr-favorites-empty h3 { margin: 18px 0 7px; font-size: 22px; }
.cvr-favorites-empty p { max-width: 28ch; margin: 0; color: var(--cvr-muted); font-size: 13px; line-height: 1.55; }

.cvr-lock-badge {
  position: absolute;
  z-index: 8;
  top: calc(var(--cvr-header-height) + env(safe-area-inset-top) + 10px);
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
}
.cvr-lock-badge svg { width: 17px; fill: var(--cvr-red); }
.cvr-lock-screen,
.cvr-missing-video {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 36px;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.9));
  backdrop-filter: blur(18px);
}
.cvr-lock-mark {
  position: absolute;
  width: min(46vw, 220px);
  opacity: .13;
  filter: saturate(.7);
}
.cvr-lock-screen h2 { margin: 18px 0 8px; font-size: 28px; letter-spacing: -.03em; }
.cvr-lock-screen p,
.cvr-missing-video p { margin: 0; color: var(--cvr-muted); }
.cvr-lock-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 55px rgba(228,63,196,.12);
}
.cvr-lock-icon svg { width: 38px; fill: var(--cvr-red); }
.cvr-lock-actions { display: flex; gap: 10px; margin-top: 22px; }
.cvr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--cvr-red);
  border-radius: 999px;
  background: linear-gradient(180deg, #f02431, #b432a8);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 12px 35px rgba(183,8,19,.25);
}
.cvr-button-ghost {
  background: rgba(0,0,0,.25);
  color: #fff;
  border-color: rgba(255,255,255,.28);
  box-shadow: none;
}
.cvr-missing-logo { width: min(72vw, 390px); margin-bottom: 16px; }

.cvr-feed-sentinel {
  min-height: 72px;
  padding: 24px;
  text-align: center;
  color: var(--cvr-muted);
  background: #030303;
  font-size: 13px;
}
.cvr-feed-sentinel[hidden] { display: none; }
.cvr-empty-state {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 32px;
  text-align: center;
}
.cvr-empty-logo { display: block; width: min(82vw, 440px); margin: 0 auto 14px; }
.cvr-empty-state h1 { margin: 18px 0 8px; font-size: clamp(34px, 9vw, 62px); letter-spacing: -.06em; }
.cvr-empty-state p { margin: 0 0 24px; color: var(--cvr-muted); }

.cvr-single-feed { min-height: 100svh; }
.cvr-back-link {
  position: fixed;
  z-index: 120;
  left: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(16px);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.cvr-standard-page {
  width: min(880px, calc(100% - 36px));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--cvr-header-height) + 72px) 0 80px;
}
.cvr-standard-entry {
  padding: clamp(24px, 6vw, 64px);
  border: 1px solid var(--cvr-faint);
  border-radius: 24px;
  background: rgba(255,255,255,.035);
}
.cvr-standard-entry h1 { margin-top: 0; }
.cvr-standard-entry h1 a { text-decoration: none; }
.entry-content { color: var(--cvr-muted); line-height: 1.75; }
.cvr-error-page { display: grid; align-content: center; justify-items: start; }
.cvr-error-page h1 { margin: 0 0 10px; font-size: clamp(42px, 9vw, 80px); letter-spacing: -.06em; }
.cvr-error-page p { color: var(--cvr-muted); }
.cvr-site-footer { display: none; }
.cosmic-vibes-radio:not(.cosmic-vibes-radio-feed-page) .cvr-site-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px max(20px,calc((100vw - 1100px)/2));border-top:1px solid rgba(255,255,255,.09);background:#040616;color:var(--cvr-muted)}.cvr-site-footer strong{display:block;color:#fff}.cvr-site-footer span{display:block;margin-top:4px;font-size:12px}.cvr-footer-menu{display:flex;gap:16px;margin:0;padding:0;list-style:none}.cvr-footer-menu a{text-decoration:none;font-size:13px;font-weight:700}.cvr-footer-menu a:hover{color:#15d8ff}@media(max-width:680px){.cosmic-vibes-radio:not(.cosmic-vibes-radio-feed-page) .cvr-site-footer{align-items:flex-start;flex-direction:column}.cvr-footer-menu{flex-wrap:wrap}}

@media (max-width: 900px) and (orientation: portrait) {
  /* A horizontal source collapses into the portrait viewport rather than
     cropping its left and right edges. The card still occupies one screen. */
  .cvr-video-card.is-landscape-video .cvr-direct-player {
    object-fit: contain;
  }
  .cvr-video-card.is-landscape-video .cvr-video-stage::after {
    opacity: .72;
    filter: blur(38px) saturate(.72) brightness(.55);
    transform: scale(1.2);
  }
  .cvr-video-card.is-landscape-video .cvr-video-stage::before {
    background:
      linear-gradient(to bottom, rgba(0,0,0,.72), transparent 28%, transparent 72%, rgba(0,0,0,.72)),
      radial-gradient(circle at 50% 48%, rgba(228,63,196,.14), transparent 58%),
      #000;
  }
}

@media (max-width: 520px) {
  :root { --cvr-header-height: 64px; }
  .cvr-brand .custom-logo,
  .cvr-default-brand img { max-width: 62px; max-height: 52px; }
  .cvr-account-link a { min-height: 34px; padding-inline: 12px; }
}



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


@media (max-width: 520px) {
  .cvr-video-controls {
    left: max(9px, env(safe-area-inset-left));
    right: max(9px, env(safe-area-inset-right));
    gap: 7px;
    padding-inline: 8px;
  }
  .cvr-video-time { min-width: 30px; font-size: 10px; }
  .cvr-video-copy { left: 16px; right: 82px; }
}


@media (max-width: 520px) {
  .cvr-favorites-tab {
    width: 43px;
    min-height: 96px;
    gap: 5px;
    padding: 10px 7px;
    border-radius: 0 15px 15px 0;
  }
  .cvr-favorites-tab svg { width: 23px; height: 23px; }
  .cvr-favorites-tab span { font-size: 8px; letter-spacing: .1em; }
  .cvr-favorites-drawer { width: min(360px, 92vw); }
  .cvr-favorite-item-link { grid-template-columns: 88px minmax(0,1fr); }
  .cvr-favorite-thumb { width: 88px; height: 58px; }
}


/*
 * WordPress toolbar integration.
 *
 * The companion admin plugin adds a branded toolbar node for signed-in users.
 * These rules are intentionally defensive: they constrain both the older img
 * markup and the current span-based mark even if plugin CSS is cached or loads
 * after the theme.
 */
#wpadminbar .cvr-adminbar-home > .ab-item {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}
#wpadminbar img.cvr-adminbar-mark,
#wpadminbar .cvr-adminbar-mark {
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  overflow: hidden !important;
  vertical-align: middle !important;
}
#wpadminbar .cvr-adminbar-label {
  font-weight: 800;
  white-space: nowrap;
}
body.admin-bar .cvr-site-header { top: 32px; }
body.admin-bar.cosmic-vibes-radio-feed-page .cvr-feed { height: calc(100svh - 32px); }
body.admin-bar .cvr-video-card,
body.admin-bar .cvr-video-stage { min-height: calc(100svh - 32px); }
body.admin-bar .cvr-favorites-drawer,
body.admin-bar .cvr-favorites-backdrop {
  top: 32px;
  height: calc(100dvh - 32px);
}
body.admin-bar .cvr-favorites-body {
  height: calc(100dvh - 124px - env(safe-area-inset-top));
}
@media screen and (max-width: 782px) {
  body.admin-bar .cvr-site-header { top: 46px; }
  body.admin-bar.cosmic-vibes-radio-feed-page .cvr-feed { height: calc(100svh - 46px); }
  body.admin-bar .cvr-video-card,
  body.admin-bar .cvr-video-stage { min-height: calc(100svh - 46px); }
  body.admin-bar .cvr-favorites-drawer,
  body.admin-bar .cvr-favorites-backdrop {
    top: 46px;
    height: calc(100dvh - 46px);
  }
  body.admin-bar .cvr-favorites-body {
    height: calc(100dvh - 138px - env(safe-area-inset-top));
  }
  #wpadminbar .cvr-adminbar-label { display: none !important; }
}

/* CVR Frequency Menu — modal navigation */
.cvr-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.cvr-menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-content: center;
  gap: 4px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(4,6,22,.76);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cvr-menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}
.cvr-menu-toggle:hover,
.cvr-menu-toggle:focus-visible {
  border-color: #15d8ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(21,216,255,.20), 0 0 28px rgba(228,63,196,.18);
}
.cvr-menu-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cvr-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.cvr-menu-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.cvr-navigation-shell {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(22px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  pointer-events: none;
}
.cvr-navigation-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(228,63,196,.14), transparent 40%),
    rgba(1,2,12,.78);
  backdrop-filter: blur(18px) saturate(.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}
.cvr-site-navigation {
  position: relative;
  width: min(760px, 94vw);
  max-height: min(820px, 88dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  border: 1px solid rgba(21,216,255,.22);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(17,22,59,.98), rgba(5,7,25,.985) 58%, rgba(16,6,31,.99));
  box-shadow: 0 40px 110px rgba(0,0,0,.68), 0 0 70px rgba(228,63,196,.09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.955);
  transition: opacity .24s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility .24s ease;
}
.cvr-navigation-shell.is-open { pointer-events: auto; }
.cvr-navigation-shell.is-open .cvr-navigation-backdrop { opacity: 1; visibility: visible; }
.cvr-navigation-shell.is-open .cvr-site-navigation {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.cvr-navigation-open { overflow: hidden; }
.cvr-navigation-open .cvr-feed { overflow-y: hidden !important; }
.cvr-navigation-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(0,0,0,.24);
  color: #fff;
  cursor: pointer;
}
.cvr-navigation-close:hover,
.cvr-navigation-close:focus-visible {
  border-color: #e43fc4;
  background: rgba(228,63,196,.16);
  outline: 2px solid rgba(21,216,255,.8);
  outline-offset: 2px;
}
.cvr-navigation-close svg { width: 20px; fill: currentColor; }
.cvr-navigation-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 4px 58px 22px 2px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.cvr-navigation-brand img { width: 62px; height: 62px; object-fit: contain; }
.cvr-navigation-brand span {
  display: block;
  color: #15d8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cvr-navigation-brand strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(22px, 4vw, 34px);
  letter-spacing: -.045em;
}
.cvr-navigation-links { margin-top: 22px; }
.cvr-navigation-menu {
  counter-reset: cvr-menu-item;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cvr-navigation-menu > li { counter-increment: cvr-menu-item; min-width: 0; }
.cvr-navigation-menu > li > a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.cvr-navigation-menu > li > a::before {
  content: counter(cvr-menu-item, decimal-leading-zero);
  color: #15d8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}
.cvr-navigation-menu > li > a::after {
  content: "↗";
  color: rgba(255,255,255,.45);
  font-size: 16px;
  text-align: right;
}
.cvr-navigation-menu > li.current-menu-item > a,
.cvr-navigation-menu > li.current_page_item > a,
.cvr-navigation-menu > li > a:hover,
.cvr-navigation-menu > li > a:focus-visible {
  border-color: rgba(228,63,196,.55);
  background: linear-gradient(100deg, rgba(228,63,196,.17), rgba(21,216,255,.08));
  outline: none;
  transform: translateY(-1px);
}
.cvr-navigation-menu .sub-menu {
  display: grid;
  gap: 5px;
  margin: 6px 0 0;
  padding: 0 0 0 12px;
  list-style: none;
}
.cvr-navigation-menu .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-left: 1px solid rgba(21,216,255,.28);
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 13px;
}
.cvr-navigation-menu .sub-menu a:hover,
.cvr-navigation-menu .sub-menu a:focus-visible { color: #fff; border-color: #e43fc4; outline: none; }
.cvr-navigation-hint {
  margin: 20px 2px 0;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  letter-spacing: .04em;
}

.cvr-entry-kicker,
.cvr-page-heading p { margin: 0 0 8px; color: #15d8ff; font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.cvr-entry-meta { margin: -8px 0 24px; color: var(--cvr-muted); font-size: 13px; }
.cvr-entry-poster { margin: 24px 0; border-radius: 18px; overflow: hidden; }
.cvr-entry-poster img { display: block; width: 100%; height: auto; }
.cvr-page-heading { margin-bottom: 28px; }
.cvr-page-heading h1 { margin: 0; font-size: clamp(42px,8vw,72px); letter-spacing: -.06em; }
.cvr-transmission-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.cvr-transmission-card { overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: rgba(255,255,255,.035); transition: .2s; }
.cvr-transmission-card:hover { transform: translateY(-3px); border-color: rgba(21,216,255,.35); box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.cvr-transmission-card>a { display: block; height: 100%; text-decoration: none; }
.cvr-transmission-card>a>div:last-child { padding: 20px; }
.cvr-transmission-thumb { aspect-ratio: 16/9; overflow: hidden; }
.cvr-transmission-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cvr-transmission-card span { color: #15d8ff; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.cvr-transmission-card h2 { margin: 8px 0 10px; font-size: 24px; line-height: 1.05; }
.cvr-transmission-card p { margin: 0; color: var(--cvr-muted); line-height: 1.55; }
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; text-decoration: none; }
.page-numbers.current { border-color: #e43fc4; background: #e43fc4; color: #fff; }

body.admin-bar .cvr-navigation-shell { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cvr-navigation-shell { top: 46px; } }
@media (max-width: 700px) {
  .cvr-transmission-grid { grid-template-columns: 1fr; }
  .cvr-account-link { display: none; }
  .cvr-brand .custom-logo,
  .cvr-default-brand img { max-width: 170px; }
  .cvr-navigation-shell { padding: 14px; }
  .cvr-site-navigation { width: min(100%, 520px); max-height: calc(100dvh - 28px); padding: 22px 18px; border-radius: 22px; }
  .cvr-navigation-brand { padding-right: 48px; }
  .cvr-navigation-brand img { width: 52px; height: 52px; }
  .cvr-navigation-menu { grid-template-columns: 1fr; gap: 7px; }
  .cvr-navigation-menu > li > a { min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .cvr-navigation-backdrop,
  .cvr-site-navigation,
  .cvr-menu-toggle,
  .cvr-menu-toggle span,
  .cvr-navigation-menu > li > a { transition: none !important; }
}

/* === CVR 1.2 Audio Signals ============================================== */
.cvr-video-card.is-audio-signal .cvr-video-stage {
  background-color: #040616;
}
.cvr-video-card.is-audio-signal .cvr-video-stage::after {
  opacity: .86;
  filter: blur(52px) saturate(1.08) brightness(.48);
  transform: scale(1.28);
}
.cvr-video-card.is-audio-signal .cvr-stage-shade {
  background:
    linear-gradient(to bottom, rgba(2,4,18,.58) 0%, rgba(2,4,18,.08) 24%, rgba(2,4,18,.18) 66%, rgba(0,0,0,.94) 100%);
}
.cvr-audio-shell {
  position: absolute;
  z-index: 4;
  inset: calc(var(--cvr-header-height) + env(safe-area-inset-top) + 32px) 20px 168px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  pointer-events: none;
}
.cvr-audio-artwork-wrap {
  position: relative;
  width: min(68vw, 520px);
  aspect-ratio: 1;
  pointer-events: auto;
}
.cvr-audio-artwork {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: clamp(22px, 4vw, 42px);
  background: #07091b;
  box-shadow:
    0 38px 90px rgba(0,0,0,.58),
    0 0 0 1px rgba(21,216,255,.07),
    0 0 56px rgba(228,63,196,.16);
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease;
}
.cvr-audio-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cvr-video-card.is-playing .cvr-audio-artwork {
  transform: scale(1.018);
  box-shadow:
    0 42px 100px rgba(0,0,0,.62),
    0 0 0 1px rgba(21,216,255,.2),
    0 0 74px rgba(228,63,196,.28);
}
.cvr-audio-play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(0,0,0,.62);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(16px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.cvr-audio-play-button:hover { background: rgba(228,63,196,.78); transform: translate(-50%, -50%) scale(1.05); }
.cvr-audio-play-button:focus-visible { outline: 3px solid #15d8ff; outline-offset: 4px; }
.cvr-audio-play-button svg { width: 34px; height: 34px; fill: currentColor; }
.cvr-audio-play-button .cvr-audio-play-icon { margin-left: 4px; }
.cvr-audio-pause-icon { display: none; }
.cvr-video-card.is-playing .cvr-audio-play-icon { display: none; }
.cvr-video-card.is-playing .cvr-audio-pause-icon { display: block; }
.cvr-audio-now-playing {
  display: grid;
  justify-items: center;
  gap: 4px;
  max-width: min(72vw, 540px);
  text-align: center;
  text-shadow: 0 3px 18px rgba(0,0,0,.7);
}
.cvr-audio-now-playing > span {
  color: #15d8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.cvr-audio-now-playing strong {
  overflow: hidden;
  max-width: 100%;
  color: #fff;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cvr-audio-now-playing small {
  overflow: hidden;
  max-width: 100%;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cvr-direct-audio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cvr-audio-controls {
  position: absolute;
  z-index: 10;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
  display: grid;
  grid-template-columns: 32px auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.64);
  box-shadow: 0 8px 28px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.cvr-audio-mini-play {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #e43fc4, #69207f);
  color: #fff;
  cursor: pointer;
}
.cvr-audio-mini-play:hover { filter: brightness(1.12); }
.cvr-audio-mini-play:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cvr-audio-mini-play svg { width: 17px; height: 17px; fill: currentColor; }
.cvr-audio-mini-play .cvr-audio-play-icon { margin-left: 2px; }
.cvr-video-card.is-audio-signal .cvr-video-copy {
  bottom: max(78px, calc(env(safe-area-inset-bottom) + 68px));
}
.cvr-audio-artist-label {
  margin: 0 0 7px;
  color: #15d8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cvr-video-card.is-audio-signal .cvr-action-rail {
  bottom: max(82px, calc(env(safe-area-inset-bottom) + 72px));
}
.cvr-video-card.is-audio-signal.is-deep-linked .cvr-audio-artwork {
  box-shadow: 0 0 0 3px rgba(21,216,255,.85), 0 38px 90px rgba(0,0,0,.58), 0 0 82px rgba(228,63,196,.36);
}

@media (max-width: 720px) {
  .cvr-audio-shell {
    inset: calc(var(--cvr-header-height) + env(safe-area-inset-top) + 28px) 16px 180px;
    gap: 16px;
  }
  .cvr-audio-artwork-wrap { width: min(76vw, 430px); }
  .cvr-audio-play-button { width: 72px; height: 72px; }
  .cvr-audio-play-button svg { width: 30px; height: 30px; }
  .cvr-audio-now-playing strong { font-size: 14px; }
  .cvr-video-card.is-audio-signal .cvr-video-caption { display: none; }
}

@media (max-height: 650px) and (orientation: landscape) {
  .cvr-audio-shell {
    inset: calc(var(--cvr-header-height) + env(safe-area-inset-top) + 12px) 100px 82px;
    grid-template-columns: minmax(180px, 36vh) minmax(0,1fr);
    gap: 28px;
  }
  .cvr-audio-artwork-wrap { width: min(36vh, 300px); }
  .cvr-audio-now-playing { justify-items: start; text-align: left; }
}

/* === CVR 1.3 Music Releases ============================================= */
.cvr-audio-now-playing em {
  overflow: hidden;
  max-width: 100%;
  color: rgba(21,216,255,.78);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .07em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.cvr-action-rail {
  display: grid;
  gap: 8px;
  justify-items: center;
}
.cvr-download-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(21,216,255,.34);
  border-radius: 50%;
  background: rgba(0,0,0,.42);
  color: #15d8ff;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.cvr-download-button:hover { transform: translateY(-2px); background: rgba(21,216,255,.16); color: #fff; }
.cvr-download-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cvr-download-button svg { width: 23px; height: 23px; fill: currentColor; }
@media (max-width: 520px) {
  .cvr-download-button { width: 42px; height: 42px; }
  .cvr-download-button svg { width: 21px; height: 21px; }
}


/* === CVR 1.4 Signal CTA ================================================ */
.cvr-signal-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: min(72vw, 360px);
  margin-top: 10px;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid rgba(21,216,255,.38);
  border-radius: 999px;
  background: rgba(5,7,20,.48);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 26px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.cvr-signal-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 34%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  animation: cvr-cta-glint 4.4s ease-in-out infinite;
  pointer-events: none;
}
.cvr-signal-cta:hover { transform: translateY(-1px); border-color: rgba(207,37,255,.72); background: rgba(207,37,255,.13); }
.cvr-signal-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cvr-signal-cta svg { width: 15px; height: 15px; flex: 0 0 auto; fill: #15d8ff; }
@keyframes cvr-cta-glint { 0%,68% { left:-42%; opacity:0; } 74% { opacity:1; } 92%,100% { left:118%; opacity:0; } }
@media (prefers-reduced-motion: reduce) { .cvr-signal-cta::before { animation:none; } }
@media (max-width:520px) { .cvr-signal-cta { max-width: 68vw; padding: 7px 11px; font-size: 10px; } }

/* === CVR 1.5 Signal automation, identity and sponsored structure ========== */
.cvr-autoscroll-button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(21,216,255,.28);
  border-radius: 50%;
  background: rgba(0,0,0,.42);
  color: rgba(255,255,255,.72);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.cvr-autoscroll-button:hover { transform: translateY(-2px); border-color: rgba(21,216,255,.65); color: #fff; }
.cvr-autoscroll-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cvr-autoscroll-button svg { width: 23px; height: 23px; overflow: visible; fill: currentColor; }
.cvr-autoscroll-button .cvr-autoscroll-chevron { opacity: .52; transform-origin: 12px 12px; }
.cvr-autoscroll-button .cvr-autoscroll-chevron-top { transform: translateY(-1px); }
.cvr-autoscroll-button .cvr-autoscroll-chevron-bottom { transform: translateY(1px); }
.cvr-autoscroll-button.is-active {
  border-color: rgba(21,216,255,.82);
  background: rgba(21,216,255,.15);
  color: #15d8ff;
  box-shadow: 0 0 0 1px rgba(21,216,255,.12), 0 0 22px rgba(21,216,255,.22), 0 8px 28px rgba(0,0,0,.34);
}
.cvr-autoscroll-button.is-active .cvr-autoscroll-chevron-top { animation: cvr-autoscroll-pulse-top 1.45s ease-in-out infinite; }
.cvr-autoscroll-button.is-active .cvr-autoscroll-chevron-bottom { animation: cvr-autoscroll-pulse-bottom 1.45s ease-in-out infinite .12s; }
@keyframes cvr-autoscroll-pulse-top {
  0%,100% { opacity: .32; transform: translateY(-2px); }
  50% { opacity: 1; transform: translateY(1px); }
}
@keyframes cvr-autoscroll-pulse-bottom {
  0%,100% { opacity: .32; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(3px); }
}
.cvr-autoscroll-active .cvr-feed { scroll-behavior: smooth; }

.cvr-signal-identity,
.cvr-audio-artist-label {
  margin: 0 0 7px;
  color: #15d8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cvr-signal-kind-badge {
  position: absolute;
  z-index: 6;
  top: calc(var(--cvr-header-height) + env(safe-area-inset-top) + 14px);
  left: 16px;
  display: inline-flex;
  align-items: center;
  max-width: min(70vw, 360px);
  min-height: 26px;
  padding: 5px 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(0,0,0,.52);
  color: rgba(255,255,255,.88);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cvr-signal-kind-sponsored {
  border-color: rgba(255,255,255,.32);
  color: #fff;
}
.cvr-signal-kind-promo {
  border-color: rgba(228,63,196,.46);
  color: #f8a9ec;
}

@media (max-width: 520px) {
  .cvr-autoscroll-button { width: 42px; height: 42px; }
  .cvr-autoscroll-button svg { width: 21px; height: 21px; }
  .cvr-signal-kind-badge { left: 12px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cvr-autoscroll-button.is-active .cvr-autoscroll-chevron { animation: none; opacity: 1; }
  .cvr-autoscroll-active .cvr-feed { scroll-behavior: auto; }
}

/* === CVR 1.6 Audible Auto-Scroll / background playback ================ */
.cvr-background-audio-deck {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  left: -9999px !important;
  bottom: 0 !important;
  opacity: .001 !important;
  pointer-events: none !important;
}
.cvr-autoscroll-active .cvr-video-card.is-unmuted .cvr-sound-hint { opacity: 0; }
.cvr-autoscroll-button { position: relative; }
.cvr-video-card.is-autoplay-blocked .cvr-autoscroll-button.is-active {
  border-color: rgba(255,255,255,.56);
  color: #fff;
}
