/* dis-brand-agent: repo=PLUS ONE product=DIS BRAND tag=DIS-PLUSONE-GOLD-NETWORK-MODEL-3-CSS name="DIS BRAND Governed Agent" action=edit at=2026-08-08T16:30:00.000Z */
/* Model 3 — Gold token on blockchain · dark crypto-native */

:root {
  --bg: #0a0c10;
  --surface: #141820;
  --surface-2: #1c2230;
  --ink: #f4efe6;
  --muted: #8b95a8;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #e8c56a;
  --gold-deep: #b8892d;
  --cyan: #4ecdc4;
  --up: #3ecf8e;
  --down: #ff6b6b;
  --nav-h: 72px;
  --radius: 20px;
  --font: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  --mono: "SF Mono", "Fira Code", monospace;
  --glow: 0 0 60px rgba(232, 197, 106, 0.12);
}

html.m3-root,
html.m3-root body {
  background: #0a0c10 !important;
  color: #f4efe6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(232, 197, 106, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 20%, rgba(78, 205, 196, 0.06) 0%, transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.m3-shell {
  max-width: 100%;
  margin: 0;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}

.m3-topbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  flex-shrink: 0;
}
.m3-back,
.m3-topbar-spacer {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 1.1rem;
}
.m3-brand {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.m3-brand strong { display: block; font-size: 0.95rem; letter-spacing: -0.02em; }
.m3-brand span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m3-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a2010, var(--gold-deep));
  border: 1px solid rgba(232, 197, 106, 0.35);
  box-shadow: var(--glow);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
}

.m3-net-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.m3-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}
.m3-dot.eth { background: #627eea; }
.m3-dot.xlm { background: #7b61ff; }
.m3-dot.xdc { background: #1e88e5; }

.m3-main {
  flex: 1;
  overflow: hidden;
  padding: 0 1rem;
}
.m3-screen {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  overflow-y: auto;
  padding-bottom: 1rem;
  animation: m3-rise 0.35s ease both;
}
.m3-screen.active { display: flex; }

.m3-wallet-card {
  background: linear-gradient(160deg, #1a1520 0%, #141820 40%, #1e1810 100%);
  border: 1px solid rgba(232, 197, 106, 0.2);
  border-radius: 24px;
  padding: 1.35rem 1.2rem;
  box-shadow: var(--glow), 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.m3-wallet-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 197, 106, 0.15), transparent 70%);
  pointer-events: none;
}
.m3-wallet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.m3-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.m3-eye {
  border: none;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
}
.m3-balance {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.m3-unit {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 650;
  margin-top: 0.25rem;
}
.m3-unit span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
}
.m3-fiat {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.m3-wallet-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-size: 0.75rem;
}
.m3-wallet-meta span { display: block; color: var(--muted); margin-bottom: 0.15rem; }
.m3-wallet-meta strong { color: var(--ink); }
.up { color: var(--up) !important; }
.down { color: var(--down) !important; }

.m3-address-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}
.m3-address-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
}
.m3-address-row code {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--cyan);
}
.m3-copy {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.m3-muted { font-size: 0.75rem; color: var(--muted); }

.m3-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.m3-action {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0.25rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.m3-action span:first-child,
.m3-action > span[data-icon] {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 1.15rem;
  color: var(--ink);
}
.m3-action.primary > span:first-child,
.m3-action.primary > span[data-icon] {
  background: linear-gradient(145deg, rgba(184, 137, 45, 0.45), rgba(232, 197, 106, 0.25));
  border-color: rgba(232, 197, 106, 0.45);
  color: var(--gold);
  box-shadow: var(--glow);
}
.m3-action.primary { color: var(--gold); }
}

.m3-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.m3-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.m3-section-title {
  font-size: 0.88rem;
  font-weight: 650;
}
.m3-link {
  border: none;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
  cursor: pointer;
}

.m3-tx-list { list-style: none; }
.m3-tx-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}
.m3-tx-list li:last-child { border-bottom: none; }
.m3-tx-list li div { flex: 1; min-width: 0; }
.m3-tx-list li strong { display: block; font-size: 0.86rem; }
.m3-tx-list li span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-family: var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m3-tx-list li em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.m3-tx-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.m3-tx-ico.in { background: rgba(62, 207, 142, 0.15); color: var(--up); }
.m3-tx-ico.out { background: rgba(255, 107, 107, 0.12); color: var(--down); }
.m3-tx-ico.swap { background: rgba(78, 205, 196, 0.12); color: var(--cyan); }

