:root {
  --bg: #0b0d12;
  --bg2: #10141c;
  --panel: rgba(20, 25, 35, .78);
  --line: rgba(232, 178, 74, .22);
  --line2: rgba(255, 255, 255, .07);
  --text: #e7e2d6;
  --muted: #9a9fab;
  --gold: #e8b24a;
  --gold2: #ffd98a;
  --bel: #f08a2c;
  --cor: #a56cf0;
  --acc: #c9d2de;
  --ok: #52d273;
  --bad: #e5534b;
  --r: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 50% -10%, rgba(232, 178, 74, .06), transparent 60%);
  color: var(--text);
  font: 500 17px/1.55 "Rajdhani", system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Orbitron", sans-serif; letter-spacing: .02em; margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-variant-numeric: tabular-nums; }
.kicker { margin: 0 0 8px; color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: 13px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px max(16px, calc((100% - 1180px) / 2));
  background: rgba(11, 13, 18, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line2);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-rf {
  font: 900 22px "Orbitron", sans-serif; color: #120d05;
  background: linear-gradient(160deg, var(--gold2), var(--gold) 55%, #9c6a1c);
  padding: 4px 8px; border-radius: 6px; letter-spacing: .04em;
}
.brand-logo { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.foot .brand-logo { width: 56px; height: 56px; }
.hero-logo {
  width: clamp(150px, 20vw, 240px); height: auto; margin: 0 0 6px -10px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .75)) drop-shadow(0 0 24px rgba(220, 40, 40, .18));
}
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font: 800 14px "Orbitron", sans-serif; letter-spacing: .08em; }
.brand-txt i { font: 600 11px "Orbitron", sans-serif; font-style: normal; color: var(--gold); letter-spacing: .32em; margin-top: 3px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; transition: color .2s; }
.links a:hover { color: var(--gold2); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang {
  background: transparent; color: var(--text); border: 1px solid var(--line2);
  border-radius: 8px; padding: 6px 10px; font: 700 13px "Rajdhani"; cursor: pointer; letter-spacing: .08em;
}
.lang:hover { border-color: var(--gold); }
.music {
  display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 8px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line2); border-radius: 8px;
}
.music:hover { border-color: var(--gold); color: var(--text); }
.music svg { width: 18px; height: 18px; fill: currentColor; }
.music .m-on, .music .eq { display: none; }
.music.on { color: var(--gold2); border-color: var(--line); }
.music.on .m-on { display: block; }
.music.on .m-off { display: none; }
.music.on .eq { display: inline-flex; }
.eq { align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 100%; background: var(--gold2); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; }
.eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }
.burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-gold { color: #1a1206; background: linear-gradient(180deg, var(--gold2), var(--gold) 60%, #b5801f); box-shadow: 0 6px 24px rgba(232, 178, 74, .25); }
.btn-gold:hover { box-shadow: 0 8px 32px rgba(232, 178, 74, .4); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .25); }
.btn-ghost:hover { border-color: var(--gold); }

/* hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 50% 30%; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.1) translateY(-1%); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 18, .35) 0%, rgba(11, 13, 18, 0) 30%, rgba(11, 13, 18, .55) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 13, 18, .55), transparent 55%);
}
.hero-in { position: relative; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 0 0 64px; }
.hero h1 { display: flex; flex-direction: column; line-height: .95; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.hero h1 span { font-size: clamp(38px, 7vw, 86px); font-weight: 900; }
.hero h1 em {
  font-style: normal; font-size: clamp(22px, 3.6vw, 44px); font-weight: 800; letter-spacing: .4em; margin-top: 10px;
  background: linear-gradient(90deg, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 620px; font-size: 19px; color: #d6d2c8; margin: 18px 0 26px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-live {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px;
  padding: 10px 16px; border-radius: 999px; background: rgba(11, 13, 18, .7); border: 1px solid var(--line2); font-size: 15px;
}
.hero-live .sep { width: 1px; height: 16px; background: var(--line2); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); display: inline-block; flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 0 rgba(82, 210, 115, .6); animation: pulse 2s infinite; }
.dot.off { background: var(--bad); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(82, 210, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(82, 210, 115, 0); } }

/* panels */
.panel { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 22px; position: relative; }
.panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(232, 178, 74, .08), transparent 40%);
}
.panel h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 10px; }

