.deposit-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0A0A0A;
}

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

.deposit-page {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    padding: 36px 0;
    background: #0A0A0A;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.deposit-pc {
    width: 964px;
    max-width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

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

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

.deposit-breadcrumb-link {
    color: #FADC44;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
}

.deposit-breadcrumb-sep {
    color: #666666;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.deposit-breadcrumb-current {
    color: #A3A3A3;
    font-size: 12px;
    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: #FADC44;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
}

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

.deposit-subtitle {
    color: #A3A3A3;
    font-size: 14px;
    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;
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
}

.deposit-hero-badge {
    padding: 8px 12px;
    background: #FADC44;
    border-radius: 99px;
    color: #181818;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
}

.deposit-hero-title {
    color: white;
    font-size: 30px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 36px;
}

.deposit-hero-desc {
    color: #8B5CF6;
    font-size: 14px;
    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;
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.deposit-pc-submit {
    min-width: 160px;
    height: 48px;
    padding: 0 28px;
    background: #FADC44;
    border: none;
    border-radius: 99px;
    color: #181818;
    font-size: 16px;
    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.05);
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #808080;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
    cursor: pointer;
}

.deposit-pay-btn--active {
    background: #FADC44;
    border: none;
    color: #181818;
}

.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(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.20);
    scroll-margin-top: 24px;
}

.deposit-package-group--coin {
    background: rgba(245, 158, 11, 0.10);
    border: 1px solid rgba(245, 158, 11, 0.10);
}

.deposit-package-group-head {
    width: 100%;
    height: 40px;
    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;
    overflow: hidden;
}

.deposit-package-group-icon--vip {
    background: #FADC44;
    color: #181818;
    font-size: 12px;
    line-height: 18px;
}

.deposit-package-group-icon--coin {
    background: transparent;
    padding: 0;
}

.deposit-package-group-icon--coin img {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
}

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

.deposit-package-group-title {
    color: white;
    font-size: 16px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 22px;
}

