/* SAS WARDOGS public site. Style "D" (stats-site look, picked 2026-10-24): flat dark surfaces, one orange accent,
   condensed numerals, real Steam avatars. No glow, no gradient text. Every font stack keeps CJK fallbacks. */
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #0a0c0f; --s1: #101317; --s2: #161a20; --line: #1f242c; --line2: #2a313b;
  --text: #e9ebee; --t2: #a4abb6; --t3: #6f7784; --acc: #ff6a2b; --ok: #35c46f; --bad: #f06060; --blurple: #5865F2;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", var(--cjk);
  --num: "Barlow Condensed", "Inter", system-ui, "Segoe UI", var(--cjk);
  --r: 8px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
input, button { font: inherit; color: inherit; min-width: 0; }
.hidden { display: none !important; }
.w { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; }
b, strong { font-weight: 600; }
.en { color: var(--t3); font-weight: 400; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wolf { display: inline-block; flex: none; background: currentColor; -webkit-mask: url(logo-mono.svg) center / contain no-repeat; mask: url(logo-mono.svg) center / contain no-repeat; }
.empty { color: var(--t3); margin: 0; } .pad { padding: 16px 18px; margin: 0; }
.fine { margin: 10px 0 0; font-size: 12px; color: var(--t3); line-height: 1.6; } .fine.top { margin: -4px 0 14px; }

/* ---- header ---- */
header.top { position: sticky; top: 0; z-index: 30; background: rgba(10, 12, 15, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; height: 64px; gap: 4px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: 24px; white-space: nowrap; }
.logo .lg { width: 32px; height: 32px; flex: none; display: block; }
.logo b { font: 700 20px/1 var(--num); letter-spacing: .04em; }
.nav a.l { white-space: nowrap; padding: 8px 12px; border-radius: 6px; color: var(--t2); font-weight: 400; transition: color .15s, background .15s; }
.nav a.l:hover, .nav a.l.on { color: var(--text); background: var(--s2); }
.nav a.l .en { margin-left: 5px; font-size: 12.5px; } .nav a.l.on .en, .nav a.l:hover .en { color: var(--t2); }
.nav .sp { flex: 1; }
.preview { background: rgba(255, 106, 43, .1); border-bottom: 1px solid rgba(255, 106, 43, .25); color: #ffb08a; font-size: 13px; padding: 8px 0; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px;
  font-weight: 600; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: filter .15s, background .15s, border-color .15s; }
.btn:hover { filter: brightness(1.1); }
.btn.lg { height: 46px; padding: 0 20px; font-size: 15px; }
.btn.dc { background: var(--blurple); color: #fff; } .btn svg.d { width: 19px; height: 19px; fill: #fff; flex: none; }
.btn.ghost { border-color: var(--line2); background: var(--s1); color: var(--text); } .btn.ghost:hover { border-color: #4a5260; filter: none; }
.nav .btn + .btn { margin-left: 4px; }
.btn.qq { background: #1191e0; color: #fff; } .btn svg.q { width: 19px; height: 19px; fill: #fff; flex: none; }
.btn.kk { background: #87eb00; color: #0b0d10; } .btn svg.k { width: 20px; height: 20px; flex: none; }
.btn.pri { background: var(--acc); color: #1a0d06; }
/* hero player search (style "B1", picked 2026-10-24): the box itself, suggestions from /api/suggest */
.hsearch { position: relative; display: flex; align-items: center; gap: 10px; max-width: 520px; height: 56px; margin-top: 28px; padding: 0 6px 0 16px;
  border: 1px solid var(--line2); border-radius: 10px; background: var(--s1); transition: border-color .15s; }
.hsearch:focus-within { border-color: rgba(255, 106, 43, .7); }
.hsearch > svg.i { width: 20px; height: 20px; color: var(--t3); }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 15px; color: var(--text); }
.hsearch input::placeholder { color: var(--t3); }
.hsearch button { height: 44px; padding: 0 18px; border: 0; border-radius: 7px; background: var(--acc); color: #1a0d06; font: 600 15px var(--ui); cursor: pointer; white-space: nowrap; flex: none; }
.hsearch button:hover { filter: brightness(1.08); }
.hsearch button .en { color: rgba(26, 13, 6, .62); font-weight: 400; font-size: 13px; }

/* ---- hero ---- */
/* Background "D1" (user, 2026-10-24: the old 5% contours read as plain): contours 10%, a lighter centre, the wolf
   watermark centred behind the hero (smaller on phones so it stays whole). */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background-size: cover; background-position: center;
  background-image: radial-gradient(ellipse 70% 90% at 50% 45%, #171b22, var(--bg) 75%); }
.hero::before { content: ""; position: absolute; inset: 0; background: url(topo.svg) center / cover no-repeat; }
.hero[data-bg]::before { background: linear-gradient(90deg, rgba(10, 12, 15, .96) 30%, rgba(10, 12, 15, .7)); -webkit-mask: none; mask: none; }
.hero .mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 1050px; height: 1050px; color: #fff; opacity: .075; }
.hero > .w { display: grid; grid-template-columns: 1fr 440px; gap: 64px; padding-top: 60px; padding-bottom: 56px; align-items: center; }
.hero > .w > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 3px 12px; border-radius: 99px; background: var(--s2); border: 1px solid var(--line2); font-size: 12.5px; color: var(--t2); }
.pill b { color: var(--text); font-weight: 600; }
.pill > i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(53, 196, 111, .18); flex: none; }
.pill.off > i { background: var(--t3); box-shadow: none; }
h1 { font: 800 84px/.92 var(--num); margin: 20px 0 0; text-transform: uppercase; letter-spacing: .005em; }
h1 .hl { display: inline-block; width: .96em; height: .96em; margin-right: .16em; vertical-align: -.1em; }
.tag { font-size: 18px; margin: 18px 0 0; max-width: 520px; line-height: 1.6; } .tag .en { display: block; font-size: 14px; margin-top: 2px; }
.trust { display: flex; gap: 36px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 520px; }
.trust b { display: block; font: 700 30px/1.05 var(--num); } .trust > div > span { font-size: 12.5px; color: var(--t3); }

/* ---- cards ---- */
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.side .card, .rulesc, .phero { padding: 18px; } .side .card.tbl { padding: 0; }
.ch { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ch b { font-weight: 600; } .ch > span { font-size: 12px; color: var(--t3); }
.ch.pad { margin: 0; border-bottom: 1px solid var(--line); }
.hlink { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: var(--t3); } .hlink:hover { color: var(--text); }
.hlink svg.i { width: 14px; height: 14px; }

/* server card (style "S2", picked 2026-10-24): map-first match header, score race to the cap, round numbers */
.srv { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); overflow: hidden; }
.srv .head { padding: 20px 20px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 106, 43, .08), transparent 80%); }
.srv .head .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--t3); }
.srv .head .row b { font: 600 14px var(--ui); color: var(--text); }
.state { display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1 var(--ui); letter-spacing: .02em; color: var(--ok); }
.state i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(53, 196, 111, .2); }
.state.off { color: var(--t2); } .state.off i { background: var(--t3); box-shadow: none; }
.srv .map { font: 800 40px/1 var(--num); text-transform: uppercase; letter-spacing: .01em; margin-top: 12px; overflow-wrap: anywhere; }
.srv .map .zn { color: var(--t3); }
.srv .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.srv .tg { font-size: 12px; padding: 3px 8px; border-radius: 4px; background: var(--s2); color: var(--t2); border: 1px solid var(--line2); }
.srv .tg .en { color: var(--t3); } .srv .tg.k { color: var(--acc); border-color: rgba(255, 106, 43, .4); background: rgba(255, 106, 43, .08); }
.srv .race { padding: 16px 20px 4px; }
.srv .rh { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--t3); margin-bottom: 12px; }
.fac { --c: #888; display: grid; grid-template-columns: 92px 1fr 36px; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.fac .nm { display: flex; align-items: center; gap: 8px; color: var(--t2); min-width: 0; } .fac .nm i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); flex: none; }
.fac .tr { position: relative; height: 10px; background: var(--s2); border-radius: 2px; }
.fac .tr i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--c); transition: width .6s; }
.fac .tr::after { content: ""; position: absolute; right: 0; top: -3px; bottom: -3px; width: 2px; background: var(--t3); }  /* the finish line */
.fac b { font: 700 22px/1 var(--num); text-align: right; }
.fac.lead .nm { color: var(--text); font-weight: 600; } .fac.lead b { color: var(--c); }
.srv .st3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.srv .st3 > div { padding: 12px 16px 12px 20px; border-left: 1px solid var(--line); min-width: 0; } .srv .st3 > div:first-child { border-left: 0; }
.srv .st3 > div > span { display: block; font-size: 11.5px; color: var(--t3); }
.srv .st3 b { display: block; font: 700 22px/1.15 var(--num); } .srv .st3 b small { font: 600 14px var(--num); color: var(--t3); }
.srv .empty { padding: 20px; }
/* server ID: the whole tile copies (style "C3", picked 2026-10-24); the ID is always shown in full */
.sid { padding: 14px 20px 16px; border-top: 1px solid var(--line); }
.sid .lb { display: block; margin-bottom: 8px; font-size: 12px; color: var(--t3); }
.sid .copy { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.sid .tile { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 1px solid var(--line2); border-radius: 8px; background: var(--s2);
  transition: border-color .15s, background .15s; }
.sid .copy:hover .tile { border-color: rgba(255, 106, 43, .55); }
.sid .copy:focus-visible { outline: none; } .sid .copy:focus-visible .tile { outline: 2px solid var(--acc); outline-offset: 2px; }
.sid code { flex: 1; min-width: 0; color: var(--text); font: 600 13px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -.03em; overflow-wrap: anywhere; }
.sid .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: rgba(255, 106, 43, .14); color: var(--acc); flex: none; transition: background .15s, color .15s; }
.sid .ic svg.i { width: 16px; height: 16px; stroke-width: 2.2; } .sid .ic .ok { display: none; }
.sid .t { display: block; margin-top: 6px; font-size: 11.5px; color: var(--t3); }
.sid .copy.done .tile { border-color: rgba(53, 196, 111, .6); background: rgba(53, 196, 111, .08); }
.sid .copy.done .ic { background: rgba(53, 196, 111, .18); color: var(--ok); }
.sid .copy.done .ic .ok { display: block; } .sid .copy.done .ic svg:not(.ok) { display: none; } .sid .copy.done .t { color: var(--ok); }
/* ---- player progress: badges in the header card + next goals card (mock-up "B+C", user 2026-10-25) ---- */
.bdg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bd { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; background: var(--s2); border: 1px solid var(--line2); font-size: 13px; }
.bd b { font-weight: 600; } .bd .en { font-size: 12px; }
.bd.new { border-color: rgba(255, 106, 43, .5); }
.nwr { font: 600 11px var(--ui); font-style: normal; color: #1a0d06; background: var(--acc); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.nwr .en { color: #1a0d06; opacity: .7; }
.goals .ch > span em { font: 700 13px var(--num); font-style: normal; }
.goals .up { color: var(--ok); } .goals .dn { color: var(--bad); }
.goals .gl { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.goals .ch + .gl { border-top: 0; }
.goals .gl .n { width: 24px; height: 24px; border-radius: 6px; background: var(--s2); display: grid; place-items: center; font: 700 14px var(--num); color: var(--t2); }
.goals .gl b { font-weight: 600; font-size: 13.5px; overflow-wrap: anywhere; } .goals .gl em { display: block; font-style: normal; font-size: 12px; color: var(--t3); }
.goals .gl .tr { display: block; height: 6px; margin-top: 6px; border-radius: 99px; background: var(--s2); overflow: hidden; }
.goals .gl .tr i { display: block; height: 100%; width: 0; background: var(--acc); border-radius: 99px; transition: width .6s; }
.goals .gl .v { font-size: 12.5px; color: var(--t3); white-space: nowrap; } .goals .gl .v b { font: 700 22px var(--num); color: var(--acc); }

@media (max-width: 860px) { .sid code { font-size: 11.5px; letter-spacing: -.06em; } .sid .tile { gap: 8px; padding: 10px 8px 10px 10px; } .sid .ic { width: 28px; height: 28px; } }

/* ---- sections ---- */
main > .w { padding-top: 48px; padding-bottom: 64px; }
.sec-h { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
h2 { font-size: 20px; font-weight: 700; margin: 0; line-height: 1.2; } h2 .en { font-size: 13px; }
.seg { margin-left: auto; display: flex; padding: 3px; background: var(--s1); border: 1px solid var(--line); border-radius: 7px; flex: none; }
.seg a, .seg button { padding: 5px 12px; border: 0; border-radius: 5px; background: none; font-size: 13px; color: var(--t2); white-space: nowrap; cursor: pointer; }
.seg a:hover, .seg button:hover { color: var(--text); }
.seg .on { background: var(--s2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.seg.wide { margin: 0 0 16px; width: max-content; }
.layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.layout > * { min-width: 0; }
.layout.one { grid-template-columns: 1fr; }
.st2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; } .st2 > * { min-width: 0; }
.card.pad { padding: 18px; } .wsec { margin-top: 32px; } .bars.tall { height: 120px; }
.side { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 360px; gap: 32px; margin-top: 32px; }
.row2 > * { min-width: 0; }

/* page heads */
.phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.pt { font: 700 40px/1.05 var(--num); margin: 0; text-transform: none; letter-spacing: .01em; }
.pt .en { font: 600 .55em var(--num); color: var(--t3); margin-left: .4em; }  /* English under every page title (user, 2026-10-24) */
.psub { margin: 6px 0 0; color: var(--t2); }
.phead .seg { margin-left: 0; }

/* podium (style "R", picked 2026-10-24): the top 3 as taller rows in one card, gold / silver / bronze rank chip,
   edge line and tint; metal colour only on the chip, the line, the label and the leading number */
.podium { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 12px; }
.pc { --mc: #e8b931; --tint: rgba(232, 185, 49, .14); position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border-top: 1px solid var(--line); background: linear-gradient(90deg, var(--tint), transparent 45%); transition: background-color .15s; }
.pc:hover { background-color: var(--s2); }
.pc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--mc); }
.pc.r1 { border-top: 0; padding: 22px 18px; }
.pc.r2 { --mc: #c3cbd6; --tint: rgba(195, 203, 214, .12); } .pc.r3 { --mc: #c9824a; --tint: rgba(201, 130, 74, .14); }
.pc .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--mc); color: #14110a; font: 800 20px/1 var(--num); flex: none; }
.pc .av { width: 48px; height: 48px; border-radius: 6px; } .pc.r1 .av { width: 60px; height: 60px; }
.pc .id { flex: 1; min-width: 0; }
.pc .nm { display: block; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; line-height: 1.3; } .pc.r1 .nm { font-size: 19px; }
.pc .lb { font-size: 12px; font-weight: 600; color: var(--mc); } .pc .lb .en { color: inherit; font-weight: 400; }
.pc .st { display: flex; gap: 28px; text-align: right; flex: none; }
.pc .st > span { font-size: 11.5px; color: var(--t3); } .pc .st .en { font-size: inherit; }
.pc .st b { display: block; font: 700 20px/1.05 var(--num); color: var(--text); }
.pc .st .lead b { font-size: 30px; color: var(--mc); } .pc.r1 .st .lead b { font-size: 38px; }

/* avatars + rank chips */
.av { display: inline-block; width: 30px; height: 30px; border-radius: 5px; object-fit: cover; background: var(--s2); flex: none; }
.av.none { box-shadow: inset 0 0 0 1px var(--line2); }
/* online now (RCON player list): a dot on the avatar's corner, no layout change */
.avw { position: relative; display: inline-flex; flex: none; }
.ond { position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--s1); }
.av.xl + .ond { width: 14px; height: 14px; right: -4px; bottom: -4px; box-shadow: 0 0 0 3px var(--s1); }
.onl { color: var(--ok) !important; } .meta.onl { display: flex; align-items: center; gap: 6px; } .meta.onl > i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.av.xl { width: 72px; height: 72px; border-radius: 8px; }
.rank { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 5px; border-radius: 4px; font: 700 14px/1 var(--num); color: var(--t3); }
.rank.r1 { background: var(--acc); color: #1a0d06; } .rank.r2, .rank.r3 { background: var(--s2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }

/* tables */
.tbl { overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th { font-size: 12px; font-weight: 400; color: var(--t3); text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px 16px; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s; } tbody tr:hover { background: var(--s2); }
td.rk { width: 56px; font: 600 16px var(--num); color: var(--t3); }
td.p a { display: flex; align-items: center; gap: 12px; font-weight: 600; overflow-wrap: anywhere; } td.p a:hover span { color: var(--acc); }
td.wn { font-weight: 600; }
.n { text-align: right; font: 600 17px var(--num); font-variant-numeric: tabular-nums; white-space: nowrap; width: 80px; color: var(--t2); }
th.n { font: 400 12px var(--ui); color: var(--t3); }
.n.k { color: var(--text); }
th.share, td.share { width: 200px; }
td.share > span:last-child { display: inline-block; width: 46px; text-align: right; font: 600 15px var(--num); color: var(--t2); }
td.share .tr { display: inline-block; vertical-align: middle; width: calc(100% - 54px); height: 4px; border-radius: 99px; background: var(--s2); overflow: hidden; }
td.share .tr i { display: block; height: 100%; width: 0; background: var(--t2); border-radius: 99px; }
tbody tr:first-child td.share .tr i { background: var(--acc); }
.more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-top: 1px solid var(--line); color: var(--t2); font-weight: 400; font-size: 13.5px; }
.more:hover { color: var(--text); background: var(--s2); } .more svg.i { width: 15px; height: 15px; }

/* side widgets */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 72px; }
.bars i { flex: 1; height: 0; min-height: 2px; background: #2b3a4f; border-radius: 2px 2px 0 0; }
.bars i.hi { background: #3987e5; }
.axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--t3); margin-top: 6px; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.stat3 b { display: block; font: 700 24px/1.05 var(--num); } .stat3 span { font-size: 12px; color: var(--t3); }
.rec { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.ch + .rec { border-top: 0; padding-top: 0; }
.rec > span { color: var(--t3); flex: none; } .rec > b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; } .rec b a:hover { color: var(--acc); }
.rec em, .wp em { display: block; font-style: normal; color: var(--t3); font-size: 12px; font-weight: 400; }
/* rivals (player page): who he killed most / who killed him most, score = his kills : theirs */
.rv .g { color: var(--ok); } .rv .r { color: var(--bad); }
.fo2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fo { --c: var(--ok); min-width: 0; padding: 14px 12px 8px; border-top: 3px solid var(--c); border-radius: 8px; background: var(--s2); text-align: center; }
.fo.cr { --c: var(--bad); }
.fo .lab { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--c); }
.fo .top { display: block; } .fo .top:hover b { color: var(--acc); }
.av.big { width: 56px; height: 56px; border-radius: 8px; }
.fo .top b { display: block; margin-top: 8px; font-size: 13.5px; overflow-wrap: anywhere; }
.fo .sc { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin-top: 8px; font: 800 34px/1 var(--num); }
.fo .sc i { font-style: normal; } .fo .sc small { font-size: 22px; color: var(--t3); }
.fo .tr { display: flex; gap: 2px; height: 5px; margin: 10px 4px 12px; }
.fo .tr i { display: block; border-radius: 2px; } .fo .tr i.g { background: var(--ok); } .fo .tr i.r { background: var(--bad); }
.fo .ru { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line2); text-align: left; font-size: 12.5px; }
.fo .ru > span { color: var(--t3); font: 600 12px var(--num); } .fo .ru b { font-weight: 600; min-width: 0; overflow-wrap: anywhere; } .fo .ru:hover b { color: var(--acc); }
.fo .ru .sc { margin: 0; gap: 3px; font: 700 15px/1 var(--num); } .fo .ru .sc small { font-size: inherit; }
.fo .none { margin: 18px 0; color: var(--t3); }
.rv .dot { display: inline-block; width: 7px; height: 7px; margin: 0 4px 0 8px; border-radius: 2px; } .rv .dot:first-child { margin-left: 0; }
.rv .dot.g { background: var(--ok); } .rv .dot.r { background: var(--bad); }
/* legend in the same two columns as the tiles: green under 宿敌, red under 克星 */
.rv .lg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; text-align: center; } .rv .lg2 > span { white-space: nowrap; }
.rv .lg2 .mn { grid-column: 1 / -1; }
.wp { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 7px 0; font-size: 13.5px; }
.wp > span:not(.tr) { color: var(--t3); font: 600 14px var(--num); }
.wp .tr { grid-column: 1 / -1; height: 4px; border-radius: 99px; background: var(--s2); overflow: hidden; }
.wp .tr i { display: block; height: 100%; width: 0; background: var(--t2); border-radius: 99px; transition: width .6s; }
.wp:nth-child(2) .tr i { background: var(--acc); }
.wp em { grid-column: 1 / -1; margin-top: -2px; }

