/* =========================================================
   Mixtapes page (mixtapes.html): glass panels orbiting in
   space. The covers are arranged in a spiral around an empty
   centre and turn to the front one at a time.
   Loads after styles.css. (The earlier cube design lives in
   mixtapes-cube.css.)
   ========================================================= */

/* The page glow takes on the colour of the cover in front.
   Registering it lets the browser fade smoothly between colours. */
@property --tint {
  syntax: "<color>";
  inherits: true;
  initial-value: #4a3d5c;
}

.tapes {
  --top-space: 0px;   /* extra room above the headline on taller screens (set further down) */
  /* headline letter size: scales with the screen so the one-line headline always fits */
  --slogan: min(calc((100vw - 2 * var(--gutter)) / 20.5), 6vh, 3.4rem);
  /* panel size: sized so the headline, panels, title and controls fit on one screen */
  --p: clamp(150px, min(58vw, 42vh, calc((var(--vh) - var(--nav-h) - 285px - var(--top-space) - var(--slogan) * 1.3) / 1.56)), 340px);
  position: relative;
  min-height: calc(var(--vh) - var(--nav-h));
  padding: clamp(16px, 3vh, 40px) var(--gutter) clamp(28px, 5vh, 64px);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: --tint 1.4s var(--ease-out);
}

/* ---------- Atmosphere ---------- */

.tapes__glow {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 40% at 50% 42%, color-mix(in srgb, var(--tint) 50%, transparent), transparent 72%),
    radial-gradient(ellipse 60% 50% at 12% 88%, rgba(38, 92, 104, 0.28), transparent 70%),
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(70, 48, 110, 0.26), transparent 70%);
}

/* The glow and the specks fade out at the top and bottom of the section,
   so there's never a visible edge against the nav or the footer */
.tapes__glow,
.tapes__dust {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 82%, transparent);
}

.tapes__dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tapes__dust--back  { z-index: -2; }
.tapes__dust--front { z-index: 2; }

/* ---------- Headline: CHOPPED UP NOT SLOPPED UP (one line, two styles) ---------- */

.slogan {
  position: relative;
  z-index: 3;
  max-width: 100%;
  margin: 0 0 clamp(20px, 4vh, 44px);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.32em;
  font-size: var(--slogan);
  font-weight: 900;
  font-stretch: 115%;
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  /* tipped back a little, like a sign floating in space */
  transform: perspective(900px) rotateX(14deg);
  transform-origin: 50% 100%;
  animation: slogan-in 1.2s var(--ease-out) both, slogan-float 7s ease-in-out 1.2s infinite;
}

.slogan__line { display: block; white-space: nowrap; }

/* Taller screens have room to spare: give the headline more breathing room under the menu
   (the panel size above subtracts this space, so everything still fits on one screen) */
.slogan { margin-top: var(--top-space); }

@media (min-height: 780px) {
  .tapes { --top-space: clamp(12px, calc((var(--vh) - 780px) * 0.25 + 16px), 56px); }
}

/* Phones: slightly narrower letters so the one-line headline can be bigger */
@media (max-width: 599px) {
  .tapes { --slogan: calc((100vw - 2 * var(--gutter)) / 17); }
  .slogan { font-stretch: 100%; }
}

