.screen--game {
  background: rgb(var(--screen-bg));
  justify-content: flex-start;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
}

.game__top-bar {
  width: 100%; max-width: 440px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; padding: 0 6px;
}
.game__back-btn {
  width: 38px; height: 38px; border: none; background: none;
  color: rgb(var(--text-muted)); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s;
}
.game__back-btn:active { color: rgb(var(--text-primary)); }
.game__back-btn svg { display: block; width: 20px; height: 20px; }

.game__scores { display: flex; gap: 24px; }
.game__score-box { display: flex; flex-direction: column; align-items: center; }
.game__score-label {
  font-size: 9px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgb(var(--text-muted));
}
.game__score-value {
  font-family: var(--font-mono); font-size: 20px; font-weight: 500;
  color: rgb(var(--text-primary)); line-height: 1.2; font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.game__zone {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 1.5px; white-space: nowrap; color: rgb(var(--text-muted));
}

.playfield {
  aspect-ratio: auto; width: auto; max-width: 96vw;
  display: flex; align-items: center; justify-content: center;
  touch-action: none;
}
#gameCanvas {
  display: block;
  height: min(78vh, calc(96vw * 680 / 400));
  aspect-ratio: 400 / 680;
  width: auto; max-width: 96vw;
  border-radius: 14px;
  background: #0C0C0E;
  touch-action: none;
  box-shadow: 0 0 0 1px rgba(var(--text-primary),0.06);
  will-change: transform;
  transform: translateZ(0);
}

.game__hint {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400; letter-spacing: 0.5px;
  color: rgb(var(--text-muted)); text-align: center;
}
