/*
Module: Jetstream89 visual system
Purpose: Spotify/TIDAL-inspired responsive interface for a retro-futurist online radio.
Author: Kevin Cusnir
Date: 2026-07-21 | TZ: Asia/Jerusalem
*/

:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-soft: #0b1018;
  --panel: #101722;
  --panel-strong: #151f2e;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f7f8fb;
  --muted: #9aa6b7;
  --cyan: #27d9ff;
  --pink: #ff2ea6;
  --orange: #ff6b3d;
  --amber: #ffc857;
  --green: #50e69a;
  --danger: #ff5c7a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --sidebar: 252px;
  --player: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 3%, rgba(255, 46, 166, 0.14), transparent 28rem),
    radial-gradient(circle at 18% 12%, rgba(39, 217, 255, 0.12), transparent 30rem),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(39, 217, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 217, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent 1%, black 18%, black 76%, transparent 100%);
}

body.is-cinema {
  --panel: #0c0e13;
  --panel-strong: #10131b;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 999px;
  color: #051019;
  background: var(--cyan);
  font-weight: 900;
}

.skip-link:focus {
  top: 18px;
}

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

.sidebar {
  position: fixed;
  inset: 0 auto var(--player) 0;
  width: var(--sidebar);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.93);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -0.04em;
}

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

.brand__word {
  font-size: 1.22rem;
}

.brand__word strong {
  color: var(--pink);
}

.nav-group {
  display: grid;
  gap: 7px;
}

.nav-label {
  padding: 0 12px;
  color: #667386;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 720;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.nav-link[aria-current="page"]::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(var(--cyan), var(--pink));
  box-shadow: 0 0 18px rgba(39, 217, 255, 0.6);
}

.nav-icon {
  width: 26px;
  text-align: center;
}

