/* ==========================================================================
   NETOKSSIK — design system
   Concept: NeTokssik — tactical HUD dossier on the Farm map.
   ========================================================================== */

:root {
  --bg: #0a0b08;
  --bg-2: #10120d;
  --bg-3: #171a12;
  --panel: rgba(23, 26, 18, .72);
  --line: rgba(233, 231, 223, .10);
  --line-2: rgba(233, 231, 223, .18);
  --text: #ecebe3;
  --muted: #8f9185;
  --dim: #5d6056;
  --acid: #d4ff3a;
  --acid-2: #b6e01f;
  --acid-glow: rgba(212, 255, 58, .35);
  --orange: #ff6b2c;
  --red: #ff3b3b;
  --gold: #f4c95d;
  --silver: #c9ccd1;
  --bronze: #d08a52;

  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Consolas', monospace;

  --fs-h1: clamp(46px, 7.4vw, 132px);
  --fs-h2: clamp(34px, 4.8vw, 82px);
  --fs-h3: clamp(21px, 1.9vw, 30px);
  --fs-lead: clamp(17px, 1.35vw, 21px);

  --pad: clamp(16px, 3.2vw, 48px);
  --max: 1520px;
  --header-h: 76px;
  --r: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
/* no text highlighting on the site (fields stay editable/selectable) */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable] { -webkit-user-select: text; user-select: text; }
::selection { background: var(--acid); color: #0a0b08; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
[hidden] { display: none !important; }

/* grain + scanline overlay */
body::after {
  content: '';
  position: fixed; inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .92;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.05; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: #cfcfc6; max-width: 62ch; }
.muted { color: var(--muted); }
.acid { color: var(--acid); }
.orange { color: var(--orange); }
.outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.outline.acid { -webkit-text-stroke-color: var(--acid); }
.mono, .eyebrow, .tag, .hud-label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--acid); }
.eyebrow b { color: var(--acid); font-weight: 500; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--text);
  white-space: nowrap;
  font-size: 11px;
}
.tag--acid { border-color: var(--acid); color: var(--acid); }
.tag--orange { border-color: var(--orange); color: var(--orange); }
.tag--solid { background: var(--acid); color: #0a0b08; border-color: var(--acid); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(80px, 11vw, 180px) 0; }
.section--tight { padding: clamp(56px, 7vw, 110px) 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.section-head .h2 { margin-top: 18px; }
.section-head p { max-width: 46ch; color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.stack > * + * { margin-top: 18px; }

/* section index ruler: [02] ————— ЭФИР */
.ruler {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.ruler::after { content: ''; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 8px); }
.ruler b { color: var(--acid); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 26px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text);
  background: var(--bg-btn);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--acid);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #0a0b08; border-color: var(--acid); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--acid { --bg-btn: var(--acid); color: #0a0b08; border-color: var(--acid); }
.btn--acid::before { background: var(--text); }
.btn--acid:hover { border-color: var(--text); }
.btn--orange { --bg-btn: var(--orange); color: #0a0b08; border-color: var(--orange); }
.btn--orange::before { background: var(--text); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 12px; }
.btn--lg { height: 68px; padding: 0 34px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  color: var(--acid);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color .3s;
}
.link-arrow:hover { border-color: var(--acid); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- HUD brackets ---------- */
.hud { position: relative; }
.hud::before, .hud::after,
.hud > .hud-c::before, .hud > .hud-c::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--acid);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}
.hud::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hud::after { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.hud > .hud-c::before { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.hud > .hud-c::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hud > .hud-c { position: absolute; inset: 0; pointer-events: none; }

/* ---------- panels / cards ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(28, 32, 22, .78), rgba(16, 18, 13, .78));
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.panel-pad { padding: clamp(22px, 2.6vw, 40px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--pad);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 11, 8, .78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 900; font-size: 15px; letter-spacing: -.02em;
  color: #0a0b08; background: var(--acid);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: transform .6s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-90deg); }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.brand-name i { font-style: normal; color: var(--acid); }

.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #c9c9c0;
  transition: color .3s;
}
.nav a::before {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--acid);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::before, .nav a.is-active::before { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--acid); }
.nav .nav-hot { color: var(--acid); }
.nav .nav-hot sup { font-size: 9px; margin-left: 4px; color: #0a0b08; background: var(--acid); padding: 1px 4px; border-radius: 2px; vertical-align: 4px; }

.header-right { display: flex; align-items: center; gap: 12px; flex: none; }

.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  transition: border-color .3s, color .3s, background .3s;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.is-live .live-dot, .live-dot.is-on { background: var(--red); box-shadow: 0 0 0 0 rgba(255, 59, 59, .6); animation: livePulse 1.6s infinite; }
.live-pill.is-live { color: var(--text); border-color: rgba(255, 59, 59, .55); background: rgba(255, 59, 59, .08); }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 59, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); } }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 2px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; width: 12px; left: auto; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* fullscreen menu */
.menu {
  position: fixed; inset: 0;
  z-index: 790;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--pad) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-in-out);
  overflow-y: auto;
  overflow-x: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-links { display: flex; flex-direction: column; margin-top: auto; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 8vw, 64px); line-height: 1; letter-spacing: -.02em;
  transform: translateY(40px); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s;
}
.menu-links a { flex-wrap: wrap; align-items: center; }
.menu-hot { font-size: .42em; color: #0a0b08; background: var(--acid); padding: .2em .45em; border-radius: 2px; letter-spacing: 0; line-height: 1; }
.menu-links a:hover { color: var(--acid); }
.menu-open .menu-links a { transform: none; opacity: 1; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; padding: clamp(80px, 10vw, 140px) 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.footer-cta .h2 { max-width: 14ch; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-top: clamp(60px, 7vw, 110px); }
.footer-grid h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { color: #d9d8d0; transition: color .25s; }
.footer-grid a:hover { color: var(--acid); }
.footer-giant {
  margin-top: clamp(50px, 7vw, 100px);
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(233, 231, 223, .22);
  white-space: nowrap; text-align: center;
  user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ==========================================================================
   CURSOR · CURTAIN · PRELOADER · TOAST
   ========================================================================== */
.curtain {
  position: fixed; inset: 0; z-index: 9800;
  pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.curtain i { background: var(--acid); transform: scaleY(0); transform-origin: bottom; }
.curtain i:nth-child(even) { background: #0f110c; }
.curtain.is-in i { animation: curtainIn .55s var(--ease-in-out) forwards; }
.curtain.is-out i { transform: scaleY(1); transform-origin: top; animation: curtainOut .7s var(--ease-in-out) forwards; }
.curtain i:nth-child(2) { animation-delay: .04s !important; }
.curtain i:nth-child(3) { animation-delay: .08s !important; }
.curtain i:nth-child(4) { animation-delay: .12s !important; }
.curtain i:nth-child(5) { animation-delay: .16s !important; }
.curtain.is-gone i { animation: none !important; transform: scaleY(0) !important; }
@keyframes curtainIn { to { transform: scaleY(1); } }
@keyframes curtainOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }

.preloader {
  position: fixed; inset: 0; z-index: 9900;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px var(--pad);
  transition: clip-path 1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader-top, .preloader-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.preloader-count { font-family: var(--f-display); font-weight: 900; font-size: clamp(90px, 22vw, 340px); line-height: .8; letter-spacing: -.05em; }
.preloader-count small { font-size: .25em; color: var(--acid); vertical-align: top; margin-left: .1em; }
.preloader-bar { height: 2px; background: var(--line); position: relative; overflow: hidden; margin-top: 18px; }
.preloader-bar i { position: absolute; inset: 0; background: var(--acid); transform-origin: left; transform: scaleX(0); }
.preloader-log { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; min-height: 1.5em; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 9600;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--acid); color: #0a0b08;
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px;
  transition: transform .6s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast.is-show { transform: translate(-50%, 0); }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }
.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.img-reveal::after { content: ''; position: absolute; inset: 0; background: var(--acid); transform-origin: right; transition: transform 1.1s var(--ease-in-out); z-index: 2; }
.img-reveal.is-in img { transform: scale(1); }
.img-reveal.is-in::after { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { position: relative; overflow: hidden; white-space: nowrap; display: flex; user-select: none; }
.marquee-track { display: flex; flex: none; animation: marquee var(--speed, 38s) linear infinite; }
.marquee--reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.band {
  background: var(--acid); color: #0a0b08;
  padding: 18px 0;
  transform: rotate(-2deg) scale(1.04);
  position: relative; z-index: 5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.band--dark { background: #12140f; color: var(--text); transform: rotate(1.6deg) scale(1.04); margin-top: -46px; border-block: 1px solid var(--line); }
.band span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.01em;
}
.band span::after { content: '✦'; font-size: .6em; }
.band--dark span::after { color: var(--acid); }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 680px; max-height: 1200px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: -4%; z-index: -3; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: saturate(.75) brightness(.6) contrast(1.05); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 70% at 50% 100%, transparent 30%, rgba(10, 11, 8, .5) 75%),
    linear-gradient(180deg, rgba(10, 11, 8, .65) 0%, rgba(10, 11, 8, .05) 30%, rgba(10, 11, 8, .2) 62%, var(--bg) 97%);
}
.topo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .5; mix-blend-mode: screen; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 80%);
  opacity: .5;
}
.hero-title {
  position: absolute; left: 0; right: 0;
  bottom: clamp(150px, 25vh, 300px);
  z-index: 1;
  text-align: center;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  line-height: .78; letter-spacing: -.045em;
  white-space: nowrap;
  color: var(--text);
  pointer-events: none;
}
.hero-title .ch { display: inline-block; transform: translateY(110%); opacity: 0; }
.is-ready .hero-title .ch { transform: none; opacity: 1; transition: transform 1.3s var(--ease), opacity 1.3s var(--ease); transition-delay: calc(var(--i) * 55ms + .1s); }
.hero-title--stroke { z-index: 3; color: transparent; -webkit-text-stroke: 1.5px rgba(212, 255, 58, .95); }
.hero-title--fill { text-shadow: 0 0 80px rgba(0, 0, 0, .5); }
.hero-person {
  position: absolute; left: 50%; bottom: 0;
  z-index: 2;
  height: min(94%, 1060px);
  aspect-ratio: 1100 / 1375;
  transform: translateX(-50%);
  will-change: transform;
}
.hero-person img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)) contrast(1.03);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 99%);
  opacity: 0; transform: translateY(6%) scale(1.02);
  transition: opacity 1.6s var(--ease), transform 1.8s var(--ease);
}
.is-ready .hero-person img { opacity: 1; transform: none; }
.hero-glow { position: absolute; left: 50%; bottom: -20%; width: 70vw; height: 70vh; transform: translateX(-50%); z-index: 1; background: radial-gradient(closest-side, rgba(212, 255, 58, .14), transparent); pointer-events: none; }

.hero-hud { position: absolute; inset: calc(var(--header-h) + 18px) var(--pad) 28px; z-index: 4; pointer-events: none; }
.hero-hud > * { pointer-events: auto; }
.hud-tl { position: absolute; top: 0; left: 0; display: grid; gap: 8px; }
.hud-tr { position: absolute; top: 0; right: 0; display: grid; gap: 8px; justify-items: end; text-align: right; }
.hud-bl { position: absolute; left: 0; bottom: 0; max-width: 360px; }
.hud-br { position: absolute; right: 0; bottom: 0; display: grid; gap: 12px; justify-items: end; }
.hud-row { display: flex; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hud-row b { color: var(--text); font-weight: 500; }
.hud-row b.acid { color: var(--acid); }
.hud-bl p { font-size: 15px; color: #cfcfc6; line-height: 1.55; margin-top: 14px; }
.partner-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(212, 255, 58, .35);
  background: rgba(10, 11, 8, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
}
.partner-badge .seal { width: 34px; height: 34px; border-radius: 50%; background: var(--acid); color: #0a0b08; display: grid; place-items: center; flex: none; }
.partner-badge .seal svg { width: 18px; height: 18px; }
.partner-badge small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); }
.partner-badge strong { font-family: var(--f-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.scroll-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--acid), transparent); animation: scrollHint 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollHint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.crosshair { position: absolute; z-index: 4; width: 120px; height: 120px; margin: -60px 0 0 -60px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.hero:hover .crosshair { opacity: .9; }
.crosshair svg { width: 100%; height: 100%; }
.crosshair-coords { position: absolute; left: 68px; top: 66px; font-family: var(--f-mono); font-size: 10px; color: var(--acid); letter-spacing: .1em; white-space: nowrap; }

/* ==========================================================================
   HOME — LIVE
   ========================================================================== */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(24px, 3vw, 56px); align-items: stretch; }
.live-info { display: flex; flex-direction: column; gap: 22px; }
.live-status { display: flex; align-items: center; gap: 14px; }
.live-status .live-dot { width: 12px; height: 12px; }
.live-status strong { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
}
.player-poster { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.player-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.7); transition: transform 1.2s var(--ease), filter .6s; }
.player-poster:hover img { transform: scale(1.04); filter: brightness(.55) saturate(.85); }
.play-btn {
  position: relative; z-index: 2;
  width: clamp(84px, 9vw, 130px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid); color: #0a0b08;
  display: grid; place-items: center;
  transition: transform .5s var(--ease);
}
.play-btn::before { content: ''; position: absolute; inset: -14px; border: 1px solid rgba(212, 255, 58, .45); border-radius: 50%; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.play-btn svg { width: 32%; height: 32%; margin-left: 6%; }
.player-poster:hover .play-btn { transform: scale(1.08); }
.player-meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   HOME — DOSSIER
   ========================================================================== */
.dossier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.dossier-photo { position: relative; aspect-ratio: 4 / 5; }
.dossier-photo .frame { position: absolute; inset: 0; overflow: hidden; border: 1px solid var(--line); }
.dossier-photo img { width: 100%; height: 100%; object-fit: cover; }
.dossier-photo .stamp {
  position: absolute; right: -18px; top: 34px; z-index: 4;
  padding: 10px 14px;
  border: 2px solid var(--orange); color: var(--orange);
  font-family: var(--f-display); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(8deg);
  background: rgba(10, 11, 8, .6);
}
.dossier-photo .scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(212, 255, 58, .18) 50%, transparent 52%); background-size: 100% 220%; animation: scan 4.5s linear infinite; mix-blend-mode: screen; }
@keyframes scan { from { background-position: 0 -120%; } to { background-position: 0 120%; } }
.dossier-photo figcaption { position: absolute; left: 0; right: 0; bottom: -34px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.dossier-text .h2 { margin: 20px 0 28px; }
.dossier-text p + p { margin-top: 16px; }
.dossier-specs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: 40px; }
.dossier-specs div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.dossier-specs div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.dossier-specs div:nth-child(even) { padding-left: 24px; }
.dossier-specs dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.dossier-specs dd { margin: 8px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.3vw, 36px); text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.dossier-specs dd small { display: block; margin-top: 8px; font-family: var(--f-body); font-weight: 500; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--muted); }

