#drawer {
  width: min(400px, calc(100vw - 24px));
  box-sizing: border-box;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
  background: #dae8f3;
  border: 1px solid #9ab5cb;
  box-shadow: 0 12px 32px #071c39aa;
  overscroll-behavior: contain;
}
#drawer a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #bacfdf;
  color: #142b43;
  text-decoration: none;
  text-align: start;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.4;
}
#drawer a:hover, #drawer a[aria-current="page"] {
  background: #e9f5ff;
  border-color: #518ab6;
  color: #092b4b;
}
#drawer a:focus-visible {
  outline: 2px solid #1766b0;
  outline-offset: -2px;
}
#drawer .msa-menu-label {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
#drawer .msa-menu-art { display:block; position:relative; overflow:hidden; width:36px; }
#drawer .msa-menu-art img { position:absolute; display:block; max-width:none; max-height:none; }
#drawer a[href="/subscriptions"] {
  background: linear-gradient(145deg, #ffda65, #ffb522);
  border-color: #bb6909;
  box-shadow: inset 0 -2px 0 #9a440848;
  color: #362006;
}
#drawer a[href="/subscriptions"]:is(:hover, :focus-visible, [aria-current="page"]) {
  background: #ffd04c;
  border-color: #8f4309;
}
#drawer a[href="/subscriptions"] .msa-menu-art img {
  filter: grayscale(1) sepia(1) saturate(4) hue-rotate(350deg);
}
.msa-inline-nav-art { display:inline-flex; flex:none; width:1.5em; height:1.5em; vertical-align:middle; }
.msa-inline-nav-art img { display:block; object-fit:contain; }
.msa-news-phone-logo { position:absolute; left:37%; top:12%; width:27%; height:11%; background:#071633 url('/assets/msa-agency-mark-v2.webp') center / 92% auto no-repeat; border-radius:9%; transform:rotate(2deg); }
#drawer a[href="/live"] .msa-menu-label { display:flex; flex-wrap:wrap; align-items:center; gap:3px 5px; }
#drawer a[href="/live"] .msa-broadcast-mini span { width:14px; height:14px; }
@media (max-width: 360px) {
  #drawer { gap: 5px; padding: 7px; }
  #drawer a { gap: 6px; padding-inline: 5px; font-size: .82rem; }
}

/* A unified set of dimensional, illustrated icons for the fixed mobile navigation. */
.bottom-nav a::before,.bottom-nav button::before { content:none !important; display:none !important; }
.bottom-nav a,.bottom-nav button { grid-template-rows:34px auto; row-gap:0; }
.bottom-nav .msa-bottom-nav-icon {
  display:block; inline-size:34px; block-size:34px; flex:none;
  background-image:url('/assets/msa-bottom-nav-3d.webp?v=1');
  background-repeat:no-repeat; background-size:400% 200%;
  filter:drop-shadow(0 2px 2px #0009);
  transform-origin:center bottom;
  transition:transform .18s ease,filter .18s ease;
}
.bottom-nav .msa-bottom-nav-icon--home { background-position:0% 0%; }
.bottom-nav .msa-bottom-nav-icon--matches { background-position:33.3333% 0%; }
.bottom-nav .msa-bottom-nav-icon--news { background-position:66.6667% 0%; }
.bottom-nav .msa-bottom-nav-icon--results { background-position:100% 0%; }
.bottom-nav .msa-bottom-nav-icon--favorites { background-position:0% 100%; }
.bottom-nav .msa-bottom-nav-icon--account { background-position:33.3333% 100%; }
.bottom-nav .msa-bottom-nav-icon--subscription { background-position:66.6667% 100%; }
@media (hover:hover) {
  .bottom-nav a:hover .msa-bottom-nav-icon,.bottom-nav button:hover .msa-bottom-nav-icon {
    transform:translateY(-2px) scale(1.04);
    filter:drop-shadow(0 4px 3px #000a) saturate(1.08);
  }
}
@media(max-width:480px) {
  .bottom-nav .msa-bottom-nav-icon { inline-size:32px; block-size:32px; }
  .bottom-nav a,.bottom-nav button { grid-template-rows:32px auto; }
}
