:root {
  --bg: #071433;
  --blue: #123a8a;
  --ink: #eef3ff;
  --muted: #9aacd4;
  --hot: #d4b056;
  --hot-2: #f0d78a;
  --line: rgba(212, 176, 86, 0.22);
  --steel: #10224f;
  --on-hot: #0b1a3f;
  --panel: rgba(7, 8, 11, 0.72);
  --menu: #0c0d11;
  --menu-shadow: none;
  --thumb: #111;
  --fav-hover: rgba(212, 176, 86, 0.1);
  --card: rgba(255, 255, 255, 0.02);
  --head-bg: rgba(255, 255, 255, 0.06);
  --row: linear-gradient(90deg, rgba(18, 58, 138, 0.55), rgba(7, 20, 51, 0.4));
  --row-alt: rgba(255, 255, 255, 0.04);
  --row-hover: linear-gradient(90deg, rgba(212, 176, 86, 0.18), rgba(18, 58, 138, 0.35));
  --row-border: rgba(212, 176, 86, 0.18);
  --honour-gold: linear-gradient(90deg, rgba(212, 176, 86, 0.12), transparent 42%), var(--bg);
  --honour-blue: linear-gradient(90deg, rgba(18, 58, 138, 0.45), transparent 50%), var(--bg);
  --video-bg: #050b1c;
  --floor-line: rgba(212, 176, 86, 0.18);
  --glow: radial-gradient(ellipse, rgba(212, 176, 86, 0.38), rgba(18, 58, 138, 0.18) 42%, transparent 70%);
  --actor-shadow: 0 24px 32px rgba(0, 0, 0, 0.55);
  --cursor-glow: rgba(212, 176, 86, 0.16);
  --vignette: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
  --noise-opacity: 0.28;
  --noise-blend: screen;
  --num-wash: rgba(239, 234, 226, 0.06);
  --theme-color: #071433;
  --body-bg:
    radial-gradient(1100px 620px at 72% 18%, rgba(212, 176, 86, 0.12), transparent 55%),
    radial-gradient(700px 480px at 8% 88%, rgba(18, 58, 138, 0.55), transparent 50%),
    linear-gradient(180deg, #0a1c4a 0%, #071433 48%, #05102c 100%);
  --font-display: "Anybody", sans-serif;
  --font-body: "Figtree", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4efe4;
  --blue: #123a8a;
  --ink: #071433;
  --muted: #4a5b7c;
  --hot: #9a7420;
  --hot-2: #c4a24a;
  --line: rgba(7, 20, 51, 0.14);
  --steel: #e7e0d2;
  --on-hot: #071433;
  --panel: rgba(255, 255, 255, 0.78);
  --menu: #fffdf8;
  --menu-shadow: 0 18px 40px rgba(7, 20, 51, 0.12);
  --thumb: #d8d2c4;
  --fav-hover: rgba(18, 58, 138, 0.08);
  --card: rgba(7, 20, 51, 0.04);
  --head-bg: rgba(7, 20, 51, 0.06);
  --row: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(241, 236, 224, 0.88));
  --row-alt: rgba(255, 255, 255, 0.55);
  --row-hover: linear-gradient(90deg, rgba(212, 176, 86, 0.28), rgba(18, 58, 138, 0.1));
  --row-border: rgba(7, 20, 51, 0.12);
  --honour-gold: linear-gradient(90deg, rgba(212, 176, 86, 0.28), transparent 46%), var(--bg);
  --honour-blue: linear-gradient(90deg, rgba(18, 58, 138, 0.16), transparent 52%), var(--bg);
  --video-bg: #dce3f0;
  --floor-line: rgba(7, 20, 51, 0.12);
  --glow: radial-gradient(ellipse, rgba(212, 176, 86, 0.28), rgba(18, 58, 138, 0.1) 42%, transparent 70%);
  --actor-shadow: 0 24px 32px rgba(7, 20, 51, 0.18);
  --cursor-glow: rgba(18, 58, 138, 0.12);
  --vignette: radial-gradient(ellipse at center, transparent 48%, rgba(160, 140, 96, 0.22) 100%);
  --noise-opacity: 0.14;
  --noise-blend: multiply;
  --num-wash: rgba(7, 20, 51, 0.08);
  --theme-color: #f4efe4;
  --body-bg:
    radial-gradient(1100px 620px at 72% 18%, rgba(212, 176, 86, 0.18), transparent 55%),
    radial-gradient(700px 480px at 8% 88%, rgba(18, 58, 138, 0.1), transparent 50%),
    linear-gradient(180deg, #fbf8f1 0%, #f4efe4 48%, #ebe4d4 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--body-bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise,
.vignette,
.cursor-light {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.noise {
  z-index: 8;
  opacity: var(--noise-opacity);
  mix-blend-mode: var(--noise-blend);
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(212, 176, 86, 0.08) 41%, transparent 43%),
    linear-gradient(155deg, transparent 62%, rgba(240, 215, 138, 0.07) 63%, transparent 66%),
    linear-gradient(28deg, transparent 22%, rgba(212, 176, 86, 0.05) 24%, transparent 27%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.vignette {
  z-index: 7;
  background: var(--vignette);
}

.cursor-light {
  z-index: 1;
  background: radial-gradient(
    circle at var(--mx, 68%) var(--my, 38%),
    var(--cursor-glow),
    transparent 30%
  );
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 7vw;
  min-height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.04em;
}

.logo-mark {
  display: block;
  height: 2em;
  width: auto;
  flex: 0 0 auto;
  margin-right: 0.28em;
  cursor: pointer;
}

.bee-swarm {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
}

.bee {
  position: absolute;
  font-size: 18px;
  line-height: 1;
  animation: beeFly 1.15s ease-out forwards;
}

@keyframes beeFly {
  0% {
    transform: translate(-50%, -50%) scale(0.45) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot));
    opacity: 0;
  }
}

.logo span {
  color: var(--hot);
}

.nav nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav nav a:hover {
  color: var(--ink);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.music-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.music-btn.is-active {
  background: var(--hot);
  color: var(--on-hot);
  border-color: var(--hot);
}

.music-btn.is-waiting {
  color: var(--hot);
  animation: musicPulse 1.6s ease-in-out infinite;
}

.music-icon {
  font-size: 14px;
  line-height: 1;
}

@keyframes musicPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 176, 86, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(212, 176, 86, 0.2);
  }
}

.kit-switch {
  display: flex;
  border: 1px solid var(--line);
  background: var(--panel);
}

.kit-btn {
  min-width: 72px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kit-btn.is-active {
  background: var(--hot);
  color: var(--on-hot);
}

.look-extra {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.look-extra.is-active {
  background: var(--hot);
  color: var(--on-hot);
  border-color: var(--hot);
}

.fav-switch {
  position: relative;
  z-index: 20;
}

.fav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.fav-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--thumb);
}

.fav-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
}

