@media (max-width: 760px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.5;
  }

  .wrap { width: calc(100% - 24px); }
  .pad { padding: 14px; }
  .bar { gap: 6px 12px; padding-block: 10px 8px; }
  .bar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
    min-height: 0;
    overflow: visible;
  }
  .bar nav a {
    width: auto;
    min-height: 40px;
    padding: 5px 8px;
    border: 0;
    border-radius: 6px;
    font-size: .875rem;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .bar nav a.on { background: #1c4942; color: #e4fff0; }
  .bar nav a.on::before {
    content: "";
    flex: 0 0 4px;
    height: 1em;
    margin-right: 7px;
    border-radius: 2px;
    background: var(--mint);
  }
  .status { font-size: .75rem; }
  .crumb { flex-wrap: wrap; gap: .25rem .5rem; overflow-wrap: anywhere; }
  .hero, .bigmatch, .date-hero { padding: 16px; }
  .hero h1, .hero .big, main h1.page, .date-hero h1,
  .editorial-story .guide-story-title h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    line-height: 1.14;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
  }
  .title2, .guide-body h2 { font-size: 1.25rem; line-height: 1.25; }
  .lede, .guide-story-title p { font-size: 1rem; line-height: 1.5; }
  .foot { flex-wrap: wrap; gap: 8px 16px; }
  .foot a, .leagueLink span { overflow-wrap: anywhere; }
  .teams, .calendar-markets .cm-match { font-size: 1rem; }
  .row .mobile-label, .teams .rowleague { font-size: .8rem; }
  .row .teams, .nums > div { min-width: 0; overflow-wrap: anywhere; }
  .nums { gap: 8px; }
  .matrix { grid-template-columns: minmax(1.25rem, auto) repeat(5, minmax(0, 1fr)); }

  .calendar-hero .calendar-count { font-size: .92rem; }
  .calendar-hero .calendar-status { font-size: .85rem; }
  .calendar-filters { gap: 6px; margin-top: 12px; }
  .calendar-filters a {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 10px;
    min-height: 52px;
    padding: 6px 9px;
  }
  .filter-count { min-height: 34px; font-size: 1.15rem; }
  .filter-copy b { font-size: .9rem; }
  .filter-copy small { font-size: .8rem; }
  .calendar-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-tools input[type="search"], .calendar-tools .chip { grid-column: 1 / -1; }
  .calendar-tools input[type="search"], .calendar-tools select, .calendar-tools .chip {
    width: 100%;
    max-width: none;
    min-height: 44px;
    min-width: 0;
    font-size: 1rem;
  }
  .month-arrow, a.month-day, .month-today { min-height: 40px; }
  .month-day { font-size: .875rem; }
  .league-overview-copy strong { font-size: 1rem; }
  .league-overview-copy span, .league-overview-count { font-size: .8rem; }

  .calendar-markets thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .calendar-markets tbody tr {
    grid-template-columns: minmax(3.25rem, 1fr) repeat(5, minmax(0, 1fr));
    grid-template-areas:
      "time teams teams teams teams teams"
      "favorite favorite odds odds forecast forecast"
      "result result total total total total"
      "half half half crossing crossing crossing";
    gap: 5px;
    margin: 0 8px 8px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .calendar-markets tbody td {
    min-width: 0;
    padding: 5px 3px;
    font-size: .9rem;
    line-height: 1.35;
  }
  .calendar-markets td[data-mobile-label]::before {
    display: block;
    margin-bottom: 2px;
    color: #3b5b51;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.2;
    content: attr(data-mobile-label);
  }
  .calendar-markets .cm-time {
    align-self: start;
    color: #315a4e;
    background: #eaf5ee;
  }
  .calendar-markets .cm-time time strong { font-size: .875rem; white-space: nowrap; }
  .calendar-markets .cm-time time,
  .calendar-markets .cm-competition,
  .calendar-markets .cm-teams > small,
  .cm-result-part small, .cm-retro { font-size: .8rem; }
  .calendar-markets .cm-teams { padding-inline: 5px; }
  .calendar-markets .cm-pair { white-space: normal; }
  .cm-result-part { flex-wrap: wrap; gap: 0 .22rem; }

  .match-board { padding: 10px; }
  .match-scoreboard { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); }
  .match-team b { font-size: clamp(.9rem, 4vw, 1.15rem); line-height: 1.2; }
  .match-team, .match-center, .match-mode, .match-note { overflow-wrap: break-word; }
  .match-tournament, .match-team-country, .match-status, .match-center time,
  .match-center small, .match-observed, .match-favorite-label,
  .match-1x2 small, .match-exact small, .match-markets small, .match-odds small {
    font-size: .8rem;
  }
  .match-page h2 { font-size: 1.18rem; line-height: 1.25; }
  .match-mode, .match-note, .match-history li, .match-events li { font-size: .875rem; }
  .match-odds > div { font-size: .9rem; }
  .match-details summary { min-height: 40px; }

  .guide-card h2, .guide-story-title h1, .guide-body h2 { font-family: inherit; }
  .editorial-shelf .guide-card h2 { font-size: 1.3rem; line-height: 1.2; }
  .guide-story-title, .guide-card-copy { padding: 18px 15px; }
  .editorial-story .guide-body { padding-inline: 14px; }
  .editorial-story table th, .editorial-story table td { padding-inline: .35em; }
  .guide-body, .guide-end { overflow-wrap: anywhere; }
}

@media (max-width: 350px) {
  .bar nav a { padding-inline: 5px; }
  .calendar-markets tbody tr { margin-inline: 5px; padding-inline: 6px; }
  .match-scoreboard { gap: .25rem; }
  .match-1x2 > div { padding-inline: .15rem; }
}
