@font-face {
  font-family: Afterglow;
  src: url(gridiron-display.ttf) format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: #0c0d15;
  color: #f7f5fb;
  font:
    16px system-ui,
    -apple-system,
    sans-serif;
}
button,
a {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #d6ff99;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
}
button {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.exhibit {
  --mint: #dcffad;
  --sky: #7f59ff;
  --haze: #668798;
  --bg: #101019;
  --foil: linear-gradient(
    123deg,
    #d6fac5,
    #cd95ff 28%,
    #5167c7 44%,
    #f3edff 56%,
    #96e9cb 70%,
    #d3a9eb 88%
  );
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      ellipse at 77% 44%,
      color-mix(in srgb, var(--sky) 14%, transparent),
      transparent 48%
    ),
    linear-gradient(117deg, #0c0d13 15%, var(--bg) 55%, #0c0c13);
}
.lighting-glacier {
  --sky: #39b9ee;
  --haze: #b9fcff;
  --bg: #101920;
}
.lighting-ember {
  --sky: #f67840;
  --haze: #f8c389;
  --bg: #1e1417;
}
.foil-gold {
  --foil: linear-gradient(
    117deg,
    #cf9855,
    #fff4bf 32%,
    #af7625 56%,
    #f6d088 83%
  );
}
.foil-silver {
  --foil: linear-gradient(
    117deg,
    #8f9ba9,
    #f3fdff 32%,
    #77818d 56%,
    #e3f4f9 83%
  );
}
.exhibit::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    105deg,
    transparent 0 120px,
    #9e92c007 121px,
    transparent 122px
  );
}
header,
footer {
  width: min(91%, 1510px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 4;
}
header {
  min-height: 82px;
  border-bottom: 1px solid #d5cfe224;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.055em;
  font-size: 1.12rem;
  font-weight: 720;
}
.brand-symbol {
  width: 20px;
  height: 22px;
  display: inline-block;
  border: 1.8px solid var(--mint);
  border-radius: 3px;
  transform: skewY(-12deg) rotate(7deg);
  box-shadow:
    -3px 2px 0 -1px #0d0e14,
    -4px 3px 0 -1px var(--mint);
  position: relative;
}
.brand-symbol::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-top: 1.5px solid var(--mint);
}
.subtle,
.primary,
.round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #d6d1e84d;
  border-radius: 99px;
  font-size: 0.91rem;
  font-weight: 630;
  min-height: 45px;
  padding: 0 20px;
  background: #1a1923b8;
  color: #f1edf5;
}
.subtle:hover,
.round:hover {
  border-color: #dfd5f9;
  background: #33313d;
}
.primary {
  background: var(--mint);
  border-color: var(--mint);
  color: #1b2118;
  min-height: 51px;
  padding: 0 25px;
  box-shadow: inset 0 1px 0 #fff6;
}
.primary:hover {
  background: #e9ffc9;
}
.reset {
  font-size: 0.82rem;
  padding: 0 15px;
  min-height: 42px;
}
.reset:disabled {
  opacity: 0.52;
}
.reset:enabled:hover {
  border-color: var(--mint);
  color: var(--mint);
}
main {
  position: relative;
  flex: 1;
  width: min(91%, 1510px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.28fr);
  align-items: center;
  min-height: 530px;
}
.copy {
  position: relative;
  z-index: 3;
  padding-left: clamp(0px, 2.5vw, 48px);
  padding-block: 26px;
  pointer-events: none;
}
.copy button {
  pointer-events: auto;
}
.eyebrow,
.edition,
.counter,
.card-top > span,
.card-type > span,
.back-header span,
.back small,
.thumb span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 650;
  color: #d0cbd8;
}
.eyebrow i {
  width: 30px;
  height: 3px;
  display: block;
  transform: skew(-32deg);
  background: var(--mint);
}
.eyebrow span {
  color: #857b92;
}
h1 {
  font:
    italic 800 clamp(74px, 9vw, 160px) / 0.87 Afterglow,
    Impact,
    sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 20px -0.025em 18px;
  max-width: 105%;
  overflow-wrap: normal;
  color: #f2eff8;
}
.copy .intro {
  max-width: 35ch;
  margin: 0 0 28px;
  color: #c6c0cf;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.5;
}
.arena {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 520px;
  isolation: isolate;
  --card-w: clamp(185px, min(25vw, 36vh), 355px);
}
.sky,
.ground,
.aperture,
.beam {
  position: absolute;
  pointer-events: none;
}
.sky {
  inset: -20% -11% -8%;
  background:
    radial-gradient(
      ellipse at 55% 45%,
      color-mix(in srgb, var(--sky) 26%, transparent),
      transparent 51%
    ),
    radial-gradient(ellipse at 72% 58%, #4ae7e910, transparent 45%);
  z-index: -2;
}
.aperture {
  z-index: -1;
  top: 49%;
  left: 50%;
  width: 90%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #c8add71c;
  box-shadow:
    0 0 0 22px #a894ce03,
    0 0 0 23px #e4c9ff09;
}
.aperture::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed #d3c9ed20;
  transform: rotate(-8deg);
}
.ground {
  left: 6%;
  right: 5%;
  height: 12%;
  bottom: 8%;
  border-radius: 100%;
  background: radial-gradient(
    ellipse,
    #b1a7d040 0,
    #7e65db16 28%,
    transparent 68%
  );
  filter: blur(5px);
}
.stage-core {
  position: relative;
  width: var(--card-w);
  aspect-ratio: 2/3;
  perspective: 1050px;
  transform: translateY(-1%);
  isolation: isolate;
}
.stack,
.wrapper,
.wrap-float,
.wrap-seam,
.wrap-skin,
.wrap-body,
.athlete,
.tilt,
.turn,
.side,
.card-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wrapper,
.card-hit {
  background: none;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.wrapper {
  z-index: 21;
  inset: -4% -9%;
  width: 118%;
  height: 108%;
  filter: drop-shadow(3px 21px 19px #03020996);
  transform: rotate(4deg);
}
.wrap-float {
  display: block;
  animation: levitate 6s ease-in-out infinite;
}
.wrap-seam,
.wrap-skin,
.wrap-body {
  object-fit: fill;
  user-select: none;
  pointer-events: none;
}
.wrap-body {
  clip-path: polygon(
    0 9.4%,
    14% 10.6%,
    29% 9.5%,
    45% 10.5%,
    63% 9.1%,
    80% 10.5%,
    100% 9.4%,
    100% 100%,
    0 100%
  );
}
.wrap-seam {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 9.55%,
    80% 10.68%,
    63% 9.32%,
    45% 10.66%,
    29% 9.66%,
    14% 10.78%,
    0 9.56%
  );
}
@keyframes levitate {
  0%,
  100% {
    transform: translateY(0) rotate(-1.8deg);
  }
  50% {
    transform: translateY(-2.5%) rotate(0.5deg);
  }
}
.athlete {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 76%;
  --edge: #b3daee;
  --aura: #51c6fb;
}
.p02,
.p04,
.p08 {
  --edge: #cbd8ff;
  --aura: #9191e3;
}
.p03 {
  --edge: #caff86;
  --aura: #92d75e;
}
.p05 {
  --edge: #ffcc87;
  --aura: #ff693f;
}
.p06 {
  --edge: #a9b9ff;
  --aura: #cf528a;
}
.p07,
.p09 {
  --edge: #ffe4ad;
  --aura: #f67b7d;
}
.p10 {
  --edge: #abfff8;
  --aura: #49b9db;
}
.tilt,
.turn {
  transform-style: preserve-3d;
}
.tilt {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.15s ease-out;
}
.turn {
  transform: rotateY(var(--yaw, 0deg));
}
.side {
  overflow: hidden;
  border-radius: 4.5%;
  padding: 1.4%;
  border: 1px solid #f9f6febf;
  background: var(--foil);
  box-shadow:
    0 0 0 1px #242733,
    0 13px 32px #03020794;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  isolation: isolate;
  container-type: inline-size;
}
.front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3.4%;
  display: block;
  user-select: none;
  pointer-events: none;
}
.front::after {
  content: "";
  position: absolute;
  inset: 1.2%;
  border-radius: 3.6%;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #06070cf5 0%,
    #08091279 17%,
    transparent 40%,
    transparent 82%,
    #07081177
  );
}
.guilloche {
  position: absolute;
  inset: 3.4%;
  border: 1px solid #fff8;
  clip-path: polygon(
    0 0,
    29% 0,
    29% 1.4%,
    1.6% 1.4%,
    1.6% 23%,
    0 23%,
    0 100%,
    100% 100%,
    100% 77%,
    98.4% 77%,
    98.4% 98.6%,
    71% 98.6%,
    71% 100%,
    100% 100%,
    100% 0
  );
  z-index: 3;
  pointer-events: none;
}
.foil-field {
  position: absolute;
  inset: 1.4%;
  border-radius: 3%;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(114deg, #efeaff12 0 1px, transparent 1px 5px),
    linear-gradient(
      120deg,
      transparent 12%,
      #80e8ff4a 24%,
      #d4a7ff5c 30%,
      #ffeab641 34%,
      transparent 46%,
      transparent 68%,
      #9bf7e34c 88%,
      transparent 98%
    );
  background-size:
    7px 7px,
    240% 170%;
  background-position:
    center,
    var(--shine, 38%) 50%;
  mix-blend-mode: screen;
  opacity: 0.63;
  transition: background-position 0.13s ease-out;
}
.athlete.foil-gold .foil-field {
  filter: sepia(1) saturate(1.6);
}
.athlete.foil-silver .foil-field {
  filter: grayscale(1);
}
.card-top,
.card-type {
  position: absolute;
  z-index: 4;
  left: 7%;
  right: 7%;
  display: flex;
  color: #fff;
}
.card-top {
  top: 6%;
  align-items: center;
  gap: 4%;
  text-shadow: 0 1px 4px #16131d;
}
.card-top > b,
.back-header > b {
  font:
    italic 800 11cqw/0.8 Afterglow,
    Impact,
    sans-serif;
  letter-spacing: -0.07em;
}
.card-top > span {
  font-size: 3.3cqw;
  letter-spacing: 0.08em;
}
.card-top > strong {
  margin-left: auto;
  border: 1px solid #fff7;
  border-radius: 25px;
  padding: 0.12em 0.35em;
  font:
    italic 800 7cqw/1 Afterglow,
    Impact,
    sans-serif;
  background: #0a0b1455;
}
.card-type {
  bottom: 7%;
  flex-direction: column;
  gap: 3px;
}
.card-type > span {
  font-size: 3.8cqw;
  color: var(--edge);
  font-weight: 700;
}
.card-type > b {
  font:
    italic 800 12cqw/0.94 Afterglow,
    Impact,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 7%;
  background:
    radial-gradient(
      ellipse at 80% 10%,
      color-mix(in srgb, var(--aura) 37%, transparent),
      transparent 62%
    ),
    repeating-linear-gradient(55deg, transparent 0 5px, #b1d2fa0a 5px 6px),
    #141622;
  border: 2px solid var(--edge);
  color: #f6f7ff;
}
.back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff50;
  padding-bottom: 5%;
  margin-bottom: auto;
}
.back-header span,
.back small {
  font-size: 3.2cqw;
  font-weight: 680;
  letter-spacing: 0.09em;
}
.back-rank {
  font:
    italic 800 29cqw/0.92 Afterglow,
    Impact,
    sans-serif;
  letter-spacing: -0.06em;
  color: var(--edge);
}
.back-name {
  font:
    italic 800 9.5cqw/0.98 Afterglow,
    Impact,
    sans-serif;
  text-transform: uppercase;
}
.back-team {
  font-size: 4.3cqw;
  line-height: 1.5;
  color: #e1dfeb;
}
.back dl {
  margin: 7% 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7% 4%;
}
.back dl div {
  border-top: 1px solid #ffffff40;
  padding-top: 4%;
}
.back dt {
  font-size: 3.6cqw;
  color: #d3cbde;
}
.back dd {
  margin: 0;
  font-size: 7cqw;
  font-weight: 700;
}
.back > small:last-child {
  margin-top: auto;
  color: #d4cddc;
}
.card-hit,
.gallery-tools,
.stage-nav,
.roster {
  display: none;
}
[data-phase="opening"] .wrapper {
  pointer-events: none;
}
[data-phase="opening"] .wrap-float {
  animation: none;
}
[data-phase="gallery"] .wrapper,
[data-phase="shuffling"] .wrapper {
  display: none;
}
[data-phase="gallery"] .athlete.current {
  opacity: 1;
}
[data-phase="gallery"] .card-hit {
  display: block;
  z-index: 22;
  touch-action: pan-y;
  border-radius: 5%;
  cursor: grab;
}
.card-hit:active {
  cursor: grabbing;
}
[data-phase="gallery"] .gallery-tools,
[data-phase="shuffling"] .gallery-tools {
  display: block;
}
[data-phase="gallery"] .sealed-tools,
[data-phase="shuffling"] .sealed-tools,
[data-phase="gallery"] .intro,
[data-phase="shuffling"] .intro {
  display: none;
}
[data-phase="gallery"] .copy h1,
[data-phase="shuffling"] .copy h1 {
  font-size: clamp(54px, 7vw, 128px);
  max-width: 10ch;
  line-height: 0.9;
}
.player-summary {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 25px;
  color: #d1cadb;
}
.player-summary strong {
  font-weight: 500;
}
.summary-points {
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}
.buttons,
.stage-nav {
  align-items: center;
  gap: 10px;
}
.buttons {
  display: flex;
}
.round {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
}
.counter {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  min-width: 5em;
  text-align: center;
}
[data-phase="gallery"] .stage-nav {
  display: flex;
  position: absolute;
  bottom: max(4px, 2.5%);
  left: 50%;
  transform: translateX(-50%);
  z-index: 24;
}
[data-phase="gallery"] .roster,
[data-phase="shuffling"] .roster {
  display: flex;
}
.roster {
  margin: 6px auto 19px;
  gap: clamp(4px, 0.9vw, 12px);
  align-items: center;
  justify-content: safe center;
  max-width: 91%;
  overflow: auto;
  padding: 5px;
  scrollbar-width: thin;
  scrollbar-color: #73717b transparent;
}
.thumb {
  position: relative;
  width: clamp(34px, 4.8vw, 61px);
  aspect-ratio: 0.88;
  flex: none;
  padding: 0;
  background: #1f2028;
  border: 1px solid #b6abca49;
  border-radius: 5px;
  overflow: hidden;
  opacity: 0.7;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1px 4px;
  background: #14131ebd;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
}
.thumb[aria-current="true"] {
  border: 2px solid var(--mint);
  opacity: 1;
}
.thumb:hover {
  opacity: 1;
}
footer {
  border-top: 1px solid #d5cfe224;
  padding: 17px 0;
  color: #bcb6c6;
  font-size: 0.8rem;
}
.edition {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.065em;
}
.edition b {
  color: #eae5f4;
}
.edition i {
  height: 13px;
  width: 1px;
  background: #6a6576;
}
.source {
  display: flex;
  align-items: center;
  gap: 18px;
}
.source a {
  color: #cbc6d6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.studio-preview .exhibit {
  min-height: 680px;
}
.studio-preview main {
  flex: 1;
}
.studio-preview .arena {
  --card-w: clamp(190px, 24vw, 275px);
}
@media (min-width: 800px) and (min-height: 700px) {
  main {
    min-height: min(69svh, 850px);
  }
}
@media (max-width: 760px) and (orientation: portrait) {
  .exhibit {
    min-height: 100svh;
  }
  header {
    min-height: 63px;
  }
  .brand {
    font-size: 1rem;
  }
  .reset {
    min-height: 38px;
  }
  .exhibit main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
    padding: 8px 0 20px;
  }
  .arena {
    order: -1;
    min-height: 0;
    height: clamp(242px, 44svh, 490px);
    --card-w: min(44vw, 23.5svh, 250px);
  }
  .copy {
    padding: 6px 0 0;
    text-align: center;
  }
  .eyebrow {
    justify-content: center;
    font-size: 0.67rem;
    gap: 9px;
  }
  .eyebrow i {
    width: 19px;
  }
  .copy h1 {
    font-size: clamp(68px, 17vw, 114px);
    margin: 10px auto 9px;
    max-width: 100%;
  }
  .copy .intro {
    font-size: 0.97rem;
    line-height: 1.4;
    margin: 0 auto 16px;
    max-width: 31ch;
  }
  .primary {
    min-height: 46px;
  }
  .gallery-tools .buttons,
  .player-summary {
    justify-content: center;
  }
  .player-summary {
    font-size: 0.87rem;
    margin-bottom: 12px;
  }
  .aperture {
    height: 90%;
    width: auto;
  }
  .ground {
    bottom: 2%;
  }
  [data-phase="gallery"] .copy h1,
  [data-phase="shuffling"] .copy h1 {
    font-size: clamp(40px, 10vw, 64px);
    max-width: 100%;
    margin: 8px auto;
  }
  .stage-nav {
    width: 100%;
    justify-content: space-between;
  }
  .stage-nav .counter {
    position: absolute;
    top: auto;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
  }
  [data-phase="gallery"] .stage-nav {
    bottom: 46%;
    pointer-events: none;
  }
  .stage-nav .round {
    pointer-events: auto;
  }
  .stage-nav .counter {
    display: none;
  }
  .roster {
    justify-content: flex-start;
    max-width: 95%;
    margin: 0 auto 10px;
  }
  .thumb {
    width: clamp(31px, 7.6vw, 47px);
  }
  footer {
    font-size: 0.74rem;
    padding: 12px 0;
  }
  .edition {
    font-size: 0.61rem;
    gap: 6px;
  }
  .source {
    gap: 12px;
  }
  .studio-preview .exhibit {
    min-height: 730px;
  }
  .studio-preview .arena {
    height: 330px;
    --card-w: min(44vw, 198px);
  }
}
@media (max-height: 540px) and (orientation: landscape) {
  header {
    min-height: 45px;
  }
  main,
  .arena {
    min-height: 230px;
  }
  .arena {
    --card-w: min(23vw, 40vh);
  }
  .copy {
    padding: 8px 0;
  }
  .copy h1 {
    font-size: clamp(48px, 7vw, 76px);
    margin: 9px 0;
  }
  .copy .intro {
    font-size: 0.92rem;
    margin-bottom: 13px;
  }
  .eyebrow {
    font-size: 0.64rem;
  }
  .subtle,
  .primary,
  .round {
    min-height: 36px;
  }
  .reset {
    min-height: 33px;
  }
  .roster {
    margin: 0 auto 5px;
  }
  .thumb {
    width: 29px;
    aspect-ratio: 1;
  }
  .stage-nav .round {
    width: 32px;
    height: 32px;
  }
  .player-summary {
    margin-bottom: 10px;
  }
  footer {
    padding: 8px 0;
  }
  .exhibit .stage-nav {
    bottom: 0;
    left: auto;
    right: 0;
    transform: none;
  }
  .stage-nav .counter {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.beam {
  width: 75%;
  height: 65%;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: conic-gradient(
    from 15deg,
    transparent,
    #cfd8ff35 8%,
    transparent 12%,
    #9af3e52a 18%,
    transparent 30%,
    #ad74f96b 43%,
    transparent 61%,
    #a6eaff40 78%,
    transparent
  );
  filter: blur(12px);
}
[data-phase="gallery"] .aperture {
  border-color: #d3caff2d;
}
[data-phase="gallery"] .athlete.current .foil-field {
  animation: spectral-drift 8s ease-in-out infinite;
}
[data-phase="gallery"] .athlete.current .tilt:hover .foil-field {
  animation: none;
}
@keyframes spectral-drift {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}
[data-phase="shuffling"] .copy,
[data-phase="opening"] .copy .sealed-tools {
  opacity: 0.65;
}

/* The jersey number is engraved in the foil and catches light at an oblique angle. */
.latent {
  position: absolute;
  right: 8%;
  bottom: 28%;
  z-index: 2;
  font:
    italic 800 28cqw/0.85 Afterglow,
    sans-serif;
  color: transparent;
  -webkit-text-stroke: 1px var(--edge);
  opacity: var(--latent, 0);
  mix-blend-mode: screen;
  transform: translateX(var(--parallax, 0px)) skewY(-9deg);
  transition:
    opacity 0.2s,
    transform 0.15s;
  pointer-events: none;
}
.athlete.foil-spectrum {
  --foil: linear-gradient(
    123deg,
    #d6fac5,
    #cd95ff 28%,
    #5167c7 44%,
    #f3edff 56%,
    #96e9cb 70%,
    #d3a9eb 88%
  );
}
@media (max-width: 760px) and (orientation: portrait) {
  [data-phase="gallery"] .arena,
  [data-phase="shuffling"] .arena {
    --card-w: min(60vw, 27svh, 285px);
  }
  .studio-preview [data-phase="gallery"] .arena,
  .studio-preview [data-phase="shuffling"] .arena {
    --card-w: min(58vw, 206px);
  }
  .back dt {
    font-size: max(10px, 4cqw);
  }
  .back dd {
    font-size: max(14px, 7cqw);
  }
  .back-team {
    font-size: max(10px, 4.5cqw);
  }
}

.wrapper {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.wrapper:active {
  cursor: grabbing;
}
.wrap-float {
  isolation: isolate;
}
.wrap-skin {
  clip-path: inset(0);
  z-index: 3;
}
.wrap-seam {
  z-index: 2;
}
.wrap-body {
  z-index: 1;
}
.wrap-lining {
  position: absolute;
  left: 4%;
  right: 4%;
  height: 7%;
  top: 8.5%;
  background: linear-gradient(
    174deg,
    #eaf7ff,
    #89a5b6 16%,
    #272c42 26%,
    #05060a 64%,
    #d4adff 90%,
    #d9f9ff
  );
  clip-path: polygon(
    0 18%,
    29% 0,
    66% 14%,
    100% 4%,
    98% 82%,
    59% 96%,
    18% 79%,
    1% 100%
  );
  opacity: 0;
}
.tear-tip {
  position: absolute;
  z-index: 4;
  top: 9.7%;
  left: 1.5%;
  width: 6%;
  height: 0.7%;
  background: linear-gradient(90deg, transparent, #fff9e9 65%, #abfff8);
  box-shadow: 0 0 7px #e9d7ff;
  opacity: 0;
  pointer-events: none;
}
[data-pulling] .wrap-float {
  animation-play-state: paused;
}
/* The card is printed in separate photographic, optical and die-stamped layers. */
.exhibit {
  background:
    linear-gradient(90deg, #08090b99, transparent 65%),
    url(gridiron-room.webp) center/cover no-repeat,
    #0b0d0e;
  --mint: #f4d696;
}
.exhibit::before {
  background: linear-gradient(
    0deg,
    #0405098a,
    transparent 28%,
    transparent 82%,
    #03030455
  );
}
.exhibit.lighting-glacier {
  --mint: #c7f4fa;
}
.exhibit.lighting-ember {
  --mint: #ffbf91;
}
.sky {
  inset: -7%;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--aura, var(--sky)) 15%, transparent),
    transparent 62%
  );
}
.aperture {
  display: none;
}
.ground {
  bottom: 8%;
  height: 9%;
  background: radial-gradient(ellipse, #040308bf, transparent 60%);
}
.eyebrow .issue-title {
  color: var(--mint);
}
.eyebrow em {
  font-style: normal;
  color: #98846e;
}
.side {
  border: 0;
  border-radius: 4.2%;
  padding: 0;
  background: #141319;
  box-shadow:
    1px 1px 0 #b5a9a3,
    2px 3px 0 #3c3333,
    2px 11px 22px #09060ca8;
}
.front::after {
  display: none;
}
.print-window,
.relief,
.print-window img,
.front img.die,
.back img.reverse-print,
.optical-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 0;
  user-select: none;
  pointer-events: none;
}
.print-window {
  overflow: hidden;
  border-radius: 4%;
  background: #13121a;
}
.front .print-window img {
  object-fit: fill;
}
.print-window > .card-image {
  transform: scale(1.025);
}
.relief {
  overflow: hidden;
  isolation: isolate;
}
.relief[hidden] {
  display: none;
}
.print-window .field-layer {
  transform: translate(var(--field-x, 0px), var(--field-y, 0px)) scale(1.035);
}
.print-window .player-layer {
  transform: translate(var(--player-x, 0px), var(--player-y, 0px)) scale(1.035);
}
.optical-plate {
  mix-blend-mode: screen;
  border-radius: 0;
}
.front .die {
  z-index: 3;
}
.front .foil-field {
  z-index: 2;
  opacity: 0.19;
  mix-blend-mode: soft-light;
}
[data-phase="gallery"] .athlete.current .foil-field {
  animation: none;
  opacity: 0.18;
}
.insert-title,
.issue,
.back-set {
  position: absolute;
  z-index: 4;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}
.insert-title {
  left: 13%;
  right: 13%;
  top: 2.15%;
  text-align: center;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 4.5cqw;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #fff3cd;
  text-shadow: 0 1px 2px #080501;
}
.issue {
  bottom: 2.2%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 2.6cqw;
  line-height: 1;
  color: #fff0c8;
  letter-spacing: 0.12em;
  font-weight: 650;
}
.issue i {
  font-style: normal;
  color: #eac590;
}
.card-type {
  bottom: 7.3%;
  left: 8%;
  right: 7%;
  gap: 0.6cqw;
}
.card-type > span {
  color: #ead5b0;
  font:
    600 3.05cqw/1 ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card-type > span i {
  font-style: normal;
  margin: 0 0.15em;
}
.card-type > b {
  font:
    italic 800 11.5cqw/0.9 Afterglow,
    Impact,
    sans-serif;
  letter-spacing: -0.018em;
  color: #fff5db;
  text-shadow: 0 1px #362827;
}
.p03 .card-type > b {
  font-size: 9.8cqw;
}
.back {
  padding: 15% 10% 9%;
  text-align: left;
  border: 0;
}
.back > img.reverse-print {
  z-index: -1;
}
.back .back-set {
  position: static;
  color: #e9cea8;
  font-size: 3.3cqw;
  letter-spacing: 0.13em;
  margin: 0 0 auto;
}
.back-rank {
  font-size: 27cqw;
  color: #f8deaf;
  letter-spacing: -0.025em;
  text-shadow: 2px 2px #5b4030;
}
.back > small,
.back-team {
  color: #eee3d5;
}
.back-name {
  font-size: 9.1cqw;
  line-height: 1;
}
.back dl {
  margin: 7% 0 7%;
  row-gap: 12%;
  padding-bottom: 5%;
  color: #fff4de;
}
.back dl div {
  border-color: #e9d1ae77;
}
.back dt {
  color: #e1d6c6;
}
.back > small:last-child {
  margin: 0;
}
.inspect {
  display: none;
  position: absolute;
  z-index: 25;
  top: 4%;
  right: 2%;
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.79rem;
  background: #17151bed;
}
[data-phase="gallery"] .inspect {
  display: inline-flex;
}
.inspect-hint {
  display: none;
}
[data-inspecting] .copy,
[data-inspecting] .roster,
[data-inspecting] .stage-nav,
[data-inspecting] footer {
  display: none !important;
}
[data-inspecting] main {
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 0;
}
[data-inspecting] .arena {
  width: 100%;
  min-height: 650px;
  --card-w: min(42vw, 48svh, 490px);
}
[data-inspecting] .inspect {
  right: 4%;
  top: 3%;
}
[data-inspecting] .inspect-hint {
  display: block;
  position: absolute;
  bottom: 1.7%;
  color: #f6e4c7;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
@media (min-width: 761px) and (min-height: 541px) {
  [data-phase="gallery"]:not([data-inspecting]) .arena {
    --card-w: clamp(215px, min(29vw, 39svh), 400px);
  }
}
@media (max-width: 760px) and (orientation: portrait) {
  .exhibit {
    background-position: 67% center;
  }
  .inspect {
    top: 0;
    right: 0;
    font-size: 0.72rem;
    min-height: 31px;
    background: #17151bd6;
  }
  .exhibit[data-inspecting] main {
    padding: 0;
  }
  [data-inspecting] .arena {
    height: 78svh;
    min-height: 390px;
    --card-w: min(84vw, 44svh, 440px);
  }
  .studio-preview [data-inspecting] .arena {
    height: 640px;
    --card-w: min(78vw, 290px);
  }
}
@media (max-height: 540px) and (orientation: landscape) {
  [data-inspecting] .arena {
    min-height: 220px;
    height: 83svh;
    --card-w: min(24vw, 45svh);
  }
  .inspect {
    top: 0;
    right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .print-window .player-layer,
  .print-window .field-layer {
    transform: scale(1.035);
  }
}
.standee {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  visibility: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  mask-image: linear-gradient(#000 0 68%, transparent 86%);
}
[data-inspecting] .athlete.current[data-relief]:not(.flipped) .standee {
  visibility: visible;
  transform: translate3d(
      var(--player-x, 0px),
      calc(-3% + var(--player-y, 0px)),
      39px
    )
    scale(1.035);
  filter: drop-shadow(3px 6px 4px #08070971);
}
[data-inspecting] .athlete[data-relief] .player-layer {
  opacity: 0;
}
[data-inspecting] .athlete.current .tilt {
  transform: rotateX(calc(-3deg + var(--rx, 0deg)))
    rotateY(calc(-7deg + var(--ry, 0deg)));
}
[data-inspecting] .athlete.current .front {
  box-shadow:
    2px 3px #6a635d,
    4px 5px #302e31,
    6px 8px #766f67,
    8px 10px #29272c,
    9px 12px #524c43,
    11px 17px 22px #060508aa;
}
@media (prefers-reduced-motion: reduce) {
  [data-inspecting] .athlete.current .tilt {
    transform: none;
  }
}
.varnish {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  background: linear-gradient(
    var(--light-angle, 118deg),
    #7285a555 3%,
    #6cc7fa 13%,
    #bd7fff 23%,
    #ffddaa 30%,
    #fff7e1 33%,
    #6ac3b2 38%,
    #5773ad 46%,
    #aaa2b780 58%,
    #d5af69 69%,
    #fcffda 78%,
    #64bdd1 85%
  );
  background-size: 270% 250%;
  background-position: var(--light-x, 49%) var(--light-y, 40%);
  mix-blend-mode: hard-light;
  opacity: 0.77;
  transition: background-position 0.12s;
  transform: translate(var(--player-x, 0px), var(--player-y, 0px)) scale(1.035);
}
.foil-gold .varnish {
  background-image: linear-gradient(
    var(--light-angle, 118deg),
    #92672f,
    #f1b862 19%,
    #fff0b9 33%,
    #86673e 41%,
    #e7af58 55%,
    #fff2cb 70%,
    #a58d60 91%
  );
}
.foil-silver .varnish {
  filter: grayscale(1);
}
.raised-varnish {
  display: none;
  backface-visibility: hidden;
}
[data-inspecting] .athlete.current[data-relief]:not(.flipped) .raised-varnish {
  display: block;
  transform: translate3d(
      var(--player-x, 0px),
      calc(-3% + var(--player-y, 0px)),
      39.2px
    )
    scale(1.035);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 0 75%);
  opacity: 0.62;
}
[data-inspecting] .relief .varnish {
  opacity: 0;
}
.athlete[data-relief] .relief .varnish {
  animation: press-light 1.25s ease-out 1;
}
@keyframes press-light {
  from {
    background-position: 4% 20%;
  }
  to {
    background-position: var(--light-x, 49%) var(--light-y, 40%);
  }
}
.print-sample {
  position: absolute;
  inset: 0;
  display: none;
  background-size: 300% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}
.athlete[data-relief="print"] .print-sample {
  display: block;
}
.athlete.foil-gold .print-sample {
  filter: sepia(1) saturate(1.75);
}
.athlete.foil-silver .print-sample {
  filter: grayscale(1);
}
.underprint {
  display: none;
}
[data-inspecting] .athlete.current {
  perspective: 1100px;
}
[data-inspecting] .athlete.current[data-relief]:not(.flipped) .underprint {
  position: absolute;
  display: block;
  inset: 0;
  pointer-events: none;
  backface-visibility: hidden;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  clip-path: inset(0 0 17% 0);
  opacity: var(--underprint, 0);
  background: linear-gradient(
    115deg,
    #a97cff,
    #91fff1 32%,
    #e9b569 62%,
    #eee1ff
  );
  transform: translate3d(
    calc(-0.45 * var(--relief-x, 0px)),
    calc(-0.4 * var(--relief-y, 0px)),
    14px
  );
}
[data-inspecting] .athlete.current[data-relief]:not(.flipped) .standee,
[data-inspecting] .athlete.current[data-relief]:not(.flipped) .raised-varnish {
  transform: translate3d(
      calc(var(--player-x, 0px) + var(--relief-x, 0px)),
      calc(-3% + var(--player-y, 0px) + var(--relief-y, 0px)),
      calc(38px + var(--separation, 0px))
    )
    scale(1.035);
}

/* A narrow moving reflection reveals the lacquer without obscuring the portrait. */
[data-phase="gallery"] .athlete.current .foil-field {
  inset: 1%;
  z-index: 3;
  background: linear-gradient(
    112deg,
    transparent 29%,
    #42dcff00 37%,
    #59dbff85 43%,
    #9a87ff80 47%,
    #fff3e7ca 50%,
    #ffbf869e 52%,
    #ed92e46b 56%,
    transparent 65%
  );
  background-size: 240% 100%;
  background-position: var(--shine, 50%) center;
  mix-blend-mode: screen;
  opacity: 0.66;
  transition: none;
}
[data-phase="gallery"] .athlete.current {
  perspective: 1100px;
}
[data-phase="gallery"] .athlete.current .tilt {
  transition: none;
}
.turn-hint {
  margin: 12px 0 0;
  color: #d0cbd2;
  font-size: 0.79rem;
}
[data-inspecting] .inspect-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 25;
}
.inspect-hint button {
  padding: 0 12px;
  min-height: 36px;
  font-size: 0.79rem;
}
[data-inspecting] .card-hit {
  touch-action: none;
}

/* The border is hot-stamped; a separate diffraction pass sits behind the athlete. */
.athlete.current .front::before,
.diffraction {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    transparent 10%,
    #58d9ff 28%,
    #a074ff 36%,
    #ffa8d9 43%,
    #fff2ab 51%,
    #64ffe0 59%,
    #5a96ff 68%,
    transparent 82%
  );
  background-size: 215% 100%;
  background-position: var(--shine, 50%) center;
}
.athlete.current .front::before {
  z-index: 4;
  mask: var(--die-mask) center / 100% 100% no-repeat;
  -webkit-mask: var(--die-mask) center / 100% 100% no-repeat;
  opacity: 0;
}
.athlete.current[data-relief] .front::before {
  opacity: calc(0.1 + 0.78 * var(--glint, 0));
}
.diffraction {
  mix-blend-mode: screen;
  opacity: calc(0.05 + 0.44 * var(--glint, 0));
  mask-image: repeating-linear-gradient(127deg, #000 0 1px, #0006 1.5px 3px);
}
.athlete.foil-gold .front::before,
.athlete.foil-gold .diffraction {
  background-image: linear-gradient(
    108deg,
    transparent 10%,
    #c27b27 24%,
    #fff08b 40%,
    #fff8de 48%,
    #cca26a 61%,
    #f3c363 75%,
    transparent 91%
  );
}
.athlete.foil-silver .front::before,
.athlete.foil-silver .diffraction {
  filter: grayscale(1);
}

/* Allow printed text to be selected through the studio drawing overlay. */
[data-marking] .studio-preview .copy,
[data-marking] .studio-preview .copy [data-part] {
  pointer-events: auto;
}
