/* NLauncher — server catalog (/servers) and server page (/servers/<id>), e2 style.
 * Card language follows the home «Топ серверов» block (top-servers.v5.css).
 * Versioned filename: the front proxy caches /assets/* ignoring ?v= — never edit in place, copy to sv.v2.css. */
:root {
  --bg: #F6F7F9; --bg2: #EEF1F6; --card: #fff; --card2: #F3F5F9; --ink: #0B0B0F; --ink2: #4A4F5A; --mute: #7A808C; --faint: #9AA0AB;
  --line: rgba(11,11,15,.08); --line2: rgba(11,11,15,.14); --chip: rgba(11,11,15,.05);
  --acc: #2E6CF6; --acc2: #1E56D6; --acc-soft: rgba(46,108,246,.1); --acc-tx: #1E56D6;
  --ok: #16A34A; --ok-soft: rgba(22,163,74,.12); --warn: #D97706; --bad: #DC2626; --bad-soft: rgba(220,38,38,.1); --gold: #F5B82E;
  --panel: #0B1220; --panel2: #121A2C;
  --shadow: 0 18px 44px -30px rgba(11,11,15,.45); --shadow-lg: 0 30px 70px -30px rgba(11,18,32,.45);
  --hdr: rgba(246,247,249,.86);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0B0B0F; --bg2: #101118; --card: #14151C; --card2: #1A1C24; --ink: #F2F3F6; --ink2: #B4B8C2; --mute: #8A909C; --faint: #6B7180;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.15); --chip: rgba(255,255,255,.06);
  --acc: #4C82FF; --acc2: #2E6CF6; --acc-soft: rgba(76,130,255,.14); --acc-tx: #93B8FF;
  --ok: #4ADE80; --ok-soft: rgba(74,222,128,.13); --bad: #FF6B6B; --bad-soft: rgba(255,107,107,.12);
  --panel: #0E1422; --panel2: #151D30;
  --shadow: 0 18px 44px -26px rgba(0,0,0,.9); --shadow-lg: 0 30px 70px -24px rgba(0,0,0,.8);
  --hdr: rgba(11,11,15,.82);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body { font-family: Onest, system-ui, sans-serif; font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--acc-tx); text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--acc); color: #fff; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
