/* mSamex Card — canvas + phone + screen styles. Tokens from ../brand-v3-tokens.css */

html, body { height: 100%; }
body.card-canvas { overflow: hidden; }
#root { height: 100%; }
.mono { font-family: var(--m3-mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.up { color: var(--m3-mint); }
.down { color: var(--m3-down); }
.mute { color: var(--m3-mute); }
button { font-family: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; text-align: inherit; }

/* ============ top strip ============ */
.topstrip {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 58px;
  display: flex; align-items: center; gap: 18px; padding: 0 20px;
  background: rgba(11, 14, 17, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--m3-line);
}
.ts-brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.ts-brand b { font-size: 15px; font-weight: 700; letter-spacing: -0.03em; }
.ts-brand b .s { color: var(--m3-mint); }
.ts-brand .ts-app { font-family: var(--m3-mono); font-size: 10.5px; color: var(--m3-mute); letter-spacing: 0.14em; margin-top: 1px; }
.ts-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 4px 2px; }
.ts-tabs::-webkit-scrollbar { display: none; }
.ts-tab {
  flex-shrink: 0; font-family: var(--m3-mono); font-size: 11px; color: var(--m3-mute);
  padding: 6px 11px; border: 1px solid var(--m3-line); border-radius: 999px;
  transition: color 0.15s, border-color 0.15s; white-space: nowrap;
}
.ts-tab b { color: var(--m3-snow-dim); font-weight: 500; margin-right: 5px; }
.ts-tab:hover { color: var(--m3-snow); }
.ts-tab.on { border-color: var(--m3-mint); color: var(--m3-mint); }
.ts-tab.on b { color: var(--m3-mint); }
.ts-right { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500;
  padding: 7px 13px; border: 1px solid var(--m3-line); border-radius: 999px; color: var(--m3-snow-dim);
}
.lang-btn:hover { border-color: var(--m3-mint); color: var(--m3-snow); }

/* ============ stage ============ */
.stage {
  position: absolute; inset: 58px 0 0 0; overflow: auto;
  display: flex; align-items: flex-start; gap: 56px; padding: 44px 72px 60px;
}
.slot { flex-shrink: 0; scroll-margin: 0 200px; }
.slot-label { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px 6px; }
.slot-label .n { font-family: var(--m3-mono); font-size: 11px; color: var(--m3-mint); }
.slot-label .t { font-size: 13px; font-weight: 500; color: var(--m3-snow-mute); }

/* ============ phone ============ */
.phone {
  position: relative; width: 390px; height: 844px; border-radius: 55px;
  background: var(--m3-bg); overflow: hidden;
  border: 1px solid #2c333d;
  box-shadow: 0 0 0 9px #16191e, 0 0 0 10px #2a2f37, 0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone.active { box-shadow: 0 0 0 9px #16191e, 0 0 0 10.5px var(--m3-mint), 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 calc(34px * var(--glow, 1)) rgba(0, 214, 143, calc(0.22 * var(--glow, 1))); }
.p-island {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 122px; height: 34px; border-radius: 20px; background: #000; z-index: 30;
}
.p-status {
  position: absolute; top: 17px; left: 0; right: 0; z-index: 29;
  display: flex; justify-content: space-between; padding: 0 32px;
  font-family: var(--m3-mono); font-size: 13.5px; font-weight: 600;
}
.p-status .st-r { display: flex; gap: 6px; align-items: center; }
.p-body {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  padding: 66px 0 110px; scrollbar-width: none;
}
.p-body::-webkit-scrollbar { display: none; }
.p-body.no-nav { padding-bottom: 34px; }
.p-homebar {
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 134px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); z-index: 31;
}
[dir="rtl"].p-body, [dir="rtl"] .p-body { font-family: 'IBM Plex Sans Arabic', var(--m3-font); }
[dir="rtl"] .flipx { transform: scaleX(-1); }
[dir="rtl"] .lrow > svg:last-child { transform: scaleX(-1); }

/* toast */
.p-toast {
  position: absolute; bottom: 118px; left: 50%; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 9px; max-width: 330px;
  background: var(--m3-elevated); border: 1px solid var(--m3-line);
  padding: 11px 16px; border-radius: 13px; font-size: 12.5px; white-space: nowrap;
  animation: toast-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.p-toast .mono { color: var(--m3-mint); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ============ bottom nav ============ */
.bnav {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 32; height: 88px;
  display: flex; align-items: flex-start; padding: 10px 10px 0;
  background: rgba(11, 14, 17, 0.86); backdrop-filter: blur(16px);
  border-top: 1px solid var(--m3-line-soft);
}
.bn-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 6px; color: var(--m3-snow-mute); font-size: 10px; font-weight: 500; }
.bn-item.on { color: var(--m3-mint); }
.bn-send { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 500; color: var(--m3-snow-mute); margin-top: -14px; }
.bn-send .bn-orb {
  width: 50px; height: 50px; border-radius: 50%; background: var(--m3-mint); color: var(--m3-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 calc(22px * var(--glow, 1)) rgba(0, 214, 143, calc(0.38 * var(--glow, 1)));
}

/* ============ screen scaffolding ============ */
.scr { padding: 0 20px; }
.scr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 16px; }
.scr-head .sh-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; flex: 1; text-align: center; }
.scr-head .sh-side { width: 38px; display: flex; }
.icbtn {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--m3-surface); border: 1px solid var(--m3-line-soft); color: var(--m3-snow-dim);
  position: relative;
}
.icbtn:active { background: var(--m3-elevated); }
.icbtn .dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--m3-mint); border: 2px solid var(--m3-bg); }
.k { font-family: var(--m3-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--m3-mute); }
.h-balance { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  height: 52px; border-radius: 15px; background: var(--m3-mint); color: var(--m3-ink);
  font-size: 15px; font-weight: 600;
  box-shadow: 0 0 calc(26px * var(--glow, 1)) rgba(0, 214, 143, calc(0.22 * var(--glow, 1)));
}
.btn:active { background: var(--m3-mint-deep); }
.btn-ghost { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 52px; border-radius: 15px; background: var(--m3-surface); border: 1px solid var(--m3-line); color: var(--m3-snow); font-size: 15px; font-weight: 500; }
.btn-sm { height: 40px; font-size: 13.5px; border-radius: 11px; }

