/* one global scale for desktop screens: every size follows --z (1 = full size). Phones keep full size so touch targets stay large. */
:root { --z: 1; }
@media (min-width: 861px) { :root { --z: .9; } html { zoom: var(--z); width: calc(100vw / var(--z)); } }
/* Salty design system v2. Tokens, base, header, buttons, glass cards, motion helpers. */
@font-face { font-family: "Figtree"; src: url(../assets/fonts/figtree.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Shrikhand"; src: url(../assets/fonts/shrikhand.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #06141c; --bg-2: #0a1f2c; --brine: #0e2a3a; --brine-2: #143a4f;
  --glass: rgba(251, 253, 255, .055); --glass-2: rgba(251, 253, 255, .09);
  --line: rgba(251, 253, 255, .11); --line-2: rgba(251, 253, 255, .2);
  --text: #eaf3f8; --muted: #93adbc; --salt: #fbfdff;
  --pink: #f4a3b5; --pink-deep: #e0718c; --tear: #4cc3f0; --lilac: #c9d6ff;
  --up: #5be3a0; --down: #ff7a8a;
  --display: "Shrikhand", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px); --max: 1200px; --bar: 64px;
  --r: 18px; --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 50px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; min-height: calc(100svh / var(--z)); background: transparent; color: var(--text); font: 500 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: tabular-nums; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(46vmax 46vmax at 6% 8%, rgba(244, 163, 181, .4), transparent 62%), radial-gradient(52vmax 52vmax at 96% 30%, rgba(76, 195, 240, .36), transparent 62%), radial-gradient(60vmax 60vmax at 40% 100%, rgba(201, 214, 255, .28), transparent 62%), linear-gradient(180deg, #0b2535, #08202e 60%, #06141c); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--tear); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--salt); color: var(--brine); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.dim { color: var(--muted); }
.up { color: var(--up); } .down { color: var(--down); }

/* header */
.bar { position: sticky; top: 0; z-index: 40; height: var(--bar); display: flex; align-items: center; gap: 14px; padding-inline: var(--gutter); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)), rgba(8, 28, 40, .45); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); border-bottom: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 24px/1 var(--display); color: var(--salt); }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: none; gap: 2px; margin-left: 18px; }
.nav a { padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--glass); }
.nav a[aria-current="page"] { color: var(--brine); background: var(--salt); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s, transform .2s var(--ease); }
.icon-link:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-1px); }
.icon-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn { --tx: 0px; --ty: 0px; position: relative; overflow: hidden; isolation: isolate; --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 20px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22); background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); color: var(--text); font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; transform: translate(var(--tx), var(--ty)); transition: transform .3s var(--ease), background .2s, border-color .2s, box-shadow .25s; will-change: transform; }
.btn:hover { border-color: rgba(255, 255, 255, .4); transform: translate(var(--tx), calc(var(--ty) - 2px)); }
.btn:active { transform: translate(var(--tx), var(--ty)) scale(.97); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.rip { position: absolute; z-index: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: rip .65s var(--ease) forwards; pointer-events: none; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }
.btn-pink { background: linear-gradient(180deg, #ffbccb, var(--pink) 60%, #ec8ea5); color: #3a0f1d; border-color: transparent; box-shadow: 0 10px 30px rgba(244, 163, 181, .28), 0 1px 0 rgba(255, 255, 255, .5) inset; }
.btn-pink:hover { box-shadow: 0 16px 44px rgba(244, 163, 181, .5), 0 1px 0 rgba(255, 255, 255, .5) inset; }
.btn-big { --h: 54px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* glass */
.card, .glass { position: relative; background: linear-gradient(140deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .09)); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 28px 60px -24px rgba(0, 0, 0, .6); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); }
.card::before, .glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .26), transparent 62%); }
.card:hover::before, .glass:hover::before { opacity: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; font-weight: 700; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tear); box-shadow: 0 0 0 0 rgba(76, 195, 240, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(76, 195, 240, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 195, 240, 0); } }

/* skeleton */
.sk { position: relative; overflow: hidden; color: transparent !important; border-radius: 8px; background: var(--glass-2); }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .09), transparent); animation: sheen 1.4s infinite; }
@keyframes sheen { to { transform: translateX(100%); } }

