:root {
  --bg: #0b0c10; --surface: #12141a; --surface-2: #181b23; --line: #23262f;
  --text: #eceef3; --muted: #8a8fa0; --accent: #7c6cff; --mod: #7c6cff; --plugin: #2fd4a0;
  --danger: #ff6b6b; --radius: 16px; --gut: clamp(10px, 2vw, 28px);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f9; --surface: #fff; --surface-2: #f0f1f5; --line: #e2e4ec;
    --text: #14161c; --muted: #6a6f80; --mod: #6454f0; --plugin: #11a67a; --accent: #6454f0;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; text-decoration: none; }
.glow {
  position: fixed; inset: -20% 0 auto 0; height: 60vh; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 60% at 50% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%);
}
.wrap { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 16px var(--gut) 64px; flex: 1; }
.narrow { max-width: 520px; }

/* шапка */
.top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; width: 100%; margin: 0 auto; padding: 16px var(--gut); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 18px; }
.logo i { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); display: block; position: relative; }
.logo i::before, .logo i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.logo i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; transition: color .15s, background .15s; }
.top nav a:hover, .top nav a.on { color: var(--text); background: var(--surface-2); }
.foot { position: relative; z-index: 1; text-align: center; padding: 24px; color: var(--muted); font-size: 14px; }
.foot a:hover { color: var(--text); }

