* {
    box-sizing: border-box;
}

[v-cloak] {
    display: none;
}

body {
    margin: 0;
    font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
    color: #102033;
    background: #eef6ff;
}

button,
input {
    font: inherit;
}

.mobile-auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(34, 211, 238, .24), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(59, 130, 246, .18), transparent 28%),
        linear-gradient(180deg, #f7fcff 0%, #eaf4ff 100%);
}

.mobile-auth-wrap {
    min-height: 100vh;
    padding: 36px 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-brand {
    margin-bottom: 28px;
}

.mobile-brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #00c2ff, #2563eb);
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .24);
}

.mobile-brand h1,
.mobile-header h1 {
    margin: 12px 0 0;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0;
}

.mobile-brand p,
.mobile-muted {
    margin: 8px 0 0;
    color: #6b7688;
    font-size: 13px;
    line-height: 1.7;
}

.mobile-panel,
.mobile-card {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(186, 214, 241, .72);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(31, 91, 151, .1);
    backdrop-filter: blur(14px);
}

.mobile-panel {
    padding: 18px;
}

.mobile-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 4px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(226, 242, 255, .9);
}

.mobile-tabs-thumb {
    position: absolute;
    left: 4px;
    top: 4px;
    width: calc((100% - 14px) / 2);
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff, #eff8ff);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .12);
    transform: translateX(0);
    transition: transform .24s ease;
    pointer-events: none;
}

.mobile-tabs-thumb.register {
    transform: translateX(100%);
}

.mobile-tabs button,
.mobile-link-btn {
    border: 0;
    background: transparent;
    color: #64748b;
}

.mobile-tabs button {
    position: relative;
    z-index: 1;
    height: 38px;
    border-radius: 12px;
    font-weight: 800;
}

.mobile-tabs button.active {
    background: transparent;
    color: #0b74de;
}

.mobile-auth-slider {
    min-height: 332px;
    overflow: hidden;
}

.mobile-field {
    margin-bottom: 14px;
}

.mobile-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800;
    color: #334155;
}

.mobile-input,
.mobile-field input {
    width: 100%;
    height: 44px;
    border: 1px solid #cfe0ef;
    border-radius: 14px;
    padding: 0 12px;
    color: #162033;
    background: rgba(255, 255, 255, .92);
    outline: none;
}

.mobile-input:focus,
.mobile-field input:focus {
    border-color: #1d9bf0;
    box-shadow: 0 0 0 4px rgba(29, 155, 240, .12);
}

.mobile-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-row input {
    min-width: 0;
}

