/* Mr. B shared game shell — v2.
   Fleet-wide, low-risk arcade helpers only. Keep visual changes opt-in so
   individual games keep their own art direction. */

:root{
  --mrb-bg:#0b1226;
  --mrb-ink:#eaf0ff;
  --mrb-accent:#5b8cff;
  --mrb-font:'Fredoka','Quicksand',system-ui,-apple-system,sans-serif;
}

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

*,*::before,*::after{
  -webkit-tap-highlight-color:transparent;
}

html,body{
  overscroll-behavior:contain;
}

button,
[role="button"],
canvas{
  touch-action:manipulation;
}

body.mrb-page-hidden canvas{
  filter:saturate(.9);
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.001ms !important;
  }
}
