/* Mobile has its own reading and navigation hierarchy, after the shared themes. */
.mobile-menu-trigger {
  display: none;
}
.mobile-menu-sheet {
  width: min(500px, 100%);
  max-height: 100dvh;
  padding: 24px;
  background: #10242a;
  color: #edf6ef;
  border: 1px solid #446957;
  border-radius: 22px;
  box-shadow: 0 24px 90px #0009;
}
.mobile-menu-sheet::backdrop {
  background: #020b10d9;
}
.mobile-menu-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.mobile-menu-heading h2 {
  font-size: 28px;
  margin: 5px 0 0;
}
.mobile-menu-heading button {
  min-height: 48px;
  min-width: 94px;
  font-size: 15px;
}
.mobile-menu-search {
  display: grid;
  gap: 9px;
  font-size: 16px;
}
.mobile-menu-search input {
  min-height: 52px;
  width: 100%;
  font-size: 16px;
}
.mobile-menu-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #355047;
  text-decoration: none;
}
.mobile-menu-item > span:first-child {
  font-size: 25px;
  color: #b6ed5d;
}
.mobile-menu-item strong {
  display: block;
  font-size: 17px;
}
.mobile-menu-item small {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: #bdd2c7;
  margin-top: 6px;
}
.mobile-menu-item b {
  font-size: 26px;
}
.mobile-menu-group {
  margin: 18px 0;
  border: 1px solid #365449;
  border-radius: 12px;
  padding: 4px 16px;
}
.mobile-menu-group summary {
  min-height: 54px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 700;
}
.mobile-menu-account {
  display: grid;
  gap: 14px;
  border-top: 1px solid #355047;
  padding-top: 22px;
  margin-top: 22px;
}
.mobile-menu-account label {
  display: grid;
  gap: 9px;
  font-size: 16px;
}
.mobile-menu-account select {
  width: 100%;
  font-size: 17px;
  min-height: 52px;
}
.simple-member-hero {
  grid-template-columns: minmax(0, 1fr);
  padding: 30px;
}
.simple-member-hero h1 {
  font-size: 46px;
  line-height: 1.12;
}
.member-community {
  margin: 28px 0;
}
.mobile-quick-start {
  display: none;
}
@media (max-width: 780px) {
  html {
    font-size: 16px;
    scroll-padding-bottom: 90px;
  }
  body {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .topline {
    display: none;
  }
  .brand-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    min-height: 76px;
    gap: 16px;
  }
  .brand-row .brand-sports {
    max-width: none;
    width: 190px;
    min-width: 0;
    flex: 0 1 190px;
  }
  .brand-row .brand-sports img {
    width: 100%;
    max-width: 190px;
    height: auto;
  }
  .brand-row .brand-sports small {
    display: none;
  }
  .brand-row .account-nav,
  .desktop-nav {
    display: none;
  }
  .mobile-menu-trigger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-width: 102px;
    min-height: 48px;
    font-size: 16px;
    padding: 10px 14px;
    flex-shrink: 0;
  }
  .mobile-menu-trigger > span {
    font-size: 22px;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px 8px max(8px, env(safe-area-inset-bottom));
    gap: 4px;
    min-height: 74px;
    align-items: stretch;
  }
  .mobile-nav a,
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 58px;
    padding: 5px 2px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 650;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #cce2d8;
    box-shadow: none;
    text-decoration: none;
  }
  .mobile-nav b {
    font-size: 22px;
    line-height: 1.1;
  }
  .mobile-nav a.active,
  .mobile-nav button[aria-expanded='true'] {
    background: #234638;
    color: #c1f474;
  }
  .mobile-menu-sheet {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    padding: 22px 20px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  main {
    padding: 24px 18px 36px;
  }
  h1.page-title {
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.8px;
  }
  h2 {
    line-height: 1.25;
  }
  p,
  .lede {
    font-size: 16px;
    line-height: 1.7;
  }
  .help,
  .notice,
  .source,
  .scorecard-scroll-hint {
    font-size: 14px !important;
    line-height: 1.65;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
  .panel {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .button,
  button:not(.mobile-nav button),
  .small {
    min-height: 48px;
    font-size: 16px;
    line-height: 1.35;
    padding: 13px 17px;
  }
  .actions {
    gap: 12px;
    align-items: stretch;
  }
  .form {
    gap: 20px;
  }
  .form label {
    font-size: 16px;
    line-height: 1.5;
    gap: 9px;
  }
  input:not([type='checkbox']):not([type='radio']):not([type='file']),
  textarea,
  select {
    font-size: 17px;
    min-height: 52px;
    padding: 14px 15px;
    max-width: 100%;
    border-radius: 12px;
  }
  input[type='checkbox'],
  input[type='radio'] {
    min-width: 22px;
    min-height: 22px;
  }
  .form .check {
    gap: 12px;
    align-items: start;
  }
  .form .check span {
    font-size: 15px;
    line-height: 1.6;
  }
  .narrow {
    width: 100%;
    max-width: 100%;
  }
  .signup-benefits {
    padding: 22px;
    margin: 24px 0;
  }
  .signup-benefits small {
    font-size: 14px;
    line-height: 1.65;
    display: block;
  }
  .signup-benefits p {
    font-size: 15px;
  }
  .simple-member-hero {
    padding: 25px 22px;
    margin: 0 0 28px;
  }
  .simple-member-hero h1 {
    font-size: 36px;
    margin: 16px 0;
    letter-spacing: -0.8px;
  }
  .simple-member-hero .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .simple-member-hero p {
    font-size: 16px;
    line-height: 1.65;
  }
  .conversion-hero {
    margin: 0 0 34px;
    gap: 26px;
  }
  .conversion-copy h1 {
    font-size: 38px;
    line-height: 1.1;
    margin: 18px 0;
  }
  .conversion-copy .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .conversion-copy .benefit-note {
    font-size: 14px;
    line-height: 1.6;
  }
  .guest-card-preview {
    padding: 22px 20px;
  }
  .guest-card-preview > label {
    font-size: 16px;
  }
  .guest-card-preview .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .guest-card-preview .actions > a:not(.button) {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
  .guest-card-preview canvas {
    margin: 18px 0 24px;
  }
  .preview-heading .badge {
    font-size: 12px;
  }
  .benefit-tile {
    gap: 0;
    padding: 24px;
  }
  .benefit-tile h3 {
    font-size: 23px;
    margin-top: 14px;
  }
  .benefit-tile p {
    font-size: 16px;
    line-height: 1.7;
  }
  .benefit-tile b {
    font-size: 15px;
    margin-top: 12px;
  }
  .section-head {
    align-items: start;
    gap: 14px;
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-size: 25px;
    line-height: 1.3;
  }
  .section-head > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
  }
  .match-card {
    padding: 22px 18px !important;
  }
  .match-card .team-row {
    gap: 12px;
  }
  .team-name,
  .team-row strong {
    font-size: 16px;
    line-height: 1.4;
  }
  .match-situation {
    padding: 18px;
    margin-top: 20px;
  }
  .match-situation strong {
    font-size: 21px;
    line-height: 1.35;
  }
  .match-situation small {
    font-size: 14px;
    line-height: 1.7;
  }
  .live-scorecards th,
  .live-scorecards td,
  .local-detailed-scorecard th,
  .local-detailed-scorecard td {
    font-size: 14px;
    padding: 13px 12px;
  }
  .score-tabs {
    gap: 10px;
  }
  .score-tabs button {
    font-size: 15px;
    min-height: 50px;
  }
  .innings-total strong {
    font-size: 36px;
  }
  .poll-option {
    min-height: 58px;
    font-size: 16px;
    flex-wrap: wrap;
  }
  .fan-poll > .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .catchup-card .section-head {
    gap: 16px;
  }
  .catchup-score p {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    font-size: 16px;
  }
  .catchup-score strong {
    font-size: 24px;
  }
  .room-message p {
    font-size: 16px;
  }
  .room-message small {
    font-size: 13px;
  }
  .room-layout {
    gap: 22px;
  }
  .room-layout input[readonly] {
    font-size: 15px;
  }
  .room-layout .actions {
    display: flex;
    flex-wrap: wrap;
  }
  .fan-card-section {
    padding: 24px 20px;
  }
  .fan-card-section .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .fan-card-art small {
    font-size: 12px;
  }
  .passport-grid {
    grid-template-columns: 1fr;
  }
  footer {
    padding-bottom: 32px;
  }
  .footer-links a {
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer-contact a {
    font-size: 15px;
    line-height: 1.6;
    min-height: 44px;
  }
  .consent-banner {
    padding: 24px 20px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    max-height: 65dvh;
    overflow-y: auto;
  }
  .consent-banner .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .consent-banner h3 {
    font-size: 22px;
  }
  .consent-banner p {
    font-size: 15px;
  }
  .mobile-quick-start {
    display: grid;
    gap: 12px;
    margin: 26px 0;
  }
  .mobile-quick-start h2 {
    font-size: 25px;
    margin: 0 0 4px;
  }
  .mobile-quick-start a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid #41634f;
    border-radius: 16px;
    background: #112d2a;
    text-decoration: none;
  }
  .mobile-quick-start strong {
    display: block;
    font-size: 18px;
  }
  .mobile-quick-start small {
    display: block;
    font-size: 14px;
    color: #c1d4c9;
    margin-top: 6px;
    line-height: 1.6;
  }
  .mobile-quick-start b {
    color: #b6ed5d;
    font-size: 24px;
  }
}
@media (max-width: 360px) {
  .brand-row {
    padding-inline: 14px;
    gap: 12px;
  }
  .brand-row .brand-sports {
    width: 160px;
    flex-basis: 160px;
  }
  .mobile-menu-trigger {
    min-width: 96px;
  }
  .conversion-copy h1 {
    font-size: 35px;
  }
  .mobile-nav a,
  .mobile-nav button {
    font-size: 12px;
  }
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}
.flow-steps li {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 18px;
  background: #15352d;
  border: 1px solid #365647;
  border-radius: 14px;
}
.flow-steps b {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #b6ed5d;
  color: #10242a;
}
.flow-steps small {
  display: block;
  color: #bfd4c9;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 5px;
}
@media (max-width: 780px) {
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-steps li {
    padding: 18px;
    font-size: 17px;
  }
  .flow-steps small {
    font-size: 15px;
  }
  .mobile-quick-start button {
    width: 100%;
  }
  .consent-banner.mobile-consent {
    padding: 20px;
    max-height: 65dvh;
  }
  .mobile-consent h3 {
    margin: 0 0 10px;
    font-size: 20px;
  }
  .mobile-consent p {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
  }
  .mobile-consent > button {
    width: 100%;
  }
  .mobile-consent details {
    margin-top: 10px;
  }
  .mobile-consent summary {
    min-height: 44px;
    padding: 10px 0;
    font-size: 15px;
  }
  .mobile-consent .actions {
    margin: 14px 0 0;
  }
}
.mobile-menu-heading {
  position: sticky;
  top: -22px;
  background: #10242a;
  z-index: 2;
  padding: 12px 0;
}
.mobile-menu-language {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
  font-size: 15px;
}
.mobile-menu-language select {
  width: 150px;
  min-height: 48px;
  font-size: 16px;
}
.signup-benefits > summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  line-height: 1.5;
}
@media (max-width: 780px) {
  .signup-benefits {
    padding: 15px 18px;
    margin: 20px 0;
  }
  .signup-benefits > summary {
    font-size: 16px;
    min-height: 28px;
  }
  .signup-benefits[open] > summary {
    margin-bottom: 12px;
  }
}
@media (max-width: 780px) {
  .grid.two.name-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .form.inline-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
}
