/* Shared by the tier list, hero pages and the news section: tokens, the section switch, the page title.
   Archive and article styles live in journal.css, hero and tier list styles in heroes.css. */
:where(.news-page, body:has(.atlas)) {
  --arena-ground: var(--primary-dark, #0a1a2f);
  --arena-surface: #10243a;
  --arena-raised: #17314a;
  --arena-rule: #30495f;
  --arena-ink: var(--primary-light, #f5f6f7);
  --arena-muted: #aebbc6;
  --arena-accent: var(--accent-green, #00ff9d);
  --arena-gutter: clamp(16px, 4vw, 48px);
}
body.news-page, body:has(.atlas), body:has(.atlas) main { background: var(--arena-ground); }
.arena-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Section switch: Tier list / News and guides */
.arena-context { display: flex; gap: 4px; align-items: center; width: fit-content; max-width: 100%; margin: 0 0 32px; padding: 4px; border: 1px solid #243b52; border-radius: 10px; background: #0f2236; }
.arena-context a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 6px; color: var(--arena-muted); font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .15s, background-color .15s; }
.arena-context a:hover { color: var(--arena-ink); background: #17304a; }
.arena-context a[aria-current] { color: var(--arena-ink); background: #1f3b58; }

.atlas :focus-visible { outline: 2px solid var(--arena-accent); outline-offset: 3px; }
.atlas [hidden] { display: none !important; }
.atlas.container { width: 100%; max-width: calc(1248px + 2 * var(--arena-gutter)); margin-inline: auto; padding: 104px var(--arena-gutter) 64px; box-sizing: border-box; }
.arena-mast { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.arena-mast h1 { color: var(--arena-ink); font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
@media (max-width: 1024px) {
  .atlas.container { padding-top: 88px; }
}
@media (max-width: 620px) {
  .arena-context { margin-bottom: 20px; }
  .arena-mast { display: grid; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas .hero-chip { transition: none; }
}
