/* ============================================================================
   components.css — cards, buttons, inputs, modals, sheets, toasts, skeletons,
   badges, chips, segmented, stat/balance cards, amount-input, stepper, lists,
   tx-item, empty states. All liquid glass.
   ============================================================================ */

/* ------------------------------ Cards ------------------------------------- */
.card { padding: var(--s-5); border-radius: var(--r-md); }
.card-pad { padding: var(--s-5); }
.card-row { display: flex; align-items: center; gap: var(--s-4); }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.card-head h3 { font-size: 1rem; }

/* ------------------------------ Buttons ----------------------------------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 14px 20px; border-radius: var(--r-sm);
  font-weight: var(--fw-semibold); font-size: 0.95rem;
  transition: transform var(--t-fast) var(--ease-glass), box-shadow var(--t-base), filter var(--t-base), background var(--t-base);
  user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 24px; font-size: 1.02rem; }

.btn--primary {
  background: var(--grad-brand); color: var(--text-on-brand);
  box-shadow: 0 12px 28px -10px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.22);
}
@media (hover: hover) { .btn--primary:hover { filter: brightness(1.07); box-shadow: 0 16px 34px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.4); } }
.btn--ghost {
  background: var(--glass-bg); color: var(--text-1);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-soft)); backdrop-filter: blur(var(--blur-soft));
}
@media (hover: hover) { .btn--ghost:hover { background: var(--glass-bg-hover); } }
.btn--danger { background: var(--grad-danger); color: #fff; box-shadow: 0 12px 26px -10px rgba(244,63,94,.5); }
.btn--success { background: var(--grad-success); color: #06281d; }
.btn--subtle { background: var(--fill-2); color: var(--text-1); }

/* ripple/glow on press */
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120px circle at var(--rx,50%) var(--ry,50%), rgba(255,255,255,.3), transparent 60%);
  opacity: 0; transition: opacity var(--t-base);
}
.btn:active::after { opacity: 1; }

.inline-spin {
  display: inline-block; border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite;
}
.btn--ghost .inline-spin { border-color: var(--glass-border); border-top-color: var(--brand-300); }

/* quick action pills (home) */
.qa-row { display: flex; gap: var(--s-3); overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.qa-row::-webkit-scrollbar { display: none; }
.quick-action {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 76px; padding: 14px 6px; border-radius: var(--r-md);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-soft)); backdrop-filter: blur(var(--blur-soft));
  color: var(--text-1); font-size: 0.72rem; font-weight: var(--fw-medium);
  transition: transform var(--t-fast) var(--ease-glass), background var(--t-base);
}
.quick-action:active { transform: scale(0.94); }
.quick-action .qa-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--fill-2); color: var(--brand-300); }
.quick-action.qa-primary .qa-ic { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 18px -6px var(--brand-glow); }

/* ------------------------------ Inputs ------------------------------------ */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 0.82rem; font-weight: var(--fw-medium); color: var(--text-2); }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--fill-1); border: 1px solid var(--glass-border); color: var(--text-1);
  font-size: 0.98rem; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.input::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand-400);
  background: var(--fill-2); box-shadow: 0 0 0 4px rgba(124,92,252,.16);
}
.input-group { position: relative; display: flex; align-items: center; }
.input-group .input { padding-right: 48px; }
.input-affix { position: absolute; right: 12px; color: var(--text-3); display: grid; place-items: center; }
.input-affix.btn-affix { cursor: pointer; }
.field-error { color: var(--danger); font-size: 0.78rem; min-height: 1em; }
.field-hint { color: var(--text-3); font-size: 0.76rem; }

