.msa-home-preview {
  width: min(100% - 24px, 1240px);
  margin: 16px auto;
  padding: 16px clamp(16px, 3vw, 32px);
}
.msa-home-preview h1 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.msa-home-preview nav { display:flex; flex-wrap:wrap; gap:.6rem 1.25rem; margin-block-start:.6rem; }
.msa-home-preview li + li { margin-block-start: .45rem; }
.msa-home-preview a { color: inherit; text-underline-offset: .2em; }

.msa-league-local-tabs .msa-menu-art,
.sp-schedule-tabs .msa-menu-art,
.sp-tabs .msa-menu-art {
  display: block;
  position: relative;
  overflow: hidden;
  flex: none;
  width: 52px;
  filter: drop-shadow(0 4px 3px #0e213f4d);
}
.msa-league-local-tabs .msa-menu-art img,
.sp-schedule-tabs .msa-menu-art img,
.sp-tabs .msa-menu-art img {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
}
#content .msa-league-local-tabs {
  grid-template-columns: repeat(auto-fit, minmax(min(106px, 100%), 1fr));
  gap: 9px;
  margin-block: 14px 20px;
}
#content .msa-league-local-tabs a,
#content .sports-view :is(.sp-date-presets, .sp-schedule-tabs) a.sp-pill {
  background: linear-gradient(152deg, #fff 6%, #f2f6fd 49%, #dce6f2) !important;
  color: #102b43 !important;
  border: 1px solid #adc1d8 !important;
  border-radius: 13px !important;
  box-shadow: inset 0 1px #fff, 0 3px 5px #05132722;
}
#content .msa-league-local-tabs a { min-height: 108px; padding: 8px; line-height: 1.38; font-size: .84rem; }
#content .msa-league-local-tabs a[aria-current="page"],
#content .sports-view :is(.sp-date-presets, .sp-schedule-tabs) a.sp-pill.is-active {
  background: radial-gradient(ellipse at 52% 5%, #2a5178, #142d49 70%) !important;
  color: #fff !important;
  border-color: #e3bd73 !important;
  box-shadow: inset 0 -3px #e3bd73, 0 4px 8px #05132736;
}
#content .sports-view :is(.sp-date-presets, .sp-schedule-tabs) a.sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 10px;
}
.sp-schedule-tabs .msa-menu-art,
.sp-tabs .msa-menu-art { width: 30px; }
.msa-date-art {
  display: inline-grid;
  flex: none;
  place-items: center;
  position: relative;
  isolation: isolate;
  inline-size: 25px;
  block-size: 23px;
  padding-block-start: 4px;
  border-radius: 5px;
  line-height: 1;
  font-size: .68rem;
  color: #0d2845;
  background: linear-gradient(#5488ba 0 30%, #fdfefe 31%, #ccd9ea 96%);
  box-shadow: inset 0 0 0 1px #53729a75, 0 2px #49637f, 0 3px 4px #0e213f57;
  transform: perspective(85px) rotateY(-9deg) rotateZ(-5deg);
}
.msa-date-art::before {
  content: "";
  position: absolute;
  inset: -2px 5px auto;
  height: 6px;
  background: linear-gradient(90deg, #e2eefc, #7799bf) left / 3px 100% no-repeat,
              linear-gradient(90deg, #e2eefc, #7799bf) right / 3px 100% no-repeat;
}
.msa-date-art:is(.today,.next) {
  --date-metal: #e3a13d;
  --date-depth: #704211;
  --date-page: #fff0cd;
  inline-size: 28px;
  block-size: 25px;
  border-radius: 5px 5px 7px 6px;
  background: linear-gradient(153deg,#ffffff50,transparent 58%),
              linear-gradient(var(--date-metal) 0 30%,#fff 32%,var(--date-page) 96%);
  box-shadow: inset -2px -2px #13233b23, 2px 3px 0 var(--date-depth), 2px 5px 6px #0a18264d;
  transform: perspective(95px) rotateY(-15deg) rotateZ(-8deg);
}
.msa-date-art.next {
  --date-metal: #9872e8;
  --date-depth: #423177;
  --date-page: #e9ddff;
}
.msa-date-art:is(.today,.next) i {
  position: absolute;
  display: grid;
  place-items: center;
  inset: auto -5px -2px auto;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, var(--date-metal), var(--date-depth) 78%);
  box-shadow: inset 0 1px #ffffff8b, 1px 2px 2px #07111f70;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.msa-date-art.next i { font-size: 15px; line-height: .7; }
.msa-result-links a:has(.msa-date-art) { display: inline-flex; align-items: center; gap: .35rem; }
.msa-result-links .msa-date-art.today { zoom: .62; }
#msa-live-heading a { color: inherit; text-decoration: none; }
#msa-live-heading a:is(:hover,:focus-visible) { text-decoration: underline; }
#result-ticker .marquee-group { min-inline-size: 0; }
#content .result-strip .msa-results-compact {
  grid-column: 2 / -1;
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}
#content .msa-results-compact > .fixture {
  flex: 1 0 180px;
  min-width: 180px;
  border-inline-end: 1px solid #90a8c455;
  border-radius: 0;
}
html[data-theme="dark"] #content .msa-home .result-strip {
  background: #15243a;
  border-color: #4d6382;
}
html[data-theme="dark"] #content .result-strip .fixture :is(strong, small) {
  color: #edf4ff;
}
html[data-theme="dark"] #content .result-strip .fixture [data-live-score] :is(b, .match-score),
html[data-theme="dark"] #content .result-strip .fixture [data-live-score].msa-live-value {
  color: #f0f5ff !important;
}
html[data-theme="dark"] #content .sports-view :is(.sp-date-presets, .sp-schedule-tabs) a.sp-pill:not(.is-active) {
  background: linear-gradient(145deg,#263e5a,#17283e) !important;
  border-color: #597390 !important;
  color: #eef5ff !important;
  box-shadow: inset 0 1px #e5f2ff25, 0 3px 5px #05132738;
}
.msa-league-local-tabs .msa-date-art { margin: 10px 0; inline-size: 36px; block-size: 32px; font-size: 1rem; }
html[data-theme] #content .msa-home .fixtures-rail .fixture-day[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(145deg, #254b71, #122b46);
  border-color: #d2a859;
  box-shadow: inset 0 -3px #e0b96d;
}
#content .msa-league-local-tabs a:focus-visible,
#content .sports-view :is(.sp-date-presets,.sp-schedule-tabs) a:focus-visible {
  outline: 3px solid #ab7320;
  outline-offset: 3px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .msa-league-local-tabs :is(.msa-menu-art,.msa-date-art),
  .sp-schedule-tabs :is(.msa-menu-art,.msa-date-art),
  .sp-date-presets .msa-date-art { transition: translate .18s ease, filter .18s ease; }
  .msa-league-local-tabs a:hover :is(.msa-menu-art,.msa-date-art),
  .sp-schedule-tabs a:hover :is(.msa-menu-art,.msa-date-art),
  .sp-date-presets a:hover .msa-date-art {
    translate: 0 -3px;
    filter: drop-shadow(0 4px 4px #d7a858a6) brightness(1.08);
  }
}
@media (max-width: 600px) {
  #content .msa-league-local-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  #content .msa-league-local-tabs a { min-height: 86px; padding: 6px; font-size: .75rem; }
  .msa-league-local-tabs .msa-menu-art { width: 42px; }
}
html[data-theme] #content .sports-view .sp-filters select,
html[data-theme] #content .sports-view .sp-date-picker input {
  background-color: #f7faff;
  border-color: #a9bdd3;
  color: #102b43;
}
#content .sports-view .sp-date-step {
  min-width: 40px;
  min-height: 44px;
  color: #14334f;
  border-color: #a8bfd5;
  background: linear-gradient(148deg, #fff, #e2eaf5);
  box-shadow: 0 2px 4px #05132720;
}
#content .sports-view .sp-date-step:hover {
  border-color: #b57f35;
  background: #fff5e1;
}