.fav-copy small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fav-name {
  font-size: 13px;
  font-weight: 600;
}

.fav-caret {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translateY(-2px);
}

.fav-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--menu);
  box-shadow: var(--menu-shadow);
  list-style: none;
}

.fav-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.fav-option:hover,
.fav-option.is-active {
  background: var(--fav-hover);
}

.fav-option img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: 50% 18%;
}

.fav-option strong {
  display: block;
  font-size: 14px;
}

.fav-option em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn-hot,
.nav-cta {
  background: var(--hot);
  color: var(--on-hot);
  border-color: var(--hot);
}

.btn-ghost {
  background: transparent;
}

.btn:hover,
.nav-cta:hover {
  filter: brightness(1.08);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 80px);
  padding: 12px 7vw 48px;
  overflow: clip;
  contain: paint;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding-top: 7vh;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 10px 0 22px;
}

.player-page .hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: visible;
  contain: none;
}

.player-page .hero-copy {
  max-width: 420px;
  flex: 1 1 280px;
  padding-top: 4vh;
}

.player-page .stage-wrap {
  position: relative;
  inset: auto;
  width: min(46vw, 560px);
  height: auto;
  flex: 0 0 min(46vw, 560px);
}

.player-page .stage {
  position: relative;
  inset: auto;
  width: 100%;
  height: min(78vh, 700px);
  overflow: hidden;
}

