:root {
    --bg-0: #060b12;
    --bg-1: #101925;
    --bg-2: #d6a85c;
    --panel: rgba(8, 15, 24, 0.76);
    --panel-strong: rgba(10, 17, 27, 0.94);
    --line: rgba(214, 168, 92, 0.24);
    --text: #f4f1ea;
    --muted: rgba(218, 222, 226, 0.72);
    --soft: rgba(214, 168, 92, 0.10);
    --gold: #d6a85c;
    --amber: #f0d28a;
    --glow: 0 18px 50px rgba(214, 168, 92, 0.18);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --safe-top: max(22px, env(safe-area-inset-top));
    --safe-bottom: max(22px, env(safe-area-inset-bottom));
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    overscroll-behavior: none;
    touch-action: manipulation;
}

body {
    margin: 0;
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -8%, rgba(214, 168, 92, 0.22), transparent 28%),
        radial-gradient(circle at 100% 12%, rgba(77, 105, 132, 0.18), transparent 24%),
        radial-gradient(circle at 0% 100%, rgba(214, 168, 92, 0.12), transparent 26%),
        linear-gradient(180deg, #111923 0%, #07101a 48%, #04080e 100%);
    -webkit-tap-highlight-color: transparent;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 8, 14, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.loading-overlay[hidden] {
    display: none;
}

.loading-overlay__card {
    width: min(100%, 320px);
    padding: 28px 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--panel-strong);
    box-shadow: var(--glow);
    text-align: center;
}

.loading-overlay__spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 999px;
    border: 4px solid rgba(255, 255, 255, 0.16);
    border-top-color: var(--gold);
    animation: webappSpin .9s linear infinite;
}

.loading-overlay__text {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.loading-overlay__hint {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

.loading-overlay__spinner.is-hidden {
    display: none;
}

@keyframes webappSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

button,
a {
    font: inherit;
    color: inherit;
}

.shell {
    width: min(100%, 460px);
    margin: 0 auto;
    padding: var(--safe-top) 18px calc(112px + var(--safe-bottom));
}

.screen {
    display: none;
    animation: fadeIn .28s ease;
}

.screen.is-active {
    display: block;
}

.screen > * + * {
    margin-top: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero,
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-head {
    display: block;
    margin-bottom: 16px;
}

.section-head h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1;
}

.section-head p {
    margin: 10px 0 0;
    width: 100%;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.brand-pill,
.telegram-pill,
.glass-card,
.primary-banner,
.bottom-nav {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glow);
}

.brand-pill {
    flex: 1;
    min-height: 68px;
    padding: 12px 18px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 800;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
}

.telegram-pill {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    color: var(--text);
    display: grid;
    place-items: center;
    font-size: 28px;
    cursor: pointer;
}

.glass-card {
    border-radius: var(--radius-lg);
}

.summary-card,
.traffic-card {
    padding: 18px;
}

.summary-card {
    display: grid;
    grid-template-columns: 52px 1fr 36px;
    gap: 14px;
    align-items: center;
}

.summary-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff0bd, #b9782f);
    color: #111923;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 900;
}

.summary-card__content strong {
    display: block;
    font-size: 16px;
}

.summary-card__content span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.ghost-arrow {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.traffic-card__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
}

.traffic-bar {
    height: 12px;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    overflow: hidden;
}

.traffic-bar span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), var(--amber));
    transition: width .28s ease;
}

.primary-banner,
.action-button {
    min-height: 62px;
    width: 100%;
    border-radius: 22px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 800;
    cursor: pointer;
}

.home-actions {
    display: grid;
    gap: 12px;
}

.primary-banner {
    width: 100%;
    border: 0;
    background: linear-gradient(90deg, rgba(183, 120, 47, 0.96), rgba(240, 210, 138, 0.92));
    color: #07101a;
}

.home-connect-btn {
    min-height: 88px;
    margin-top: 26px;
    border-radius: 24px;
    font-size: 20px;
    box-shadow: 0 24px 56px rgba(214, 168, 92, 0.26);
}

.apps-grid,
.stats-grid {
    display: grid;
    gap: 12px;
}

.app-spotlight {
    padding: 18px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 14px;
    align-items: center;
}

.app-spotlight__icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    object-fit: cover;
}

.app-spotlight__copy strong {
    display: block;
    font-size: 18px;
}

.app-spotlight__copy span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.action-stack {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.tariff-grid,
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tariff-button {
    min-height: 76px;
    border: 0;
    border-radius: 22px;
    background: rgba(255,255,255,0.12);
    color: var(--text);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    font-weight: 800;
    cursor: pointer;
}

.tariff-button strong {
    font-size: 16px;
}

.tariff-button span {
    color: var(--muted);
    font-size: 12px;
}

#installActions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#installActions #connectBtn {
    grid-column: 1 / -1;
}

