:root {
  --bg: #f6f1e8;
  --paper: #eee5d6;
  --ink: #2e2721;
  --muted: #6b5e52;
  --line: #d8c8b6;
  --accent: #d46b41;
  --accent-dark: #9b4628;
  --radio-border: #8d7358;
  --shadow: 0 24px 70px rgba(77, 56, 36, 0.24);
  --knob-rotation: 81deg;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  padding-bottom: 68px;
  background:
    radial-gradient(circle at 18% 10%, rgba(212, 107, 65, 0.12), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(153, 106, 66, 0.12), transparent 24%),
    linear-gradient(135deg, #faf7ef, #e9dfd1);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 54px);
  pointer-events: none;
}

.logo,
.top-actions {
  pointer-events: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #261d18;
  font-family: "Noto Serif", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo i {
  position: relative;
  width: 16px;
  height: 30px;
  border: 3px solid var(--accent);
  border-radius: 999px 999px 7px 7px;
}

.logo i::before,
.logo i::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo i::before {
  bottom: -10px;
  width: 3px;
  height: 11px;
  background: var(--accent);
}

.logo i::after {
  bottom: -14px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-btn {
  display: grid;
  place-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #2c211b;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2c211b;
  font-size: 12px;
  font-weight: 800;
}

.live-badge b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4757;
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.7);
}

.listen-btn,
.ghost-btn {
  min-height: 38px;
  border: 1px solid rgba(129, 67, 38, 0.22);
  border-radius: 8px;
  background: linear-gradient(#df7b4a, #b8522f);
  color: #fff9ef;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(180, 82, 47, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.listen-btn {
  padding: 0 18px;
}

.listen-btn:hover,
.ghost-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 78dvh;
  place-items: center;
  overflow: hidden;
  padding: 112px 18px 76px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 245, 240, 0.82), rgba(247, 245, 240, 0.58), rgba(247, 245, 240, 0.78)),
    repeating-linear-gradient(100deg, rgba(59, 46, 38, 0.08) 0 1px, transparent 1px 18px);
  z-index: 1;
}

.street-scene {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #d9c7ad 0 42%, #9aa0a1 43% 46%, #333634 47%),
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(255, 255, 255, 0.18) 29px 42px);
}

.street-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(32, 29, 27, 0.35) 37px 40px),
    radial-gradient(circle at 70% 25%, rgba(255, 235, 190, 0.58), transparent 9%),
    radial-gradient(circle at 82% 34%, rgba(255, 235, 190, 0.42), transparent 7%);
  opacity: 0.55;
}

.sun {
  position: absolute;
  left: 16%;
  top: 30%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd9a0, #c5774d);
  opacity: 0.62;
}

.walker {
  position: absolute;
  left: 24%;
  bottom: 18%;
  width: 22px;
  height: 74px;
  border-radius: 999px 999px 8px 8px;
  background: #161514;
}

.walker::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #161514;
}

.lamp {
  position: absolute;
  right: 18%;
  top: 28%;
  width: 8px;
  height: 240px;
  background: #27221d;
}

.lamp::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -28px;
  width: 56px;
  height: 48px;
  border-radius: 28px 28px 12px 12px;
  background: radial-gradient(circle, #ffe5a8 0 10px, #2a211a 11px 23px, transparent 24px);
}

