.hq-view[hidden],
.trophy-dialog[hidden] {
  display: none !important;
}

.hq-view-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 14px;
  padding: 4px;
  border: 1px solid rgba(151, 178, 199, 0.18);
  border-radius: 9px 9px 9px 2px;
  background: rgba(2, 8, 14, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 44px rgba(0, 0, 0, 0.22);
}

.hq-view-switcher__button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px 6px 6px 2px;
  padding: 0 18px;
  background: transparent;
  color: #8493a5;
  font: 750 11px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hq-view-switcher__button span {
  margin-right: 8px;
  color: rgba(192, 132, 252, 0.6);
  font-size: 9px;
}

.hq-view-switcher__button:hover,
.hq-view-switcher__button:focus-visible {
  color: #fff;
  border-color: rgba(192, 132, 252, 0.34);
}

.hq-view-switcher__button.is-active {
  border-color: rgba(192, 132, 252, 0.46);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(72, 245, 154, 0.06));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trophy-room {
  --trophy-gold: #f3c66d;
  --trophy-gold-soft: rgba(243, 198, 109, 0.16);
  --trophy-violet: #c084fc;
  --trophy-mint: #48f59a;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.28);
  border-radius: 12px 12px 12px 3px;
  background: #03070c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.trophy-room__masthead {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  min-height: 150px;
  padding: clamp(24px, 3.4vw, 46px);
  border-bottom: 1px solid rgba(243, 198, 109, 0.2);
  background:
    radial-gradient(circle at 12% 0%, rgba(168, 85, 247, 0.2), transparent 36%),
    linear-gradient(110deg, rgba(4, 9, 15, 0.98), rgba(9, 12, 18, 0.93));
}

.trophy-room__masthead::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--trophy-gold), var(--trophy-violet), transparent);
  opacity: 0.74;
  content: "";
}

.trophy-room__kicker {
  margin: 0 0 10px;
  color: var(--trophy-gold);
  font: 700 9px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
}

.trophy-room__masthead h2 {
  margin: 0;
  color: #fff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.trophy-room__masthead p:not(.trophy-room__kicker) {
  max-width: 620px;
  margin: 14px 0 0;
  color: #9daab8;
  font-size: 13px;
  line-height: 1.55;
}

.trophy-room__totals {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  color: #8d99a8;
  font: 650 10px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.trophy-room__totals > span {
  display: grid;
  gap: 5px;
  min-width: 82px;
  padding-left: 13px;
  border-left: 1px solid rgba(243, 198, 109, 0.26);
}

.trophy-room__totals strong {
  color: #fff;
  font-size: 21px;
}

.trophy-tour-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(243, 198, 109, 0.5);
  border-radius: 6px 6px 6px 2px;
  padding: 0 15px;
  background: linear-gradient(135deg, rgba(243, 198, 109, 0.18), rgba(168, 85, 247, 0.12));
  color: #ffe6ad;
  font: 750 10px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
  cursor: pointer;
}

.trophy-tour-button:disabled {
  cursor: default;
  opacity: 0.4;
}

.trophy-room__threshold {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 26px;
  padding: 0 18px;
  background: #020509;
  color: rgba(243, 198, 109, 0.64);
  font: 700 8px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
}

.trophy-room__threshold i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(243, 198, 109, 0.36), transparent);
}

.trophy-room__season-rail {
  position: relative;
  z-index: 7;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 10, 0.97);
  scrollbar-width: thin;
  scrollbar-color: rgba(192, 132, 252, 0.38) transparent;
}

