/* Панель VPN — ретро-«рабочий стол» (кобальт, неон, окна-.exe) × стеклянные панели в духе iOS liquid glass */
@font-face { font-family: "Monocraft"; src: url("/static/fonts/monocraft.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Roboto Mono"; font-weight: 100 700; font-display: swap; src: url("/static/fonts/roboto-mono-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Mono"; font-weight: 100 700; font-display: swap; src: url("/static/fonts/roboto-mono-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #02007f;
  --cobalt: #004aad;
  --neon: #00ff00;
  --neon-ink: #031a03;
  --gray: #c3c3c3;
  --gray-dark: #505050;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .66);
  --faint: rgba(255, 255, 255, .14);
  --ok: #00ff00;
  --idle: #5ee7ff;
  --warn: #ffd23f;
  --err: #ff5a3c;
  --rx: #00ff00;
  --tx: #5ee7ff;
  /* стекло */
  --glass: rgba(255, 255, 255, .085);
  --glass-strong: rgba(255, 255, 255, .14);
  --glass-edge: rgba(255, 255, 255, .28);
  --glass-shadow: 0 18px 50px rgba(0, 0, 20, .45);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .25), inset 1px 0 0 rgba(255, 255, 255, .12);
  --blur: blur(22px) saturate(170%);
  --radius: 18px;
  --radius-sm: 10px;
  --pixel: "Monocraft", ui-monospace, monospace;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--navy); }
html, body { margin: 0; color: var(--text); font: 14px/1.5 var(--mono); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; min-height: 100dvh; background: transparent; }
[hidden] { display: none !important; }
a { color: var(--neon); text-decoration: none; }
h1, h2 { font-family: var(--pixel); font-weight: 400; letter-spacing: .01em; margin: 0; }
h1 { font-size: 30px; line-height: 1.15; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hint { color: var(--muted); font-size: 12px; margin: 0 0 14px; max-width: 820px; }
.link { display: inline-block; margin-top: 12px; font-size: 13px; }

/* фон: кобальтовый «рабочий стол», точечная сетка и цветные пятна — чтобы стекло было что преломлять */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(circle, rgba(255,255,255,.13) 1.2px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--cobalt) 0%, #0a2a9c 45%, var(--navy) 100%); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.g1 { width: 46vmax; height: 46vmax; left: -12vmax; top: -14vmax; background: #1d7cff; }
.g2 { width: 34vmax; height: 34vmax; right: -10vmax; top: 30vh; background: #00c853; opacity: .28; }
.g3 { width: 30vmax; height: 30vmax; left: 30vw; bottom: -16vmax; background: #6a3cff; opacity: .4; }

/* стекло */
.glass, .win, .kpi, .modal-card {
  background: linear-gradient(180deg, var(--glass-strong), var(--glass) 40%);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shine), var(--glass-shadow);
}

/* окно в стиле «.exe» */
.win { border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; min-width: 0; }
.win-title { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-family: var(--pixel); font-size: 13px;
  background: linear-gradient(90deg, rgba(2, 0, 127, .85), rgba(0, 74, 173, .55));
  border-bottom: 1px solid rgba(255, 255, 255, .18); text-transform: lowercase; }
.win-title > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-ico { width: 16px; height: 16px; flex: none; border-radius: 3px; background: var(--neon);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1 1h6v6H1z'/%3E%3C/svg%3E"); }
.ico-chart { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M0 7h8v1H0zM1 4h1v3H1zm2-2h1v5H3zm2 1h1v4H5zm2-3h1v7H7z'/%3E%3C/svg%3E"); }
.ico-cpu { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2 2h4v4H2zM3 0h1v2H3zm2 0h1v2H5zM3 6h1v2H3zm2 0h1v2H5zM0 3h2v1H0zm0 2h2v1H0zm6-2h2v1H6zm0 2h2v1H6z'/%3E%3C/svg%3E"); }
.ico-users { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2 1h2v2H2zm3 0h2v2H5zM1 4h4v3H1zm4 0h3v3H6z'/%3E%3C/svg%3E"); }
.ico-log { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1 0h5l1 1v7H1zm1 2v1h4V2zm0 2v1h4V4zm0 2v1h3V6z'/%3E%3C/svg%3E"); }
.ico-tg { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M0 3l8-3-1 8-3-2-1 2V5l3-3-4 2z'/%3E%3C/svg%3E"); }
.win-btns { display: flex; gap: 4px; }
.win-btns i { width: 14px; height: 13px; background: var(--gray); border-radius: 2px;
  box-shadow: inset -1px -1px 0 var(--gray-dark), inset 1px 1px 0 #fff; opacity: .85; }
.win-body { padding: 16px; }
.win-body.flush { padding: 0; }
.win-close { margin-left: auto; width: 26px; height: 24px; border: 0; border-radius: 5px; font: 16px/1 var(--mono); cursor: pointer;
  background: var(--gray); color: #000; box-shadow: inset -1px -1px 0 var(--gray-dark), inset 1px 1px 0 #fff; }

/* брендинг */
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 16px; color: var(--text); white-space: nowrap; }
.brand img { image-rendering: pixelated; flex: none; }
.brand-lg { font-size: 26px; margin-bottom: 4px; }

/* загрузка */
.boot { position: fixed; inset: 0; display: grid; place-items: center; }
.spinner { width: 28px; height: 28px; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--neon); animation: spin .9s steps(8) infinite; }
.spinner-sm { width: 14px; height: 14px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* вход */
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 16px; }
.login-win { width: 100%; max-width: 400px; margin: 0; }
.login-win .win-body { display: grid; gap: 14px; padding: 22px; }
.login-win p { margin: -6px 0 4px; font-size: 13px; }

/* поля */
.field { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.input, .field input { width: 100%; color: var(--text); font: 16px var(--mono); padding: 11px 12px; outline: none;
  background: rgba(0, 0, 40, .35); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-sm);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.35); transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: rgba(255,255,255,.45); }
.input:focus, .field input:focus { border-color: var(--neon); box-shadow: inset 0 2px 6px rgba(0,0,0,.35), 0 0 0 3px rgba(0,255,0,.18); }

/* кнопки: ретро-фаска + глянец */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px;
  font: 500 14px var(--mono); cursor: pointer; white-space: nowrap; border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,.55); color: #000; background: var(--gray);
  box-shadow: inset -2px -2px 0 rgba(0,0,0,.28), inset 2px 2px 0 rgba(255,255,255,.75), 0 4px 14px rgba(0,0,30,.3); }
.btn::after { content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 9px 9px 4px 4px;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); pointer-events: none; }
.btn:hover { filter: brightness(1.06); }
.btn:active { box-shadow: inset 2px 2px 0 rgba(0,0,0,.3), inset -1px -1px 0 rgba(255,255,255,.5); transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn:focus-visible { outline: 2px dashed var(--neon); outline-offset: 3px; }
.btn-primary { background: var(--neon); color: var(--neon-ink); }
.btn-danger { background: var(--err); color: #fff; }
.btn-gray { background: var(--gray); }
.btn-glass { background: rgba(255,255,255,.12); color: var(--text); border-color: rgba(255,255,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 14px rgba(0,0,30,.25); }
.btn-sm { min-height: 34px; padding: 5px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* уведомления в тексте */
.alert { border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13px; }
.alert-error { background: rgba(255, 90, 60, .16); color: #ffd0c6; border: 1px solid rgba(255, 90, 60, .55); }
.alert-warn { background: rgba(255, 210, 63, .12); color: #ffe89a; border: 1px solid rgba(255, 210, 63, .45); }
.banner { margin-bottom: 16px; }

/* каркас */
.taskbar { position: sticky; top: 10px; z-index: 30; margin: 10px 16px 0; padding: 8px 10px 8px 14px; border-radius: 16px;
  display: flex; align-items: center; gap: 18px; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 7px 14px; border-radius: 9px; color: var(--text); font-size: 14px; border: 1px solid transparent; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav a.active { background: var(--neon); color: var(--neon-ink); border-color: rgba(0,0,0,.5);
  box-shadow: inset -2px -2px 0 rgba(0,0,0,.25), inset 2px 2px 0 rgba(255,255,255,.6); }
.taskbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.who { color: var(--muted); font-size: 12px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.live .dot { width: 8px; height: 8px; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.live.stale .dot { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.live.err .dot { background: var(--err); box-shadow: 0 0 8px var(--err); }
.main { max-width: 1240px; margin: 0 auto; padding: 26px 16px 56px; min-width: 0; }
.page-head { margin-bottom: 18px; }
.page-head p { margin: 6px 0 0; font-size: 13px; }
.tabbar { display: none; }
.grid-2 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; }
.grid-2 > .win { margin-bottom: 18px; }

/* показатели */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.kpi { border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.kpi-label { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.kpi-value { font-family: var(--pixel); font-size: 26px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-value.ok { color: var(--neon); text-shadow: 0 0 14px rgba(0,255,0,.45); }
.kpi-value.bad { color: var(--err); }
.kpi-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.kpi .bar { margin-top: 10px; }

/* шкалы */
.meters { display: grid; gap: 16px; }
.meter-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; gap: 8px; }
.meter-top b { font-weight: 500; font-variant-numeric: tabular-nums; }
.bar { height: 12px; padding: 2px; border-radius: 6px; background: rgba(0,0,40,.4); box-shadow: inset 0 1px 3px rgba(0,0,0,.5); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; transition: width .4s;
  background: repeating-linear-gradient(90deg, var(--neon) 0 7px, transparent 7px 9px); }
.bar.warn > i { background: repeating-linear-gradient(90deg, var(--warn) 0 7px, transparent 7px 9px); }
.bar.err > i { background: repeating-linear-gradient(90deg, var(--err) 0 7px, transparent 7px 9px); }

/* график */
.chart { height: 200px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .grid line { stroke: rgba(255,255,255,.14); stroke-dasharray: 2 4; }
.chart text { fill: var(--muted); font-size: 10px; font-family: var(--mono); }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.legend i { width: 10px; height: 10px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.lg-rx { background: var(--rx); } .lg-tx { background: var(--tx); }
.empty { color: var(--muted); text-align: center; padding: 26px 12px; font-size: 13px; }

/* статусы */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 7px; font-size: 12px; white-space: nowrap;
  border: 1px solid currentColor; background: rgba(0,0,30,.35); }
.pill::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.pill-online { color: var(--ok); } .pill-online::before { box-shadow: 0 0 6px var(--ok); }
.pill-idle { color: var(--idle); }
.pill-never { color: rgba(255,255,255,.6); }
.pill-disabled { color: var(--err); }
.pill-blocked { color: var(--err); }
.pill-linked { color: var(--idle); }
.pill-ok { color: var(--ok); }
.pill-bad { color: var(--err); }

/* таблица клиентов */
.toolbar { display: flex; gap: 12px; margin-bottom: 12px; }
.toolbar .input { max-width: 380px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 11px; font-weight: 500; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--faint);
  white-space: nowrap; text-transform: lowercase; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--faint); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255,255,255,.04); }
.table tr.is-disabled td:not([data-c=act]):not([data-c=sw]) { opacity: .55; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cname { font-weight: 600; word-break: break-word; }
.csub { color: var(--muted); font-size: 12px; }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.traffic { display: grid; gap: 1px; font-size: 12px; }
.traffic .down::before { content: "↓ "; color: var(--rx); } .traffic .up::before { content: "↑ "; color: var(--tx); }

/* переключатель */
.switch { position: relative; display: inline-block; width: 50px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: rgba(0,0,40,.45); border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 2px 5px rgba(0,0,0,.45); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(180deg, #fff, #cfd6e4); box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.switch input:checked + span { background: var(--neon); border-color: rgba(0,0,0,.4); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 2px dashed var(--neon); outline-offset: 3px; }
.switch input:disabled { cursor: progress; }
.switch input:disabled + span { opacity: .6; }

/* журнал */
.audit-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--faint); font-size: 13px; align-items: baseline; }
.audit-row:last-child { border-bottom: 0; }
.audit-row .t { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.audit-row .d { color: var(--muted); font-size: 12px; }
.audit-row .ip { color: var(--muted); font-size: 11px; }
.audit-row.bad .a { color: #ffb4a4; }

/* скелетоны */
.skel { height: 14px; margin: 12px 0; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.18), rgba(255,255,255,.06));
  background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* модальное окно */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 40, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-card { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow: auto; margin: 0; animation: pop .22s cubic-bezier(.3,1.3,.5,1); }
.modal-body { display: grid; gap: 14px; }
.modal-body p { margin: 0; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.qr-box { background: #fff; border-radius: 12px; padding: 10px; display: grid; place-items: center; min-height: 260px; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.qr-box img { width: 100%; max-width: 320px; height: auto; image-rendering: pixelated; }
.qr-box .spinner { border-color: #ddd; border-top-color: #0a2a9c; }
.secret-note { font-size: 12px; color: #ffe89a; }
code { font-family: var(--mono); background: rgba(0,0,40,.4); padding: 1px 5px; border-radius: 4px; }

/* всплывающие сообщения */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); }
.toast { border-radius: 14px; padding: 12px 14px; font-size: 13px; animation: pop .22s ease-out;
  background: rgba(10, 30, 120, .72); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge); border-left: 4px solid var(--neon); box-shadow: var(--glass-shine), var(--glass-shadow); }
.toast.err { border-left-color: var(--err); }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }

/* ---------------- адаптив ---------------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  h1 { font-size: 24px; }
  .taskbar { top: 0; margin: 0; border-radius: 0 0 18px 18px; border-top: 0; padding: calc(8px + env(safe-area-inset-top)) 16px 10px; }
  .nav, .who, #logout { display: none; }
  .live #live-text { display: none; }
  .main { padding: 18px 16px calc(100px + env(safe-area-inset-bottom)); }
  .kpis { gap: 10px; margin-bottom: 14px; }
  .kpi { padding: 12px 13px; border-radius: 16px; }
  .kpi-value { font-size: 20px; }
  .win { margin-bottom: 14px; }
  .win-btns { display: none; }
  /* нижняя стеклянная панель, как в iOS */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 12px; right: 12px; z-index: 40;
    bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 26px; padding: 6px; }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; border-radius: 20px;
    color: var(--text); font: 11px var(--mono); background: none; border: 0; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; fill: currentColor; }
  .tabbar a.active { background: rgba(255,255,255,.16); color: var(--neon); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
  .toolbar { flex-direction: column; }
  .toolbar .input { max-width: none; }
  /* строки клиентов превращаются в карточки */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 14px; border-bottom: 1px solid var(--faint); display: grid; grid-template-columns: 1fr auto;
    grid-template-areas: "name sw" "state state" "last traf" "act act"; gap: 8px 12px; }
  .table tbody tr:last-child { border-bottom: 0; }
  .table td { padding: 0; border: 0 !important; }
  .table td[data-c=name] { grid-area: name; }
  .table td[data-c=sw] { grid-area: sw; }
  .table td[data-c=state] { grid-area: state; }
  .table td[data-c=last] { grid-area: last; font-size: 12px; color: var(--muted); }
  .table td[data-c=traf] { grid-area: traf; text-align: right; }
  .table td.traffic { display: grid; justify-items: end; }
  .table td[data-c=act] { grid-area: act; }
  .table td[data-c=act] .actions { justify-content: stretch; }
  .table td[data-c=act] .btn { flex: 1; }
  .audit-row { grid-template-columns: 1fr; gap: 2px; }
  .toasts { bottom: calc(96px + env(safe-area-inset-bottom)); left: 16px; right: 16px; width: auto; }
  .modal { place-items: end center; padding: 0; }
  .modal-card { border-radius: 24px 24px 0 0; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .win, .kpi, .modal-card { background: rgba(10, 30, 130, .92); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* пользователи / бот */
.bot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.bot-row .grow { flex: 1; min-width: 220px; }
.invite { display: grid; gap: 10px; }
.invite-link { display: flex; gap: 8px; }
.invite-link input { flex: 1; min-width: 0; font-size: 13px; }
.sel { width: 100%; color: var(--text); font: 16px var(--mono); padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(0,0,40,.55); border: 1px solid rgba(255,255,255,.22); }
.sel option { background: #0a2a9c; }
.limit-input { width: 90px; }
@media (max-width: 760px) { .tabbar a span, .tabbar button span { font-size: 10px; } }