/* ==========================================================================
   SOCIAL LIST (extraction points)
   ========================================================================== */
.xlist { border-top: 1px solid var(--line); }
.xrow {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto 70px;
  align-items: center; gap: 20px;
  padding: clamp(18px, 2.4vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.xrow::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--acid)); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.xrow:hover::before { transform: scaleY(1); }
.xrow-idx { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; padding-left: 4px; transition: color .4s; }
.xrow-name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 5.6vw, 92px); line-height: .95; letter-spacing: -.03em; transition: transform .6s var(--ease), color .4s; }
.xrow-meta { text-align: right; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; transition: color .4s; }
.xrow-meta b { display: block; color: var(--text); font-weight: 500; margin-bottom: 4px; transition: color .4s; }
.xrow-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; justify-self: end; margin-right: 4px; transition: transform .6s var(--ease), border-color .4s, background .4s, color .4s; }
.xrow-arrow svg { width: 22px; height: 22px; transform: rotate(-45deg); transition: transform .6s var(--ease); }
.xrow:hover .xrow-name { transform: translateX(16px); color: var(--ink, #0a0b08); }
.xrow:hover .xrow-idx, .xrow:hover .xrow-meta, .xrow:hover .xrow-meta b { color: var(--ink, #0a0b08); }
.xrow:hover .xrow-arrow { border-color: var(--ink, #0a0b08); background: var(--ink, #0a0b08); color: var(--c, var(--acid)); }
.xrow:hover .xrow-arrow svg { transform: rotate(0); }
.xrow-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.08em; margin-right: .25em; }

/* ==========================================================================
   PROMO (partner) block
   ========================================================================== */
.promo {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  min-height: 620px;
  display: grid; align-items: end;
  isolation: isolate;
}
.promo-bg { position: absolute; inset: 0; z-index: -2; }
.promo-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); }
.promo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 8, .92) 0%, rgba(10, 11, 8, .55) 50%, rgba(10, 11, 8, .2) 100%), linear-gradient(0deg, rgba(10, 11, 8, .8), transparent 50%); }
.promo-inner { padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.promo-big { font-family: var(--f-display); font-weight: 900; font-size: clamp(96px, 14vw, 250px); white-space: nowrap; line-height: .78; letter-spacing: -.06em; color: var(--acid); text-shadow: 0 0 120px rgba(212, 255, 58, .35); }
.promo-big sup { font-size: .32em; vertical-align: top; position: relative; top: .25em; letter-spacing: -.02em; }
.code-box {
  display: flex; align-items: stretch;
  border: 1px dashed rgba(212, 255, 58, .6);
  background: rgba(10, 11, 8, .7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.code-box .code { flex: 1; padding: 16px 22px; }
.code-box .code small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.code-box .code strong { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: .04em; text-transform: none; line-height: 1.1; }
.promo-code { text-transform: none !important; font-weight: inherit; }
.code-box button { padding: 0 22px; background: var(--acid); color: #0a0b08; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: background .3s; }
.code-box button:hover { background: var(--text); }
.code-box button svg { width: 18px; height: 18px; }

/* ==========================================================================
   TACTICAL MAP
   ========================================================================== */
.tmap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0e0a;
  isolation: isolate;
}
.tmap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.75) contrast(1.1); transform: scale(1.04); transition: transform 1.2s var(--ease); }
.tmap::before { content: ''; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(212, 255, 58, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 255, 58, .09) 1px, transparent 1px); background-size: calc(100% / 12) calc(100% / 6.75); pointer-events: none; }
.tmap::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(100% 100% at 50% 50%, transparent 50%, rgba(10, 11, 8, .75)); pointer-events: none; }
.radar { position: absolute; z-index: 2; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; transform: translate(-50%, -50%); background: conic-gradient(from 0deg, rgba(212, 255, 58, .22), transparent 14%, transparent); border-radius: 50%; animation: radar 7s linear infinite; pointer-events: none; mix-blend-mode: screen; }
@keyframes radar { to { transform: translate(-50%, -50%) rotate(360deg); } }
.tmap-axis { position: absolute; z-index: 3; font-family: var(--f-mono); font-size: 10px; color: rgba(212, 255, 58, .7); letter-spacing: .1em; pointer-events: none; }
.tmap-axis--x { left: 0; right: 0; top: 8px; display: flex; justify-content: space-around; }
.tmap-axis--y { top: 0; bottom: 0; left: 10px; display: flex; flex-direction: column; justify-content: space-around; }
.poi { position: absolute; z-index: 4; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; }
.poi-dot { position: relative; width: 22px; height: 22px; border: 2px solid var(--acid); transform: rotate(45deg); background: rgba(10, 11, 8, .6); transition: background .3s, transform .5s var(--ease); }
.poi-dot::after { content: ''; position: absolute; inset: 5px; background: var(--acid); }
.poi-dot::before { content: ''; position: absolute; inset: -10px; border: 1px solid rgba(212, 255, 58, .5); animation: ring 2.2s var(--ease) infinite; }
.poi--orange .poi-dot { border-color: var(--orange); }
.poi--orange .poi-dot::after { background: var(--orange); }
.poi--orange .poi-dot::before { border-color: rgba(255, 107, 44, .5); }
.poi-label { padding: 6px 10px; background: rgba(10, 11, 8, .85); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.poi-label small { color: var(--acid); margin-right: 6px; }
.poi:hover .poi-dot { transform: rotate(225deg) scale(1.15); }
.poi:hover .poi-label { background: var(--acid); color: #0a0b08; border-color: var(--acid); }
.poi:hover .poi-label small { color: #0a0b08; }
.tmap--real { aspect-ratio: 1960 / 835; background: #141615; }
.tmap--real > img { filter: contrast(1.08) saturate(1.15) brightness(1.05); transform: none; }
.tmap--real::before { display: none; }
.tmap--real::after { background: radial-gradient(120% 120% at 50% 45%, transparent 55%, rgba(10, 11, 8, .55)); }
.nav .nav-streamer { color: var(--orange); }
.nav .nav-streamer::before { background: var(--orange); }

/* streamer hub (/stream/) */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hub-card .h2 { font-size: clamp(30px, 3.2vw, 56px); }
@media (max-width: 1080px) { .hub { grid-template-columns: 1fr 1fr; } }
.hub-card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 460px; display: flex; align-items: flex-end;
  border: 1px solid var(--line);
  transition: border-color .4s, transform .6s var(--ease);
}
.hub-card:hover { border-color: rgba(212, 255, 58, .5); transform: translateY(-4px); }
.hub-card-bg { position: absolute; inset: 0; z-index: -2; }
.hub-card-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.85); transition: transform 1.2s var(--ease), filter .6s; }
.hub-card:hover .hub-card-bg img { transform: scale(1.05); filter: brightness(.6) saturate(.95); }
.hub-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 8, .95) 10%, rgba(10, 11, 8, .2) 70%); }
.hub-num { position: absolute; top: 22px; right: 26px; font-family: var(--f-display); font-weight: 900; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(212, 255, 58, .7); }
.hub-card-body { display: grid; gap: 16px; justify-items: start; padding: clamp(24px, 3vw, 40px); }
.hub-card-body p { color: #cfcfc6; max-width: 46ch; }
.hub-tips { margin-top: 36px; padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.hub-tips ul { display: grid; gap: 10px; }
.hub-tips li { position: relative; padding-left: 22px; color: #c4c4bb; font-size: 15px; max-width: 90ch; }
.hub-tips li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--acid); }
.footer-login { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); transition: color .25s; }
.footer-login:hover { color: var(--acid); }
.footer-login svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .hub { grid-template-columns: 1fr; }
  .hub-card { min-height: 360px; }
}
.tmap-legend { position: absolute; z-index: 4; right: 16px; bottom: 16px; padding: 14px 16px; background: rgba(10, 11, 8, .82); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: grid; gap: 6px; }
.tmap-legend b { color: var(--acid); font-weight: 500; }

