:root {
  --bg: #050b17;
  --bg-soft: #081224;
  --card: rgba(9, 18, 40, 0.72);
  --card-strong: rgba(12, 22, 48, 0.9);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eff5ff;
  --muted: #b9c8e8;
  --muted-strong: #dce7ff;
  --accent: #6b7cff;
  --accent-2: #00d2ff;
  --accent-3: #18d8a8;
  --accent-4: #ff7db3;
  --danger: #ff8398;
  --success: #9cffd0;
  --warning: #ffdf8a;
  --shadow: 0 30px 70px rgba(2, 9, 25, 0.52);
  --shadow-soft: 0 18px 50px rgba(2, 9, 25, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --planet-rotation: 18deg;
  --planet-tilt: 63deg;
  --planet-shift: 0px;
  --planet-scale: 1;
  --hero-shift: 0px;
  --star-opacity: 0.55;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    "SF Pro Display",
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    "Noto Sans Arabic",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(107, 124, 255, 0.24), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(0, 210, 255, 0.18), transparent 22%),
    radial-gradient(circle at 20% 85%, rgba(24, 216, 168, 0.08), transparent 22%),
    linear-gradient(180deg, #040913 0%, #07101f 35%, #071426 72%, #06162a 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 34% 11%, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.8px),
    radial-gradient(circle at 66% 14%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 84% 23%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 28% 46%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.8px),
    radial-gradient(circle at 76% 54%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 62% 82%, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.8px),
    radial-gradient(circle at 91% 78%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.8px);
  opacity: var(--star-opacity);
  transform: translateY(calc(var(--hero-shift) * 0.25));
}

body::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(107, 124, 255, 0.16), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0, 210, 255, 0.08), transparent 44%);
  z-index: -3;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

button,
input,
select {
  border: 0;
  outline: none;
}

.page-shell {
  width: min(1440px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2.4rem;
}

.glass-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 35%),
    var(--card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.92fr);
  gap: 1.2rem;
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  pointer-events: none;
}

.hero::before {
  width: 240px;
  height: 240px;
  left: -80px;
  top: -80px;
  background: rgba(107, 124, 255, 0.2);
}

.hero::after {
  width: 280px;
  height: 280px;
  right: -90px;
  bottom: -110px;
  background: rgba(0, 210, 255, 0.16);
}

.hero__content {
  position: relative;
  z-index: 1;
  transform: translateY(var(--hero-shift));
  transition: transform 0.2s linear;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero__subtitle {
  margin: 0.95rem 0 0;
  font-size: clamp(1rem, 2vw, 1.14rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 64ch;
}

.hero__actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
}

.primary-button,
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.86rem 1.2rem;
  border-radius: 16px;
  color: white;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(59, 114, 255, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.primary-button:hover,
.primary-button:focus-visible,
.play-button:hover,
.play-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(59, 114, 255, 0.35);
  filter: brightness(1.03);
}

.hero__hint {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__stats {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.stat-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.stat-card__label {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.stat-card strong {
  font-size: 1.08rem;
  line-height: 1.4;
}

.scene-wrap {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  perspective: 1600px;
}

.scene-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(0, 210, 255, 0.28), transparent 55%),
    radial-gradient(circle at 65% 30%, rgba(107, 124, 255, 0.22), transparent 50%);
  filter: blur(18px);
}

.globe-scene {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(var(--planet-tilt)))
    rotateZ(calc(var(--planet-rotation)))
    translateY(var(--planet-shift))
    scale(var(--planet-scale));
  transition: transform 0.22s ease-out;
}

.globe {
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  transform-style: preserve-3d;
  box-shadow:
    inset -24px -26px 44px rgba(0, 0, 0, 0.34),
    0 0 80px rgba(0, 210, 255, 0.16);
}

.globe__surface,
.globe__shadow,
.globe__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.globe__surface--main {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 70% 72%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 25% 68%, rgba(24, 216, 168, 0.2), transparent 30%),
    linear-gradient(145deg, #0a2343 0%, #0c3f79 42%, #0fa5d7 100%);
  overflow: hidden;
}

.globe__surface--main::before,
.globe__surface--main::after,
.globe__surface--layer::before,
.globe__surface--layer::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.globe__surface--main::before {
  inset: 16% 10% 54% 18%;
  background:
    radial-gradient(circle at 40% 40%, rgba(24, 216, 168, 0.95), rgba(24, 216, 168, 0.78) 42%, transparent 72%);
  filter: blur(4px);
  transform: rotate(-18deg);
}

.globe__surface--main::after {
  inset: 48% 18% 18% 46%;
  background:
    radial-gradient(circle at 52% 48%, rgba(24, 216, 168, 0.9), rgba(24, 216, 168, 0.72) 40%, transparent 72%);
  filter: blur(4px);
  transform: rotate(10deg);
}

.globe__surface--layer::before {
  inset: 26% 42% 40% 8%;
  background:
    radial-gradient(circle at 50% 50%, rgba(24, 216, 168, 0.88), rgba(24, 216, 168, 0.68) 38%, transparent 70%);
  filter: blur(4px);
  transform: rotate(18deg);
}

.globe__surface--layer::after {
  inset: 58% 54% 10% 18%;
  background:
    radial-gradient(circle at 44% 46%, rgba(24, 216, 168, 0.84), rgba(24, 216, 168, 0.64) 42%, transparent 72%);
  filter: blur(4px);
  transform: rotate(-20deg);
}

.globe__surface--layer {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.1), transparent 20%),
    radial-gradient(circle at 80% 32%, rgba(0, 210, 255, 0.14), transparent 18%);
  mix-blend-mode: screen;
}

