.bridgeFullscreen { padding: 6px 9px; font: 600 12px system-ui; letter-spacing: normal; white-space: nowrap; }
.game > .stats { align-items: center; flex-wrap: wrap; gap: 6px 10px; }

html.bridge-focus, .bridge-focus body { overflow: hidden; }
.bridge-focus #playScreen > .game {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  overflow: auto;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
  border: 0;
  border-radius: 0;
}
.bridge-focus .game > * { flex-shrink: 0; }
.bridge-focus .previewHint { display: none; }

@media (orientation: landscape) and (max-height: 600px) {
  .bridge-focus .game > .stats { padding: 3px 8px; }
  .bridge-focus .bridgeFullscreen { padding-block: 4px; }
  .bridge-focus body:not(.chaseRun) #world { max-height: max(48px, calc(100dvh - 215px)); }
  .bridge-focus .game > .pads { padding: 4px 8px; }
  .bridge-focus .game > .pads .pad { min-height: 48px; padding: 4px 8px; font-size: 16px; }
  .bridge-focus .readout { min-height: 0; padding: 4px 8px; font-size: 12px; }
  .bridge-focus .chaseHud { gap: 6px 12px; padding: 4px 8px; }
  .bridge-focus .chaseRun .gameCanvasZone {
    width: min(100%, max(280px, calc((100dvh - 185px) * 3)));
    align-self: center;
  }
}

/* Keep lesson and result prompts centered above the focused game. */
.bridge-focus .runCardOverlay { position: fixed; }
