html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 800px) {
  .site-nav {
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .nav-links {
    top: calc(64px + env(safe-area-inset-top));
    height: calc(100dvh - 64px - env(safe-area-inset-top));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  .mobile-quick {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mobile-quick a {
    padding-inline: 4px;
  }

  header#home {
    min-height: min(680px, calc(100svh - 64px));
  }

  section h2,
  .live-top h2,
  .coming-content h3 {
    overflow-wrap: anywhere;
  }

  .live-meta strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .chat-shell {
    min-height: 360px;
  }

  .chat-shell iframe {
    min-height: 312px;
  }

  .schedule-live-banner .btn {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .game-card,
  .youtube-card,
  .highlight-card,
  .stream-card,
  .social-card,
  .community-card {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
  }

  .news-nav {
    min-width: 0;
    padding: 10px 12px;
  }

  .news-brand {
    flex: 0 0 auto;
  }

  .news-links {
    min-width: 0;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .news-links::-webkit-scrollbar {
    display: none;
  }

  .news-links a,
  .news-links a:nth-child(n+4) {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 8px;
  }

  .news-links a.active {
    background: #10283b;
  }

  .news-shell {
    padding: 86px 14px 50px;
  }

  .news-hero {
    padding: 26px 0 14px;
  }

  .news-hero p {
    font-size: 16px;
    line-height: 1.55;
  }

  .news-filters {
    margin-inline: -4px;
    padding-inline: 4px;
    scroll-snap-type: x proximity;
  }

  .news-filter {
    min-height: 44px;
    scroll-snap-align: start;
  }

  .news-body {
    padding: 15px;
  }

  .news-card h2 {
    font-size: 23px;
    overflow-wrap: anywhere;
  }

  .news-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .playbook-page .site-nav {
    min-width: 0;
    overflow: hidden;
  }

  .playbook-nav-links {
    min-width: 0;
    flex: 1;
    overscroll-behavior-inline: contain;
  }

  .playbook-nav-links a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
  }

  .playbook-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4.25rem);
    overflow-wrap: anywhere;
  }

  .playbook-main {
    padding-inline: 14px;
  }

  .playbook-tools {
    position: static;
    padding: 14px;
  }

  .playbook-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    overscroll-behavior-inline: contain;
  }

  .playbook-filters button {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .playbook-legend {
    padding: 18px;
  }

  .playbook-legend .btn {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .mobile-quick a {
    font-size: 9px;
    letter-spacing: .03em;
  }

  header#home small {
    letter-spacing: .16em;
  }

  header#home h1 {
    font-size: clamp(44px, 16vw, 68px);
  }

  .news-brand {
    font-size: 21px;
  }

  .news-links a,
  .news-links a:nth-child(n+4) {
    padding-inline: 8px;
    font-size: 11px;
  }
}
