
.ion-tabs {
    background-color: #000;
}
.loading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.tab-button-background {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 2px 4px;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
}
.tab-button-background ion-icon {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: var(--tab-color);
    margin-bottom: 0px;
}
.tab-button-background.tab-selected ion-icon,
.tab-button-background.tab-selected .tab-name {
    color: var(--tab-color-active);
}
.tab-button-background.tab-selected {
    position: relative;
}
.tab-button-background.tab-selected::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(270deg, rgba(244, 37, 0, 0) 0%, var(--tab-color-active) 50%, rgba(244, 37, 0, 0) 100%);
}
.tab-name {
    font-size: 12px;
    height: 25px;
    color: var(--tab-color);
}

/* ================= normal tab ================= */
.main-tab-bar {
    display: flex;
    align-items: stretch;
    height: 56px;
    padding: 5px 10px 0;
    box-sizing: border-box;
    border-top: 1px solid var(--btn-border-color, var(--special-btn));
    background: linear-gradient(to bottom,
            var(--login-bg-top) 0%,
            var(--login-bg-top) 65%,
            var(--tab-selected-color) 100%);
    border-radius: 25px;
}

/* ================= floating tab ================= */
/* 安全区挂在外层 wrapper，抬起整块 pill；PWA / iOS / TG 都需要，不限 tg-host */
.floating-tabs ion-content {
    --padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
}
.floating-tab-wrapper {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    z-index: 1000;
    padding: 5px 0 env(safe-area-inset-bottom, 0px);
}
.floating-tab-wrapper .main-tab-bar {
    border-radius: 30px;
}

/* ================= gem layout ================= */
.gem-tab-layout {
    display: flex;
    justify-content: center;
}
.gem-tab-layout .tab-button-background {
    max-width: 95px;
}
.floating-tab-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    color: var(--content-color);
    background-color: var(--content-color);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

/* :root {
    --skeleton-color: rgba(243, 243, 243, 0.5);
    --skeleton-highlight: rgba(236, 236, 236, 0.5);
    --color-white: #fff;
} */
.image-wrapper[data-v-a3c4e5b6] {
    height: 250px;
    width: 100%;
    position: relative;
    color: white;
    background: #000;
    overflow: hidden;
    border-radius: 12px;
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}
.image-wrapper[data-v-a3c4e5b6]::before,
.image-wrapper[data-v-a3c4e5b6]::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    animation: moveLight-a3c4e5b6 12s infinite linear;
    background-color: rgba(24, 6, 6, 0.3);
    mix-blend-mode: screen;
    filter: blur(50px);
}
.overlay-content[data-v-a3c4e5b6] {
    position: relative;
    z-index: 2;
    height: 110%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.wrapper-title[data-v-a3c4e5b6] {
    font-size: 14px;
    margin-bottom: 5px;
    color: #e4e4e4 !important;
    z-index: 3;
}
.wrapper-value[data-v-a3c4e5b6] {
    font-size: 32px;
    font-weight: bold;
    margin: 5px 0;
    z-index: 3;
}
.wrapper-sgd[data-v-a3c4e5b6] {
    font-size: 18px;
    font-weight: 700;
    color: var(--tab-selected-color);
    z-index: 3;
}
ion-button[data-v-a3c4e5b6] {
    --background: var(--special-btn) !important;
}
.image-wrapper[data-v-a3c4e5b6]::after {
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 75%);
    animation: moveLight2-a3c4e5b6 18s infinite linear;
    filter: blur(80px);
}
@keyframes moveLight-a3c4e5b6 {
0% {
        transform: translate(0%, 0%) rotate(0deg);
}
50% {
        transform: translate(30%, -20%) rotate(180deg);
}
100% {
        transform: translate(0%, 0%) rotate(360deg);
}
}
@keyframes moveLight2-a3c4e5b6 {
0% {
        transform: translate(-20%, 30%) rotate(0deg);
}
50% {
        transform: translate(20%, -10%) rotate(180deg);
}
100% {
        transform: translate(-20%, 30%) rotate(360deg);
}
}