.sidebar-card {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(39, 217, 255, 0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(39, 217, 255, 0.08), rgba(255, 46, 166, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.sidebar-card strong,
.sidebar-card small {
  display: block;
}

.sidebar-card small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.main {
  min-height: 100vh;
  margin-left: var(--sidebar);
  padding-bottom: calc(var(--player) + 46px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(240px, 520px) 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 14px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 7, 11, 0.74);
  backdrop-filter: blur(24px);
}

.search {
  position: relative;
}

.search span {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: #768397;
}

.search input {
  width: 100%;
  height: 48px;
  padding: 0 18px 0 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text);
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  transition: border 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.search input:focus {
  border-color: rgba(39, 217, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(39, 217, 255, 0.09);
}

.topbar__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.clock {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.topbar__actions {
  display: flex;
  gap: 9px;
}

.icon-button,
.pill-button,
.primary-button,
.ghost-button,
.vote-button {
  border: 0;
  color: var(--text);
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.pill-button,
.primary-button,
.ghost-button {
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  font-weight: 880;
}

.primary-button {
  color: #051019;
  background: linear-gradient(135deg, var(--cyan), #8ff4ff);
  box-shadow: 0 15px 38px rgba(39, 217, 255, 0.22);
}

.primary-button--pink {
  color: white;
  background: linear-gradient(135deg, var(--pink), #ff6a7a);
  box-shadow: 0 15px 38px rgba(255, 46, 166, 0.21);
}

.ghost-button,
.pill-button {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
}

.primary-button:hover,
.primary-button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible,
.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.content {
  width: min(1500px, 100%);
  margin-inline: auto;
  padding: 28px clamp(18px, 3vw, 42px) 72px;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 34px;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.97) 0%, rgba(5, 7, 11, 0.75) 46%, rgba(5, 7, 11, 0.19) 100%),
    radial-gradient(circle at 77% 36%, rgba(255, 46, 166, 0.34), transparent 28%),
    radial-gradient(circle at 74% 76%, rgba(39, 217, 255, 0.28), transparent 35%),
    linear-gradient(135deg, #090e18, #0e0a20 58%, #06131b);
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  right: -90px;
  top: -110px;
  border: 1px solid rgba(39, 217, 255, 0.19);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 24px, rgba(39, 217, 255, 0.06) 25px 26px);
  animation: rotate-radar 24s linear infinite;
}

.hero::after {
  inset: auto 0 0;
  height: 42%;
  opacity: 0.3;
  background:
    linear-gradient(to right, transparent 49.7%, rgba(255, 46, 166, 0.32) 50%, transparent 50.3%),
    linear-gradient(to bottom, transparent 49.4%, rgba(39, 217, 255, 0.18) 50%, transparent 50.6%);
  background-size: 74px 52px;
  transform: perspective(260px) rotateX(58deg) scaleX(1.4);
  transform-origin: bottom;
}

.hero__copy,
.hero__art {
  position: relative;
  z-index: 2;
}

.live-chip,
.eyebrow,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-chip {
  padding: 9px 13px;
  color: #08090c;
  background: var(--green);
  font-size: 0.72rem;
}

.live-chip--demo {
  color: var(--amber);
  border: 1px solid rgba(255, 200, 87, 0.24);
  background: rgba(255, 200, 87, 0.09);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.hero h1 {
  max-width: 820px;
  margin: 20px 0 15px;
  font-size: clamp(3.4rem, 7.3vw, 8rem);
  line-height: 0.87;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
  text-shadow: 0 0 36px rgba(255, 46, 166, 0.38);
}

.hero__tagline {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 2.3rem);
  font-weight: 930;
  letter-spacing: -0.04em;
}

.hero__tagline strong {
  color: var(--cyan);
}

.hero__description {
  max-width: 740px;
  margin: 17px 0 0;
  color: #bac3d0;
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}

.hero__credits {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero__credits strong {
  color: var(--text);
}

.hero__art {
  align-self: center;
  display: grid;
  place-items: center;
}

.hero__art img {
  width: min(100%, 490px);
  filter:
    drop-shadow(0 0 18px rgba(39, 217, 255, 0.54))
    drop-shadow(0 0 40px rgba(255, 46, 166, 0.38));
  animation: float-emblem 6s ease-in-out infinite;
}

.section {
  margin-top: 54px;
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.section__header h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
}

.section__header p {
  max-width: 680px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.72rem;
}

.link-action {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.link-action:hover,
.link-action:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scrollbar-width: thin;
}

.card,
.panel,
.story-card,
.show-card,
.timeline-card,
.host-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 18px;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.17);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
}

.card__art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 15px;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 18%, var(--card-accent, var(--pink)), transparent 26%),
    linear-gradient(135deg, #101726, #171028 52%, #09151e);
}

.card__art::before,
.card__art::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.card__art::before {
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.025), 0 0 0 48px rgba(255, 255, 255, 0.02);
}

.card__art::after {
  width: 130%;
  height: 40%;
  bottom: -16%;
  background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(39, 217, 255, 0.14) 41px 42px);
  transform: perspective(160px) rotateX(63deg);
}

.card__icon {
  font-size: 4.6rem;
  filter: drop-shadow(0 0 22px var(--card-accent, var(--cyan)));
  position: relative;
  z-index: 2;
}

.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 250ms ease, transform 400ms ease;
  z-index: 1;
}

.card:hover .card__img,
.now-panel:hover .card__img,
.merch-card:hover .card__img {
  opacity: 0.95;
  transform: scale(1.08);
}


.card h3 {
  margin: 16px 0 6px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.card__play {
  position: absolute;
  right: 22px;
  top: 178px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #061019;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(80, 230, 154, 0.32);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.card:hover .card__play,
.card:focus-within .card__play {
  opacity: 1;
  transform: translateY(0);
}

.grid-2,
.grid-3,
.grid-4,
.now-grid,
.taste-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.grid-2,
.now-grid,
.taste-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.panel {
  padding: 24px;
  border-radius: var(--radius-md);
}

.now-panel {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
}

.now-panel__art {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 4rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(39, 217, 255, 0.44), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(255, 46, 166, 0.45), transparent 32%),
    #0e1622;
}

.now-panel h3 {
  margin: 12px 0 7px;
  font-size: clamp(1.4rem, 2.4vw, 2.25rem);
  letter-spacing: -0.035em;
}

.muted {
  color: var(--muted);
}

.meta-row,
.control-row,
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.meta-row {
  margin-top: 16px;
}

.meta-chip {
  padding: 7px 10px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.68rem;
}

.control-row {
  margin-top: 20px;
}

.meter {
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.meter span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--orange));
  animation: meter-breathe 2.4s ease-in-out infinite;
}

.schedule-mini {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.schedule-mini__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.schedule-mini__item time {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.schedule-mini__item small {
  color: var(--muted);
}

.embed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 13px;
}

.embed-tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.embed-tab.is-active {
  color: #051019;
  border-color: transparent;
  background: var(--green);
  font-weight: 900;
}

.spotify-embed {
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #0b0d11;
}

.spotify-embed iframe {
  width: 100%;
  min-height: 352px;
  display: block;
  border: 0;
  border-radius: 16px;
}

.taste-panel {
  min-height: 100%;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.choice:has(input:checked) {
  color: var(--text);
  border-color: rgba(39, 217, 255, 0.38);
  background: rgba(39, 217, 255, 0.08);
}

.choice input {
  accent-color: var(--cyan);
}

.radar {
  min-height: 390px;
  display: grid;
  place-items: center;
}

.radar svg {
  width: min(100%, 410px);
  overflow: visible;
}

.vote-list {
  display: grid;
  gap: 10px;
}

.vote-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.vote-row__rank {
  color: var(--pink);
  font-size: 1.25rem;
  font-weight: 950;
  text-align: center;
}

.vote-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.vote-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(39, 217, 255, 0.26);
  border-radius: 999px;
  background: rgba(39, 217, 255, 0.07);
}

.vote-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.notice {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 200, 87, 0.18);
  border-radius: 13px;
  color: #c8b98d;
  background: rgba(255, 200, 87, 0.065);
  font-size: 0.88rem;
  line-height: 1.5;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 46, 166, 0.22), transparent 30%),
    radial-gradient(circle at 76% 82%, rgba(39, 217, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #0b111a, #10101d 58%, #071720);
}

.page-hero h1 {
  max-width: 970px;
  margin: 12px 0;
  font-size: clamp(2.6rem, 6vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.filter-button.is-active {
  color: #061019;
  border-color: transparent;
  background: var(--cyan);
  font-weight: 900;
}

.show-grid,
.story-grid,
.timeline-grid,
.host-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.show-card,
.story-card,
.timeline-card,
.host-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-md);
}

.show-card::after,
.story-card::after,
.timeline-card::after,
.host-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: var(--accent, var(--cyan));
  filter: blur(70px);
  opacity: 0.16;
}