/* Line 1: chrome letters with a light sweep in the cover's colour */
.slogan__line--solid {
  background:
    linear-gradient(105deg, transparent 38%, color-mix(in srgb, var(--tint) 70%, #fff) 48%, #fff 50%, color-mix(in srgb, var(--tint) 70%, #fff) 52%, transparent 62%) 0 0 / 250% 100% no-repeat,
    linear-gradient(to bottom, #ffffff 0%, #e9e4dc 45%, #9d978f 55%, #f4efe8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--tint) 45%, transparent));
  animation: slogan-sheen 5.5s ease-in-out infinite;
}

/* Line 2: glowing outline letters */
.slogan__line--outline {
  color: transparent;
  -webkit-text-stroke: max(1px, calc(var(--slogan) * 0.03)) rgba(255, 255, 255, 0.88);
  text-shadow:
    0 0 14px color-mix(in srgb, var(--tint) 70%, transparent),
    0 0 36px color-mix(in srgb, var(--tint) 40%, transparent);
}

@keyframes slogan-sheen {
  0%, 20% { background-position: 130% 0, 0 0; }
  70%, 100% { background-position: -30% 0, 0 0; }
}

@keyframes slogan-in {
  from { opacity: 0; transform: perspective(900px) rotateX(40deg) translateY(24px); filter: blur(8px); }
  to   { opacity: 1; transform: perspective(900px) rotateX(14deg); filter: none; }
}

@keyframes slogan-float {
  0%, 100% { transform: perspective(900px) rotateX(14deg) translateY(-4px); }
  50%      { transform: perspective(900px) rotateX(14deg) translateY(4px); }
}

.tapes__heading {
  position: relative;
  z-index: 3;
  margin: 0 0 clamp(16px, 3vh, 34px);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.2;
}

/* ---------- The orbit ---------- */

.orbit {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(var(--p) * 1.4);
  margin-top: calc(var(--p) * 0.16);   /* room so the rising side panels clear the MIXTAPES label */
  perspective: calc(var(--p) * 4.2);
  perspective-origin: 50% 45%;
  touch-action: pan-y;          /* sideways swipes turn it; up/down still scrolls the page */
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.orbit.is-dragging { cursor: grabbing; }

.orbit:focus-visible::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--p) + 28px);
  height: calc(var(--p) + 28px);
  transform: translate(-50%, -50%);
  border: 2px solid var(--beige);
  border-radius: 30px;
  pointer-events: none;
}

.orbit__float,
.orbit__tilt,
.orbit__scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* The panels each carry their own perspective (set in mixtapes.js) and are stacked
   by z-index, front cover on top, so the scene itself stays flat. That way no
   browser can draw a side panel over the front cover. */
.orbit__scene { transform-style: flat; }

/* Gentle drift up and down */
.orbit__float { animation: orbit-float 7s ease-in-out infinite; }

@keyframes orbit-float {
  0%, 100% { transform: translateY(-8px); }
  50%      { transform: translateY(8px); }
}

/* Leans a little toward the mouse (set by mixtapes.js) */
.orbit__tilt {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.9s var(--ease-out);
}

/* ---------- Glass panels (placed by mixtapes.js) ---------- */

.panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--p);
  height: var(--p);
  margin: calc(var(--p) / -2) 0 0 calc(var(--p) / -2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  cursor: pointer;
}

.panel[hidden] { display: none; }

.panel__glass {
  position: absolute;
  inset: 0;
  padding: clamp(7px, calc(var(--p) * 0.035), 12px);
  border-radius: clamp(14px, calc(var(--p) * 0.07), 24px);
  /* frosted glass slab */
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 38%, rgba(255, 255, 255, 0.02) 62%, rgba(255, 255, 255, 0.12)),
    rgba(14, 18, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 34px 70px -30px rgba(0, 0, 0, 0.95),
    0 0 50px -16px color-mix(in srgb, var(--tint) 55%, transparent);
}

.panel__glass img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(9px, calc(var(--p) * 0.045), 16px);
  pointer-events: none;
}

.panel__glass img.is-missing { visibility: hidden; }

/* light catching the glass */
.panel__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 26%, transparent 44%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Darkens panels as they move away from the front (set by mixtapes.js) */
.panel__dim {
  position: absolute;
  inset: 0;
  border-radius: clamp(14px, calc(var(--p) * 0.07), 24px);
  background: #02060a;
  opacity: 0;
  pointer-events: none;
}

.panel.is-front { cursor: grab; }

.panel.is-front .panel__glass {
  border-color: rgba(255, 255, 255, 0.42);
}

/* ---------- Title and controls ---------- */

.tapes__info {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 38rem;
  margin-top: clamp(4px, 1vh, 12px);
}

.tapes__count {
  margin: 0;
  color: var(--beige);
  font-size: 0.8125rem;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: 0.24em;
  font-variant-numeric: tabular-nums;
}

.tapes__of { color: var(--text-subtle); }

.tapes__title {
  margin: 8px 0 4px;
  min-height: 2.5em;            /* room for two lines, so the controls don't jump */
  display: grid;
  align-items: center;
  font-size: clamp(1.0625rem, 2.1vw, 1.5rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.25;
  text-wrap: balance;
}

.tapes__tag {
  margin: 0;
  min-height: 1.4em;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The words slide in when a new cover reaches the front */
.tapes__info.is-swapping .tapes__title,
.tapes__info.is-swapping .tapes__tag {
  animation: tape-text 0.55s var(--ease-out);
}

@keyframes tape-text {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.tapes__controls {
  position: relative;
  z-index: 3;
  margin-top: clamp(14px, 2.4vh, 24px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 20px);
}

.tapes__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.tapes__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.tapes__btn:active { transform: scale(0.94); }
.tapes__btn:focus-visible { border-radius: 50%; }

.tapes__btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Scrubber: drag to jump anywhere in the collection */
.tapes__scrub {
  --pct: 0%;
  width: clamp(140px, 36vw, 300px);
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.tapes__scrub::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--beige) var(--pct), rgba(255, 255, 255, 0.18) var(--pct));
}

.tapes__scrub::-moz-range-track {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.tapes__scrub::-moz-range-progress {
  height: 3px;
  border-radius: 3px;
  background: var(--beige);
}

.tapes__scrub::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -6.5px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--beige) 30%, transparent);
  -webkit-appearance: none;
  appearance: none;
}

