:root {
  --bg: #f7f8f4;
  --paper: #ffffff;
  --paper-soft: #eef3e8;
  --ink: #192015;
  --muted: #68715f;
  --line: #dfe6d8;
  --brand: #689f38;
  --brand-strong: #466f27;
  --brand-soft: #dcebcf;
  --danger: #8c2f2f;
  --shadow: 0 18px 50px rgba(42, 59, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100%;
  margin: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
}

.layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  gap: 24px;
}

.brand {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--paper-soft);
}

.brand-title {
  font-weight: 800;
  line-height: 1.08;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav-button {
  border: 0;
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  text-align: left;
}

.nav-button:hover,
.nav-button.is-active {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.sidebar-footer a {
  text-decoration: none;
}

.main {
  min-width: 0;
  padding: 28px clamp(18px, 4vw, 56px) 116px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.page-kicker {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin: 6px 0 8px;
  letter-spacing: 0;
}

.page-copy {
  color: var(--muted);
  max-width: 760px;
  line-height: 1.6;
  margin: 0;
}

.search {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 0 12px;
  box-shadow: 0 8px 24px rgba(42, 59, 32, 0.05);
}

.search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
}

.stat strong {
  color: var(--ink);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 14px;
}

.section-title {
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
}

.section-note {
  color: var(--muted);
  font-size: 14px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 18px;
}

.album-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(42, 59, 32, 0.07);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.album-card:hover {
  transform: translateY(-2px);
  border-color: #c5d5ba;
  box-shadow: var(--shadow);
}

.album-card button {
  border: 0;
  background: transparent;
  color: inherit;
  width: 100%;
  padding: 0;
  text-align: left;
}

.cover {
  aspect-ratio: 1;
  width: 100%;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #e7eedf, #f8faf5);
}

.cover-fallback {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7eedf, #f8faf5);
  color: var(--brand-strong);
  font-weight: 800;
  font-size: 32px;
}

.album-card-body {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.album-name {
  font-weight: 750;
  line-height: 1.25;
  min-height: 2.5em;
}

.album-meta {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.detail {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-cover {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.detail-cover img,
.detail-cover .cover-fallback {
  width: 100%;
}

.detail-main {
  min-width: 0;
}

.back-button,
.primary-button,
.ghost-button {
  min-height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  text-decoration: none;
}

.back-button,
.ghost-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.primary-button {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.track-list {
  display: grid;
  gap: 8px;
}

.track-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 8px 12px;
}

.track-row.is-active {
  border-color: var(--brand);
  background: #f1f7ea;
}

.play-dot {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 900;
}

.track-title {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-subtitle {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}

.track-duration,
.track-plays {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.download-link {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: var(--brand-strong);
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.download-link:hover {
  border-color: #bdd1ae;
  background: var(--brand-soft);
}

.radio-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid #1b2a24;
  border-radius: 8px;
  background: #060707;
  color: #f5ffe8;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  gap: 32px;
  align-items: center;
  padding: 48px;
  box-shadow: 0 24px 72px rgba(2, 5, 4, 0.34);
}

.radio-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.radio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 7, 7, 0.9), rgba(6, 7, 7, 0.42) 52%, rgba(6, 7, 7, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 5px);
  pointer-events: none;
}

.radio-copy,
.radio-now {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.radio-title {
  font-size: 72px;
  line-height: 0.95;
  margin: 8px 0 16px;
  letter-spacing: 0;
  max-width: 780px;
  overflow-wrap: break-word;
}

.radio-text {
  max-width: 650px;
  color: rgba(245, 255, 232, 0.76);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.radio-primary,
.radio-ghost {
  min-height: 46px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 800;
}

.radio-primary {
  border: 1px solid #b2ff52;
  background: #b2ff52;
  color: #0a120d;
  box-shadow: 0 0 28px rgba(178, 255, 82, 0.22);
}

.radio-primary::before {
  content: "▶";
}

.radio-ghost {
  border: 1px solid rgba(245, 255, 232, 0.28);
  background: rgba(245, 255, 232, 0.06);
  color: #f5ffe8;
}

.radio-ghost::before {
  content: "›";
  font-size: 20px;
}

.radio-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.radio-stats span {
  border: 1px solid rgba(245, 255, 232, 0.18);
  border-radius: 8px;
  background: rgba(6, 7, 7, 0.44);
  color: rgba(245, 255, 232, 0.72);
  padding: 9px 12px;
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.radio-stats strong {
  color: #ffffff;
}

.radio-now {
  justify-self: center;
  width: min(100%, 440px);
  display: grid;
  gap: 18px;
}

.radio-orbit {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  border: 1px solid rgba(245, 255, 232, 0.2);
  border-radius: 8px;
  padding: 0;
  background:
    radial-gradient(circle at 20% 10%, var(--effect-color-a), transparent 36%),
    radial-gradient(circle at 88% 86%, var(--effect-color-b), transparent 34%),
    rgba(6, 7, 7, 0.68);
  box-shadow:
    0 0 0 1px rgba(178, 255, 82, 0.13),
    0 0 42px rgba(178, 255, 82, 0.22),
    0 26px 60px rgba(0, 0, 0, 0.44);
  transform: rotate(var(--effect-rotate));
  animation: radio-orbit-beat var(--effect-tempo-orbit) ease-in-out infinite;
}

.radio-orbit:focus-visible {
  outline: 3px solid var(--effect-color-a);
  outline-offset: 4px;
}

.radio-orbit::before,
.radio-orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.radio-orbit::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16) 1px, transparent 1px, transparent var(--effect-scan)),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px var(--effect-dot));
  mix-blend-mode: overlay;
  opacity: var(--effect-alpha);
  animation: radio-scan 2.4s linear infinite;
}

.radio-orbit::after {
  border: 1px solid var(--effect-color-a);
  box-shadow:
    inset 0 0 0 12px rgba(6, 7, 7, 0.16),
    inset 0 0 54px rgba(255, 255, 255, 0.18);
  animation: radio-frame-pulse 5.2s ease-in-out infinite;
}

.radio-orbit img,
.radio-orbit .cover-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter:
    hue-rotate(var(--effect-hue))
    saturate(var(--effect-saturation))
    contrast(var(--effect-contrast))
    brightness(var(--effect-brightness))
    blur(var(--effect-blur));
  transform:
    scale(var(--effect-scale))
    skew(var(--effect-skew));
  animation: radio-cover-breathe var(--effect-tempo-cover) ease-in-out infinite;
}

.radio-effect-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.radio-effect-layer-a {
  background:
    linear-gradient(90deg, var(--effect-color-a), transparent 34%, var(--effect-color-b)),
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, 0.14) 9px 10px);
  mix-blend-mode: screen;
  opacity: calc(var(--effect-alpha) + 0.08);
  transform: translateX(-2%);
  animation: radio-layer-slide 4.6s ease-in-out infinite alternate;
}

.radio-effect-layer-b {
  background:
    radial-gradient(circle at 18% 24%, var(--effect-color-a), transparent 22%),
    radial-gradient(circle at 82% 64%, var(--effect-color-b), transparent 28%);
  mix-blend-mode: color-dodge;
  opacity: calc(var(--effect-alpha) + 0.03);
  animation: radio-layer-orbit 8.5s linear infinite;
}

.radio-effect-layer-c {
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.18) 0deg 4deg, transparent 4deg 11deg),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.44));
  mix-blend-mode: soft-light;
  opacity: calc(var(--effect-alpha) + 0.04);
  transform-origin: 50% 50%;
  animation: radio-spin 21s linear infinite;
}

