/* 1. Page variables and base layout */
body.site-video-body {
  --champions-major-title-color: rgba(246, 218, 151, 0.98);
}

.type-champions {
  --champions-gold: #d7bd78;
  --champions-page-gutter: var(--site-page-gutter);
  --champions-card-radius: var(--site-radius-card);
  --champions-card-shadow: var(--site-shadow-card);
  --hltv-rating-positive: #6fbd74;
  --hltv-score-win: #6fbd74;
  --hltv-score-loss: #e05b5b;
  --champions-panel-bg: rgba(28, 20, 43, 0.58);
  --champions-panel-border: var(--site-border-subtle);
  --champions-card-width: 344px;
  --champions-card-height: 386px;
  --champions-card-gap: 28px;
  --champions-motion-duration: 320ms;
  --champions-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --champions-detail-close-duration: 300ms;
}

body.site-video-body #body-wrap.type-champions > #content-inner.layout {
  width: min(1280px, 100%);
  max-width: 1280px;
  padding: 0 var(--champions-page-gutter) 58px;
}

body.site-video-body #body-wrap.type-champions #page {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.type-champions #page > .page-title,
.type-champions #page-header #page-site-info {
  display: none;
}

.type-champions #page-header {
  height: 70px;
  min-height: 70px;
  background: none !important;
}

.champions-page {
  width: 100%;
  min-width: 0;
  overflow: clip;
  color: rgba(255, 255, 255, 0.86);
}

.champions-timeline-view {
  min-width: 0;
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

/* 2. Hero */
.champions-hero {
  display: grid;
  place-items: center;
  padding: var(--page-top-spacing) var(--champions-page-gutter) 28px;
  text-align: center;
}

.champions-hero__content {
  display: grid;
  width: 100%;
  max-width: 1180px;
}

.champions-hero__timeline-view,
.champions-hero__detail-view {
  grid-area: 1 / 1;
  min-width: 0;
  translate: 0 0;
  transition:
    opacity var(--champions-motion-duration) var(--champions-motion-ease),
    translate var(--champions-motion-duration) var(--champions-motion-ease),
    visibility 0s linear var(--champions-motion-duration);
}

.champions-hero__timeline-view {
  opacity: 1;
  visibility: visible;
}

.champions-hero__detail-view {
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: center;
  align-content: start;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: 0 8px;
  transition-delay: 0s;
}

.champions-page.is-detail-layout .champions-hero__timeline-view,
.champions-page.is-detail .champions-hero__timeline-view {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: 0 8px;
}

.champions-page.is-detail-content-visible .champions-hero__detail-view.is-active,
.champions-page.is-detail .champions-hero__detail-view.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
  transition-delay: 0s;
}

.champions-page.is-detail-closing .champions-hero__detail-view.is-active {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  translate: 0 8px;
  transition:
    opacity var(--champions-detail-close-duration) var(--champions-motion-ease),
    translate var(--champions-detail-close-duration) var(--champions-motion-ease),
    visibility 0s linear var(--champions-detail-close-duration);
}

/* 5. Detail Hero */
.champions-hero__detail-label {
  padding: 6px 10px;
  border: 1px solid rgba(232, 205, 133, 0.42);
  border-radius: 4px;
  background: rgba(38, 29, 18, 0.62);
  color: rgba(255, 231, 169, 0.96);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.champions-hero__detail-view h1 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 2px;
  font-size: clamp(2.15rem, 4.2vw, 3.65rem);
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  overflow-wrap: normal;
  text-shadow: 0 1px 14px rgba(215, 189, 120, 0.2);
}

.champions-hero__detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(520px, 100%);
  gap: 20px;
  margin: 8px auto 0;
}

.champions-hero__detail-meta > div {
  display: grid;
  gap: 7px;
  min-width: 0;
  justify-items: center;
}

.champions-hero__detail-meta small {
  color: rgba(215, 189, 120, 0.62);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.champions-hero__detail-meta strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}

.champions-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: var(--site-display-title-leading);
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.34);
}

