/* MineVote — „Neon Voxel“ тема. Дизайн система: ui-ux-pro-max (Gaming / 3D, неоново лилаво + розов акцент,
   Russo One + Exo 2 — Chakra Petch няма кирилица). Всичко е анимирано; prefers-reduced-motion намалява движението. */

/* ============================== токени ============================== */
:root {
  --bg: #07071a; --bg-2: #0c0b22; --surface: rgba(26, 23, 54, .62); --surface-2: rgba(36, 32, 72, .7); --solid: #15132e; --solid-2: #1d1a3d;
  --line: rgba(167, 139, 250, .14); --line-2: rgba(167, 139, 250, .28); --line-3: rgba(167, 139, 250, .5);
  --text: #ecebff; --muted: #a9a7cc; --dim: #7d7aa8;
  --primary: #7c3aed; --primary-2: #a78bfa; --primary-3: #c4b5fd; --magenta: #c026d3; --accent: #f43f5e; --accent-2: #fb7185;
  --ok: #22c55e; --ok-2: #4ade80; --warn: #f59e0b; --bad: #f43f5e; --cyan: #22d3ee; --gold: #fbbf24; --silver: #cbd5e1; --bronze: #f59e0b;
  --grad: linear-gradient(135deg, #7c3aed 0%, #c026d3 52%, #f43f5e 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(192, 38, 211, .14) 55%, rgba(244, 63, 94, .18));
  --r-xs: 8px; --r-sm: 12px; --r: 16px; --r-lg: 22px; --r-xl: 30px;
  --sh: 0 10px 30px -12px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .25);
  --sh-glow: 0 0 0 1px rgba(167, 139, 250, .25), 0 12px 40px -10px rgba(124, 58, 237, .55);
  --e-out: cubic-bezier(.16, 1, .3, 1); --e-spring: cubic-bezier(.34, 1.56, .64, 1); --e-io: cubic-bezier(.65, 0, .35, 1);
  --f-head: "Russo One", "Exo 2", system-ui, sans-serif; --f-body: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --hdr: 72px; --wrap: 1200px;
  color-scheme: dark;
}

/* ============================== основа ============================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); background: var(--bg);
  scrollbar-color: #5b3fb0 #0b0a1f; scrollbar-width: thin; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font: 400 16px/1.6 var(--f-body); color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; overflow-x: clip; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 400; line-height: 1.15; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(167, 139, 250, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 6px; }
code, .mono { font-family: var(--f-mono); font-size: .92em; }
.dim { color: var(--dim); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.narrow { max-width: 860px; }
.main { flex: 1; position: relative; z-index: 1; padding-bottom: 64px; }

/* скролбарове навсякъде */
::-webkit-scrollbar { width: 11px; height: 9px; }
::-webkit-scrollbar-track { background: #0b0a1f; }
::-webkit-scrollbar-thumb { border-radius: 99px; border: 3px solid #0b0a1f; background: linear-gradient(180deg, #7c3aed, #c026d3); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #8b5cf6, #db2777); }
::-webkit-scrollbar-corner { background: transparent; }
.thin-scroll { scrollbar-width: thin; }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--primary); color: #fff; font-weight: 700;
  transition: top .3s var(--e-out); }
.skip:focus { top: 12px; }

/* лента за скрола + лента при зареждане */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad);
  box-shadow: 0 0 12px rgba(192, 38, 211, .8); }
.loadbar { position: fixed; inset: 0 0 auto; height: 3px; z-index: 61; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, #fff, transparent);
  background-size: 40% 100%; background-repeat: no-repeat; }
.loadbar.is-on { opacity: 1; animation: loadbar 1s var(--e-io) infinite; }
@keyframes loadbar { from { background-position: -40% 0 } to { background-position: 140% 0 } }

/* ============================== фон ============================== */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg__blob { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.bg__blob--a { left: -18vmax; top: -24vmax; background: radial-gradient(circle, rgba(124, 58, 237, .75), transparent 62%); animation: drift1 26s ease-in-out infinite alternate; }
.bg__blob--b { right: -22vmax; top: 8vmax; background: radial-gradient(circle, rgba(192, 38, 211, .45), transparent 62%); animation: drift2 32s ease-in-out infinite alternate; }
.bg__blob--c { left: 20vmax; bottom: -34vmax; background: radial-gradient(circle, rgba(244, 63, 94, .32), transparent 60%); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.15) } }
@keyframes drift2 { to { transform: translate(-12vmax, 14vmax) scale(.9) } }
@keyframes drift3 { to { transform: translate(-10vmax, -12vmax) scale(1.2) } }
.bg__grid { position: absolute; left: -50%; right: -50%; bottom: -10vh; height: 70vh; transform-origin: 50% 100%; transform: perspective(520px) rotateX(64deg);
  background-image: linear-gradient(rgba(167, 139, 250, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, .14) 1px, transparent 1px);
  background-size: 64px 64px; animation: gridmove 6s linear infinite;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); }
@keyframes gridmove { to { background-position: 0 64px, 0 0 } }
.bg__px { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg__noise { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ============================== хедър ============================== */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); transition: background .35s, box-shadow .35s, height .35s var(--e-out);
  background: rgba(7, 7, 26, .35); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); view-transition-name: hdr; }
.hdr::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); opacity: 0; transition: opacity .35s; }
.hdr.is-scrolled { background: rgba(7, 7, 26, .78); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
.hdr.is-scrolled::after { opacity: 1; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 22px; }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__cube { position: relative; width: 38px; height: 38px; overflow: hidden; border-radius: 10px; transition: transform .5s var(--e-spring); }
.logo__cube svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 10px rgba(124, 58, 237, .6)); animation: logofloat 5s ease-in-out infinite; }
@keyframes logofloat { 50% { transform: translateY(-2px) rotate(-3deg) } }
.logo__shine { position: absolute; inset: -50%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
  transform: translateX(-100%); animation: shine 5s var(--e-io) infinite 1s; }
@keyframes shine { 0%, 70% { transform: translateX(-100%) } 100% { transform: translateX(100%) } }
.logo:hover .logo__cube { transform: rotate(-12deg) scale(1.08); }
.logo__txt { font: 1.32rem/1 var(--f-head); letter-spacing: .02em; }
.logo__txt b { font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--sm .logo__txt { font-size: 1.4rem; }

.nav { position: relative; display: flex; align-items: center; gap: 4px; }
.nav__a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; font-weight: 600;
  color: var(--muted); transition: color .25s, background .25s; }
.nav__a .ico { width: 18px; height: 18px; transition: transform .35s var(--e-spring); }
.nav__a:hover { color: var(--text); }
.nav__a:hover .ico { transform: translateY(-2px) rotate(-8deg); }
.nav__a.is-on { color: #fff; }
.nav__ink { position: absolute; z-index: 0; left: 0; top: 50%; height: 40px; width: 0; margin-top: -20px; border-radius: 12px; opacity: 0;
  background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .45s var(--e-out), width .45s var(--e-out), opacity .3s; }
.nav__mobile-extra { display: none; }

.langsw { position: relative; display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.langsw a { position: relative; z-index: 1; width: 38px; height: 30px; display: grid; place-items: center; font: 700 .78rem/1 var(--f-body); letter-spacing: .06em;
  color: var(--dim); border-radius: 99px; transition: color .3s; }
.langsw a.is-on { color: #fff; }
.langsw a:hover { color: var(--text); }
.langsw i { position: absolute; z-index: 0; top: 3px; left: 3px; width: 38px; height: 30px; border-radius: 99px; background: var(--grad); box-shadow: 0 4px 14px -4px rgba(192, 38, 211, .8);
  transition: transform .45s var(--e-spring); }
.langsw a:last-of-type.is-on ~ i { transform: translateX(38px); }

.umenu { position: relative; }
.umenu__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s; }
.umenu__btn:hover, .umenu.is-open .umenu__btn { background: rgba(167, 139, 250, .12); box-shadow: inset 0 0 0 1px var(--line-2); }
.umenu__btn img { width: 30px; height: 30px; border-radius: 8px; image-rendering: pixelated; }
.umenu__name { font-weight: 700; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu__chev { width: 16px; height: 16px; transition: transform .35s var(--e-spring); }
.umenu.is-open .umenu__chev { transform: rotate(180deg); }
.umenu__pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 8px; border-radius: var(--r); background: rgba(21, 19, 46, .96);
  box-shadow: var(--sh), 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right; transition: opacity .22s, transform .3s var(--e-out), visibility .3s; }
.umenu.is-open .umenu__pop { opacity: 1; visibility: visible; transform: none; }
.umenu__pop a, .umenu__pop button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--muted);
  transition: background .2s, color .2s, transform .25s var(--e-out); text-align: left; }
.umenu__pop a:hover, .umenu__pop button:hover, .umenu__pop a:focus-visible, .umenu__pop button:focus-visible { background: rgba(167, 139, 250, .14); color: #fff; transform: translateX(3px); }
.umenu__pop .ico { width: 18px; height: 18px; color: var(--primary-2); }
.umenu__pop form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--e-spring), opacity .25s, top .3s; }
.burger i:nth-child(1) { top: 15px; } .burger i:nth-child(2) { top: 21px; } .burger i:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================== икони ============================== */
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================== бутони ============================== */
.btn { --bh: 46px; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--bh);
  padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: .98rem; letter-spacing: .01em; white-space: nowrap; cursor: pointer; user-select: none;
  transition: transform .25s var(--e-spring), box-shadow .3s, background .3s, color .2s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.btn .ico { width: 19px; height: 19px; transition: transform .4s var(--e-spring); }
.btn:hover .ico { transform: translateX(2px) rotate(-6deg); }
.btn:active { transform: scale(.96); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--e-out); }
.btn:hover::before { transform: translateX(120%); }
.btn--primary { color: #fff; background: var(--grad); background-size: 160% 160%; box-shadow: 0 8px 24px -8px rgba(192, 38, 211, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
  animation: gradshift 8s ease infinite; }
.btn--primary:hover { box-shadow: 0 12px 32px -8px rgba(192, 38, 211, .95), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-2px); }
@keyframes gradshift { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(167, 139, 250, .12); box-shadow: inset 0 0 0 1px var(--line-3), 0 8px 22px -12px rgba(124, 58, 237, .8); transform: translateY(-2px); }
.btn--danger { color: #fff; background: linear-gradient(135deg, #e11d48, #be123c); box-shadow: 0 8px 22px -10px rgba(244, 63, 94, .9); }
.btn--ghost.btn--danger { color: var(--accent-2); background: rgba(244, 63, 94, .08); box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .35); }
.btn--danger:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(244, 63, 94, 1); }
.btn--vote { color: #062012; background: linear-gradient(135deg, #4ade80, #22c55e 55%, #16a34a); box-shadow: 0 8px 24px -8px rgba(34, 197, 94, .8), inset 0 1px 0 rgba(255, 255, 255, .45);
  font-family: var(--f-head); font-weight: 400; letter-spacing: .03em; }
.btn--vote:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(34, 197, 94, 1), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--vote:hover .ico { transform: translateY(-2px) scale(1.12) rotate(-8deg); }
.btn--pulse { animation: votepulse 2.4s ease-out infinite; }
@keyframes votepulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55), 0 8px 24px -8px rgba(34, 197, 94, .8) } 70%, 100% { box-shadow: 0 0 0 16px rgba(74, 222, 128, 0), 0 8px 24px -8px rgba(34, 197, 94, .8) } }
.btn--sm { --bh: 38px; padding: 0 14px; border-radius: 11px; font-size: .9rem; }
.btn--sm .ico { width: 17px; height: 17px; }
.btn--xs { --bh: 32px; width: 32px; padding: 0; border-radius: 9px; }
.btn--xs .ico { width: 16px; height: 16px; }
.btn--lg { --bh: 56px; padding: 0 28px; border-radius: 16px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-dis { opacity: .45; cursor: not-allowed; transform: none !important; filter: saturate(.6); }
.btn__spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy .btn__spin { display: block; }
.btn.is-busy > .ico { display: none; }
.btn--vote .btn__spin { border-color: rgba(6, 32, 18, .3); border-top-color: #062012; }
@keyframes spin { to { transform: rotate(360deg) } }
.ripple { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .65s var(--e-out) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0 } }

.link { color: var(--primary-3); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--e-out), color .2s; }
.link:hover { color: #fff; background-size: 100% 1.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; transition: color .25s; }
.link-arrow .ico { width: 18px; height: 18px; color: var(--primary-2); }
.link-arrow__a { transition: transform .35s var(--e-spring); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover .link-arrow__a { transform: translateX(5px); }
.link-reset { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-2); padding: 6px 12px; border-radius: 99px; background: rgba(244, 63, 94, .08);
  transition: background .25s, transform .3s var(--e-spring); }
.link-reset:hover { background: rgba(244, 63, 94, .16); transform: scale(1.04); }
.link-reset .ico { width: 15px; height: 15px; }

/* ============================== карти / общи ============================== */
.card { position: relative; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); background: var(--surface); box-shadow: var(--sh), inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.card--glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), rgba(124, 58, 237, .9), rgba(192, 38, 211, .2), rgba(244, 63, 94, .9), rgba(34, 211, 238, .25), rgba(124, 58, 237, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: angspin 6s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes angspin { to { --ang: 360deg } }
.card--danger { box-shadow: var(--sh), inset 0 0 0 1px rgba(244, 63, 94, .3); background: linear-gradient(180deg, rgba(244, 63, 94, .06), var(--surface)); }
.h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 22px; }
.h2 .ico { width: 28px; height: 28px; color: var(--gold); filter: drop-shadow(0 0 10px rgba(251, 191, 36, .6)); animation: wiggle 4s ease-in-out infinite; }
.h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0 0 16px; }
.h3 .ico { width: 22px; height: 22px; color: var(--primary-2); }
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(0) } 92% { transform: rotate(-12deg) scale(1.1) } 96% { transform: rotate(10deg) } }
.grad-text { background: var(--grad); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradshift 6s ease infinite; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: .84rem; font-weight: 600; color: var(--muted);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.pill .ico { width: 15px; height: 15px; }
.pill b { color: var(--text); }
.pill--ok { color: var(--ok-2); background: rgba(34, 197, 94, .1); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .35); }
.pill--warn { color: #fcd34d; background: rgba(245, 158, 11, .1); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); }
.pill--bad { color: var(--accent-2); background: rgba(244, 63, 94, .1); box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .35); }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r); margin: 0 0 18px; line-height: 1.5;
  background: rgba(167, 139, 250, .08); box-shadow: inset 0 0 0 1px var(--line-2); animation: popin .45s var(--e-spring) both; }
.notice > .ico { width: 22px; height: 22px; margin-top: 1px; }
.notice--bad { background: rgba(244, 63, 94, .09); box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .4); color: #fecdd3; }
.notice--bad > .ico { color: var(--accent); }
.notice--warn { background: rgba(245, 158, 11, .08); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); color: #fde68a; }
.errlist { list-style: none; margin-top: 6px; display: grid; gap: 4px; }
.errlist a { color: #fff; text-decoration: underline; text-decoration-color: rgba(244, 63, 94, .6); text-underline-offset: 3px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 26px 0 18px; font-size: .9rem; color: var(--dim); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs .ico { width: 15px; height: 15px; }
.crumbs > .ico { opacity: .5; }
.crumbs span { color: var(--text); font-weight: 600; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* подсказки */
[data-tip] { position: relative; }
[data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 30; padding: 7px 11px; border-radius: 9px; font: 600 .78rem/1.3 var(--f-body);
  color: #fff; background: #1d1a3d; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line-2); white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 6px) scale(.96); transition: opacity .2s, transform .3s var(--e-spring); }
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* ============================== поява при скрол ============================== */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s var(--e-out), transform .9s var(--e-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes popin { from { opacity: 0; transform: scale(.94) translateY(6px) } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px) } }

/* ============================== hero ============================== */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 10px; }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 99px; font-size: .88rem; color: var(--muted);
  background: rgba(167, 139, 250, .08); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 22px; }
.eyebrow b { color: #fff; font-family: var(--f-mono); font-weight: 600; font-size: .85rem; }
.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: dotpulse 1.8s ease-out infinite; }
@keyframes dotpulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .65) } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0) } }
.hero__title { font-size: clamp(2.3rem, 6.2vw, 4.4rem); line-height: 1.04; margin-bottom: 20px; }
.hero__title > span { display: block; }
.split .ch, .grad-text .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotateX(-60deg); transform-origin: 50% 100%;
  animation: charin .8s var(--e-out) forwards; animation-delay: calc(var(--c) * 22ms + 150ms); }