.radio-beat-ring,
.radio-wave,
.radio-eq {
  position: absolute;
  pointer-events: none;
}

.radio-beat-ring {
  z-index: 4;
  border-radius: 50%;
  border: 2px solid var(--effect-color-a);
  box-shadow:
    0 0 24px var(--effect-color-a),
    inset 0 0 18px rgba(255, 255, 255, 0.18);
  mix-blend-mode: screen;
  opacity: 0;
}

.radio-beat-ring-a {
  inset: 9%;
  animation: radio-beat-ring var(--effect-tempo) ease-out infinite;
}

.radio-beat-ring-b {
  inset: 20%;
  border-color: var(--effect-color-b);
  box-shadow:
    0 0 28px var(--effect-color-b),
    inset 0 0 18px rgba(255, 255, 255, 0.16);
  animation: radio-beat-ring var(--effect-tempo-ring) ease-out infinite;
  animation-delay: var(--effect-delay-ring);
}

.radio-wave {
  inset: 0;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: calc(var(--effect-alpha) + 0.12);
}

.radio-wave-a {
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 var(--effect-wave), rgba(255, 255, 255, 0.22) var(--effect-wave) calc(var(--effect-wave) + 1px)),
    conic-gradient(from 90deg, transparent, var(--effect-color-a), transparent, var(--effect-color-b), transparent);
  animation: radio-wave-push var(--effect-tempo-slower) linear infinite;
}

