:is(.football-home, .basketball-home) {
  --home-ink: #06152c;
  --home-gold: #ffce4a;
  --home-cream: #fff0cb;
  --home-display: Rockwell, "Roboto Slab", Georgia, serif;
  background: var(--home-ink);
}
:is(.football-home, .basketball-home) .topline { height: 4px; background: var(--home-gold); }
:is(.football-home, .basketball-home) header {
  background: #071329;
  border-bottom: 1px solid #30405b;
  padding: .65rem max(1rem, calc((100% - 1220px) / 2));
}
:is(.football-home, .basketball-home) .brand { gap: clamp(.65rem, 2vw, 1.2rem); }
:is(.football-home, .basketball-home) .mark {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  padding: .25em .5em;
  background: var(--home-gold);
  color: #071329;
  font: 900 clamp(1rem, 2.2vw, 1.7rem)/1.1 var(--home-display);
  border: 0;
  box-shadow: none;
  clip-path: polygon(10% 0,90% 0,100% 20%,100% 80%,90% 100%,10% 100%,0 80%,0 20%);
}
:is(.football-home, .basketball-home) .brand h1 {
  margin: 0;
  color: var(--home-cream);
  font: 900 clamp(.94rem, 2.5vw, 1.85rem)/1.14 var(--home-display);
  letter-spacing: .025em;
  text-transform: uppercase;
}
:is(.football-home, .basketball-home) .sport-nav {
  border: 0;
  background: transparent;
  padding: .7rem .75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 15rem));
}
:is(.football-home, .basketball-home) .sport-nav a {
  display: grid;
  place-items: center;
  min-height: 2.45rem;
  padding: .4rem .5rem;
  text-align: center;
  border: 1px solid #9b9179;
  border-radius: .55rem;
  background: #0a1d38;
  font-size: clamp(.8rem, 1.7vw, 1rem);
  line-height: 1.15;
}
:is(.football-home, .basketball-home) .sport-nav a[aria-current="page"] {
  background: var(--home-gold);
  border-color: var(--home-gold);
  color: #071329;
}
:is(.football-home, .basketball-home) .shell { max-width: 1252px; padding-inline: clamp(.75rem, 2.3vw, 1rem); }
.featured-game {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3.9fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(.15rem, 1.1vw, .85rem);
  padding: clamp(.95rem, 1.75vw, 1.45rem) clamp(.45rem, 2vw, 1.65rem);
  margin: .2rem 0 1.4rem;
  color: var(--home-cream);
  text-align: center;
  background: #0c213a url("/assets/featured-stadium.webp") center 67% / cover;
  border: clamp(4px, .56vw, 8px) solid #b52b32;
  border-radius: 1.2rem;
  box-shadow: inset 0 0 0 2px #fbcb53, inset 0 0 0 5px #671824, 0 5px 0 #380d15;
}
.featured-game::before {
  position: absolute;
  z-index: -1;
  inset: 5px;
  border-radius: .8rem;
  background: radial-gradient(ellipse at center, #06162ae6 22%, #07172fa8 53%, #09172e14 100%);
  content: "";
}
.featured-copy { align-self: center; min-width: 0; }
.featured-round, .featured-kickoff {
  display: inline-block;
  margin: 0;
  padding: .35em .75em;
  border: 1px solid #ffd777;
  border-radius: .5rem;
  font: 800 clamp(.78rem, 1.5vw, 1rem)/1.25 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.featured-round { background: #741b2c; }
.featured-kickoff { background: #081c34; }
.featured-matchup {
  margin: .6rem 0 .4rem;
  font: 850 clamp(.97rem, 2.1vw, 1.5rem)/1.15 system-ui, sans-serif;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 4px #010713;
}
.featured-projection {
  margin: .35rem 0 .7rem;
  font: 900 clamp(1.7rem, 4.55vw, 3.48rem)/.99 var(--home-display);
  text-transform: uppercase;
  text-wrap: balance;
  color: #ffe16d;
  text-shadow: 0 2px #a4471a, 0 4px #712626, 0 6px #381621, 2px 7px 8px #030812;
}
.featured-helmet {
  width: 100%;
  height: auto;
  align-self: end;
  display: block;
  max-height: 13rem;
  object-fit: contain;
  image-rendering: auto;
  filter: hue-rotate(var(--helmet-hue,0deg)) saturate(var(--helmet-saturation,1)) brightness(var(--helmet-brightness,1)) drop-shadow(0 5px 6px #010817);
}
.featured-helmet--home { transform: scaleX(-1); }
:is(.football-home, .basketball-home) #weekly-games {
  background: transparent;
  border: 0;
  box-shadow: none;
}
:is(.football-home, .basketball-home) #weekly-games .panel-head {
  border: 0;
  background: none;
  padding: 0 0 .55rem;
  display: block;
  text-align: center;
}
:is(.football-home, .basketball-home) #weekly-games h2 {
  color: var(--home-cream);
  font: 900 clamp(1.5rem, 3.6vw, 2.35rem)/1.1 var(--home-display);
  letter-spacing: .035em;
}
:is(.football-home, .basketball-home) #weekly-games .updated { font-size: .8rem; margin-top: .35rem; }
:is(.football-home, .basketball-home) #weekly-games .game-tabs {
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .32rem 0 .8rem;
  border: 0;
}
:is(.football-home, .basketball-home) #weekly-games .game-tabs .tab { min-height: 2.25rem; border-radius: .45rem; }
:is(.football-home, .basketball-home) #weekly-games .game-grid { padding: 0 .12rem .8rem; }
:is(.football-home, .basketball-home) #weekly-games .game-card {
  background: #0b203b;
  border-color: #a49472;
  border-radius: .55rem;
  box-shadow: 0 3px 0 #041022;
}
:is(.football-home, .basketball-home) #weekly-games .game-class { border-radius: .25rem; }
:is(.football-home, .basketball-home) #weekly-games .game-team strong.team-label { font-size: clamp(.9rem, 1.45vw, 1.08rem); }
:is(.football-home, .basketball-home) #weekly-games .prediction strong { color: #ffdc63; font-size: clamp(.95rem, 1.5vw, 1.12rem); }
@media (max-width: 650px) {
  .featured-game {
    grid-template-columns: minmax(0, .67fr) minmax(0, 2.4fr) minmax(0, .67fr);
    padding: 1rem .35rem .9rem;
    border-radius: .85rem;
    margin-bottom: 1.15rem;
  }
  .featured-helmet { align-self: start; margin-top: 1.75rem; }
  .featured-projection { font-size: clamp(1.12rem, 5.55vw, 1.75rem); overflow-wrap: anywhere; }
  .featured-round, .featured-kickoff { letter-spacing: 0; padding-inline: .45em; }
  :is(.football-home, .basketball-home) .sport-nav { gap: .35rem; }
  :is(.football-home, .basketball-home) #weekly-games .game-tabs .tab { padding-inline: .55rem; }
}

