:root {
    --swapr-blue: #0739be;
    --swapr-blue-deep: #031f78;
    --swapr-yellow: #ffc21c;
    --swapr-ink: #06172d;
    --swapr-night: #031426;
    --swapr-white: #f8f9ff;
    --swapr-muted: #89a2c7;
    --swapr-green: #0b8745;
    --swapr-red: #c82c3c;
    --swapr-line: rgba(255, 255, 255, .18);
    --swapr-font-body: "Segoe UI Variable Text", "Segoe UI", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
    --swapr-font-display: "Segoe UI Variable Display", "Segoe UI", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
}

@font-face {
    font-display: swap;
    font-family: "Amin Manrope";
    font-style: normal;
    font-weight: 400 800;
    src: url('../../media/fonts/manrope-latin.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: "Amin Cormorant";
    font-style: normal;
    font-weight: 500 600;
    src: url('../../media/fonts/cormorant-garamond-latin.woff2') format('woff2');
}

/* ==========================================================
 * AMINSWAP ESSENTIAL
 * Selected public exchange direction. Provider routing stays
 * private; customer-facing surfaces show one AminSwap rate.
 * ========================================================== */

:root {
    --amin-bg: #0b0d10;
    --amin-surface: #111317;
    --amin-surface-2: #15181d;
    --amin-line: #30343b;
    --amin-line-soft: #24272d;
    --amin-text: #f3f0e9;
    --amin-muted: #9a9da3;
    --amin-accent: #f2b843;
    --amin-accent-strong: #ffc557;
    --amin-ok: #62c49a;
}

body.bxc-swap-page,
.bxc-exchange {
    background: var(--amin-bg) url('../../media/aminswap-contours.png') center / cover fixed no-repeat;
    color: var(--amin-text);
}

.bxc-exchange::before {
    background: rgba(11, 13, 16, .22);
    content: '';
    inset: 0;
    pointer-events: none;
    position: fixed;
}

.bxc-exchange-topbar {
    background: rgba(11, 13, 16, .94);
    border-bottom: 1px solid var(--amin-line-soft);
    height: 84px;
    padding: 0 30px;
    position: relative;
}

.bxc-exchange-brand {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    letter-spacing: 0;
}

.bxc-exchange-brand img {
    border-radius: 7px;
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.bxc-exchange-brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
}

.bxc-exchange-topbar nav {
    color: var(--amin-text);
    gap: 34px;
}

.bxc-exchange-topbar nav > button {
    color: var(--amin-text);
    font-size: 15px;
    font-weight: 500;
}

.bxc-network-control {
    display: none !important;
}

.bxc-topbar-menu {
    border: 1px solid var(--amin-line) !important;
    border-radius: 6px;
    font-size: 20px !important;
    height: 44px;
    justify-content: center;
    padding: 0 !important;
    width: 44px;
}

.bxc-exchange-main {
    min-height: calc(100vh - 84px);
    padding: 42px 24px 70px;
    position: relative;
}

.bxc-exchange-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
}

.bxc-swap-card {
    background: var(--amin-surface);
    border: 1px solid var(--amin-line);
    border-radius: 10px;
    min-height: 0;
    overflow: visible;
}

.bxc-swap-stage {
    display: grid;
    gap: 24px 20px;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 34px 38px 18px;
}

.bxc-fold-pane { display: none; }

.bxc-swap-side {
    color: var(--amin-text);
    display: grid;
    grid-template-rows: auto auto;
    position: static;
    top: auto;
    width: auto;
}

.bxc-send-side { grid-column: 1; grid-row: 1; }
.bxc-receive-side { grid-column: 3; grid-row: 1; }

.bxc-side-label {
    color: var(--amin-muted);
    font-size: 14px;
    font-weight: 500;
    grid-row: 2;
    letter-spacing: 0;
    margin: 28px 0 8px;
    text-transform: none;
}

.bxc-token-select {
    align-items: center;
    background: #121419;
    border: 1px solid var(--amin-line);
    border-radius: 7px;
    color: var(--amin-text);
    grid-row: 1;
    min-height: 72px;
    padding: 12px 16px;
    width: 100%;
}

.bxc-token-select:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.bxc-token-select img,
.bxc-receive-side .bxc-token-select img {
    border: 0;
    height: 42px;
    width: 42px;
}

.bxc-token-select strong { font-size: 22px; }
.bxc-token-select small { color: var(--amin-muted); font-size: 14px; }

.bxc-amount-field {
    grid-row: 3;
    margin: 0;
}

.bxc-amount-field input {
    color: var(--amin-text);
    font-size: clamp(42px, 4vw, 56px);
    font-weight: 450;
    letter-spacing: -.04em;
    line-height: 1.08;
    padding: 0;
}

.bxc-amount-field small,
.bxc-amount-meta { display: none; }

.bxc-swap-flip {
    align-self: start;
    background: var(--amin-surface-2);
    border: 1px solid var(--amin-line);
    border-radius: 50%;
    color: var(--amin-text);
    grid-column: 2;
    grid-row: 1;
    height: 48px;
    justify-self: center;
    margin-top: 12px;
    position: static;
    transform: none;
    width: 48px;
}

.bxc-swap-flip svg { height: 24px; width: 24px; }

.bxc-destination-field {
    align-items: center;
    background: #121419;
    border: 1px solid var(--amin-line);
    border-radius: 7px;
    color: var(--amin-text);
    display: grid;
    gap: 12px;
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding: 12px 14px;
    position: static;
    width: auto;
}

.bxc-destination-field:nth-of-type(1) { grid-row: 2; }
.bxc-destination-field:nth-of-type(2) { grid-row: 3; }

.bxc-wallet-icon { display: none; }

.bxc-destination-copy {
    display: grid;
    gap: 4px;
}

.bxc-destination-copy strong {
    font-size: 14px;
    font-weight: 560;
}

.bxc-destination-copy input {
    background: transparent;
    border: 0;
    color: var(--amin-text);
    min-width: 0;
    outline: 0;
    padding: 0;
    width: 100%;
}

