/* ═══ manaAI platforma — tokenlar, qobiq, umumiy komponentlar ═══
   Rang: oq · qora · yashil. Neytrallar yashil tusga (hue 150) juda oz moyil. */

:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --brand-font: "Archivo", var(--font);

  /* Kontent — yorug' */
  --bg: oklch(0.982 0.003 150);
  --surface: oklch(0.997 0.002 150);
  --surface-2: oklch(0.962 0.004 150);
  --line: oklch(0.912 0.005 150);
  --line-2: oklch(0.86 0.006 150);
  --ink: oklch(0.21 0.012 150);
  --ink-2: oklch(0.36 0.012 150);
  --muted: oklch(0.5 0.012 150);
  --faint: oklch(0.63 0.01 150);

  --green: oklch(0.63 0.17 148);
  --green-ink: oklch(0.47 0.13 148);
  --green-soft: oklch(0.95 0.04 148);
  --lime: oklch(0.87 0.19 128);
  --lime-ink: oklch(0.24 0.06 130);
  --red: oklch(0.56 0.19 27);
  --red-soft: oklch(0.96 0.025 27);

  --btn-bg: var(--ink);
  --btn-ink: var(--surface);
  --btn-bg-hover: oklch(0.31 0.014 150);

  /* Sidebar — ikkala temada ham qorong'i */
  --sb-bg: oklch(0.165 0.006 150);
  --sb-panel: oklch(0.205 0.007 150);
  --sb-line: oklch(0.27 0.008 150);
  --sb-ink: oklch(0.94 0.005 150);
  --sb-muted: oklch(0.72 0.01 150);
  --sb-faint: oklch(0.58 0.01 150);
  --sb-hover: oklch(0.25 0.008 150);

  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 22px;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 150 / 0.06);
  --shadow: 0 10px 30px -14px oklch(0.2 0.02 150 / 0.22);

  --t-xs: 0.75rem; --t-sm: 0.8125rem; --t-md: 0.9375rem; --t-base: 1rem;
  --t-lg: 1.125rem; --t-xl: 1.375rem; --t-2xl: 1.75rem; --t-3xl: 2.125rem;

  --sb-w: 264px;
  --top-h: 64px;
  --tab-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 200; --z-drawer: 300; --z-pop: 400; --z-toast: 500;

  --safe-t: max(env(safe-area-inset-top), var(--tg-content-safe-area-inset-top, 0px));
  --safe-b: max(env(safe-area-inset-bottom), var(--tg-safe-area-inset-bottom, 0px));

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: oklch(0.175 0.006 150);
  --surface: oklch(0.212 0.007 150);
  --surface-2: oklch(0.248 0.008 150);
  --line: oklch(0.285 0.008 150);
  --line-2: oklch(0.345 0.009 150);
  --ink: oklch(0.95 0.005 150);
  --ink-2: oklch(0.84 0.007 150);
  --muted: oklch(0.71 0.01 150);
  --faint: oklch(0.59 0.01 150);
  --green: oklch(0.72 0.17 145);
  --green-ink: oklch(0.83 0.17 135);
  --green-soft: oklch(0.27 0.05 148);
  --red: oklch(0.7 0.16 27);
  --red-soft: oklch(0.27 0.05 27);
  --btn-bg: var(--lime);
  --btn-ink: var(--lime-ink);
  --btn-bg-hover: oklch(0.91 0.17 128);
  --sb-bg: oklch(0.135 0.005 150);
  --sb-panel: oklch(0.175 0.006 150);
  --shadow: 0 10px 30px -14px oklch(0 0 0 / 0.6);
  color-scheme: dark;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--t-md); line-height: 1.5;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-kerning: normal;
}
:root[data-theme="dark"] body { font-weight: 380; letter-spacing: 0.005em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.ic { width: 18px; height: 18px; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; }

.skip { position: fixed; left: 12px; top: -60px; z-index: var(--z-toast); background: var(--ink); color: var(--surface); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* ── Qobiq ── */
.app { display: grid; grid-template-columns: var(--sb-w) minmax(0, 1fr); min-height: 100dvh; }
.app.is-collapsed { --sb-w: 76px; }

.sb {
  position: sticky; top: 0; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--sb-bg); color: var(--sb-ink);
  display: flex; flex-direction: column; gap: 10px;
  padding: calc(16px + var(--safe-t)) 12px 16px;
  scrollbar-width: thin; scrollbar-color: var(--sb-line) transparent;
}
.sb-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 6px 8px; min-height: 40px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--brand-font); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--sb-ink); }
.brand-mark { width: 8px; height: 20px; border-radius: 3px; background: var(--lime); }
.brand b { color: var(--lime); font-weight: 800; }
.sb-collapse { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--sb-muted); transition: background .15s, color .15s; }
.sb-collapse:hover { background: var(--sb-hover); color: var(--sb-ink); }

