/* Drift — one-input flight. Arcade chrome around the canvas, same shape as Pulse. */

.game-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.head-btns { display: flex; gap: 6px; }

.dr-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: var(--space-3) 0; }

.dr-ghost-banner {
  margin: 0 0 var(--space-3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  font-size: 0.9rem;
}
.dr-ghost-banner.stale { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--surface)); }

.stage-wrap {
  position: relative;
  width: min(92vw, 440px);
  aspect-ratio: 9 / 11;
  margin: 0 auto var(--space-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
#stage { width: 100%; height: 100%; display: block; background: #070912; cursor: pointer; }

.overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: var(--space-4);
  background: rgba(6, 7, 12, 0.74);
  backdrop-filter: blur(5px);
}
.dr-big { font-size: 3rem; line-height: 1; }
.over-kicker { letter-spacing: 0.3em; font-size: 0.75rem; font-weight: 800; color: var(--accent-text); }
.over-score {
  font-size: 4.4rem; font-weight: 850; line-height: 1;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.over-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