.show-card__time,
.story-card__meta,
.timeline-card__era {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.show-card h3,
.story-card h3,
.timeline-card h3,
.host-card h3 {
  margin: 12px 0 8px;
  font-size: 1.28rem;
}

.show-card p,
.story-card p,
.timeline-card p,
.host-card p {
  color: var(--muted);
  line-height: 1.56;
}

.story-art {
  height: 180px;
  display: grid;
  place-items: center;
  margin: -22px -22px 20px;
  font-size: 4.2rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(39, 217, 255, 0.28), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(255, 46, 166, 0.28), transparent 34%),
    #0d1320;
}

.host-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
}

.host-avatar {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 950;
  background: linear-gradient(145deg, rgba(39, 217, 255, 0.32), rgba(255, 46, 166, 0.32));
}

.footer {
  margin-top: 72px;
  padding: 40px 0 18px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.3fr repeat(3, 1fr);
}

.footer h3,
.footer h4 {
  margin-top: 0;
}

.footer p,
.footer a {
  color: var(--muted);
  line-height: 1.58;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--text);
}

.player {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  min-height: var(--player);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(8, 10, 14, 0.95);
  backdrop-filter: blur(26px);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.4);
}

.player__track {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.player__art {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(39, 217, 255, 0.36), rgba(255, 46, 166, 0.36));
}

.player__track strong,
.player__track small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player__track small {
  margin-top: 3px;
  color: var(--muted);
}

.player__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player__play {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #071019;
  background: var(--text);
}

.player__extras {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
}

.player input[type="range"] {
  width: min(180px, 16vw);
  accent-color: var(--cyan);
}

.toast {
  position: fixed;
  top: 96px;
  right: 22px;
  z-index: 300;
  max-width: min(390px, calc(100% - 44px));
  padding: 15px 18px;
  border: 1px solid rgba(39, 217, 255, 0.28);
  border-radius: 15px;
  color: var(--text);
  background: rgba(16, 23, 34, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  padding: 26px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
}

[hidden] {
  display: none !important;
}

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

@keyframes float-emblem {
  50% {
    transform: translateY(-12px) rotate(1.2deg);
  }
}

@keyframes meter-breathe {
  50% {
    width: 88%;
  }
}

@media (max-width: 1180px) {
  :root {
    --sidebar: 220px;
  }

  .topbar {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .topbar__meta {
    display: none;
  }

  .grid-4,
  .show-grid,
  .story-grid,
  .timeline-grid,
  .host-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr 380px;
  }
}

@media (max-width: 900px) {
  :root {
    --player: 84px;
  }

  .sidebar {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    height: 70px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar .nav-group,
  .sidebar-card {
    display: none;
  }

  .main {
    margin-left: 0;
  }

  .topbar {
    top: 70px;
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 10px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__art {
    max-width: 420px;
    margin-inline: auto;
  }

  .now-grid,
  .taste-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .player {
    grid-template-columns: 1fr auto;
  }

  .player__extras {
    display: none;
  }
}

@media (max-width: 620px) {
  .topbar__actions .pill-button {
    display: none;
  }

  .content {
    padding-inline: 14px;
  }

  .hero,
  .page-hero {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 20vw, 5.2rem);
  }

  .hero__art {
    max-width: 300px;
  }

  .grid-3,
  .grid-4,
  .show-grid,
  .story-grid,
  .timeline-grid,
  .host-grid,
  .footer-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .now-panel {
    grid-template-columns: 1fr;
  }

  .now-panel__art {
    width: 132px;
  }

  .schedule-mini__item {
    grid-template-columns: 62px 1fr;
  }

  .schedule-mini__item small {
    display: none;
  }

  .section__header {
    display: block;
  }

  .section__header .link-action {
    display: inline-block;
    margin-top: 10px;
  }

  .player {
    min-height: 76px;
    padding: 9px 12px;
  }

  .player__art {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .player__controls .icon-button:first-child,
  .player__controls .icon-button:last-child {
    display: none;
  }

  .toast {
    top: 150px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