.m3-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.m3-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.65rem;
  text-align: center;
}
.m3-stat span {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.m3-stat strong {
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.m3-page-title {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-top: 0.25rem;
}
.m3-page-lead {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.m3-swap-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.m3-swap-field {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1rem;
}
.m3-swap-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
.m3-swap-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.m3-swap-input input {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  outline: none;
  font-variant-numeric: tabular-nums;
}
.m3-token-pill {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.m3-token-pill.gold {
  border-color: rgba(232, 197, 106, 0.4);
  color: var(--gold);
}
.m3-swap-flip {
  align-self: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  margin: -0.5rem 0;
}
.m3-swap-details {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
}
.m3-swap-details li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  color: var(--muted);
}
.m3-swap-details strong { color: var(--ink); }

.m3-field {
  display: block;
  margin-bottom: 0.85rem;
}
.m3-field input {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}
.m3-field input:focus { border-color: rgba(232, 197, 106, 0.45); }
.m3-field .m3-muted { display: block; margin-top: 0.35rem; }

.m3-btn-primary {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #1a1208;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
}
.m3-btn-primary:active { transform: scale(0.98); }

.m3-btn-ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.65rem;
}
.m3-btn-ghost.full { width: 100%; }

.m3-pool-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}
.m3-badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(232, 197, 106, 0.15);
  color: var(--gold);
  font-weight: 700;
}
.m3-badge.cyan {
  background: rgba(78, 205, 196, 0.12);
  color: var(--cyan);
}

.m3-proof-list {
  list-style: none;
  font-size: 0.82rem;
}
.m3-proof-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.m3-proof-list li:last-child { border-bottom: none; }
.m3-proof-list strong { color: var(--ink); }

.m3-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.5rem 0.35rem calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(10, 12, 16, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
  z-index: 50;
}
.m3-nav-item {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font: inherit;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 0.35rem;
}
.m3-nav-item.active { color: var(--gold); }
.m3-nav-ico { font-size: 1rem; }

.m3-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 1rem + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-2);
  border: 1px solid rgba(232, 197, 106, 0.3);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 60;
  opacity: 0;
  transition: all 0.3s ease;
}
.m3-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.m3-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 430px;
  width: calc(100% - 2rem);
}
.m3-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}
.m3-dialog-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
}
.m3-net-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: left;
}
.m3-net-option em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}
.m3-net-option.selected {
  border-color: rgba(232, 197, 106, 0.45);
  background: rgba(232, 197, 106, 0.08);
}

@keyframes m3-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.blurred { filter: blur(6px); user-select: none; }

/* Gate */
.m3-gate {
  min-height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  padding: 2rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.m3-gate-brand { text-align: center; }
.m3-gate-brand h1 { font-size: 2rem; letter-spacing: -0.03em; margin: 0.6rem 0 0.3rem; }
.m3-gate-brand p { color: var(--muted); font-size: 0.9rem; }
.m3-mark.xl {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  background: linear-gradient(135deg, #2a2010, var(--gold-deep));
  border: 1px solid rgba(232, 197, 106, 0.35);
  box-shadow: var(--glow);
}
.m3-gate-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.35rem;
}
.m3-kicker {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.m3-gate-card h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.m3-gate-lead { color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; }
.m3-gate-note { margin-top: 0.75rem; font-size: 0.72rem; color: var(--muted); text-align: center; }
.m3-gate-link { text-align: center; font-size: 0.85rem; color: var(--gold); text-decoration: none; }

.m3-filter-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  overflow-x: auto;
}
.m3-filter {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.m3-filter.active { border-color: rgba(232,197,106,0.45); background: rgba(232,197,106,0.1); color: var(--gold); }

.m3-qr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 0.85rem;
}
.m3-qr {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  width: min(180px, 60vw);
  margin: 0 auto 1rem;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
}
.m3-qr span {
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 2px;
}
.m3-qr span.on { background: #12141a; }
.m3-qr-addr {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--cyan);
  word-break: break-all;
  margin-bottom: 0.75rem;
}

.m3-stake-hero { text-align: center; }
.m3-stake-amt { font-size: 1.75rem; display: block; margin: 0.35rem 0; color: var(--gold); }

.m3-seg-tabs { display: flex; gap: 0.35rem; margin-bottom: 0.75rem; }
.m3-seg {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 0.55rem;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.m3-seg.active { border-color: rgba(232,197,106,0.45); background: rgba(232,197,106,0.1); color: var(--gold); }

.m3-warn {
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.25);
  font-size: 0.84rem;
  margin-bottom: 0.85rem;
}

.m3-settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.55rem 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.m3-settings-row span { color: var(--muted); font-size: 0.84rem; }
.m3-select {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font: inherit;
}

.m3-tx-full { min-height: 200px; }
.m3-empty { color: var(--muted); text-align: center; padding: 2rem !important; justify-content: center; display: block; }

.m2-gate[hidden],
.m3-gate[hidden] { display: none !important; pointer-events: none !important; }
.m3-pending {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: grid;
  place-items: center;
  z-index: 80;
}
.m3-pending[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.m3-pending-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  text-align: center;
}
.m3-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 999px;
  animation: m3-spin 0.8s linear infinite;
  margin-bottom: 0.75rem;
}
@keyframes m3-spin { to { transform: rotate(360deg); } }