/* ==========================================================================
   TOURNAMENT pieces
   ========================================================================== */
.t-feature {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  min-height: 560px;
  isolation: isolate;
  background: var(--bg-2);
}
.t-feature-media { position: relative; overflow: hidden; }
.t-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.t-feature:hover .t-feature-media img { transform: scale(1.04); }
.t-feature-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--bg-2)), linear-gradient(0deg, rgba(10, 11, 8, .7), transparent 45%); }
.t-feature-body { padding: clamp(24px, 3.6vw, 56px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.t-status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border: 1px solid currentColor; width: max-content; }
.t-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.t-status--active { color: var(--red); }
.t-status--active::before { animation: livePulse 1.6s infinite; }
.t-status--upcoming { color: var(--acid); }
.t-status--finished { color: var(--muted); }
.countdown { display: flex; gap: 10px; }
.countdown div { flex: 1; min-width: 0; padding: 14px 10px 12px; border: 1px solid var(--line-2); text-align: center; background: rgba(10, 11, 8, .4); }
.countdown b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }

.podium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: clamp(8px, 1.6vw, 22px); }
.podium-col { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.podium-col .who { padding: 0 6px 18px; }
.podium-col .who .medal { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 22px; color: #0a0b08; }
.podium-col .who strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(16px, 1.7vw, 26px); text-transform: uppercase; line-height: 1.05; letter-spacing: -.01em; overflow-wrap: break-word; }
.podium-col .who span { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.podium-col .block { position: relative; border: 1px solid var(--line-2); border-bottom: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); display: grid; place-items: start center; padding-top: 18px; }
.podium-col .block b { font-family: var(--f-display); font-weight: 900; font-size: clamp(48px, 6vw, 100px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--pc); }
.podium-col .block small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; padding: 8px 10px 16px; }
.podium-col.p1 { --pc: var(--gold); } .podium-col.p1 .block { height: clamp(220px, 22vw, 320px); border-top: 3px solid var(--gold); }
.podium-col.p2 { --pc: var(--silver); } .podium-col.p2 .block { height: clamp(160px, 16vw, 240px); border-top: 3px solid var(--silver); }
.podium-col.p3 { --pc: var(--bronze); } .podium-col.p3 .block { height: clamp(120px, 12vw, 180px); border-top: 3px solid var(--bronze); }
.podium-col .medal { background: var(--pc); }

