:root {
      --page: #000;
      --blue-dark: #00345f;
      --blue: #00539B;
      --orange: #F47D30;
      --text: #fff;
      --muted: rgba(255,255,255,.75);
      --card-radius: 8px;
      --glass: rgba(8,17,30,.58);
      --glass-strong: rgba(4,10,19,.78);
      --glass-line: rgba(255,255,255,.22);
    }

@font-face {
  font-family: "Party Cash Currency";
  src: url("../fonts/cashcurrency.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Party Bahnschrift";
  src: url("../fonts/bahnschrift.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Party Florence";
  src: url("../fonts/Florsn35.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Party DIN Black";
  src: url("../fonts/dinpro_black.otf") format("opentype");
  font-display: swap;
}

    * { box-sizing: border-box; }

    html {
      min-height: 100%;
      background: #000;
    }

    body {
      margin: 0;
      min-height: 100vh;
      background:
        radial-gradient(circle at 18% 12%, rgba(0,83,155,.38), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(244,125,48,.22), transparent 28%),
        linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.92)),
        url("../img/ice-texture.jpg") center / cover fixed;
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
      font-feature-settings: 'tnum' 1, 'lnum' 1;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .page {
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 24px 48px;
    }

    .nav {
      height: 110px;
      display: flex;
      align-items: center;
      gap: 48px;
    }

    .nav img {
      width: 130px;
      height: 90px;
      object-fit: contain;
    }

    .nav a {
      position: relative;
      font-size: 32px;
      font-weight: 900;
      letter-spacing: .04em;
      text-shadow: 0 2px 6px rgba(0,0,0,.65);
    }

    .nav a.nav-champions {
      min-width: 210px;
      min-height: 82px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 18px;
      background: url("../img/trophy.png") center / contain no-repeat;
      color: #fff;
      text-shadow:
        0 3px 7px rgba(0,0,0,.95),
        0 0 9px rgba(0,0,0,.9);
    }

    .nav a[href="admin.html"] {
      display: none !important;
    }

.party-fund-pill {
  display: none;
}

@media (min-width: 901px) {
  .party-fund-pill {
    font: inherit;
    min-width: 148px;
    min-height: 62px;
    margin-left: auto;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 3px;
    padding: 8px 18px;
    border: 2px solid #07351f;
    border-radius: 999px;
    background:
      linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 42%, rgba(0,0,0,.20)),
      linear-gradient(135deg, rgba(13,94,54,.94), rgba(5,45,26,.92));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.22),
      0 10px 22px rgba(0,0,0,.30);
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,.48);
    cursor: pointer;
  }

  .party-fund-pill:hover,
  .party-fund-pill:focus-visible {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.26),
      0 12px 26px rgba(0,0,0,.36),
      0 0 0 3px rgba(244,125,48,.24);
    outline: 0;
  }

  .party-fund-pill .party-fund-label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
  }

  .party-fund-pill .party-fund-label span {
    font-size: 16px;
    line-height: .8;
  }

  .party-fund-pill strong {
    font-size: 29px;
    font-weight: 950;
    line-height: 1;
  }
}

.party-fund-modal-open {
  overflow: hidden;
}

.party-fund-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: start center;
  padding: 28px;
  overflow: auto;
}

.party-fund-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(5px);
}

.party-fund-panel {
  position: relative;
  width: max-content;
  max-width: calc(100vw - 56px);
  height: 900px;
  overflow: hidden;
  background: #041221;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 26px 80px rgba(0,0,0,.68);
}

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

.party-fund-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1002;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.party-fund-close:hover,
.party-fund-close:focus-visible {
  background: rgba(244,125,48,.85);
  outline: 0;
}

.party-fund-scroll {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: rgba(244,125,48,.72) rgba(255,255,255,.10);
}

.party-fund-grid {
  height: 880px;
  display: grid;
  grid-template-rows: repeat(4, 220px);
  grid-auto-flow: column;
  grid-auto-columns: calc(220px * 1774 / 887);
  align-content: start;
  width: max-content;
}

.party-fund-empty {
  width: 560px;
  margin: 0;
  padding: 36px;
  color: rgba(255,255,255,.78);
  font-size: 20px;
  font-weight: 800;
}

.party-fund-note {
  position: relative;
  width: calc(220px * 1774 / 887);
  height: 220px;
  aspect-ratio: 1774 / 887;
  overflow: hidden;
  background: #f3ead8;
  isolation: isolate;
}

.party-fund-note-background,
.party-fund-note-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.party-fund-note-background {
  z-index: 0;
}

.party-fund-note-base {
  z-index: 2;
}

.party-fund-note-photo {
  position: absolute;
  z-index: 1;
  left: 35.6%;
  top: 2.5%;
  width: 28.8%;
  height: 71.6%;
  overflow: hidden;
}

.party-fund-note-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.party-fund-note-photo.photo-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 35%, #175b89, #032f54 70%);
}

.party-fund-photo-fallback {
  display: none;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 3px 5px rgba(0,0,0,.65);
}

.party-fund-note-photo.photo-missing .party-fund-photo-fallback {
  display: block;
}

.party-fund-note-name {
  position: absolute;
  z-index: 4;
  left: 42.8%;
  bottom: 19.1%;
  width: 14.6%;
  height: 7.6%;
  overflow: hidden;
  color: #102f51;
}

.party-fund-note-name path {
  fill: none;
}

.party-fund-note-name text {
  fill: #102f51;
  font-family: "Party Florence", Arial, sans-serif;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: .07em;
  text-anchor: middle;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(255,255,255,.55);
  stroke-width: .7px;
}

.party-fund-note-main-amount {
  position: absolute;
  z-index: 3;
  right: 11.4%;
  top: 40.4%;
  width: 18.2%;
  color: #131f72;
  font-family: "Party Cash Currency", Georgia, serif;
  font-size: 38px;
  font-weight: 900;
  line-height: .9;
  text-align: center;
  letter-spacing: .15em;
  text-shadow:
    3px 3px 0 #fff,
    5px 5px 0 rgba(0,0,0,.3);
}

.party-fund-note-words {
  position: absolute;
  z-index: 3;
  right: 6.4%;
  bottom: 30.5%;
  width: 28.2%;
  overflow: hidden;
  color: #10217f;
  font-family: "Party DIN Black", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: .03em;
}

.party-fund-note-serial {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  font-family: "Party Bahnschrift", "Arial Narrow", Arial, sans-serif;
  font-size: 7px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.party-fund-note-serial-left {
  left: 11.6%;
  top: 20.4%;
  width: 21%;
  color: #0029b8;
  font-weight: 600;
}

.party-fund-note-serial-right {
  right: 8.1%;
  bottom: 22.4%;
  width: 25%;
  color: #b9440a;
  text-align: center;
  font-weight: 600;
}

.party-fund-note-number {
  position: absolute;
  z-index: 3;
  min-width: 11%;
  color: #f2eee2;
  font-family: "Party Cash Currency", Georgia, serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  letter-spacing: .055em;
  text-shadow:
    2px 2px 0 #0a2947,
    4px 4px 0 rgba(0,0,0,.25);
}

.party-fund-note-number-top-left {
  top: 6.4%;
  left: 3.2%;
}

.party-fund-note-number-top-right {
  top: 5.9%;
  right: 3.4%;
}

.party-fund-note-number-bottom-left {
  bottom: 6.8%;
  left: 3.5%;
}

.party-fund-note-number-bottom-right {
  right: 3.7%;
  bottom: 6.5%;
}

@media (max-width: 700px) {
  .party-fund-modal {
    padding: 14px;
  }

  .party-fund-panel {
    max-width: calc(100vw - 28px);
  }
}

.hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 132px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 42%, rgba(0,0,0,.20)),
        var(--glass);
      border: 1px solid var(--glass-line);
      border-radius: var(--card-radius);
      overflow: hidden;
      min-height: 210px;
      box-shadow: 0 22px 52px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.18);
      backdrop-filter: blur(8px);
    }

.scoreboard {
      position: relative;
      padding: 10px 12px 12px;
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 0;
    }

    .score-date {
      align-self: end;
      margin: 0 auto;
      width: min(82%, 1040px);
      background: rgba(238,246,247,.92);
      color: #111;
      text-align: center;
      font-weight: 900;
      font-size: 28px;
      letter-spacing: .04em;
      padding: 5px 12px 4px;
      border: 2px solid rgba(0,0,0,.25);
      border-bottom: 0;
      border-radius: 6px 6px 0 0;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
      position: relative;
      z-index: 2;
    }

.broadcast-scoreboard {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr) 164px;
  min-height: 138px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)),
    rgba(0,0,0,.72);
  border: 4px solid rgba(0,0,0,.84);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 12px 28px rgba(0,0,0,.38);
  transform: none
}

.broadcast-status-chip {
  position: absolute;
  top: 14px;
  z-index: 4;
  min-width: 150px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border: 2px solid #aaaaaa;
  background: linear-gradient(180deg, rgba(255,255,0,.82), rgba(4,15,26,.72));
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .08em;
  text-shadow: 2px 3px 4px #000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 5px 12px rgba(0,0,0,.28);
}

.broadcast-status-chip[hidden] {
  display: none;
}

.broadcast-status-chip.overtime-chip {
  left: 28px;
}

.broadcast-status-chip.shootout-chip {
  right: 28px;
}

.broadcast-logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.broadcast-logo-block img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.55));
}

.broadcast-main {
  display: grid;
  grid-template-rows: 48px 1fr;
  min-width: 0;
}

.broadcast-scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 62px minmax(0, 1fr);
  height: 48px;
}

.broadcast-team-name {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0,0,0,.65);
  min-width: 0;
}

.broadcast-team-name.away {
  justify-content: flex-end;
  text-align: right;
}

.broadcast-team-name.home {
  justify-content: flex-start;
  text-align: left;
}

.broadcast-team-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
    position: relative;
  top: -3px;
}

.broadcast-score {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 34px;
  font-weight: 900;
}

.broadcast-score.winner {
  background: #f6d63b;
}

.broadcast-details {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 86px;
}

.broadcast-status {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.72);
  font-size: 28px;
  font-weight: 900;
}

.broadcast-performers {
    display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 20px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 18px;
  background: rgba(255,255,255,.88);
  color: #111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

#topPerformer1 {
  grid-column: 1;
  grid-row: 1;
}

#topPerformer2 {
  grid-column: 1;
  grid-row: 2;
}

#topPerformerGoalie {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
  white-space: nowrap;
}

.hero-buttons {
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    linear-gradient(180deg, rgba(244,125,48,.72), rgba(0,52,95,.72));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 14px 10px;
  border-left: 1px solid rgba(255,255,255,.18);
  
  
}

.hero-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background:
    linear-gradient(90deg, rgba(0,83,155,.42), rgba(0,0,0,.18)),
    rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 8px;
  text-align: center;
  font-weight: 900;
  padding: 8px 0px;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: .05em;
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
  overflow-wrap: anywhere;
}

    .main-grid {
      display: grid;
      grid-template-columns: .95fr 1fr;
      gap: 24px;
      margin-top: 24px;
    }

    .card {
      background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 42%, rgba(0,0,0,.20)),
        rgba(0,83,155,.58);
      border: 1px solid var(--glass-line);
      border-radius: var(--card-radius);
      padding: 24px;
      box-shadow: 0 22px 52px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.18);
      backdrop-filter: blur(8px);
    }

    .next-matchup {
      min-height: 360px;
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      align-items: center;
      gap: 24px;
    }

    .matchup-logos {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 16px;
      align-items: center;
    }

    .matchup-team {
      text-align: center;
    }

    .matchup-team img {
      width: 150px;
      height: 150px;
      object-fit: contain;
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 8px;
      padding: 16px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 22px rgba(0,0,0,.24);
    }

    .record {
      margin-top: 10px;
      font-size: 24px;
      font-weight: 800;
      color: var(--muted);
    }

    .vs {
      font-size: 34px;
      font-weight: 900;
    }

    .matchup-meta {
      text-align: right;
    }

    .matchup-meta h2 {
      margin: 0 0 8px;
      font-size: 28px;
    }

    .matchup-meta .line {
      font-size: 21px;
      font-weight: 700;
      color: var(--muted);
    }

    .mini-box {
      margin-top: 24px;
      background: rgba(0,0,0,.38);
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 8px;
      padding: 16px;
    }

    .mini-box-title {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--muted);
      margin-bottom: 10px;
    }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

    .mini-stat {
      text-align: center;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 8px;
      padding: 10px;
    }

    .mini-stat .label {
      font-size: 11px;
      color: var(--muted);
      text-transform: uppercase;
    }

    .mini-stat .value {
      font-size: 22px;
      font-weight: 900;
    }

    .standings {
      background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 42%, rgba(0,0,0,.20)),
        var(--glass);
      color: #111;
      border-radius: var(--card-radius);
      overflow: hidden;
      border: 1px solid var(--glass-line);
      box-shadow: 0 22px 52px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.18);
      backdrop-filter: blur(8px);
    }

    .standings-header {
      background: linear-gradient(90deg, var(--blue-dark), var(--blue) 74%, var(--orange));
      color: #fff;
      padding: 14px 18px;
      font-weight: 900;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
      background: rgba(255,255,255,.94);
    }

    th, td {
      padding: 12px 10px;
      text-align: center;
      border-bottom: 1px solid #e5e7eb;
    }

    th.team, td.team {
      text-align: left;
    }

    tbody tr:nth-child(even) {
      background: rgba(0,83,155,.07);
    }

    tbody tr.mine {
      background: rgba(0,83,155,.28);
      font-weight: 900;
    }

    .diff-positive {
      color: #11823b;
      font-weight: 900;
    }

    .diff-negative {
      color: #c62828;
      font-weight: 900;
    }

    .team-cell {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .team-cell img {
      width: 30px;
      height: 30px;
      object-fit: contain;
    }

    .upcoming {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 12px;
    }

    .upcoming-title {
      margin: 22px 0 0;
      color: #fff;
      font-size: 24px;
      font-weight: 900;
      letter-spacing: .06em;
      text-transform: uppercase;
      text-shadow: 0 2px 6px rgba(0,0,0,.65);
    }

    .calendar-tile {
      border-radius: 8px;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 10px 24px rgba(0,0,0,.28);
    }

    .calendar-tile.home {
      background: var(--blue);
      border: 2px solid var(--orange);
      color: #fff;
    }

    .calendar-tile.away {
      background: #fff;
      border: 2px solid var(--blue);
      color: #111;
    }

    .calendar-header {
      padding: 9px;
      font-weight: 900;
      letter-spacing: .08em;
      color: #fff;
    }

    .calendar-header.home {
      background: var(--orange);
    }

    .calendar-header.away {
      background: var(--blue);
    }

    .calendar-day {
      font-size: 48px;
      font-weight: 900;
      padding: 12px 0 4px;
      line-height: 1;
    }

    .calendar-tile.home .calendar-day {
      color: #fff;
      text-shadow:
        2px 0 var(--orange),
        -2px 0 var(--orange),
        0 2px var(--orange),
        0 -2px var(--orange);
    }

    .calendar-tile.away .calendar-day {
      color: var(--blue);
      text-shadow:
        2px 0 var(--orange),
        -2px 0 var(--orange),
        0 2px var(--orange),
        0 -2px var(--orange);
    }

    .calendar-opponent {
      font-weight: 900;
      padding: 0 10px 16px;
    }

    .calendar-tile.away .calendar-opponent {
      color: #111;
    }

 .last-matchup {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;

  margin-top: 12px;
  padding: 14px 18px;

  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;

  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.last-matchup-label {
  font-size: 13px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: left;
}

#lastMatchupResult {
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
}

#lastMatchupDate {
  font-size: 18px;
  line-height: 1.1;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}

    .hero-buttons a.disabled {
  opacity: .35;
  filter: grayscale(1);
  cursor: default;
  pointer-events: none;
}

    @media (max-width: 900px) {
      .nav {
        gap: 22px;
        height: auto;
        padding: 16px 0;
      }

      .nav a {
        font-size: 22px;
      }

      .hero,
      .main-grid {
        grid-template-columns: 1fr;
      }

      .scoreboard {
        grid-template-rows: auto auto;
      }

      .score-date {
        margin: 0;
        font-size: 22px;
        border-bottom: 2px solid rgba(0,0,0,.25);
        border-radius: 8px;
      }

      .broadcast-scoreboard {
        grid-template-columns: 96px minmax(0, 1fr) 96px;
      }

      .broadcast-status-chip {
        min-width: 88px;
        min-height: 26px;
        border-width: 4px;
        padding: 3px 8px;
        font-size: 11px;
      }

      .broadcast-logo-block img {
        width: 76px;
        height: 76px;
      }

      .broadcast-scoreline {
        grid-template-columns: minmax(0, 1fr) 48px 48px minmax(0, 1fr);
      }

      .broadcast-team-name {
        font-size: 18px;
        padding: 0 8px;
      }

      .broadcast-score {
        font-size: 28px;
      }

      .broadcast-details {
        grid-template-columns: 100px 1fr;
      }

      .broadcast-status {
        font-size: 22px;
      }

      .broadcast-performers {
        font-size: 17px;
        padding: 8px 10px;
      }

      .hero-buttons {
        flex-direction: row;
      }

      .score-row {
        grid-template-columns: 90px 1fr 70px 70px 1fr 90px;
      }

      .team-name {
        font-size: 20px;
      }

      .score {
        font-size: 34px;
      }

      .next-matchup {
        grid-template-columns: 1fr;
      }

      .matchup-meta {
        text-align: center;
      }

      .upcoming {
        grid-template-columns: 1fr;
      }

      @media (max-width:700px) {

    .nav {
    justify-content: space-around;
    gap: 10px;
  }

  .nav a {
    font-size: 0;
    min-width: 54px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav a:first-child img {
    width: 58px;
    height: 58px;
  }

  .nav a:not(:first-child)::before {
    content: "";
    width: 36px;
    height: 36px;
    display: block;
  }

  .nav a[href="stats.html"]::before {
    background: url("../img/stats.png") center/contain no-repeat;
  }

  .nav a[href="schedule.html"]::before {
    background: url("../img/calendar.png") center/contain no-repeat;
  }

  .nav a.nav-champions {
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    background: none;
  }

  .nav a.nav-champions::before {
    background: url("../img/trophy.png") center/contain no-repeat;
  }

    .upcoming-title,
  .upcoming {
    display: none;
  }

        .hero {
        gap: 0;
      }

      .scoreboard {
        padding: 10px;
      }

      .score-date {
        width: 100%;
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.25;
        padding: 8px 10px;
      }

      .broadcast-scoreboard {
        grid-template-columns: 1fr;
        min-height: 0;
        border-width: 3px;
      }

      .broadcast-logo-block {
        display: none;
      }

      .broadcast-main {
        grid-template-rows: auto auto;
      }

      .broadcast-scoreline {
        height: auto;
        grid-template-columns: 1fr 54px;
        grid-template-areas:
          "awayName awayScore"
          "homeName homeScore";
      }

      .broadcast-team-name {
        min-height: 54px;
        justify-content: flex-start !important;
        text-align: left !important;
        font-size: 21px;
        padding: 8px 12px;
      }

      .broadcast-team-name.away {
        grid-area: awayName;
      }

      .broadcast-team-name.home {
        grid-area: homeName;
      }

      #awayScore {
        grid-area: awayScore;
      }

      #homeScore {
        grid-area: homeScore;
      }

      .broadcast-score {
        min-height: 54px;
        font-size: 34px;
      }

      .broadcast-details {
        grid-template-columns: 1fr;
      }

      .broadcast-status {
        min-height: 38px;
        font-size: 18px;
      }

      .broadcast-performers {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 5px;
        padding: 10px 12px;
        font-size: 15px;
        text-align: center;
      }

      #topPerformer1,
      #topPerformer2,
      #topPerformerGoalie {
        grid-column: auto;
        grid-row: auto;
        text-align: center;
        white-space: normal;
      }

      .hero-buttons {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.18);
      }

        .page {
    padding-left: 12px;
    padding-right: 12px;
    overflow-x: hidden;
  }

  .card {
    padding: 18px;
  }

  .next-matchup {
    overflow: hidden;
  }

  .matchup-logos {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
  }

  .matchup-team {
    min-width: 0;
  }

  .matchup-team img {
    width: clamp(108px, 34vw, 140px);
    height: clamp(108px, 34vw, 140px);
    padding: 10px;
  }

  .vs {
    font-size: 30px;
  }

  .record {
    font-size: 24px;
    white-space: nowrap;
  }

  .matchup-meta .line {
    font-size: 20px;
    white-space: normal;
  }

  .score-date {
  line-height: 1.3;
  white-space: pre-line;
}

.standings th:nth-child(3),
.standings td:nth-child(3),
.standings th:last-child,
.standings td:last-child {
  display: none;
}

.standings {
  overflow-x: auto;
}

.standings table {
  min-width: 520px;
}

.standings-header {
  min-width: 520px;
  box-sizing: border-box;
}

}
    }
