.season-detail-body {
  background: #f4f6f5;
}

.season-detail-body .app-content {
  background: #f4f6f5;
}


.season-page {
  --season-ink: #17211e;
  --season-muted: #6f7b76;
  --season-forest: #1f5b46;
  --season-mint: #e8f4ee;
  --season-sun: #f6c85f;
  --season-paper: #fffdf8;
  --season-line: rgba(23, 33, 30, 0.12);

  --quag-state-success-bg: #dff2e8;
  --quag-state-success-border: #dff2e8;
  --quag-state-success-ink: #1d6046;

  --quag-state-neutral-bg: #e9edeb;
  --quag-state-neutral-border: #e9edeb;
  --quag-state-neutral-ink: #5e6965;

  --quag-state-attention-bg: #fff0c3;
  --quag-state-attention-border: #fff0c3;
  --quag-state-attention-ink: #735415;

  --quag-state-danger-bg: #f8e2de;
  --quag-state-danger-border: #f8e2de;
  --quag-state-danger-ink: #8a3c33;

  --quag-empty-border: rgba(31, 91, 70, 0.26);
  --quag-empty-bg: #f7faf8;
  --quag-empty-ink: var(--season-muted);
  --quag-empty-title-ink: var(--season-ink);
  --quag-empty-icon-bg: var(--season-mint);
  --quag-empty-icon-ink: var(--season-forest);

  --quag-pagination-accent: var(--season-forest);

  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(0.8rem, 1.8vw, 1.5rem) 0 4rem;
  color: var(--season-ink);
}

.season-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(31, 91, 70, 0.12);
  border-radius: 1.6rem;
  background: linear-gradient(135deg, #fffdf8 0%, #f3f8f5 100%);
  box-shadow: 0 22px 48px rgba(23, 33, 30, 0.08);
}

.season-hero__shape {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.season-hero__shape--mint {
  top: -6rem;
  right: 5rem;
  width: 15rem;
  height: 15rem;
  background: rgba(151, 211, 180, 0.22);
}

.season-hero__shape--sun {
  right: -3.5rem;
  bottom: -5rem;
  width: 12rem;
  height: 12rem;
  background: rgba(246, 200, 95, 0.2);
}

.season-hero__copy,
.season-hero__identity,
.season-hero__actions {
  position: relative;
  z-index: 1;
}

.season-hero__copy {
  min-width: 0;
}

.season-hero__league {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: 100%;
  color: var(--season-forest);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
}

.season-hero__league i {
  flex: 0 0 auto;
  margin-top: 0.08rem;
}

.season-hero__league span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.season-hero h1 {
  max-width: 850px;
  margin: 0.9rem 0 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.season-hero__period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 1rem;
  color: #3f4d48;
  font-size: 0.96rem;
  font-weight: 700;
}

.season-page .quag-status {
  font-weight: 850;
}

.season-hero__date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.season-hero__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 1rem;
  color: var(--season-muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.season-hero__summary strong {
  color: var(--season-ink);
  font-size: 1rem;
}

.season-hero__summary-dot {
  color: rgba(23, 33, 30, 0.34);
}

.season-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.6rem;
  color: var(--season-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.season-hero__tags strong {
  color: #46524e;
  font-weight: 800;
}

.season-hero__identity {
  display: grid;
  place-items: center;
  align-self: center;
  width: clamp(112px, 14vw, 168px);
  aspect-ratio: 1;
  border: 1px solid rgba(31, 91, 70, 0.12);
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(23, 33, 30, 0.09);
  text-decoration: none;
  transition:
    background 0.16s ease,
    box-shadow 0.16s ease;
}

.season-hero__identity:hover,
.season-hero__identity:focus-visible {
  color: inherit;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(23, 33, 30, 0.13);
  text-decoration: none;
}

.season-hero__identity:focus-visible {
  outline: 3px solid rgba(31, 91, 70, 0.35);
  outline-offset: 3px;
}

.season-hero__identity img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.season-hero__monogram {
  color: var(--season-forest);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
}

.season-hero__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.season-hero__actions .quag-action--secondary {
  border-color: var(--season-line);
  color: var(--season-ink);
  background: rgba(255, 255, 255, 0.82);
}

.season-hero__actions .quag-action--secondary:hover {
  border-color: rgba(31, 91, 70, 0.32);
  color: var(--season-forest);
  background: #fff;
}

.season-hero__switch {
  font-weight: 800;
}

.season-section {
  min-width: 0;
  scroll-margin-top: 1rem;
}

.season-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.season-section__heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.season-section__heading p {
  margin: 0;
  color: var(--season-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.season-rating-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 0 1.1rem;
}

.season-rating-tabs__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 0.78rem;
  border: 1px solid var(--season-line);
  border-radius: 0.78rem;
  color: var(--season-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: #fff;
}

.season-rating-tabs__link.is-active {
  color: #fff;
  border-color: var(--season-forest);
  background: var(--season-forest);
}

.season-warning {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(179, 118, 22, 0.2);
  border-radius: 0.9rem;
  color: #6b4d16;
  background: #fff7df;
}

.season-warning > div {
  display: grid;
  gap: 0.15rem;
}

.season-warning span {
  font-size: 0.84rem;
  line-height: 1.45;
}

.season-rating-table {
  min-width: 0;
}

.season-game-row__arrow {
  color: var(--season-forest);
}

.season-games__list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, 0.075);
  border-radius: 12px 24px 24px 24px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.055);
}

.season-game-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 86px 24px;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  padding: 0.8rem 1.15rem;
  border-top: 1px solid rgba(23, 33, 30, 0.08);
  color: var(--season-ink);
  text-decoration: none;
  transition: background 0.16s ease;
}