a, button { transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease, opacity .16s ease; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
svg.nli { flex: none; }

/* ---------- header (same bar as /hosting) ---------- */
.hh { position: sticky; top: 0; z-index: 60; background: var(--hdr); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.hh nav { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 18px; }
.hh .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; font-weight: 900; font-size: 18px; letter-spacing: -.03em; }
.hh .brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.hh .links { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--line); font-size: 14.5px; font-weight: 600; }
.hh .links a, .hh .links .nlx-tr { padding: 8px 14px; border-radius: 10px; color: var(--ink2); }
.hh .links a:hover, .hh .links .nlx-tr:hover { color: var(--ink); background: var(--card); }
.hh .links a.on { color: var(--ink); background: var(--card); box-shadow: 0 6px 16px -12px rgba(11,11,15,.6); }
.hh .right { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ibtn { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ibtn:hover { border-color: var(--acc); color: var(--acc); }
.me { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 5px; border-radius: 12px; border: 1px solid var(--line2); color: var(--ink); font-weight: 700; font-size: 14px; max-width: 180px; white-space: nowrap; min-width: 0; }
.me:hover { border-color: var(--acc); color: var(--acc); }
.me .av { width: 30px; height: 30px; border-radius: 9px; background: var(--acc); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; flex: none; overflow: hidden; }
.me .av img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.me span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: inherit; font-weight: 800; font-size: 15px; height: 48px; padding: 0 22px; border-radius: 13px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn.pri { background: var(--acc); color: #fff; box-shadow: 0 16px 34px -18px rgba(46,108,246,.95); }
.btn.pri:hover { background: var(--acc2); color: #fff; transform: translateY(-1px); }
.btn.sec { background: var(--card); color: var(--ink); border-color: var(--line2); }
.btn.sec:hover { border-color: var(--acc); color: var(--acc); }
.btn.sm { height: 40px; font-size: 14px; padding: 0 16px; border-radius: 12px; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

.kick { display: inline-flex; align-items: center; gap: 10px; font: 700 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font: 700 11px var(--mono); letter-spacing: .1em; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: sv-blink 1.7s infinite; }
@keyframes sv-blink { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }

/* ---------- catalog hero ---------- */
.cx-hero { padding: 48px 0 30px; }
.cx-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; }
.cx-hero h1 { margin: 18px 0 16px; font-weight: 900; font-size: clamp(40px, 5.6vw, 76px); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.cx-hero h1 em { font-style: normal; color: var(--acc); }
.cx-lead { margin: 0 0 26px; max-width: 540px; font-size: 18px; line-height: 1.5; color: var(--ink2); text-wrap: pretty; }
.cx-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cx-host { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.cx-host span { color: var(--mute); font-weight: 600; }
.cx-host:hover, .cx-host:hover span { color: var(--acc); }

/* live board: dark panel in both themes */
.board { position: relative; overflow: hidden; background: var(--panel); color: #E8ECF4; border-radius: 26px; padding: 24px 24px 20px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06); }
.board::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(147,184,255,.14) 1px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 60%); mask-image: linear-gradient(200deg, #000 10%, transparent 60%); pointer-events: none; }
.board > * { position: relative; }
.board .b-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 700 11px var(--mono); letter-spacing: .14em; color: #8A93A6; text-transform: uppercase; }
.board .live { background: rgba(74,222,128,.14); color: #4ADE80; }
.board .b-num { margin: 12px 0 2px; font-weight: 900; font-size: clamp(46px, 5vw, 68px); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: #fff; }
.board .b-num .pn { font: inherit; letter-spacing: inherit; }
.board .b-num .pn.bump { color: #93B8FF; }
.board .b-num small { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: #8A93A6; margin-left: 8px; }
.board .b-sub { font-size: 14.5px; color: #A9B2C3; }
.board .b-sub b { color: #fff; font-variant-numeric: tabular-nums; }
.board .b-bar { display: flex; gap: 3px; height: 10px; margin: 20px 0 14px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.06); }
.board .b-bar i { display: block; height: 100%; min-width: 4px; transition: flex-grow .8s cubic-bezier(.2,.8,.2,1); }
.board .b-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.board .b-leg a { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: #D6DBE6; font-size: 13.5px; font-weight: 600; padding: 2px 0; }
.board .b-leg a:hover { color: #fff; }
.board .b-leg a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.board .b-leg i { width: 10px; height: 10px; border-radius: 3px; }
.board .b-leg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .b-leg b { font: 700 12.5px var(--mono); color: #fff; font-variant-numeric: tabular-nums; }
.board .b-leg li.rest a { color: #8A93A6; pointer-events: none; }
.board .b-leg li.rest b { color: #8A93A6; }

/* ---------- toolbar ---------- */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.search { position: relative; flex: 1 1 300px; min-width: 0; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.search input { width: 100%; height: 46px; border-radius: 13px; border: 1px solid var(--line2); background: var(--bg); padding: 0 44px 0 42px; font-size: 15px; font-weight: 500; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--acc); background: var(--card); box-shadow: 0 0 0 4px var(--acc-soft); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 700 11px var(--mono); color: var(--mute); border: 1px solid var(--line2); border-radius: 6px; padding: 2px 7px; pointer-events: none; }
.search input:focus + kbd, .search input:not(:placeholder-shown) + kbd { display: none; }
.search .clr { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; color: var(--mute); display: grid; place-items: center; cursor: pointer; }
.search .clr:hover { background: var(--chip); color: var(--ink); }
.sel { position: relative; flex: none; }
.sel select { height: 46px; border-radius: 13px; border: 1px solid var(--line2); background: var(--bg); padding: 0 38px 0 14px; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; outline: none; }
.sel select:focus-visible { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.sel svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--mute); }
.seg { flex: none; display: flex; gap: 2px; padding: 4px; border-radius: 13px; background: var(--chip); }
.seg button { -webkit-appearance: none; appearance: none; border: 0; background: transparent; height: 38px; padding: 0 13px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink2); cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: 0 6px 16px -12px rgba(11,11,15,.7), 0 0 0 1px var(--line); }
.sw { flex: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--ink2); cursor: pointer; user-select: none; padding: 0 6px; height: 46px; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw span { width: 38px; height: 22px; border-radius: 99px; background: var(--line2); position: relative; transition: background .16s ease; flex: none; }
.sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s ease; }
.sw input:checked + span { background: var(--ok); }
.sw input:checked + span::after { transform: translateX(16px); }
.sw input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }

/* category chips */
.chips { display: flex; gap: 8px; margin: 16px 0 22px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { -webkit-appearance: none; appearance: none; flex: none; cursor: pointer; font: 700 14px Onest, system-ui, sans-serif; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); color: var(--ink2); display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--acc); color: var(--acc); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .n { font: 700 11px var(--mono); opacity: .6; }
.chip.top { color: #B45309; }
html[data-theme="dark"] .chip.top { color: #F5B82E; }
.chip.top[aria-pressed="true"] { color: var(--bg); }

/* ---------- server card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.sc { position: relative; min-width: 0; display: flex; flex-direction: column; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.sc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 38%, transparent); }
.sc.promo { border-color: rgba(245,184,46,.6); box-shadow: 0 0 0 1px rgba(245,184,46,.35), 0 22px 50px -30px rgba(229,154,12,.55); }
.sc.promo:hover { border-color: rgba(245,184,46,.9); }
.sc.new { animation: sc-in .35s ease both; }
@keyframes sc-in { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.ban { position: relative; height: 74px; flex: none; overflow: hidden; background: linear-gradient(125deg, var(--c1, #4C86FF), var(--c2, #1F4FD8)); }
.ban::before { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(120% 140% at 30% 0%, transparent 45%, rgba(0,0,0,.28) 100%), linear-gradient(180deg, transparent 55%, rgba(0,0,0,.12)); pointer-events: none; }
.ban .px { position: absolute; inset: 0; z-index: 1; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' shape-rendering='crispEdges'%3E%3Cg fill='%23fff'%3E%3Crect x='0' y='0' width='12' height='12'/%3E%3Crect x='36' y='12' width='12' height='12' opacity='.6'/%3E%3Crect x='60' y='0' width='12' height='12' opacity='.35'/%3E%3Crect x='84' y='24' width='12' height='12' opacity='.8'/%3E%3Crect x='12' y='36' width='12' height='12' opacity='.45'/%3E%3Crect x='48' y='36' width='12' height='12'/%3E%3Crect x='72' y='12' width='12' height='12' opacity='.25'/%3E%3Crect x='24' y='24' width='12' height='12' opacity='.3'/%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 75%); mask-image: linear-gradient(100deg, transparent 15%, #000 75%); }
.ban img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ban img.bd { inset: -30%; width: 160%; height: 160%; filter: blur(30px) saturate(1.6); opacity: .55; }
.ban.img::before { background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.25)); }
.ban .tag-top { position: absolute; z-index: 3; top: 12px; right: 12px; font: 800 10.5px var(--mono); letter-spacing: .08em; padding: 5px 9px; border-radius: 8px; background: linear-gradient(135deg, #FFD36A, #FF8A1F); color: #2A1500; box-shadow: 0 6px 16px -8px rgba(0,0,0,.6); }
.sc-body { display: flex; flex-direction: column; gap: 13px; padding: 0 18px 18px; flex: 1; min-width: 0; }
.sc-head { display: flex; align-items: flex-start; gap: 13px; margin-top: -26px; min-width: 0; position: relative; z-index: 4; }
.ic { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 22px; letter-spacing: -.03em; overflow: hidden; box-shadow: 0 0 0 4px var(--card), 0 12px 26px -14px rgba(11,11,15,.7); }
.ic img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.sc-id { flex: 1; min-width: 0; padding-top: 33px; }
.sc h3 { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 900; font-size: 18px; letter-spacing: -.03em; line-height: 1.2; }
.sc h3 a { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sc h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sc h3 a:focus-visible { outline: none; }
.sc:has(h3 a:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.dot.off { background: var(--faint); box-shadow: none; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 7px; min-width: 0; }
.tag { font: 700 11px var(--mono); padding: 4px 8px; border-radius: 7px; background: var(--chip); color: var(--ink2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tag.rt { background: rgba(245,184,46,.16); color: #9A6200; }
html[data-theme="dark"] .tag.rt { color: #F5C445; }
.sc-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; min-height: 42px; }
.sc-desc.none { color: var(--faint); }

/* online meter */
.meter { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.meter-row { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.pn { font-weight: 900; font-size: 22px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; transition: color .6s ease; }
.pn.bump { color: var(--acc); }
.max { font: 700 12px var(--mono); color: var(--faint); white-space: nowrap; }
.ping { margin-left: auto; display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; font: 700 11px var(--mono); color: var(--faint); white-space: nowrap; }
.ping b { display: block; width: 3px; border-radius: 1px; background: var(--line2); }
.ping b:nth-child(1) { height: 5px } .ping b:nth-child(2) { height: 8px } .ping b:nth-child(3) { height: 11px } .ping b:nth-child(4) { height: 14px }
.ping.p4 b, .ping.p3 b:nth-child(-n+3), .ping.p2 b:nth-child(-n+2) { background: var(--ok); }
.ping.p1 b:nth-child(1) { background: #F59E0B; }
.ping span { margin-left: 5px; }
.bar { height: 6px; border-radius: 99px; background: var(--chip); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--acc); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.offline-note { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--mute); padding: 10px 12px; border-radius: 12px; background: var(--chip); }

/* actions */
.act { display: flex; align-items: center; gap: 8px; min-width: 0; position: relative; z-index: 2; }
.ip { -webkit-appearance: none; appearance: none; cursor: pointer; flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line2); background: transparent; color: var(--ink2); font: 700 12px var(--mono); text-align: left; }
.ip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.ip svg { flex: none; opacity: .7; }
.ip:hover { border-color: var(--acc); color: var(--acc); }
.ip.done { border-color: var(--ok); color: var(--ok); }
.play { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 11px; background: var(--acc); color: #fff !important; font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: 0 12px 26px -16px rgba(46,108,246,.9); }
.play:hover { background: var(--acc2); transform: translateY(-1px); }
.more { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--ink2); }
.more:hover { color: var(--acc); border-color: var(--acc); }

/* offline card */
.sc.off .ban { height: 44px; filter: grayscale(1); opacity: .4; }
.sc.off .ic { filter: grayscale(.85); }
.sc.off h3 a { color: var(--ink2); }

.divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 14px 0 2px; font: 700 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.divider::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.divider b { color: var(--ink); }

/* paging */
.pager { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 26px 0 0; }
.pager .cnt { font: 700 12px var(--mono); letter-spacing: .06em; color: var(--mute); }
.pager .prog { width: 180px; height: 4px; border-radius: 9px; background: var(--chip); overflow: hidden; }
.pager .prog i { display: block; height: 100%; background: var(--acc); border-radius: inherit; transition: width .3s ease; }

/* states */
.sk { border-radius: 8px; background: linear-gradient(90deg, var(--chip) 0%, var(--line) 40%, var(--chip) 80%); background-size: 300% 100%; animation: sv-sh 1.4s ease infinite; }
@keyframes sv-sh { from { background-position: 100% 0 } to { background-position: -50% 0 } }
.sc.skel { pointer-events: none; box-shadow: none; }
.sc.skel .ban { background: var(--chip); }
.sc.skel .ban::before, .hero.skel .ban::before { display: none; }
.board .bsk { display: inline-block; width: 190px; max-width: 70%; height: 54px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.12) 40%, rgba(255,255,255,.05) 80%); background-size: 300% 100%; animation: sv-sh 1.4s ease infinite; }
.sc.skel .ic { background: var(--card2); box-shadow: 0 0 0 4px var(--card); }
.state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 20px; border-radius: 24px; border: 1px dashed var(--line2); background: var(--card); color: var(--ink2); }
.state .si { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); margin-bottom: 4px; }
.state b { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.state span { max-width: 440px; line-height: 1.5; }
.state .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* CTA band */
.band2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin: 56px 0 0; }
.cta { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 26px; min-height: 220px; }
.cta h2 { margin: 0; font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.04em; line-height: 1.02; }
.cta p { margin: 0; font-size: 15.5px; line-height: 1.5; max-width: 420px; }
.cta .btn { margin-top: auto; align-self: flex-start; }
.cta.add { background: var(--acc); color: #fff; }
.cta.add p { color: rgba(255,255,255,.82); }
.cta.add .btn { background: #fff; color: #0B0B0F; }
.cta.add .btn:hover { background: #0B1220; color: #fff; }
.cta.add::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px; background-image: radial-gradient(rgba(255,255,255,.28) 1.4px, transparent 1.8px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%); pointer-events: none; }
.cta.host { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta.host p { color: var(--ink2); }
.cta .steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.cta .steps span { font: 700 11px var(--mono); padding: 5px 9px; border-radius: 8px; background: var(--chip); color: var(--ink2); }
.cta.add .steps span { background: rgba(255,255,255,.16); color: #fff; }

/* toast */
.sv-toast { position: fixed; left: 50%; bottom: 24px; z-index: 2147483001; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 14px; background: #0B1220; color: #fff; font: 600 14px Onest, system-ui, sans-serif; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); transition: opacity .2s ease, transform .2s ease; }
.sv-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.sv-toast i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #16A34A; display: grid; place-items: center; }
.sv-toast i.err { background: #DC2626; }
.sv-toast b { font-family: var(--mono); font-weight: 700; }
.sv-toast a { color: #93B8FF; font-weight: 800; white-space: nowrap; }
html[data-theme="dark"] .sv-toast { background: #F2F3F6; color: #0B0B0F; }
html[data-theme="dark"] .sv-toast a { color: #1E56D6; }

/* footer */
footer.ft { margin-top: 64px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--mute); font-size: 14px; }
footer.ft .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer.ft a { color: var(--ink2); }
footer.ft a:hover { color: var(--acc); }
footer.ft .sp { margin-left: auto; }

/* ============ server page ============ */
.crumbs { display: flex; align-items: center; gap: 8px; margin: 22px 0 14px; font-size: 14px; font-weight: 600; color: var(--mute); min-width: 0; }
.crumbs a { color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--acc); }
.crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); min-width: 0; }

.hero { position: relative; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero .ban { height: 220px; border-radius: 27px 27px 0 0; }
.hero .ban img.bd { display: none; }
.hero .ban .wm { position: absolute; z-index: 1; inset: auto; left: auto; right: 36%; top: 50%; width: 260px; height: 260px; transform: translateY(-50%) rotate(-9deg); image-rendering: pixelated; opacity: .22; mix-blend-mode: luminosity; border-radius: 24px; filter: saturate(0) contrast(1.2); }
.hero .ban .px { opacity: .2; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding: 0 28px 28px; }
.hero-id { display: flex; gap: 22px; align-items: flex-start; min-width: 0; }
.hero .ic { width: 124px; height: 124px; border-radius: 30px; font-size: 46px; margin-top: -62px; box-shadow: 0 0 0 6px var(--card), 0 22px 44px -18px rgba(11,11,15,.6); position: relative; z-index: 3; }
.hero-tx { min-width: 0; padding-top: 18px; flex: 1; }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 9px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.pill.on { background: var(--ok-soft); color: var(--ok); }
.pill.on i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: sv-blink 1.7s infinite; }
.pill.off { background: var(--chip); color: var(--mute); }
.pill.off i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.top { background: linear-gradient(135deg, #FFD36A, #FF8A1F); color: #2A1500; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; }
.pill.tg { background: var(--chip); color: var(--ink2); font-weight: 700; }
.pill.ver { background: var(--acc-soft); color: var(--acc-tx); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.hero .teaser { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 640px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hero .own { margin-top: 12px; font-size: 14px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.hero .own a { font-weight: 700; }
.hero .own span:empty { display: none; }
.hero .own .edit { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--line2); color: var(--ink); font-weight: 700; font-size: 13px; }
.hero .own .edit:hover { border-color: var(--acc); color: var(--acc); }

.connect { margin-top: -84px; position: relative; z-index: 3; align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.connect .lbl { font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: flex; justify-content: space-between; gap: 10px; }
.addr { -webkit-appearance: none; appearance: none; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; height: 54px; padding: 0 14px 0 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg); color: var(--ink); font: 700 16px var(--mono); text-align: left; }
.addr span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr em { font-style: normal; flex: none; display: inline-flex; align-items: center; gap: 6px; font: 700 12px Onest, system-ui, sans-serif; color: var(--acc-tx); padding: 6px 9px; border-radius: 8px; background: var(--acc-soft); }
.addr:hover { border-color: var(--acc); }
.addr.done em { background: var(--ok-soft); color: var(--ok); }
.connect .btn.pri { height: 54px; font-size: 16px; }
.connect .note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--mute); }
.connect .note a { font-weight: 700; }

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.tile .tl { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.tile .tv { display: flex; align-items: baseline; gap: 7px; font-weight: 900; font-size: 34px; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; min-width: 0; }
.tile .tv .pn { font: inherit; letter-spacing: inherit; }
.tile .tv small { font: 700 13px var(--mono); letter-spacing: 0; color: var(--faint); white-space: nowrap; }
.tile .ts { font-size: 13px; color: var(--mute); min-height: 18px; }
.tile .bar { margin-top: 6px; }
.tile .ping { margin-left: 0; height: 18px; }
.tile .ping b { width: 4px; }
.tile .ping b:nth-child(1) { height: 6px } .tile .ping b:nth-child(2) { height: 10px } .tile .ping b:nth-child(3) { height: 14px } .tile .ping b:nth-child(4) { height: 18px }
.tile.up .tv { color: var(--ok); }
.tile.warn .tv { color: var(--warn); }
.tile.bad .tv { color: var(--bad); }

/* chart */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; min-width: 0; }
.card + .card { margin-top: 16px; }
.card-h { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 16px; }
.card-h h2 { margin: 0; font-weight: 900; font-size: 22px; letter-spacing: -.035em; }
.card-h .sub { font-size: 13.5px; color: var(--mute); }
.card-h .sp { margin-left: auto; }
.chart { position: relative; height: 260px; margin: 0 -4px; touch-action: pan-y; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .gl { stroke: var(--line); stroke-width: 1; }
.chart .ax { fill: var(--faint); font: 600 11px var(--mono); }
.chart .ln { fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .ln2 { fill: none; stroke: var(--acc); stroke-width: 1.2; stroke-opacity: .45; stroke-dasharray: 3 3; }
.chart .ar { fill: url(#svArea); }
.chart .pk { fill: var(--gold); stroke: var(--card); stroke-width: 2.5; }
.chart .cross { stroke: var(--ink); stroke-opacity: .25; stroke-width: 1; }
.chart .cdot { fill: var(--acc); stroke: var(--card); stroke-width: 2.5; }
.tip { position: absolute; top: 0; pointer-events: none; transform: translate(-50%, -4px); padding: 8px 11px; border-radius: 11px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transition: opacity .12s ease; z-index: 3; }
.tip.on { opacity: 1; }
.tip b { font: 800 14px var(--mono); display: block; }
.chart-empty { height: 260px; display: grid; place-items: center; text-align: center; color: var(--mute); font-size: 14.5px; border-radius: 16px; background: var(--card2); padding: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--mute); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--acc); }
.legend i.dash { background: repeating-linear-gradient(90deg, var(--acc) 0 3px, transparent 3px 6px); opacity: .6; }
.legend i.pkd { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.upstrip { margin-top: 16px; }
.upstrip .us-h { display: flex; justify-content: space-between; gap: 10px; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.upstrip .us-h b { color: var(--ink); }
.upstrip .cells { display: flex; gap: 2px; height: 22px; }
.upstrip .cells i { flex: 1; border-radius: 3px; background: var(--chip); min-width: 1px; }
.upstrip .cells i.u { background: var(--ok); opacity: .8; }
.upstrip .cells i.p { background: #F59E0B; }
.upstrip .cells i.d { background: var(--bad); }
.upstrip .us-f { display: flex; justify-content: space-between; margin-top: 6px; font: 600 11px var(--mono); color: var(--faint); }

/* two columns */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; margin-top: 16px; align-items: start; }
.cols > div { min-width: 0; }
.desc p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--ink2); overflow-wrap: anywhere; white-space: pre-line; }
.desc p:last-child { margin-bottom: 0; }
.desc a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.desc .none { color: var(--mute); }
.tagcloud { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tagcloud span { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: var(--chip); color: var(--ink2); }

/* MOTD: replica of the in-game server list row — dark in both themes */
.mc { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #1B1B1F; border: 2px solid #0E0E10; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); color: #fff; font-family: 'Pixelify Sans', var(--mono); }
.mc .mi { width: 64px; height: 64px; border-radius: 3px; overflow: hidden; background: #2B2B31; display: grid; place-items: center; font-weight: 700; font-size: 24px; }
.mc .mi img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.mc .mn { font-size: 16px; line-height: 1.25; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc .mm { margin-top: 3px; font-size: 15px; line-height: 1.3; color: #A8A8A8; white-space: pre; overflow: hidden; }
.mc .mm div { overflow: hidden; text-overflow: ellipsis; }
.mc .mr { align-self: start; display: flex; align-items: center; gap: 8px; font-size: 15px; color: #A8A8A8; white-space: nowrap; }
.mc .mr .ping { color: #A8A8A8; }
.mc .mr .ping b { background: #3A3A40; }
.mc .mr .ping.p4 b, .mc .mr .ping.p3 b:nth-child(-n+3), .mc .mr .ping.p2 b:nth-child(-n+2) { background: #55FF55; }
.mc .mr .ping.p1 b:nth-child(1) { background: #FFAA00; }
.mc .mr .ping span { display: none; }
.mc .l { font-weight: 700; } .mc .o { font-style: italic; } .mc .n { text-decoration: underline; } .mc .m { text-decoration: line-through; } .mc .k { filter: blur(2px); }
.mc-cap { margin: 10px 0 0; font-size: 13px; color: var(--mute); }

/* reviews */
.rv-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px 28px; align-items: center; padding: 18px; border-radius: 18px; background: var(--card2); }
.rv-avg { text-align: center; min-width: 120px; }
.rv-avg b { display: block; font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -.05em; }
.rv-avg small { display: block; margin-top: 6px; font-size: 13px; color: var(--mute); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); margin-top: 8px; }
.stars .e { color: var(--line2); }
.rv-bars { display: grid; gap: 6px; }
.rv-bars div { display: grid; grid-template-columns: 22px minmax(0, 1fr) 30px; align-items: center; gap: 10px; font: 700 12px var(--mono); color: var(--mute); }
.rv-bars .t { height: 8px; border-radius: 9px; background: var(--chip); overflow: hidden; }
.rv-bars .t i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.rv-bars div span:last-child { text-align: right; }
.rv-form { margin-top: 16px; padding: 18px; border-radius: 18px; border: 1px solid var(--line2); display: grid; gap: 12px; }
.rv-form .fh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 15px; }
.pick { display: inline-flex; gap: 4px; }
.pick button { -webkit-appearance: none; appearance: none; border: 0; background: transparent; padding: 3px; cursor: pointer; color: var(--line2); border-radius: 8px; line-height: 0; }
.pick button.on { color: var(--gold); }
.pick button:hover { transform: scale(1.12); }
.rv-form textarea { width: 100%; min-height: 96px; resize: vertical; border-radius: 13px; border: 1px solid var(--line2); background: var(--bg); padding: 12px 14px; font-size: 15px; line-height: 1.5; outline: none; }
.rv-form textarea:focus { border-color: var(--acc); background: var(--card); box-shadow: 0 0 0 4px var(--acc-soft); }
.rv-form .ff { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.rv-form .cnt { font: 600 12px var(--mono); color: var(--faint); }
.rv-form .err { font-size: 13.5px; font-weight: 600; color: var(--bad); }
.rv-gate { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 18px; border: 1px dashed var(--line2); color: var(--ink2); font-size: 14.5px; }
.rv-list { display: grid; margin-top: 8px; }
.rv { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rv:last-child { border-bottom: 0; }
.rv .av { width: 40px; height: 40px; border-radius: 11px; background: var(--acc-soft); color: var(--acc-tx); display: grid; place-items: center; font-weight: 900; overflow: hidden; }
.rv .av img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.rv .rh { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rv .rh a { font-weight: 800; color: var(--ink); }
.rv .rh a:hover { color: var(--acc); }
.rv .rh .stars { margin: 0; }
.rv .rh time { font-size: 12.5px; color: var(--faint); }
.rv .rh .mine { font: 700 10.5px var(--mono); letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; background: var(--acc-soft); color: var(--acc-tx); }
.rv .rh .del { margin-left: auto; -webkit-appearance: none; appearance: none; border: 0; background: transparent; color: var(--mute); font-size: 13px; font-weight: 700; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.rv .rh .del:hover { color: var(--bad); background: var(--bad-soft); }
.rv p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink2); overflow-wrap: anywhere; white-space: pre-line; }
.rv-empty { padding: 22px 0 6px; color: var(--mute); font-size: 14.5px; }
.rv-more { margin-top: 10px; }

/* aside */
.kv { display: grid; margin: 0; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--mute); font-size: 14px; font-weight: 600; flex: none; }
.kv dd { margin: 0; text-align: right; font-weight: 700; font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.kv dd.mono { font: 700 13px var(--mono); }
.lnks { display: grid; gap: 8px; margin-top: 14px; }
.lnk { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line2); color: var(--ink); min-width: 0; }
.lnk:hover { border-color: var(--acc); color: var(--acc); }
.lnk .li { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--acc-soft); color: var(--acc); font: 900 12px var(--mono); }
.lnk .li.ds { background: rgba(88,101,242,.14); color: #5865F2; }
.lnk .li.vk { background: rgba(0,119,255,.13); color: #0077FF; }
.lnk .li.tg { background: rgba(38,165,228,.14); color: #26A5E4; }
.lnk .li.yt { background: rgba(255,0,0,.1); color: #E62117; }
.lnk b { display: block; font-size: 14px; font-weight: 800; }
.lnk small { display: block; font-size: 12.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lnk > span:nth-child(2) { min-width: 0; flex: 1; }
.lnk svg:last-child { color: var(--faint); flex: none; }
.aside-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.aside-h h3 { margin: 0; font-weight: 900; font-size: 18px; letter-spacing: -.03em; }
.aside-h span { font-size: 12.5px; color: var(--mute); }
.tp { display: grid; grid-template-columns: 22px 32px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tp:last-child { border-bottom: 0; }
.tp .n { font: 800 12.5px var(--mono); color: var(--faint); }
.tp:nth-child(1) .n { color: #C98A06; } .tp:nth-child(2) .n { color: #8E97A6; } .tp:nth-child(3) .n { color: #B8703A; }
.tp .av { width: 32px; height: 32px; border-radius: 9px; background: var(--chip); overflow: hidden; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: var(--ink2); }
.tp .av img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.tp a { color: var(--ink); font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp a:hover { color: var(--acc); }
.tp .h { font: 700 12.5px var(--mono); color: var(--ink2); }
.empty-note { font-size: 14px; line-height: 1.55; color: var(--mute); padding: 6px 0 2px; }
.sim { display: grid; gap: 8px; }
.sim a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: 14px; color: var(--ink); }
.sim a:hover { background: var(--card2); }
.sim .ic { width: 44px; height: 44px; border-radius: 12px; font-size: 16px; box-shadow: none; }
.sim b { display: block; font-weight: 800; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim small { display: block; font-size: 12.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim .pl { font: 800 13px var(--mono); text-align: right; }
.sim .pl small { font-weight: 600; font-size: 11px; font-family: var(--mono); }

.page-cta { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 22px 24px; border-radius: 24px; border: 1px dashed var(--line2); background: var(--bg2); }
.page-cta .pi { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--acc); color: #fff; }
.page-cta .pt { flex: 1 1 260px; min-width: 0; }
.page-cta .pt b { display: block; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.page-cta .pt span { font-size: 14px; color: var(--ink2); }

/* skeleton (server page) */
.hero.skel .ban { background: var(--chip); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) 340px; }
  .cols { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .cx-hero .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .band2 { grid-template-columns: minmax(0, 1fr); }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .connect { margin-top: 0; box-shadow: none; background: var(--card2); border-color: transparent; }
  .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hh nav { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .hh .links { order: 3; flex: 1 1 100%; justify-content: center; flex-wrap: wrap; }
  .hh .links a, .hh .links .nlx-tr { padding: 7px 10px; font-size: 13.5px; }
  .hh .dl { display: none; }
  .cx-hero { padding: 30px 0 22px; }
  .cx-lead { font-size: 16.5px; margin-bottom: 20px; }
  .cx-ctas .btn { flex: 1 1 100%; }
  .board { padding: 20px 18px 16px; border-radius: 22px; }
  .board .b-bar { margin: 16px 0 12px; }
  .board .b-leg li:nth-child(n+3) { display: none; }
  .tools { padding: 10px; border-radius: 18px; gap: 8px; }
  .search { flex: 1 1 100%; }
  .search kbd { display: none; }
  .sel { flex: 1 1 auto; }
  .sel select { width: 100%; }
  .seg { flex: 1 1 100%; order: 5; }
  .seg button { flex: 1; padding: 0 6px; }
  .sw { padding: 0 2px; }
  .chips { margin: 12px -16px 16px; padding: 2px 16px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cta { padding: 24px 22px; min-height: 0; border-radius: 22px; }
  .cta .btn { align-self: stretch; }
  .crumbs { margin: 16px 0 12px; }
  .hero { border-radius: 22px; }
  .hero .ban { height: 132px; border-radius: 21px 21px 0 0; }
  .hero .ban .wm { right: -18px; width: 170px; height: 170px; }
  .hero-in { padding: 0 16px 16px; }
  .hero-id { flex-direction: column; gap: 12px; }
  .hero .ic { width: 92px; height: 92px; border-radius: 24px; font-size: 34px; margin-top: -46px; box-shadow: 0 0 0 5px var(--card), 0 18px 36px -18px rgba(11,11,15,.6); }
  .hero-tx { padding-top: 0; }
  .hero .teaser { font-size: 15px; }
  .connect { padding: 14px; border-radius: 18px; }
  .addr { height: 50px; font-size: 14.5px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles .tile:first-child, .tiles.n4 .tile:last-child, .tiles.n6 .tile:last-child { grid-column: 1 / -1; }
  .tile { padding: 14px; border-radius: 18px; }
  .tile .tv { font-size: 26px; }
  .card { padding: 18px 16px; border-radius: 20px; }
  .card-h h2 { font-size: 20px; }
  .card-h .sp { margin-left: 0; }
  .chart { height: 200px; }
  .chart-empty { height: 200px; }
  .rv-sum { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rv-avg { display: flex; align-items: center; gap: 14px; text-align: left; min-width: 0; }
  .rv-avg b { font-size: 44px; }
  .rv-avg .stars { margin-top: 0; }
  .mc { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
  .mc .mi { width: 48px; height: 48px; }
  .mc .mr { grid-column: 2; grid-row: 1; justify-self: end; }
  .mc .mn { padding-right: 90px; font-size: 15px; }
  .mc .mid { grid-column: 2; grid-row: 1; }
  .mc .mm { font-size: 13.5px; }
  .page-cta .btn { flex: 1 1 100%; }
  footer.ft .sp { margin-left: 0; }
}
@media (max-width: 420px) {
  .tile .tv { font-size: 24px; }
  .sc-body { padding: 0 16px 16px; }
  .play { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sk, .live i, .pill.on i { animation: none; }
  .sc, .bar span, .board .b-bar i { transition: none; }
  .sc.new { animation: none; }
}