.radio-wave-b {
  background:
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 255, 255, 0.2) 12px 13px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  transform: skewY(var(--effect-skew));
  animation: radio-wave-drift var(--effect-tempo-slow) ease-in-out infinite alternate;
}

.radio-eq {
  left: 7%;
  right: 7%;
  bottom: 6%;
  z-index: 6;
  width: 86%;
  -height: 45%;
  display: block;
  padding: 0;
  border: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(255, 255, 255, 0.16), transparent 62%),
    linear-gradient(180deg, transparent, rgba(6, 7, 7, 0.66));
  opacity: 0.95;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.radio-eq::before {
  content: none;
}

.radio-effect-mode-1 img {
  mix-blend-mode: luminosity;
}

.radio-effect-mode-2 img {
  mix-blend-mode: hard-light;
}

.radio-effect-mode-2 .radio-beat-ring-a {
  border-radius: 8px;
}

.radio-effect-mode-3 .radio-effect-layer-a {
  mix-blend-mode: difference;
}

.radio-effect-mode-3 .radio-wave-a {
  animation-direction: reverse;
}

.radio-effect-mode-4 .radio-effect-layer-b {
  mix-blend-mode: multiply;
}

.radio-effect-mode-4 .radio-eq {
  bottom: 6%;
}

.radio-effect-mode-5 img {
  filter:
    grayscale(0.65)
    hue-rotate(var(--effect-hue))
    saturate(var(--effect-saturation))
    contrast(calc(var(--effect-contrast) + 0.18))
    brightness(var(--effect-brightness));
}

.radio-effect-mode-5 .radio-beat-ring-b {
  border-radius: 8px;
}

.radio-effect-mode-6 .radio-effect-layer-c {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px var(--effect-dot)),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.46));
}

.radio-effect-mode-6 .radio-eq {
  opacity: 0.82;
}

.radio-effect-mode-7 img {
  transform:
    scale(var(--effect-scale-strong))
    rotate(var(--effect-rotate-strong))
    skew(var(--effect-skew));
}

.radio-effect-mode-7 .radio-wave-b {
  mix-blend-mode: color-dodge;
}

.radio-effect-mode-8 .radio-effect-layer-a {
  background:
    repeating-radial-gradient(circle at 50% 50%, var(--effect-color-a) 0 2px, transparent 2px var(--effect-dot)),
    linear-gradient(90deg, transparent, var(--effect-color-b));
}

.radio-effect-mode-9 .radio-effect-layer-b {
  filter: blur(10px);
  opacity: calc(var(--effect-alpha) + 0.2);
}

.radio-effect-mode-9 .radio-beat-ring-a,
.radio-effect-mode-9 .radio-beat-ring-b {
  animation-timing-function: cubic-bezier(0.18, 0.88, 0.26, 1);
}

.radio-now-meta {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(245, 255, 232, 0.16);
  border-radius: 8px;
  background: rgba(6, 7, 7, 0.5);
}

.radio-now-meta span,
.radio-now-meta small {
  color: rgba(245, 255, 232, 0.66);
}

.radio-now-meta strong {
  color: #ffffff;
  line-height: 1.25;
}