/* rules */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rule { display: flex; gap: 12px; }
.rule .x { flex: none; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: rgba(240, 96, 96, .12); color: var(--bad); }
.rule .x svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
.rule b { font-weight: 600; display: block; } .rule .en { display: block; font-size: 12.5px; }
.ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; margin-top: 16px; }
.ladder div { background: var(--s2); border-radius: 6px; padding: 8px 10px; font-size: 13px; font-weight: 600; }
.ladder small { display: block; color: var(--t3); font-weight: 400; font-size: 11.5px; }
.ladder .en { font-weight: 400; }
.tkr { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }  /* teamkill limit, below the weapon rules */
.tkr .nw { white-space: nowrap; }
.join { position: relative; overflow: hidden; padding: 22px; display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(160deg, rgba(88, 101, 242, .16), var(--s1) 60%); border-color: rgba(88, 101, 242, .35); }
.join > b { font-size: 20px; } .join > span { color: var(--t2); font-size: 13.5px; } .join > span .en { display: block; }
.join .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; position: relative; } .join .btns .btn { padding: 0 8px; }
.rules-page { display: grid; gap: 16px; max-width: 900px; }
.free p { white-space: pre-line; margin: 0 0 10px; line-height: 1.7; color: var(--t2); }

/* search */
.search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 720px; padding: 5px 5px 5px 16px; margin-bottom: 20px;
  border: 1px solid var(--line2); border-radius: 8px; background: var(--s1); color: var(--t3); }
