/* Small-screen stats spacing overrides.
   Keep the heading close to the app controls and avoid the period tabs
   being translated away from the rest of the stats content. */
@media (max-width: 720px) {
  html body #root .app-shell.native-shell .stats-reference-page {
    gap: 10px !important;
    padding-top: 6px !important;
  }

  html body #root .app-shell.native-shell .stats-reference-header {
    min-height: 118px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body #root .app-shell.native-shell .stats-reference-tabs {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    transform: none !important;
  }
}