.trophy-season-tab {
  flex: 0 0 auto;
  min-width: 116px;
  min-height: 48px;
  border: 1px solid rgba(151, 178, 199, 0.16);
  border-radius: 6px 6px 6px 2px;
  padding: 8px 12px;
  background: rgba(8, 14, 21, 0.88);
  color: #8491a0;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.trophy-season-tab strong,
.trophy-season-tab span {
  display: block;
}

.trophy-season-tab strong {
  color: inherit;
  font: 750 12px/1.2 "Space Grotesk", Inter, sans-serif;
}

.trophy-season-tab span {
  margin-top: 4px;
  font: 650 8px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.trophy-season-tab:hover,
.trophy-season-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(243, 198, 109, 0.42);
  color: #fff;
}

.trophy-season-tab[aria-selected="true"] {
  border-color: rgba(243, 198, 109, 0.56);
  background: linear-gradient(135deg, rgba(243, 198, 109, 0.17), rgba(168, 85, 247, 0.13));
  color: #fff4d8;
  box-shadow: inset 0 0 22px rgba(243, 198, 109, 0.05), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.trophy-room__viewport {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 75vh, 880px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 5, 9, 0.12), rgba(2, 5, 9, 0.48) 68%, rgba(2, 5, 9, 0.96)),
    url("../../assets/img/trophy-room-stadium.webp") center 42% / cover no-repeat;
}

.trophy-room__viewport::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 72%, rgba(192, 132, 252, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 22% 78%, rgba(0, 0, 0, 0.38));
  content: "";
}

.trophy-room__architecture {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.trophy-room__architecture span {
  position: absolute;
  display: block;
}

.trophy-room__beam {
  top: -18%;
  bottom: 4%;
  width: 18%;
  border: 1px solid rgba(243, 198, 109, 0.12);
  opacity: 0.42;
}

.trophy-room__beam--left {
  left: -10%;
  transform: perspective(600px) rotateY(24deg);
}

.trophy-room__beam--right {
  right: -10%;
  transform: perspective(600px) rotateY(-24deg);
}

.trophy-room__glow {
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.012) 4px 5px);
  mix-blend-mode: screen;
  opacity: 0.38;
}

.trophy-room__stage {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 69vh, 810px);
  padding: clamp(30px, 4vw, 58px) clamp(18px, 3vw, 42px) 86px;
}

.trophy-room__stage.is-changing .season-gallery {
  animation: trophy-gallery-change 420ms cubic-bezier(.2,.8,.2,1) both;
}

.trophy-room__welcome,
.trophy-room__loading,
.trophy-room__empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 430px;
  text-align: center;
}

.trophy-room__welcome-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border: 1px solid rgba(243, 198, 109, 0.45);
  border-radius: 50%;
  background: rgba(4, 9, 14, 0.72);
  color: var(--trophy-gold);
  box-shadow: 0 0 42px rgba(243, 198, 109, 0.16);
  font-size: 22px;
}

.trophy-room__welcome h3,
.trophy-room__loading h3,
.trophy-room__empty h3 {
  margin: 0;
  color: #fff;
  font: 700 clamp(24px, 3vw, 40px)/1 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.04em;
}

.trophy-room__welcome p,
.trophy-room__loading p,
.trophy-room__empty p {
  max-width: 480px;
  margin: 12px 0 0;
  color: #a8b3bf;
  line-height: 1.55;
}

.trophy-room__loading-orbit {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(243, 198, 109, 0.2);
  border-top-color: var(--trophy-gold);
  border-radius: 50%;
  animation: trophy-orbit 1.1s linear infinite;
}

.season-gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 0 2px 16px;
  border-bottom: 1px solid rgba(243, 198, 109, 0.2);
}

.season-gallery__eyebrow {
  margin: 0 0 7px;
  color: var(--trophy-gold);
  font: 700 9px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.season-gallery__head h3 {
  margin: 0;
  color: #fff;
  font: 700 clamp(30px, 4vw, 54px)/0.92 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.055em;
}

.season-gallery__count {
  color: #c7d0d9;
  font: 650 10px/1.4 "JetBrains Mono", monospace;
  text-align: right;
  text-transform: uppercase;
}

.season-gallery__wings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.trophy-wing {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(151, 178, 199, 0.18);
  border-radius: 9px 9px 9px 2px;
  background: linear-gradient(180deg, rgba(5, 10, 16, 0.86), rgba(3, 7, 12, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.trophy-wing::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--wing-accent, var(--trophy-gold)), transparent 72%);
  content: "";
}

.trophy-wing--players {
  --wing-accent: var(--trophy-violet);
}

.trophy-wing__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(151, 178, 199, 0.13);
}