.season-game-row:first-child {
  border-top: 0;
}

.season-game-row:hover,
.season-game-row:focus-visible {
  background: #f8faf9;
}

.season-game-row.is-cancelled {
  opacity: 0.72;
}

.season-game-row__date {
  display: grid;
  box-sizing: border-box;
  grid-template-columns: auto minmax(0, auto);
  grid-template-rows: auto auto;
  justify-content: center;
  column-gap: 0.22rem;
  align-items: end;
  width: 76px;
  padding: 0.52rem 0.42rem;
  border-radius: 0.85rem;
  color: var(--season-forest);
  background: var(--season-mint);
}

.season-game-row__date strong {
  grid-row: 1 / span 2;
  font-size: 1.7rem;
  line-height: 1;
}

.season-game-row__date span {
  min-width: 0;
  align-self: end;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.season-game-row__date small {
  align-self: start;
  color: var(--season-muted);
  font-size: 0.64rem;
  line-height: 1;
}

.season-game-row__copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.season-game-row__copy > strong {
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-game-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.2rem;
}

.season-game-row__mobile-details {
  display: none;
  color: var(--season-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.season-game-row__teams {
  display: grid;
  justify-items: center;
  gap: 0.05rem;
}

.season-game-row__teams strong {
  font-size: 1.05rem;
}

.season-game-row__teams small {
  color: var(--season-muted);
  font-size: 0.68rem;
}

















@media (max-width: 767.98px) {
  .season-page {
    gap: 1.75rem;
    width: 100%;
    margin: 0;
    padding-top: 0.75rem;
  }

  .season-hero {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.15rem;
    border-radius: 1.15rem;
  }

  .season-hero__identity {
    position: absolute;
    top: 4.6rem;
    right: 1.15rem;
    width: 70px;
    opacity: 0.9;
  }

  .season-hero h1 {
    padding-right: 82px;
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .season-hero__period {
    max-width: calc(100% - 82px);
    gap: 0.45rem 0.55rem;
  }

  .season-hero__date {
    align-items: flex-start;
  }

  .season-hero__actions {
    justify-content: flex-start;
  }

  .season-hero__switch {
    min-width: 0;
  }

  .season-section__heading {
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }

  .season-rating-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0 0 1rem;
  }

  .season-rating-tabs__link {
    width: 100%;
    min-height: 42px;
    padding: 0.5rem 0.55rem;
    font-size: 0.78rem;
  }

  .season-warning {
    margin: 0 0 1rem;
  }

  .season-rating-table {
    padding: 0;
  }

  .season-game-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.65rem;
    min-height: 82px;
    padding: 0.68rem 0.85rem;
  }

  .season-game-row__date {
    grid-template-columns: auto minmax(0, auto);
    grid-template-rows: auto;
    align-items: center;
    width: 68px;
    padding: 0.52rem 0.35rem;
  }

  .season-game-row__date strong {
    grid-row: auto;
    font-size: 1.45rem;
  }

  .season-game-row__date span {
    align-self: center;
    font-size: 0.6rem;
  }

  .season-game-row__date small,
  .season-game-row__teams,
  .season-game-row__arrow {
    display: none;
  }

  .season-game-row__copy > strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .season-game-row__mobile-details {
    display: inline;
  }








}

@media (max-width: 430px) {
  .season-hero__identity {
    display: none;
  }

  .season-hero h1,
  .season-hero__period {
    max-width: none;
    padding-right: 0;
  }

  .season-hero__period {
    align-items: flex-start;
    flex-direction: column;
  }

  .season-hero__summary {
    margin-top: 0.85rem;
  }

  .season-hero__actions {
    margin-top: 0.15rem;
  }
}
