/* Skyway Drive's own layout of the shared parts (the parts' look is @enjo/ui's): the brake under the handbrake,
   recover and the camera one over the other left of the pedals. */
.game-pedals { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.game-middle { display: flex; flex-direction: column; align-items: center; gap: 10px; }
/* Right to left (Arabic: the translation step): the drive stays as a car is driven, as every driving game keeps it: the
   steering at the left thumb (the left arrow left of the right one), the pedals at the right; the rest mirrors. */
[dir="rtl"] .game-drive { direction: ltr; }
/* The power-ups (the systems step: src/systems.js), a row over the steering pads, their twins in width: the bottom
   bar's middle is the car's on the screen, the pedals and the steering fill the rest. */
.game-drive .enjo-ui-actions__left { position: relative; }
.game-powers {
  position: absolute;
  bottom: calc(100% + 18px);
  inset-inline-start: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
/* Small phones (the review, 2026-11-08): under 360px the steering, the pedals and the buttons beside them didn't fit
   (332px of them in 292px: the gas pad ran past the screen's right edge at 320px); a little smaller and closer, the bar
   as far from the edges as the top bar's cards, so all of them are whole on screen. */
@media (max-width: 359px) {
  .game-drive { left: calc(var(--enjo-safe-left) + 10px); right: calc(var(--enjo-safe-right) + 10px); gap: 6px; }
  .game-drive .enjo-ui-actions__side, .game-pedals, .game-middle { gap: 6px; }
  .game-drive .enjo-ui-holds__pad--big { width: 56px; height: 56px; }
  .game-drive .enjo-ui-holds__pad--tall { width: 52px; height: 80px; }
  .game-drive .enjo-ui-holds__pad--small { width: 46px; height: 38px; }
  .game-drive .enjo-ui-holds__button { width: 42px; height: 42px; padding: 5px; }
}
/* The coach's cards (the tutorial, the lessons, the marks, the power-ups' first shows) under the race clock (the tally's
   pill under the bar: 76px down, 38px high), never over it (the review, 2026-11-08: the card covered the clock). */
.enjo-ui-coach .enjo-ui-coach__card { top: calc(var(--enjo-safe-top) + 124px); }
/* A paint's picture (src/skins.js): the car is wider than it is high, bigger than the chest's icons. */
.enjo-ui-chest__look img.skin-preview { width: 76px; }
/* Slow motion working (src/systems.js looks): a sky haze round the screen's edges, over the race, under our UI. */
.game-slow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(26, 111, 192, 0.5) 100%);
  opacity: 0;
  transition: opacity 400ms;
}
.game-slow.is-on { opacity: 1; }
