.radio-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 38px 20px 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(174, 56, 18, .2), transparent 44%),
    #030303;
}

.radio-content {
  position: absolute;
  inset: 102px 28px 34px;
  display: grid;
  align-content: center;
  text-align: center;
}

.radio-logo {
  display: block;
  width: min(78%, 280px);
  margin: 0 auto;
  filter: drop-shadow(0 0 28px rgba(220, 84, 24, .34));
  animation: radio-breath 4.2s ease-in-out infinite;
}

.radio-content p {
  margin: 2.2rem 0 .65rem;
  color: #987044;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .34em;
}

.radio-content h1 {
  margin: 0;
  color: #efc577;
  font-size: clamp(1rem, 4vw, 1.35rem);
  letter-spacing: .24em;
}

.radio-actions {
  position: absolute;
  z-index: 8;
  top: 55px;
  right: 17px;
  left: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.radio-title {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 50%;
  margin: 0;
  color: #d8ad68;
  font-size: .91rem;
  font-weight: 800;
  letter-spacing: .24em;
  line-height: 1;
  transform: translateX(-50%);
}

.radio-library {
  position: absolute;
  z-index: 2;
  inset: 116px 18px 30px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 8px;
}

.genre-stage {
  position: relative;
  min-height: 50px;
  min-width: 0;
  overflow: hidden;
}

.genre-stage::before,
.genre-stage::after {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 34px;
  pointer-events: none;
  content: "";
}

.genre-stage::before {
  left: 0;
  background: linear-gradient(90deg, #030303 8%, rgba(3, 3, 3, .82) 46%, transparent);
}

.genre-stage::after {
  right: 0;
  background: linear-gradient(270deg, #030303 8%, rgba(3, 3, 3, .82) 46%, transparent);
}

.genre-wheel {
  position: relative;
  z-index: 3;
  height: 50px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.genre-wheel.is-dragging { cursor: grabbing; }

.genre-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: genre-marquee 36s linear infinite;
  will-change: transform;
}

.genre-set {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
}

.genre-chip,
.order-chip {
  flex: 0 0 auto;
  min-width: 0;
  height: 40px;
  padding: 0 20px;
  border: 1px solid rgba(225, 180, 108, .32);
  border-radius: 999px;
  color: #9f7849;
  background: rgba(38, 20, 10, .34);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  opacity: calc(.36 + var(--genre-strength, .3) * .64);
  scroll-snap-align: center;
  transform: rotateY(var(--genre-angle, 0deg)) scale(calc(.78 + var(--genre-strength, .3) * .22));
  transition: border-color .4s ease, color .25s ease, background .35s ease, box-shadow .4s ease, opacity .16s linear, transform .16s linear;
}

.genre-chip {
  border-width: 2px;
  border-color: rgba(225, 180, 108, .38);
  opacity: .78;
  transform: none;
  transition: border-color .3s ease, color .3s ease, background .3s ease, box-shadow .3s ease, opacity .3s ease;
}

.genre-chip.is-active {
  color: #f0c87e;
  background: rgba(91, 45, 18, .42);
  opacity: 1;
}

.order-chip.is-active {
  border-width: 2px;
  border-color: rgba(244, 204, 133, .72);
  color: #f0c87e;
  background: rgba(91, 45, 18, .42);
  box-shadow: 0 0 12px rgba(227, 155, 61, .21), inset 0 0 9px rgba(255, 218, 148, .1);
}

.genre-favorites {
  color: #c59653;
  font-size: 1.86rem;
  line-height: 1;
}

.radio-order {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 7px;
  padding-bottom: 10px;
}

.radio-order::after {
  position: absolute;
  right: 14%;
  bottom: 0;
  left: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 177, 100, .42) 24%, rgba(246, 208, 141, .58) 50%, rgba(226, 177, 100, .42) 76%, transparent);
  content: "";
}

.order-chip {
  min-width: 128px;
  height: 40px;
  padding: 0 20px;
  font-size: .72rem;
  opacity: 1;
  transform: none;
}

.selected-genre {
  position: absolute;
  top: 50%;
  left: 50%;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 40px;
  padding: 0 15px;
  border: 2px solid rgba(244, 204, 133, .72);
  border-radius: 999px;
  color: #f6cf87;
  background: rgba(91, 45, 18, .42);
  box-shadow: 0 0 12px rgba(227, 155, 61, .21), inset 0 0 9px rgba(255, 218, 148, .1);
  filter: drop-shadow(0 0 7px rgba(238, 172, 74, .42));
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 10px rgba(239, 180, 86, .32);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.selected-genre.is-heart {
  min-width: 40px;
  padding-right: 10px;
  padding-left: 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.wheel-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  transform: scale(1);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.2, .75, .2, 1);
}

.wheel-stage.is-interacting { transform: scale(1.045); }

.song-wheel {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 14% 4px;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  perspective: 700px;
  mask-image: linear-gradient(transparent 0, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent 0, #000 18%, #000 82%, transparent 100%);
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.song-wheel.is-dragging { cursor: grabbing; }

.song-wheel.is-auto-demo,
.genre-wheel.is-auto-demo {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.wheel-guide {
  position: absolute;
  z-index: 6;
  left: 50%;
  width: 74px;
  height: 62px;
  pointer-events: none;
  background: linear-gradient(90deg, #8c5423 0%, #f4cf86 42%, #ad6b2c 68%, #6d3d19 100%);
  box-shadow: 0 0 15px rgba(230, 157, 57, .28), inset 0 0 8px rgba(255, 239, 191, .42);
  opacity: 0;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .48));
  translate: -50% 0;
  transform-origin: center;
}

.wheel-guide-top {
  top: 50%;
  margin-top: -66px;
  clip-path: polygon(50% 0, 100% 45%, 68% 45%, 68% 100%, 32% 100%, 32% 45%, 0 45%);
  scale: .45;
  transform: perspective(150px) rotateX(-48deg);
}

.wheel-guide-bottom {
  top: 50%;
  margin-top: 5px;
  clip-path: polygon(32% 0, 68% 0, 68% 55%, 100% 55%, 50% 100%, 0 55%, 32% 55%);
  scale: .58;
  transform: perspective(150px) rotateX(48deg);
}

.wheel-stage.is-demo-up .wheel-guide-top { animation: guide-to-back 4.45s cubic-bezier(.32, .02, .25, 1) both; }
.wheel-stage.is-demo-down .wheel-guide-bottom { animation: guide-to-front 4.45s cubic-bezier(.32, .02, .25, 1) both; }

.genre-guide {
  position: absolute;
  z-index: 7;
  top: 10px;
  width: 42px;
  height: 19px;
  pointer-events: none;
  background: linear-gradient(180deg, #ffe0a0, #b36d2c 56%, #6f3e18);
  box-shadow: 0 0 11px rgba(230, 157, 57, .34);
  opacity: 0;
}

.genre-guide-left {
  left: 50%;
  margin-left: -64px;
  clip-path: polygon(0 50%, 42% 0, 42% 30%, 100% 30%, 100% 70%, 42% 70%, 42% 100%);
}

.genre-guide-right {
  left: 50%;
  margin-left: 22px;
  clip-path: polygon(0 30%, 58% 30%, 58% 0, 100% 50%, 58% 100%, 58% 70%, 0 70%);
}

.genre-stage.is-demo-left .genre-guide-left { animation: genre-arrow-left 4.45s ease-in-out both; }
.genre-stage.is-demo-right .genre-guide-right { animation: genre-arrow-right 4.45s ease-in-out both; }

.song-wheel::-webkit-scrollbar { display: none; }

.radio-song {
  position: relative;
  height: 68px;
  min-height: 68px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  padding: 4px 7px;
  overflow: hidden;
  border: 2px solid rgba(218, 169, 96, calc(.08 + var(--wheel-strength, .2) * .79));
  border-radius: 17px;
  background: linear-gradient(105deg, rgba(76, 34, 14, .24), rgba(5, 5, 5, .7));
  opacity: calc(.35 + var(--wheel-strength, .2) * .65);
  scroll-snap-align: center;
  transform: rotateX(var(--wheel-angle, 0deg)) scale(calc(.79 + var(--wheel-strength, .2) * .21));
  transform-origin: center;
  transition: border-color .38s ease, background .38s ease, box-shadow .38s ease, filter .38s ease, opacity .18s linear, transform .18s linear;
}

.radio-song-empty {
  pointer-events: none;
  border-style: dashed;
  border-color: rgba(218, 169, 96, .12);
  background: linear-gradient(105deg, rgba(76, 34, 14, .07), rgba(5, 5, 5, .2));
}

.radio-song-empty::after {
  width: 38%;
  height: 2px;
  margin: auto;
  border-radius: 999px;
  background: rgba(218, 169, 96, .12);
  content: "";
}

.radio-song.is-center {
  background: linear-gradient(105deg, rgba(112, 53, 21, .38), rgba(8, 7, 6, .82));
  box-shadow: 0 0 15px rgba(225, 151, 53, .16), 0 8px 24px rgba(0, 0, 0, .46), inset 0 0 19px rgba(190, 91, 28, .12);
  filter: brightness(1.07);
}

.radio-song.is-playing {
  border-color: rgba(255, 210, 126, .85);
  box-shadow: 0 0 18px rgba(224, 143, 45, .2);
}

.radio-cover {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(236, 192, 119, .25);
  border-radius: 11px;
  object-fit: cover;
  background: #100907;
  box-shadow: 0 5px 13px rgba(0, 0, 0, .48);
  -webkit-user-drag: none;
  user-select: none;
}

.radio-song-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  cursor: pointer;
  text-align: left;
}

.radio-song-title {
  margin: 0;
  overflow: hidden;
  color: #dcb36f;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radio-song-genre {
  margin: 2px 0 0;
  color: #77583a;
  font-size: .46rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.favorite-button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  color: #76502d;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  filter: drop-shadow(0 0 4px transparent);
}

.favorite-button svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.8;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55));
  transition: fill .2s ease, color .2s ease, filter .2s ease, transform .2s ease;
}

