/* REKT site. Palette from the brand logo (magenta #ef18ac, violet #8c39e8, cyan #62e8fa),
   type from the game UI (Oxanium headings, Rajdhani body), cut corners from Docs/CyberUI.md. */
@font-face { font-family: Oxanium; src: url(assets/fonts/Oxanium-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Oxanium; src: url(assets/fonts/Oxanium-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Rajdhani; src: url(assets/fonts/Rajdhani-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Rajdhani; src: url(assets/fonts/Rajdhani-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0b0816; --bg2: #110b21; --raise: #181030; --raise2: #21173f;
  --line: rgb(140 57 232 / .34); --ink: #f3f0fa; --soft: #b9afcf;
  --mag: #ef18ac; --mag-d: #c90e8e; --vio: #8c39e8; --cyan: #62e8fa;
  --head: Oxanium, "Segoe UI", system-ui, sans-serif; --body: Rajdhani, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1); --snap: cubic-bezier(.7, 0, .2, 1);
  --gut: clamp(20px, 6vw, 96px); --pad: clamp(72px, 12vw, 168px);
  --cut: polygon(6px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 22px 100%, 0 calc(100% - 22px), 0 6px);
  --tshadow: 0 1px 2px rgb(6 3 12 / .9), 0 3px 14px rgb(6 3 12 / .7), 0 12px 44px rgb(6 3 12 / .6);
  --fx-accent: #ef18ac; --fx-ease: var(--ease); --fx-radius: 0px; --fx-gap: 0px;
  --k-ring-color: var(--cyan);
  color-scheme: dark;
}
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body {
  overflow-x: hidden; overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink);
  font: 500 clamp(17px, 1.2vw, 20px)/1.55 var(--body); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
::selection { background: var(--mag); color: #fff; }
:focus-visible { outline: 2px solid var(--mag); outline-offset: 3px; }
.wrap { width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; }
.eyebrow { font: 600 13px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--mag); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* buttons: the CyberUI silhouette, a sheen sweep and an RGB split on hover */
.btn {
  --c: var(--mag-d);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px; font: 700 19px/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; text-decoration: none; background: var(--c); clip-path: var(--cut); isolation: isolate;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1) inset; transition: transform .25s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(120%); }
.btn:hover { text-shadow: -2px 0 rgb(98 232 250 / .8), 2px 0 rgb(140 57 232 / .9); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 0 40px; font-size: 22px; }
.btn[data-fx~="glass"] { background: rgb(201 14 142 / .82); border: 0; }
.link { font: 600 17px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 14px 4px; border: 0; background: none; cursor: pointer; position: relative; }
.link::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 8px; height: 2px; background: var(--cyan); transform: scaleX(.3); transform-origin: left; transition: transform .35s var(--ease); }
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: calc(10px + env(safe-area-inset-top)) var(--gut) 10px; transition: background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgb(11 8 22 / .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; background: linear-gradient(rgb(11 8 22 / .92), rgb(11 8 22 / .6) 60%, transparent); transition: opacity .3s; }
.nav.is-solid::before { opacity: 0; }
.nav-logo { display: flex; align-items: center; min-height: 48px; }
.nav-logo img { width: clamp(96px, 9vw, 128px); height: auto; filter: drop-shadow(0 0 12px rgb(239 24 172 / .35)); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-links a:not(.btn) { font: 600 15px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--soft); padding: 12px 0; position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--mag); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after, .nav-links a.is-here::after { transform: scaleX(1); }
.nav-links a.is-here { color: var(--ink); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; color: var(--ink); cursor: pointer; position: relative; z-index: 2; }
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { position: absolute; left: 12px; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle i { top: 23px; } .nav-toggle i::before, .nav-toggle i::after { content: ""; left: 0; } .nav-toggle i::before { top: -8px; } .nav-toggle i::after { top: 8px; }
.nav-toggle[aria-expanded="true"] i { background: transparent; }
.nav-toggle[aria-expanded="true"] i::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i::after { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px; background: rgb(11 8 22 / .97);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-links a:not(.btn) { font-size: 28px; padding: 14px; }
  .nav-links .btn { margin-top: 16px; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
}

/* ---------- hero ---------- */
.hero { --k-scrim: rgb(11 8 22 / .5); }
.hero .shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(11 8 22 / .56) 0%, rgb(11 8 22 / .32) 52%, transparent 75%),
              linear-gradient(180deg, rgb(11 8 22 / .55), transparent 22%, transparent 70%, rgb(11 8 22 / .7)),
              radial-gradient(ellipse 120% 90% at 50% 45%, transparent 40%, rgb(11 8 22 / .6) 100%); }
.hero .scan { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .18;
  background: repeating-linear-gradient(0deg, rgb(0 0 0 / .5) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.hero .k-band { top: clamp(92px, 15vh, 170px); bottom: auto; max-width: 54rem; text-shadow: var(--tshadow); }
.hero .k-band::before { content: ""; position: absolute; inset: -30% -16% -30% -30%; z-index: -1; background: radial-gradient(closest-side, rgb(11 8 22 / .78), rgb(11 8 22 / .4) 70%, transparent); }
.kicker { display: inline-block; font: 600 clamp(13px, 1vw, 15px)/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; padding: 8px 12px 8px 14px; background: rgb(11 8 22 / .8); clip-path: var(--cut); text-shadow: none; }
.kicker::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); vertical-align: .05em; }

/* Hero type: an outline that each kill in the film fills in. --f is fill (0..1), --q the
   hit flash (1 on the kill frame, decaying). rekt.js sets both from the frame on screen. */
.ht { font: 700 clamp(58px, 9.2vw, 156px)/.92 var(--head); letter-spacing: -.01em; text-transform: uppercase;
  transform: translate3d(calc(var(--run, 1) * -1.6vw), calc(var(--run, 1) * -1vh), 0) scale(calc(1 + var(--run, 1) * .05)); transform-origin: 0 50%; }
.ht-line { position: relative; display: block; width: max-content; transform: scale(calc(1 + var(--q) * .14)) translateX(calc(var(--q) * -.04em)); transform-origin: 0 60%; }
.ht-ghost, .ht-glow { position: absolute; inset: 0; }
.ht-ghost { color: rgb(243 240 250 / .16); -webkit-text-stroke: 2px rgb(243 240 250 / .85); text-shadow: none; opacity: calc(1 - var(--f)); }
.ht-fill { display: block; opacity: var(--f); transform: translateX(calc((1 - var(--f)) * .08em)); }
.ht-glow { color: var(--mag); text-shadow: 0 0 18px var(--mag), 0 0 60px var(--vio); opacity: calc(var(--q) * .9); }
.ht-slash { position: absolute; left: -2%; right: -40vw; top: 52%; height: .06em; background: linear-gradient(90deg, var(--mag), rgb(239 24 172 / .7) 30%, transparent);
  box-shadow: 0 0 22px var(--mag); transform: scaleX(var(--q)); transform-origin: right; opacity: var(--q); }
.lede { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.5; max-width: 34ch; margin-top: 20px; color: var(--ink); text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; margin-top: 20px; text-shadow: none; }
[data-trailer]::before { content: ""; display: inline-block; margin-right: 10px; border: solid transparent; border-width: 6px 0 6px 10px; border-left-color: var(--cyan); }
.trailer { width: min(1280px, 94vw, 150svh); padding: 0; border: 0; background: #000; overflow: visible; }
.trailer::backdrop { background: rgb(6 3 12 / .9); }
.trailer video { display: block; width: 100%; aspect-ratio: 16 / 9; }
.trailer form { position: absolute; right: 0; bottom: 100%; }
.k-static .ht, .k-static .ht-line { transform: none !important; }
.hero.k-static .k-band { top: auto; }
@media (max-width: 860px) and (orientation: portrait) {
  .hero .k-stage {
    --film-height: min(86vw, 48svh);
    display: grid; grid-template: 1fr var(--film-height) / minmax(0, 1fr); gap: 0;
    height: 100svh; padding: 0;
    background: radial-gradient(ellipse at 85% 0%, #311438, transparent 60%), var(--bg);
  }
  .hero .k-stage::after, .hero .k-stage > video[data-k-scrub] {
    grid-area: 2 / 1; position: relative; inset: auto;
    width: 100%; height: 100%; object-fit: cover; object-position: 66% center;
  }
  .hero .k-stage::after { content: ""; background: var(--k-poster) 66% center / cover; z-index: -1; }
  .hero .shade { grid-area: 2 / 1; background: linear-gradient(180deg, rgb(11 8 22 / .24), transparent 18%, transparent 86%, rgb(11 8 22 / .3)); }
  .hero .scan { grid-area: 2 / 1; }
  .hero .k-band { grid-area: 1 / 1; position: relative; inset: auto; align-self: center; padding: calc(64px + env(safe-area-inset-top)) var(--gut) 16px; }
  .hero .k-band::before { display: none; }
  .ht { font-size: clamp(50px, 15vw, 86px); transform: none; }
  .lede { font-size: 19px; margin-top: 12px; }
  /* One row on phones: a shorter trailer label beside a slightly narrower button. */
  .hero-actions { margin-top: 14px; column-gap: 14px; }
  .hero-actions .btn { padding-inline: 18px; }
  .tr-long { display: none; }
  .kicker { font-size: clamp(10.5px, 3.3vw, 13px); letter-spacing: .1em; white-space: nowrap; }
}
@media (max-width: 340px) {
  .hero-actions { column-gap: 10px; }
  .hero-actions .btn { padding-inline: 12px; font-size: 17px; }
}
@media (max-width: 860px) and (orientation: portrait) and (max-height: 700px) {
  .hero .k-stage { --film-height: min(86vw, 42svh); }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero .k-band { top: 72px; }
  .ht { font-size: clamp(40px, 12vh, 64px); }
  .lede, .hero-actions { margin-top: 8px; }
}

/* ---------- intro ---------- */
.intro { position: relative; padding: var(--pad) 0 calc(var(--pad) * .6); overflow: hidden;
  background: radial-gradient(60% 50% at 85% 10%, rgb(140 57 232 / .18), transparent 70%), var(--bg); }
.intro::before { content: ""; position: absolute; inset: auto -20% 0; height: 46%; pointer-events: none; opacity: .5;
  background: linear-gradient(transparent, var(--bg) 92%), repeating-linear-gradient(90deg, rgb(98 232 250 / .16) 0 1px, transparent 1px 80px), repeating-linear-gradient(0deg, rgb(98 232 250 / .16) 0 1px, transparent 1px 80px);
  transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%; animation: floor 6s linear infinite; }
@keyframes floor { to { background-position: 0 0, 0 0, 0 80px; } }
.combo-feature { position: relative; display: grid; grid-template-columns: 2fr 3fr; align-items: center; gap: clamp(24px, 5vw, 80px); }
.intro-big { font: 700 clamp(36px, 4.6vw, 76px)/1.04 var(--head); letter-spacing: -.01em; text-transform: uppercase; }
.intro-sub { font-size: clamp(20px, 1.7vw, 27px); max-width: 36ch; color: var(--soft); margin-top: 16px; }
.combo-film { overflow: hidden; clip-path: var(--cut); background: var(--raise); }
.combo-film video { width: 100%; aspect-ratio: 16 / 9; }
@media (max-width: 720px) {
  .combo-feature { grid-template-columns: 1fr; gap: 20px; }
  .intro { padding-top: 42px; }
}
.stats { position: relative; list-style: none; margin: clamp(56px, 8vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stats li { position: relative; padding: 28px 24px 26px; background: rgb(24 16 48 / .7); clip-path: var(--cut); }
.stats li::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, var(--mag), var(--vio) 60%, transparent); }
.stats b { display: block; font: 700 clamp(48px, 5.4vw, 88px)/1 var(--head); color: var(--ink); text-shadow: 0 0 30px rgb(239 24 172 / .45); }
.stats span { display: block; margin-top: 10px; color: var(--soft); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
.ticker { position: relative; margin-top: clamp(64px, 9vw, 120px); transform: rotate(-2.5deg); background: var(--mag-d); padding: 14px 0; box-shadow: 0 0 40px rgb(239 24 172 / .35); }
.ticker [data-fx~="marquee"] { -webkit-mask-image: none; mask-image: none; }
.ticker span { font: 700 clamp(22px, 2.4vw, 38px)/1 var(--head); text-transform: uppercase; letter-spacing: .04em; color: #fff; white-space: nowrap; padding-right: 1.4em; }
.ticker span::after { content: "×"; margin-left: 1.2em; color: rgb(255 255 255 / .6); }

/* ---------- arsenal rail ---------- */
.arsenal { background: linear-gradient(var(--bg), var(--bg2)); }
.arsenal .fx-rail-track { align-items: center; padding-block: 90px 40px; }
.arm-intro { width: min(460px, 80vw); padding-right: 2vw; }
.arm-intro h2 { font: 700 clamp(40px, 4.4vw, 72px)/1 var(--head); text-transform: uppercase; }
.arm-intro p:last-child { color: var(--soft); margin-top: 22px; max-width: 32ch; }
.arm { position: relative; margin: 0; width: clamp(300px, 42vw, 760px); }
.arsenal .fx-rail-stage { isolation: isolate; }
.arsenal .fx-rail-stage::before { content: "ARSENAL"; position: absolute; left: 4vw; top: 50%; z-index: -1; pointer-events: none; font: 700 26vw/1 var(--head); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(140 57 232 / .22); transform: translate3d(calc(var(--fx-p, 0) * -34vw), -50%, 0); }
.arm-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; clip-path: var(--cut); background: var(--raise); }
.arm-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgb(11 8 22 / .55)); }
.arm-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .8s var(--ease); }
.arm:hover .arm-media video { transform: scale(1.1); }
.arm figcaption { padding: 22px 6px 0; border-top: 0; position: relative; }
.arm figcaption::before { content: ""; position: absolute; left: 6px; top: 10px; width: 46px; height: 3px; background: var(--mag); box-shadow: 0 0 14px var(--mag); transform: scaleX(.4); transform-origin: left; transition: transform .5s var(--ease); }
.arm:hover figcaption::before { transform: scaleX(1); }
.arm h3 { font: 700 clamp(24px, 2vw, 34px)/1.1 var(--head); text-transform: uppercase; margin-top: 8px; }
.arm p { color: var(--soft); margin-top: 8px; max-width: 36ch; }
@media (max-width: 720px) {
  .arsenal .fx-rail-track { padding-block: 72px 24px; }
  .arm { width: 82vw; }
  .arm-intro { width: 82vw; }
  .arsenal .fx-rail-stage::before { display: none; }
}

/* ---------- sector expand ---------- */
.sector { background: var(--bg2); }
.fx-expand-media video { width: 100%; height: 100%; object-fit: cover; }
.fx-expand-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, transparent 30%, rgb(11 8 22 / .75)); opacity: var(--fx-p, 1); }
.fx-apart { font: 700 clamp(64px, 13vw, 230px)/1 var(--head); letter-spacing: -.02em; color: var(--ink); text-shadow: 0 0 40px rgb(239 24 172 / .5); }
.fx-apart > :last-child { color: var(--mag); }
.fx-apart > * { opacity: calc(1 - var(--fx-p, 1) * 1.25); }
.fx-expand-text { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(48px, 10vh, 120px); max-width: 40rem; text-shadow: var(--tshadow); }
.fx-expand-text h2 { font: 700 clamp(40px, 4.6vw, 80px)/1 var(--head); text-transform: uppercase; }
.fx-expand-text p { margin-top: 16px; font-size: clamp(19px, 1.5vw, 23px); }
.fx-still .fx-expand-text { position: relative; left: 0; padding: 120px var(--gut) 60px; }

