/* Breakout owns the command strip; world/collision coordinates stay unchanged. */
.teacher-hero { padding-block: 8px 14px; }
.teacher-hero h1 { font-size: clamp(24px, 3vw, 32px); }
.teacher-hero .teacher-kicker { display: none; }
.arcade-stage { display: flex; flex-direction: column; }
.arcade-stage > .arcade-hud {
  position: static; order: -1; width: 100%; min-height: 60px;
  padding: 8px 12px; gap: 12px; justify-content: space-around; align-items: center;
  background: #202d35;
}
.arcade-stage > .arcade-hud span {
  min-width: 0; padding: 0; border-radius: 0; background: none;
  font-size: 18px; font-variant-numeric: tabular-nums; text-align: center;
}
.arcade-hud small { font-size: 12px; letter-spacing: 0; color: #d5e1e7; }
.arcade-stage > canvas { flex: none; }
.arcade-stage > .arcade-overlay { top: 60px; padding: 12px; }
.arcade-dialog {
  width: min(340px, 100%); padding: 20px;
  border: 1px solid #70818c; border-radius: 8px;
  background: #f7f8f6; color: #202d35; box-shadow: 0 4px 0 #18202880;
}
.arcade-dialog h2 { margin-bottom: 16px; font-size: 24px; }
.arcade-primary, .retry-button, .arcade-touch button {
  min-height: 48px; border: 1px solid #516979; border-radius: 6px;
  background: #355969; color: #fff; font: inherit;
  font-size: 16px; font-weight: 800; line-height: 1.3;
  box-shadow: inset 0 -3px 0 #182e3c90; transform: none;
}
.arcade-primary, .retry-button { width: 100%; }
.arcade-primary, .arcade-touch #launchButton {
  background: #a84c14; border-color: #874010; box-shadow: inset 0 -3px 0 #612c1790;
}
.arcade-touch { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; }
.arcade-touch button { min-width: 48px; flex: 1; max-width: 96px; padding: 0; }
.arcade-touch #launchButton { flex: 2; max-width: 180px; }
.retry-button:hover, .arcade-touch button:hover { background: #294857; filter: none; }
.arcade-primary:hover, .arcade-touch #launchButton:hover { background: #913f0f; filter: none; }
.arcade-primary:active, .retry-button:active, .arcade-touch button:active {
  transform: none; box-shadow: inset 0 3px 0 #182e3ca0;
}
.arcade-primary:focus-visible, .retry-button:focus-visible, .arcade-touch button:focus-visible {
  outline: 3px solid #2c6289; outline-offset: 3px;
}
.arcade-primary:disabled, .retry-button:disabled, .arcade-touch button:disabled {
  background: #d4d9da; color: #4d5a61; box-shadow: none; opacity: 1;
}
@media (max-width: 720px) {
  .arcade-stage > .arcade-hud { gap: 8px; padding-inline: 8px; }
  .arcade-stage > .arcade-hud span { font-size: 16px; }
  .arcade-hud small { font-size: 11px; }
  .arcade-dialog { padding: 14px; }
  .arcade-dialog h2 { margin-bottom: 12px; font-size: 22px; }
  .arcade-status { min-height: 40px; padding: 8px 12px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .arcade-stage > canvas { width: min(100%, calc((100dvh - 130px) * 16 / 9)); }
  .arcade-touch { min-height: 64px; }
}