.search:focus-within { border-color: #4a5260; }
.search input { flex: 1; border: 0; background: none; outline: 0; font-size: 16px; padding: 10px 0; color: var(--text); }
.search input::placeholder { color: var(--t3); }
.results { max-width: 720px; overflow: hidden; }
.res { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.ch.pad + .res { border-top: 0; }
.res:hover { background: var(--s2); } .res b { flex: 1; font-weight: 600; overflow-wrap: anywhere; } .res > span { color: var(--t3); font-size: 12.5px; }
.res svg.i { color: var(--t3); width: 16px; height: 16px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; background: var(--s1); border: 1px solid var(--line2); border-radius: 8px;
  overflow: hidden; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); }
.suggest a { display: block; padding: 10px 14px; font-size: 14px; color: var(--text); }
.suggest a:hover, .suggest a.act { background: var(--s2); }

/* player */
.phero { margin-bottom: 24px; }
.phero .who { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.phero .id { flex: 1; min-width: 200px; } .phero .pt { overflow-wrap: anywhere; }
.meta { display: block; color: var(--t3); font-size: 13px; margin-top: 4px; overflow-wrap: anywhere; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 20px; }
.kpi { background: var(--s2); border-radius: 6px; padding: 12px 14px; }
.kpi > span { font-size: 12.5px; color: var(--t3); }
.kpi > b { display: block; font: 700 30px/1.1 var(--num); margin-top: 4px; } .kpi > b small { font-weight: 600; font-size: 16px; color: var(--t3); }
.kpi.hl { background: rgba(255, 106, 43, .1); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, .4); } .kpi.hl > b { color: var(--acc); }
/* recent matches (player page) */
.mrow { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1.1fr) 78px 56px 72px; gap: 12px; align-items: center;
  padding: 12px 18px; border-top: 1px solid var(--line); }