.sb-search { position: relative; }
.sb-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--sb-faint); width: 16px; height: 16px; pointer-events: none; }
.sb-search input {
  width: 100%; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--sb-line);
  background: var(--sb-panel); color: var(--sb-ink); padding: 0 12px 0 36px; font-size: var(--t-sm);
}
.sb-search input::placeholder { color: var(--sb-faint); }
.sb-search input:focus { outline: none; border-color: var(--lime); }
.sb-results { margin-top: 6px; background: var(--sb-panel); border: 1px solid var(--sb-line); border-radius: var(--r); padding: 4px; }
.sb-results a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); font-size: var(--t-sm); color: var(--sb-muted); }
.sb-results a:hover, .sb-results a.is-hl { background: var(--sb-hover); color: var(--sb-ink); }
.sb-results .k { margin-left: auto; font-family: var(--mono); font-size: 0.6875rem; color: var(--sb-faint); }
.sb-results p { padding: 10px; font-size: var(--t-sm); color: var(--sb-faint); }

.sb-continue {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r);
  background: var(--sb-panel); border: 1px solid var(--sb-line); color: var(--sb-ink); font-weight: 600; font-size: var(--t-sm);
  transition: border-color .15s, background .15s;
}
.sb-continue:hover { border-color: oklch(0.45 0.08 128); }
.sb-continue .sq { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); flex-shrink: 0; }
.sb-continue .sq .ic { width: 14px; height: 14px; fill: currentColor; }
.sb-continue small { display: block; font-weight: 400; color: var(--sb-faint); font-size: var(--t-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-continue span:last-child { min-width: 0; }

.sb-group { background: var(--sb-panel); border-radius: var(--r-lg); padding: 6px; }
.sb-label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sb-faint); padding: 10px 10px 6px; }
.sb-link {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px;
  border-radius: var(--r-sm); color: var(--sb-muted); font-size: var(--t-md); font-weight: 500;
  transition: background .15s, color .15s;
}
.sb-link:hover { background: var(--sb-hover); color: var(--sb-ink); }
.sb-link[aria-current="page"] { background: var(--lime); color: var(--lime-ink); font-weight: 600; }
.sb-link .lock { margin-left: auto; width: 14px; height: 14px; opacity: .6; }
.sb-link .badge { margin-left: auto; font-family: var(--mono); font-size: 0.6875rem; padding: 2px 7px; border-radius: 999px; background: var(--sb-hover); color: var(--sb-muted); }
.sb-link[aria-current="page"] .badge { background: oklch(0.24 0.06 130 / .14); color: var(--lime-ink); }
.sb-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }

/* Yig'ilgan rail (kompyuterda tugma bilan, planshetda avtomatik) */
.app.is-collapsed .sb { padding-inline: 10px; }
.app.is-collapsed .sb .lbl, .app.is-collapsed .sb-label, .app.is-collapsed .sb-search,
.app.is-collapsed .brand-text, .app.is-collapsed .sb-continue span:last-child,
.app.is-collapsed .sb-link .lock, .app.is-collapsed .sb-link .badge { display: none; }
.app.is-collapsed .sb-head { flex-direction: column; gap: 8px; padding-inline: 0; }
.app.is-collapsed .sb-link { justify-content: center; padding: 0; }
.app.is-collapsed .sb-continue { justify-content: center; padding: 10px 0; }
.app.is-collapsed .sb-group { padding: 4px; }

