* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --text: #e8e8e8;
  --muted: #8a8a8a;
  --btn: #1a1a1a;
  --btn-hover: #2a2a2a;
  --btn-active: #3a3a3a;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  overflow: hidden;
}

.radio {
  width: 100%;
  max-width: 420px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.frequency {
  font-size: 85px;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.station {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 4000px;
}

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

.btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--btn);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .15s;
}

.btn:hover {
  background: var(--btn-hover);
  transform: scale(1.05);
}

.btn:active {
  background: var(--btn-active);
  transform: scale(.95);
}

.btn-power {
  width: 64px;
  height: 64px;
}

.btn-power.playing {
  background: #fff;
  color: #000;
}

.status {
  font-size: 14px;
  color: var(--muted);
  min-height: 16px;
  opacity: .7;
}

svg {
  width: 24px;
  height: 24px;
}

.btn-power svg {
  width: 28px;
  height: 28px;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.loading {
  animation: pulse 1.5s infinite ease-in-out;
}