.trophy-wing__head small {
  display: block;
  margin-bottom: 5px;
  color: #7f8c9b;
  font: 650 8px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trophy-wing__head h4 {
  margin: 0;
  color: #fff;
  font: 700 19px/1 "Space Grotesk", Inter, sans-serif;
}

.trophy-wing__count {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--wing-accent, var(--trophy-gold)) 48%, transparent);
  border-radius: 50%;
  color: var(--wing-accent, var(--trophy-gold));
  font: 700 11px/1 "JetBrains Mono", monospace;
}

.trophy-cabinet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  padding: 10px;
}

.trophy-card {
  position: relative;
  min-width: 0;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(243, 198, 109, 0.16);
  border-radius: 6px 6px 6px 2px;
  padding: 12px 10px 11px;
  background:
    radial-gradient(circle at 50% 20%, rgba(243, 198, 109, 0.11), transparent 42%),
    linear-gradient(180deg, rgba(20, 18, 18, 0.84), rgba(5, 8, 12, 0.96));
  color: #fff;
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, box-shadow 220ms ease;
}

.trophy-wing--players .trophy-card {
  border-color: rgba(192, 132, 252, 0.18);
  background:
    radial-gradient(circle at 50% 20%, rgba(192, 132, 252, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(15, 14, 23, 0.86), rgba(5, 8, 12, 0.96));
}

.trophy-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.09) 43%, transparent 57%);
  opacity: 0;
  transform: translateX(-65%);
  transition: opacity 180ms ease, transform 520ms ease;
  content: "";
  pointer-events: none;
}

.trophy-card::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--club-primary), var(--club-secondary));
  opacity: 0.76;
  content: "";
}

.trophy-card:hover,
.trophy-card:focus-visible {
  z-index: 2;
  border-color: rgba(243, 198, 109, 0.54);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.44), 0 0 28px rgba(243, 198, 109, 0.1);
  transform: perspective(700px) translateY(-6px) rotateX(2deg) scale(1.018);
}

.trophy-wing--players .trophy-card:hover,
.trophy-wing--players .trophy-card:focus-visible {
  border-color: rgba(192, 132, 252, 0.56);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.44), 0 0 28px rgba(192, 132, 252, 0.11);
}

.trophy-card:hover::before,
.trophy-card:focus-visible::before {
  opacity: 1;
  transform: translateX(65%);
}

.trophy-card__image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  height: 132px;
  margin-bottom: 8px;
}

.trophy-card__image-wrap::after {
  position: absolute;
  right: 16%;
  bottom: 5px;
  left: 16%;
  height: 11px;
  border-radius: 50%;
  background: rgba(243, 198, 109, 0.24);
  filter: blur(8px);
  content: "";
}

.trophy-card__image-wrap.is-missing::before {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(243, 198, 109, 0.34);
  border-radius: 50%;
  color: rgba(243, 198, 109, 0.7);
  content: "◇";
  font-size: 22px;
}

.trophy-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 13px 10px rgba(0, 0, 0, 0.62));
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), filter 260ms ease;
}

.trophy-card:hover img,
.trophy-card:focus-visible img {
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.68));
  transform: translateY(-5px) scale(1.045);
}

