: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.36rem;
  font-weight: 600;
  line-height: 1.4;
}

.play-page .play-page__footnote--required code {
  color: inherit;
}

.play-btn {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.play-btn:hover:not(:disabled) {
  background: var(--accent-hover);
}

.play-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.play-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.play-status {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

.play-status--error {
  color: var(--danger);
}

.play-page__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.play-page__link:hover {
  color: var(--text);
}