.chip {
  flex-shrink: 0; padding: 8px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: var(--m3-surface); border: 1px solid var(--m3-line-soft); color: var(--m3-snow-dim);
}
.chip.on { background: rgba(0, 214, 143, 0.12); border-color: var(--m3-mint); color: var(--m3-mint); }
.chiprow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px; }
.chiprow::-webkit-scrollbar { display: none; }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; }
.pill-mint { background: rgba(0, 214, 143, 0.13); color: var(--m3-mint); }
.pill-dim { background: var(--m3-elevated); color: var(--m3-snow-mute); }
.pill-coral { background: rgba(246, 70, 93, 0.13); color: var(--m3-down); }
.pill-warn { background: rgba(240, 185, 11, 0.13); color: var(--m3-warn); }
.pill-ink { background: rgba(255, 255, 255, 0.9); color: var(--m3-ink); }

.tgl { width: 46px; height: 28px; border-radius: 999px; background: var(--m3-elevated); border: 1px solid var(--m3-line); position: relative; transition: background 0.18s, border-color 0.18s; flex-shrink: 0; }
.tgl i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--m3-mute); transition: transform 0.18s, background 0.18s; }
.tgl.on { background: rgba(0, 214, 143, 0.2); border-color: var(--m3-mint); }
.tgl.on i { transform: translateX(18px); background: var(--m3-mint); }
[dir="rtl"] .tgl.on i { transform: translateX(-18px); }