.favorite-button:hover svg,
.favorite-button:focus-visible svg {
  color: #e7b769;
  transform: scale(1.08);
}

.favorite-button.is-active {
  color: #f5d08a;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .72)) drop-shadow(0 0 7px rgba(238, 161, 52, .5));
}

.favorite-button .heart-body { fill: transparent; }
.favorite-button.is-active .heart-body {
  fill: var(--heart-fill, #d7973e);
  stroke: #ffe1a0;
  stroke-width: 1.35;
}

.favorite-button .heart-shine { opacity: 0; }
.favorite-button.is-active .heart-shine {
  opacity: .82;
  fill: none;
  stroke: #fff0c8;
  stroke-linecap: round;
  stroke-width: 1.05;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  opacity: .42;
  transition: opacity .2s ease;
}

.radio-song.is-center .score-row { opacity: 1; }

.score-label {
  margin-right: 1px;
  color: #77583a;
  font-size: .38rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.score-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #4b3422;
  cursor: pointer;
}

.score-row:hover .score-dot,
.score-dot:hover,
.score-dot:focus-visible {
  background: #9e6e35;
  box-shadow: 0 0 5px rgba(236, 173, 75, .26);
}

.score-dot.is-active {
  background: #e8b65f;
  box-shadow: 0 0 6px rgba(236, 173, 75, .48);
}

.score-value {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 54%;
  min-width: 10px;
  margin: 0;
  color: #211107;
  font-size: .4rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 222, 155, .32);
  transform: translate(-50%, -50%);
}

.score-thumb {
  --thumb-angle: -90deg;
  position: relative;
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 21px;
  margin-left: 1px;
  color: #b88747;
  filter: drop-shadow(0 0 4px rgba(230, 166, 71, .22));
  transition: color .22s ease, filter .22s ease;
}

.score-thumb-shape {
  width: 20px;
  height: 20px;
  overflow: visible;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.25;
  transform: rotate(var(--thumb-angle));
  transform-origin: center;
  transition: transform .38s cubic-bezier(.2, .7, .2, 1);
}

.thumb-highlight {
  fill: none;
  stroke: rgba(255, 239, 194, .72);
  stroke-linecap: round;
  stroke-width: .8;
}

.score-row:hover .score-thumb,
.radio-song.is-center .score-thumb {
  color: #e9bd70;
  filter: drop-shadow(0 0 5px rgba(230, 166, 71, .38));
}

/* Simple three-card radio browser: preview, active cover, preview. */
.wheel-stage,
.wheel-stage.is-interacting {
  overflow: hidden;
  transform: none;
}

.song-wheel {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr) 54px;
  gap: 6px;
  overflow: hidden;
  padding: 0 4px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  perspective: none;
  scroll-snap-type: none;
  mask-image: linear-gradient(transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent 0, #000 7%, #000 93%, transparent 100%);
}

.song-wheel.is-dragging { cursor: grabbing; }

.radio-song,
.radio-song.is-center {
  height: auto;
  min-height: 0;
  margin: 0;
  opacity: 1;
  transform: none;
  filter: none;
}

.radio-song-preview {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 4px 9px;
  border: 1px solid rgba(218, 169, 96, .28);
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(76, 34, 14, .2), rgba(5, 5, 5, .58));
  box-shadow: none;
  opacity: .55;
  cursor: pointer;
  transition: border-color .24s ease, opacity .24s ease, background .24s ease;
}

.radio-song-preview:hover,
.radio-song-preview:focus-visible {
  border-color: rgba(237, 190, 115, .58);
  background: linear-gradient(105deg, rgba(96, 44, 17, .3), rgba(5, 5, 5, .68));
  opacity: .9;
  outline: 0;
}

.radio-song-preview .radio-cover {
  width: 44px;
  height: 44px;
  border-radius: 9px;
}

.radio-song-preview .radio-song-title { font-size: .62rem; }
.radio-song-preview .radio-song-genre { font-size: .4rem; }

