/* AlterTiers v3 — тёмно-зелёное стекло, свечение, лайм бренда. */
:root {
  --ink: #05070a;
  --text: #f1f4f8;
  --muted: rgba(241, 244, 248, .7);
  --dim: rgba(241, 244, 248, .46);
  --lime: #c2ff00;
  --lime-2: #e6ff95;
  --emerald: #3dffa8;
  --glass: rgba(255, 255, 255, .12);
  --glass-2: rgba(255, 255, 255, .2);
  --stroke: rgba(255, 255, 255, .24);
  --stroke-2: rgba(255, 255, 255, .55);
  --dglass: rgba(10, 16, 11, .58);
  --dglass-2: rgba(18, 26, 18, .7);
  --dstroke: rgba(194, 255, 0, .13);
  --dstroke-2: rgba(194, 255, 0, .32);
  --t1: #f6c860;
  --t2: #e3e9f5;
  --t3: #ec8f4f;
  --t4: #7cc4ff;
  --t5: #a3a1ae;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 22px;
  --r-lg: 30px;
  --f-sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-brand: 'Unbounded', 'Onest', sans-serif;
  --veil: 0;
  --nav-h: 68px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
::selection { background: var(--lime); color: #0b1200; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 10px; }

/* ---------- слои фона ---------- */
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.sky-fallback {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(80% 60% at 50% 30%, #0d5a2c, #020a05 70%);
}
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(2, 10, 5, .2), transparent 60%),
    linear-gradient(180deg, rgba(3, 6, 4, calc(var(--veil) * .9)), rgba(3, 6, 4, calc(var(--veil) * .75)));
  transition: background .8s var(--ease);
}
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0) } 33% { transform: translate(-4%, 3%) } 66% { transform: translate(3%, -2%) } 100% { transform: translate(0, 0) } }

#view { position: relative; z-index: 3; min-height: 100vh; }