.t-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.t-card:hover { border-color: rgba(212, 255, 58, .5); transform: translateY(-6px); }
.t-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.t-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.t-card:hover .t-card-media img { transform: scale(1.06); }
.t-card-media .t-status { position: absolute; left: 14px; top: 14px; background: rgba(10, 11, 8, .75); }
.t-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.t-card-body .winners { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }
.t-card-body .winners div { display: flex; justify-content: space-between; gap: 10px; }
.t-card-body .winners span { color: var(--muted); font-family: var(--f-mono); font-size: 12px; }

.fame { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fame-row { display: grid; grid-template-columns: 70px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 90px; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.fame-row:hover { background: rgba(212, 255, 58, .04); }
.fame-row .place { font-family: var(--f-display); font-weight: 900; font-size: 26px; }
.fame-row .nick { font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); text-transform: uppercase; letter-spacing: -.01em; }
.fame-row .tour { color: var(--muted); font-size: 14px; }
.fame-row .prize { font-size: 14px; }
.fame-row .score { text-align: right; font-family: var(--f-mono); color: var(--acid); }

/* rules blocks */
.rule-list { counter-reset: r; display: grid; gap: 0; border-top: 1px solid var(--line); }
.rule-list li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rule-list li::before { content: counter(r, decimal-leading-zero); font-family: var(--f-mono); color: var(--acid); font-size: 13px; padding-top: 3px; }
.warn-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.warn-list li::before { content: '!'; width: 22px; height: 22px; display: grid; place-items: center; background: var(--orange); color: #0a0b08; font-family: var(--f-mono); font-weight: 700; font-size: 13px; margin-top: 2px; }
.score-table { width: 100%; border-collapse: collapse; }
.score-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.score-table td:last-child { text-align: right; font-family: var(--f-display); font-weight: 800; color: var(--acid); white-space: nowrap; padding-left: 16px; }
.prize-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.prize-card { padding: 26px 22px; border: 1px solid var(--line-2); position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255, 255, 255, .05), transparent 60%); }
.prize-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--pc); }
.prize-card .place { font-family: var(--f-display); font-weight: 900; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--pc); }
.prize-card p { margin-top: 14px; font-weight: 600; font-size: 17px; line-height: 1.4; }
.prize-card.p1 { --pc: var(--gold); } .prize-card.p2 { --pc: var(--silver); } .prize-card.p3 { --pc: var(--bronze); }
.callout { padding: 22px 24px; border-left: 3px solid var(--acid); background: rgba(212, 255, 58, .06); font-size: 16px; }
.callout--orange { border-color: var(--orange); background: rgba(255, 107, 44, .07); }
.winner-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 8px; }
.winner-line .h3 { overflow-wrap: break-word; min-width: 0; }
@media (max-width: 760px) { .winner-line .h3, .winner-score { font-size: 18px; } }
.winner-score { font-family: var(--f-display); font-weight: 800; font-size: var(--fs-h3); line-height: 1.05; text-transform: uppercase; color: var(--acid); white-space: nowrap; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: min(86vh, 860px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(50px, 7vw, 90px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.8); transform: scale(1.06); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 8, .55), rgba(10, 11, 8, .2) 40%, var(--bg) 98%), linear-gradient(90deg, rgba(10, 11, 8, .7), transparent 70%); }
.page-hero--short { min-height: auto; padding-top: calc(var(--header-h) + 90px); }
.page-hero .h1 { margin-top: 22px; }
.page-hero .lead { margin-top: 26px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.breadcrumb { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a:hover { color: var(--acid); }
.breadcrumb span { margin: 0 8px; color: var(--dim); }

/* ==========================================================================
   CLAN
   ========================================================================== */
.clan-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.clan-stats div { padding: 26px 24px; border-right: 1px solid var(--line); }
.clan-stats div:last-child { border-right: 0; }
.clan-stats b { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 4.4vw, 70px); line-height: 1; letter-spacing: -.03em; }
.clan-stats small { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.roster-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: all .3s; }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--acid); border-color: var(--acid); color: #0a0b08; }
.search { position: relative; }
.search input { height: 44px; width: min(320px, 70vw); padding: 0 16px 0 42px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; outline: none; transition: border-color .3s; }
.search input:focus { border-color: var(--acid); }
.search svg { position: absolute; left: 15px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.member {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  display: flex; flex-direction: column; gap: 16px;
  min-height: 230px;
  transition: border-color .4s, transform .6s var(--ease);
  overflow: hidden;
}
.member:hover { border-color: rgba(212, 255, 58, .45); transform: translateY(-4px); }
.member::after { content: attr(data-idx); position: absolute; right: 14px; top: 12px; font-family: var(--f-mono); font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.member-top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.avatar { width: 56px; height: 56px; flex: none; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 20px; color: #0a0b08; background: var(--av, var(--acid)); clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%); }
.member-nick { font-family: var(--f-display); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; overflow-wrap: break-word; }
.streamer .member-nick { font-size: 17px; }
.member-role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.member-role.is-leader { color: var(--acid); }
.member-role.is-streamer { color: #b392ff; }
/* nick sits in a fixed two-line box (bottom-aligned), so role and badges line up across cards */
.member .member-nick { display: flex; align-items: flex-end; min-height: 2.2em; }
.member-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.member-badges span { font-size: 12px; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 2px; color: #d6d5cd; }
.member-links { margin-top: auto; display: flex; gap: 8px; }
.member-links a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: all .3s; }
.member-links a:hover { background: var(--acid); color: #0a0b08; border-color: var(--acid); }
.member-links svg { width: 16px; height: 16px; }
.member--join { border-style: dashed; border-color: rgba(212, 255, 58, .4); align-items: flex-start; justify-content: center; background: rgba(212, 255, 58, .03); }
.member--join:hover { background: rgba(212, 255, 58, .08); }
.member--join .plus { width: 56px; height: 56px; border: 1px solid var(--acid); display: grid; place-items: center; color: var(--acid); font-size: 28px; }
.streamers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.streamer {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color .4s;
}
.streamer:hover { border-color: #9146ff; }
.streamer .avatar { width: 64px; height: 64px; --av: #9146ff; color: #fff; }
.streamer.is-live { border-color: rgba(255, 59, 59, .6); }
.streamer-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.streamer.is-live .streamer-status { color: var(--red); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.input, .textarea, .select {
  width: 100%;
  background: rgba(10, 11, 8, .6);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 12px 14px;
  outline: none;
  color: var(--text);
  transition: border-color .3s, background .3s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--acid); background: rgba(10, 11, 8, .85); }
.textarea { resize: vertical; min-height: 220px; line-height: 1.55; font-family: var(--f-mono); font-size: 14px; }
.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1; min-width: 0; }
.toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; font-size: 14px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle i { position: relative; width: 44px; height: 24px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 11, 8, .6); flex: none; transition: background .3s, border-color .3s; }
.toggle i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .4s var(--ease), background .3s; }
.toggle input:checked + i { background: rgba(212, 255, 58, .15); border-color: var(--acid); }
.toggle input:checked + i::after { transform: translateX(20px); background: var(--acid); }
.toggle input:focus-visible + i { outline: 2px solid var(--acid); outline-offset: 2px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 2px; padding: 3px; gap: 3px; }
.seg button { height: 36px; padding: 0 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-radius: 1px; transition: all .3s; }
.seg button.is-active { background: var(--acid); color: #0a0b08; }
.chat-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chat-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.chat-status.is-on { color: var(--acid); }
.chat-status.is-on i { background: var(--acid); box-shadow: 0 0 10px var(--acid); }
.chat-status.is-wait i { background: var(--gold); animation: blink 1s infinite; }
.chat-status.is-err { color: var(--orange); }
.chat-status.is-err i { background: var(--orange); }
@keyframes blink { 50% { opacity: .3; } }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 9200; display: grid; place-items: center; padding: 20px; background: rgba(5, 6, 4, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; width: min(100%, 520px); max-height: 92vh; transform: translateY(30px) scale(.98); transition: transform .6s var(--ease); }
.modal.is-open .modal-box { transform: none; }
.modal-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(10, 11, 8, .7); transition: background .3s, color .3s; }
.modal-close:hover { background: var(--acid); color: #0a0b08; }
.modal-close svg { width: 18px; height: 18px; }
.confetti-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9300; pointer-events: none; }

/* ==========================================================================
   WHEEL
   ========================================================================== */
.tool-page { padding-top: calc(var(--header-h) + 30px); padding-bottom: 60px; min-height: 100vh; }
.tool-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.tool-head .h2 { margin-top: 12px; }
.wheel-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) minmax(240px, 300px); gap: 22px; align-items: start; }
.wheel-side { display: grid; gap: 16px; }
.wheel-side .panel-pad { display: grid; gap: 16px; }
.wheel-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.wheel-wrap { position: relative; width: min(100%, 66vh, 720px); aspect-ratio: 1; }
.stream-mode .wheel-wrap { width: min(100%, 74vh, 820px); }
.wheel-wrap canvas { width: 100%; height: 100%; }
.wheel-pointer { position: absolute; left: 50%; top: -6px; z-index: 3; width: 46px; height: 58px; margin-left: -23px; transform-origin: 50% 12px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.wheel-pointer svg { width: 100%; height: 100%; }
.wheel-hub { position: absolute; left: 50%; top: 50%; z-index: 3; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #22261b, #0a0b08 70%); border: 2px solid var(--acid); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(10, 11, 8, .6), 0 0 60px rgba(212, 255, 58, .25); transition: transform .3s var(--ease); cursor: pointer; }
.wheel-hub:hover { transform: translate(-50%, -50%) scale(1.05); }
.wheel-hub span { font-family: var(--f-display); font-weight: 900; font-size: clamp(14px, 2.2vw, 26px); color: var(--acid); letter-spacing: -.02em; text-align: center; line-height: 1; }
.wheel-hub small { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; color: var(--muted); margin-top: 6px; font-weight: 500; }
.wheel-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.wheel-stage { grid-template-rows: auto auto auto; gap: 0; align-content: start; }
.wheel-stage:fullscreen { background: var(--bg); align-content: center; padding: 24px; }
/* fullscreen: wheel + result line + button must all fit on one screen */
.wheel-stage:fullscreen .wheel-wrap { width: min(calc(100vh - 250px), 92vw); }
.wheel-stage:fullscreen .wheel-result { margin-top: 14px; min-height: 70px; }
.wheel-stage:fullscreen #btnSpin { margin-top: 12px !important; }

/* TOPUP discount card under the wheel history (visible on stream) */
.topup-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 380px;
  padding: 28px 24px 24px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(212, 255, 58, .16), transparent 60%), linear-gradient(180deg, #1a1e14, #10120d);
  border: 1px solid rgba(212, 255, 58, .35);
}
.topup-card::after { content: '%'; position: absolute; right: -18px; bottom: -60px; font-family: var(--f-display); font-weight: 900; font-size: 260px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(212, 255, 58, .12); pointer-events: none; }
.topup-card-k { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--acid); }
.topup-card-big { margin-top: 6px; font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 5.6vw, 92px); line-height: .9; letter-spacing: -.05em; color: var(--acid); text-shadow: 0 0 50px rgba(212, 255, 58, .35); }
.topup-card-sub { margin-top: 8px; font-family: var(--f-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: -.01em; }
.topup-card-logo { margin-top: auto; padding-top: 26px; height: auto; width: 150px; }
.topup-card-foot { width: 100%; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.topup-card-foot span { color: var(--acid); font-size: 16px; animation: tcBounce 1.6s var(--ease) infinite; }
@keyframes tcBounce { 50% { transform: translateY(4px); } }
@media (max-width: 1280px) { .wheel-history { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .topup-card { min-height: 300px; } }
@media (max-width: 760px) { .wheel-history { grid-template-columns: 1fr; } }
.wheel-result { position: relative; margin-top: 20px; min-height: 84px; transform: translateY(18px); opacity: 0; transition: all .6s var(--ease); text-align: center; pointer-events: none; z-index: 4; width: 100%; }
.wheel-result.is-show { opacity: 1; transform: none; }
.stream-mode .wheel-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
@media (max-width: 1080px) { .stream-mode .wheel-layout { grid-template-columns: 1fr; } }
.wheel-result small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--orange); text-transform: uppercase; }
.wheel-result strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 3.2vw, 52px); text-transform: uppercase; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; }
.wheel-result.is-winner small { color: var(--acid); }
.wheel-result.is-winner strong { color: var(--acid); text-shadow: 0 0 60px rgba(212, 255, 58, .5); }
.count-badge { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.count-badge b { color: var(--acid); font-weight: 700; }
.history { display: grid; gap: 6px; max-height: 52vh; overflow: auto; padding-right: 4px; }
.history li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); font-size: 14px; animation: histIn .6s var(--ease); }
.history li span { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.history li s { color: var(--muted); text-decoration-color: var(--orange); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.history li.is-winner { border-color: var(--acid); background: rgba(212, 255, 58, .08); }
.history li.is-winner b { color: var(--acid); overflow-wrap: anywhere; }
@keyframes histIn { from { opacity: 0; transform: translateX(-12px); } }
/* history scrolls inside a fixed box, so the TOPUP card below never moves */
.wheel-history .history { max-height: 252px; scrollbar-width: thin; scrollbar-color: var(--acid) transparent; }

/* winner takes the wheel's place (wheel stays blurred in the background) */
.wheel-wrap canvas, .wheel-hub, .wheel-pointer { transition: filter .7s var(--ease), opacity .5s, transform .7s var(--ease); }
.wheel-wrap.has-winner canvas { filter: blur(3px) brightness(.5) saturate(.7); transform: scale(.94); }
.wheel-wrap.has-winner .wheel-hub, .wheel-wrap.has-winner .wheel-pointer { opacity: 0; pointer-events: none; }
.wheel-winner { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; text-align: center; opacity: 0; pointer-events: none; transition: opacity .5s; cursor: pointer; }
.wheel-winner.is-show { opacity: 1; pointer-events: auto; }
.wheel-winner::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 255, 58, .22), transparent); animation: wwPulse 2.4s ease-in-out infinite; }
.ww-ring { position: absolute; inset: 5%; border-radius: 50%; border: 2px dashed rgba(212, 255, 58, .45); animation: wwSpin 22s linear infinite; }
.ww-ring::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(212, 255, 58, .2); }
.ww-ring::after { content: ''; position: absolute; left: 50%; top: -8px; width: 2px; height: 16px; margin-left: -1px; background: var(--acid); box-shadow: 0 0 10px var(--acid); }
.ww-plate {
  position: relative; width: 84%;
  display: grid; justify-items: center; gap: 12px;
  padding: clamp(20px, 3vw, 34px) clamp(14px, 2.4vw, 28px) clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(20, 23, 16, .94), rgba(10, 11, 8, .94));
  border: 1px solid rgba(212, 255, 58, .5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(10, 11, 8, .8);
  transform: scale(.88) translateY(14px); transition: transform .8s var(--ease);
}
.wheel-winner.is-show .ww-plate { transform: none; }
.ww-k { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: clamp(10px, 1vw, 13px); font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--acid); }
.ww-k::before, .ww-k::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.ww-name { display: block; max-width: 100%; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.03em; color: var(--acid); text-shadow: 0 0 60px rgba(212, 255, 58, .55), 0 4px 0 #0a0b08; overflow-wrap: anywhere; }
.ww-meta { font-family: var(--f-mono); font-size: clamp(10px, .95vw, 12px); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ww-stamp { position: absolute; right: -12px; top: -16px; padding: 6px 10px; border: 2px solid var(--orange); background: rgba(10, 11, 8, .9); color: var(--orange); font-family: var(--f-display); font-weight: 900; font-size: clamp(10px, 1vw, 13px); text-transform: uppercase; letter-spacing: .04em; transform: rotate(7deg); }
@keyframes wwSpin { to { transform: rotate(360deg); } }

/* ---------- compact console controls (race + quiz) ---------- */
.rc-input {
  width: 150px; padding: 6px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  text-align: right; color: var(--acid); font-family: var(--f-mono); font-size: 14px;
  outline: none; transition: border-color .25s;
}
.rc-input:focus { border-color: var(--acid); }
.rc-input--num { width: 70px; }
.rc-link {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--acid);
  border-bottom: 1px solid rgba(212, 255, 58, .35);
  padding: 2px 0;
  transition: border-color .25s, color .25s;
}
.rc-link:hover { border-color: var(--acid); }
.rc-link--warn { color: var(--orange); border-color: rgba(255, 107, 44, .35); }
.rc-link--warn:hover { border-color: var(--orange); }
.rc-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; }

