.cn-ba-cur-icon {
    display: inline-block;
    width: 22px !important;
    height: 22px !important;
    margin: 0 6px 0 0 !important;
    border-radius: 5px;
    vertical-align: middle;
}
.cn-ba-soon {
    display: inline-block;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 3px;
    background: #f1f2f4;
    color: #8a8f98;
    font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", Oxygen-Sans, sans-serif;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 16px !important;
    vertical-align: 2px;
}
.cn-ba-box .cn-ba-box-currencies {
    margin-top: 2px;
    line-height: 1.7;
}
.cn-ba-box .cn-ba-box-cur {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    white-space: nowrap;
}
.cn-ba-box .cn-ba-box-cur .cn-ba-cur-icon {
    width: 20px !important;
    height: 20px !important;
    margin-right: 5px !important;
}
.cn-ba-box .cn-ba-box-sep {
    margin: 0 9px;
    color: #8a8f98;
    vertical-align: middle;
}
.cn-ba-box .cn-ba-is-soon .cn-ba-box-code {
    color: #8a8f98;
}
.cn-ba-fees {
    margin-bottom: 25px;
    border: 1px solid #d3d8e0;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}
.cn-ba-fees-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", Oxygen-Sans, sans-serif;
}
.cn-ba-fees-table .cn-ba-col-cur {
    width: 30%;
}
.cn-ba-fees-table .cn-ba-col-fee {
    width: 14%;
}
.cn-ba-fees-table th,
.cn-ba-fees-table td,
.cn-ba-fees-table td *:not(i) {
    font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", Oxygen-Sans, sans-serif !important;
}
.cn-ba-fees-table th,
.cn-ba-fees-table td {
    padding: 14px 18px !important;
    border: 0;
    border-top: 1px solid #e5e8ee;
    text-align: left !important;
    vertical-align: middle;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.3 !important;
    color: #1f2937;
}
.cn-ba-fees-table td * {
    font-size: 16px !important;
}
.cn-ba-fees-table th {
    border-top: 0;
    background: #f8f9fb;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #4b5563;
}
.cn-ba-fees-table td.cn-ba-fee-cur,
.cn-ba-fees-table td.cn-ba-fee-amt-cell,
.cn-ba-fees-table th:first-child,
.cn-ba-fees-table th:nth-child(2) {
    border-right: 1px solid #e5e8ee;
}
.cn-ba-fees-table td.cn-ba-fee-cur {
    display: table-cell;
    white-space: nowrap;
}
.cn-ba-fees-table td.cn-ba-fee-cur,
.cn-ba-fees-table td.cn-ba-fee-amt-cell,
.cn-ba-fees-table th:first-child,
.cn-ba-fees-table th:nth-child(2) {
    text-align: center !important;
}
.cn-ba-fee-icon {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 6px;
    border-radius: 6px;
}
.cn-ba-fee-cur-text {
    display: block;
}
.cn-ba-fees-table .cn-ba-fee-code {
    display: block;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    color: #111827;
}
.cn-ba-fees-table .cn-ba-fee-settle {
    display: block;
    margin-top: 2px;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3;
    color: #8a8f98;
}
.cn-ba-fees-table .cn-ba-fee-cur-soon .cn-ba-fee-code {
    color: #8a8f98;
}
.cn-ba-fee-opt {
    white-space: nowrap;
}
.cn-ba-fees-table .cn-ba-fee-amt {
    display: inline-block;
    font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif !important;
    font-size: 17px !important;
    color: #64748b;
}
.cn-ba-fee-rail {
    display: inline-block;
    margin-right: 8px;
    font-weight: 700 !important;
    color: #111827;
}
.cn-ba-fees-table .cn-ba-fee-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif !important;
    font-size: 17px !important;
    color: #64748b;
}
.cn-ba-fees-table .cn-ba-fee-time > i {
    font-size: 14px !important;
    color: #9aa1ad;
}
.cn-ba-fees-table .cn-ba-fee-time-instant,
.cn-ba-fees-table .cn-ba-fee-time-instant > i {
    color: #16a34a;
}
.cn-ba-fees-table .cn-ba-fee-soon-row .cn-ba-fee-rail,
.cn-ba-fees-table .cn-ba-fee-soon-row .cn-ba-fee-amt,
.cn-ba-fees-table .cn-ba-fee-soon-row .cn-ba-fee-time {
    color: #8a8f98;
}
.cn-ba-fees-table .cn-ba-soon {
    font-size: 11px !important;
    line-height: 16px !important;
}
.cn-ba-fees .cn-ba-fee-extra {
    display: none;
}
.cn-ba-fees.is-expanded .cn-ba-fee-extra {
    display: table-row;
}
.cn-ba-fees-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 9px 16px;
    border: 0;
    border-top: 1px solid #d3d8e0;
    border-radius: 0;
    background: #f8f8f8;
    color: #64748b;
    font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", Oxygen-Sans, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s ease;
}
.cn-ba-fees-toggle:hover {
    background: #f0f0f0;
    color: #64748b;
}
.cn-ba-fees-toggle .cn-ba-fees-toggle-icon {
    font-size: 12px;
    transition: transform .15s ease;
}
.cn-ba-fees-toggle[aria-expanded="true"] .cn-ba-fees-toggle-icon {
    transform: rotate(180deg);
}
@media (max-width: 767px) {
    .cn-ba-cur-icon {
        width: 18px !important;
        height: 18px !important;
        margin-right: 4px !important;
        border-radius: 4px;
    }
    .cn-ba-box .cn-ba-box-cur .cn-ba-cur-icon {
        width: 18px !important;
        height: 18px !important;
    }
    .cn-ba-box .cn-ba-box-sep {
        display: none;
    }
    .cn-ba-box .cn-ba-box-cur {
        margin: 0 7px;
    }
    .cn-ba-soon {
        margin-left: 4px;
        padding: 0 4px;
        font-size: 10px !important;
        line-height: 14px !important;
    }
}

