:root {
  color-scheme: dark;
  --background-top: #061b3b;
  --background-bottom: #000000;
  --card: #020916;
  --text: #ffffff;
  --muted: #e3ebf7;
  --start-button: #16803c;
  --start-button-hover: #1da94f;
  --stop-button: #b4232f;
  --stop-button-hover: #d92f3d;
  --focus: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, var(--background-top) 0%, var(--background-bottom) 100%);
  color: var(--text);
}

.player-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.player-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, 820px);
  padding: clamp(28px, 5vw, 64px);
  text-align: center;
  background: var(--card);
  color: var(--text);
  border: 5px solid var(--start-button);
  border-radius: 30px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.player-card:hover,
.player-card:focus-visible {
  background: #06152c;
  border-color: var(--focus);
  outline: none;
}

.player-card:active {
  transform: scale(0.99);
}

.player-card:disabled {
  cursor: wait;
  opacity: 0.75;
}

.player-card.is-playing {
  border-color: var(--stop-button);
}

.logo-wrap {
  display: block;
  width: 100%;
  margin: 0 auto 28px;
  line-height: 0;
}

.station-logo {
  display: block;
  width: 100%;
  height: auto;
}

.card-title,
.instruction,
.action-area,
.status-text {
  display: block;
}

.card-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.instruction {
  margin: 24px 0 42px;
  color: var(--muted);
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  font-weight: bold;
}

.action-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 205px;
  padding: 24px;
  border-radius: 30px;
  background: var(--start-button);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.button-icon {
  font-size: 0.8em;
  line-height: 1;
}

.player-card:hover .action-area,
.player-card:focus-visible .action-area {
  background: var(--start-button-hover);
}

.player-card.is-playing .action-area {
  background: var(--stop-button);
}

.player-card.is-playing:hover .action-area,
.player-card.is-playing:focus-visible .action-area {
  background: var(--stop-button-hover);
}

.status-text {
  min-height: 1.5em;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: bold;
}

@media (max-width: 520px) {
  .player-shell {
    padding: 8px;
  }

  .player-card {
    padding: 20px 14px 30px;
    border-radius: 20px;
    border-width: 4px;
  }

  .logo-wrap {
    margin-bottom: 18px;
  }

  .instruction {
    margin: 18px 0 28px;
  }

  .action-area {
    min-height: 150px;
    gap: 14px;
    border-radius: 22px;
  }
}
