:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --text: #0f172a;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: rgba(15, 23, 42, 0.08);
  --accent: #6558e8;
  --accent-strong: #5143d4;
  --accent-soft: rgba(101, 88, 232, 0.12);
  --accent-text: #5143d4;
  --warn: #f59e0b;
  --warn-soft: rgba(245, 158, 11, 0.14);
  --warn-text: #b45309;
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
  --danger-text: #b91c1c;
  --info-soft: rgba(59, 130, 246, 0.12);
  --info-text: #1d4ed8;
  --flame: #f97316;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --surface: #121821;
    --surface-2: #19212c;
    --text: #e6edf5;
    --muted: #94a3b8;
    --faint: #64748b;
    --line: rgba(255, 255, 255, 0.08);
    --accent-soft: rgba(150, 140, 255, 0.18);
    --accent-text: #b4acff;
    --warn-text: #fbbf24;
    --danger-text: #f87171;
    --info-text: #60a5fa;
    --shadow-sm: 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: 26px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 650; }
h3 { font-size: 15px; font-weight: 600; }
p { text-wrap: pretty; margin: 0; }
a { color: inherit; }
.num, .money { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.stack { display: grid; gap: 16px; }
.stack-sm { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 10px;
  font: inherit; font-weight: 600; font-size: 14px;
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-sm);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition-property: background-color, box-shadow, scale, opacity;
  transition-duration: 150ms; transition-timing-function: var(--ease);
}
.btn:hover { background: var(--surface-2); }
.btn:active:not(:disabled) { scale: 0.97; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .nav a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(81, 67, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.btn.primary:hover { background: var(--accent-strong); }
.btn.danger { color: var(--danger-text); }
.btn.danger:hover { background: var(--danger-soft); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; position: relative; }
.btn.sm::after { content: ''; position: absolute; inset: -4px; }
.btn.lg { min-height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- forms ---------- */
label.field { display: grid; gap: 6px; font-size: 13px; font-weight: 550; color: var(--muted); }
input, textarea, select {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--surface); border: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(15, 23, 42, 0.03);
  padding: 10px 12px; min-height: 42px; width: 100%;
  transition-property: box-shadow; transition-duration: 150ms;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:hover, textarea:hover, select:hover { box-shadow: inset 0 0 0 1px var(--faint); }
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent); box-shadow: none; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; min-height: 40px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.form-error { color: var(--danger-text); font-size: 13px; font-weight: 500; min-height: 0; }
.form-error:empty { display: none; }

/* ---------- cards ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px; }
.card.flat { box-shadow: var(--shadow-sm); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.grid { display: grid; gap: 16px; }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.opinions { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.stat { display: grid; gap: 6px; }
.stat .label { font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.stat .value { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 12px; color: var(--faint); }
.icon-chip { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.icon-chip svg { width: 15px; height: 15px; }
.icon-chip.flame { background: rgba(249, 115, 22, 0.14); color: var(--flame); }
.icon-chip.warn { background: var(--warn-soft); color: var(--warn-text); }
.icon-chip.info { background: var(--info-soft); color: var(--info-text); }

.hero-balance {
  background: linear-gradient(135deg, #5143d4 0%, #6558e8 55%, #968cff 100%);
  color: #fff; box-shadow: 0 10px 30px rgba(81, 67, 212, 0.25);
}
.hero-balance .label, .hero-balance .sub { color: rgba(255, 255, 255, 0.85); }
.hero-balance .value { font-size: 34px; }
.hero-balance .btn { background: rgba(255, 255, 255, 0.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.hero-balance .btn:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--accent-soft); color: var(--accent-text); }
.badge.warn { background: var(--warn-soft); color: var(--warn-text); }
.badge.bad { background: var(--danger-soft); color: var(--danger-text); }
.badge.info { background: var(--info-soft); color: var(--info-text); }

/* ---------- progress ---------- */
.bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width 600ms var(--ease); }
.bar.flame > span { background: linear-gradient(90deg, #fb923c, #f97316); }

.ring { --p: 0; --size: 112px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-2) 0); flex: none; }
.ring > div { width: calc(var(--size) - 20px); height: calc(var(--size) - 20px); border-radius: 50%; background: var(--surface); display: grid; place-items: center; text-align: center; }
.ring b { font-size: 24px; font-variant-numeric: tabular-nums; display: block; line-height: 1.1; }
.ring small { color: var(--muted); font-size: 11px; }

/* chart */
.chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 140px; padding-top: 8px; }
.chart .col { display: grid; gap: 6px; justify-items: center; height: 100%; grid-template-rows: 1fr auto; }
.chart .colbar { width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: var(--accent); align-self: end; min-height: 3px; position: relative; opacity: 0.9; transition: opacity 150ms; }
.chart .colbar.zero { background: var(--surface-2); }
.chart .colbar.secondary { background: var(--accent-soft); }
.chart .colbar .inner { position: absolute; left: 0; right: 0; bottom: 0; background: var(--accent); border-radius: inherit; }
.chart .col:hover .colbar { opacity: 1; }
.chart .col small { font-size: 10px; color: var(--faint); font-variant-numeric: tabular-nums; }
.chart .col[data-tip] { position: relative; }
.chart .col[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; translate: -50% 0;
  background: var(--text); color: var(--bg); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; z-index: 2;
}

