.bp2p-ex {
    --bp2p-orange: #fcaf3b;
    --bp2p-orange-soft: #fcaf3b40;
    --bp2p-navy: #1e3c72;
    --bp2p-dark: #2c2e3e;
    --bp2p-text: #4e5155;
    --bp2p-gray: #707070;
    --bp2p-line: #eceef1;
    --bp2p-field: #fafafa;
    --bp2p-green: #1e9e57;
    --bp2p-red: #d93848;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    color: var(--bp2p-text);
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

.bp2p-ex *,
.bp2p-ex *::before,
.bp2p-ex *::after {
    box-sizing: border-box;
    min-width: 0;
}

.bp2p-ex .bp2p-ex-card {
    background: #fff;
    border-radius: 19px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    padding: 22px 14px 18px;
    overflow: hidden;
}

.bp2p-ex .bp2p-ex-title {
    margin: 0 0 4px;
    padding: 0;
    font-family: inherit;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--bp2p-orange);
    text-align: center;
    text-transform: none;
}

.bp2p-ex .bp2p-ex-sub {
    margin: 0;
    font-size: 14px;
    color: var(--bp2p-gray);
    text-align: center;
}

.bp2p-ex .bp2p-ex-usdt {
    margin: 4px 0 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bp2p-green);
    text-align: center;
}

.bp2p-ex .bp2p-ex-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
}

.bp2p-ex .bp2p-ex-tab {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 14px;
    background: #f1f2f4;
    color: var(--bp2p-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.bp2p-ex .bp2p-ex-tab:hover {
    background: #e7e8eb;
    color: var(--bp2p-dark);
}

.bp2p-ex .bp2p-ex-tab.is-active {
    background: linear-gradient(135deg, var(--bp2p-navy) 0%, var(--bp2p-orange) 100%);
    color: #fff;
}

.bp2p-ex .bp2p-ex-form {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bp2p-ex .bp2p-ex-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--bp2p-dark);
    padding-left: 4px;
}

.bp2p-ex .bp2p-ex-input {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    background: var(--bp2p-field);
    color: var(--bp2p-text);
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 16px;
    line-height: 1.3;
    box-shadow: none;
    outline: none;
}

.bp2p-ex .bp2p-ex-input::placeholder {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #adb5bd;
}

.bp2p-ex .bp2p-ex-input:focus {
    border-color: var(--bp2p-orange);
    background: #fff;
    box-shadow: 0 0 0 3px var(--bp2p-orange-soft);
}

.bp2p-ex .bp2p-ex-btn {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 20px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bp2p-navy) 0%, var(--bp2p-orange) 100%);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.bp2p-ex .bp2p-ex-btn:hover:not(:disabled) {
    color: #fff;
    box-shadow: 0 4px 12px var(--bp2p-orange-soft);
}

.bp2p-ex .bp2p-ex-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.bp2p-ex .bp2p-ex-msg {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff5f5;
    border: 1px solid #f5c2c7;
    color: #b02a37;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

.bp2p-ex .bp2p-ex-msg.is-visible {
    display: block;
}

.bp2p-ex .bp2p-ex-loading {
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
    background: #f8f9fa;
    color: var(--bp2p-gray);
    font-size: 14px;
    text-align: center;
}

.bp2p-ex .bp2p-ex-box {
    margin-top: 16px;
    animation: bp2p-ex-in 0.25s ease;
}

@keyframes bp2p-ex-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.bp2p-ex .bp2p-ex-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.bp2p-ex .bp2p-ex-heading {
    margin: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bp2p-dark);
    text-transform: none;
}

.bp2p-ex .bp2p-ex-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 19px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.bp2p-ex .bp2p-ex-badge.is-ok {
    background: rgba(30, 158, 87, 0.12);
    color: var(--bp2p-green);
}

.bp2p-ex .bp2p-ex-badge.is-wait {
    background: rgba(252, 175, 59, 0.18);
    color: #a8670f;
}

.bp2p-ex .bp2p-ex-badge.is-fail {
    background: rgba(217, 56, 72, 0.12);
    color: var(--bp2p-red);
}

.bp2p-ex .bp2p-ex-id {
    margin: 6px 0 12px;
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.45;
    color: var(--bp2p-gray);
    overflow-wrap: anywhere;
    word-break: break-all;
}

.bp2p-ex .bp2p-ex-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px;
    border-radius: 16px;
    background: var(--bp2p-dark);
}