.m3-field textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

/* UX v2 patches */
.m3-gate-restore {
  display: block;
  text-align: center;
  margin-top: var(--gn-space-3, 0.75rem);
  font-size: 0.82rem;
  color: var(--gold);
  text-decoration: underline;
}
.m3-slippage-warn {
  background: rgba(255, 107, 107, 0.12);
  color: var(--down);
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--gn-radius-sm, 10px);
  margin-bottom: 0.5rem;
}
.m3-filter-count {
  font-size: 0.62rem;
  opacity: 0.6;
  margin-left: 0.2rem;
}
.input-error { border-color: var(--down) !important; box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2); }
.m3-btn-primary:active, .m3-btn-ghost:active, .m3-action:active, .model-nav-btn:active { transform: scale(0.98); }

.m3-reserve-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 1rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(232, 197, 106, 0.25);
  background: linear-gradient(135deg, rgba(184, 137, 45, 0.12), rgba(20, 24, 32, 0.9));
}
.m3-reserve-gauge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 3px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}
.m3-reserve-copy {
  flex: 1;
  min-width: 0;
}
.m3-reserve-copy strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}
.m3-reserve-copy span {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.35;
}

/* PAXG light wallet — v10 (matches paxg.com, not dark crypto) */
.app-stage--paxg {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface-2: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e5e5e0;
  --gold: #b8892d;
  --gold-deep: #8a671f;
  --glow: none;
}

html.m3-root:has(.app-stage--paxg),
html.m3-root:has(.app-stage--paxg) body {
  background: #ffffff !important;
  color: #1a1a1a;
}

.app-stage--paxg body,
.app-stage--paxg .m3-shell {
  background: #ffffff;
  color: #1a1a1a;
}

.app-stage--paxg .m3-topbar,
.app-stage--paxg .m3-card,
.app-stage--paxg .m3-address-card,
.app-stage--paxg .m3-stat {
  background: #f7f7f5;
  border-color: #e5e5e0;
}

.app-stage--paxg .m3-wallet-card {
  background: linear-gradient(145deg, #faf6ee 0%, #f7f7f5 100%);
  border: 1px solid #e5e5e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  color: #1a1a1a;
}

.app-stage--paxg .m3-wallet-card .m3-label,
.app-stage--paxg .m3-wallet-card .m3-unit,
.app-stage--paxg .m3-wallet-card .m3-fiat {
  color: #4a4a4a;
}

.app-stage--paxg .m3-balance {
  color: #1a1a1a;
}

.app-stage--paxg .m3-reserve-strip {
  background: #faf6ee;
  border-color: #e5e5e0;
}

.app-stage--paxg .m3-action {
  background: #fff;
  border-color: #e5e5e0;
  color: #1a1a1a;
}

.app-stage--paxg .m3-action.primary {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.app-stage--paxg .m3-net-btn {
  background: #f7f7f5;
  border-color: #e5e5e0;
  color: #1a1a1a;
}

.app-stage--paxg .m3-gate {
  background: #ffffff;
  color: #1a1a1a;
  min-height: 60vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}
.app-stage--paxg .m3-gate-card {
  background: #f7f7f5;
  border-color: #e5e5e0;
}
.app-stage--paxg .m3-mark.xl {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.25rem;
  margin: 0 auto 0.75rem;
}
.m3-gate-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(184,137,45,0.2);
  border-top-color: var(--gold, #b8892d);
  border-radius: 999px;
  margin: 1rem auto;
  animation: m3spin 0.8s linear infinite;
}
@keyframes m3spin { to { transform: rotate(360deg); } }
.m3-gate-status { text-align: center; color: var(--muted); font-size: 0.9rem; }
.m3-gate-address { text-align: center; font-family: var(--mono); font-size: 0.82rem; margin-top: 0.5rem; }
.m3-slippage-pills { display: flex; gap: 0.5rem; margin: 0.75rem 0; }
.m3-slip-pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.35rem 0.75rem; font-size: 0.78rem; cursor: pointer; }
.m3-slip-pill.active { border-color: var(--gold); background: rgba(184,137,45,0.08); color: var(--gold-deep); font-weight: 600; }
.m3-receive-warn { font-size: 0.82rem; color: #9a6700; background: #fff8e6; border: 1px solid #f0d78a; border-radius: 10px; padding: 0.75rem 1rem; margin-bottom: 1rem; }
.m3-explorer-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
}
.m3-explorer-link:hover { text-decoration: underline; }
.m3-explorer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.m3-redeem-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.m3-redeem-id {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--mono, ui-monospace, monospace);
}
.m3-action:focus-visible,
.m3-btn-primary:focus-visible,
.m3-btn-ghost:focus-visible,
.model-nav-btn:focus-visible,
.m3-net-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.m3-net-contract { font-size: 0.72rem; color: var(--muted); word-break: break-all; margin: 0.5rem 0 0; }