/* segmented control */
.segmented {
  position: relative; display: flex; padding: 4px; gap: 2px;
  background: var(--fill-1); border: 1px solid var(--glass-border); border-radius: var(--r-full);
}
.segmented-ind {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  border-radius: var(--r-full); background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  transition: transform 0.4s var(--ease-glass), width 0.4s var(--ease-glass);
  z-index: 0;
}
.segmented-btn {
  position: relative; z-index: 1; flex: 1; padding: 9px 8px; text-align: center;
  font-size: 0.85rem; font-weight: var(--fw-semibold); color: var(--text-3);
  transition: color var(--t-base); white-space: nowrap;
}
.segmented-btn.active { color: var(--text-1); }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-full);
  background: var(--fill-1); border: 1px solid var(--glass-border);
  font-size: 0.82rem; font-weight: var(--fw-medium); color: var(--text-2);
  transition: all var(--t-fast) var(--ease-glass); white-space: nowrap;
}
.chip:active { transform: scale(0.94); }
.chip.active { background: var(--brand-500); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px var(--brand-glow); }
.chip-row { display: flex; gap: var(--s-2); flex-wrap: wrap; }

/* toggle switch */
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
  position: absolute; inset: 0; border-radius: 999px; background: var(--fill-2);
  border: 1px solid var(--glass-border); transition: background var(--t-base);
}
.switch .thumb {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3);
  transition: transform var(--t-base) var(--ease-spring);
}
.switch input:checked + .track { background: var(--grad-brand); border-color: transparent; }
.switch input:checked + .track + .thumb { transform: translateX(20px); }

/* ------------------------------ Badges ------------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 0.72rem; font-weight: var(--fw-semibold); white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--completed { color: var(--st-completed); background: var(--success-soft); }
.badge--pending   { color: var(--st-pending);   background: var(--warning-soft); }
.badge--processing{ color: var(--st-processing);background: var(--info-soft); }
.badge--review    { color: var(--st-review);    background: var(--review-soft); }
.badge--failed    { color: var(--st-failed);    background: var(--danger-soft); }
.badge--reversed  { color: var(--st-reversed);  background: rgba(192,132,252,.16); }

/* ------------------------------ Skeleton ---------------------------------- */
.skeleton {
  position: relative; overflow: hidden; border-radius: var(--r-xs);
  background: var(--skeleton-base);
}
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent);
  background-size: 180% 100%;
  animation: shimmer 1.4s infinite;
}
.sk-line { height: 13px; margin: 8px 0; border-radius: 7px; }
.sk-line.w-40 { width: 40%; height: 16px; }
.sk-card { padding: var(--s-5); }
.sk-hero { height: 188px; }
.sk-pill { height: 38px; border-radius: var(--r-full); flex: 1; }
.sk-row { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); }
.sk-circle { width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--skeleton-base); position: relative; overflow: hidden; }
.sk-circle::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent,var(--skeleton-shine),transparent); background-size:180% 100%; animation: shimmer 1.4s infinite; }

/* ----------------------- Balance hero card -------------------------------- */
.balance-card {
  position: relative; padding: var(--s-6) var(--s-5) var(--s-5);
  border-radius: var(--r-lg); color: #fff; overflow: hidden;
  transform-style: preserve-3d;
}
.balance-card .bc-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.balance-card .bc-content { position: relative; z-index: 2; }
.balance-card .bc-label { font-size: 0.82rem; opacity: 0.85; display: flex; align-items: center; gap: var(--s-2); }
.balance-card .bc-amount {
  font-size: clamp(2.3rem, 11vw, 3rem); font-weight: var(--fw-black);
  letter-spacing: -0.03em; line-height: 1.05; margin: 6px 0 2px;
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.balance-card .bc-amount.hidden-val { letter-spacing: 0.1em; }
.balance-card .bc-sub { display: flex; gap: var(--s-5); margin-top: var(--s-4); }
.balance-card .bc-sub .label { font-size: 0.72rem; opacity: 0.8; }
.balance-card .bc-sub .val { font-size: 0.98rem; font-weight: var(--fw-bold); }
.balance-card .bc-eye {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.balance-card .bc-spark { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; opacity: 0.5; z-index: 1; }
.balance-card .bc-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.18); font-size: 0.72rem; font-weight: var(--fw-semibold);
}

