:root {
  --pink: #ff37c7;
  --pink-08: rgba(255, 55, 199, 0.08);
  --pink-16: rgba(255, 55, 199, 0.16);
  --ink: #131313;
  --ink-63: rgba(19, 19, 19, 0.63);
  --ink-40: rgba(19, 19, 19, 0.4);
  --ink-08: rgba(19, 19, 19, 0.08);
  --paper: #ffffff;
  --panel: #f9f9f9;
  --line: #f0f0f0;
  --visa: #1a1f71;
  --mc: #eb001b;
  --radius-card: 24px;
  --radius-panel: 20px;
  --radius-pill: 999px;
  --nav-h: 72px;
  --card-w: 480px;
  --font: "Plus Jakarta Sans", Basel, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input { font: inherit; color: inherit; }

button { cursor: pointer; border: 0; background: none; }

a { color: var(--pink); text-decoration: none; }

img, svg { display: block; }

.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  filter: blur(3px);
  opacity: 0.88;
  animation: drift 18s ease-in-out infinite;
}

.o1 { left: 6%; top: 20%; }
.o2 { right: 8%; top: 16%; width: 110px; height: 110px; animation-delay: -3s; }
.o3 { left: 16%; bottom: 14%; width: 124px; height: 124px; animation-delay: -6s; }
.o4 { right: 20%; top: 40%; animation-delay: -8s; }
.o5 { left: 38%; top: 10%; width: 72px; height: 72px; animation-delay: -2s; }
.o6 { right: 5%; bottom: 18%; animation-delay: -10s; }
.o7 { left: 7%; top: 58%; width: 80px; height: 80px; animation-delay: -5s; }
.o8 { right: 36%; bottom: 10%; width: 88px; height: 88px; animation-delay: -7s; }
.o9 { left: 48%; bottom: 22%; width: 70px; height: 70px; animation-delay: -11s; }
.o10 { right: 14%; top: 62%; width: 84px; height: 84px; animation-delay: -4s; }
.o11 { left: 28%; top: 36%; width: 76px; height: 76px; animation-delay: -9s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.06); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  margin-right: 8px;
  flex-shrink: 0;
}

.brand-name { font-weight: 600; letter-spacing: -0.02em; }

.logo img { display: block; border-radius: 50%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--pink); }

.beta {
  font-style: normal;
  font-size: 11px;
  color: var(--pink);
  background: var(--pink-08);
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 600;
}

.search-pill {
  margin-left: auto;
  height: 40px;
  min-width: min(360px, 32vw);
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-40);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-pill span {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-pill kbd {
  font: 500 12px var(--font);
  color: var(--ink-40);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.icon-btn:hover { background: var(--panel); }

.btn-start {
  height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-start.dark { color: var(--ink); }

.btn-start.account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  color: var(--ink);
  height: 40px;
  border-radius: 14px;
  padding: 0 10px 0 8px;
}

.ident {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, #ff37c7, #627eea, #26a17b, #ff37c7);
}

.ident.big { width: 48px; height: 48px; margin: 0 auto 10px; }

main { position: relative; z-index: 1; min-height: calc(100vh - var(--nav-h)); }

.view { display: none; }
.view.is-active { display: block; }

.hero {
  min-height: calc(100vh - var(--nav-h) - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 8px;
}

.hero h1,
.page-title,
.section-title {
  margin: 0 0 28px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-align: center;
  color: var(--ink);
}

.swap-card {
  width: min(var(--card-w), 100%);
  background: var(--paper);
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px rgba(19, 19, 19, 0.04), 0 24px 64px rgba(19, 19, 19, 0.06);
  padding: 12px;
  position: relative;
}

.panel {
  background: var(--panel);
  border-radius: var(--radius-panel);
  padding: 16px 16px 14px;
}

.panel + .panel { margin-top: 8px; }

.panel-head {
  display: flex;
  justify-content: space-between;
  color: var(--ink-63);
  font-size: 16px;
  margin-bottom: 8px;
}

.ghost-link { color: var(--ink-63); }
.ghost-link:hover { color: var(--pink); }

.panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amount-wrap { flex: 1; min-width: 0; }

.amount {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 0;
  outline: none;
  line-height: 1.15;
}

.amount.card-title { line-height: 1.2; }

.fiat {
  margin-top: 4px;
  color: var(--ink-63);
  font-size: 14px;
}

.token-pill {
  height: 38px;
  padding: 0 10px 0 4px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(19, 19, 19, 0.06), 0 4px 12px rgba(19, 19, 19, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  flex-shrink: 0;
}

.token-pill-accent {
  background: var(--pink);
  color: #fff;
  box-shadow: none;
}

.token-pill-stack {
  height: auto;
  min-height: 44px;
  padding: 6px 12px 6px 6px;
  align-items: center;
}

.token-stack {
  position: relative;
  width: 34px;
  height: 28px;
  flex-shrink: 0;
}

.token-stack .token-ic { width: 28px; height: 28px; }

.net-ic {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #fff;
  object-fit: cover;
}

.token-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 2px;
}

.token-meta small {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-40);
}

.funding-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.funding-lead {
  margin: -4px 0 16px;
  color: var(--ink-63);
  max-width: 62ch;
  line-height: 1.45;
}

.funding-list { display: grid; gap: 8px; }

.fund-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--panel);
  border-radius: 16px;
}

