/* Connection-only QA: presentation only; existing controls retain all behavior. */
@media (max-width: 991px) and (hover: none), (max-width: 991px) and (pointer: coarse) {
  body.presale-page #presale-buy-card #bbai-qa-checkout-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 8px !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  body.presale-page #presale-buy-card #bbai-qa-checkout-header > div {
    min-width: 0;
    max-width: 100%;
  }
  body.presale-page #presale-buy-card #bbai-qa-checkout-header > .text-end {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left !important;
  }
  body.presale-page #presale-buy-card #bbai-qa-checkout-header #buy-card-heading {
    max-width: 100%;
    line-height: 1.4;
    padding-block: 1px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.presale-page #presale-buy-card #bbai-qa-checkout-header #buy-card-mode-badge {
    max-width: 100%;
    white-space: nowrap;
    justify-self: start;
    flex-shrink: 0;
  }
  body.presale-page #presale-buy-card #bbai-qa-checkout-header #buy-wallet-status {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.4;
    border-radius: 12px;
    text-align: left;
  }
  body.presale-page #presale-buy-card #buy-control-shell[data-buy-mode="eth"] #buy-amount-unit,
  body.presale-page #presale-buy-card #pay-eth:checked:not(:disabled) + #pay-eth-label:not([aria-disabled="true"]):not(.is-pre-reserve-locked) {
    background: linear-gradient(110deg, #00e5ff 0%, #8db8ff 50%, #ff2bd6 100%) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    color: #041220 !important;
    -webkit-text-fill-color: #041220 !important;
    text-shadow: none !important;
    opacity: 1 !important;
  }
}