.radio-song-active {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  padding: 6px;
  border: 2px solid rgba(231, 181, 104, .5);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(78, 34, 13, .28), rgba(3, 3, 3, .92) 56%);
  box-shadow: 0 0 15px rgba(225, 151, 53, .12), 0 10px 26px rgba(0, 0, 0, .5), inset 0 0 19px rgba(190, 91, 28, .09);
  animation: radio-card-settle .28s ease both;
}

.radio-song-active.is-playing {
  border-color: rgba(255, 210, 126, .86);
  box-shadow: 0 0 20px rgba(224, 143, 45, .23), 0 10px 26px rgba(0, 0, 0, .5);
}

.radio-cover-button {
  position: relative;
  width: min(100%, 258px);
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(236, 192, 119, .35);
  border-radius: 14px;
  background: #100907;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .56);
  cursor: pointer;
}

.radio-cover-button .radio-cover {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 13px;
  box-shadow: none;
}

.radio-active-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 4px 8px;
  padding: 8px 7px 3px;
}

.radio-active-info .radio-song-copy {
  cursor: default;
  text-align: center;
}

.radio-active-info .radio-song-title {
  font-size: .76rem;
  white-space: normal;
  text-wrap: balance;
}

.radio-active-info .radio-song-genre {
  font-size: .46rem;
  text-transform: uppercase;
}

.radio-active-info .favorite-button {
  justify-self: center;
}

.radio-favorite-slot {
  display: grid;
  place-items: center;
}

.radio-rating-slot {
  grid-column: 1 / -1;
}

.radio-active-info .score-row {
  justify-content: center;
  margin-top: 2px;
  opacity: 1;
}

.radio-player-progress,
.radio-transport {
  display: none;
}

.radio-swipe-hint {
  position: absolute;
  z-index: 12;
  top: 50%;
  right: 8px;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #dcb16b;
  filter: drop-shadow(0 0 7px rgba(225, 151, 53, .34));
  font-size: .38rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(-50%);
  pointer-events: none;
  animation: radio-swipe-hint 5.2s ease .45s both;
}

.radio-swipe-hint > span:nth-child(2) {
  writing-mode: vertical-rl;
}

.swipe-hint-arrow {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.swipe-hint-up { transform: rotate(45deg); }
.swipe-hint-down { transform: rotate(225deg); }

.radio-swipe-hint.is-dismissed {
  animation: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.radio-empty-state {
  align-self: center;
  justify-self: center;
}

@keyframes radio-card-settle {
  from { opacity: .55; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes radio-swipe-hint {
  0%, 100% { opacity: 0; translate: 0 7px; }
  15%, 78% { opacity: .9; }
  48% { translate: 0 -7px; }
}

.radio-page.is-playback-focused .radio-actions,
.radio-page.is-playback-focused .radio-title,
.radio-page.is-playback-focused .radio-order,
.radio-page.is-playback-focused .genre-stage,
.radio-page.is-playback-focused .radio-status,
.radio-page.is-playback-focused .radio-swipe-hint {
  display: none;
}

.radio-page.is-playback-focused .radio-library {
  inset: 16px 18px 18px;
  display: block;
}

.radio-page.is-playback-focused .wheel-stage,
.radio-page.is-playback-focused .song-wheel {
  width: 100%;
  height: 100%;
}

.radio-page.is-playback-focused .song-wheel {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  padding: 0;
  mask-image: none;
  -webkit-mask-image: none;
}

.radio-page.is-playback-focused .radio-song-preview {
  display: none;
}

.radio-page.is-playback-focused .radio-song-active {
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 8px;
  border-color: rgba(235, 185, 107, .42);
  border-radius: 20px;
}

.radio-page.is-playback-focused .radio-cover-button {
  width: min(100%, 342px);
  height: auto;
  max-height: 100%;
}

.radio-page.is-playback-focused .radio-active-info {
  padding: 10px 9px 5px;
}

.radio-page.is-playback-focused .radio-player-progress {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) 31px;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: #a57b49;
  font-size: .48rem;
  font-variant-numeric: tabular-nums;
}

.radio-progress-range {
  width: 100%;
  height: 3px;
  margin: 0;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0bd66, #8a5426);
  cursor: pointer;
}

.radio-progress-range::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  appearance: none;
  border: 1px solid #ffe0a0;
  border-radius: 50%;
  background: #e8b55e;
  box-shadow: 0 0 7px rgba(235, 168, 69, .58);
}

.radio-progress-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #ffe0a0;
  border-radius: 50%;
  background: #e8b55e;
  box-shadow: 0 0 7px rgba(235, 168, 69, .58);
}

.radio-page.is-playback-focused .radio-transport {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 5px;
}

.transport-button {
  position: relative;
  width: 44px;
  height: 36px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 194, 111, .78);
  border-radius: 999px;
  color: #f2c979;
  background: radial-gradient(ellipse at 28% 12%, rgba(255, 231, 172, .36), transparent 48%), linear-gradient(155deg, #8d5827 0%, #c08a45 18%, #583417 47%, #241407 76%, #855020 100%);
  box-shadow:
    0 5px 11px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(75, 38, 13, .7),
    inset 0 1px rgba(255, 232, 179, .2);
  cursor: pointer;
  opacity: 1;
  transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}

.transport-button:hover,
.transport-button:focus-visible {
  border-color: #f5d08d;
  color: #ffe3a3;
  box-shadow: 0 7px 14px rgba(0, 0, 0, .5), 0 0 9px rgba(225, 158, 63, .32), inset 0 1px rgba(255, 240, 202, .32);
  outline: 0;
  transform: translateY(-1px);
}

.transport-button svg {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 2px 1px rgba(26, 11, 3, .8)) drop-shadow(0 0 4px rgba(255, 210, 121, .3));
  opacity: 1;
}

.transport-button .transport-symbol {
  stroke: rgba(255, 227, 166, .72);
  stroke-linejoin: round;
  stroke-width: .55;
}

.transport-button .transport-bevel {
  fill: none;
  stroke: rgba(255, 245, 205, .62);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: .85;
}

.transport-play-glyph { display: none; }

.transport-pause.is-paused .transport-pause-glyph { display: none; }

.transport-pause.is-paused .transport-play-glyph { display: block; }

.transport-skip-bar { filter: drop-shadow(0 0 2px rgba(239, 185, 93, .3)); }

.transport-button .transport-shine {
  fill: none;
  stroke: rgba(246, 210, 145, .34);
  stroke-linecap: round;
  stroke-width: 1;
}

/* Release-style radio player. It deliberately has no surrounding card frame. */
.radio-now-playing[hidden] {
  display: none !important;
}

.radio-now-playing {
  position: absolute;
  z-index: 10;
  inset: 38px 20px 24px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 76px 16px 36px;
  gap: 10px;
  min-width: 0;
}

.radio-page.is-playback-focused .radio-library {
  display: none;
}

.radio-media-window {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  outline: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.radio-media-window::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 24%, transparent 72%, rgba(237, 175, 83, .035));
  content: "";
}

.radio-media-window img,
.radio-media-window video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}

