:root {
  color-scheme: dark;
  --bg: #0f1115;
  --panel: #171b22;
  --text: #f5f1e8;
  --muted: #b7b0a3;
  --accent: #f5a524;
  --accent-strong: #ffcf70;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(245, 165, 36, 0.16), transparent 32%),
    linear-gradient(180deg, #1a1f28 0%, var(--bg) 55%);
  color: var(--text);
}

.shell {
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)), var(--panel);
  box-shadow: 0 18px 45px var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 0.95;
}

.summary,
.status,
.details,
.hint {
  color: var(--muted);
}

.summary {
  margin: 14px 0 24px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.player-toggle {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 18px 24px;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #271400;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.player-toggle:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.player-toggle:active {
  transform: translateY(0);
}

.player-toggle.is-playing {
  background: linear-gradient(135deg, #ffd274 0%, #ffe5a9 100%);
}

.player-toggle:focus-visible {
  outline: 3px solid rgba(255, 207, 112, 0.55);
  outline-offset: 3px;
}

.status {
  min-height: 1.5em;
  margin: 16px 0 0;
}

.details {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

.details p {
  margin: 0;
}

.hint {
  margin-top: 8px;
  font-size: 0.92rem;
}