.champions-hero__description {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.69);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: var(--site-reading-leading);
  text-shadow: 0 2px 12px rgba(8, 5, 18, 0.56);
}

.champions-hero__stats {
  display: grid;
  justify-items: center;
  margin-top: clamp(28px, 3vw, 32px);
}

.champions-hero__stats > span {
  display: grid;
  min-width: 120px;
  gap: 10px;
}

.champions-hero__stats small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.champions-hero__stats strong {
  color: rgba(245, 232, 195, 0.94);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(8, 5, 18, 0.48);
}

/* 3. Main championship timeline */
.champions-timeline-shell {
  position: relative;
  display: grid;
  margin-top: 0;
  padding: 8px 0 4px;
}

.champions-timeline__archive,
.championship-detail {
  min-width: 0;
  grid-area: 1 / 1;
}

.champions-timeline__archive {
  position: relative;
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 0s linear;
}

.champions-timeline-shell.is-initializing .champions-timeline__archive {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

/* Timeline width and scroll state feed drag and FLIP geometry. */
.champions-timeline__viewport {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 18px 0 10px;
  cursor: grab;
  outline: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

.champions-timeline__viewport::-webkit-scrollbar {
  display: none;
}

.champions-timeline__viewport:focus-visible {
  border-radius: 20px;
  box-shadow: inset 0 0 0 2px rgba(215, 189, 120, 0.34);
}

.champions-timeline__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.champions-timeline__track {
  position: relative;
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: var(--champions-card-gap);
  padding-inline: var(--timeline-edge-padding, 24px);
}

.champions-timeline__track::before {
  position: absolute;
  top: calc(var(--champions-card-height) + 58px);
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 189, 120, 0.35) 4%, rgba(215, 189, 120, 0.35) 96%, transparent);
  content: '';
}

.championship-event {
  display: grid;
  width: var(--champions-card-width);
  min-width: var(--champions-card-width);
  max-width: var(--champions-card-width);
  flex: 0 0 var(--champions-card-width);
  grid-template-rows: var(--champions-card-height) 34px 13px 32px;
  justify-items: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* 4. Championship cards */
.championship-card {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--champions-panel-border);
  border-radius: var(--champions-card-radius);
  background: transparent;
  box-shadow: var(--champions-card-shadow);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none !important;
  transform: scale(0.985);
  transform-origin: center;
  transition:
    transform var(--champions-motion-duration) var(--champions-motion-ease),
    border-color 280ms ease,
    box-shadow 320ms ease;
  appearance: none;
  grid-template-rows: 196px 1fr;
}

.championship-event.is-current .championship-card {
  border-color: rgba(215, 189, 120, 0.52);
  box-shadow: 0 16px 28px -14px rgba(4, 6, 17, 0.34);
  transform: scale(1.025);
}

.championship-card:hover,
.championship-card:focus,
.championship-card:active,
.championship-card:visited {
  color: inherit;
  text-decoration: none !important;
}

.championship-card:focus-visible {
  outline: 2px solid rgba(243, 182, 223, 0.78);
  outline-offset: 4px;
}

.championship-card__cover {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(8, 13, 29, 0.28), rgba(91, 42, 72, 0.34)),
    radial-gradient(circle at var(--championship-accent-position, 18%) 30%, rgba(215, 189, 120, 0.23), transparent 30%),
    linear-gradient(135deg, #11172a, #2d1c3d 68%, #431d2b);
  filter: brightness(0.86);
  transition: filter 280ms ease;
}

.championship-event.is-current .championship-card__cover {
  filter: brightness(1);
}

.championship-card__cover::after {
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(transparent, rgba(10, 9, 20, 0.74));
  content: '';
  pointer-events: none;
}

.championship-card__cover img {
  position: absolute;
  inset: -3px;
  display: block;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  object-fit: cover;
  object-position: center;
  transform: none;
}