.fund-row .prio {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--pink-08);
  color: var(--pink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.fund-row .grow { flex: 1; min-width: 0; }
.fund-row .grow b { display: block; }
.fund-row .grow small { color: var(--ink-63); font-size: 13px; }

.fund-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fund-tools button {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.fund-tools button:disabled { opacity: 0.35; cursor: default; }

.fund-row .lock {
  font-size: 11px;
  color: var(--pink);
  font-weight: 600;
}

@media (max-width: 720px) {
  .funding-head { flex-direction: column; align-items: stretch; }
}

.token-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

.pick-item .token-ic { width: 32px; height: 32px; }

.swap-switch {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--paper);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
  margin: -14px auto;
  position: relative;
  z-index: 2;
}

.swap-switch:hover { color: var(--pink); }

.details-toggle {
  width: 100%;
  margin-top: 10px;
  padding: 8px 8px 4px;
  display: flex;
  justify-content: space-between;
  color: var(--ink-63);
  font-size: 14px;
}

.details {
  padding: 4px 8px 10px;
  color: var(--ink-63);
  font-size: 14px;
}

.details div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.details b { color: var(--ink); font-weight: 600; }

.cta {
  width: 100%;
  height: 56px;
  margin-top: 8px;
  border-radius: 20px;
  background: var(--pink-08);
  color: var(--pink);
  font-size: 18px;
  font-weight: 500;
}

.cta:hover { background: var(--pink-16); }

.cta.solid {
  background: var(--pink);
  color: #fff;
}

#goFunding { margin-top: 16px; }

.cta:disabled {
  opacity: 0.55;
  cursor: default;
}

.hero-note {
  max-width: 560px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--ink-63);
  line-height: 1.5;
}

.inline-pink, .hero-note .inline-pink {
  color: var(--pink);
  background: none;
  padding: 0;
  font-weight: 500;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 12px 0 28px;
  color: var(--ink-40);
  font-size: 14px;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.docs-page { max-width: 820px; padding-top: 28px; }

.docs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.docs-tabs a {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.docs-tabs a.is-active {
  background: var(--pink);
  color: #fff;
}

.docs-updated {
  margin: 0 0 8px;
  color: var(--ink-40);
  font-size: 13px;
}

.docs-body h1 {
  margin: 0 0 12px;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.docs-lead {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-63);
}

.docs-section { margin: 0 0 28px; }

.docs-section h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.docs-section p,
.docs-section li {
  margin: 0 0 10px;
  line-height: 1.6;
  color: var(--ink);
  font-size: 15px;
}

.docs-section ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.docs-section li { padding-left: 4px; }

.page.narrow { max-width: 520px; }

.subhead.center { text-align: center; }
.lead.tight { margin-top: -20px; }
.center-card { margin: 0 auto; }

.ladder {
  max-width: 860px;
  margin: 0 auto 48px;
  background: var(--panel);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}

.ladder-head { padding: 22px 24px 8px; }
.ladder-head h2 { margin: 0 0 8px; font-size: 20px; font-weight: 650; }
.ladder-head p { margin: 0; color: var(--ink-63); line-height: 1.45; }

.ladder-table-wrap { overflow-x: auto; }

.ladder-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ladder-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-40);
  padding: 12px 20px;
}

.ladder-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

.ladder-table td b { font-size: 16px; }

.ladder-table tr.is-best td { background: var(--pink-08); }
.ladder-table tr.is-best td b { color: var(--pink); }

.pick-item.is-soon { opacity: 0.55; cursor: default; }
.pick-item:disabled { pointer-events: none; }