.districts { padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; background: var(--bg2); }
.drow { font: 700 clamp(56px, 9vw, 150px)/1.05 var(--head); text-transform: uppercase; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1.5px rgb(185 175 207 / .45); transform: translate3d(var(--sx, 0px), 0, 0); will-change: transform; }
.drow.alt { -webkit-text-stroke-color: rgb(239 24 172 / .65); margin-left: -30vw; }

/* ---------- roster ---------- */
.roster { padding: var(--pad) 0; background: radial-gradient(70% 60% at 15% 60%, rgb(239 24 172 / .1), transparent 70%), var(--bg2); }
.roster-head h2 { font: 700 clamp(40px, 4.6vw, 76px)/1 var(--head); text-transform: uppercase; }
.roster-head p:last-child { color: var(--soft); margin-top: 16px; max-width: 40ch; }
.ro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.ro-stage { position: relative; aspect-ratio: 1; max-width: 640px; clip-path: var(--cut); background: var(--raise); }
.ro-img, .ro-pic, .ro-pic i { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ro-pic { z-index: 2; pointer-events: none; }
.ro-pic i { background: var(--pimg) center / cover; opacity: 0; }
.ro-pic i:nth-child(1) { clip-path: inset(12% 0 64% 0); } .ro-pic i:nth-child(2) { clip-path: inset(46% 0 38% 0); } .ro-pic i:nth-child(3) { clip-path: inset(74% 0 8% 0); }
.ro-stage.is-glitch .ro-pic i { animation: slice .42s steps(6) both; }
.ro-stage.is-glitch .ro-pic i:nth-child(2) { animation-delay: .05s; animation-direction: reverse; }
.ro-stage.is-glitch .ro-img { animation: swapin .5s var(--ease) both; }
@keyframes slice { 0% { opacity: 1; transform: translateX(-8%); } 40% { transform: translateX(6%); } 70% { transform: translateX(-3%); } 100% { opacity: 0; transform: none; } }
@keyframes swapin { from { opacity: .2; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.ro-info { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 80px 28px 26px; background: linear-gradient(transparent, rgb(11 8 22 / .9)); text-shadow: var(--tshadow); }
.ro-idx { font: 600 14px/1 var(--head); letter-spacing: .2em; color: var(--cyan); }
.ro-name { font: 700 clamp(44px, 6vw, 96px)/1 var(--head); margin-top: 8px; letter-spacing: -.01em; }
.ro-fit { margin-top: 8px; color: var(--soft); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ro-fit b { color: var(--mag); font-weight: 600; }
.ro-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ro-grid button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--raise); color: var(--ink); cursor: pointer; clip-path: var(--cut); aspect-ratio: 1; overflow: hidden; }
.ro-grid img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.6); transition: opacity .3s, transform .5s var(--ease); }
.ro-grid span { position: absolute; left: 10px; bottom: 8px; font: 700 clamp(13px, 1.1vw, 17px)/1 var(--head); letter-spacing: .1em; text-transform: uppercase; text-shadow: var(--tshadow); }
.ro-grid button:hover img, .ro-grid button:focus-visible img { opacity: .9; transform: scale(1.06); }
.ro-grid button[aria-pressed="true"] img { opacity: 1; filter: none; }
.ro-grid button[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--mag), inset 0 0 30px rgb(239 24 172 / .5); }
.ro-grid button:focus-visible { outline-offset: -4px; }
@media (max-width: 860px) { .ro { grid-template-columns: 1fr; } .ro-stage { max-width: none; } }