.radio-now-meta em {
  color: var(--effect-color-a);
  font-style: normal;
  font-weight: 800;
  margin-top: 4px;
}

.radio-search-row {
  margin: 22px 0;
  max-width: 520px;
}

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

@keyframes radio-orbit-beat {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(178, 255, 82, 0.13),
      0 0 42px rgba(178, 255, 82, 0.22),
      0 26px 60px rgba(0, 0, 0, 0.44);
  }
  48% {
    box-shadow:
      0 0 0 1px rgba(245, 255, 232, 0.28),
      0 0 64px var(--effect-color-a),
      0 30px 72px rgba(0, 0, 0, 0.5);
  }
}

@keyframes radio-cover-breathe {
  0%,
  100% {
    transform: scale(var(--effect-scale)) skew(var(--effect-skew));
  }
  50% {
    transform: scale(var(--effect-scale-strong)) skew(var(--effect-skew-alt));
  }
}

@keyframes radio-scan {
  to {
    transform: translateY(var(--effect-scan));
  }
}

@keyframes radio-frame-pulse {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

@keyframes radio-layer-slide {
  to {
    transform: translateX(3%) translateY(-2%);
  }
}

@keyframes radio-layer-orbit {
  to {
    transform: rotate(360deg) scale(1.08);
  }
}

@keyframes radio-beat-ring {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  18% {
    opacity: 0.74;
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@keyframes radio-wave-push {
  to {
    transform: rotate(360deg) scale(var(--effect-pulse-scale));
  }
}

@keyframes radio-wave-drift {
  to {
    transform: translateX(4%) skewY(var(--effect-skew-alt));
  }
}

@keyframes radio-spectrum-line {
  0% {
    transform: translateY(-14px) scaleX(0.86);
    opacity: 0.42;
  }
  100% {
    transform: translateY(11px) scaleX(1.04);
    opacity: 0.9;
  }
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.privacy {
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(18px, 4vw, 34px);
  line-height: 1.7;
  box-shadow: 0 10px 28px rgba(42, 59, 32, 0.07);
}

.privacy h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.privacy h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.privacy p {
  margin: 0 0 12px;
}

.privacy ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.player {
  position: fixed;
  left: 288px;
  right: 16px;
  bottom: 16px;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto minmax(260px, 440px);
  gap: 14px;
  align-items: center;
  padding: 12px;
  z-index: 20;
}

.player--radio {
  grid-template-columns: minmax(0, 1fr) auto minmax(260px, 440px);
}

.player[hidden] {
  display: none;
}

.player img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper-soft);
}

.player-title {
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-subtitle {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}

.player-controls {
  display: flex;
  gap: 6px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.player audio {
  width: 100%;
  min-width: 0;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
  }

  .brand {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-button {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    font-size: 13px;
  }

  .sidebar-footer {
    display: none;
  }

  .main {
    padding: 22px 14px 140px;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .detail {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    max-width: 360px;
  }

  .player {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .player--radio {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .player audio {
    grid-column: 1 / -1;
  }

  .radio-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .radio-title {
    font-size: 52px;
  }

  .radio-now {
    width: min(100%, 360px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .track-row {
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
  }

  .track-plays {
    display: none;
  }

  .download-link {
    width: 34px;
    padding: 0;
    font-size: 0;
  }

  .download-link::before {
    content: "↓";
    font-size: 16px;
  }

  .track-duration {
    font-size: 12px;
  }

  .radio-hero {
    padding: 18px;
    min-height: calc(100svh - 118px);
  }

  .radio-copy {
    display: none;
  }

  .radio-title {
    font-size: 31px;
    line-height: 1;
    max-width: 100%;
  }

  .radio-text {
    font-size: 15px;
  }

  .radio-primary,
  .radio-ghost {
    width: 100%;
  }

  .radio-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .radio-stats span {
    min-width: 0;
  }

  .radio-search-row {
    max-width: none;
  }

  .radio-now {
    width: 100%;
  }

  .radio-now-meta {
    padding: 13px;
  }
}