.main-wrap { min-width: 0; display: flex; flex-direction: column; }
.top {
  position: sticky; top: 0; z-index: var(--z-sticky); height: calc(var(--top-h) + var(--safe-t)); padding-top: var(--safe-t);
  display: flex; align-items: center; gap: 12px; padding-inline: 32px;
  background: color-mix(in oklch, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-title { min-width: 0; }
.top-title h1 { font-size: var(--t-lg); font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-title p { font-size: var(--t-sm); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-sp { flex: 1; }
.icon-btn.top-menu { display: none; }
.icon-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: background .15s, border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--line-2); color: var(--ink); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--surface); }
.streak {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: var(--t-sm); font-weight: 600; color: var(--ink-2);
}
.streak .ic { width: 16px; height: 16px; color: var(--muted); }
.streak.is-on .ic { color: var(--green); }
.me { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s; }
.me:hover { border-color: var(--line-2); }
.me-text { display: flex; flex-direction: column; min-width: 0; }
.me-name { font-size: var(--t-sm); font-weight: 600; line-height: 1.15; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-plan { font-size: var(--t-xs); color: var(--muted); }

.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; overflow: hidden;
  background: var(--ink); color: var(--surface); font-size: var(--t-xs); font-weight: 700; letter-spacing: .02em; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.lg { width: 56px; height: 56px; font-size: var(--t-base); }

.main { padding: 28px 32px 64px; width: 100%; max-width: 1180px; outline: none; }
.main:focus-visible { outline: none; }

/* Bildirishnomalar */
.pop {
  position: absolute; top: calc(100% + 8px); right: 0; width: min(360px, calc(100vw - 24px)); z-index: var(--z-pop);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 6px;
  transform-origin: top right; animation: pop-in .18s var(--ease);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.pop h3 { font-size: var(--t-sm); font-weight: 650; padding: 10px 12px 6px; }
.pop-item { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--t-sm); color: var(--ink-2); }
.pop-item:hover { background: var(--surface-2); }
.pop-item .ic { margin-top: 2px; color: var(--muted); }
.pop-item b { display: block; color: var(--ink); font-weight: 600; }
.pop-empty { padding: 18px 12px; font-size: var(--t-sm); color: var(--muted); }
.wrap-rel { position: relative; }

/* Pastki panel (telefon) */
.tabbar { display: none; }
.scrim { display: none; }

/* ── Umumiy komponentlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; font-size: var(--t-md); font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn .ic { width: 16px; height: 16px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-line { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink-2); padding-inline: 12px; }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: oklch(0.91 0.17 128); }
.btn-dark-line { border-color: oklch(1 0 0 / .2); color: oklch(0.95 0.005 150); }
.btn-dark-line:hover { border-color: oklch(1 0 0 / .45); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--t-sm); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; opacity: .7; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: var(--t-xs); font-weight: 600; white-space: nowrap; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface);
}
.tag .ic { width: 13px; height: 13px; }
.tag-green { background: var(--green-soft); border-color: transparent; color: var(--green-ink); }
.tag-ink { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.tag-red { background: var(--red-soft); border-color: transparent; color: var(--red); }

.bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width .5s var(--ease); }

.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg-b { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: var(--t-sm); font-weight: 500; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.seg-b:hover { color: var(--ink); }
.seg-b[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 600; }
.seg-n { font-family: var(--mono); font-size: 0.6875rem; color: var(--faint); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-h h2 { font-size: var(--t-lg); font-weight: 650; letter-spacing: -0.01em; }
.section-h a { font-size: var(--t-sm); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.section-h a:hover { color: var(--ink); }
.eyebrow { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.empty { text-align: center; padding: 48px 20px; max-width: 440px; margin: 0 auto; }
.empty-ic { width: 48px; height: 48px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--muted); }
.empty-ic .ic { width: 22px; height: 22px; }
.empty h3 { font-size: var(--t-lg); font-weight: 650; margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 18px; }

/* Formalar */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
.input {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font-size: var(--t-base); transition: border-color .15s, box-shadow .15s;
}
textarea.input { padding: 12px 14px; min-height: 110px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in oklch, var(--green) 22%, transparent); }
.input[aria-invalid="true"] { border-color: var(--red); }
.help { font-size: var(--t-sm); color: var(--muted); }
.err { font-size: var(--t-sm); color: var(--red); display: flex; gap: 6px; align-items: center; }
.err .ic { width: 15px; height: 15px; }

.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background .2s var(--ease); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

.skel { background: linear-gradient(90deg, var(--surface-2) 0%, var(--line) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: skel 1.4s ease-in-out infinite; border-radius: var(--r-sm); }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); z-index: var(--z-toast);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--surface); padding: 12px 18px; border-radius: 999px; font-size: var(--t-sm); font-weight: 500;
  box-shadow: var(--shadow); transition: opacity .2s var(--ease), transform .2s var(--ease); max-width: calc(100vw - 32px);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast[data-kind="err"] { background: var(--red); color: oklch(0.99 0 0); }