.lead {
  text-align: center;
  color: var(--ink-63);
  max-width: 640px;
  margin: -8px auto 36px;
  line-height: 1.5;
}

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tile {
  border-radius: 32px;
  min-height: 260px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.tile h3 { margin: 0 0 10px; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.tile p { margin: 0; color: var(--ink-63); max-width: 34ch; line-height: 1.5; }
.tile-pink { background: rgba(255, 55, 199, 0.1); }
.tile-violet { background: rgba(130, 81, 251, 0.08); }
.tile-blue { background: rgba(176, 207, 252, 0.28); }
.tile-mint { background: rgba(0, 195, 160, 0.08); }
.tile-up { background: rgba(230, 0, 18, 0.07); }

.soon-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pink-08);
  color: var(--pink);
  font-size: 12px;
  font-weight: 650;
  font-style: normal;
}

.tile-price.soon {
  font-size: 28px;
  color: var(--ink-40);
}

.tile-price {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 48px;
  letter-spacing: -0.04em;
  color: var(--pink);
}

.badge-row { text-align: center; margin-bottom: 12px; }

.waitlist-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--panel);
  border-radius: 24px;
  padding: 24px;
}

.waitlist-card h3 { margin: 0 0 6px; font-weight: 600; }
.waitlist-card p { margin: 0; color: var(--ink-63); }

.more-block {
  position: relative;
  z-index: 1;
  padding: 40px 0 20px;
}

