:root {
  --bg: #1a1410;
  --text: #ffffff;
  --text-dim: #9a8a7a;
  --brown: #a0714a;
  --brown-deep: #6b4423;
  --glow: rgba(160, 113, 74, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 50% 30%, #2a1f16, var(--bg));
  color: var(--text);
  user-select: none;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 20px;
}

.score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.score-value {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  color: #f5e6d3;
  text-shadow: 0 0 30px rgba(245, 230, 211, 0.25);
  font-variant-numeric: tabular-nums;
}

.score-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.coin {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 32% 28%, #c48a5e, var(--brown) 45%, var(--brown-deep));
  box-shadow:
    0 0 0 8px rgba(160, 113, 74, 0.1),
    0 20px 60px var(--glow),
    inset 0 -10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.08s ease;
}

.coin:active {
  transform: scale(0.93);
}

.coin-emoji {
  font-size: 120px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}