.funding-header { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.funding-balance-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.funding-balance-label strong { color: #efccdb; font: 400 13px/1.4 var(--mono); }
.funding-open { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 8px 11px; border: 1px solid #693047; border-radius: 3px; background: #29121e; color: #f2d6e3; font-size: 12px; }
.funding-open:hover { border-color: #c9577e; background: #41192d; }
.funding-open > span { color: #ee83a6; font-size: 16px; line-height: 1; }
.funding-modal { position: fixed; width: min(510px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 30px; overflow: auto; overscroll-behavior: contain; border: 1px solid #8d3d5b; border-radius: 7px; background: radial-gradient(ellipse at 100% 0, #5a19302e, transparent 70%), #110b0f; color: #efebeb; font-family: var(--mono); box-shadow: 0 25px 100px #000b; }
.funding-modal::backdrop { background: #030204dc; backdrop-filter: blur(5px); }
.funding-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid #593044; border-radius: 3px; background: #24111c; color: #dab6c6; font-size: 23px; line-height: 1; }
.funding-close:hover { border-color: #c36083; color: #fff0f7; }
.funding-eyebrow { margin: 0 38px 16px 0; color: #c089a0; font-size: 9px; letter-spacing: 1.5px; }
.funding-modal h2 { margin: 0 0 9px; color: #f5dde8; font-size: 30px; font-weight: 400; line-height: 1.2; letter-spacing: -1.1px; }
.funding-description { margin: 0 0 22px; color: #b793a4; font-size: 11px; line-height: 1.8; }
.funding-preview-note { margin: 0 0 17px; padding: 10px 12px; border: 1px solid #8d663d; border-radius: 3px; background: #352316; color: #f6cf91; font-size: 12px; line-height: 1.6; }
.funding-error { margin: 0 0 16px; padding: 11px 12px; border: 1px solid #a44b6b; border-radius: 3px; background: #43172977; color: #f4b5ce; font-size: 11px; line-height: 1.8; }
.funding-form { display: grid; gap: 16px; }
.funding-field { display: grid; gap: 7px; min-width: 0; }
.funding-field > label { display: flex; align-items: center; gap: 7px; color: #dbb8c8; font-size: 11px; }
.funding-field > label > span { color: #f27ca2; }
.funding-field input, .funding-field select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #653047; border-radius: 3px; background: #24121d; color: #f1dce6; font: 13px/1.5 var(--mono); }
.funding-field input::placeholder { color: #977187; }
.funding-field select option { background: #24121d; color: #f1dce6; }
.funding-field input:disabled, .funding-field select:disabled { opacity: .65; }
.funding-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 1px 0 3px; }
.funding-presets button { min-height: 39px; padding: 8px; border: 1px solid #623047; border-radius: 3px; background: #1b1017; color: #d1a2b7; font-size: 12px; }
.funding-presets button[aria-pressed="true"] { border-color: #db6c95; background: #562138; color: #fff0f7; }
.funding-presets button:hover:not(:disabled) { border-color: #d95e8d; background: #3e192c; }
.funding-hint { margin: 0; color: #a27b90; font-size: 10px; line-height: 1.8; }
.funding-disclosure, .funding-quote-disclosure { padding: 13px 14px; border: 1px solid #73354f; border-left: 3px solid #d9608b; border-radius: 3px; background: #2a1321; }
.funding-disclosure > p, .funding-quote-disclosure { margin: 0; color: #efd0de; font-size: 12px; line-height: 1.8; }
.funding-acknowledgement { display: flex; align-items: flex-start; gap: 9px; min-height: 32px; margin-top: 13px; padding: 4px 0; color: #d2a9bd; font-size: 11px; line-height: 1.7; cursor: pointer; }
.funding-acknowledgement input { flex-shrink: 0; width: 17px; height: 17px; margin: 1px 0 0; accent-color: #d34273; }
.funding-primary, .funding-copy, .funding-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 43px; padding: 11px 13px; border: 1px solid #70334f; border-radius: 3px; background: #28121f; color: #ebc2d5; font: 11px/1.5 var(--mono); }
.funding-primary { width: 100%; justify-content: space-between; min-height: 47px; border-color: #b63157; background: #bc274f; color: #fff0f7; }
.funding-primary:hover:not(:disabled) { border-color: #ff91b2; background: #d93362; }
.funding-copy:hover:not(:disabled), .funding-text-button:hover:not(:disabled) { border-color: #c35880; background: #3b192d; color: #ffe1ee; }
.funding-primary:disabled, .funding-copy:disabled, .funding-text-button:disabled, .funding-presets button:disabled { opacity: .45; cursor: default; }
.funding-text-button { width: 100%; margin-top: 11px; background: transparent; }
.funding-order { text-align: center; }
.funding-status-mark { display: grid; place-items: center; width: 43px; height: 43px; margin: 5px auto 14px; border: 1px solid #a45071; border-radius: 50%; color: #f39abf; font-size: 21px; }
.funding-order-status h3 { margin: 0 0 10px; color: #f2d8e5; font-size: 18px; font-weight: 400; line-height: 1.4; }
.funding-order-status p { margin: 0 0 19px; color: #c497ad; font-size: 11px; line-height: 1.85; }
.funding-quote-disclosure { margin-top: 17px; text-align: left; }
.funding-summary { display: grid; gap: 12px; margin: 17px 0; text-align: left; }
.funding-summary > div { display: grid; gap: 5px; min-width: 0; }
.funding-summary dt { color: #ad8198; font-size: 10px; }
.funding-summary dd { margin: 0; color: #efd1e0; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.funding-summary .funding-crypto-amount { color: #f49bbf; font-size: 19px; }
.funding-qr { width: 216px; max-width: 100%; margin: 21px auto 15px; padding: 12px; border-radius: 4px; background: #fff; }
.funding-qr img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.funding-address-field { margin-top: 19px; text-align: left; }
.funding-address-field input { font-size: 11px; }
.funding-network-warning { margin: 13px 0 17px; color: #d3a0b6; font-size: 10px; line-height: 1.85; text-align: left; }
.funding-secondary-summary { padding: 14px 0; border-block: 1px solid #512a3d; }
.funding-secondary-summary > div { grid-template-columns: 1fr 1fr; gap: 10px; }
.funding-secondary-summary dd { text-align: right; font-size: 10px; }
.funding-copy-status { min-height: 16px; margin: 10px 0; color: #d8afc2; font-size: 10px; line-height: 1.6; }
.funding-enabled .shop-header { height: auto; min-height: 70px; padding-block: 10px; }
@media (max-width: 660px) {
  .funding-enabled .shop-header { flex-wrap: wrap; row-gap: 11px; }
  .funding-enabled .shop-header > .shop-brand { order: 0; }
  .funding-enabled .shop-header > .shop-nav { order: 1; }
  .funding-enabled .shop-header > .cart-trigger { order: 2; }
  .funding-header { order: 3; justify-content: space-between; width: 100%; flex-basis: 100%; }
}
@media (max-width: 480px) {
  .funding-modal { padding: 29px 21px 23px; }
  .funding-modal h2 { font-size: 27px; }
  .funding-field input, .funding-field select { font-size: 16px; }
  .funding-address-field input { font-size: 12px; }
  .funding-disclosure > p, .funding-quote-disclosure { font-size: 11px; }
  .funding-primary { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .funding-modal, .funding-modal * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
