/* The "Send X" / "Send X to Y" / feature-preview widget — a static replica
   of the real Scrypt Wallet app screen it represents. Scoped under .wm so it
   can't collide with anything else on the page. Uses the same --bg/
   --surface/--border/--text*/--accent* tokens site.css defines on :root
   (including its dark-mode flip), so the widget and the surrounding page
   are always in sync with no separate theme to maintain here. */
.wm {
  position: relative;
  max-width: 420px;
  margin: 36px 0;
}
.wm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.2);
  color: var(--text);
}
.wm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.wm-coin {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wm-coin-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  border: 1px solid var(--border);
}
.wm-coin-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.wm-coin-sub {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}
.wm-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-600);
  background: var(--accent-50);
  border-radius: 999px;
  padding: 4px 10px;
}
.wm-field {
  display: block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.wm-input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  caret-color: transparent;
  cursor: pointer;
}
.wm-amount-row {
  position: relative;
  display: flex;
  align-items: center;
}
.wm-amount-row .wm-input {
  padding-right: 76px;
}
.wm-amount-sym {
  position: absolute;
  right: 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.wm-token-chip {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
}
.wm-token-chip img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.wm-swap-divider {
  width: 34px;
  height: 34px;
  margin: -6px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent-600);
  font-weight: 700;
}
.wm-summary {
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
}
.wm-summary div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--text-secondary);
}
.wm-list {
  margin-bottom: 18px;
}
.wm-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.wm-list-row:last-child {
  border-bottom: 0;
}
.wm-list-row img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  border: 1px solid var(--border);
}
.wm-list-row .wm-list-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.88rem;
}
.wm-list-row .wm-list-value {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}
.wm-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.wm-total .wm-total-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}
.wm-total .wm-total-value {
  font-size: 1.6rem;
  font-weight: 700;
}
.wm-qr {
  width: 148px;
  height: 148px;
  margin: 4px auto 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg)
    repeating-conic-gradient(var(--text) 0% 25%, transparent 0% 50%) 50% / 12px
    12px;
  opacity: 0.14;
}
.wm-wheel {
  width: 160px;
  height: 160px;
  margin: 4px auto 18px;
  border-radius: 50%;
  border: 4px solid var(--surface);
  outline: 1px solid var(--border);
  background: conic-gradient(
    var(--accent) 0deg 60deg,
    var(--accent-600) 60deg 120deg,
    var(--accent) 120deg 180deg,
    var(--accent-600) 180deg 240deg,
    var(--accent) 240deg 300deg,
    var(--accent-600) 300deg 360deg
  );
  position: relative;
}
.wm-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
}
.wm-prize-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.wm-prize-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.wm-cta {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.wm-foot {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-tertiary);
}
.wm-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.wm-gate.wm-open {
  opacity: 1;
  pointer-events: auto;
}
.wm-gate-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: var(--surface);
  color: var(--text);
  border-radius: 16px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.4);
}
.wm-gate-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.wm-gate-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.wm-gate-card p {
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.wm-gate-primary {
  display: block;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.wm-gate-secondary {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--accent-600);
  text-decoration: none;
}
.wm-gate-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
}

/* Real asset profile card (tokenized stocks, Trust Layer tokens) — a real
   price/chart snapshot, not a signup-gated mockup like .wm-* above. */
.asset-card {
  max-width: 460px;
  margin: 36px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.2);
  color: var(--text);
}
.asset-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.asset-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  border: 1px solid var(--border);
}
.asset-name {
  font-weight: 600;
  font-size: 1rem;
}
.asset-symbol {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}
.asset-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.asset-price {
  font-size: 1.8rem;
  font-weight: 700;
}
.asset-up {
  color: #16a34a;
  font-weight: 600;
  font-size: 0.9rem;
}
.asset-down {
  color: #dc2626;
  font-weight: 600;
  font-size: 0.9rem;
}
.asset-chart {
  width: 100%;
  height: 120px;
  display: block;
  margin-bottom: 12px;
}
.asset-yield {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.asset-yield span:last-child {
  font-weight: 700;
  color: #16a34a;
}
.asset-snapshot-note {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin: 0 0 14px;
}