.road {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background:
    repeating-linear-gradient(150deg, transparent 0 34px, rgba(255, 255, 255, 0.22) 35px 54px),
    linear-gradient(#41423f, #232321);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  text-align: center;
}

.radio-player {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(760px, 100%);
  margin: 0 auto 34px;
  padding: 22px 28px;
  border: 6px solid var(--radio-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 38%),
    linear-gradient(#eee4d4, #cfc0ab);
  box-shadow: var(--shadow), inset 0 2px 8px rgba(255, 255, 255, 0.85), inset 0 -8px 18px rgba(111, 84, 59, 0.16);
}

.knob-wrap {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.knob {
  position: relative;
  width: 72px;
  height: 72px;
  border: 3px solid #a89f91;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 27%, #fff9ea 0 9px, transparent 10px),
    radial-gradient(circle, #dcd7cc 0 18px, #8d8375 19px 26px, transparent 27px),
    repeating-conic-gradient(#5c554c 0 8deg, #dfd7cb 9deg 18deg);
  box-shadow: 2px 7px 14px rgba(0, 0, 0, 0.22), inset 0 2px 6px rgba(255, 255, 255, 0.9);
  cursor: grab;
  transform: rotate(var(--knob-rotation));
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.knob.grabbing {
  cursor: grabbing;
  transition: none;
  box-shadow: 2px 7px 18px rgba(0, 0, 0, 0.32), inset 0 2px 6px rgba(255, 255, 255, 0.9);
}

.knob::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 5px;
  height: 17px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
}

.knob-wrap span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.radio-core {
  min-width: 0;
}

.screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  margin-bottom: 15px;
  padding: 0 16px;
  border: 1px solid #a3b093;
  border-radius: 7px;
  background: linear-gradient(#d5dfc7, #b6c3a4);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.22), 0 1px 1px rgba(255, 255, 255, 0.7);
}

.screen strong,
.screen time {
  overflow: hidden;
  color: #2a3325;
  font-family: "Courier New", monospace;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.screen time {
  font-size: 12px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.play-toggle {
  position: relative;
  width: 92px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(#df7d4d, #b3512e);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -1px -1px 3px rgba(255, 255, 255, 0.2), 0 7px 14px rgba(124, 69, 42, 0.18);
  cursor: pointer;
}

.play-toggle span {
  position: absolute;
  top: 5px;
  left: 5px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  font-weight: 900;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, color 0.25s ease;
}

.playing .play-toggle span {
  transform: translateX(50px);
}

.ctrl-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.88), transparent 22%),
    linear-gradient(#ffffff, #cfc7bb);
  color: var(--accent);
  font-weight: 900;
  box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.16), inset 1px 1px 2px rgba(255, 255, 255, 1);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.ctrl-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.ctrl-btn:active,
.play-toggle:active {
  transform: translateY(2px) scale(0.98);
}

.desktop-link-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.ghost-btn {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  color: #2e2721;
}

.desktop-progress-area {
  width: min(420px, 100%);
  margin: 16px auto 0;
}

.seek-input {
  --seek-progress: 0%;
  width: 100%;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #c65f34 0 var(--seek-progress), rgba(34, 23, 16, 0.18) var(--seek-progress) 100%);
  cursor: pointer;
  outline: none;
  touch-action: pan-x;
}

.seek-input:disabled {
  cursor: default;
  opacity: 0.55;
}

.seek-input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid rgba(65, 40, 24, 0.64);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(#f8ead1, #d49a63);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

.seek-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(65, 40, 24, 0.64);
  border-radius: 50%;
  background: #e5b174;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

blockquote {
  margin: 0 auto;
  max-width: 650px;
  color: #37302b;
  font-family: "Noto Serif", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.mood-corner {
  padding: 58px clamp(18px, 5vw, 56px) 74px;
  background: #ede9df;
  border-top: 1px solid #dcd1be;
}

.section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.section-heading span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-heading h1 {
  margin: 6px 0 0;
  font-family: "Noto Serif", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 28px;
}

.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.episode-list button {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  min-height: 238px;
  overflow: hidden;
  padding: 18px;
  border: 0;
  border-radius: 10px;
  background: #292927;
  color: #fff6e9;
  text-align: left;
  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.episode-list button:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.18);
}

.episode-list button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--art);
}

.episode-list button::after {
  content: "";
  position: absolute;
  top: 7%;
  right: -32%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0e0d0c 0 20px, #31302d 21px 24px, #0f0f0e 25px 58%, #292927 59%);
  box-shadow: inset 0 0 0 8px #151515, inset 0 0 0 13px #2c2c2c;
  opacity: 0.92;
  transition: right 0.24s ease;
}

.episode-list button:hover::after {
  right: -38%;
}

.episode-list strong,
.episode-list span {
  position: relative;
  z-index: 1;
}

.episode-list strong {
  font-size: 17px;
  line-height: 1.25;
}

.episode-list span {
  margin-top: 5px;
  color: #f7d6bc;
  font-size: 12px;
  font-weight: 700;
}

.episode-list li:nth-child(3n+1) button {
  --art:
    radial-gradient(circle at 45% 60%, #171514 0 18px, transparent 19px),
    linear-gradient(180deg, #d29462 0 42%, #4e6a70 43% 48%, #131719 49%);
}

.episode-list li:nth-child(3n+2) button {
  --art:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 55% 45%, rgba(255, 255, 255, 0.26), transparent 16%),
    linear-gradient(#777b78, #252829);
}

.episode-list li:nth-child(3n) button {
  --art:
    radial-gradient(circle at 50% 32%, rgba(255, 223, 166, 0.72), transparent 12%),
    linear-gradient(90deg, transparent 47%, #181411 48% 52%, transparent 53%),
    linear-gradient(#96775f, #2a211d);
}

.mini-player {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 36px minmax(140px, 1fr) auto 32px 32px;
  align-items: center;
  gap: 10px;
  width: min(980px, 100%);
  min-height: 64px;
  padding: 8px 14px;
  background: linear-gradient(90deg, #c46c3a, #904325);
  color: #fff6ed;
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.mini-player button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  background: #fff1db;
  color: #8d4327;
  font-weight: 900;
}

.mini-player strong,
.mini-player span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Default: hide mobile view on desktop */
.mobile-player-viewport {
  display: none;
}

@media (max-width: 760px) {
  html, body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior-y: none !important;
    overscroll-behavior: none !important;
    touch-action: manipulation;
  }

  /* Completely hide old desktop layout elements */
  .site-header,
  main,
  .mini-player {
    display: none !important;
  }

  /* Show new mobile viewport layout */
  .mobile-player-viewport {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
    overscroll-behavior-y: none; /* Disable chrome pull-to-refresh on mobile */
    overscroll-behavior: none;
    touch-action: pan-y;
    scroll-snap-type: y mandatory;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-user-select: none;   /* Disable text selection during swipe gestures */
    user-select: none;
  }

  .mobile-top-dock {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10030;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: calc(12px + env(safe-area-inset-top)) 18px 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
    pointer-events: none;
    text-align: center;
  }

  .mobile-top-brand {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0f172a;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .mobile-player-viewport::-webkit-scrollbar {
    display: none;
  }

  .mobile-slides-container {
    display: block;
    min-height: 100%;
    backface-visibility: hidden;
  }

  .mobile-player-slide {
    flex-shrink: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden; /* Prevent inner scrolling to ensure swipe gesture works 100% */
    background: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
  }

  .mobile-main-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-top: calc(76px + env(safe-area-inset-top));
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .mobile-art-wrapper {
    width: min(330px, 86vw);
    aspect-ratio: 1;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
    margin-bottom: 24px;
    background: #eaeaea;
  }

  .mobile-art-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Prevent browser drag image popup on mobile */
    -webkit-user-drag: none;
    user-drag: none;
  }

  .mobile-track-info {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .mobile-track-info h1 {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0 0 6px;
  }

  .mobile-track-info p {
    font-size: 14px;
    color: #888;
    margin: 0;
    font-weight: 500;
  }

  /* Marquee scroll text engine */
  .marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }

  .marquee-content {
    display: inline-block;
    will-change: transform;
  }

  .marquee-container.marquee-active {
    justify-content: flex-start; /* Align left to scroll from left edge to right edge */
  }

  .marquee-container.marquee-active .marquee-content {
    padding-left: 100%; /* Start scrolling from far right */
    animation: marquee var(--marquee-duration, 10s) linear infinite;
  }

  @keyframes marquee {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-100%, 0, 0);
    }
  }

  .mobile-track-info .verified-badge {
    color: #6366f1;
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.1);
    padding: 2px;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 5px;
  }

  .mobile-progress-area {
    width: 100%;
    margin-bottom: 18px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .mobile-seek-input {
    display: block;
    height: 20px;
    width: 100%;
    background:
      linear-gradient(90deg, #6366f1 0 var(--seek-progress), #eef0f7 var(--seek-progress) 100%);
    box-shadow: none;
  }

  .mobile-seek-input::-webkit-slider-thumb {
    border-color: rgba(99, 102, 241, 0.28);
    background:
      radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 30%),
      linear-gradient(#8f92ff, #6366f1);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.32);
  }

  .mobile-time-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    font-weight: 600;
  }

  .mobile-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    gap: clamp(8px, 2.2vw, 16px);
    padding: 10px max(18px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-right));
    box-sizing: border-box;
    margin: 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    z-index: 10020;
    border-radius: 26px 26px 0 0;
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
      0 18px 36px rgba(15, 23, 42, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    pointer-events: auto;
  }

  .mobile-controls-row .m-ctrl-btn {
    background: transparent;
    border: none;
    color: #777777;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease, transform 0.1s ease;
  }

  .mobile-controls-row .m-ctrl-btn:active {
    background: #f5f5f5;
    transform: scale(0.92);
  }

  .mobile-controls-row .m-ctrl-btn.active {
    color: #6366f1;
  }

  .mobile-controls-row .m-ctrl-btn .repeat-one-badge {
    display: none;
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 8px;
    background: #6366f1;
    color: #ffffff;
    border-radius: 50%;
    width: 11px;
    height: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    line-height: 1;
    border: 1px solid #ffffff;
  }

  .mobile-controls-row .m-ctrl-btn.repeat-one .repeat-one-badge {
    display: flex;
  }

  .mobile-controls-row .m-ctrl-btn .sec-label {
    position: absolute;
    font-size: 8px;
    font-weight: 800;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(1px);
    color: inherit;
  }

  .mobile-controls-row .m-play-btn {
    --play-cover: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #111827;
    border: 3px solid rgba(255, 255, 255, 0.92);
    color: #ffffff;
    font-size: 24px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow:
      0 14px 30px rgba(15, 23, 42, 0.22),
      0 0 0 1px rgba(99, 102, 241, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-controls-row .m-play-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16) 0 10%, transparent 11%),
      var(--play-cover) center / cover no-repeat;
    transform-origin: 50% 50%;
    transform: rotate(0deg);
    animation: none;
  }

  .mobile-controls-row .m-play-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
      radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.3) 0 19%, transparent 20%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.42));
  }

  .mobile-controls-row .m-play-btn.spin-active::before,
  .mobile-controls-row .m-play-btn.spin-paused::before {
    animation: album-spin 9s linear infinite;
  }

  .mobile-controls-row .m-play-btn.spin-active::before {
    animation-play-state: running;
  }

  .mobile-controls-row .m-play-btn.spin-paused::before {
    animation-play-state: paused;
  }

  .mobile-controls-row .m-play-btn.spin-reset::before {
    animation: none !important;
    transform: rotate(0deg) !important;
  }

  .mobile-controls-row .m-play-btn svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.42));
  }

  .mobile-controls-row .m-play-btn:active {
    transform: scale(0.94);
    box-shadow:
      0 8px 20px rgba(15, 23, 42, 0.18),
      0 0 0 1px rgba(99, 102, 241, 0.12);
  }

  .mobile-controls-row .m-play-btn .m-pause-svg {
    display: none;
  }

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

  .mobile-lyrics-panel {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    background: #fcfcfc;
    border-top: 1.5px solid #f2f2f2;
    border-radius: 32px 32px 0 0;
    padding: 16px 24px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.02);
  }

  .mobile-lyrics-panel .drag-handle {
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 99px;
    margin-bottom: 14px;
  }

  .mobile-lyrics-panel h2 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
  }

  .mobile-lyrics-panel p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