.mobile-code-img {
    flex: 0 0 104px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid #cfe0ef;
    display: grid;
    place-items: center;
    color: #0b74de;
    font-weight: 900;
    background: repeating-linear-gradient(135deg, #f8fbff, #f8fbff 8px, #eaf6ff 8px, #eaf6ff 16px);
}

.mobile-btn {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #02c3ff, #2563eb);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .22);
}

.mobile-btn.secondary {
    background: #e9f5ff;
    color: #0b74de;
    box-shadow: none;
}

.mobile-code-btn {
    font-size: 12px;
}

.mobile-btn:disabled {
    opacity: .58;
}

.mobile-mini-btn {
    width: auto;
    min-width: 78px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.mobile-panel-foot {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.mobile-link-btn {
    padding: 0;
    font-weight: 800;
}

.mobile-app-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 0%, rgba(34, 211, 238, .2), transparent 28%),
        linear-gradient(180deg, #f5fbff 0%, #edf6ff 46%, #f7fbff 100%);
}

.mobile-shell {
    min-height: 100vh;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.mobile-header {
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: rgba(246, 251, 255, .82);
    border-bottom: 1px solid rgba(205, 225, 242, .78);
    backdrop-filter: blur(18px);
}

.mobile-header h1 {
    margin: 0;
    font-size: 18px;
}

.mobile-back {
    width: 34px;
    height: 34px;
    margin-right: 4px;
    border: 0;
    background: transparent;
    color: #162033;
    font-size: 28px;
}

.mobile-main {
    padding: 16px 14px 24px;
}

.mobile-card {
    padding: 16px;
    margin-bottom: 14px;
}

.mobile-card h2 {
    margin: 0 0 10px;
    font-size: 16px;
    letter-spacing: 0;
}

.mobile-banner {
    min-height: 150px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 14%, rgba(255, 255, 255, .34), transparent 24%),
        linear-gradient(135deg, #04c4ff, #2563eb 62%, #6d5dfc);
    border-radius: 22px;
    box-shadow: 0 20px 44px rgba(37, 99, 235, .22);
}

.mobile-banner strong {
    display: block;
    font-size: 22px;
    line-height: 1.25;
}

.mobile-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-rate strong,
.mobile-amount {
    color: #0b74de;
    font-size: 24px;
    font-weight: 900;
}

.mobile-action-card {
    border-color: rgba(37, 99, 235, .18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(241, 248, 255, .92));
}

.mobile-page-surface {
    background: rgba(255, 255, 255, .74);
}

.mobile-home-hero,
.mobile-profile-hero {
    margin-bottom: 14px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, .34), transparent 22%),
        linear-gradient(135deg, #02c3ff, #2563eb 58%, #7557f7);
    box-shadow: 0 22px 46px rgba(37, 99, 235, .24);
}

.mobile-home-hero {
    min-height: 172px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-hero-kicker {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 900;
    opacity: .78;
}

.mobile-home-hero strong {
    display: block;
    font-size: 25px;
    line-height: 1.2;
}

.mobile-home-hero p,
.mobile-panel-head p {
    margin: 7px 0 0;
    font-size: 13px;
    line-height: 1.55;
    opacity: .82;
}

.mobile-hero-rate {
    width: 118px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(12px);
}

.mobile-hero-rate span,
.mobile-info-strip span,
.mobile-estimate-box span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    opacity: .8;
}

.mobile-hero-rate b {
    display: block;
    margin-top: 4px;
    font-size: 22px;
}

.mobile-info-strip {
    margin-bottom: 12px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(195, 219, 239, .75);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 12px 28px rgba(31, 91, 151, .06);
}

.mobile-info-strip p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.mobile-contact-strip {
    align-items: center;
}

.mobile-contact-content {
    min-width: 0;
    flex: 1 1 auto;
}

.mobile-contact-content p {
    word-break: break-all;
}

.mobile-tutorial-btn {
    width: 76px;
    min-height: 40px;
    padding: 0 10px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #1597f6, #2563eb);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.mobile-rate-strip strong {
    color: #0b74de;
    font-size: 22px;
    font-weight: 900;
}

.mobile-panel-head {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-panel-head h2 {
    margin: 0;
}

.mobile-panel-head span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #0b74de;
    background: #e7f4ff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.mobile-exchange-panel {
    border-color: rgba(37, 99, 235, .22);
}

.mobile-estimate-box {
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef8ff, #f8fcff);
}

.mobile-estimate-box strong {
    display: block;
    margin-top: 4px;
    color: #0b74de;
    font-size: 26px;
    line-height: 1.2;
}

.mobile-estimate-box p,
.mobile-estimate-box em {
    display: block;
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.35;
}

.mobile-estimate-box em {
    color: #0f172a;
}

.mobile-profile-hero {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .18);
    font-size: 22px;
    font-weight: 900;
}

.mobile-profile-main {
    min-width: 0;
    flex: 1;
}

.mobile-profile-account-line,
.mobile-profile-balance-line,
.mobile-profile-status-line {
    min-width: 0;
}

.mobile-profile-main span,
.mobile-profile-main em {
    display: block;
    font-style: normal;
    font-size: 12px;
    opacity: .82;
}

.mobile-profile-email {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    min-width: 0;
}

.mobile-profile-email span {
    min-width: 0;
    flex: 0 1 auto;
    max-width: calc(100% - 46px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-profile-email-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
}

.mobile-profile-email-actions button {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: transparent;
    opacity: .82;
}

.mobile-email-icon {
    position: relative;
}

.mobile-email-icon::before,
.mobile-email-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.mobile-email-icon.is-copy::before {
    left: 7px;
    top: 5px;
    width: 8px;
    height: 10px;
    border: 1.4px solid currentColor;
    border-radius: 2px;
}

.mobile-email-icon.is-copy::after {
    left: 5px;
    top: 7px;
    width: 8px;
    height: 10px;
    border: 1.4px solid currentColor;
    border-radius: 2px;
}

.mobile-email-icon.is-eye::before,
.mobile-email-icon.is-eye-off::before {
    left: 3px;
    top: 6px;
    width: 14px;
    height: 9px;
    border: 1.4px solid currentColor;
    border-radius: 50% 50% 45% 45%;
}

.mobile-email-icon.is-eye::after {
    left: 8px;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.mobile-email-icon.is-eye-off::after {
    left: 4px;
    top: 10px;
    width: 13px;
    height: 1.6px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(-35deg);
}

.mobile-profile-main strong {
    display: block;
    margin: 4px 0;
    font-size: 24px;
    line-height: 1.2;
}

.mobile-profile-balance-line {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-profile-balance-line strong {
    min-width: 0;
    flex: 1;
}

.mobile-profile-withdraw {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    font-size: 12px;
    font-weight: 900;
}

.mobile-profile-status-line {
    margin-top: 2px;
}

.mobile-profile-withdraw-accounts {
    background: #ffffff;
}

.mobile-profile-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid rgba(209, 223, 236, .78);
}

.mobile-profile-account-row:first-of-type {
    border-top: 0;
}

.mobile-profile-account-row strong {
    display: block;
    color: #182235;
    font-size: 14px;
    font-weight: 900;
}

.mobile-profile-account-row p {
    margin: 5px 0 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.35;
}

.mobile-account-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-account-main > div {
    min-width: 0;
}

.mobile-account-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex: 0 0 38px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #0b74de;
    background: #e7f4ff;
    font-size: 15px;
    font-weight: 900;
}

.mobile-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mobile-account-avatar em {
    font-style: normal;
}

.mobile-quick-entry {
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(207, 224, 239, .88);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    color: #162033;
    font-weight: 900;
}

.mobile-quick-entry b {
    color: #0b74de;
    font-size: 20px;
}

.mobile-danger-card {
    background: rgba(255, 255, 255, .66);
}

.mobile-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mobile-stat-item {
    padding: 12px;
    border: 1px solid rgba(199, 222, 241, .75);
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fcff, #eff7ff);
}

.mobile-stat-value {
    margin-top: 6px;
    color: #0b74de;
    font-size: 20px;
    font-weight: 900;
}

.mobile-list {
    display: grid;
    gap: 12px;
}

.mobile-list-item {
    padding: 14px;
    border: 1px solid rgba(207, 224, 239, .88);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    box-shadow: 0 10px 24px rgba(31, 91, 151, .06);
}

.mobile-list-title {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    font-weight: 900;
}

.mobile-status {
    color: #0b74de;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e7f4ff;
    white-space: nowrap;
}

.mobile-empty {
    padding: 30px 12px;
    text-align: center;
    color: #8a96a8;
    border: 1px dashed #bfd7eb;
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}

.mobile-withdraw-account-box,
.mobile-account-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 14px;
    border: 1px solid rgba(199, 222, 241, .82);
    border-radius: 14px;
    background: #f8fbff;
}

.mobile-withdraw-account-box strong,
.mobile-account-card strong {
    display: block;
    color: #172033;
    font-size: 15px;
}

.mobile-withdraw-account-box p,
.mobile-account-card p {
    margin: 5px 0 0;
    color: #6d7c91;
    font-size: 12px;
    line-height: 1.45;
}

.mobile-link-btn {
    min-width: 64px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(11, 116, 222, .22);
    border-radius: 10px;
    color: #0b74de;
    background: #eef7ff;
    font-size: 12px;
    font-weight: 900;
}

.mobile-link-btn.danger {
    color: #dc2626;
    border-color: rgba(220, 38, 38, .22);
    background: #fff1f2;
}

.mobile-qr-box {
    margin-top: 14px;
    padding: 14px;
    text-align: center;
    border: 1px dashed #b8d7ef;
    border-radius: 14px;
    background: #f8fbff;
}

.mobile-qr-box img {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 10px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.mobile-qr-box p {
    margin: 0;
    color: #6d7c91;
    font-size: 12px;
}

.mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    height: calc(66px + env(safe-area-inset-bottom));
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, .92);
    border-top: 1px solid rgba(202, 222, 240, .86);
    box-shadow: 0 -14px 30px rgba(31, 91, 151, .1);
    backdrop-filter: blur(18px);
}