.grad-text .ch { background: var(--grad); background-size: 900% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes charin { to { opacity: 1; transform: none } }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero__cta { margin-top: 18px; }

.hsearch { position: relative; display: flex; align-items: center; gap: 8px; max-width: 600px; padding: 7px 7px 7px 50px; border-radius: 20px; background: rgba(13, 12, 34, .78);
  box-shadow: var(--sh), inset 0 0 0 1px var(--line-2); transition: box-shadow .35s, transform .35s var(--e-out); }
.hsearch:focus-within { box-shadow: 0 0 0 4px rgba(124, 58, 237, .25), 0 18px 50px -16px rgba(124, 58, 237, .8), inset 0 0 0 1px var(--primary-2); transform: translateY(-2px); }
.hsearch__ico { position: absolute; left: 18px; width: 22px; height: 22px; color: var(--primary-2); transition: transform .4s var(--e-spring); }
.hsearch:focus-within .hsearch__ico { transform: scale(1.15) rotate(-10deg); }
.hsearch__in { flex: 1; min-width: 0; height: 48px; background: none; border: 0; outline: 0; font-size: 1.05rem; }
.hsearch__in::placeholder { color: var(--dim); transition: color .3s, transform .3s; }
.hsearch__in:focus::placeholder { color: #5f5c88; }
.hsearch__in::-webkit-search-cancel-button { -webkit-appearance: none; width: 18px; height: 18px; cursor: pointer; border-radius: 50%;
  background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"), rgba(167, 139, 250, .15); }
.hsearch--sm { max-width: none; margin: 0 0 18px; }
.hsearch--sm .hsearch__in { height: 40px; font-size: .98rem; }


/* статистика */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.stat { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px;
  border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--e-spring), box-shadow .3s; }
.stat:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px -18px rgba(124, 58, 237, .8); }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 250, .25), transparent 70%); }
.stat__ico { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--primary-3); background: rgba(124, 58, 237, .16);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .3); }
.stat__ico .ico { width: 24px; height: 24px; }
.stat__ico--pink { color: #f9a8d4; background: rgba(192, 38, 211, .16); box-shadow: inset 0 0 0 1px rgba(232, 121, 249, .3); }
.stat__ico--green { color: var(--ok-2); background: rgba(34, 197, 94, .14); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .3); }
.stat__ico--cyan { color: #67e8f9; background: rgba(34, 211, 238, .12); box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .3); }
.stat b { font: 1.6rem/1.1 var(--f-head); font-variant-numeric: tabular-nums; }
.stat span:last-child { font-size: .86rem; color: var(--muted); }

/* ============================== подиум ============================== */
.podium-wrap { margin-top: 60px; }
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 16px; }
.pod { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 16px 0; border-radius: var(--r-lg);
  text-align: center; background: var(--surface); box-shadow: var(--sh), inset 0 0 0 1px var(--line); transition: transform .45s var(--e-spring), box-shadow .35s; }
.pod:hover { transform: translateY(-8px); }
.pod__glow { position: absolute; inset: -40% -20% auto; height: 80%; z-index: -1; background: radial-gradient(circle at 50% 100%, var(--pc, rgba(167, 139, 250, .4)), transparent 65%); opacity: .7;
  animation: glowpulse 3.5s ease-in-out infinite; }
@keyframes glowpulse { 50% { opacity: 1; transform: scale(1.08) } }
.pod--1 { --pc: rgba(251, 191, 36, .45); box-shadow: var(--sh), inset 0 0 0 1px rgba(251, 191, 36, .45), 0 0 50px -12px rgba(251, 191, 36, .45); }
.pod--2 { --pc: rgba(203, 213, 225, .35); }
.pod--3 { --pc: rgba(245, 158, 11, .32); }
.pod__place { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font: 1.3rem/1 var(--f-head);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.pod--1 .pod__place { color: #1a1200; background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b); box-shadow: 0 6px 20px -6px rgba(251, 191, 36, .9); }
.pod--2 .pod__place { color: #111827; background: linear-gradient(135deg, #f8fafc, #cbd5e1, #94a3b8); }
.pod--3 .pod__place { color: #1c0d00; background: linear-gradient(135deg, #fdba74, #f59e0b, #b45309); }
.pod__crown { position: absolute; top: -24px; width: 30px; height: 30px; color: var(--gold); fill: rgba(251, 191, 36, .35); filter: drop-shadow(0 0 10px rgba(251, 191, 36, .9));
  animation: crown 2.6s ease-in-out infinite; }
@keyframes crown { 50% { transform: translateY(-4px) rotate(-8deg) } }
.pod__icon { margin-top: 6px; }
.pod__name { font: 1.12rem/1.2 var(--f-head); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod__votes { color: var(--muted); font-size: .92rem; }
.pod__votes b { color: #fff; font-family: var(--f-head); font-weight: 400; font-size: 1.1rem; }
.pod__step { display: block; width: calc(100% + 32px); margin-top: 14px; height: 54px; background: linear-gradient(180deg, rgba(167, 139, 250, .16), rgba(167, 139, 250, .02));
  border-top: 1px solid var(--line-2); }
.pod--1 .pod__step { height: 84px; background: linear-gradient(180deg, rgba(251, 191, 36, .2), rgba(251, 191, 36, .02)); border-top-color: rgba(251, 191, 36, .45); }
.pod--3 .pod__step { height: 38px; }

/* ============================== филтри ============================== */
.list-wrap { margin-top: 60px; }
.filters { position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 18px; padding: 14px; border-radius: var(--r-lg); background: rgba(13, 12, 34, .6);
  box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.filters__sel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filters__sel .field { margin: 0; min-width: 190px; }

.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg__opt { position: relative; z-index: 1; flex: none; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 11px; font-weight: 600; font-size: .92rem; color: var(--muted);
  cursor: pointer; transition: color .25s; white-space: nowrap; }
.seg__opt span .ico { width: 16px; height: 16px; transition: transform .4s var(--e-spring); }
.seg__opt:hover span { color: var(--text); }
.seg__opt input:checked + span { color: #fff; }
.seg__opt input:checked + span .ico { transform: scale(1.15) rotate(-8deg); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--primary-2); outline-offset: -2px; }
.seg__ink { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 11px; background: var(--grad);
  box-shadow: 0 6px 18px -6px rgba(192, 38, 211, .8); transition: transform .5s var(--e-spring), width .5s var(--e-spring); }
.seg--sm .seg__opt span { height: 32px; padding: 0 12px; font-size: .85rem; }
.seg--wide { display: flex; }
.seg--wide .seg__opt { flex: 1; }
.seg--wide .seg__opt span { width: 100%; justify-content: center; }

.chips { position: relative; min-width: 0; }
.chips__track { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #5b3fb0 transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.chips__track::-webkit-scrollbar { height: 5px; }
.chips__track::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); border-radius: 9px; }
.chips__track::-webkit-scrollbar-thumb { border: 0; background: linear-gradient(90deg, #7c3aed, #c026d3); }
.chips--wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { flex: none; scroll-snap-align: start; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; font-size: .9rem; font-weight: 600; color: var(--muted);
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; user-select: none;
  transition: color .25s, background .3s, box-shadow .3s, transform .35s var(--e-spring); }
.chip span .ico { width: 15px; height: 15px; }
.chip:hover span { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); transform: translateY(-2px); }
.chip input:checked + span { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--primary-2), 0 6px 18px -8px rgba(124, 58, 237, .9); animation: chippop .4s var(--e-spring); }
.chip input:focus-visible + span { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: not-allowed; transform: none; }
@keyframes chippop { 40% { transform: scale(1.1) } }
.chip__ck { width: 0 !important; margin-right: -6px; opacity: 0; transition: width .3s var(--e-spring), opacity .2s, margin .3s !important; }
.chip input:checked + span .chip__ck { width: 15px !important; margin-right: 0; opacity: 1; stroke-dasharray: 24; animation: draw .45s var(--e-out) both; }
@keyframes draw { from { stroke-dashoffset: 24 } to { stroke-dashoffset: 0 } }

/* ============================== списък ============================== */
.list { position: relative; min-height: 200px; transition: opacity .3s; }
.list.is-loading { opacity: .45; pointer-events: none; }
.list.is-loading::after { content: ""; position: absolute; left: 50%; top: 80px; width: 42px; height: 42px; margin-left: -21px; border-radius: 50%;
  border: 3px solid rgba(167, 139, 250, .25); border-top-color: var(--primary-2); animation: spin .8s linear infinite; }
.list__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 4px 14px; color: var(--muted); }
.list__head b { color: #fff; font-family: var(--f-head); font-weight: 400; }
.list__rows { display: grid; gap: 14px; }

.srv { --mx: 50%; --my: 50%; position: relative; isolation: isolate; display: grid; grid-template-columns: 58px 72px minmax(0, 1fr) 250px; gap: 18px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh), inset 0 0 0 1px var(--line); overflow: hidden;
  transition: box-shadow .35s, transform .5s var(--e-out), opacity .8s var(--e-out); transform-style: preserve-3d; }
.srv:hover { box-shadow: 0 22px 50px -24px rgba(124, 58, 237, .9), inset 0 0 0 1px var(--line-3); }
.srv__shine { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(167, 139, 250, .16), transparent 60%); }
.srv:hover .srv__shine { opacity: 1; }
.srv--r1 { box-shadow: var(--sh), inset 0 0 0 1px rgba(251, 191, 36, .4); }
.srv--r1::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #fde68a, #f59e0b); }
.srv--r2::before, .srv--r3::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #e2e8f0, #94a3b8); }
.srv--r3::before { background: linear-gradient(180deg, #fdba74, #b45309); }
.srv__rank { display: grid; place-items: center; }
.rank { position: relative; display: inline-grid; place-items: center; min-width: 50px; height: 50px; padding: 0 8px; border-radius: 15px; font: 1.12rem/1 var(--f-head);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--primary-3); }
.rank b { font-weight: 400; }
.rank--1 { color: #1a1200; background: linear-gradient(135deg, #fef3c7, #fbbf24 55%, #d97706); box-shadow: 0 8px 22px -8px rgba(251, 191, 36, .9); animation: goldglow 3s ease-in-out infinite; }
.rank--2 { color: #0f172a; background: linear-gradient(135deg, #f8fafc, #cbd5e1 55%, #64748b); }
.rank--3 { color: #1c0d00; background: linear-gradient(135deg, #ffedd5, #fb923c 55%, #9a3412); }
@keyframes goldglow { 50% { box-shadow: 0 8px 30px -4px rgba(251, 191, 36, 1) } }
.rank__crown { position: absolute; top: -15px; width: 22px; height: 22px; color: var(--gold); fill: rgba(251, 191, 36, .4); filter: drop-shadow(0 0 6px rgba(251, 191, 36, .9)); animation: crown 2.6s ease-in-out infinite; }
.shero__badges .rank, .vote__srv .rank, .mys__nums .rank { min-width: 44px; height: 34px; border-radius: 11px; font-size: .95rem; }
.shero__badges .rank__crown, .vote__srv .rank__crown, .mys__nums .rank__crown { display: none; }

.sicon { --s: 64px; position: relative; display: block; width: var(--s); height: var(--s); flex: none; border-radius: 16px; overflow: hidden;
  background: #0f0e26; box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 18px -8px rgba(0, 0, 0, .8); }
.sicon img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .5s var(--e-spring); }
.srv:hover .sicon img, .pod:hover .sicon img { transform: scale(1.1) rotate(-4deg); }
.srv__icon { display: block; }
.srv__main { min-width: 0; display: grid; gap: 8px; }
.srv__name { display: flex; align-items: center; gap: 8px; font-size: 1.22rem; min-width: 0; }
.srv__name a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--e-out), color .2s; padding-bottom: 2px; }
.srv__name a:hover { color: #fff; background-size: 100% 2px; }
.verified { display: inline-grid; place-items: center; flex: none; color: var(--cyan); }
.verified .ico { width: 20px; height: 20px; fill: rgba(34, 211, 238, .18); filter: drop-shadow(0 0 6px rgba(34, 211, 238, .55)); }
.srv__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .88rem; color: var(--muted); }
.meta { display: inline-flex; align-items: center; gap: 6px; }
.meta .ico { width: 15px; height: 15px; color: var(--dim); }
.meta b { color: var(--text); font-weight: 700; }
.meta--up { color: var(--ok-2); }
.meta--up .ico { color: var(--ok-2); }
.cc { display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 4px; border-radius: 5px; font: 700 .66rem/1 var(--f-mono); letter-spacing: .04em;
  color: #e9d5ff; background: rgba(124, 58, 237, .28); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35); margin-right: 2px; }
.srv__banner { display: block; width: 100%; max-width: 468px; aspect-ratio: 468 / 60; border-radius: 10px; overflow: hidden; background: #0d0c22; box-shadow: inset 0 0 0 1px var(--line); }
.srv__banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--e-out); }
.srv:hover .srv__banner img { transform: scale(1.03); }
.srv__short { color: var(--muted); font-size: .94rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--primary-3);
  background: rgba(124, 58, 237, .14); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .22); transition: background .25s, color .2s, transform .3s var(--e-spring); }
a.tag:hover { color: #fff; background: rgba(124, 58, 237, .32); transform: translateY(-2px); }
.tag--more { color: var(--dim); background: rgba(255, 255, 255, .04); }
.srv__side { display: grid; gap: 10px; justify-items: stretch; }
.srv__bar { padding: 0 2px; }
.srv__votes { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.srv__votes b { font: 1.5rem/1 var(--f-head); font-weight: 400; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.srv__votes span { font-size: .82rem; color: var(--muted); }

/* статус */
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .86rem; }
.status__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; }
.status.is-on { color: var(--ok-2); }
.status.is-on .status__dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status.is-on .status__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 1.8s var(--e-out) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9 } 100% { transform: scale(1.6); opacity: 0 } }
.status.is-off { color: var(--accent-2); }
.status.is-off .status__dot { background: var(--accent); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35 } }
.status--big { height: 34px; padding: 0 14px; border-radius: 99px; font-size: .92rem; background: rgba(34, 197, 94, .1); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .35); }
.status--big.is-off { background: rgba(244, 63, 94, .1); box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .35); }

/* бутон с адреса */
.ipbtn { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 44px; padding: 0 8px 0 14px; border-radius: 12px; overflow: hidden;
  font: 600 .9rem/1 var(--f-mono); color: var(--text); background: rgba(8, 7, 24, .7); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s, transform .3s var(--e-spring); }
.ipbtn:hover { box-shadow: inset 0 0 0 1px var(--primary-2), 0 8px 24px -12px rgba(124, 58, 237, .9); transform: translateY(-1px); }
.ipbtn:active { transform: scale(.98); }
.ipbtn__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: transform .35s var(--e-out), opacity .25s; }
.ipbtn__ico { position: relative; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(167, 139, 250, .14); color: var(--primary-3); }
.ipbtn__ico .ico { position: absolute; width: 16px; height: 16px; transition: transform .4s var(--e-spring), opacity .25s; }
.ipbtn__ico .c2 { opacity: 0; transform: scale(.3) rotate(-45deg); color: var(--ok-2); }
.ipbtn__done { position: absolute; inset: 0 46px 0 14px; display: flex; align-items: center; font-family: var(--f-body); font-weight: 700; color: var(--ok-2); opacity: 0; transform: translateY(100%);
  transition: transform .4s var(--e-spring), opacity .25s; }
.ipbtn.is-copied { box-shadow: inset 0 0 0 1px var(--ok), 0 0 0 4px rgba(34, 197, 94, .15); }
.ipbtn.is-copied .ipbtn__txt { transform: translateY(-120%); opacity: 0; }
.ipbtn.is-copied .ipbtn__done { transform: none; opacity: 1; }
.ipbtn.is-copied .ipbtn__ico { background: rgba(34, 197, 94, .15); }
.ipbtn.is-copied .c1 { opacity: 0; transform: scale(.3) rotate(45deg); }
.ipbtn.is-copied .c2 { opacity: 1; transform: none; }
.ipbtn--big { height: 56px; font-size: 1.05rem; padding-left: 18px; border-radius: 16px; }
.ipbtn--big .ipbtn__ico { width: 40px; height: 40px; border-radius: 12px; }
.burst-p { position: fixed; z-index: 90; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; animation: burst .8s var(--e-out) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0 } }

/* лента за играчите */
.bar { display: block; height: 7px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03); }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #4ade80, #a3e635); box-shadow: 0 0 10px rgba(74, 222, 128, .6);
  transition: width 1.4s var(--e-out); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); transform: translateX(-100%); animation: barshine 2.6s ease-in-out infinite 1.4s; }
@keyframes barshine { to { transform: translateX(100%) } }
.bar--thin { height: 5px; }

/* MOTD като в играта */
.mcbox { display: flex; align-items: center; width: 100%; height: 100%; padding: 6px 12px; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .7)), #2b2118;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .72)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' shape-rendering='crispEdges'%3E%3Crect width='32' height='32' fill='%23593d29'/%3E%3Crect x='4' y='6' width='4' height='4' fill='%234a3222'/%3E%3Crect x='20' y='2' width='4' height='4' fill='%236b4a33'/%3E%3Crect x='12' y='18' width='4' height='4' fill='%234a3222'/%3E%3Crect x='26' y='22' width='4' height='4' fill='%236b4a33'/%3E%3Crect x='2' y='26' width='4' height='4' fill='%236b4a33'/%3E%3C/svg%3E");
  background-size: auto, 32px 32px; }
.mcbox--lg { margin-top: 26px; min-height: 64px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); padding: 12px 18px; }
.motd { font: 500 .86rem/1.45 var(--f-mono); color: #aaa; text-shadow: 2px 2px 0 rgba(0, 0, 0, .75); white-space: pre-wrap; word-break: break-word; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mcbox--lg .motd { font-size: 1rem; -webkit-line-clamp: 3; }
.motd .mb { font-weight: 800; } .motd .mi { font-style: italic; } .motd .mu { text-decoration: underline; } .motd .ms { text-decoration: line-through; }
.motd .mu.ms { text-decoration: underline line-through; }
.motd__none { color: #6f6c99; font-style: italic; }

/* страници */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 13px; font-weight: 700; color: var(--muted);
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--e-spring), color .2s, background .25s, box-shadow .25s; }
.pager__btn .ico { width: 18px; height: 18px; }
.pager__btn:hover { color: #fff; transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-3); }
.pager__btn.is-on { color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(192, 38, 211, .9); }
.pager__btn.is-dis { opacity: .35; pointer-events: none; }
.pager__gap { color: var(--dim); padding: 0 4px; }

/* празно състояние */
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 50px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.empty h3 { font-size: 1.3rem; }
.empty p { color: var(--muted); max-width: 420px; margin-bottom: 8px; }
.empty__art { position: relative; height: 120px; width: 120px; display: grid; place-items: center; }
.empty__shadow { position: absolute; bottom: 0; width: 70px; height: 12px; border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(4px); animation: shadow 3s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scaleX(.7); opacity: .5 } }
.vox { position: relative; width: 64px; height: 64px; }
.vox i { position: absolute; inset: 0; }
.vox i:nth-child(1) { background: #a78bfa; clip-path: polygon(50% 0, 100% 25%, 50% 50%, 0 25%); }
.vox i:nth-child(2) { background: #7c3aed; clip-path: polygon(0 25%, 50% 50%, 50% 100%, 0 75%); }
.vox i:nth-child(3) { background: #c026d3; clip-path: polygon(100% 25%, 50% 50%, 50% 100%, 100% 75%); }
.vox--float { animation: voxfloat 3s ease-in-out infinite; filter: drop-shadow(0 10px 20px rgba(124, 58, 237, .6)); }
@keyframes voxfloat { 50% { transform: translateY(-14px) rotate(4deg) } }

/* как работи */
.how { margin-top: 80px; }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.how__step { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .45s var(--e-spring), box-shadow .3s; }
.how__step:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 40px -20px rgba(124, 58, 237, .8); }
.how__n { position: absolute; right: 16px; top: 8px; font: 3.6rem/1 var(--f-head); color: rgba(167, 139, 250, .1); transition: color .3s, transform .5s var(--e-spring); }
.how__step:hover .how__n { color: rgba(167, 139, 250, .22); transform: scale(1.1) rotate(-6deg); }
.how__ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 16px; color: #fff; background: var(--grad);
  box-shadow: 0 10px 26px -10px rgba(192, 38, 211, .9); transition: transform .5s var(--e-spring); }
.how__step:hover .how__ico { transform: rotate(-10deg) scale(1.08); }
.how__ico .ico { width: 26px; height: 26px; }
.how__step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.how__step p { color: var(--muted); }
.owner-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 30px; border-radius: var(--r-xl);
  background: var(--grad-soft), var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; overflow: hidden; }