.mrow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rc, var(--line2)); }
.mrow.win { --rc: var(--ok); background: linear-gradient(90deg, rgba(53, 196, 111, .07), transparent 40%); }
.mrow.loss { --rc: var(--bad); background: linear-gradient(90deg, rgba(240, 96, 96, .06), transparent 40%); }
.mrow.live { --rc: #3987e5; }
.mrow > span { min-width: 0; } .mrow b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.mrow em { display: block; font-style: normal; font-size: 12px; color: var(--t3); }
.mrow .rs b { font-size: 15px; color: var(--rc, var(--t2)); } .mrow .rs .en { font-size: 11.5px; }
.mrow.aborted .rs b { color: var(--t2); font-size: 13px; }
.mrow .sd b { display: flex; align-items: center; gap: 7px; } .mrow .sd i { width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--t3)); flex: none; }
.mrow .kd, .mrow .hs, .mrow .rk { text-align: right; }
.mrow .kd b, .mrow .hs b, .mrow .rk b { font: 700 20px/1.1 var(--num); } .mrow .kd small { font-weight: 600; font-size: 15px; color: var(--t3); }
.mh .fine.pad { margin: 0; border-top: 1px solid var(--line); }
.errorcard { margin: 40px auto; max-width: 560px; text-align: center; padding: 40px 24px; }
.errorcard .code { font: 800 64px/1 var(--num); color: var(--acc); } .errorcard .pt { display: block; } .errorcard .pt .en { display: block; margin: 8px 0 0; } .errorcard p { color: var(--t2); margin: 12px 0 20px; }

