/* Badlands Stats v2 — esports-clean dark theme */
:root {
  --bg: #08090c;
  --surface: #111419;
  --surface-2: #161a21;
  --surface-3: #1c212a;
  --line: #20262f;
  --line-2: #2a313c;
  --text: #eceef1;
  --muted: #8a93a0;
  --dim: #5b6470;
  --accent: #a3e635;
  --a: #38bdf8;
  --b: #fb923c;
  --draw: #4b5563;
  --win: #22c55e;
  --loss: #ef4444;
  --gold: #facc15;
  --radius: 16px;
  --num: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -24px rgba(0, 0, 0, .8);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(900px 420px at 15% -120px, rgba(56, 189, 248, .08), transparent 70%),
    radial-gradient(900px 420px at 85% -120px, rgba(251, 146, 60, .07), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.5 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); font-size: 13px; }
.link:hover { color: var(--accent); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 4px 0 10px; vertical-align: middle; }
.dot--a { background: var(--a); } .dot--b { background: var(--b); }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 2.2; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(8, 9, 12, .78); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #65a30d); color: #08090c; font: 800 22px/1 var(--num); box-shadow: 0 6px 20px -6px rgba(163, 230, 53, .6); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt b { font: 800 20px/1 var(--num); letter-spacing: .06em; }
.brand__txt small { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.nav { display: flex; gap: 2px; }
.nav__a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 14px; transition: color .15s, background .15s; }
.nav__a:hover { color: var(--text); background: var(--surface); }
.nav__a.is-on { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.live { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; font-size: 13px; color: var(--muted); white-space: nowrap; cursor: pointer; transition: border-color .15s; max-width: 46vw; }
.live:hover { border-color: var(--accent); }
.live b { color: var(--text); font-weight: 600; }
#liveTxt { overflow: hidden; text-overflow: ellipsis; }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex-shrink: 0; }
.live.is-on .live__dot { background: var(--win); animation: pulse 2s infinite; }
.live.is-off .live__dot { background: var(--loss); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

main.wrap { padding-top: 28px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }

/* cards */
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.card__hd h3, .sect-hd h3 { margin: 0; display: flex; align-items: center; gap: 10px; font: 700 21px/1 var(--num); letter-spacing: .05em; text-transform: uppercase; }
.card__hd h3 [data-lucide], .card__hd h3 svg, .sect-hd h3 svg { color: var(--accent); }
.card__hd--sub { margin: 26px 0 12px; }
.card__hd h4 { margin: 0; font: 700 16px/1 var(--num); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sect-hd { display: flex; align-items: center; justify-content: space-between; margin: 4px 2px 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }

/* tooltip */
.tip { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); font: 600 11px/1 "Inter"; cursor: help; position: relative; letter-spacing: 0; text-transform: none; }
.tip:hover { color: var(--text); border-color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; align-items: center; padding: 30px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; top: -50%; width: 42%; height: 200%; filter: blur(70px); opacity: .2; pointer-events: none; }
.hero::before { left: -14%; background: var(--a); }
.hero::after { right: -14%; background: var(--b); }
.hero__side { position: relative; }
.hero__side--b { text-align: right; }
.who { display: flex; align-items: center; gap: 10px; }
.who--b { justify-content: flex-end; }
.ava { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 800 22px/1 var(--num); color: #08090c; }
.ava--a { background: linear-gradient(135deg, #7dd3fc, var(--a)); box-shadow: 0 8px 24px -8px var(--a); }
.ava--b { background: linear-gradient(135deg, #fdba74, var(--b)); box-shadow: 0 8px 24px -8px var(--b); }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.tag--a { color: var(--a); background: rgba(56, 189, 248, .12); }
.tag--b { color: var(--b); background: rgba(251, 146, 60, .12); }
.pname { margin: 14px 0 16px; font: 800 40px/1 var(--num); letter-spacing: .02em; word-break: break-word; }
.hero__side--a .pname { color: var(--a); }
.hero__side--b .pname { color: var(--b); }
.mini { display: grid; grid-template-columns: auto auto; gap: 7px 18px; margin: 0; font-size: 14px; }
.hero__side--b .mini { justify-content: end; }
.mini dt { color: var(--muted); }
.mini dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__mid { text-align: center; position: relative; }
.score { font: 800 124px/1 var(--num); letter-spacing: .02em; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.score__a { color: var(--a); text-shadow: 0 0 40px rgba(56, 189, 248, .35); }
.score__b { color: var(--b); text-shadow: 0 0 40px rgba(251, 146, 60, .35); }
.score__sep { color: var(--dim); margin: 0 14px; }
.hero__meta { color: var(--muted); font-size: 14px; }
.split { display: flex; height: 8px; border-radius: 99px; overflow: hidden; margin: 18px auto 16px; max-width: 380px; background: var(--line); }
.split i { display: block; height: 100%; width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.split__a { background: var(--a); } .split__d { background: var(--draw); } .split__b { background: var(--b); }
.form { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.form__lbl { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.form__dots { display: flex; gap: 5px; }
.form__dots i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font: 700 12px/1 var(--num); color: #08090c; font-style: normal; cursor: default; transition: transform .15s; }
.form__dots i.a { background: var(--a); } .form__dots i.b { background: var(--b); } .form__dots i.d { background: var(--draw); color: var(--text); }
.form__dots i:last-child { outline: 2px solid var(--text); outline-offset: 2px; }
.streak { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 21px; }
.streak b { color: var(--text); }

/* kpis */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kpi { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.kpi__i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(163, 230, 53, .1); color: var(--accent); flex-shrink: 0; }
.kpi__v { font: 800 36px/1 var(--num); font-variant-numeric: tabular-nums; }
.kpi__l { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* achievements */
.ach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.badge { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; transition: border-color .2s; overflow: hidden; }
.badge.own-a { border-color: rgba(56, 189, 248, .35); }
.badge.own-b { border-color: rgba(251, 146, 60, .35); }
.badge.own-a::before, .badge.own-b::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; }
.badge.own-a::before { background: radial-gradient(260px 120px at 0 0, var(--a), transparent); }
.badge.own-b::before { background: radial-gradient(260px 120px at 0 0, var(--b), transparent); }
.badge__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.badge__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); flex-shrink: 0; }
.badge.own-a .badge__ic { background: rgba(56, 189, 248, .15); color: var(--a); }
.badge.own-b .badge__ic { background: rgba(251, 146, 60, .15); color: var(--b); }
.badge__t { font-weight: 700; font-size: 15px; line-height: 1.2; }
.badge__d { color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 2px; }
.badge__crown { position: absolute; top: 12px; right: 12px; color: var(--gold); display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge__crown svg { width: 14px; height: 14px; }
.prog { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; font-size: 12px; }
.prog + .prog { margin-top: 6px; }
.prog__bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.prog__bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.prog--a i { background: var(--a); } .prog--b i { background: var(--b); }
.prog__v { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 64px; text-align: right; }
.prog__v b { color: var(--text); }
.prog.done .prog__v b::after { content: " ✓"; color: var(--win); }
.badge__x { color: var(--dim); font-size: 11px; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* records */
.recs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rec { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; transition: border-color .2s; }
.rec__l { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.rec__l svg { color: var(--gold); width: 16px; height: 16px; }
.rec__v { font: 800 44px/1 var(--num); font-variant-numeric: tabular-nums; }
.rec__s { font-size: 13px; color: var(--muted); }
.rec__s b { font-weight: 600; }

/* charts */
.chart { position: relative; height: 280px; }
.heat { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; }
.heat i { aspect-ratio: 1; border-radius: 4px; background: var(--surface-3); position: relative; transition: transform .12s; }
.l1 { background: rgba(163, 230, 53, .25) !important; }
.l2 { background: rgba(163, 230, 53, .45) !important; }
.l3 { background: rgba(163, 230, 53, .7) !important; }
.l4 { background: var(--accent) !important; box-shadow: 0 0 12px -2px rgba(163, 230, 53, .6); }
.heat__legend { display: flex; align-items: center; gap: 5px; justify-content: flex-end; margin-top: 14px; color: var(--muted); font-size: 12px; }
.heat__legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--surface-3); }
.punch { display: grid; grid-template-columns: 34px repeat(24, 1fr); gap: 3px; font-size: 10px; color: var(--dim); align-items: center; }
.punch i { aspect-ratio: 1; border-radius: 3px; background: var(--surface-3); position: relative; }
.punch span { text-align: center; }
.punch .d { text-align: left; }

/* map bars */
.bars { display: flex; flex-direction: column; gap: 13px; }
.bar__hd { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.bar__hd b { font-weight: 600; }
.bar__hd span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--line); }
.bar i { display: block; height: 100%; width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar .a { background: var(--a); } .bar .d { background: var(--draw); } .bar .b { background: var(--b); }

/* weapons butterfly */
.fly { display: flex; flex-direction: column; gap: 11px; }
.fly__row { display: grid; grid-template-columns: 1fr 124px 1fr; align-items: center; gap: 10px; font-size: 13px; }
.fly__row--hd { font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fly__name { text-align: center; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fly__l, .fly__r { display: flex; align-items: center; gap: 8px; }
.fly__l { justify-content: flex-end; }
.fly__l i, .fly__r i { display: block; height: 10px; border-radius: 99px; width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.fly__l i { background: linear-gradient(270deg, var(--a), rgba(56, 189, 248, .5)); } .fly__r i { background: linear-gradient(90deg, var(--b), rgba(251, 146, 60, .5)); }
.fly__l span, .fly__r span { font-variant-numeric: tabular-nums; min-width: 30px; font-weight: 600; }
.fly__l span { text-align: right; }

/* matches */
.matches { display: flex; flex-direction: column; }
.mrow { display: grid; grid-template-columns: 58px 1.3fr 2.1fr 70px 80px; align-items: center; gap: 14px; padding: 12px 10px; border-top: 1px solid var(--line); font-size: 14px; border-radius: 10px; transition: background .15s; }
.mrow:first-child { border-top: 0; }
.mrow:hover { background: var(--surface-3); }
.mrow__id { color: var(--dim); font-variant-numeric: tabular-nums; }
.mrow__map { font-weight: 600; min-width: 0; }
.mrow__map small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow__pl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl { display: inline-flex; align-items: baseline; gap: 6px; }
.pl b { font: 700 19px/1 var(--num); font-variant-numeric: tabular-nums; }
.pl.win { color: var(--text); } .pl.lose { color: var(--muted); }
.pl.is-a b { color: var(--a); } .pl.is-b b { color: var(--b); }
.pl.win::before { content: "🏆"; font-size: 12px; }
.bot { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 4px; }
.vs { color: var(--dim); font-size: 12px; }
.mrow__len, .mrow__ago { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; font-size: 13px; }
.h2h { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(163, 230, 53, .35); border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: middle; }

.foot { display: flex; gap: 16px; justify-content: space-between; color: var(--dim); font-size: 12px; padding-top: 8px; flex-wrap: wrap; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text); padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; transition: .25s; pointer-events: none; z-index: 40; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1060px) {
  .ach { grid-template-columns: repeat(3, 1fr); }
  .recs { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__mid { grid-column: 1 / -1; order: -1; }
  .grid2 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .ach { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .score { font-size: 88px; }
  .pname { font-size: 28px; }
  .hero { padding: 20px; gap: 18px; }
  .mini { font-size: 13px; gap: 5px 12px; }
  .brand__txt small { display: none; }
  .ach, .recs { grid-template-columns: 1fr; }
  .kpi__v { font-size: 30px; }
  .mrow { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .mrow__id { display: none; }
  .mrow__pl { grid-column: 1 / -1; }
  .mrow__len { text-align: left; }
  .fly__row { grid-template-columns: 1fr 90px 1fr; }
  .punch { grid-template-columns: 28px repeat(24, 1fr); gap: 2px; }
}

/* ================= LANDING (awwwards-style hero) ================= */
.land { position: relative; min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(80px) saturate(140%); opacity: .75; }
.au { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.au--a { width: 55vw; height: 55vw; left: -5%; top: 5%; background: radial-gradient(circle, rgba(56, 189, 248, .55), transparent 65%); animation: drift-a 18s ease-in-out infinite alternate; }
.au--b { width: 50vw; height: 50vw; right: -5%; top: 0; background: radial-gradient(circle, rgba(251, 146, 60, .5), transparent 65%); animation: drift-b 22s ease-in-out infinite alternate; }
.au--c { width: 40vw; height: 40vw; left: 30%; bottom: -10%; background: radial-gradient(circle, rgba(163, 230, 53, .28), transparent 65%); animation: drift-c 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-10vw, 14vh) scale(.9); } }
@keyframes drift-c { to { transform: translate(-8vw, -12vh) scale(1.2); } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.land::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.land__in { padding-top: 60px; padding-bottom: 110px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); font-size: 13px; color: var(--muted); }
.pill b { color: var(--text); }
.live__dot--on { background: var(--win); animation: pulse 2s infinite; }
.land__title { margin: 28px 0 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .3em; font: 800 clamp(56px, 11vw, 168px)/.86 var(--num); letter-spacing: -.01em; text-transform: uppercase; }
.land__name { background-clip: text; -webkit-background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 7s linear infinite; }
.land__name--a { background-image: linear-gradient(90deg, #e0f2fe, var(--a) 40%, #0ea5e9 60%, #e0f2fe); }
.land__name--b { background-image: linear-gradient(90deg, #ffedd5, var(--b) 40%, #ea580c 60%, #ffedd5); }
@keyframes shine { to { background-position: -200% 0; } }
.land__vs { font-size: .38em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45); letter-spacing: .08em; align-self: center; }
.land__sub { max-width: 640px; margin: 0 0 34px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; color: #c3c9d2; }
.land__sub #lnScore { color: var(--text); font-weight: 700; }
.land__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: box-shadow .2s, background .2s; }
.btn--main { background: var(--accent); color: #08090c; box-shadow: 0 14px 40px -12px rgba(163, 230, 53, .7); }
.btn--main small { font-weight: 500; opacity: .65; font-size: 12px; border-left: 1px solid rgba(0, 0, 0, .2); padding-left: 10px; }
.btn--ghost { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); }
.land__facts { display: flex; gap: 42px; margin-top: 56px; flex-wrap: wrap; }
.fact__v { font: 800 44px/1 var(--num); font-variant-numeric: tabular-nums; }
.fact__l { color: var(--muted); font-size: 13px; margin-top: 4px; letter-spacing: .04em; }

/* results ticker */
.ticker { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .07); background: rgba(8, 9, 12, .55); backdrop-filter: blur(10px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 40px; width: max-content; padding: 14px 0; animation: marquee 60s linear infinite; font-size: 14px; white-space: nowrap; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.tk b { font: 700 18px/1 var(--num); }
.tk .a { color: var(--a); } .tk .b { color: var(--b); } .tk .n { color: var(--text); }
.tk__sep { color: var(--dim); }

/* chapters */
.chapter { display: flex; align-items: center; gap: 18px; margin: 34px 0 -4px; }
.chapter__n { font: 700 14px/1 var(--num); color: var(--accent); letter-spacing: .1em; border: 1px solid rgba(163, 230, 53, .35); padding: 5px 8px; border-radius: 6px; }
.chapter__t { margin: 0; font: 800 clamp(30px, 4vw, 52px)/1 var(--num); text-transform: uppercase; letter-spacing: .01em; }
.chapter__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
main.wrap > .chapter:first-child { margin-top: 10px; }

/* mouse spotlight on cards */
.card, .rec, .kpi, .badge { --mx: 50%; --my: 50%; }
.card::after, .rec::after, .kpi::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .05), transparent 45%); }
.card:hover::after, .rec:hover::after, .kpi:hover::after { opacity: 1; }
.card, .rec, .kpi { position: relative; }
.hero::after { top: -50%; right: -14%; left: auto; bottom: auto; width: 42%; height: 200%; border-radius: 0; background: var(--b); opacity: .2 !important; }

@media (max-width: 560px) {
  .land { min-height: 0; }
  .land__in { padding-top: 36px; padding-bottom: 96px; }
  .land__facts { gap: 26px; margin-top: 40px; }
  .fact__v { font-size: 34px; }
  .btn { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .au, .land__name, .ticker__track { animation: none; } }

/* v2c fixes */
.badge__crown { position: static; margin-top: 10px; display: inline-flex; padding: 3px 8px; border-radius: 999px; background: rgba(250, 204, 21, .1); }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.seg__b { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.seg__b:hover { color: var(--text); }
.seg__b.is-on { background: var(--surface-3); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.mfoot { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 0 10px; }
.more { color: var(--muted); font-size: 13px; margin-top: 2px; }
.empty { color: var(--muted); padding: 22px 10px; text-align: center; }

/* v2d: weapon art in arsenal, compare CTA */
.fly__row { grid-template-columns: 1fr 150px 1fr; }
.fly__name { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fly__img { height: 26px; max-width: 90px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.fly__name span { font-size: 11px; }
.nav__a--cta { color: var(--accent); }
@media (max-width: 560px) { .fly__row { grid-template-columns: 1fr 104px 1fr; } .fly__img { height: 20px; } }

/* v2g: tooltips (restored) + hover = colour only, never movement (project rule) */
.tip:hover::after { content: attr(data-tip); position: absolute; top: 140%; left: 50%; transform: translateX(-50%); width: 260px; background: #000; border: 1px solid var(--line-2); color: var(--text); font: 400 13px/1.45 "Inter"; padding: 10px 12px; border-radius: 10px; z-index: 30; text-align: left; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.heat i[data-t]:hover::after, .punch i[data-t]:hover::after { content: attr(data-t); position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #000; border: 1px solid var(--line-2); color: var(--text); font-size: 12px; padding: 4px 8px; border-radius: 6px; z-index: 3; }
.heat i:hover, .punch i:hover { outline: 1px solid var(--text); outline-offset: 1px; z-index: 2; }
.badge:hover, .rec:hover { border-color: var(--line-2); }
.btn--main:hover { box-shadow: 0 14px 44px -10px rgba(163, 230, 53, .85); }

/* v2i: no mouse-follow gradient on cards (project rule) — hero glow stays */
.card:not(.hero)::after, .rec::after, .kpi::after { display: none !important; }

/* v2j: achievements redesign — uniform card anatomy, bars pinned to the bottom so rows line up */
.ach { align-items: stretch; }
.ab { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .2s; min-height: 100%; }
.ab:hover { border-color: var(--line-2); }
.ab.own-a { border-color: rgba(56, 189, 248, .28); background: linear-gradient(180deg, rgba(56, 189, 248, .07), var(--surface) 55%); }
.ab.own-b { border-color: rgba(251, 146, 60, .28); background: linear-gradient(180deg, rgba(251, 146, 60, .07), var(--surface) 55%); }
.ab__hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ab__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); }
.ab.own-a .ab__ic { background: rgba(56, 189, 248, .15); color: var(--a); }
.ab.own-b .ab__ic { background: rgba(251, 146, 60, .15); color: var(--b); }
.ab__own { display: inline-flex; align-items: center; gap: 6px; max-width: 62%; padding: 4px 9px 4px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--gold); background: rgba(250, 204, 21, .09); border: 1px solid rgba(250, 204, 21, .22); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab__own svg { width: 13px; height: 13px; flex-shrink: 0; }
.ab__own--tie { color: var(--muted); background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.ab__t { font-weight: 700; font-size: 16px; line-height: 1.2; margin-top: 4px; }
.ab__d { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.ab__bars { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.ab__row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; }
.ab__who { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 800 12px/1 var(--num); color: #08090c; }
.ab__row.a .ab__who { background: var(--a); } .ab__row.b .ab__who { background: var(--b); }
.ab__bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ab__bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.ab__row.a .ab__bar i { background: var(--a); } .ab__row.b .ab__bar i { background: var(--b); }
.ab__v { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 66px; text-align: right; white-space: nowrap; }
.ab__v b { color: var(--text); font-weight: 700; font-size: 13px; }
.ab__row.done .ab__v::after { content: "✓"; color: var(--win); margin-left: 5px; font-weight: 700; }
.ab__x { font-size: 11.5px; color: var(--dim); border-top: 1px dashed var(--line); padding-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ab__bars { padding-top: 10px; }

/* v2l: mobile — never scroll sideways; tooltips become a bottom sheet on touch screens */
html, body { overflow-x: clip; }
@media (max-width: 760px), (hover: none) {
  .tip:hover::after, .heat i[data-t]:hover::after, .punch i[data-t]:hover::after, .formbar a[data-t]:hover::after {
    position: fixed; left: 16px; right: 16px; top: auto; bottom: 18px; width: auto; transform: none; white-space: normal;
    text-align: center; font-size: 13px; padding: 10px 14px; border-radius: 12px; z-index: 60; }
}
@media (max-width: 560px) {
  .land__title { font-size: clamp(34px, 11.5vw, 64px); }
  .cmp-title { font-size: clamp(32px, 10vw, 60px); }
  .mh__map { font-size: clamp(34px, 11vw, 64px); }
  .pname, .land__name, .bname, .own__n { overflow-wrap: anywhere; }
}

/* mobile menu */
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; flex-shrink: 0; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mpanel { border-top: 1px solid var(--line); background: rgba(8, 9, 12, .96); backdrop-filter: blur(14px); }
.mpanel__in { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 16px; }
.mpanel__a { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; padding: 15px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: 600 17px/1 "Inter"; text-align: left; cursor: pointer; width: 100%; }
.mpanel__a svg { width: 20px; height: 20px; color: var(--muted); }
.mpanel__a.is-on { color: var(--accent); } .mpanel__a.is-on svg { color: var(--accent); }
.mpanel__copy small { color: var(--muted); font: 500 12px/1 "Inter"; }
.mpanel__copy { border-bottom: 0; }
@media (max-width: 1060px) { .burger { display: flex; } .live { margin-left: auto; } }
@media (max-width: 560px) { .live { max-width: 40vw; } }
body.menu-open { overflow: hidden; }

/* site footer */
.sfoot { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.sfoot__top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.sfoot__nav { display: flex; gap: 6px 20px; flex-wrap: wrap; font-size: 14px; }
.sfoot__nav a { color: var(--muted); transition: color .15s; }
.sfoot__nav a:hover { color: var(--text); }
.sfoot__soc { margin-left: auto; display: flex; gap: 8px; }
.soc { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: color .15s, border-color .15s; }
.soc--youtube:hover { color: #ff3b3b; border-color: rgba(255, 59, 59, .45); }
.soc--instagram:hover { color: #f472b6; border-color: rgba(244, 114, 182, .45); }
.soc--github:hover { color: var(--accent); border-color: rgba(163, 230, 53, .45); }
.soc--kofi:hover { color: #38bdf8; border-color: rgba(56, 189, 248, .45); }
.sfoot__bot { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; color: var(--dim); font-size: 13px; padding-bottom: 6px; }
.sfoot__bot a { color: var(--muted); } .sfoot__bot a:hover { color: var(--text); }
.sfoot__bot b { color: var(--muted); font-weight: 600; }
.sfoot__run { display: inline-flex; align-items: center; gap: 8px; }
.sfoot__run svg { width: 16px; height: 16px; color: var(--accent); }
.sfoot__cred { margin-left: auto; }
@media (max-width: 760px) {
  .sfoot__top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sfoot__soc { margin-left: 0; }
  .sfoot__cred { margin-left: 0; width: 100%; }
}

/* clickable activity days */
.heat a { aspect-ratio: 1; border-radius: 4px; position: relative; display: block; }
.heat a:hover { outline: 1px solid var(--text); outline-offset: 1px; z-index: 2; }
.heat a[data-t]:hover::after { content: attr(data-t); position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #000; border: 1px solid var(--line-2); color: var(--text); font-size: 12px; padding: 4px 8px; border-radius: 6px; z-index: 3; }
@media (max-width: 760px), (hover: none) { .heat a[data-t]:hover::after { position: fixed; left: 16px; right: 16px; top: auto; bottom: 18px; transform: none; text-align: center; white-space: normal; font-size: 13px; padding: 10px 14px; border-radius: 12px; z-index: 60; } }

/* ================= v2n: mobile polish ================= */
/* fixed header: content never jumps; the menu floats above the page */
:root { --hdr: 64px; }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
body { padding-top: var(--hdr); }
html { scroll-padding-top: calc(var(--hdr) + 16px); }
.top__row { gap: 14px; }
.brand { flex-shrink: 0; }
.live { min-width: 0; flex: 0 1 auto; }
#liveTxt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.burger { flex-shrink: 0; }
.mpanel { position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; z-index: 49; overflow-y: auto; border-top: 1px solid var(--line);
  background: rgba(8, 9, 12, .97); backdrop-filter: blur(16px); animation: mp-in .18s ease-out; }
@keyframes mp-in { from { opacity: 0; } to { opacity: 1; } }
.mpanel__in { padding-top: 14px; padding-bottom: 28px; }
.mpanel__a { padding: 16px 4px; border-radius: 0; }
@media (max-width: 1060px) { .live { margin-left: auto; max-width: none; } }
@media (max-width: 560px) {
  .top__row { gap: 10px; }
  .brand__mark { width: 34px; height: 34px; font-size: 20px; }
  .brand__txt b { font-size: 18px; }
  .live { padding: 7px 11px; font-size: 12px; }
}
@media (max-width: 380px) { .brand__txt { display: none; } }
@media (prefers-reduced-motion: reduce) { .mpanel { animation: none; } }

/* grid children may shrink below their content, so wide tables scroll inside their card instead of stretching it */
.grid2 > *, .wgrid > *, .mgrid > *, .ach > *, .recs > *, .moments > *, .kpis > *, .prv > *, .hero > *, .board > *, .own > * { min-width: 0; }
.card { min-width: 0; }
.twrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }

/* segmented controls: one swipeable row on phones instead of wrapping */
@media (max-width: 760px) {
  .seg { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); }
  .seg::-webkit-scrollbar { display: none; }
  .seg__b { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
  .seg--lg .seg__b { padding: 9px 14px; font-size: 13px; }
  .cmp-controls { flex-direction: column; align-items: stretch; gap: 12px; }
  .card__hd .seg, .sect-hd .seg { max-width: 100%; }
  .feed__ctl { width: 100%; justify-content: space-between; }
}

/* v2o — fit-to-width headings (long nicks shrink instead of breaking mid-word) */
.fit { white-space: nowrap; overflow-wrap: normal; word-break: normal; max-width: 100%; }
.fit.fit-wrap { white-space: normal; overflow-wrap: anywhere; }
.hero__side { min-width: 0; }
/* v2o — rivalry corners: top-aligned, mirrored stat tables on phones */
@media (max-width: 900px) {
  .hero { align-items: start; }
  .hero__side .mini { grid-template-columns: auto minmax(0, 1fr); justify-content: stretch; }
  .hero__side .mini dt { text-align: left; white-space: nowrap; }
  .hero__side .mini dd { text-align: right; }
  .hero__side .pname { line-height: 44px; height: 44px; margin: 10px 0 12px; }
}
@media (max-width: 560px) {
  .who { gap: 8px; } .tag { letter-spacing: .08em; }
  .hero__side .mini { column-gap: 10px; }
  .hero__side .pname { line-height: 32px; height: 32px; }
}
/* v2p — landing facts: always one row on phones */
@media (max-width: 560px) {
  .land__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 10px; }
  .fact__v { font-size: 30px; }
  .fact__l { font-size: 11px; letter-spacing: 0; white-space: nowrap; }
}
@media (max-width: 370px) { .fact__v { font-size: 25px; } .fact__l { font-size: 10px; } }
@media (min-width: 901px) and (max-width: 1060px) { .ach { grid-template-columns: repeat(4, 1fr); } } /* 16 badges → no orphan card */
/* v2q — ticker: iOS-safe. No mask-image / backdrop-filter on the moving strip (iOS Safari stops
   repainting an animated child under a mask and drops the layer while scrolling). Edge fades are
   plain gradient overlays; the track moves on its own GPU layer. */
.ticker { -webkit-mask-image: none; mask-image: none; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 9, 12, .82); }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #08090c, rgba(8, 9, 12, 0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, #08090c, rgba(8, 9, 12, 0)); }
.ticker__track { animation-name: marquee3d; will-change: transform; transform: translate3d(0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
@keyframes marquee3d { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.ticker:hover .ticker__track { animation-play-state: running; }
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker__track { animation-play-state: paused; } }
/* reduced motion: the strip stands still but can be swiped */
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .ticker::-webkit-scrollbar { display: none; }
  .ticker__track { animation: none; transform: none; will-change: auto; padding-left: 16px; padding-right: 16px; }
}
/* phones: lighter aurora (big blur + blend modes exhaust iOS GPU memory and evict other layers) */
@media (max-width: 760px) {
  .aurora { filter: blur(48px); opacity: .7; transform: translateZ(0); }
  .au { mix-blend-mode: normal; will-change: transform; }
  .pill, .btn--ghost { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ticker__track { animation-duration: 45s; }
}
/* v2r — marquee runs only after JS has filled the strip (.is-run) */
.ticker__track { animation: none; will-change: auto; }
.ticker__track.is-run { animation: marquee3d 60s linear infinite; will-change: transform; }
@media (max-width: 760px) { .ticker__track.is-run { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) { .ticker__track.is-run { animation: none; will-change: auto; } }
.ticker { contain: paint; }
.pl__more { color: var(--dim); font-size: 12px; white-space: nowrap; }
