@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-600-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-800-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-900-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-400-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Teko";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/fonts/teko-600-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("assets/fonts/material-symbols-rounded-ubl-700.woff2") format("woff2");
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  font-feature-settings: "rlig" 1;
  letter-spacing: normal !important;
  line-height: 1;
  text-transform: none !important;
  white-space: nowrap;
}

:root {
  --navy-950: #020f22;
  --navy-900: #041a38;
  --navy-800: #073467;
  --navy-700: #0b4b89;
  --red: #e31331;
  --red-dark: #bc0d27;
  --white: #ffffff;
  --canvas: #eef2f7;
  --ink: #07172d;
  --muted: #58677a;
  --line: #d8dee8;
  --display: "Barlow Condensed", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
  --page-pad: clamp(1rem, 3vw, 2.75rem);
  --max: 92rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  padding-bottom: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 12% 10%, rgba(7, 52, 103, 0.12), transparent 25%),
    var(--canvas);
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

.home-page {
  padding-bottom: 3.65rem;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--red);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: var(--white);
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  width: min(100%, var(--max));
  min-height: 5rem;
  margin: 0 auto;
  padding: 0.55rem var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
}

.brand > span {
  color: var(--white);
  background: linear-gradient(180deg, #ffffff 0%, #eaf2fb 48%, #9fb3ca 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.2));
  letter-spacing: 0.025em;
  text-shadow: 0 0 1.2rem rgba(78, 142, 214, 0.12);
}

.brand img {
  width: 2.9rem;
  height: 3.6rem;
  object-fit: contain;
}

.brand span,
.brand strong {
  display: block;
}

.brand strong {
  font-size: 1.35rem;
  letter-spacing: 0.065em;
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  padding: 0.7rem;
  display: grid;
  align-content: center;
  gap: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  height: 2px;
  background: currentColor;
}

.site-nav {
  position: fixed;
  inset: 5rem 0 0;
  padding: 1rem var(--page-pad);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  background: var(--navy-950);
}

.site-nav.open {
  display: flex;
}

.site-nav a {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a.active {
  color: var(--white);
  box-shadow: inset 0 -3px var(--red);
}

.hero {
  position: relative;
  min-height: min(48rem, calc(100svh - 5rem));
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 15, 34, 0.97) 0%, rgba(2, 15, 34, 0.78) 53%, rgba(2, 15, 34, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 39, 77, 0.1), rgba(2, 15, 34, 0.78));
}