/* ---- footer + phone nav ---- */
footer { border-top: 1px solid var(--line); background: var(--s1); }
footer .w { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-top: 36px; padding-bottom: 36px; font-size: 13px; color: var(--t3); }
footer p { margin: 0 0 8px; } footer h4 { margin: 0 0 10px; color: var(--text); font-size: 13px; font-weight: 600; }
footer .w > div > a:not(.brand) { display: block; padding: 3px 0; color: var(--t2); } footer a:hover { color: var(--text); }
footer .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 700 18px var(--num); letter-spacing: .04em; margin-bottom: 10px; }
footer .brand .lg { width: 26px; height: 26px; flex: none; display: block; }
.bnav { display: none; }

/* wide screens only (style "H3", picked 2026-10-24): a bigger hero column to balance the server card; phones untouched */
@media (min-width: 1200px) {
  .hero > .w { grid-template-columns: 1fr 420px; gap: 56px; }
  .hero .pill { font-size: 13.5px; min-height: 30px; }
  .hero h1 { font-size: 100px; white-space: nowrap; } .hero h1 .hl { width: .9em; height: .9em; }
  .hero .tag { font-size: 22px; max-width: 640px; margin-top: 22px; } .hero .tag .en { font-size: 16px; }
  .hsearch { max-width: 640px; height: 64px; margin-top: 34px; border-radius: 12px; }
  .hsearch input { font-size: 17px; } .hsearch button { height: 52px; padding: 0 24px; font-size: 16px; }
}
@media (max-width: 1080px) {
  .hero > .w { grid-template-columns: 1fr 400px; gap: 40px; }
  .layout, .row2 { grid-template-columns: 1fr 320px; gap: 24px; }
  .rgrid { grid-template-columns: 1fr; gap: 12px; }
  .nav a.l { padding: 6px 9px; display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
  .nav a.l .en { margin-left: 0; font-size: 10.5px; }
  .nav .btn.dc, .nav .btn.kk, .nav .btn.qq { width: 40px; padding: 0; } .nav .btn.dc .t, .nav .btn.kk .t, .nav .btn.qq .t { display: none; }
}
@media (max-width: 860px) {
  .w { padding: 0 16px; }
  .nav { height: 56px; } .nav a.l { display: none; } .logo { margin-right: 0; }
  .nav .btn.dc, .nav .btn.kk, .nav .btn.qq { width: 40px; padding: 0; } .nav .btn.dc .t, .nav .btn.kk .t, .nav .btn.qq .t { display: none; }
  .hero > .w { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; padding-bottom: 28px; }
  .hero .mark { width: 330px; height: 330px; top: 250px; opacity: .09; }
  h1 { font-size: 52px; margin-top: 16px; display: flex; align-items: center; }
  h1 .hl { width: 1.8em; height: 1.8em; margin-right: .2em; flex: none; }
  h1 span { min-width: 0; }
  .tag { font-size: 16px; }
  .hsearch { max-width: none; height: 52px; padding-left: 12px; margin-top: 22px; } .hsearch input { font-size: 16px; } .hsearch button { padding: 0 14px; } .hsearch button .en { display: none; }
  .trust { gap: 0; justify-content: space-between; margin-top: 28px; padding-top: 18px; }
  .trust b { font-size: 26px; }
  .srv .head, .srv .race, .sid { padding-left: 16px; padding-right: 16px; } .srv .st3 > div { padding-left: 14px; padding-right: 10px; } .srv .map { font-size: 36px; }
  .layout > .side:has(.rv, .goals) { display: contents; } .layout .rv { order: -1; }  /* rivals above recent matches on phones (user, 2026-10-24) */
  .layout .goals { order: -2; } .bd.phx { display: none; }  /* goals first, at most 3 badges on phones (user, 2026-10-25) */
  .layout, .row2, .st2 { grid-template-columns: 1fr; gap: 16px; } .row2 { margin-top: 16px; } .wsec { margin-top: 24px; } .bars.tall { height: 88px; }
  main > .w { padding-top: 28px; padding-bottom: 32px; }
  .sec-h { flex-wrap: wrap; } .sec-h .seg, .phead .seg, .seg.wide { margin-left: 0; width: 100%; }
  .seg a, .seg button { flex: 1; text-align: center; padding: 6px 4px; font-size: 12.5px; }
  .seg .en, .kpi .en, .srv .st3 .en, .stat3 .en, .trust .en { display: none; }
  .ladder { grid-template-columns: repeat(3, 1fr); }
  .ladder .en { display: block; font-size: 12px; }  /* English under the step on phones (user, 2026-10-24) */
  .tkr .ladder { grid-template-columns: repeat(2, 1fr); }
  .tkn .sep { display: none; } .tkn .nw { display: block; white-space: normal; }  /* one note per line */
  .pt { font-size: 32px; }
  .pc { gap: 10px; padding: 12px; } .pc.r1 { padding: 16px 12px; }
  .pc .n { width: 28px; height: 28px; font-size: 17px; } .pc .av { width: 40px; height: 40px; } .pc.r1 .av { width: 48px; height: 48px; }
  .pc .nm { font-size: 14px; } .pc.r1 .nm { font-size: 15px; }
  .pc .st > span:not(.lead) { display: none; } .pc .st .lead b { font-size: 24px; } .pc.r1 .st .lead b { font-size: 30px; }
  .mrow { grid-template-columns: 22px minmax(0, 1fr) 64px 52px; gap: 10px; padding: 12px 14px; } .mrow .sd, .mrow .hs { display: none; }
  .mrow .rs .en, .mrow .mp .en, .mh .ch .nt { display: none; }
  th, td { padding: 10px; } td.rk { width: 36px; } .ph { display: none; } .n { width: 56px; }
  td.p a { gap: 8px; } td.p .av { width: 26px; height: 26px; }
  .kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; } .kpi { padding: 10px 12px; } .kpi > b { font-size: 26px; }
  .phero { padding: 16px; } .phero .btn { width: 100%; } .av.xl { width: 60px; height: 60px; }
  .res { padding: 12px 14px; } .res > span { display: none; }
  footer .w { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 28px; padding-bottom: 28px; } footer .w > div:first-child { grid-column: 1 / -1; }
  footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  nav.bnav { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; grid-template-columns: repeat(5, 1fr);
    background: rgba(10, 12, 15, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .bnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 9px; font-size: 11px; color: var(--t3); }
  .bnav a.on { color: var(--text); } .bnav a.on svg { color: var(--acc); }
  .bnav a { gap: 2px; padding: 7px 0 7px; line-height: 1.15; } .bnav .en { font-size: 9.5px; } .bnav a.on .en { color: var(--t2); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