@media (hover: hover) {
  .champions-timeline-shell.is-ready .championship-card__cover img {
    transition:
      inset var(--champions-motion-duration) var(--champions-motion-ease),
      width var(--champions-motion-duration) var(--champions-motion-ease),
      height var(--champions-motion-duration) var(--champions-motion-ease);
  }

  .champions-timeline-shell.is-ready .championship-card:hover .championship-card__cover img {
    inset: -7px;
    width: calc(100% + 14px);
    height: calc(100% + 14px);
  }
}

.championship-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 15px;
  color: rgba(238, 220, 170, 0.48);
}

.championship-card__placeholder[hidden] {
  display: none;
}

.championship-card__cover.is-image-failed img {
  display: none;
}

.championship-card__placeholder i {
  font-size: 3.2rem;
  text-shadow: 0 0 32px rgba(215, 189, 120, 0.18);
}

.championship-card__placeholder span {
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.championship-card__team,
.championship-card__status {
  position: absolute;
  z-index: 1;
  top: 16px;
  padding: 5px 8px;
  border: 1px solid rgba(215, 189, 120, 0.21);
  border-radius: 4px;
  background: rgba(8, 10, 22, 0.48);
  color: rgba(238, 220, 170, 0.82);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.championship-card__team {
  left: 16px;
  border-color: rgba(243, 182, 223, 0.2);
  color: rgba(243, 214, 235, 0.84);
}

.championship-card__status {
  right: 16px;
  color: rgba(238, 220, 170, 0.88);
}

/* Championship card modifiers */
.championship-event.is-major .championship-card {
  border-color: rgba(232, 205, 133, 0.62);
  box-shadow: 0 20px 52px rgba(3, 5, 15, 0.3), 0 0 30px rgba(215, 189, 120, 0.16);
}

.championship-event.is-major.is-current .championship-card {
  box-shadow: 0 16px 28px -14px rgba(3, 5, 15, 0.3);
}

.championship-event.is-major .championship-card__status {
  border-color: rgba(232, 205, 133, 0.42);
  background: rgba(38, 29, 18, 0.62);
  color: rgba(255, 231, 169, 0.96);
}

.championship-card__content {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 22px 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--champions-panel-bg);
}

.championship-card__title {
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-size: 1.18rem;
  line-height: 1.35;
}

.championship-card__meta {
  display: grid;
  gap: 6px;
  margin: 13px 0 0;
}

.championship-card__meta > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
}