.action-button {
    border: 0;
}

.action-button--gradient {
    background: linear-gradient(90deg, rgba(183, 120, 47, 0.96), rgba(240, 210, 138, 0.92));
    color: #07101a;
}

.action-button--solid {
    background: rgba(255,255,255,0.12);
}

.action-button--ghost {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
}

.action-button--logout {
    margin-top: 14px;
    border: 1px solid rgba(255, 112, 112, 0.34);
    background: rgba(255, 112, 112, 0.1);
    color: #ffd7d7;
    font-weight: 600;
}

.payment-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.payment-consent input {
    margin: 2px 0 0;
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

.manual-card,
.profile-facts,
.premium-status {
    padding: 18px;
}

.manual-card p {
    margin: 8px 0 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.copy-block {
    margin: 14px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(0,0,0,0.24);
    color: #f5f0ff;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}

.feature-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.fact-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    color: var(--muted);
    font-size: 13px;
}

.fact-row strong {
    color: var(--text);
    text-align: right;
}

.stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
    padding: 18px;
}

.stat-card span,
.stat-card small,
.mini-list {
    color: var(--muted);
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
}

.stat-card small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
}

.mini-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mini-list__item {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
}

.mini-list__item strong {
    display: block;
    color: var(--text);
}

.mini-list__item span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.screen[data-screen="profile"] .glass-card {
    padding: 18px;
}

.screen[data-screen="profile"] .stat-card,
.screen[data-screen="profile"] .profile-facts {
    padding: 18px;
}

.premium-status strong {
    display: block;
    font-size: 16px;
}

.premium-status span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-line;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(calc(100% - 28px), 430px);
    padding: 8px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    z-index: 20;
}

.bottom-nav:has(.admin-nav-item:not([hidden])) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bottom-nav__item {
    position: relative;
    min-height: 64px;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    cursor: pointer;
}

.bottom-nav__item span {
    font-size: 18px;
}

.bottom-nav__item small {
    font-size: 11px;
}

.bottom-nav__item.is-active {
    color: var(--text);
}

.bottom-nav__item.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--amber));
    transform: translateX(-50%);
}

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

.admin-tab {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    color: var(--muted);
    font-weight: 800;
}

.admin-tab.is-active {
    background: rgba(255,255,255,0.14);
    color: var(--text);
}

.admin-panel {
    display: none;
}

.admin-panel.is-active {
    display: block;
}

.admin-card {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.admin-filters {
    display: grid;
    gap: 10px;
}

.admin-filters input,
.admin-filters select,
.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.admin-filters select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background:
        linear-gradient(45deg, transparent 50%, var(--amber) 50%) calc(100% - 22px) 21px / 7px 7px no-repeat,
        linear-gradient(135deg, var(--amber) 50%, transparent 50%) calc(100% - 16px) 21px / 7px 7px no-repeat,
        linear-gradient(180deg, rgba(214, 168, 92, 0.13), rgba(255,255,255,0.05));
    border-color: rgba(214, 168, 92, 0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    cursor: pointer;
}

.admin-filters select:focus,
.admin-filters select:hover {
    border-color: rgba(240, 210, 138, 0.46);
    background:
        linear-gradient(45deg, transparent 50%, var(--amber) 50%) calc(100% - 22px) 21px / 7px 7px no-repeat,
        linear-gradient(135deg, var(--amber) 50%, transparent 50%) calc(100% - 16px) 21px / 7px 7px no-repeat,
        linear-gradient(180deg, rgba(214, 168, 92, 0.18), rgba(255,255,255,0.07));
    box-shadow: 0 0 0 3px rgba(214, 168, 92, 0.10);
}

.admin-filters select option {
    background: #101925;
    color: var(--text);
}

.form-field textarea {
    min-height: 120px;
    padding: 14px;
    resize: vertical;
}

.form-field {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

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

.admin-user-actions button {
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    color: var(--text);
    font-weight: 400;
}

.admin-user-actions__button--grant {
    background: rgba(35, 199, 116, 0.24);
    color: #bdf8d5;
}

.admin-user-actions__button--revoke {
    background: rgba(151, 52, 52, 0.24);
    color: #f2c3bd;
}

.admin-user {
    border: 1px solid rgba(255,255,255,0.10);
}

.admin-user--active {
    border-color: rgba(35, 199, 116, 0.42);
    background: rgba(35, 199, 116, 0.12);
}

.admin-user--ending {
    border-color: rgba(255, 178, 56, 0.48);
    background: rgba(255, 178, 56, 0.14);
}

.admin-user--expired {
    border-color: rgba(151, 52, 52, 0.44);
    background: rgba(151, 52, 52, 0.14);
}

.admin-user--none {
    border-color: rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
}

.action-popup {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: grid;
    place-items: center;
    padding: 18px;
}

.action-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 12, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.action-popup__card {
    position: relative;
    width: min(100%, 380px);
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(8, 15, 24, 0.98);
    box-shadow: 0 24px 56px rgba(3, 7, 12, 0.48);
}

.action-popup__card strong {
    font-size: 18px;
    line-height: 1.25;
}

.action-popup__card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.action-popup__buttons {
    display: grid;
    gap: 8px;
}

.action-popup__button {
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.10);
    color: var(--text);
    font: inherit;
    font-weight: 400;
}

.action-popup__button--danger {
    background: rgba(151, 52, 52, 0.24);
    color: #f2c3bd;
}

.site-auth {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
    background: radial-gradient(circle at 50% 0%, rgba(214, 168, 92, 0.22), transparent 34%), var(--bg-0);
}

.site-auth__card {
    width: min(100%, 410px);
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(8, 15, 24, 0.95);
    box-shadow: var(--glow);
}

.site-auth__brand {
    width: fit-content;
    justify-self: center;
}

.site-auth__card h1 {
    margin: 4px 0 0;
    font-size: 28px;
    line-height: 1.15;
}

.site-auth__message {
    min-height: 20px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.site-auth__form {
    display: grid;
    gap: 10px;
}

.site-auth__form[hidden] {
    display: none;
}

.site-auth__form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.site-auth__switch {
    min-height: 44px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.site-auth__switch:hover {
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.11);
}

.site-auth__switch[hidden] {
    display: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(104px + env(safe-area-inset-bottom));
    transform: translateX(-50%) translateY(20px);
    width: min(calc(100% - 28px), 390px);
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(8, 15, 24, 0.96);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.14);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 30;
}

.toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 390px) {
    .section-head h1 {
        font-size: 30px;
    }

    .brand-pill {
        font-size: 15px;
    }
}


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