.owner-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 40px; background: var(--grad); opacity: .18; transform: rotate(25deg);
  animation: ctaspin 20s linear infinite; }
@keyframes ctaspin { to { transform: rotate(385deg) } }
.owner-cta h3 { font-size: 1.5rem; margin-bottom: 6px; }
.owner-cta p { color: var(--muted); max-width: 560px; }
.owner-cta .btn { position: relative; z-index: 1; }

/* ============================== полета ============================== */
.form { display: grid; gap: 18px; }
.form__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.field { position: relative; display: grid; gap: 7px; min-width: 0; }
.field__label { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: .92rem; color: var(--text); }
.req { color: var(--accent-2); font-style: normal; }
.field__box { position: relative; }
.input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 0; outline: 0; color: var(--text); font-size: 1rem;
  background: rgba(8, 7, 24, .72); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 2px 6px rgba(0, 0, 0, .25);
  transition: box-shadow .3s, background .3s, transform .3s var(--e-out); -webkit-appearance: none; appearance: none; }
.input::placeholder { color: var(--dim); opacity: 1; transition: color .3s, transform .35s var(--e-out), opacity .3s; }
.input:hover { box-shadow: inset 0 0 0 1px var(--line-3), inset 0 2px 6px rgba(0, 0, 0, .25); }
.input:focus { background: rgba(12, 10, 32, .9); box-shadow: inset 0 0 0 1.5px var(--primary-2), 0 0 0 4px rgba(124, 58, 237, .2), 0 10px 30px -14px rgba(124, 58, 237, .9); }
.input:focus::placeholder { color: #5c5986; transform: translateX(6px); }
.field__box.has-ico .input { padding-left: 46px; }
.field__box.has-eye .input { padding-right: 52px; }
.field__ico { position: absolute; left: 15px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; color: var(--dim); pointer-events: none; transition: color .3s, transform .4s var(--e-spring); }
.field__box:focus-within .field__ico { color: var(--primary-2); transform: scale(1.12) rotate(-8deg); }
.field__glow { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform .45s var(--e-out); pointer-events: none; }
.field__box:focus-within .field__glow { transform: scaleX(1); }
.input--area { height: auto; min-height: 120px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.input--mono { font-family: var(--f-mono); font-size: .88rem; }
input[type="number"].input { -moz-appearance: textfield; }
input[type="number"].input::-webkit-inner-spin-button, input[type="number"].input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 100px #120f2e inset, inset 0 0 0 1px var(--line-2); caret-color: var(--text); }
.field__eye { position: absolute; right: 8px; top: 50%; width: 38px; height: 38px; margin-top: -19px; display: grid; place-items: center; border-radius: 10px; color: var(--dim);
  transition: color .2s, background .2s; }
.field__eye:hover { color: #fff; background: rgba(167, 139, 250, .12); }
.field__eye .ico { position: absolute; width: 19px; height: 19px; transition: transform .35s var(--e-spring), opacity .2s; }
.field__eye .off { opacity: 0; transform: scale(.4) rotate(-30deg); }
.field__eye.is-on .on { opacity: 0; transform: scale(.4) rotate(30deg); }
.field__eye.is-on .off { opacity: 1; transform: none; }
.field__count { position: absolute; right: 4px; top: 2px; font: 600 .76rem/1 var(--f-mono); color: var(--dim); transition: color .3s; }
.field__count b { font-weight: 700; color: var(--muted); display: inline-block; transition: transform .3s var(--e-spring), color .3s; }
.field__count.is-warn b { color: var(--warn); }
.field__count.is-max b { color: var(--accent); transform: scale(1.2); }
.field__hint { font-size: .84rem; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.field__hint .ico { width: 15px; height: 15px; }
.ferr { display: flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: #fda4af; animation: errin .4s var(--e-spring) both; }
.ferr .ico { width: 16px; height: 16px; color: var(--accent); }
@keyframes errin { from { opacity: 0; transform: translateY(-6px) } }
.field.is-bad .input, .is-bad .input { box-shadow: inset 0 0 0 1.5px rgba(244, 63, 94, .75), 0 0 0 4px rgba(244, 63, 94, .12); animation: shake .45s var(--e-out); }
.field.is-bad .field__ico { color: var(--accent); }
.field.is-ok .input { box-shadow: inset 0 0 0 1.5px rgba(34, 197, 94, .6); }
@keyframes shake { 20% { transform: translateX(-6px) } 40% { transform: translateX(6px) } 60% { transform: translateX(-3px) } 80% { transform: translateX(3px) } }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* отметка */
.checkrow { display: grid; gap: 6px; }
.check { display: inline-flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { position: relative; flex: none; width: 24px; height: 24px; margin-top: -1px; border-radius: 8px; background: rgba(8, 7, 24, .75); box-shadow: inset 0 0 0 1.5px var(--line-3);
  transition: background .3s, box-shadow .3s, transform .35s var(--e-spring); }
.check__box svg { position: absolute; inset: 3px; width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s var(--e-out) .05s; }
.check:hover .check__box { box-shadow: inset 0 0 0 1.5px var(--primary-2), 0 0 0 4px rgba(124, 58, 237, .14); }
.check input:checked + .check__box { background: var(--grad); box-shadow: 0 6px 16px -6px rgba(192, 38, 211, .9); animation: checkpop .45s var(--e-spring); }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--primary-2); outline-offset: 3px; }
.check:active .check__box { transform: scale(.88); }
.checkrow.is-bad .check__box { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(244, 63, 94, .15); animation: shake .45s; }
@keyframes checkpop { 0% { transform: scale(.7) } 60% { transform: scale(1.15) } 100% { transform: none } }
.check__txt { font-size: .94rem; color: var(--muted); }
.check input:checked ~ .check__txt { color: var(--text); }

/* превключвател */
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; flex: none; width: 52px; height: 30px; border-radius: 99px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background .35s, box-shadow .35s; }
.switch__knob { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #cfcce9; box-shadow: 0 3px 8px rgba(0, 0, 0, .45);
  transition: transform .45s var(--e-spring), background .3s, width .25s; }
.switch:active .switch__knob { width: 28px; }
.switch input:checked + .switch__track { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 0 0 4px rgba(34, 197, 94, .14), 0 6px 18px -6px rgba(34, 197, 94, .9); }
.switch input:checked + .switch__track .switch__knob { transform: translateX(22px); background: #fff; }
.switch:active input:checked + .switch__track .switch__knob { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--primary-2); outline-offset: 3px; }
.switch__txt { display: grid; gap: 2px; }
.switch__txt b { font-weight: 700; font-size: .94rem; }
.switch__txt small { color: var(--dim); font-size: .84rem; line-height: 1.4; }
.filters .switch__txt b { font-size: .9rem; color: var(--muted); }

/* собствено падащо меню */
.uisel { position: relative; min-width: 0; }
.uisel select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.uisel__btn { position: relative; width: 100%; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 44px 0 16px; border-radius: 14px; text-align: left;
  background: rgba(8, 7, 24, .72); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s, background .3s; }
.uisel__btn:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.uisel.is-open .uisel__btn, .uisel__btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 1.5px var(--primary-2), 0 0 0 4px rgba(124, 58, 237, .2); }
.uisel__ico { width: 18px; height: 18px; color: var(--dim); transition: color .3s; }
.uisel.is-open .uisel__ico { color: var(--primary-2); }
.uisel__val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uisel__val.is-ph { color: var(--dim); }
.uisel__chev { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); transition: transform .4s var(--e-spring); }
.uisel.is-open .uisel__chev { transform: rotate(180deg); color: var(--primary-2); }
.uisel__pop { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 6px; border-radius: 16px; background: rgba(21, 19, 46, .98);
  box-shadow: var(--sh), 0 0 0 1px var(--line-2), 0 24px 60px -20px rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top center; transition: opacity .2s, transform .35s var(--e-out), visibility .35s; }
.uisel.is-up .uisel__pop { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; }
.uisel.is-open .uisel__pop { opacity: 1; visibility: visible; transform: none; }
.uisel__search { position: relative; margin: 2px 2px 6px; }
.uisel__search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border-radius: 11px; border: 0; outline: 0; background: rgba(8, 7, 24, .8); box-shadow: inset 0 0 0 1px var(--line-2); }
.uisel__search input:focus { box-shadow: inset 0 0 0 1.5px var(--primary-2); }
.uisel__search input::placeholder { color: var(--dim); }
.uisel__search .ico { position: absolute; left: 11px; top: 11px; width: 18px; height: 18px; color: var(--dim); }
.uisel__list { list-style: none; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #5b3fb0 transparent; }
.uisel__list::-webkit-scrollbar { width: 6px; }
.uisel__list::-webkit-scrollbar-track { background: transparent; }
.uisel__list::-webkit-scrollbar-thumb { border: 0; }
.uisel__opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--muted); font-weight: 500;
  transition: background .18s, color .18s, transform .25s var(--e-out); }
.uisel.is-open .uisel__opt { animation: optin .35s var(--e-out) both; animation-delay: calc(var(--i, 0) * 18ms); }
@keyframes optin { from { opacity: 0; transform: translateY(-4px) } }
.uisel__opt.is-act { background: rgba(167, 139, 250, .14); color: #fff; transform: translateX(3px); }
.uisel__opt.is-sel { color: #fff; font-weight: 700; }
.uisel__opt .ico { width: 16px; height: 16px; color: var(--ok-2); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--e-spring); }
.uisel__opt.is-sel .ico { opacity: 1; transform: none; }
.uisel__empty { padding: 12px; color: var(--dim); text-align: center; }
.field.is-bad .uisel__btn { box-shadow: inset 0 0 0 1.5px rgba(244, 63, 94, .75), 0 0 0 4px rgba(244, 63, 94, .12); }
.filters .uisel__btn { height: 46px; }

/* качване на файл */
.drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 30px 20px; border-radius: var(--r); text-align: center; cursor: pointer;
  background: rgba(8, 7, 24, .5); transition: background .3s, transform .35s var(--e-spring); overflow: hidden; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop__ants { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, var(--line-3) 50%, transparent 0) repeat-x top / 16px 1.5px, linear-gradient(90deg, var(--line-3) 50%, transparent 0) repeat-x bottom / 16px 1.5px,
              linear-gradient(0deg, var(--line-3) 50%, transparent 0) repeat-y left / 1.5px 16px, linear-gradient(0deg, var(--line-3) 50%, transparent 0) repeat-y right / 1.5px 16px;
  animation: ants 1.2s linear infinite; }
@keyframes ants { to { background-position: 16px 0, -16px 100%, 0 -16px, 100% 16px } }
.drop:hover, .drop.is-over { background: rgba(124, 58, 237, .1); }
.drop.is-over { transform: scale(1.015); }
.drop.is-over .drop__ants { animation-duration: .4s; filter: brightness(1.6); }
.drop:focus-within { outline: 2px solid var(--primary-2); outline-offset: 3px; }
.drop__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--grad); box-shadow: 0 10px 26px -10px rgba(192, 38, 211, .9);
  transition: transform .45s var(--e-spring); }
.drop__ico .ico { width: 26px; height: 26px; }
.drop:hover .drop__ico, .drop.is-over .drop__ico { transform: translateY(-5px) rotate(-6deg); }
.drop.is-over .drop__ico { animation: bounce .7s var(--e-spring) infinite; }
@keyframes bounce { 50% { transform: translateY(-10px) } }
.drop__txt b { color: #fff; }
.drop__txt { color: var(--muted); }
.drop small { color: var(--dim); font-size: .82rem; }
.drop__preview { width: 100%; max-width: 468px; }
.drop__preview img { width: 100%; border-radius: 10px; margin-top: 8px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8), 0 0 0 1px var(--line-2); animation: popin .5s var(--e-spring); }
.drop__preview .drop__name { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 .82rem/1 var(--f-mono); color: var(--ok-2); }

/* ============================== подсказки (toast) ============================== */
.toasts { position: fixed; z-index: 80; right: 18px; top: calc(var(--hdr) + 12px); display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); pointer-events: none; }
.toast { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 14px 14px 16px; border-radius: 16px; pointer-events: auto;
  background: rgba(21, 19, 46, .96); box-shadow: var(--sh), 0 0 0 1px var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: toastin .55s var(--e-spring) both; }