.radio-media-window img {
  z-index: 1;
  filter: brightness(1) saturate(1);
  transform: scale(1);
  transition: filter .45s ease, transform .7s ease;
}

.radio-media-window img.is-playing-breath {
  animation: playback-breath var(--stage-time) ease-in-out infinite;
}

/* Brand fallback is a logo, not edge-to-edge cover artwork. */
.radio-media-window img.is-brand-fallback {
  box-sizing: border-box;
  padding: 12%;
  object-fit: contain;
  object-position: center;
}

.radio-media-window video {
  z-index: 2;
  background: transparent;
  opacity: 0;
  transition: opacity .52s ease;
}

.radio-media-window video.is-media-visible { opacity: 1; }

.radio-lyrics {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  min-height: 94px;
  display: grid;
  align-items: end;
  padding: 36px 16px 18px;
  color: #f3cc8c;
  background: linear-gradient(0deg, rgba(3, 2, 1, .88), rgba(3, 2, 1, .68) 44%, transparent);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 2px 8px #000, 0 0 12px rgba(226, 165, 76, .35);
  transition: opacity 700ms ease-in-out;
}

.radio-lyrics[hidden] { display: none; }
.radio-lyrics.is-active { opacity: 1; }

.radio-lyrics-line {
  grid-area: 1 / 1;
  font-size: clamp(16px, 2.5vw, 21px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .025em;
  opacity: 0;
  transition: opacity 700ms ease-in-out;
}

.radio-lyrics-line.is-current {
  opacity: .80;
}

.radio-lyrics:not(.is-active) .radio-lyrics-line {
  transition: none;
}

.is-cockpit-preview #radioNowTitle { color: var(--preview-title-color, #f3cc8c); opacity: var(--preview-title-opacity, 1); }
.is-cockpit-preview .radio-lyrics { color: var(--preview-lyrics-color, #f3cc8c); }
.is-cockpit-preview .radio-lyrics-line.is-current { opacity: var(--preview-lyrics-opacity, .8); }
.radio-lyrics-line.is-current { opacity: var(--track-lyrics-opacity, .8); }
.is-cockpit-preview.preview-no-cover #radioStageImage { visibility: hidden; }
.is-cockpit-preview .radio-actions, .is-cockpit-preview .radio-title,
.is-cockpit-preview .impressum-link, .is-cockpit-preview .radio-library,
.is-cockpit-preview .radio-heart-rating, .is-cockpit-preview .transport-step { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .radio-lyrics, .radio-lyrics-line { transition: none; }
}

.radio-media-window.is-loading img {
  filter: brightness(.5) saturate(.74);
  transform: scale(1.018);
}

.radio-media-window [hidden] { display: none; }

.radio-loading-overlay {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  color: #f0c77e;
  background: radial-gradient(circle at center, rgba(10, 6, 3, .22), rgba(3, 2, 1, .5) 64%, rgba(0, 0, 0, .66));
  opacity: 1;
  pointer-events: none;
  transition: opacity .34s ease;
}

.radio-loading-overlay[hidden] { display: none; }

.radio-loading-overlay.is-leaving { opacity: 0; }

.radio-loading-pulse {
  position: relative;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(151, 94, 34, .4);
  border-top-color: #f2c97f;
  border-right-color: #c68136;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(224, 150, 57, .18), inset 0 0 10px rgba(194, 112, 35, .1);
  animation: radio-loading-spin 1.05s linear infinite;
}

.radio-loading-pulse::after {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(239, 190, 111, .52);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(225, 151, 54, .22);
  content: "";
  animation: radio-loading-heartbeat 1.25s ease-in-out infinite;
}

.radio-loading-text {
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .28em;
  line-height: 1;
  text-shadow: 0 0 9px rgba(234, 177, 86, .4), 0 2px 4px rgba(0, 0, 0, .9);
}

@keyframes radio-loading-spin {
  to { transform: rotate(360deg); }
}

@keyframes radio-loading-heartbeat {
  0%, 100% { opacity: .38; transform: scale(.72); }
  50% { opacity: 1; transform: scale(1); }
}

.radio-pause-badge {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 72px;
  pointer-events: none;
  filter: sepia(.22) saturate(1.25) drop-shadow(0 8px 12px rgba(0, 0, 0, .74)) drop-shadow(0 0 8px rgba(205, 133, 48, .18));
  opacity: .64;
  transform: translate(-50%, -50%);
}

.radio-pause-badge[hidden] { display: none; }

.radio-pause-badge::before,
.radio-pause-badge::after {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 19px;
  border: 1px solid rgba(221, 171, 96, .5);
  border-radius: 7px;
  background: linear-gradient(105deg, rgba(74, 34, 13, .9), rgba(191, 126, 48, .9) 27%, rgba(226, 178, 96, .9) 49%, rgba(137, 74, 26, .9) 74%, rgba(61, 28, 11, .9));
  box-shadow: inset 2px 0 3px rgba(255, 247, 213, .35), inset -3px 0 4px rgba(64, 27, 8, .55), 0 5px 9px rgba(0, 0, 0, .38);
  content: "";
}

.radio-pause-badge::before { left: 5px; }
.radio-pause-badge::after { right: 5px; }

.radio-now-copy {
  position: relative;
  min-width: 0;
  text-align: center;
}

.radio-now-heading {
  position: relative;
  height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 0 52px;
}

.radio-now-heading > div:first-child {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: 12px 44px;
  gap: 8px;
}

.radio-now-heading h2,
.radio-now-heading p {
  margin: 0;
}

.radio-now-heading h2 {
  width: 100%;
  min-width: 0;
  height: 44px;
  overflow: hidden;
  display: grid;
  align-content: center;
  color: #f1c984;
  font-size: clamp(.82rem, 3vw, 1rem);
  font-weight: 700;
  letter-spacing: .25em;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.radio-now-heading h2.is-long-title {
  font-size: clamp(.68rem, 2.4vw, .78rem);
  letter-spacing: .16em;
}

.radio-now-heading p {
  margin-bottom: 0;
  line-height: 12px;
  color: #916d45;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.radio-heart-rating {
  position: absolute;
  z-index: 16;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  transition: opacity .32s ease;
}

.radio-heart-button {
  position: relative;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  color: #80552f;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .62));
  transition: color .24s ease, filter .24s ease, transform .24s ease;
}

.radio-heart-button:hover,
.radio-heart-button:focus-visible,
.radio-heart-rating.is-open .radio-heart-button {
  color: #c99552;
  filter: drop-shadow(0 0 6px rgba(207, 133, 47, .25));
  outline: 0;
  transform: scale(1.07);
}

.radio-heart-button svg {
  display: block;
  width: 47px;
  height: 47px;
  margin-inline: auto;
  overflow: visible;
}

.radio-heart-body {
  fill: transparent;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: .95;
  transition: fill .25s ease, stroke .25s ease;
}

.radio-heart-shine {
  fill: none;
  stroke: rgba(239, 202, 133, .58);
  stroke-linecap: round;
  stroke-width: .65;
  opacity: 0;
}

.radio-heart-crack {
  fill: none;
  stroke: #2a1208;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  opacity: 0;
}

.radio-heart-button.is-rated {
  color: #d49a4c;
  filter: drop-shadow(0 0 6px rgba(205, 129, 43, .28)) drop-shadow(0 4px 4px rgba(0, 0, 0, .6));
}

.radio-heart-button.is-rated .radio-heart-body {
  fill: url(#radioHeartMainGold);
  stroke: #dca65d;
  stroke-width: .75;
}

.radio-heart-button.is-rated .radio-heart-shine { opacity: .88; }

.radio-heart-button.is-broken {
  color: #b77739;
}

.radio-heart-button.is-broken .radio-heart-body {
  fill: rgba(79, 35, 18, .76);
  stroke: #381b10;
  stroke-width: 1.05;
}

.radio-heart-button.is-broken .radio-heart-crack { opacity: 1; }

.radio-heart-button > span {
  position: absolute;
  z-index: 2;
  top: 40%;
  left: 50%;
  color: #2a1307;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 232, 179, .35);
  transform: translate(-50%, -50%);
}

.radio-heart-button[data-rating-value="10"] > span {
  top: 44%;
}

.radio-heart-button.is-unrated > span {
  top: 48%;
  color: #9a6b3b;
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: .92;
  text-shadow: none;
  white-space: pre-line;
}

.radio-heart-picker {
  position: absolute;
  right: 3px;
  bottom: calc(100% + 5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 3px 1px;
}

.radio-heart-picker[hidden] { display: none; }

.radio-heart-choice {
  position: relative;
  width: 37px;
  height: 34px;
  padding: 0;
  border: 0;
  color: var(--heart-tone, #9b5d2b);
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .72));
  opacity: .92;
}

.radio-heart-choice:hover,
.radio-heart-choice:focus-visible {
  filter: brightness(1.18) drop-shadow(0 0 5px rgba(207, 132, 43, .3));
  outline: 0;
  opacity: 1;
}

.radio-heart-choice svg {
  display: block;
  width: 35px;
  height: 35px;
  margin-inline: auto;
  overflow: visible;
}

.radio-heart-choice svg > path:first-child {
  fill: currentColor;
  stroke: #cc914a;
  stroke-width: .35;
}

.heart-choice-relief {
  fill: url(#radioHeartChoiceRelief);
  pointer-events: none;
}

.heart-choice-crack {
  fill: none;
  stroke: #3c1d11;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  opacity: 0;
}

.radio-heart-choice.is-broken-choice svg > path:first-child {
  fill: #4f2817;
  stroke: #3f2013;
}

.radio-heart-choice.is-broken-choice .heart-choice-crack { opacity: 1; }

.radio-heart-choice.is-broken-choice > span {
  --guide-number-rest: #c19d62;
  color: var(--guide-number-rest);
  text-shadow: 0 1px 2px rgba(13, 5, 2, .96);
}

.radio-heart-choice > span {
  --guide-number-rest: #2a1408;
  position: absolute;
  top: 47%;
  left: 50%;
  color: #2a1408;
  font-size: .73rem;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.radio-heart-choice[data-heart-rating="10"] > span,
.radio-heart-choice[data-carousel-rating="10"] > span {
  margin-top: -1px;
  margin-left: -1px;
}

.radio-heart-choice[data-heart-rating="2"] > span {
  --guide-number-rest: #d8aa70;
  color: var(--guide-number-rest);
  text-shadow: 0 1px 2px rgba(13, 5, 2, .9);
}

.radio-heart-picker.is-guiding .radio-heart-choice {
  z-index: 1;
  animation: radio-heart-choice-guide .54s ease-in-out var(--guide-delay) both;
}

.radio-heart-picker.is-guiding .radio-heart-choice > span {
  animation: radio-heart-number-guide .54s ease-in-out var(--guide-delay) both;
}

.radio-heart-picker.is-guiding .radio-heart-choice.is-broken-choice > span {
  visibility: hidden;
  animation: none;
}

.radio-heart-picker.is-guiding .radio-heart-choice.is-broken-choice svg > path:first-child {
  animation: radio-broken-heart-guide .54s ease-in-out var(--guide-delay) both;
}

.radio-rating-message {
  position: absolute;
  z-index: 22;
  top: 42%;
  left: 50%;
  width: 82%;
  padding: 0;
  color: #e1ad61;
  background: none;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: calc(clamp(1.9rem, 7.2vw, 2.14rem) * var(--rating-font-scale, 1));
  font-style: italic;
  font-weight: 800;
  letter-spacing: .025em;
  text-align: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .94)) drop-shadow(0 0 7px rgba(224, 158, 65, .3));
  -webkit-text-fill-color: currentColor;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.88);
}

.rating-line {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.16;
  white-space: nowrap;
}

.rating-line.is-second-line {
  padding-left: 0;
}

.radio-rating-message.is-visible {
  animation: radio-rating-message 4s linear both;
}

.rating-letter {
  display: inline-block;
  color: #f2c77f;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .9), 0 0 7px rgba(210, 133, 42, .28);
  -webkit-text-fill-color: currentColor;
  will-change: transform, opacity;
}

.radio-rating-message.is-visible .rating-letter {
  animation: rating-letter-arrive .4s ease var(--letter-delay) both;
}

.radio-rating-message.is-bursting .rating-letter {
  animation: rating-letter-burst .95s cubic-bezier(.18, .62, .3, 1) var(--burst-delay) forwards;
}

.radio-heart-flight {
  position: absolute;
  z-index: 23;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

/* The speaker cutout sits on top of (and so blocks) the glass-reflection
   highlight on the phone's screen (.phone::before) in the normal radio view,
   which looked like a stray black patch where the reflection should
   continue. Hidden here only (not in assets/phone-layout.css, so every
   other page keeps its speaker); the dedicated landscape-wide-viewport
   speaker position further below is untouched and still shows. */
.radio-page:not(.is-landscape-track.is-wide-viewport) .speaker {
  display: none;
}

.radio-flying-heart {
  position: absolute;
  right: 48px;
  bottom: 174px;
  width: 29px;
  height: 29px;
  color: #c98535;
  filter: drop-shadow(0 0 5px rgba(207, 133, 43, .34)) drop-shadow(0 3px 3px rgba(0, 0, 0, .48));
  opacity: 0;
  animation: radio-heart-fly 3s linear var(--flight-delay) forwards;
}

.radio-flying-heart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.radio-flying-heart svg > path:first-child {
  fill: currentColor;
  stroke: #d39a51;
  stroke-width: .35;
}

@keyframes heart-choice-open {
  from { opacity: 0; transform: translateY(8px) scale(.7); }
  to { opacity: .88; transform: translateY(0) scale(1); }
}

@keyframes radio-heart-choice-guide {
  0%, 100% {
    z-index: 1;
    color: var(--heart-tone, #9b5d2b);
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .72));
    transform: scale(1);
  }
  0% { opacity: 0; visibility: hidden; transform: scale(.55); }
  20%, 68% {
    z-index: 4;
    color: #f0c474;
    filter: brightness(1.16) drop-shadow(0 0 8px rgba(245, 194, 105, .72)) drop-shadow(0 4px 4px rgba(0, 0, 0, .72));
    opacity: 1;
    visibility: visible;
    transform: scale(1.38);
  }
  100% { opacity: .92; visibility: visible; }
}

@keyframes radio-heart-number-guide {
  0%, 100% { color: var(--guide-number-rest, #2a1408); }
  20%, 68% { color: #241105; text-shadow: 0 1px 0 rgba(255, 234, 184, .45); }
}

@keyframes radio-broken-heart-guide {
  0%, 100% { fill: #4f2817; stroke: #3f2013; }
  20%, 68% { fill: #f0c474; stroke: #ffe1a2; }
}

@keyframes radio-rating-message {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
  8%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes rating-letter-arrive {
  from { opacity: 0; transform: translateY(8px) scale(.82); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rating-letter-burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
  72% { opacity: .92; }
  100% {
    opacity: 0;
    transform: translate(var(--burst-x), var(--burst-y)) rotate(var(--burst-rotate)) scale(.28);
  }
}

@keyframes radio-heart-fly {
  0% { opacity: 0; transform: translate(0, 0) rotate(var(--flight-rotate-a, 0deg)) scale(.45); }
  3% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--flight-x) + var(--flight-drift)), -65vh) rotate(var(--flight-rotate-b, 0deg)) scale(var(--flight-scale)); }
}

@keyframes radio-heart-fly-landscape {
  0% { opacity: 0; transform: translate(0, 0) rotate(var(--flight-rotate-a, 0deg)) scale(.65); }
  8% { opacity: .94; }
  80% { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(var(--flight-x) + var(--flight-drift)), -365px) rotate(var(--flight-rotate-b, 0deg)) scale(var(--flight-scale)); }
}

.radio-flying-heart.is-landscape-flight {
  animation-name: radio-heart-fly-landscape;
  animation-duration: 3.35s;
  animation-timing-function: linear;
}

.radio-now-favorite {
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
}

.radio-now-favorite .favorite-button {
  width: 34px;
  height: 34px;
}

.radio-now-favorite .favorite-button svg {
  width: 27px;
  height: 27px;
}

.radio-now-rating {
  min-height: 25px;
  display: grid;
  place-items: center;
}

.radio-now-rating .score-row {
  justify-content: center;
  margin-top: 0;
  opacity: 1;
}

.radio-now-progress {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  color: #745737;
  font-size: .58rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
}

.radio-now-progress .radio-progress-range {
  width: 100%;
  height: 12px;
  margin: 0;
  appearance: none;
  background: transparent;
  -webkit-appearance: none;
}

/* Match the release player's focused time display without moving the row. */
.radio-now-progress span {
  transition: color .45s ease, font-size .45s ease, text-shadow .45s ease;
}

.radio-page.is-playback-focused .radio-now-progress span {
  color: #edc985;
  font-size: .7rem;
  font-weight: 600;
  text-shadow: 0 0 7px rgba(235, 181, 92, .28);
}

.radio-now-progress .radio-progress-range::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8f5424, #f3c677 48%, #7a451e);
  box-shadow: 0 0 5px rgba(222, 155, 67, .34);
}

.radio-now-progress .radio-progress-range::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border: 1px solid #ffe6ae;
  border-radius: 50%;
  appearance: none;
  background: #e7b861;
  box-shadow: 0 0 8px rgba(240, 180, 82, .72);
  -webkit-appearance: none;
}

.radio-now-progress .radio-progress-range::-moz-range-track {
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: #75451f;
}

.radio-now-progress .radio-progress-range::-moz-range-progress {
  height: 2px;
  border-radius: 999px;
  background: #efbd68;
}

.radio-now-progress .radio-progress-range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 1px solid #ffe6ae;
  border-radius: 50%;
  background: #e7b861;
  box-shadow: 0 0 8px rgba(240, 180, 82, .72);
}

.radio-now-controls {
  min-height: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 13px;
}

.radio-now-controls,
.radio-now-controls::before,
.radio-now-controls::after,
.radio-now-controls .transport-step,
.radio-now-controls .transport-step::before,
.radio-now-controls .transport-step::after {
  background-image: none !important;
}

.radio-now-controls::before,
.radio-now-controls::after,
.radio-now-controls .transport-step::before,
.radio-now-controls .transport-step::after {
  display: none !important;
  content: none !important;
}

.radio-now-controls .transport-button {
  background: radial-gradient(ellipse at 28% 12%, rgba(255, 231, 172, .36), transparent 48%), linear-gradient(155deg, #8d5827 0%, #c08a45 18%, #583417 47%, #241407 76%, #855020 100%);
}

.radio-now-controls .transport-pause,
.radio-now-controls .transport-stop {
  background: linear-gradient(160deg, rgba(48, 29, 14, .48), rgba(9, 6, 4, .54));
}

.radio-now-controls .transport-button {
  width: 44px;
  height: 36px;
}

.transport-step {
  width: 44px;
  height: 36px;
  display: block;
}

.transport-cover {
  position: absolute;
  z-index: 1;
  inset: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  display: block;
  object-fit: cover;
  border: 0;
  border-radius: inherit;
  background: #090604;
  box-shadow: none;
  filter: saturate(.82) sepia(.12) brightness(.58) contrast(1.14);
  opacity: .86;
  pointer-events: none;
}

.radio-status {
  min-height: 12px;
  margin: 0;
  overflow: hidden;
  color: #9a7243;
  font-size: .49rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radio-current-title {
  min-height: 14px;
  margin: 1px 8px 0;
  overflow: hidden;
  color: #e3b86f;
  font-size: clamp(.63rem, 2.5vw, .76rem);
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.radio-screen > .impressum-link {
  z-index: 14;
  display: block;
  opacity: 1;
}

.radio-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .73rem 1.09rem .67rem;
  border: 1px solid rgba(225, 180, 108, .42);
  border-radius: 999px;
  color: #d5ae70;
  background: rgba(20, 12, 7, .7);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .35);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
  background-clip: padding-box;
}

.radio-action::after,
.radio-backstage::before {
  display: none;
  content: none;
}

.radio-back {
  gap: 9px;
  padding-left: 1.04rem;
}

.radio-back::before {
  width: 9px;
  height: 9px;
  display: block;
  border-bottom: 2px solid #e9bd70;
  border-left: 2px solid #e9bd70;
  border-radius: 1px;
  content: "";
  filter: drop-shadow(0 0 3px rgba(239, 181, 91, .42));
  transform: rotate(45deg);
}

.radio-action:hover,
.radio-action:focus-visible {
  border-color: rgba(243, 205, 141, .78);
  color: #f2cf91;
}

@keyframes radio-breath {
  0%, 100% { opacity: .84; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes guide-to-back {
  0% { opacity: .16; translate: -50% 28px; scale: 1.05; }
  12%, 76% { opacity: .94; }
  100% { opacity: 0; translate: -50% -205px; scale: .22; }
}

@keyframes guide-to-front {
  0% { opacity: .14; translate: -50% -18px; scale: .45; }
  12%, 76% { opacity: .92; }
  100% { opacity: 0; translate: -50% 205px; scale: 1.08; }
}

@keyframes genre-arrow-left {
  0% { opacity: .12; translate: 0 0; scale: 1.08; }
  12%, 76% { opacity: .92; }
  100% { opacity: 0; translate: -178px 0; scale: .35; }
}

@keyframes genre-arrow-right {
  0% { opacity: .12; translate: 0 0; scale: .48; }
  12%, 76% { opacity: .92; }
  100% { opacity: 0; translate: 178px 0; scale: 1.08; }
}

@keyframes genre-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Lightweight horizontal cover carousel. Fixed slots avoid continuous size calculations. */
.wheel-stage,
.wheel-stage.is-interacting {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: 18px 16px minmax(0, 1fr);
  gap: 2px;
  overflow: hidden;
  transform: none;
}

.radio-song-count {
  position: relative;
  z-index: 12;
  align-self: center;
  margin: 0;
  color: #a77b48;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .25em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(3px);
}

.wheel-stage > .radio-status {
  position: relative;
  z-index: 12;
  min-height: 0;
  align-self: center;
  margin: 0;
  overflow: visible;
  color: #a77b48;
  font-size: .53rem;
  letter-spacing: .22em;
  line-height: 1;
  opacity: .72;
  text-shadow: 0 0 0 rgba(235, 180, 91, 0);
}

.wheel-stage > .radio-status.is-cover-pulse {
  animation: radio-choice-pulse 1.4s ease both;
}

@keyframes radio-choice-pulse {
  0% { color: #9a7243; opacity: .62; text-shadow: 0 0 0 rgba(235, 180, 91, 0); }
  42% { color: #f0c77e; opacity: 1; text-shadow: 0 0 8px rgba(235, 180, 91, .36); }
  100% { color: #b68a50; opacity: .8; text-shadow: 0 0 3px rgba(235, 180, 91, .12); }
}

.song-wheel,
.song-wheel.is-auto-demo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.song-wheel.is-dragging { cursor: grabbing; }

.radio-cover-strip-card,
.radio-cover-strip-card.is-center {
  position: absolute;
  top: 50%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(205, 148, 76, .32);
  border-radius: 9px;
  background: #080504;
  box-shadow: 0 7px 16px rgba(0, 0, 0, .48);
  cursor: pointer;
  filter: brightness(.55) saturate(.7);
  opacity: .5;
  transform: translateY(-50%);
  transform-origin: center;
  transition:
    left .92s cubic-bezier(.3, .72, .24, 1),
    width .92s cubic-bezier(.3, .72, .24, 1),
    height .92s cubic-bezier(.3, .72, .24, 1),
    border-color .92s ease,
    filter .92s ease,
    opacity .92s ease,
    box-shadow .92s ease;
}

.radio-cover-strip-card img {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
  -webkit-user-drag: none;
}

.radio-cover-strip-card[data-slot="0"] img {
  inset: -7%;
  width: 114%;
  height: 114%;
  object-position: 48% 50%;
}

.radio-cover-strip-card[data-slot="-4"] { left: -12%; width: 5%; height: 46%; opacity: 0; }
.radio-cover-strip-card[data-slot="-3"] { z-index: 1; left: -1%; width: 7%; height: 52%; opacity: .24; }
.radio-cover-strip-card[data-slot="-2"] { z-index: 2; left: 8%; width: 10%; height: 63%; opacity: .4; }
.radio-cover-strip-card[data-slot="-1"] { z-index: 3; left: 20%; width: 15%; height: 76%; opacity: .64; }
.radio-cover-strip-card[data-slot="0"] {
  z-index: 6;
  left: 37%;
  width: 26%;
  height: 90%;
  border-width: 2px;
  border-color: rgba(235, 185, 107, .66);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(222, 144, 43, .16), 0 10px 22px rgba(0, 0, 0, .62);
  filter: brightness(.98) saturate(.94);
  opacity: 1;
}
.radio-cover-strip-card[data-slot="1"] { z-index: 3; left: 65%; width: 15%; height: 76%; opacity: .64; }
.radio-cover-strip-card[data-slot="2"] { z-index: 2; left: 82%; width: 10%; height: 63%; opacity: .4; }
.radio-cover-strip-card[data-slot="3"] { z-index: 1; left: 94%; width: 7%; height: 52%; opacity: .24; }
.radio-cover-strip-card[data-slot="4"] { left: 107%; width: 5%; height: 46%; opacity: 0; }

.radio-cover-strip-card.is-playing[data-slot="0"] {
  border-color: rgba(255, 211, 131, .9);
  box-shadow: 0 0 19px rgba(224, 143, 45, .24), 0 10px 22px rgba(0, 0, 0, .62);
}

/* The radio player's landscape mode uses the same centered phone stage. */
.radio-page.is-landscape-track.is-wide-viewport .phone-stage {
  width: 824px;
  padding: 0 18px;
}

.radio-page.is-landscape-track.is-wide-viewport.is-playback-focused .phone-stage {
  transform: translate(-50%, -50%) scale(var(--landscape-scale, .8));
}

.radio-page.is-landscape-track.is-portrait-viewport.is-playback-focused .phone-stage {
  transform: translate(-50%, -50%) rotate(90deg) scale(var(--landscape-scale, .8));
}

.radio-page.is-landscape-track.is-wide-viewport .phone-shell {
  width: 788px;
  height: 402px;
  aspect-ratio: auto;
  border-radius: 66px;
}

.radio-page.is-landscape-track.is-wide-viewport .speaker {
  top: 50%;
  left: 13px;
  width: 24px;
  height: 34%;
  border-radius: 0 18px 18px 0;
  transform: translateY(-50%);
}

.radio-page.is-landscape-track.is-wide-viewport .side-volume-up,
.radio-page.is-landscape-track.is-wide-viewport .side-volume-down {
  top: -6px;
  width: 62px;
  height: 8px;
  border: 1px solid rgba(255, 225, 170, .52);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #3b210f 0, #aa6d2f 22%, #f2c879 49%, #8b501f 75%, #2a170c 100%);
  box-shadow: 0 3px 7px rgba(0, 0, 0, .72), inset 0 1px rgba(255, 236, 191, .42), inset 0 -1px rgba(38, 18, 8, .78);
}

.radio-page.is-landscape-track.is-wide-viewport .side-volume-up { left: 22%; }
.radio-page.is-landscape-track.is-wide-viewport .side-volume-down { left: 33%; }
.radio-page.is-landscape-track.is-wide-viewport .side-power {
  top: -6px;
  right: 22%;
  width: 101px;
  height: 8px;
  border: 1px solid rgba(255, 225, 170, .52);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #3b210f 0, #aa6d2f 22%, #f2c879 49%, #8b501f 75%, #2a170c 100%);
  box-shadow: 0 3px 7px rgba(0, 0, 0, .72), inset 0 1px rgba(255, 236, 191, .42), inset 0 -1px rgba(38, 18, 8, .78);
}

.radio-page.is-landscape-track.is-wide-viewport .side-button::after {
  top: 1px;
  right: 5px;
  bottom: auto;
  left: 5px;
  width: auto;
  height: 1px;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-playing {
  inset: 12px 28px 12px 48px;
  grid-template-rows: minmax(0, 1fr) 34px 16px 36px;
  gap: 6px;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-media-window img,
.radio-page.is-landscape-track.is-wide-viewport .radio-media-window video {
  object-fit: cover;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-heading {
  height: 34px;
  padding: 0 56px;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-heading > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-heading p {
  flex: none;
  font-size: .53rem;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-heading h2 {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  font-size: .84rem;
  letter-spacing: .16em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-heart-rating {
  position: fixed;
  top: auto;
  right: 44px;
  bottom: 14px;
  transform: none;
}

/* Landscape media rotates the virtual phone; no manual-turn prompt is shown. */
.radio-rotate-hint { display: none; }

.radio-page.is-landscape-track:not(.is-wide-viewport) .radio-media-window img,
.radio-page.is-landscape-track:not(.is-wide-viewport) .radio-media-window video {
  object-fit: contain;
}

/* In landscape the movie fills the display and controls float above it. */
.radio-page.is-landscape-track.is-wide-viewport .radio-now-playing {
  inset: 0;
  display: block;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-media-window {
  position: absolute;
  inset: 0;
  border-radius: 55px;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-copy,
.radio-page.is-landscape-track.is-wide-viewport .radio-now-progress,
.radio-page.is-landscape-track.is-wide-viewport .radio-now-controls {
  position: absolute;
  z-index: 9;
  transition: opacity .32s ease;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-copy {
  z-index: 12;
  top: 8px;
  right: 16px;
  left: 44px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .1));
  pointer-events: none;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-heart-rating,
.radio-page.is-landscape-track.is-wide-viewport .radio-heart-button {
  pointer-events: auto;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-heart-picker {
  top: auto;
  bottom: calc(100% + 4px);
  right: 3px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 1px;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-heart-choice { height: 30px; }

.radio-page.is-landscape-track.is-wide-viewport .radio-heart-picker[hidden] { display: none; }

.radio-page.is-landscape-track.is-wide-viewport .radio-flying-heart {
  right: 60px;
  bottom: 54px;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-progress {
  right: auto;
  bottom: 64px;
  left: 50%;
  box-sizing: border-box;
  width: 70%;
  height: 27px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(8, 5, 3, .68);
  transform: translateX(-50%);
}

.radio-page.is-landscape-track.is-wide-viewport .radio-lyrics {
  right: 15%;
  bottom: 64px;
  left: 15%;
  min-height: 27px;
  height: 27px;
  align-items: center;
  padding: 3px 14px;
  border-radius: 10px;
  background: rgba(8, 5, 3, .68);
}

.radio-page.is-landscape-track.is-wide-viewport .radio-lyrics-line {
  font-size: clamp(12px, 1.6vw, 16px);
  line-height: 1.2;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-playing:not(.is-controls-hidden) .radio-lyrics.is-active {
  opacity: .38;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-controls {
  right: 0;
  bottom: 5px;
  left: 0;
  height: 42px;
  min-height: 0;
  align-items: center;
  background: radial-gradient(ellipse at center, rgba(8, 5, 3, .72), transparent 70%);
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-controls .transport-button {
  width: 42px;
  height: 36px;
  border-color: rgba(226, 174, 97, .72);
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-playing.is-controls-hidden .radio-now-progress,
.radio-page.is-landscape-track.is-wide-viewport .radio-now-playing.is-controls-hidden .radio-now-controls,
.radio-page.is-landscape-track.is-wide-viewport .radio-now-playing.is-controls-hidden .radio-heart-rating {
  opacity: 0;
  pointer-events: none;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-playing.is-controls-hidden .radio-now-copy {
  background: transparent;
}

.radio-page.is-landscape-track.is-wide-viewport .radio-now-playing.is-controls-hidden .radio-now-heading > div:first-child {
  opacity: 0;
}

.radio-carousel-rating {
  position: absolute;
  z-index: 18;
  right: 3px;
  bottom: 2px;
}

.radio-carousel-heart-control {
  position: relative;
}

.radio-carousel-heart-button {
  position: relative;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  color: #80552f;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .7));
}

.radio-carousel-heart-button svg {
  display: block;
  width: 47px;
  height: 47px;
  margin-inline: auto;
  overflow: visible;
}

.radio-carousel-heart-button svg > path:first-child {
  fill: transparent;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: .95;
}

.radio-carousel-heart-button .heart-choice-relief { opacity: 0; }

.radio-carousel-heart-button.is-rated svg > path:first-child {
  fill: #bd7d33;
  stroke: #e0aa60;
  stroke-width: .75;
}

.radio-carousel-heart-button.is-rated .heart-choice-relief { opacity: 1; }

.radio-carousel-heart-button.is-broken svg > path:first-child {
  fill: #4f2312;
  stroke: #381b10;
  stroke-width: 1.05;
}

.radio-carousel-heart-button.is-broken .heart-choice-crack { opacity: 1; }

.radio-carousel-heart-value {
  position: absolute;
  z-index: 2;
  top: 40%;
  left: 50%;
  color: #291307;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.radio-carousel-heart-button[data-rating-value="10"] .radio-carousel-heart-value {
  margin-top: -2px;
  margin-left: -1px;
}

.radio-carousel-heart-button.is-unrated .radio-carousel-heart-value {
  top: 48%;
  color: #9a6b3b;
  font-size: .48rem;
  letter-spacing: .08em;
  line-height: .92;
  white-space: pre-line;
}

.radio-carousel-heart-picker {
  position: absolute;
  right: 4px;
  bottom: calc(100% + 3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.radio-carousel-heart-picker[hidden] { display: none; }

.radio-swipe-hint {
  top: auto;
  right: auto;
  bottom: 1px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 5px;
  transform: translateX(-50%);
}

.radio-swipe-hint > span:nth-child(2) { writing-mode: horizontal-tb; }

.swipe-hint-left::before { content: "‹"; }
.swipe-hint-right::before { content: "›"; }

.swipe-hint-left,
.swipe-hint-right {
  width: auto;
  height: auto;
  border: 0;
  color: #c28c4c;
  font-size: .75rem;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .wheel-guide,
  .genre-guide { display: none; }
  .genre-track { animation: none; }
  .radio-cover-strip-card { transition-duration: .01ms; }
  .radio-loading-pulse,
  .radio-loading-pulse::after { animation: none; }
  .radio-media-window img.is-playing-breath { animation: none; }
}
.preview-no-hearts #radioHeartRating, .preview-no-hearts #radioCarouselRating { display: none !important; }
/* CHB / V 01.26: no rating before a song is started (carousel); Friends/Customer preview may show the heart. */
.radio-carousel-rating { display: none !important; }
.is-cockpit-preview.preview-hearts .radio-heart-rating { display: block !important; }
