/* Locked Claude Matchup Detail 2a port. Keep every rule page-scoped so the
   approved Event Detail, Series HQ, and Results presentations remain frozen. */

body.tournament-match-detail-page .tournament-matchup-shell {
  padding-top: 1.25rem;
}

body.tournament-match-detail-page .event-breadcrumbs {
  justify-content: center;
  margin-bottom: .875rem;
  font-size: .75rem;
  letter-spacing: .06em;
}

body.tournament-match-detail-page .matchup-page-layout {
  grid-template-columns: 56px minmax(0, 1fr) 304px;
  max-width: none;
  column-gap: 22px;
  row-gap: 0;
}

body.tournament-match-detail-page .matchup-page-layout .matchup-back-navigation {
  margin-top: .625rem;
}

body.tournament-match-detail-page .matchup-history-back {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

body.tournament-match-detail-page .matchup-hero {
  min-height: 294px;
  padding: 10px 18px 14px;
  border-width: 34px;
  background-color: rgba(0, 0, 0, .3);
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, .4));
}

body.tournament-match-detail-page .matchup-hero-title {
  margin: 0;
  color: var(--site-gold-strong);
  font-family: var(--site-font-title);
  font-size: 1.2rem;
  letter-spacing: .06em;
}

body.tournament-match-detail-page .matchup-hero-context {
  margin: .25rem 0 0;
  color: rgba(241, 228, 198, .55);
  font-size: .75rem;
  letter-spacing: .04em;
}

body.tournament-match-detail-page .matchup-hero-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  font-family: var(--site-font-title);
  font-weight: 400;
  line-height: 1;
}

body.tournament-match-detail-page .matchup-hero-player {
  position: relative;
  display: flex;
  min-width: 0;
  color: rgba(241, 228, 198, .72);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

body.tournament-match-detail-page .matchup-hero-player-a {
  width: max-content;
  max-width: 100%;
  justify-self: end;
  justify-content: flex-end;
  text-align: right;
}

body.tournament-match-detail-page .matchup-hero-player-b {
  width: max-content;
  max-width: 100%;
  justify-self: start;
  justify-content: flex-start;
  text-align: left;
}

body.tournament-match-detail-page .matchup-hero-player.is-winner {
  color: #fff6d8;
}

body.tournament-match-detail-page .matchup-hero-player .public-participant {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  align-items: inherit;
  gap: .35rem;
}

body.tournament-match-detail-page .matchup-hero-player-a .public-participant {
  align-items: flex-end;
}

body.tournament-match-detail-page .matchup-hero-player-b .public-participant {
  align-items: flex-start;
}

body.tournament-match-detail-page .matchup-hero-player .participant-profile-link,
body.tournament-match-detail-page .matchup-hero-player .public-participant-name {
  max-width: 100%;
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
}

body.tournament-match-detail-page .matchup-hero-player .public-participant-team {
  color: rgba(241, 228, 198, .42);
  font-family: var(--site-font-body);
  font-size: .72rem;
  line-height: 1.2;
}

body.tournament-match-detail-page .matchup-hero-medal {
  position: absolute;
  top: 50%;
  right: -31px;
  z-index: 1;
  width: 24px;
  height: 34px;
  object-fit: contain;
  transform: translateY(-52%);
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .48));
}

body.tournament-match-detail-page .matchup-hero-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

body.tournament-match-detail-page .matchup-hero-score span {
  color: rgba(241, 228, 198, .6);
  font-size: 2.375rem;
}

body.tournament-match-detail-page .matchup-hero-score span:last-child {
  color: #fff0bc;
}

body.tournament-match-detail-page .matchup-hero-score i,
body.tournament-match-detail-page .matchup-hero-vs {
  color: rgba(213, 177, 101, .5);
  font-size: 1.5rem;
  font-style: normal;
  text-transform: uppercase;
}

body.tournament-match-detail-page .matchup-hero-result {
  margin-top: 1rem;
  gap: 11px;
  color: rgba(241, 228, 198, .6);
  font-size: .8rem;
}