/* ------------------------- Stat card -------------------------------------- */
.stat-card { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); }
.stat-card .sc-top { display: flex; align-items: center; justify-content: space-between; }
.stat-card .sc-label { font-size: 0.76rem; color: var(--text-3); }
.stat-card .sc-value { font-size: 1.5rem; font-weight: var(--fw-bold); letter-spacing: -0.02em; margin-top: 2px; }
.stat-card .sc-delta { font-size: 0.74rem; font-weight: var(--fw-semibold); display: inline-flex; align-items: center; gap: 3px; }
.stat-card .sc-delta.up { color: var(--success); }
.stat-card .sc-delta.down { color: var(--danger); }
.stat-card .sc-spark { height: 46px; margin: 6px -6px -6px; }
.stat-card .sc-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--fill-2); color: var(--brand-300); }

/* ------------------------- Amount input ----------------------------------- */
.amount-input { text-align: center; padding: var(--s-5) 0; }
.amount-input .ai-currency { font-size: 1.2rem; font-weight: var(--fw-semibold); color: var(--text-3); }
.amount-input .ai-field {
  font-size: clamp(2.6rem, 14vw, 3.4rem); font-weight: var(--fw-black); letter-spacing: -0.03em;
  text-align: center; width: 100%; color: var(--text-1); caret-color: var(--brand-400);
  background: none; border: none;
}
.amount-input .ai-field::placeholder { color: var(--text-3); }
.amount-input .ai-helper { font-size: 0.82rem; color: var(--text-3); margin-top: 6px; }
.amount-input.shake { animation: bellShake 0.4s; }

/* ------------------------- Stepper ---------------------------------------- */
.stepper { display: flex; align-items: center; gap: 6px; margin-bottom: var(--s-5); }
.stepper .step { flex: 1; height: 5px; border-radius: 999px; background: var(--fill-2); overflow: hidden; }
.stepper .step .fill { display: block; height: 100%; width: 0; background: var(--grad-brand); border-radius: 999px; transition: width 0.5s var(--ease-glass); }
.stepper .step.done .fill { width: 100%; }
.stepper .step.active .fill { width: 100%; }
.step-label { font-size: 0.78rem; color: var(--text-3); margin-bottom: var(--s-2); }
.step-pane { animation: riseIn 0.5s var(--ease-out) both; }

/* ------------------------- OTP input -------------------------------------- */
.otp { display: flex; gap: 10px; justify-content: center; }
.otp.shake { animation: bellShake 0.4s; }
.otp-cell {
  width: 46px; height: 56px; border-radius: var(--r-sm);
  display: grid; place-items: center; font-size: 1.5rem; font-weight: var(--fw-bold);
  background: var(--fill-1); border: 1.5px solid var(--glass-border);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-fast);
}
.otp-cell.filled { border-color: var(--brand-400); }
.otp-cell.active { border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(124,92,252,.18); }
.otp-hidden { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.otp-error { color: var(--danger); font-size: 0.82rem; text-align: center; }

/* ------------------------- Lists / rows ----------------------------------- */
.list { display: flex; flex-direction: column; gap: var(--s-3); }
.list-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 14px var(--s-4); border-radius: var(--r-md);
}
.list-row .lr-ic { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row .lr-title { font-weight: var(--fw-semibold); font-size: 0.95rem; }
.list-row .lr-sub { font-size: 0.78rem; color: var(--text-3); }
.list-row .lr-end { text-align: right; flex: none; }
.list-row .lr-amount { font-weight: var(--fw-bold); font-size: 0.98rem; }

/* tx item directional colors */
.tx-in .lr-ic { background: var(--success-soft); color: var(--success); }
.tx-out .lr-ic { background: var(--danger-soft); color: var(--danger); }
.tx-in .lr-amount { color: var(--success); }
.tx-out .lr-amount { color: var(--text-1); }

/* timeline (tx detail) */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: var(--s-3); position: relative; padding-bottom: var(--s-4); }
.tl-item::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: -4px; width: 2px; background: var(--glass-border); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; border: 3px solid var(--bg-1); background: var(--text-3); margin-top: 2px; z-index: 1; }
.tl-item.done .tl-dot { background: var(--success); }
.tl-item.current .tl-dot { background: var(--brand-400); box-shadow: 0 0 0 4px rgba(124,92,252,.25); }
.tl-item.error .tl-dot { background: var(--danger); }
.tl-label { font-weight: var(--fw-medium); font-size: 0.9rem; }
.tl-time { font-size: 0.74rem; color: var(--text-3); }