/* status */
.status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -28px; position: relative; z-index: 2; }
.stat .big { font: 800 26px "Orbitron", sans-serif; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.stat p { margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 15px; color: var(--muted); }
.badge b { color: var(--gold2); margin-left: 4px; }
.balance { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin: 8px 0 10px; background: #222; }
.balance span { transition: flex .8s ease; }
.b-bel { background: var(--bel); } .b-cor { background: var(--cor); } .b-acc { background: var(--acc); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 4px; }
.c-bel { background: var(--bel); } .c-cor { background: var(--cor); } .c-acc { background: var(--acc); }

/* sections */
section.wrap { padding: 96px 0 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.sec-head p.muted { margin: 12px 0 0; }

/* races */
.race-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.race {
  position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line2); background: var(--bg2);
  display: flex; flex-direction: column; transition: transform .25s, border-color .25s;
}
.race:hover { transform: translateY(-4px); }
.race img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 25%; transition: transform .6s; }
.race:hover img { transform: scale(1.05); }
.race-body { padding: 20px 22px 22px; position: relative; margin-top: -60px; background: linear-gradient(180deg, transparent, var(--bg2) 60px); padding-top: 70px; flex: 1; display: flex; flex-direction: column; }
.race h3 { font-size: 22px; margin-bottom: 8px; }
.race p { margin: 0 0 10px; color: #cfcabe; }
.race ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); }
.race .count { margin-top: auto; font-size: 15px; color: var(--muted); }
.race-bel { --c: var(--bel); } .race-cor { --c: var(--cor); } .race-acc { --c: var(--acc); }
.race h3, .race .count b { color: var(--c); }
.race:hover { border-color: var(--c); box-shadow: 0 10px 40px color-mix(in srgb, var(--c) 18%, transparent); }
.race li::marker { color: var(--c); }

/* features */
.ft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ft h3 { font-size: 17px; color: var(--text); letter-spacing: .04em; text-transform: none; margin: 10px 0 8px; }
.ft p { margin: 0; color: var(--muted); }
.ft-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; font-size: 22px; color: var(--gold2);
  background: rgba(232, 178, 74, .1); border: 1px solid var(--line);
}