/* 卡片*/
.card[data-v-a3c4e5b6] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
}
.main-card[data-v-a3c4e5b6] {
    position: relative;
    cursor: pointer;
    /* margin-top: -35px; */
}
.home-footer[data-v-a3c4e5b6] {
    /* margin-top: -110px;
    position: absolute; */
    width: 100%;
    /* top: 280px; */
    /* z-index: 999; */
    padding: 0 10px;
    /* padding-top: 40px; */
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

/* Actions */
.card-actions[data-v-a3c4e5b6] {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    margin-top: 10px;
    margin-bottom: 0px;
    overflow-x: auto;
    scrollbar-width: none;
}
.card-actions[data-v-a3c4e5b6]::-webkit-scrollbar {
    display: none;
}
.action-item[data-v-a3c4e5b6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 60px;
    height: 90px;
    cursor: pointer;
    border-radius: 8px;
}
.action-item[data-v-a3c4e5b6]:hover {
    background: rgba(0, 0, 0, 0.03);
}
.action-item[data-v-a3c4e5b6]:active {
    transform: scale(0.98);
}
.icon-circle[data-v-a3c4e5b6] {
    width: 88px;
    height: 73px;
    padding: 8px 10px;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border-radius: 8px;
}
.icon-circle ion-icon[data-v-a3c4e5b6] {
    font-size: 26px;
    color: #A5A4A9 !important;
    margin-bottom: -4px;
}
.action-item span[data-v-a3c4e5b6] {
    font-size: 0.85em;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bill-section[data-v-a3c4e5b6] {
    padding: 0;
}
.bill-section ion-button[data-v-a3c4e5b6] {
    --border-width: 1px;
    --border-style: solid;
    --border-color: var(--btn-border-color, transparent);
}
.bill-item[data-v-a3c4e5b6] {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background: var(--item-color);
    padding: 12px 6px;
    padding-right: 8px;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border-radius: 16px;
    transition: background-color 0.2s ease;
    border: 1px solid var(--item-border-color);
}
.bill-item[data-v-a3c4e5b6]:active {
    background: rgba(20, 31, 54, 0.8);
}
.bill-icon[data-v-a3c4e5b6] {
    font-size: 28px;
    margin-right: 18px;
    flex-shrink: 0;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}
.bill-icon ion-icon[data-v-a3c4e5b6] {
    color: var(--color-white);
}
.bill-title[data-v-a3c4e5b6] {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.bill-content[data-v-a3c4e5b6] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bill-intro[data-v-a3c4e5b6] {
    font-size: 12px;
    margin-top: 2px;
}
.bill-side[data-v-a3c4e5b6] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 90px;
    text-align: right;
    gap: 2px;
    flex-shrink: 0;
}
.bill-minor[data-v-a3c4e5b6] {
    color: #ccc;
}
.bill-brief[data-v-a3c4e5b6] {
    font-size: 1em;
    font-weight: 600;
}
.issue-card[data-v-a3c4e5b6] {
    padding: 20px 0;
}
.issue-card .issue-title[data-v-a3c4e5b6] {
    margin-top: 6px;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 18px;
}
.issue-card .step[data-v-a3c4e5b6] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--item-border-color);
}
.issue-card .step[data-v-a3c4e5b6]:last-child {
    border-bottom: none;
}
.issue-card .dot[data-v-a3c4e5b6] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}
.issue-card .step.active .dot[data-v-a3c4e5b6] {
    background: var(--success-color);
}
.issue-card .step-title[data-v-a3c4e5b6] {
    font-size: 14px;
}
.issue-card .desc[data-v-a3c4e5b6] {
    font-size: 12px;
    color: var(--sub-text-color);
    margin-top: 4px;
}
.issue-card ion-button[data-v-a3c4e5b6] {
    --border-radius: 22px;
    margin: 0;
    min-width: 100px;
}
.no-data[data-v-a3c4e5b6] {
    text-align: center;
    color: var(--sub-text-color);
    padding: 30px 0;
    font-size: 1em;
}
.bill-total[data-v-a3c4e5b6] {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 20px 0 12px;
}
.bill-left[data-v-a3c4e5b6] {
    font-weight: 600;
    color: var(--color-white);
}
.bill-right {
&[data-v-a3c4e5b6] {
    color: var(--btn-bg-color);
    cursor: pointer;
    }
&[data-v-a3c4e5b6]:hover {
        text-decoration: underline;
}
}
.bill-timed[data-v-a3c4e5b6] {
    font-size: 12px;
    color: #ccc;
}
.platform_iconty[data-v-a3c4e5b6] {
    background-color: black;
}
ion-header ion-title[data-v-a3c4e5b6] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}
.no-data[data-v-a3c4e5b6] {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
    opacity: 0.9;
}
.placeholder-box[data-v-a3c4e5b6] {
    width: 100%;
    margin: 0 auto 20px;
    margin-left: 90px;
}
.text[data-v-a3c4e5b6] {
    color: #bfc6d4;
    font-size: 14px;
    margin-top: 20px;
}
svg circle[data-v-a3c4e5b6] {
    fill: blue;
}
.invite[data-v-a3c4e5b6] {
    padding: 15px;
    background: linear-gradient(to bottom right,
            var(--item-color) 0%,
            var(--invite-bg) 100%);
    border-radius: 12px;
    position: relative;
    margin-bottom: 75px;
}
.section-title[data-v-a3c4e5b6] {
    width: 85%;
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
}
.invite-text[data-v-a3c4e5b6] {
    font-size: 14px;
    width: 80%;
    color: var(--sub-text-color);
    margin: 10px 0;
    line-height: 1.4;
}
.invite-btn[data-v-a3c4e5b6] {
    padding: 8px 15px;
    background: linear-gradient(to bottom,
            var(--btn-bg-color) 0%,
            var(--btn-bg-color) 50%,
            var(--btn-footer-glow) 100%);
    color: var(--login-bg-footer);
    width: 150px;
    border: none;
    border-radius: 16px;
    text-align: center;
    font-weight: bold;
    font-size: .6em;
    transition: background-color 0.2s ease, transform 0.2s ease-in-out;
}
.invite-btn[data-v-a3c4e5b6]:active {
    transform: translateY(2px);
}

/* system_notice 横幅跑马灯 */
.notice-marquee-wrap[data-v-a3c4e5b6] {
    width: 100%;
    background: var(--item-color, rgba(255, 255, 255, 0.08));
    /* border: 1px solid var(--item-border-color, transparent); */
    /* border-radius: 10px; */
    overflow: hidden;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    /* position: absolute;
    top: 0;
    z-index: 1; */
}
.notice-marquee[data-v-a3c4e5b6] {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 12px;
    display: flex;
    align-items: center;
}
.notice-marquee-text[data-v-a3c4e5b6] {
    display: inline-block;
    animation: marquee-scroll-a3c4e5b6 18s linear infinite;
    font-size: 13px;
    color: var(--color-white, #fff);
    white-space: nowrap;
}
@keyframes marquee-scroll-a3c4e5b6 {
0%,
    5% {
        transform: translateX(0);
}
95%,
    100% {
        transform: translateX(var(--marquee-end, 0));
}
}
.invite-img[data-v-a3c4e5b6] {
    width: 90px;
    height: 90px;
    right: 0px;
    bottom: 0px;
    position: absolute;
    border-bottom-right-radius: 20px;
}
ion-title img[data-v-a3c4e5b6] {
    height: 18px;
    margin-top: 15px;
}
.notification-wrapper[data-v-a3c4e5b6] {
    position: relative;
}
.notification-badge[data-v-a3c4e5b6] {
    position: absolute;
    color: #fff;
    top: -4px;
    right: -5px;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 8px;
    padding: 0 4px;
}
.balance-card[data-v-a3c4e5b6] {
    background: var(--home-card-background, var(--color-primary-light));
    box-shadow: var(--home-card-box-shadow);
    width: 90%;
    height: 200px;
    margin: 0 auto;
    margin-top: 15px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light, #ffffff);
}
.balance-title[data-v-a3c4e5b6] {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 8px;
}
.balance-amount[data-v-a3c4e5b6] {
    font-size: 38px;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.currency[data-v-a3c4e5b6] {
    color: #e5e5e5;
}

.card-carousel-container[data-v-fe5c4a1c] {
    position: relative;
    overflow: hidden;
    z-index: 10;
    box-sizing: border-box;
    width: 100%;
    padding-bottom: 20px;
}
.carousel-arrow[data-v-fe5c4a1c] {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    display: none;
}
@media (min-width: 768px) {
.carousel-arrow[data-v-fe5c4a1c] {
        display: flex;
}

    /* .back-cvv {
        margin-top: 20px !important;
    } */
}
.carousel-arrow[data-v-fe5c4a1c]:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.6);
}
.carousel-arrow[data-v-fe5c4a1c]:focus {
    outline: none;
}