.mobile-tabbar a {
    display: grid;
    grid-template-rows: 28px 18px;
    place-items: center;
    color: #718096;
    font-size: 11px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 16px;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.mobile-tabbar a.active {
    color: #0b74de;
    background: linear-gradient(180deg, #eef8ff, #ffffff);
    transform: translateY(-3px);
}

.mobile-tab-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: block;
}

.mobile-tab-icon::before,
.mobile-tab-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.mobile-tab-icon.is-home::before {
    left: 4px;
    top: 9px;
    width: 16px;
    height: 12px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 3px;
}

.mobile-tab-icon.is-home::after {
    left: 5px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    border-radius: 2px;
}

.mobile-tab-icon.is-orders::before {
    left: 5px;
    top: 4px;
    width: 14px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.mobile-tab-icon.is-orders::after {
    left: 8px;
    top: 9px;
    width: 8px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.mobile-tab-icon.is-withdraws::before {
    left: 4px;
    top: 5px;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.mobile-tab-icon.is-withdraws::after {
    left: 11px;
    top: 8px;
    width: 2px;
    height: 9px;
    background: currentColor;
    box-shadow: -3px 4px 0 -1px currentColor, 3px 4px 0 -1px currentColor;
}

.mobile-tab-icon.is-profile::before {
    left: 8px;
    top: 4px;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.mobile-tab-icon.is-profile::after {
    left: 5px;
    top: 14px;
    width: 14px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 9px 9px 4px 4px;
}

.mobile-tab-label {
    line-height: 1;
}

.mobile-tabbar a.active .mobile-tab-icon {
    color: #02a9f7;
    filter: drop-shadow(0 6px 10px rgba(2, 169, 247, .28));
}

.mobile-toast {
    position: fixed;
    left: 50%;
    bottom: 86px;
    z-index: 50;
    max-width: calc(100vw - 42px);
    transform: translate(-50%, 12px);
    opacity: 0;
    padding: 10px 14px;
    border-radius: 14px;
    color: #fff;
    background: rgba(15, 31, 54, .92);
    font-size: 13px;
    transition: opacity .18s ease, transform .18s ease;
}

.mobile-toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}