.globe__shadow {
  background:
    radial-gradient(circle at 72% 72%, rgba(0, 0, 0, 0.36), transparent 44%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 22%);
  transform: translateZ(6px);
}

.globe__shine {
  inset: 4%;
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 42%, rgba(255, 255, 255, 0.04) 62%, transparent 100%);
  mix-blend-mode: screen;
  transform: translateZ(10px);
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.orbit--ring {
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform-style: preserve-3d;
  pointer-events: none;
}

.orbit--one {
  inset: 5%;
  transform: rotateX(72deg) rotateY(18deg);
}

.orbit--two {
  inset: 2%;
  transform: rotateY(74deg) rotateZ(12deg);
}

.orbit--flags {
  animation: orbitSpin 26s linear infinite;
}

.orbit-flag {
  --angle: 0deg;
  --radius: 168px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(8, 18, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(5, 13, 31, 0.36);
  color: white;
  font-size: 1.28rem;
  cursor: pointer;
  transform:
    rotate(var(--angle))
    translateY(calc(-1 * var(--radius)))
    rotate(calc(-1 * var(--angle)));
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.orbit-flag:hover,
.orbit-flag:focus-visible {
  box-shadow: 0 14px 28px rgba(59, 114, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(10, 22, 50, 0.84);
}

.flight-path {
  position: absolute;
  inset: 15%;
  border-radius: 999px;
  border-top: 2px dashed rgba(255, 255, 255, 0.18);
  opacity: 0.6;
  pointer-events: none;
}

.flight-path::after {
  content: "";
  position: absolute;
  top: -5px;
  right: 16%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.55);
}

.flight-path--one {
  transform: rotate(18deg) rotateX(70deg);
  animation: orbitSpin 16s linear infinite;
}

.flight-path--two {
  inset: 24%;
  transform: rotate(-24deg) rotateY(72deg);
  animation: orbitSpinReverse 19s linear infinite;
}

.flight-path--three {
  inset: 10%;
  transform: rotate(82deg) rotateX(72deg);
  animation: orbitSpin 22s linear infinite;
}

.ticker {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.8rem;
}

.ticker__label {
  font-size: 0.92rem;
  color: var(--muted-strong);
}

.ticker__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  animation: tickerMove 38s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease;
}

.ticker-item:hover,
.ticker-item:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.88fr);
  gap: 1rem;
  align-items: start;
}

.main-panel,
.sidebar {
  display: grid;
  gap: 1rem;
}

.control-panel,
.list-panel,
.player-panel,
.radar-panel,
.metrics-panel {
  padding: 1.15rem;
}

.panel-head,
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-head--compact {
  margin-bottom: 0.9rem;
}