/* motion: reveal on scroll, staggered by --i */
.rv { opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }
.rv.in { opacity: 1; transform: none; }
.tick { display: inline-block; animation: tick .5s var(--ease); }
@keyframes tick { from { opacity: .3; transform: translateY(6px); } }

/* page transitions between documents */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out .18s ease both; }
::view-transition-new(root) { animation: fade-in .28s var(--ease) both; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* phone bottom tabs: a floating glass bar with a More sheet */
.tabs { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 2px; padding: 6px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)), rgba(10, 31, 44, .55); backdrop-filter: blur(24px) saturate(1.7); -webkit-backdrop-filter: blur(24px) saturate(1.7); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 -1px 0 rgba(0, 0, 0, .25) inset, 0 20px 50px rgba(0, 0, 0, .5); max-width: 520px; margin-inline: auto; }
.tabs a, .tabs button { position: relative; flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 0 6px; border: 0; border-radius: 20px; background: transparent; text-decoration: none; font-size: 11px; font-weight: 800; color: rgba(234, 243, 248, .62); transition: color .25s, background .3s var(--ease), transform .3s var(--ease); }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.tabs a:active, .tabs button:active { transform: scale(.92); }
.tabs a[aria-current="page"], .tabs button[aria-expanded="true"] { color: #fff; background: linear-gradient(180deg, rgba(244, 163, 181, .42), rgba(244, 163, 181, .16)); box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 6px 18px rgba(244, 163, 181, .22); }
.tabs a[aria-current="page"] svg { transform: translateY(-1px) scale(1.08); }
body.has-tabs { padding-bottom: 96px; }
.more { position: fixed; inset: 0; z-index: 39; background: rgba(3, 10, 14, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: grid; align-items: end; justify-items: center; padding: 0 12px calc(92px + env(safe-area-inset-bottom)); animation: fade-in .25s ease both; }
.more[hidden] { display: none; }
.more-sheet { width: 100%; max-width: 520px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 14px 14px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)), rgba(10, 31, 44, .7); backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 30px 70px rgba(0, 0, 0, .55); animation: sheet-up .45s var(--ease) both; }
@keyframes sheet-up { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.more-sheet .grab { grid-column: 1 / -1; justify-self: center; width: 38px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); margin-bottom: 4px; }
.more-sheet a, .more-sheet .soon { display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .25s var(--ease), background .2s; }
.more-sheet a:active { transform: scale(.95); }
.more-sheet a[aria-current="page"] { background: rgba(244, 163, 181, .22); border-color: rgba(244, 163, 181, .4); }
.more-sheet svg { width: 24px; height: 24px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more-sheet .soon { color: var(--muted); }
.more-sheet em { font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #ffb16b; background: rgba(255, 177, 107, .14); padding: 2px 6px; border-radius: 6px; margin-left: 4px; }

@media (min-width: 860px) { .nav { display: flex; } .tabs { display: none; } body.has-tabs { padding-bottom: 0; } .more { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

@media (max-width: 520px) {
  .bar { gap: 8px; }
  .bar-end { gap: 6px; }
  .bar-end .icon-link { display: none; }
  .bar .btn { --h: 38px; padding: 0 14px; font-size: 14px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
  .brand { font-size: 21px; }
}

/* Intear marks */
.inl { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; margin-right: 4px; }
.pair-ico { display: inline-block; width: 20px; height: 20px; border-radius: 50%; vertical-align: -5px; margin-right: 6px; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.seg button img { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.f-intear { padding: 28px var(--gutter) 8px; text-align: center; }
.powered { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); opacity: .8; letter-spacing: .01em; }
.powered img { width: 14px; height: 14px; }
.risk { margin-top: 18px; max-width: 60ch; font-size: 13px; color: var(--muted); }
body.has-tabs .f-intear { padding-bottom: 12px; }

/* ---- wallet connect modal: the connector's own markup, restyled to match Salty ---- */
body .hot-connector-popup, body .hot-connector-popup * { font-family: var(--body); }
body .hot-connector-popup .modal-container {
  background: radial-gradient(70vmax 46vmax at 50% 0%, rgba(244, 163, 181, .16), transparent 62%), radial-gradient(60vmax 40vmax at 100% 100%, rgba(76, 195, 240, .12), transparent 60%), rgba(3, 10, 16, .66);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
body .hot-connector-popup .modal-content {
  position: relative; overflow: visible; max-width: 440px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03) 38%), rgba(8, 24, 34, .88);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); animation: wm-in .4s var(--ease) both;
}
body .hot-connector-popup .modal-content::before {
  content: ""; position: absolute; top: -58px; left: 50%; width: 84px; height: 84px; margin-left: -42px; pointer-events: none;
  background: url(/assets/opt/icon-96.webp) center / contain no-repeat; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45)); animation: wm-bob 5s ease-in-out infinite;
}
body .hot-connector-popup .modal-header { padding: 36px 24px 8px; flex-direction: column; gap: 6px; }
body .hot-connector-popup .modal-header p { font: 400 32px/1 var(--display); color: var(--salt); text-shadow: 0 3px 0 rgba(224, 113, 140, .5); transform: rotate(-1.5deg); }
body .hot-connector-popup .modal-header::after { content: "Pick the wallet you trade with. Salty never holds your keys."; font: 500 14px/1.4 var(--body); color: var(--muted); text-align: center; max-width: 30ch; }
body .hot-connector-popup .modal-header button { top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 13px; border: 1px solid var(--line); background: var(--glass); }
body .hot-connector-popup .modal-header button:hover { background: var(--glass-2); border-color: var(--line-2); }
body .hot-connector-popup .modal-body {
  background: transparent; border-radius: 0; padding: 14px 18px 10px; gap: 8px;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent);
}
body .hot-connector-popup .connect-item {
  position: relative; padding: 10px 16px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s;
}
body .hot-connector-popup .connect-item:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09); border-color: rgba(244, 163, 181, .5); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(244, 163, 181, .1); }
body .hot-connector-popup .connect-item:active { transform: scale(.985); }
body .hot-connector-popup .connect-item img { width: 46px; height: 46px; border-radius: 15px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 18px -8px rgba(0, 0, 0, .6); }
body .hot-connector-popup .connect-item-info { margin-top: 0; gap: 3px; }
body .hot-connector-popup .connect-item-info > span:first-child { font-weight: 800; font-size: 16px; letter-spacing: .01em; color: var(--salt); }
body .hot-connector-popup .connect-item-info .wallet-address { font-size: 12.5px; font-weight: 500; color: var(--muted); }
body .hot-connector-popup .connect-item::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid rgba(255, 255, 255, .35); border-top: 2px solid rgba(255, 255, 255, .35); transform: rotate(45deg); transition: transform .25s var(--ease), border-color .2s; }
body .hot-connector-popup .connect-item:hover::after { border-color: var(--pink); transform: translateX(3px) rotate(45deg); }
body .hot-connector-popup .connect-item[data-type="intear-wallet"] .connect-item-info > span:first-child::after {
  content: "Recommended"; margin-left: 8px; padding: 2px 7px; border-radius: 99px; vertical-align: 2px; background: rgba(76, 195, 240, .16); color: var(--tear); font: 800 9.5px var(--body); letter-spacing: .08em; text-transform: uppercase;
}
body .hot-connector-popup .modal-body button { border-radius: 16px; font-weight: 800; background: linear-gradient(180deg, #ffbccb, var(--pink) 60%, #ec8ea5); color: #3a0f1d; box-shadow: 0 10px 30px rgba(244, 163, 181, .3); }
body .hot-connector-popup .modal-body textarea { background: rgba(4, 16, 24, .5); border-radius: 14px; }
body .hot-connector-popup .footer { padding: 14px 24px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
body .hot-connector-popup .get-wallet-link { color: var(--pink); font-size: 14px; font-weight: 700; }
body .hot-connector-popup .get-wallet-link:hover { color: var(--salt); }
@media (max-width: 600px) {
  body .hot-connector-popup .modal-content { border-radius: 30px 30px 0 0; border-bottom: 0; max-height: 88%; padding-bottom: env(safe-area-inset-bottom); animation: wm-up .4s var(--ease) both; }
  body .hot-connector-popup .modal-content::before { left: 22px; right: auto; margin-left: 0; top: -52px; width: 76px; height: 76px; }
}

/* ---- the signed in panel ---- */
.sw-acct-bg {
  position: fixed; inset: 0; z-index: 100000001; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(70vmax 46vmax at 50% 0%, rgba(244, 163, 181, .16), transparent 62%), radial-gradient(60vmax 40vmax at 100% 100%, rgba(76, 195, 240, .12), transparent 60%), rgba(3, 10, 16, .66);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); animation: wm-fade .25s both;
}
.sw-acct {
  position: relative; display: grid; gap: 14px; width: min(440px, 100%); padding: 44px 22px 22px; border-radius: 30px; color: var(--text);
  border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03) 38%), rgba(8, 24, 34, .9);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .22); animation: wm-in .4s var(--ease) both;
}
.sw-acct-mascot { position: absolute; top: -52px; left: 50%; width: 84px; height: 84px; margin-left: -42px; pointer-events: none; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45)); animation: wm-bob 5s ease-in-out infinite; }
.sw-acct-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 13px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font: 400 22px/1 var(--body); cursor: pointer; transition: background .2s, color .2s; }
.sw-acct-x:hover { background: var(--glass-2); color: var(--salt); }
.sw-acct-id { display: grid; gap: 8px; justify-items: center; text-align: center; min-width: 0; }
.sw-acct-id small { display: inline-flex; align-items: center; gap: 7px; font: 700 12.5px var(--body); letter-spacing: .02em; color: var(--muted); }
.sw-acct-id small b { color: var(--text); font-weight: 800; }
.sw-acct-id small img { border-radius: 5px; }
.sw-acct-id .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tear); box-shadow: 0 0 0 0 rgba(76, 195, 240, .6); animation: wm-ping 2.2s ease-out infinite; }
.sw-acct-id h3 { margin: 0; font: 400 clamp(22px, 6vw, 28px)/1.15 var(--display); color: var(--salt); text-shadow: 0 3px 0 rgba(224, 113, 140, .45); overflow-wrap: anywhere; max-width: 100%; }
.sw-acct-bal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.sw-acct-bal > div { display: grid; gap: 3px; min-width: 0; }
.sw-acct-bal span { font: 700 10.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sw-acct-bal b { font: 700 21px ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -.02em; color: var(--salt); }
.sw-acct-bal b.low { color: #f5c04a; }
.sw-acct-bar { grid-column: 1 / -1; display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.sw-acct-bar u { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--tear)); transition: width .6s var(--ease); }
.sw-acct-note { grid-column: 1 / -1; margin: 0; padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; background: rgba(245, 192, 74, .12); border: 1px solid rgba(245, 192, 74, .35); color: #f5d98a; }
.sw-acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sw-acct-grid > :is(a, button) {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05);
  color: var(--text); font: 700 14px var(--body); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s;
}
.sw-acct-grid > :is(a, button):hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09); border-color: rgba(244, 163, 181, .5); }
.sw-acct-out { min-height: 50px; border-radius: 16px; border: 1px solid rgba(255, 122, 138, .4); background: rgba(255, 122, 138, .1); color: var(--down); font: 800 15px var(--body); cursor: pointer; transition: background .2s, border-color .2s; }
.sw-acct-out:hover { background: rgba(255, 122, 138, .2); border-color: rgba(255, 122, 138, .65); }
.sw-acct :focus-visible, .hot-connector-popup :focus-visible { outline: 2px solid var(--tear); outline-offset: 2px; }
html.sw-acct-open { overflow: hidden; }
@media (max-width: 600px) {
  .sw-acct-bg { place-items: end center; padding: 0; }
  .sw-acct { width: 100%; border-radius: 30px 30px 0 0; border-bottom: 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); animation: wm-up .4s var(--ease) both; }
  .sw-acct-mascot { left: 22px; right: auto; margin-left: 0; top: -48px; width: 76px; height: 76px; }
}
@keyframes wm-in { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes wm-up { from { opacity: 0; transform: translateY(60px); } }
@keyframes wm-fade { from { opacity: 0; } }
@keyframes wm-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes wm-ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(76, 195, 240, 0); } }
@media (prefers-reduced-motion: reduce) {
  body .hot-connector-popup .modal-content, body .hot-connector-popup .modal-content::before, .sw-acct, .sw-acct-bg, .sw-acct-mascot, .sw-acct-id .dot { animation: none; }
}