/* Yuklanish ekrani */
.boot { min-height: 100dvh; display: grid; place-items: center; background: var(--sb-bg); }
.boot .brand { font-size: 1.5rem; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }

/* ── Planshet: avtomatik rail ── */
@media (max-width: 1023px) and (min-width: 768px) {
  .app { --sb-w: 76px; }
  .app .sb { padding-inline: 10px; }
  .app .sb .lbl, .app .sb-label, .app .sb-search, .app .brand-text, .app .sb-continue span:last-child,
  .app .sb-link .lock, .app .sb-link .badge, .app .sb-collapse { display: none; }
  .app .sb-head { justify-content: center; padding-inline: 0; }
  .app .sb-link { justify-content: center; padding: 0; }
  .app .sb-continue { justify-content: center; padding: 10px 0; }
  .app .sb-group { padding: 4px; }
  .main { padding: 24px 24px 56px; }
  .top { padding-inline: 24px; }
}

/* ── Telefon: drawer + pastki panel ── */
@media (max-width: 767px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sb {
    position: fixed; inset: 0 auto 0 0; width: min(304px, 86vw); z-index: var(--z-drawer);
    transform: translateX(-104%); transition: transform .26s var(--ease); box-shadow: none;
  }
  .app.is-drawer .sb { transform: none; box-shadow: 0 0 60px oklch(0 0 0 / .35); }
  .sb-collapse { display: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: oklch(0.1 0.01 150 / .45); opacity: 0; pointer-events: none; transition: opacity .26s var(--ease); }
  .app.is-drawer .scrim { opacity: 1; pointer-events: auto; }

  .top { padding-inline: 12px 16px; gap: 8px; height: calc(56px + var(--safe-t)); }
  .icon-btn.top-menu { display: grid; border: 0; background: none; }
  .top-title h1 { font-size: var(--t-base); }
  .top-title p { font-size: var(--t-xs); }
  .streak span, .me-text, .theme-btn { display: none; }
  .streak { padding: 0 10px; }
  .me { padding: 0; border: 0; height: auto; }
  .main { padding: 18px 16px calc(var(--tab-h) + 32px + var(--safe-b)); }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
    padding: 6px 6px calc(6px + var(--safe-b)); background: color-mix(in oklch, var(--surface) 94%, transparent);
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-top: 1px solid var(--line);
  }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: var(--r); font-size: 0.6875rem; font-weight: 500; color: var(--muted); }
  .tab .ic { width: 21px; height: 21px; }
  .tab[aria-current="page"] { color: var(--ink); font-weight: 650; }
  .tab[aria-current="page"] .ic { color: var(--green-ink); }
}

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