/* Mobile-only layout fixes for Season round headers. */
@media (max-width: 640px) {
  .season-round-toggle {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  .season-round-toggle-main {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  .season-round-title {
    display: block;
    max-width: 100%;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    line-height: 1.08;
    white-space: nowrap;
  }

  .season-round-toggle-main .muted {
    margin-top: 3px;
    line-height: 1.25;
  }

  .season-round-summary {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-self: stretch;
    padding: 8px 10px;
    border-radius: 14px !important;
    font-size: clamp(0.68rem, 3vw, 0.82rem);
    line-height: 1.3;
    letter-spacing: 0.035em;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .season-round-chevron {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    flex: 0 0 auto;
  }
}