.toast.is-out { animation: toastout .35s var(--e-io) forwards; }
@keyframes toastin { from { opacity: 0; transform: translateX(110%) scale(.9) } }
@keyframes toastout { to { opacity: 0; transform: translateX(110%) scale(.9); margin-top: -70px } }
.toast__ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #062012; background: linear-gradient(135deg, #4ade80, #22c55e); }
.toast__ico .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.toast--bad .toast__ico { color: #fff; background: linear-gradient(135deg, #fb7185, #e11d48); }
.toast--info .toast__ico { color: #fff; background: var(--grad); }
.toast__msg { flex: 1; font-weight: 600; font-size: .94rem; line-height: 1.4; }
.toast__x { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--dim); transition: color .2s, background .2s, transform .3s var(--e-spring); }
.toast__x:hover { color: #fff; background: rgba(255, 255, 255, .08); transform: rotate(90deg); }
.toast__x .ico { width: 16px; height: 16px; }
.toast__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, #4ade80, #22c55e);
  animation: timer var(--t, 5s) linear forwards; }
.toast--bad .toast__timer { background: linear-gradient(90deg, #fb7185, #e11d48); }
.toast--info .toast__timer { background: var(--grad); }
.toast:hover .toast__timer { animation-play-state: paused; }
@keyframes timer { to { transform: scaleX(0) } }

/* нагоре */
.totop { position: fixed; z-index: 45; right: 20px; bottom: 22px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(21, 19, 46, .9); box-shadow: var(--sh), inset 0 0 0 1px var(--line-2); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8);
  transition: opacity .3s, transform .45s var(--e-spring), visibility .45s, background .25s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--primary); transform: translateY(-4px); }
.totop .ico { width: 22px; height: 22px; transition: transform .35s var(--e-spring); }
.totop:hover .ico { transform: translateY(-3px); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: url(#none); stroke: var(--primary-2); stroke-width: 2.5; stroke-dasharray: 100.5; stroke-dashoffset: calc(100.5 - 100.5 * var(--p, 0)); stroke-linecap: round; }

/* ============================== модален прозорец ============================== */
.modal { padding: 0; border: 0; background: transparent; color: var(--text); max-width: min(520px, calc(100vw - 28px)); width: 100%; overflow: visible; }
.modal::backdrop { background: rgba(4, 3, 14, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadein .3s ease both; }
.modal[open] { animation: modalin .5s var(--e-spring) both; }
.modal.is-closing { animation: modalout .25s var(--e-io) forwards; }
.modal.is-closing::backdrop { animation: fadeout .25s forwards; }
@keyframes modalin { from { opacity: 0; transform: translateY(24px) scale(.94) } }
@keyframes modalout { to { opacity: 0; transform: translateY(14px) scale(.96) } }
@keyframes fadein { from { opacity: 0 } }
@keyframes fadeout { to { opacity: 0 } }
.modal__card { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-xl); background: rgba(21, 19, 46, .98); box-shadow: var(--sh), 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.modal__card h3 { font-size: 1.3rem; }
.modal__card p { color: var(--muted); }
.modal__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--grad); animation: wiggle 3s ease-in-out infinite; }
.modal__ico--bad { background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 10px 26px -10px rgba(244, 63, 94, .9); }
.modal__ico .ico { width: 26px; height: 26px; }
.modal__act { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* акордеон */
.acc { border-top: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 4px; font-weight: 700; text-align: left; color: var(--text); transition: color .2s; }
.acc__btn:hover { color: var(--primary-3); }
.acc__btn > .ico:first-child { width: 19px; height: 19px; color: var(--primary-2); }
.acc__btn > span:not(.pill) { flex: 1; }
.acc__chev { width: 18px; height: 18px; margin-left: auto; color: var(--muted); transition: transform .45s var(--e-spring); }
.acc__btn[aria-expanded="true"] .acc__chev { transform: rotate(180deg); }
.acc__btn[aria-expanded="true"] .acc__chev--plus { transform: rotate(135deg); color: var(--accent-2); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--e-out); }
.acc__btn[aria-expanded="true"] + .acc__body { grid-template-rows: 1fr; }
.acc__in { overflow: hidden; min-height: 0; }
.acc__in > * { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--e-out); }
.acc__btn[aria-expanded="true"] + .acc__body .acc__in > * { opacity: 1; transform: none; transition-delay: .12s; }
.acc__in > :last-child { margin-bottom: 16px; }
.acc__in p { color: var(--muted); margin-bottom: 12px; }
.acc--faq { border: 0; padding: 4px 22px; margin-bottom: 12px; }
.acc--faq .acc__btn { padding: 18px 0; font-size: 1.04rem; }
.faq__n { flex: none !important; font: .9rem/1 var(--f-mono); color: var(--primary-2); }

/* код */
.code { position: relative; display: grid; margin: 12px 0; border-radius: 14px; background: #08071a; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.code__lang { position: absolute; left: 14px; top: 9px; font: 700 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--primary-2); }
.code pre { margin: 0; padding: 30px 16px 16px; overflow-x: auto; font: .84rem/1.6 var(--f-mono); color: #d8d4ff; white-space: pre-wrap; word-break: break-all; }
.code__copy { position: absolute; right: 8px; top: 8px; }
.code__copy.is-copied { color: var(--ok-2); box-shadow: inset 0 0 0 1px var(--ok); }
.keyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.keyrow code { padding: 9px 12px; border-radius: 10px; background: #08071a; box-shadow: inset 0 0 0 1px var(--line-2); color: #e9d5ff; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.keyrow form { margin: 0; }
.secret { filter: blur(5px); transition: filter .4s var(--e-out); user-select: none; }
.secret.is-shown { filter: none; user-select: all; }

/* ============================== сървър ============================== */
.shero { position: relative; padding-bottom: 10px; }
.shero__bg { position: absolute; inset: 0 0 -60px; z-index: -1; overflow: hidden; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.shero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.4); opacity: .35; transform: scale(1.2); animation: bgzoom 20s ease-in-out infinite alternate; }
@keyframes bgzoom { to { transform: scale(1.35) translateX(-3%) } }
.shero__top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; }
.shero__icon { position: relative; }
.shero__icon .sicon { border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line-3), 0 20px 50px -18px rgba(124, 58, 237, .9); }
.shero__ring { position: absolute; inset: -8px; border-radius: 32px; padding: 2px; background: conic-gradient(from var(--ang), #7c3aed, #f43f5e, #22d3ee, #7c3aed);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: angspin 4s linear infinite; opacity: .85; }
.shero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.shero__name { font-size: clamp(1.9rem, 4.6vw, 3rem); margin-bottom: 8px; word-break: break-word; }
.shero__short { color: var(--muted); font-size: 1.06rem; margin-bottom: 14px; max-width: 640px; }
.shero__act { display: grid; gap: 12px; min-width: 280px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 26px; }
.kpis--6 { grid-template-columns: repeat(6, 1fr); margin: 0 0 22px; }
.kpi { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 16px; border-radius: var(--r); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--e-spring), box-shadow .3s; }
.kpi:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px -20px rgba(124, 58, 237, .8); }
.kpi > div { display: grid; }
.kpi b { font: 1.42rem/1.15 var(--f-head); font-variant-numeric: tabular-nums; }
.kpi b i { font-style: normal; font-size: .9rem; color: var(--muted); margin-left: 2px; }
.kpi small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.kpi .bar { grid-column: 1 / -1; margin-top: 8px; }
.kpi__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--primary-3); background: rgba(124, 58, 237, .16); }
.kpi__ico .ico { width: 21px; height: 21px; }
.kpi__ico--pink { color: #f9a8d4; background: rgba(192, 38, 211, .16); }
.kpi__ico--green { color: var(--ok-2); background: rgba(34, 197, 94, .14); }
.kpi__ico--cyan { color: #67e8f9; background: rgba(34, 211, 238, .12); }
.kpi__ico--gold { color: #fcd34d; background: rgba(251, 191, 36, .12); }
.sbody { margin-top: 30px; }

.tabs__bar { position: relative; display: flex; gap: 4px; padding: 5px; margin-bottom: 16px; border-radius: 16px; background: rgba(13, 12, 34, .7); box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto; scrollbar-width: none; }
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__bar [role="tab"] { position: relative; z-index: 1; flex: 1; min-width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: 12px; font-weight: 700; color: var(--muted); transition: color .25s; }
.tabs__bar [role="tab"] .ico { width: 18px; height: 18px; transition: transform .45s var(--e-spring); }
.tabs__bar [role="tab"]:hover { color: var(--text); }
.tabs__bar [role="tab"][aria-selected="true"] { color: #fff; }
.tabs__bar [role="tab"][aria-selected="true"] .ico { transform: scale(1.15) rotate(-8deg); }
.tabs__ink { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 12px; background: var(--grad);
  box-shadow: 0 8px 22px -8px rgba(192, 38, 211, .9); transition: transform .55s var(--e-spring), width .55s var(--e-spring); }
.tabs__panel { animation: panelin .55s var(--e-out) both; }
.tabs__panel[hidden] { display: none; }
@keyframes panelin { from { opacity: 0; transform: translateY(12px) } }
.about { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.prose { line-height: 1.75; color: #d7d5f2; overflow-wrap: anywhere; }
.prose p + p { margin-top: 14px; }
.prose a { color: var(--primary-3); text-decoration: underline; text-decoration-color: rgba(196, 181, 253, .4); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.prose a:hover { color: #fff; text-decoration-color: #fff; }
.prose h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 26px 0 10px; color: #fff; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .ico { width: 22px; height: 22px; color: var(--primary-2); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0; }
.prose li::marker { color: var(--primary-2); }
.prose code { padding: 2px 7px; border-radius: 7px; background: rgba(124, 58, 237, .16); color: #e9d5ff; }
.legal h2 { font-size: 1.1rem; }
.info h3 { font-size: 1.05rem; margin: 0 0 12px; }
.info h3:not(:first-child) { margin-top: 22px; }
.info dl { margin: 0; display: grid; }
.info dl > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.info dl > div:last-child { border: 0; }
.info dt { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.info dt .ico { width: 16px; height: 16px; color: var(--dim); }
.info dd { margin: 0; text-align: right; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.info dd a { display: inline-flex; align-items: center; gap: 5px; color: var(--primary-3); }
.info dd a:hover { color: #fff; }
.ext { width: 13px; height: 13px; }
.sample { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sample li { padding: 5px 10px; border-radius: 8px; font: 600 .8rem/1.2 var(--f-mono); background: rgba(34, 197, 94, .1); color: var(--ok-2); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .25);
  animation: popin .45s var(--e-spring) both; animation-delay: calc(var(--i) * 50ms); }

.chart-card { margin-bottom: 16px; }
.chart-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.chart-card__head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.chart-card__head h3 .ico { width: 20px; height: 20px; color: var(--primary-2); }
.chart { position: relative; height: 260px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: rgba(167, 139, 250, .1); stroke-dasharray: 3 5; }
.chart .axis text { fill: var(--dim); font: 500 11px var(--f-mono); }
.chart .area { fill: url(#cg); opacity: 0; animation: fadein 1.2s ease .6s forwards; }
.chart .line { fill: none; stroke: url(#cl); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 4px 10px rgba(124, 58, 237, .6));
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: drawline 1.6s var(--e-out) forwards; }
@keyframes drawline { to { stroke-dashoffset: 0 } }
.chart .off { fill: rgba(244, 63, 94, .12); }
.chart .cross { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 3 3; opacity: 0; transition: opacity .2s; }
.chart .dot { fill: #fff; stroke: var(--primary); stroke-width: 3; opacity: 0; transition: opacity .2s; }
.chart.is-hover .cross, .chart.is-hover .dot { opacity: 1; }
.chart__tip { position: absolute; z-index: 2; top: 0; padding: 8px 11px; border-radius: 10px; pointer-events: none; font-size: .82rem; white-space: nowrap; background: #1d1a3d;
  box-shadow: var(--sh), inset 0 0 0 1px var(--line-2); opacity: 0; transform: translate(-50%, -6px); transition: opacity .2s, left .12s linear, top .12s linear; }
.chart.is-hover .chart__tip { opacity: 1; }
.chart__tip b { display: block; font: 1rem/1.2 var(--f-head); color: #fff; }
.chart__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.skeleton { border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .03) 0%, rgba(167, 139, 250, .1) 40%, rgba(255, 255, 255, .03) 80%); background-size: 200% 100%;
  animation: skel 1.4s ease-in-out infinite; }
.skeleton--chart { position: absolute; inset: 0; }
@keyframes skel { from { background-position: 150% 0 } to { background-position: -50% 0 } }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 24px; }
.bars__b { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bars__b i { display: block; width: 100%; height: 0; min-height: 3px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #c026d3, #7c3aed);
  transition: height 1s var(--e-spring), filter .2s; transition-delay: calc(var(--i) * 25ms); }
.bars__b:hover i { filter: brightness(1.4); }
.bars__b[data-tip]::after { bottom: calc(var(--h, 0%) + 10px); }
.bars.is-in .bars__b i { height: var(--h); }

.voters { list-style: none; display: grid; gap: 8px; }
.voter { display: grid; grid-template-columns: 30px 36px minmax(0, 160px) 1fr 50px; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .025); transition: background .25s, transform .35s var(--e-spring); animation: fadeup .55s var(--e-out) both; animation-delay: calc(var(--i) * 60ms); }
.voter:hover { background: rgba(167, 139, 250, .08); transform: translateX(4px); }
.voter__n { font: 1rem/1 var(--f-head); color: var(--dim); text-align: center; }
.voter:nth-child(1) .voter__n { color: var(--gold); } .voter:nth-child(2) .voter__n { color: var(--silver); } .voter:nth-child(3) .voter__n { color: var(--bronze); }
.voter__av { width: 36px; height: 36px; border-radius: 9px; image-rendering: pixelated; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.voter__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.voter__c { font: 1.1rem/1 var(--f-head); font-weight: 400; text-align: right; color: var(--primary-3); }
.embed__preview { display: grid; place-items: center; padding: 24px; margin: 14px 0; border-radius: 16px; background: repeating-conic-gradient(rgba(255, 255, 255, .03) 0 25%, transparent 0 50%) 0 0 / 20px 20px; }
.embed__preview img { animation: bob 4s ease-in-out infinite; }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 8px; }
.endpoint code { padding: 7px 12px; border-radius: 10px; background: #08071a; box-shadow: inset 0 0 0 1px var(--line-2); color: #e9d5ff; overflow-wrap: anywhere; }
.method { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 7px; font: 800 .74rem/1 var(--f-mono); color: #062012; background: var(--ok-2); }
.method--post { background: var(--gold); color: #1a1200; }
.api + .api, .card + .card { margin-top: 16px; }

.stickyvote { position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 9, 28, .9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--line-2), 0 -20px 40px -20px rgba(0, 0, 0, .9);
  transform: translateY(110%); transition: transform .5s var(--e-spring); }
.stickyvote.is-on { transform: none; }
.stickyvote__in { display: flex; align-items: center; gap: 12px; }
.stickyvote__in b { flex: 1; min-width: 0; font-family: var(--f-head); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stickyvote .sicon { border-radius: 11px; }
.page-server .totop.is-on { bottom: 86px; }

/* ============================== гласуване ============================== */
.vote__grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; align-items: start; }
.vote__srv { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 16px); }
.vote__srvtop { display: flex; align-items: center; gap: 14px; }
.vote__srvtop h2 { font-size: 1.3rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.vote__srvtop .shero__badges { margin: 0; }
.vote__srvtop .sicon { border-radius: 20px; }
.vote__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vote__nums div { display: grid; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.vote__nums b { font: 1.4rem/1.15 var(--f-head); font-weight: 400; }
.vote__nums span { font-size: .8rem; color: var(--muted); }
.rules { list-style: none; display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.rules li { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.rules .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--primary-2); }
.vote__main { padding: clamp(22px, 4vw, 36px); overflow: hidden; }
.vote__title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 22px; }
.vote__title > .ico { width: 34px; height: 34px; padding: 6px; border-radius: 12px; color: #062012; background: linear-gradient(135deg, #4ade80, #16a34a); flex: none; animation: wiggle 3.5s ease-in-out infinite; }
.vote__title > span { min-width: 0; overflow-wrap: anywhere; }
.mcname { display: grid; grid-template-columns: 84px 1fr; align-items: start; gap: 16px; }
.mcname__av { position: relative; display: grid; justify-items: center; padding-top: 28px; }
.mcname__av img { width: 64px; height: 64px; border-radius: 14px; image-rendering: pixelated; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .9), 0 0 0 2px rgba(255, 255, 255, .08);
  animation: headbob 3s ease-in-out infinite; transition: transform .35s var(--e-spring), opacity .2s; }
.mcname__av img.is-swap { transform: rotateY(90deg) scale(.8); opacity: .3; }
@keyframes headbob { 50% { transform: translateY(-6px) rotate(-3deg) } }
.mcname__shadow { width: 46px; height: 8px; margin-top: 10px; border-radius: 50%; background: rgba(0, 0, 0, .6); filter: blur(3px); animation: shadow 3s ease-in-out infinite; }
.cooldown { display: flex; align-items: center; gap: 16px; padding: 16px; margin-bottom: 18px; border-radius: var(--r); background: rgba(245, 158, 11, .08); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35);
  animation: popin .5s var(--e-spring) both; }
.cooldown p { color: var(--muted); }
.ring { position: relative; flex: none; width: 64px; height: 64px; display: grid; place-items: center; color: var(--gold); }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 5; }
.ring .ring__v { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: calc(176 * (1 - var(--p, 0))); transition: stroke-dashoffset 1s linear;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, .7)); }
.ring .ico { width: 24px; height: 24px; animation: tick 1s steps(2) infinite; }
@keyframes tick { 50% { transform: rotate(8deg) } }

.vdone { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; padding: 10px 0; }
.vdone__fx { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); pointer-events: none; z-index: 0; }
.vdone > *:not(canvas) { position: relative; z-index: 1; }
.vdone__badge { width: 120px; height: 120px; animation: badgein .8s var(--e-spring) both; }
@keyframes badgein { from { transform: scale(.2) rotate(-90deg); opacity: 0 } }
.vdone__badge svg { width: 100%; height: 100%; overflow: visible; }
.vdone__badge .c1 { fill: rgba(34, 197, 94, .12); stroke: rgba(34, 197, 94, .25); stroke-width: 4; }
.vdone__badge .c2 { fill: none; stroke: #4ade80; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transform: rotate(-90deg); transform-origin: 50% 50%;
  animation: drawc 1s var(--e-out) .2s forwards; filter: drop-shadow(0 0 10px rgba(74, 222, 128, .9)); }
.vdone__badge .ck { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: drawck .55s var(--e-out) .95s forwards; }
@keyframes drawc { to { stroke-dashoffset: 0 } }
@keyframes drawck { to { stroke-dashoffset: 0 } }
.vdone__title { font-size: clamp(1.8rem, 4vw, 2.5rem); animation: fadeup .7s var(--e-out) .5s both; }
.vdone__lead { color: var(--muted); max-width: 480px; animation: fadeup .7s var(--e-out) .65s both; }
.vdone__lead img { display: inline-block; vertical-align: -5px; border-radius: 5px; image-rendering: pixelated; }
.vdone__lead b { color: #fff; }
.vf { display: grid; animation: fadeup .7s var(--e-out) .8s both; }
.vf__st { display: none; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .94rem; }
.vf__st .ico { width: 20px; height: 20px; flex: none; }
.vf[data-st="queued"] .vf__st--queued, .vf[data-st="retry"] .vf__st--retry, .vf[data-st="sent"] .vf__st--sent, .vf[data-st="failed"] .vf__st--failed, .vf[data-st="off"] .vf__st--off { display: flex; animation: popin .45s var(--e-spring); }
.vf__st--queued, .vf__st--retry { color: #fde68a; background: rgba(245, 158, 11, .1); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); }
.vf__st--queued .ico { animation: sendfly 1.2s var(--e-io) infinite; }
.vf__st--retry .ico { animation: spin 1.2s linear infinite; }
@keyframes sendfly { 50% { transform: translate(4px, -4px) } }
.vf__st--sent { color: var(--ok-2); background: rgba(34, 197, 94, .1); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .35); }
.vf__st--sent .ico { animation: wiggle 2s ease-in-out infinite; }
.vf__st--failed { color: #fecdd3; background: rgba(244, 63, 94, .1); box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .35); text-align: left; }
.vf__st--off { color: var(--muted); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.vdone__next { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line);
  text-align: left; animation: fadeup .7s var(--e-out) .95s both; }
.vdone__next small { display: block; color: var(--muted); font-size: .82rem; }
.vdone__next b { font: 1.2rem/1.2 var(--f-mono); font-weight: 700; }
.vdone__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; animation: fadeup .7s var(--e-out) 1.1s both; }

/* ============================== вход ============================== */
.auth { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 40px; align-items: center; min-height: calc(100vh - var(--hdr) - 120px); padding-top: 30px; }
.auth__art { display: grid; gap: 22px; }
.auth__scene { position: relative; height: 240px; perspective: 900px; }
.auth__art h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 480px; }
.auth__perks { list-style: none; display: grid; gap: 12px; }
.auth__perks li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; animation: fadeup .6s var(--e-out) both; animation-delay: calc(.4s + var(--i) * 90ms); }
.auth__perks .ico { width: 36px; height: 36px; padding: 8px; border-radius: 11px; color: var(--primary-3); background: rgba(124, 58, 237, .16); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .3); }
.auth__card { padding: clamp(24px, 4vw, 38px); }
.auth__title { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 8px; }
.auth__sub { color: var(--muted); margin-bottom: 22px; }
.auth__alt { margin-top: 20px; text-align: center; color: var(--muted); }
.pwgroup { display: grid; gap: 8px; }
.strength { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 6px; }
.strength i { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .07); transition: background .35s, transform .35s var(--e-spring); }
.strength span { min-width: 60px; text-align: right; font-size: .8rem; font-weight: 700; color: var(--dim); transition: color .3s; }
.strength[data-s="1"] i:nth-child(-n+1) { background: #f43f5e; }
.strength[data-s="2"] i:nth-child(-n+2) { background: #f59e0b; }
.strength[data-s="3"] i:nth-child(-n+3) { background: #a3e635; }
.strength[data-s="4"] i:nth-child(-n+4) { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, .7); }
.strength[data-s="1"] span { color: #fb7185; } .strength[data-s="2"] span { color: #fbbf24; } .strength[data-s="3"] span { color: #bef264; } .strength[data-s="4"] span { color: #4ade80; }
.strength i.pop { animation: chippop .35s var(--e-spring); }
.terms-links { margin-top: -10px; padding-left: 36px; }
.sent { display: grid; justify-items: center; text-align: center; gap: 12px; }
.sent__ico { position: relative; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 26px; color: #fff; background: var(--grad); box-shadow: 0 16px 40px -14px rgba(192, 38, 211, .9);
  animation: badgein .8s var(--e-spring) both; }
.sent__ico > .ico { width: 40px; height: 40px; }
.sent__plane { position: absolute; right: -14px; top: -14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #4ade80; color: #062012;
  animation: plane 2.4s var(--e-io) infinite; }
.sent__plane .ico { width: 20px; height: 20px; }
@keyframes plane { 0% { transform: translate(-20px, 20px) scale(.5); opacity: 0 } 30%, 70% { transform: none; opacity: 1 } 100% { transform: translate(24px, -24px) scale(.6); opacity: 0 } }

/* ============================== табло / формата ============================== */
.dash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 32px 0 22px; }
.dash__hello { display: flex; align-items: center; gap: 16px; }
.dash__av { width: 56px; height: 56px; border-radius: 16px; image-rendering: pixelated; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .9); animation: headbob 3s ease-in-out infinite; }
.dash__hello h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.dash__hello p { color: var(--muted); }
.dash__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mysrv { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.mys { padding: 22px 22px 6px; }
.mys--new { animation: newglow 2.4s ease-out 3; }
@keyframes newglow { 0%, 100% { box-shadow: var(--sh), inset 0 0 0 1px var(--line) } 40% { box-shadow: var(--sh), inset 0 0 0 2px var(--ok), 0 0 40px -6px rgba(34, 197, 94, .7) } }
.mys__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.mys__id h2 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin-bottom: 6px; }
.mys__id h2 a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mys__id h2 a:hover { color: var(--primary-3); }
.mys__nums { display: grid; justify-items: end; gap: 6px; }
.mys__v { display: grid; justify-items: end; }
.mys__v b { font: 1.4rem/1 var(--f-head); font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mys__v small { color: var(--muted); font-size: .78rem; }
.mys__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.inline-form .field { flex: 1; min-width: 200px; }
.inline-form .input { height: 46px; }
.mys .acc__in img { margin-bottom: 8px; }
.sform__head { margin: 32px 0 22px; }
.sform__head h1 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.sform__head h1 > .ico { width: 42px; height: 42px; padding: 9px; border-radius: 14px; color: #fff; background: var(--grad); box-shadow: 0 10px 26px -10px rgba(192, 38, 211, .9); flex: none; }
.sform__head p { color: var(--muted); max-width: 680px; }
.sform__form { gap: 16px; padding-bottom: 90px; }
.fset { margin: 0; border: 0; display: grid; gap: 18px; min-width: 0; }
.fset legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 4px; font: 1.15rem/1.2 var(--f-head); }
.fset legend + * { clear: both; }
.fset__n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font: 1rem/1 var(--f-head); color: #fff; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(192, 38, 211, .9); }
.fset__lg .ico { width: 22px; height: 22px; color: var(--primary-2); }
.fset + .fset { margin-top: 0; }
.narrow > .fset { margin-bottom: 16px; }
.ping-test { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ping-test__out { font-size: .9rem; font-weight: 600; }
.ping-test__out.is-ok { color: var(--ok-2); animation: popin .4s var(--e-spring); }
.ping-test__out.is-bad { color: #fda4af; animation: popin .4s var(--e-spring); }
.reveal-box { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--e-out); }
.reveal-box.is-open { grid-template-rows: 1fr; }
.reveal-box__in { overflow: hidden; min-height: 0; display: grid; gap: 18px; opacity: 0; transition: opacity .4s; }
.reveal-box.is-open .reveal-box__in { opacity: 1; padding-top: 4px; }
.savebar { position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 9, 28, .9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--line-2); animation: slideup .6s var(--e-spring) .3s both; }
@keyframes slideup { from { transform: translateY(100%) } }
.savebar__in { display: flex; justify-content: flex-end; gap: 10px; }
.page-form .totop.is-on { bottom: 92px; }

/* ============================== админ ============================== */
.tablecard { margin-bottom: 16px; padding: 20px; }
.table-scroll { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.table th { text-align: left; font-weight: 700; color: var(--dim); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(167, 139, 250, .05); }
.table tr.is-muted td { opacity: .55; }
.table td a:hover { color: var(--primary-3); }
.table--sm td { padding: 8px 10px; }
.acts { white-space: nowrap; }
.acts form { display: inline-block; margin: 0; }
.tav { display: inline-block; vertical-align: -6px; border-radius: 5px; image-rendering: pixelated; }
.okc { display: inline; width: 16px; height: 16px; color: var(--cyan); vertical-align: -3px; }
.guardstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.guardstats div { display: grid; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); text-align: center; }
.guardstats b { font: 1.3rem/1.1 var(--f-head); font-weight: 400; }
.guardstats small { color: var(--muted); font-size: .76rem; }

/* ============================== грешка ============================== */
.errpage { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 60px 0 40px; }
.errpage__art { position: relative; height: 200px; width: 200px; perspective: 700px; display: grid; place-items: center; }
.errpage__code { font: clamp(4.5rem, 14vw, 8rem)/1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text; }
.glitch::before { animation: glitch1 2.6s infinite steps(1); text-shadow: -2px 0 rgba(34, 211, 238, .6); }
.glitch::after { animation: glitch2 3.1s infinite steps(1); text-shadow: 2px 0 rgba(244, 63, 94, .6); }
@keyframes glitch1 { 0%, 92%, 100% { clip-path: inset(0 0 100% 0) } 93% { clip-path: inset(10% 0 60% 0); transform: translateX(-5px) } 96% { clip-path: inset(60% 0 10% 0); transform: translateX(5px) } }
@keyframes glitch2 { 0%, 88%, 100% { clip-path: inset(0 0 100% 0) } 90% { clip-path: inset(40% 0 30% 0); transform: translateX(6px) } 94% { clip-path: inset(80% 0 2% 0); transform: translateX(-4px) } }
.errpage h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.errpage p { color: var(--muted); max-width: 460px; }
.errpage__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

/* ============================== футър ============================== */
.ftr { position: relative; z-index: 1; margin-top: 40px; padding: 46px 0 26px; background: linear-gradient(180deg, transparent, rgba(5, 5, 18, .85) 40%); }
.ftr__line { position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, #7c3aed, #f43f5e, #22d3ee, transparent); background-size: 200% 100%;
  animation: gradshift 8s linear infinite; opacity: .7; }
.ftr__in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.ftr__brand p { margin-top: 12px; color: var(--dim); max-width: 340px; font-size: .92rem; }
.ftr__col { display: grid; align-content: start; gap: 9px; }
.ftr__col h4 { font: 1rem/1.2 var(--f-head); margin-bottom: 4px; }
.ftr__col a { color: var(--dim); font-size: .92rem; width: fit-content; transition: color .2s, transform .3s var(--e-spring); }
.ftr__col a:hover { color: #fff; transform: translateX(4px); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: .82rem; }

/* ============================== преходи между страници ============================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtout .25s var(--e-io) both; }
::view-transition-new(root) { animation: vtin .45s var(--e-out) both; }
@keyframes vtout { to { opacity: 0; transform: translateY(-8px) scale(.995) } }
@keyframes vtin { from { opacity: 0; transform: translateY(10px) } }

/* ============================== адаптивност ============================== */
@media (max-width: 1100px) {
  .srv { grid-template-columns: 52px 64px minmax(0, 1fr) 220px; gap: 14px; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpis--6 { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; }
  .nav__a { padding: 0 10px; }
}
@media (max-width: 960px) {
  :root { --hdr: 64px; }
  .burger { display: block; }
  .hide-sm { display: none !important; }
  .nav { position: fixed; left: 0; right: 0; top: var(--hdr); flex-direction: column; align-items: stretch; gap: 4px; padding: 14px clamp(16px, 4vw, 32px) 22px;
    background: rgba(9, 8, 26, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 1px 0 var(--line-2) inset;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--e-out), visibility .55s; max-height: calc(100dvh - var(--hdr)); overflow-y: auto; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav__a { height: 52px; font-size: 1.05rem; opacity: 0; transform: translateY(-10px); transition: opacity .35s, transform .45s var(--e-out), background .2s, color .2s; }
  .nav.is-open .nav__a { opacity: 1; transform: none; }
  .nav.is-open .nav__a:nth-child(2) { transition-delay: .04s; } .nav.is-open .nav__a:nth-child(3) { transition-delay: .08s; } .nav.is-open .nav__a:nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav__mobile-extra .nav__a { transition-delay: .16s; }
  .nav__a:hover, .nav__a.is-on { background: rgba(167, 139, 250, .1); }
  .nav__ink { display: none; }
  .nav__mobile-extra { display: grid; gap: 4px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .umenu__name { display: none; }
  .hero__in { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .srv { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "rank main" "side side"; }
  .srv__rank { grid-area: rank; align-self: start; }
  .srv__icon { display: none; }
  .srv__main { grid-area: main; }
  .srv__side { grid-area: side; grid-template-columns: 1fr auto; align-items: center; }
  .srv__side .ipbtn { grid-column: 1 / -1; }
  .srv__bar { grid-column: 1 / -1; }
  .srv__votes { justify-content: flex-start; }
  .shero__top { grid-template-columns: auto 1fr; }
  .shero__act { grid-column: 1 / -1; min-width: 0; grid-template-columns: 1fr auto; }
  .vote__grid { grid-template-columns: 1fr; }
  .vote__srv { position: static; order: 2; }
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth__art { display: none; }
  .auth__card { max-width: 520px; width: 100%; margin-inline: auto; }
  .how__grid { grid-template-columns: 1fr; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .podium { grid-template-columns: 1fr; align-items: stretch; }
  .pod { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; padding: 14px 16px; gap: 12px; }
  .pod--1 { order: -1; }
  .pod__step { display: none; }
  .pod__crown { left: 10px; top: -20px; }
  .pod__name { flex: 1; }
  .pod__icon { margin: 0; --s: 52px !important; }
  .pod .status { width: 100%; }
  .filters__row { flex-direction: column; align-items: stretch; }
  .filters__sel { display: grid; grid-template-columns: 1fr 1fr; }
  .filters__sel .field { min-width: 0; }
  .filters__sel .switch { grid-column: 1 / -1; }
  .seg { width: 100%; }
  .seg .seg__opt { flex: 1; }
  .seg .seg__opt span { justify-content: center; padding: 0 10px; width: 100%; }
  .grid2 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis > .kpi:first-child { grid-column: 1 / -1; }
  .kpis--6 > .kpi:first-child { grid-column: auto; }
  .voter { grid-template-columns: 26px 32px minmax(0, 1fr) 40px; }
  .voter__bar { display: none; }
  .mys__head { grid-template-columns: auto minmax(0, 1fr); }
  .mys__nums { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .mys__v { justify-items: start; grid-auto-flow: column; align-items: baseline; gap: 6px; }
  .hsearch { padding-left: 44px; }
  .hsearch__ico { left: 15px; }
  .hsearch .btn span { display: none; }
  .hsearch .btn { width: 48px; padding: 0; }
  .shero__top { gap: 16px; }
  .shero__icon .sicon { --s: 84px !important; border-radius: 20px; }
  .shero__act { grid-template-columns: 1fr; }
  .tabs__bar [role="tab"] span { display: none; }
  .tabs__bar [role="tab"][aria-selected="true"] span { display: inline; }
  .chart { height: 210px; }
  .guardstats { grid-template-columns: repeat(2, 1fr); }
  .modal__act .btn { flex: 1; }
  .savebar__in .btn--lg { flex: 1; }
  .mcname { grid-template-columns: 64px 1fr; gap: 12px; }
  .mcname__av img { width: 52px; height: 52px; }
}
@media (max-width: 480px) {
  .stats { gap: 10px; }
  .stat { padding: 14px; column-gap: 10px; }
  .stat__ico { width: 40px; height: 40px; border-radius: 12px; }
  .stat b { font-size: 1.3rem; }
  .langsw a { width: 34px; } .langsw i { width: 34px; } .langsw a:last-of-type.is-on ~ i { transform: translateX(34px); }
  .filters__sel { grid-template-columns: 1fr; }
  .srv { padding: 16px 14px; gap: 12px; grid-template-columns: 44px minmax(0, 1fr); }
  .rank { min-width: 42px; height: 42px; border-radius: 12px; font-size: 1rem; }
  .srv__name { font-size: 1.1rem; }
  .ftr__in { grid-template-columns: 1fr; }
  .toasts { right: 12px; left: 12px; width: auto; }
  .totop { right: 14px; bottom: 16px; width: 46px; height: 46px; }
  .dash__chips .btn { width: 100%; }
}

/* без JS: всичко видимо, нативните контроли работят */
.no-js .reveal { opacity: 1 !important; transform: none !important; }
.no-js .split .ch { opacity: 1; transform: none; }

/* по-малко движение, ако системата го иска — запазваме преливанията, махаме големите движения */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg__blob, .bg__grid, .cube3d, .chipfly, .scene__ring, .vox--float, .logo__cube svg, .logo__shine, .btn--primary, .btn--pulse, .grad-text, .rank--1, .pod__glow,
  .mcname__av img, .dash__av, .embed__preview img, .owner-cta::after, .ftr__line, .glitch::before, .glitch::after, .bar i::after, .card--glow::before, .shero__ring, .shero__bg img { animation: none !important; }
  .js .reveal { transform: none; transition: opacity .4s; }
  .split .ch, .grad-text .ch { animation-duration: .01s !important; animation-delay: 0s !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .15s; }
}
.cooldown { max-height: 240px; transition: opacity .35s, transform .35s var(--e-out), max-height .45s var(--e-out) .2s, padding .45s .2s, margin .45s .2s; overflow: hidden; }
.cooldown.is-gone { opacity: 0; transform: scale(.96); max-height: 0; padding-top: 0; padding-bottom: 0; margin: 0; }
/* при отваряне видимостта е веднага (иначе фокусът с клавиатура не може да влезе в менюто) */
.uisel.is-open .uisel__pop, .umenu.is-open .umenu__pop { transition: opacity .2s, transform .35s var(--e-out), visibility 0s; }

/* сянка и сияние под голямото кубче (filter върху 3D елемент го „сплесква“, затова е отделно) */
.hero__title .grad-text { display: block; animation: gradshift 6s ease infinite, gradin 1.1s var(--e-out) .45s both; }
@keyframes gradin { from { opacity: 0; transform: translateY(.35em) scale(.96); filter: blur(10px); } }
@media (prefers-reduced-motion: reduce) { .hero__title .grad-text { animation: none; } }
/* декоративните 3D кубчета и значките около тях не приемат кликове/докосване
   (Chromium смята 3D стените на въртящо се кубче на грешно място и те „крадат“ натисканията) */
.cube3d, .cube3d *, .hero__art, .hero__art *, .auth__scene, .auth__scene *, .errpage__art, .errpage__art * { pointer-events: none; }
@media (max-width: 480px) {
  .filters .seg { display: flex; }
  .filters .seg__opt { flex: 1 1 0; justify-content: center; padding-left: 6px; padding-right: 6px; }
  .filters .seg__opt .ico { display: none; }
}
/* скритите radio/checkbox полета (position: absolute) да стоят в своя таг, а не да „изтичат“ извън плъзгащия се ред */
.chips__track, .chip { position: relative; }
/* въртящият се пръстен около кубчето не бива да разширява страницата на телефон */
.hero { overflow-x: clip; }
/* на страниците с долна лента „Запази“ полетата при Tab/фокус не застават под нея */
:root:has(body.page-form) { scroll-padding-bottom: 96px; }
/* по формите/таблото секциите влизат по-кратко и по-леко — полетата не „бягат“ под курсора */
.js .page-form .reveal, .js .page-dash .reveal, .js .page-admin .reveal { transform: translateY(12px); transition-duration: .45s, .5s; transition-delay: calc(var(--i, 0) * 40ms); }
.js .page-form .reveal.in, .js .page-dash .reveal.in, .js .page-admin .reveal.in { transform: none; }
/* филтриране: новият списък леко изплува (страницата остава кликаема) */
.list.is-swap { animation: listin .45s var(--e-out); }
@keyframes listin { from { opacity: .35; transform: translateY(8px); } }

/* ============================== премиум зона ============================== */
@property --pang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes pangspin { to { --pang: 360deg } }
.gold-text { background: linear-gradient(100deg, #fde68a, #fbbf24 30%, #fff7d6 50%, #f59e0b 70%, #fde68a); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldsweep 4.5s linear infinite; }
@keyframes goldsweep { to { background-position: -220% 0 } }
.btn--gold { color: #1a1200; background: linear-gradient(135deg, #fef3c7, #fbbf24 45%, #f59e0b 75%, #d97706); background-size: 180% 180%; box-shadow: 0 8px 24px -8px rgba(251, 191, 36, .85), inset 0 1px 0 rgba(255, 255, 255, .55);
  animation: gradshift 5s ease infinite; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(251, 191, 36, 1), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold:hover .ico { transform: translateY(-2px) rotate(-10deg) scale(1.12); }
.btn--gold .ico { transition: transform .4s var(--e-spring); }
.btn--gold .btn__spin { border-color: rgba(26, 18, 0, .3); border-top-color: #1a1200; }
.btn--goldish { color: var(--gold) !important; box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .5) !important; }
.btn--xs { --bh: 32px; }
.pill--gold { color: #fde68a; background: rgba(251, 191, 36, .12); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .45); }
a.pill--gold:hover { background: rgba(251, 191, 36, .2); }
.pill--live { color: var(--accent-2); background: rgba(244, 63, 94, .1); box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .35); }
.pill--live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.4s ease-in-out infinite; }
.eyebrow--gold { color: #fde68a; box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .07); }
.eyebrow--gold .ico { width: 17px; height: 17px; color: var(--gold); animation: crown 2.6s ease-in-out infinite; }

.rank--prem { color: #1a1200; background: linear-gradient(135deg, #fef3c7, #fbbf24 55%, #d97706); box-shadow: 0 8px 22px -8px rgba(251, 191, 36, .9); animation: goldglow 3s ease-in-out infinite; }
.rank--prem b .ico { width: 20px; height: 20px; fill: currentColor; }
.rank__crown { position: absolute; top: -15px; width: 20px; height: 20px; color: var(--gold); filter: drop-shadow(0 0 6px rgba(251, 191, 36, .9)); animation: crown 2.6s ease-in-out infinite; }
.srv--premium { box-shadow: var(--sh), inset 0 0 0 1px rgba(251, 191, 36, .45), 0 0 40px -18px rgba(251, 191, 36, .6);
  background: linear-gradient(100deg, rgba(251, 191, 36, .09), var(--surface) 40%); }
.srv--premium::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #fde68a, #f59e0b); }
.srv__ptag { position: absolute; top: 10px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 99px;
  font: .72rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: #1a1200; background: linear-gradient(135deg, #fde68a, #fbbf24); box-shadow: 0 6px 16px -6px rgba(251, 191, 36, .9); }
.srv__ptag .ico { width: 13px; height: 13px; }
.meta--pts { color: #fde68a; border-radius: 8px; padding: 2px 8px 2px 6px; background: rgba(251, 191, 36, .08); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .25); transition: background .25s, transform .3s var(--e-spring); }
.meta--pts .ico { color: var(--gold); fill: rgba(251, 191, 36, .35); }
.meta--pts b { color: #fff7d6; }
.meta--pts:hover { background: rgba(251, 191, 36, .16); transform: translateY(-1px); }
.meta--pts:hover .ico { animation: starspin .7s var(--e-spring); }
@keyframes starspin { from { transform: rotate(-140deg) scale(.5) } }
.srv__score { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--dim); }
.srv__score .ico { width: 14px; height: 14px; color: var(--gold); }
.srv__score b { color: var(--text); font-variant-numeric: tabular-nums; }

.pzone { margin-top: 56px; }
.pzone__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 18px; }
.pzone__head .h2 { margin: 0; }
.pzone__sub { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--muted); font-size: .92rem; }
.pzone__grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 16px; align-items: stretch; }
.pcard { --mx: 50%; --my: 50%; --pc: 251, 191, 36; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 22px; border-radius: var(--r-xl);
  background: radial-gradient(120% 90% at 50% -10%, rgba(var(--pc), .14), transparent 60%), var(--surface); box-shadow: var(--sh), 0 0 60px -26px rgba(var(--pc), .8);
  transition: transform .5s var(--e-spring), box-shadow .4s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh), 0 0 80px -20px rgba(var(--pc), .95); }
.pcard__border { position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--pang), rgba(var(--pc), 1), rgba(var(--pc), .15) 25%, rgba(255, 255, 255, .9) 40%, rgba(var(--pc), .15) 55%, rgba(var(--pc), 1) 75%, rgba(var(--pc), .3) 90%, rgba(var(--pc), 1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: pangspin 5s linear infinite; }
.pcard__shine { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; overflow: hidden; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--pc), .16), transparent 45%); }
.pcard__shine::after { content: ""; position: absolute; inset: -50% auto -50% -60%; width: 40%; transform: rotate(18deg) translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent); animation: pshine 5.5s ease-in-out infinite; }
@keyframes pshine { 0%, 65% { transform: rotate(18deg) translateX(-120%) } 100% { transform: rotate(18deg) translateX(520%) } }
.pcard__spark { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.pcard__spark i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: rgb(var(--pc)); box-shadow: 0 0 8px rgb(var(--pc)); opacity: 0; animation: spark 4.8s linear infinite; }
.pcard__spark i:nth-child(1) { left: 12%; animation-delay: 0s; } .pcard__spark i:nth-child(2) { left: 34%; animation-delay: 1.1s; animation-duration: 5.6s; }
.pcard__spark i:nth-child(3) { left: 58%; animation-delay: 2.3s; } .pcard__spark i:nth-child(4) { left: 76%; animation-delay: .6s; animation-duration: 6.2s; }
.pcard__spark i:nth-child(5) { left: 90%; animation-delay: 3.2s; }
@keyframes spark { 0% { transform: translateY(0) scale(.6); opacity: 0 } 15% { opacity: .9 } 100% { transform: translateY(-340px) translateX(14px) scale(1.2); opacity: 0 } }
.pcard--s2, .pcard--s3 { --pc: 196, 181, 253; }
.pcard--paid.pcard--s2 { --pc: 232, 121, 249; }
.pcard--paid.pcard--s3 { --pc: 34, 211, 238; }
.pcard__top { display: flex; align-items: center; gap: 10px; }
.pcard__slot { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 36px; min-width: 52px; padding: 0 10px; border-radius: 12px; font: 1.1rem/1 var(--f-head);
  color: #1a1200; background: linear-gradient(135deg, #fef3c7, rgb(var(--pc)) 60%); box-shadow: 0 6px 18px -6px rgba(var(--pc), .9); }
.pcard__slot .ico { width: 17px; height: 17px; }
.pcard--s1 .pcard__slot .ico { animation: crown 2.6s ease-in-out infinite; }
.pcard__lbl { font: .74rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--pc)); }
.pcard__top .status { margin-left: auto; }
.pcard__id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pcard__id .sicon { box-shadow: 0 0 0 2px rgba(var(--pc), .55), 0 10px 26px -10px rgba(var(--pc), .9); transition: transform .5s var(--e-spring); }
.pcard:hover .pcard__id .sicon { transform: rotate(-6deg) scale(1.06); }
.pcard__name { display: flex; align-items: center; gap: 6px; min-width: 0; font: 1.35rem/1.15 var(--f-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s; }
.pcard__id:hover .pcard__name { color: rgb(var(--pc)); }
.pcard__name .verified .ico { width: 18px; height: 18px; }
.pcard__motd { display: block; height: 52px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); }
.pcard__motd img { width: 100%; height: 100%; object-fit: cover; }
.pcard__short { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; color: var(--muted); }
.pcard__acts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: auto; }
.pcard__acts .ipbtn { min-width: 0; }
.pcard--free { --pc: 167, 139, 250; align-items: center; justify-content: center; text-align: center; min-height: 300px; background: repeating-linear-gradient(-45deg, rgba(167, 139, 250, .04) 0 14px, transparent 14px 28px), var(--surface); }
.pcard--free .pcard__border { background: repeating-conic-gradient(from var(--pang), rgba(167, 139, 250, .8) 0 6deg, transparent 6deg 14deg); animation-duration: 18s; }
.pcard--free .pcard__slot { position: absolute; top: 18px; left: 18px; color: #fff; background: rgba(167, 139, 250, .18); box-shadow: inset 0 0 0 1px var(--line-3); }
.pcard__ghost { display: grid; place-items: center; height: 96px; opacity: .8; filter: grayscale(.4); }
.pcard__ghost .vox { transform: scale(.85); }
.pcard__free-t { font: 1.3rem/1.2 var(--f-head); }
.pcard__free-s { max-width: 28ch; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.pcard--free .btn { margin-top: 4px; }
.pcard--free:hover .btn--gold { transform: translateY(-2px) scale(1.03); }
.pcard--free:hover .pcard__ghost { filter: none; opacity: 1; }
@media (max-width: 980px) { .pzone__grid { grid-template-columns: 1fr 1fr; } .pzone__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .pzone__grid { grid-template-columns: 1fr; } .pcard--free { min-height: 0; padding-top: 64px; } .srv__ptag { top: 8px; right: 8px; } }

/* ============================== поемане на сървър ============================== */
.claimbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r);
  background: linear-gradient(100deg, rgba(34, 211, 238, .1), rgba(124, 58, 237, .08)); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35); }
.claimbar p { flex: 1 1 320px; margin: 0; color: var(--muted); line-height: 1.5; }
.claimbar p b { color: #cffafe; }
.claimbar__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--cyan); background: rgba(34, 211, 238, .12); }
.claimbar__ico .ico { width: 22px; height: 22px; animation: wiggle 4s ease-in-out infinite; }
.claim { padding-block: 26px 60px; }
.claim__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.claim__srv { display: grid; justify-items: center; gap: 10px; text-align: center; position: sticky; top: calc(var(--hdr) + 20px); }
.claim__srv h2 { margin: 4px 0 0; font-size: 1.3rem; }
.claim__srv p { margin: 0; }
.claim__srv .rules { text-align: left; }
.claim__main h1 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); }
.claim__main h1 .ico { width: 30px; height: 30px; color: var(--gold); animation: wiggle 4s ease-in-out infinite; }
.claim__main .lead { color: var(--muted); line-height: 1.6; }
.claim__code { font-size: 1.05rem; color: #fde68a !important; letter-spacing: .03em; }
.claim__form { margin: 20px 0 22px; }
.claim__main .mcbox { min-height: 56px; border-radius: 12px; }
.steps3 { list-style: none; display: grid; gap: 12px; margin: 22px 0; padding: 0; counter-reset: s; }
.steps3 li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line);
  animation: fadeup .6s var(--e-out) both; animation-delay: calc(var(--i) * 90ms + .2s); }
.steps3 li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 1.05rem/1 var(--f-head); color: #fff; background: var(--grad); box-shadow: 0 6px 18px -6px rgba(192, 38, 211, .8); }
.steps3 li > div { display: grid; gap: 6px; min-width: 0; }
.steps3 small { color: var(--muted); line-height: 1.5; }
.steps3 code { overflow-wrap: anywhere; }
.shake-in { animation: shake .5s ease, fadeup .4s var(--e-out); }
.small { font-size: .86rem; }
@media (max-width: 860px) { .claim__grid { grid-template-columns: 1fr; } .claim__srv { position: static; } }

/* ============================== постижения ============================== */
.tabs__n { margin-left: 4px; padding: 2px 7px; border-radius: 99px; font: .72rem/1.2 var(--f-mono); color: #fde68a; background: rgba(251, 191, 36, .12); }
.achs__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.achs__score { display: flex; align-items: center; gap: 18px; flex: 1 1 380px; }
.achs__score h3 { margin: 0 0 4px; }
.achs__score p { margin: 0; color: var(--muted); line-height: 1.5; font-size: .92rem; }
.achs__ring { --p: 0; flex: none; position: relative; display: flex; align-items: baseline; justify-content: center; padding-top: 30px; width: 88px; height: 88px; border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, .07) 0); animation: ringin 1.2s var(--e-out) both; }
.achs__ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--solid); }
.achs__ring b, .achs__ring small { position: relative; }
.achs__ring b { font: 1.5rem/1 var(--f-head); }
.achs__ring small { color: var(--muted); font-size: .82rem; }
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes ringin { from { --p: 0 } }
.achs__total { display: grid; justify-items: end; }
.achs__total b { font: 2.2rem/1 var(--f-head); background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.achs__total small { color: var(--muted); }
.achs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.ach { --tc: 148, 140, 180; position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r);
  background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); animation: fadeup .55s var(--e-out) both; animation-delay: calc(var(--i) * 40ms);
  transition: transform .4s var(--e-spring), box-shadow .3s, background .3s; }
.ach:hover { transform: translateY(-3px); }
.ach--bronze { --tc: 245, 158, 11; } .ach--silver { --tc: 203, 213, 225; } .ach--gold { --tc: 251, 191, 36; } .ach--diamond { --tc: 34, 211, 238; }
.ach__badge { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; overflow: hidden; color: var(--dim); background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line); filter: grayscale(1); opacity: .65; transition: transform .5s var(--e-spring); }
.ach__badge .ico { width: 24px; height: 24px; }
.ach__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.ach.is-on { background: linear-gradient(135deg, rgba(var(--tc), .1), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(var(--tc), .4), 0 10px 30px -18px rgba(var(--tc), .9); }
.ach.is-on .ach__badge { filter: none; opacity: 1; color: #120d00; background: linear-gradient(135deg, #fff, rgb(var(--tc)) 55%, rgba(var(--tc), .6)); box-shadow: 0 8px 20px -8px rgba(var(--tc), 1);
  animation: achpop .7s var(--e-spring) both; animation-delay: calc(var(--i) * 60ms + .2s); }
.ach.is-on .ach__shine { animation: achshine 3.8s ease-in-out infinite; animation-delay: calc(var(--i) * 230ms); }
.ach.is-on:hover .ach__badge { transform: rotate(-10deg) scale(1.08); }
@keyframes achpop { from { transform: scale(.3) rotate(-40deg); opacity: 0 } }
@keyframes achshine { 0%, 70% { transform: translateX(-120%) } 100% { transform: translateX(120%) } }
.ach__txt { display: grid; gap: 3px; min-width: 0; }
.ach__txt b { font-weight: 700; }
.ach__txt small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.ach__when { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; color: rgb(var(--tc)); }
.ach__when .ico { width: 13px; height: 13px; }
.ach__prog { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 3px; }
.ach__prog em { font-style: normal; font: .72rem/1 var(--f-mono); color: var(--dim); }
.ach__pts { align-self: start; padding: 3px 8px; border-radius: 99px; font: .8rem/1.2 var(--f-head); color: var(--dim); background: rgba(255, 255, 255, .05); }
.ach.is-on .ach__pts { color: #1a1200; background: rgb(var(--tc)); }

/* ============================== страница „Премиум“ ============================== */
.phero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 28px; align-items: center; padding-block: 40px 10px; }
.phero__title { margin: 16px 0 14px; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; }
.phero__lead { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 60ch; }
.phero__timer { display: grid; justify-items: center; gap: 14px; text-align: center; box-shadow: var(--sh), inset 0 0 0 1px rgba(251, 191, 36, .35), 0 0 60px -30px rgba(251, 191, 36, .8); }
.phero__tlbl { color: var(--muted); font-weight: 600; }
.phero__tdate { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: .86rem; }
.phero__tdate .ico { width: 15px; height: 15px; }
.cdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.cdown__u { display: grid; gap: 4px; padding: 12px 4px; border-radius: 14px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.cdown__u b { display: block; font: clamp(1.6rem, 4vw, 2.3rem)/1 var(--f-head); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdown__u b.is-tick { animation: cdtick .45s var(--e-out); }
@keyframes cdtick { from { transform: translateY(-40%); opacity: 0; filter: blur(2px) } }
.cdown__u small { color: var(--muted); font-size: .76rem; }
.cdown.is-done .cdown__u b { background: none; color: var(--dim); }
.pzone--page { margin-top: 36px; }
.auction { margin-top: 44px; }
.auction__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 20px; align-items: start; }
.auction__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.auction__head h2, .auction__form h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.3rem; }
.auction__head h2 .ico, .auction__form h2 .ico { width: 24px; height: 24px; color: var(--gold); }
.bids { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.bid { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px var(--line); animation: fadeup .5s var(--e-out) both; animation-delay: calc(var(--i) * 60ms); transition: transform .4s var(--e-spring), background .3s; }
.bid:hover { transform: translateX(4px); }
.bid.is-win { background: linear-gradient(100deg, rgba(251, 191, 36, .12), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .4); }
.bid.is-mine { box-shadow: inset 0 0 0 2px var(--primary-2); }
.bid.is-new { animation: bidnew 1.1s var(--e-out); }
@keyframes bidnew { 0% { transform: scale(.96); background: rgba(251, 191, 36, .35) } }
.bid__pos { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font: .95rem/1 var(--f-head); background: rgba(255, 255, 255, .06); }
.bid.is-win .bid__pos { color: #1a1200; background: linear-gradient(135deg, #fde68a, #fbbf24); }
.bid__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.bid__name:hover { color: var(--primary-3); }
.bid__tag { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; color: #fde68a; }
.bid__tag .ico { width: 13px; height: 13px; }
.bid__amt { font: 1.2rem/1 var(--f-head); font-variant-numeric: tabular-nums; }
.bid__cur { margin-left: -6px; color: var(--muted); }
.bid__t { grid-column: 2 / -1; margin-top: -6px; font-size: .74rem; color: var(--dim); }
.bids__empty { display: flex; align-items: center; gap: 10px; padding: 22px; border-radius: 14px; color: var(--muted); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.bids__empty .ico { width: 22px; height: 22px; color: var(--gold); animation: wiggle 3s ease-in-out infinite; }
.auction__won { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.auction__won h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1rem; }
.auction__won p { margin: 4px 0; color: var(--muted); }
.auction__form { position: sticky; top: calc(var(--hdr) + 20px); }
.auction__need { margin: 10px 0 18px; color: var(--muted); }
.auction__need b { font: 1.25rem/1 var(--f-head); }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bidform { display: grid; gap: 4px; }
.field--money .input { padding-right: 118px; font: 1.25rem/1 var(--f-head); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.field--money .input::-webkit-outer-spin-button, .field--money .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__suffix { position: absolute; right: 92px; top: 50%; transform: translateY(-50%); color: var(--gold); font: 1.1rem/1 var(--f-head); pointer-events: none; }
.stepper { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; }
.stepper button { width: 38px; height: 38px; border: 0; border-radius: 10px; cursor: pointer; font: 1.2rem/1 var(--f-head); color: var(--text); background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, transform .25s var(--e-spring); }
.stepper button:hover { background: rgba(251, 191, 36, .18); }
.stepper button:active { transform: scale(.88); }
.field--money .input.is-bump { animation: chippop .35s var(--e-spring); }
.prules { margin-top: 56px; padding-bottom: 40px; }
.prules__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.prule { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; transition: transform .4s var(--e-spring); }
.prule:hover { transform: translateY(-4px); }
.prule p { margin: 0; color: var(--muted); line-height: 1.55; }
.prule__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--gold); background: rgba(251, 191, 36, .1); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .3); }
.prule__ico .ico { width: 22px; height: 22px; }
.prule:hover .prule__ico .ico { animation: wiggle .8s ease-in-out; }
@media (max-width: 920px) { .phero, .auction__grid { grid-template-columns: 1fr; } .auction__form { position: static; } }
@media (max-width: 480px) { .bid { grid-template-columns: 30px minmax(0, 1fr) auto auto; } .bid__tag { display: none; } .cdown { gap: 6px; } }

/* ============================== табло / админ / заглавия ============================== */
.mys__v--pts b { background: linear-gradient(135deg, #fde68a, #fbbf24); -webkit-background-clip: text; background-clip: text; }
.mys__v--score b { background: linear-gradient(135deg, #a5f3fc, #22d3ee); -webkit-background-clip: text; background-clip: text; }
.mys__nums { grid-auto-flow: column; align-items: center; gap: 16px; }
@media (max-width: 640px) { .mys__nums { grid-auto-flow: row; grid-template-columns: repeat(2, auto); } }
.hero__title--sm { font-size: clamp(2rem, 5vw, 3.4rem); }
.kpis--4 { grid-template-columns: repeat(4, 1fr); margin: 18px 0 22px; }
@media (max-width: 860px) { .kpis--4 { grid-template-columns: repeat(2, 1fr); } }
.seg__opt--link span { text-decoration: none; }
.seg__opt--link.is-on span { color: #fff; background: rgba(167, 139, 250, .22); box-shadow: inset 0 0 0 1px var(--line-3); }
.adm-assign { position: relative; display: inline-block; }
.adm-assign summary { list-style: none; }
.adm-assign summary::-webkit-details-marker { display: none; }
.adm-assign__f { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: 8px; width: 260px; padding: 12px; border-radius: 14px; background: var(--solid-2);
  box-shadow: var(--sh), inset 0 0 0 1px var(--line-2); animation: popin .3s var(--e-out); }
.input--sm { height: 38px; font-size: .9rem; }
.adm-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.adm-row .field { flex: 1 1 160px; margin: 0; }
.adm-bids { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; max-height: 320px; overflow: auto; }
.adm-bids li { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
@media (max-width: 620px) {
  .pcard--free { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t b" "s b"; align-items: center; justify-items: start; text-align: left; gap: 4px 12px; padding: 54px 18px 18px; }
  .pcard--free .pcard__ghost { display: none; }
  .pcard--free .pcard__free-t { grid-area: t; font-size: 1.1rem; }
  .pcard--free .pcard__free-s { grid-area: s; font-size: .84rem; }
  .pcard--free .btn { grid-area: b; margin: 0; }
  .pcard--free .pcard__slot { top: 14px; left: 14px; }
}
/* отворено падащо меню: картата му излиза над следващите (иначе по време на reveal анимацията следващата карта го покрива) */
.card:has(.uisel.is-open), .fset:has(.uisel.is-open), .reveal:has(.uisel.is-open), .filters:has(.uisel.is-open) { position: relative; z-index: 60; }

/* ============================== изометрична сцена (app/scene.py) ============================== */
/* летящ остров от блокчета + подиум + корона; пикселните сърца се издигат към №1 — подкрепата вдига сървъра */
.sc { display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sc-vx { animation: vxdrop .95s var(--e-spring) both; animation-delay: calc(var(--d) + .1s); }
@keyframes vxdrop { from { opacity: 0; translate: 0 -80px; } 35% { opacity: 1; } }
.sc-earth { animation-name: vxrise; animation-timing-function: var(--e-out); }
@keyframes vxrise { from { opacity: 0; translate: 0 50px; } }
.sc-float { animation: scfloat 7s ease-in-out 2.2s infinite; }
@keyframes scfloat { 50% { translate: 0 -10px; } }
.sc-shadow { transform-box: fill-box; transform-origin: center; animation: scshadow 7s ease-in-out 2.2s infinite; }
@keyframes scshadow { 50% { scale: .82 1; opacity: .65; } }
.sc-glow { transform-box: fill-box; transform-origin: center; opacity: .85; animation: scglow 5s ease-in-out infinite; }
@keyframes scglow { 50% { opacity: 1; scale: 1.06; } }
.sc-orbit { animation: scdash 40s linear infinite; }
.sc-orbit--2 { stroke-dasharray: 140 26 6 26; animation-duration: 60s; animation-direction: reverse; }
@keyframes scdash { to { stroke-dashoffset: -600; } }
.sc-heart { opacity: 0; transform-box: fill-box; transform-origin: center; animation: scheart 5.2s cubic-bezier(.3, .1, .3, 1) infinite; animation-delay: calc(var(--d) + 2.2s); }
@keyframes scheart {
  0% { opacity: 0; translate: 0 18px; scale: .5; }
  14% { opacity: 1; scale: 1; }
  72% { opacity: 1; }
  100% { opacity: 0; translate: var(--x) -210px; scale: 1.15; }
}
.sc-crown { transform-box: fill-box; transform-origin: center bottom; animation: crownpop .9s var(--e-spring) 1.6s both, crownbob 4s ease-in-out 2.6s infinite; }
@keyframes crownpop { from { opacity: 0; scale: .2; translate: 0 30px; } }
@keyframes crownbob { 50% { translate: 0 -7px; } }
.sc-beat { transform-box: fill-box; transform-origin: center; animation: crownpop .9s var(--e-spring) 1s both, scbeat 2.4s ease-in-out 2s infinite; }
@keyframes scbeat { 0%, 40%, 100% { scale: 1; } 10% { scale: 1.14; } 20% { scale: .97; } 30% { scale: 1.08; } }
.sc-spark { transform-box: fill-box; transform-origin: center; opacity: 0; animation: sctwinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--d) * 1s + 1.5s); }
@keyframes sctwinkle { 0%, 100% { opacity: 0; scale: .2; rotate: 0deg; } 50% { opacity: .95; scale: 1; rotate: 45deg; } }
.sc-lostwrap { transform-box: fill-box; transform-origin: center; animation: sclost 3.6s ease-in-out infinite; }
@keyframes sclost { 50% { translate: 0 -12px; rotate: -5deg; } }

.hero__art { height: 460px; }
.hero__art .sc { position: absolute; inset: 0; }
.auth__scene { height: 260px; max-width: 380px; }
.errpage__art { width: 240px; height: 240px; }
@media (max-width: 960px) {
  .hero__art { height: 300px; margin: 0 auto -6px; width: min(100%, 420px); }
  .chipfly { font-size: .8rem; padding: 6px 11px; }
}
@media (max-width: 480px) { .hero__art { height: 250px; } }
@media (prefers-reduced-motion: reduce) {
  .sc *, .sc { animation: none !important; }
  .sc-heart, .sc-sat { display: none; }
}
.sc-num { font: 20px/1 var(--f-head); fill: #fff; text-anchor: middle; paint-order: stroke; stroke: rgba(30, 10, 60, .35); stroke-width: 3px; }
.sc-rim { stroke-dasharray: 100; stroke-dashoffset: 100; animation: scrim 1.4s var(--e-out) .9s forwards; filter: drop-shadow(0 0 4px rgba(232, 121, 249, .8)); }
@keyframes scrim { to { stroke-dashoffset: 0; } }
.sc-rim--run { stroke-dasharray: 6 94; stroke-dashoffset: 0; opacity: 0; filter: none; animation: scrun 4.5s linear 2.4s infinite; }
@keyframes scrun { 0% { opacity: 0; stroke-dashoffset: 6; } 8% { opacity: .9; } 85% { opacity: .9; } 100% { opacity: 0; stroke-dashoffset: -94; } }

/* ============================== 2026-11-28: само английски, „подкрепа“ вместо глас, сървърите веднага ============================== */
/* лого: кубче със сърце; сърцето „бие“ от време на време */
.logo__cube { overflow: visible; border-radius: 0; }
.logo__cube svg { filter: drop-shadow(0 4px 10px rgba(192, 38, 211, .55)); }
.logo__heart { transform-box: fill-box; transform-origin: center; animation: logobeat 4.8s ease-in-out infinite 1.2s; }
@keyframes logobeat { 0%, 76%, 100% { scale: 1; } 80% { scale: 1.16; } 84% { scale: .96; } 88% { scale: 1.09; } }
.logo:hover .logo__heart { animation-duration: 1.2s; animation-delay: 0s; }
.logo__shine { clip-path: polygon(50% 6%, 90% 28%, 90% 72%, 50% 94%, 10% 72%, 10% 28%); }
.logo__txt { display: grid; gap: 3px; font: 1.3rem/1 var(--f-head); letter-spacing: .03em; color: #fff; }
.logo__txt small { font: 600 .66rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.logo--sm .logo__txt { font-size: 1.35rem; }

/* търсене в горната лента (Ctrl+K) с подсказки */
.hsrch { position: relative; flex: 1 1 220px; max-width: 320px; min-width: 150px; margin-left: auto; }
.hsrch__in { width: 100%; height: 42px; padding: 0 74px 0 40px; border: 0; border-radius: 13px; outline: 0; font-size: .95rem; color: var(--text);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background .25s; }
.hsrch__in::placeholder { color: var(--dim); }
.hsrch__in:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.hsrch__in:focus { background: rgba(21, 19, 46, .95); box-shadow: inset 0 0 0 1.5px var(--primary-2), 0 0 0 4px rgba(124, 58, 237, .18); }
.hsrch__in::-webkit-search-cancel-button { display: none; }
.hsrch__ico { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--dim); pointer-events: none; transition: color .25s; }
.hsrch:focus-within .hsrch__ico { color: var(--primary-3); }
.hsrch__kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); padding: 4px 7px; border-radius: 7px; font: 600 .7rem/1 var(--f-mono); color: var(--dim);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px var(--line); pointer-events: none; transition: opacity .2s; }
.hsrch:focus-within .hsrch__kbd { opacity: 0; }
.hsrch__x, .hsrch-open { display: none; }
.hsrch__pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 300px; padding: 6px; border-radius: 16px; background: rgba(21, 19, 46, .98);
  box-shadow: var(--sh), inset 0 0 0 1px var(--line-2); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .2s, transform .3s var(--e-out), visibility 0s .3s; }
.hsrch.is-open .hsrch__pop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--e-out), visibility 0s; }
.hsrch__row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; color: var(--muted);
  animation: optin .3s var(--e-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
.hsrch__row img { width: 38px; height: 38px; border-radius: 9px; image-rendering: pixelated; background: #120f2c; }
.hsrch__row b { display: block; color: var(--text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hsrch__row small { display: block; font: .78rem/1.3 var(--f-mono); color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hsrch__row .hsrch__pl { font-size: .8rem; white-space: nowrap; }
.hsrch__row .hsrch__pl i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hsrch__row .hsrch__pl.is-off i { background: var(--dim); box-shadow: none; }
.hsrch__row.is-act, .hsrch__row:hover { background: rgba(167, 139, 250, .13); color: var(--text); }
.hsrch__all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 10px; border-radius: 11px; font-weight: 700; color: var(--primary-3); }
.hsrch__all.is-act, .hsrch__all:hover { background: rgba(167, 139, 250, .13); color: #fff; }
.hsrch__none { padding: 14px 12px; color: var(--muted); font-size: .92rem; text-align: center; }
.hsrch__pop .tag { font-size: .7rem; padding: 2px 7px; }
@media (max-width: 1280px) { .logo__txt small { display: none; } }
@media (max-width: 1180px) { .nav__a .ico { display: none; } .nav__a { padding: 0 10px; } .hdr__in { gap: 14px; } }
@media (max-width: 960px) {
  .hsrch-open { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--muted); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
  .hsrch-open .ico { width: 20px; height: 20px; }
  .hsrch { position: fixed; left: 0; right: 0; top: 0; z-index: 70; max-width: none; height: var(--hdr); margin: 0; padding: 11px clamp(16px, 4vw, 32px);
    display: flex; align-items: center; gap: 8px; background: rgba(7, 7, 26, .97); box-shadow: 0 10px 30px -14px #000; transform: translateY(-105%); visibility: hidden;
    transition: transform .4s var(--e-out), visibility 0s .4s; }
  .hdr.is-search .hsrch { transform: none; visibility: visible; transition: transform .4s var(--e-out), visibility 0s; }
  .hsrch__in { flex: 1; padding-right: 14px; }
  .hsrch__ico { left: calc(clamp(16px, 4vw, 32px) + 13px); }
  .hsrch__kbd { display: none; }
  .hsrch__x { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: var(--muted); background: rgba(255, 255, 255, .05); }
  .hsrch__pop { left: clamp(16px, 4vw, 32px); right: clamp(16px, 4vw, 32px); top: calc(100% - 4px); min-width: 0; }
}

/* начало: кратко въведение, после веднага премиум и сървърите */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 30px; padding-top: clamp(18px, 3vw, 34px); }
.intro__txt { min-width: 0; }
.intro__h { display: flex; align-items: center; gap: 16px; font-size: clamp(1.75rem, 3.6vw, 2.7rem); line-height: 1.08; }
.intro__h .grad-text { animation: gradshift 6s ease infinite; }
.intro__lead { max-width: 62ch; margin-top: 12px; color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.intro__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ipill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; font-size: .88rem; color: var(--muted);
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.ipill b { color: var(--text); font-variant-numeric: tabular-nums; }
.ipill .ico { width: 16px; height: 16px; color: var(--primary-2); }
.ipill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: livedot 2s ease-out infinite; }
@keyframes livedot { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
.intro__art { position: relative; height: 250px; margin: -10px 0 -20px; }
.intro__art .sc { position: absolute; inset: -6% -4%; width: 108%; height: 112%; }
.intro--land .crumbs { margin: 0 0 12px; }
.page-home .pzone { margin-top: 26px; }
.page-home .list-wrap { margin-top: 26px; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro__art { display: none; }
  .intro__lead { font-size: .98rem; margin-top: 8px; }
  .intro__pills { margin-top: 12px; }
  .page-home .pzone, .page-home .list-wrap { margin-top: 20px; }
}

/* иконите на категориите */
.catico { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; color: var(--c, #a78bfa);
  background: color-mix(in srgb, var(--c, #a78bfa) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #a78bfa) 32%, transparent); }
.catico .ico { width: 16px; height: 16px; }
.catico--lg { width: 52px; height: 52px; border-radius: 15px; }
.catico--lg .ico { width: 28px; height: 28px; }
.intro__h .catico--lg { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 10px 30px -12px var(--c); animation: catpop .8s var(--e-spring) .2s both; }
@keyframes catpop { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }

/* категориите във филтъра: на редове, без плъзгане настрани; „Още“ показва останалите */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cat { position: relative; display: inline-flex; cursor: pointer; }
.cat input { position: absolute; opacity: 0; pointer-events: none; }
.cat > span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 12px; font-weight: 600; font-size: .92rem; color: var(--muted);
  background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .25s, transform .3s var(--e-spring); }
.cat > span small { min-width: 20px; padding: 2px 6px; border-radius: 99px; font-size: .72rem; text-align: center; color: var(--dim); background: rgba(255, 255, 255, .06); }
.cat:hover > span { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-1px); }
.cat:hover .catico { transform: rotate(-8deg) scale(1.08); }
.cat .catico { transition: transform .35s var(--e-spring); }
.cat input:checked + span { color: #fff; background: rgba(124, 58, 237, .22); box-shadow: inset 0 0 0 1.5px var(--primary-2), 0 8px 22px -12px rgba(124, 58, 237, .9); }
.cat input:checked + span small { color: #fff; background: rgba(167, 139, 250, .3); }
.cat input:focus-visible + span { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.cat--more { display: none; }
.cats.is-open .cat--more { display: inline-flex; animation: optin .35s var(--e-out) both; }
.cat--toggle > span { padding: 0 12px; color: var(--primary-3); background: transparent; box-shadow: inset 0 0 0 1px dashed var(--line-2); border: 1px dashed var(--line-2); }
.cat--toggle .ico { width: 16px; height: 16px; transition: transform .35s var(--e-spring); }
.cat__less { display: none; }
.cats.is-open .cat__less { display: inline; } .cats.is-open .cat__more { display: none; } .cats.is-open .cat--toggle .ico { transform: rotate(180deg); }
.cat--link > span { padding-right: 14px; }
@media (max-width: 620px) { .cat > span { height: 36px; font-size: .88rem; } .cat > span small { display: none; } }

/* страница „Категории“ */
.cathead { margin-bottom: 24px; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.cattile { --c: #a78bfa; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: start; padding: 18px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--sh), inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--e-spring), box-shadow .3s; }
.cattile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at 0 0, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%); opacity: .7; transition: opacity .3s; }
.cattile:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -22px var(--c), inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.cattile:hover::before { opacity: 1; }
.cattile .catico { grid-row: span 2; }
.cattile:hover .catico { transform: rotate(-8deg) scale(1.06); }
.cattile .catico { transition: transform .4s var(--e-spring); }
.cattile__txt { display: grid; gap: 4px; }
.cattile__txt b { font: 1.15rem/1.2 var(--f-head); font-weight: 400; color: #fff; }
.cattile__txt span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.cattile__n { grid-column: 2; font-size: .8rem; font-weight: 700; color: var(--c); }
.cattile__go { position: absolute; right: 16px; top: 18px; width: 18px; height: 18px; color: var(--dim); transition: transform .35s var(--e-spring), color .2s; }
.cattile:hover .cattile__go { color: #fff; transform: translateX(4px); }

/* въпроси на страниците по категория */
.lfaq { margin-top: 48px; }
.lfaq .h2 { margin-bottom: 16px; }
.related { margin-top: 26px; }
.related h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--muted); }
.related__row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ред в списъка: по-малко числа, повече „влез и играй“ */
@media (min-width: 1101px) { .srv { grid-template-columns: 58px 72px minmax(0, 1fr) 236px; } }
.rank--new b .ico { width: 18px; height: 18px; color: var(--primary-3); }
.meta--play b { color: var(--ok-2); }
.srv__side { gap: 8px; }
.srv__sup { text-align: center; font-size: .8rem; color: var(--dim); }
.srv__sup b { color: var(--accent-2); font-variant-numeric: tabular-nums; }
.ipbtn--play { height: 48px; padding-right: 6px; }
.ipbtn--play .ipbtn__txt { font: 600 .9rem/1 var(--f-mono); }
.ipbtn--play .ipbtn__ico { width: auto; height: 36px; padding: 0 11px; gap: 6px; display: inline-flex; align-items: center; border-radius: 10px; color: #062012;
  background: linear-gradient(135deg, #4ade80, #22c55e 55%, #16a34a); box-shadow: 0 6px 18px -8px rgba(34, 197, 94, .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.ipbtn--play .ipbtn__ico .ico { position: static; width: 15px; height: 15px; }
.ipbtn--play .ipbtn__ico .c2 { display: none; }
.ipbtn--play.is-copied .ipbtn__ico .c1 { display: none; } .ipbtn--play.is-copied .ipbtn__ico .c2 { display: block; }
.ipbtn__lbl { font: .8rem/1 var(--f-head); letter-spacing: .02em; white-space: nowrap; }
.btn--support { --bh: 42px; color: #fff; background: rgba(244, 63, 94, .1); box-shadow: inset 0 0 0 1.5px rgba(251, 113, 133, .55); font-weight: 700; transition: background .25s, box-shadow .25s, transform .3s var(--e-spring), color .2s; }
.btn--support .ico { color: var(--accent-2); fill: currentColor; fill-opacity: 0; transition: transform .4s var(--e-spring), fill-opacity .25s; }
.btn--support:hover { background: linear-gradient(135deg, #f43f5e, #e11d74); box-shadow: 0 10px 26px -10px rgba(244, 63, 94, .9); transform: translateY(-2px); }
.btn--support:hover .ico { color: #fff; fill-opacity: 1; transform: scale(1.18); animation: logobeatico 1s ease-in-out infinite; }
@keyframes logobeatico { 0%, 100% { scale: 1; } 15% { scale: 1.2; } 30% { scale: .95; } 45% { scale: 1.1; } }
.btn--icon { --bh: 48px; width: 48px; padding: 0; }
@media (max-width: 720px) {
  .srv__side { grid-template-columns: minmax(0, 1fr) auto; }
  .srv__side .btn--support span { display: none; }
  .srv__side .btn--support { width: 48px; --bh: 48px; padding: 0; }
  .srv__sup { grid-column: 1 / -1; }
}

/* премиум картите: по-ниски, за да се виждат и сървърите под тях */
.pcard { gap: 10px; padding: 18px; }
.pcard__name { display: grid; gap: 4px; white-space: normal; }
.pcard__name > :first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__name small { font: 500 .82rem/1.3 var(--f-body); color: var(--muted); }
.pcard__name small b { color: var(--ok-2); }
.pcard--free { min-height: 0; gap: 8px; padding-top: 56px; }
.pcard__ghost { height: 64px; }
.pcard__ghost .vox { transform: scale(.7); }

/* падащите менюта: никога лента за плъзгане настрани */
.uisel__list { overflow-x: hidden; }
.uisel__opt.is-act { transform: none; padding-left: 15px; padding-right: 9px; }
.uisel__opt { min-width: 0; }
.uisel__opt > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ipbtn--play .ipbtn__done { right: 108px; }
.ipbtn--play.is-copied .ipbtn__ico { background: linear-gradient(135deg, #86efac, #4ade80); }
.cat--toggle > span { box-shadow: none; }

/* поправки след първия преглед */
.nav__a { white-space: nowrap; }
.logo__gloss { animation: logogloss 5.5s var(--e-io) infinite 1.5s; }
@keyframes logogloss { 0%, 72% { translate: 0 0; } 100% { translate: 80px 0; } }
.pcard__nm { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pcard__nm > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__id .sicon { --s: 60px !important; }
.pcard--free .pcard__ghost { display: none; }
.pcard--free { padding-top: 60px; justify-content: center; }
.intro { padding-top: clamp(14px, 2.4vw, 26px); }
.intro__h { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
.intro__lead { margin-top: 10px; }
.intro__pills { margin-top: 14px; }
.intro__art { height: 190px; margin: -16px 0 -26px; }
.intro__art .sc { inset: -16% -8%; width: 116%; height: 132%; }
.page-home .pzone { margin-top: 22px; }
.page-home .list-wrap { margin-top: 22px; }
@media (max-width: 1360px) { .nav__a .ico { display: none; } .nav__a { padding: 0 11px; } .logo__txt small { display: none; } }
@media (max-width: 1100px) { .hsrch__kbd { display: none; } .hsrch__in { padding-right: 14px; } }
@media (prefers-reduced-motion: reduce) { .logo__gloss, .logo__heart { animation: none !important; } }
@media (max-width: 1520px) { .logo__txt small { display: none; } }
.hsrch { min-width: 190px; }
@media (max-width: 960px) { .hsrch__pop { background: #15132e; } }
.intro__art { margin: 0 0 -30px; }
.intro__art .sc { inset: auto; top: 0; left: -8%; width: 116%; height: 122%; }

/* един бутон „Log in“ в горната лента; на страницата превключваш между вход и регистрация */
.authsw { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: -4px 0 24px; padding: 5px; border-radius: 15px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.authsw a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 11px;
  font-weight: 700; color: var(--muted); transition: color .25s, background .25s; }
.authsw a .ico { width: 17px; height: 17px; }
.authsw a:not(.is-on):hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.authsw a.is-on { color: #fff; }
.authsw__ink { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 11px; pointer-events: none;
  background: linear-gradient(135deg, var(--primary), #c026d3 55%, #e11d48); box-shadow: 0 10px 26px -12px rgba(192, 38, 211, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
  view-transition-name: authsw-ink; }
.authsw--reg .authsw__ink { left: 50%; }
::view-transition-group(authsw-ink) { animation-duration: .45s; animation-timing-function: cubic-bezier(.34, 1.36, .64, 1); }
.intro__art { margin: 0; height: 210px; -webkit-mask: linear-gradient(180deg, #000 70%, transparent 100%) no-repeat; mask: linear-gradient(180deg, #000 70%, transparent 100%) no-repeat; }
.intro__art .sc { top: -2%; height: 124%; }

/* ============================== зареждане: кубчето се сглобява, сърцето се пиксели ============================== */
.ldr { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: radial-gradient(560px 380px at 50% 44%, rgba(124, 58, 237, .3), transparent 70%), radial-gradient(420px 300px at 60% 70%, rgba(244, 63, 94, .14), transparent 70%), #07071a;
  clip-path: circle(150% at 50% 44%); transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), opacity .4s .35s, visibility 0s .8s;
  animation: ldrauto .4s 3.4s forwards; }
html.ldr-done .ldr { clip-path: circle(0% at 50% 44%); opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes ldrauto { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.ldr__in { display: grid; justify-items: center; gap: 16px; }
.ldr__cube { width: 104px; height: 104px; overflow: visible; filter: drop-shadow(0 16px 34px rgba(192, 38, 211, .55)); animation: ldrfloat 2.4s ease-in-out .9s infinite; }
.ldr__f { transform-box: fill-box; transform-origin: center; animation: .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.ldr__f--t { animation-name: ldrtop; }
.ldr__f--l { animation-name: ldrleft; animation-delay: .08s; }
.ldr__f--r { animation-name: ldrright; animation-delay: .16s; }
@keyframes ldrtop { from { opacity: 0; translate: 0 -16px; } }
@keyframes ldrleft { from { opacity: 0; translate: -14px 9px; } }
@keyframes ldrright { from { opacity: 0; translate: 14px 9px; } }
.ldr__h { transform-box: fill-box; transform-origin: center; animation: ldrbeat 1.1s ease-in-out .95s infinite; }
.ldr__h rect { transform-box: fill-box; transform-origin: center; animation: ldrpx .3s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(.3s + var(--i) * 12ms); }
@keyframes ldrpx { from { opacity: 0; scale: 0; } }
@keyframes ldrbeat { 0%, 100% { scale: 1; } 14% { scale: 1.13; } 28% { scale: 1; } 42% { scale: 1.07; } 56% { scale: 1; } }
@keyframes ldrfloat { 50% { translate: 0 -6px; } }
.ldr__name { font: 400 1.55rem/1 var(--f-head); color: #fff; letter-spacing: .01em; animation: ldrname .5s var(--e-out) .3s both; }
@keyframes ldrname { from { opacity: 0; translate: 0 8px; } }
.ldr__bar { width: 150px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ldr__bar i { display: block; height: 100%; transform-origin: left center; border-radius: inherit; background: linear-gradient(90deg, #7c3aed, #c026d3, #f43f5e);
  animation: ldrload 1.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ldrload { from { scale: 0 1; } to { scale: .88 1; } }
html.ldr-done .ldr__bar i { scale: 1 1; animation: none; transition: scale .25s; }
@media (prefers-reduced-motion: reduce) { .ldr, .ldr * { animation-duration: .01s !important; animation-delay: 0s !important; } .ldr { transition: opacity .2s, visibility 0s .2s; } }

/* ============================== без скриптове сайтът е заключен ============================== */
.jsreq { position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; padding: 20px; background: rgba(7, 7, 26, .93);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; animation: jsreqin .35s ease 5s forwards; }
html.mv-ok .jsreq { display: none; }
html.mv-blocked .jsreq { animation-delay: 0s; }
@keyframes jsreqin { to { opacity: 1; visibility: visible; } }
.jsreq__card { width: min(520px, 100%); padding: 30px 28px; border-radius: 24px; text-align: center; color: var(--muted);
  background: linear-gradient(160deg, rgba(30, 26, 62, .98), rgba(14, 12, 34, .98)); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -30px #000; }
.jsreq__ico { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 14px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--primary), #c026d3 60%, #e11d48); box-shadow: 0 14px 34px -12px rgba(192, 38, 211, .9); }
.jsreq__ico .ico { width: 30px; height: 30px; }
.jsreq h2 { margin-bottom: 10px; font: 400 1.5rem/1.2 var(--f-head); color: #fff; }
.jsreq p { line-height: 1.55; }
.jsreq ul { margin: 16px 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; text-align: left; }
.jsreq li { padding: 11px 14px; border-radius: 13px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; line-height: 1.45; }
.jsreq li b { color: var(--text); }

/* ============================== кодът за банера: етикет и „Copy“ на един ред, текстът отдолу ============================== */
.code { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.code__lang { position: static; padding: 12px 0 0 16px; }
.code__copy { position: static; margin: 8px 8px 0 0; }
.code pre { grid-column: 1 / -1; padding: 10px 16px 16px; }

/* лепкавата лента е извън <main>, над долната лента; крие се, когато долната лента се покаже */
.stickyvote { z-index: 60; }

/* ============================== десен бутон: наше меню ============================== */
.ctx { position: fixed; z-index: 9500; min-width: 236px; max-width: 300px; padding: 6px; border-radius: 16px; color: var(--text);
  background: rgba(19, 17, 43, .97); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .26), 0 24px 60px -18px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .3);
  transform-origin: var(--ox, 0) var(--oy, 0); animation: ctxin .22s var(--e-out) both; }
.ctx.is-out { animation: ctxout .14s ease-in forwards; }
@keyframes ctxin { from { opacity: 0; scale: .92; } }
@keyframes ctxout { to { opacity: 0; scale: .96; } }
.ctx__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.ctx__nav button { display: grid; place-items: center; height: 38px; border-radius: 10px; color: var(--muted); transition: background .2s, color .2s; }
.ctx__nav button:disabled { opacity: .35; cursor: default; }
.ctx__nav .ico { width: 18px; height: 18px; }
.ctx__it { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 11px; width: 100%; padding: 9px 11px; border-radius: 10px;
  font-size: .9rem; text-align: left; color: var(--muted); transition: background .18s, color .18s; animation: ctxit .25s var(--e-out) both; animation-delay: calc(var(--i, 0) * 22ms); }
@keyframes ctxit { from { opacity: 0; translate: -6px 0; } }
.ctx__it .ico { width: 17px; height: 17px; color: var(--primary-3); }
.ctx__it kbd { font: 600 .68rem/1 var(--f-mono); color: var(--dim); }
.ctx__it.is-act, .ctx__nav button.is-act, .ctx__nav button:not(:disabled):hover, .ctx__it:hover { color: #fff; background: linear-gradient(135deg, rgba(124, 58, 237, .45), rgba(192, 38, 211, .3)); }
.ctx__it--ip .ico { color: var(--ok-2); }
.ctx__sep { height: 1px; margin: 5px 6px; background: var(--line); }
.ctx__foot { display: flex; align-items: center; gap: 8px; padding: 8px 11px 4px; font-size: .72rem; color: var(--dim); }
.ctx__foot svg { width: 14px; height: 14px; }
.page-server .totop.is-on { bottom: 22px; }
html.has-sticky .totop.is-on { bottom: 86px; }
.totop { transition-property: opacity, visibility, transform, background, bottom; }

/* ============================== поправки от прегледа на дизайна (28.11) ============================== */
/* менютата и падащите списъци: плътен фон, текстът отдолу не прозира */
.umenu__pop, .uisel__pop { background: #15132e; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 960px) {
  .nav { background: #0b0a20; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* нищо скрито (подсказки, сенки) не разширява страницата настрани */
.main { overflow-x: clip; }
/* подсказките на последните/първите стълбове в графиката не излизат от картата */
.bars__b:nth-last-child(-n+5)[data-tip]::after { left: auto; right: 0; transform: translate(0, 6px) scale(.96); }
.bars__b:nth-last-child(-n+5)[data-tip]:hover::after, .bars__b:nth-last-child(-n+5)[data-tip]:focus-visible::after { transform: none; }
.bars__b:nth-child(-n+5)[data-tip]::after { left: 0; right: auto; transform: translate(0, 6px) scale(.96); }
.bars__b:nth-child(-n+5)[data-tip]:hover::after, .bars__b:nth-child(-n+5)[data-tip]:focus-visible::after { transform: none; }
/* картите една до друга започват на една височина */
:is(.about, .vote__grid, .auction__grid, .prules__grid, .claim__grid, .grid2) > .card + .card { margin-top: 0; }
.grid2 > * { min-width: 0; }
@media (max-width: 960px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
/* категориите: заглавието не влиза под стрелката */
.cattile__txt { padding-right: 22px; }
/* кодът: етикет и „Copy“ на първия ред, текстът под тях (и на /api) */
.code__lang { grid-row: 1; grid-column: 1; }
.code__copy { grid-row: 1; grid-column: 2; }
.code pre { grid-row: 2; }
.code pre code, .prose pre code { padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; }
/* бутонът за запазване стои в края на формата, не върху долната лента */
.savebar { position: sticky; z-index: 30; left: auto; right: auto; bottom: 12px; margin-top: 24px; padding: 12px; border-radius: 18px; background: #110f2a;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 44px -18px rgba(0, 0, 0, .95); animation: none; }
.savebar__in { padding: 0; max-width: none; }
/* копиране на IP: целият адрес се вижда; иконката на копчето на компютър, надписът на телефона */
.ipbtn--play .ipbtn__txt { font-size: .86rem; }
.ipbtn--play.is-copied .ipbtn__ico { background: #effdf4; color: #15803d; box-shadow: 0 6px 18px -8px rgba(34, 197, 94, .9); }
.ipbtn--play.is-copied .ipbtn__lbl { display: none; }
.ipbtn--play.is-copied .ipbtn__done { right: 60px; }
.pcard__acts .ipbtn__lbl { display: none; }
.pcard__acts .ipbtn--play .ipbtn__done { right: 60px; }
@media (min-width: 721px) {
  .srv__side .ipbtn__lbl { display: none; }
  .srv__side .ipbtn--play .ipbtn__ico { padding: 0 11px; }
  .srv__side .ipbtn--play .ipbtn__done { right: 60px; }
}
/* сървър в списъка (телефон/таблет): IP + сърце на един ред, броят под тях */
@media (max-width: 960px) {
  .srv__side { grid-template-columns: minmax(0, 1fr) auto; }
  .srv__side .ipbtn { grid-column: 1; }
  .srv__side .btn--support { grid-column: 2; grid-row: 1; }
  .srv__sup { grid-column: 1 / -1; }
}
/* описанието от играта (MOTD) в списъка: по ред, без пренасяне, центрирано като в Minecraft */
.srv__banner .motd { display: block; width: 100%; white-space: nowrap; text-overflow: ellipsis; text-align: center; }
@media (max-width: 720px) {
  .srv__banner:has(.mcbox) { aspect-ratio: auto; height: 48px; }
  .srv__banner .mcbox { padding: 4px 10px; }
  .srv__banner .motd { font-size: .72rem; line-height: 1.35; }
}
/* табовете на сървъра на телефона: всички се побират */
@media (max-width: 720px) {
  .tabs__bar [role="tab"] { flex: 1 1 40px; min-width: 40px; padding: 0 8px; }
  .tabs__bar [role="tab"][aria-selected="true"] { flex: 0 0 auto; padding: 0 14px; }
}
/* моите сървъри на телефона: числата в един ред */
@media (max-width: 960px) {
  .mys__nums { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 8px 18px; }
}
/* админ на телефона */
.hsearch--sm .btn { width: auto; padding: 0 16px; margin-right: 4px; }
.hsearch--sm .btn span { display: inline; }
.admin form + .h3, .admin form + h3 { margin-top: 18px; }
@media (max-width: 720px) {
  .admin .seg { flex-wrap: wrap; height: auto; }
  .admin .seg__opt--link { flex: 1 1 auto; }
}
/* „нагоре“ не застъпва последния ред на долната лента */
@media (max-width: 720px) { .ftr__bottom { padding-right: 62px; } }
/* празното премиум място: равномерна пунктирана рамка */
.pcard--free .pcard__border { padding: 0; background: none; border: 2px dashed rgba(167, 139, 250, .55); -webkit-mask: none; mask: none; animation: freeglow 3.2s ease-in-out infinite; }
@keyframes freeglow { 50% { border-color: rgba(192, 132, 252, .9); } }