/* streak calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { font-size: 11px; color: var(--faint); text-align: center; }
.cal .d { aspect-ratio: 1; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.cal .d.on { background: var(--accent); color: #fff; font-weight: 600; }
.cal .d.today { box-shadow: inset 0 0 0 2px var(--flame); color: var(--text); }
.cal .d.on.today { color: #fff; }
.cal .d.future { opacity: 0.35; }

.milestones { display: grid; gap: 10px; }
.milestone { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.milestone.done { background: var(--accent-soft); }
.milestone .mi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm); flex: none; }
.milestone.done .mi { background: var(--accent); color: #fff; box-shadow: none; }
.milestone .mi svg { width: 18px; height: 18px; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 10px; white-space: nowrap; }
td { padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; }
td.r, th.r { text-align: right; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--surface-2); }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.empty svg { width: 36px; height: 36px; color: var(--faint); }

/* ---------- opinion cards ---------- */
.opinion {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none;
  transition-property: box-shadow, translate; transition-duration: 200ms; transition-timing-function: var(--ease);
}
a.opinion:hover { box-shadow: var(--shadow-lg); translate: 0 -2px; }
.opinion .excerpt { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.opinion .reward { font-size: 20px; font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.opinion.disabled { opacity: 0.6; }
.opinion-content { white-space: pre-wrap; word-break: break-word; line-height: 1.65; }
.opinion-content a { color: var(--accent-text); }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-weight: 700; font-size: 16px; text-decoration: none; }
.logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #5143d4, #968cff); box-shadow: 0 4px 12px rgba(101, 88, 232, 0.35); flex: none; }
.logo svg { width: 18px; height: 18px; }
.nav { display: grid; gap: 2px; }
.nav .section { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); padding: 16px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 550; font-size: 14px; transition-property: background-color, color; transition-duration: 150ms; }
.nav a svg { width: 18px; height: 18px; flex: none; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--accent-soft); color: var(--accent-text); }
.nav a .count { margin-left: auto; background: var(--warn); color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 6px; font-variant-numeric: tabular-nums; }
.side-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 12px; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; flex: none; }