/* ------------------------- Modal / sheet bodies --------------------------- */
.overlay-backdrop {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center; padding: var(--s-5);
  background: rgba(5, 3, 16, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sheet-backdrop { z-index: var(--z-sheet); align-items: flex-end; padding: 0; opacity: 0; }
.modal {
  width: min(440px, 100%); border-radius: var(--r-lg); padding: var(--s-6);
  max-height: 88dvh; overflow-y: auto;
}
.modal-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.modal-title { flex: 1; font-size: 1.15rem; }
.modal-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--brand-300); }
.modal-close { width: 36px; height: 36px; }
.modal-body { color: var(--text-2); }
.modal-actions { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.modal-actions .btn { flex: 1; }

.sheet {
  width: min(var(--max-w), 100%); margin: 0 auto;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 8px var(--s-5) calc(var(--safe-bottom) + var(--s-5));
  max-height: 92dvh; display: flex; flex-direction: column;
  will-change: transform; touch-action: none;
}
.sheet--full { height: 92dvh; }
.sheet--tall { min-height: 70dvh; }
.sheet-handle { display: grid; place-items: center; padding: 6px 0 10px; cursor: grab; }
.sheet-handle span { width: 42px; height: 5px; border-radius: 999px; background: var(--glass-border-strong); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.sheet-title { font-size: 1.2rem; }
.sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
.sheet-footer { padding-top: var(--s-4); }

/* ------------------------------ Toasts ------------------------------------ */
.toast-root {
  position: fixed; top: calc(var(--safe-top) + 12px); left: 50%; transform: translateX(-50%);
  z-index: var(--z-toast); display: flex; flex-direction: column; gap: 10px;
  width: min(420px, calc(100% - 28px)); pointer-events: none;
}
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: var(--s-3);
  padding: 13px 16px; border-radius: var(--r-md);
}
.toast-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.toast-msg { flex: 1; font-size: 0.9rem; font-weight: var(--fw-medium); }
.toast-action { color: var(--brand-300); font-weight: var(--fw-semibold); font-size: 0.85rem; }
.toast--success .toast-ic { background: var(--success-soft); color: var(--success); }
.toast--error .toast-ic { background: var(--danger-soft); color: var(--danger); }
.toast--info .toast-ic { background: var(--info-soft); color: var(--info); }
.toast-spin { color: var(--brand-300); display: grid; place-items: center; }
.toast-spin svg { animation: spin 0.8s linear infinite; }

/* ------------------------------ Empty / notes ----------------------------- */
.empty { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); padding: var(--s-8) var(--s-5); text-align: center; }
.empty .empty-anim { margin-bottom: var(--s-2); }
.empty h3 { font-size: 1.1rem; }
.empty p { color: var(--text-3); font-size: 0.9rem; max-width: 280px; }
.note {
  display: flex; gap: var(--s-3); align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm);
  color: var(--text-2); font-size: 0.85rem;
}
.note svg { flex: none; color: var(--brand-300); margin-top: 1px; }
.note--warn { background: var(--warning-soft); color: var(--warning); }
.note--warn svg { color: var(--warning); }
.note--danger { background: var(--danger-soft); color: var(--danger); }

