body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(160deg, #020915 0%, #05102b 45%, #020812 100%);
    color: #eef4ff;
    min-height: 100vh;
}

:root {
    --accent-start: #f1ce62;
    --accent-end: #c89a22;
    --accent-text: #1f1c10;
    /* Mini App без Telegram — fallback как тёмный TG */
    --tg-bg: #17212b;
    --tg-text: #e8ecf5;
    --tg-hint: #8e9ab5;
    --tg-link: #6ab7ff;
    --tg-button: #5288c1;
    --tg-button-text: #ffffff;
    --tg-secondary-bg: #232e3c;
    --tg-chat-bg: #0e1621;
    --tg-bubble-out: #2b5278;
    --tg-bubble-out-text: #e8f3ff;
    --tg-bubble-in: #182533;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 14px 90px;
}

.app-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.app-brand__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
}

.app-brand__club {
    text-align: right;
    margin-left: auto;
    line-height: 1.2;
}

.app-brand__club-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.app-brand__club-name {
    color: var(--tg-text, #eef4ff);
}

.app-brand__club-suffix {
    color: var(--accent-start, #f1ce62);
}

.app-brand__club-id {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tg-hint, #9fb0d6);
    letter-spacing: 0.02em;
}

h2 {
    margin: 0 0 14px;
    font-size: 26px;
    letter-spacing: -0.01em;
}

.muted {
    color: #9fb0d6;
    margin: 6px 0 0;
}

.card {
    background: rgba(10, 19, 44, 0.78);
    border: 1px solid rgba(86, 105, 166, 0.28);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.loading {
    text-align: center;
    font-weight: 600;
}

.stack {
    display: grid;
    gap: 12px;
}

.stack-sm {
    display: grid;
    gap: 10px;
}

.screen {
    display: grid;
    gap: 12px;
}

.hidden {
    display: none !important;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.tab {
    border: 1px solid transparent;
    background: linear-gradient(180deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--accent-text);
    border-radius: 999px;
    padding: 10px;
    font-weight: 600;
}

.tab.active {
    background: linear-gradient(180deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--accent-text);
    border-color: transparent;
}

.tournament-card {
    border: 1px solid rgba(112, 126, 181, 0.24);
    background: rgba(7, 14, 33, 0.82);
    border-radius: 14px;
    padding: 12px;
    overflow: hidden;
}

.tournament-card .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tournament-card .meta {
    font-size: 13px;
    color: #a8b7db;
}

.tournament-cover {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    background: rgba(5, 10, 22, 0.8);
}

.tournament-open-btn {
    margin-top: 10px;
    width: 100%;
}

.money-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.amount {
    margin: 6px 0 0;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.amount.hold {
    color: #ffd57d;
}

.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.btn {
    border-radius: 10px;
    padding: 10px 12px;
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.btn.primary {
    background: linear-gradient(180deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--accent-text);
}

.btn.secondary {
    background: linear-gradient(180deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--accent-text);
}

.btn.small {
    padding: 8px 10px;
    font-size: 13px;
}

.mt-12 {
    margin-top: 12px;
}

.profile-grid {
    display: grid;
    gap: 8px;
}

.profile-grid p {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(118, 137, 199, 0.2);
    border-radius: 10px;
    background: rgba(7, 13, 30, 0.62);
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.label {
    color: #a8b7db;
    font-size: 14px;
}

.value {
    font-weight: 600;
    text-align: right;
}

.badge {
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.5);
    padding: 3px 10px;
    background: rgba(59, 130, 246, 0.24);
    text-transform: lowercase;
}

.support-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.support-head h2 {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.support-head .btn {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 12px;
    align-items: start;
}

.support-list-col,
.support-detail-col {
    min-width: 0;
    width: 100%;
}

.support-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: min(52vh, 420px);
    overflow-y: auto;
}

.support-ticket-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    text-align: left;
    width: 100%;
    border: 1px solid rgba(118, 137, 199, 0.22);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(7, 13, 30, 0.62);
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.support-ticket-item:hover {
    border-color: rgba(96, 165, 250, 0.45);
}

.support-ticket-item-active {
    border-color: rgba(96, 165, 250, 0.75);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.support-ticket-item-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
}

.support-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.support-detail-placeholder {
    border: 1px dashed rgba(118, 137, 199, 0.25);
    border-radius: 10px;
    padding: 16px;
    min-height: 120px;
}

.support-detail-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.support-detail-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: min(58vh, 520px);
    flex: 1;
    min-width: 0;
}

.support-chat-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(118, 137, 199, 0.18);
}

.support-chat-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.support-chat-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.support-chat-badge {
    text-transform: none;
    font-size: 12px;
}

.support-detail-id {
    font-weight: 700;
    font-size: 14px;
    color: var(--tg-text, #e8ecf5);
    flex-shrink: 0;
}

.support-chat-subject {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--tg-text, #e8ecf5);
    width: 100%;
    word-break: break-word;
}

.support-chat {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 0;
}

.support-chat-bg {
    width: 100%;
    box-sizing: border-box;
    background-color: var(--tg-chat-bg, #0e1621);
    background-image: linear-gradient(180deg, rgba(14, 22, 33, 0.95) 0%, rgba(23, 33, 43, 0.55) 100%);
    border-radius: 12px;
    border: 1px solid rgba(118, 137, 199, 0.12);
}

.support-messages-tg {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-height: min(42vh, 320px);
    max-height: min(52vh, 440px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px 10px 14px;
    -webkit-overflow-scrolling: touch;
}

.support-date-sep {
    text-align: center;
    margin: 10px 0 8px;
    font-size: 12px;
    color: var(--tg-hint, #8e9ab5);
}

.support-date-sep span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
}

.tg-bubble-row {
    display: flex;
    width: 100%;
}

.tg-bubble-row--out {
    justify-content: flex-end;
}

.tg-bubble-row--in {
    justify-content: flex-start;
}

.tg-bubble {
    max-width: min(100%, 85%);
    padding: 8px 11px 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.tg-bubble--out {
    background: var(--tg-bubble-out, #2b5278);
    color: var(--tg-bubble-out-text, #e8f3ff);
    border-radius: 14px 14px 4px 14px;
}

.tg-bubble--in {
    background: var(--tg-bubble-in, #182533);
    color: var(--tg-text, #e8ecf5);
    border-radius: 14px 14px 14px 4px;
}

.tg-bubble-text {
    font-size: 15px;
    line-height: 1.42;
    word-break: break-word;
}

.tg-bubble-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.tg-bubble-time {
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.72;
}

.support-closed-banner {
    flex-shrink: 0;
    padding: 12px;
    margin-top: 8px;
    text-align: center;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.support-composer {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    padding-top: 10px;
    margin-top: 8px;
}

.support-composer-input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    max-height: 120px;
    resize: none;
    overflow-y: auto;
    padding: 10px 14px;
    border-radius: 22px;
    line-height: 1.35;
    font-size: 15px;
    background: var(--tg-secondary-bg, rgba(7, 13, 30, 0.85));
    border: 1px solid rgba(118, 137, 199, 0.28);
    color: var(--tg-text, #eef4ff);
}

.support-composer-input::placeholder {
    color: var(--tg-hint, #9fb0d6);
}

.support-composer-send {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--accent-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    touch-action: manipulation;
}

.support-composer-send-icon {
    display: block;
    transform: translateX(1px);
    font-size: 17px;
    line-height: 1;
}

.support-back-btn {
    align-self: flex-start;
}

@media (max-width: 700px) {
    /* Одна колонка: иначе скрытый столбец оставляет пустой второй трек сетки */
    .support-layout {
        grid-template-columns: 1fr;
    }

    .support-layout.support-mode-list .support-detail-col {
        display: none;
    }

    .support-layout.support-mode-detail .support-list-col {
        display: none;
    }

    .support-messages-tg {
        min-height: min(35dvh, 280px);
        max-height: min(65dvh, 560px);
    }

    #support-approved-wrap {
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }

    .support-composer {
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    }

    .card.card--support {
        padding-left: 12px;
        padding-right: 12px;
    }

    /*
     * Полноэкранный просмотр тикета: фиксированный слой, без таббара и без блока «Поддержка / Новый тикет».
     * :has() — Safari 15.4+, актуальные WebView Telegram.
     */
    html:has(#screen-support:not(.hidden) .support-layout.support-mode-detail),
    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) {
        overflow: hidden;
        height: 100%;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .app-brand {
        display: none;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) #bottom-nav {
        display: none !important;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .support-head {
        display: none !important;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) #screen-support {
        position: fixed;
        inset: 0;
        z-index: 60;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: none;
        min-height: 100dvh;
        min-height: 100vh;
        background: linear-gradient(160deg, #020915 0%, #05102b 45%, #020812 100%);
        overflow: hidden;
        box-sizing: border-box;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) #screen-support > .card.card--support {
        border-radius: 0;
        border: none;
        box-shadow: none;
        margin: 0;
        height: 100%;
        min-height: 100%;
        max-width: none;
        width: 100%;
        padding: calc(10px + env(safe-area-inset-top, 0px)) 12px calc(12px + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        background: transparent;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) #support-approved-wrap {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-bottom: 0;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .support-layout {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .support-detail-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .support-detail-panel {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .support-chat {
        flex: 1;
        min-height: 0;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .support-chat-bg {
        border-radius: 12px;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .support-messages-tg {
        flex: 1;
        min-height: 0;
        max-height: none;
    }

    body:has(#screen-support:not(.hidden) .support-layout.support-mode-detail) .support-composer {
        padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 701px) {
    .support-back-btn {
        display: none;
    }

    .support-chat-header-top {
        justify-content: flex-start;
    }
}

summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 10px;
}

.tx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.tx-item {
    border: 1px solid rgba(118, 137, 199, 0.2);
    border-radius: 10px;
    background: rgba(7, 13, 30, 0.62);
    padding: 10px 12px;
}

.tx-item .tx-row-amount {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tx-item .meta {
    margin-top: 6px;
    font-size: 12px;
    color: #9fb0d6;
}

.tx-item.deposit .tx-row-amount {
    color: #4ade80;
}

.tx-item.withdrawal .tx-row-amount {
    color: #f87171;
}

.warning {
    border-color: rgba(245, 158, 11, 0.52);
    background: rgba(64, 42, 10, 0.5);
}

.bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    width: min(620px, calc(100% - 22px));
    background: rgba(6, 12, 28, 0.95);
    border: 1px solid rgba(118, 137, 199, 0.24);
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    z-index: 99;
}

.nav-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #b6c6eb;
    border-radius: 10px;
    padding: 9px 8px;
    font-weight: 600;
    font-size: 13px;
}

.nav-btn.active {
    background: linear-gradient(180deg, var(--accent-start) 0%, var(--accent-end) 100%);
    color: var(--accent-text);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 120;
}

/** Поверх окна транзакций (тот же z-index), иначе клики перехватывает #txn-modal */
.modal-backdrop--support {
    z-index: 200;
}

.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 121;
}

.modal--support {
    z-index: 201;
}

.modal-card {
    width: min(420px, 100%);
    background: rgba(10, 19, 44, 0.98);
    border: 1px solid rgba(118, 137, 199, 0.24);
    border-radius: 14px;
    padding: 16px;
}

/* Окно пополнения/вывода: длинная форма СБП + реквизиты — прокрутка тела, кнопки снизу */
#txn-modal .modal-card {
    max-height: min(92vh, 800px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

#txn-modal #txn-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#txn-modal #txn-modal-actions {
    flex-shrink: 0;
    padding-top: 4px;
}

.modal-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.modal-actions {
    display: grid;
    gap: 8px;
}

.method-grid {
    display: grid;
    gap: 8px;
}

.txn-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(118, 137, 199, 0.35);
    background: rgba(7, 13, 30, 0.62);
    color: #eef4ff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 16px;
}

.txn-note {
    font-size: 13px;
    color: #a8b7db;
    margin: 0;
}

.txn-requisites {
    border: 1px solid rgba(118, 137, 199, 0.2);
    border-radius: 10px;
    padding: 10px;
    background: rgba(7, 13, 30, 0.62);
    word-break: break-word;
    white-space: pre-wrap;
    font-size: 14px;
}

.deposit-req-lead {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
}

.deposit-req-admin-note {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #8ea3c8;
}

.deposit-req-admin-note code {
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.25);
}

.withdraw-sbp-bundle {
    border: 1px solid rgba(118, 137, 199, 0.35);
    border-radius: 12px;
    padding: 12px 12px 14px;
    background: rgba(7, 13, 30, 0.45);
}

.withdraw-sbp-bundle__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--tg-text, #eef4ff);
}

.withdraw-sbp-bundle__hint {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.45;
}

.deposit-sum-hint {
    margin: 0 0 8px;
}

.txn-amount-line {
    margin: 0 0 6px;
    font-size: 16px;
}

.deposit-usdt-line {
    margin: 0 0 8px;
    font-size: 15px;
    color: #dce6ff;
}

.txn-note--spaced {
    margin-top: 4px;
    margin-bottom: 10px;
}

.deposit-req-card {
    border-radius: 14px;
    border: 1px solid rgba(118, 137, 199, 0.35);
    background: linear-gradient(165deg, rgba(20, 32, 72, 0.95) 0%, rgba(8, 14, 36, 0.88) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.deposit-req-card__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(118, 137, 199, 0.22);
    background: rgba(0, 0, 0, 0.12);
}

.deposit-req-chip {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tg-hint, #9fb0d6);
}

.deposit-req-card__body {
    padding: 0;
}

.deposit-req-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(118, 137, 199, 0.22);
}

.deposit-req-row:last-child {
    border-bottom: none;
}

.deposit-req-row__main {
    flex: 1;
    min-width: 0;
}

.deposit-req-row__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tg-hint, #9fb0d6);
    margin-bottom: 4px;
}

.deposit-req-row__value {
    font-size: 15px;
    line-height: 1.45;
    word-break: break-word;
    color: var(--tg-text, #e8ecf5);
}

.deposit-req-row--muted .deposit-req-row__value--empty {
    font-style: italic;
    color: var(--tg-hint, #9fb0d6);
    font-size: 14px;
}

.deposit-req-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 2px;
    border: none;
    border-radius: 10px;
    background: rgba(126, 160, 255, 0.12);
    color: var(--tg-hint, #9fb0d6);
    cursor: pointer;
    padding: 0;
}

.deposit-req-copy-btn:active {
    opacity: 0.85;
}

.deposit-req-copy-icon {
    display: block;
}

.deposit-req-pre {
    margin: 0;
    padding: 14px 14px 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--tg-text, #e8ecf5);
    max-height: min(52vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.deposit-req-pre--row {
    flex: 1;
    min-width: 0;
    padding: 0;
    max-height: min(48vh, 280px);
    margin: 0;
    align-self: center;
}

.deposit-req-pre--compact {
    max-height: min(40vh, 220px);
    border-radius: 10px;
    border: 1px solid rgba(118, 137, 199, 0.22);
    background: rgba(7, 13, 30, 0.55);
    padding: 12px;
    margin-top: 6px;
}

.withdraw-req-confirm .label {
    margin: 0 0 4px;
}

.txn-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 12px;
    font-size: 13px;
    color: #a8b7db;
}

.profile-requisites-list {
    display: grid;
    gap: 12px;
}

.sbp-phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.sbp-phone-prefix {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 16px;
    color: #eef4ff;
    letter-spacing: 0.02em;
}

.sbp-phone-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #eef4ff;
    font-size: 16px;
    padding: 8px 6px;
    outline: none;
}

.profile-req-label {
    margin: 0 0 8px;
    font-size: 14px;
}

.profile-req-value-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.profile-req-value-row .txn-requisites {
    flex: 1;
    min-width: 0;
}

.profile-req-edit-btn {
    flex-shrink: 0;
    align-self: flex-start;
}

.profile-req-body {
    margin-top: 0;
}

.profile-method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.profile-method-grid .btn {
    padding: 9px 8px;
    font-size: 14px;
}

.profile-method-grid button.profile-method-active {
    box-shadow: 0 0 0 2px rgba(241, 206, 98, 0.55);
}

.txn-save-requisites-wrap {
    font-size: 17px;
    font-weight: 600;
    color: #e8eefc;
}

.withdraw-fee-banner {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(241, 206, 98, 0.35);
    background: rgba(40, 32, 8, 0.45);
    font-size: 14px;
    line-height: 1.45;
}

.withdraw-fee-banner.compact {
    margin-top: 10px;
    padding: 10px;
    font-size: 13px;
}

.withdraw-fee-banner p {
    margin: 0 0 8px;
}

.withdraw-fee-banner p:last-child {
    margin-bottom: 0;
}

.withdraw-fee-net {
    margin-top: 6px !important;
    font-size: 15px;
}

.warning-inline {
    color: #fbbf24;
}