/* 左箭头定位 */
.left-arrow[data-v-fe5c4a1c] {
    left: 16px;
}

/* 右箭头定位 */
.right-arrow[data-v-fe5c4a1c] {
    right: 16px;
}
.card-slider[data-v-fe5c4a1c] {
    display: flex;
    transition: transform 0.3s ease-in-out;
    cursor: grab;
    width: 100%;
}
.card-slider[data-v-fe5c4a1c]:active {
    cursor: grabbing;
}
.card-slide[data-v-fe5c4a1c] {
    min-width: 100%;
    aspect-ratio: 1.6 / 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-display[data-v-fe5c4a1c] {
    position: relative;
    width: 100%;
    /* aspect-ratio: 1.6 / 1; */
    padding-top: 220px;
    margin: 0 auto;
    perspective: 1000px;
    z-index: 11;
    cursor: pointer;
}
.flip-container[data-v-fe5c4a1c] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    margin: 0 auto;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-container.flipped[data-v-fe5c4a1c] {
    transform: rotateY(180deg);
}
.front[data-v-fe5c4a1c],
.back[data-v-fe5c4a1c] {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
}
.front[data-v-fe5c4a1c] {
    transform: rotateY(0deg);
    z-index: 2;
}
.front img[data-v-fe5c4a1c],
.back img[data-v-fe5c4a1c] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card-display img[data-v-fe5c4a1c] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-brand[data-v-fe5c4a1c],
.card-number[data-v-fe5c4a1c],
.card-holder[data-v-fe5c4a1c],
.card-expiry[data-v-fe5c4a1c] {
    position: absolute;
    width: max-content;
    color: white;
    font-size: 14px;
    z-index: 999;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.card-number[data-v-fe5c4a1c] {
    font-weight: 700;
}
.card-brand[data-v-fe5c4a1c] {
    top: 15%;
    left: 8%;
    font-size: 18px;
    font-weight: bold;
}
.card-number[data-v-fe5c4a1c] {
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    font-size: 18px;
    letter-spacing: 2px;
}
.card-holder[data-v-fe5c4a1c] {
    left: 25%;
    text-transform: uppercase;
}
.card-expiry[data-v-fe5c4a1c] {
    bottom: 7px;
    right: 8%;
}
.back[data-v-fe5c4a1c] {
    transform: rotateY(180deg);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.back-card-expiry[data-v-fe5c4a1c] {
    position: absolute;
    display: flex;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
    color: #ffffff;
}
.back-cvv[data-v-fe5c4a1c] {
    display: flex;
    font-size: 12px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: #ffffff;
}
.back-placeholder[data-v-fe5c4a1c] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: max-content;
    font-size: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}
.back-card-holder[data-v-fe5c4a1c] {
    position: absolute;
    /* top: 50%;
    left: 50%;
    transform: translate(-40%, -50%); */
    display: flex;
    font-size: 12px;
    color: #ffffff;
}
.card-name-label[data-v-fe5c4a1c] {
    margin-top: -12px;
    font-size: 16px;
    font-weight: bold;
    color: var(--btn-bg-color);
}
.pagination-dots[data-v-fe5c4a1c] {
    display: flex;
    justify-content: center;
    z-index: 99;
    margin-left: 50%;
    margin-top: 12px;
    transform: translateX(-50%);
}
.dot[data-v-fe5c4a1c] {
    height: 8px;
    width: 8px;
    background-color: #d8d8d8;
    border-radius: 50%;
    margin: 0 4px;
    transition: background-color 0.3s ease;
}
.dot.active[data-v-fe5c4a1c] {
    background-color: var(--btn-bg-color);
    width: 12px;
    border-radius: 10px;
}
.action-icon[data-v-fe5c4a1c] {
    color: white;
    vertical-align: middle;
    font-size: 18px;
    margin-left: 5px;
    margin-top: -4px;
}
.cvv-icon[data-v-fe5c4a1c] {
    color: #ffffff;
    margin-left: 5px;
    font-size: 16px;
}

/* .card-section {
    margin-top: 20px;
} */
.balance-section[data-v-52e4db16] {
    padding: 10px 15px;
    padding-top: 0;
    height: 100px;
    margin-bottom: 20px;
    margin-top: -15px;
}
.card-balance[data-v-52e4db16] {
    font-size: 28px;
    font-weight: 700;
    margin: 3px 0;
    color: var(--color-text-light);
}
.card-name[data-v-52e4db16] {
    font-size: 14px;
    color: var(--color-primary-light);
    font-weight: 500;
}
.card-actions[data-v-52e4db16] {
    display: flex;
    gap: 10px;
    padding: 0;
    border-radius: 12px;
    margin: 6px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.card-actions[data-v-52e4db16]::-webkit-scrollbar {
    display: none;
}
.balance-info-card[data-v-52e4db16] {
    border-radius: 16px;
    padding: 20px 12px;
    margin: 18px 0 0;
    background-color: var(--item-color);
    /* box-shadow: 1px 4px 12px rgba(0, 0, 0, 0.3); */
    border: 1px solid var(--item-border-color);
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
}
.balance-item[data-v-52e4db16] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.balance-item .label[data-v-52e4db16] {
    color: var(--color-white);
    font-size: 14px;
}
.balance-item .value[data-v-52e4db16] {
    font-weight: bold;
    color: var(--flowed-in);
    font-size: 16px;
}
.balance-title[data-v-52e4db16] {
    color: #A5A4A9;
}
.bill-section[data-v-52e4db16] {
    position: relative;
}
.section-title[data-v-52e4db16] {
    margin: 20px 0 12px;
    font-size: 16px;
    color: var(--color-white);
}
.bill-item[data-v-52e4db16] {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: var(--item-color);
    padding: 12px 6px;
    border-radius: 16px;
    cursor: pointer;
    border: 1px solid var(--item-border-color);
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
}
.bill-icon[data-v-52e4db16] {
    font-size: 28px;
    margin-right: 18px;
    flex-shrink: 0;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}
.bill-icon ion-icon[data-v-52e4db16] {
    color: var(--color-white);
}
.bill-content[data-v-52e4db16] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bill-title[data-v-52e4db16] {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.bill-intro[data-v-52e4db16] {
    font-size: 12px;
    color: #A5A4A9 !important;
    margin-top: 2px;
}
.bill-side[data-v-52e4db16] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 90px;
    text-align: right;
    gap: 2px;
    flex-shrink: 0;
}
.bill-minor[data-v-52e4db16] {
    color: #ccc;
}
.bill-brief[data-v-52e4db16] {
    font-size: 1em;
    font-weight: 600;
}
.no-data[data-v-52e4db16] {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
    opacity: 0.9;
    color: var(--color-white);
}
.no-data img[data-v-52e4db16] {
    margin-bottom: 30px;
}
ion-button[data-v-52e4db16] {
    --color: #ffffff;
    --background: #a5a4a9;
    font-weight: 600;
    font-size: 0.95em;
}
.invite-btn[data-v-52e4db16] {
    width: 100%;
    padding: 15px;
    background: var(--color-primary-light);
    color: white;
    border: none;
    border-radius: 8px;
    text-align: center;
}
.card-action[data-v-52e4db16] {
    display: flex;
    justify-content: space-between;
}
.view-card[data-v-52e4db16] {
    height: 40px;
    width: 48%;
    background: var(--surface-input);
    color: #ffffff;
    line-height: 40px;
    font-size: 14px;
    text-align: center;
    font-weight: 900;
    border-radius: 40px;
}

/* .card-footer {
    padding: 5px 0;
} */
.footer-top[data-v-52e4db16] {
    margin: 0 auto;
    width: 36px;
    height: 5px;
    background: #D8D8D8;
    border-radius: 5px;
}
.action-item[data-v-52e4db16] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 60px;
    height: 90px;
    color: white;
    cursor: pointer;
    border-radius: 25px;
    background: var(--special-btn) !important;
    border: 1px solid var(--btn-border-color, transparent);
}
.action-item[data-v-52e4db16]:hover {
    background: rgba(0, 0, 0, 0.03);
}
.action-item[data-v-52e4db16]:active {
    transform: scale(0.98);
}
.icon-circle[data-v-52e4db16] {
    width: 88px;
    height: 40px;
    padding: 8px 10px;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1;
}
.icon-circle ion-icon[data-v-52e4db16] {
    font-size: 24px;
    color: #A5A4A9 !important;
    margin-bottom: -4px;
}
ion-header ion-title[data-v-52e4db16] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}
.card-footer ion-button[data-v-52e4db16] {
    width: 100%;
}

/* 底部文字 */
.text[data-v-52e4db16] {
    color: #bfc6d4;
    font-size: 14px;
}
.gem-footer[data-v-52e4db16] {
    margin-top: 15px;
    padding: 15px 20px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    font-weight: 400;
    font-size: 12px;
}
.gem-active[data-v-52e4db16] {
    margin-top: 30px;
}
.bill-tips[data-v-52e4db16] {
    font-size: 14px;
}
.card-logn[data-v-52e4db16] {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 200px;
    height: 200px;
    z-index: 99;
    background-position: 55% 50%;
    background-size: 60%;
    opacity: 1;
    background-repeat: no-repeat;
}
.ticket-sty[data-v-52e4db16] {
    position: absolute;
    right: 10px;
    top: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-white);
    cursor: pointer;
    text-decoration: underline;
}
.ticket-sty .icon[data-v-52e4db16] {
    font-size: 17px;
}

