/* Shared flow and sizing safeguards. Header navigation rules stay in the header. */
body { overflow-wrap: anywhere; }
header nav { height: auto; min-height: 66px; gap: 12px; }
.legal-toc { display: block; height: auto; min-width: 0; padding: clamp(18px, 3vw, 28px); }
.legal-toc h3 { margin-top: 0; }
.legal-toc ol, .batch-article .legal-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.legal-toc ol li { min-width: 0; margin: 0; line-height: 1.65; }
.legal-toc ol li a { align-items: baseline; }
.legal-toc ol li a::before { min-width: 2ch; }
main, article, section, .legal-content, [class*="grid"] > *, .sports-section > *, .brand-actions { min-width: 0; }
img { max-width: 100%; }
.btn, .header-register { max-width: 100%; white-space: normal; text-align: center; }
.breadcrumb, .crumb { display: block; height: auto; }
.legal-content > ol { padding-left: 1.5em; }
.table-scroll, .table { max-width: 100%; overflow-x: auto; }
.table-scroll table, .table table { min-width: 520px; }
.review-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
:where(h1, h2, h3, h4, section)[id] { scroll-margin-top: var(--header-offset, 90px); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.mobile-menu.open { max-height: calc(100dvh - 80px); overflow-y: auto; }
/* Promotions reserve their own space instead of covering article text. */
.side-banner { position: static; margin: 24px auto; }
.sticky-banner { position: static; }
body.has-sticky-banner { padding-bottom: 0; }
@media (max-width: 1100px) {
  header .nav-links { display: none; }
  header .nav-right .btn { display: none; }
  header .hamburger { display: flex; }
  header nav:has(.nav) { flex-wrap: wrap; padding-block: 10px; }
  header .nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; }
}
@media (max-width: 760px) {
  .legal-toc ol, .batch-article .legal-toc ol { grid-template-columns: minmax(0, 1fr); }
  .toc ul { columns: 1; }
}
@media (max-width: 500px) {
  .why-grid, .how-steps, .sports-bet-cards { grid-template-columns: minmax(0, 1fr); }
  .brand-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