:is(.football-home, .basketball-home) .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.basketball-home .basketball-featured {
  background: #0c213a url("/assets/featured-court.webp") center 70% / cover;
}
.basketball-home .featured-game[hidden] { display: none; }
.basketball-home .featured-jersey { max-height: 11rem; }
.basketball-home .featured-records {
  color: #e4e6ee;
  font: 700 clamp(.8rem, 1.6vw, 1rem)/1.35 system-ui, sans-serif;
  margin: .25rem 0 .6rem;
  text-shadow: 0 2px 4px #041022;
}
.basketball-home .record-key {
  color: #c2cad7;
  text-align: center;
  font: 500 .875rem/1.4 system-ui, sans-serif;
  margin: .25rem 0 .85rem;
}
.basketball-home .team-record {
  display: block;
  color: #c2cad7;
  font-size: .82rem;
  font-weight: 600;
  margin-top: .18em;
  white-space: nowrap;
}
.basketball-home .record { font-weight: 650; white-space: nowrap; }
.basketball-home .table-wrap table { min-width: 31rem; }
.basketball-home #game-classes, .basketball-home #game-dates { padding-bottom: .36rem; }
.basketball-home #game-dates .tab { min-width: 4.7rem; }
.basketball-home #game-dates .tab[aria-pressed="true"] { background: var(--home-gold); }
@media (max-width: 650px) {
  .basketball-home .featured-jersey { margin-top: 2rem; }
  .basketball-home .record-key { font-size: .82rem; }
}

@media (min-width: 651px) {
  .basketball-home .featured-projection { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
}
@media (max-width: 650px) {
  .basketball-home #weekly-games #game-dates { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: .25rem .3rem .6rem; }
  .basketball-home #game-dates .tab { flex: 0 0 auto; }
}

.football-home .featured-records {
  color: #e4e6ee;
  font: 700 clamp(.8rem, 1.6vw, 1rem)/1.35 system-ui, sans-serif;
  margin: .25rem 0 .65rem;
}
.football-home .football-team-record {
  display: block;
  margin-top: .15em;
  color: #c2cad7;
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
}
.football-home .football-record { white-space: nowrap; font-weight: 650; }
.football-home .record-key {
  text-align: center;
  color: #c2cad7;
  font: 500 .875rem/1.4 system-ui, sans-serif;
  margin: 0 0 .65rem;
}

:is(.linked-team, a.team-name) { color: inherit; text-underline-offset: .16em; text-decoration-thickness: .07em; }
:is(.linked-team, a.team-name):hover { color: #ffdc63; }
.featured-matchup :is(.linked-team, a.team-name) { text-decoration: none; }
.featured-matchup :is(.linked-team, a.team-name):hover { text-decoration: underline; }