ion-header ion-title.header-title-center[data-v-4d956540] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

/* --- 内边距 --- */
.ion-padding[data-v-4d956540] {
    --padding-start: 16px;
    --padding-end: 16px;
    --padding-top: 16px;
    --padding-bottom: 16px;
}

/* --- 卡片通用样式 --- */
.card[data-v-4d956540] {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 15px;
}

/* --- 余额部分 --- */
.balance-section[data-v-4d956540] {
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px 0;
}
.balance-title[data-v-4d956540] {
    margin: 0 0 12px;
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 16px;
}
.balance-total-amount[data-v-4d956540] {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--color-text-light);
}
.balance-pending[data-v-4d956540] {
    margin-top: 5px;
    color: var(--color-text-light);
    font-size: 14px;
}

/* --- 动作按钮部分 --- */
.action-buttons[data-v-4d956540] {
    display: flex;
    justify-content: space-between;
    margin: 24px auto 32px;
    gap: 12px;
}
.custom-button[data-v-4d956540] {
    flex: 1;
    background: var(--special-btn) !important;
    color: #fff;
    border-radius: 12px;
    width: 95px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85em;
    cursor: pointer;
    transition: transform 0.2s;
}
.custom-button[data-v-4d956540]:active {
    transform: translateY(-2px);
    background: #A5A4A9;
}
.custom-button ion-icon[data-v-4d956540] {
    font-size: 28px;
    margin-bottom: 6px;
    color: #fff;
}
.button-label[data-v-4d956540] {
    text-align: center;
    white-space: nowrap;
}