.deposit-package-group-desc {
    color: #8A8A8A;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

.deposit-package-row {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.deposit-package-empty {
    width: 100%;
    padding: 20px 12px;
    color: #A3A3A3;
    font-size: 13px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    line-height: 20px;
    text-align: center;
    box-sizing: border-box;
}

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

.deposit-package-group--coin .deposit-package {
    border-color: rgba(255, 255, 255, 0.05);
}

.deposit-package--active {
    border-color: #FADC44;
}

.deposit-package-price {
    color: white;
    font-size: 24px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 30px;
}

.deposit-package-group--coin .deposit-package-price,
.deposit-package-group--coin .deposit-package-name {
    color: #F5F5F5;
}

.deposit-package-original {
    display: none;
    color: #A3A3A3;
    font-size: 12px;
    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: 18px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 24px;
}

.deposit-package-hint {
    color: #A3A3A3;
    font-size: 12px;
    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: 12px;
    top: 16px;
    background: #FADC44;
    border-radius: 12px;
    color: #181818;
    font-size: 12px;
    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;
}

.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;
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.deposit-tx-item {
    width: 100%;
    height: 64px;
    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: #F5F5F5;
    font-size: 14px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 20px;
}

.deposit-tx-time {
    color: #8A8A8A;
    font-size: 12px;
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 18px;
}

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

.deposit-tx-amount--plus {
    color: #10B981;
}

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

@media (max-width: 767px) {
    body.is-deposit-page {
        background: #0A0A0A;
        padding-bottom: 0;
    }

    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: #0A0A0A;
    }

    .deposit-page {
        padding: 0;
        padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
        background: #0A0A0A;
        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: #181818;
        overflow: hidden;
    }

    .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;
        opacity: 0.65;
        filter: brightness(0) invert(1);
    }

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

    .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;
        overflow: hidden;
    }

    .deposit-mobile-wallet {
        width: 100%;
        height: 98px;
        min-height: 98px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        box-sizing: border-box;
    }

    .deposit-mobile-wallet-label {
        color: #FADC44;
        font-size: 12px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 18px;
    }

    .deposit-mobile-wallet-balance {
        color: #fff;
        font-size: 20px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 26px;
    }

    .deposit-mobile-wallet-meta {
        color: rgba(255, 255, 255, 0.60);
        font-size: 12px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
    }

    .deposit-mobile-section-title {
        color: #fff;
        font-size: 16px;
        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;
        overflow: visible;
    }

    .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;
        color: rgba(255, 255, 255, 0.50);
    }

    .deposit-mobile-pkg--vip {
        height: auto;
        min-height: 112px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        overflow: visible;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
    }

    .deposit-mobile-pkg--vip.deposit-mobile-pkg--active {
        background: rgba(250, 220, 68, 0.12);
        border: 1.5px solid rgba(250, 220, 68, 0.70);
    }

    .deposit-mobile-pkg--vip .deposit-mobile-pkg-name,
    .deposit-mobile-pkg--vip .deposit-mobile-pkg-price {
        color: rgba(255, 255, 255, 0.90);
    }

    .deposit-mobile-pkg--vip.deposit-mobile-pkg--active .deposit-mobile-pkg-name,
    .deposit-mobile-pkg--vip.deposit-mobile-pkg--active .deposit-mobile-pkg-price {
        color: rgba(255, 255, 255, 0.95);
    }

    .deposit-mobile-pkg--vip .deposit-mobile-pkg-hint {
        color: rgba(255, 255, 255, 0.50);
        text-align: center;
    }

    .deposit-mobile-pkg--vip.deposit-mobile-pkg--active .deposit-mobile-pkg-hint {
        color: rgba(255, 255, 255, 0.60);
    }

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

    .deposit-mobile-pkg--coin.deposit-mobile-pkg--active {
        background: rgba(250, 220, 68, 0.12);
        border: 1.5px solid rgba(250, 220, 68, 0.70);
    }

    .deposit-mobile-pkg-name {
        color: rgba(255, 255, 255, 0.90);
        font-size: 14px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 20px;
    }

    .deposit-mobile-pkg-price {
        color: rgba(255, 255, 255, 0.90);
        font-size: 20px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 26px;
    }

    .deposit-mobile-pkg-price--coin {
        color: #FADC44;
        font-size: 16px;
        line-height: 22px;
    }

    .deposit-mobile-pkg-original {
        display: none;
        color: rgba(255, 255, 255, 0.40);
        font-size: 12px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 16px;
        text-decoration: line-through;
    }

    .deposit-mobile-pkg-hint {
        color: rgba(255, 255, 255, 0.50);
        font-size: 12px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
        width: 100%;
        text-align: left;
        overflow: visible;
        display: block;
        white-space: normal;
        word-break: break-word;
    }

    .deposit-mobile-pkg--coin .deposit-mobile-pkg-hint {
        display: none;
    }

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

    .deposit-mobile-pay {
        min-width: 72px;
        height: 42px;
        padding: 0 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 21px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.60);
        font-size: 12px;
        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: #FADC44;
        border: none;
        color: #171717;
    }

    .deposit-mobile-tx {
        width: 100%;
        padding: 4px 0;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        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.10);
    }

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

    .deposit-mobile-tx-name {
        color: #F5F5F5;
        font-size: 14px;
        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: rgba(255, 255, 255, 0.50);
        font-size: 12px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
    }

    .deposit-mobile-tx-amount {
        flex-shrink: 0;
        font-size: 14px;
        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: rgba(255, 255, 255, 0.50);
        font-size: 12px;
        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: #10B981;
    }

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

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

    .deposit-mobile-submit {
        width: 100%;
        max-width: 343px;
        height: 50px;
        background: #FADC44;
        border: none;
        border-radius: 14px;
        color: #171717;
        font-size: 16px;
        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: rgba(255, 255, 255, 0.40);
        font-size: 12px;
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
    }

    .deposit-mobile-agree a {
        color: rgba(255, 255, 255, 0.40);
        text-decoration: none;
    }
}