.cn-ba-flow {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 28px;
}
.cn-ba-flow-side {
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 18px 16px;
    border: 1px solid #d3d8e0;
    border-radius: 4px;
    background: #fff;
}
.cn-ba-flow-title {
    font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", Oxygen-Sans, sans-serif;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
}
.cn-ba-flow-label {
    margin: 12px 0 5px;
    font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", Oxygen-Sans, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    color: #64748b;
}
.cn-ba-flow-side .cn-vs-hero-tokens {
    flex-wrap: wrap;
    gap: 3px;
}
a.cn-ba-flow-jump {
    text-decoration: none;
    cursor: pointer;
}
a.cn-ba-flow-jump:hover {
    color: #1a1a1a;
}
.cn-ba-flow-fiat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
}
.cn-ba-flow-fiat .cnpill {
    gap: 6px;
    padding: 2px 11px 2px 2px;
}
.cn-ba-flow-cur-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #fff;
    box-shadow: 0 0 0 1px #d3d8e0;
    object-fit: cover;
}
.cnpill.cn-ba-flow-soon {
    color: #8a8f98;
}
.cnpill.cn-ba-flow-soon .cn-ba-flow-cur-icon {
    opacity: .45;
    filter: grayscale(1);
}
.cn-ba-flow-soon-tag {
    font-weight: 400;
    color: #8a8f98;
}
.cn-ba-flow-center {
    flex: 0 0 auto;
    align-self: center;
    display: grid;
    grid-template-columns: auto 140px auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    column-gap: 8px;
    row-gap: 10px;
}
.cn-ba-flow-center .cn-ba-flow-arrow:first-child {
    grid-row: 1;
    grid-column: 1;
}
.cn-ba-flow-center .cn-ba-flow-card-img {
    grid-row: 1;
    grid-column: 2;
}
.cn-ba-flow-center .cn-ba-flow-arrow:nth-child(3) {
    grid-row: 1;
    grid-column: 3;
}
.cn-ba-flow-center .cn-ba-flow-card {
    grid-row: 2;
    grid-column: 2;
}
.cn-ba-flow-card {
    text-align: center;
    max-width: 160px;
}
.cn-ba-flow-card-img {
    display: block;
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
    border-radius: 8px;
    filter: drop-shadow(0 1px 2px rgba(15,23,42,.10)) drop-shadow(0 6px 14px rgba(15,23,42,.16));
}
.cn-ba-flow-card-name {
    font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", Oxygen-Sans, sans-serif;
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
}
.cn-ba-flow-card-tier {
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.35;
    color: #64748b;
}
.cn-ba-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
@media (max-width: 767px) {
    .cn-ba-flow {
        flex-direction: column;
        gap: 10px;
    }
    .cn-ba-flow-center {
        grid-template-columns: auto;
        grid-template-rows: auto auto auto auto;
        row-gap: 6px;
        padding: 2px 0;
    }
    .cn-ba-flow-center .cn-ba-flow-arrow:first-child {
        grid-row: 1;
        grid-column: 1;
    }
    .cn-ba-flow-center .cn-ba-flow-card-img {
        grid-row: 2;
        grid-column: 1;
    }
    .cn-ba-flow-center .cn-ba-flow-card {
        grid-row: 3;
        grid-column: 1;
    }
    .cn-ba-flow-center .cn-ba-flow-arrow:nth-child(3) {
        grid-row: 4;
        grid-column: 1;
    }
    .cn-ba-flow-card-img {
        max-width: 130px;
        margin-bottom: 0;
    }
    .cn-ba-flow-side {
        text-align: center;
    }
    .cn-ba-flow-side .cn-vs-hero-tokens,
    .cn-ba-flow-side .cn-vs-hero-chains,
    .cn-ba-flow-fiat {
        justify-content: center;
    }
    .cn-ba-flow-arrow {
        padding: 4px 0;
    }
    .cn-ba-flow-side .cn-vs-hero-tokens {
        gap: 3px;
        min-height: 24px;
    }
    .cn-ba-flow-side .cn-vs-hero-tokens .cnpill {
        padding: 5px 10px;
        gap: 6px;
        font-size: 12px;
    }
    .cn-ba-flow-side .cn-vs-hero-chains {
        min-height: 30px;
    }
    .cn-ba-flow-side img.cn-vs-hero-chain {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
    .cn-ba-flow-side img.cn-vs-hero-chain + img.cn-vs-hero-chain {
        margin-left: -9px;
    }
    .cn-ba-flow-side .cn-vs-hero-chains-more,
    .cn-ba-flow-side .cn-vs-hero-tokens-more {
        font-size: 12px;
    }
}


.cn-ba-accounts {
    margin: 0 0 28px;
}
.cn-ba-acc {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 12px;
    padding: 16px 24px;
    border: 1px solid #d3d8e0;
    border-radius: 4px;
    background: #fff;
    font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", Oxygen-Sans, sans-serif;
}
.cn-ba-acc-head {
    flex: 0 0 42%;
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
    padding-right: 22px;
}
.cn-ba-acc-flag {
    flex: 0 0 auto;
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}
.cn-ba-acc-flag-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    height: 170%;
    max-width: none;
    transform: translate(-50%, -50%);
    display: block;
}
.cn-ba-acc-tile {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e9f3ea;
    color: #2f7d3a;
    font-size: 20px;
}
.cn-ba-acc-symbol {
    font-size: 18px;
    font-weight: 700;
}
.cn-ba-acc-symbol-long {
    font-size: 12px;
}
.cn-ba-acc-titles {
    min-width: 0;
}
.cn-ba-acc-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}
.cn-ba-acc-meta {
    margin-top: 4px;
    font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.35;
    color: #64748b;
}
.cn-ba-acc-dot {
    margin: 0 6px;
}
.cn-ba-acc-bank,
a.cn-ba-acc-bank {
    color: #1f2937 !important;
    text-decoration: none !important;
    border-bottom: 1px dotted #9aa1ad;
}
a.cn-ba-acc-bank:hover {
    border-bottom-color: #1f2937;
}
.cn-ba-acc-body {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 22px;
}
.cn-ba-acc-rails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.cn-ba-acc-rail {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #d3d8e0;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}
.cn-ba-acc-rail-soon {
    color: #8a8f98;
}
.cn-ba-acc-copy {
    font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.4;
    color: #1f2937;
}
.cn-ba-acc-soon .cn-ba-acc-title {
    color: #8a8f98;
}
@media (max-width: 767px) {
    .cn-ba-acc {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
    }
    .cn-ba-acc-head {
        flex: 0 0 auto;
        gap: 16px;
        padding: 0 0 12px;
    }
    .cn-ba-acc-body {
        padding: 12px 0 0;
    }
    .cn-ba-fees-table th,
    .cn-ba-fees-table td {
        padding: 10px 10px !important;
        font-size: 14px !important;
    }
    .cn-ba-fees-table td * {
        font-size: 14px !important;
    }
    .cn-ba-fees-table .cn-ba-col-cur {
        width: 36%;
    }
    .cn-ba-fees-table .cn-ba-col-fee {
        width: 16%;
    }
    .cn-ba-fees-table td.cn-ba-fee-cur {
        white-space: normal;
    }
    .cn-ba-fee-icon {
        width: 28px;
        height: 28px;
    }
    .cn-ba-fees-table .cn-ba-fee-code {
        font-size: 16px !important;
    }
    .cn-ba-fees-table .cn-ba-fee-settle {
        font-size: 11px !important;
    }
    .cn-ba-fees-table .cn-ba-fee-time > i {
        font-size: 12px !important;
    }
    .cn-ba-fee-opt {
        white-space: normal;
    }
    .cn-ba-fees-table .cn-ba-fee-amt,
    .cn-ba-fees-table .cn-ba-fee-time {
        font-size: 15px !important;
    }
    .cn-ba-fee-rail {
        margin-right: 6px;
    }
}

.cn-ba-mockup {
    margin: 0 0 28px;
    text-align: center;
}
.cn-ba-mockup .cn-ba-mockup-img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}