/* --- 资产列表部分 --- */
.asset-title[data-v-4d956540] {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
}
.asset-list[data-v-4d956540] {
    display: flex;
    flex-direction: column;
}
.home-header[data-v-4d956540] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 6px;
}
.header-title[data-v-4d956540] {
    font-size: 1em;
    font-weight: 700;
    color: #111111;
}
.asset-item[data-v-4d956540] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 7px 10px;
    margin-bottom: 10px;
    border-radius: 16px;
    border: 1px solid var(--item-border-color);
    background: var(--item-color);
    column-gap: 10px;
}
.asset-item img[data-v-4d956540] {
    width: 50px;
    height: 50px;
}
.asset-icon[data-v-4d956540] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.asset-name-remark-group[data-v-4d956540] {
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.asset-name[data-v-4d956540] {
    font-weight: bold;
    color: var(--color-white);
    font-size: 14px;
}
.asset-remark[data-v-4d956540] {
    color: var(--color-white);
    margin-top: 3px;
    font-size: 12px;
}

/* 价值和描述的容器样式 */
.asset-current-wrapper[data-v-4d956540] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* 右对齐 */
    text-align: right;
}
.asset-current[data-v-4d956540] {
    font-weight: bold;
    color: var(--color-text-light);
    /* 价值蓝色强调色 */
    font-size: 1em;
    white-space: nowrap;
}

/* 描述样式 */
.asset-balance[data-v-4d956540] {
    color: #999;
    /* 灰色 */
    font-size: 0.8em;
    /* 字体小一些 */
    margin-top: 2px;
    /* 与价值有一点间距 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    /* 确保在容器内不超过宽度 */
}
.menu-icon[data-v-4d956540] {
    font-size: 25px;
    color: var(--color-background-dark);
}
ion-header ion-title[data-v-4d956540] {
    color: black;
}
.assets-section[data-v-4d956540] {
    padding-bottom: 50px;
}

.container[data-v-a9cca88f] {
    display: flex;
    flex-direction: column;
    height: 100%;
}
ion-button[data-v-a9cca88f] {
    --background: var(--special-btn) !important;
}
ion-header ion-title[data-v-a9cca88f] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}
ion-buttons ion-button[data-v-a9cca88f] {
    --color: black;
}
.content-wrapper[data-v-a9cca88f] {
    padding: 0px 20px 20px 20px;
}
.menu-list[data-v-a9cca88f] {
    background-color: var(--item-color);
    border-radius: 10px;
    margin-top: 0;
    cursor: pointer;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    box-shadow: 0px 4px 4px 0px #00000040;
}
.second-menu-list[data-v-a9cca88f] {
    margin-top: 15px;
}
.menu-item[data-v-a9cca88f] {
    display: flex;
    align-items: center;
    padding: 12px 0px;
    border-bottom: 1px solid var(--item-border-color);
    font-size: .8em;
    color: var(--tab-color);
    transition: background-color 0.2s ease;
}
.menu-item ion-icon[data-v-a9cca88f] {
    color: var(--tab-color) !important;
}
.menu-item[data-v-a9cca88f]:last-child {
    border-bottom: none;
}

/* .menu-item.clickable:active {
    background-color: var(--item-border-color);
} */
.menu-item ion-icon[data-v-a9cca88f]:first-child {
    font-size: 20px;
    margin-right: 15px;
    color: #333;
}
.menu-item span[data-v-a9cca88f] {
    flex-grow: 1;
}
.menu-item ion-skeleton-text[data-v-a9cca88f] {
    background: #63636333;
    --background-hover: #ccc;
    border-radius: 4px;
}
.menu-list .menu-item ion-skeleton-text[data-v-a9cca88f]:first-child {
    border-radius: 50% !important;
}
.arrow[data-v-a9cca88f] {
    font-size: 18px;
    color: #ccc;
    margin-left: auto;
}
ion-skeleton-text[data-v-a9cca88f] {
    display: block;
}
.right-section[data-v-a9cca88f] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.notification-badge[data-v-a9cca88f] {
    min-width: 18px;
    height: 18px;
    background-color: #ff3b30;
    color: white;
    font-size: 12px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
}
.notification-badge[data-v-a9cca88f]:empty::after {
    content: '99+';
}

.user-details-wrapper[data-v-f5e8d461] {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    color: var(--color-white);
}
.user-details-wrapper.vertical[data-v-f5e8d461] {
    flex-direction: column;
}
.user-details-wrapper.vertical .avatar[data-v-f5e8d461] {
    margin-right: 0;
}
.user-details-wrapper.vertical .user-details-info[data-v-f5e8d461] {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.user-details-info h3[data-v-f5e8d461],
.user-details-info p[data-v-f5e8d461] {
    text-align: center;
    margin: 0;
    /* Resetting h3/p margin for better control */
}
.user-details-info h3[data-v-f5e8d461] {
    font-size: 1.2em;
    font-weight: 600;
}
.user-details-info p[data-v-f5e8d461] {
    font-size: 14px;
    margin: 2px 0 0;
}
.user-details-wrapper.horizontal[data-v-f5e8d461] {
    flex-direction: row;
    align-items: flex-start;
    /* Align items to the top/start */
}
.user-details-wrapper.horizontal .avatar[data-v-f5e8d461] {
    margin-right: 15px;
    margin-bottom: 0;
}
.user-details-wrapper.horizontal .user-details-info[data-v-f5e8d461] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.user-details-info .text-left[data-v-f5e8d461] {
    text-align: left !important;
}
.avatar[data-v-f5e8d461] {
    font-size: 60px;
    color: var(--user-avatar);
}
.skeleton-circle-avatar[data-v-f5e8d461] {
    width: 70px !important;
    min-width: 70px;
    height: 70px !important;
    border-radius: 50% !important;
    margin: 0 0 10px 0 !important;
}
.user-details-wrapper.horizontal .skeleton-circle-avatar[data-v-f5e8d461] {
    margin: 0 15px 0 0 !important;
}
.cvv-copy-icon[data-v-f5e8d461] {
    margin-left: 5px;
    font-size: 12px;
}
img[data-v-f5e8d461] {
    width: 70px;
    height: 70px;
}
ion-skeleton-text[data-v-f5e8d461] {
    background: #63636333;
}

ion-menu.main-menu[data-v-b4a78bbe] {
    --width: 100% !important;
    --max-width: 100% !important;
}
ion-content.menu-content[data-v-b4a78bbe] {
    /* --background: var(--content-color) !important; */
    height: 100%;
}
.scroll-container[data-v-b4a78bbe] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0 10px;
}
.main-body[data-v-b4a78bbe] {
    flex: 1;
}