.consent-modal[hidden] {
    display: none;
}

.consent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 12, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.consent-modal__card {
    position: relative;
    width: min(100%, 420px);
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(8, 15, 24, 0.96);
    box-shadow: 0 24px 56px rgba(3, 7, 12, 0.48);
}

.consent-modal__card h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
}

.consent-modal__card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.consent-modal__links {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.consent-modal__links a {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    font-weight: 700;
}

.consent-modal__actions {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}


.payment-history-card {
    padding: 18px;
}

.payment-history-list {
    margin-top: 14px;
}

.payment-history-list .mini-list__item {
    display: grid;
    gap: 8px;
}

.payment-history-list__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.payment-history-list__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    flex-wrap: wrap;
}


.withdraw-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.form-field input:focus {
    border-color: rgba(255,255,255,0.32);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}



.bank-picker {
    position: relative;
    display: grid;
    gap: 8px;
}

.bank-picker__button,
.bank-picker__input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    text-align: left;
    outline: none;
}

.bank-picker__button {
    position: relative;
    cursor: pointer;
    font-weight: 700;
}

.bank-picker__button::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid rgba(255,255,255,0.70);
    border-bottom: 2px solid rgba(255,255,255,0.70);
    transform: translateY(-60%) rotate(45deg);
    transition: transform .18s ease;
}

.bank-picker.is-open .bank-picker__button::after {
    transform: translateY(-35%) rotate(225deg);
}

.bank-picker__button:focus,
.bank-picker__input:focus {
    border-color: rgba(255,255,255,0.32);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.bank-picker__panel {
    display: grid;
    gap: 8px;
}

.bank-picker__panel[hidden] {
    display: none;
}

.bank-picker__list {
    display: grid;
    gap: 6px;
    max-height: 220px;
    overflow: auto;
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
}

.bank-picker__option {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.bank-picker__option:active,
.bank-picker__option:hover {
    background: rgba(255,255,255,0.13);
}

.bank-picker__empty {
    padding: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.withdraw-form__note {
    min-height: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.withdraw-modal .consent-modal__card {
    max-height: calc(100vh - 36px);
    overflow: auto;
}


.withdrawal-history-card {
    padding: 18px;
}

.withdrawal-history-list {
    margin-top: 14px;
}

.withdrawal-history-list__item {
    display: grid;
    gap: 8px;
}

.withdrawal-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
    background: rgba(255,255,255,0.10);
}

.withdrawal-status--paid {
    background: rgba(50, 214, 126, 0.22);
    color: #c7f0d4;
}

.withdrawal-status--failed {
    background: rgba(151, 52, 52, 0.24);
    color: #f2c3bd;
}

.withdrawal-status--pending,
.withdrawal-status--processing {
    background: rgba(255, 194, 87, 0.20);
    color: #ffd99a;
}

.withdrawal-history-list__error {
    color: #f2c3bd;
    font-size: 12px;
    line-height: 1.4;
}