.main { padding: 32px clamp(16px, 4vw, 40px) 64px; max-width: 1180px; width: 100%; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head p { color: var(--muted); margin-top: 4px; }

.topbar { display: none; }
.tabbar { display: none; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .topbar { display: flex; position: sticky; top: 0; z-index: 20; align-items: center; justify-content: space-between; padding: 10px 16px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
  .topbar .brand { padding: 0; }
  .main { padding: 20px 16px 100px; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 550; color: var(--muted); text-decoration: none; padding: 6px 0; min-height: 44px; border-radius: 10px; }
  .tabbar a svg { width: 20px; height: 20px; }
  .tabbar a.active { color: var(--accent-text); }
  h1 { font-size: 22px; }
  .card { padding: 16px; }
  .table-wrap { margin: 0 -16px; padding: 0 16px; }
  .hide-sm { display: none; }
}

/* drawer for mobile menu */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(2, 6, 23, 0.45); z-index: 40; opacity: 0; transition: opacity 200ms var(--ease); }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); z-index: 41; background: var(--surface); padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; translate: -100% 0; transition: translate 260ms var(--ease); overflow-y: auto; }
.drawer-open .drawer-backdrop { opacity: 1; }
.drawer-open .drawer { translate: 0 0; }

/* ---------- landing / auth ---------- */
.landing { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.landing header { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 5vw, 56px); max-width: 1180px; width: 100%; margin: 0 auto; }
.hero { max-width: 1180px; margin: 0 auto; padding: clamp(32px, 8vw, 96px) clamp(16px, 5vw, 56px) 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero .lead { font-size: 18px; color: var(--muted); margin: 18px 0 28px; max-width: 520px; }
.hero-card { padding: 22px; display: grid; gap: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.steps { max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 5vw, 56px) 80px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); width: 100%; }
.step .n { width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.landing footer { margin-top: auto; text-align: center; padding: 24px 16px; color: var(--faint); font-size: 13px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 32px; } }

.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.auth .card { width: 100%; max-width: 400px; padding: 28px; }

/* ---------- modal ---------- */
.modal-root { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal-root .backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, 0.5); animation: fade 180ms var(--ease); }
.modal { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px; animation: pop 220ms var(--ease); }
.modal.closing { animation: out 140ms var(--ease) forwards; }
.modal-root.closing .backdrop { animation: fade 140ms var(--ease) reverse forwards; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 60; display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); }
.toast { background: var(--text); color: var(--bg); padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: slideIn 260ms var(--ease); }
.toast.err { background: var(--danger); color: #fff; }
.toast.out { animation: out 160ms var(--ease) forwards; }
.toast svg { width: 18px; height: 18px; flex: none; }

/* ---------- motion ---------- */
.enter > * { animation: rise 420ms var(--ease) both; }
.enter > *:nth-child(2) { animation-delay: 60ms; }
.enter > *:nth-child(3) { animation-delay: 120ms; }
.enter > *:nth-child(4) { animation-delay: 180ms; }
.enter > *:nth-child(n+5) { animation-delay: 220ms; }
@keyframes rise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; scale: 0.97; translate: 0 6px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes out { to { opacity: 0; translate: 0 4px; } }
@keyframes slideIn { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
@keyframes spin { to { rotate: 360deg; } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--surface-2); border-top-color: var(--accent); animation: spin 700ms linear infinite; }
.loading { display: grid; place-items: center; padding: 80px 0; }
.skeleton { background: var(--surface-2); border-radius: 8px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}

.notice { padding: 12px 14px; border-radius: 12px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.notice.warn { background: var(--warn-soft); color: var(--warn-text); }
.notice.ok { background: var(--accent-soft); color: var(--accent-text); }
.notice.info { background: var(--info-soft); color: var(--info-text); }
.notice.bad { background: var(--danger-soft); color: var(--danger-text); }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--surface-2); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); min-height: 32px; padding: 0 12px; border-radius: 8px; cursor: pointer; transition-property: background-color, color, box-shadow; transition-duration: 150ms; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.proof { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.review-item { display: grid; gap: 12px; }
.review-item + .review-item { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
.link { color: var(--accent-text); word-break: break-all; }
.label svg, .pill svg, .badge svg { width: 14px; height: 14px; flex: none; }
.hero-balance .label svg { width: 16px; height: 16px; }
.side-foot, .me { min-width: 0; }
@media (max-width: 520px) { .grid.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.stats .hero-balance { grid-column: 1 / -1; } .stat .value { font-size: 22px; } }