.bp2p-ex .bp2p-ex-main-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.bp2p-ex .bp2p-ex-main-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bp2p-orange);
    overflow-wrap: anywhere;
}

.bp2p-ex .bp2p-ex-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.bp2p-ex .bp2p-ex-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f7f8fa;
}

.bp2p-ex .bp2p-ex-stat-label {
    font-size: 11px;
    color: var(--bp2p-gray);
}

.bp2p-ex .bp2p-ex-stat-value {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bp2p-dark);
    overflow-wrap: anywhere;
}

.bp2p-ex .bp2p-ex-share {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: #fff8ec;
    border: 1px solid #fde3b6;
}

.bp2p-ex .bp2p-ex-share-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--bp2p-dark);
    text-align: center;
}

.bp2p-ex .bp2p-ex-share-main {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0 0 10px;
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background: var(--bp2p-orange);
    color: var(--bp2p-dark);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

.bp2p-ex .bp2p-ex-share-main:hover {
    background: #f0a32c;
    color: var(--bp2p-dark);
}

.bp2p-ex .bp2p-ex-share-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bp2p-ex .bp2p-ex-share-btn {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    color: #fff;
}

.bp2p-ex .bp2p-ex-share-btn:hover {
    color: #fff;
    opacity: 0.92;
}

.bp2p-ex .bp2p-ex-share-btn.is-wa {
    background: #25d366;
}

.bp2p-ex .bp2p-ex-share-btn.is-tg {
    background: #229ed9;
}

.bp2p-ex .bp2p-ex-share-btn.is-x {
    background: #111;
}

.bp2p-ex .bp2p-ex-share-btn.is-copy {
    background: #fff;
    color: var(--bp2p-dark);
    border: 1px solid #e3e5e8;
}

.bp2p-ex .bp2p-ex-share-btn.is-copy:hover {
    color: var(--bp2p-dark);
}

.bp2p-ex .bp2p-ex-list-title {
    margin: 18px 0 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--bp2p-dark);
    text-transform: none;
}

.bp2p-ex .bp2p-ex-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bp2p-ex .bp2p-ex-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--bp2p-line);
}

.bp2p-ex .bp2p-ex-item:last-child {
    border-bottom: 0;
}

.bp2p-ex .bp2p-ex-item-body {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    margin: 0;
    padding: 11px 2px;
    border: 0;
    background: none;
    color: inherit;
    font-family: inherit;
    text-align: left;
    text-transform: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.bp2p-ex button.bp2p-ex-item-body {
    cursor: pointer;
}

.bp2p-ex button.bp2p-ex-item-body:hover,
.bp2p-ex button.bp2p-ex-item-body:active {
    background: #fafbfc;
    color: inherit;
}

.bp2p-ex .bp2p-ex-item-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.bp2p-ex .bp2p-ex-item-title {
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--bp2p-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp2p-ex .bp2p-ex-item-amount {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.bp2p-ex .bp2p-ex-item.is-in .bp2p-ex-item-amount {
    color: var(--bp2p-green);
}

.bp2p-ex .bp2p-ex-item.is-out .bp2p-ex-item-amount {
    color: var(--bp2p-red);
}

.bp2p-ex .bp2p-ex-item-sub {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--bp2p-gray);
}

.bp2p-ex .bp2p-ex-item-go {
    color: #1f5fbf;
    font-weight: 600;
}

.bp2p-ex .bp2p-ex-empty {
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--bp2p-gray);
    text-align: center;
}

.bp2p-ex .bp2p-ex-ext {
    display: block;
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: #f1f2f4;
    color: var(--bp2p-dark);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.bp2p-ex .bp2p-ex-ext:hover {
    background: #e7e8eb;
    color: var(--bp2p-dark);
}

@media (min-width: 560px) {
    .bp2p-ex .bp2p-ex-card {
        padding: 30px 26px 24px;
    }

    .bp2p-ex .bp2p-ex-title {
        font-size: 24px;
    }

    .bp2p-ex .bp2p-ex-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bp2p-ex .bp2p-ex-share-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bp2p-ex .bp2p-ex-main-value {
        font-size: 28px;
    }
}

.bp2p-ex .bp2p-ex-grid .bp2p-ex-stat:only-child,
.bp2p-ex .bp2p-ex-grid .bp2p-ex-stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