.trophy-card__type {
  display: block;
  overflow: hidden;
  color: #8e9ba8;
  font: 650 7px/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.trophy-card strong {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #fff5dc;
  font: 700 13px/1.16 "Space Grotesk", Inter, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trophy-card small {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #a4afba;
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trophy-cabinet__empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 24px;
  color: #718090;
  font: 650 9px/1.5 "JetBrains Mono", monospace;
  text-align: center;
  text-transform: uppercase;
}

.trophy-room__walk-controls {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  max-width: 430px;
  margin: auto;
  padding: 7px;
  border: 1px solid rgba(243, 198, 109, 0.2);
  border-radius: 8px 8px 8px 2px;
  background: rgba(2, 6, 10, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(12px);
}

.trophy-room__walk-controls button {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 5px 5px 5px 2px;
  background: rgba(168, 85, 247, 0.1);
  color: #fff;
  cursor: pointer;
}

.trophy-room__walk-controls button:disabled {
  cursor: default;
  opacity: 0.28;
}

.trophy-room__walk-controls span {
  overflow: hidden;
  color: #acb7c2;
  font: 650 9px/1 "JetBrains Mono", monospace;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.trophy-room__status {
  position: relative;
  z-index: 6;
  min-height: 35px;
  margin: 0;
  padding: 11px 16px;
  border-top: 1px solid rgba(151, 178, 199, 0.1);
  background: #020509;
  color: #788695;
  font: 650 9px/1.4 "JetBrains Mono", monospace;
}

.trophy-dialog {
  width: min(780px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 28px));
  overflow: auto;
  border: 1px solid rgba(243, 198, 109, 0.38);
  border-radius: 12px 12px 12px 3px;
  padding: 0;
  background: #060b12;
  color: #fff;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.74), 0 0 60px rgba(168, 85, 247, 0.11);
}

.trophy-dialog::backdrop {
  background: rgba(0, 3, 7, 0.8);
  backdrop-filter: blur(8px);
}

.trophy-dialog__close {
  position: sticky;
  z-index: 4;
  top: 12px;
  float: right;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 12px 12px -52px 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(3, 7, 12, 0.86);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.trophy-dialog__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  min-height: 430px;
}

.trophy-dialog__visual {
  display: grid;
  place-items: center;
  padding: 38px 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(243, 198, 109, 0.2), transparent 42%),
    linear-gradient(160deg, rgba(168, 85, 247, 0.13), rgba(3, 7, 12, 0.96));
}

.trophy-dialog__visual img {
  width: min(100%, 260px);
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.72));
}

.trophy-dialog__copy {
  padding: 42px 40px 36px;
}

.trophy-dialog__copy .trophy-room__kicker {
  margin-bottom: 12px;
}

.trophy-dialog__copy h2 {
  margin: 0;
  color: #fff;
  font: 700 clamp(30px, 5vw, 52px)/0.94 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.055em;
}

.trophy-dialog__competition {
  margin: 13px 0 0;
  color: #abb6c2;
  font-size: 13px;
  line-height: 1.45;
}

.trophy-dialog__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 26px 0 0;
}