.panel-head h2,
.section-head h2,
.player-panel h2,
.radar-panel h2,
.metrics-panel h2 {
  margin: 0;
  font-size: 1.3rem;
}

.panel-head p,
.section-head p,
.player-panel p,
.radar-panel p,
.metrics-panel p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.mode-switch__button {
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--muted-strong);
  background: transparent;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.mode-switch__button.active {
  color: white;
  background: linear-gradient(135deg, rgba(107, 124, 255, 0.76), rgba(0, 210, 255, 0.42));
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field--wide {
  grid-column: span 2;
}

.field--actions {
  align-self: end;
}

.field__label {
  font-size: 0.94rem;
  color: var(--muted-strong);
}

.field__control {
  width: 100%;
  min-height: 54px;
  padding: 0.92rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.field__control:focus {
  border-color: rgba(0, 210, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
}

.field__control::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

select.field__control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.82) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 4px), calc(100% - 12px) calc(50% - 4px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
  padding-right: 2.9rem;
}

.search-box,
.action-row,
.player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.search-box .field__control {
  flex: 1;
}

.ghost-button,
.station-link,
.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.ghost-button:hover,
.ghost-button:focus-visible,
.station-link:hover,
.station-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 22px rgba(5, 13, 31, 0.22);
}

.ghost-button--link {
  text-decoration: none;
}

.disabled-link {
  opacity: 0.48;
  pointer-events: none;
}

.chips-section {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.chips-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.chips-section__head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.chips-section__note {
  color: var(--muted);
  font-size: 0.9rem;
}

.chips-wrap,
.country-rail,
.player-badges,
.station-card__meta,
.station-card__tags,
.metrics-grid,
.section-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip,
.country-chip,
.player-pill,
.meta-pill,
.tag-pill,
.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.055);
}

.chip,
.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  color: var(--muted-strong);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.chip:hover,
.chip:focus-visible,
.country-chip:hover,
.country-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
}

.chip.active,
.country-chip.active {
  color: white;
  background:
    linear-gradient(135deg, rgba(107, 124, 255, 0.72), rgba(0, 210, 255, 0.38)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.country-chip__count {
  font-size: 0.82rem;
  opacity: 0.85;
}

.info-banner {
  margin-top: 1.1rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0.92rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 210, 255, 0.22);
  background: rgba(0, 210, 255, 0.09);
  color: #dff8ff;
}

.info-banner[data-kind="success"] {
  background: rgba(24, 216, 168, 0.1);
  border-color: rgba(24, 216, 168, 0.26);
  color: #dffff2;
}

.info-banner[data-kind="error"] {
  background: rgba(255, 131, 152, 0.1);
  border-color: rgba(255, 131, 152, 0.28);
  color: #ffe5ec;
}

.section-head {
  margin-bottom: 1rem;
}

.section-badge {
  min-height: 40px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--muted-strong);
}

.stations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.station-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.92rem;
  min-height: 250px;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 36%),
    var(--card-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.station-card:hover {
  transform: perspective(1200px) rotateX(5deg) rotateY(-3deg) translateY(-4px);
  border-color: rgba(0, 210, 255, 0.24);
  box-shadow: 0 22px 44px rgba(4, 11, 28, 0.34);
}

.station-card.is-active {
  border-color: rgba(107, 124, 255, 0.72);
  box-shadow: 0 18px 38px rgba(56, 76, 255, 0.22);
}

.station-card__shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.13), transparent 18%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.05) 36%, transparent 50%);
  pointer-events: none;
}

.station-card__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: flex-start;
}

.station-card__logo,
.player-cover {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(107, 124, 255, 0.22), rgba(0, 210, 255, 0.2)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted-strong);
  box-shadow: 0 12px 28px rgba(5, 13, 31, 0.18);
}

.station-card__logo img,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.station-card__logo span,
#playerInitials {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.station-card__title {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.45;
  word-break: break-word;
}

