/* public-portal — Game-Day Kinetic, V3 Stadium Cinematic. Color +
 * type tokens come from @sportfed/theme/tokens.css.
 */

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--sf-paper);
  color: var(--sf-ink);
}

/* The shell's top bar is sticky: an in-page anchor must land below it. */
html {
  scroll-padding-top: 4.5rem;
}

body {
  font-family: var(--sf-sans);
  line-height: 1.6;
}

/* Fallback while Lit components register — prevents layout shift. */
app-portal-shell:not(:defined),
landing-hero:not(:defined),
landing-doors:not(:defined),
landing-features:not(:defined),
landing-federated:not(:defined),
landing-cta:not(:defined),
service-page:not(:defined),
sf-ticker:not(:defined),
sf-3d-placeholder:not(:defined),
sf-service-mark:not(:defined) {
  display: block;
  min-height: 4rem;
}

/* Top-right cluster of the public site header: menu button, app grid and the Sign in / Sign up
 * pair sit on ONE row. The shell caps a slotted span at 40vw (meant for a console badge), which
 * wrapped the grid button above Sign in on a phone (RA28-003). */
app-portal-shell[site-chrome] > span[slot='top-right'] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
  max-width: none;
  overflow: visible;
}