/* ==========================================================================
   QUIZ (streamer)
   ========================================================================== */
.quiz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.stream-mode .quiz-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.quiz-stage {
  position: relative; overflow: hidden;
  min-height: clamp(520px, calc(100vh - var(--header-h) - 170px), 900px);
  display: flex; flex-direction: column;
  padding: clamp(22px, 3vw, 44px);
  background: linear-gradient(180deg, rgba(25, 28, 20, .92), rgba(12, 14, 10, .92));
  border-top: 2px solid var(--acid);
}
.stream-mode .quiz-stage { min-height: calc(100vh - 40px); }
.quiz-stage:fullscreen { min-height: 100vh; border: 0; }
.quiz-idle, .quiz-q { flex: 1; display: none; }
.quiz-stage[data-state="idle"] .quiz-idle { display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; }
.quiz-stage[data-state="question"] .quiz-q, .quiz-stage[data-state="reveal"] .quiz-q, .quiz-stage[data-state="final"] .quiz-q { display: flex; flex-direction: column; }
.quiz-stage[data-state="final"] .quiz-q { opacity: .15; }
.quiz-idle-title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 76px); line-height: .95; letter-spacing: -.03em; }
.quiz-idle-sub { font-size: clamp(16px, 1.4vw, 21px); color: #cfcfc6; }
.quiz-idle-sub b { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin: 0 2px; background: var(--acid); color: #0a0b08; font-family: var(--f-display); font-weight: 900; }

.quiz-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quiz-num { color: var(--text); }
.quiz-topic { padding: 4px 9px; border: 1px solid var(--line-2); color: var(--acid); }
.quiz-answers b { color: var(--text); font-family: var(--f-display); font-size: 16px; }
.quiz-sec { margin-left: auto; font-family: var(--f-display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.quiz-sec.is-low { color: var(--orange); }
.quiz-stage[data-state="reveal"] .quiz-sec { color: var(--dim); }
.quiz-timer { height: 4px; margin-top: 14px; background: var(--line); overflow: hidden; }
.quiz-timer i { display: block; height: 100%; background: var(--acid); transform-origin: left; transition: transform .1s linear; }
.quiz-text { margin: clamp(20px, 3vw, 40px) 0; font-family: var(--f-display); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; }
.quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: auto; }
.quiz-options li {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  min-height: 84px; padding: 14px 18px 14px 14px;
  border: 1px solid var(--line-2); background: rgba(10, 11, 8, .55);
  transition: border-color .4s, opacity .4s, background .4s;
}
.quiz-options b { width: 48px; height: 48px; display: grid; place-items: center; background: var(--acid); color: #0a0b08; font-family: var(--f-display); font-weight: 900; font-size: 24px; }
.quiz-options span { font-weight: 700; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.25; overflow-wrap: anywhere; }
.quiz-options em { font-style: normal; font-family: var(--f-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.quiz-options i { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--muted); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.quiz-options li.is-correct { border-color: var(--acid); background: rgba(212, 255, 58, .1); }
.quiz-options li.is-correct i { background: var(--acid); }
.quiz-options li.is-correct em { color: var(--acid); }
.quiz-options li.is-wrong { opacity: .42; }
.quiz-options li.is-wrong b { background: var(--dim); }
.quiz-first { min-height: 28px; margin-top: 18px; font-size: 16px; }
.quiz-first b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; margin: 0 4px; }
.quiz-stage-ctrl { position: relative; z-index: 7; display: flex; justify-content: center; margin-top: 24px; }
.stream-mode .quiz-stage-ctrl, .quiz-stage:fullscreen .quiz-stage-ctrl { opacity: .0; transition: opacity .3s; }
.stream-mode .quiz-stage:hover .quiz-stage-ctrl, .quiz-stage:fullscreen:hover .quiz-stage-ctrl { opacity: 1; }
.quiz-final { background: rgba(10, 11, 8, .78); }
.quiz-final .ww-ring { display: none; }
.quiz-final .ww-plate { width: min(620px, 90%); }
.quiz-final-top { width: 100%; display: grid; gap: 4px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.quiz-final-top li, .quiz-board li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 2px; font-size: 15px; text-align: left; }
.quiz-final-top span, .quiz-board li span { font-family: var(--f-display); font-weight: 800; color: var(--dim); }
.quiz-final-top b, .quiz-board li b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quiz-final-top em, .quiz-board li em { font-style: normal; font-family: var(--f-mono); color: var(--acid); }
.quiz-side { display: grid; gap: 16px; }
.quiz-side .panel-pad { display: grid; gap: 14px; }
.quiz-board { border-top: 1px solid var(--line); }
.quiz-board li { border-bottom: 1px solid var(--line); }
.quiz-board li:nth-child(1) span { color: var(--gold); }
.quiz-board li:nth-child(2) span { color: var(--silver); }
.quiz-board li:nth-child(3) span { color: var(--bronze); }
.quiz-board li.is-empty { display: block; color: var(--muted); font-size: 14px; }
.quiz-set-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: #cfcfc6; }
.quiz-bank { font-size: 13px; }
@media (max-width: 1080px) {
  .quiz-layout, .stream-mode .quiz-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-options li { min-height: 64px; }
  .quiz-options b { width: 38px; height: 38px; font-size: 19px; }
}
@keyframes wwPulse { 50% { opacity: .55; transform: scale(.94); } }
.stream-mode .site-header, .stream-mode .site-footer, .stream-mode .tool-head, .stream-mode .hide-stream { display: none !important; }
.stream-mode .tool-page { padding-top: 20px; }

/* ==========================================================================
   VIDEOS
   ========================================================================== */
.shorts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.short {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  cursor: pointer;
  transition: border-color .4s, transform .6s var(--ease);
}
.short:hover { border-color: var(--acid); transform: translateY(-6px); }
.short img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--ease), filter .5s; filter: brightness(.82); }
.short:hover img { transform: scale(1.08) !important; filter: brightness(1); }
.short::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 8, .85), transparent 40%); }
.short .play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(212, 255, 58, .9); color: #0a0b08; display: grid; place-items: center; transform: scale(.7); opacity: 0; transition: all .45s var(--ease); }
.short:hover .play { transform: scale(1); opacity: 1; }
.short .play svg { width: 20px; height: 20px; margin-left: 3px; }
.short .meta { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.short .meta .new { background: var(--acid); color: #0a0b08; padding: 2px 6px; }
.short-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--acid) transparent; }
.short-strip .short { flex: 0 0 clamp(170px, 18vw, 240px); scroll-snap-align: start; }
.video-modal .modal-box { width: min(100%, 420px); }
.video-modal .frame { aspect-ratio: 9 / 16; max-height: 84vh; background: #000; border: 1px solid var(--line-2); }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
.tiktok-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.tiktok-embed-box { min-height: 560px; border: 1px solid var(--line); background: #fff; color: #111; border-radius: 4px; overflow: hidden; }
.tiktok-embed-box blockquote { margin: 0 !important; }
.tiktok-fallback { display: grid; place-items: center; min-height: 560px; padding: 30px; text-align: center; color: #333; }
.tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tt-grid iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; background: #000; }

/* ==========================================================================
   INFO (bans + news)
   ========================================================================== */
.ban-table { border-top: 1px solid var(--line); }
.ban-row { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ban-row h3 { font-family: var(--f-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.2; display: flex; gap: 12px; align-items: flex-start; }
.ban-row h3 svg { width: 22px; height: 22px; flex: none; color: var(--orange); margin-top: -1px; }
.pill-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-cloud span { padding: 7px 12px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 13px; color: #e4e3da; border-radius: 2px; transition: border-color .3s, color .3s; }
.pill-cloud span:hover { border-color: var(--orange); color: var(--orange); }
.ban-table--soft .ban-row h3 svg { color: var(--gold); }
.ban-table--soft .pill-cloud span:hover { border-color: var(--gold); color: var(--gold); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; transition: border-color .4s, transform .6s var(--ease); min-height: 100%; }
.news-card:hover { border-color: rgba(212, 255, 58, .5); transform: translateY(-5px); }
.news-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #12150e; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-media .ph { position: absolute; inset: 0; display: grid; place-items: center; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02) 0 12px, transparent 12px 24px), radial-gradient(circle at 30% 30%, rgba(212, 255, 58, .1), transparent 60%); }
.news-media .ph span { font-family: var(--f-display); font-weight: 900; font-size: clamp(20px, 2.3vw, 34px); color: transparent; -webkit-text-stroke: 1px rgba(212, 255, 58, .5); text-transform: uppercase; text-align: center; line-height: 1; padding: 0 16px; }
.news-media .ph.is-sec span { -webkit-text-stroke-color: rgba(255, 107, 44, .6); }
.news-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-body .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.news-body h3 { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.2; text-transform: uppercase; letter-spacing: -.01em; }
.news-body p { color: #bdbdb4; font-size: 15px; line-height: 1.55; }
.news-body .link-arrow { margin-top: auto; align-self: flex-start; }
.news-card--wide { grid-column: span 2; }
.news-card--wide .news-media { aspect-ratio: 21 / 9; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.link-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .4s, background .4s; }
.link-card:hover { border-color: var(--acid); background: rgba(212, 255, 58, .05); }
.link-card strong { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 17px; }
.link-card span { color: var(--muted); font-size: 14px; }

/* partner page */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.step { padding: clamp(22px, 2.6vw, 38px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 300px; position: relative; overflow: hidden; transition: background .5s; }
.step:last-child { border-right: 0; }
.step:hover { background: rgba(212, 255, 58, .05); }
.step-num { font-family: var(--f-display); font-weight: 900; font-size: 74px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(212, 255, 58, .7); }
.step h3 { font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1.15; margin-top: auto; }
.step p { color: var(--muted); font-size: 15px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); text-transform: uppercase; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; position: relative; transition: transform .5s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i { background: var(--acid); color: #0a0b08; border-color: var(--acid); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 0 26px; color: #c4c4bb; max-width: 70ch; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--pad) 60px; position: relative; overflow: hidden; }
.lost .big { font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 28vw, 420px); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--orange); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-right { margin-left: auto; }
  .wheel-layout { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); }
  .wheel-layout .wheel-history { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .live-grid, .dossier, .promo-inner, .tiktok-wrap { grid-template-columns: 1fr; }
  .t-feature { grid-template-columns: 1fr; }
  .t-feature-media { min-height: 300px; }
  .t-feature-media::after { background: linear-gradient(0deg, var(--bg-2), transparent 60%); }
  .grid-3, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .clan-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clan-stats div:nth-child(2) { border-right: 0; }
  .clan-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .wheel-layout { grid-template-columns: 1fr; }
  .wheel-stage { order: -1; min-height: 0; }
  .dossier-photo { max-width: 560px; }
  .fame-row { grid-template-columns: 50px minmax(0, 1.4fr) minmax(0, 1fr) 70px; }
  .fame-row .tour { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .live-pill .lp-text { display: none; }
  .live-pill { width: 42px; padding: 0; justify-content: center; }
  .header-right .btn { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .news-grid, .prize-cards { grid-template-columns: 1fr; }
  .news-card--wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line); min-height: 0; }
  .step:last-child { border-bottom: 0; }
  .hero { min-height: 640px; }
  .hero-person { height: 74%; }
  .hero-title { bottom: 30%; }
  .hud-tr, .crosshair { display: none; }
  .hud-bl { display: none; }
  .hud-br { left: 0; right: 0; justify-items: stretch; }
  .hero-actions { justify-content: stretch; }
  .hero-actions .btn { flex: 1; }
  .partner-badge { justify-self: center; }
  .scroll-hint { display: none; }
  .xrow { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; }
  .xrow-meta { display: none; }
  .xrow-name { font-size: 7.4vw; white-space: nowrap; }
  .podium-col .who { padding: 0 0 14px; }
  .podium-col .who .medal { width: 40px; height: 40px; font-size: 17px; }
  .podium-col .who span { font-size: 11px; }
  .podium-col .block small { font-size: 10px; padding: 6px 4px 12px; }
  .xrow-arrow { width: 42px; height: 42px; }
  .xrow-idx { padding-left: 0; }
  .xrow:hover .xrow-name { transform: translateX(6px); }
  .promo { min-height: 0; }
  #map { display: none; } /* the Farm map needs a wide screen — hidden on phones */
  .poi-label { font-size: 10px; padding: 5px 7px; }
  .dossier-specs { grid-template-columns: 1fr; }
  .dossier-specs div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .dossier-specs div:nth-child(even) { padding-left: 0; }
  .dossier-photo .stamp { right: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-cta { grid-template-columns: 1fr; }
  .ban-row { grid-template-columns: 1fr; gap: 14px; }
  .fame-row { grid-template-columns: 40px minmax(0, 1fr) 64px; }
  .fame-row .prize { display: none; }
  .podium-col .who strong { font-size: clamp(9px, 2.65vw, 14px); letter-spacing: -.03em; }
  .shorts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .clan-stats div { padding: 20px 16px; }
  .band { padding: 12px 0; }
  .wheel-wrap { width: min(100%, 92vw); }
  .countdown div { padding: 12px 4px 10px; }
  .code-box { flex-direction: column; }
  .code-box button { padding: 14px 22px; justify-content: center; }
}
