/* Global perf flags (strict: no deliberate visual change) */
:root{
  --tsg-fps-cap: 60;
  --tsg-dpr-cap: 2;
}

/* The JS will set these on <html> */
html.tsg-tier-low{
  --tsg-fps-cap: 30;
  --tsg-dpr-cap: 1.25;
}
html.tsg-tier-normal{
  --tsg-fps-cap: 45;
  --tsg-dpr-cap: 1.5;
}
html.tsg-tier-high{
  --tsg-fps-cap: 60;
  --tsg-dpr-cap: 2;
}

/* ✅ Small browser-level hints (no visible change) */
html{
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Respect OS accessibility – this is not a “visual change” from us */
@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto !important;
  }
}