.lang-btn {
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-btn:hover { border-color: var(--pink); color: var(--pink); }

.pay-row {
  width: min(var(--card-w), 100%);
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pay-label {
  font-size: 13px;
  color: var(--ink-40);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(19, 19, 19, 0.1);
}

.pay-badge img {
  display: block;
  height: 18px;
  width: auto;
}

.pay-badge.apple {
  background: #000;
}
.pay-badge.apple img {
  height: 16px;
  filter: invert(1);
}

.pay-badge.google img { height: 17px; }
.pay-badge.samsung img { height: 20px; }

.pay-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.pay-actions button {
  height: 42px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.pay-actions button.gpay { background: #fff; color: #3c4043; box-shadow: 0 0 0 1px var(--line); }
.pay-actions button.spay { background: #1428a0; }

.pick-item.is-active { box-shadow: 0 0 0 1.5px var(--pink); }

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-row h3 { margin: 0 0 8px; font-weight: 600; }
.feature-row p { margin: 0; color: var(--ink-63); line-height: 1.5; }

.footer {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 28px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink-40); font-weight: 600; }
.footer a, .linkish {
  display: block;
  color: var(--pink);
  background: none;
  padding: 5px 0;
  text-align: left;
}

.footer-note {
  display: block;
  padding: 5px 0;
  color: var(--ink-63);
  font-size: 13px;
  line-height: 1.35;
}

.trust-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.trust-copy h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.trust-copy p {
  margin: 0 0 18px;
  color: var(--ink-63);
  font-size: 14px;
  line-height: 1.5;
  max-width: 78ch;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.trust-mark {
  height: 56px;
  padding: 8px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.trust-mark img {
  height: 28px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  display: block;
}

.trust-mark.icon img {
  height: 34px;
  width: 34px;
  max-width: 34px;
}

.trust-mark.wide img { max-width: 168px; height: 22px; }

.trust-mark.iso span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #131313;
}

.fineprint {
  margin-top: 28px;
  color: var(--ink-40);
  font-size: 13px;
  line-height: 1.45;
  max-width: 80ch;
}

@media (max-width: 860px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

.portfolio-head {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}

.addr { font-size: 22px; letter-spacing: -0.03em; word-break: break-all; }
.muted { color: var(--ink-63); }
.subhead { font-size: 20px; font-weight: 600; margin: 36px 0 12px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.plastic {
  position: relative;
  aspect-ratio: 1.586;
  border-radius: 18px;
  padding: 22px 24px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 16px 40px rgba(19, 19, 19, 0.16);
}

.plastic.visa {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 55, 199, 0.55), transparent 50%),
    linear-gradient(145deg, #1a1224, #131313 55%, #2a1833);
}

.plastic.mastercard {
  background:
    radial-gradient(90% 80% at 0% 100%, rgba(247, 158, 27, 0.45), transparent 46%),
    linear-gradient(145deg, #201016, #131313 60%, #3a1518);
}

.plastic .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plastic .chip {
  width: 34px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(180deg, #f2d187, #c9a24c);
}

.plastic .brand-mark { font-size: 18px; font-weight: 700; letter-spacing: 0.08em; }

.plastic .num {
  margin: 28px 0 10px;
  font-size: 20px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.plastic .meta { display: flex; gap: 24px; font-size: 12px; letter-spacing: 0.08em; opacity: 0.8; }
.plastic .meta b { display: block; font-size: 13px; opacity: 1; margin-top: 2px; letter-spacing: 0.14em; }

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.card-actions button,
.acc-actions button {
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--panel);
  font-size: 13px;
}

.card-actions button:hover,
.acc-actions button:hover { background: var(--pink-08); color: var(--pink); }

.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-63);
  background: var(--panel);
  border-radius: 24px;
}

.tx-list { display: grid; gap: 8px; }

.tx {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--panel);
  border-radius: 16px;
}

.tx b { font-weight: 600; }
.tx .down { color: #c2410c; }
.tx .up { color: #0f7b5a; }

.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 19, 0.28);
  backdrop-filter: blur(6px);
}

.dialog {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow: 0 24px 80px rgba(19, 19, 19, 0.18);
}

.dialog.slim { width: min(360px, 100%); }

.dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dialog h2 { margin: 0; font-size: 18px; font-weight: 600; }
.dialog-lead { margin: 0 0 14px; color: var(--ink-63); font-size: 14px; }

.dialog-search {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: var(--panel);
  outline: none;
  margin: 8px 0 12px;
}

.dialog-search:focus { border-color: var(--pink); background: #fff; }

.wallet-list, .pick-list, .menu-list { display: grid; gap: 8px; }

.wallet-item, .pick-item, .menu-list button, .menu-list .menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 16px;
  background: var(--panel);
}

.wallet-item:hover, .pick-item:hover, .menu-list button:hover,
.menu-list .menu-link:hover { background: var(--pink-08); }

.wallet-item .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
}

.wallet-item .ic img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.wallet-item small, .pick-item small { display: block; color: var(--ink-63); font-size: 12px; }

.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
}

.confirm-box { margin: 8px 0 16px; }

.mini-card {
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 12px;
}

.confirm-facts { list-style: none; margin: 0; padding: 0; }
.confirm-facts li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--ink-63);
}
.confirm-facts b { color: var(--ink); }

.account-box { text-align: center; padding: 8px 0 4px; }
.acc-actions { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.toast[hidden] { display: none; }

body.is-dark {
  --paper: #131313;
  --ink: #f5f5f5;
  --ink-63: rgba(245, 245, 245, 0.62);
  --ink-40: rgba(245, 245, 245, 0.4);
  --ink-08: rgba(245, 245, 245, 0.08);
  --panel: #1c1c1c;
  --line: #2a2a2a;
}

body.is-dark .topbar { background: rgba(19, 19, 19, 0.86); }
body.is-dark .token-pill { background: #242424; }
body.is-dark .swap-switch { background: #1c1c1c; border-color: #1c1c1c; }
body.is-dark .dialog { background: #1a1a1a; }
body.is-dark .btn-start.account { background: #242424; color: #f5f5f5; }
body.is-dark .lang-btn { background: #1c1c1c; }
body.is-dark .pay-badge.google,
body.is-dark .pay-badge.samsung { background: #fff; }
body.is-dark .fund-row { background: #1c1c1c; }
body.is-dark .fund-tools button { background: #242424; color: #f5f5f5; }
body.is-dark .net-ic { background: #1c1c1c; box-shadow: 0 0 0 2px #1c1c1c; }
body.is-dark .token-meta small { color: #8c8c8c; }
body.is-dark .trust-mark { background: #fff; }
body.is-dark .trust-block { border-top-color: #333; }
body.is-dark .ladder { background: #1c1c1c; box-shadow: 0 0 0 1px #333; }
body.is-dark .ladder-table td { border-top-color: #333; }
body.is-dark .ladder-table tr.is-best td { background: rgba(255, 55, 199, 0.12); }
body.is-dark .docs-tabs a:not(.is-active) { background: #242424; color: #f5f5f5; }

html[dir="rtl"] .nav { flex-direction: row-reverse; }
html[dir="rtl"] .panel-row,
html[dir="rtl"] .panel-head,
html[dir="rtl"] .details div,
html[dir="rtl"] .confirm-facts li,
html[dir="rtl"] .tx { flex-direction: row-reverse; }
html[dir="rtl"] .search-pill span { text-align: right; }

@media (max-width: 1100px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .search-pill { display: none; }
  .nav-links { display: none; }
  .tile-grid, .feature-row, .footer-cols { grid-template-columns: 1fr; }
  .waitlist-card { flex-direction: column; align-items: stretch; }
}