/* ---------- standings ---------- */
.standings { position: relative; padding: var(--pad) 0; background: linear-gradient(var(--bg2), var(--bg)); overflow: hidden; }
.standings::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 119px, rgb(140 57 232 / .1) 119px 120px); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.lb-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.lb-head h2 { font: 700 clamp(44px, 5.4vw, 92px)/1 var(--head); text-transform: uppercase; }
.lb-status { display: flex; align-items: center; gap: 10px; margin-top: 16px; font: 600 15px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.lb-status i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--soft); }
.lb-status[data-state="live"] i { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.6s ease-in-out infinite; }
.lb-status[data-state="live"] { color: var(--cyan); }
.lb-status[data-state="recorded"] i { background: var(--mag); }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.lb-controls { display: flex; flex-wrap: wrap; gap: 14px; }
.lb-tabs { display: flex; gap: 2px; }
.lb-tabs button { min-height: 46px; padding: 0 20px; border: 0; background: var(--raise); color: var(--soft); font: 700 15px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; clip-path: var(--cut); transition: color .2s, background .2s; }
.lb-tabs button:hover { color: var(--ink); }
.lb-tabs button[aria-selected="true"] { background: var(--mag-d); color: #fff; }
.lb-search input { width: min(260px, 100%); min-height: 46px; padding: 0 16px; border: 1px solid var(--line); background: rgb(11 8 22 / .6); color: var(--ink); font: 600 17px/1 var(--body); letter-spacing: .04em; clip-path: var(--cut); }
.lb-search input::placeholder { color: rgb(185 175 207 / .75); }
.lb-search input:focus-visible { outline: none; border-color: var(--mag); box-shadow: inset 0 0 0 1px var(--mag); }

.lb-podium { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; }
.lb-podium:empty { display: none; }
.pod { position: relative; padding: 26px 26px 24px; background: linear-gradient(160deg, var(--raise2), var(--raise)); clip-path: var(--cut); overflow: hidden; }
.pod::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c, var(--vio)); box-shadow: 0 0 18px var(--c, var(--vio)); }
.pod[data-rank="1"] { --c: var(--mag); background: linear-gradient(160deg, #3a1046, var(--raise)); }
.pod[data-rank="2"] { --c: var(--cyan); }
.pod-rank { font: 700 clamp(56px, 6vw, 96px)/.8 var(--head); color: transparent; -webkit-text-stroke: 1.5px var(--c, var(--vio)); position: absolute; right: 18px; top: 18px; opacity: .8; }
.pod-name { font: 700 clamp(24px, 2.2vw, 36px)/1.1 var(--head); overflow-wrap: anywhere; padding-right: 70px; }
.pod-val { font: 700 clamp(48px, 4.6vw, 76px)/1 var(--head); margin-top: 18px; color: var(--ink); font-variant-numeric: tabular-nums; text-shadow: 0 0 26px var(--c, var(--vio)); }
.pod-meta { margin-top: 6px; color: var(--soft); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }

.lb-table { width: 100%; margin-top: 18px; border-collapse: separate; border-spacing: 0 4px; font-variant-numeric: tabular-nums; }
.lb-table thead th { text-align: left; font: 600 13px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); padding: 10px 18px; }
.lb-table tbody tr { background: rgb(24 16 48 / .72); }
.lb-table td { padding: 14px 18px; font-size: 19px; font-weight: 600; }
.lb-table td:first-child { width: 4.5em; font-family: var(--head); color: var(--cyan); }
.lb-table td:nth-child(2) { overflow-wrap: anywhere; }
.lb-table td:nth-child(3) { width: 40%; }
.lb-table td:last-child { width: 6em; color: var(--soft); }
.bar { display: flex; align-items: center; gap: 14px; }
.bar b { min-width: 3ch; font-family: var(--head); }
.bar i { flex: 1; height: 4px; background: rgb(140 57 232 / .2); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--vio), var(--mag)); transform: scaleX(var(--w, 0)); transform-origin: left; transition: transform 1s var(--ease); }
.is-new .lb-table tbody tr, .is-new .pod { animation: rowin .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rowin { from { opacity: 0; transform: translateX(-24px); } }
.lb-empty { margin-top: 26px; color: var(--soft); font-size: 20px; }
.lb-more { margin-top: 18px; }
.lb-note { margin-top: 30px; color: var(--soft); font-size: 16px; }
.lb-skel { height: 160px; background: linear-gradient(90deg, var(--raise) 30%, var(--raise2) 50%, var(--raise) 70%) 0 0 / 300% 100%; clip-path: var(--cut); animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
@media (max-width: 860px) {
  .lb-podium { grid-template-columns: 1fr; }
  .lb-table td:last-child, .lb-table th:last-child { display: none; }
  .lb-table td { padding: 12px 12px; } .lb-table td:nth-child(3) { width: 42%; }
}

/* ---------- join ---------- */
.join { position: relative; padding: calc(var(--pad) * 1.1) 0; text-align: center; overflow: hidden; }
.join-in { display: grid; justify-items: center; gap: 22px; }
.join-logo { width: min(640px, 90%); height: auto; filter: drop-shadow(0 0 40px rgb(239 24 172 / .45)); animation: hum 4s ease-in-out infinite; }
@keyframes hum { 50% { transform: translateY(-8px) scale(1.01); } }
.join h2 { font: 700 clamp(36px, 4.4vw, 72px)/1.05 var(--head); text-transform: uppercase; max-width: 18ch; }
.join p { color: var(--ink); max-width: 44ch; font-size: clamp(19px, 1.5vw, 23px); }
.join .join-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; max-width: none; }
.share-note { min-height: 1.5em; color: var(--cyan); font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); color: var(--soft); font-size: 16px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: var(--soft); text-decoration-color: var(--line); }
.foot a:hover { color: var(--ink); }