/* главная */
.hero { text-align: center; padding: 8vh 0 40px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(36px, 7vw, 64px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.hero p { margin: 0 auto; max-width: 460px; color: var(--muted); font-size: 18px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.big {
  --a: var(--accent); position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 220px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.big::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 100% 0%, color-mix(in oklab, var(--a) 24%, transparent), transparent 65%); opacity: .7; transition: opacity .2s; }
.big:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--a) 60%, var(--line)); }
.big:hover::before { opacity: 1; }
.big > * { position: relative; }
.big.mod { --a: var(--mod); } .big.plugin { --a: var(--plugin); }
.big h2 { margin: 0; font-size: 34px; letter-spacing: -.03em; }
.big small { color: var(--muted); font-size: 15px; }
.big .arrow { align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: #fff; font-size: 20px; transition: transform .2s; }
.big:hover .arrow { transform: translateX(4px); }
.big .top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.badge { padding: 4px 12px; border-radius: 999px; background: color-mix(in oklab, var(--a) 16%, transparent); color: var(--a); font-size: 13px; font-weight: 600; }

/* список */
.head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 24px 0; }
.head h1 { margin: 0; font-size: 32px; letter-spacing: -.03em; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tabs a { padding: 7px 18px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.tabs a.on { background: var(--surface-2); color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card { --a: var(--accent); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.card.mod { --a: var(--mod); } .card.plugin { --a: var(--plugin); }
.card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--a) 55%, var(--line)); }
.cover { aspect-ratio: 16/9; background: linear-gradient(135deg, color-mix(in oklab, var(--a) 35%, var(--surface-2)), var(--surface-2)); display: grid; place-items: center; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover span { font-size: 40px; font-weight: 700; color: color-mix(in oklab, var(--a) 70%, #fff); opacity: .8; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 6px; }
.tag { padding: 2px 10px; border-radius: 999px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 64px 0; }

/* страница публикации */
.item { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; margin-top: 8px; }
.item .cover { border-radius: var(--radius); border: 1px solid var(--line); }
.item h1 { margin: 20px 0 6px; font-size: 38px; letter-spacing: -.03em; line-height: 1.1; }
.item .lead { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; }
.side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.side dt { color: var(--muted); } .side dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.back { color: var(--muted); font-size: 14px; display: inline-block; margin-top: 12px; }
.back:hover { color: var(--text); }

/* формы и кнопки */
.btn {
  appearance: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px;
  display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 12px;
  background: var(--accent); color: #fff; transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.1); } .btn:active { transform: scale(.98); }
.btn.mod { background: var(--mod); } .btn.plugin { background: var(--plugin); color: #04130d; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn.ghost:hover { background: var(--surface-2); filter: none; }
.btn.danger { background: transparent; border-color: color-mix(in oklab, var(--danger) 50%, var(--line)); color: var(--danger); }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.panel h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.02em; }
.panel .sub { margin: 0 0 22px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > label, .field > .lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
input, textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 14px; outline: none; transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }
.hint { font-size: 12px; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.err { color: var(--danger); font-size: 14px; min-height: 20px; margin: 0 0 10px; }
.ok { color: var(--plugin); font-size: 14px; }
.steps { display: flex; gap: 6px; margin-bottom: 22px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps i.on { background: var(--accent); }
.actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.code { font-family: ui-monospace, monospace; letter-spacing: .08em; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; }
.seg input:checked + span { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 16%, var(--surface-2)); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.drop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line); background: var(--surface-2); font-size: 14px; }
.drop .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar b { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s; }
.thumb { width: 96px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }

/* админка */
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.li .t { flex: 1; min-width: 0; }
.li .t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .t small { color: var(--muted); }
.li .ph { width: 64px; aspect-ratio: 16/9; border-radius: 8px; background: var(--surface-2); object-fit: cover; flex: none; }
.pill { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill.mod { background: color-mix(in oklab, var(--mod) 18%, transparent); color: var(--mod); }
.pill.plugin { background: color-mix(in oklab, var(--plugin) 18%, transparent); color: var(--plugin); }
.pill.draft { background: var(--surface-2); color: var(--muted); }
.sp { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .choice { grid-template-columns: 1fr; } .big { min-height: 160px; }
  .item { grid-template-columns: 1fr; } .side { position: static; }
  .row { grid-template-columns: 1fr; }
  .li { flex-wrap: wrap; } .li .ph { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ───── лого и полировка ───── */
.logo img { width: 30px; height: 30px; display: block; filter: drop-shadow(0 4px 12px color-mix(in oklab, var(--accent) 50%, transparent)); }
.hero-logo { display: block; width: 112px; height: 112px; margin: 0 auto 26px; filter: drop-shadow(0 14px 40px color-mix(in oklab, var(--accent) 55%, transparent)); animation: float 6s ease-in-out infinite; }
.hero-logo.sm { width: 72px; height: 72px; margin-bottom: 18px; }
@keyframes float { 50% { transform: translateY(-6px); } }
.glow { background:
  radial-gradient(45% 55% at 50% 0%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 70%),
  radial-gradient(30% 40% at 85% 10%, color-mix(in oklab, var(--plugin) 14%, transparent), transparent 70%); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: radial-gradient(color-mix(in oklab, var(--text) 9%, transparent) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.top { backdrop-filter: blur(10px); }
.hero h1 { background: linear-gradient(180deg, var(--text), color-mix(in oklab, var(--text) 62%, var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big { box-shadow: 0 1px 0 color-mix(in oklab, #fff 6%, transparent) inset, 0 20px 50px -30px #000; }
.big h2 { font-size: 40px; }
.card { box-shadow: 0 18px 40px -28px #000; }
.card:hover { box-shadow: 0 22px 50px -26px color-mix(in oklab, var(--a) 45%, #000); }
.panel { box-shadow: 0 30px 70px -40px #000; }
.btn { box-shadow: 0 8px 22px -10px color-mix(in oklab, var(--accent) 80%, transparent); }
.btn.ghost, .btn.danger { box-shadow: none; }
.btn.plugin { box-shadow: 0 8px 22px -10px var(--plugin); }

/* зона перетаскивания */
.dz { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.dz:hover, .dz:focus-visible { border-color: var(--accent); outline: none; }
.dz.over { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 14%, var(--surface-2)); transform: scale(1.01); }
.dz.busy { pointer-events: none; opacity: .8; }
.dz b { display: block; font-weight: 600; } .dz .hint { display: block; }
.dz-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--accent); font-size: 20px; flex: none; }
.big-dz { flex-direction: column; justify-content: center; text-align: center; padding: 38px 16px; gap: 12px; }
.big-dz .dz-ico { width: 56px; height: 56px; font-size: 26px; border-radius: 16px; }
.big-dz b { font-size: 18px; }
.chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: color-mix(in oklab, var(--plugin) 10%, var(--surface-2)); border: 1px solid color-mix(in oklab, var(--plugin) 35%, var(--line)); }
.chip[hidden], .dz[hidden] { display: none; }
.chip .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .ico { font-size: 20px; }

/* вход через Xlet */
.top nav { margin-left: auto; margin-right: 12px; }
.who { display: flex; align-items: center; gap: 10px; }
.who-name { font-size: 14px; color: var(--muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel.login { max-width: 460px; margin: 4vh auto 0; text-align: center; }
.panel.login .sub { margin-bottom: 18px; }
.qrbox { position: relative; width: 264px; height: 264px; margin: 0 auto; display: grid; place-items: center; border-radius: 22px; background: #fff; padding: 12px; box-shadow: 0 24px 60px -30px color-mix(in oklab, var(--accent) 70%, #000); }
.qrbox img { display: block; width: 240px; height: 240px; }
.qr-left { position: absolute; bottom: -30px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.qr-side { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.qrsteps { margin: 0; padding: 0; list-style: none; counter-reset: s; text-align: left; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.qrsteps li { counter-increment: s; display: flex; gap: 10px; align-items: center; }
.qrsteps li::before { content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 20%, transparent); color: var(--accent); font-size: 12px; font-weight: 700; }
.qr-code { display: flex; gap: 8px; justify-content: center; }
.qr-code[hidden] { display: none; }
.qr-code b { width: 44px; height: 56px; display: grid; place-items: center; border-radius: 12px; font-size: 28px; background: var(--surface-2); border: 1px solid var(--line); }
.qr-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.link { appearance: none; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--text); }
.center { text-align: center; } .hint.center { margin: 0; }
.ul { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.panel.login > .hint { margin-top: 22px; }
.spin { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #ddd; border-top-color: var(--accent); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.okmark { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--plugin); color: #04130d; font-size: 48px; font-weight: 700; animation: pop .35s ease; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.qrbox .err { color: #c00; padding: 0 12px; }

.sha { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.sha code { font: 11px/1.4 ui-monospace, monospace; color: var(--muted); word-break: break-all; user-select: all; }

.qrwhite { display: block; margin: 12px auto; background: #fff; padding: 10px; border-radius: 14px; }
pre.codes { font: 15px/1.8 ui-monospace, monospace; background: var(--surface-2); padding: 14px 18px; border-radius: 12px; user-select: all; margin: 12px 0; }
.hint code { user-select: all; }

/* ───── анимированный фон ───── */
.glow { display: none; }
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg i { position: absolute; width: min(62vw, 760px); aspect-ratio: 1; border-radius: 50%; filter: blur(96px); opacity: .42; will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.bg i:nth-child(1) { left: -12%; top: -22%; background: var(--accent); }
.bg i:nth-child(2) { right: -14%; top: 6%; background: var(--plugin); opacity: .26; animation-duration: 32s; animation-delay: -9s; }
.bg i:nth-child(3) { left: 22%; bottom: -34%; background: #ff5fa2; opacity: .2; animation-duration: 38s; animation-delay: -17s; }
.bg i:nth-child(4) { right: 8%; bottom: -26%; width: min(46vw, 560px); background: #3da2ff; opacity: .22; animation-duration: 29s; animation-delay: -4s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(7vw, 5vh, 0) scale(1.12); }
  100% { transform: translate3d(-5vw, 9vh, 0) scale(.94); }
}
#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .75; }
@media (prefers-color-scheme: light) { .bg i { opacity: .26; } .bg i:nth-child(n+2) { opacity: .16; } #fx { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .bg i { animation: none !important; } }
.panel, .side, .li, .card, .big { backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.panel, .side, .li { background: color-mix(in oklab, var(--surface) 82%, transparent); }
.card, .big { background: color-mix(in oklab, var(--surface) 86%, transparent); }

/* ───── пошаговая настройка ───── */
.stepper { display: flex; align-items: center; gap: 0; margin: 0 0 26px; padding: 0; list-style: none; }
.stepper li { display: flex; align-items: center; gap: 10px; flex: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.stepper li b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); transition: background .25s, border-color .25s, color .25s; }
.stepper li.on { color: var(--text); } .stepper li.on b { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px var(--accent); }
.stepper li.done b { background: color-mix(in oklab, var(--plugin) 20%, var(--surface-2)); border-color: var(--plugin); color: var(--plugin); }
.stepper hr { flex: 1; height: 2px; border: 0; margin: 0 12px; border-radius: 2px; background: var(--line); }
.stepper hr.done { background: var(--plugin); }
.slide { animation: slide .32s cubic-bezier(.2,.8,.2,1); }
@keyframes slide { from { opacity: 0; transform: translateX(16px); } }
.pw { position: relative; display: block; }
.pw input { padding-right: 78px; }
.pw .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.fine { font-size: 12px; margin-top: 2px; min-height: 18px; color: var(--muted); }
.fine.bad { color: var(--danger); } .fine.good { color: var(--plugin); }
input.bad { border-color: var(--danger); } input.good { border-color: var(--plugin); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.meter i { height: 5px; border-radius: 5px; background: var(--line); transition: background .25s; }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--danger); }
.meter[data-s="2"] i:nth-child(-n+2) { background: #ffb020; }
.meter[data-s="3"] i:nth-child(-n+3) { background: #9ad94f; }
.meter[data-s="4"] i { background: var(--plugin); }
.rules { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 12px; color: var(--muted); }
.rules li::before { content: "○ "; } .rules li.ok { color: var(--plugin); } .rules li.ok::before { content: "● "; }
.sum { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 16px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; } .sum span { color: var(--muted); } .sum b { overflow-wrap: anywhere; text-align: right; }
.done-card { text-align: center; padding: 18px 0 6px; }
.done-card .okmark { margin: 0 auto 16px; }

/* ───── админка ───── */
.admin-top { position: sticky; top: 0; z-index: 5; padding: 12px 0; margin-bottom: 18px; backdrop-filter: blur(12px); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: color-mix(in oklab, var(--surface) 82%, transparent); backdrop-filter: blur(14px); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -24px; top: -24px; width: 80px; height: 80px; border-radius: 50%; background: var(--c, var(--accent)); opacity: .16; filter: blur(8px); }
.stat small { color: var(--muted); font-size: 13px; display: block; }
.stat b { font-size: 30px; letter-spacing: -.03em; line-height: 1.2; display: block; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar input[type=search] { max-width: 300px; }
.chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.chipb { appearance: none; cursor: pointer; font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); transition: all .15s; }
.chipb:hover { color: var(--text); } .chipb.on { background: color-mix(in oklab, var(--accent) 18%, transparent); border-color: var(--accent); color: var(--text); }
.li { transition: border-color .15s, transform .15s; } .li:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); }
.pill.bad { background: color-mix(in oklab, var(--danger) 18%, transparent); color: var(--danger); }
.pill.good { background: color-mix(in oklab, var(--plugin) 18%, transparent); color: var(--plugin); }
.avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; background: color-mix(in oklab, var(--accent) 22%, var(--surface-2)); color: var(--accent); }
.admin-note { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
@media (max-width: 760px) { .stepper li span { display: none; } .admin-top { position: static; } }
.reg { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.panel.login > p.hint { margin-top: 10px; }
.li small b { font-weight: 600; }