.bar { width: 100%; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.bar .bar-mint { background: var(--m3-mint); }
.bar .bar-warn { background: var(--m3-warn); }
.bar .bar-coral { background: var(--m3-down); }
.bar .bar-snow { background: rgba(255, 255, 255, 0.6); }

.card-blk { background: var(--m3-surface); border: 1px solid var(--m3-line-soft); border-radius: 18px; padding: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.sect-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; }
.sect-act { color: var(--m3-mint); font-size: 12.5px; font-weight: 500; }

.list { display: flex; flex-direction: column; }
.lrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; text-align: start; }
.list > .lrow:not(:last-child), .list > * + * { border-top: none; }
.list .lrow + .lrow { border-top: 1px solid var(--m3-line-soft); }
.lrow-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--m3-elevated); display: flex; align-items: center; justify-content: center; color: var(--m3-snow-dim); flex-shrink: 0; }
.lrow-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lrow-label { font-size: 14px; font-weight: 500; }
.lrow-sub { font-size: 11.5px; color: var(--m3-mute); }
.lrow-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
[dir="rtl"] .lrow-right { align-items: flex-start; }
.lrow-r1 { font-size: 14px; font-weight: 500; }
.lrow-r2 { font-size: 11px; color: var(--m3-mute); }
.lrow.danger .lrow-label { color: var(--m3-down); }

.avatar { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; letter-spacing: 0.02em; }
.av-el { background: var(--m3-elevated); color: var(--m3-snow-dim); border: 1px solid var(--m3-line); }
.av-mint { background: rgba(0, 214, 143, 0.14); color: var(--m3-mint); }
.mavatar { width: 38px; height: 38px; border-radius: 50%; background: var(--m3-elevated); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--m3-snow-dim); flex-shrink: 0; }
.mavatar.in { background: rgba(0, 214, 143, 0.13); color: var(--m3-mint); }
.mavatar.swp { color: var(--m3-snow-dim); }

/* quick actions */
.qa-row { display: flex; justify-content: space-between; margin: 20px 2px 0; }
.qa { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 72px; font-size: 11.5px; font-weight: 500; color: var(--m3-snow-dim); }
.qa-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--m3-surface); border: 1px solid var(--m3-line); display: flex; align-items: center; justify-content: center; color: var(--m3-mint); }
.qa:active .qa-ic { background: var(--m3-elevated); }
.qa.primary .qa-ic { background: var(--m3-mint); color: var(--m3-ink); border: none; box-shadow: 0 0 calc(20px * var(--glow, 1)) rgba(0, 214, 143, calc(0.3 * var(--glow, 1))); }

/* account mini card */
.acct-card { background: var(--m3-surface); border: 1px solid var(--m3-line-soft); border-radius: 16px; padding: 13px 14px; display: flex; flex-direction: column; gap: 8px; text-align: start; }
.acct-card .ac-top { display: flex; align-items: center; gap: 8px; }
.flagchip { width: 26px; height: 26px; border-radius: 9px; background: var(--m3-elevated); border: 1px solid var(--m3-line); display: inline-flex; align-items: center; justify-content: center; font-family: var(--m3-mono); font-size: 8.5px; color: var(--m3-snow-dim); flex-shrink: 0; }

/* ============ card art ============ */
.m-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.09); flex-shrink: 0; }
.m-card.f-paper { border-color: rgba(11, 14, 17, 0.15); }
.m-card.f-void { border-color: rgba(255, 255, 255, 0.14); }
.m-card-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; }
.m-card-vbadge { font-family: var(--m3-mono); font-size: 8px; letter-spacing: 0.16em; padding: 3px 7px; border: 1px solid; border-radius: 999px; }
.m-card-num { position: absolute; letter-spacing: 0.08em; }
.m-card-bottom { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-end; }
.brushed { position: absolute; inset: 0; background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(0, 0, 0, 0.04) 1px 2px, transparent 2px 4px); }
.m-card.f-sterling { border-color: rgba(0, 0, 0, 0.28); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.m-card.f-aurum { border-color: rgba(64, 48, 16, 0.32); box-shadow: inset 0 0 0 1.5px rgba(255, 244, 214, 0.55); }
.m-card.sheen::after {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.055) 50%, transparent 58%);
  animation: sheen 5.2s ease-in-out infinite;
}
.no-motion .m-card.sheen::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .m-card.sheen::after { animation: none; } }
@keyframes sheen { 0%, 55% { transform: translateX(-45%); } 85%, 100% { transform: translateX(45%); } }
.m-card.is-frozen { opacity: 0.75; }
.m-card.is-frozen > *:not(.m-card-frost) { filter: saturate(0.25); }
.m-card-frost { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(11, 14, 17, 0.35); backdrop-filter: blur(1.5px); }