body.tournament-match-detail-page .matchup-hero-result .event-status {
  padding: .2rem .6rem;
  border: 1px solid rgba(213, 177, 101, .4);
  border-radius: 5px;
  color: var(--site-gold);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.tournament-match-detail-page .matchup-hero-result .tournament-platform-link {
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
}

body.tournament-match-detail-page .matchup-navigation {
  margin-top: .875rem;
}

body.tournament-match-detail-page .matchup-navigation .matchup-series-link {
  min-width: 11.5rem;
  padding: .65rem 1rem;
  border-color: rgba(213, 177, 101, .5);
  border-radius: 5px;
  background: rgba(0, 0, 0, .28);
  color: #fff0bc;
  font-family: var(--site-font-title);
  font-size: .72rem;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

body.tournament-match-detail-page .series-games-section {
  margin-top: .375rem;
}

body.tournament-match-detail-page .matchup-games-heading {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 0 0 12px;
}

body.tournament-match-detail-page .matchup-games-heading h2 {
  margin: 0;
  color: var(--site-gold-strong);
  font-family: var(--site-font-title);
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.tournament-match-detail-page .matchup-games-rule {
  height: 1px;
  flex: 1;
  margin-bottom: 5px;
  background: linear-gradient(90deg, rgba(232, 196, 111, .5), rgba(232, 196, 111, .05));
}

body.tournament-match-detail-page .matchup-games-summary {
  margin-bottom: 1px;
  color: rgba(241, 228, 198, .45);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.tournament-match-detail-page .tournament-games-table-wrap {
  border: 3px solid rgba(213, 177, 101, .42);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(10, 13, 17, .92), rgba(29, 32, 37, .95));
  box-shadow:
    0 20px 44px rgba(0, 0, 0, .45),
    inset 0 0 0 1px rgba(232, 196, 111, .2),
    inset 0 0 0 5px rgba(0, 0, 0, .34),
    inset 0 0 0 6px rgba(232, 196, 111, .12);
}


body.tournament-match-detail-page .series-overview-rail {
  width: 304px;
  position: sticky;
  top: 1rem;
}

body.tournament-match-detail-page .series-overview-panel--ornate {
  padding: 2px 4px;
  border-width: 26px;
  background: linear-gradient(180deg, rgba(20, 23, 28, .73), rgba(10, 17, 31, .71));
}

body.tournament-match-detail-page .series-overview-heading {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: .06em;
}

body.tournament-match-detail-page .series-overview-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

body.tournament-match-detail-page .series-overview-list dt,
body.tournament-match-detail-page .matchup-picks h3 {
  color: rgba(241, 228, 198, .42);
  font-size: .56rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

body.tournament-match-detail-page .series-overview-list dd {
  margin-top: 2px;
  color: #fff0bc;
  font-family: var(--site-font-title);
  font-size: 1rem;
}

body.tournament-match-detail-page .matchup-picks {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(213, 177, 101, .22);
}

body.tournament-match-detail-page .matchup-picks + .matchup-picks {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

body.tournament-match-detail-page .matchup-picks h3 {
  margin: 0 0 7px;
}

body.tournament-match-detail-page .matchup-pick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.tournament-match-detail-page .matchup-pick-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px 2px 2px;
  border: 1px solid rgba(213, 177, 101, .24);
  border-radius: 999px;
  color: rgba(241, 228, 198, .72);
  font-size: .68rem;
}

body.tournament-match-detail-page .matchup-pick-chip img {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  object-fit: cover;
}

body.tournament-match-detail-page .matchup-pick-chip strong {
  color: var(--site-gold);
  font-weight: 700;
}

body.tournament-match-detail-page .series-overview-links {
  margin-top: 14px;
  padding-top: 14px;
  border-top-color: rgba(213, 177, 101, .22);
}

body.tournament-match-detail-page .series-vod-link {
  font-size: .75rem;
}

@media (min-width: 1400px) {
  body.tournament-match-detail-page .tournament-matchup-shell,
  body.tournament-match-detail-page .events-shell:has(> .tournament-icon-nav) {
    width: auto;
    max-width: none;
    margin-right: 104px;
    margin-left: 32px;
  }
}

@media (max-width: 1180px) {
  body.tournament-match-detail-page .matchup-page-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.1rem;
  }

  body.tournament-match-detail-page .matchup-page-layout .matchup-back-navigation {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  body.tournament-match-detail-page .matchup-page-layout .series-hero-wrapper {
    grid-column: 1;
    grid-row: 2;
  }

  body.tournament-match-detail-page .matchup-page-layout .series-overview-rail {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    position: static;
  }

  body.tournament-match-detail-page .matchup-page-layout .series-games-section,
  body.tournament-match-detail-page .matchup-page-layout .matchup-games-unavailable {
    grid-column: 1;
    grid-row: 4;
  }

  body.tournament-match-detail-page .series-overview-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.tournament-match-detail-page .tournament-matchup-shell {
    padding-top: 1rem;
  }

  body.tournament-match-detail-page .event-breadcrumbs {
    justify-content: flex-start;
    line-height: 1.4;
  }

  body.tournament-match-detail-page .matchup-hero {
    min-height: 0;
    padding: .25rem .4rem .5rem;
    border-width: 20px;
  }

  body.tournament-match-detail-page .matchup-hero-scoreboard {
    grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
    gap: .35rem;
  }

  body.tournament-match-detail-page .matchup-hero-player {
    font-size: clamp(1rem, 5vw, 1.35rem);
  }

  body.tournament-match-detail-page .matchup-hero-medal {
    right: -18px;
    width: 15px;
    height: 22px;
  }

  body.tournament-match-detail-page .matchup-hero-score {
    gap: .35rem;
  }

  body.tournament-match-detail-page .matchup-hero-score span {
    font-size: 1.45rem;
  }

  body.tournament-match-detail-page .matchup-hero-score i,
  body.tournament-match-detail-page .matchup-hero-vs {
    font-size: 1rem;
  }

  body.tournament-match-detail-page .matchup-games-heading {
    flex-wrap: wrap;
    gap: .5rem;
  }

  body.tournament-match-detail-page .matchup-games-rule {
    min-width: 2rem;
  }

  body.tournament-match-detail-page .matchup-games-summary {
    width: 100%;
  }

  body.tournament-match-detail-page .series-overview-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  body.tournament-match-detail-page .matchup-hero-title {
    font-size: 1rem;
  }

  body.tournament-match-detail-page .matchup-hero-context {
    font-size: .65rem;
  }

  body.tournament-match-detail-page .matchup-hero-player .public-participant-team {
    font-size: .6rem;
  }

  body.tournament-match-detail-page .matchup-hero-result {
    font-size: .7rem;
  }

  body.tournament-match-detail-page .matchup-navigation .matchup-series-link {
    width: 100%;
    min-width: 0;
  }
}