.championship-card__meta dt {
  color: rgba(215, 189, 120, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.championship-card__meta dd {
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  overflow-wrap: anywhere;
}

.championship-card__title--major,
.champions-hero__detail-title--major {
  --page-heading-color: var(--champions-major-title-color);
  color: var(--champions-major-title-color);
}

.championship-card__title--major {
  font-weight: 700;
  text-shadow: 0 1px 14px rgba(215, 189, 120, 0.18);
}

.championship-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(243, 221, 165, 0.75);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

/* Timeline controls and status */
.championship-card__arrow {
  color: rgba(243, 182, 223, 0.72);
  font-size: 1rem;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.championship-card:hover .championship-card__arrow {
  transform: translateX(4px);
}

.championship-event__connector {
  width: 1px;
  height: 100%;
  background: linear-gradient(rgba(215, 189, 120, 0.12), rgba(215, 189, 120, 0.55));
}

.championship-event__node {
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(215, 189, 120, 0.55);
  border-radius: 50%;
  background: #1a1428;
  box-shadow: 0 0 0 5px rgba(215, 189, 120, 0.05);
  transition: background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.championship-event.is-current .championship-event__node {
  background: var(--champions-gold);
  box-shadow: 0 0 0 6px rgba(215, 189, 120, 0.12), 0 0 18px rgba(215, 189, 120, 0.34);
  transform: scale(1.16);
}

.championship-event.is-major .championship-event__node {
  width: 13px;
  height: 13px;
  border-color: rgba(232, 205, 133, 0.78);
  box-shadow: 0 0 0 5px rgba(215, 189, 120, 0.1), 0 0 18px rgba(215, 189, 120, 0.26);
}

.championship-event__date {
  padding-top: 9px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  transition: color 260ms ease;
}

.championship-event.is-current .championship-event__date {
  color: rgba(232, 213, 163, 0.88);
}

.champions-timeline__controls {
  position: absolute;
  z-index: 4;
  top: calc(var(--champions-card-height) / 2 - 3px);
  right: 13px;
  left: 13px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.champions-timeline__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(215, 189, 120, 0.2);
  border-radius: 50%;
  background: rgba(11, 13, 27, 0.72);
  box-shadow: 0 8px 24px rgba(4, 5, 14, 0.24);
  color: rgba(232, 218, 177, 0.8);
  cursor: pointer;
  pointer-events: auto;
  place-items: center;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.champions-timeline__arrow:hover,
.champions-timeline__arrow:focus-visible {
  border-color: rgba(215, 189, 120, 0.48);
  background: rgba(33, 25, 48, 0.88);
  color: #f1ddaa;
}

.champions-timeline__arrow:focus-visible {
  outline: 2px solid rgba(243, 182, 223, 0.7);
  outline-offset: 3px;
}

.champions-timeline__arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.champions-timeline__hint {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  transition: opacity 260ms ease;
}

.champions-timeline__hint-mobile {
  display: none;
}

.champions-timeline-shell.is-interacted .champions-timeline__hint {
  opacity: 0;
}

/* 9. Animation and state */
.champions-page.is-detail-opening .champions-timeline__archive,
.champions-page.is-detail .champions-timeline__archive {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 0s linear 280ms;
}

.champions-page.is-return-positioning .champions-timeline-view,
.champions-page.is-restoring-timeline-view .champions-timeline-view {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: 0 10px;
  transition: none;
}

.champions-page.is-returning-to-timeline .champions-timeline-view {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  translate: 0 10px;
  transition: none;
}

.champions-page.is-returning-to-timeline .champions-hero__timeline-view,
.champions-page.is-returning-to-timeline .champions-timeline__archive {
  opacity: 1;
  visibility: visible;
  transition: none;
}

.champions-page.is-returning-to-timeline-play .champions-timeline-view {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition:
    opacity var(--champions-motion-duration) var(--champions-motion-ease),
    translate var(--champions-motion-duration) var(--champions-motion-ease);
}

.championship-card.is-detail-origin-hidden {
  visibility: hidden;
}

.championship-detail[hidden] {
  display: none;
}

.championship-detail {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 4px 24px 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.champions-page.is-detail-layout .championship-detail.is-active,
.champions-page.is-detail .championship-detail.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.champions-page.is-detail-closing .championship-detail.is-active {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition:
    opacity var(--champions-detail-close-duration) var(--champions-motion-ease),
    visibility 0s linear var(--champions-detail-close-duration);
}

.champions-page.is-detail .championship-detail.is-active {
  pointer-events: auto;
}

.championship-detail__inner {
  min-width: 0;
}

/* 6. MVP area */
.championship-detail__main {
  position: relative;
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  grid-template-rows: minmax(0, var(--champions-card-height));
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
  min-width: 0;
}

.championship-detail__transition-slot {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--champions-card-width), 100%);
  height: var(--champions-card-height);
  visibility: hidden;
  pointer-events: none;
  translate: -50% 0;
}

.championship-detail__mvp-section {
  display: grid;
  justify-items: center;
  min-width: 0;
  min-height: 0;
}

.championship-detail__card-slot {
  display: grid;
  width: min(var(--champions-card-width), 100%);
  min-width: 0;
  justify-items: center;
}

.championship-detail__flip-card {
  position: relative;
  width: 100%;
  height: var(--champions-card-height);
  perspective: 1200px;
  visibility: hidden;
}

.champions-page.is-detail-card-visible .championship-detail__flip-card,
.champions-page.is-detail .championship-detail__flip-card,
.championship-detail__transition-card {
  visibility: visible;
}

.championship-detail__flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

/* The FLIP clone is mounted on body, outside the .champions-page token scope. */
.championship-detail__transition-card {
  position: fixed;
  z-index: 1200;
  margin: 0;
  pointer-events: none;
  border-radius: var(--site-radius-card, 20px);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: top left;
  transition: transform var(--detail-move-duration, 560ms) cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.championship-detail__transition-card .championship-detail__flip-face {
  border-radius: var(--site-radius-card, 20px);
}

.championship-detail__transition-card .championship-detail__flip-inner {
  transform: rotateY(0);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

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

.championship-detail__flip-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 205, 133, 0.62);
  border-radius: var(--champions-card-radius);
  background: linear-gradient(145deg, #11172a, #2d1c3d 68%, #431d2b);
  box-shadow: 0 18px 40px rgba(3, 5, 15, 0.28), 0 0 26px rgba(215, 189, 120, 0.14);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.championship-detail__flip-face--back {
  transform: rotateY(180deg);
}

.championship-card--detail-front {
  width: 100%;
  height: 100%;
  border: 0;
  transform: none !important;
  filter: none;
  pointer-events: none;
}

.champions-timeline-shell.is-ready .championship-card--detail-front:hover .championship-card__cover img {
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
}

.championship-detail__visual-media,
.championship-detail__visual-image,
.championship-detail__visual-scrim {
  position: absolute;
  inset: 0;
}

.championship-detail__visual-media {
  overflow: hidden;
}

.championship-detail__visual-media.is-text-only {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(215, 189, 120, 0.2), transparent 34%),
    linear-gradient(145deg, #10172b, #281b3b 62%, #412031);
}

.championship-detail__visual-monogram {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 32px;
  color: rgba(232, 205, 133, 0.52);
  text-align: center;
}

.championship-detail__visual-monogram i {
  font-size: 4rem;
  filter: drop-shadow(0 8px 22px rgba(215, 189, 120, 0.16));
}

.championship-detail__visual-monogram span {
  max-width: 18ch;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.6;
}

.championship-detail__visual-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.championship-detail__visual-scrim {
  background: linear-gradient(
    180deg,
    transparent 62%,
    rgba(9, 8, 19, 0.28) 80%,
    rgba(9, 8, 19, 0.66) 100%
  );
  pointer-events: none;
}

.championship-detail__visual-caption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 220ms ease;
}

.champions-page.is-detail-card-visible .championship-detail__flip-card .championship-detail__visual-caption,
.champions-page.is-detail .championship-detail__flip-card .championship-detail__visual-caption {
  opacity: 1;
}

.championship-detail__transition-card .championship-detail__visual-caption {
  visibility: hidden;
  transition: none;
}

.championship-detail__visual-caption-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.championship-detail__visual-caption-copy > span {
  color: rgba(255, 235, 186, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.championship-detail__visual-caption-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 14px;
  min-width: 0;
}

.championship-detail__visual-caption-row > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.championship-detail__visual-rating {
  min-width: 0;
  color: var(--hltv-rating-positive);
  line-height: 1;
  text-align: right;
}

.championship-detail__visual-rating strong {
  display: block;
  color: var(--hltv-rating-positive);
  font-size: clamp(0.9rem, 1.8vw, 1.35rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(9, 8, 19, 0.52);
}

.championship-detail__content {
  display: grid;
  min-width: 0;
  margin-top: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.champions-page.is-detail-content-visible .championship-detail__content,
.champions-page.is-detail .championship-detail__content {
  opacity: 1;
  pointer-events: auto;
}

.championship-detail__reveal {
  opacity: 0;
  translate: 0 12px;
  transition:
    opacity 360ms ease calc(var(--detail-order, 0) * 70ms),
    translate 520ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--detail-order, 0) * 70ms);
}

.champions-page.is-detail-copy-visible .championship-detail__copy,
.champions-page.is-detail-matches-visible .championship-detail__matches,
.champions-page.is-detail .championship-detail__reveal {
  opacity: 1;
  translate: 0 0;
}

/* 7. ABOUT */
.championship-detail__copy-grid {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  align-self: stretch;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.championship-detail__copy {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
  min-width: 0;
  min-height: 0;
  padding: 52px 28px 34px;
  border: 1px solid var(--champions-panel-border);
  border-radius: var(--champions-card-radius);
  background: var(--champions-panel-bg);
  box-shadow: var(--champions-card-shadow);
  overflow: hidden;
}

.championship-detail__matches h3 {
  margin: 0 0 18px;
  color: rgba(238, 220, 170, 0.76);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.championship-detail__copy p,
.championship-detail__matches > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
  line-height: var(--site-reading-leading);
}

.championship-detail__copy p + p {
  margin-top: 12px;
}

.championship-detail__copy-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding: 0 0 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(215, 189, 120, 0.42) transparent;
  scrollbar-width: thin;
}

.championship-detail__copy-body::-webkit-scrollbar {
  width: 5px;
}

.championship-detail__copy-body::-webkit-scrollbar-track {
  background: transparent;
}

.championship-detail__copy-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(215, 189, 120, 0.42);
}

.championship-detail__placeholder-text {
  color: rgba(255, 255, 255, 0.4) !important;
  font-style: italic;
}

/* 8. Road match track */
.championship-detail__matches {
  min-width: 0;
  padding: 0;
}

.championship-detail__matches-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.championship-detail__matches-heading h3 {
  margin-bottom: 0;
}

.championship-detail__match-viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
}

.championship-detail__match-viewport::-webkit-scrollbar {
  display: none;
}

.championship-detail__match-viewport:focus-visible {
  outline: 2px solid rgba(243, 182, 223, 0.62);
  outline-offset: 4px;
}

.championship-detail__match-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.championship-detail__match-list {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.championship-match-card {
  display: grid;
  flex: 0 0 min(390px, calc((100% - 36px) / 3));
  position: relative;
  gap: 20px;
  min-width: 0;
  min-height: 258px;
  padding: 22px 24px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.championship-match-card + .championship-match-card {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}

.championship-match-card:last-child {
  scroll-snap-align: end;
}

.championship-match-card.is-grand-final {
  border-inline-start-color: rgba(232, 205, 133, 0.42);
}

.championship-match-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.championship-match-card__header > strong {
  min-width: 0;
  color: rgba(215, 189, 120, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}

.championship-match-card__status {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(232, 205, 133, 0.42);
  border-radius: 999px;
  color: rgba(255, 231, 169, 0.92);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.championship-match-card__matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(78px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.championship-match-card__team {
  display: grid;
  grid-template-rows: 66px minmax(2em, auto);
  align-items: center;
  align-self: stretch;
  min-width: 0;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.championship-match-card__logo-slot {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
}

.championship-match-card__logo,
.championship-match-card__logo-fallback {
  display: grid;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  place-items: center;
  object-fit: contain;
}

.championship-match-card__logo[hidden],
.championship-match-card__logo-fallback[hidden] {
  display: none;
}

.championship-match-card__logo-fallback {
  border: 1px solid rgba(215, 189, 120, 0.28);
  border-radius: 50%;
  background: rgba(8, 8, 20, 0.46);
  color: rgba(238, 220, 170, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.championship-match-card__team strong {
  display: -webkit-box;
  max-width: 100%;
  min-height: 2em;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.championship-match-card__team.is-winner strong {
  color: rgba(255, 235, 186, 0.94);
}

.championship-match-card__score {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  justify-self: center;
  min-width: 78px;
  gap: 7px;
  color: rgba(255, 255, 255, 0.48);
  white-space: nowrap;
}

.championship-match-card__score strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.championship-match-card__score.is-result-win,
.championship-match-card__score.is-result-win strong,
.championship-match-card__score.is-result-win span {
  color: var(--hltv-score-win);
}

.championship-match-card__score.is-result-loss,
.championship-match-card__score.is-result-loss strong,
.championship-match-card__score.is-result-loss span {
  color: var(--hltv-score-loss);
}

.championship-match-card__score.is-result-champions,
.championship-match-card__score.is-result-champions strong,
.championship-match-card__score.is-result-champions span {
  color: rgba(255, 231, 169, 0.98);
}

.championship-match-card__maps {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

/* 10. Responsive layout */
@media (max-width: 768px) {
  .type-champions {
    --champions-card-width: min(82vw, 350px);
    --champions-card-height: 374px;
    --champions-card-gap: 16px;
  }

  body.site-video-body #body-wrap.type-champions > #content-inner.layout {
    width: 100%;
    padding: 0 10px 42px;
  }

  .champions-hero {
    padding: var(--page-top-spacing) 18px 18px;
  }

  .champions-hero__stats {
    margin-top: 24px;
  }

  .champions-hero__stats > span {
    min-width: 108px;
  }

  .champions-timeline-shell {
    padding-top: 4px;
  }

  .champions-timeline__viewport {
    padding-top: 14px;
  }

  .champions-timeline__controls {
    display: none;
  }

  .championship-card {
    grid-template-rows: 159px 1fr;
  }

  .champions-timeline__hint-desktop {
    display: none;
  }

  .champions-timeline__hint-mobile {
    display: inline;
  }

  .championship-detail {
    padding: 4px 8px 10px;
  }

  .championship-detail__main {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 28px;
  }

  .championship-detail__copy-grid {
    grid-template-rows: none;
    height: auto;
  }

  .championship-detail__copy {
    display: block;
    overflow: visible;
  }

  .championship-detail__copy-body {
    display: block;
    padding: 0;
    overflow-y: visible;
    overscroll-behavior: auto;
  }

  .champions-hero__detail-meta {
    gap: 12px;
  }

  .champions-hero__detail-view h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .championship-detail__content {
    margin-top: 30px;
  }

  .championship-match-card {
    flex-basis: 82vw;
    min-height: 232px;
  }

  .championship-match-card__matchup {
    grid-template-columns: minmax(0, 1fr) minmax(70px, auto) minmax(0, 1fr);
    gap: 8px;
  }

  .championship-match-card__team {
    grid-template-rows: 54px minmax(2em, auto);
    gap: 7px;
  }

  .championship-match-card__logo-slot {
    width: 54px;
    height: 54px;
  }

  .championship-match-card__score {
    min-width: 70px;
  }
}

@media (max-width: 430px) {
  .champions-hero h1 {
    font-size: clamp(2.15rem, 11.5vw, 3.1rem);
  }

  .champions-hero__stats > span {
    min-width: 96px;
  }

  .champions-hero__detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(360px, 100%);
    gap: 10px;
  }

  .championship-card__content {
    padding-inline: 17px;
  }

  .championship-detail__visual-caption {
    right: 20px;
    bottom: 18px;
    left: 20px;
  }

  .championship-detail__visual-caption-row {
    column-gap: 10px;
  }

  .championship-detail__visual-rating strong {
    font-size: 0.95rem;
  }

  .championship-detail__copy {
    padding: 22px 20px 24px;
  }
}

/* 11. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .champions-timeline__viewport {
    scroll-behavior: auto;
  }

  .championship-card,
  .championship-card__arrow,
  .championship-event__node,
  .championship-event__date,
  .champions-timeline__hint {
    transition-duration: 1ms;
  }

  .championship-card,
  .championship-event.is-current .championship-card,
  .championship-card:hover .championship-card__arrow,
  .championship-event.is-current .championship-event__node {
    transform: none;
  }

  .champions-timeline-shell.is-ready .championship-card__cover img,
  .champions-timeline-shell.is-ready .championship-card:hover .championship-card__cover img {
    inset: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    transition-duration: 1ms;
  }

  .championship-detail,
  .championship-detail__content,
  .championship-detail__visual-caption,
  .championship-detail__reveal,
  .champions-timeline-view,
  .champions-timeline__archive,
  .champions-hero__timeline-view,
  .champions-hero__detail-view {
    transition-duration: 1ms;
  }

  .championship-detail__transition-card {
    transition: none;
  }
}
