/* Shell for legacy pages under REWORK_NAV (views/layout.pug): the new header, bottom tabs and footer
 * without loading superfan.css (which has global rules). Tokens are scoped to the three components,
 * so nothing else on a legacy page changes. Pair with rework.css. */
.pm-top, .pm-tabs, .pm-foot {
  --sf-accent: #F80035; --sf-ink: #f5f5f6; --sf-muted: #9d9da6; --sf-faint: #6c6c75; --sf-bg: #0b0b0d;
  --sf-raise: #16161a; --sf-raise-2: #202026; --sf-line: #26262d; --sf-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--sf-text); box-sizing: border-box; -webkit-font-smoothing: antialiased;
}
.pm-top *, .pm-tabs *, .pm-foot * { box-sizing: border-box; font-family: inherit; }
.pm-top a, .pm-tabs a, .pm-foot a { text-decoration: none; }
.pm-top a:hover, .pm-foot a:hover { text-decoration: none; }
.pm-foot p { margin: 0; }
.pm-top .sf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Legacy pages were built for a fixed header (their content leaves room for it), so it stays fixed here,
 * above the legacy content (old header: z-index 1300; loader and search overlay sit higher). */
body.pm-legacy .pm-top { position: fixed; left: 0; right: 0; top: 0; z-index: 1300; }
body.pm-legacy .pm-tabs { z-index: 1300; }
.pm-top .pm-account-menu p { margin: 6px 12px 4px; }
/* Legacy pages: leave room for the fixed bottom tabs on phones. */
@media (max-width: 899px) { body.pm-legacy { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }

