/* Night Drive v2 — light reference surface; Navy structure, Mint as the only CTA accent */
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #FAFBFC;
  --surface: #ffffff;
  --surface-alt: #EDF1F5;
  --ink: #232D39;
  --muted: #5C6B7A;
  --line: #DCE3EA;
  --line-strong: #BCC8D4;
  --green: #032A63;
  --green-dark: #032A63;
  --mint: #49C98C;
  --red: #E5484D;
  --gold: #c99326;
  --blue: #032A63;
  --chip: #EDF1F5;
  --shadow: 0 10px 28px rgba(3, 42, 99, 0.08);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

h1, h2, h3, .view-title, .brand h1, .directory-title {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(3, 42, 99, 0.05), rgba(3, 42, 99, 0) 340px),
    var(--bg);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
.button,
.icon-button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  min-height: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
}

button:hover,
.button:hover,
.icon-button:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 111, 71, 0.1);
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Same header as the static site chrome */
.lockup { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.lockup img { width: 30px; height: 30px; display: block; }
.lockup strong {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.045em;
  color: #232d39;
}
.lockup span { color: rgba(35, 45, 57, 0.62); font-size: 0.82rem; font-weight: 500; }

.nav { margin-left: auto; display: flex; gap: 0.25rem; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: #232d39;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid transparent;
}
.nav a:hover { background: #edf1f5; }
.nav a.active { background: #032a63; color: #fafbfc; }

.view-head .toolbar { margin-left: auto; margin-right: 14px; }
@media (max-width: 940px) {
  .view-head { flex-wrap: wrap; }
  .view-head .toolbar { order: 3; width: 100%; margin: 10px 0 0; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  display: block;
}

.brand h1 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(170px, 0.8fr);
  gap: 10px;
  align-items: center;
}

.field {
  display: grid;
  gap: 5px;
}

.field span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 111, 71, 0.12);
}

.main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 24px 46px;
}

.view-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.view-title {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.view-kicker {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.view-kicker-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.view-kicker-link:hover,
.view-kicker-link:focus-visible {
  color: var(--green);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  font-weight: 750;
  white-space: nowrap;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.icon-button {
  width: 42px;
  padding: 0;
  font-size: 1.1rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 14px;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.calendar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  grid-template-areas:
    "calendar toggle"
    "slate slate";
  gap: 10px;
  align-items: start;
}

.calendar-wrap.is-slate-collapsed {
  grid-template-columns: minmax(0, 1fr) 38px;
  grid-template-areas: "calendar toggle";
}

.calendar-board {
  grid-area: calendar;
  min-width: 0;
}

.month-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

.month-title {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.month-controls {
  display: flex;
  gap: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.calendar-scroll {
  max-width: 100%;
  overflow-x: visible;
  overflow-y: visible;
  padding-bottom: 0;
}

.weekday-grid {
  display: none;
}

.weekday {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.day-cell {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 7px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  transition:
    transform 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease;
}

.day-cell.is-event-dense {
  min-height: 360px;
}

.day-cell.is-event-count-3 {
  min-height: 360px;
}

.day-cell.is-event-count-4 {
  min-height: 430px;
}

.day-cell.is-padding {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
}

.day-cell.is-empty-date {
  background: rgba(255, 255, 255, 0.38);
  color: var(--muted);
}

.day-cell.has-events:hover {
  transform: translateY(-1px);
  border-color: var(--green);
  box-shadow: none;
}

.day-cell.today {
  border-color: var(--green);
}

.day-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
  font-weight: 850;
  font-size: 0.82rem;
}

.day-count {
  border-radius: 999px;
  background: var(--chip);
  color: var(--green-dark);
  font-size: 0.72rem;
  padding: 3px 7px;
}

.day-events {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.day-events.is-dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 5px;
}

.day-events.is-count-3 {
  grid-template-columns: 1fr;
}

.day-events.is-count-4 {
  grid-template-columns: 1fr;
}

.match-front {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 300px;
  aspect-ratio: 1 / 1.03;
  border-radius: var(--radius);
  background: #d9e2e6;
  color: #111a18;
  overflow: hidden;
  box-shadow: none;
}

.match-front.is-compact {
  min-height: 178px;
  aspect-ratio: 1 / 1.08;
  box-shadow: none;
}

.match-front-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 45%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 24% 48%, rgba(255, 255, 255, 0.38), transparent 26%),
    radial-gradient(circle at 74% 45%, rgba(255, 255, 255, 0.18), transparent 26%);
  pointer-events: none;
}

.team-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 63%;
  overflow: hidden;
  opacity: 1;
}

.team-bg-left {
  left: 0;
  clip-path: polygon(0 0, 78% 0, 58% 100%, 0 100%);
  background: linear-gradient(135deg, #e5edf0, #bfcdd3);
}

.team-bg-right {
  right: 0;
  clip-path: polygon(39% 0, 100% 0, 100% 100%, 18% 100%);
  background: linear-gradient(135deg, #0b3159, #061f3d);
}

.team-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.35) contrast(1.08) blur(12px);
  opacity: 0.42;
  transform: scale(1.7);
}

.team-bg-code {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.14);
  font-size: clamp(2.2rem, 17vw, 8rem);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.team-bg img + .team-bg-code {
  color: rgba(255, 255, 255, 0.16);
}

.match-front-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: inherit;
  height: 100%;
  padding: 14px;
}

.match-front.is-compact .match-front-content {
  padding: 10px;
}

.front-corner {
  position: absolute;
  z-index: 3;
  max-width: 45%;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.64),
    0 8px 18px rgba(0, 0, 0, 0.42);
}

.front-top-left {
  top: 14px;
  left: 14px;
}

.front-top-right {
  top: 14px;
  right: 14px;
  text-align: right;
}

.front-bottom-left {
  bottom: 14px;
  left: 14px;
}

.front-bottom-right {
  right: 14px;
  bottom: 14px;
  text-align: right;
}

.broadcast-marks {
  position: absolute;
  inset: 44px 18px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.team-mark {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.team-mark img {
  width: clamp(72px, 22vw, 132px);
  height: clamp(50px, 15vw, 92px);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
}

.team-mark strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 3.8vw, 1.5rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: none;
}

.team-mark:first-child strong {
  color: rgba(17, 26, 24, 0.8);
  text-shadow: none;
}

.team-mark.is-placeholder {
  min-height: 90px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  place-content: center;
}

.match-front-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 34px;
  margin: 0;
  text-align: center;
  font-size: clamp(0.92rem, 3.4vw, 1.3rem);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.42),
    0 10px 24px rgba(0, 0, 0, 0.36);
  color: #ffffff;
}

.match-front.is-compact .match-front-title {
  left: 10px;
  right: 10px;
  bottom: 31px;
  font-size: clamp(0.68rem, 4vw, 0.86rem);
  line-height: 1.16;
}

.match-front.is-compact .front-corner {
  font-size: 0.52rem;
}

.match-front.is-compact .front-top-left,
.match-front.is-compact .front-top-right {
  top: 8px;
}

.match-front.is-compact .front-bottom-left,
.match-front.is-compact .front-bottom-right {
  bottom: 8px;
}

.match-front.is-compact .front-top-left,
.match-front.is-compact .front-bottom-left {
  left: 8px;
}

.match-front.is-compact .front-top-right,
.match-front.is-compact .front-bottom-right {
  right: 8px;
}

.match-front.is-compact .broadcast-marks {
  inset: 32px 10px 48px;
  gap: 10px;
}

.match-front.is-compact .team-mark {
  gap: 4px;
}

.match-front.is-compact .team-mark img {
  width: 50px;
  height: 35px;
  border-radius: 6px;
}

.match-front.is-compact .team-mark strong {
  font-size: 0.78rem;
}

.match-front {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #101817;
  color: #ffffff;
  overflow: hidden;
  box-shadow: none;
}

.match-front.is-compact {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  box-shadow: none;
}

.match-thumb {
  position: absolute;
  inset: 0;
  isolation: isolate;
  width: 100%;
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: #101817;
}

.match-front.is-compact .match-thumb {
  width: 100%;
  min-height: 0;
}

.match-thumb .team-bg,
.match-thumb .match-front-bg {
  position: absolute;
}

.match-thumb .team-bg {
  top: 0;
  bottom: 0;
  width: 66%;
}

.match-thumb .team-bg-left {
  left: 0;
  clip-path: polygon(0 0, 82% 0, 72% 100%, 0 100%);
  background: var(--left-color, #254f6e);
}

.match-thumb .team-bg-right {
  right: 0;
  clip-path: polygon(37% 0, 100% 0, 100% 100%, 30% 100%);
  background: var(--right-color, #611a2f);
}

.match-thumb .team-bg img {
  display: none;
}

.match-thumb .team-bg-code {
  display: none;
}

.match-thumb .match-front-bg {
  inset: 0;
  z-index: 1;
  display: none;
}

.match-thumb .broadcast-marks {
  position: absolute;
  inset: 28px 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.match-front.is-compact .broadcast-marks {
  inset: 20px 13px;
  gap: 14px;
}

.match-thumb .team-mark {
  display: grid;
  justify-items: center;
  gap: 0;
}

.match-thumb .team-mark img {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

.match-thumb .team-mark strong {
  display: none;
}

.match-thumb .team-mark.is-placeholder {
  min-height: 0;
  background: transparent;
}

.match-thumb .team-mark.is-placeholder strong {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.88);
  color: #111111;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-shadow: none;
}

.match-front.is-compact .match-thumb .team-mark img {
  width: 38px;
  height: 38px;
}

.match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
  min-width: 38px;
  min-height: 38px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.match-thumb .team-mark.is-placeholder.is-long-placeholder strong,
.match-front.is-compact .match-thumb .team-mark.is-placeholder.is-long-placeholder strong {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 38px;
  border-radius: 10px;
  padding: 3px 5px;
  white-space: nowrap;
}

.match-thumb .team-mark.is-placeholder.is-third-placeholder strong,
.match-front.is-compact .match-thumb .team-mark.is-placeholder.is-third-placeholder strong {
  min-width: 38px;
  min-height: 38px;
  border-radius: 999px;
  padding: 4px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.seed-rank {
  font-size: 0.72rem;
  line-height: 1;
}

.seed-groups {
  font-size: 0.5rem;
  line-height: 1;
}

.front-corner {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  max-width: 46%;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: normal;
  white-space: nowrap;
  text-shadow: none;
}

.front-top-left,
.front-bottom-left {
  left: 9px;
  color: var(--left-text, #ffffff);
  text-align: left;
}

.front-top-right,
.front-bottom-right {
  right: 9px;
  color: var(--right-text, #ffffff);
  text-align: right;
}

.front-top-left,
.front-top-right {
  top: 8px;
}

.front-bottom-left,
.front-bottom-right {
  bottom: 8px;
}

.front-filter-link {
  border-radius: 4px;
  pointer-events: auto;
  text-decoration: none;
}

.front-filter-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.front-filter-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.match-front.is-compact .front-corner {
  font-size: 0.56rem;
  line-height: 1;
  max-width: 48%;
}

.match-front.is-compact .front-top-right {
  max-width: 42%;
}

.day-events.is-dense .match-front.is-compact .front-corner {
  font-size: 0.44rem;
  line-height: 1;
}

.day-events.is-dense .match-front.is-compact .front-top-right {
  max-width: 38%;
}

.day-events.is-dense .match-front.is-compact .front-top-left,
.day-events.is-dense .match-front.is-compact .front-bottom-left {
  left: 4px;
}

.day-events.is-dense .match-front.is-compact .front-top-right,
.day-events.is-dense .match-front.is-compact .front-bottom-right {
  right: 4px;
}

.day-events.is-dense .match-front.is-compact .front-top-left,
.day-events.is-dense .match-front.is-compact .front-top-right {
  top: 6px;
}

.day-events.is-dense .match-front.is-compact .front-bottom-left,
.day-events.is-dense .match-front.is-compact .front-bottom-right {
  bottom: 6px;
}

.day-events.is-count-3 .match-front.is-compact .front-corner {
  font-size: 0.46rem;
}

.day-events.is-count-3 .match-front.is-compact .front-top-right {
  max-width: 36%;
}

.day-events.is-count-4 .match-front.is-compact .front-corner {
  font-size: 0.46rem;
}

.day-events.is-count-6 .match-front.is-compact .front-corner {
  font-size: 0.32rem;
}

.day-events.is-count-6 .match-front.is-compact .front-top-right {
  max-width: 36%;
}

.day-events.is-count-6 .match-front.is-compact .broadcast-marks {
  inset: 17px 5px;
  gap: 18px;
}

.day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark img {
  width: 26px;
  height: 26px;
}

.day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
  min-width: 28px;
  min-height: 28px;
  font-size: 0.58rem;
}

.day-cell.is-event-dense .day-events {
  flex: 1;
  min-height: 0;
}

.day-cell.is-event-dense .match-front.is-compact {
  height: 100%;
  aspect-ratio: auto;
}

.day-events.is-dense .match-front.is-compact .broadcast-marks {
  inset: 17px 7px;
  gap: 8px;
}

.day-events.is-dense .match-thumb .team-bg-left {
  clip-path: polygon(0 0, 82% 0, 74% 100%, 0 100%);
}

.day-events.is-dense .match-thumb .team-bg-right {
  clip-path: polygon(39% 0, 100% 0, 100% 100%, 32% 100%);
}

.day-events.is-dense .match-front.is-compact .match-thumb .team-mark img {
  width: 30px;
  height: 30px;
}

.day-events.is-dense .match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
  min-width: 32px;
  min-height: 32px;
  font-size: 0.62rem;
}

.day-events.is-dense .match-front.is-compact .match-thumb .team-mark.is-placeholder.is-long-placeholder strong {
  min-width: 43px;
  min-height: 32px;
  padding: 2px 4px;
}

.day-events.is-dense .match-front.is-compact .match-thumb .team-mark.is-placeholder.is-third-placeholder strong {
  min-width: 32px;
  min-height: 32px;
  font-size: 0.62rem;
}

.day-events.is-dense .match-front.is-compact .seed-rank {
  font-size: 0.58rem;
}

.day-events.is-dense .match-front.is-compact .seed-groups {
  font-size: 0.34rem;
}

.day-events.is-count-6 .match-front.is-compact .broadcast-marks {
  inset: 17px 5px;
  gap: 18px;
}

.day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark img {
  width: 26px;
  height: 26px;
}

.day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
  min-width: 28px;
  min-height: 28px;
  font-size: 0.58rem;
}

.match-front.is-compact .front-top-left,
.match-front.is-compact .front-bottom-left {
  left: 6px;
}

.match-front.is-compact .front-top-right,
.match-front.is-compact .front-bottom-right {
  right: 6px;
}

.match-front.is-compact .front-top-left,
.match-front.is-compact .front-top-right {
  top: 7px;
}

.match-front.is-compact .front-bottom-left,
.match-front.is-compact .front-bottom-right {
  bottom: 7px;
}

.slate-row {
  display: block;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.slate-row .match-front.is-slate .front-top-left,
.slate-row .match-front.is-dated .front-top-left {
  max-width: 64%;
}

.slate-row .match-front.is-slate .front-top-right,
.slate-row .match-front.is-dated .front-top-right {
  max-width: 30%;
}

.slate-row:hover .match-front-title {
  color: var(--green);
}

.flag-faceoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.flag-faceoff.solo {
  grid-template-columns: 1fr;
}

.flag-team {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.flag-team strong {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.faceoff-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.match-front.is-compact .faceoff-mark {
  width: 28px;
  height: 28px;
  font-size: 0.58rem;
}

.flag.front-flag,
.flag.placeholder.front-flag {
  width: 86px;
  height: 60px;
  border-radius: 7px;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
}

.flag.placeholder.front-flag {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.match-front.is-compact .flag.front-flag,
.match-front.is-compact .flag.placeholder.front-flag {
  width: 48px;
  height: 34px;
  border-radius: 5px;
}

.match-front.is-compact .flag-team {
  gap: 4px;
}

.match-front.is-compact .flag-team strong {
  font-size: 0.62rem;
}

.front-meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.front-meta div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  padding: 7px 8px;
}

.front-meta dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.front-meta dd {
  margin: 3px 0 0;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.match-front.is-compact .front-meta {
  gap: 5px;
}

.match-front.is-compact .front-meta div {
  padding: 5px 6px;
}

.match-front.is-compact .front-meta dt {
  font-size: 0.54rem;
}

.match-front.is-compact .front-meta dd {
  font-size: 0.66rem;
}

.mini-event {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  padding: 7px;
  border-left: 3px solid var(--green);
  background: var(--surface-alt);
  border-radius: 6px;
  min-height: 42px;
}

.mini-event.is-knockout {
  border-left-color: var(--red);
}

.mini-time {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.mini-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mini-title {
  min-width: 0;
  overflow: visible;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.mini-meta,
.more-line {
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 720;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.side-list {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 100px;
}

.side-list h2 {
  margin: 0;
  font-size: 1rem;
}

.side-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.related-games-panel,
.related-games-section {
  display: grid;
  gap: 10px;
}

.related-games-section h3 {
  margin: 2px 0 0;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slate-panel {
  grid-area: slate;
  display: grid;
  gap: 12px;
  align-content: start;
  position: static;
  min-width: 0;
}

.slate-toggle {
  grid-area: toggle;
  align-self: start;
  justify-self: end;
  position: static;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 850;
  line-height: 1;
}

.slate-toggle span {
  display: grid;
  place-items: center;
  transform: translateY(-1px);
}

.slate-head {
  display: grid;
  gap: 4px;
}

.slate-head h2,
.slate-head p {
  margin: 0;
}

.slate-head h2 {
  font-size: 1.05rem;
}

.slate-head p {
  color: var(--muted);
  font-size: 0.86rem;
}

.slate-content {
  display: grid;
  gap: 10px;
}

.calendar-wrap.is-slate-collapsed .slate-panel {
  display: none;
}

.calendar-wrap.is-slate-collapsed .slate-toggle {
  width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 1.8rem;
}

.calendar-wrap.is-slate-collapsed .slate-content {
  display: none;
}

@media (min-width: 1540px) {
  .calendar-wrap {
    grid-template-columns: minmax(0, 1fr) 38px minmax(260px, 300px);
    grid-template-areas: "calendar toggle slate";
  }

  .slate-panel,
  .slate-toggle {
    position: sticky;
    top: 100px;
  }
}

.event-card,
.compact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 13px;
  box-shadow: 0 5px 16px rgba(30, 44, 35, 0.05);
}

.event-card {
  display: grid;
  gap: 10px;
}

.event-card:hover {
  border-color: var(--line-strong);
}

.event-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 740;
}

.event-title {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.flip-meta-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 5px;
}

.meta-chip-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 7px;
  flex: 0 1 calc(100% - 12px);
  max-width: calc(100% - 12px);
  min-width: 0;
}

.flip-meta-grid .chip {
  min-height: 24px;
  padding: 3px 7px;
  font-size: 0.72rem;
}

.flip-meta-grid .chip-action {
  align-self: start;
  white-space: nowrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--green-dark);
  padding: 4px 9px;
  font-size: 0.77rem;
  font-weight: 760;
}

.chip.red {
  background: #fae9e7;
  color: #8e2824;
}

.chip.gold {
  background: var(--chip);
  color: var(--green-dark);
}

.chip-action {
  background: var(--mint);
  color: #06321F;
  font-weight: 600;
  text-decoration: none;
}

.chip-action:hover,
.chip-action:focus-visible {
  background: #3DB97E;
  color: #06321F;
  outline: none;
}

.team-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.team-link,
.team-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 5px 9px 5px 6px;
  text-decoration: none;
  font-weight: 780;
}

.team-link:hover {
  border-color: var(--green);
}

.flag {
  width: 25px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #e9eee7;
  flex: 0 0 auto;
}

.flag.placeholder {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid var(--line-strong);
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-actions .button {
  min-height: 34px;
  font-size: 0.84rem;
  padding: 0 10px;
}

.list-stack {
  display: grid;
  gap: 10px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.directory-tile {
  position: relative;
  isolation: isolate;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: #ffffff;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 8px;
  align-content: stretch;
  padding: 18px;
  text-decoration: none;
  background: #19312c;
  box-shadow: none;
}

.directory-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #19312c;
}

.directory-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.74)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 62%);
}

.directory-tile:hover,
.directory-tile:focus-visible {
  border-color: var(--green);
  outline: none;
}

.directory-tile:focus-visible {
  box-shadow: 0 0 0 3px rgba(12, 111, 71, 0.22);
}

.stage-directory-tile::before {
  background:
    linear-gradient(108deg, var(--stage-left, #0c6f47) 0 47%, #071310 47.4% 51%, var(--stage-right, #c99326) 51.4% 100%),
    var(--surface-alt);
}

.stage-directory-tile::after {
  background:
    radial-gradient(circle at 22% 52%, rgba(255, 255, 255, 0.2), transparent 22%),
    radial-gradient(circle at 76% 38%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68));
}

.location-directory-tile::before {
  background-image:
    linear-gradient(180deg, rgba(15, 24, 22, 0.12), rgba(15, 24, 22, 0.42)),
    var(--tile-image),
    linear-gradient(135deg, #244e5c, #17352e);
  background-position: center;
  background-size: cover;
}

.directory-eyebrow {
  align-self: start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.44);
}

.directory-title {
  align-self: end;
  max-width: 95%;
  font-size: clamp(2rem, 5vw, 4.1rem);
  font-weight: 950;
  line-height: 0.94;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.62);
}

.directory-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 820;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.52);
}

.directory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.54);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  min-width: 0;
}

.filter-grid .flip-card {
  min-width: 0;
}

.filter-grid .match-front {
  height: 100%;
  min-height: 220px;
  border-color: var(--line-strong);
}

.filter-grid .match-front.is-dated .front-top-left {
  max-width: 64%;
}

.filter-grid .match-front.is-dated .front-top-right {
  max-width: 30%;
}

.filter-grid .match-front.is-day-card .broadcast-marks {
  inset: 44px 30px 58px;
  gap: clamp(48px, 7.8vw, 116px);
}

.filter-grid .match-front.is-day-card .match-thumb .team-mark img {
  width: clamp(96px, 10.5vw, 132px);
  height: clamp(96px, 10.5vw, 132px);
  border-radius: 12px;
}

.filter-grid .match-front.is-day-card .match-thumb .team-mark.is-placeholder strong {
  min-width: clamp(96px, 10.5vw, 132px);
  min-height: clamp(96px, 10.5vw, 132px);
  border-radius: 12px;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.filter-grid .flip-card:hover .match-front,
.filter-grid .flip-card:focus-visible .match-front {
  border-color: var(--green);
}

.day-layout,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  min-width: 0;
}

.day-layout.is-single { grid-template-columns: minmax(0, 1fr); }

.flip-card {
  perspective: 1200px;
  outline: none;
  min-width: 0;
  max-width: 100%;
}

.flip-card:focus-visible {
  border-radius: var(--radius);
  box-shadow: 0 0 0 3px rgba(12, 111, 71, 0.18);
}

.flip-card-inner {
  display: grid;
  min-width: 0;
  max-width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.42s ease;
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  grid-area: 1 / 1;
  min-width: 0;
  max-width: 100%;
  min-height: 100%;
  backface-visibility: hidden;
}

.flip-front .match-front {
  height: 100%;
  min-height: 220px;
}

.flip-front .match-front.is-day-card .broadcast-marks {
  inset: 44px 30px 58px;
  gap: clamp(48px, 7.8vw, 116px);
}

.flip-front .match-front.is-day-card .match-thumb .team-mark img {
  width: clamp(96px, 10.5vw, 132px);
  height: clamp(96px, 10.5vw, 132px);
  border-radius: 12px;
}

.flip-front .match-front.is-day-card .match-thumb .team-mark.is-placeholder strong {
  min-width: clamp(96px, 10.5vw, 132px);
  min-height: clamp(96px, 10.5vw, 132px);
  border-radius: 12px;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.day-layout .side-list .match-front.is-compact .match-thumb .team-mark img {
  width: 60px;
  height: 60px;
  border-radius: 9px;
}

.day-layout .side-list .match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
  min-width: 60px;
  min-height: 60px;
  border-radius: 9px;
}

.flip-back {
  transform: rotateY(180deg);
}

.flip-card .event-card,
.flip-card .match-front {
  cursor: pointer;
}

.flip-card a,
.flip-card button {
  cursor: pointer;
}

.compact-coverage {
  gap: 7px;
}

.detail-main,
.detail-aside,
.day-main,
.day-aside {
  display: grid;
  gap: 12px;
  align-content: start;
}

.day-main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.calendar-grid > .empty-state {
  grid-column: 1 / -1;
}

.hero-detail {
  border-top: 4px solid var(--green);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-detail h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.team-versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 14px 0;
}

.team-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  padding: 14px;
  text-decoration: none;
}

.team-block:hover {
  border-color: var(--green);
}

.team-block strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 1.1rem;
}

.team-block span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.versus {
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.coverage-list {
  display: grid;
  gap: 8px;
}

.coverage-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 12px;
  text-decoration: none;
}

.coverage-link:hover {
  border-color: var(--green);
}

.coverage-link strong,
.coverage-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.coverage-link > span:not(.chip) {
  display: grid;
  gap: 2px;
}

.coverage-link span {
  color: var(--muted);
  font-size: 0.82rem;
}

.coverage-link .chip {
  color: var(--green-dark);
  font-size: 0.77rem;
}

.coverage-link .coverage-action {
  background: var(--mint);
  color: #06321F;
  font-weight: 600;
}

.coverage-link .audio-action {
  background: var(--chip);
  color: var(--green-dark);
  font-weight: 600;
}

.coverage-head {
  margin: 0 0 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-family: "Space Grotesk", Inter, sans-serif;
}

.coverage-price {
  color: var(--muted);
  font-weight: 500;
}

.coverage-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Site footer — navy, per Night Drive (hero/footer carry the dark moments) */
.site-footer {
  margin-top: 40px;
  background: var(--green-dark);
  color: #B9C7DC;
}

.site-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.site-footer img { width: 26px; height: 26px; display: block; }
.site-footer a { color: #B9C7DC; text-decoration: none; }
.site-footer a:hover { color: #FAFBFC; }
.site-footer .footer-spacer { flex: 1; }
.site-footer .footer-cta {
  background: var(--mint);
  color: #06321F;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
}
.site-footer .footer-cta:hover { color: #06321F; box-shadow: 0 4px 14px rgba(73, 201, 140, 0.4); }

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  padding: 28px;
  text-align: center;
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state p {
  margin-top: 8px;
  color: var(--muted);
}

.source-note {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .topbar-inner {
    grid-template-columns: 1fr;
  }

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

  .day-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .calendar-wrap,
  .calendar-wrap.is-slate-collapsed {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .calendar-wrap {
    grid-template-areas:
      "calendar toggle"
      "slate slate";
  }

  .calendar-wrap.is-slate-collapsed {
    grid-template-areas: "calendar toggle";
  }

  .side-list,
  .slate-panel,
  .slate-toggle {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand h1 {
    font-size: 1.28rem;
  }

  .toolbar,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .view-head {
    align-items: start;
    flex-direction: column;
  }

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

  .calendar-wrap,
  .calendar-wrap.is-slate-collapsed {
    grid-template-columns: 1fr;
  }

  .calendar-wrap {
    grid-template-areas:
      "toggle"
      "calendar"
      "slate";
  }

  .calendar-wrap.is-slate-collapsed {
    grid-template-areas:
      "toggle"
      "calendar";
  }

  .slate-toggle {
    justify-self: start;
  }

  .weekday-grid,
  .weekday,
  .day-cell.is-padding {
    display: none;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .calendar-scroll {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .day-cell {
    min-height: 206px;
  }

  .day-cell.is-event-dense {
    min-height: 365px;
  }

  .day-cell.is-event-count-3 {
    min-height: 365px;
  }

  .day-cell.is-event-count-4 {
    min-height: 474px;
  }

  .day-cell.is-empty {
    display: none;
  }

  .match-front {
    grid-template-columns: none;
    gap: 0;
  }

  .match-thumb,
  .match-front.is-compact .match-thumb {
    width: 100%;
    min-height: 0;
    height: 100%;
  }

  .match-thumb .team-mark img,
  .match-front.is-compact .match-thumb .team-mark img {
    width: 30px;
    height: 30px;
  }

  .front-corner,
  .match-front.is-compact .front-corner {
    font-size: 0.5rem;
  }

  .day-events.is-dense .match-front.is-compact .front-corner {
    font-size: 0.5rem;
  }

  .day-events.is-count-3 .match-front.is-compact .front-corner {
    font-size: 0.5rem;
  }

  .day-events.is-count-4 .match-front.is-compact .front-corner {
    font-size: 0.5rem;
  }

  .day-events.is-count-6 .match-front.is-compact .front-corner {
    font-size: 0.36rem;
  }

  .day-events.is-count-6 .match-front.is-compact .broadcast-marks {
    inset: 17px 4px;
    gap: 22px;
  }

  .day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark img {
    width: 26px;
    height: 26px;
  }

  .day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
    min-width: 28px;
    min-height: 28px;
    font-size: 0.58rem;
  }

  .team-versus {
    grid-template-columns: 1fr;
  }

  .versus {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }

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

  .day-cell,
  .day-cell.is-event-dense {
    min-height: auto;
  }

  .day-events.is-dense {
    grid-auto-rows: minmax(86px, 1fr);
  }

  .day-events.is-dense .match-front.is-compact .front-corner {
    font-size: 0.54rem;
  }

  .day-events.is-count-3 .match-front.is-compact .front-corner {
    font-size: 0.5rem;
  }

  .day-events.is-count-4 .match-front.is-compact .front-corner {
    font-size: 0.48rem;
  }

  .day-events.is-count-6 .match-front.is-compact .front-corner {
    font-size: 0.44rem;
  }

  .day-events.is-count-6 .match-front.is-compact .broadcast-marks {
    inset: 17px 8px;
    gap: 26px;
  }

  .day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark img {
    width: 32px;
    height: 32px;
  }

  .day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
    min-width: 32px;
    min-height: 32px;
    font-size: 0.62rem;
  }

  .day-events.is-dense .match-front.is-compact .match-thumb .team-mark img {
    width: 36px;
    height: 36px;
  }

  .day-events.is-dense .match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
    min-width: 36px;
    min-height: 36px;
  }

  .day-events.is-dense .match-front.is-compact .match-thumb .team-mark.is-placeholder.is-long-placeholder strong {
    min-width: 50px;
    min-height: 35px;
  }

  .day-events.is-dense .match-front.is-compact .match-thumb .team-mark.is-placeholder.is-third-placeholder strong {
    min-width: 36px;
    min-height: 36px;
  }

  .day-events.is-count-6 .match-front.is-compact .broadcast-marks {
    inset: 17px 8px;
    gap: 26px;
  }

  .day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark img {
    width: 32px;
    height: 32px;
  }

  .day-events.is-count-6 .match-front.is-compact .match-thumb .team-mark.is-placeholder strong {
    min-width: 32px;
    min-height: 32px;
    font-size: 0.62rem;
  }
}