.trophy-dialog__fact {
  min-height: 70px;
  border: 1px solid rgba(151, 178, 199, 0.15);
  border-radius: 6px 6px 6px 2px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.trophy-dialog__fact small,
.trophy-dialog__fact strong {
  display: block;
}

.trophy-dialog__fact small {
  color: #758392;
  font: 650 8px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trophy-dialog__fact strong {
  margin-top: 8px;
  color: #eef2f6;
  font-size: 12px;
  line-height: 1.35;
}

.trophy-dialog__club-colours {
  display: inline-flex;
  gap: 5px;
  margin-left: 6px;
  vertical-align: middle;
}

.trophy-dialog__club-colours i {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

body.trophy-room-open .hq-header,
body.trophy-room-open .hq-view-switcher {
  animation: trophy-header-shift 560ms cubic-bezier(.2,.8,.2,1) both;
}

body.trophy-room-open .trophy-room {
  animation: trophy-room-enter 720ms cubic-bezier(.2,.8,.2,1) both;
}

@keyframes trophy-room-enter {
  from { opacity: 0; transform: perspective(900px) translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes trophy-header-shift {
  from { border-color: rgba(168, 85, 247, 0.34); }
  to { border-color: rgba(243, 198, 109, 0.3); }
}

@keyframes trophy-gallery-change {
  from { opacity: 0; transform: translate3d(34px, 0, -40px); }
  to { opacity: 1; transform: none; }
}

@keyframes trophy-orbit {
  to { transform: rotate(360deg); }
}

/* ============================================================
   CINEMATIC WALKTHROUGH MOTION
   ============================================================ */
.trophy-room__viewport {
  --room-x: 0;
  --room-y: 0;
  --room-shift-x: 0px;
  --room-shift-y: 0px;
  --room-perspective-x: 50%;
  --room-perspective-y: 46%;
  perspective: 1200px;
  perspective-origin: var(--room-perspective-x) var(--room-perspective-y);
  transition: perspective-origin 900ms cubic-bezier(.16, 1, .3, 1), background-size 900ms cubic-bezier(.16, 1, .3, 1);
}

.trophy-room__viewport::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 32%, rgba(255, 239, 190, 0.07) 48%, transparent 63%) -120% 0 / 58% 100% no-repeat,
    radial-gradient(ellipse at 50% 45%, transparent 42%, rgba(0, 2, 5, 0.34) 76%, rgba(0, 2, 5, 0.78) 112%),
    linear-gradient(180deg, rgba(255, 230, 164, 0.025), transparent 18% 76%, rgba(0, 0, 0, 0.42));
  content: "";
  opacity: 0.9;
}

.trophy-room__architecture {
  transform: translate3d(var(--room-shift-x), var(--room-shift-y), -12px) scale(1.035);
  transform-origin: center 44%;
  transition: transform 1100ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.trophy-room__beam {
  animation: trophy-light-breathe 5.6s ease-in-out infinite alternate;
}

.trophy-room__beam--right {
  animation-delay: -2.8s;
}

.trophy-room__stage {
  transform-style: preserve-3d;
  will-change: opacity, transform, filter;
}

.trophy-room__stage.is-leaving[data-direction="forward"] {
  animation: trophy-season-exit-forward 300ms cubic-bezier(.55, 0, .85, .35) both;
}

.trophy-room__stage.is-leaving[data-direction="backward"] {
  animation: trophy-season-exit-backward 300ms cubic-bezier(.55, 0, .85, .35) both;
}

.trophy-room__stage.is-entering[data-direction="forward"] .season-gallery {
  animation: trophy-season-enter-forward 880ms cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-room__stage.is-entering[data-direction="backward"] .season-gallery {
  animation: trophy-season-enter-backward 880ms cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-room__viewport.is-walking::before {
  animation: trophy-camera-bloom 1.16s cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-room__viewport.is-walking::after {
  animation: trophy-light-pass 1.16s cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-room__viewport.is-walking .trophy-room__architecture {
  animation: trophy-room-dolly 1.16s cubic-bezier(.16, 1, .3, 1) both;
}

.season-gallery__head > *,
.trophy-wing,
.trophy-card {
  backface-visibility: hidden;
}

.trophy-room__stage:is(.is-entering, .is-settled) .season-gallery__head > div:first-child {
  animation: trophy-heading-rise 640ms 90ms cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-room__stage:is(.is-entering, .is-settled) .season-gallery__count {
  animation: trophy-heading-rise 640ms 160ms cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-room__stage:is(.is-entering, .is-settled) .trophy-wing--clubs {
  animation: trophy-wing-enter-left 720ms 150ms cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-room__stage:is(.is-entering, .is-settled) .trophy-wing--players {
  animation: trophy-wing-enter-right 720ms 230ms cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-room__stage:is(.is-entering, .is-settled) .trophy-card {
  animation: trophy-case-reveal 720ms calc(260ms + (var(--card-index, 0) * 65ms)) cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 30%;
  transform-origin: center 78%;
  will-change: transform;
}

.trophy-card::before {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 246, 218, 0.22), transparent 28%),
    linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.1) 43%, transparent 57%);
}

.trophy-card:hover,
.trophy-card:focus-visible {
  transform: perspective(760px) translate3d(0, -8px, 22px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.025);
}

.trophy-card:hover img,
.trophy-card:focus-visible img {
  transform: translate3d(0, -7px, 34px) scale(1.06);
}

.trophy-room__walk-controls {
  transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms cubic-bezier(.16, 1, .3, 1);
}

.trophy-room.is-touring .trophy-room__walk-controls {
  border-color: rgba(243, 198, 109, 0.46);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.52), 0 0 32px rgba(243, 198, 109, 0.08);
}

.trophy-room.is-touring .trophy-room__walk-controls button:not(:disabled) {
  animation: trophy-control-pulse 2.4s ease-in-out infinite;
}

.trophy-tour-button {
  --tour-progress: 0;
  position: relative;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(.16, 1, .3, 1), border-color 240ms ease, box-shadow 240ms ease;
}

.trophy-tour-button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--trophy-gold), #fff1bd, var(--trophy-violet));
  content: "";
  transform: scaleX(var(--tour-progress));
  transform-origin: left;
  box-shadow: 0 0 12px rgba(243, 198, 109, 0.64);
}

.trophy-tour-button:hover:not(:disabled),
.trophy-tour-button:focus-visible:not(:disabled) {
  border-color: rgba(255, 230, 170, 0.82);
  box-shadow: 0 12px 36px rgba(243, 198, 109, 0.14);
  transform: translateY(-2px);
}

.trophy-dialog[open] {
  animation: trophy-dialog-enter 560ms cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-dialog[open]::backdrop {
  animation: trophy-backdrop-enter 420ms ease both;
}

.trophy-dialog[open] .trophy-dialog__visual img {
  animation: trophy-hero-rise 820ms 80ms cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-dialog[open] .trophy-dialog__copy > * {
  animation: trophy-copy-rise 560ms calc(140ms + (var(--dialog-index, 0) * 70ms)) cubic-bezier(.16, 1, .3, 1) both;
}

.trophy-dialog[open] .trophy-dialog__copy > :nth-child(1) { --dialog-index: 0; }
.trophy-dialog[open] .trophy-dialog__copy > :nth-child(2) { --dialog-index: 1; }
.trophy-dialog[open] .trophy-dialog__copy > :nth-child(3) { --dialog-index: 2; }
.trophy-dialog[open] .trophy-dialog__copy > :nth-child(4) { --dialog-index: 3; }

body.trophy-room-open .trophy-room__masthead > div:first-child {
  animation: trophy-heading-rise 720ms 180ms cubic-bezier(.16, 1, .3, 1) both;
}

body.trophy-room-open .trophy-room__totals {
  animation: trophy-heading-rise 720ms 280ms cubic-bezier(.16, 1, .3, 1) both;
}

body.trophy-room-open .trophy-room__threshold,
body.trophy-room-open .trophy-room__season-rail {
  animation: trophy-threshold-open 760ms 360ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes trophy-season-exit-forward {
  0% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
  100% { opacity: 0; filter: blur(7px); transform: translate3d(-9%, 0, -150px) rotateY(3deg) scale(.94); }
}

@keyframes trophy-season-exit-backward {
  0% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
  100% { opacity: 0; filter: blur(7px); transform: translate3d(9%, 0, -150px) rotateY(-3deg) scale(.94); }
}

@keyframes trophy-season-enter-forward {
  0% { opacity: 0; filter: blur(10px); transform: translate3d(12%, 10px, -190px) rotateY(-4deg) scale(.91); }
  58% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; filter: none; transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}

@keyframes trophy-season-enter-backward {
  0% { opacity: 0; filter: blur(10px); transform: translate3d(-12%, 10px, -190px) rotateY(4deg) scale(.91); }
  58% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; filter: none; transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}

@keyframes trophy-heading-rise {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes trophy-wing-enter-left {
  from { opacity: 0; transform: translate3d(-44px, 26px, -50px) rotateY(3deg); }
  to { opacity: 1; transform: none; }
}

@keyframes trophy-wing-enter-right {
  from { opacity: 0; transform: translate3d(44px, 26px, -50px) rotateY(-3deg); }
  to { opacity: 1; transform: none; }
}

@keyframes trophy-case-reveal {
  0% { opacity: 0; clip-path: inset(0 0 100% 0); filter: brightness(.55); transform: translate3d(0, 36px, -70px) scale(.94); }
  55% { opacity: 1; clip-path: inset(0); filter: brightness(1.22); }
  100% { opacity: 1; clip-path: inset(0); filter: brightness(1); transform: none; }
}

@keyframes trophy-camera-bloom {
  0%, 100% { opacity: 1; filter: brightness(1); }
  36% { opacity: .62; filter: brightness(1.42); }
}

@keyframes trophy-light-pass {
  0% { background-position: -120% 0, center, center; opacity: .82; }
  55% { background-position: 260% 0, center, center; opacity: 1; }
  100% { background-position: 260% 0, center, center; opacity: .9; }
}

@keyframes trophy-room-dolly {
  0% { transform: translate3d(var(--room-shift-x), var(--room-shift-y), -12px) scale(1.035); }
  42% { transform: translate3d(0, 0, 24px) scale(1.095); }
  100% { transform: translate3d(var(--room-shift-x), var(--room-shift-y), -12px) scale(1.035); }
}

@keyframes trophy-light-breathe {
  from { opacity: .26; filter: brightness(.82); }
  to { opacity: .58; filter: brightness(1.28); }
}

@keyframes trophy-control-pulse {
  0%, 100% { box-shadow: inset 0 0 0 rgba(243, 198, 109, 0); }
  50% { box-shadow: inset 0 0 18px rgba(243, 198, 109, .1), 0 0 15px rgba(192, 132, 252, .08); }
}

@keyframes trophy-dialog-enter {
  from { opacity: 0; transform: translateY(26px) scale(.94); }
  to { opacity: 1; transform: none; }
}

@keyframes trophy-backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes trophy-hero-rise {
  0% { opacity: 0; filter: blur(8px) drop-shadow(0 10px 8px rgba(0,0,0,.4)); transform: translate3d(0, 32px, -80px) scale(.86) rotate(-2deg); }
  70% { opacity: 1; filter: blur(0) drop-shadow(0 30px 22px rgba(0,0,0,.76)); transform: translate3d(0, -5px, 0) scale(1.025) rotate(.4deg); }
  100% { opacity: 1; filter: drop-shadow(0 24px 18px rgba(0,0,0,.72)); transform: none; }
}

@keyframes trophy-copy-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes trophy-threshold-open {
  from { opacity: 0; clip-path: inset(0 50%); }
  to { opacity: 1; clip-path: inset(0); }
}

@media (max-width: 900px) {
  .trophy-room__masthead {
    align-items: flex-start;
    flex-direction: column;
  }

  .trophy-room__totals {
    justify-content: flex-start;
  }

  .season-gallery__wings {
    grid-template-columns: 1fr;
  }

  .trophy-room__viewport {
    min-height: 940px;
    background-position: center top;
  }

  .trophy-room__stage {
    min-height: 880px;
  }
}

@media (max-width: 640px) {
  .hq-view-switcher {
    display: grid;
    width: 100%;
  }

  .hq-view-switcher__button {
    padding-inline: 10px;
    font-size: 9px;
  }

  .hq-view-switcher__button span {
    display: none;
  }

  .trophy-room__masthead {
    min-height: 0;
    padding: 24px 18px;
  }

  .trophy-room__masthead h2 {
    font-size: 42px;
  }

  .trophy-room__totals {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trophy-tour-button {
    grid-column: 1 / -1;
  }

  .trophy-room__stage {
    padding: 28px 10px 82px;
  }

  .season-gallery__head {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 5px;
  }

  .season-gallery__count {
    text-align: left;
  }

  .trophy-cabinet {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .trophy-card {
    flex: 0 0 150px;
    scroll-snap-align: center;
  }

  .trophy-dialog__layout {
    grid-template-columns: 1fr;
  }

  .trophy-dialog__visual {
    min-height: 280px;
  }

  .trophy-dialog__visual img {
    max-height: 230px;
  }

  .trophy-dialog__copy {
    padding: 30px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trophy-room,
  .season-gallery,
  .trophy-room__loading-orbit,
  .trophy-room__viewport,
  .trophy-room__viewport::before,
  .trophy-room__viewport::after,
  .trophy-room__architecture,
  .trophy-room__beam,
  .trophy-room__stage,
  .trophy-wing,
  .trophy-card,
  .trophy-card img,
  .trophy-card::before,
  .trophy-room__walk-controls button,
  .trophy-dialog,
  .trophy-dialog::backdrop,
  .trophy-dialog__visual img,
  .trophy-dialog__copy > * {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}
