:root {
  --bg: #0f1419;
  --panel: #1a222c;
  --text: #e7ecf1;
  --muted: #8b9aab;
  --accent: #3d9a6e;
  --accent-hover: #4db87e;
  --danger: #e07a7a;
  --font: 'Manrope', system-ui, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  font-family: var(--font);
  background: radial-gradient(ellipse at 50% 0%, #1a2834 0%, var(--bg) 55%);
  color: var(--text);
}

.play-page {
  width: min(504px, 100%);
  padding: 2rem 1.75rem;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.play-page__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.play-page__hint {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.play-page__hint code {
  font-size: 0.95em;
  color: #a3b0be;
}

.play-page .play-page__footnote {
  margin: 0.65rem 0 0;
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.35;
  color: #5f6d7c;
}

.play-page .play-page__footnote code {
  font-size: inherit;
  font-weight: 400;
  color: inherit;
  background: none;
  padding: 0;
}

.play-page .play-page__footnote--required {
  color: var(--danger);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.play-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  width: 100%;
}

.play-actions {
  display: grid;
  gap: 0.75rem;
}

.play-btn:hover:not(:disabled) {
  background: var(--accent-hover);
}

.play-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.play-status {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.play-status--error {
  color: var(--danger);
}

.play-page__links {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
}

.play-page__link {
  color: var(--accent-hover);
  text-decoration: none;
}

.play-page__link:hover {
  text-decoration: underline;
}