/* ============ onboarding ============ */
.ob-prog { display: flex; gap: 6px; }
.ob-prog i { height: 3px; flex: 1; border-radius: 2px; background: var(--m3-elevated); }
.ob-prog i.on { background: var(--m3-mint); }
.id-frame { position: relative; height: 320px; border-radius: 20px; background: var(--m3-surface); overflow: hidden; border: 1px solid var(--m3-line-soft); }
.id-frame .corner { position: absolute; width: 34px; height: 34px; border: 2.5px solid var(--m3-mint); }
.id-frame .c1 { top: 18px; left: 18px; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.id-frame .c2 { top: 18px; right: 18px; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.id-frame .c3 { bottom: 18px; left: 18px; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.id-frame .c4 { bottom: 18px; right: 18px; border-left: none; border-top: none; border-radius: 0 0 8px 0; }
.id-doc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 210px; height: 132px; border-radius: 12px; background: var(--m3-elevated); border: 1px solid var(--m3-line); display: flex; flex-direction: column; gap: 7px; padding: 14px; }
.id-doc i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.scanline { position: absolute; left: 8%; right: 8%; height: 2px; background: var(--m3-mint); opacity: 0.7; animation: scan 2.6s ease-in-out infinite; box-shadow: 0 0 14px rgba(0, 214, 143, 0.5); }
.no-motion .scanline { animation: none; top: 50%; }
@keyframes scan { 0%, 100% { top: 16%; } 50% { top: 82%; } }
.checkrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13.5px; }
.checkrow .ok { width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 214, 143, 0.14); color: var(--m3-mint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkrow .pend { width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed var(--m3-mute); flex-shrink: 0; }

/* plan tiles */
.plan { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 15px; background: var(--m3-surface); border: 1px solid var(--m3-line-soft); text-align: start; }
.plan.on { border-color: var(--m3-mint); background: rgba(0, 214, 143, 0.06); }
.plan .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--m3-mute); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.plan.on .radio { border-color: var(--m3-mint); }
.plan.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--m3-mint); }

/* segmented */
.seg { display: flex; background: var(--m3-surface); border: 1px solid var(--m3-line-soft); border-radius: 12px; padding: 3px; }
.seg button { flex: 1; padding: 9px 0; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--m3-snow-mute); }
.seg button.on { background: var(--m3-elevated); color: var(--m3-snow); }