.player-page .hud-frame {
  top: 0;
  width: 100%;
  right: 0;
  left: 0;
  bottom: auto;
  height: min(78vh, 700px);
}

.player-page .actor,
.player-page .glow,
.player-page .floor {
  left: 50%;
}

.player-page .actor {
  transform: translateX(-50%);
  width: min(100%, 520px);
}

.player-page .hud-frame span:nth-child(3) {
  display: none;
}

.player-title {
  position: relative;
  z-index: 5;
  margin: 0;
  padding: 8px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 54px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.kicker {
  color: var(--hot);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lead {
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 40px;
}

.hero-stats {
  display: flex;
  align-items: flex-end;
  gap: 36px;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.23;
  min-height: 1.23em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-stats dd {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.player-page .hero-stats {
  gap: 22px;
}

.player-page .hero-stats dd,
.player-page .hero-stats dd.pos-stat,
.player-page .hero-stats dd.nation-stat {
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1;
  transform: none;
}

.player-page .hero-stats dd.nation-stat {
  letter-spacing: 0;
  white-space: nowrap;
}

.stage-wrap {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
}

.hud-frame {
  position: absolute;
  top: 18px;
  right: 5vw;
  bottom: 28px;
  left: auto;
  width: min(38vw, 480px);
  border: 0;
  pointer-events: none;
  z-index: 4;
}

.hud-frame span {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hud-frame span:nth-child(1) {
  top: 10px;
  left: 12px;
  color: var(--hot);
}

.hud-frame span:nth-child(2) {
  top: 10px;
  right: 12px;
}

.hud-frame span:nth-child(3) {
  bottom: 10px;
  right: 12px;
}

.hud-frame span:nth-child(3)::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 10px var(--hot);
  vertical-align: middle;
}

.stage {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  transform-style: preserve-3d;
}

.floor {
  position: absolute;
  left: 58%;
  top: 74%;
  width: 150%;
  height: 72%;
  background:
    linear-gradient(var(--floor-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--floor-line) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: translateX(-50%) rotateX(78deg);
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 72%);
}

.ring {
  display: none;
}

.glow {
  position: absolute;
  left: 58%;
  top: 52%;
  width: 340px;
  height: 220px;
  transform: translateX(-50%);
  background: var(--glow);
  filter: blur(12px);
}

.actor {
  position: absolute;
  left: 58%;
  top: 2%;
  width: min(46vw, 540px);
  height: min(86%, 760px);
  transform: translateX(-48%);
  pointer-events: none;
}

.actor img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  display: none;
  opacity: 0;
  filter: drop-shadow(var(--actor-shadow));
  mask-image: linear-gradient(to bottom, black 0%, black 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 84%, transparent 100%);
}

.actor img.is-on {
  display: block;
  opacity: 1;
}

.figure {
  display: none;
}

#head {
  transform-origin: 0 42px;
}

.visor-plate {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 58px;
  height: 24px;
  margin-left: -29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  transform: translateZ(40px);
  background: linear-gradient(90deg, #140604, #3a0c08 50%, #140604);
  border: 1px solid rgba(255, 59, 31, 0.85);
  box-shadow: 0 0 22px rgba(255, 59, 31, 0.55), inset 0 0 12px rgba(255, 59, 31, 0.35);
}

.part,
.group {
  position: absolute;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
}

.part {
  width: var(--w);
  height: var(--h);
  margin-left: calc(var(--w) / -2);
  margin-top: calc(var(--h) / -2);
}

.part > i {
  position: absolute;
  display: block;
  background: var(--face, linear-gradient(180deg, #6a7080, #2c3038));
  border: 1px solid rgba(239, 234, 226, 0.22);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.35);
}

.part .rt {
  filter: brightness(1.35);
}

.part .lt {
  filter: brightness(0.55);
}

.part .tp {
  filter: brightness(1.55);
}

.part .bk {
  filter: brightness(0.42);
}

.part .bt {
  filter: brightness(0.3);
}

.part .ft,
.part .bk {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.part .ft {
  transform: translateZ(calc(var(--d) / 2));
}

.part .bk {
  transform: rotateY(180deg) translateZ(calc(var(--d) / 2));
}

.part .lt,
.part .rt {
  width: var(--d);
  height: 100%;
  top: 0;
  left: 50%;
  margin-left: calc(var(--d) / -2);
}

.part .lt {
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
}

.part .rt {
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2));
}

.part .tp,
.part .bt {
  width: 100%;
  height: var(--d);
  left: 0;
  top: 50%;
  margin-top: calc(var(--d) / -2);
}

.part .tp {
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2));
}

.part .bt {
  transform: rotateX(-90deg) translateZ(calc(var(--h) / 2));
}

.skin-armor > i {
  background: linear-gradient(180deg, #7a8090, #32363f);
}

.skin-dark > i {
  background: linear-gradient(180deg, #3a3e48, #16181d);
}

.skin-hot > i {
  background: linear-gradient(180deg, #ff6a3d, #ff3b1f);
  border-color: rgba(255, 180, 140, 0.35);
  box-shadow: inset 0 0 10px rgba(80, 10, 0, 0.35), 0 0 18px rgba(255, 59, 31, 0.35);
}

.skin-visor > i {
  background: linear-gradient(90deg, #2a0906, #ff3b1f 45%, #2a0906);
  border-color: rgba(255, 59, 31, 0.7);
  box-shadow: 0 0 16px rgba(255, 59, 31, 0.45);
}

.skin-weapon > i {
  background: linear-gradient(180deg, #2a2c32, #0e1014);
}

.mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -40%) translateZ(28px);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 38px;
  color: var(--hot);
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px rgba(255, 59, 31, 0.7);
  pointer-events: none;
}

.eye {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff4ee;
  box-shadow: 0 0 10px #fff, 0 0 18px var(--hot);
  transform: translate(0, 0);
}

.roster,
.about,
.join {
  position: relative;
  z-index: 3;
  padding: 80px 7vw;
  background: var(--bg);
  transition: background 0.4s ease;
}

.section-head h2,
.join h2,
.profile-facts h2 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin-top: 8px;
}

.roster-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.roster-card {
  position: relative;
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  overflow: hidden;
  min-height: 320px;
}

.roster-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  opacity: 0.38;
  transition: opacity 0.2s ease;
}

.roster-card:hover img,
.roster-card.active img {
  opacity: 0.62;
}

.roster-card .role,
.roster-card strong,
.roster-card em,
.roster-card .num {
  position: relative;
  z-index: 1;
}

.roster-card.active {
  border-color: var(--hot);
}

.roster-grid .num {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 64px;
  color: var(--num-wash);
  line-height: 1;
}

.role {
  color: var(--hot);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.roster-grid strong {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.02em;
}

.roster-grid em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.honours {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.4s ease;
}

.honours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 7vw;
  width: 100%;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}

.honours-drop .honours-row {
  cursor: pointer;
  appearance: none;
  background: var(--honour-gold);
}

.honours-drop .honours-row span::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 1.5px solid var(--hot);
  border-bottom: 1.5px solid var(--hot);
  transform: rotate(45deg) translateY(-2px);
}

.honours-drop .honours-row[aria-expanded="true"] span::after {
  transform: rotate(225deg) translateY(-1px);
}

.honours-row + .honours-row,
.honours-drop + .honours-row {
  border-top: 1px solid var(--line);
  background: var(--honour-blue);
}

a.honours-row {
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

a.honours-row:hover strong {
  color: var(--hot);
}

.honours-panel {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.honours-panel img {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: cover;
  object-position: center 28%;
}

.honours-stats {
  display: block;
  padding: 18px 7vw 22px;
  color: var(--hot);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}

.honours-stats:hover {
  color: var(--hot-2);
}

.honours strong {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.02em;
}

.honours-row span {
  color: var(--hot);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.roster-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roster-head,
.roster-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px 52px 64px;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 999px;
}

.roster-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--head-bg);
}

.roster-row {
  border: 1px solid var(--row-border);
  background: var(--row);
  color: var(--ink);
}

.roster-row:nth-child(even) {
  background: var(--row-alt);
}

.roster-row.active,
.roster-row:hover {
  border-color: var(--hot);
  background: var(--row-hover);
}

.roster-row b {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roster-row .flag {
  font-size: 20px;
  line-height: 1;
}

.roster-row i {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: var(--hot);
  font-weight: 700;
}

.roster-row em {
  color: var(--hot);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roster-row span {
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.profile {
  position: relative;
  z-index: 3;
  padding: 24px 7vw 80px;
  background: var(--bg);
  transition: background 0.4s ease;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 560px);
  gap: 36px;
  align-items: start;
}

.profile-grid.has-video {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.intro video {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  background: var(--video-bg);
  border: 1px solid var(--line);
  margin-top: 12px;
}

.meta-list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.meta-list span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-list .flag,
.meta-flag .flag {
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.meta-flag {
  justify-content: flex-start;
}

.fact {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.kit-board {
  position: relative;
  z-index: 3;
  padding: 80px 7vw;
  background: var(--bg);
  transition: background 0.4s ease;
}

.kit-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
  max-width: 980px;
}

.kit-case {
  margin: 0;
}

.kit-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #05070c;
  border: 1px solid var(--line);
  cursor: pointer;
}

.kit-pair img {
  width: 100%;
  max-width: none;
  display: block;
  filter: brightness(0.26) saturate(0.68) contrast(0.94);
  transition: filter 0.55s ease;
}

.kit-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 0, 0, 0.97) 0 8%, transparent 20%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.78) 14%,
      rgba(0, 0, 0, 0.46) 42%,
      rgba(0, 0, 0, 0.58) 100%
    );
  mix-blend-mode: multiply;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.kit-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 22% 14% at 50% 7.5%, rgba(255, 248, 220, 0.7), transparent 72%),
    radial-gradient(ellipse 48% 58% at 50% 34%, rgba(255, 230, 175, 0.28), transparent 74%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  filter: blur(18px);
  transition: opacity 0.55s ease;
}