.station-card__sub {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.station-card__health {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.station-card__health.ok {
  color: #d8fff2;
  background: rgba(24, 216, 168, 0.12);
  border-color: rgba(24, 216, 168, 0.22);
}

.station-card__health.warn {
  color: #fff2bf;
  background: rgba(255, 223, 138, 0.12);
  border-color: rgba(255, 223, 138, 0.2);
}

.meta-pill,
.player-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.64rem;
  border-radius: 999px;
  font-size: 0.79rem;
  color: #daf6ff;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.18);
}

.station-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.play-button {
  flex: 1;
  min-width: 130px;
}

.station-link {
  min-height: 48px;
}

.player-panel {
  position: sticky;
  top: 1rem;
  gap: 1rem;
}

.player-panel__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background:
    linear-gradient(135deg, rgba(107, 124, 255, 0.24), rgba(0, 210, 255, 0.18)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.now-playing-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.player-cover {
  width: 96px;
  height: 96px;
  margin: 1rem 0 0.2rem;
}

#audioPlayer {
  width: 100%;
  margin-top: 0.2rem;
  border-radius: 18px;
}

.player-status {
  min-height: 24px;
  color: var(--muted-strong);
  margin-top: 0.7rem;
}

.player-note {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.93rem;
}

.mini-stations {
  display: grid;
  gap: 0.72rem;
}

.mini-station {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 72px;
  padding: 0.82rem;
  border-radius: 18px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    rgba(12, 22, 48, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.mini-station:hover,
.mini-station:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 210, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent 42%),
    rgba(14, 26, 56, 0.88);
}

.mini-station__rank {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.07);
}

.mini-station__title {
  margin: 0;
  font-size: 0.96rem;
}

.mini-station__meta {
  margin: 0.22rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.mini-station__play {
  font-size: 1.15rem;
}

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

.metric-card {
  display: grid;
  gap: 0.42rem;
  padding: 0.95rem;
  border-radius: 18px;
}

.metric-card__label {
  color: var(--muted);
  font-size: 0.84rem;
}

.metric-card strong {
  font-size: 1.05rem;
}

.empty-state,
.error-state {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  color: var(--muted-strong);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.8;
}

.error-state {
  color: #ffe6ed;
  border-color: rgba(255, 131, 152, 0.32);
  background: rgba(255, 131, 152, 0.08);
}

.load-sentinel {
  margin-top: 1rem;
  min-height: 56px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 18px;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.load-sentinel.is-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  margin-left: 0.6rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: white;
  animation: spin 0.9s linear infinite;
}

.skeleton-card {
  min-height: 248px;
  overflow: hidden;
}

.skeleton-block {
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.skeleton-top {
  display: grid;
  grid-template-columns: 58px 1fr 88px;
  gap: 0.85rem;
  align-items: flex-start;
}

.skeleton-logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.skeleton-lines {
  display: grid;
  gap: 0.72rem;
}

.skeleton-block--lg {
  width: 74%;
  height: 18px;
}

.skeleton-block--md {
  width: 52%;
  height: 14px;
}

.skeleton-block--pill {
  width: 92px;
  height: 32px;
  border-radius: 999px;
}

.skeleton-row,
.skeleton-tags,
.skeleton-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@keyframes shimmer {
  0% {
    background-position: 180% 0;
  }
  100% {
    background-position: -180% 0;
  }
}

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

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

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

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  .scene-wrap {
    min-height: 320px;
  }

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

  .player-panel {
    position: static;
  }
}

@media (max-width: 920px) {
  .hero__stats,
  .controls-grid,
  .stations-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .field--wide {
    grid-column: auto;
  }

  .page-shell {
    width: min(100% - 1rem, 1440px);
    padding-top: 0.6rem;
  }

  .panel-head,
  .section-head,
  .chips-section__head {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .glass-card,
  .hero {
    border-radius: 24px;
  }

  .hero {
    padding: 1rem;
  }

  .hero__actions,
  .search-box,
  .action-row,
  .station-card__actions,
  .player-actions {
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .station-link,
  .play-button {
    width: 100%;
  }

  .station-card__top,
  .mini-station {
    grid-template-columns: auto 1fr;
  }

  .station-card__health,
  .mini-station__play {
    grid-column: 2;
    justify-self: start;
  }

  .player-panel__head {
    align-items: flex-start;
  }

  .orbit-flag {
    --radius: 142px;
  }
}
