@layer zeno-vercel-interactions {
/* Limit orders use native price/share inputs. Keep this layout override scoped
   to a visible native limit form; market orders retain the Vercel amount layout. */
html.vercel-layout body #appView.vercel-standalone-ticket #tradeRail:has(#limitRow:not(.hidden):not([hidden])) .trade-amount-controls{display:none!important}
html.vercel-layout body #appView.vercel-standalone-ticket #tradeRail:has(#limitRow:not(.hidden):not([hidden]))>.panel{min-height:0!important}
html.vercel-layout body #appView.vercel-standalone-ticket #limitRow:not(.hidden):not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;width:100%!important;align-items:start!important}
html.vercel-layout body #appView.vercel-standalone-ticket #limitRow>label{display:grid!important;gap:6px!important;min-width:0!important;line-height:1.5!important;white-space:normal!important}
html.vercel-layout body #appView.vercel-standalone-ticket #limitRow input{width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important}
/* Native route recovery may have an event but no executable outcome yet.
   Preserve its real selection buttons and restore the normal page navigation. */
html.vercel-layout body #appView.vercel-market-detail:not(.vercel-ticket-open) .vercel-shell-head{display:block!important}
html.vercel-layout body #appView.vercel-market-detail:not(.vercel-ticket-open) .market-route-actions{display:flex!important}
html.vercel-layout body #appView.vercel-market-detail:not(.vercel-ticket-open) .vercel-detail-venues{display:none!important}
html.vercel-layout body #appView.vercel-market-detail:not(.vercel-ticket-open) #venueCompare{width:auto!important;min-width:0!important;max-width:100%!important;margin:12px!important;box-sizing:border-box!important}
html.vercel-layout body #appView.vercel-market-detail:not(.vercel-ticket-open) #venueCompare button{min-width:0!important;box-sizing:border-box!important}
/* Wallet headings and return links are flat navigation, not raised controls. */
/* Unavailable comparison routes retain the current shell, never the legacy
   platform-choice screen. No executable outcome is synthesized. */
html.vercel-layout body #appView #chartCard.comparison-stage #venueCompareHome,
html.vercel-layout body #appView.vercel-market-recovery-view .vercel-market-tools{display:none!important}
html.vercel-layout body #appView .vercel-market-recovery:not([hidden]){display:grid!important;gap:16px!important;padding:24px!important;line-height:1.6!important;color:#aac5df!important}
html.vercel-layout body #appView .vercel-market-recovery>button{justify-self:start!important;padding:10px 20px!important;border:1px solid #29465d!important;border-radius:12px!important;background:#123148!important;color:#8bdcff!important}
html.vercel-layout body #profileDrawer.wallet-shell .drawer-head{background:transparent!important;background-image:none!important;box-shadow:none!important;filter:none!important;border-top:0!important;border-right:0!important;border-left:0!important}
html.vercel-layout body #profileDrawer.wallet-shell .drawer-head h2{background:transparent!important;box-shadow:none!important;text-shadow:none!important}
html.vercel-layout body #profileDrawer.wallet-shell .drawer-head>.drawer-close,
html.vercel-layout body #profileDrawer.wallet-shell .wallet-flow-back{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;filter:none!important;text-shadow:none!important}
}

@layer zeno-vercel-interactions {
/* Wallet controls stay flat, including shared pointer-press feedback. */
html.vercel-layout body :is(#profileDrawer.wallet-shell,dialog.withdrawal-consent) button,
html.vercel-layout body :is(.wallet-amount-control,.swap-amount-control) button,
html.vercel-layout body #pmTransferMax,
html.vercel-layout body .zeno-select-option {
  box-shadow:none!important;text-shadow:none!important;background-image:none!important;
  transform:none!important;translate:none!important;filter:none!important;
}
/* Both route fields keep identical geometry regardless of the venue label. */
html.vercel-layout body #profileDrawer.wallet-shell .wallet-route-grid>label {
  display:grid!important;grid-template-rows:18px 60px!important;gap:8px!important;min-width:0!important;
}
html.vercel-layout body #profileDrawer.wallet-shell .wallet-route-grid>label>span {
  margin:0!important;line-height:18px!important;
}
html.vercel-layout body #profileDrawer.wallet-shell .wallet-route-grid .zeno-select {
  width:100%!important;height:60px!important;min-width:0!important;
}
html.vercel-layout body #profileDrawer.wallet-shell .wallet-route-grid :is(.zeno-select-trigger,select:not(.zeno-select-native)) {
  width:100%!important;height:60px!important;min-height:60px!important;max-height:60px!important;
  box-sizing:border-box!important;padding:8px 12px!important;
}
html.vercel-layout body #profileDrawer.wallet-shell .wallet-route-grid .zeno-select-value {
  white-space:normal!important;line-height:1.35!important;
}
html.vercel-layout body #profileDrawer.wallet-shell #walletRouteSwap {margin-bottom:10px!important}
@media(max-width:720px) {
  html.vercel-layout body #profileDrawer.wallet-shell #walletRouteSwap {
    margin-bottom:0!important;transform:rotate(90deg)!important;
  }
}
}

/* Verified transfer receipts separate the credited amount from fresh balances. */
html.vercel-layout dialog.transfer-dialog .transfer-receipt-credit {
  margin:18px 0 10px;padding:16px;border:1px solid #275866;border-radius:12px;
  background:#0a2632;text-align:center;box-shadow:none;
}
html.vercel-layout dialog.transfer-dialog .transfer-receipt-credit>span {display:block;color:#a9c4d5;font-size:12px}
html.vercel-layout dialog.transfer-dialog .transfer-receipt-credit>strong {
  display:block;margin-top:6px;color:#3ee6ba;font-size:clamp(22px,5.5vw,28px);line-height:1.25;
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
html.vercel-layout dialog.transfer-dialog .transfer-receipt-balances {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 20px;
}
html.vercel-layout dialog.transfer-dialog .transfer-receipt-balance {
  min-width:0;padding:14px 12px;border:1px solid #29445a;border-radius:12px;background:#0b1c2b;
}
html.vercel-layout dialog.transfer-dialog .transfer-receipt-balance>span {display:block;color:#92abc0;font-size:12px}
html.vercel-layout dialog.transfer-dialog .transfer-receipt-balance>strong {
  display:block;margin-top:6px;color:#edf6ff;font-size:16px;line-height:1.35;
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
html.vercel-layout dialog.transfer-dialog .transfer-receipt-elapsed {margin:10px 0;color:#93abc0;font-size:12px;font-variant-numeric:tabular-nums}