/* ---------- загрузчик ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--ink);
}
#loader .lw { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; }
#loader .lmark { width: 78px; height: 78px; filter: drop-shadow(0 0 30px rgba(194, 255, 0, .35)); }
#loader .lname { font-family: var(--f-brand); font-weight: 700; letter-spacing: .32em; font-size: 15px; display: flex; overflow: hidden; }
#loader .lname span { display: inline-block; }
#loader .lbar { width: 180px; height: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
#loader .lbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--emerald), #fff, var(--lime)); }
#loader .lnum { font-family: var(--f-mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; }
#loader .lpanel { position: absolute; left: 0; right: 0; height: 50%; background: var(--ink); }
#loader .lpanel.t { top: 0; } #loader .lpanel.b { bottom: 0; }

/* ---------- навигация ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 40; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  height: var(--nav-h); padding: 0 10px 0 16px;
  width: min(1120px, calc(100% - 32px));
  border-radius: 999px;
  background: rgba(14, 18, 24, .34);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: height .5s var(--ease), background .5s var(--ease), top .5s var(--ease);
}
.nav.compact { height: 58px; top: 10px; background: rgba(8, 12, 9, .55); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand b { font-family: var(--f-brand); font-weight: 700; font-size: 14px; letter-spacing: .14em; }
.brand b em { font-style: normal; color: var(--lime); }
.links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
.links a {
  position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted); transition: color .3s;
}
.links a:hover, .links a.on { color: var(--text); }
.links .pill {
  position: absolute; z-index: 0; top: 4px; height: calc(100% - 8px); border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16);
  transition: left .55s var(--ease), width .55s var(--ease), opacity .3s;
}
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06);
  transition: background .3s, border-color .3s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.icon-btn svg { width: 18px; height: 18px; }
.kbd { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.nav .btn-lime { margin-left: 4px; }

/* мобильный док */
.dock {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; transform: translateX(-50%);
  display: none; gap: 4px; padding: 6px;
  border-radius: 999px; background: rgba(10, 14, 11, .6); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.dock a, .dock button {
  display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 7px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; color: var(--dim); transition: color .3s, background .3s;
}
.dock svg { width: 20px; height: 20px; }
.dock .on { color: #0b1200; background: var(--lime); box-shadow: 0 0 24px rgba(194, 255, 0, .45); }

/* ---------- кнопки ---------- */
.btn-lime, .btn-glass {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 10px 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
  will-change: transform;
}
.btn-lime {
  color: #0b1200;
  background: linear-gradient(180deg, #e3ff7a 0%, var(--lime) 55%, #a8e000 100%);
  box-shadow: 0 0 0 1px rgba(194, 255, 0, .7), 0 10px 40px rgba(194, 255, 0, .35), 0 0 80px rgba(194, 255, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.btn-lime:hover { box-shadow: 0 0 0 1px rgba(194, 255, 0, .9), 0 14px 60px rgba(194, 255, 0, .55), 0 0 120px rgba(194, 255, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .8); }
.btn-lime .arr, .btn-glass .arr {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: #0b1200; color: var(--lime); transition: transform .5s var(--ease);
}
.btn-glass .arr { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-lime:hover .arr, .btn-glass:hover .arr { transform: rotate(-45deg); }
.btn-lime .arr svg, .btn-glass .arr svg { width: 16px; height: 16px; }
.btn-glass {
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 0, 0, .12);
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { height: 44px; padding: 0 8px 0 18px; font-size: 14px; gap: 10px; }
.btn-sm .arr { width: 30px; height: 30px; }
.btn-plain { display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1; height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--dstroke-2); color: var(--lime); font-weight: 600; transition: background .3s; }
.btn-plain:hover { background: rgba(194, 255, 0, .08); }

/* ---------- общая типографика ---------- */
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.kicker b {
  height: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 999px;
  background: rgba(194, 255, 0, .14); color: var(--lime); font-size: 12px; font-weight: 600;
}
.kicker b::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35 } }
.h1, .h2 { margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: .96; }
.h1 { font-size: clamp(46px, 8.4vw, 124px); }
.h2 { font-size: clamp(36px, 5.6vw, 76px); }
/* акцент: курсив с засечками для слов, без фона под текстом (background-clip давал зелёную плашку) */
.acc { font-family: var(--f-serif); font-style: italic; font-weight: 600; letter-spacing: -.02em; padding-right: .06em; color: var(--lime); text-shadow: 0 0 28px rgba(194, 255, 0, .32); }
/* акцент для тиров, цифр и слов с дефисом: тот же шрифт, что и заголовок, цифры не проваливаются под строку */
.hl { font-family: var(--f-sans); font-style: normal; color: var(--lime); text-shadow: 0 0 28px rgba(194, 255, 0, .32); font-variant-numeric: lining-nums; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 560px; margin: 0; }
.sec { position: relative; padding: clamp(90px, 13vw, 170px) 0; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.center .lead { margin: 0 auto; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- стекло ---------- */
.panel {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20, 28, 20, .62), rgba(8, 12, 9, .66));
  border: 1px solid var(--dstroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px rgba(0, 0, 0, .35);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.glow-card { position: relative; isolation: isolate; }
.glow-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(194, 255, 0, .55), rgba(194, 255, 0, .08) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .0; transition: opacity .5s;
}
.glow-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(194, 255, 0, .07), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.glow-card:hover::before, .glow-card:hover::after { opacity: 1; }

/* ---------- тиры ---------- */
.tb {
  --c: var(--t5);
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; height: 26px; padding: 0 9px;
  border-radius: 8px; font-family: var(--f-mono); font-weight: 600; font-size: 12px; letter-spacing: .02em;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.tb.ht { color: #0b0b0e; background: var(--c); border-color: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); }
.tb[data-n="1"] { --c: var(--t1); } .tb[data-n="2"] { --c: var(--t2); } .tb[data-n="3"] { --c: var(--t3); } .tb[data-n="4"] { --c: var(--t4); } .tb[data-n="5"] { --c: var(--t5); }
.tb.none { --c: rgba(255, 255, 255, .25); color: var(--dim); }
.tb.big { height: 40px; min-width: 64px; font-size: 16px; border-radius: 12px; }
.kit-ic { width: 26px; height: 26px; object-fit: contain; image-rendering: auto; flex: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.head { width: 40px; height: 40px; border-radius: 10px; image-rendering: pixelated; background: rgba(255, 255, 255, .08); flex: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: grid; place-items: center; padding: 120px 0 60px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(46% 42% at 50% 40%, rgba(1, 8, 4, .45), transparent 75%); }
.hero-in { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 26px; transform: translateY(-6vh); }
.hero .h1 { font-size: clamp(44px, 7.4vw, 112px); text-shadow: 0 6px 40px rgba(0, 0, 0, .45); }
.ring-glow { position: absolute; left: 50%; top: 44%; z-index: 1; width: min(78vmin, 820px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.ring-glow i, .ring-glow b { position: absolute; inset: 0; border-radius: 50%; }
.ring-glow i {
  background: conic-gradient(from 200deg, transparent 0 18%, rgba(194, 255, 0, .0) 22%, rgba(194, 255, 0, .9) 38%, #f2ff8a 46%, rgba(194, 255, 0, .7) 54%, transparent 70% 100%);
  -webkit-mask: radial-gradient(closest-side, transparent 86%, #000 88%, #000 93%, transparent 96%); mask: radial-gradient(closest-side, transparent 86%, #000 88%, #000 93%, transparent 96%);
  filter: blur(14px); opacity: .85; animation: spin 26s linear infinite;
}
.ring-glow b { border: 1px solid rgba(194, 255, 0, .22); box-shadow: inset 0 0 60px rgba(194, 255, 0, .06); }
.ring-glow b::before, .ring-glow b::after { content: ""; position: absolute; left: 50%; top: -1px; width: 1px; height: 22px; background: rgba(194, 255, 0, .6); }
.ring-glow b::after { top: auto; bottom: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .07) 50%, transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(44% - .5px), rgba(255, 255, 255, .05) 44%, transparent calc(44% + .5px));
  -webkit-mask: radial-gradient(60% 60% at 50% 44%, #000, transparent); mask: radial-gradient(60% 60% at 50% 44%, #000, transparent); }
.hero-lines span { position: absolute; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .24em; color: rgba(194, 255, 0, .5); }
.hero-lines span:first-child { left: 8%; top: 44%; transform: translateY(-140%); }
.hero-lines span:last-child { right: 8%; top: 44%; transform: translateY(40%); }
.hero .lead { color: rgba(255, 255, 255, .86); text-shadow: 0 2px 20px rgba(18, 26, 60, .4); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.checks span { display: inline-flex; align-items: center; gap: 7px; }
.checks svg { width: 16px; height: 16px; color: var(--lime); filter: drop-shadow(0 0 6px rgba(194, 255, 0, .6)); }
.find {
  display: flex; align-items: center; gap: 10px; width: min(380px, 100%); height: 48px; padding: 0 8px 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .75); font-size: 14px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: left; transition: background .3s, border-color .3s;
}
.find:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.find svg { width: 17px; height: 17px; flex: none; }
.find span { flex: 1; }
.find kbd { font-family: var(--f-mono); font-size: 11px; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); }

.floaters { position: absolute; inset: 0; z-index: 1; perspective: 1400px; pointer-events: none; }
.pc { position: absolute; }
.pcard {
  position: relative; width: 268px; padding: 14px; border-radius: 22px; pointer-events: auto; cursor: pointer;
  color: #fff; transform-style: preserve-3d;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 55%, rgba(194, 255, 0, .06));
  border: 1px solid rgba(220, 255, 170, .32);
  box-shadow: 0 0 0 1px rgba(194, 255, 0, .08), 0 0 30px rgba(194, 255, 0, .14), 0 0 80px rgba(120, 255, 120, .08), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 24px rgba(194, 255, 0, .06), 0 30px 60px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .5s var(--ease);
}
.pcard:hover { border-color: rgba(220, 255, 170, .6); box-shadow: 0 0 0 1px rgba(194, 255, 0, .25), 0 0 44px rgba(194, 255, 0, .32), 0 0 120px rgba(120, 255, 120, .16), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 30px rgba(194, 255, 0, .1), 0 40px 70px rgba(0, 0, 0, .4); }
.pcard .row1 { display: flex; align-items: center; gap: 12px; }
.pcard .head { width: 54px; height: 54px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.pcard .who { flex: 1; min-width: 0; }
.pcard .who b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .who small { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.pcard .bar { margin: 14px 2px 6px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); position: relative; }
.pcard .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #6fd600, var(--lime)); box-shadow: 0 0 12px rgba(194, 255, 0, .8); }
.pcard .bar i::after { content: ''; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
.pcard .times { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; color: rgba(255, 255, 255, .8); padding: 0 2px; }
.pcard .kits { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 0 2px; }
.pcard .kits span { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; }
.pcard .kits span.off { opacity: .4; }
.pcard .kits .kit-ic { width: 22px; height: 22px; }
.pcard .tb { height: 24px; min-width: 40px; font-size: 11.5px; }
.pcard .dotc { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); position: absolute; top: 12px; right: 12px; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: rgba(255, 255, 255, .7); }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .9)); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }

.stats {
  display: grid; grid-template-columns: repeat(5, auto); gap: 0; margin-top: 10px; border-radius: 22px; overflow: hidden;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.stats > * { padding: 12px 22px; display: grid; gap: 2px; text-align: left; border-left: 1px solid rgba(255, 255, 255, .14); transition: background .3s; }
.stats > a:hover { background: rgba(194, 255, 0, .08); }
.stats > *:first-child { border-left: 0; }
.stats b { font-family: var(--f-mono); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.stats small { font-size: 11.5px; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 6px; }
.stats .kit-ic { width: 18px; height: 18px; }

/* ---------- манифест ---------- */
.manifesto { min-height: 120vh; display: grid; place-items: center; text-align: center; padding: 20vh 0; }
.manifesto p { margin: 0; font-size: clamp(30px, 5vw, 70px); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; max-width: 1000px; color: #fff; }
.manifesto p .mw { opacity: .14; transition: none; }
.manifesto p .acc { font-weight: 600; }

/* ---------- лестница тиров ---------- */
.ladder-sec { padding-top: 40px; }
.ladder-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; min-height: 100vh; padding: 100px 0 60px; }
.ladder { display: grid; gap: 8px; perspective: 1200px; }
.rung {
  --c: var(--t5);
  position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px;
  height: 58px; padding: 0 18px; border-radius: 16px;
  background: rgba(14, 20, 15, .55); border: 1px solid rgba(255, 255, 255, .07);
  transform-origin: left center; transition: transform .6s var(--ease), background .5s, border-color .5s, box-shadow .5s, opacity .5s;
  opacity: .42;
}
.rung[data-n="1"] { --c: var(--t1); } .rung[data-n="2"] { --c: var(--t2); } .rung[data-n="3"] { --c: var(--t3); } .rung[data-n="4"] { --c: var(--t4); } .rung[data-n="5"] { --c: var(--t5); }
.rung code { font-family: var(--f-mono); font-weight: 600; font-size: 17px; color: var(--c); }
.rung span { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rung small { font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.rung.done { opacity: .78; }
.rung.on {
  opacity: 1; transform: translateX(14px) scale(1.03);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 22%, rgba(14, 20, 15, .7)), rgba(14, 20, 15, .7));
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--c) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.rung.on span { color: var(--text); }
.rung .you {
  position: absolute; right: -58px; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 10px; opacity: 0;
  box-shadow: 0 0 0 2px var(--c), 0 0 26px var(--c); image-rendering: pixelated; transition: opacity .4s;
}
.rung.on .you { opacity: 1; }
.ladder-side { display: grid; gap: 22px; }
.big-tier { font-family: var(--f-mono); font-weight: 600; font-size: clamp(90px, 14vw, 200px); line-height: .85; letter-spacing: -.06em; color: var(--c, var(--t5)); text-shadow: 0 0 60px color-mix(in srgb, var(--c, #fff) 45%, transparent); transition: color .5s; }
.big-desc { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; min-height: 2.4em; margin: 0; }
.big-count { font-family: var(--f-mono); font-size: 13px; color: var(--dim); }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 22px; display: grid; grid-template-rows: auto auto auto 1fr; gap: 14px; min-height: 380px; }
.step-top { display: flex; align-items: center; gap: 12px; }
.tile {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: linear-gradient(180deg, rgba(194, 255, 0, .16), rgba(194, 255, 0, .04)); border: 1px solid rgba(194, 255, 0, .3);
  color: var(--lime); box-shadow: 0 0 20px rgba(194, 255, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.tile svg { width: 20px; height: 20px; }
.step h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.step .num { margin-left: auto; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ill { position: relative; align-self: end; height: 170px; border-radius: 16px; overflow: hidden; }
.ill svg { width: 100%; height: 100%; display: block; }
.flow { stroke-dasharray: 3 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.qrow { position: absolute; left: 10px; right: 10px; height: 34px; border-radius: 10px; display: flex; align-items: center; gap: 10px; padding: 0 10px; font-size: 12.5px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); transition: top .8s var(--ease), background .4s, border-color .4s; }
.qrow img { width: 20px; height: 20px; border-radius: 5px; image-rendering: pixelated; }
.qrow em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.qrow.me { background: rgba(194, 255, 0, .12); border-color: rgba(194, 255, 0, .45); box-shadow: 0 0 20px rgba(194, 255, 0, .18); }
.qrow.me em { color: var(--lime); }
.verify { position: absolute; inset: 18px 14px; border-radius: 14px; padding: 14px; display: grid; gap: 10px; align-content: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.verify .vr { display: flex; align-items: center; gap: 10px; }
.verify img { width: 38px; height: 38px; border-radius: 9px; image-rendering: pixelated; }
.verify b { font-size: 14px; } .verify small { display: block; font-size: 11.5px; color: var(--dim); }
.verify .ok { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(194, 255, 0, .15); border: 1px solid rgba(194, 255, 0, .5); color: var(--lime); }
.verify .ok svg { width: 16px; height: 16px; }
.verify .line { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.verify .line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), #fff); }
.chart-badge { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 6px; align-items: center; height: 28px; padding: 0 10px; border-radius: 9px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: #0b1200; background: var(--lime); box-shadow: 0 0 22px rgba(194, 255, 0, .6); }
.score { position: absolute; bottom: 12px; right: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

/* ---------- превью тир-листа ---------- */
.seg {
  position: relative; display: inline-flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(10, 14, 11, .55); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .35s; white-space: nowrap; }
.seg button.on { color: #0b1200; }
.seg button .kit-ic { width: 22px; height: 22px; }
.seg .pill { position: absolute; z-index: 0; top: 5px; height: calc(100% - 10px); border-radius: 999px; background: var(--lime); box-shadow: 0 0 24px rgba(194, 255, 0, .45); transition: left .55s var(--ease), width .55s var(--ease); }
.board { padding: 8px; }
.brow {
  display: grid; grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1.6fr) 90px; align-items: center; gap: 14px;
  min-height: 66px; padding: 8px 16px; border-radius: 18px; cursor: pointer;
  transition: background .35s, transform .5s var(--ease);
}
.brow + .brow { margin-top: 2px; }
.brow:hover { background: rgba(194, 255, 0, .06); transform: translateX(4px); }
.brow .rk { font-family: var(--f-mono); font-size: 22px; font-weight: 600; color: var(--dim); letter-spacing: -.04em; }
.brow[data-rk="1"] .rk { color: var(--t1); text-shadow: 0 0 20px rgba(246, 200, 96, .6); }
.brow[data-rk="2"] .rk { color: var(--t2); text-shadow: 0 0 20px rgba(227, 233, 245, .5); }
.brow[data-rk="3"] .rk { color: var(--t3); text-shadow: 0 0 20px rgba(236, 143, 79, .5); }
.brow .pl { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brow .pl b { font-weight: 600; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.brow .pl small { font-size: 12px; color: var(--dim); }
.brow .tiers { display: flex; gap: 6px; flex-wrap: wrap; }
.brow .tiers .tw { display: inline-flex; align-items: center; gap: 5px; }
.brow .pts { text-align: right; font-family: var(--f-mono); font-weight: 600; font-size: 15px; }
.brow .pts small { display: block; font-size: 10.5px; color: var(--dim); font-weight: 500; }
.bhead { display: grid; grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1.6fr) 90px; gap: 14px; padding: 12px 24px 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.bhead span:last-child { text-align: right; }
.board-foot { display: flex; justify-content: center; padding: 18px 0 10px; }

/* ---------- финальный CTA ---------- */
.final { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) clamp(24px, 6vw, 80px); text-align: center; display: grid; justify-items: center; gap: 24px; }
.final::before { content: ''; position: absolute; left: 50%; top: 100%; width: 900px; height: 500px; margin-left: -450px; margin-top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(194, 255, 0, .32), transparent); filter: blur(10px); pointer-events: none; }
.final .cubes { position: absolute; inset: 0; pointer-events: none; }
.final .cube { position: absolute; width: 14px; height: 14px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 20px var(--lime); opacity: .7; animation: floatc 7s ease-in-out infinite; }
.final .cube.v { background: var(--emerald); box-shadow: 0 0 20px var(--emerald); }
@keyframes floatc { 50% { transform: translateY(-26px) rotate(45deg); } }
.final .h2 { position: relative; }
.final .lead { position: relative; }
.final .hero-cta { position: relative; }

/* ---------- страница тир-листа ---------- */
.page-head { padding: 150px 0 40px; display: grid; gap: 20px; }
.page-head .meta { font-family: var(--f-mono); font-size: 12.5px; color: var(--dim); }
.page-head .meta .season { color: var(--lime); font-weight: 600; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.controls .grow { flex: 1; }
.search {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 999px; min-width: 260px;
  background: rgba(10, 14, 11, .55); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .3s, box-shadow .3s;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.search:focus-within { border-color: var(--dstroke-2); box-shadow: 0 0 0 4px rgba(194, 255, 0, .08); }
.search svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--dim); }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); }

/* ---------- страница теста ---------- */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 70px; }
.timeline .tl-line { position: absolute; left: 24px; top: 10px; bottom: 10px; width: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.timeline .tl-line i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--lime), var(--emerald)); box-shadow: 0 0 14px var(--lime); }
.tl-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; padding: 26px; }
.tl-step .n { position: absolute; left: -64px; top: 30px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 600; background: var(--ink); border: 1px solid var(--dstroke-2); color: var(--lime); box-shadow: 0 0 20px rgba(194, 255, 0, .25); }
.tl-step h3 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.tl-step p { margin: 0; color: var(--muted); }
.tl-step .ill { height: 190px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.kits4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kitc { padding: 24px; display: grid; gap: 14px; justify-items: start; }
.kitc img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(194, 255, 0, .25)); transition: transform .6s var(--ease); }
.kitc:hover img { transform: translateY(-6px) rotate(-8deg) scale(1.06); }
.kitc h3 { margin: 0; font-size: 20px; font-weight: 600; }
.kitc p { margin: 0; color: var(--muted); font-size: 14px; }
.kitc .cnt { font-family: var(--f-mono); font-size: 12.5px; color: var(--lime); }
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.qa { border-radius: 20px; overflow: hidden; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; text-align: left; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.qa button i { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); transition: transform .5s var(--ease), background .3s, color .3s; }
.qa button i svg { width: 14px; height: 14px; }
.qa.open button i { transform: rotate(45deg); background: var(--lime); color: #0b1200; border-color: var(--lime); }
.qa .ans { height: 0; overflow: hidden; }
.qa .ans p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* ---------- палитра поиска ---------- */
.palette { position: fixed; inset: 0; z-index: 70; display: none; }
.palette.open { display: block; }
.palette .scrim { position: absolute; inset: 0; background: rgba(2, 4, 3, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.palette .box { position: absolute; left: 50%; top: 14vh; width: min(620px, calc(100% - 28px)); transform: translateX(-50%); border-radius: 26px; overflow: hidden; }
.palette .search { border-radius: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); height: 64px; background: transparent; backdrop-filter: none; padding: 0 22px; }
.palette .search input { font-size: 17px; }
.palette .res { max-height: 56vh; overflow: auto; padding: 8px; }
.palette .ri { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; cursor: pointer; }
.palette .ri.on, .palette .ri:hover { background: rgba(194, 255, 0, .08); }
.palette .ri img { width: 36px; height: 36px; border-radius: 9px; image-rendering: pixelated; }
.palette .ri div { flex: 1; min-width: 0; }
.palette .ri b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette .ri small { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.palette .hint { padding: 12px 20px; display: flex; gap: 16px; font-family: var(--f-mono); font-size: 11px; color: var(--dim); border-top: 1px solid rgba(255, 255, 255, .06); }

/* ---------- курсор ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; display: none; }
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, .9); }
@media (pointer: fine) { .cursor { display: block; } }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .pc.c5, .pc.c6 { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .pc.c2, .pc.c4 { display: none; }
  .pcard { width: 236px; }
}
@media (max-width: 980px) {
  .links { display: none; }

  .ladder-grid { grid-template-columns: 1fr; min-height: 0; }
  .ladder-side { order: -1; }
  .rung .you { display: none; }
  .kits4 { grid-template-columns: repeat(2, 1fr); }
  .tl-step { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .nav { top: 10px; padding: 0 8px 0 12px; }
  .nav .btn-lime { display: none; }
  .dock { display: flex; }
  .hero { padding-top: 100px; min-height: 100svh; }
  .hero-in { transform: none; gap: 20px; }
  .floaters { display: none; }
  .hero-strip { display: flex !important; }
  .stats { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .stats > *:nth-child(4) { border-left: 0; }
  .stats > *:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .stats > * { padding: 10px 12px; }
  .stats b { font-size: 17px; }
  .scroll-hint { display: none; }
  .find kbd { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .brow, .bhead { grid-template-columns: 40px minmax(0, 1fr) 64px; gap: 10px; }
  .brow .tiers, .bhead .h-t { display: none; }
  .brow { padding: 8px 10px; min-height: 60px; }
  .brow .rk { font-size: 17px; }
  .brow .head { width: 34px; height: 34px; }
  .brow .mob-t { display: flex !important; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
  .brow .mob-t .tb { height: 20px; min-width: 34px; font-size: 10px; padding: 0 5px; border-radius: 6px; }
  .bhead { padding: 10px 18px 6px; }
  .kits4 { grid-template-columns: 1fr; }
  .timeline { padding-left: 0; }
  .timeline .tl-line { display: none; }
  .tl-step .n { position: static; margin-bottom: -6px; }
  .tl-step { padding: 20px; gap: 16px; }
  .controls .search { min-width: 0; width: 100%; order: -1; }
  .controls .grow { display: none; }
  .page-head { padding-top: 110px; }
  .foot { padding-bottom: 130px; }
  .final .hero-cta { flex-direction: column; width: 100%; }
  .final .hero-cta > * { justify-content: space-between; }
}
.hero-strip { display: none; gap: 10px; overflow-x: auto; width: 100vw; padding: 6px 20px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; }
.hero-strip::-webkit-scrollbar { display: none; }
.hero-strip .pcard { position: relative; flex: none; width: 250px; scroll-snap-align: center; transform: none !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brow .mob-t { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}

/* ======================= v3.1: правки 17.10 ======================= */
[hidden] { display: none !important; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* ---------- своя полоса прокрутки страницы ---------- */
html.custom-sb { scrollbar-width: none; }
html.custom-sb::-webkit-scrollbar { display: none; }
.sbar { position: fixed; right: 6px; top: 96px; bottom: 18px; width: 12px; z-index: 45; opacity: .4; transition: opacity .5s; }
.sbar::before { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.sbar i { position: absolute; left: 3px; top: 0; width: 6px; min-height: 48px; border-radius: 6px; cursor: grab;
  background: linear-gradient(180deg, #f1ffb8, var(--lime) 35%, #6fcf00); box-shadow: 0 0 14px rgba(194, 255, 0, .55), 0 0 2px rgba(194, 255, 0, .9);
  transition: width .35s var(--ease), left .35s var(--ease); }
.sbar b { position: absolute; right: 18px; top: 0; padding: 3px 7px; border-radius: 8px; white-space: nowrap; pointer-events: none;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; color: var(--lime); background: rgba(6, 10, 7, .85); border: 1px solid rgba(194, 255, 0, .3);
  opacity: 0; transition: opacity .3s; }
.sbar.act, .sbar:hover, .sbar.drag { opacity: 1; }
.sbar:hover i, .sbar.drag i { left: 1px; width: 10px; }
.sbar.drag i { cursor: grabbing; }
.sbar.act b, .sbar:hover b, .sbar.drag b { opacity: 1; }
.sbar.none { display: none; }
/* внутренние списки: тонкая лаймовая полоса */
.hist::-webkit-scrollbar, .palette .res::-webkit-scrollbar, .api-table-wrap::-webkit-scrollbar, .sheet .card::-webkit-scrollbar, .api-card pre::-webkit-scrollbar { width: 8px; height: 8px; }
.hist::-webkit-scrollbar-track, .palette .res::-webkit-scrollbar-track, .api-table-wrap::-webkit-scrollbar-track, .sheet .card::-webkit-scrollbar-track, .api-card pre::-webkit-scrollbar-track { background: rgba(255, 255, 255, .03); border-radius: 8px; }
.hist::-webkit-scrollbar-thumb, .palette .res::-webkit-scrollbar-thumb, .api-table-wrap::-webkit-scrollbar-thumb, .sheet .card::-webkit-scrollbar-thumb, .api-card pre::-webkit-scrollbar-thumb {
  border-radius: 8px; border: 2px solid transparent; background: linear-gradient(180deg, #e6ff95, var(--lime)) padding-box; box-shadow: 0 0 10px rgba(194, 255, 0, .4); }
@supports not selector(::-webkit-scrollbar) {
  .hist, .palette .res, .api-table-wrap, .sheet .card, .api-card pre { scrollbar-width: thin; scrollbar-color: var(--lime) rgba(255, 255, 255, .04); }
}

/* ---------- шапка ---------- */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); margin-right: 8px; vertical-align: middle; animation: pulse 1.8s infinite; }
.links .live-dot { margin: -2px 7px 0 0; }
.dock { gap: 2px; padding: 5px; max-width: calc(100% - 20px); }
.dock a, .dock button { min-width: 0; padding: 7px 10px; white-space: nowrap; font-size: 10px; }

/* ---------- герой: частицы и рифлёное стекло спереди ---------- */
.hero { overflow: clip visible; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: .75; }
.hero-front {
  position: absolute; left: -2%; right: -2%; top: 100%; height: 115vh; z-index: 3; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, rgba(255, 255, 255, 0) 1px 20px, rgba(0, 0, 0, .16) 32px, rgba(255, 255, 255, .03) 36px),
    linear-gradient(180deg, rgba(4, 16, 9, .2), rgba(4, 14, 8, .6) 30%, rgba(3, 10, 6, .8) 70%, rgba(3, 10, 6, .3));
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%); mask: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
}

/* ---------- кнопки режимов ---------- */
.kit-dc { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; margin-top: 4px;
  background: rgba(88, 101, 242, .16); border: 1px solid rgba(88, 101, 242, .45); color: #dfe3ff; font-size: 13.5px; font-weight: 600;
  transition: background .3s, transform .4s var(--ease); }
.kit-dc svg { width: 16px; height: 16px; }
.kit-dc span { display: grid; opacity: .7; } .kit-dc span svg { width: 12px; height: 12px; }
.kit-dc:hover { background: rgba(88, 101, 242, .32); transform: translateY(-2px); }
.kitc { align-content: start; }

/* ---------- топ на главной + пьедестал ---------- */
.top-sec .sec-head { margin-bottom: 0; }
.top-sec .stats { margin-top: 14px; }
.top-sec .board { margin-top: 26px; }

/* ---------- таблица по тирам ---------- */
.tcols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.tcol { --c: var(--t5); border-radius: 22px; overflow: hidden; background: rgba(8, 12, 9, .62); border: 1px solid rgba(255, 255, 255, .07); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.tcol[data-n="1"] { --c: var(--t1); } .tcol[data-n="2"] { --c: var(--t2); } .tcol[data-n="3"] { --c: var(--t3); } .tcol[data-n="4"] { --c: var(--t4); }
.tcol header { padding: 16px; display: flex; align-items: baseline; justify-content: space-between; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, transparent), transparent); border-bottom: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.tcol header b { font-family: var(--f-sans); font-weight: 700; font-size: 20px; color: var(--c); text-shadow: 0 0 20px color-mix(in srgb, var(--c) 50%, transparent); }
.tcol header small { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.tlist { display: grid; gap: 4px; padding: 10px; }
.tchip { position: relative; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 10px 0 6px; border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s; }
.tchip img { width: 26px; height: 26px; border-radius: 6px; image-rendering: pixelated; flex: none; transition: transform .5s var(--ease); }
.tchip .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; transition: margin-right .55s var(--ease); }
.tchip.ht { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 24%, transparent), color-mix(in srgb, var(--c) 5%, transparent)); box-shadow: inset 3px 0 0 var(--c); }
.tchip.ht .nm { color: #fff; font-weight: 600; }
.tchip.lt { background: rgba(255, 255, 255, .025); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--c) 28%, transparent); }
.tchip.lt .nm { color: var(--muted); font-weight: 500; }
.tchip.lt img { opacity: .75; }
.tchip .tt { position: absolute; right: 6px; top: 50%; height: 24px; margin-top: -12px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 8px;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; transform: translateX(calc(100% + 12px)); opacity: 0; transition: transform .55s var(--ease), opacity .35s; }
.tchip.ht .tt { background: var(--c); color: #0b0b0e; box-shadow: 0 0 16px color-mix(in srgb, var(--c) 60%, transparent); }
.tchip.lt .tt { color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: rgba(8, 12, 9, .92); }
.tchip:hover { transform: translateX(3px); background-color: rgba(255, 255, 255, .06); }
.tchip:hover img { transform: scale(1.12) rotate(-4deg); }
.tchip:hover .nm { margin-right: 44px; color: #fff; }
.tchip:hover .tt { transform: translateX(0); opacity: 1; }
.tcol-more { display: block; width: calc(100% - 20px); margin: 0 10px 12px; height: 38px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--c) 40%, transparent);
  font-family: var(--f-mono); font-size: 12px; color: var(--c); transition: background .3s; }
.tcol-more:hover { background: color-mix(in srgb, var(--c) 10%, transparent); }
.tmore { margin: 4px 4px 8px; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
@media (hover: none) {
  .tchip .tt { position: static; margin: 0 0 0 auto; transform: none; opacity: 1; height: 22px; }
  .tchip:hover .nm { margin-right: 0; }
}

/* ---------- профиль ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.sheet.open { display: block; }
.sheet .scrim { position: absolute; inset: 0; background: rgba(2, 4, 3, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet .card {
  overflow-x: hidden;
  position: absolute; left: 50%; top: 50%; width: min(1000px, calc(100% - 28px)); max-height: calc(100% - 40px); overflow-y: auto;
  border-radius: 32px; padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(20px, 3vw, 34px); overscroll-behavior: contain;
}
.sheet .card.hist-open { overflow: hidden; }
.sheet .close { position: absolute; top: 16px; right: 16px; z-index: 5; }
.pf-3d { position: relative; min-height: 460px; border-radius: 24px; overflow: hidden; cursor: grab; touch-action: pan-y;
  background: radial-gradient(60% 46% at 50% 60%, rgba(194, 255, 0, .2), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .08); }
.pf-3d:active { cursor: grabbing; }
.pf-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s; }
.pf-3d.ready canvas { opacity: 1; }
.pf-3d .pf-flat { position: absolute; left: 50%; bottom: 46px; height: 300px; width: auto; transform: translateX(-50%); image-rendering: pixelated; transition: opacity .6s; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
.pf-3d.ready .pf-flat { opacity: 0; }
.pf-3d .ring { position: absolute; left: 50%; bottom: 30px; width: 210px; height: 42px; margin-left: -105px; border-radius: 50%; border: 1px solid rgba(194, 255, 0, .5);
  box-shadow: 0 0 30px rgba(194, 255, 0, .35), inset 0 0 20px rgba(194, 255, 0, .25); }
.pf-hint { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; color: var(--muted); background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .1); transition: opacity .5s; }
.pf-hint svg { width: 14px; height: 14px; color: var(--lime); }
.pf-3d.touched .pf-hint, .pf-3d.flat .pf-hint { opacity: 0; }
.pf-main { display: grid; gap: 16px; align-content: start; min-width: 0; padding-top: 4px; }
.pf-rank { display: flex; flex-wrap: wrap; gap: 8px; padding-right: 50px; }
.pf-rank span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--muted); }
.pf-rank span.l { color: #0b1200; background: var(--lime); border-color: var(--lime); font-weight: 600; }
.pf-rank span.act { color: var(--lime); border-color: rgba(194, 255, 0, .35); }
.pf-rank .ver { color: #dfe3ff; background: rgba(88, 101, 242, .18); border-color: rgba(88, 101, 242, .45); }
.pf-rank .ver svg { width: 14px; height: 14px; }
.pf-main h2 { margin: 0; font-size: clamp(32px, 4.4vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1; overflow-wrap: anywhere; }
.pf-bio { margin: -4px 0 0; color: var(--muted); font-size: 14.5px; }
.pf-kits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pf-kit { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.pf-kit img { width: 38px; height: 38px; object-fit: contain; flex: none; }
.pf-kit div { flex: 1; min-width: 0; }
.pf-kit b { display: block; font-size: 14.5px; }
.pf-kit small { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.pf-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); }
.pf-stats > div { padding: 12px; display: grid; gap: 3px; align-content: start; border-left: 1px solid rgba(255, 255, 255, .07); }
.pf-stats > div:first-child { border-left: 0; }
.pf-stats b { font-family: var(--f-mono); font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-stats small { font-size: 11px; color: var(--dim); line-height: 1.25; }
.pf-stats .sk { display: inline-block; width: 46px; height: 16px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
.pf-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pf-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.soc { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.soc img { width: 24px; height: 24px; object-fit: contain; }
.soc:hover { transform: translateY(-3px) scale(1.06); background: rgba(194, 255, 0, .1); border-color: rgba(194, 255, 0, .45); }
.soc-none { font-size: 12.5px; color: var(--dim); }
#pfHistBtn em { font-style: normal; font-family: var(--f-mono); font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(194, 255, 0, .16); color: var(--lime); }
#pfHistBtn em:empty { display: none; }
#pfHistBtn:disabled { opacity: .5; cursor: progress; }
.pf-hist { position: absolute; inset: 0; z-index: 4; display: none; grid-template-rows: auto auto minmax(0, 1fr); gap: 14px; padding: clamp(20px, 3vw, 30px); border-radius: inherit;
  background: linear-gradient(180deg, #0d150e, #060a07); }
.card.hist-open .pf-hist { display: grid; }
.pf-hist header { display: flex; align-items: center; gap: 14px; padding-right: 56px; }
.pf-hist header small { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.pf-hist header h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.pf-hchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-hchips button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
  font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.pf-hchips button .kit-ic { width: 20px; height: 20px; }
.pf-hchips em { font-style: normal; font-family: var(--f-mono); font-size: 11px; opacity: .7; }
.pf-hchips button.on { background: var(--lime); color: #0b1200; border-color: var(--lime); box-shadow: 0 0 20px rgba(194, 255, 0, .35); }
.hist { min-height: 0; overflow: auto; display: grid; align-content: start; gap: 6px; padding-right: 8px; }
.hrow { display: grid; grid-template-columns: 70px 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .05); }
.hrow time { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.hrow .hk { width: 28px; height: 28px; object-fit: contain; }
.hmid b { display: block; font-size: 14px; }
.res.win { color: var(--lime); } .res.loss { color: #ff7a7a; } .res.none { color: var(--muted); }
.hmid small { display: block; font-size: 12px; color: var(--dim); }
.hrow .arrow { display: inline-flex; align-items: center; gap: 6px; }
.hrow .arrow i { font-style: normal; color: var(--dim); }
.hrow.empty-h { grid-template-columns: 1fr; text-align: center; color: var(--dim); padding: 30px; }

/* ---------- очередь ---------- */
.eyebrow .live-dot { margin-top: -2px; }
.q-over { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.q-over > div { padding: 12px 18px; border-radius: 18px; background: rgba(10, 14, 11, .55); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; gap: 2px; min-width: 140px; }
.q-over b { font-family: var(--f-mono); font-size: 22px; font-weight: 600; }
.q-over small { font-size: 12px; color: var(--muted); }
.q-bell { display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; min-height: 66px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05);
  font-weight: 600; font-size: 14px; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.q-bell svg { width: 18px; height: 18px; }
.q-bell.on { color: #0b1200; background: var(--lime); border-color: var(--lime); box-shadow: 0 0 24px rgba(194, 255, 0, .4); }
.qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.qcard { padding: 22px; display: grid; gap: 16px; border-radius: 26px; }
.qcard.open { border-color: rgba(194, 255, 0, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 60px rgba(194, 255, 0, .14), 0 30px 80px rgba(0, 0, 0, .35); }
.skel-card { min-height: 214px; background: linear-gradient(90deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.qc-top { display: flex; align-items: center; gap: 14px; }
.qc-ic { width: 58px; height: 58px; flex: none; border-radius: 17px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.qc-ic img { width: 42px; height: 42px; object-fit: contain; }
.qcard.open .qc-ic { border-color: rgba(194, 255, 0, .4); box-shadow: 0 0 24px rgba(194, 255, 0, .2); }
.qc-name { flex: 1; min-width: 0; }
.qc-name small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qc-name h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.qc-st { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--dim);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; }
.qc-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.qcard.open .qc-st { color: var(--lime); border-color: rgba(194, 255, 0, .4); background: rgba(194, 255, 0, .1); }
.qcard.open .qc-st i { background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.4s infinite; }
.qc-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.qc-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #6fd600, var(--lime)); box-shadow: 0 0 14px rgba(194, 255, 0, .6); transition: width .8s var(--ease); }
.qc-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.qc-stats b { color: var(--text); font-family: var(--f-mono); }
.qc-act { display: flex; }
.btn-plain.dis { opacity: .6; pointer-events: none; color: var(--muted); }
.qsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qsteps article { position: relative; padding: 22px; display: grid; gap: 12px; align-content: start; }
.qsteps .num { position: absolute; top: 24px; right: 22px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.qsteps h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.qsteps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- API ---------- */
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.api-card { padding: 24px; border-radius: 26px; }
.api-card.wide { grid-column: 1 / -1; }
.api-card h2 { margin: 0 0 16px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; }
.api-card h2 small { font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--lime); padding: 3px 8px; border-radius: 8px; background: rgba(194, 255, 0, .1); }
.ep + .ep { margin-top: 14px; }
.ep-code { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(194, 255, 0, .18);
  font-family: var(--f-mono); font-size: 13px; color: #e8ffd0; text-align: left; overflow-wrap: anywhere; transition: border-color .3s, background .3s; }
.ep-code:hover { border-color: rgba(194, 255, 0, .5); background: rgba(194, 255, 0, .06); }
.ep-code .m { color: #0b1200; background: var(--lime); border-radius: 6px; padding: 1px 6px; font-weight: 700; font-size: 11px; }
.ep-code i { display: grid; } .ep-code i svg { width: 14px; height: 14px; color: var(--dim); }
.ep p { margin: 6px 2px 0; color: var(--muted); font-size: 14px; }
.api-card code, .qsteps code { font-family: var(--f-mono); font-size: .88em; color: var(--lime-2); background: rgba(194, 255, 0, .08); border: 1px solid rgba(194, 255, 0, .15); border-radius: 6px; padding: 1px 6px; }
.api-card pre { margin: 0; max-height: 380px; overflow: auto; padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .06); font: 12.5px/1.6 var(--f-mono); color: #cfe9c0; }
.jk { color: var(--lime); } .js { color: #e8f0ff; } .jn { color: #7cc4ff; } .jb { color: #ffb86b; }
.api-card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.api-card .controls { margin-bottom: 10px; }
.api-table-wrap { overflow-x: auto; }
.api-table { width: 100%; border-collapse: collapse; font-size: 14px; transition: opacity .3s; }
.api-table th { text-align: left; padding: 10px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid rgba(255, 255, 255, .08); white-space: nowrap; }
.api-table th .kit-ic { width: 18px; height: 18px; display: inline-block; vertical-align: middle; margin-right: 6px; }
.api-table td { padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, .05); white-space: nowrap; }
.api-table tbody tr { cursor: pointer; transition: background .3s; }
.api-table tbody tr:hover { background: rgba(194, 255, 0, .05); }
.api-table .num { font-family: var(--f-mono); color: var(--muted); }
.api-table .num b { color: var(--text); }
.pn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.pn img { width: 26px; height: 26px; border-radius: 6px; image-rendering: pixelated; }
.api-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.btn-plain.sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-plain:disabled { opacity: .35; cursor: default; }

/* ---------- подвал: плотная подложка, чтобы точки фона не мешали тексту ---------- */
.foot { position: relative; z-index: 3; margin-top: 40px; padding: 44px 0 46px; background: linear-gradient(180deg, rgba(3, 8, 5, .88), rgba(2, 5, 3, .97)); border-top: 1px solid rgba(194, 255, 0, .14);
  backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; color: var(--muted); font-size: 14px; }
.foot-in .brand { margin-right: auto; color: var(--text); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-in nav a { color: rgba(241, 244, 248, .84); transition: color .3s; }
.foot-in nav a:hover { color: var(--lime); }
.foot-in .copy { width: 100%; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); color: var(--dim); font-size: 12.5px; }

/* ---------- переход страниц: полосы рифлёного стекла ---------- */
#curtain { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; }
#curtain .strips { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); }
#curtain .strip { display: block; transform: scaleY(0); margin-right: -1px;
  background: linear-gradient(90deg, #031008 0%, #0a2a16 45%, #15461f 78%, #0b2112 100%);
  box-shadow: inset -1px 0 0 rgba(194, 255, 0, .32), inset 1px 0 0 rgba(255, 255, 255, .04); }
#curtain .c-logo { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 0; filter: drop-shadow(0 0 30px rgba(194, 255, 0, .5)); }

/* ---------- тост ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; padding: 12px 18px; border-radius: 14px; background: rgba(10, 16, 11, .94); border: 1px solid rgba(194, 255, 0, .35);
  color: var(--text); font-size: 14px; font-weight: 600; box-shadow: 0 0 30px rgba(194, 255, 0, .2), 0 20px 40px rgba(0, 0, 0, .4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---------- адаптив для нового ---------- */
@media (max-width: 1100px) {
  .tcols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .sheet .card { grid-template-columns: 1fr; }
  .pf-3d { min-height: 320px; }
  .pf-3d .pf-flat { height: 230px; }
  .qsteps { grid-template-columns: 1fr; }
  .api-grid { grid-template-columns: 1fr; }
  .tcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-front { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(4, 16, 9, .3), rgba(3, 10, 6, .92) 30%, rgba(3, 10, 6, .92) 70%, rgba(3, 10, 6, .3)); }
  .tcols { grid-template-columns: 1fr; }
  .pf-kits { grid-template-columns: 1fr 1fr; }
  .pf-kit { padding: 10px; gap: 8px; }
  .pf-kit img { width: 30px; height: 30px; }
  .pf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-stats > div:nth-child(4) { border-left: 0; }
  .pf-stats > div:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .07); }
  .pf-foot { flex-direction: column; align-items: stretch; }
  .pf-foot .btn-glass { justify-content: space-between; }
  .hrow { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .hrow time { grid-column: 1 / -1; }
  .hrow .hk { width: 24px; height: 24px; }
  .qgrid { grid-template-columns: 1fr; }
  .q-over > div { min-width: 0; flex: 1 1 40%; }
  .q-bell { flex: 1 1 100%; justify-content: center; min-height: 52px; }
  .qc-stats { font-size: 12.5px; }
  .toast { bottom: 96px; }
  .foot { padding-bottom: 130px; }
}

/* ===================== v3.2: правки 17.10 (вечер) ===================== */
/* статистика китов: сколько бы китов ни было, плитки переносятся рядами */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; background: rgba(255, 255, 255, .14); }
.stats > * { flex: 1 0 auto; min-width: 104px; border-left: 0; background: rgba(12, 18, 13, .62); }
.kits4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pcard .kits { flex-wrap: wrap; justify-content: flex-start; gap: 6px 12px; }


/* очередь: панель звука */
.q-sound { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; border-radius: 22px; max-width: 100%; transition: opacity .4s; }
.q-sound .q-bell { min-height: 46px; border-radius: 16px; padding: 0 16px; }
.q-sound.muted .q-snd, .q-sound.muted .q-vol, .q-sound.muted .q-play { opacity: .45; }
.q-snd { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .08); transition: opacity .4s; }
.q-vol { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .08); transition: opacity .4s; }
.q-vol-ic svg { display: block; width: 18px; height: 18px; color: var(--lime); }
.q-vol b { min-width: 38px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; text-align: right; }
.q-vol input { --v: 50%; -webkit-appearance: none; appearance: none; width: 150px; height: 6px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--lime) 0 var(--v), rgba(255, 255, 255, .14) var(--v) 100%); }
.q-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #f4ffe0; border: 3px solid var(--lime); box-shadow: 0 0 14px rgba(194, 255, 0, .6); }
.q-vol input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #f4ffe0; border: 3px solid var(--lime); box-shadow: 0 0 14px rgba(194, 255, 0, .6); }
.q-play { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; color: #0b1200; background: var(--lime); box-shadow: 0 0 22px rgba(194, 255, 0, .35); transition: transform .4s var(--ease), opacity .4s; }
.q-play svg { width: 18px; height: 18px; margin-left: 2px; }
.q-play:hover { transform: scale(1.08); }
.q-play:active { transform: scale(.94); }

/* очередь: компактные карточки — одна строка на очередь */
.qlist { display: grid; gap: 10px; }
.qlist .qcard { display: grid; grid-template-columns: 52px minmax(0, 1.1fr) minmax(150px, 1fr) auto auto; align-items: center; gap: 18px; padding: 14px 16px 14px 14px; border-radius: 22px; }
.qlist .skel-card { min-height: 82px; }
.qlist .qc-ic { width: 52px; height: 52px; border-radius: 15px; }
.qlist .qc-ic img { width: 36px; height: 36px; }
.qlist .qc-name h3 { font-size: 19px; }
.qlist .qc-name small { margin-top: 2px; }
.qc-fill { display: grid; gap: 7px; }
.qc-fill span { font-size: 12.5px; color: var(--muted); }
.qc-fill b, .qc-meta b { color: var(--text); font-family: var(--f-mono); }
.qc-meta { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.qc-meta .live-dot { width: 6px; height: 6px; margin: -2px 7px 0 0; }
.qempty { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px; border-radius: 24px; }
.qe-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; color: var(--lime); background: rgba(194, 255, 0, .08); border: 1px solid rgba(194, 255, 0, .25); }
.qe-ic svg { width: 22px; height: 22px; animation: ring 2.6s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 82% { transform: rotate(-12deg); } 89% { transform: rotate(7deg); } }
.qempty > div:not(.qe-dc) { flex: 1; min-width: 220px; }
.qempty h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.qempty p { margin: 0; font-size: 14px; color: var(--muted); }
.qe-dc { display: flex; flex-wrap: wrap; gap: 6px; }
.qe-dc a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .4s var(--ease), border-color .3s; }
.qe-dc a:hover { transform: translateY(-3px); border-color: rgba(194, 255, 0, .45); }
.qe-dc .kit-ic { width: 26px; height: 26px; }

/* профиль: компактная статистика, модель стоит на кольце, крутится за любую точку */
.pf-stats b { font-size: 16px; }
.pf-stats > div { padding: 12px 10px; }
.pf-3d .pf-flat, .pf-3d .ring, .pf-hint { pointer-events: none; }
.pf-3d { touch-action: pan-y; }
.pf-3d .ring { bottom: 34px; }
.soc { background: rgba(255, 255, 255, .06); }

/* история тестов: тир без стрелки, дата внутри карточки, карточка разворачивается */
.hist { gap: 8px; }
.hrow { display: block; padding: 0; overflow: hidden; transition: border-color .35s, background .35s; }
.hrow.open { border-color: rgba(194, 255, 0, .25); background: rgba(194, 255, 0, .035); }
.hr-head { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 30px; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; text-align: left; }
.hr-head .hk { width: 28px; height: 28px; object-fit: contain; }
.hr-head .hmid small { font-family: var(--f-mono); font-size: 11.5px; }
.hr-head .chev { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--muted); transition: transform .5s var(--ease), background .3s, color .3s; }
.hr-head .chev svg { width: 14px; height: 14px; }
.hr-head:hover .chev { background: rgba(194, 255, 0, .12); color: var(--lime); }
.hrow.open .chev { transform: rotate(45deg); background: var(--lime); color: #0b1200; }
.hr-body { height: 0; overflow: hidden; }
.hr-in { display: grid; gap: 6px; padding: 2px 12px 14px 14px; border-top: 1px solid rgba(255, 255, 255, .06); margin: 0 0 0; padding-top: 12px; }
.stage { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--dim); font-family: var(--f-mono); }
.stage .tb { height: 22px; min-width: 38px; font-size: 10.5px; }
.fight { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .05); }
.fight.txt { display: block; font-size: 13px; color: var(--muted); }
.fp { display: flex; align-items: center; gap: 9px; min-width: 0; cursor: pointer; }
.fp.r { justify-content: flex-end; text-align: right; }
.fp img { width: 28px; height: 28px; border-radius: 7px; image-rendering: pixelated; flex: none; transition: transform .4s var(--ease); }
.fp:hover img { transform: scale(1.12) rotate(-4deg); }
.fp b { font-size: 13.5px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp.me b { color: var(--text); }
.fp.w img { box-shadow: 0 0 0 2px var(--lime), 0 0 14px rgba(194, 255, 0, .45); }
.fs { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 16px; font-weight: 700; color: var(--dim); }
.fs b.w { color: var(--lime); text-shadow: 0 0 12px rgba(194, 255, 0, .5); }
.fs i { font-style: normal; opacity: .5; }
.hr-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hr-note > span:first-child { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); min-width: 64px; }
.hr-note p { margin: 0; }
.hr-note.dim { color: var(--dim); }
.hr-note .pn { cursor: pointer; font-size: 13.5px; }

@media (max-width: 760px) {
  .q-sound { display: grid; grid-template-columns: 1fr auto; width: 100%; }
  .q-sound .q-bell { grid-column: 1 / -1; justify-content: center; }
  .q-snd { justify-self: start; }
  .q-vol { grid-column: 1 / -1; grid-row: 3; }
  .q-vol input { flex: 1; width: auto; min-width: 0; }
  .qlist .qcard { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px 12px; }
  .qlist .qc-ic { width: 46px; height: 46px; }
  .qc-fill { grid-column: 1 / -1; grid-row: 2; }
  .qc-meta { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 16px; }
  .qc-act { grid-column: 3; grid-row: 1; }
  .hr-head { grid-template-columns: 26px minmax(0, 1fr) auto 28px; gap: 10px; padding: 10px; }
  .hr-head .hk { width: 24px; height: 24px; }
  .hr-in { padding: 10px 10px 12px; }
  .fight { gap: 6px; padding: 6px 8px; }
  .fp img { width: 24px; height: 24px; }
  .fp b { font-size: 12.5px; }
  .fs { font-size: 14px; }
}
/* статистика профиля — по центру своих плашек */
.pf-stats > div { justify-items: center; align-content: center; text-align: center; }
@media (min-width: 761px) { .q-sound { justify-self: start; width: fit-content; } }
/* список истории — колонкой, карточки не сжимаются под высоту окна */
.hist { display: flex; flex-direction: column; }
.hist > .hrow { flex: none; }
/* колонке тиров — больше места: китов может стать сколько угодно, лишние переносятся строкой ниже */
@media (min-width: 761px) {
  .brow, .bhead { grid-template-columns: 64px minmax(170px, 1fr) minmax(0, 2fr) 90px; }
  .brow .tiers { gap: 6px 10px; }
}
/* киты профиля сжимаются под ширину экрана, сколько бы их ни было */
.pf-kits { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
@media (max-width: 760px) {
  .pf-kits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pf-kit { padding: 9px; gap: 7px; }
  .pf-kit b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pf-kit small { font-size: 10.5px; }
  .pf-kit .tb.big { height: 28px; min-width: 40px; font-size: 11.5px; padding: 0 6px; }
}
@media (max-width: 760px) { .pf-kit img { width: 24px; height: 24px; } .pf-kit small { white-space: nowrap; } }

/* ===================== топ-3: карточки FIFA с живыми 3D-скинами ===================== */
.t-pod { padding-bottom: 34px; }

.pod { --c: var(--t2); position: relative; cursor: pointer; min-width: 0; }
.pod.p1 { --c: var(--t1); }
.pod.p3 { --c: var(--t3); }
.pod-fig { position: relative; display: grid; place-items: end center; pointer-events: none; }
.pod-skin { width: auto; image-rendering: pixelated; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); transition: opacity .5s; }
.pod-3d { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); opacity: 0; transition: opacity .6s; }
.pod-fig.live .pod-skin { opacity: 0; }
.pod-fig.live .pod-3d { opacity: 1; }

/* КАРТОЧКИ FIFA: тёмное стекло с оттенком места (золото / серебро / бронза), металлическая рамка с бегущим бликом,
   за игроком — лучи. Под курсором (JS, fcLens): линза «рыбий глаз», перелив за курсором, подсветка рамки, наклон.
   --m1..--m3 — металл от светлого к тёмному, --bg1/--bg2 — тёмный фон. Все размеры внутри — от ширины карточки (cqw) */
@property --fc-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --px { syntax: '<number>'; inherits: true; initial-value: 50; }
.top-sec .v-fut { margin-top: 84px; }
.v-fut { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.6vw, 34px); align-items: center; max-width: 880px; margin: 46px auto 30px; }
.v-fut .pod { --m1: #ffffff; --m2: #cdd6e4; --m3: #6b7688; --bg1: #1d232b; --bg2: #0a0c10;
  container-type: inline-size; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .45)); }
.v-fut .pod.p1 { --m1: #fff1c4; --m2: #f3c35a; --m3: #976512; --bg1: #2c230b; --bg2: #110d04;
  z-index: 2; transform: translateY(-22px) scale(1.08); }
.v-fut .pod.p3 { --m1: #ffd6b3; --m2: #e3884a; --m3: #7f3f17; --bg1: #2b190d; --bg2: #100905; }
.fc { --cut: polygon(15% 0, 85% 0, 100% 6%, 100% 87%, 50% 100%, 0 87%, 0 6%); --fc-a: 0deg; --mx: 50%; --my: 35%; --hov: 0;
  position: relative; aspect-ratio: .68; padding: 1.1cqw; clip-path: var(--cut);
  background: conic-gradient(from var(--fc-a), transparent 0 60%, color-mix(in srgb, var(--m1) 85%, transparent) 72%, transparent 84%),
    linear-gradient(160deg, var(--m2), var(--m3) 28%, color-mix(in srgb, var(--m2) 55%, #000) 52%, var(--m3) 76%, var(--m2));
  animation: fcRim 8s linear infinite; transition: scale .6s var(--ease); }
/* рамка светится там, где курсор */
.fc::before { content: ''; position: absolute; inset: 0; opacity: var(--hov); pointer-events: none;
  background: radial-gradient(36cqw circle at var(--mx) var(--my), var(--m1), color-mix(in srgb, var(--m2) 60%, transparent) 40%, transparent 72%); }
.v-fut .pod.p2 .fc { animation-delay: -2.7s; }
.v-fut .pod.p3 .fc { animation-delay: -5.3s; }
@keyframes fcRim { to { --fc-a: 360deg; } }
.v-fut .pod:hover .fc { scale: 1.04; }
.fc-face { position: relative; z-index: 1; height: 100%; overflow: hidden; clip-path: var(--cut); color: var(--text); display: grid; grid-template-rows: 55% auto 1fr;
  background: radial-gradient(70% 40% at 62% 30%, color-mix(in srgb, var(--m2) 20%, transparent), transparent 72%),
    linear-gradient(172deg, var(--bg1) 0%, color-mix(in srgb, var(--bg1) 50%, var(--bg2)) 55%, var(--bg2) 100%); }
/* лучи из-за игрока: под линзой изгибаются, как точки на главной */
.fc-face::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-conic-gradient(from -2deg at 62% 34%, color-mix(in srgb, var(--m2) 14%, transparent) 0deg 1.6deg, transparent 1.6deg 7.5deg);
  -webkit-mask: radial-gradient(75% 58% at 62% 34%, #000 8%, transparent 78%); mask: radial-gradient(75% 58% at 62% 34%, #000 8%, transparent 78%); }
/* перелив за курсором — по фону карточки, под игроком и текстом: пятно света + цветная полоса (металл → лайм → металл),
   полоса бежит быстрее курсора */
.fc-holo { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: calc(.2 + var(--hov) * .6);
  background: radial-gradient(42cqw circle at var(--mx) var(--my), color-mix(in srgb, var(--m1) 26%, transparent), transparent 72%),
    linear-gradient(115deg, transparent 34%, color-mix(in srgb, var(--m2) 26%, transparent) 43%, rgba(194, 255, 0, .13) 50%, color-mix(in srgb, var(--m1) 24%, transparent) 57%, transparent 66%)
    calc(var(--px) * 1%) 50% / 300% 100% no-repeat; }
/* без мыши (телефоны) полоса перелива сама медленно ходит по карточке */
@keyframes fcHolo { 0%, 100% { --px: 8; } 50% { --px: 92; } }
@media (hover: none) { .fc-holo { animation: fcHolo 6s ease-in-out infinite; } .v-fut .pod.p2 .fc-holo { animation-delay: -2s; } .v-fut .pod.p3 .fc-holo { animation-delay: -4s; } }
.fc-top { position: relative; display: grid; place-items: end center; }
.fc-side { position: absolute; z-index: 2; top: 13cqw; left: 9cqw; width: 20cqw; display: grid; justify-items: center; gap: .6cqw; line-height: 1; }
.fc-pts { font-family: var(--f-brand); font-size: 14cqw; font-weight: 700; letter-spacing: -.05em; padding-right: .05em;
  background: linear-gradient(180deg, var(--m1) 10%, var(--m2) 55%, var(--m3) 105%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-side small { font-size: max(4cqw, 9px); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fc-side i { width: 12cqw; height: 1px; margin: 1.6cqw 0; background: color-mix(in srgb, var(--m2) 40%, transparent); }
.fc-side span { font-family: var(--f-mono); font-size: max(4.8cqw, 10px); font-weight: 700; color: var(--muted); }
/* место — металлическая плашка: золото, серебро, бронза видно сразу */
.fc-side .fc-rk { display: inline-flex; align-items: center; gap: .8cqw; margin-top: 1.4cqw; padding: 1cqw 2.2cqw; border-radius: 99px; font-size: max(4.4cqw, 9.5px); color: #15110a;
  background: linear-gradient(180deg, var(--m1), var(--m2) 55%, var(--m3) 130%); box-shadow: 0 0 3cqw color-mix(in srgb, var(--m2) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, .5); }
.fc-rk svg { width: 4.4cqw; height: 4.4cqw; }
.v-fut .pod-fig { z-index: 1; height: 66cqw; margin-left: 18cqw; }
.v-fut .pod-skin { height: 63cqw; }
.fc-name { position: relative; z-index: 2; margin: 0 9cqw; padding: 2.4cqw 0; text-align: center; border-block: 1px solid color-mix(in srgb, var(--m2) 26%, transparent); }
.fc-name span { display: block; font-family: var(--f-brand); font-size: 7.4cqw; font-weight: 700; letter-spacing: -.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* тиры: квадратные плитки «иконка + тир», всё по центру. Колонок столько, сколько задал JS (--cols): 1–4 в ряд, 5–10 — два ряда */
.fc-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--cols, 4), 17cqw); justify-content: center; align-content: center; gap: 2.4cqw; padding: 1.6cqw 6cqw 12cqw; }
.fc-stats span { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 1.4cqw; border-radius: 3.4cqw;
  background: linear-gradient(180deg, color-mix(in srgb, var(--m2) 10%, transparent), rgba(0, 0, 0, .18)); border: 1px solid color-mix(in srgb, var(--m2) 24%, transparent); }
.fc-stats .kit-ic { width: 7cqw; height: 7cqw; object-fit: contain; }
.fc-stats .tb { height: 5.8cqw; min-width: 11cqw; padding: 0 1.2cqw; font-size: max(3.9cqw, 9px); border-radius: 1.6cqw; letter-spacing: 0; box-shadow: none; }
.fc-stats.two { grid-template-columns: repeat(var(--cols), 14cqw); gap: 1.8cqw; padding: .8cqw 6cqw 10cqw; }
.fc-stats.two span { gap: 1cqw; border-radius: 2.8cqw; }
.fc-stats.two .kit-ic { width: 5.6cqw; height: 5.6cqw; }
.fc-stats.two .tb { height: 4.8cqw; min-width: 9cqw; font-size: max(3.2cqw, 8px); padding: 0 .9cqw; }
.fc-more i { font-style: normal; font-family: var(--f-mono); font-size: max(3.6cqw, 8px); font-weight: 700; color: var(--muted); }
.fc-more b { font-size: max(2.8cqw, 7.5px); font-weight: 600; text-transform: uppercase; color: var(--dim); }
/* карточки живые и при «Уменьшить движение» в системе (в Windows это «Эффекты анимации» = выкл):
   владелец хочет анимацию; рамка крутится медленно, всё остальное — только от курсора */
@media (prefers-reduced-motion: reduce) {
  .fc { animation-duration: 14s !important; animation-iteration-count: infinite !important; transition-duration: .6s !important; }
  .fc-holo { animation-duration: 10s !important; animation-iteration-count: infinite !important; }
}

@media (max-width: 760px) {
  .top-sec .v-fut { margin-top: 48px; }
  .v-fut { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-top: 30px; }
  .v-fut .pod.p1 { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: 66%; transform: none; }
  .v-fut .pod.p2 { grid-row: 2; grid-column: 1; }
  .v-fut .pod.p3 { grid-row: 2; grid-column: 2; }
}

/* система тиров: сколько очков даёт каждый тир — чтобы новичку сразу было понятно */
.rung { grid-template-columns: 70px minmax(0, 1fr) auto auto; }
.rung .rp { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--c); padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
@media (max-width: 760px) { .rung { gap: 10px; padding: 0 12px; } .rung span { display: none; } .rung { grid-template-columns: 54px minmax(0, 1fr) auto; } .rung .rp { justify-self: start; } }

/* режимы на странице тир-теста: вся карточка — ссылка на Discord-сервер режима */
a.kitc { position: relative; color: inherit; text-decoration: none; cursor: pointer; transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
a.kitc:hover { transform: translateY(-6px); border-color: rgba(194, 255, 0, .4); box-shadow: 0 0 50px rgba(194, 255, 0, .12), 0 30px 60px rgba(0, 0, 0, .35); }
.kc-go { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--muted);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background .4s, color .4s, transform .5s var(--ease); }
.kc-go svg { width: 15px; height: 15px; }
a.kitc:hover .kc-go { background: var(--lime); color: #0b1200; border-color: var(--lime); transform: rotate(45deg); }

/* выбор звука: компактный список, у новых звуков метка «новый» */
.q-snd { position: relative; padding: 0; background: none; border: 0; }
.q-snd-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 16px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s; }
.q-snd-btn small { font-family: var(--f-mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.q-snd-btn b { font-size: 14px; font-weight: 600; min-width: 64px; text-align: left; }
.q-snd-btn i { display: grid; color: var(--muted); transition: transform .4s var(--ease); }
.q-snd-btn i svg { width: 13px; height: 13px; }
.q-snd-btn.open { border-color: rgba(194, 255, 0, .45); }
.q-snd-btn.open i { transform: rotate(45deg); color: var(--lime); }
.q-snd-menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 230px; max-height: 330px; overflow: auto; padding: 6px; border-radius: 18px; display: grid; gap: 2px;
  background: rgba(9, 14, 10, .96); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(194, 255, 0, .08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.q-snd-menu[hidden] { display: none; }
.q-snd-menu button { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); text-align: left; transition: background .25s, color .25s; }
.q-snd-menu button span { flex: 1; }
.q-snd-menu button em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); padding: 2px 7px; border-radius: 999px; background: rgba(194, 255, 0, .1); border: 1px solid rgba(194, 255, 0, .25); }
.q-snd-menu button i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.q-snd-menu button i svg { width: 11px; height: 11px; margin-left: 1px; }
.q-snd-menu button:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.q-snd-menu button.on { color: #0b1200; background: var(--lime); }
.q-snd-menu button.on em { color: #0b1200; background: rgba(0, 0, 0, .1); border-color: rgba(0, 0, 0, .2); }
.q-snd-menu button.on i { background: rgba(0, 0, 0, .12); }

/* уведомления об открытии очереди — стопка карточек справа сверху */
.notices { position: fixed; z-index: 90; top: 92px; right: 20px; width: min(380px, calc(100% - 32px)); display: grid; gap: 10px; pointer-events: none; }
.notice { position: relative; overflow: hidden; pointer-events: auto; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 14px 16px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(20, 32, 18, .96), rgba(8, 13, 9, .96)); border: 1px solid rgba(194, 255, 0, .38);
  box-shadow: 0 0 0 1px rgba(194, 255, 0, .06), 0 0 50px rgba(194, 255, 0, .18), 0 24px 60px rgba(0, 0, 0, .5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nt-ic { position: relative; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: rgba(194, 255, 0, .1); border: 1px solid rgba(194, 255, 0, .3); }
.nt-ic img { width: 34px; height: 34px; object-fit: contain; }
.nt-ic i { position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--lime); animation: ntPing 1.6s ease-out infinite; }
@keyframes ntPing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.45); opacity: 0; } }
.nt-txt { display: grid; gap: 2px; min-width: 0; }
.nt-txt small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.nt-txt small .live-dot { width: 6px; height: 6px; margin: -2px 6px 0 0; }
.nt-txt b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-txt span { font-size: 12.5px; color: var(--muted); }
.nt-go { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #0b1200; background: var(--lime); box-shadow: 0 0 20px rgba(194, 255, 0, .4); }
.nt-x { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--dim); opacity: 0; transition: opacity .3s, background .3s; }
.nt-x svg { width: 12px; height: 12px; }
.notice:hover .nt-x { opacity: 1; } .nt-x:hover { background: rgba(255, 255, 255, .1); color: var(--text); }
.nt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.nt-bar i { display: block; height: 100%; background: var(--lime); box-shadow: 0 0 10px var(--lime); transform-origin: left; }
@media (max-width: 760px) {
  .notices { top: 84px; right: 16px; left: 16px; width: auto; }
  .notice { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .nt-ic { width: 42px; height: 42px; } .nt-ic img { width: 28px; height: 28px; }
  .nt-x { opacity: 1; }
  .q-snd-btn { width: 100%; }
  .q-snd-menu { left: 0; right: 0; min-width: 0; }
  .q-sound .q-snd { grid-column: 1; }
}

/* ---------- шапка: навигация, разделитель, поиск и вход — без перегруза ---------- */
.nav-sep { width: 1px; height: 22px; margin: 0 6px; background: rgba(255, 255, 255, .14); }
/* поиск и вход того же размера, что пункты меню (36px), без свечения — не перетягивают внимание */
.nav .nav-search { width: 36px; height: 36px; border-color: transparent; background: transparent; color: var(--muted); }
.nav .nav-search:hover { color: var(--text); background: rgba(255, 255, 255, .1); border-color: transparent; }
.nav .nav-search svg { width: 16px; height: 16px; }
.auth-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 11px; margin-left: 4px; border-radius: 999px; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  color: var(--lime); background: rgba(194, 255, 0, .08); border: 1px solid rgba(194, 255, 0, .28); transition: background .3s, border-color .3s, color .3s; }
.auth-btn svg { width: 15px; height: 15px; }
.auth-btn:hover { color: #0b1200; background: var(--lime); border-color: var(--lime); }
.auth-btn.in { gap: 8px; padding: 0 12px 0 3px; color: var(--text); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.auth-btn.in:hover { color: var(--text); background: rgba(255, 255, 255, .1); border-color: rgba(194, 255, 0, .4); }
.ab-ava { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1.5px rgba(194, 255, 0, .55); background: #0b120c; }
.ab-ava img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.ab-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 980px) {
  .nav-sep, .nav-search { display: none; }
}
@media (max-width: 760px) {
  .auth-btn { height: 36px; padding: 0 12px 0 10px; font-size: 13px; }
  .auth-btn.in { padding: 0 3px; }
  .ab-ava { width: 30px; height: 30px; }
  .auth-btn.in .ab-name { display: none; }
}
/* переключатель языка RU / EN: компактная капсула, активный язык — лаймом; виден и на телефоне */
.lang { display: inline-flex; align-items: center; flex: none; height: 30px; padding: 2px; margin-left: 2px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.lang a { display: grid; place-items: center; min-width: 30px; height: 100%; padding: 0 6px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); transition: color .3s, background .3s; }
.lang a:hover { color: var(--text); }
.lang a.on { color: var(--lime); background: rgba(194, 255, 0, .12); box-shadow: inset 0 0 0 1px rgba(194, 255, 0, .32); }
@media (max-width: 760px) {
  .lang { height: 30px; margin-left: 0; }
  .lang a { min-width: 28px; padding: 0 5px; font-size: 10.5px; }
}
/* узкие телефоны: логотип, RU/EN и «Войти» помещаются в одну строку с зазором */
@media (max-width: 400px) {
  .lang a { min-width: 25px; padding: 0 4px; }
  .auth-btn { gap: 6px; padding: 0 10px 0 9px; }
  .auth-btn.in { padding: 0 3px; }
}

/* ---------- кабинет ---------- */
.me-skel { min-height: 320px; background: linear-gradient(90deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.me-login { max-width: 760px; margin: 0 auto; padding: clamp(26px, 4vw, 44px); display: grid; justify-items: center; gap: 16px; text-align: center; border-radius: 30px; }
.me-login h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: -.03em; }
.me-login .lead { margin: 0; max-width: 520px; }
.me-login .btn-lime svg { width: 20px; height: 20px; margin-right: 4px; }
.me-dc { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #5865f2, #3b45c4); box-shadow: 0 0 40px rgba(88, 101, 242, .5); }
.me-dc svg { width: 40px; height: 40px; }
.me-perks { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; text-align: left; }
.me-perks > div { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); }
.me-perks b { font-size: 15px; } .me-perks small { font-size: 13px; color: var(--muted); }
.me-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.me-card { padding: 24px; border-radius: 28px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.me-ava { width: 104px; height: 104px; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 3px rgba(194, 255, 0, .6), 0 0 40px rgba(194, 255, 0, .3); background: #0b120c; }
.me-ava img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.me-who { display: grid; gap: 6px; justify-items: center; }
.me-who small { font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.me-who h2 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; }
.me-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.me-chips span { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; font-family: var(--f-mono); font-size: 11.5px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--muted); }
.me-chips span svg { width: 12px; height: 12px; }
.me-chips .ok { color: var(--lime); border-color: rgba(194, 255, 0, .35); background: rgba(194, 255, 0, .08); }
.me-chips .warn { color: #ffb86b; border-color: rgba(255, 184, 107, .35); }
.me-stat { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .07); }
.me-stat > div { display: grid; gap: 2px; padding: 12px 6px; min-width: 0; }
.me-stat > div + div { border-left: 1px solid rgba(255, 255, 255, .07); }
.me-stat b { font-family: var(--f-mono); font-size: 18px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-stat > div:first-child b { color: var(--lime); }
.me-stat small { font-size: 11.5px; color: var(--dim); }
.me-kits { width: 100%; display: grid; gap: 6px; text-align: left; }
.me-kit { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px; padding: 8px 10px 8px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); }
.me-kit img { width: 34px; height: 34px; object-fit: contain; }
.me-kit span { display: grid; gap: 1px; min-width: 0; }
.me-kit b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-kit small { font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.me-kit .tb.big { height: 34px; min-width: 52px; font-size: 13.5px; border-radius: 10px; }
.me-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.me-out { height: 46px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #ff8a8a; border: 1px solid rgba(255, 122, 122, .3); background: rgba(255, 122, 122, .06); transition: background .3s, color .3s; }
.me-out:hover, .me-out.armed { color: #fff; background: rgba(255, 90, 90, .7); border-color: transparent; }
.me-demo { margin: 0; font-size: 12px; color: var(--dim); padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .15); }
.me-form { padding: 26px; border-radius: 28px; display: grid; gap: 18px; }
.me-form header h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.me-form header p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.me-field { display: grid; gap: 8px; }
.me-field > span { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); }
.me-field em { font-style: normal; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.me-field em.max { color: #ffb86b; }
.me-field small { font-size: 12px; color: var(--dim); }
.me-form textarea, .me-soc input { width: 100%; border-radius: 16px; padding: 12px 14px; font: inherit; font-size: 14.5px; color: var(--text); background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1); outline: none; resize: vertical; transition: border-color .3s, box-shadow .3s; }
.me-form textarea:focus, .me-soc input:focus { border-color: rgba(194, 255, 0, .5); box-shadow: 0 0 0 4px rgba(194, 255, 0, .08); }
.me-socs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.me-soc { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 6px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.me-soc .si { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.me-soc .si img { width: 22px; height: 22px; object-fit: contain; }
.me-soc .sl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.me-soc .sl em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11px; font-weight: 500; color: var(--dim); }
.me-soc .sl em svg { width: 11px; height: 11px; }
.me-soc input { padding: 9px 12px; border-radius: 12px; font-size: 13.5px; }
.me-soc.locked { opacity: .55; }
.me-soc.locked input { cursor: not-allowed; }
.me-save { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.me-status { font-size: 13px; color: var(--muted); }
.me-status.ok { color: var(--lime); } .me-status.warn { color: #ffb86b; }
@media (max-width: 980px) { .me-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .me-perks { grid-template-columns: 1fr; }
  .me-socs { grid-template-columns: 1fr; }
  .me-form, .me-card { padding: 18px; border-radius: 22px; }
}
/* список звуков открывается поверх карточек очереди и следующих блоков */
.page-head:has(.q-sound) { position: relative; z-index: 6; }
.q-sound { position: relative; z-index: 6; }
/* закрытые очереди видны, только если так включено в админке */
.qcard.closed { opacity: .55; }
.qcard.closed .qc-bar i { background: rgba(255, 255, 255, .25); box-shadow: none; }
.qcard.closed .live-dot { background: var(--dim); box-shadow: none; animation: none; }
.me-admin { gap: 8px; }
.me-admin svg { width: 16px; height: 16px; }

/* телефоны: размытие стекла поверх живого фона пересчитывается каждый кадр — главная нагрузка на слабые GPU.
   Без размытия панели получают плотный фон, зерно уже есть в самом шейдере фона */
@media (hover: none) and (max-width: 760px) {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .grain { display: none; }
  .panel { background: linear-gradient(180deg, rgba(18, 27, 19, .9), rgba(8, 12, 9, .93)); }
  .tcol { background: rgba(8, 12, 9, .9); }
}

/* ---------- официальный сервер AlterPrac (главная и /test) ---------- */
.srv-sec { padding-top: 0; }
.srv { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 4vw, 52px); overflow: hidden; }
.srv::after { content: ''; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(194, 255, 0, .13), transparent); pointer-events: none; z-index: -1; }
.srv-main { display: grid; gap: 20px; min-width: 0; }
.srv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.srv-badge { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: rgba(194, 255, 0, .14); color: var(--lime); font-size: 13px; font-weight: 600; }
.srv-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12.5px; color: var(--dim); }
.srv-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.srv-live.online { color: var(--lime); }
.srv-live.online i { background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.8s infinite; }
.srv-live.offline { color: #ffb86b; }
.srv-live.offline i { background: #ffb86b; }
.srv-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.srv-id img { width: 76px; height: 76px; flex: none; object-fit: contain; filter: drop-shadow(0 0 22px rgba(194, 255, 0, .25)); }
.srv-id > div { display: grid; gap: 10px; min-width: 0; }
.srv-id .h2 { font-size: clamp(28px, 3.6vw, 48px); margin: 0; }
.srv-id .h2 .hl { white-space: nowrap; }
.srv-side { display: grid; gap: 16px; min-width: 0; }
.srv-ips { display: grid; gap: 10px; }
.srv-ip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 62px; padding: 0 18px; border-radius: 18px; border: 1px solid var(--dstroke-2); background: rgba(194, 255, 0, .05); color: var(--text); text-align: left; cursor: pointer; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.srv-ip:hover { background: rgba(194, 255, 0, .12); border-color: var(--lime); }
.srv-ip:active { transform: scale(.98); }
.srv-ip small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--lime); padding: 4px 8px; border-radius: 8px; background: rgba(194, 255, 0, .12); }
.srv-ip b { font-family: var(--f-mono); font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv-ip i { display: grid; place-items: center; color: var(--muted); }
.srv-ip i svg { width: 18px; height: 18px; }
.srv-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.srv-on { font-size: 14px; color: var(--muted); }
.srv-on b { font-family: var(--f-mono); font-size: 18px; color: var(--text); margin-right: 4px; }
@media (max-width: 980px) { .srv { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .srv { padding: 22px 18px; border-radius: 24px; }
  .srv-id { gap: 14px; }
  .srv-id img { width: 58px; height: 58px; }
  .srv-foot .btn-plain { width: 100%; }
}