.bxc-destination-copy input::placeholder { color: #777b82; }
.bxc-destination-copy small { color: var(--amin-muted); font-size: 12px; }

.bxc-wallet-validation {
    color: var(--amin-muted);
    font-size: 12px;
}

.bxc-memo-fields {
    background: #121419;
    border: 1px solid var(--amin-line);
    border-radius: 7px;
    grid-column: 1 / -1;
    grid-row: 4;
    padding: 0 16px;
}

.bxc-memo-fields summary {
    color: var(--amin-text);
    cursor: pointer;
    font-size: 14px;
    min-height: 48px;
    padding: 14px 0 12px;
}

.bxc-memo-fields > div {
    border-top: 1px solid var(--amin-line-soft);
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    padding: 14px 0 16px;
}

.bxc-memo-fields label { display: grid; gap: 6px; }
.bxc-memo-fields label span { color: var(--amin-muted); font-size: 12px; }
.bxc-memo-fields input { background: #0d0f12; border: 1px solid var(--amin-line); border-radius: 5px; color: var(--amin-text); min-height: 42px; padding: 0 10px; }

.bxc-provider-offers { display: none !important; }

.bxc-route-progress {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 5;
    justify-content: center;
    margin: 12px 0 0;
}

.bxc-route-progress > div {
    color: var(--amin-muted);
    flex: 1;
    font-size: 12px;
    max-width: 140px;
    position: relative;
    text-align: center;
}

.bxc-route-progress > div::after {
    border-top: 1px solid var(--amin-line);
    content: '';
    left: 60%;
    position: absolute;
    right: -40%;
    top: 10px;
}

.bxc-route-progress > div:last-child::after { display: none; }
.bxc-route-progress i { background: var(--amin-surface); border: 1px solid var(--amin-line); border-radius: 50%; display: block; height: 22px; margin: 0 auto 7px; position: relative; width: 22px; z-index: 1; }
.bxc-route-progress .bxc-active { color: var(--amin-accent); }
.bxc-route-progress .bxc-active i { background: var(--amin-accent); border-color: var(--amin-accent); box-shadow: 0 0 0 4px rgba(242, 184, 67, .10); }

.bxc-swap-dock {
    background: transparent;
    border: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto;
    padding: 0 38px 34px;
}

.bxc-dock-quote,
.bxc-dock-fees {
    align-items: center;
    background: #121419;
    border: 1px solid var(--amin-line);
    border-radius: 7px;
    display: flex;
    gap: 12px;
    min-height: 52px;
    padding: 0 15px;
}

.bxc-dock-quote span:first-child { font-size: 13px; }
.bxc-dock-quote strong { color: var(--amin-accent); font-size: 14px; }
.bxc-dock-quote small,
.bxc-dock-quote em { color: var(--amin-muted); font-size: 12px; font-style: normal; }
.bxc-dock-fees > div:first-child { display: none; }
.bxc-dock-fees span { color: var(--amin-muted); font-size: 12px; }
.bxc-dock-fees strong { color: var(--amin-text); font-size: 13px; }

.bxc-dock-minimum { display: none; }

.bxc-dock-review {
    color: var(--amin-muted);
    grid-column: 1 / -1;
    order: 4;
    text-align: center;
}

.bxc-dock-review > span,
.bxc-dock-review small { display: none; }
.bxc-dock-review strong { font-size: 13px; font-weight: 450; }

.bxc-review-swap {
    background: var(--amin-accent);
    border: 0;
    border-radius: 6px;
    color: #17120a;
    font-size: 17px;
    font-weight: 650;
    grid-column: 1 / -1;
    min-height: 58px;
    order: 3;
    width: 100%;
}

.bxc-review-swap:hover:not(:disabled) { background: var(--amin-accent-strong); }
.bxc-review-swap:disabled { background: #2d3035; color: #7d8085; cursor: not-allowed; }

.bxc-details-card {
    background: var(--amin-surface);
    border: 1px solid var(--amin-line);
    border-radius: 10px;
    color: var(--amin-text);
    overflow: hidden;
}

.bxc-details-head,
.bxc-details-summary,
.bxc-payment-guide,
.bxc-timeline,
.bxc-beginner-steps,
.bxc-details-grid,
.bxc-details-help { border-color: var(--amin-line-soft); }

.bxc-details-head,
.bxc-details-summary,
.bxc-payment-guide,
.bxc-timeline,
.bxc-beginner-steps,
.bxc-details-grid,
.bxc-details-help { padding-left: 34px; padding-right: 34px; }

.bxc-payment-qr,
.bxc-wallet-guide { display: none !important; }

.bxc-payment-guide { grid-template-columns: 1fr; }
.bxc-payment-copy code { background: #0d0f12; border-color: var(--amin-line); color: var(--amin-text); }
.bxc-payment-copy button { background: var(--amin-accent); border-color: var(--amin-accent); color: #17120a; }

.bxc-exchange-layer .bxc-layer-panel,
.bxc-exchange-layer .bxc-panel,
.bxc-exchange-layer [role="dialog"] {
    background: var(--amin-surface);
    border-color: var(--amin-line);
    color: var(--amin-text);
}

@media (max-width: 760px) {
    .bxc-exchange-topbar { height: 72px; padding: 0 16px; }
    .bxc-exchange-brand img { height: 34px; width: 34px; }
    .bxc-exchange-brand strong { font-size: 23px; }
    .bxc-exchange-topbar nav { gap: 10px; }
    .bxc-exchange-topbar nav > button[data-view="history"],
    .bxc-exchange-topbar nav > button[data-panel="support"] { display: none; }
    .bxc-topbar-menu { height: 40px; width: 40px; }
    .bxc-exchange-main { padding: 20px 12px 50px; }
    .bxc-swap-card { border-radius: 8px; }
    .bxc-swap-stage { gap: 18px; grid-template-columns: 1fr; padding: 20px 16px 12px; }
    .bxc-send-side { grid-column: 1; grid-row: 1; }
    .bxc-swap-flip { grid-column: 1; grid-row: 2; margin: -4px auto; transform: rotate(90deg); }
    .bxc-receive-side { grid-column: 1; grid-row: 3; }
    .bxc-side-label { margin-top: 18px; }
    .bxc-token-select { min-height: 64px; }
    .bxc-amount-field input { font-size: 44px; }
    .bxc-destination-field:nth-of-type(1) { grid-column: 1; grid-row: 4; }
    .bxc-destination-field:nth-of-type(2) { grid-column: 1; grid-row: 5; }
    .bxc-destination-field { grid-template-columns: 1fr; }
    .bxc-wallet-validation { display: none; }
    .bxc-memo-fields { grid-column: 1; grid-row: 6; }
    .bxc-memo-fields > div { grid-template-columns: 1fr; }
    .bxc-route-progress { grid-column: 1; grid-row: 7; }
    .bxc-route-progress > div { font-size: 10px; }
    .bxc-swap-dock { grid-template-columns: 1fr; padding: 0 16px 22px; }
    .bxc-dock-quote,
    .bxc-dock-fees { min-height: 48px; }
    .bxc-dock-fees { grid-column: 1; }
    .bxc-review-swap { grid-column: 1; }
    .bxc-details-head,
    .bxc-details-summary,
    .bxc-payment-guide,
    .bxc-timeline,
    .bxc-beginner-steps,
    .bxc-details-grid,
    .bxc-details-help { padding-left: 18px; padding-right: 18px; }
}

/* ==========================================================
 * AMINSWAP CONCEPT FIDELITY PASS
 * Keeps the established application states while aligning the
 * public swap surface with the approved minimal visual direction.
 * ========================================================== */

.bxc-exchange {
    font-family: "Amin Manrope", "Segoe UI", sans-serif;
}

.bxc-exchange button,
.bxc-exchange input,
.bxc-exchange summary {
    font-family: inherit;
}

.bxc-exchange .bxc-exchange-topbar {
    height: 86px;
    padding: 0 28px;
}

.bxc-exchange .bxc-exchange-brand {
    gap: 11px;
}

.bxc-exchange .bxc-exchange-brand img {
    border-radius: 5px;
    height: 41px;
    width: 41px;
}

.bxc-exchange .bxc-exchange-brand strong {
    font-family: "Amin Cormorant", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1;
}

.bxc-exchange .bxc-exchange-topbar nav {
    gap: 36px;
}

.bxc-exchange .bxc-exchange-topbar nav > button {
    font-size: 14px;
    font-weight: 500;
}

.bxc-exchange .bxc-exchange-main {
    min-height: calc(100vh - 86px);
    padding: 42px 24px 58px;
}

.bxc-exchange .bxc-exchange-card {
    max-width: 820px;
}

.bxc-exchange .bxc-swap-stage {
    gap: 18px 24px;
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    padding: 34px 40px 18px;
}

.bxc-exchange .bxc-swap-side {
    align-content: start;
    grid-template-rows: 72px auto auto auto;
}

.bxc-exchange .bxc-token-select {
    min-height: 72px;
    padding: 11px 17px;
}

.bxc-exchange .bxc-token-select:disabled {
    cursor: default;
    opacity: 1;
}

.bxc-exchange .bxc-token-select img,
.bxc-exchange .bxc-receive-side .bxc-token-select img {
    height: 42px;
    width: 42px;
}

.bxc-exchange .bxc-token-select strong {
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -.01em;
}

.bxc-exchange .bxc-token-select small {
    font-size: 13px;
    font-weight: 400;
}

.bxc-exchange .bxc-side-label {
    font-size: 14px;
    font-weight: 400;
    margin: 29px 0 7px;
}

.bxc-exchange .bxc-amount-field input {
    font-size: clamp(46px, 4vw, 56px);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.03;
}

.bxc-exchange .bxc-amount-asset {
    align-items: center;
    align-self: start;
    background: #14161a;
    border: 1px solid var(--amin-line);
    border-radius: 7px;
    color: var(--amin-text);
    display: inline-flex;
    gap: 7px;
    justify-self: start;
    margin-top: 10px;
    min-height: 36px;
    padding: 0 10px;
}

.bxc-exchange .bxc-amount-asset img {
    height: 20px;
    width: 20px;
}

.bxc-exchange .bxc-amount-asset strong {
    font-size: 13px;
    font-weight: 650;
}

.bxc-exchange .bxc-amount-asset small {
    color: var(--amin-muted);
    font-size: 12px;
    font-weight: 400;
}

.bxc-exchange .bxc-swap-flip {
    height: 48px;
    margin-top: 11px;
    width: 48px;
}

.bxc-exchange .bxc-destination-field {
    align-items: initial;
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    display: block;
    min-height: 0;
    padding: 0;
    position: relative;
}

.bxc-exchange .bxc-destination-copy {
    display: grid;
    gap: 8px;
}

.bxc-exchange .bxc-destination-copy strong {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.bxc-exchange .bxc-destination-copy input {
    background: #0e1013;
    border: 1px solid var(--amin-line);
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 400;
    height: 50px;
    padding: 0 116px 0 14px;
}

.bxc-exchange .bxc-destination-copy small {
    display: none;
}

.bxc-exchange .bxc-wallet-validation {
    font-size: 11px;
    font-weight: 500;
    position: absolute;
    right: 14px;
    top: 42px;
}

.bxc-exchange .bxc-destination-field.bxc-field-valid,
.bxc-exchange .bxc-destination-field.bxc-field-error {
    background: transparent;
    border: 0 !important;
}

.bxc-exchange .bxc-destination-field.bxc-field-valid input {
    border-color: var(--amin-ok);
}

.bxc-exchange .bxc-destination-field.bxc-field-error input {
    border-color: #d66f70;
}

.bxc-exchange .bxc-memo-fields {
    background: #111317;
    border-radius: 5px;
    padding: 0 14px;
}

.bxc-exchange .bxc-memo-fields summary {
    font-size: 14px;
    font-weight: 500;
    min-height: 46px;
    padding: 13px 0 11px;
}

.bxc-exchange .bxc-swap-dock {
    gap: 12px;
    padding: 0 40px 28px;
}

.bxc-exchange .bxc-dock-quote {
    min-height: 58px;
    padding: 0 16px !important;
}

.bxc-exchange .bxc-dock-quote > span {
    font-size: 13px;
    font-weight: 500;
}

.bxc-exchange .bxc-dock-quote > strong,
.bxc-exchange .bxc-dock-quote > small,
.bxc-exchange .bxc-dock-quote > em {
    font-weight: 400;
}

.bxc-exchange .bxc-review-swap {
    align-items: center;
    display: flex;
    font-size: 17px;
    font-weight: 600;
    justify-content: center;
    min-height: 60px;
    padding: 0 22px;
    position: relative;
}

.bxc-exchange .bxc-review-swap i {
    font-size: 17px;
    position: absolute;
    right: 23px;
}

.bxc-exchange .bxc-dock-review strong {
    font-size: 13px;
    font-weight: 400;
}

.bxc-exchange > .bxc-exchange-main > .bxc-route-progress {
    display: flex;
    margin: 38px auto 0;
    max-width: 610px;
    padding: 0;
    width: calc(100% - 48px);
}

.bxc-exchange > .bxc-exchange-main > .bxc-route-progress > div {
    font-size: 12px;
    font-weight: 400;
    max-width: none;
}

.bxc-exchange > .bxc-exchange-main > .bxc-route-progress > div:not(:last-child)::after {
    left: 58%;
    right: -42%;
}

@media (max-width: 760px) {
    .bxc-exchange .bxc-exchange-topbar {
        height: 72px;
        padding: 0 16px;
    }

    .bxc-exchange .bxc-exchange-brand strong {
        font-size: 27px;
    }

    .bxc-exchange .bxc-exchange-main {
        padding: 20px 12px 44px;
    }

    .bxc-exchange .bxc-swap-stage {
        gap: 18px;
        grid-template-columns: 1fr;
        padding: 18px 16px;
    }

    .bxc-exchange .bxc-swap-side {
        grid-template-rows: 68px auto auto auto;
        padding: 0;
    }

    .bxc-exchange .bxc-token-select {
        min-height: 68px;
    }

    .bxc-exchange .bxc-side-label {
        margin-top: 22px;
    }

    .bxc-exchange .bxc-amount-field input {
        font-size: clamp(42px, 13vw, 54px);
    }

    .bxc-exchange .bxc-destination-field {
        margin: 0;
        width: 100%;
    }

    .bxc-exchange .bxc-destination-copy input {
        padding-right: 102px;
    }

    .bxc-exchange .bxc-memo-fields {
        width: 100%;
    }

    .bxc-exchange .bxc-swap-dock {
        padding: 0 16px 22px;
    }

    .bxc-exchange .bxc-dock-quote {
        gap: 4px 12px;
        grid-template-columns: auto 1fr;
        min-height: 72px;
        padding: 10px 13px !important;
    }

    .bxc-exchange > .bxc-exchange-main > .bxc-route-progress {
        margin-top: 28px;
        width: calc(100% - 16px);
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.bxc-swap-page {
    background: var(--swapr-night);
    color: var(--swapr-white);
    font-family: var(--swapr-font-body);
    line-height: 1.5;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 3px solid #72f1c3;
    outline-offset: 3px;
}

.bxc-visually-hidden {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.bxc-exchange {
    background: var(--swapr-night);
    color: var(--swapr-white);
    min-height: 100vh;
    position: relative;
}

.bxc-exchange-topbar {
    align-items: center;
    display: flex;
    height: 96px;
    justify-content: space-between;
    left: 0;
    padding: 0 44px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 20;
}

.bxc-exchange-brand,
.bxc-exchange-topbar nav > button {
    background: transparent;
    border: 0;
    color: inherit;
}

.bxc-exchange-brand {
    color: var(--swapr-white);
    font-size: 24px;
    letter-spacing: .035em;
    padding: 12px 0;
}

.bxc-exchange-brand strong {
    font-weight: 850;
}

.bxc-exchange-topbar nav {
    align-items: center;
    color: var(--swapr-ink);
    display: flex;
    gap: 26px;
}

.bxc-exchange-topbar nav > button {
    align-items: center;
    display: inline-flex;
    font-size: 14px;
    font-weight: 720;
    gap: 9px;
    min-height: 44px;
    padding: 0;
}

.bxc-network-control {
    border: 1px solid rgba(6, 23, 45, .24) !important;
    border-radius: 12px;
    padding: 0 14px !important;
}

.bxc-network-control img {
    border-radius: 50%;
    height: 22px;
    width: 22px;
}

.bxc-topbar-menu {
    border-left: 1px solid rgba(6, 23, 45, .28) !important;
    padding-left: 24px !important;
}

.bxc-exchange-main {
    min-height: 100vh;
}

.bxc-exchange-card {
    border: 0;
    box-shadow: none;
}

.bxc-swap-card {
    min-height: 100vh;
}

.bxc-swap-stage {
    height: calc(100vh - 220px);
    min-height: 660px;
    overflow: hidden;
    position: relative;
}

.bxc-fold-pane {
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.bxc-fold-send {
    background: var(--swapr-blue);
    clip-path: polygon(0 0, 58% 0, 43% 100%, 0 100%);
}

.bxc-fold-receive {
    background: var(--swapr-yellow);
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 43% 100%);
}

.bxc-swap-side {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 142px;
    z-index: 3;
}

.bxc-send-side {
    color: var(--swapr-white);
    left: 4.5%;
    width: 38%;
}

.bxc-receive-side {
    color: var(--swapr-ink);
    right: 4.2%;
    width: 37%;
}

.bxc-side-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.4;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.bxc-token-select {
    align-items: center;
    align-self: flex-start;
    background: transparent;
    border: 0;
    color: inherit;
    display: flex;
    gap: 14px;
    padding: 0;
    text-align: left;
}

.bxc-token-select img {
    border: 5px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    height: 56px;
    width: 56px;
}

.bxc-receive-side .bxc-token-select img {
    border-color: rgba(6, 23, 45, .08);
}

.bxc-token-select > span {
    display: grid;
    gap: 2px;
}

.bxc-token-select strong {
    font-family: var(--swapr-font-display);
    font-size: 26px;
    line-height: 1.05;
}

.bxc-token-select small {
    font-size: 15px;
    line-height: 1.35;
    opacity: .8;
}

.bxc-token-select i {
    margin-left: 3px;
}

.bxc-amount-field {
    display: block;
    margin-top: 32px;
}

.bxc-amount-field input {
    appearance: textfield;
    background: transparent;
    border: 0;
    color: inherit;
    display: block;
    font-family: var(--swapr-font-display);
    font-feature-settings: "tnum";
    font-size: clamp(68px, 8.6vw, 132px);
    font-variant-numeric: tabular-nums;
    font-weight: 730;
    letter-spacing: -.065em;
    line-height: .95;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.bxc-amount-field input::-webkit-inner-spin-button,
.bxc-amount-field input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.bxc-amount-field input::placeholder {
    color: currentColor;
    opacity: .48;
}

.bxc-amount-field small {
    display: block;
    font-size: clamp(20px, 1.6vw, 24px);
    font-weight: 700;
    margin-top: 14px;
    opacity: .72;
}

.bxc-amount-meta {
    align-items: center;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 16px;
    justify-content: space-between;
    line-height: 1.4;
    margin-top: 30px;
    opacity: .9;
}

.bxc-amount-meta > span:last-child {
    display: inline-flex;
    gap: 5px;
}

.bxc-amount-meta button {
    background: transparent;
    border: 0;
    color: inherit;
    font-size: 11px;
    font-weight: 850;
    padding: 0 0 0 6px;
}

.bxc-amount-meta button:disabled {
    display: none;
}

.bxc-swap-flip {
    align-items: center;
    background: var(--swapr-ink);
    border: 0;
    border-radius: 50%;
    color: var(--swapr-white);
    display: flex;
    height: 64px;
    justify-content: center;
    left: calc(51.7% - 32px);
    position: absolute;
    top: calc(42% - 32px);
    transition: transform .18s ease;
    width: 64px;
    z-index: 7;
}

.bxc-swap-flip:hover {
    transform: rotate(180deg);
}

.bxc-swap-flip svg {
    fill: none;
    height: 26px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 26px;
}

.bxc-destination-field {
    align-items: center;
    backdrop-filter: blur(18px) saturate(135%);
    background: linear-gradient(135deg, rgba(250, 252, 255, .88), rgba(232, 240, 255, .72));
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 20px;
    bottom: 96px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 48px rgba(0, 16, 54, .28);
    color: var(--swapr-ink);
    display: grid;
    gap: 16px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    left: 50%;
    min-height: 106px;
    overflow: hidden;
    padding: 18px 22px;
    position: absolute;
    transform: translateX(-50%);
    width: min(calc(100% - 48px), 860px);
    z-index: 8;
}

@supports not ((backdrop-filter: blur(1px))) {
    .bxc-destination-field {
        background: rgba(244, 247, 255, .92);
    }
}

.bxc-wallet-icon {
    align-items: center;
    background: rgba(255, 255, 255, .32);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 15px;
    display: flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.bxc-wallet-icon svg {
    fill: none;
    height: 24px;
    stroke: var(--swapr-blue-deep);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 24px;
}

.bxc-destination-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.bxc-destination-copy > strong {
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.bxc-destination-copy input {
    background: transparent;
    border: 0;
    color: var(--swapr-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    min-width: 0;
    padding: 0;
    width: 100%;
}

.bxc-destination-copy input::placeholder {
    color: rgba(6, 23, 45, .76);
}

.bxc-destination-copy small {
    color: rgba(6, 23, 45, .72);
    font-size: 12px;
    line-height: 1.4;
}

.bxc-wallet-validation {
    color: rgba(6, 23, 45, .78);
    font-size: 13px;
    font-weight: 820;
    white-space: nowrap;
}

.bxc-destination-field.bxc-field-valid {
    border-color: rgba(181, 255, 214, .95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 24px 70px rgba(0, 16, 54, .2), 0 0 0 3px rgba(11, 135, 69, .12);
}

.bxc-destination-field.bxc-field-valid .bxc-wallet-validation {
    color: var(--swapr-green);
}

.bxc-destination-field.bxc-field-error {
    border-color: rgba(200, 44, 60, .75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 3px rgba(200, 44, 60, .13);
}

.bxc-destination-field.bxc-field-error .bxc-wallet-validation,
.bxc-destination-field.bxc-field-error .bxc-destination-copy small {
    color: var(--swapr-red);
}

.bxc-route-progress {
    bottom: 40px;
    color: var(--swapr-ink);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    left: 57%;
    position: absolute;
    right: 7%;
    z-index: 4;
}

.bxc-route-progress > div {
    align-items: center;
    display: grid;
    font-size: 12px;
    font-weight: 750;
    gap: 9px;
    grid-template-columns: 18px 1fr;
    position: relative;
}

.bxc-route-progress > div:not(:last-child)::after {
    border-top: 1px dashed rgba(6, 23, 45, .42);
    content: "";
    left: 22px;
    position: absolute;
    right: 7px;
    top: 8px;
}

.bxc-route-progress i {
    background: var(--swapr-yellow);
    border: 2px solid rgba(6, 23, 45, .58);
    border-radius: 50%;
    height: 17px;
    position: relative;
    width: 17px;
    z-index: 1;
}

.bxc-route-progress .bxc-active i {
    background: var(--swapr-ink);
    border: 4px solid var(--swapr-yellow);
    box-shadow: 0 0 0 2px var(--swapr-ink);
}

.bxc-swap-dock {
    align-items: stretch;
    background: var(--swapr-night);
    color: var(--swapr-white);
    display: grid;
    grid-template-columns: 1.02fr 1.18fr 1.35fr 1.2fr 1.25fr;
    min-height: 220px;
    padding: 34px 42px;
}

.bxc-swap-dock > div {
    border-right: 1px solid var(--swapr-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0 30px;
}

.bxc-swap-dock > div:first-child {
    padding-left: 12px;
}

.bxc-swap-dock > div > span,
.bxc-dock-fees span,
.bxc-slippage-options > span {
    color: var(--swapr-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.35;
    text-transform: uppercase;
}

.bxc-dock-quote > strong {
    font-size: clamp(44px, 4.6vw, 66px);
    letter-spacing: -.06em;
    line-height: 1;
    margin: 12px 0 8px;
}

.bxc-dock-quote small {
    color: var(--swapr-muted);
    font-size: 12px;
    line-height: 1.4;
}

.bxc-dock-fees {
    gap: 17px;
}

.bxc-dock-fees div {
    display: grid;
    gap: 6px;
}

.bxc-dock-fees strong,
.bxc-dock-minimum > strong {
    font-size: 15px;
    line-height: 1.25;
}

.bxc-dock-minimum > strong {
    margin: 10px 0 18px;
}

.bxc-slippage-options {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.bxc-slippage-options > span {
    flex-basis: 100%;
    margin-bottom: 3px;
}

.bxc-slippage-options button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    color: var(--swapr-muted);
    font-size: 11px;
    min-height: 34px;
    padding: 6px 8px;
}

.bxc-slippage-options button.bxc-active,
.bxc-slippage-options button:hover {
    background: var(--swapr-white);
    color: var(--swapr-ink);
}

.bxc-dock-review {
    gap: 10px;
}

.bxc-dock-review strong {
    font-size: 14px;
    line-height: 1.45;
}

.bxc-dock-review small {
    color: var(--swapr-muted);
    font-size: 12px;
    line-height: 1.4;
}

.bxc-review-swap {
    align-self: center;
    background: var(--swapr-yellow);
    border: 0;
    border-radius: 10px;
    color: var(--swapr-ink);
    font-size: 19px;
    font-weight: 850;
    height: 100%;
    margin-left: 30px;
    min-height: 116px;
    padding: 20px 26px;
    transition: background .18s ease, transform .18s ease;
}

.bxc-review-swap:hover:not(:disabled) {
    background: #ffd14d;
    transform: translateY(-2px);
}

.bxc-review-swap:disabled {
    cursor: not-allowed;
    opacity: .42;
}

.bxc-runtime-state {
    display: none !important;
}

.bxc-provider-offers {
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
}

.bxc-provider-offers > div:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: space-between;
}

.bxc-provider-offers > div:first-child span,
.bxc-provider-offers small {
    color: var(--swapr-muted);
    font-size: 12px;
}

[data-role="aggregator-list"] {
    display: grid;
    gap: 8px;
}

[data-role="aggregator-list"] button {
    align-items: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 13px;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 3px 12px;
    grid-template-columns: minmax(90px, .75fr) minmax(150px, 1.25fr) auto;
    padding: 12px 14px;
    text-align: left;
}

[data-role="aggregator-list"] button.bxc-active {
    border-color: var(--swapr-yellow);
    box-shadow: inset 0 0 0 1px var(--swapr-yellow);
}

[data-role="aggregator-list"] button span,
[data-role="aggregator-list"] button em {
    color: var(--swapr-muted);
    font-size: 12px;
    font-style: normal;
}

@media (max-width: 720px) {
    [data-role="aggregator-list"] button {
        grid-template-columns: 1fr;
    }
}

.bxc-exchange-loading .bxc-swap-card {
    cursor: progress;
}

.bxc-quote-expired .bxc-dock-quote strong {
    color: var(--swapr-yellow);
}

.bxc-details-card {
    background: #f1f4ff;
    color: var(--swapr-ink);
    display: none;
    margin: 0 auto;
    min-height: 100vh;
    padding: 130px max(5vw, 28px) 70px;
}

.bxc-details-visible .bxc-swap-card {
    display: none;
}

.bxc-details-visible .bxc-details-card {
    display: block;
}

.bxc-details-visible .bxc-exchange-topbar {
    background: var(--swapr-blue);
    color: var(--swapr-white);
    position: fixed;
}

.bxc-details-visible .bxc-exchange-topbar nav {
    color: var(--swapr-white);
}

.bxc-details-visible .bxc-network-control {
    border-color: rgba(255, 255, 255, .28) !important;
}

.bxc-details-visible .bxc-topbar-menu {
    border-left-color: rgba(255, 255, 255, .28) !important;
}

.bxc-details-head {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 26px;
    max-width: 1180px;
}

.bxc-eyebrow,
.bxc-details-summary span,
.bxc-payment-copy > span,
.bxc-details-grid > span,
.bxc-wallet-route-head > span,
.bxc-wallet-route-grid span {
    color: #526784;
    font-size: 11px;
    font-weight: 830;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bxc-details-head h2 {
    font-size: clamp(38px, 5vw, 72px);
    letter-spacing: -.055em;
    line-height: .95;
    margin: 10px 0 0;
}

.bxc-details-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.bxc-details-actions button,
.bxc-details-actions span,
.bxc-inline-action,
.bxc-payment-copy button,
.bxc-wallet-guide > button {
    background: var(--swapr-ink);
    border: 0;
    border-radius: 9px;
    color: var(--swapr-white);
    font-size: 12px;
    font-weight: 780;
    padding: 12px 15px;
}

.bxc-details-actions span {
    background: var(--swapr-yellow);
    color: var(--swapr-ink);
}

.bxc-details-summary,
.bxc-payment-guide,
.bxc-wallet-guide,
.bxc-timeline,
.bxc-beginner-steps,
.bxc-details-grid,
.bxc-details-help {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.bxc-details-summary {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
}

.bxc-details-summary > div {
    background: var(--swapr-white);
    border-top: 4px solid var(--swapr-blue);
    display: grid;
    gap: 9px;
    min-height: 160px;
    padding: 24px;
}

.bxc-details-summary strong {
    font-size: 21px;
}

.bxc-details-summary small {
    color: #526784;
    line-height: 1.5;
}

.bxc-payment-guide {
    background: var(--swapr-blue);
    color: var(--swapr-white);
    display: grid;
    gap: 34px;
    grid-template-columns: 250px 1fr;
    margin-top: 22px;
    padding: 34px;
}

.bxc-payment-qr {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    display: flex;
    justify-content: center;
    min-height: 250px;
}

.bxc-payment-qr img {
    background: var(--swapr-white);
    display: block;
    max-width: 220px;
    padding: 12px;
    width: 100%;
}

.bxc-payment-qr img:not([src]),
.bxc-payment-qr img[src=""] {
    display: none;
}

.bxc-payment-copy {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr auto;
}

.bxc-payment-copy > span,
.bxc-payment-copy > small,
.bxc-payment-copy > strong,
.bxc-payment-copy > code {
    grid-column: 1 / -1;
}

.bxc-payment-copy > span {
    color: #a9c4ff;
    margin-top: 8px;
}

.bxc-payment-copy > strong {
    font-size: 32px;
}

.bxc-payment-copy code {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    overflow-wrap: anywhere;
    padding: 14px;
}

.bxc-payment-copy button {
    background: var(--swapr-yellow);
    color: var(--swapr-ink);
    justify-self: start;
}

.bxc-payment-copy [data-role="copy-payment-address"] {
    grid-column: 2;
    grid-row: 4;
    justify-self: end;
}

.bxc-payment-unavailable .bxc-payment-guide {
    opacity: .72;
}

.bxc-wallet-guide {
    background: var(--swapr-blue);
    color: var(--swapr-white);
    display: none;
    margin-top: 22px;
    padding: 34px;
}

.bxc-wallet-route .bxc-payment-guide {
    display: none;
}

.bxc-wallet-route .bxc-wallet-guide {
    display: block;
}

.bxc-wallet-route-head {
    display: grid;
    gap: 10px;
}

.bxc-wallet-route-head > span,
.bxc-wallet-route-grid span {
    color: #a9c4ff;
}

.bxc-wallet-route-head strong {
    font-size: 30px;
}

.bxc-wallet-route-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
}

.bxc-wallet-route-grid > div {
    background: rgba(255, 255, 255, .08);
    display: grid;
    gap: 8px;
    padding: 18px;
}

.bxc-wallet-progress {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    margin: 24px 0;
}

.bxc-wallet-progress > div {
    border-top: 2px solid rgba(255, 255, 255, .25);
    display: grid;
    gap: 8px;
    padding: 18px 10px 0 0;
}

.bxc-wallet-progress .bxc-complete,
.bxc-wallet-progress .bxc-current {
    border-color: var(--swapr-yellow);
}

.bxc-wallet-progress span {
    color: #a9c4ff;
    font-size: 12px;
}

.bxc-wallet-guide > small {
    color: #a9c4ff;
    display: block;
    margin-top: 12px;
}

.bxc-timeline {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 22px;
}

.bxc-timeline > div {
    background: var(--swapr-white);
    border-top: 4px solid #c9d2e2;
    display: grid;
    gap: 7px;
    min-height: 150px;
    padding: 20px;
}

.bxc-timeline > div.bxc-complete,
.bxc-timeline > div.bxc-current {
    border-color: var(--swapr-green);
}

.bxc-timeline > div.bxc-failed {
    border-color: var(--swapr-red);
}

.bxc-timeline span,
.bxc-timeline p,
.bxc-timeline a,
.bxc-timeline em {
    color: #526784;
    font-size: 11px;
    font-style: normal;
    line-height: 1.45;
    margin: 0;
}

.bxc-beginner-steps {
    background: var(--swapr-yellow);
    display: grid;
    gap: 1px;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    margin-top: 22px;
    padding: 1px;
}

.bxc-beginner-steps h3,
.bxc-beginner-steps > div {
    background: var(--swapr-yellow);
    margin: 0;
    padding: 22px;
}

.bxc-beginner-steps > div {
    border-left: 1px solid rgba(6, 23, 45, .2);
    display: grid;
    gap: 12px;
    grid-template-columns: 24px 1fr;
}

.bxc-beginner-steps > div > i {
    font-style: normal;
    font-weight: 900;
}

.bxc-beginner-steps span {
    display: grid;
    gap: 7px;
}

.bxc-beginner-steps small {
    color: rgba(6, 23, 45, .66);
    line-height: 1.45;
}

.bxc-details-grid {
    background: var(--swapr-white);
    display: grid;
    grid-template-columns: minmax(150px, .5fr) 1fr minmax(150px, .5fr) 1fr;
    margin-top: 22px;
}

.bxc-details-grid > span,
.bxc-details-grid > strong {
    border-bottom: 1px solid #dbe1ed;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 16px 20px;
}

.bxc-details-grid > strong {
    font-size: 13px;
}

.bxc-details-help {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 28px 0;
}

.bxc-details-help a {
    color: var(--swapr-blue);
    font-weight: 800;
}

.bxc-details-processing .bxc-details-card {
    cursor: progress;
}

.bxc-exchange-layer {
    position: relative;
    z-index: 100;
}

.bxc-panel-scrim {
    align-items: center;
    background: rgba(3, 20, 38, .72);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
}

.bxc-action-panel {
    background: var(--swapr-white);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
    color: var(--swapr-ink);
    max-height: min(760px, calc(100vh - 48px));
    max-width: 520px;
    overflow: auto;
    width: 100%;
}

.bxc-action-panel.bxc-wide {
    max-width: 780px;
}

.bxc-panel-head {
    align-items: center;
    background: var(--swapr-blue);
    color: var(--swapr-white);
    display: flex;
    justify-content: space-between;
    padding: 22px 24px;
}

.bxc-panel-head h3 {
    font-size: 22px;
    margin: 0;
}

.bxc-panel-head button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    color: inherit;
    padding: 8px 10px;
}

.bxc-panel-body {
    padding: 24px;
}

.bxc-option-list,
.bxc-history-list,
.bxc-info-grid,
.bxc-chain-status-grid,
.bxc-review-reminder {
    display: grid;
    gap: 10px;
}

.bxc-option {
    align-items: center;
    background: #e8edfa;
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--swapr-ink);
    display: flex;
    gap: 14px;
    padding: 14px;
    text-align: left;
}

.bxc-option:hover,
.bxc-option.bxc-active {
    border-color: var(--swapr-blue);
}

.bxc-option img {
    border-radius: 50%;
    height: 34px;
    width: 34px;
}

.bxc-option span {
    display: grid;
    flex: 1;
    gap: 3px;
}

.bxc-option small {
    color: #526784;
}

.bxc-info-row,
.bxc-chain-status-row,
.bxc-history-card,
.bxc-reminder-list > div,
.bxc-reminder-total {
    background: #e8edfa;
    border-left: 4px solid var(--swapr-blue);
    display: grid;
    gap: 7px;
    padding: 15px;
}

.bxc-info-row span,
.bxc-chain-status-row span,
.bxc-history-card span,
.bxc-reminder-list span,
.bxc-reminder-total span {
    color: #526784;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bxc-history-head,
.bxc-history-route,
.bxc-history-grid {
    display: grid;
    gap: 6px;
}

.bxc-history-note,
.bxc-empty-state,
.bxc-terms-copy p,
.bxc-review-reminder small {
    color: #526784;
    line-height: 1.55;
}

.bxc-settings-actions,
.bxc-custom-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.bxc-custom-slippage {
    display: grid;
    gap: 14px;
}

.bxc-custom-slippage input {
    border: 2px solid #cad4e6;
    border-radius: 10px;
    font-size: 28px;
    padding: 14px;
    width: 100%;
}

.bxc-custom-presets button {
    background: #e8edfa;
    border: 0;
    border-radius: 8px;
    padding: 9px 12px;
}

.bxc-status-hero {
    background: var(--swapr-yellow);
    display: grid;
    gap: 8px;
    padding: 20px;
}

.bxc-toast {
    background: var(--swapr-ink);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    bottom: 28px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .3);
    color: var(--swapr-white);
    left: 50%;
    padding: 14px 18px;
    position: fixed;
    transform: translateX(-50%);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media (max-width: 1120px) {
    .bxc-swap-dock {
        grid-template-columns: .9fr 1.05fr 1.1fr 1fr 1.05fr;
        padding-left: 24px;
        padding-right: 24px;
    }

    .bxc-swap-dock > div {
        padding: 0 18px;
    }

    .bxc-review-swap {
        margin-left: 18px;
    }

}

@media (max-width: 960px) {
    .bxc-exchange-topbar {
        background: var(--swapr-night);
        height: 76px;
        padding: 0 20px;
        position: relative;
    }

    .bxc-exchange-topbar nav {
        color: var(--swapr-white);
        gap: 14px;
    }

    .bxc-exchange-topbar nav > button[data-view="history"],
    .bxc-exchange-topbar nav > button[data-panel="support"] {
        display: none;
    }

    .bxc-network-control {
        border-color: rgba(255, 255, 255, .26) !important;
    }

    .bxc-topbar-menu {
        border-left-color: rgba(255, 255, 255, .25) !important;
        padding-left: 14px !important;
    }

    .bxc-swap-stage {
        display: grid;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .bxc-fold-pane {
        clip-path: none;
        inset: auto;
        min-height: clamp(400px, 58vw, 470px);
        position: relative;
    }

    .bxc-fold-send {
        grid-column: 1;
        grid-row: 1;
    }

    .bxc-fold-receive {
        grid-column: 1;
        grid-row: 2;
    }

    .bxc-swap-side {
        padding: clamp(42px, 7vw, 58px) clamp(26px, 6vw, 48px);
        position: relative;
        top: auto;
        width: auto;
        z-index: 3;
    }

    .bxc-send-side {
        grid-column: 1;
        grid-row: 1;
        left: auto;
    }

    .bxc-receive-side {
        grid-column: 1;
        grid-row: 2;
        padding-top: 190px;
        right: auto;
    }

    .bxc-amount-field input {
        font-size: clamp(68px, 16vw, 112px);
    }

    .bxc-swap-flip {
        grid-column: 1;
        grid-row: 1 / 3;
        left: auto;
        place-self: center;
        position: relative;
        top: auto;
        width: 56px;
        height: 56px;
    }

    .bxc-destination-field {
        bottom: auto;
        grid-column: 1;
        grid-row: 1 / 3;
        left: auto;
        margin: 0 auto;
        place-self: center;
        position: relative;
        right: auto;
        transform: translateY(82px);
        width: min(calc(100% - 48px), 720px);
    }

    .bxc-route-progress {
        background: var(--swapr-yellow);
        bottom: auto;
        grid-column: 1;
        grid-row: 3;
        left: auto;
        padding: 24px 26px 30px;
        position: relative;
        right: auto;
    }

    .bxc-swap-dock {
        gap: 1px;
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .bxc-swap-dock > div {
        border: 0;
        border-bottom: 1px solid var(--swapr-line);
        min-height: 142px;
        padding: 20px !important;
    }

    .bxc-dock-review {
        grid-column: 1 / -1;
    }

    .bxc-review-swap {
        grid-column: 1 / -1;
        margin: 18px 0 0;
        min-height: 80px;
    }

    .bxc-details-visible .bxc-exchange-topbar {
        position: sticky;
    }

    .bxc-details-card {
        padding-top: 50px;
    }

    .bxc-details-summary,
    .bxc-timeline,
    .bxc-beginner-steps {
        grid-template-columns: 1fr;
    }

    .bxc-payment-guide {
        grid-template-columns: 1fr;
    }

    .bxc-payment-qr {
        min-height: 220px;
    }

    .bxc-beginner-steps > div {
        border-left: 0;
        border-top: 1px solid rgba(6, 23, 45, .2);
    }

    .bxc-details-grid {
        grid-template-columns: minmax(130px, .6fr) 1fr;
    }
}

@media (max-width: 560px) {
    .bxc-exchange-brand {
        font-size: 20px;
    }

    .bxc-network-control span,
    .bxc-topbar-menu {
        font-size: 12px !important;
    }

    .bxc-fold-pane {
        min-height: 370px;
    }

    .bxc-swap-side {
        padding: 36px 20px;
    }

    .bxc-token-select img {
        height: 48px;
        width: 48px;
    }

    .bxc-destination-field {
        border-radius: 18px;
        gap: 12px;
        grid-template-columns: 40px minmax(0, 1fr);
        left: auto;
        margin-left: 12px;
        margin-right: 12px;
        min-height: 112px;
        padding: 15px;
        right: auto;
        width: calc(100% - 24px);
    }

    .bxc-wallet-icon {
        height: 40px;
        width: 40px;
    }

    .bxc-wallet-validation {
        grid-column: 2;
    }

    .bxc-destination-copy input {
        font-size: 16px;
    }

    .bxc-destination-copy small {
        font-size: 12px;
    }

    .bxc-route-progress {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }

    .bxc-route-progress > div:nth-child(2)::after {
        display: none;
    }

    .bxc-swap-dock {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px;
    }

    .bxc-swap-dock > div {
        min-height: 0;
        padding: 18px 14px !important;
    }

    .bxc-dock-review,
    .bxc-review-swap {
        grid-column: 1 / -1;
    }

    .bxc-slippage-options button {
        min-height: 44px;
    }

    .bxc-details-head {
        align-items: start;
        flex-direction: column;
        gap: 20px;
    }

    .bxc-details-actions {
        width: 100%;
    }

    .bxc-details-actions > * {
        flex: 1;
        text-align: center;
    }

    .bxc-payment-guide,
    .bxc-wallet-guide {
        padding: 22px;
    }

    .bxc-wallet-route-grid,
    .bxc-wallet-progress {
        grid-template-columns: 1fr;
    }

    .bxc-details-grid {
        display: block;
    }

    .bxc-details-grid > span,
    .bxc-details-grid > strong {
        display: block;
    }

    .bxc-details-grid > span {
        border-bottom: 0;
        padding-bottom: 4px;
    }

    .bxc-details-grid > strong {
        padding-top: 4px;
    }
}

/* Final cascade for the selected AminSwap direction. */
body.bxc-swap-page .bxc-exchange { background: var(--amin-bg) url('../../media/aminswap-contours.png') center / cover fixed no-repeat; color: var(--amin-text); }
.bxc-exchange .bxc-exchange-topbar { background: rgba(11, 13, 16, .94); border-bottom: 1px solid var(--amin-line-soft); height: 84px; padding: 0 30px; position: relative; }
.bxc-exchange .bxc-exchange-brand { align-items: center; display: inline-flex; gap: 10px; }
.bxc-exchange .bxc-exchange-brand img { border-radius: 7px; height: 42px; object-fit: cover; width: 42px; }
.bxc-exchange .bxc-exchange-brand strong { color: var(--amin-text); font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.bxc-exchange .bxc-exchange-topbar nav { color: var(--amin-text); gap: 34px; }
.bxc-exchange .bxc-exchange-topbar nav > button { color: var(--amin-text); }
.bxc-exchange .bxc-network-control { display: none !important; }
.bxc-exchange .bxc-topbar-menu { border: 1px solid var(--amin-line) !important; border-radius: 6px; font-size: 20px !important; height: 44px; padding: 0 !important; width: 44px; }
.bxc-exchange .bxc-exchange-main { min-height: calc(100vh - 84px); padding: 42px 24px 70px; }
.bxc-exchange .bxc-exchange-card { margin-left: auto; margin-right: auto; max-width: 820px; }
.bxc-exchange .bxc-swap-card { background: var(--amin-surface); border: 1px solid var(--amin-line); border-radius: 10px; min-height: 0; overflow: visible; }
.bxc-exchange .bxc-swap-stage { display: grid; gap: 24px 20px; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); height: auto; min-height: 0; overflow: visible; padding: 34px 38px 18px; }
.bxc-exchange .bxc-fold-pane { display: none; }
.bxc-exchange .bxc-swap-side { color: var(--amin-text); display: grid; grid-template-rows: auto auto; position: static; top: auto; width: auto; }
.bxc-exchange .bxc-send-side { grid-column: 1; grid-row: 1; }
.bxc-exchange .bxc-receive-side { grid-column: 3; grid-row: 1; }
.bxc-exchange .bxc-side-label { color: var(--amin-muted); font-size: 14px; font-weight: 500; grid-row: 2; letter-spacing: 0; margin: 28px 0 8px; text-transform: none; }
.bxc-exchange .bxc-token-select { background: #121419; border: 1px solid var(--amin-line); border-radius: 7px; color: var(--amin-text); grid-row: 1; min-height: 72px; padding: 12px 16px; width: 100%; }
.bxc-exchange .bxc-token-select img { border: 0; height: 42px; width: 42px; }
.bxc-exchange .bxc-token-select strong { font-size: 22px; }
.bxc-exchange .bxc-token-select small { color: var(--amin-muted); font-size: 14px; }
.bxc-exchange .bxc-amount-field { grid-row: 3; margin: 0; }
.bxc-exchange .bxc-amount-field input { color: var(--amin-text); font-size: clamp(42px, 4vw, 56px); font-weight: 450; letter-spacing: -.04em; line-height: 1.08; padding: 0; }
.bxc-exchange .bxc-amount-field small,
.bxc-exchange .bxc-amount-meta { display: none; }
.bxc-exchange .bxc-amount-limit { color: var(--amin-muted); display: block; font-size: 12px; grid-row: 4; line-height: 1.45; margin-top: 7px; }
.bxc-exchange .bxc-amount-limit[data-state="error"] { color: #f09a91; }
.bxc-exchange .bxc-amount-limit[hidden] { display: none; }
.bxc-exchange .bxc-send-side:has(.bxc-amount-limit[data-state="error"]:not([hidden])) .bxc-amount-field input { color: #f6b0a8; }
.bxc-exchange .bxc-swap-flip { align-self: start; background: var(--amin-surface-2); border: 1px solid var(--amin-line); border-radius: 50%; color: var(--amin-text); grid-column: 2; grid-row: 1; height: 48px; justify-self: center; margin-top: 12px; position: static; transform: none; width: 48px; }
.bxc-exchange .bxc-swap-flip i { font-size: 18px; }
.bxc-exchange .bxc-destination-field { backdrop-filter: none; background: #121419; border: 1px solid var(--amin-line); border-radius: 7px; bottom: auto; box-shadow: none; color: var(--amin-text); display: grid; gap: 12px; grid-column: 1 / -1; grid-template-columns: 1fr auto; left: auto; min-height: 72px; overflow: visible; padding: 12px 14px; position: static; transform: none; width: auto; z-index: auto; }
.bxc-exchange .bxc-destination-field:nth-of-type(1) { grid-row: 2; }
.bxc-exchange .bxc-destination-field:nth-of-type(2) { grid-row: 3; }
.bxc-exchange .bxc-wallet-icon { display: none; }
.bxc-exchange .bxc-destination-copy { display: grid; gap: 4px; }
.bxc-exchange .bxc-destination-copy strong { font-size: 14px; }
.bxc-exchange .bxc-destination-copy input { background: transparent; border: 0; color: var(--amin-text); min-width: 0; padding: 0; width: 100%; }
.bxc-exchange .bxc-destination-copy input::placeholder { color: #72767d; opacity: 1; }
.bxc-exchange .bxc-destination-copy small { color: var(--amin-muted); font-size: 12px; }
.bxc-exchange .bxc-wallet-validation { color: var(--amin-muted); font-size: 12px; }
.bxc-exchange .bxc-memo-fields { background: #121419; border: 1px solid var(--amin-line); border-radius: 7px; display: block; grid-column: 1 / -1; grid-row: 4; padding: 0 16px; position: static; width: auto; }
.bxc-exchange .bxc-memo-fields > div { border-top: 1px solid var(--amin-line-soft); display: grid; gap: 12px; grid-template-columns: 1fr 1fr; padding: 14px 0 16px; }
.bxc-exchange .bxc-memo-fields input { background: #0d0f12; border: 1px solid var(--amin-line); border-radius: 5px; color: var(--amin-text); min-height: 42px; padding: 0 10px; width: 100%; }
.bxc-exchange .bxc-provider-offers { display: none !important; }
.bxc-exchange .bxc-route-progress { background: transparent; color: var(--amin-muted); display: flex; grid-column: 1 / -1; grid-row: 5; grid-template-columns: none; justify-content: center; margin: 12px 0 0; padding: 0; position: static; }
.bxc-exchange .bxc-route-progress > div { color: var(--amin-muted); display: block; flex: 1; font-size: 12px; max-width: 140px; text-align: center; }
.bxc-exchange .bxc-route-progress > div:not(:last-child)::after { border-top: 1px solid var(--amin-line); left: 60%; right: -40%; top: 10px; }
.bxc-exchange .bxc-route-progress i { background: var(--amin-surface); border: 1px solid var(--amin-line); display: block; height: 22px; margin: 0 auto 7px; width: 22px; }
.bxc-exchange .bxc-route-progress .bxc-active { color: var(--amin-accent); }
.bxc-exchange .bxc-route-progress .bxc-active i { background: var(--amin-accent); border: 5px solid var(--amin-surface); box-shadow: 0 0 0 1px var(--amin-accent); }
.bxc-exchange .bxc-swap-dock { background: transparent; border: 0; display: grid; gap: 12px; grid-template-columns: 1fr; padding: 0 38px 34px; position: static; }
.bxc-exchange .bxc-swap-dock > div { border-right: 0; min-height: 52px; padding: 0 15px !important; }
.bxc-exchange .bxc-dock-quote { align-items: center; background: #121419; border: 1px solid var(--amin-line); border-radius: 7px; display: grid; gap: 8px 18px; grid-template-columns: auto auto 1fr auto; }
.bxc-exchange .bxc-dock-quote > span { color: var(--amin-text); font-size: 13px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.bxc-exchange .bxc-dock-quote > strong { color: var(--amin-accent); font-size: 14px; }
.bxc-exchange .bxc-dock-quote > small { color: var(--amin-muted); font-size: 12px; }
.bxc-exchange .bxc-dock-quote > em { color: var(--amin-muted); font-size: 12px; font-style: normal; }
.bxc-exchange .bxc-dock-fees { display: none; }
.bxc-exchange .bxc-dock-minimum { display: none; }
.bxc-exchange .bxc-dock-review { color: var(--amin-muted); grid-column: 1 / -1; min-height: 0; order: 4; text-align: center; }
.bxc-exchange .bxc-dock-review > span,
.bxc-exchange .bxc-dock-review small { display: none; }
.bxc-exchange .bxc-dock-review strong { font-size: 13px; font-weight: 450; }
.bxc-exchange .bxc-review-swap { background: var(--amin-accent); border: 0; border-radius: 6px; color: #17120a; grid-column: 1 / -1; min-height: 58px; order: 3; width: 100%; }
.bxc-exchange .bxc-review-swap:disabled { background: #2d3035; color: #7d8085; }
.bxc-exchange .bxc-details-card { background: var(--amin-surface); border: 1px solid var(--amin-line); border-radius: 10px; color: var(--amin-text); }
.bxc-exchange .bxc-payment-qr,
.bxc-exchange .bxc-wallet-guide { display: none !important; }
.bxc-exchange .bxc-payment-guide { grid-template-columns: 1fr; }

@media (max-width: 760px) {
    .bxc-exchange .bxc-exchange-topbar { height: 72px; padding: 0 16px; }
    .bxc-exchange .bxc-exchange-brand img { height: 34px; width: 34px; }
    .bxc-exchange .bxc-exchange-brand strong { font-size: 23px; }
    .bxc-exchange .bxc-exchange-topbar nav { gap: 10px; }
    .bxc-exchange .bxc-exchange-topbar nav > button[data-view="history"],
    .bxc-exchange .bxc-exchange-topbar nav > button[data-panel="support"] { display: none; }
    .bxc-exchange .bxc-exchange-main { padding: 20px 12px 50px; }
    .bxc-exchange .bxc-swap-stage { gap: 18px; grid-template-columns: 1fr; padding: 20px 16px 12px; }
    .bxc-exchange .bxc-swap-side { padding: 16px 20px; }
    .bxc-exchange .bxc-send-side { grid-column: 1; grid-row: 1; }
    .bxc-exchange .bxc-swap-flip { grid-column: 1; grid-row: 2; margin: -4px auto; transform: rotate(90deg); }
    .bxc-exchange .bxc-receive-side { grid-column: 1; grid-row: 3; }
    .bxc-exchange .bxc-destination-field { grid-template-columns: 1fr; }
    .bxc-exchange .bxc-destination-field:nth-of-type(1) { grid-column: 1; grid-row: 4; }
    .bxc-exchange .bxc-destination-field:nth-of-type(2) { grid-column: 1; grid-row: 5; }
    .bxc-exchange .bxc-memo-fields { grid-column: 1; grid-row: 6; }
    .bxc-exchange .bxc-memo-fields > div { grid-template-columns: 1fr; }
    .bxc-exchange .bxc-route-progress { grid-column: 1; grid-row: 7; }
    .bxc-exchange .bxc-swap-dock { grid-template-columns: 1fr; padding: 0 16px 22px; }
    .bxc-exchange .bxc-dock-fees,
    .bxc-exchange .bxc-review-swap,
    .bxc-exchange .bxc-dock-review { grid-column: 1; }
    .bxc-exchange .bxc-dock-quote { grid-template-columns: auto auto; }
    .bxc-exchange .bxc-dock-quote > small,
    .bxc-exchange .bxc-dock-quote > em { grid-column: 1 / -1; }
}

/* Final concept-fidelity cascade. */
.bxc-exchange { font-family: "Amin Manrope", "Segoe UI", sans-serif; }
.bxc-exchange button, .bxc-exchange input, .bxc-exchange summary { font-family: inherit; }
.bxc-exchange .bxc-exchange-topbar { height: 86px; padding: 0 28px; }
.bxc-exchange .bxc-exchange-brand { gap: 13px; }
.bxc-exchange .bxc-exchange-brand img { border-radius: 5px; height: 41px; mix-blend-mode: screen; transform: scale(1.5); width: 41px; }
.bxc-exchange .bxc-exchange-brand strong { font-family: "Amin Cormorant", Georgia, serif; font-size: 34px; font-weight: 600; letter-spacing: -.025em; line-height: 1; }
.bxc-exchange .bxc-exchange-topbar nav { gap: 56px; }
.bxc-exchange .bxc-exchange-topbar nav > button { font-size: 14px; font-weight: 500; }
.bxc-exchange .bxc-exchange-main { min-height: calc(100vh - 86px); padding: 42px 24px 58px; }
.bxc-exchange .bxc-exchange-card { max-width: 820px; }
.bxc-exchange .bxc-swap-stage { gap: 18px 24px; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); padding: 34px 40px 18px; }
.bxc-exchange .bxc-swap-side { align-content: start; grid-template-rows: 72px auto auto auto; }
.bxc-exchange .bxc-token-select { min-height: 72px; padding: 11px 17px; }
.bxc-exchange .bxc-token-select:disabled { cursor: default; opacity: 1; }
.bxc-exchange .bxc-token-select img, .bxc-exchange .bxc-receive-side .bxc-token-select img { height: 42px; width: 42px; }
.bxc-exchange .bxc-token-select strong { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.bxc-exchange .bxc-token-select small { font-size: 13px; font-weight: 400; }
.bxc-exchange .bxc-side-label { font-size: 14px; font-weight: 400; margin: 29px 0 7px; }
.bxc-exchange .bxc-amount-field input { font-size: clamp(46px, 4vw, 56px); font-weight: 400; letter-spacing: -.025em; line-height: 1.03; }
.bxc-exchange .bxc-amount-asset { align-items: center; align-self: start; background: #14161a; border: 1px solid var(--amin-line); border-radius: 7px; color: var(--amin-text); display: inline-flex; gap: 7px; justify-self: start; margin-top: 10px; min-height: 36px; padding: 0 10px; }
.bxc-exchange .bxc-amount-asset img { height: 20px; width: 20px; }
.bxc-exchange .bxc-amount-asset strong { font-size: 13px; font-weight: 650; }
.bxc-exchange .bxc-amount-asset small { color: var(--amin-muted); font-size: 12px; font-weight: 400; }
.bxc-exchange .bxc-swap-flip { height: 48px; margin-top: 11px; width: 48px; }
.bxc-exchange .bxc-destination-field { align-items: initial; background: transparent; border: 0 !important; border-radius: 0; display: block; min-height: 0; padding: 0; position: relative; }
.bxc-exchange .bxc-destination-copy { display: grid; gap: 8px; }
.bxc-exchange .bxc-destination-copy strong { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.bxc-exchange .bxc-destination-copy input { background: #0e1013; border: 1px solid var(--amin-line); border-radius: 5px; box-sizing: border-box; font-size: 15px; font-weight: 400; height: 50px; padding: 0 116px 0 14px; }
.bxc-exchange .bxc-destination-copy small { display: none; }
.bxc-exchange .bxc-wallet-validation { font-size: 11px; font-weight: 500; position: absolute; right: 14px; top: 42px; }
.bxc-exchange .bxc-destination-field.bxc-field-valid, .bxc-exchange .bxc-destination-field.bxc-field-error { background: transparent; border: 0 !important; }
.bxc-exchange .bxc-destination-field.bxc-field-valid input { border-color: var(--amin-ok); }
.bxc-exchange .bxc-destination-field.bxc-field-error input { border-color: #d66f70; }
.bxc-exchange .bxc-memo-fields { background: #111317; border-radius: 5px; padding: 0 14px; }
.bxc-exchange .bxc-memo-fields summary { font-size: 14px; font-weight: 500; min-height: 46px; padding: 13px 0 11px; }
.bxc-exchange .bxc-swap-dock { gap: 12px; padding: 0 40px 28px; }
.bxc-exchange .bxc-dock-quote { min-height: 58px; padding: 0 16px !important; }
.bxc-exchange .bxc-dock-quote > span { font-size: 13px; font-weight: 500; }
.bxc-exchange .bxc-dock-quote > strong, .bxc-exchange .bxc-dock-quote > small, .bxc-exchange .bxc-dock-quote > em { font-weight: 400; }
.bxc-exchange .bxc-review-swap { align-items: center; display: flex; font-size: 17px; font-weight: 600; justify-content: center; min-height: 60px; padding: 0 22px; position: relative; }
.bxc-exchange .bxc-review-swap i { font-size: 17px; position: absolute; right: 23px; }
.bxc-exchange .bxc-dock-review strong { font-size: 13px; font-weight: 400; }
.bxc-exchange > .bxc-exchange-main > .bxc-route-progress { display: flex; margin: 38px auto 0; max-width: 610px; padding: 0; width: calc(100% - 48px); }
.bxc-exchange > .bxc-exchange-main > .bxc-route-progress > div { font-size: 12px; font-weight: 400; max-width: none; }
.bxc-exchange > .bxc-exchange-main > .bxc-route-progress > div:not(:last-child)::after { left: 58%; right: -42%; }

@media (max-width: 760px) {
    .bxc-exchange .bxc-exchange-topbar { height: 72px; padding: 0 16px; }
    .bxc-exchange .bxc-exchange-brand strong { font-size: 27px; }
    .bxc-exchange .bxc-exchange-brand { gap: 13px; }
    .bxc-exchange .bxc-exchange-brand img { transform: scale(1.35); }
    .bxc-exchange .bxc-exchange-main { padding: 20px 12px 44px; }
    .bxc-exchange .bxc-swap-stage { gap: 18px; grid-template-columns: 1fr; padding: 18px 16px; }
    .bxc-exchange .bxc-swap-side { grid-template-rows: 68px auto auto auto; padding: 0; }
    .bxc-exchange .bxc-token-select { min-height: 68px; }
    .bxc-exchange .bxc-side-label { margin-top: 22px; }
    .bxc-exchange .bxc-amount-field input { font-size: clamp(42px, 13vw, 54px); }
    .bxc-exchange .bxc-destination-field { margin: 0; width: 100%; }
    .bxc-exchange .bxc-destination-copy input { padding-right: 102px; }
    .bxc-exchange .bxc-memo-fields { width: 100%; }
    .bxc-exchange .bxc-swap-dock { padding: 0 16px 22px; }
    .bxc-exchange .bxc-dock-quote { gap: 4px 12px; grid-template-columns: auto 1fr; min-height: 72px; padding: 10px 13px !important; }
    .bxc-exchange > .bxc-exchange-main > .bxc-route-progress { margin-top: 28px; width: calc(100% - 16px); }
}

@media (min-width: 761px) {
    .bxc-exchange .bxc-exchange-main { padding-top: 44px; }
    .bxc-exchange .bxc-swap-side { padding-bottom: 20px; }
    .bxc-exchange .bxc-side-label { margin-top: 39px; }
    .bxc-exchange .bxc-swap-dock { min-height: 0; padding-bottom: 24px; }
    .bxc-exchange .bxc-swap-dock > .bxc-dock-quote { min-height: 64px; }
    .bxc-exchange .bxc-swap-dock > .bxc-dock-review { height: auto; min-height: 0; padding: 0 !important; }
    .bxc-exchange > .bxc-exchange-main > .bxc-route-progress { margin-top: 44px; }
}

.bxc-exchange .bxc-panel-scrim {
    align-items: center;
    background: rgba(5, 6, 8, .78);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 16px;
    position: fixed;
}

.bxc-exchange .bxc-action-panel {
    background: #101216;
    border: 1px solid var(--amin-line);
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .48);
    color: var(--amin-text);
    max-height: calc(100vh - 32px);
    max-width: 460px;
    overflow: hidden;
    width: 100%;
}

.bxc-exchange .bxc-panel-head {
    align-items: center;
    background: transparent;
    border-bottom: 1px solid var(--amin-line-soft);
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
}

.bxc-exchange .bxc-panel-head h3 {
    color: var(--amin-text);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.bxc-exchange .bxc-panel-head button {
    background: #15181d;
    border: 1px solid var(--amin-line);
    border-radius: 5px;
    color: var(--amin-text);
    font-size: 12px;
    min-height: 36px;
    padding: 0 13px;
}

.bxc-exchange .bxc-panel-body {
    background: transparent;
    max-height: calc(100vh - 106px);
    overflow: auto;
    padding: 14px 16px 18px;
}

.bxc-exchange .bxc-option-list {
    display: grid;
    gap: 8px;
}

.bxc-exchange .bxc-option-list .bxc-option {
    align-items: center;
    background: #15181d;
    border: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    color: var(--amin-text);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 72px;
    padding: 13px 15px;
    text-align: left;
}

.bxc-exchange .bxc-option-list .bxc-option > span:first-child:empty {
    display: none;
}

.bxc-exchange .bxc-option-list .bxc-option > span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.bxc-exchange .bxc-option-list .bxc-option strong {
    color: var(--amin-text);
    font-size: 14px;
    font-weight: 600;
}

.bxc-exchange .bxc-option-list .bxc-option small {
    color: var(--amin-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.bxc-exchange .bxc-option-list .bxc-option em {
    color: var(--amin-accent);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

.bxc-exchange .bxc-memo-fields[hidden],
.bxc-exchange .bxc-memo-fields label[hidden] {
    display: none !important;
}

.bxc-exchange .bxc-action-panel.bxc-wide {
    max-width: 560px;
}

.bxc-exchange .bxc-action-panel .bxc-info-grid,
.bxc-exchange .bxc-action-panel .bxc-status-panel {
    background: transparent;
    border: 0;
    display: grid;
    gap: 8px;
    padding: 0;
}

.bxc-exchange .bxc-action-panel .bxc-info-row {
    align-items: center;
    background: #15181d;
    border: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    box-shadow: none;
    color: var(--amin-text);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(120px, .72fr) minmax(0, 1.28fr);
    min-height: 64px;
    padding: 13px 15px;
}

.bxc-exchange .bxc-action-panel .bxc-info-row::before,
.bxc-exchange .bxc-action-panel .bxc-info-row::after {
    display: none;
}

.bxc-exchange .bxc-action-panel .bxc-info-row > span {
    color: var(--amin-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bxc-exchange .bxc-action-panel .bxc-info-row > strong {
    color: var(--amin-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-align: right;
}

.bxc-exchange .bxc-action-panel .bxc-status-hero {
    background: #15181d;
    border: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    box-shadow: none;
    color: var(--amin-text);
    display: grid;
    gap: 7px;
    padding: 16px;
}

.bxc-exchange .bxc-action-panel .bxc-status-hero span,
.bxc-exchange .bxc-action-panel .bxc-status-hero small {
    color: var(--amin-muted);
}

.bxc-exchange .bxc-action-panel .bxc-status-hero strong {
    color: var(--amin-text);
}

.bxc-exchange .bxc-action-panel .bxc-chain-status-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
}

.bxc-exchange .bxc-action-panel .bxc-chain-status-row {
    background: #15181d;
    border: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    box-shadow: none;
    color: var(--amin-text);
    padding: 13px 15px;
}

.bxc-exchange .bxc-action-panel .bxc-settings-actions {
    border-top: 1px solid var(--amin-line-soft);
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
}

.bxc-exchange .bxc-action-panel .bxc-inline-action {
    background: #15181d;
    border: 1px solid var(--amin-line);
    border-radius: 5px;
    color: var(--amin-text);
    min-height: 40px;
    padding: 0 15px;
}

.bxc-exchange .bxc-privacy-promise {
    color: var(--amin-muted);
    font-size: 12px;
    line-height: 1.55;
    margin: 18px auto 0;
    max-width: 690px;
    padding: 0 18px;
    text-align: center;
}

.bxc-exchange .bxc-privacy-promise strong,
.bxc-exchange .bxc-history-note strong {
    color: var(--amin-text);
    font-weight: 600;
}

.bxc-exchange .bxc-asset-search {
    display: block;
    margin-bottom: 12px;
}

.bxc-exchange .bxc-asset-search input {
    background: #0c0e11;
    border: 1px solid var(--amin-line);
    border-radius: 6px;
    color: var(--amin-text);
    font-size: 14px;
    height: 46px;
    outline: none;
    padding: 0 13px;
    width: 100%;
}

.bxc-exchange .bxc-asset-search input:focus {
    border-color: var(--amin-accent);
    box-shadow: 0 0 0 2px rgba(232, 170, 45, .12);
}

.bxc-exchange .bxc-option-list .bxc-option[data-asset-option] {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    min-height: 68px;
}

.bxc-exchange .bxc-option-list .bxc-option[data-asset-option] > img {
    height: 34px;
    width: 34px;
}

.bxc-exchange .bxc-option-list .bxc-option[data-asset-option] > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.bxc-exchange .bxc-option-list .bxc-option[data-asset-option] strong small {
    color: var(--amin-muted);
    display: inline;
    font-size: 12px;
    font-weight: 400;
    margin-left: 6px;
}

.bxc-exchange .bxc-picker-state {
    align-items: center;
    background: #15181d;
    border: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    display: grid;
    gap: 8px;
    justify-items: center;
    min-height: 170px;
    padding: 26px;
    text-align: center;
}

.bxc-exchange .bxc-picker-state strong { color: var(--amin-text); font-size: 15px; }
.bxc-exchange .bxc-picker-state small,
.bxc-exchange .bxc-picker-empty { color: var(--amin-muted); font-size: 12px; line-height: 1.5; }
.bxc-exchange .bxc-picker-state button { background: var(--amin-accent); border: 0; border-radius: 5px; color: #17120a; font-weight: 600; margin-top: 8px; min-height: 38px; padding: 0 16px; }
.bxc-exchange .bxc-picker-empty { padding: 18px 0; text-align: center; }
.bxc-exchange .bxc-picker-spinner { animation: amin-spin .8s linear infinite; border: 2px solid var(--amin-line); border-radius: 50%; border-top-color: var(--amin-accent); height: 28px; width: 28px; }

.bxc-exchange .bxc-history-note,
.bxc-exchange .bxc-history-card,
.bxc-exchange .bxc-empty-state {
    background: #15181d;
    border: 1px solid var(--amin-line-soft);
    border-left: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    color: var(--amin-muted);
    padding: 15px;
}

.bxc-exchange .bxc-history-card strong,
.bxc-exchange .bxc-history-route { color: var(--amin-text); }
.bxc-exchange .bxc-history-card span { color: var(--amin-muted); }

@keyframes amin-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
    .bxc-exchange .bxc-wallet-validation { display: none; }
    .bxc-exchange .bxc-destination-copy input { padding-right: 14px; }
    .bxc-exchange .bxc-action-panel { max-width: 360px; }
    .bxc-exchange .bxc-action-panel .bxc-info-row { gap: 5px; grid-template-columns: 1fr; }
    .bxc-exchange .bxc-action-panel .bxc-info-row > strong { text-align: left; }
    .bxc-exchange .bxc-action-panel .bxc-chain-status-grid { grid-template-columns: 1fr; }
    .bxc-exchange .bxc-option-list .bxc-option[data-asset-option] { grid-template-columns: 32px minmax(0, 1fr); }
    .bxc-exchange .bxc-option-list .bxc-option[data-asset-option] > em { display: none; }
}

/* Integrated engraved AminSwap lockup. The emblem and name are one asset, so
   the brand reads as a single inset seal rather than an icon plus live text. */
.bxc-exchange .bxc-exchange-brand {
    gap: 0;
    height: 54px;
    overflow: hidden;
    padding: 0;
}

.bxc-exchange .bxc-exchange-brand img {
    border: 0;
    border-radius: 0;
    display: block;
    filter: brightness(1.3) contrast(1.08);
    height: 48px;
    max-width: none;
    mix-blend-mode: normal;
    object-fit: contain;
    object-position: left center;
    transform: none;
    width: 253px;
}

.bxc-exchange .bxc-exchange-brand:hover img,
.bxc-exchange .bxc-exchange-brand:focus-visible img {
    filter: brightness(1.48) contrast(1.1);
}

@media (max-width: 760px) {
    .bxc-exchange .bxc-exchange-brand { height: 44px; }
    .bxc-exchange .bxc-exchange-brand img {
        height: 38px;
        transform: none;
        width: 201px;
    }
}

@media (max-width: 360px) {
    .bxc-exchange .bxc-exchange-brand img { height: 34px; width: 179px; }
}

/* ==========================================================
 * AMINSWAP COMPACT LAUNCH UI
 * Final responsive cascade for the selected Essential concept.
 * ========================================================== */

.bxc-exchange {
    --amin-bg: #0b0d10;
    --amin-surface: #101216;
    --amin-surface-raised: #14171c;
    --amin-field: #0c0e11;
    --amin-line: #343840;
    --amin-line-soft: #242830;
    --amin-text: #f4f1ea;
    --amin-muted: #989da6;
    --amin-accent: #efb13a;
    --amin-accent-strong: #ffc451;
    --amin-ok: #61c598;
    font-family: "Amin Manrope", "Segoe UI", sans-serif;
}

.bxc-exchange .bxc-exchange-topbar {
    height: 70px;
    padding: 0 24px;
}

.bxc-exchange .bxc-exchange-brand {
    height: 46px;
}

.bxc-exchange .bxc-exchange-brand img {
    filter: brightness(1.26) contrast(1.08);
    height: 42px;
    width: 221px;
}

.bxc-exchange .bxc-exchange-topbar nav {
    gap: 26px;
}

.bxc-exchange .bxc-exchange-topbar nav > button {
    font-size: 14px;
}

.bxc-exchange .bxc-topbar-menu {
    height: 40px;
    width: 40px;
}

.bxc-exchange .bxc-exchange-main,
.bxc-exchange .bxc-exchange-main {
    min-height: calc(100vh - 70px);
    padding: 20px 18px 36px;
}

.bxc-exchange .bxc-exchange-card {
    max-width: 800px;
}

.bxc-exchange .bxc-swap-card {
    background: rgba(16, 18, 22, .96);
    border-color: var(--amin-line);
    box-shadow: 0 22px 65px rgba(0, 0, 0, .24);
}

.bxc-exchange .bxc-swap-stage {
    display: grid;
    gap: 12px 16px;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    padding: 24px 30px 12px;
}

.bxc-exchange .bxc-swap-side {
    align-content: start;
    display: grid;
    grid-template-rows: 62px auto 50px auto;
    min-width: 0;
    padding: 0;
}

.bxc-exchange .bxc-send-side {
    grid-column: 1;
    grid-row: 1;
}

.bxc-exchange .bxc-receive-side {
    grid-column: 3;
    grid-row: 1;
}

.bxc-exchange .bxc-token-select {
    background: var(--amin-surface-raised);
    border-color: var(--amin-line);
    border-radius: 7px;
    grid-row: 1;
    min-height: 62px;
    padding: 9px 13px;
}

.bxc-exchange .bxc-token-select img,
.bxc-exchange .bxc-receive-side .bxc-token-select img {
    height: 36px;
    width: 36px;
}

.bxc-exchange .bxc-token-select strong {
    font-size: 18px;
    font-weight: 700;
}

.bxc-exchange .bxc-token-select small {
    font-size: 11px;
    line-height: 1.25;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bxc-exchange .bxc-side-label {
    align-self: end;
    font-size: 12px;
    grid-row: 2;
    margin: 16px 0 2px;
}

.bxc-exchange .bxc-amount-field {
    align-self: center;
    grid-row: 3;
    min-width: 0;
}

.bxc-exchange .bxc-amount-field input {
    font-size: clamp(36px, 4vw, 48px);
    font-variant-numeric: tabular-nums;
    font-weight: 520;
    letter-spacing: -.035em;
    min-height: 50px;
}

.bxc-exchange .bxc-amount-limit {
    font-size: 11px;
    grid-row: 4;
    line-height: 1.35;
    margin-top: 4px;
}

.bxc-exchange .bxc-amount-limit[data-state="error"] {
    background: rgba(193, 77, 80, .10);
    border: 1px solid rgba(214, 111, 112, .34);
    border-radius: 5px;
    color: #efaaaa;
    padding: 7px 9px;
}

.bxc-exchange .bxc-amount-asset,
.bxc-exchange .bxc-amount-meta {
    display: none !important;
}

.bxc-exchange .bxc-swap-flip {
    align-self: start;
    grid-column: 2;
    grid-row: 1;
    height: 42px;
    margin-top: 10px;
    width: 42px;
}

.bxc-exchange .bxc-destination-field {
    background: transparent;
    border: 0 !important;
    display: block;
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0;
    position: relative;
}

.bxc-exchange .bxc-destination-field:nth-of-type(1) {
    grid-row: 2;
}

.bxc-exchange .bxc-destination-field:nth-of-type(2) {
    grid-row: 3;
}

.bxc-exchange .bxc-wallet-icon {
    display: none;
}

.bxc-exchange .bxc-destination-copy {
    display: grid;
    gap: 5px;
}

.bxc-exchange .bxc-destination-copy > strong {
    font-size: 12px;
    font-weight: 650;
}

.bxc-exchange .bxc-destination-copy input {
    background: var(--amin-field);
    border: 1px solid var(--amin-line);
    border-radius: 6px;
    box-sizing: border-box;
    color: var(--amin-text);
    font-size: 13px;
    height: 44px;
    padding: 0 114px 0 12px;
}

.bxc-exchange .bxc-destination-copy small {
    font-size: 10px;
    line-height: 1.35;
}

.bxc-exchange .bxc-wallet-validation {
    bottom: 27px;
    font-size: 10px;
    position: absolute;
    right: 12px;
}

.bxc-exchange .bxc-memo-fields {
    grid-column: 1 / -1;
    grid-row: 4;
    margin: 0;
    min-height: 44px;
}

.bxc-exchange .bxc-memo-fields summary {
    font-size: 12px;
    min-height: 42px;
}

.bxc-exchange .bxc-swap-dock {
    gap: 9px;
    padding: 0 30px 20px;
}

.bxc-exchange .bxc-swap-dock > div {
    min-height: 46px;
}

.bxc-exchange .bxc-dock-quote {
    gap: 6px 14px;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    min-height: 46px !important;
    padding: 0 12px !important;
}

.bxc-exchange .bxc-dock-quote > span,
.bxc-exchange .bxc-dock-quote > strong,
.bxc-exchange .bxc-dock-quote > small,
.bxc-exchange .bxc-dock-quote > em {
    font-size: 11px;
}

.bxc-exchange .bxc-dock-quote > strong {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bxc-exchange .bxc-review-swap {
    border-radius: 6px;
    font-size: 15px;
    min-height: 50px;
}

.bxc-exchange .bxc-dock-review {
    display: flex;
    gap: 6px;
    justify-content: center;
    min-height: 18px !important;
}

.bxc-exchange .bxc-dock-review > span,
.bxc-exchange .bxc-dock-review > small {
    display: none;
}

.bxc-exchange .bxc-dock-review > strong {
    font-size: 10px;
    font-weight: 450;
}

.bxc-exchange.bxc-swap-focused > .bxc-exchange-main > .bxc-route-progress,
.bxc-exchange > .bxc-exchange-main > .bxc-route-progress {
    margin: 16px auto 0;
    max-width: 520px;
    width: calc(100% - 40px);
}

.bxc-exchange > .bxc-exchange-main > .bxc-route-progress > div {
    font-size: 10px;
}

.bxc-exchange > .bxc-exchange-main > .bxc-route-progress i {
    height: 18px;
    margin-bottom: 5px;
    width: 18px;
}

.bxc-exchange > .bxc-exchange-main > .bxc-route-progress > div:not(:last-child)::after {
    top: 8px;
}

.bxc-exchange .bxc-privacy-promise {
    font-size: 10px;
    line-height: 1.45;
    margin-top: 12px;
    max-width: 760px;
}

.bxc-exchange .bxc-panel-head {
    padding: 15px 17px;
}

.bxc-exchange .bxc-panel-head h3 {
    font-size: 16px;
}

.bxc-exchange .bxc-panel-body {
    padding: 12px 14px 16px;
}

.bxc-exchange .bxc-action-panel {
    max-width: 500px;
}

.bxc-exchange .bxc-action-panel.bxc-wide {
    max-width: 580px;
}

.bxc-exchange .bxc-picker-summary {
    color: var(--amin-muted);
    font-size: 10px;
    line-height: 1.45;
    margin: -2px 2px 12px;
}

.bxc-exchange .bxc-picker-group {
    display: grid;
    gap: 7px;
}

.bxc-exchange .bxc-picker-group[hidden] {
    display: none !important;
}

.bxc-exchange .bxc-picker-group + .bxc-picker-group {
    border-top: 1px solid var(--amin-line-soft);
    margin-top: 5px;
    padding-top: 12px;
}

.bxc-exchange .bxc-picker-group > h4 {
    color: var(--amin-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
    margin: 0 4px 2px;
    text-transform: uppercase;
}

.bxc-exchange .bxc-option-list .bxc-option[data-asset-option] {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    min-height: 58px;
    padding: 10px 12px;
}

.bxc-exchange .bxc-option-list .bxc-option[data-asset-option] > img {
    height: 30px;
    object-fit: contain;
    width: 30px;
}

.bxc-exchange .bxc-option-list .bxc-option strong {
    font-size: 13px;
}

.bxc-exchange .bxc-option-list .bxc-option small,
.bxc-exchange .bxc-option-list .bxc-option em {
    font-size: 10px;
}

.bxc-exchange .bxc-support-intro {
    background: var(--amin-surface-raised);
    border: 1px solid var(--amin-line-soft);
    border-radius: 8px;
    display: grid;
    gap: 6px;
    padding: 17px;
}

.bxc-exchange .bxc-support-intro > span,
.bxc-exchange .bxc-support-route > span,
.bxc-exchange .bxc-status-checks span,
.bxc-exchange .bxc-status-metrics span {
    color: var(--amin-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bxc-exchange .bxc-support-intro > strong {
    color: var(--amin-text);
    font-size: 17px;
}

.bxc-exchange .bxc-support-intro p {
    color: var(--amin-muted);
    font-size: 11px;
    line-height: 1.6;
    margin: 3px 0 0;
}

.bxc-exchange .bxc-support-channels {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.bxc-exchange .bxc-support-channel {
    align-items: center;
    background: var(--amin-surface-raised);
    border: 1px solid var(--amin-line);
    border-radius: 7px;
    color: var(--amin-text);
    display: grid;
    gap: 3px 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 15px;
    text-decoration: none;
}

.bxc-exchange .bxc-support-channel strong {
    font-size: 14px;
}

.bxc-exchange .bxc-support-channel small {
    color: var(--amin-muted);
    font-size: 10px;
}

.bxc-exchange .bxc-support-channel em {
    color: var(--amin-accent);
    font-size: 11px;
    font-style: normal;
    grid-column: 2;
    grid-row: 1 / 3;
}

.bxc-exchange .bxc-support-unconfigured,
.bxc-exchange .bxc-support-route {
    background: var(--amin-field);
    border: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    display: grid;
    gap: 5px;
    margin-top: 10px;
    padding: 13px 15px;
}

.bxc-exchange .bxc-support-unconfigured strong,
.bxc-exchange .bxc-support-route strong {
    color: var(--amin-text);
    font-size: 12px;
}

.bxc-exchange .bxc-support-unconfigured small {
    color: var(--amin-muted);
    font-size: 10px;
}

.bxc-exchange .bxc-status-panel {
    gap: 10px !important;
}

.bxc-exchange .bxc-status-hero {
    min-height: 96px;
    padding: 18px !important;
}

.bxc-exchange .bxc-status-hero.bxc-operational {
    border-color: rgba(97, 197, 152, .34);
}

.bxc-exchange .bxc-status-hero > span {
    align-items: center;
    display: flex;
    font-size: 10px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bxc-exchange .bxc-status-hero strong {
    font-size: 18px;
}

.bxc-exchange .bxc-status-hero small {
    font-size: 11px;
}

.bxc-exchange .bxc-status-metrics {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
}

.bxc-exchange .bxc-status-metrics > div {
    background: var(--amin-surface-raised);
    border: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    display: grid;
    gap: 5px;
    padding: 13px;
}

.bxc-exchange .bxc-status-metrics strong {
    color: var(--amin-text);
    font-size: 21px;
    font-variant-numeric: tabular-nums;
}

.bxc-exchange .bxc-status-metrics small {
    color: var(--amin-muted);
    font-size: 9px;
}

.bxc-exchange .bxc-status-checks {
    background: var(--amin-field);
    border: 1px solid var(--amin-line-soft);
    border-radius: 7px;
    display: grid;
}

.bxc-exchange .bxc-status-checks > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 13px;
}

.bxc-exchange .bxc-status-checks > div + div {
    border-top: 1px solid var(--amin-line-soft);
}

.bxc-exchange .bxc-status-checks strong {
    color: var(--amin-text);
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 760px) {
    .bxc-exchange .bxc-exchange-topbar {
        height: 62px;
        padding: 0 12px;
    }

    .bxc-exchange .bxc-exchange-brand {
        height: 40px;
    }

    .bxc-exchange .bxc-exchange-brand img {
        height: 34px;
        width: 179px;
    }

    .bxc-exchange .bxc-exchange-topbar nav {
        gap: 14px;
    }

    .bxc-exchange .bxc-exchange-main {
        min-height: calc(100vh - 62px);
        padding: 10px 9px 28px;
    }

    .bxc-exchange .bxc-swap-stage {
        gap: 10px;
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .bxc-exchange .bxc-swap-side {
        background: var(--amin-field);
        border: 1px solid var(--amin-line-soft);
        border-radius: 7px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(124px, 42%);
        grid-template-rows: auto 45px auto;
        min-height: 82px;
        padding: 10px 10px 8px;
    }

    .bxc-exchange .bxc-send-side {
        grid-column: 1;
        grid-row: 1;
    }

    .bxc-exchange .bxc-receive-side {
        grid-column: 1;
        grid-row: 3;
    }

    .bxc-exchange .bxc-side-label {
        align-self: start;
        font-size: 10px;
        grid-column: 1;
        grid-row: 1;
        margin: 0;
    }

    .bxc-exchange .bxc-amount-field {
        grid-column: 1;
        grid-row: 2;
        padding-right: 8px;
    }

    .bxc-exchange .bxc-amount-field input {
        font-size: clamp(30px, 9vw, 38px);
        min-height: 44px;
    }

    .bxc-exchange .bxc-receive-side .bxc-amount-field input {
        font-size: clamp(28px, 8vw, 32px);
        letter-spacing: -.035em;
    }

    .bxc-exchange .bxc-token-select {
        align-self: center;
        grid-column: 2;
        grid-row: 1 / 3;
        min-height: 54px;
        padding: 7px 9px;
    }

    .bxc-exchange .bxc-token-select img,
    .bxc-exchange .bxc-receive-side .bxc-token-select img {
        height: 30px;
        width: 30px;
    }

    .bxc-exchange .bxc-token-select strong {
        font-size: 15px;
    }

    .bxc-exchange .bxc-token-select small {
        font-size: 9px;
    }

    .bxc-exchange .bxc-amount-limit {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 2px;
    }

    .bxc-exchange .bxc-swap-flip {
        grid-column: 1;
        grid-row: 2;
        height: 34px;
        justify-self: center;
        margin: -6px 0;
        width: 34px;
        z-index: 2;
    }

    .bxc-exchange .bxc-destination-field:nth-of-type(1) {
        grid-column: 1;
        grid-row: 4;
    }

    .bxc-exchange .bxc-destination-field:nth-of-type(2) {
        grid-column: 1;
        grid-row: 5;
    }

    .bxc-exchange .bxc-destination-copy input {
        height: 43px;
        padding-right: 12px;
    }

    .bxc-exchange .bxc-wallet-validation {
        display: none;
    }

    .bxc-exchange .bxc-destination-copy small {
        display: none;
    }

    .bxc-exchange .bxc-memo-fields {
        grid-column: 1;
        grid-row: 6;
    }

    .bxc-exchange .bxc-memo-fields > div {
        grid-template-columns: 1fr;
    }

    .bxc-exchange .bxc-swap-dock {
        gap: 8px;
        padding: 0 12px 14px;
    }

    .bxc-exchange .bxc-dock-quote {
        gap: 5px 10px;
        grid-template-columns: auto 1fr;
        min-height: 58px !important;
        padding: 7px 10px !important;
    }

    .bxc-exchange .bxc-dock-quote > strong,
    .bxc-exchange .bxc-dock-quote > em {
        text-align: right;
    }

    .bxc-exchange .bxc-review-swap {
        bottom: 8px;
        min-height: 50px;
        position: sticky;
        z-index: 5;
    }

    .bxc-exchange .bxc-dock-review > strong {
        line-height: 1.4;
    }

    .bxc-exchange > .bxc-exchange-main > .bxc-route-progress {
        margin-top: 14px;
        width: calc(100% - 14px);
    }

    .bxc-exchange .bxc-privacy-promise {
        font-size: 9px;
        margin-top: 10px;
        padding: 0 8px;
    }

    .bxc-exchange .bxc-panel-scrim {
        align-items: flex-end;
        padding: 8px;
    }

    .bxc-exchange .bxc-action-panel,
    .bxc-exchange .bxc-action-panel.bxc-wide {
        border-radius: 10px;
        max-height: calc(100dvh - 16px);
        max-width: none;
    }

    .bxc-exchange .bxc-panel-body {
        max-height: calc(100dvh - 78px);
        overscroll-behavior: contain;
    }

    .bxc-exchange .bxc-status-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .bxc-exchange .bxc-status-metrics > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .bxc-exchange .bxc-exchange-topbar nav > button[data-panel="support"] {
        display: none;
    }

    .bxc-exchange .bxc-exchange-brand img {
        height: 31px;
        width: 164px;
    }

    .bxc-exchange .bxc-option-list .bxc-option[data-asset-option] {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .bxc-exchange .bxc-option-list .bxc-option[data-asset-option] > em {
        display: none;
    }
}

/* Live-task polish: optional recovery wallet and lifecycle signal. */
.bxc-exchange .bxc-refund-details {
    background: #101318;
    border: 1px solid var(--amin-line);
    border-radius: 7px;
    grid-column: 1 / -1;
    grid-row: 3;
    overflow: hidden;
}

.bxc-exchange .bxc-refund-details > summary {
    align-items: center;
    color: var(--amin-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    list-style: none;
    min-height: 48px;
    padding: 0 14px;
}

.bxc-exchange .bxc-refund-details > summary::-webkit-details-marker { display: none; }
.bxc-exchange .bxc-refund-details > summary span { font-size: 12px; font-weight: 700; }
.bxc-exchange .bxc-refund-details > summary small { color: var(--amin-muted); font-size: 10px; }
.bxc-exchange .bxc-refund-details[open] > summary { border-bottom: 1px solid var(--amin-line-soft); }
.bxc-exchange .bxc-refund-details .bxc-destination-field { border: 0 !important; border-radius: 0; margin: 0; padding: 13px 14px; width: 100%; }
.bxc-exchange .bxc-refund-details .bxc-destination-copy strong { font-size: 12px; }

.bxc-exchange .bxc-amount-limit[data-state="info"] {
    color: #aeb4be;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: .01em;
}

.bxc-exchange .bxc-smart-nav {
    grid-template-columns: 12px minmax(0, 1fr);
    min-width: 196px;
    padding-left: 11px;
}

.bxc-exchange .bxc-smart-nav-signal {
    align-items: center;
    border: 1px solid #626873;
    border-radius: 50%;
    display: inline-flex;
    height: 12px;
    justify-content: center;
    width: 12px;
}

.bxc-exchange .bxc-smart-nav-signal i { background: #858b95; border-radius: 50%; height: 4px; width: 4px; }
.bxc-exchange .bxc-smart-nav[data-state="loading"] .bxc-smart-nav-signal { animation: amin-status-spin 1s linear infinite; border-color: transparent var(--amin-accent) var(--amin-accent); }
.bxc-exchange .bxc-smart-nav[data-state="quote"] .bxc-smart-nav-signal,
.bxc-exchange .bxc-smart-nav[data-state="active"] .bxc-smart-nav-signal { border-color: var(--amin-accent); box-shadow: 0 0 0 3px rgba(239,177,58,.10); }
.bxc-exchange .bxc-smart-nav[data-state="quote"] .bxc-smart-nav-signal i,
.bxc-exchange .bxc-smart-nav[data-state="active"] .bxc-smart-nav-signal i { animation: amin-status-pulse 1.5s ease-in-out infinite; background: var(--amin-accent); }
.bxc-exchange .bxc-smart-nav[data-state="complete"] .bxc-smart-nav-signal { border-color: var(--amin-ok); }
.bxc-exchange .bxc-smart-nav[data-state="complete"] .bxc-smart-nav-signal i { background: var(--amin-ok); }
.bxc-exchange .bxc-smart-nav[data-state="attention"] .bxc-smart-nav-signal { border-color: #d66f70; }
.bxc-exchange .bxc-smart-nav[data-state="attention"] .bxc-smart-nav-signal i { background: #d66f70; }
@keyframes amin-status-spin { to { transform: rotate(360deg); } }
@keyframes amin-status-pulse { 50% { opacity: .35; transform: scale(.65); } }

@media (max-width: 760px) {
    .bxc-exchange .bxc-refund-details { grid-column: 1; grid-row: 5; }
    .bxc-exchange .bxc-refund-details > summary { align-items: flex-start; flex-direction: column; justify-content: center; }
    .bxc-exchange .bxc-smart-nav { min-width: 148px; }
}

@media (prefers-reduced-motion: reduce) {
    .bxc-exchange .bxc-smart-nav-signal,
    .bxc-exchange .bxc-smart-nav-signal i { animation: none !important; }
}

/* AminSwap order execution: the post-review surface uses only durable API order data. */
.bxc-exchange.bxc-details-visible {
    background: var(--amin-bg);
    color: var(--amin-text);
    min-height: 100vh;
}

.bxc-exchange.bxc-details-visible .bxc-exchange-topbar {
    background: rgba(10, 12, 15, .96);
    border-bottom: 1px solid var(--amin-line-soft);
    color: var(--amin-text);
    position: fixed;
}

.bxc-exchange.bxc-details-visible .bxc-exchange-main {
    box-sizing: border-box;
    display: block;
    height: auto;
    min-height: 100vh;
    padding: 92px 18px 26px;
}

.bxc-exchange.bxc-details-visible .bxc-details-card {
    background: #101216;
    border: 1px solid #343941;
    border-radius: 10px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
    color: var(--amin-text);
    display: block;
    margin: 0 auto;
    max-width: 900px;
    min-height: 0;
    padding: 0;
}

.bxc-exchange.bxc-details-visible .bxc-details-head {
    align-items: center;
    border-bottom: 1px solid var(--amin-line-soft);
    margin: 0;
    max-width: none;
    padding: 20px 24px;
}

.bxc-exchange.bxc-details-visible .bxc-eyebrow {
    color: var(--amin-accent);
    font-size: 10px;
    letter-spacing: .11em;
}

.bxc-exchange.bxc-details-visible .bxc-details-head h2 {
    font-size: 27px;
    letter-spacing: -.035em;
    line-height: 1;
    margin: 6px 0 0;
}

.bxc-exchange.bxc-details-visible .bxc-details-actions button,
.bxc-exchange.bxc-details-visible .bxc-details-actions span {
    background: #171a20;
    border: 1px solid #3a4049;
    border-radius: 7px;
    color: var(--amin-text);
    padding: 10px 12px;
}

.bxc-exchange.bxc-details-visible .bxc-details-actions span {
    color: var(--amin-accent);
}

.bxc-exchange.bxc-details-visible .bxc-details-summary,
.bxc-exchange.bxc-details-visible .bxc-beginner-steps,
.bxc-exchange.bxc-details-visible .bxc-details-grid,
.bxc-exchange.bxc-details-visible .bxc-details-help,
.bxc-exchange.bxc-details-visible .bxc-wallet-guide {
    display: none !important;
}

.bxc-exchange.bxc-details-visible .bxc-payment-guide {
    background: transparent;
    color: var(--amin-text);
    display: grid;
    gap: 24px;
    grid-template-columns: 218px minmax(0, 1fr);
    margin: 0;
    max-width: none;
    padding: 26px 24px 24px;
}

.bxc-exchange.bxc-details-visible .bxc-payment-qr {
    align-items: center;
    align-self: start;
    aspect-ratio: 1;
    background: #f5f3ee;
    border: 1px solid rgba(242, 184, 67, .46);
    border-radius: 9px;
    display: flex !important;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 13px;
}

.bxc-exchange.bxc-details-visible .bxc-payment-qr img {
    background: #f5f3ee;
    border-radius: 3px;
    display: block;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.bxc-exchange.bxc-details-visible .bxc-payment-copy {
    align-content: start;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.bxc-exchange.bxc-details-visible .bxc-payment-copy > span {
    color: #9ca2ab;
    font-size: 10px;
    letter-spacing: .09em;
    margin-top: 5px;
}

.bxc-exchange.bxc-details-visible .bxc-payment-copy > strong {
    color: #f4f1e9;
    font-size: clamp(25px, 3vw, 36px);
    letter-spacing: -.035em;
}

.bxc-exchange.bxc-details-visible .bxc-payment-copy > small {
    color: var(--amin-muted);
}

.bxc-exchange.bxc-details-visible .bxc-payment-copy code {
    background: #0c0e11;
    border: 1px solid #30353d;
    border-radius: 6px;
    color: #e9e6de;
    font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    line-height: 1.45;
    padding: 12px;
}

.bxc-exchange.bxc-details-visible .bxc-payment-copy button {
    background: #171a20;
    border: 1px solid #3a4049;
    border-radius: 6px;
    color: var(--amin-text);
    min-height: 38px;
    padding: 0 12px;
}

.bxc-exchange.bxc-details-visible .bxc-payment-copy [data-role="confirm-funds-sent"] {
    display: none;
}

.bxc-exchange.bxc-details-visible .bxc-timeline {
    background: #0c0e11;
    border-top: 1px solid var(--amin-line-soft);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    max-width: none;
    padding: 20px 24px 24px;
}

.bxc-exchange.bxc-details-visible .bxc-timeline > div {
    background: transparent;
    border: 0;
    border-top: 2px solid #30353d;
    min-height: 96px;
    padding: 16px 14px 0 0;
    position: relative;
}

.bxc-exchange.bxc-details-visible .bxc-timeline > div::before {
    background: #0c0e11;
    border: 2px solid #4b515c;
    border-radius: 50%;
    content: "";
    height: 11px;
    left: 0;
    position: absolute;
    top: -7px;
    width: 11px;
}

.bxc-exchange.bxc-details-visible .bxc-timeline > div.bxc-current,
.bxc-exchange.bxc-details-visible .bxc-timeline > div.bxc-complete {
    border-top-color: var(--amin-accent);
}

.bxc-exchange.bxc-details-visible .bxc-timeline > div.bxc-current::before,
.bxc-exchange.bxc-details-visible .bxc-timeline > div.bxc-complete::before {
    background: var(--amin-accent);
    border-color: var(--amin-accent);
    box-shadow: 0 0 0 4px rgba(242, 184, 67, .1);
}

.bxc-exchange.bxc-details-visible .bxc-timeline strong {
    color: #f2efe7;
    font-size: 13px;
}

.bxc-exchange.bxc-details-visible .bxc-timeline span,
.bxc-exchange.bxc-details-visible .bxc-timeline p,
.bxc-exchange.bxc-details-visible .bxc-timeline a,
.bxc-exchange.bxc-details-visible .bxc-timeline em {
    color: var(--amin-muted);
    font-size: 10px;
}

.bxc-exchange.bxc-details-visible .bxc-timeline p,
.bxc-exchange.bxc-details-visible .bxc-timeline em,
.bxc-exchange.bxc-details-visible .bxc-timeline a {
    display: none;
}

@media (min-width: 761px) and (min-height: 860px) {
    .bxc-exchange.bxc-swap-focused > .bxc-exchange-main {
        padding-bottom: 48px;
    }
}

/* Provider-backed floating/fixed rate selector. */
.bxc-exchange .bxc-rate-mode {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 20px 40px 0;
}

.bxc-exchange .bxc-rate-switch {
    background: #0d0f12;
    border: 1px solid var(--amin-line);
    border-radius: 999px;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
}

.bxc-exchange .bxc-rate-switch button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--amin-muted);
    font-size: 12px;
    font-weight: 650;
    min-height: 30px;
    min-width: 72px;
    padding: 0 15px;
}

.bxc-exchange .bxc-rate-switch button.bxc-active {
    background: #22201a;
    box-shadow: inset 0 0 0 1px rgba(242, 184, 67, .33);
    color: #f4c667;
}

.bxc-exchange .bxc-rate-mode > span {
    color: var(--amin-muted);
    font-size: 11px;
    line-height: 1.35;
    text-align: right;
}

.bxc-exchange .bxc-rate-mode + .bxc-swap-stage {
    padding-top: 16px;
}

.bxc-exchange.bxc-rate-fixed .bxc-dock-quote > strong {
    background: rgba(71, 184, 129, .08);
    border-color: rgba(71, 184, 129, .3);
    color: #73d6a4;
}

@media (max-width: 760px) {
    .bxc-exchange .bxc-rate-mode {
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px 0;
    }

    .bxc-exchange .bxc-rate-switch button {
        min-width: 62px;
        padding: 0 11px;
    }

    .bxc-exchange .bxc-rate-mode > span {
        font-size: 9px;
        max-width: 150px;
    }

    .bxc-exchange .bxc-rate-mode + .bxc-swap-stage {
        padding-top: 12px;
    }
}

@media (max-width: 760px) {
    .bxc-exchange.bxc-details-visible .bxc-exchange-main {
        padding: 84px 10px 18px;
    }

    .bxc-exchange.bxc-details-visible .bxc-details-head {
        align-items: flex-start;
        gap: 14px;
        padding: 17px;
    }

    .bxc-exchange.bxc-details-visible .bxc-details-head h2 {
        font-size: 23px;
    }

    .bxc-exchange.bxc-details-visible .bxc-details-actions {
        gap: 6px;
    }

    .bxc-exchange.bxc-details-visible .bxc-payment-guide {
        gap: 18px;
        grid-template-columns: 1fr;
        padding: 18px 17px;
    }

    .bxc-exchange.bxc-details-visible .bxc-payment-qr {
        margin: 0 auto;
        max-width: 210px;
        width: 100%;
    }

    .bxc-exchange.bxc-details-visible .bxc-timeline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 18px 17px 20px;
    }

    .bxc-exchange.bxc-details-visible .bxc-timeline > div {
        min-height: 72px;
        padding: 13px 5px 0 0;
    }

    .bxc-exchange.bxc-details-visible .bxc-timeline strong {
        font-size: 10px;
    }

    .bxc-exchange.bxc-details-visible .bxc-timeline span {
        font-size: 8px;
    }
}

/* Focused QA refinements: taller task surface, stacked privacy signature,
 * and one context-aware header command. */
.bxc-exchange .bxc-exchange-topbar .bxc-network-control {
    display: none !important;
}

.bxc-exchange .bxc-smart-nav {
    align-items: center;
    background: var(--amin-surface-raised);
    border: 1px solid var(--amin-line);
    border-radius: 8px;
    color: var(--amin-text);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 18px;
    min-height: 44px;
    min-width: 164px;
    padding: 6px 12px 6px 14px;
    text-align: left;
}

.bxc-exchange .bxc-smart-nav:hover,
.bxc-exchange .bxc-smart-nav:focus-visible {
    background: #191c22;
    border-color: #686f7a;
}

.bxc-exchange .bxc-smart-nav[data-state="quote"],
.bxc-exchange .bxc-smart-nav[data-state="active"] {
    border-color: rgba(239, 177, 58, .72);
    box-shadow: inset 3px 0 0 var(--amin-accent);
}

.bxc-exchange .bxc-smart-nav[data-state="complete"] {
    border-color: rgba(97, 197, 152, .72);
    box-shadow: inset 3px 0 0 var(--amin-ok);
}

.bxc-exchange .bxc-smart-nav[data-state="attention"] {
    border-color: rgba(214, 111, 112, .72);
    box-shadow: inset 3px 0 0 #d66f70;
}

.bxc-exchange .bxc-smart-nav-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.bxc-exchange .bxc-smart-nav-copy strong,
.bxc-exchange .bxc-smart-nav-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bxc-exchange .bxc-smart-nav-copy strong {
    color: var(--amin-text);
    font-size: 12px;
    font-weight: 700;
}

.bxc-exchange .bxc-smart-nav-copy small {
    color: var(--amin-muted);
    font-size: 9px;
}

.bxc-exchange .bxc-smart-nav-icon {
    font-size: 17px;
    justify-self: end;
}

.bxc-exchange .bxc-smart-menu-context,
.bxc-exchange .bxc-smart-menu-empty {
    align-items: center;
    background: #171a20;
    border: 1px solid rgba(239, 177, 58, .4);
    border-radius: 8px;
    color: var(--amin-text);
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    min-height: 62px;
    padding: 10px 13px;
    text-align: left;
    width: 100%;
}

.bxc-exchange .bxc-smart-menu-context > span,
.bxc-exchange .bxc-smart-menu-empty {
    gap: 3px;
}

.bxc-exchange .bxc-smart-menu-context > span,
.bxc-exchange .bxc-smart-menu-empty {
    display: grid;
}

.bxc-exchange .bxc-smart-menu-context strong,
.bxc-exchange .bxc-smart-menu-empty strong {
    font-size: 13px;
}

.bxc-exchange .bxc-smart-menu-context small,
.bxc-exchange .bxc-smart-menu-empty small {
    color: var(--amin-muted);
    font-size: 10px;
}

.bxc-exchange .bxc-smart-menu-context em {
    color: var(--amin-accent);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.bxc-exchange .bxc-privacy-promise {
    display: grid;
    gap: 3px;
    justify-items: center;
    text-align: center;
}

.bxc-exchange .bxc-privacy-promise strong {
    color: var(--amin-text);
    display: block;
    font-size: 12px;
    line-height: 1.2;
}

.bxc-exchange .bxc-privacy-promise span {
    color: var(--amin-muted);
    display: block;
    font-size: 9px;
    line-height: 1.4;
    max-width: 680px;
}

@media (min-width: 761px) and (min-height: 760px) {
    .bxc-exchange .bxc-exchange-main {
        padding-top: 26px;
    }

    .bxc-exchange .bxc-swap-stage {
        gap: 17px 16px;
        padding: 30px 30px 20px;
    }

    .bxc-exchange .bxc-swap-side {
        grid-template-rows: 70px auto 62px auto;
    }

    .bxc-exchange .bxc-token-select {
        min-height: 70px;
        padding: 11px 15px;
    }

    .bxc-exchange .bxc-token-select img,
    .bxc-exchange .bxc-receive-side .bxc-token-select img {
        height: 40px;
        width: 40px;
    }

    .bxc-exchange .bxc-side-label {
        margin-top: 19px;
    }

    .bxc-exchange .bxc-amount-field input {
        font-size: clamp(42px, 4.2vw, 52px);
        min-height: 60px;
    }

    .bxc-exchange .bxc-destination-copy {
        gap: 7px;
    }

    .bxc-exchange .bxc-destination-copy input {
        height: 52px;
        padding-left: 14px;
    }

    .bxc-exchange .bxc-wallet-validation {
        bottom: 30px;
    }

    .bxc-exchange .bxc-swap-dock {
        gap: 11px;
        padding: 2px 30px 26px;
    }

    .bxc-exchange .bxc-dock-quote {
        min-height: 58px !important;
    }

    .bxc-exchange .bxc-review-swap {
        min-height: 58px;
    }

    .bxc-exchange .bxc-dock-review {
        min-height: 22px !important;
    }

    .bxc-exchange.bxc-swap-focused > .bxc-exchange-main > .bxc-route-progress,
    .bxc-exchange > .bxc-exchange-main > .bxc-route-progress {
        margin-top: 18px;
    }

    .bxc-exchange .bxc-privacy-promise {
        margin-top: 14px;
    }
}

@media (min-width: 761px) and (min-height: 860px) {
    .bxc-exchange.bxc-swap-focused > .bxc-exchange-main {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 16px;
        padding-top: 24px;
    }

    .bxc-exchange .bxc-swap-stage {
        gap: 19px 16px;
        padding: 34px 30px 25px;
    }

    .bxc-exchange .bxc-swap-side {
        grid-template-rows: 74px auto 76px auto;
    }

    .bxc-exchange .bxc-token-select {
        min-height: 74px;
    }

    .bxc-exchange .bxc-amount-field {
        align-items: center;
        background: #0d0f12;
        border: 1px solid #2c3037;
        border-radius: 7px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
        display: flex;
        min-height: 76px;
        padding: 0 14px;
        transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    }

    .bxc-exchange .bxc-send-side .bxc-amount-field:hover {
        background: #0f1115;
        border-color: #3a3f47;
    }

    .bxc-exchange .bxc-send-side .bxc-amount-field:focus-within {
        background: #101216;
        border-color: rgba(242, 184, 67, .72);
        box-shadow: 0 0 0 3px rgba(242, 184, 67, .08), inset 0 1px 0 rgba(255, 255, 255, .035);
    }

    .bxc-exchange .bxc-receive-side .bxc-amount-field {
        background: #101216;
        border-color: #272b31;
    }

    .bxc-exchange .bxc-amount-field input {
        background: transparent;
        border: 0;
        min-height: 64px;
        outline: 0;
        width: 100%;
    }

    .bxc-exchange .bxc-destination-copy input {
        height: 54px;
    }

    .bxc-exchange .bxc-wallet-validation {
        bottom: 31px;
    }

    .bxc-exchange .bxc-swap-dock {
        padding-bottom: 30px;
    }

    .bxc-exchange .bxc-dock-quote,
    .bxc-exchange .bxc-review-swap {
        min-height: 60px !important;
    }
}

@media (min-width: 761px) {
    .bxc-exchange .bxc-dock-quote {
        background: #0d0f12;
        border-color: #353a42;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
        gap: 8px 12px;
        grid-template-columns: max-content max-content minmax(0, 1fr) max-content;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .bxc-exchange .bxc-dock-quote > span {
        color: #f4f1ea;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .005em;
    }

    .bxc-exchange .bxc-dock-quote > strong {
        background: rgba(242, 184, 67, .075);
        border: 1px solid rgba(242, 184, 67, .27);
        border-radius: 999px;
        color: #f4c667;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .025em;
        line-height: 1;
        min-width: 80px;
        padding: 7px 9px;
        text-align: center;
    }

    .bxc-exchange .bxc-dock-quote > small {
        color: #bbb7ae;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.35;
    }

    .bxc-exchange .bxc-dock-quote > em {
        color: #8f939a;
        font-size: 10px;
        font-weight: 500;
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    .bxc-exchange .bxc-smart-nav {
        min-height: 40px;
        min-width: 126px;
        padding: 5px 9px 5px 11px;
    }

    .bxc-exchange .bxc-smart-nav-copy strong {
        font-size: 11px;
    }

    .bxc-exchange .bxc-smart-nav-copy small {
        font-size: 8px;
    }

    .bxc-exchange .bxc-privacy-promise strong {
        font-size: 11px;
    }

    .bxc-exchange .bxc-privacy-promise span {
        font-size: 8px;
        max-width: 340px;
    }
}

@media (max-width: 420px) {
    .bxc-exchange .bxc-smart-nav {
        min-width: 112px;
    }

    .bxc-exchange .bxc-smart-nav-copy small {
        display: none;
    }
}

.bxc-exchange .bxc-option-list .bxc-asset-group-option {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-height: 62px;
    padding: 10px 12px;
}

.bxc-exchange .bxc-option-list .bxc-asset-group-option > img {
    height: 32px;
    object-fit: contain;
    width: 32px;
}

.bxc-exchange .bxc-option-list .bxc-asset-group-option > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.bxc-exchange .bxc-option-list .bxc-asset-group-option em {
    white-space: nowrap;
}

.bxc-exchange .bxc-option-list .bxc-api-unavailable {
    cursor: not-allowed;
    opacity: .58;
}

.bxc-exchange .bxc-option-list .bxc-api-unavailable:hover {
    background: transparent;
    border-color: var(--amin-line-soft);
}

.bxc-exchange .bxc-option-list .bxc-api-unavailable em {
    color: var(--amin-muted);
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bxc-exchange .bxc-picker-back {
    background: transparent;
    border: 1px solid var(--amin-line);
    border-radius: 7px;
    color: var(--amin-text);
    font-size: 11px;
    font-weight: 650;
    min-height: 38px;
    padding: 0 12px;
}

.bxc-exchange .bxc-picker-back:hover,
.bxc-exchange .bxc-picker-back:focus-visible {
    background: var(--amin-surface-raised);
    border-color: #686f7a;
}

.bxc-exchange .bxc-network-picker-intro {
    align-items: center;
    background: var(--amin-surface-raised);
    border: 1px solid var(--amin-line-soft);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 38px minmax(0, 1fr);
    margin: 10px 0;
    padding: 12px;
}

.bxc-exchange .bxc-network-picker-intro img {
    height: 36px;
    object-fit: contain;
    width: 36px;
}

.bxc-exchange .bxc-network-picker-intro span {
    display: grid;
    gap: 3px;
}

.bxc-exchange .bxc-network-picker-intro strong {
    color: var(--amin-text);
    font-size: 13px;
}

.bxc-exchange .bxc-network-picker-intro small {
    color: var(--amin-muted);
    font-size: 10px;
    line-height: 1.4;
}

@media (max-width: 420px) {
    .bxc-exchange .bxc-option-list .bxc-asset-group-option {
        gap: 10px;
        grid-template-columns: 30px minmax(0, 1fr) auto;
    }

    .bxc-exchange .bxc-option-list .bxc-asset-group-option > img {
        height: 28px;
        width: 28px;
    }

    .bxc-exchange .bxc-option-list .bxc-asset-group-option em {
        font-size: 9px;
    }

    .bxc-exchange .bxc-option-list .bxc-api-unavailable em {
        display: none;
    }
}

@media (min-width: 761px) and (min-height: 860px) {
    .bxc-exchange.bxc-swap-focused > .bxc-exchange-main {
        padding-bottom: 48px;
    }
}
