/* Mood wallet hub: currency accounts, payout methods, history table, withdraw picker */

/* —— Currency account tiles (square rail) —— */
.acc-wallets-rail.acc-wallets-list {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-3);
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    margin-bottom: var(--space-2);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.acc-wallets-rail.acc-wallets-list::-webkit-scrollbar {
    height: 4px;
}
.acc-wallets-rail.acc-wallets-list::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--text-muted) 35%, transparent);
    border-radius: 999px;
}

.acc-wallet-tile {
    position: relative;
    flex: 0 0 auto;
    width: 128px;
    height: 128px;
    aspect-ratio: 1;
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
    --tile-chip: var(--accent);
}
.acc-wallet-tile:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}
.acc-wallet-tile--active {
    border-color: color-mix(in srgb, var(--tile-chip) 45%, var(--border));
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--tile-chip) 22%, transparent) inset,
        0 8px 20px color-mix(in srgb, var(--tile-chip) 12%, transparent);
}
.acc-wallet-tile__hit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    height: 100%;
    padding: 12px 10px 10px;
    border: none;
    border-radius: inherit;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}
.acc-wallet-tile--active .acc-wallet-tile__hit {
    cursor: default;
}
.acc-wallet-tile__sym-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    background: linear-gradient(145deg, color-mix(in srgb, var(--tile-chip) 78%, #fff), var(--tile-chip));
    box-shadow: 0 4px 14px color-mix(in srgb, var(--tile-chip) 32%, transparent);
}
.acc-wallet-tile__sym-badge--long {
    font-size: 12px;
    letter-spacing: -0.03em;
    font-weight: 700;
}
.acc-wallet-tile__head {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}
.acc-wallet-tile__code {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}
.acc-wallet-tile--active .acc-wallet-tile__code {
    color: var(--tile-chip);
}
.acc-wallet-tile__active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tile-chip);
    flex-shrink: 0;
}
.acc-wallet-tile__balance {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.acc-wallet-tile__sym {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-dim);
    flex-shrink: 0;
}
.acc-wallet-tile__label {
    font-size: 10px;
    line-height: 1.25;
    color: var(--text-muted);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: auto;
}
.acc-wallet-tile__del {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--danger, #c0392b) 35%, var(--border));
    border-radius: 50%;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    font-size: 14px;
    line-height: 1;
    font-family: inherit;
    color: var(--danger, #c0392b);
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.acc-wallet-tile--deletable:hover .acc-wallet-tile__del {
    opacity: 1;
}
.acc-wallet-tile__del:hover {
    background: color-mix(in srgb, var(--danger, #c0392b) 10%, var(--surface));
}
.acc-wallet-tile__del:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Per-currency chip accent */
.acc-wallet-tile--rub { --tile-chip: #2563eb; }
.acc-wallet-tile--usd { --tile-chip: #15803d; }
.acc-wallet-tile--eur { --tile-chip: #0369a1; }
.acc-wallet-tile--uah { --tile-chip: #0057b7; }
.acc-wallet-tile--kzt { --tile-chip: #0891b2; }
.acc-wallet-tile--uzs { --tile-chip: #059669; }
.acc-wallet-tile--azn { --tile-chip: #0d9488; }
.acc-wallet-tile--usdt { --tile-chip: #26a17b; }
.acc-wallet-tile--usdc { --tile-chip: #2775ca; }
.acc-wallet-tile--btc { --tile-chip: #f7931a; }
.acc-wallet-tile--eth { --tile-chip: #627eea; }
.acc-wallet-tile--default { --tile-chip: var(--accent); }

html[data-theme="light"] .acc-wallet-tile {
    box-shadow: 0 1px 6px color-mix(in srgb, #101828 5%, transparent);
}
html[data-theme="light"] .acc-wallet-tile--active {
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--tile-chip) 18%, transparent) inset,
        0 6px 16px color-mix(in srgb, var(--tile-chip) 10%, transparent);
}

@media (max-width: 560px) {
    .acc-wallet-tile {
        width: 112px;
        height: 112px;
    }
    .acc-wallet-tile__sym-badge {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .acc-wallet-tile__balance {
        font-size: 14px;
    }
    .acc-wallet-tile__del {
        opacity: 1;
    }
}

#accountModal .acc-wallets-add {
    align-items: flex-end;
}
#accountModal .acc-wallets-add-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: flex-end;
    width: 100%;
}
#accountModal .acc-wallets-add-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
    flex: 1;
}
#accountModal .acc-wallets-add-field span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

#accountModal .acc-payout-block .acc-card__sub { max-width: 52ch; }
#accountModal .acc-payout-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-3);
    align-items: stretch;
}
.acc-payout-empty {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface) 88%, var(--surface-2));
    border: 1px dashed color-mix(in srgb, var(--border) 85%, var(--text-muted));
}
.acc-payout-empty p {
    margin: 0;
    max-width: none;
}
#accountModal .acc-payout-empty {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}
#accountModal .acc-payout-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}
.acc-payout-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}
.acc-payout-card--ok { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.acc-payout-card--wait { border-color: color-mix(in srgb, #d4a017 45%, var(--border)); }
.acc-payout-card--bad { border-color: color-mix(in srgb, #e05252 45%, var(--border)); }
.acc-payout-card--rf_card { --ppm-accent: #1a6b5c; }
.acc-payout-card--sbp { --ppm-accent: #21a038; }
.acc-payout-card--fk_wallet { --ppm-accent: #7c3aed; }
.acc-payout-card--crypto { --ppm-accent: #f0b90b; }
.acc-payout-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-left: 10px;
    border-left: 3px solid var(--ppm-accent, var(--border));
}
.acc-payout-card__brand {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.acc-payout-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.acc-payout-card__icon svg { width: 20px; height: 20px; }
.acc-payout-card__icon.ppm-type--card,
.acc-payout-card__icon.ppm-type--sbp,
.acc-payout-card__icon.ppm-type--fk,
.acc-payout-card__icon.ppm-type--crypto {
    background: transparent;
    color: inherit;
}
.acc-payout-card__titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
#accountModal .acc-payout-card--ok { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
#accountModal .acc-payout-card--wait { border-color: color-mix(in srgb, #d4a017 45%, var(--border)); }
#accountModal .acc-payout-card .acc-pill--idle {
    background: var(--surface-2);
    color: var(--text-dim);
}
#accountModal .acc-payout-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
#accountModal .acc-payout-card__type {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}
.acc-payout-card__type {
    font-size: 12px;
    font-weight: 800;
    color: var(--text);
}
.acc-payout-card__sub {
    font-size: 11px;
    color: var(--text-muted);
}
#accountModal .acc-payout-card__mask,
.acc-payout-card__mask {
    font-weight: 700;
    font-size: 14px;
    word-break: break-word;
    font-variant-numeric: tabular-nums;
}
#accountModal .acc-payout-card__hint,
#accountModal .acc-payout-card__reason {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}
#accountModal .acc-payout-card__actions,
.acc-payout-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#accountModal .acc-payout-card__files {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* —— Document tiles & lightbox —— */
.ppm-doc-grid-wrap__title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.ppm-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
@media (max-width: 420px) {
    .ppm-doc-grid { grid-template-columns: 1fr; }
}
.ppm-doc-tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 92%, var(--surface-2));
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s, transform 0.15s;
}
.ppm-doc-tile:hover:not(.ppm-doc-tile--missing) {
    border-color: color-mix(in srgb, var(--ppm-accent, var(--accent)) 50%, var(--border));
    transform: translateY(-1px);
}
.ppm-doc-tile--missing {
    cursor: default;
    border-style: dashed;
    opacity: 0.75;
}
.ppm-doc-tile__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    overflow: hidden;
}
.ppm-doc-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ppm-doc-tile__img--err { opacity: 0.35; }
.ppm-doc-tile__placeholder,
.ppm-doc-tile__pdf {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}
.ppm-doc-tile__placeholder svg,
.ppm-doc-tile__pdf svg { width: 28px; height: 28px; }
.ppm-doc-tile__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px 10px;
}
.ppm-doc-tile__label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}
.ppm-doc-tile__pill {
    align-self: flex-start;
    font-size: 10px;
    padding: 2px 8px;
}
.ppm-doc-tile__date {
    font-size: 10px;
    color: var(--text-muted);
}

.ppm-doc-lightbox {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal) + 2);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
}
.ppm-doc-lightbox.hidden { display: none; }
body.ppm-doc-lightbox-open { overflow: hidden; }
.ppm-doc-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 13, 0.78);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.ppm-doc-lightbox__panel {
    position: relative;
    width: min(560px, 100%);
    max-height: min(90vh, 720px);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px 16px 12px 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.ppm-doc-lightbox__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}
.ppm-doc-lightbox__title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}
.ppm-doc-lightbox__meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}
.ppm-doc-lightbox__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ppm-doc-lightbox__close svg { width: 18px; height: 18px; }
.ppm-doc-lightbox__preview {
    flex: 1;
    min-height: 200px;
    max-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0e14;
    overflow: auto;
}
.ppm-doc-lightbox__img {
    max-width: 100%;
    max-height: 50vh;
    object-fit: contain;
    display: block;
}
.ppm-doc-lightbox__pdf {
    text-align: center;
    color: var(--text-muted);
    padding: 24px;
}
.ppm-doc-lightbox__pdf-icon svg { width: 48px; height: 48px; margin-bottom: 8px; }
.ppm-doc-lightbox__pdf-name {
    font-size: 12px;
    word-break: break-all;
    margin-top: 8px;
}
.ppm-doc-lightbox__loading,
.ppm-doc-lightbox__err {
    color: var(--text-muted);
    padding: 24px;
    text-align: center;
}
.ppm-doc-lightbox__status {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ppm-doc-lightbox__status-text {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}
.ppm-doc-lightbox__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border);
}
@media (min-width: 640px) {
    .ppm-doc-lightbox {
        align-items: center;
    }
    .ppm-doc-lightbox__panel {
        border-radius: 16px;
    }
}

/* —— Payout wizard shell —— */
.acc-payout-wizard {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(5, 8, 13, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 12px;
}
html[data-theme="light"] .acc-payout-wizard {
    background: rgba(16, 24, 40, 0.44);
}
body.acc-payout-wizard-open {
    overflow: hidden;
}
.acc-payout-wizard.hidden { display: none; }
.acc-payout-wiz {
    width: min(580px, 100%);
    max-height: min(92dvh, 760px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-card, var(--surface-2));
    border-radius: 18px 18px 12px 12px;
    border: 1px solid var(--border);
    padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 24px 64px color-mix(in srgb, #04110f 28%, transparent);
}
.acc-payout-wiz__head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.acc-payout-wiz__close {
    justify-self: end;
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.acc-payout-wiz__close:hover {
    background: color-mix(in srgb, var(--danger, #c0392b) 10%, var(--surface-2));
    color: var(--text);
}
.acc-payout-wiz__close svg {
    width: 18px;
    height: 18px;
}
.acc-payout-wiz__back {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-height: 40px;
    padding: 6px 4px 6px 0;
    margin: 0;
    justify-self: start;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: opacity var(--dur-2) var(--ease-out);
}
.acc-payout-wiz__back:hover {
    opacity: 0.85;
}
.acc-payout-wiz__back-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.acc-payout-wiz__back-ico svg {
    width: 18px;
    height: 18px;
}
.acc-payout-wiz__back-text {
    line-height: 1.2;
}
.acc-payout-wiz__title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    justify-self: center;
    grid-column: 2;
}
.acc-payout-wiz__lead {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* —— Step 1: type picker —— */
.acc-payout-wiz__types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.ppm-type {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 68px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.ppm-type:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 6%, var(--surface));
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 10%, transparent);
}
.ppm-type:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.ppm-type__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: inherit;
}
.ppm-type__icon svg { width: 22px; height: 22px; }
.ppm-type__icon-img,
.ppm-type__icon .mood-payout-icon,
.ppm-type__icon .mood-profile-icon-img,
.ppm-type__icon .ppm-payout-type-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}
.ppm-type__icon .mood-payout-icon--svg {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ppm-type__icon .mood-payout-icon--svg svg {
    width: 28px;
    height: 28px;
}
.ppm-type--card .ppm-type__icon,
.ppm-type--sbp .ppm-type__icon,
.ppm-type--fk .ppm-type__icon,
.ppm-type--crypto .ppm-type__icon {
    background: transparent;
    color: inherit;
}
.ppm-type__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ppm-type__title { font-weight: 800; font-size: 14px; color: var(--text); }
.ppm-type__sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

#walletPayoutMethodsList.acc-payout-list {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  #walletPayoutMethodsList.acc-payout-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.acc-payout-wiz__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ppm-form { margin-bottom: 0; }
.acc-payout-wiz__body .btn-block { margin-top: 4px; }

/* Card stage */
.ppm-card-stage {
    position: relative;
    aspect-ratio: 1.586;
    max-width: 360px;
    margin: 0 auto 14px;
    padding: 18px 20px 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0d4a42 0%, #1a6b5c 45%, #0a3530 100%);
    color: #fff;
    box-shadow: 0 12px 32px color-mix(in srgb, #0d4a42 45%, transparent), 0 0 0 1px color-mix(in srgb, #fff 12%, transparent) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ppm-card-stage__shine {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 0%, color-mix(in srgb, #fff 18%, transparent), transparent 60%);
    pointer-events: none;
}
.ppm-card-stage__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.ppm-card-stage__chip {
    width: 36px;
    height: 28px;
    border-radius: 5px;
    background: linear-gradient(135deg, #d4af37, #f5e6a3 50%, #c9a227);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.ppm-card-stage__type-icon,
.ppm-sbp-sheet__type-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.ppm-card-stage__type-icon .mood-profile-icon-img,
.ppm-sbp-sheet__type-icon .mood-profile-icon-img,
.ppm-card-stage__type-icon .ppm-payout-type-icon,
.ppm-sbp-sheet__type-icon .ppm-payout-type-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}
.ppm-card-stage__brand {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    opacity: 0.92;
}
.ppm-card-field {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.ppm-card-field--number { flex: 1; margin-bottom: 8px; }
.ppm-card-field__label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
}
.ppm-card-input {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, #fff 22%, transparent) !important;
    border-radius: 8px;
    background: color-mix(in srgb, #000 28%, transparent) !important;
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-family: ui-monospace, monospace;
    outline: none;
    box-shadow: none !important;
}
.ppm-card-input::placeholder {
    color: color-mix(in srgb, #fff 52%, transparent) !important;
    letter-spacing: 0.06em;
}
.ppm-card-input:focus {
    background: color-mix(in srgb, #000 38%, transparent) !important;
    border-color: color-mix(in srgb, #fff 42%, transparent) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, #fff 22%, transparent) !important;
}
.ppm-card-input:-webkit-autofill,
.ppm-card-input:-webkit-autofill:hover,
.ppm-card-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 9999s ease-out 0s;
    -webkit-box-shadow: 0 0 0 1000px color-mix(in srgb, #0a3530 88%, #000) inset !important;
}
.ppm-card-input--sm {
    font-size: 14px;
    letter-spacing: 0.06em;
    min-height: 40px;
}
.ppm-card-input--exp {
    letter-spacing: 0.04em;
    text-align: center;
    padding-inline: 6px;
}
.ppm-card-stage__row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}
.ppm-card-field--exp {
    flex: 0 0 76px;
    width: 76px;
    min-width: 76px;
    max-width: 76px;
}
.ppm-card-field--holder {
    flex: 1 1 0;
    min-width: 0;
}
.ppm-card-stage__row .ppm-card-field {
    margin-bottom: 0;
}

/* CVV security alert */
.ppm-security-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    margin-top: 4px;
    border-radius: 12px;
    border: 2px solid var(--danger, #c0392b);
    background: color-mix(in srgb, var(--danger, #c0392b) 8%, var(--surface));
    animation: ppm-alert-pulse 2.5s ease-in-out infinite;
}
@keyframes ppm-alert-pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger, #c0392b) 0%, transparent); }
    50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger, #c0392b) 18%, transparent); }
}
.ppm-security-alert__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--danger, #c0392b);
}
.ppm-security-alert__icon svg { width: 28px; height: 28px; }
.ppm-security-alert__body { min-width: 0; }
.ppm-security-alert__title {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: var(--danger, #c0392b);
    line-height: 1.25;
    margin-bottom: 6px;
}
.ppm-security-alert__body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
}
.ppm-security-alert__body p strong { color: var(--danger, #c0392b); font-weight: 800; }

/* SBP sheet */
.ppm-sbp-sheet {
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, #21a038 35%, var(--border));
    background: #fff;
    overflow: hidden;
}
html[data-theme="dark"] .ppm-sbp-sheet {
    background: color-mix(in srgb, #21a038 8%, var(--surface));
}
.ppm-form--sbp .ppm-sbp-sheet {
    background: #fff;
}
html[data-theme="dark"] .ppm-form--sbp .ppm-sbp-sheet {
    background: var(--surface);
}
.ppm-sbp-sheet__stripe {
    height: 4px;
    background: #21a038;
}
.ppm-sbp-sheet__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
}
.ppm-sbp-sheet__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    background: #21a038;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}
.ppm-sbp-sheet__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}
.ppm-sbp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 16px 12px;
}
.ppm-sbp-field__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}
.ppm-sbp-input,
.ppm-sbp-select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--border) 90%, #64748b);
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}
html[data-theme="dark"] .ppm-sbp-input,
html[data-theme="dark"] .ppm-sbp-select {
    background: var(--surface-2);
    color: var(--text);
}
.ppm-sbp-input::placeholder {
    color: #64748b;
    opacity: 1;
}
html[data-theme="dark"] .ppm-sbp-input::placeholder {
    color: var(--text-muted);
}
.ppm-sbp-input:focus,
.ppm-sbp-select:focus {
    border-color: #21a038;
    box-shadow: 0 0 0 2px color-mix(in srgb, #21a038 20%, transparent);
}
.ppm-sbp-phone {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--border) 90%, #64748b);
    background: #fff;
    overflow: hidden;
}
html[data-theme="dark"] .ppm-sbp-phone {
    background: var(--surface-2);
}
.ppm-sbp-phone:focus-within {
    border-color: #21a038;
    box-shadow: 0 0 0 2px color-mix(in srgb, #21a038 20%, transparent);
}
.ppm-sbp-phone__prefix {
    padding: 10px 12px;
    font-weight: 800;
    font-size: 15px;
    color: #334155;
    background: #f1f5f9;
    border-right: 1px solid color-mix(in srgb, var(--border) 90%, #64748b);
}
html[data-theme="dark"] .ppm-sbp-phone__prefix {
    color: var(--text-muted);
    background: var(--surface);
}
.ppm-sbp-phone .ppm-sbp-input {
    border: none;
    border-radius: 0;
    flex: 1;
    min-width: 0;
    box-shadow: none;
    background: transparent;
}
.ppm-sbp-phone .ppm-sbp-input:focus { box-shadow: none; }
.ppm-sbp-sheet__hint {
    margin: 0;
    padding: 0 16px 14px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted);
}

/* SBP bank picker */
.ppm-bank-picker {
    position: relative;
}
.ppm-bank-picker__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border) !important;
    background: var(--surface) !important;
    color: var(--text) !important;
    font-size: 15px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: none !important;
}
.ppm-bank-picker__trigger:hover {
    border-color: color-mix(in srgb, #21a038 40%, var(--border)) !important;
}
.ppm-bank-picker--open .ppm-bank-picker__trigger {
    border-color: #21a038 !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, #21a038 20%, transparent) !important;
}
.ppm-bank-picker__trigger-mark {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}
.ppm-bank-picker__trigger-mark--empty {
    background: var(--surface-2);
    color: var(--text-muted);
}
.ppm-bank-picker__trigger-text {
    flex: 1;
    min-width: 0;
    font-weight: 600;
}
.ppm-bank-picker__chev {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    opacity: 0.55;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--dur-2) var(--ease-out);
}
.ppm-bank-picker--open .ppm-bank-picker__chev {
    transform: rotate(180deg);
}
.ppm-bank-picker__panel {
    margin-top: 8px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 12px 32px color-mix(in srgb, #04110f 14%, transparent);
}
.ppm-bank-picker__panel.hidden { display: none; }
.ppm-bank-picker__search {
    margin-bottom: 8px;
}
.ppm-bank-picker__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: min(220px, 42vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.ppm-bank-picker__opt {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.ppm-bank-picker__opt:hover {
    background: color-mix(in srgb, #21a038 8%, var(--surface-2));
}
.ppm-bank-picker__opt--selected {
    background: color-mix(in srgb, #21a038 12%, var(--surface-2));
    border-color: color-mix(in srgb, #21a038 35%, var(--border));
}
.ppm-bank-picker__opt.hidden { display: none; }
.ppm-bank-picker__mark {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}
.ppm-bank-picker__name {
    flex: 1;
    min-width: 0;
    font-weight: 600;
}
.ppm-bank-picker__check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #21a038;
}
.ppm-bank-picker__check svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* FK Wallet */
.ppm-fk-wallet {
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, #7c3aed 35%, var(--border));
    background: var(--surface);
    overflow: hidden;
}
.ppm-fk-wallet__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
}
.ppm-fk-wallet__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
}
.ppm-fk-wallet__icon svg { width: 24px; height: 24px; }
.ppm-fk-wallet__icon .mood-profile-icon-img,
.ppm-fk-wallet__icon .ppm-payout-type-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}
.ppm-fk-wallet__title {
    display: block;
    font-size: 16px;
    font-weight: 800;
}
.ppm-fk-wallet__sub {
    display: block;
    font-size: 12px;
    opacity: 0.85;
}
.ppm-fk-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 0;
}
.ppm-fk-field__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}
.ppm-fk-input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
}
.ppm-fk-input--hero {
    font-size: 22px;
    font-weight: 800;
    font-family: ui-monospace, monospace;
    letter-spacing: 0.08em;
    text-align: center;
}
.ppm-fk-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 2px color-mix(in srgb, #7c3aed 22%, transparent);
}
.ppm-fk-wallet__hint {
    margin: 0;
    padding: 10px 16px 14px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Crypto sheet — redesigned */
.ppm-crypto-sheet {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    overflow: hidden;
}
html[data-theme="dark"] .ppm-crypto-sheet {
    background: var(--surface);
}
.ppm-crypto-sheet__stripe {
    height: 3px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #8b5cf6));
}
.ppm-crypto-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 4px;
}
.ppm-crypto-steps__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--text-muted) 50%, transparent);
    flex-shrink: 0;
    transition: background var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.ppm-crypto-steps__dot--active {
    background: var(--accent);
    transform: scale(1.15);
}
.ppm-crypto-steps__line {
    flex: 0 0 24px;
    height: 2px;
    background: color-mix(in srgb, var(--border) 80%, transparent);
    border-radius: 1px;
}
.ppm-crypto-steps__label {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.ppm-crypto-step {
    padding: 8px 16px 14px;
}
.ppm-crypto-step.hidden { display: none; }

.ppm-crypto-search-wrap {
    position: relative;
    margin-bottom: 10px;
}
.ppm-crypto-search-wrap__ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}
.ppm-crypto-search-wrap__ico svg {
    width: 18px;
    height: 18px;
    display: block;
}
.ppm-crypto-search {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px 10px 38px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.ppm-crypto-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent);
}
.ppm-crypto-search::placeholder {
    color: var(--text-muted);
}

.ppm-crypto-popular {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin-bottom: 4px;
    scrollbar-width: none;
}
.ppm-crypto-popular::-webkit-scrollbar { display: none; }
.ppm-crypto-popular__chip {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.ppm-crypto-popular__chip:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.ppm-crypto-popular__chip--active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
    color: var(--accent);
}

.ppm-crypto-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: min(340px, 42vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    padding: 4px;
}
.ppm-crypto-list__empty {
    margin: 8px 4px 0;
    padding: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}
.ppm-crypto-list__empty.hidden { display: none; }
.ppm-crypto-list__opt {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.ppm-crypto-list__opt.hidden { display: none; }
.ppm-crypto-list__opt:hover {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.ppm-crypto-list__opt--selected {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}
.ppm-crypto-list__mark {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ppm-crypto-list__icon,
.ppm-crypto-list__mark .mood-payout-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}
.ppm-crypto-list__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.ppm-crypto-list__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ppm-crypto-list__ticker {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.ppm-crypto-list__sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}
.ppm-crypto-list__check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent);
}
.ppm-crypto-list__check svg {
    width: 20px;
    height: 20px;
    display: block;
}

.ppm-crypto-nets-wrap {
    margin-top: 12px;
}
.ppm-crypto-nets-wrap.hidden { display: none; }
.ppm-crypto-nets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.ppm-crypto-net-chip {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.ppm-crypto-net-chip:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.ppm-crypto-net-chip--active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    color: var(--accent);
}

.ppm-crypto-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
    background: color-mix(in srgb, var(--accent) 6%, var(--surface-2));
}
.ppm-crypto-summary__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ppm-crypto-summary__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ppm-crypto-summary__ticker {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.ppm-crypto-summary__net {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.ppm-crypto-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ppm-crypto-field--addr {
    margin-bottom: 4px;
}
.ppm-crypto-field__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}
.ppm-crypto-input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.ppm-crypto-input--addr {
    font-family: ui-monospace, monospace;
    font-size: 13px;
    word-break: break-all;
    border: none;
    background: transparent;
    padding: 10px 0;
    min-height: 48px;
}
.ppm-crypto-addr-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    padding: 0 10px 0 12px;
    transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.ppm-crypto-addr-row:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent);
}
.ppm-crypto-addr-row .ppm-crypto-input--addr {
    flex: 1;
    min-width: 0;
}
.ppm-crypto-addr-row .ppm-crypto-input--addr:focus {
    box-shadow: none;
    border-color: transparent;
}
.ppm-crypto-paste {
    flex-shrink: 0;
    align-self: center;
    padding: 6px 10px;
    border: none;
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--dur-2) var(--ease-out);
}
.ppm-crypto-paste:hover {
    background: color-mix(in srgb, var(--accent) 26%, transparent);
}
.ppm-crypto-sheet__hint {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

.acc-payout-wiz__crypto-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.acc-payout-wiz__crypto-actions .hidden { display: none; }

/* Legacy crypto picker (unused) */
.ppm-crypto-picker { display: none; }

/* Upload zones (step 3) */
.ppm-upload-zone {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.ppm-upload-zone__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.ppm-upload-zone__box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px;
    border-radius: 12px;
    border: 2px dashed var(--border);
    background: var(--surface);
    transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.ppm-upload-zone:hover .ppm-upload-zone__box,
.ppm-upload-zone--filled .ppm-upload-zone__box {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
.ppm-upload-zone__hint {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    pointer-events: none;
}
.ppm-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

#withdrawModalPayoutWrap.hidden { display: none; }
#withdrawModalPayoutEmpty { margin: 8px 0 0; font-size: 13px; color: var(--text-muted); }
#withdrawModalPayoutEmpty.hidden { display: none; }
#withdrawModalPayoutMethod {
    width: 100%;
    min-height: 44px;
}

.acc-history-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.acc-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.acc-history-table th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.acc-history-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.acc-history-table__amt { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.acc-history-table__amt--in { color: var(--accent); }
.acc-history-table__amt--out { color: var(--text); }
.acc-history-ids { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-history-ids button {
    min-height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
    color: var(--text-muted);
}
.acc-history-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
}
.acc-history-legal a { color: var(--accent); }

@media (min-width: 1024px) {
    .acc-payout-wizard {
        align-items: center;
    }
    .acc-payout-wiz {
        border-radius: 16px;
        padding: 20px 22px;
    }
    #accountModal .acc-payout-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (min-width: 480px) {
    .acc-payout-wiz__types {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .acc-payout-wizard {
        padding: 0;
        background: var(--bg);
    }
    .acc-payout-wiz {
        width: 100%;
        max-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
        border: 0;
        padding: 12px 14px calc(88px + env(safe-area-inset-bottom, 0px));
    }
    .acc-payout-wiz .btn-block,
    .acc-payout-wiz #accPayoutWizSave,
    .acc-payout-wiz #accPayoutWizSend {
        min-height: 48px;
    }
    #accountModal .acc-payout-list { grid-template-columns: 1fr; }
    .acc-history-table th:nth-child(3),
    .acc-history-table td:nth-child(3) { min-width: 140px; }
    .ppm-security-alert { padding: 12px 14px; }
    .ppm-security-alert__title { font-size: 14px; }
    .ppm-card-input { font-size: 16px; }
    .acc-payout-wiz .btn-block,
    .acc-payout-wiz #accPayoutWizSave,
    .acc-payout-wiz #accPayoutWizSend {
      position: sticky;
      bottom: env(safe-area-inset-bottom, 0);
      z-index: 2;
      margin-top: 8px;
      box-shadow: 0 -10px 28px color-mix(in srgb, var(--bg, #0f1218) 75%, transparent);
    }
  }

@media (prefers-reduced-motion: reduce) {
    .ppm-security-alert { animation: none; }
}

/* —— Payout method visual cards (list) —— */
.acc-payout-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-3);
    align-items: stretch;
}
#accountModal .acc-payout-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.ppm-method-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    min-height: 0;
}
.ppm-method-card--rf_card { --ppm-accent: #1a6b5c; }
.ppm-method-card--sbp { --ppm-accent: #21a038; }
.ppm-method-card--fk_wallet { --ppm-accent: #7c3aed; }
.ppm-method-card--crypto { --ppm-accent: #f0b90b; }
.ppm-method-card--disabled { opacity: 0.65; }
.ppm-method-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 4px;
}
.ppm-method-card__reason,
.ppm-method-card__hint {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}
.ppm-method-card__status {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 10px;
    padding: 3px 8px;
    white-space: nowrap;
}
.ppm-method-card__number {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-family: ui-monospace, monospace;
    margin: 4px 0 8px;
}
.ppm-method-card__foot { margin-top: auto; }
.ppm-method-card__meta {
    font-size: 11px;
    opacity: 0.8;
}
.ppm-card-stage--display {
    width: 100%;
    max-width: 100%;
    margin: 0;
    aspect-ratio: 1.586;
}
.ppm-card-stage--display.ppm-card-stage--compact {
    max-width: 280px;
    margin: 0 auto;
    padding: 14px 16px 12px;
}
.ppm-card-stage--display .ppm-method-card__number {
    font-size: 18px;
}
.ppm-sbp-sheet--display,
.ppm-fk-wallet--display,
.ppm-crypto-sheet--display {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.ppm-sbp-sheet--display .ppm-sbp-sheet__head,
.ppm-fk-wallet--display .ppm-fk-wallet__head,
.ppm-crypto-sheet--display .ppm-crypto-sheet__head {
    justify-content: space-between;
}
.ppm-method-card > .ppm-card-stage--display,
.ppm-method-card > .ppm-sbp-sheet--display,
.ppm-method-card > .ppm-fk-wallet--display,
.ppm-method-card > .ppm-crypto-sheet--display {
    flex: 1 1 auto;
}
.acc-payout-list > .ppm-method-card {
    height: 100%;
}
.ppm-method-card__sbp-phone {
    padding: 0 16px 4px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.ppm-method-card__sbp-bank {
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.ppm-method-card__sbp-sub {
    padding: 8px 16px 14px;
    font-size: 11px;
    color: var(--text-muted);
}
.ppm-method-card__fk-num {
    padding: 8px 16px 16px;
    font-size: 22px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}
.ppm-crypto-sheet--display {
    border: 1px solid color-mix(in srgb, #f0b90b 35%, var(--border));
    background: color-mix(in srgb, #f0b90b 6%, var(--surface));
    overflow: hidden;
}
html[data-theme="dark"] .ppm-crypto-sheet--display {
    background: color-mix(in srgb, #f0b90b 8%, var(--surface));
}
.ppm-crypto-sheet--display .ppm-crypto-sheet__stripe {
    height: 4px;
    background: linear-gradient(90deg, #f0b90b, #fcd535);
}
.ppm-crypto-sheet--display .ppm-crypto-sheet__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
    background: linear-gradient(135deg, #1a1608 0%, #2d2610 45%, #0f1419 100%);
    color: #fff;
}
.ppm-crypto-sheet--display .ppm-crypto-sheet__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
.ppm-crypto-sheet--display .ppm-crypto-sheet__title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}
.ppm-crypto-sheet--display .ppm-crypto-sheet__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 12px;
}
.ppm-method-card__crypto-pair {
    padding: 10px 16px 4px;
    font-size: 12px;
    font-weight: 800;
    color: #f0b90b;
}
.ppm-method-card__crypto-addr {
    padding: 0 16px 4px;
    font-size: 13px;
    font-weight: 700;
    word-break: break-all;
    font-family: ui-monospace, monospace;
    line-height: 1.35;
    color: var(--text);
}
.ppm-crypto-sheet--display .ppm-crypto-sheet__hint--display {
    margin: auto 0 0;
    padding: 8px 16px 0;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-muted);
}
.ppm-crypto-sheet--display .ppm-crypto-sheet__icon-img,
.ppm-crypto-sheet--display .ppm-crypto-sheet__icon .mood-payout-icon,
.ppm-crypto-sheet--display .ppm-crypto-sheet__icon .mood-profile-icon-img,
.ppm-crypto-sheet--display .ppm-crypto-sheet__icon .ppm-payout-type-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}
.ppm-method-card__fallback {
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}
.ppm-method-visual {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--ppm-accent, var(--accent)) 6%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--ppm-accent, var(--border)) 22%, var(--border));
}
.ppm-method-visual__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ppm-method-visual__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: 0;
    overflow: visible;
}
.ppm-method-visual__img,
.ppm-method-visual__icon .mood-payout-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}
.ppm-method-visual__icon .mood-payout-icon--svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.ppm-method-visual__icon .mood-payout-icon--svg svg {
    width: 28px;
    height: 28px;
}
.ppm-method-visual__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}
.ppm-method-visual__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
}
.ppm-method-visual__sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.ppm-method-visual__head .ppm-method-card__status {
    margin-left: 0;
    align-self: flex-start;
    flex-shrink: 0;
    font-size: 10px;
    padding: 3px 8px;
    white-space: nowrap;
}
.ppm-method-visual__mask {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
    word-break: break-word;
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, monospace;
    letter-spacing: 0.02em;
}
.ppm-method-visual--crypto .ppm-method-visual__mask {
    font-size: 13px;
    letter-spacing: 0;
}
.ppm-method-visual--compact {
    padding: 10px;
    gap: 8px;
}
.ppm-method-visual--compact .ppm-method-visual__icon {
    width: 40px;
    height: 40px;
}
.ppm-method-visual--compact .ppm-method-visual__img,
.ppm-method-visual--compact .ppm-method-visual__icon .mood-payout-icon {
    width: 32px;
    height: 32px;
}
.ppm-method-visual--compact .ppm-method-visual__mask {
    font-size: 14px;
}
.verif-payout-card.ppm-method-card {
    padding: var(--space-4);
    margin-bottom: var(--space-3);
}

/* —— Documents tab —— */
.acc-documents { display: flex; flex-direction: column; gap: var(--space-4); }
.acc-documents__section {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
}
.acc-documents__heading {
    margin: 0 0 6px;
    font-size: 16px;
}
.acc-documents__sub {
    margin: 0 0 var(--space-3);
    font-size: 13px;
    color: var(--text-muted);
}
.acc-documents__empty { margin: 0 0 var(--space-3); }
.ppm-doc-group {
    margin-bottom: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border);
}
.ppm-doc-group:first-of-type { border-top: none; padding-top: 0; }
.ppm-doc-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.ppm-doc-group__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}
.ppm-doc-group__reason {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--danger, #c0392b);
}
.acc-doc-uploads {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}
.acc-doc-uploads__title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}
.acc-doc-upload-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
}
.acc-doc-upload-row__label {
    font-size: 13px;
    flex: 1;
}

.withdraw-payout-card--row .ppm-method-card__status {
  display: none;
}