/* ============ sheet ============ */
.sheet-veil { position: absolute; inset: 0; z-index: 44; background: rgba(0, 0, 0, 0.55); animation: veil-in 0.2s; }
@keyframes veil-in { from { opacity: 0; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 45; max-height: 88%; overflow-y: auto; scrollbar-width: none; background: var(--m3-surface); border-radius: 26px 26px 0 0; border-top: 1px solid var(--m3-line); padding: 10px 20px 24px; animation: sheet-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); }
.sheet::-webkit-scrollbar { display: none; }
.no-motion .sheet, .no-motion .sheet-veil { animation: none; }
@keyframes sheet-in { from { transform: translateY(40%); opacity: 0.5; } }
.sheet-handle { width: 42px; height: 4.5px; border-radius: 3px; background: var(--m3-line); margin: 4px auto 14px; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal .dow { text-align: center; font-family: var(--m3-mono); font-size: 9.5px; color: var(--m3-mute); padding: 5px 0; }
.cal-d { height: 34px; display: flex; align-items: center; justify-content: center; font-family: var(--m3-mono); font-size: 12px; border-radius: 9px; color: var(--m3-snow-dim); }
.cal-d.dim { opacity: 0.28; }
.cal-d.inr { background: rgba(0, 214, 143, 0.1); color: var(--m3-mint); border-radius: 0; }
.cal-d.edge { background: var(--m3-mint); color: var(--m3-ink); font-weight: 700; border-radius: 9px; }

/* hold to send */
.hold-btn { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; }
.hold-btn .fill { position: absolute; inset: 0; background: rgba(11, 14, 17, 0.22); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .hold-btn .fill { transform-origin: right; }

/* success orb */
.ok-orb { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto; background: rgba(0, 214, 143, 0.12); border: 1px solid rgba(0, 214, 143, 0.4); display: flex; align-items: center; justify-content: center; color: var(--m3-mint); box-shadow: 0 0 calc(50px * var(--glow, 1)) rgba(0, 214, 143, calc(0.25 * var(--glow, 1))); }

/* map snippet */
.mapsnip { position: relative; height: 130px; border-radius: 16px; overflow: hidden; background: #10141a; border: 1px solid var(--m3-line-soft); }
.mapsnip svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapsnip .place { position: absolute; bottom: 10px; left: 12px; font-family: var(--m3-mono); font-size: 10.5px; color: var(--m3-snow-dim); background: rgba(11, 14, 17, 0.8); padding: 4px 9px; border-radius: 8px; }

/* actions grid (tx detail) */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.agrid button { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 13px 4px; border-radius: 14px; background: var(--m3-surface); border: 1px solid var(--m3-line-soft); font-size: 10.5px; font-weight: 500; color: var(--m3-snow-dim); }
.agrid button:active { background: var(--m3-elevated); }

/* detail kv list */
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; font-size: 13px; }
.kv + .kv { border-top: 1px solid var(--m3-line-soft); }
.kv .kk { color: var(--m3-mute); }
.kv .vv { font-weight: 500; text-align: end; }

/* search field */
.searchbar { display: flex; align-items: center; gap: 9px; background: var(--m3-surface); border: 1px solid var(--m3-line); border-radius: 13px; padding: 0 13px; height: 44px; }
.searchbar input { flex: 1; background: none; border: none; outline: none; color: var(--m3-snow); font-size: 14px; font-family: inherit; }
.searchbar input::placeholder { color: var(--m3-mute); }

/* amount entry */
.amt-display { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; }
.amt-display .cur { font-size: 24px; color: var(--m3-mute); font-weight: 500; }

/* notification card */
.ncard { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--m3-surface); border: 1px solid var(--m3-line-soft); }
.ncard.unread { border-color: var(--m3-line); background: var(--m3-elevated); }
.ncard .nk { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--m3-elevated); color: var(--m3-snow-dim); }
.ncard.unread .nk { background: rgba(0, 214, 143, 0.1); color: var(--m3-mint); }
.ncard .nact { display: flex; gap: 8px; margin-top: 9px; }
.ncard .nact button { font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--m3-line); color: var(--m3-snow-dim); white-space: nowrap; flex-shrink: 0; }
.ncard .nact button.hot { border-color: var(--m3-mint); color: var(--m3-mint); }
.ncard .nact button.bad { border-color: rgba(246, 70, 93, 0.5); color: var(--m3-down); }

/* wallet rows */
.wrow { display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.wrow + .wrow { border-top: 1px solid var(--m3-line-soft); }
.wrow .wg { width: 40px; height: 28px; border-radius: 7px; background: var(--m3-elevated); border: 1px solid var(--m3-line); display: flex; align-items: center; justify-content: center; font-family: var(--m3-mono); font-size: 8px; letter-spacing: 0.06em; color: var(--m3-snow-dim); flex-shrink: 0; }
.wbtn { font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--m3-mint); color: var(--m3-ink); flex-shrink: 0; }
.wbtn.rm { background: var(--m3-elevated); color: var(--m3-snow-dim); border: 1px solid var(--m3-line); }

/* misc */
.hair { border: none; border-top: 1px solid var(--m3-line-soft); margin: 4px 0; }
.no-motion *, .no-motion *::before, .no-motion *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
