body.xbox-page {
  --xbox-green: #107c10;
  --xbox-dark: #071007;
  --xbox-ink: #050905;
}

.xbox-page .mw-hero__media::after {
  background:
    radial-gradient(circle at 50% 45%, rgba(16, 124, 16, .34), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .12) 52%, rgba(0, 0, 0, .68)),
    linear-gradient(0deg, rgba(0, 0, 0, .74), transparent 48%, rgba(0, 0, 0, .22));
}

.xbox-page .mw-hero__storm {
  object-position: center;
  filter: saturate(.95) contrast(1.08) brightness(.78);
}

.xbox-page .mw-hero__statement {
  width: min(470px, 34vw);
}

.xbox-field {
  min-height: auto;
  overflow: visible;
}

.xbox-page .mw-overview,
.xbox-field {
  padding-block: clamp(44px, 5vw, 82px);
}

.xbox-overview {
  min-height: auto;
}

.xbox-copy-stack {
  max-width: min(920px, 100%);
}

.xbox-copy-stack .mw-field-copy + .mw-field-copy {
  margin-top: 22px;
}

.xbox-wide-board,
.xbox-duo,
.xbox-application-grid,
.xbox-jersey-grid {
  width: min(calc(100vw - clamp(40px, 5vw, 92px)), 1600px);
  margin-inline: 50%;
  transform: translateX(-50%);
}

.xbox-wide-board,
.xbox-duo figure,
.xbox-application-grid figure,
.xbox-jersey-grid figure {
  margin-block: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(5, 9, 5, .08);
}

.xbox-wide-board,
.xbox-duo,
.xbox-application-grid,
.xbox-jersey-grid {
  margin-top: clamp(58px, 5vw, 96px);
}

.xbox-wide-board {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 124, 16, .2), transparent 48%),
    #0c160c;
}

.xbox-wide-board--controller img {
  object-fit: cover;
  object-position: center;
}

.xbox-wide-board--jersey {
  aspect-ratio: 16 / 9;
}

.xbox-wide-board--jersey img {
  object-position: center;
}

.xbox-duo,
.xbox-application-grid,
.xbox-jersey-grid {
  display: grid;
  gap: var(--mw-section-grid-gap);
}

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

.xbox-duo figure,
.xbox-application-grid figure {
  aspect-ratio: 1 / 1;
}

.xbox-application-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xbox-jersey-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xbox-jersey-player {
  --xbox-jersey-shadow: 0 32px 78px rgba(2, 8, 2, .2);
  width: min(calc(100vw - clamp(20px, 4vw, 76px)), 1760px);
  margin: clamp(38px, 5vw, 86px) 50% 0;
  transform: translateX(-50%);
}

.xbox-jersey-stage {
  position: relative;
  min-height: clamp(600px, 54vw, 920px);
  overflow: visible;
}

.xbox-jersey-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: clamp(250px, 23vw, 430px);
  aspect-ratio: 1320 / 1560;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  opacity: .7;
  transform: translate3d(-50%, -50%, 0) scale(.76);
  transition: transform .62s cubic-bezier(.19, 1, .22, 1), width .62s cubic-bezier(.19, 1, .22, 1), opacity .36s ease, filter .36s ease;
}

.xbox-jersey-card.is-jump {
  transition: none;
}

.xbox-jersey-card[data-gallery-slot="-3"] {
  opacity: 0;
  transform: translate3d(-154%, -48%, 0) scale(.62) rotate(-3deg);
}

.xbox-jersey-card[data-gallery-slot="-2"] {
  transform: translate3d(-138%, -48%, 0) scale(.66) rotate(-2.5deg);
  filter: saturate(.82) contrast(.94);
}

.xbox-jersey-card[data-gallery-slot="-1"] {
  z-index: 2;
  transform: translate3d(-96%, -50%, 0) scale(.84) rotate(-1.2deg);
  opacity: .9;
}

.xbox-jersey-card[data-gallery-slot="0"] {
  z-index: 4;
  width: clamp(390px, 35vw, 660px);
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
  filter: drop-shadow(var(--xbox-jersey-shadow));
}

.xbox-jersey-card[data-gallery-slot="1"] {
  z-index: 2;
  transform: translate3d(-4%, -50%, 0) scale(.84) rotate(1.2deg);
  opacity: .9;
}

.xbox-jersey-card[data-gallery-slot="2"] {
  transform: translate3d(38%, -48%, 0) scale(.66) rotate(2.5deg);
  filter: saturate(.82) contrast(.94);
}

.xbox-jersey-card[data-gallery-slot="3"] {
  opacity: 0;
  transform: translate3d(58%, -48%, 0) scale(.62) rotate(3deg);
}

.xbox-jersey-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.xbox-jersey-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(6px, 1.4vw, 18px);
}

.xbox-jersey-arrow {
  appearance: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(5, 9, 5, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--xbox-green);
  font: 400 26px/1 var(--font-heading);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.xbox-jersey-arrow:hover,
.xbox-jersey-arrow:focus-visible {
  background: var(--xbox-green);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.xbox-application-grid figure:last-child {
  display: grid;
  place-items: center;
  background: var(--xbox-green);
}

.xbox-application-grid figure:last-child img {
  width: min(58%, 320px);
  height: auto;
  object-fit: contain;
}

.xbox-wide-board img,
.xbox-duo img,
.xbox-application-grid img,
.xbox-jersey-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xbox-jersey-grid img {
  object-fit: contain;
  background: #fff;
}

@media (max-width: 980px) {
  .xbox-page .mw-overview,
  .xbox-field {
    padding-block: 56px;
  }

  .xbox-wide-board,
  .xbox-duo,
  .xbox-application-grid,
  .xbox-jersey-grid {
    width: calc(100vw - 36px);
  }

  .xbox-duo,
  .xbox-application-grid,
  .xbox-jersey-grid {
    grid-template-columns: 1fr;
  }

  .xbox-wide-board,
  .xbox-wide-board--jersey {
    aspect-ratio: 1.28 / 1;
  }

  .xbox-jersey-player {
    width: 100%;
    margin: clamp(28px, 8vw, 52px) 0 0;
    transform: none;
  }

  .xbox-jersey-stage {
    min-height: clamp(520px, 130vw, 760px);
    overflow: hidden;
  }

  .xbox-jersey-card,
  .xbox-jersey-card[data-gallery-slot="0"] {
    width: min(74vw, 420px);
  }

  .xbox-jersey-card[data-gallery-slot="-2"] {
    transform: translate3d(-140%, -50%, 0) scale(.68);
  }

  .xbox-jersey-card[data-gallery-slot="-1"] {
    transform: translate3d(-96%, -50%, 0) scale(.84);
  }

  .xbox-jersey-card[data-gallery-slot="1"] {
    transform: translate3d(-4%, -50%, 0) scale(.84);
  }

  .xbox-jersey-card[data-gallery-slot="2"] {
    transform: translate3d(40%, -50%, 0) scale(.68);
  }
}