/* timeline */
.timeline { padding: 28px; }
.tl-bar { position: relative; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #12161f, #1b2130, #12161f); border: 1px solid var(--line2); }
.tl-war { position: absolute; top: -4px; height: 22px; border-radius: 6px; background: linear-gradient(180deg, var(--gold2), var(--gold)); box-shadow: 0 0 16px rgba(232, 178, 74, .5); }
.tl-now { position: absolute; top: -9px; width: 2px; height: 32px; background: var(--ok); z-index: 2; }
.tl-now::after { content: "NOW"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 700 11px "Rajdhani"; color: var(--ok); letter-spacing: .1em; }
.tl-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 8px; }
.tl-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tl-list li { border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tl-list b { font: 800 20px "Orbitron", sans-serif; color: var(--gold2); }
.tl-list .live { color: var(--ok); font-weight: 700; }

/* rankings */
.rk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rk-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.rk-tabs button {
  font: 700 14px "Rajdhani", sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; color: var(--muted); background: rgba(20, 25, 35, .8); border: 1px solid var(--line2);
  transition: color .2s, border-color .2s, background .2s;
}
.rk-tabs button { display: inline-flex; align-items: center; gap: 8px; padding-left: 10px; }
.rk-tabs img { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.rk-tabs button.on img { filter: drop-shadow(0 0 1px rgba(0, 0, 0, .9)) brightness(.35); }
.rk-tabs button.on:first-child img { filter: none; }
.rk-tabs button:hover { color: var(--text); }
.race h3 { display: flex; align-items: center; gap: 10px; }
.race .race-emb, .race:hover .race-emb { width: 44px; height: 44px; aspect-ratio: auto; flex: none; transform: none; object-fit: contain; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 45%, transparent)); }
.rk-tabs button.on { color: #1a1206; background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: transparent; }
.rk-tabs .t-bel.on { background: var(--bel); }
.rk-tabs .t-cor.on { background: var(--cor); color: #fff; }
.rk-tabs .t-acc.on { background: var(--acc); }
.rk ol { list-style: none; margin: 0; padding: 0; counter-reset: rk; }
.rk li { counter-increment: rk; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line2); }
.rk li:last-child { border-bottom: 0; }
.rk li.muted { display: block; }
.rk li.has-emb { grid-template-columns: 30px 40px 1fr auto; }
.gemb { width: 40px; height: 40px; border-radius: 4px; }
.grade {
  display: inline-block; padding: 2px 8px; border-radius: 4px; white-space: nowrap;
  font: 700 12px "Rajdhani", sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line2);
}
.grade.g2 { color: #8fd0ff; border-color: rgba(143, 208, 255, .4); }
.grade.g3 { color: #c99bff; border-color: rgba(201, 155, 255, .45); }
.grade.g4 { color: #1a1206; background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: transparent; }
.rk li::before { content: counter(rk); font: 800 15px "Orbitron"; color: var(--muted); }
.rk li.muted::before { content: none; }
.rk li:nth-child(1)::before { color: var(--gold2); }
.rk .who b { display: flex; align-items: center; gap: 6px; line-height: 1.2; }
.remb { width: 26px; height: 26px; flex: none; object-fit: contain; }
.remb.r0 { filter: drop-shadow(0 0 3px rgba(240, 138, 44, .9)) brightness(1.15); }
.remb.r1 { filter: drop-shadow(0 0 3px rgba(165, 108, 240, .95)) brightness(1.15); }
.remb.r2 { filter: drop-shadow(0 0 3px rgba(201, 210, 222, .8)) brightness(1.25); }
.rk .val small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-align: right; margin-top: 2px; }
.rk .who small { color: var(--muted); font-size: 13px; }
.rk .val { font-weight: 700; color: var(--gold2); font-variant-numeric: tabular-nums; }
.rc-0 { color: var(--bel); } .rc-1 { color: var(--cor); } .rc-2 { color: var(--acc); }

/* world level */
section.wl-wrap { padding-top: 14px; }
.wl { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 20px; align-items: center; }
.wl h3 { margin-bottom: 6px; }
.wl-now { margin: 0; font-size: 18px; }
.wl-now b { font: 800 22px "Orbitron"; color: var(--gold2); }
.wl-next { margin: 4px 0 0; font-size: 14px; }
.wl-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; overflow-x: auto; }
.wl-steps li { flex: 1; min-width: 64px; text-align: center; padding: 8px 4px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(10, 12, 18, .5); }
.wl-steps small { display: block; color: var(--muted); font-size: 12px; }
.wl-steps b { font: 800 18px "Orbitron"; color: var(--muted); }
.wl-steps li.past b { color: #8a8f9a; }
.wl-steps li.past { opacity: .6; }
.wl-steps li.now { border-color: var(--gold); background: rgba(232, 178, 74, .12); box-shadow: 0 0 16px rgba(232, 178, 74, .18); }
.wl-steps li.now b { color: var(--gold2); }

/* codex spotlight */
.spot-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.spot-media img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.spot-txt h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; }
.spot-txt p { color: #cfcabe; }

/* novus ranking */
.nv-tabs { margin-bottom: 18px; }
.nv-board { max-width: 760px; margin: 0 auto; padding: 10px 22px; }
.nv-list { list-style: none; margin: 0; padding: 0; }
.nv-list li { display: grid; grid-template-columns: 34px 30px 1fr auto auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.nv-list li:last-child { border-bottom: 0; }
.nv-list li.muted { display: block; }
.nv-rank { font: 800 16px "Orbitron"; color: var(--muted); text-align: center; }
.nv-list li:nth-child(1) .nv-rank { color: var(--gold2); }
.nv-list li:nth-child(2) .nv-rank { color: #d7dde6; }
.nv-list li:nth-child(3) .nv-rank { color: #d08a4c; }
.nv-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-lv { color: var(--muted); font-size: 14px; }
.nv-val { font-weight: 700; color: var(--gold2); font-variant-numeric: tabular-nums; min-width: 80px; text-align: right; }

/* race leaders */
.ld-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ld-0 { --c: var(--bel); } .ld-1 { --c: var(--cor); } .ld-2 { --c: var(--acc); }
.ld { border-top: 2px solid var(--c); }
.ld header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ld header h3 { margin: 0; color: var(--c); text-transform: none; letter-spacing: .04em; font-size: 17px; }
.ld-emb { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 55%, transparent)); }
.ld-arch { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px; border-radius: 10px;
  background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); border: 1px solid var(--line2); }
.ld-crown { font-size: 26px; color: var(--gold2); line-height: 1; text-shadow: 0 0 12px rgba(232, 178, 74, .6); }
.ld-arch small { text-transform: uppercase; letter-spacing: .2em; color: var(--gold); font-weight: 700; font-size: 12px; margin-top: 4px; }
.ld-arch b { font: 800 22px "Orbitron"; margin: 4px 0; }
.ld-list { list-style: none; padding: 0; margin: 12px 0 0; }
.ld-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 15px; }
.ld-list li:last-child { border-bottom: 0; }
.ld-list span { color: var(--muted); }
.ld-none { margin: 12px 0 0; text-align: center; font-size: 15px; }

/* guild league */
.center { text-align: center; }
.lg-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -12px 0 18px; }
.lg-tabs button {
  font: 700 13px "Rajdhani", sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  padding: 7px 16px; border-radius: 999px; color: var(--muted); background: rgba(20, 25, 35, .8); border: 1px solid var(--line2);
}
.lg-tabs button.on { color: #1a1206; background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: transparent; }
.lg-week { margin: 0 0 18px; }
.lg-bracket { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.lg-col { display: flex; flex-direction: column; }
.lg-ct { font: 700 13px "Orbitron", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lg-ct small { display: block; font: 600 13px "Rajdhani"; letter-spacing: .04em; color: var(--muted); text-transform: none; margin-top: 2px; }
.lg-third { margin-top: 18px; }
.lg-cm { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; }
.lg-fin { justify-content: center; }
.lg-match { background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.lg-match.live { border-color: var(--bad); box-shadow: 0 0 18px rgba(229, 83, 75, .25); }
.lg-mh { display: flex; justify-content: flex-end; padding: 4px 10px 0; }
.lg-live { font: 700 11px "Rajdhani"; letter-spacing: .14em; color: #fff; background: var(--bad); padding: 1px 8px; border-radius: 4px; animation: pulse 2s infinite; }
.lg-done { font: 700 11px "Rajdhani"; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.lg-team { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; }
.lg-team + .lg-team { border-top: 1px solid var(--line2); }
.lg-team .gemb { width: 32px; height: 32px; }
.gemb.empty { display: block; width: 32px; height: 32px; border-radius: 4px; border: 1px dashed var(--line2); }
.lg-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-score { font: 800 15px "Orbitron"; color: var(--muted); font-variant-numeric: tabular-nums; }
.lg-team.win { background: linear-gradient(90deg, rgba(232, 178, 74, .16), transparent); }
.lg-team.win .lg-name, .lg-team.win .lg-score { color: var(--gold2); }
.lg-team.lose { opacity: .55; }
.lg-podium { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin-bottom: 26px; }
.pl { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 18px; min-width: 150px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); position: relative; }
.pl .gemb { width: 56px; height: 56px; }
.pl b { font-size: 17px; }
.pl small { color: var(--muted); }
.pl-rank { position: absolute; top: 8px; left: 10px; font: 900 16px "Orbitron"; color: var(--muted); }
.pl.p1 { order: 2; padding-top: 26px; border-color: var(--gold); box-shadow: 0 0 30px rgba(232, 178, 74, .2); }
.pl.p1 .pl-rank, .pl.p1 b { color: var(--gold2); }
.pl.p1 .gemb { width: 72px; height: 72px; }
.pl.p2 { order: 1; } .pl.p2 .pl-rank { color: #d7dde6; }
.pl.p3 { order: 3; } .pl.p3 .pl-rank { color: #d08a4c; }
.lg-reg { max-width: 560px; margin: 0 auto; text-align: center; }
.lg-reg ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lg-reg li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line2); border-radius: 8px; }

/* news */
.patch-ver { font: 800 20px "Orbitron"; color: var(--gold2); margin: 0 0 12px; }
.patch ol { margin: 0; padding-left: 22px; color: #d4cfc4; }
.patch li { margin: 6px 0; }

/* download */
.download {
  margin-top: 110px; padding: 90px 0; text-align: center; position: relative;
  background: linear-gradient(180deg, rgba(11, 13, 18, .82), rgba(11, 13, 18, .94)), url("img/hero-960.webp") center 40% / cover;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.download h2 { font-size: clamp(24px, 4vw, 38px); }
.download .lead { margin: 14px auto 30px; }
.dl-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.dl {
  display: flex; align-items: center; gap: 14px; text-align: left; min-width: 250px; padding: 14px 22px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(20, 25, 35, .85); transition: border-color .2s, transform .15s;
}
.dl:hover { border-color: var(--gold); transform: translateY(-2px); }
.dl-soon { opacity: .55; cursor: default; border-style: dashed; }
.dl-soon:hover { border-color: var(--line); transform: none; }
.dl b { display: block; font: 800 18px "Orbitron"; }
.dl small { color: var(--muted); font-size: 14px; }
.dl-ico svg { width: 34px; height: 34px; fill: var(--gold2); }

/* footer */
.foot { padding: 36px 0 44px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.foot-in p { max-width: 560px; margin: 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1180px) {
  .links { gap: 14px; }
  .links a { font-size: 13px; }
  .rk-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .ld-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .spot-in, .wl { grid-template-columns: 1fr; }
  .status { grid-template-columns: repeat(2, 1fr); }
  .race-grid, .ft-grid, .rk-grid { grid-template-columns: 1fr 1fr; }
  .race-grid .race:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .links {
    position: fixed; inset: 58px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: rgba(11, 13, 18, .97); border-bottom: 1px solid var(--line2); display: none;
  }
  .links.open { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line2); }
  .burger { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .brand-txt b { font-size: 12px; }
  .nav .btn-sm { display: none; }
  .hero { min-height: min(82vh, 720px); }
  .hero-bg img { object-position: 42% 30%; }
  .hero-in { padding-bottom: 48px; }
  .hero-logo { width: 140px; }
  .hero h1 em { letter-spacing: .25em; }
  .status, .race-grid, .ft-grid, .rk-grid, .tl-list, .lg-bracket, .ld-grid { grid-template-columns: 1fr; }
  .nv-list li { grid-template-columns: 28px 26px 1fr auto; }
  .nv-lv { display: none; }
  .lg-podium { flex-direction: column; align-items: stretch; }
  .pl.p1, .pl.p2, .pl.p3 { order: 0; }
  .race-grid .race:last-child { grid-column: auto; }
  section.wrap { padding-top: 72px; }
  .dl { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