.tapes__scrub::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--beige) 30%, transparent);
}

.tapes__scrub:focus-visible { outline-offset: 6px; border-radius: 4px; }

.tapes__hint {
  position: relative;
  z-index: 3;
  margin: 14px 0 0;
  color: var(--text-subtle);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.8s var(--ease-out);
}

.tapes.is-used .tapes__hint { opacity: 0; }

/* Short screens: drop the hint to keep everything in view */
@media (max-height: 720px) {
  .tapes__hint { display: none; }
}

/* ---------- Throwback Radio: a small cassette deck on glass ---------- */

.radio {
  position: relative;
  z-index: 4;
  width: min(100%, 24rem);
  margin-top: clamp(14px, 2.4vh, 22px);
  padding: 12px 14px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "head head head"
    "deck now  ctrl"
    "bar  bar  bar";
  align-items: center;
  gap: 8px 12px;
  text-align: left;
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.02) 62%, rgba(255, 255, 255, 0.1)),
    rgba(10, 12, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 30px 60px -30px rgba(0, 0, 0, 0.95),
    0 0 46px -18px color-mix(in srgb, var(--tint) 60%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Wide screens: it floats beside the covers, on the left */
@media (min-width: 1180px) {
  .radio {
    position: absolute;
    left: var(--gutter);
    top: 52%;
    width: 13.5rem;
    margin: 0;
    padding: 14px 14px 16px;
    grid-template-columns: 1fr;
    grid-template-areas: "head" "deck" "now" "bar" "ctrl";
    gap: 10px;
    text-align: center;
    transform: translateY(-50%) perspective(900px) rotateY(10deg);
    animation: radio-float 8s ease-in-out infinite;
  }
}

@keyframes radio-float {
  0%, 100% { translate: 0 -6px; }
  50%      { translate: 0 6px; }
}

.radio__head {
  grid-area: head;
  display: flex;
  align-items: center;
  flex-wrap: wrap;   /* on the very smallest phones the station drops to its own line */
  gap: 8px;
}

@media (min-width: 1180px) {
  .radio__head { justify-content: center; row-gap: 2px; }
}

/* ON AIR light: dim when off, glowing red while playing */
.radio__onair {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #4a1d22;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.radio.is-playing .radio__onair {
  background: #ff3b4a;
  box-shadow: 0 0 10px 2px rgba(255, 59, 74, 0.7);
  animation: onair 2.2s ease-in-out infinite;
}

@keyframes onair {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.radio__name {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  /* chrome, like the headline */
  background: linear-gradient(to bottom, #ffffff 0%, #e9e4dc 45%, #9d978f 55%, #f4efe8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.radio__name span {
  -webkit-text-stroke: 0.6px rgba(255, 255, 255, 0.9);
  color: transparent;
  background: none;
  text-shadow: 0 0 10px color-mix(in srgb, var(--tint) 70%, transparent);
}

.radio__freq {
  margin: 0 0 0 auto;
  white-space: nowrap;
  color: var(--text-subtle);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.radio__freq b { color: var(--beige); font-weight: 700; }

/* the station name sits under the number: FM 104.9 over HOUSE PARTY */
.radio__freq { text-align: right; line-height: 1.3; }
.radio__freq span { display: block; }

@media (min-width: 1180px) {
  .radio__freq { margin: 0; flex-basis: 100%; text-align: center; }
  /* the two words stacked: THROWBACK over a bigger FREESTYLES */
  .radio__name {
    display: grid;
    justify-items: center;
    line-height: 1.05;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
  }
  .radio__name span {
    font-size: 1.25rem;
    letter-spacing: 0.04em;
  }
}

/* Bar layout (under the controls): a little smaller so the name and dial share one line */
@media (max-width: 1179px) {
  .radio__name { font-size: 0.75rem; letter-spacing: 0.06em; font-stretch: 112%; }
  .radio__freq { letter-spacing: 0.08em; }
}

@media (max-width: 599px) {
  .radio__name { font-size: 0.6875rem; letter-spacing: 0.04em; }
}

/* Very small phones: a touch smaller again */
@media (max-width: 380px) {
  .radio__name { font-size: 0.625rem; letter-spacing: 0.03em; }
  .radio__freq { letter-spacing: 0.02em; }
  .radio__head { gap: 6px; }
}

/* ---- the cassette ---- */

.radio__deck {
  grid-area: deck;
  position: relative;
  display: grid;
  place-items: center;
}

.radio__tape {
  display: block;
  width: 64px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
}

@media (min-width: 1180px) {
  .radio__tape { width: 100%; max-width: 168px; }
}

.tape__body {
  fill: rgba(20, 22, 30, 0.85);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.5;
}

.tape__label {
  fill: color-mix(in srgb, var(--tint) 55%, #1a1a22);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
  transition: fill 1.4s var(--ease-out);
}

.tape__text {
  fill: rgba(255, 255, 255, 0.85);
  font-family: var(--font);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tape__window {
  fill: rgba(0, 0, 0, 0.7);
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
}

.tape__ribbon {
  fill: none;
  stroke: #3a2a22;
  stroke-width: 3;
}

.tape__reel circle {
  fill: #f3efe8;
  stroke: rgba(0, 0, 0, 0.4);
  stroke-width: 1;
}

.tape__reel path {
  stroke: #2a2a30;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.tape__reel {
  transform-box: fill-box;
  transform-origin: center;
}

.radio.is-playing .tape__reel { animation: reel 2.4s linear infinite; }
.radio.is-playing .tape__reel--right { animation-duration: 3s; }

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

.tape__base {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

.tape__hole { fill: rgba(0, 0, 0, 0.75); }

/* little equalizer that bounces while playing (wide screens only) */
.radio__eq {
  display: none;
}

@media (min-width: 1180px) {
  .radio__eq {
    position: absolute;
    right: 6px;
    top: -2px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .radio.is-playing .radio__eq { opacity: 1; }

  .radio__eq i {
    width: 3px;
    height: 100%;
    border-radius: 2px;
    background: color-mix(in srgb, var(--tint) 60%, #fff);
    transform-origin: bottom;
    transform: scaleY(0.3);
  }

  .radio.is-playing .radio__eq i { animation: eq 0.9s ease-in-out infinite; }
  .radio__eq i:nth-child(2) { animation-delay: -0.3s !important; }
  .radio__eq i:nth-child(3) { animation-delay: -0.6s !important; }
  .radio__eq i:nth-child(4) { animation-delay: -0.15s !important; }
  .radio__eq i:nth-child(5) { animation-delay: -0.45s !important; }
}

@keyframes eq {
  0%, 100% { transform: scaleY(0.25); }
  50%      { transform: scaleY(1); }
}

/* ---- now playing: scrolls like a car stereo when the title is long ---- */

.radio__now {
  grid-area: now;
  min-width: 0;
}

.radio__marquee {
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.radio__track {
  display: inline-block;
  padding-inline: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
}

.radio__marquee.is-scrolling .radio__track {
  animation: marquee var(--marquee-time, 10s) linear infinite;
}

@keyframes marquee {
  0%, 12%   { transform: translateX(0); }
  88%, 100% { transform: translateX(var(--marquee-shift, 0px)); }
}

.radio__artist {
  margin: 2px 0 0;
  padding-inline: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text-subtle);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- progress line ---- */

.radio__bar {
  grid-area: bar;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.radio__progress {
  display: block;
  height: 100%;
  width: var(--radio-pct, 0%);
  background: linear-gradient(to right, var(--beige), color-mix(in srgb, var(--tint) 70%, #fff));
}

/* ---- buttons ---- */

.radio__controls {
  grid-area: ctrl;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.radio__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), opacity 0.2s;
}

.radio__btn--play {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.radio__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.8);
}

.radio__btn:disabled { opacity: 0.35; cursor: default; }
.radio__btn:focus-visible { border-radius: 50%; }

.radio__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.radio__btn .fill { fill: currentColor; stroke: none; }
.radio__btn--play svg { width: 18px; height: 18px; }
.radio__btn--play .icon-pause { display: none; }
.radio.is-playing .radio__btn--play .icon-pause { display: block; }
.radio.is-playing .radio__btn--play .icon-play { display: none; }

/* Off air (no songs yet): dimmed, static */
.radio.is-empty .radio__track { color: var(--text-muted); font-weight: 600; }

/* ---------- Reduced motion: no drifting ---------- */

@media (prefers-reduced-motion: reduce) {
  .orbit__float,
  .slogan,
  .slogan__line--solid,
  .radio,
  .radio.is-playing .tape__reel,
  .radio.is-playing .radio__eq i,
  .radio__marquee.is-scrolling .radio__track { animation: none; }
  .tapes__info.is-swapping .tapes__title,
  .tapes__info.is-swapping .tapes__tag { animation: none; }
}