.hero-inner {
  position: relative;
  width: min(100%, var(--max));
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(2.8rem, 8vw, 7rem) var(--page-pad);
  display: grid;
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  text-align: center;
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 0 auto 1.25rem;
  font: 900 clamp(3.15rem, 13.5vw, 7rem)/0.84 var(--display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
  color: var(--white);
}

.hero-copy h1 br {
  display: none;
}

.hero-copy h1 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

.hero-copy p {
  max-width: 37rem;
  margin: 0 auto 1.7rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.button {
  min-height: 3.1rem;
  padding: 0.82rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  font: 800 1rem/1 var(--display);
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
  background: rgba(2, 15, 34, 0.52);
}

.hero-actions .button {
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-actions .button:hover {
    transform: translateY(-3px) scale(1.025);
  }

  .hero-actions .button-primary:hover {
    background: #f0193a;
    box-shadow: 0 0.8rem 1.7rem rgba(227, 19, 49, 0.34);
  }

  .hero-actions .button-outline:hover {
    border-color: var(--white);
    color: var(--navy-950);
    background: var(--white);
    box-shadow: 0 0.8rem 1.7rem rgba(2, 15, 34, 0.3);
  }
}

.hero-actions .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px var(--navy-950), 0 0 0 6px var(--white);
}

.hero-actions .button:active {
  transform: translateY(-1px) scale(0.99);
}

.countdown-card {
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 0.9rem;
  background: rgba(2, 15, 34, 0.86);
}

.countdown-heading {
  padding-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-heading img {
  width: 2.25rem;
  height: 2.8rem;
  object-fit: contain;
}

.countdown-heading strong,
.countdown-heading span {
  display: block;
}

.countdown-heading strong {
  font: 800 1.15rem/1 var(--display);
  text-transform: uppercase;
}

.countdown-heading span {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.67rem;
}

.countdown-grid {
  padding: 0.65rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.countdown-grid div {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.countdown-grid div:last-child {
  border-right: 0;
}

.countdown-grid strong,
.countdown-grid span {
  display: block;
}

.countdown-grid strong {
  font: 900 clamp(1.45rem, 6vw, 2.15rem)/1 var(--display);
  font-variant-numeric: tabular-nums;
}

.countdown-grid span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
}

.countdown-card > p {
  margin: 0;
  color: #ff9aac;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.section-wrap {
  width: min(calc(100% - 1rem), var(--max));
  margin: 0.5rem auto 0;
}

.page-paths {
  display: flex;
  align-items: center;
  gap: 0.65rem 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 0.25rem solid var(--red);
  background: var(--white);
  box-shadow: 0 0.75rem 1.9rem rgba(2, 15, 34, 0.06);
}

.page-paths > span {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-paths a {
  color: var(--navy-800);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-decoration-color: rgba(227, 19, 49, 0.35);
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.25rem;
}

.page-paths a:hover,
.page-paths a:focus-visible {
  color: var(--red-dark);
  text-decoration-color: currentColor;
}

@media (max-width: 640px) {
  .page-paths {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 2.1rem;
    padding: 1rem 1.1rem;
  }

  .page-paths > span { margin-bottom: 0.15rem; }
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 0.25rem 0.9rem rgba(2, 15, 34, 0.08);
}

.feature-deck {
  position: relative;
  z-index: 3;
  margin-top: -1.8rem;
  display: grid;
  gap: 0.5rem;
}

.featured-game,
.featured-teams {
  padding: 1rem;
}

.panel-heading,
.section-title {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-heading h2,
.section-title h2 {
  margin: 0;
  color: var(--navy-800);
  font: 800 clamp(1.5rem, 5vw, 2rem)/1 var(--display);
  text-transform: uppercase;
}

.panel-heading span,
.section-title span {
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

.heading-link,
.section-title > a,
.section-title-inline > a {
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 800;
  text-align: right;
  text-decoration: none;
  text-transform: uppercase;
}

.section-title > a,
.section-title-inline > a {
  color: #ff9aac;
}

.featured-matchup {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-matchup > div {
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.featured-matchup img {
  width: 4rem;
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  object-fit: contain;
}

.featured-matchup strong {
  font: 800 1.2rem/0.95 var(--display);
  text-transform: uppercase;
}

.featured-matchup span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
}

.featured-matchup b {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-800);
  background: var(--canvas);
  font: 800 0.9rem/1 var(--display);
}

.featured-live-list {
  display: grid;
}

.featured-matchup-compact {
  padding-block: 0.7rem;
  border-top: 0;
}

.featured-matchup-compact img {
  width: 2.8rem;
}

.featured-matchup-compact strong {
  font-size: 0.95rem;
}

.featured-score {
  color: var(--navy-800);
  font: 900 1.25rem/1 var(--display);
}

.featured-game > p {
  margin: 0.8rem 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.featured-empty {
  min-height: 10rem;
  padding: 1.25rem;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px dashed var(--line);
  border-radius: 0.55rem;
  color: var(--muted);
  text-align: center;
  background: var(--canvas);
}

.featured-empty strong {
  color: var(--navy-800);
  font: 800 1.25rem/1 var(--display);
  text-transform: uppercase;
}

.featured-empty p {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
}

.text-link {
  width: fit-content;
  min-height: 2.3rem;
  margin: 0 auto;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  border: 1px solid #a9c2df;
  border-radius: 0.4rem;
  color: var(--navy-800);
  font-size: 0.67rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.team-card {
  min-width: 0;
  padding: 0.75rem;
  display: grid;
  align-content: start;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.team-card:hover,
.team-card:focus-visible {
  border-color: #9cb8d8;
  box-shadow: 0 0.45rem 1rem rgba(2, 15, 34, 0.1);
  transform: translateY(-2px);
}

.team-card img {
  width: 4.2rem;
  aspect-ratio: 1;
  margin-bottom: 0.55rem;
  object-fit: contain;
}

.team-card strong {
  font: 800 1.05rem/0.95 var(--display);
  text-transform: uppercase;
}

.team-card span {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.58rem;
}

.team-card-open-spot {
  border: 1px dashed rgba(227, 19, 49, 0.65);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(227, 19, 49, 0.72), transparent 48%),
    var(--navy-900);
}

.team-card-open-spot span {
  color: rgba(255, 255, 255, 0.7);
}

.content-grid {
  display: grid;
  gap: 0.5rem;
}

.content-grid > * {
  min-width: 0;
}

.schedule-panel,
.standings-panel,
.scores-panel,
.rules-panel,
.bracket-panel {
  padding: 1rem;
}

.section-title {
  margin: -1rem -1rem 1rem;
  padding: 0.9rem 1rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 26, 56, 0.98), rgba(7, 52, 103, 0.95)),
    var(--navy-900);
  border-radius: 0.95rem 0.95rem 0 0;
}

.section-title h2 {
  color: var(--white);
}

.section-title span {
  color: rgba(255, 255, 255, 0.7);
}

.tabs {
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
}

.tabs button {
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--navy-800);
  background: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
}

.tabs button.active {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.game-list {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  overflow: hidden;
}

.game-row {
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.game-row:last-child {
  border-bottom: 0;
}

.game-date {
  color: var(--navy-800);
  font: 800 0.9rem/1 var(--display);
  text-transform: uppercase;
}

.game-date span {
  margin-top: 0.3rem;
  display: block;
  color: var(--muted);
  font: 600 0.58rem/1.2 var(--body);
}

.game-info {
  min-width: 0;
}

.game-info strong {
  display: block;
  font: 800 1rem/1 var(--display);
  text-transform: uppercase;
}

.game-info p {
  margin: 0.32rem 0 0;
  color: var(--muted);
  font-size: 0.6rem;
}

.game-info .map-trigger {
  display: inline;
  color: var(--navy-700);
  font-size: inherit;
}

.game-info em {
  color: var(--red);
  font-style: normal;
}

.game-row-status {
  min-height: 0.2rem;
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.game-row-status:empty {
  display: none;
}

.game-status {
  padding: 0.18rem 0.38rem;
  border: 1px solid currentColor;
  border-radius: 0.25rem;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.status-final,
.status-forfeit {
  color: var(--navy-700);
  background: #e8f1fb;
}

.status-live {
  color: var(--red-dark);
  background: #fff0f2;
}

.status-postponed {
  color: #8a4b00;
  background: #fff6e8;
}

.status-cancelled {
  color: #596273;
  background: #f1f3f6;
}

.game-score {
  color: var(--navy-900);
  font: 900 0.9rem/1 var(--display) !important;
}

.game-status-note {
  color: var(--muted);
  font-size: 0.58rem;
}

.data-freshness {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.data-freshness::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.4rem;
  display: inline-block;
  border-radius: 50%;
  background: #2f7d4a;
}

.data-freshness-warning::before {
  background: #b36b00;
}

.data-freshness-loading::before {
  animation: freshness-pulse 900ms ease-in-out infinite alternate;
}

@keyframes freshness-pulse {
  to {
    opacity: 0.35;
    transform: scale(0.72);
  }
}

.home-data-freshness {
  margin-bottom: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

th,
td {
  padding: 0.72rem 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-size: 0.68rem;
}

th:first-child,
td:first-child {
  text-align: left;
}

th:nth-child(2),
td:nth-child(2) {
  text-align: left;
}

th {
  color: var(--muted);
  background: var(--canvas);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.standings-team {
  min-width: 11rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy-800);
  font-weight: 700;
  text-decoration: none;
}

.standings-team img {
  width: 2rem;
  aspect-ratio: 1;
  object-fit: contain;
}

.seed-cell {
  color: var(--red);
  font-weight: 800;
}

.panel-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.section-title-inline {
  align-items: center;
}

.section-title-inline > strong {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.4rem;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.bracket {
  display: grid;
  gap: 1rem;
}

.bracket-directory {
  display: grid;
  gap: 1rem;
}

.bracket-live-toolbar {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--white);
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  box-shadow: 0 0.55rem 1.4rem rgba(2, 15, 34, 0.14);
}

.bracket-live-toolbar > div {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.bracket-live-toolbar strong {
  font: 800 1.05rem/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bracket-live-toolbar span,
.bracket-live-toolbar .data-freshness {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.64rem;
}

.bracket-live-toolbar .data-freshness {
  flex: 0 0 auto;
  margin: 0;
  text-align: right;
}

.bracket-division-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.bracket-division-links a {
  padding: 0.48rem 0.72rem;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 800 0.72rem/1 var(--display);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.bracket-division-links a:hover,
.bracket-division-links a:focus-visible {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.bracket-live-section {
  min-width: 0;
  overflow: hidden;
  background: var(--navy-950);
  border: 1px solid rgba(4, 26, 56, 0.28);
  border-radius: 0.85rem;
  box-shadow: 0 1rem 2.4rem rgba(2, 15, 34, 0.18);
}

.bracket-live-section-header {
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--white);
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.bracket-live-section-header > div {
  display: grid;
  gap: 0.1rem;
}

.bracket-live-section-header h2 {
  margin: 0;
  font: 900 1.35rem/0.95 var(--display);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.bracket-live-kicker {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bracket-live-indicator {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd8e8;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bracket-live-indicator i {
  width: 0.45rem;
  height: 0.45rem;
  display: block;
  background: #36c56d;
  border-radius: 50%;
  box-shadow: 0 0 0 0.22rem rgba(54, 197, 109, 0.16);
}

.bracket-live-scroller {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--red) var(--navy-950);
  scrollbar-width: thin;
}

.bracket-live-scroller:focus-visible {
  outline: 0.18rem solid #d8ad50;
  outline-offset: -0.18rem;
}

.bracket-live {
  min-width: 48rem;
}

.bracket-live-artboard {
  position: relative;
  width: 100%;
  container-type: inline-size;
}

.bracket-live-art {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

.bracket-live-swipe-hint {
  display: none;
}

.bracket-live-team {
  position: absolute;
  z-index: 2;
  min-width: 0;
  min-height: 3.8%;
  padding: 0.25% 0.48%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  overflow: hidden;
  color: var(--white);
  background: rgba(2, 15, 34, 0.96);
  border-left: clamp(2px, 0.28cqw, 4px) solid #d7aa48;
  border-radius: 0.2rem;
  box-shadow: 0 0.25rem 0.6rem rgba(2, 15, 34, 0.28);
  font-size: clamp(0.55rem, 1.02cqw, 0.95rem);
  line-height: 1;
}

.bracket-live-team strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.025em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bracket-live-team small {
  flex: 0 0 auto;
  color: #e5bd61;
  font-size: 0.72em;
  font-weight: 700;
}

.bracket-live-team-seed-5 {
  top: 55.65%;
  left: 16.2%;
  width: 12.3%;
}

.bracket-live-team-seed-4 {
  top: 62.55%;
  left: 16.2%;
  width: 12.3%;
}

.bracket-live-team-play-in-winner {
  top: 47.95%;
  left: 45.3%;
  width: 15.8%;
}

.bracket-live-team-seed-1 {
  top: 54.9%;
  left: 45.3%;
  width: 15.8%;
}

.bracket-live-team-seed-3 {
  top: 68.2%;
  left: 45.3%;
  width: 15.8%;
}

.bracket-live-team-seed-2 {
  top: 75.15%;
  left: 45.3%;
  width: 15.8%;
}

.bracket-live-champion {
  position: absolute;
  z-index: 2;
  top: 83.9%;
  left: 73.8%;
  width: 15.6%;
  padding: 0.35% 0.6%;
  display: grid;
  justify-items: center;
  color: var(--white);
  background: rgba(2, 15, 34, 0.96);
  border: 1px solid #d7aa48;
  border-radius: 0.25rem;
  box-shadow: 0 0.35rem 0.8rem rgba(2, 15, 34, 0.3);
  text-align: center;
}

.bracket-live-champion small {
  color: #e5bd61;
  font-size: clamp(0.42rem, 0.65cqw, 0.62rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bracket-live-champion strong {
  max-width: 100%;
  overflow: hidden;
  font: 800 clamp(0.52rem, 0.92cqw, 0.88rem)/1 var(--display);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bracket-live-note {
  margin: 0;
  padding: 0.75rem 1rem;
  color: #aebed2;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.62rem;
}

@media (max-width: 600px) {
  .bracket-live-toolbar {
    display: grid;
    align-items: start;
  }

  .bracket-live-toolbar .data-freshness {
    text-align: left;
  }

  .bracket-live-swipe-hint {
    margin: 0;
    padding: 0.55rem 1rem;
    display: block;
    color: #cbd8e8;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
}

@media (min-width: 900px) {
  .section-wrap.bracket-directory {
    width: min(calc(100% - 4rem), 72rem);
  }

  .bracket-live {
    min-width: 0;
  }
}

.bracket-division {
  margin-top: 0;
}

.bracket-date-note {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.6rem;
}

.bracket-dates {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--canvas);
}

.bracket-dates span {
  min-width: 0;
  padding: 0.65rem 0.35rem;
  display: grid;
  gap: 0.18rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.52rem;
  text-align: center;
  text-transform: uppercase;
}

.bracket-dates span:last-child {
  border-right: 0;
}

.bracket-dates strong {
  color: var(--navy-800);
  font: 800 0.76rem/1 var(--display);
}

.bracket-round {
  min-width: 0;
}

.bracket-round h3 {
  margin: 0 0 0.65rem;
  color: var(--navy-800);
  font: 800 1rem/1 var(--display);
  text-align: center;
  text-transform: uppercase;
}

.bracket-game,
.champion-card {
  margin-bottom: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--white);
}

.bracket-game > div {
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.bracket-game > div:nth-child(2) {
  border-bottom: 0;
}

.bracket-game span,
.bracket-game p,
.champion-card span,
.champion-card p {
  color: var(--muted);
  font-size: 0.58rem;
}

.bracket-game strong {
  font-size: 0.65rem;
}

.bracket-slot {
  align-items: center;
}

.bracket-slot strong {
  flex: 1;
  text-align: right;
}

.bracket-slot b {
  min-width: 1.3rem;
  color: var(--navy-900);
  font: 900 0.8rem/1 var(--display);
  text-align: right;
}

.bracket-slot-winner strong,
.bracket-slot-winner b {
  color: var(--red-dark);
}

.bracket-game p,
.champion-card p {
  margin: 0.6rem 0 0;
  text-align: center;
}

.bracket-arrow {
  display: none;
  color: #aab4c3;
  font-size: 1.5rem;
  text-align: center;
}

.champion-card {
  display: grid;
  justify-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.champion-card strong {
  margin-top: 0.3rem;
  color: var(--red);
  font: 900 2rem/1 var(--display);
  text-transform: uppercase;
}

.champion-card span,
.champion-card p {
  color: rgba(255, 255, 255, 0.65);
}

.empty-score {
  min-height: 9rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--canvas);
}

.empty-score img {
  width: 3.8rem;
  height: 4.8rem;
  object-fit: contain;
}

.empty-score strong {
  font: 800 1.25rem/1 var(--display);
  text-transform: uppercase;
}

.empty-score p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.rules-list {
  border-top: 1px solid var(--line);
}

.rules-list details {
  border-bottom: 1px solid var(--line);
}

.rules-list summary {
  min-height: 3.2rem;
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--navy-800);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.rules-list summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.2rem;
}

.rules-list details[open] summary::after {
  content: "−";
}

.rules-list p {
  max-width: 50rem;
  margin: -0.2rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.subpage-main {
  min-height: calc(100vh - 10.25rem);
  padding-bottom: 2rem;
}

.not-found-actions {
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.not-found-actions .button-outline {
  border-color: var(--navy-700);
  color: var(--navy-800);
  background: var(--white);
}

.page-banner {
  padding: clamp(2.8rem, 7vw, 5.5rem) var(--page-pad);
  display: grid;
  gap: 1.2rem;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(2, 15, 34, 0.98), rgba(7, 52, 103, 0.92)),
    url("assets/optimized/ubl-website-hero-1600.webp") center / cover;
}

@media (max-width: 767px) {
  .page-banner {
    background:
      linear-gradient(110deg, rgba(2, 15, 34, 0.98), rgba(7, 52, 103, 0.92)),
      url("assets/optimized/ubl-website-hero-768.webp") center / cover;
  }
}

.page-banner > * {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.page-banner h1 {
  margin-bottom: 0.7rem;
  font: 900 clamp(3.5rem, 12vw, 7rem)/0.82 var(--display);
  text-transform: uppercase;
}

.page-banner p {
  max-width: 45rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-banner > strong {
  color: #ff9aac;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.rules-page-panel {
  padding: 1rem;
}

.gallery-landing-page {
  min-height: 100vh;
  background: var(--navy-950);
}

.gallery-hero .teams-hero-copy h1 {
  letter-spacing: 0.08em;
}

.gallery-directory.is-direct-album .division-heading,
.gallery-directory.is-direct-album .team-gallery-card-grid,
.gallery-directory.is-direct-album ~ .gallery-opportunity {
  display: none;
}

.gallery-directory.is-direct-album .team-gallery-list {
  gap: 0;
}

.gallery-directory .team-gallery-albums {
  display: grid;
  gap: 1rem;
}

.gallery-directory .team-gallery-card-grid {
  width: 100%;
}

.team-gallery-list {
  display: grid;
  gap: 1rem;
}

.team-gallery-card {
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.team-gallery-card[aria-expanded="true"] {
  border-color: var(--division-accent);
  box-shadow: 0 0 0 4px var(--division-accent), 0 1.4rem 3rem var(--division-glow);
}

.team-gallery-card[hidden] {
  display: none;
}

.team-gallery-card[aria-expanded="true"] .team-card-view {
  border-color: var(--division-accent);
  background: var(--division-accent);
}

.team-gallery-card[aria-expanded="true"] .division-team-card-content b {
  border-color: var(--white);
  color: var(--navy-950);
  background: var(--white);
}

.team-gallery {
  overflow: hidden;
  scroll-margin-top: 6.5rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--white);
  box-shadow: 0 0.8rem 2rem rgba(2, 15, 34, 0.13);
  animation: team-album-reveal 240ms ease both;
}

.team-gallery:focus {
  outline: 0;
}

.team-gallery:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 19, 49, 0.2), 0 0.8rem 2rem rgba(2, 15, 34, 0.13);
}

.team-gallery[hidden] {
  display: none;
}

@keyframes team-album-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-gallery-heading {
  min-height: 5.2rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(227, 19, 49, 0.17), transparent 36%),
    var(--navy-900);
}

.team-gallery-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.team-gallery-identity img,
.tbd-gallery-mark {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  object-fit: contain;
}

.tbd-gallery-mark {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 900 0.8rem/1 var(--display);
}

.team-gallery-identity strong,
.team-gallery-identity small {
  display: block;
}

.team-gallery-identity strong {
  overflow: hidden;
  font: 800 1.1rem/1 var(--display);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.team-gallery-identity small {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
}

.team-gallery-heading-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.gallery-team-return {
  min-height: 2.75rem;
  padding: 0.58rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 124, 143, 0.72);
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.gallery-team-return:hover,
.gallery-team-return:focus-visible {
  border-color: var(--white);
  background: var(--red-dark);
}

.team-gallery-heading-actions button {
  min-height: 2.75rem;
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.35rem;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.team-gallery-heading-actions button:hover,
.team-gallery-heading-actions button:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.team-gallery-count {
  color: #ff9aac;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

.team-gallery-content {
  padding: 0.75rem;
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--white);
}

.gallery-open {
  width: 100%;
  min-height: 5rem;
  padding: 0;
  display: block;
  border: 0;
  cursor: zoom-in;
  background: var(--navy-950);
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  display: block;
  object-fit: contain;
  transition: filter 180ms ease;
}

.gallery-open:hover img,
.gallery-open:focus-visible img {
  filter: brightness(1.08);
}

.gallery-item figcaption {
  padding: 0.48rem 0.55rem;
  display: grid;
  gap: 0.2rem;
}

.gallery-item figcaption strong {
  color: var(--navy-800);
  font: 800 0.78rem/1 var(--display);
  text-transform: uppercase;
}

.gallery-item figcaption span {
  color: var(--muted);
  font-size: 0.52rem;
}

.gallery-skeleton {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--white);
}

.gallery-skeleton-photo,
.gallery-skeleton-line {
  display: block;
  background: linear-gradient(100deg, #e4e9f0 20%, #f7f9fc 42%, #e4e9f0 64%);
  background-size: 220% 100%;
  animation: gallery-skeleton-shimmer 1.1s linear infinite;
}

.gallery-skeleton-photo {
  aspect-ratio: 3 / 2;
}

.gallery-skeleton-line {
  width: 58%;
  height: 0.65rem;
  margin: 0.72rem 0.55rem;
  border-radius: 999px;
}

@keyframes gallery-skeleton-shimmer {
  to {
    background-position-x: -220%;
  }
}

.gallery-empty {
  min-height: 7rem;
  margin: 0;
  padding: 1rem;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
  background: var(--canvas);
}

.gallery-lightbox {
  width: min(calc(100% - 1rem), 70rem);
  max-width: none;
  max-height: calc(100svh - 1rem);
  padding: 0;
  border: 0;
  border-radius: 0.8rem;
  color: var(--white);
  background: var(--navy-950);
  box-shadow: 0 1rem 4rem rgba(2, 15, 34, 0.5);
}

.gallery-lightbox::backdrop {
  background: rgba(2, 15, 34, 0.86);
  backdrop-filter: blur(0.35rem);
}

.gallery-lightbox-card {
  position: relative;
  display: grid;
}

.gallery-lightbox-card img {
  width: 100%;
  max-height: calc(100svh - 6rem);
  display: block;
  object-fit: contain;
  background: #010813;
}

.gallery-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  right: 0.55rem;
  min-width: 3rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.35rem;
  color: var(--white);
  cursor: pointer;
  background: rgba(2, 15, 34, 0.78);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-lightbox-caption {
  padding: 0.75rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-lightbox-caption strong {
  font: 800 1.05rem/1 var(--display);
  text-transform: uppercase;
}

.gallery-lightbox-caption span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.58rem;
}

.standards-intro {
  margin-bottom: 1.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 0.65rem;
}

.standards-intro img {
  width: 3.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.standards-intro h2 {
  margin-bottom: 0.4rem;
  font: 800 clamp(1.6rem, 6vw, 2.5rem)/0.95 var(--display);
  text-transform: uppercase;
}

.standards-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.about-purpose {
  display: grid;
  gap: 0.5rem;
}

.about-mission,
.about-value {
  overflow: hidden;
  border-radius: 1rem;
  color: var(--white);
  box-shadow: 0 0.25rem 0.9rem rgba(2, 15, 34, 0.12);
}

.about-mission {
  background:
    linear-gradient(145deg, rgba(2, 15, 34, 0.7), rgba(4, 26, 56, 0.98)),
    url("assets/optimized/ubl-website-hero-1600.webp") center / cover;
}

@media (max-width: 767px) {
  .about-mission {
    background:
      linear-gradient(145deg, rgba(2, 15, 34, 0.7), rgba(4, 26, 56, 0.98)),
      url("assets/optimized/ubl-website-hero-768.webp") center / cover;
  }
}

.about-value {
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(227, 19, 49, 0.14), transparent 43%),
    var(--white);
  border: 1px solid var(--line);
}

.about-feature summary {
  min-height: 10.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  list-style: none;
}

.about-feature summary::-webkit-details-marker {
  display: none;
}

.about-feature summary::after {
  content: "Open +";
  align-self: flex-start;
  margin-top: 0.75rem;
  padding: 0.42rem 0.65rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-feature[open] summary::after {
  content: "Close −";
}

.about-feature-content {
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-value .about-feature-content {
  border-top-color: var(--line);
}

.about-feature summary span,
.contact-callout > div > span {
  margin-bottom: 0.4rem;
  color: #ff9aac;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-value summary span {
  color: var(--red);
}

.about-feature summary h2 {
  max-width: 16ch;
  margin: 0;
  font: 900 clamp(1.8rem, 8vw, 4rem)/0.92 var(--display);
  text-transform: uppercase;
}

.about-feature-content p {
  max-width: 43rem;
  margin: 0;
  font-size: 0.78rem;
}

.about-mission .about-feature-content p {
  color: rgba(255, 255, 255, 0.76);
}

.about-value .about-feature-content p {
  color: var(--muted);
}

.leadership-panel {
  padding: 1rem;
}

.leadership-grid {
  display: grid;
  gap: 0.7rem;
}

.leader-card {
  padding: 0.8rem;
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--canvas);
}

.leader-mark,
.leader-photo-wrap {
  width: 3.6rem;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  border: 2px solid var(--red);
  border-radius: 50%;
}

.leader-mark {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  font: 900 1.45rem/1 var(--display);
  letter-spacing: 0.05em;
}

.leader-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

[data-featured-game] {
  min-height: 19rem;
}

[data-week-game-list] {
  min-height: 6.5rem;
}

.standings-page-panel .table-wrap {
  min-height: 18rem;
}

.bracket {
  min-height: 32rem;
}

[data-program-list] {
  min-height: 20rem;
}

.leader-card span {
  color: #c5112d;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.leader-card h3 {
  margin: 0.25rem 0 0.45rem;
  color: var(--navy-800);
  font: 900 1.7rem/0.95 var(--display);
  text-transform: uppercase;
}

.leader-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.contact-callout {
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(227, 19, 49, 0.3), transparent 40%),
    var(--navy-950);
  box-shadow: 0 0.25rem 0.9rem rgba(2, 15, 34, 0.18);
}

.contact-callout img {
  width: 2.8rem;
  height: 3.5rem;
  object-fit: contain;
}

.contact-callout h2 {
  margin-bottom: 0.3rem;
  font: 900 clamp(1.8rem, 8vw, 3.6rem)/0.9 var(--display);
  text-transform: uppercase;
}

.contact-callout p {
  max-width: 46rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.contact-callout .button {
  grid-column: 1 / -1;
  width: 100%;
}

.contact-links {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.contact-email {
  overflow-wrap: anywhere;
  color: #ff9aac;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
}

.social-coming-soon {
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
}

.schedule-page-panel,
.standings-page-panel,
.teams-page-panel {
  padding: 1rem;
}

.planning-note,
.standings-explainer {
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid #b9cce1;
  border-left: 4px solid var(--red);
  border-radius: 0.55rem;
  background: #f4f8fc;
}

.planning-note strong,
.standings-explainer strong {
  color: var(--navy-800);
  font: 800 1rem/1 var(--display);
  text-transform: uppercase;
}

.planning-note p,
.standings-explainer p,
.directory-note {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.week-controls {
  margin-bottom: 0.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.week-controls label {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  gap: 0.3rem;
}

.week-controls label span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.week-controls button,
.week-controls select {
  min-height: 2.8rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--navy-800);
  background: var(--white);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.week-controls button {
  cursor: pointer;
}

.week-summary {
  margin-bottom: 0.7rem;
  padding: 0.9rem;
  border-radius: 0.55rem;
  color: var(--white);
  background: var(--navy-900);
}

.gallery-empty[hidden] {
  display: none;
}

.week-summary span {
  color: #ff9aac;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.week-summary h2 {
  margin: 0.2rem 0 0.3rem;
  font: 900 1.65rem/0.95 var(--display);
  text-transform: uppercase;
}

.week-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.65rem;
}

.schedule-empty {
  min-height: 9rem;
  padding: 1.2rem;
  display: grid;
  align-content: center;
  justify-items: center;
  color: var(--muted);
  text-align: center;
  background: var(--canvas);
}

.schedule-empty strong {
  color: var(--navy-800);
  font: 800 1.2rem/1 var(--display);
  text-transform: uppercase;
}

.schedule-empty p {
  max-width: 34rem;
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
}

.standings-explainer {
  margin: 1rem 0 0;
}

.directory-note {
  max-width: 48rem;
  margin: 0 0 1rem;
}

.program-list {
  display: grid;
  gap: 0.65rem;
}

.program-profile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--white);
  scroll-margin-top: 6rem;
}

.program-profile summary {
  min-height: 4.8rem;
  padding: 0.7rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--navy-800);
  background: var(--canvas);
  cursor: pointer;
  list-style: none;
}

.program-profile summary::-webkit-details-marker {
  display: none;
}

.program-profile summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--red);
  font: 900 1.35rem/1 var(--display);
}

.program-profile[open] summary {
  color: var(--white);
  background: var(--navy-900);
}

.program-profile[open] summary::after {
  content: "-";
  color: #ff9aac;
}

.program-profile-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.program-profile-identity img {
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 3.1rem;
  object-fit: contain;
}

.program-profile-identity strong,
.program-profile-identity small {
  display: block;
}

.program-profile-identity strong {
  font: 800 1.2rem/0.95 var(--display);
  text-transform: uppercase;
}

.program-profile-identity small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.56rem;
}

.program-profile[open] .program-profile-identity small {
  color: rgba(255, 255, 255, 0.62);
}

.program-profile-divisions {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

.program-profile[open] .program-profile-divisions {
  color: #ff9aac;
}

.program-profile-content {
  padding: 0.85rem;
}

.open-spot-profile {
  padding: 1rem;
  display: grid;
  gap: 1rem;
  border: 1px dashed rgba(227, 19, 49, 0.62);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(227, 19, 49, 0.62), transparent 42%),
    var(--navy-900);
}

.open-spot-copy > span {
  color: #ff9aac;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.open-spot-copy h3 {
  margin: 0.35rem 0 0;
  font: 900 clamp(1.8rem, 9vw, 3rem)/0.9 var(--display);
  text-transform: uppercase;
}

.open-spot-copy p {
  max-width: 42rem;
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
}

.open-spot-actions {
  display: grid;
  align-content: end;
  gap: 0.65rem;
}

.open-spot-actions strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.open-spot-actions .button {
  width: 100%;
}

.program-summary {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.program-division-grid {
  display: grid;
  gap: 0.65rem;
}

.program-division {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--canvas);
}

.program-division > span {
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.program-division dl,
.program-facts {
  margin: 0.55rem 0 0;
}

.coach-list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.55rem;
}

.coach-card {
  min-height: 4.6rem;
  padding: 0.55rem;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}

.coach-photo {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
  border: 2px solid var(--red);
  border-radius: 50%;
  object-fit: cover;
}

.coach-initials {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  font: 900 1rem/1 var(--display);
  letter-spacing: 0.04em;
}

.coach-card span {
  color: var(--red);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.coach-card strong {
  margin-top: 0.08rem;
  display: block;
  color: var(--navy-800);
  font: 800 1.05rem/1 var(--display);
  text-transform: uppercase;
}

.coach-card p,
.coach-vacancy {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.58rem;
}

.coach-vacancy {
  padding: 0.5rem 0.6rem;
  border: 1px dashed #b9cce1;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.6);
}

.program-division dl div,
.program-facts div {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.program-division dt,
.program-facts dt {
  color: var(--muted);
  font-size: 0.53rem;
  font-weight: 800;
  text-transform: uppercase;
}

.program-division dd,
.program-facts dd {
  margin: 0.15rem 0 0;
  color: var(--navy-800);
  font-size: 0.68rem;
  font-weight: 700;
}

.program-division p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.63rem;
}

.program-facts {
  padding: 0.2rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
}

.program-facts a {
  overflow-wrap: anywhere;
  color: var(--navy-700);
}

.map-trigger {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--navy-700);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(11, 75, 137, 0.35);
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.map-trigger span,
.map-trigger small {
  display: block;
}

.map-trigger small {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 500;
  text-decoration: none;
}

.map-dialog {
  width: min(calc(100% - 1.5rem), 31rem);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.9rem;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(227, 19, 49, 0.28), transparent 42%),
    var(--navy-950);
  box-shadow: 0 1rem 3rem rgba(2, 15, 34, 0.45);
}

.map-dialog::backdrop {
  background: rgba(2, 15, 34, 0.76);
  backdrop-filter: blur(3px);
}

.map-dialog-card {
  padding: 1rem;
}

.map-dialog-heading {
  padding-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.map-dialog-heading span {
  color: #ff9aac;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.map-dialog-heading h2 {
  margin: 0.25rem 0 0;
  font: 900 1.8rem/0.92 var(--display);
  text-transform: uppercase;
}

.map-dialog-heading button {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.map-dialog-heading svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.map-dialog-card > p {
  margin: 0.85rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
}

.map-options {
  display: grid;
  gap: 0.5rem;
}

.map-options a {
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.45rem;
  color: var(--white);
  font: 800 0.88rem/1 var(--display);
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.map-options a::after {
  content: "Open";
  color: #ff9aac;
  font: 700 0.52rem/1 var(--body);
}

.map-options a:hover,
.map-options a:focus-visible {
  border-color: var(--red);
  background: rgba(227, 19, 49, 0.14);
}

.score-ticker {
  position: fixed;
  z-index: 70;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3.65rem;
  display: block;
  color: var(--white);
  background: var(--navy-950);
  border-top: 2px solid var(--red);
  box-shadow: 0 -0.35rem 1rem rgba(2, 15, 34, 0.24);
}

.score-ticker[hidden] {
  display: none;
}

.ticker-window {
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  width: max-content;
  height: 100%;
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}

.ticker-group {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.ticker-group[aria-hidden="true"] {
  display: flex;
}

.ticker-game {
  min-width: 18rem;
  padding: 0.35rem 0.75rem;
  display: grid;
  grid-template-columns: auto 1.6rem auto auto auto 1.6rem;
  align-items: center;
  gap: 0.34rem;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  color: var(--white);
  text-decoration: none;
}

.ticker-game time {
  display: grid;
  color: #ff9aac;
  text-transform: uppercase;
}

.ticker-game time span {
  color: #ff9aac;
  font-size: 0.55rem;
  font-weight: 800;
}

.ticker-game time small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.48rem;
  font-weight: 700;
}

.ticker-game img {
  width: 1.6rem;
  aspect-ratio: 1;
  border-radius: 0.2rem;
  background: var(--white);
  object-fit: contain;
}

.ticker-game b {
  font: 800 0.8rem/1 var(--display);
}

.ticker-game em {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.ticker-game .ticker-status {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-game:hover,
.ticker-game:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

:focus-visible {
  outline: 3px solid #ff9aac;
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .team-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .game-row {
    grid-template-columns: 5.5rem 1fr;
    align-items: center;
  }

  .game-info em {
    grid-column: 3;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .week-controls {
    grid-template-columns: auto minmax(15rem, 1fr) auto;
    align-items: end;
  }

  .week-controls label {
    grid-column: auto;
    grid-row: auto;
  }

  .program-division-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 768px) {
  .section-wrap {
    width: min(calc(100% - 2rem), var(--max));
    margin-top: 1rem;
  }

  .feature-deck {
    margin-top: -2.4rem;
    grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .content-grid.home-league-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bracket {
    grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.1fr) auto minmax(0, 0.8fr);
    align-items: center;
  }

  .bracket-arrow {
    display: block;
  }

  .bracket-directory {
    gap: 1.5rem;
  }

  .page-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-banner > * {
    width: auto;
    margin-inline: 0;
  }

  .about-purpose,
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-purpose {
    gap: 0.7rem;
  }

  .about-feature summary {
    min-height: 15rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
  }

  .about-feature summary::after {
    margin-top: 1.1rem;
  }

  .about-feature-content {
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem);
  }

  .leader-card {
    padding: 1rem;
    grid-template-columns: 4.3rem minmax(0, 1fr);
    gap: 1rem;
  }

  .leader-mark,
  .leader-photo-wrap {
    width: 4.3rem;
  }

  .contact-callout {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .contact-callout .button {
    grid-column: auto;
    width: auto;
  }

  .contact-links {
    grid-column: 2 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: 5.7rem;
  }

  .header-inner {
    min-height: 5.7rem;
  }

  .brand img {
    width: 3.6rem;
    height: 4.5rem;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand strong {
    font-size: 1.55rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.55rem, 1vw, 1rem);
    overflow: visible;
    background: transparent;
  }

  .site-nav a {
    min-height: 2.8rem;
    border: 0;
    font-size: 0.7rem;
  }

  .hero {
    min-height: min(44rem, calc(100vh - 5.7rem));
  }

  .hero-art {
    object-position: center;
  }

  .hero-inner {
    grid-template-columns: minmax(30rem, 1.3fr) minmax(23rem, 0.7fr);
    gap: clamp(2rem, 6vw, 6rem);
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy h1 {
    max-width: 13ch;
    margin-inline: 0;
  }

  .hero-copy h1 span {
    display: inline;
  }

  .hero-copy h1 br {
    display: initial;
  }

  .hero-copy p {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .countdown-card {
    padding: 0.85rem;
  }

  .bracket {
    min-height: 17rem;
  }

  .team-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-deck,
  .content-grid,
  .bracket-panel {
    margin-top: 1.2rem;
  }

  .featured-game,
  .featured-teams,
  .schedule-panel,
  .standings-panel,
  .scores-panel,
  .rules-panel,
  .bracket-panel,
  .schedule-page-panel,
  .standings-page-panel,
  .teams-page-panel {
    padding: 1.2rem;
  }

  .section-title {
    margin: -1.2rem -1.2rem 1.2rem;
    padding: 1rem 1.2rem;
  }

  .rules-page-panel {
    padding: 1.2rem;
  }

  .leadership-panel,
  .contact-callout {
    padding: 1.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .open-spot-profile {
    grid-template-columns: minmax(0, 1.6fr) minmax(14rem, 0.4fr);
    align-items: end;
  }

  .score-ticker {
    height: 4.15rem;
  }

  .ticker-track {
    animation-duration: 26s;
    animation-play-state: running;
  }

  .ticker-game {
    min-width: 20rem;
    padding: 0.45rem 0.95rem;
    gap: 0.42rem;
  }

  .ticker-game time span {
    font-size: 0.62rem;
  }

  .ticker-game time small {
    font-size: 0.54rem;
  }

  .ticker-game img {
    width: 1.8rem;
  }

  .ticker-game b {
    font-size: 0.9rem;
  }

  .ticker-game em {
    font-size: 0.58rem;
  }

  .ticker-game .ticker-status {
    font-size: 0.5rem;
  }

}

@media (prefers-reduced-motion: reduce) and (max-width: 1023px) {
  html {
    scroll-behavior: auto;
  }

  .ticker-window {
    overflow-x: auto;
  }

  .ticker-track {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .data-freshness-loading::before,
  .gallery-skeleton-photo,
  .gallery-skeleton-line,
  .team-gallery {
    animation: none;
  }

  .team-gallery-card {
    transition: none;
  }
}

/* Teams directory */
.teams-main,
.team-detail-main {
  width: 100%;
  overflow-x: clip;
}

.teams-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 31rem, rgba(227, 19, 49, 0.29), transparent 31rem),
    radial-gradient(circle at 8% 9rem, rgba(11, 75, 137, 0.46), transparent 30rem),
    radial-gradient(circle at 92% 82%, rgba(11, 75, 137, 0.26), transparent 34rem),
    linear-gradient(145deg, #020b18 0%, var(--navy-950) 46%, #061e3f 100%);
}

.teams-stage::before,
.teams-stage::after {
  position: absolute;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.teams-stage::before {
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4rem 4rem;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8rem, #000 calc(100% - 8rem), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 8rem, #000 calc(100% - 8rem), transparent);
}

.teams-stage::after {
  width: 42rem;
  height: 42rem;
  right: -17rem;
  top: -17rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.018), 0 0 0 8rem rgba(255, 255, 255, 0.012);
}

.teams-hero {
  position: relative;
  z-index: 1;
  min-height: clamp(36rem, 76vh, 52rem);
  padding: clamp(5.5rem, 11vw, 9rem) var(--page-pad) 0;
  display: grid;
  place-items: center;
}

.teams-hero-court {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
}

.teams-hero-court::before {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.28) 8rem, rgba(255, 255, 255, 0.16) calc(100% - 8rem), transparent);
}

.teams-hero-court::after,
.teams-hero-court span {
  position: absolute;
  left: 50%;
  top: clamp(19rem, 35vw, 28rem);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.teams-hero-court::after {
  width: min(62vw, 36rem);
  aspect-ratio: 1;
}

.teams-hero-court span {
  width: min(28vw, 11rem);
  aspect-ratio: 1;
}

.teams-hero-copy {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.teams-hero-kicker,
.teams-opportunity > div > span,
.team-profile-coaches header > span,
.team-profile-facts header > span,
.team-profile-next span,
.team-profile-missing > span {
  display: block;
  color: #ff8799;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.teams-hero-copy h1 {
  max-width: 70rem;
  margin: 1rem auto 1.2rem;
  font: 900 clamp(3.35rem, 8.4vw, 7.4rem)/0.83 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-transform: uppercase;
}

.teams-hero-copy > p {
  max-width: 49rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.teams-hero-actions {
  width: min(100%, 42rem);
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.teams-hero-actions button {
  width: 100%;
  min-height: 4.65rem;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(2, 15, 34, 0.72);
  cursor: pointer;
  font: inherit;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.teams-hero-actions button:first-child {
  border-top-color: var(--red);
}

.teams-hero-actions button:last-child {
  border-top-color: #4a9ce8;
}

.teams-hero-actions button[aria-pressed="true"] {
  border-color: var(--white);
  background: rgba(7, 52, 103, 0.9);
  box-shadow: inset 0 -3px 0 currentColor;
}

.teams-hero-actions strong {
  font: 800 1.45rem/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-directory {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}

.team-directory[hidden],
.division-column[hidden] {
  display: none;
}

.division-board {
  display: grid;
  grid-auto-flow: dense;
  gap: clamp(4rem, 9vw, 7rem);
}

.division-column {
  min-width: 0;
  scroll-margin-top: 7rem;
}

.division-heading {
  margin-bottom: 1rem;
  padding: 0.85rem 0;
  border-top: 3px solid var(--division-accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.division-column-girls {
  --division-accent: var(--red);
  --division-glow: rgba(227, 19, 49, 0.28);
  --division-soft: rgba(227, 19, 49, 0.12);
}

.division-column-boys {
  --division-accent: #2e83d3;
  --division-glow: rgba(46, 131, 211, 0.28);
  --division-soft: rgba(46, 131, 211, 0.12);
}

.division-heading h2 {
  margin: 0;
  color: var(--white);
  font: 900 clamp(1.9rem, 4vw, 3.1rem)/0.9 var(--display);
  text-transform: uppercase;
}

.division-team-grid {
  display: grid;
  grid-auto-flow: dense;
  gap: 1rem;
}

.division-team-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 20%, var(--division-soft), transparent 37%),
    linear-gradient(155deg, #071f40 0%, var(--navy-950) 72%);
  box-shadow: 0 1.1rem 2.4rem rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.division-team-card-open {
  border-style: dashed;
  background:
    radial-gradient(circle at 50% 20%, var(--division-soft), transparent 37%),
    linear-gradient(155deg, var(--navy-800) 0%, var(--navy-950) 76%);
}

.division-team-card::before {
  position: absolute;
  z-index: 1;
  inset: 34% 0 0;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(2, 15, 34, 0.82) 35%, var(--navy-950) 78%);
  pointer-events: none;
}

.team-card-court {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.11) 50%, transparent 50.2%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 2.8rem 2.8rem, 2.8rem 2.8rem;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 500ms ease;
}

.team-card-court::before,
.team-card-court::after,
.team-card-court i {
  position: absolute;
  left: 50%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.team-card-court::before {
  top: 10%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.team-card-court::after {
  top: -8%;
  width: 76%;
  height: 40%;
  border-radius: 0 0 50% 50%;
}

.team-card-court i {
  bottom: -13%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.team-card-view {
  position: absolute;
  z-index: 4;
  top: 0.9rem;
  right: 0.9rem;
  min-height: 2.35rem;
  padding: 0.5rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 15, 34, 0.76);
  backdrop-filter: blur(0.5rem);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.team-card-view svg,
.division-team-card-content b svg,
.team-profile-back svg,
.team-profile-standings-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.team-card-logo-stage {
  position: absolute;
  z-index: 1;
  top: 14%;
  left: 50%;
  width: 48%;
  aspect-ratio: 1;
  padding: 0.65rem;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 500ms ease;
}

.team-card-logo-stage::before {
  display: none;
}

.team-card-logo-stage img {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0.8rem 1.2rem rgba(0, 0, 0, 0.38));
}

.team-card-logo-stage-open {
  top: 10%;
  width: 38%;
  padding: 0.85rem;
}

.team-card-logo-stage-open img {
  max-width: 88%;
  max-height: 88%;
  filter: drop-shadow(0 0.55rem 0.8rem rgba(0, 0, 0, 0.28));
}

.division-team-card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 1.15rem;
  display: block;
  text-align: center;
}

.division-team-card-content small,
.division-team-card-content strong,
.division-team-card-content > span,
.division-team-card-content b {
  display: block;
}

.division-team-card-content small {
  color: #ffadba;
  font: 900 clamp(1.05rem, 1.55vw, 1.35rem)/1 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.division-team-card-content .team-card-kicker {
  font: 800 0.72rem/1 var(--ui);
  letter-spacing: 0.1em;
}

.division-column-boys .division-team-card-content small {
  color: #98cdfb;
}

.division-team-card-content strong {
  margin-top: 0.35rem;
  font: 900 clamp(1.7rem, 3.5vw, 2.15rem)/0.9 var(--display);
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-transform: uppercase;
}

.division-team-card-content > span {
  min-height: 1.25rem;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
}

.division-team-card-content b {
  position: relative;
  min-height: 3.2rem;
  margin-top: 0.9rem;
  padding: 0.72rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(7, 52, 103, 0.7);
  font: 800 0.9rem/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.division-team-card-content b svg {
  position: absolute;
  right: 0.9rem;
}

.division-column-girls .division-team-card-content b {
  background: rgba(188, 13, 39, 0.72);
}

.division-team-card-content b svg {
  transition: transform 240ms ease;
}

.team-card-motion-ready .division-team-card:not(.is-visible) {
  opacity: 0;
  transform: translateY(2rem) scale(0.94);
}

.team-card-motion-ready .division-team-card.is-visible {
  animation: team-card-reveal 650ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  animation-delay: 0ms;
}

@keyframes team-card-reveal {
  from { opacity: 0; transform: translateY(2rem) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.division-team-card:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -6px;
  border-color: var(--division-accent);
  box-shadow: 0 0 0 4px var(--division-accent), 0 1.4rem 3rem var(--division-glow);
  transform: translateY(-0.45rem);
}

.division-team-card:active {
  transform: translateY(-0.15rem) scale(0.992);
}

.teams-opportunity {
  margin-top: 0;
  margin-bottom: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  gap: 2rem;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at 95% 10%, rgba(227, 19, 49, 0.45), transparent 30%),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
}

.teams-opportunity::after {
  position: absolute;
  z-index: -1;
  right: -5rem;
  bottom: -9rem;
  width: 21rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 3.5rem rgba(255, 255, 255, 0.025);
}

.teams-opportunity h2 {
  max-width: 16ch;
  margin: 0.6rem 0 0.7rem;
  font: 900 clamp(2.4rem, 5vw, 4.6rem)/0.88 var(--display);
  text-transform: uppercase;
}

.teams-opportunity p {
  max-width: 45rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.teams-opportunity .button {
  width: 100%;
  min-height: 3.5rem;
  align-self: end;
}

/* Team profile */
.team-detail-page {
  background: var(--canvas);
}

.team-profile-shell {
  min-height: calc(100vh - 5rem);
}

.team-profile-hero {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 20%, var(--profile-glow), transparent 31%),
    linear-gradient(145deg, #020b18 0%, var(--navy-950) 55%, #082b57 100%);
}

.team-profile-hero-girls {
  --profile-accent: var(--red);
  --profile-glow: rgba(227, 19, 49, 0.38);
}

.team-profile-hero-boys {
  --profile-accent: #3c94e5;
  --profile-glow: rgba(60, 148, 229, 0.38);
}

.team-profile-court {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
}

.team-profile-court::before {
  position: absolute;
  top: -30%;
  right: -12%;
  width: min(68vw, 46rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, 0.022), 0 0 0 10rem rgba(255, 255, 255, 0.014);
}

.team-profile-court::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.15) 50%, transparent 50.1%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 4rem 4rem, 4rem 4rem;
  mask-image: linear-gradient(to right, #000, transparent 68%);
}

.team-profile-hero-inner {
  position: relative;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 34rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem);
  display: grid;
  align-content: center;
  gap: 2rem;
}

.team-profile-back {
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.team-profile-hero-copy > span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-profile-hero-girls .team-profile-hero-copy > span {
  color: #ff8799;
}

.team-profile-hero-boys .team-profile-hero-copy > span {
  color: #98cdfb;
}

.team-profile-hero-copy h1 {
  max-width: 12ch;
  margin: 0.65rem 0 1rem;
  font: 900 clamp(3.6rem, 9vw, 7.5rem)/0.82 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-transform: uppercase;
}

.team-profile-hero-copy > p {
  max-width: 44rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.team-profile-division-nav {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.team-profile-division-nav a {
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.team-profile-division-nav a[aria-current="page"] {
  border-color: var(--profile-accent);
  color: var(--white);
  background: color-mix(in srgb, var(--profile-accent) 28%, transparent);
}

.team-profile-logo {
  position: relative;
  width: min(72vw, 18rem);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.035) 62%, transparent 63%);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.25);
}

.team-profile-logo::before,
.team-profile-logo::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.team-profile-logo::before {
  inset: -1.3rem;
  border: 1px dashed rgba(255, 255, 255, 0.17);
}

.team-profile-logo::after {
  inset: 12%;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: inset 0 0 0 1px rgba(2, 15, 34, 0.1);
}

.team-profile-logo > span {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -0.85rem;
  min-width: 3.4rem;
  padding: 0.36rem 0.65rem;
  color: var(--white);
  background: var(--profile-accent);
  font: 800 0.76rem/1 var(--display);
  letter-spacing: 0.08em;
  text-align: center;
  transform: translateX(-50%);
}

.team-profile-logo img {
  position: relative;
  z-index: 3;
  width: 64%;
  height: 64%;
  object-fit: contain;
}

.team-profile-content {
  position: relative;
  z-index: 3;
  margin-top: -2rem;
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
  display: grid;
  gap: 1rem;
}

.team-profile-coaches,
.team-profile-facts {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1rem 2.5rem rgba(2, 15, 34, 0.1);
}

.team-profile-coaches header,
.team-profile-facts header {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.team-profile-coaches header > span {
  color: var(--red-dark);
}

.team-profile-facts header > span {
  color: #ff8799;
}

.team-profile-coaches h2,
.team-profile-facts h2 {
  margin: 0.45rem 0 0;
  color: var(--navy-950);
  font: 900 clamp(2rem, 4vw, 3.25rem)/0.9 var(--display);
  text-transform: uppercase;
}

.team-profile-coaches header p {
  max-width: 43rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.team-profile-coach-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.8rem;
}

.team-profile-coach {
  min-width: 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.team-profile-coach-photo {
  width: 4.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
  font: 900 1.7rem/1 var(--display);
}

.team-profile-coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-coach > div:last-child > span {
  color: var(--red-dark);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-profile-coach h3 {
  margin: 0.18rem 0 0;
  color: var(--navy-950);
  font: 800 1.45rem/1 var(--display);
  text-transform: uppercase;
}

.team-profile-coach p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.69rem;
}

.team-profile-empty {
  margin-top: 1.25rem;
  padding: 1.2rem;
  border: 1px dashed #9fb1c8;
  background: var(--canvas);
}

.team-profile-empty strong {
  color: var(--navy-800);
  font: 800 1.3rem/1 var(--display);
  text-transform: uppercase;
}

.team-profile-empty p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.team-profile-facts {
  align-self: start;
  color: var(--white);
  border-color: var(--navy-900);
  background:
    radial-gradient(circle at 100% 0, rgba(227, 19, 49, 0.23), transparent 38%),
    var(--navy-950);
}

.team-profile-facts header {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.team-profile-facts h2 {
  color: var(--white);
}

.team-profile-facts dl {
  margin: 0;
}

.team-profile-facts dl > div {
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.team-profile-facts dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-profile-facts dd {
  margin: 0.35rem 0 0;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.team-profile-facts dd > span,
.team-profile-facts dd > small,
.team-profile-facts dd > a {
  display: block;
}

.team-profile-facts dd > small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.63rem;
  font-weight: 400;
}

.team-profile-facts dd > a,
.team-profile-facts .map-trigger {
  min-height: 2.75rem;
  padding-block: 0.35rem;
  align-items: center;
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.team-profile-facts dd > a {
  display: flex;
}

.team-profile-facts .map-trigger {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.team-profile-facts .map-trigger small {
  color: rgba(255, 255, 255, 0.58);
}

.team-profile-fallback-link {
  width: fit-content;
  margin-top: 0.55rem;
  color: #ff9aac !important;
  font-size: 0.67rem;
}

.team-profile-standings-link {
  min-height: 3.35rem;
  margin-top: 1.2rem;
  padding: 0.8rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--white);
  background: var(--red);
  font: 800 0.92rem/1 var(--display);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.team-profile-next {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.5rem;
  border-top: 3px solid var(--red);
  color: var(--white);
  background: var(--navy-900);
}

.team-profile-next strong {
  display: block;
  max-width: 24ch;
  margin-top: 0.35rem;
  font: 800 clamp(1.55rem, 3vw, 2.3rem)/0.95 var(--display);
  text-transform: uppercase;
}

.team-profile-next > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.team-profile-next a {
  min-height: 2.9rem;
  padding: 0.65rem 0.85rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.team-profile-missing {
  min-height: calc(100vh - 7rem);
  margin-top: 0;
  padding-block: clamp(5rem, 12vw, 10rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.team-profile-missing > a:first-child {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--navy-700);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-profile-missing > span {
  margin-top: 2rem;
  color: var(--red);
}

.team-profile-missing h1 {
  max-width: 12ch;
  margin: 0.6rem 0;
  color: var(--navy-950);
  font: 900 clamp(3.4rem, 10vw, 7rem)/0.84 var(--display);
  text-transform: uppercase;
}

.team-profile-missing p {
  max-width: 35rem;
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .teams-hero-actions button:hover {
    border-color: var(--white);
    background: rgba(7, 52, 103, 0.86);
    transform: translateY(-0.2rem);
  }

  .division-team-card:hover {
    border-color: var(--division-accent);
    box-shadow: 0 1.6rem 3.2rem var(--division-glow);
    transform: translateY(-0.65rem);
  }

  .division-team-card:hover .team-card-court {
    opacity: 0.86;
    transform: scale(1.05);
  }

  .division-team-card:hover .team-card-logo-stage {
    filter: brightness(1.05);
    transform: translateX(-50%) scale(1.055);
  }

  .division-team-card:hover .team-card-view {
    border-color: var(--division-accent);
    background: var(--division-accent);
    transform: scale(1.05);
  }

  .division-column-boys .division-team-card:hover .team-card-view {
    color: var(--white);
    background: var(--navy-950);
    box-shadow: 0 0 0 2px var(--division-accent);
  }

  .division-team-card:hover .division-team-card-content b {
    border-color: var(--white);
    color: var(--navy-950);
    background: var(--white);
  }

  .division-team-card:hover .division-team-card-content b svg {
    transform: translateX(0.25rem);
  }

  .team-profile-back:hover,
  .team-profile-next a:hover {
    color: var(--white);
    border-color: var(--white);
  }

  .team-profile-division-nav a:hover {
    border-color: var(--white);
    color: var(--white);
  }

  .team-profile-standings-link:hover {
    background: var(--red-dark);
  }
}

@media (max-width: 599px) {
  .division-heading {
    margin-bottom: 0.75rem;
    padding-block: 0.7rem;
  }

  .division-heading h2 {
    font-size: 2rem;
  }

  .division-team-grid {
    max-width: 28rem;
    margin-inline: auto;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .division-team-card {
    grid-column: span 2;
    border-radius: 0.65rem;
  }

  .division-team-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }

  .division-team-card:last-child:nth-child(3n + 2) {
    grid-column: 4 / span 2;
  }

  .team-card-view,
  .division-team-card-content > span,
  .division-team-card-content b,
  .division-team-card-content .team-card-kicker {
    display: none;
  }

  .division-team-card::before {
    inset: 38% 0 0;
  }

  .team-card-logo-stage {
    top: 8%;
    width: 50%;
    padding: 0.35rem;
  }

  .team-card-logo-stage-open {
    top: 7%;
    width: 46%;
    padding: 0.4rem;
  }

  .division-team-card-content {
    padding: 0.55rem 0.35rem 0.7rem;
  }

  .division-team-card-content .team-card-abbr {
    font-size: clamp(0.8rem, 3.5vw, 0.98rem);
    letter-spacing: 0.1em;
  }

  .division-team-card-content strong {
    margin-top: 0.18rem;
    font-size: clamp(0.875rem, 3.8vw, 1.05rem);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 600px) {
  .teams-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-profile-coach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .division-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 46rem;
    margin-inline: auto;
  }

  .division-team-card:last-child:nth-child(odd) {
    width: min(100%, 22.5rem);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .team-card-logo-stage {
    top: 12%;
    width: 42%;
  }

  .division-team-card-content {
    padding: 0.8rem;
  }

  .division-team-card-content strong {
    font-size: 1.55rem;
  }

  .division-team-card-content > span {
    font-size: 0.62rem;
  }

  .division-team-card-content b {
    min-height: 2.75rem;
    margin-top: 0.65rem;
    padding: 0.58rem 0.7rem;
    font-size: 0.76rem;
  }
}

@media (max-width: 767px) {
  .team-profile-hero-inner {
    padding-top: 0;
    padding-bottom: 3.75rem;
  }

  .team-profile-logo {
    margin-top: -2.5rem;
  }
}

@media (min-width: 768px) {
  .division-board {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(5rem, 10vw, 9rem);
  }

  .teams-opportunity {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .teams-opportunity .button {
    width: auto;
  }

  .team-profile-hero-inner {
    width: min(calc(100% - 4rem), var(--max));
    grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
    align-items: center;
  }

  .team-profile-back {
    grid-column: 1 / -1;
  }

  .team-profile-hero-copy {
    align-self: center;
  }

  .team-profile-logo {
    width: min(28vw, 20rem);
  }

  .team-profile-next {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .team-profile-next > div:last-child {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .division-heading {
    max-width: 72rem;
    margin-inline: auto;
  }

  .division-team-grid {
    max-width: 72rem;
    margin-inline: auto;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  .division-team-card {
    grid-column: span 2;
  }

  .division-team-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }

  .division-team-card:last-child:nth-child(3n + 2) {
    grid-column: 4 / span 2;
  }

  .division-team-card:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }
}

@media (min-width: 1100px) {
  .team-profile-content {
    grid-template-columns: minmax(0, 1.6fr) minmax(20rem, 0.7fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .team-card-logo-stage {
    top: 12%;
    width: 43%;
  }

  .division-team-card-content {
    padding: 0.9rem;
  }

  .division-team-card-content strong {
    font-size: 1.7rem;
  }

  .division-team-card-content > span {
    font-size: 0.64rem;
  }

  .division-team-card-content b {
    min-height: 2.85rem;
    margin-top: 0.7rem;
    padding: 0.62rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teams-hero-actions button,
  .division-team-card,
  .team-card-court,
  .team-card-logo-stage,
  .team-card-view,
  .division-team-card-content b,
  .division-team-card-content b svg {
    animation: none !important;
    transition: none !important;
  }

  .team-card-motion-ready .division-team-card,
  .team-card-motion-ready .division-team-card:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

.gallery-directory .team-gallery-card {
  width: auto;
}

@media (max-width: 599px) {
  .gallery-directory .team-gallery-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-directory .team-gallery-card {
    grid-column: span 2;
  }

  .gallery-directory .team-gallery-card.is-gallery-last-single {
    grid-column: 3 / span 2;
  }
}

@media (min-width: 1024px) {
  .gallery-directory .team-gallery-card {
    grid-column: span 2;
  }

  .gallery-directory .team-gallery-card.is-gallery-last-single {
    grid-column: 3 / span 2;
  }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .gallery-directory .team-gallery-card,
  .gallery-directory .team-gallery-card.is-gallery-last-single {
    grid-column: auto;
  }
}

/* Schedule page: dark court command center selected July 18, 2026. */
.schedule-page {
  min-height: 100vh;
  color: var(--white);
  background: var(--navy-950);
}

.schedule-page .subpage-main {
  min-height: calc(100vh - 8.6rem);
  padding: 1.25rem 0 4rem;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(2, 15, 34, 0.9), rgba(2, 15, 34, 0.96)),
    url("assets/optimized/ubl-season-playbook-texture.webp") center top / min(78rem, 180vw) auto repeat-y,
    var(--navy-950);
}

.schedule-season-rail {
  position: relative;
  z-index: 2;
  border-top: 2px solid var(--red);
  border-bottom: 1px solid rgba(151, 180, 215, 0.35);
  color: var(--white);
  background: rgba(2, 15, 34, 0.98);
}

.schedule-season-rail-inner {
  width: min(100%, var(--max));
  min-height: 3.55rem;
  margin: 0 auto;
  padding: 0.6rem var(--page-pad);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.schedule-season-rail-inner > .material-symbols-rounded {
  color: #ff3150;
  font-size: 1.4rem;
}

.schedule-season-rail-inner div {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.schedule-season-rail strong,
.schedule-season-rail span {
  text-transform: uppercase;
}

.schedule-season-rail strong {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.schedule-season-rail-inner div > span {
  color: #b9c6d8;
  font-size: 0.67rem;
  letter-spacing: 0.02em;
}

.schedule-page .schedule-page-panel {
  width: min(calc(100% - 2rem), 86rem);
  margin-top: 0;
}

.schedule-command-header {
  margin: 0 auto 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.schedule-command-header h1 {
  margin: 0;
  color: var(--white);
  font: 900 clamp(3.1rem, 14.5vw, 8rem)/0.76 var(--display);
  letter-spacing: -0.045em;
  text-shadow: 0 0.3rem 0 var(--navy-950), 0 0.8rem 2rem rgba(2, 15, 34, 0.58);
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(2, 15, 34, 0.72);
  white-space: nowrap;
}

.schedule-command-header p {
  margin: 0.35rem 0 0;
  color: #8db8e9;
  font-size: clamp(0.76rem, 2.8vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-command-header a {
  min-height: 2.75rem;
  margin-top: 0.15rem;
  padding: 0.55rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(255, 49, 80, 0.55);
  color: #ff3150;
  background: rgba(2, 15, 34, 0.7);
  font: 800 clamp(0.72rem, 2.6vw, 0.86rem)/1 var(--body);
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
}

.schedule-command-header a .material-symbols-rounded {
  font-size: 1.05rem;
  transition: transform 160ms ease;
}

.schedule-command-header a:hover .material-symbols-rounded,
.schedule-command-header a:focus-visible .material-symbols-rounded {
  transform: translateX(0.2rem);
}

.schedule-page .planning-note {
  width: min(100%, 58rem);
  min-height: 0;
  margin: 0 auto 1.5rem;
  padding: clamp(1.15rem, 4vw, 1.65rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid rgba(142, 174, 211, 0.42);
  border-top: 0.35rem solid var(--red);
  border-radius: 0.5rem;
  color: var(--white);
  background: rgba(3, 20, 43, 0.72);
  text-align: center;
}

.schedule-page .planning-note > .material-symbols-rounded {
  color: #ff3150;
  font-size: clamp(1.7rem, 6vw, 2.15rem);
}

.schedule-page .planning-note strong {
  display: block;
  color: var(--white);
  font: 800 clamp(1.25rem, 4vw, 1.6rem)/1 var(--display);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.schedule-page .planning-note p {
  max-width: 52rem;
  margin: 0.65rem auto 0;
  color: #b9c6d8;
  font-size: clamp(0.9rem, 2.7vw, 1rem);
  line-height: 1.5;
}

.schedule-page .data-freshness {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.schedule-page .week-controls {
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "select select"
    "previous next";
  gap: 0.65rem;
}

.schedule-page .week-picker-field {
  position: relative;
  z-index: 20;
  min-width: 0;
  grid-area: select;
}

.schedule-page .week-picker-label {
  margin-bottom: 0.45rem;
  display: block;
  color: #b9c6d8;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-page .week-select-native {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.schedule-page .week-controls [data-week-step] {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid rgba(142, 174, 211, 0.52);
  border-radius: 0.35rem;
  color: #f4f7fb;
  background: rgba(3, 19, 41, 0.78);
  font: 800 0.79rem/1 var(--body);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.schedule-page .week-controls [data-week-step] {
  padding: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  cursor: pointer;
}

.schedule-page .week-controls [data-week-step="-1"] { grid-area: previous; }
.schedule-page .week-controls [data-week-step="1"] { grid-area: next; }
.schedule-page .week-controls [data-week-step] .material-symbols-rounded { font-size: 1rem; }
.schedule-page .week-controls [data-week-step="-1"] .material-symbols-rounded { transform: rotate(180deg); }

.schedule-page .week-controls [data-week-step]:hover:not(:disabled),
.schedule-page .week-controls [data-week-step]:focus-visible {
  border-color: #ff3150;
  color: var(--white);
  background: rgba(7, 52, 103, 0.58);
  transform: translateY(-1px);
}

.schedule-page .week-controls [data-week-step]:disabled {
  color: #69778c;
  background: rgba(3, 19, 41, 0.48);
  cursor: not-allowed;
}

.schedule-page .week-picker {
  position: relative;
}

.schedule-page .week-picker-trigger {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.72rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(185, 198, 216, 0.62);
  border-radius: 0.35rem;
  color: var(--white);
  background: rgba(3, 19, 41, 0.94);
  font: 800 1rem/1 var(--display);
  letter-spacing: 0.025em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.schedule-page .week-picker-trigger .material-symbols-rounded {
  flex: 0 0 auto;
  font-size: 1.35rem;
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.schedule-page .week-picker-trigger:hover,
.schedule-page .week-picker-trigger:focus-visible,
.schedule-page .week-picker[data-open="true"] .week-picker-trigger {
  border-color: #ff3150;
  background: rgba(4, 26, 56, 0.98);
}

.schedule-page .week-picker-trigger:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.schedule-page .week-picker[data-open="true"] .week-picker-trigger .material-symbols-rounded {
  transform: rotate(90deg);
}

.week-picker-popover {
  --week-picker-label-width: 5.25rem;
  --week-picker-node-width: 2.6rem;
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  width: 100%;
  max-height: min(48rem, var(--week-picker-space, 70vh));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(185, 198, 216, 0.62);
  border-radius: 0.4rem;
  color: var(--white);
  background: var(--navy-950);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.42);
  scrollbar-color: #0b4b89 #020f22;
}

.week-picker-popover[data-placement="above"] {
  top: auto;
  bottom: calc(100% + 0.35rem);
}

.week-picker-popover[hidden] {
  display: none;
}

.week-picker-list {
  min-width: 0;
}

.week-picker-month {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: var(--week-picker-label-width) minmax(0, 1fr);
  border-bottom: 1px solid rgba(142, 174, 211, 0.25);
}

.week-picker-month::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 1.05rem;
  bottom: -1.05rem;
  left: calc(var(--week-picker-label-width) + (var(--week-picker-node-width) / 2));
  width: 2px;
  background: #0d6dbf;
}

.week-picker-month:first-child::after {
  background: var(--red);
}

.week-picker-month:last-child::after {
  bottom: -2.5rem;
}

.week-picker-month h3 {
  position: relative;
  z-index: 1;
  align-self: start;
  margin: 0;
  padding: 1.1rem 0.65rem;
  color: #f4f7fb;
  font: 700 2.5rem/0.85 "Teko", var(--display);
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
}

.week-picker-month-options {
  min-width: 0;
  padding: 0.55rem 0.7rem 0.55rem 0;
}

.schedule-page .week-controls .week-picker-option {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 3rem;
  padding: 0.45rem 0.75rem 0.45rem 0;
  display: grid;
  grid-template-columns: var(--week-picker-node-width) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid transparent;
  border-radius: 0.28rem;
  color: #e9f1fb;
  background: transparent;
  font: 700 0.88rem/1.05 var(--display);
  letter-spacing: 0.025em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.schedule-page .week-controls .week-picker-option:hover {
  color: var(--white);
  background: rgba(7, 76, 144, 0.68);
}

.schedule-page .week-controls .week-picker-option:focus-visible {
  outline: none;
  border-color: var(--white);
  color: var(--white);
  background: rgba(4, 26, 56, 0.98);
}

.schedule-page .week-controls .week-picker-option.is-selected {
  color: var(--white);
  background: rgba(7, 52, 103, 0.42);
}

.week-picker-option-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.week-picker-node {
  position: relative;
  z-index: 2;
  width: 0.72rem;
  height: 0.72rem;
  justify-self: center;
  border: 2px solid #0d6dbf;
  background: var(--navy-950);
}

.week-picker-month:first-child .week-picker-node {
  border-color: var(--red);
}

.week-picker-option.is-selected .week-picker-node {
  border-color: #ff3150;
  background: #ff3150;
  box-shadow: 0 0 0 0.34rem rgba(227, 19, 49, 0.14);
}

.week-picker-option-status {
  min-width: 4.75rem;
  color: #ff3150;
  font: 800 0.64rem/1 var(--body);
  letter-spacing: 0.06em;
  text-align: right;
  visibility: hidden;
}

.week-picker-option.is-selected .week-picker-option-status {
  visibility: visible;
}

.week-picker-option.is-postseason .week-picker-option-copy {
  color: #c8d9ed;
}

.week-picker-postseason-note {
  min-height: 3.2rem;
  padding: 0.7rem 0.8rem;
  display: grid;
  grid-template-columns: calc(var(--week-picker-label-width) + var(--week-picker-node-width)) minmax(0, 1fr);
  align-items: center;
  border-top: 1px solid rgba(142, 174, 211, 0.34);
  background: rgba(4, 26, 56, 0.78);
  text-transform: uppercase;
}

.week-picker-postseason-note strong {
  font: 800 0.8rem/1 var(--display);
  letter-spacing: 0.02em;
}

.week-picker-postseason-note span {
  color: #a9b8cb;
  font: 700 0.72rem/1 var(--display);
  letter-spacing: 0.04em;
}

.schedule-page .tabs {
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  overflow: visible;
}

.schedule-page .tabs button {
  min-height: 2.75rem;
  padding-inline: 0.8rem;
  border: 1px solid rgba(142, 174, 211, 0.52);
  border-radius: 0.35rem;
  color: #b9c6d8;
  background: rgba(3, 19, 41, 0.78);
  font: 800 0.72rem/1 var(--body);
  letter-spacing: 0.05em;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.schedule-page .tabs button.active {
  border-color: var(--red);
  color: var(--white);
  background: linear-gradient(100deg, #f01334, var(--red));
  box-shadow: 0 0.55rem 1.6rem rgba(227, 19, 49, 0.15);
}

.schedule-page .tabs button:hover,
.schedule-page .tabs button:focus-visible {
  border-color: #ff3150;
  color: var(--white);
  transform: translateY(-1px);
}

.schedule-slate-heading {
  min-height: 2.8rem;
  padding: 0.7rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.38rem 0.38rem 0 0;
  color: var(--white);
  background: linear-gradient(90deg, #06366d, #084b8c);
}

.schedule-slate-heading span {
  color: #f0f6ff;
  font: 800 0.72rem/1 var(--display);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.schedule-slate-heading h2 {
  margin: 0;
  color: var(--white);
  font: 800 0.72rem/1 var(--display);
  letter-spacing: 0.025em;
  text-align: right;
  text-transform: uppercase;
}

.schedule-page .schedule-game-list {
  border: 0;
  border-radius: 0 0 0.4rem 0.4rem;
  overflow: hidden;
  background: rgba(2, 15, 34, 0.86);
}

.schedule-date-group {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  border: 1px solid rgba(142, 174, 211, 0.42);
  border-top: 0;
  background: rgba(2, 15, 34, 0.74);
}

.schedule-date-group + .schedule-date-group {
  margin-top: 0.75rem;
  border-top: 1px solid rgba(142, 174, 211, 0.42);
}

.schedule-date-rail {
  padding: 0.7rem 0.2rem;
  display: grid;
  align-content: start;
  justify-items: center;
  border-right: 1px solid rgba(142, 174, 211, 0.28);
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(4, 26, 56, 0.96), rgba(2, 15, 34, 0.98));
}

.schedule-date-rail span,
.schedule-date-rail small {
  font: 800 0.66rem/0.95 var(--display);
  letter-spacing: 0.035em;
}

.schedule-date-rail strong {
  margin-top: 0.3rem;
  font: 700 2.65rem/0.72 "Teko", var(--display);
  font-variant-numeric: tabular-nums;
}

.schedule-matchups {
  min-width: 0;
}

.schedule-page .schedule-game-row {
  min-height: 7.45rem;
  padding: 0.68rem 0.65rem;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "away division"
    "versus division"
    "home time"
    "venue venue"
    "status status";
  align-content: center;
  align-items: center;
  column-gap: 0.65rem;
  row-gap: 0.18rem;
  border-bottom-color: rgba(142, 174, 211, 0.22);
  color: var(--white);
  background: rgba(3, 19, 41, 0.42);
  transition: background-color 180ms ease, transform 180ms ease;
}

.schedule-page .schedule-game-row:hover {
  background: rgba(7, 52, 103, 0.3);
}

.schedule-team {
  min-width: 0;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.schedule-team-away { grid-area: away; }
.schedule-team-home { grid-area: home; }

.schedule-team img {
  width: 2rem;
  height: 2rem;
  padding: 0.14rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.22rem;
  background: var(--white);
  object-fit: contain;
}

.schedule-team strong {
  min-width: 0;
  color: var(--white);
  font: 800 0.92rem/0.96 var(--display);
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.schedule-versus {
  grid-area: versus;
  padding-left: 2.5rem;
  color: #ff3150;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-division {
  grid-area: division;
  align-self: end;
  color: #40a0ff;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: right;
  text-transform: uppercase;
}

.schedule-time {
  grid-area: time;
  align-self: start;
  color: var(--white);
  font-family: "Teko", var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.schedule-venue {
  min-width: 0;
  grid-area: venue;
  color: #9aa9bc;
  font-size: 0.62rem;
  text-align: right;
}

.schedule-venue .map-trigger {
  width: 100%;
  min-height: 1.75rem;
  display: grid;
  align-content: center;
  justify-items: end;
  color: #aab8ca;
  text-align: right;
  text-decoration-color: rgba(170, 184, 202, 0.35);
}

.schedule-venue .map-trigger span {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: none;
}

.schedule-venue .map-trigger small { display: none; }

.schedule-page .schedule-game-row > .game-row-status {
  grid-area: status;
  margin-top: 0.2rem;
}

.schedule-page .game-score {
  color: var(--white);
  font: 700 1.45rem/1 "Teko", var(--display);
  font-variant-numeric: tabular-nums;
}

.schedule-support {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

.schedule-support[hidden] { display: none; }

.schedule-support-section {
  overflow: hidden;
  border: 1px solid rgba(142, 174, 211, 0.42);
  background: rgba(3, 19, 41, 0.74);
}

.schedule-support-section h2 {
  margin: 0;
  padding: 0.6rem 0.75rem;
  color: var(--white);
  background: var(--navy-800);
  font: 800 0.72rem/1 var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.schedule-support-row {
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem 0.75rem;
  border-top: 1px solid rgba(142, 174, 211, 0.22);
}

.schedule-support-row > time {
  display: grid;
  color: #8db8e9;
  text-transform: uppercase;
}

.schedule-support-row > time strong { font: 800 0.9rem/1 var(--display); }

.schedule-support-row > time span {
  color: #8f9db0;
  font-size: 0.55rem;
  font-weight: 700;
}

.schedule-support-matchup {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.schedule-support-matchup .schedule-versus {
  grid-area: auto;
  padding-left: 0;
}

.schedule-support-row > .schedule-division,
.schedule-support-row > .game-row-status,
.schedule-support-row > .schedule-venue {
  grid-area: auto;
  grid-column: 2;
  text-align: left;
}

@media (min-width: 640px) {
  .schedule-page .tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .schedule-support-row {
    grid-template-columns: 4.5rem minmax(16rem, 1fr) auto auto minmax(12rem, 0.7fr);
  }

  .schedule-support-row > .schedule-division,
  .schedule-support-row > .game-row-status,
  .schedule-support-row > .schedule-venue { grid-column: auto; }

  .schedule-support-matchup {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }
}

@media (max-width: 479px) {
  .week-picker-popover {
    --week-picker-label-width: 4.35rem;
    --week-picker-node-width: 2.15rem;
  }

  .week-picker-month h3 {
    padding-inline: 0.35rem;
    font-size: 2.15rem;
  }

  .week-picker-month-options {
    padding-right: 0.4rem;
  }

  .schedule-page .week-controls .week-picker-option {
    min-height: 3.15rem;
    padding-right: 0.45rem;
    grid-template-columns: var(--week-picker-node-width) minmax(0, 1fr);
    font-size: 0.82rem;
  }

  .week-picker-option-status {
    display: none;
    grid-column: 2;
    min-width: 0;
    text-align: left;
  }

  .week-picker-option.is-selected .week-picker-option-status {
    display: block;
  }

  .week-picker-postseason-note {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (min-width: 768px) {
  .schedule-page .subpage-main { padding-top: 1.7rem; }

  .schedule-season-rail-inner {
    min-height: 3.5rem;
  }

  .schedule-season-rail-inner div {
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0;
  }

  .schedule-season-rail strong {
    padding-right: 1.4rem;
    border-right: 1px solid rgba(185, 198, 216, 0.38);
  }

  .schedule-season-rail-inner div > span { padding-left: 1.4rem; }

  .schedule-command-header { margin-bottom: 1.6rem; }

  .schedule-page .tabs {
    width: min(100%, 32rem);
  }
}

@media (min-width: 1024px) {
  .schedule-page .subpage-main { padding-top: 2rem; }

  .schedule-page .schedule-page-panel {
    width: min(calc(100% - 4rem), 86rem);
  }

  .schedule-page .planning-note {
    min-height: 0;
    padding: 1.45rem 2rem;
  }

  .schedule-page .week-controls {
    grid-template-columns: 12rem minmax(18rem, 1fr) 12rem;
    grid-template-areas: "previous select next";
    align-items: end;
    gap: 1rem;
  }

  .schedule-page .week-controls [data-week-step],
  .schedule-page .week-picker-trigger { min-height: 4rem; }

  .schedule-page .week-picker-label {
    font-size: 0.78rem;
  }

  .schedule-page .week-picker-trigger {
    padding-inline: 1.2rem;
    font-size: 1.5rem;
  }

  .week-picker-popover {
    --week-picker-label-width: 8.25rem;
    --week-picker-node-width: 3.4rem;
  }

  .week-picker-month h3 {
    padding-top: 1.35rem;
    font-size: 3.45rem;
  }

  .week-picker-month-options {
    padding: 0.7rem 0.9rem 0.7rem 0;
  }

  .schedule-page .week-controls .week-picker-option {
    min-height: 3.55rem;
    padding-right: 1rem;
    font-size: 1.16rem;
  }

  .week-picker-option-status {
    min-width: 5.5rem;
    font-size: 0.76rem;
  }

  .week-picker-postseason-note strong {
    font-size: 0.98rem;
  }

  .week-picker-postseason-note span {
    font-size: 0.86rem;
  }

  .schedule-page .tabs { margin-bottom: 1.25rem; }
  .schedule-slate-heading { min-height: 3.15rem; padding-inline: 1.1rem; }
  .schedule-slate-heading span,
  .schedule-slate-heading h2 { font-size: 0.88rem; }
  .schedule-date-group { grid-template-columns: 7rem minmax(0, 1fr); }

  .schedule-date-rail {
    align-content: center;
    padding: 1rem 0.5rem;
  }

  .schedule-date-rail span,
  .schedule-date-rail small { font-size: 0.95rem; }
  .schedule-date-rail strong { font-size: 4rem; }

  .schedule-page .schedule-game-row {
    min-height: 6.45rem;
    padding: 0.8rem 1.2rem;
    grid-template-columns: minmax(10.5rem, 1fr) 2rem minmax(10.5rem, 1fr) 8rem 6.5rem minmax(9rem, 0.65fr);
    grid-template-areas:
      "away versus home division time venue"
      "status status status status status status";
    gap: 0.3rem 0.9rem;
  }

  .schedule-page .schedule-game-row:hover { transform: translateX(0.18rem); }
  .schedule-team { grid-template-columns: 3rem minmax(0, 1fr); gap: 0.85rem; }

  .schedule-team img {
    width: 3rem;
    height: 3rem;
    padding: 0.2rem;
  }

  .schedule-team strong { font-size: 1.25rem; }

  .schedule-versus {
    padding-left: 0;
    font-size: 0.8rem;
    text-align: center;
  }

  .schedule-division {
    align-self: center;
    font-size: 0.68rem;
    text-align: left;
  }

  .schedule-time {
    align-self: center;
    font-size: 1.8rem;
    text-align: left;
  }

  .schedule-venue {
    font-size: 0.65rem;
    text-align: left;
  }

  .schedule-venue .map-trigger {
    min-height: 3.1rem;
    justify-items: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-command-header a .material-symbols-rounded,
  .schedule-page .week-controls [data-week-step],
  .schedule-page .week-picker-trigger,
  .schedule-page .week-picker-option,
  .schedule-page .tabs button,
  .schedule-page .schedule-game-row { transition: none !important; }

  .schedule-command-header a:hover .material-symbols-rounded,
  .schedule-command-header a:focus-visible .material-symbols-rounded,
  .schedule-page .week-controls [data-week-step]:hover:not(:disabled),
  .schedule-page .tabs button:hover,
  .schedule-page .schedule-game-row:hover { transform: none; }
}

/* Full-viewport playoff bracket */
.bracket-page {
  min-height: 100vh;
  color: var(--white);
  background-color: var(--navy-950);
  background-image:
    linear-gradient(180deg, rgba(2, 15, 34, 0.9), rgba(2, 15, 34, 0.82)),
    url("assets/optimized/ubl-website-hero-1600.webp");
  background-position: center, center 43%;
  background-size: cover, cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bracket-page .subpage-main {
  min-height: calc(100svh - 5rem);
  padding-bottom: 0;
  overflow-x: hidden;
  background: transparent;
}

.bracket-page .bracket-page-banner {
  min-height: clamp(18rem, 38svh, 26rem);
  padding: clamp(3rem, 7vw, 6rem) var(--page-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  text-align: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.bracket-page .bracket-page-title-group {
  width: min(100%, 90rem);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.2rem);
}

.bracket-page .bracket-page-banner h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.82;
  text-align: center;
  white-space: nowrap;
}

.bracket-page-standings-link {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  font: 800 clamp(2rem, 4.6vw, 4.4rem)/0.95 var(--display);
  letter-spacing: 0.02em;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.16rem;
  text-underline-offset: 0.35rem;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.bracket-page-standings-link:hover,
.bracket-page-standings-link:focus-visible {
  color: var(--white);
}

.bracket-page .section-wrap.bracket-directory {
  width: 100%;
  margin: 0;
  gap: 0;
  background: transparent;
}

.bracket-page .bracket-live-section {
  min-height: calc(100svh - 5rem);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bracket-page .bracket-live-scroller {
  min-height: 0;
  display: grid;
  align-items: center;
  padding-block: clamp(1rem, 2.5vw, 2.5rem);
  background: transparent;
}

.bracket-page .bracket-live {
  width: 100%;
  min-width: 56rem;
}

.bracket-page .bracket-live-artboard {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(11, 75, 137, 0.34), transparent 42%),
    var(--navy-950);
}

.bracket-page .bracket-live-art {
  opacity: 0.94;
}

.bracket-page .bracket-mobile-path {
  display: none;
}

.bracket-page .bracket-live-note {
  padding: 0.9rem var(--page-pad);
  text-align: center;
  background: rgba(2, 15, 34, 0.74);
}

.bracket-page .bracket-live-swipe-hint {
  background: rgba(2, 15, 34, 0.74);
}

.bracket-page noscript .panel {
  margin: 1rem var(--page-pad);
  color: var(--ink);
}

@media (max-width: 767px) {
  .bracket-page {
    background-attachment: scroll;
    background-position: center top;
  }

  .bracket-page .bracket-page-banner {
    min-height: 13.5rem;
    padding: 2.25rem 1rem;
    background: transparent;
  }

  .bracket-page .bracket-page-title-group {
    gap: 0.8rem;
  }

  .bracket-page .bracket-page-banner h1 {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    font-size: clamp(3rem, 15.5vw, 4.15rem);
    line-height: 0.84;
    text-align: center;
    white-space: normal;
  }

  .bracket-page-standings-link {
    min-height: 2.75rem;
    font-size: clamp(1.35rem, 7vw, 1.8rem);
    text-underline-offset: 0.25rem;
  }

  .bracket-page .bracket-live-section {
    min-height: 0;
    padding: 1.2rem 0.8rem 1.8rem;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .bracket-page .bracket-live-scroller {
    min-height: 0;
    padding: 0;
    display: block;
    overflow: visible;
  }

  .bracket-page .bracket-live {
    width: 100%;
    min-width: 0;
  }

  .bracket-page .bracket-live-artboard,
  .bracket-page .bracket-live-note,
  .bracket-page .bracket-live-swipe-hint {
    display: none;
  }

  .bracket-page .bracket-mobile-path {
    width: 100%;
    max-width: 30rem;
    margin-inline: auto;
    display: grid;
    color: var(--ink);
  }

  .bracket-mobile-identity {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.15rem 1.15rem;
    display: grid;
    gap: 0.18rem;
    color: var(--white);
    background:
      linear-gradient(135deg, rgba(10, 113, 199, 0.95), rgba(5, 35, 82, 0.98)),
      var(--navy-800);
    border: 1px solid rgba(131, 182, 231, 0.42);
    border-left: 0.32rem solid var(--red);
  }

  .bracket-mobile-identity::after {
    content: "UBL";
    position: absolute;
    right: -0.2rem;
    bottom: -0.58rem;
    color: rgba(255, 255, 255, 0.08);
    font: 900 5.7rem/1 var(--display);
    letter-spacing: -0.06em;
  }

  .bracket-mobile-identity > * {
    position: relative;
    z-index: 1;
  }

  .bracket-mobile-identity > span,
  .bracket-mobile-identity > small {
    font: 800 0.7rem/1.2 var(--sans);
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .bracket-mobile-identity > span {
    color: #d8edff;
  }

  .bracket-mobile-identity > strong {
    font: 900 clamp(2.35rem, 11vw, 3rem)/0.86 var(--display);
    letter-spacing: -0.015em;
    text-transform: uppercase;
  }

  .bracket-mobile-identity > small {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.74);
  }

  .bracket-mobile-round {
    padding: 1rem;
    display: grid;
    gap: 0.85rem;
    background: rgba(244, 249, 253, 0.98);
    border: 1px solid rgba(131, 182, 231, 0.45);
    border-top: 0;
  }

  .bracket-mobile-round > header {
    display: grid;
    grid-template-columns: 2.45rem 1fr;
    align-items: center;
    gap: 0.72rem;
  }

  .bracket-mobile-round > header > span {
    width: 2.45rem;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--navy-900);
    font: 900 0.9rem/1 var(--sans);
  }

  .bracket-mobile-round > header > div {
    display: grid;
    gap: 0.08rem;
  }

  .bracket-mobile-round > header strong {
    color: var(--navy-950);
    font: 900 1.65rem/0.9 var(--display);
    letter-spacing: 0.01em;
    text-transform: uppercase;
  }

  .bracket-mobile-round > header small {
    color: #82651b;
    font: 800 0.66rem/1.2 var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .bracket-mobile-matchup {
    position: relative;
    padding: 0.65rem;
    display: grid;
    gap: 0.36rem;
    background: #dbeaf5;
    border: 1px solid #afc8da;
    box-shadow: 0 0.35rem 0.8rem rgba(2, 15, 34, 0.08);
  }

  .bracket-mobile-matchup > p {
    margin: 0 0 0.12rem;
    color: #4f6780;
    font: 800 0.64rem/1.2 var(--sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .bracket-mobile-team {
    min-height: 3.3rem;
    padding: 0.58rem 0.62rem;
    display: grid;
    grid-template-columns: minmax(3.25rem, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.52rem;
    background: var(--white);
    border-left: 0.2rem solid #6792b5;
    box-shadow: 0 0.12rem 0.35rem rgba(2, 15, 34, 0.09);
  }

  .bracket-mobile-team > span {
    color: #63788e;
    font: 800 0.66rem/1.1 var(--sans);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .bracket-mobile-team > strong {
    min-width: 0;
    color: var(--navy-950);
    font: 900 clamp(0.88rem, 4vw, 1rem)/1 var(--display);
    letter-spacing: 0.015em;
    overflow-wrap: anywhere;
    text-transform: uppercase;
  }

  .bracket-mobile-team > small {
    min-width: 2.2rem;
    padding: 0.28rem 0.36rem;
    color: var(--white);
    background: var(--navy-900);
    font: 900 0.68rem/1 var(--sans);
    text-align: center;
  }

  .bracket-mobile-team.is-winner {
    border-left-color: var(--red);
    box-shadow: inset 0 0 0 1px rgba(224, 30, 63, 0.3);
  }

  .bracket-mobile-versus {
    width: 1.65rem;
    height: 1.05rem;
    margin: -0.52rem auto;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #6f8194;
    background: #dbeaf5;
    font: 900 0.58rem/1 var(--sans);
  }

  .bracket-mobile-advance {
    min-height: 3rem;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    background:
      linear-gradient(90deg, transparent calc(50% - 1px), var(--red) calc(50% - 1px), var(--red) calc(50% + 1px), transparent calc(50% + 1px));
    font: 800 0.65rem/1 var(--sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .bracket-mobile-advance > span {
    padding: 0.35rem 0.7rem;
    background: var(--navy-950);
  }

  .bracket-mobile-round-championship {
    border-bottom: 0.28rem solid #d5a940;
  }

  .bracket-mobile-round-championship > header > span {
    color: var(--navy-950);
    background: #d5a940;
  }

  .bracket-mobile-champion {
    padding: 0.9rem;
    display: grid;
    gap: 0.18rem;
    color: var(--white);
    background: var(--navy-900);
    border-left: 0.22rem solid #d5a940;
  }

  .bracket-mobile-champion > span {
    color: #e9cc83;
    font: 800 0.64rem/1.2 var(--sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .bracket-mobile-champion > strong {
    font: 900 1.45rem/1 var(--display);
    text-transform: uppercase;
  }
}

/* Mobile tournament-spine treatment */
@media (max-width: 767px) {
  .bracket-page {
    background-image: url("assets/playoff-brackets/mobile-bracket-court.webp");
    background-position: center top;
    background-size: 100% 100%;
  }

  .bracket-page .bracket-page-banner {
    background: rgba(2, 15, 34, 0.34);
  }

  .bracket-page .bracket-live-section {
    padding: 0;
  }

  .bracket-page .bracket-mobile-path {
    width: 100%;
    max-width: 32rem;
    padding: 0 0.72rem 2.4rem;
    color: var(--white);
    background: rgba(7, 52, 103, 0.13);
  }

  .bracket-mobile-identity {
    overflow: visible;
    padding: 2.15rem 0.5rem 1.65rem;
    justify-items: center;
    gap: 0.32rem;
    background: transparent;
    border: 0;
    text-align: center;
  }

  .bracket-mobile-identity::after {
    content: none;
  }

  .bracket-mobile-identity > strong {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.4rem, 2vw, 0.65rem);
    font: 900 clamp(2.2rem, 10.8vw, 2.85rem)/0.86 var(--display);
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .bracket-mobile-identity > strong::before,
  .bracket-mobile-identity > strong::after {
    content: "";
    width: clamp(0.85rem, 4.5vw, 1.45rem);
    height: 0.22rem;
    flex: 0 0 auto;
    background: var(--red);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  }

  .bracket-mobile-identity > small {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.86);
    font: 700 clamp(0.82rem, 3.8vw, 1rem)/1.15 var(--sans);
    letter-spacing: 0.16em;
  }

  .bracket-mobile-identity em {
    color: var(--red);
    font-style: italic;
    font-weight: 800;
  }

  .bracket-mobile-tournament {
    position: relative;
    display: grid;
    gap: 2.4rem;
  }

  .bracket-mobile-spine {
    position: absolute;
    z-index: 0;
    top: 2.4rem;
    bottom: 6.4rem;
    left: 50%;
    width: 0.24rem;
    display: block;
    background: var(--red);
    box-shadow: 0 0 0.8rem rgba(227, 19, 49, 0.26);
    transform: translateX(-50%);
  }

  .bracket-mobile-round {
    position: relative;
    z-index: 1;
    padding: 0;
    display: grid;
    gap: 0.92rem;
    background: transparent;
    border: 0;
  }

  .bracket-mobile-round > header {
    position: relative;
    z-index: 3;
    width: min(69%, 15.5rem);
    min-height: 4.55rem;
    margin-inline: auto;
    padding: 0.66rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--white);
    background: rgba(2, 15, 34, 0.96);
    border: 1px solid rgba(151, 206, 255, 0.82);
    border-inline: 0.28rem solid var(--red);
    box-shadow: 0 0.75rem 1.4rem rgba(2, 15, 34, 0.3);
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    text-align: center;
  }

  .bracket-mobile-round > header strong {
    color: var(--white);
    font: 900 clamp(1.75rem, 8vw, 2.15rem)/0.9 var(--display);
    letter-spacing: 0.025em;
  }

  .bracket-mobile-round > header small {
    margin-top: 0.28rem;
    color: #e5bd61;
    font: 800 0.76rem/1 var(--sans);
    letter-spacing: 0.12em;
  }

  .bracket-mobile-matchup {
    position: relative;
    padding: 0;
    display: grid;
    gap: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .bracket-mobile-matchup > p {
    display: none;
  }

  .bracket-mobile-matchup-pair {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(2.4rem, 13vw, 3.55rem) minmax(0, 1fr);
    align-items: center;
  }

  .bracket-mobile-matchup-pair::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 12%;
    right: 12%;
    height: 0.14rem;
    background: #d8edff;
    box-shadow: 0 0 0.38rem rgba(216, 237, 255, 0.34);
    transform: translateY(-50%);
  }

  .bracket-mobile-team:first-of-type {
    grid-column: 1;
  }

  .bracket-mobile-team:last-of-type {
    grid-column: 3;
  }

  .bracket-mobile-team {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 5.5rem;
    padding: 0.72rem 0.62rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 0.48rem;
    color: var(--white);
    background: rgba(2, 15, 34, 0.94);
    border: 1px solid rgba(57, 149, 229, 0.94);
    border-top: 0.18rem solid #45a8fb;
    box-shadow:
      inset 0 0 1.4rem rgba(11, 75, 137, 0.22),
      0 0.5rem 1rem rgba(2, 15, 34, 0.34);
  }

  .bracket-mobile-team > span {
    color: rgba(216, 237, 255, 0.8);
    font: 700 clamp(0.62rem, 2.8vw, 0.72rem)/1.1 var(--sans);
    letter-spacing: 0.08em;
  }

  .bracket-mobile-team > div {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.38rem;
  }

  .bracket-mobile-team strong {
    min-width: 0;
    color: var(--white);
    font: 900 clamp(0.92rem, 4.4vw, 1.16rem)/0.9 var(--display);
    letter-spacing: 0.01em;
    overflow-wrap: break-word;
    text-transform: uppercase;
  }

  .bracket-mobile-team small {
    min-width: 2.05rem;
    padding: 0.3rem 0.34rem;
    color: #e9c876;
    background: rgba(4, 26, 56, 0.92);
    border: 1px solid rgba(229, 189, 97, 0.72);
    font: 800 0.7rem/1 var(--sans);
    text-align: center;
  }

  .bracket-mobile-team.is-winner {
    border-color: #ff4962;
    box-shadow:
      inset 0 0 0 1px rgba(227, 19, 49, 0.28),
      0 0.5rem 1rem rgba(2, 15, 34, 0.34);
  }

  .bracket-mobile-versus {
    z-index: 3;
    grid-column: 2;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    justify-self: center;
    color: transparent;
    background: var(--red);
    border: 0.18rem solid var(--navy-950);
    border-radius: 50%;
    box-shadow: 0 0 0 0.12rem #d8edff;
    font-size: 0;
  }

  .bracket-mobile-round-semifinals {
    gap: 1.1rem;
  }

  .bracket-mobile-round-semifinals .bracket-mobile-matchup + .bracket-mobile-matchup {
    margin-top: 0.24rem;
  }

  .bracket-mobile-finish {
    position: relative;
    z-index: 2;
    isolation: isolate;
    min-height: 7.6rem;
    margin-top: -0.1rem;
    display: grid;
    justify-items: center;
    gap: 0.48rem;
  }

  .bracket-mobile-finish::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -1rem;
    left: 50%;
    width: 10rem;
    height: 9rem;
    transform: translateX(-50%);
    pointer-events: none;
    background: radial-gradient(
      ellipse at center,
      rgba(255, 246, 204, 0.82) 0%,
      rgba(215, 169, 64, 0.52) 28%,
      rgba(224, 30, 63, 0.2) 50%,
      rgba(2, 15, 34, 0) 72%
    );
    filter: blur(0.4rem);
  }

  .bracket-mobile-finish img {
    position: relative;
    z-index: 1;
    width: 5.25rem;
    height: 7rem;
    display: block;
    object-fit: contain;
    object-position: center;
    filter:
      drop-shadow(0 0 0.32rem rgba(255, 238, 176, 0.92))
      drop-shadow(0 0 1.1rem rgba(215, 169, 64, 0.54));
  }

  .bracket-mobile-round-championship {
    padding-bottom: 0.2rem;
    border: 0;
  }

  .bracket-mobile-champion-pending {
    position: relative;
    z-index: 1;
    color: #e9cc83;
    font: 800 0.75rem/1.2 var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .bracket-mobile-champion {
    position: relative;
    z-index: 1;
    width: min(100%, 15rem);
    padding: 0.72rem 0.85rem;
    justify-items: center;
    gap: 0.2rem;
    background: rgba(2, 15, 34, 0.94);
    border: 1px solid rgba(229, 189, 97, 0.82);
    text-align: center;
  }

  .bracket-mobile-champion > strong {
    font-size: 1.4rem;
  }
}

@media (min-width: 900px) {
  .bracket-page .bracket-live {
    width: min(calc(100% - 4rem), 76rem);
    max-width: 76rem;
    min-width: 0;
    margin-inline: auto;
    border: 1px solid rgba(131, 182, 231, 0.22);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.28);
  }
}

@media (min-width: 1024px) {
  .bracket-page .subpage-main,
  .bracket-page .bracket-live-section {
    min-height: calc(100svh - 5.7rem);
  }
}

/* Privacy choice and policy */
.consent-banner {
  position: fixed;
  z-index: 120;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: max(0.75rem, env(safe-area-inset-left));
  max-width: 70rem;
  max-height: calc(100dvh - 1.5rem);
  margin-inline: auto;
  overflow: auto;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7, 52, 103, 0.36), transparent 52%),
    var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 3px solid var(--red);
  border-radius: 0.7rem;
  box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.46);
  opacity: 0;
  transform: translateY(calc(100% + 2rem));
  transition: opacity 180ms ease, transform 220ms ease;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-page .consent-banner {
  bottom: calc(3.65rem + max(0.75rem, env(safe-area-inset-bottom)));
}

.consent-banner__inner {
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.consent-banner__copy > span {
  display: block;
  margin-bottom: 0.32rem;
  color: #ff9aac;
  font: 800 0.68rem/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consent-banner h2 {
  margin: 0;
  color: var(--white);
  font: 900 clamp(1.45rem, 6vw, 2rem)/0.96 var(--display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.consent-banner p {
  max-width: 48rem;
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  line-height: 1.5;
}

.consent-banner a {
  width: fit-content;
  margin-top: 0.55rem;
  display: inline-block;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration-color: #ff9aac;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22rem;
}

.consent-banner__actions {
  display: grid;
  gap: 0.55rem;
}

.consent-banner__actions .button {
  width: 100%;
  min-height: 2.9rem;
  margin: 0;
  cursor: pointer;
}

.consent-banner__actions .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.privacy-page .subpage-main {
  padding-bottom: 4rem;
}

.privacy-panel {
  margin-top: 1.25rem;
  padding: clamp(1.15rem, 4vw, 2.1rem);
}

.privacy-summary {
  padding-bottom: 1.4rem;
  display: grid;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.privacy-summary h2,
.privacy-section h2 {
  margin: 0;
  color: var(--navy-950);
  font: 900 clamp(1.45rem, 5vw, 2.15rem)/1 var(--display);
  text-transform: uppercase;
}

.privacy-summary p,
.privacy-section p,
.privacy-section li {
  color: var(--muted);
  line-height: 1.65;
}

.privacy-summary p,
.privacy-section p {
  margin: 0;
}

.privacy-choice-card {
  padding: 1rem;
  background: var(--canvas);
  border-left: 4px solid var(--red);
}

.privacy-choice-card strong,
.privacy-choice-card span {
  display: block;
}

.privacy-choice-card strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.privacy-choice-card span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.privacy-choice-card .button {
  margin-top: 0.85rem;
}

.privacy-sections {
  display: grid;
}

.privacy-section {
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.privacy-section:last-child {
  border-bottom: 0;
}

.privacy-section ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.privacy-section a {
  color: var(--navy-800);
  font-weight: 700;
}

@media (min-width: 720px) {
  .consent-banner__inner {
    padding: 1.1rem 1.2rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .consent-banner__actions {
    min-width: 12rem;
  }

  .privacy-summary {
    grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.6fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .home-page .consent-banner {
    bottom: calc(4.15rem + max(0.75rem, env(safe-area-inset-bottom)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    transition: none;
  }
}