/* secret reveal box */
.secret-box {
  font-family: var(--font-num); font-size: 0.92rem; word-break: break-all;
  padding: 14px 16px; border-radius: var(--r-sm); background: var(--fill-1);
  border: 1px dashed var(--brand-400); color: var(--text-1);
}
.copy-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-300); font-weight: var(--fw-semibold); font-size: 0.85rem; }

/* QR canvas */
.qr-box { background: #fff; padding: 14px; border-radius: var(--r-md); display: grid; place-items: center; }
.qr-box canvas, .qr-box img { border-radius: 8px; }

/* key-value rows */
.kv { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 11px 0; }
.kv + .kv { border-top: 1px solid var(--glass-border); }
.kv .k { color: var(--text-3); font-size: 0.85rem; }
.kv .v { font-weight: var(--fw-semibold); text-align: right; }

/* install banner */
.install-banner { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); margin-bottom: var(--s-4); }
.install-banner .ib-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex: none; }

/* ------------------------- Popover / dropdown ----------------------------- */
.popover-backdrop { position: fixed; inset: 0; z-index: var(--z-modal); }
.popover {
  position: fixed; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--glass-shadow), 0 0 40px -18px var(--brand-glow);
  will-change: transform, opacity;
}
.pop-menu { display: flex; flex-direction: column; padding: 6px; }
.pop-head { display: flex; align-items: center; gap: var(--s-3); padding: 12px 12px 10px; }
.pop-head strong { font-size: 0.95rem; }
.pop-avatar { width: 40px; height: 40px; font-size: 1rem; flex: none; }
.pop-list { display: flex; flex-direction: column; gap: 2px; padding: 4px; }
.pop-item {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 11px 12px; border-radius: var(--r-sm); width: 100%; text-align: left;
  color: var(--text-1); font-size: 0.9rem; font-weight: var(--fw-medium);
  transition: background var(--t-fast) var(--ease-glass);
}
.pop-item:hover, .pop-item:focus-visible { background: var(--glass-bg-hover); }
.pop-item:active { transform: scale(0.98); }
.pop-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--fill-2); color: var(--brand-300); flex: none; }
.pop-item--danger { color: var(--danger); }
.pop-item--danger .pop-ic { background: var(--danger-soft); color: var(--danger); }
.pop-divider { height: 1px; background: var(--glass-border); margin: 4px 8px; }
.pop-link { color: var(--brand-300); font-size: 0.8rem; font-weight: var(--fw-semibold); padding: 4px 8px; }
.pop-foot { display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px; color: var(--brand-300); font-weight: var(--fw-semibold); font-size: 0.88rem; border-radius: var(--r-sm); }
.pop-foot:hover { background: var(--glass-bg-hover); }
.pop-empty { padding: 22px 12px; text-align: center; }

.pop-notif-list { display: flex; flex-direction: column; gap: 2px; padding: 4px; max-height: 46vh; overflow-y: auto; }
.pop-notif { display: flex; align-items: center; gap: var(--s-3); padding: 10px 12px; border-radius: var(--r-sm);
  width: 100%; text-align: left; transition: background var(--t-fast); }
.pop-notif:hover { background: var(--glass-bg-hover); }
.pop-notif.is-unread { background: rgba(124, 92, 252, 0.08); }
.pop-notif.is-unread .pop-notif-title { font-weight: var(--fw-bold); }
.pop-notif.is-unread::before { content: ""; position: absolute; }
.pop-notif-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--fill-2); color: var(--brand-300); flex: none; }
.pop-notif-main { flex: 1; min-width: 0; }
.pop-notif-title { font-size: 0.86rem; font-weight: var(--fw-semibold); }
.pop-notif-body { font-size: 0.76rem; color: var(--text-3); }
.pop-notif-time { font-size: 0.68rem; color: var(--text-3); flex: none; align-self: flex-start; padding-top: 2px; }

/* mini money figure */
.figure { font-variant-numeric: tabular-nums; }

/* pill button row */
.row-actions { display: flex; gap: var(--s-3); }
.row-actions .btn { flex: 1; }
