:root {
  --bg: #0c0f0e;
  --text: #e8efe9;
  --muted: #8a9a90;
  --accent: #3dd68c;
  --font: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body {
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(61, 214, 140, 0.14), transparent 60%),
    var(--bg);
}

.wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem 1.5rem;
}

.head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  width: min(420px, 100%);
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(420px, 100%);
  margin-top: 0.75rem;
}

h1 {
  margin: 0.25rem 0 0.35rem;
  font-size: clamp(2rem, 8vw, 2.75rem);
  letter-spacing: -0.04em;
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.soon {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  opacity: 0.85;
}

#game {
  width: min(360px, 100%);
  height: auto;
  border-radius: 16px;
  border: 1px solid #24302a;
  background: linear-gradient(180deg, #131816 0%, #0f1412 100%);
  touch-action: manipulation;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.scores {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.scores strong {
  color: var(--text);
  font-size: 1.05rem;
}

.foot {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
}
