.wallet-methods { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0; }
.wallet-methods-heading { display: grid; gap: 4px; font-size: 14px; }
.wallet-methods-heading > span { color: #778080; font-size: 11px; }
.wallet-method-grid { display: flex; gap: 8px; }
.agy-console-shell .wallet-method-grid .wallet-method-option {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  position: relative;
  width: auto; min-width: 44px; height: 50px; min-height: 50px; padding: 0 6px 10px;
  border: 0 !important; border-radius: 0; box-shadow: none !important;
  background: transparent !important; color: #171d1d !important; cursor: pointer;
  transition: color 160ms ease, opacity 160ms ease;
}
.agy-console-shell .wallet-method-grid .wallet-method-option:hover { color: #197361 !important; }
.agy-console-shell .wallet-method-grid .wallet-method-option.is-selected { color: #161b1b !important; opacity: 1; }
.agy-console-shell .wallet-method-grid .wallet-method-option > .wallet-logo { opacity: .65; transition: opacity 160ms ease; }
.agy-console-shell .wallet-method-grid .wallet-method-option:is(:hover, :focus-visible) > .wallet-logo { opacity: .85; }
.agy-console-shell .wallet-method-grid .wallet-method-option.is-selected > .wallet-logo { opacity: 1; }
.agy-console-shell .wallet-method-grid .wallet-method-indicator {
  position: absolute !important; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; border-radius: 2px;
  background: #171d1d !important; background-clip: border-box !important;
  opacity: 0; transition: opacity 160ms ease;
}
.agy-console-shell .wallet-method-grid .is-selected .wallet-method-indicator { opacity: 1; }
.agy-console-shell .wallet-method-grid .wallet-method-option::before,
.agy-console-shell .wallet-method-grid .wallet-method-option::after { display: none !important; }
.wallet-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.wallet-logo-alipay { width: 38px; height: 30px; border-radius: 0; background: transparent; object-fit: contain; }
.wallet-logo-ethereum { width: 21px; height: 34px; object-fit: contain; }
.wallet-logo-cards { gap: 10px; width: 86px; height: 30px; }
.wallet-logo-cards b { color: #1a4da1; font-size: 12px; font-style: italic; font-weight: 900; letter-spacing: -.5px; }
.wallet-logo-mastercard { display: block; width: 42px; height: 26px; object-fit: contain; }
.wallet-method-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet-payment-settings { min-width: 0; }
.wallet-payment-settings > .card-title { margin-bottom: 18px; }
.wallet-payment-settings .wallet-method-detail { margin: 0; border: 0; padding: 0; background: transparent; }
.wallet-payment-settings .wallet-crypto-fields { grid-template-columns: 1fr; }
.wallet-payment-settings .payment-channel-selector-head p { display: none; }
.wallet-payment-settings .payment-channel-options { flex-direction: column; }
.wallet-method-detail { padding: 18px; margin-top: 12px; border: 1px solid #dfe6e4; background: #f4f7f6; color: #1b2925; }
.wallet-method-detail-head strong { font-size: 14px; }
.wallet-method-detail-head > span { color: #49746a; font-size: 11px; }
.wallet-method-detail p { margin: 7px 0 0; color: #6a7773; font-size: 12px; line-height: 1.7; }
.wallet-crypto-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.wallet-crypto-fields label { display: grid; gap: 7px; min-width: 0; font-size: 12px; }
.agy-console-shell .wallet-crypto-fields select { width: 100%; min-height: 42px; border: 1px solid #dce3e0; border-radius: 0; padding: 0 10px; background: #fff; color: #20342c; font: inherit; }
.wallet-method-placeholder { display: flex; align-items: center; gap: 12px; margin-top: 16px; border-top: 1px solid #dfe6e4; padding-top: 16px; }
.wallet-method-placeholder > svg, .wallet-method-placeholder > .wallet-logo { flex-shrink: 0; color: #4e7469; }
.wallet-method-placeholder strong { font-size: 12px; font-weight: 500; }
.wallet-card-brands { display: flex; gap: 8px; margin-top: 16px; }
.wallet-card-brands span { padding: 7px 12px; border: 1px solid #dce3e0; background: #fff; color: #303b38; font-size: 13px; font-weight: 650; }
.agy-console-shell .wallet-method-option:focus-visible, .agy-console-shell .wallet-crypto-fields select:focus-visible { outline: 2px solid #197361; outline-offset: 3px; }
.agy-console-shell .wallet-pay-button:disabled { opacity: .5; cursor: not-allowed; }

/* Payment marks are brand colors, so the shell-wide hover sweep must not repaint them. */
.agy-console-shell .wallet-method-grid .wallet-method-option,
.agy-console-shell .wallet-method-grid .wallet-method-option:hover,
.agy-console-shell .wallet-method-grid .wallet-method-option:focus-visible {
  --hover-sweep-bg: transparent !important;
  --hover-sweep-color: #171d1d !important;
  background-color: transparent !important;
  background-image: none !important;
  background-size: auto !important;
}
.agy-console-shell .wallet-method-grid .wallet-method-option:hover .wallet-logo-alipay,
.agy-console-shell .wallet-method-grid .wallet-method-option:focus-visible .wallet-logo-alipay { color: #fff !important; }
.agy-console-shell .wallet-method-grid .wallet-method-option:hover .wallet-logo-cards b,
.agy-console-shell .wallet-method-grid .wallet-method-option:focus-visible .wallet-logo-cards b { color: #1a4da1 !important; }

@media (max-width: 980px) {
  .wallet-tools .wallet-payment-settings { grid-row: 2; }
  .wallet-tools .wallet-policy-card { grid-row: 3; }
  .wallet-tools .wallet-exchange-policy-slot { grid-row: 4; }
  .wallet-tools .wallet-secondary-stack { grid-row: 5; }
}
html[data-console-theme="dark"] .agy-console-shell .wallet-method-grid .wallet-method-indicator { background: #e1e9e6 !important; }
@media(prefers-reduced-motion:reduce){.agy-console-shell .wallet-method-grid .wallet-method-option>.wallet-logo{transition:none}}
html[data-console-theme="dark"] .agy-console-shell .wallet-method-grid .wallet-logo-alipay { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
html[data-console-theme="dark"] .stripe-preview-bar { background: #242a28ed; border-color: #48534e; }
html[data-console-theme="dark"] .stripe-preview-bar :is(strong,label,select) { color: #e1e9e6 !important; }
html[data-console-theme="dark"] .stripe-preview-bar span { color: #a4b3ad !important; }
html[data-console-theme="dark"] .stripe-preview-bar select { background: #303a35 !important; border-color: #53665c; }

.wallet-test-notice { display: grid; gap: 5px; margin: 10px 0 14px; padding: 10px 12px; background: #eff4f2; color: #49665a; font-size: 12px; line-height: 1.6; border-radius: 4px; }
.wallet-test-notice strong { font-size: 12px; font-weight: 600; }
.wallet-test-message { font-size: 12px; line-height: 1.6; margin: 12px 0; color: #526b62; }
.wallet-test-balance { border-top: 1px solid #e1e7e3; margin-top: 18px; padding-top: 16px; font-size: 12px; }
.wallet-test-balance > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wallet-test-balance strong { font-size: 18px; font-weight: 600; }
.wallet-test-balance small { display: block; margin-top: 6px; color: #7b8781; line-height: 1.6; }
.wallet-test-balance details { margin-top: 12px; }
.wallet-test-balance summary { cursor: pointer; }
.wallet-test-balance ul { list-style: none; padding: 0; margin: 10px 0 0; }
.wallet-test-balance li { display: flex; gap: 12px; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e1e7e3; }
.wallet-test-balance time { color: #7b8781; }
html[data-console-theme="dark"] .wallet-test-notice { background: #27342e; color: #b3ccbf; }
html[data-console-theme="dark"] .wallet-test-balance,html[data-console-theme="dark"] .wallet-test-balance li { border-color: #3b4741; }
html[data-console-theme="dark"] .wallet-test-message { color: #aec7bc; }