.kit-case:hover .kit-stage img,
.kit-case:focus-within .kit-stage img,
.kit-case.is-lit .kit-stage img {
  filter: brightness(1.05) saturate(1.06) contrast(1.04);
}

.kit-case:hover .kit-stage::before,
.kit-case:focus-within .kit-stage::before,
.kit-case.is-lit .kit-stage::before {
  opacity: 0;
}

.kit-case:hover .kit-stage::after,
.kit-case:focus-within .kit-stage::after,
.kit-case.is-lit .kit-stage::after {
  opacity: 1;
}

.kit-pair figcaption {
  margin-top: 12px;
  color: var(--hot);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about p,
.join p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.join {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.join .btn {
  margin-top: 16px;
}

footer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 7vw 40px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg);
  transition: background 0.4s ease;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

footer a {
  color: var(--hot);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yt-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hot);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.yt-link svg {
  display: block;
  width: 34px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.yt-link:hover {
  color: var(--hot-2);
}

.nation-band {
  position: relative;
  z-index: 3;
  min-height: 380px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, #4a608c 58%, #6a7ea8 100%);
  border-top: 1px solid var(--line);
}

html[data-theme="light"] .nation-band {
  background:
    linear-gradient(180deg, var(--bg) 0%, #c9c0a8 100%);
}

.nation-band.has-photo {
  min-height: min(56vh, 620px);
  background: #05070c;
}

.nation-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nation-band.has-photo .nation-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px 7vw 28px;
  background: linear-gradient(transparent, rgba(5, 7, 12, 0.78));
  color: #d4b056;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.nation-caption {
  position: relative;
  z-index: 2;
  padding: 22px 7vw 0;
  color: var(--hot);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nation-shadows {
  position: absolute;
  inset: 28px 0 0;
  overflow: hidden;
  color: #05070e;
}

html[data-theme="light"] .nation-shadows {
  color: #071433;
}

.nation-shadows svg.panorama {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.nation-alzhan .herd {
  position: absolute;
  bottom: 4%;
  left: 0;
  display: flex;
  align-items: flex-end;
  gap: 3vw;
  width: max-content;
  animation: herdRun 22s linear infinite;
}

.nation-alzhan .herd svg {
  width: min(28vw, 240px);
  height: auto;
  fill: currentColor;
}

.nation-alzhan .herd svg:nth-child(2),
.nation-alzhan .herd svg:nth-child(5) {
  width: min(18vw, 150px);
  margin-bottom: 12px;
  opacity: 0.75;
}

.nation-alzhan .herd svg:nth-child(3),
.nation-alzhan .herd svg:nth-child(6) {
  width: min(22vw, 190px);
  margin-bottom: 4px;
}

@keyframes herdRun {
  from { transform: translateX(-5%); }
  to { transform: translateX(-55%); }
}

@media (max-width: 980px) {
  .nav {
    padding: 14px 4vw;
    gap: 10px;
    min-height: 64px;
  }

  .nav nav {
    display: none;
  }

  .logo {
    font-size: 25px;
  }

  .nav-end {
    gap: 8px;
    min-width: 0;
    max-width: calc(100% - 108px);
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .kit-btn {
    min-width: 52px;
    padding: 8px 10px;
  }

  .look-extra {
    padding: 8px 10px;
    font-size: 10px;
  }

  .music-btn,
  .nav-cta {
    padding: 8px 10px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 8px 5vw 32px;
    overflow: hidden;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 12vw, 64px);
  }

  .player-page .hero {
    flex-direction: column;
    align-items: stretch;
  }

  .player-page .hero-copy {
    max-width: none;
    flex: none;
  }

  .player-page .stage-wrap {
    width: 100%;
    flex: none;
    height: auto;
    overflow: visible;
    order: -1;
  }

  .player-page .stage,
  .player-page .hud-frame {
    height: 420px;
  }

  .player-title {
    font-size: clamp(28px, 9vw, 44px);
    padding-top: 10px;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stats dd {
    font-size: 32px;
  }

  .player-page .hero-stats dd,
  .player-page .hero-stats dd.pos-stat,
  .player-page .hero-stats dd.nation-stat {
    font-size: 28px;
  }

  .stage-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: 420px;
    order: -1;
    overflow: hidden;
  }

  .stage,
  .floor {
    max-width: 100%;
  }

  .floor {
    width: 100%;
  }

  .hud-frame {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .actor {
    left: 50%;
    width: min(78vw, 360px);
    height: 100%;
  }

  .figure,
  .floor,
  .ring,
  .glow {
    left: 50%;
  }

  .hero-copy {
    padding-top: 12px;
    max-width: none;
  }

  .nav-end {
    margin-left: 0;
  }

  .fav-btn {
    min-width: 0;
    padding: 4px 8px 4px 4px;
  }

  .fav-copy {
    display: none;
  }

  .roster-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid,
  .profile-grid.has-video {
    grid-template-columns: 1fr;
  }

  .kit-pair {
    grid-template-columns: 1fr;
  }

  .honours-row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 5vw;
  }

  .honours strong {
    font-size: clamp(22px, 7vw, 36px);
  }

  .roster,
  .about,
  .join,
  .kit-board,
  .profile {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .roster-head,
  .roster-row {
    grid-template-columns: minmax(0, 1fr) 36px 44px 48px;
    gap: 8px;
    padding: 12px 14px;
  }

  .section-head h2,
  .join h2,
  .profile-facts h2 {
    font-size: clamp(32px, 10vw, 56px);
  }

  .join .btn {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-end {
    width: 100%;
    max-width: none;
    justify-content: flex-end;
  }

  .nation-band {
    min-height: 280px;
  }

  .nation-band.has-photo {
    min-height: min(48vh, 420px);
  }

  .music-label {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .stage-wrap {
    height: 360px;
  }

  .player-page .stage,
  .player-page .hud-frame {
    height: 360px;
  }

  .actor {
    width: min(88vw, 340px);
  }

  .fav-menu {
    min-width: min(280px, calc(100vw - 24px));
    right: -8px;
  }

  .roster-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }

  .footer-meta {
    flex-direction: column;
  }

  .nation-alzhan .herd svg {
    width: 72px;
  }
}