/* 4. 头部样式 */
/* .ion-header {
    background-color: var(--content-color) !important;
    --border-bottom: none !important;
} */
ion-toolbar[data-v-b4a78bbe] {
    --background: transparent;
    --border-width: 0;
    box-shadow: none;
}

/* 5. 个人资料 */
.profile-container[data-v-b4a78bbe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0 0 0;
}

/* 6. 卡片网格 */
.card-grid[data-v-b4a78bbe] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.card[data-v-b4a78bbe] {
    background: var(--item-color) !important;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--item-border-color);
    justify-content: space-between;
    align-items: flex-start;
    color: var(--color-white);
}
.card ion-label[data-v-b4a78bbe] {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-white) !important;
}

/* 7. 列表样式 */
ion-list[data-v-b4a78bbe] {
    background: var(--item-color);
    border-radius: 10px;
    margin-top: 20px;
}
.menu-item-header[data-v-b4a78bbe] {
    background-color: var(--skeleton-bg-color);
    padding: 11px 15px;
    font-size: .8em;
    color: var(--tab-color);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
ion-item[data-v-b4a78bbe] {
    --background: var(--item-color);
    color: var(--color-white);
    font-size: 14px;
    --min-height: 45px;
    border-bottom: 1px solid var(--item-border-color);
}
ion-item[data-v-b4a78bbe]:last-child {
    border-bottom: none;
}
ion-item ion-label[data-v-b4a78bbe] {
    font-weight: bold;
    font-size: 1rem;
    color: var(--color-white) !important;
}

/* 8. 登出按钮 */
.logout-btn[data-v-b4a78bbe] {
    color: #fff;
    margin-top: 16px;
    margin-left: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 6px;
}
ion-icon[data-v-b4a78bbe] {
    color: var(--color-white) !important;
}
.logout-icon[data-v-b4a78bbe] {
    font-size: 25px;
    margin-right: 5px;
}

/* 9. 版本信息：去掉绝对定位 */
.version-info[data-v-b4a78bbe] {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 30px;
    /* 留出底部边距 */
}
.version[data-v-b4a78bbe] {
    color: var(--color-white);
    font-size: 0.8rem;
    opacity: 0.6;
}
.logout-text[data-v-b4a78bbe] {
    color: var(--color-white);
    font-weight: 700;
}
.close-icon-container[data-v-b4a78bbe] {
    display: flex;
    height: 30px;
    justify-content: flex-end;
    padding: 10px 15px 0 0;
}

/* 暗黑模式适配 */
/* @media (prefers-color-scheme: dark) {
    ion-label {
        color: #ffffff !important;
    }
} */

.pwa-install-banner[data-v-0dee8dcf] {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 20px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;

  /* 暗模式 */
  /* @media (prefers-color-scheme: dark) {
    background: linear-gradient(to top, rgba(15, 15, 20, 0.96), rgba(15, 15, 20, 0.9));
    border-top-color: rgba(255, 255, 255, 0.1);
  } */
}
.close-btn {
&[data-v-0dee8dcf] {
  position: absolute;
  top: 5px;
  right: 6px;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s;

  /* @media (prefers-color-scheme: dark) {
    &:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #ddd;
    }
  } */
  }
&[data-v-0dee8dcf]:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #666;
}
}
.content[data-v-0dee8dcf] {
  gap: 16px;
}
.left[data-v-0dee8dcf] {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.icon[data-v-0dee8dcf] {
  font-size: 36px;
  flex-shrink: 0;
}
.text[data-v-0dee8dcf] {
  flex: 1;
  min-width: 0;
}
.title[data-v-0dee8dcf] {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #000;

  /* @media (prefers-color-scheme: dark) {
    color: #fff;
  } */
}
.desc[data-v-0dee8dcf] {
  font-size: 13.5px;
  color: #666;
  margin: 0;

  /* @media (prefers-color-scheme: dark) {
    color: #aaa;
  } */
}
.install-btn {
&[data-v-0dee8dcf] {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
  float: right;

  /* @media (prefers-color-scheme: dark) {
    background: #fff;
    color: #000;
  } */
  }
&[data-v-0dee8dcf]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
&[data-v-0dee8dcf]:active {
    transform: translateY(0);
}
}

/* iOS 专用 */
.ios .guide[data-v-0dee8dcf] {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #007aff;
  flex-shrink: 0;
}
.share-icon[data-v-0dee8dcf] {
  width: 28px;
  height: 28px;
  color: #007aff;
}
.ios .tip[data-v-0dee8dcf] {
  white-space: nowrap;
  font-weight: 500;
}

/* 上滑动画 */
.slide-enter-active[data-v-0dee8dcf],
.slide-leave-active[data-v-0dee8dcf] {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
}
.slide-enter-from[data-v-0dee8dcf],
.slide-leave-to[data-v-0dee8dcf] {
  transform: translateY(100%);
  opacity: 0;
}

/* 全局安全区域适配 */
ion-tab-bar[data-v-bfcf3ad4] {
    padding-bottom: env(safe-area-inset-bottom);
    /* background-color: #fff; */
    background-color: #333;
    height: calc(56px + env(safe-area-inset-bottom));
    box-sizing: border-box;
}

html,
body,
#app,
ion-app {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.app-wrapper {
    width: 100vw;
    height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden;
}

:root {
    /* --color-primary-dark: #660708; */
    /* --color-primary-medium: #A4161A; */
    /* --color-primary-lighter: #E5383B; */
    /* --color-secondary-dark: #161A1D; */
    /* --color-neutral-medium: #B1A7A6; */
    /* --color-neutral-light: #D3D3D3; */
    /* --color-background-dark: #0B090A; */
    /* --color-background-light: #F5F3F4; */
    --color-primary-light: #380102a2;
    --color-text-light: #E5EAFA;
    --ion-header-icon-color: #ffffff;
    --surface-input: #92111580;
    --flowed-in:#00E560;
    --flowed-out:#EE4A4A;
    --btn-bg-color:#DE0202;
    --header-bg: #FFFFFF;
    --ion-card-background: #92111580;
    --ion-item-background: #92111580;
    --content-color: #080808ff;
    --tab-selected-color: #db93935e;
    --item-color: #00000033;
    --skeleton-bg-color: #92111580;
    --color-white: #ffffff;
    /* --not-transaction-loading: ; */
    --special-btn: #92111580;
    --login-bg-top: #160808ff;
    --login-bg-footer: #ffffff;
    --tab-color: '#E5EAFA';
    --tab-color-active: #E5252A;
    --user-avatar: #000000;
    --btn-footer-glow: #222;
    --sub-text-color: #888;
    --sub-theme-color: #f70707ea;
    --invite-bg: '#380102a2';
    --item-border-color: rgba(146, 17, 21, 0.7);
    --home-card-background: #00000033;
    --home-card-box-shadow: 0px 4px 4px 0px #00000040;
    --dialog-bg-color: #333;
    --toolbar-background: #0c1527;
    --content-background: #17274B;
    --input-item-background: #0E192D;
    --item-primary-gray-background: #17274B;
    /* --primary-background: #17274B; */
}

ion-router-outlet {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    ion-router-outlet {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        width: 375px;
        height: 812px;
        max-width: 375px;
        max-height: 812px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
    }
    ion-menu {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 375px;
        height: 812px;
        max-width: 375px;
        max-height: 812px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
    }
    /* Modal 挂在 App 根上，与 outlet 同级，需单独对齐手机框 */
    ion-modal {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 375px;
        height: 812px;
        max-width: 375px;
        max-height: 812px;
        border-radius: 12px;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    ion-router-outlet {
        border-radius: 0;
    }
}

ion-page {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

ion-content {
    /* --background: #ffffff; */
    width: 100%;
    height: 100%;
    overflow: hidden; /* 修改为 hidden，移除滚动条 */
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    scrollbar-width: thin !important; /* 设置滚动条宽度为 "thin" */
    scrollbar-color: #d6d2d2 #f1f1f1; /* 滑块颜色 轨道颜色 */
}

ion-content::part(scroll) {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

ion-content::part(scroll)::-webkit-scrollbar {
    display: none;
}

ion-back-button {
    color: var(--color-white);
}

ion-toolbar {
    --border-style: none;
}

ion-header {
    background: var(--toolbar-background);
}

ion-toolbar {
    --color: var(--ion-header-icon-color) !important;
    --padding-top: 6px;
    --padding-bottom: 6px;
    box-shadow: 1px 2px 4px #74707036;
}

ion-input .native-input {
    caret-color: var(--btn-bg-color) !important;
}

ion-buttons ion-icon {
    color: var(--ion-header-icon-color) !important;
}

ion-button {
    margin: 16px 0;
    font-size: 14px !important;
    --background: linear-gradient(to bottom, var(--btn-bg-color) 0%, var(--btn-bg-color) 50%, var(--btn-footer-glow) 100%);
    text-transform: none !important;
    font-weight: 900;
    color: var(--login-bg-footer);
}

ion-menu-button {
    color: var(--ion-header-icon-color) !important;
}

ion-button {
    --background-activated: var(--btn-bg-color) !important;
    --background-focused: var(--btn-bg-color) !important;
    --background-hover: var(--btn-bg-color) !important;
}

ion-button:focus,
ion-button:hover,
ion-button:active {
    filter: brightness(0.9);
}

ion-header {
    scrollbar-width: thin;
}

ion-header ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

ion-header ::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-light);
    border-radius: 36px;
}

ion-header ion-segment {
    padding-bottom: 6px;
}

ion-segment-button {
    --color-checked: var(--btn-bg-color);
    --indicator-color: var(--special-btn);
}

.input-clear-icon.sc-ion-input-md {
    color: red;
    width: 14px;
    height: 14px;
    border: 1px solid red;
    border-radius: 7px;
    margin-right: 5px;
}

.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios {
    background: none;
    color: var(--color-white);
}

.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios {
    color: var(--color-white);
}

ion-title {
    color: var(--color-white) !important;
}

ion-toast::part(button) {
    font-size: 16px;
    min-height: 34px;
    width: 48px;
    border-radius: 48px;
    margin-left: 15px;
}

.action-sheet-button {
    --button-color: var(--color-text-light, #eee);
    --button-color-focused: var(--color-white, #fff);
}

/* MD 默认 flex-start；覆盖 Ionic scoped 样式 */

ion-action-sheet.select-action-sheet .action-sheet-button,
ion-action-sheet .action-sheet-button {
    text-align: center !important;
}

ion-action-sheet.select-action-sheet .action-sheet-button-inner,
ion-action-sheet .action-sheet-button-inner {
    justify-content: center !important;
}

.router-loading .loading-wrapper,
.custom-loading .loading-wrapper {
    box-shadow: none;
}

.logo-btn {
	padding: 0;
	margin-right: 4px;
}

.header-logo {
	height: 18px;
	width: auto;
	display: block;
}

.button-native{
  	--color: var(--color-primary-light) !important;
}

.my-alert {
  	/* --background: linear-gradient(165deg,  var(--tab-selected-color), var(--item-color)30%,var(--item-color)100%) !important; */
	--background: var(--dialog-bg-color);
	--border-radius: 15px;
	--button-background: transparent !important;
}

.my-alert .alert-wrapper {
	background: var(--dialog-bg-color, #222);
}

.my-alert .alert-title{
  	color: var(--color-white) !important;
}

.my-alert .alert-message{
  	color: var(--color-white);
	white-space: pre-wrap;
}

.my-alert .alert-wrapper:focus {
  	outline: none !important;
}

.notice-alert .alert-message {
    text-align: left;
	/* min-height: max-content; */
	max-height: 60vh;
	padding-bottom: 10px;
}

/* 调整按钮间距 */

.my-alert .alert-button-group {
	justify-content: space-between;
	margin-top: 12px;
}

.my-alert .alert-button {
    color: var(--btn-bg-color);
	border-color: rgba(160,160,160,0.6);
	flex: 1 1 auto;
}

.my-alert .alert-button-inner {
	justify-content: center;
}

.my-alert .alert-button.alert-confirm-btn {
    background: var(--btn-bg-color) !important;
    border-color: var(--btn-bg-color);
    color: var(--login-bg-footer);
    border-radius: 8px;
    min-width: 0px;
    margin:0 10px;
}

.my-alert .alert-button.alert-cancel-btn {
    border: 1px solid var(--btn-bg-color) !important;
    color: var(--btn-bg-color);
    background: transparent;
    border-radius: 8px;
    /* min-width: 0px; */
    margin:0 10px;
    margin-bottom: 5px;
}

.bill-minor {
  	font-size: 12px;
}

.telegram-bind-alert {
	--background: linear-gradient(135deg, #fff);
	--border-radius: 12px;
	--color: black !important;
	--border-bottom:none !important;
	box-shadow: none !important;  
	outline: none !important;
	box-shadow: 3px 3px 3px #030303;
}

.telegram-bind-alert .alert-wrapper {
	backdrop-filter: none;   
	outline: none !important;         
	box-shadow: none !important;
	box-shadow: 4px 6px 20px rgb(255 255 255 / 10%) !important;
}

.telegram-bind-alert .alert-wrapper {
  	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
}

.telegram-bind-alert .alert-message {
	color: black;
	font-weight: 500;
}

.telegram-bind-alert .alert-cancel-button {
  	color: #888888; 
  	background: transparent;
  	font-size: 14px;
  	padding: 10px;
}

.telegram-bind-alert .alert-confirm-button {
  	color: var(--btn-bg-color); 
  	font-size: 14px;
}

.telegram-bind-alert .alert-title {
	color:black !important; 
	font-size: 1.2em; 
	font-weight: bold;
}

.custom-card-toast::part(container) {
	--border-radius: 8px !important; 
	max-width: 90% !important;
	color: white;
}

.toast-content {
  	padding: 0px !important;
}

.custom-card-toast::part(message) {
	font-size: 12px !important;
	color:#e5eafa;
}

.toast-warning::part(message) {
	font-size: 12px !important;
	color: #000000;
}

.toast-warning::part(container) {
	--border-radius: 8px !important; 
	max-width: 90% !important;
	color: rgb(0, 0, 0) !important;
}

.toast-warning::part(container) {
	--border-radius: 8px !important; 
	max-width: 90% !important;
	color: white;
}

.custom-card-toast {
	display: flex !important;
	align-items: center !important;  
	justify-content: flex-start !important; 
	gap: 8px; 
}

.custom-card-toast .toast-button {
	padding: 0 !important;
	margin: 0 !important;
}

.custom-card-toast::part(ion-icon) {
 	font-size: 18px !important;
}

.custom-card-toast::part(button) {
	margin-left: 15px !important;
	background-color: #02613065;
	height: 34px !important;
	width: 34px !important;
	display: flex !important;
	border-radius: 17px;
	justify-content: center !important;
}

.toast-warning::part(button) {
	margin-left: 15px !important;
	background-color: #02613042;
	height: 34px !important;
	width: 34px !important;
	display: flex !important;
	border-radius: 17px;
  	justify-content: center !important;
}

.custom-select-popover ion-item {
	  --color: var(--color-white) !important; 
}

.toast-button-group-end{
  	margin-right: -30px !important;
}

.no-data-message {
	text-align: center;
	padding-top: 50px;
	color: #999;
}

.starfield {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.router-loading .loading-wrapper{
  	background: transparent;
}

.router-loading ion-spinner {
	width: 40px;
	height: 40px;
}

.custom-loading .loading-wrapper{
  	background: transparent;
}

.custom-loading ion-spinner {
	width: 40px;
	height: 40px;
}

/* Telegram Mini App（html.tg-host 由 applyDarkChrome 添加） */

html.tg-host {
	--tg-viewport-stable: 100vh;
	--tg-viewport-height: 100vh;
}

html.tg-host ion-modal {
	--max-height: var(--tg-viewport-stable, 100vh);
}/* For information on how to create your own theme, please see:
http://ionicframework.com/docs/theming/ */

/* src/theme/variables.css */

/* Ionic Variables */
:root {
  /** primary color */
  --ion-color-primary: #020202;
  --ion-color-primary-rgb: 56, 128, 255;
  --ion-color-primary-contrast: #ffffff;
  --ion-color-primary-contrast-rgb: 255, 255, 255;
  --ion-color-primary-shade: #3171e0;
  --ion-color-primary-tint: #4c8eff;

  /** secondary color */
  --ion-color-secondary: #0cd1e8;
  --ion-color-secondary-rgb: 12, 209, 232;
  --ion-color-secondary-contrast: #ffffff;
  --ion-color-secondary-contrast-rgb: 255, 255, 255;
  --ion-color-secondary-shade: #0bb8cc;
  --ion-color-secondary-tint: #24d6ea;
}

/* Other global styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}