/* section headings arrive with a laser line drawn under them */
.k-on [data-k-in] h2::after, .k-on h2[data-k-in]::after { content: ""; display: block; width: 120px; height: 3px; margin-top: 18px; background: var(--mag); box-shadow: 0 0 16px var(--mag); transform: scaleX(0); transform-origin: left; transition: transform .9s .25s var(--ease); }
.k-on .join h2[data-k-in]::after { margin-inline: auto; transform-origin: center; }
.k-on .is-in h2::after, .k-on h2.is-in::after { transform: scaleX(1); }

/* the laser you fire by clicking (desktop pointers only) */
.laser-fx { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  html.can-fire, html.can-fire a, html.can-fire button, html.can-fire input { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg fill='none' stroke='%23ef18ac' stroke-width='2'%3E%3Ccircle cx='16' cy='16' r='9'/%3E%3Cpath d='M16 1v8M16 23v8M1 16h8M23 16h8'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='1.6' fill='%23fff'/%3E%3C/svg%3E") 16 16, crosshair; }
  html.can-fire input[type="search"] { cursor: text; }
}
@media (pointer: coarse) { .btn, .lb-tabs button, .link { min-height: 48px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro::before, .join-logo, .lb-status i, .lb-skel { animation: none !important; }
  .drow { transform: none !important; }
  .is-new .lb-table tbody tr, .is-new .pod, .ro-stage.is-glitch * { animation: none !important; }
  .bar i::after { transition: none; }
}

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 40px var(--gut); text-align: center;
  background: radial-gradient(60% 50% at 50% 40%, rgb(239 24 172 / .14), transparent 70%), var(--bg); }
.lost img { width: min(420px, 80vw); height: auto; filter: drop-shadow(0 0 30px rgb(239 24 172 / .4)); }
.lost h1 { font: 700 clamp(40px, 6vw, 88px)/1 var(--head); text-transform: uppercase; }
.lost p:last-child { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 26px; margin-top: 10px; }
