﻿.deposit-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.deposit-layout .site-header,
.deposit-layout .footer-box {
    flex-shrink: 0;
}

.deposit-page {
    width: 100%;
    flex: 1 1 auto;
    padding: 28px max(40px, calc((100% - 1700px) / 2)) 48px;
    background: #070611;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    box-sizing: border-box;
}

.deposit-pc {
    width: 100%;
    max-width: 1700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

.deposit-nav,
.deposit-main,
.deposit-footer {
    display: none;
}

.deposit-breadcrumb {
    height: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.deposit-breadcrumb-link {
    color: #F12B9E;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
}

.deposit-breadcrumb-sep {
    color: #665E78;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.deposit-breadcrumb-current {
    color: #ADA3BD;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.deposit-head {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.deposit-eyebrow {
    color: #F12B9E;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
}

.deposit-title {
    margin: 0;
    color: white;
    font-size: calc(42px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 48px;
}

.deposit-subtitle {
    color: #ADA3BD;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 20px;
}

.deposit-hero {
    align-self: stretch;
    padding: 32px;
    background: linear-gradient(90deg, #381433 0%, #141429 52%, #121C3B 100%);
    border-radius: 30px;
    outline: 1px rgba(255, 255, 255, 0.13) solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
}

.deposit-hero-badge {
    padding: 8px 12px;
    background: #F12B9E;
    border-radius: 99px;
    color: white;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
}

.deposit-hero-title {
    color: white;
    font-size: calc(30px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 36px;
}

.deposit-hero-desc {
    color: #B8B0C7;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 20px;
}

.deposit-section {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.deposit-section--packages {
    gap: 20px;
}

.deposit-section--submit {
    align-items: center;
}

.deposit-section-head {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.deposit-section-title {
    margin: 0;
    color: white;
    font-size: calc(28px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 34px;
}

.deposit-buy-vip {
    padding: 14px 24px;
    background: #F12B9E;
    border: none;
    border-radius: 99px;
    color: white;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.deposit-buy-vip:hover {
    filter: brightness(1.05);
}

.deposit-pc-submit {
    min-width: 200px;
    height: 52px;
    padding: 0 36px;
    background: #F12B9E;
    border: none;
    border-radius: 99px;
    color: white;
    font-size: calc(16px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
}

.deposit-pc-submit:disabled,
.deposit-pc-submit.is-loading,
.deposit-mobile-submit:disabled,
.deposit-mobile-submit.is-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.deposit-pay-methods {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

.deposit-pay-btn {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    border-radius: 99px;
    outline: 1px rgba(255, 255, 255, 0.12) solid;
    outline-offset: -1px;
    color: #C2BACC;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
    cursor: pointer;
}

.deposit-pay-btn--active {
    background: #F12B9E;
    outline: none;
    color: white;
}

.deposit-package-group {
    width: 100%;
    padding: 20px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
}

.deposit-package-group--vip {
    background: rgba(241, 43, 158, 0.05);
    outline: 1px rgba(241, 43, 158, 0.20) solid;
    outline-offset: -1px;
}

.deposit-package-group--coin {
    background: rgba(255, 191, 71, 0.05);
    outline: 1px rgba(255, 191, 71, 0.20) solid;
    outline-offset: -1px;
}

.deposit-package-group-head {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.deposit-package-group-icon {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    flex-shrink: 0;
}

.deposit-package-group-icon--vip {
    background: rgba(241, 43, 158, 0.12);
    color: #FF6BBD;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    line-height: 18px;
}

.deposit-package-group-icon--coin {
    background: rgba(255, 191, 71, 0.12);
    color: #FFD157;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    line-height: 20px;
}

.deposit-package-group-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.deposit-package-group-title {
    color: white;
    font-size: calc(16px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 22px;
}

.deposit-package-group-desc {
    color: #9E96AD;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.deposit-package-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 48px;
    align-items: stretch;
}

.deposit-package-empty {
    grid-column: 1 / -1;
    width: 100%;
    padding: 20px 12px;
    color: #8B839A;
    font-size: calc(13px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    line-height: 20px;
    text-align: center;
    box-sizing: border-box;
}

.deposit-package {
    width: 100%;
    height: 128px;
    min-height: 128px;
    padding: 16px;
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 20px;
    outline: 1px rgba(255, 255, 255, 0.10) solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    box-sizing: border-box;
    text-align: left;
    cursor: pointer;
}

.deposit-package--active {
    background: rgba(241, 43, 158, 0.15);
    outline-color: #F12B9E;
}

.deposit-package-price {
    color: white;
    font-size: calc(24px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 30px;
}

.deposit-package-original {
    display: none;
    color: #A69EB2;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 16px;
    text-decoration: line-through;
}

.deposit-package-name {
    color: white;
    font-size: calc(18px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 24px;
}

.deposit-package-hint {
    color: #A69EB2;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.deposit-package-check {
    display: none;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 16px;
    top: 12px;
    background: #F12B9E;
    border-radius: 12px;
    color: white;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 0 0 1px;
}

.deposit-package--active .deposit-package-check {
    display: inline-flex;
}

.deposit-tx-list {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    outline: 1px rgba(255, 255, 255, 0.10) solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.deposit-tx-item {
    width: 100%;
    min-height: 64px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
}

.deposit-tx-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.deposit-tx-name {
    color: #F5F2FA;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 20px;
}

.deposit-tx-time {
    color: #80788F;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.deposit-tx-amount {
    font-size: calc(16px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 22px;
    flex-shrink: 0;
}

.deposit-tx-amount--plus {
    color: #61DBA1;
}

.deposit-tx-amount--minus {
    color: #FF7580;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .deposit-package-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deposit-title {
        font-size: calc(34px + var(--pc-font-boost, 0px));
        line-height: 40px;
    }

    .deposit-hero-title {
        font-size: calc(24px + var(--pc-font-boost, 0px));
        line-height: 30px;
    }

    .deposit-section-title {
        font-size: calc(22px + var(--pc-font-boost, 0px));
        line-height: 28px;
    }
}

@media (max-width: 767px) {
    body.is-deposit-page {
        background: #07060D;
    }

    body.is-deposit-page .site-header,
    body.is-deposit-page .footer-box,
    body.is-deposit-page .floating-action,
    body.is-deposit-page .download-fab {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .deposit-layout {
        min-height: 100vh;
        background: #07060D;
    }

    .deposit-page {
        padding: 0;
        padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
        background: #07060D;
        align-items: stretch;
        gap: 0;
        min-height: 100vh;
    }

    .deposit-pc {
        display: none;
    }

    .deposit-nav {
        position: sticky;
        top: 0;
        z-index: 40;
        width: 100%;
        height: 48px;
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        flex-shrink: 0;
        background: #07060D;
    }

    .deposit-nav-back {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .deposit-nav-back img {
        width: 24px;
        height: 24px;
        display: block;
    }

    .deposit-nav-title {
        margin: 0;
        flex: 1 1 0;
        height: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-size: calc(16px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 22px;
    }

    .deposit-nav-spacer {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .deposit-main {
        display: flex;
        width: calc(100% - 32px);
        max-width: 343px;
        margin: 0 auto;
        padding: 12px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        box-sizing: border-box;
    }

    .deposit-mobile-wallet {
        width: 100%;
        min-height: 98px;
        padding: 14px 16px;
        background: #2E1230;
        border-radius: 18px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        box-sizing: border-box;
    }

    .deposit-mobile-wallet-label {
        color: #F12B9E;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 18px;
    }

    .deposit-mobile-wallet-balance {
        color: #fff;
        font-size: calc(20px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 26px;
    }

    .deposit-mobile-wallet-meta {
        color: #A8A1B8;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
    }

    .deposit-mobile-section-title {
        color: #fff;
        font-size: calc(16px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 22px;
    }

    .deposit-mobile-row {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 8px;
    }

    .deposit-mobile-pkg {
        flex: 0 0 calc((100% - 16px) / 3);
        width: calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
        min-width: 0;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
        font: inherit;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .deposit-mobile-row > .deposit-package-empty {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }

    .deposit-mobile-pkg--vip {
        min-height: 112px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        outline: 1px solid transparent;
        outline-offset: -1px;
    }

    .deposit-mobile-pkg--vip.deposit-mobile-pkg--active {
        background: rgba(241, 43, 158, 0.16);
        outline-color: #F12B9E;
    }

    .deposit-mobile-pkg--coin {
        height: auto;
        min-height: 86px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 4px;
        outline: 1px solid transparent;
        outline-offset: -1px;
    }

    .deposit-mobile-pkg--coin.deposit-mobile-pkg--active {
        background: rgba(241, 43, 158, 0.16);
        outline-color: #F12B9E;
    }

    .deposit-mobile-pkg-name {
        color: #fff;
        font-size: calc(14px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 20px;
    }

    .deposit-mobile-pkg-price {
        color: #fff;
        font-size: calc(20px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 26px;
    }

    .deposit-mobile-pkg-price--coin {
        color: #FFD157;
        font-size: calc(16px + var(--pc-font-boost, 0px));
        line-height: 22px;
    }

    .deposit-mobile-pkg-original {
        display: none;
        color: #9E96AD;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 16px;
        text-decoration: line-through;
    }

    .deposit-mobile-pkg-hint {
        color: #9E96AD;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
        width: 100%;
        text-align: left;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        word-break: break-word;
    }

    .deposit-mobile-pay-methods {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }

    .deposit-mobile-pay {
        min-width: 72px;
        height: 42px;
        padding: 0 16px;
        background: rgba(255, 255, 255, 0.06);
        border: none;
        border-radius: 21px;
        color: #B8B0C7;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 18px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

    .deposit-mobile-pay--active {
        min-width: 88px;
        background: #F12B9E;
        color: #fff;
    }

    .deposit-mobile-pay--active {
        min-width: 88px;
        background: #F12B9E;
        color: #fff;
    }

    .deposit-mobile-tx {
        width: 100%;
        padding: 4px 0;
        background: #13111C;
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .deposit-mobile-tx-item {
        width: 100%;
        min-height: 64px;
        padding: 12px 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
    }

    .deposit-mobile-tx-item + .deposit-mobile-tx-item {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .deposit-mobile-tx-info {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .deposit-mobile-tx-name {
        color: #FAF7FF;
        font-size: calc(14px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 20px;
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .deposit-mobile-tx-time {
        color: #9E94AD;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
    }

    .deposit-mobile-tx-amount {
        flex-shrink: 0;
        font-size: calc(14px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 20px;
    }

    .deposit-mobile-tx .deposit-package-empty {
        padding: 20px 14px;
        text-align: center;
        color: #9E94AD;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
    }

    .deposit-mobile-tx .deposit-tx-amount--plus,
    .deposit-mobile-tx-amount.deposit-tx-amount--plus {
        color: #61DBA1;
    }

    .deposit-mobile-tx .deposit-tx-amount--minus,
    .deposit-mobile-tx-amount.deposit-tx-amount--minus {
        color: #FF7580;
    }

    .deposit-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        width: 100%;
        padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        background: #0A0912;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        box-sizing: border-box;
    }

    .deposit-mobile-submit {
        width: 100%;
        max-width: 343px;
        height: 50px;
        background: #F12B9E;
        border: none;
        border-radius: 14px;
        color: #fff;
        font-size: calc(16px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 22px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-sizing: border-box;
    }

    .deposit-mobile-agree {
        width: 100%;
        max-width: 343px;
        text-align: center;
        color: #7A738A;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
    }

    .deposit-mobile-agree a {
        color: #7A738A;
        text-decoration: none;
    }
}
