:root {
    --bg: #f6f8fd;
    --soft-bg: #eef3ff;
    --line: #e5ebf5;
    --text: #24314f;
    --muted: #8a93a8;
    --blue-a: #2f73f6;
    --blue-b: #39bdf2;
    --danger: #ff1a17;
    --success: #0a9217;
    --card-blue: linear-gradient(135deg, #1f71ef 0%, #288af3 45%, #45c1f2 100%);
    --page-glow: radial-gradient(circle at top left, rgba(60, 143, 255, 0.12), transparent 30%), radial-gradient(circle at top right, rgba(68, 195, 242, 0.1), transparent 24%);
    --shadow: 0 22px 54px rgba(39, 96, 198, 0.1);
    --card-shadow: 0 12px 32px rgba(33, 63, 124, 0.08);
    --card-radius: 26px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", sans-serif;
}

body {
    overflow-x: hidden;
    background:
        var(--page-glow),
        linear-gradient(180deg, #fbfcff 0%, #f4f7fe 100%);
}

[v-cloak] {
    display: none;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

.app-shell {
    position: relative;
    min-height: 100vh;
    padding-bottom: 104px;
    background: transparent;
}

.app-shell-auth {
    padding-bottom: 0;
}

.app-shell-goods {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 0;
    background: #ffffff;
}

.app-main {
    width: 100%;
}

.page {
    min-height: calc(100vh - 104px);
}

.page-auth {
    min-height: 100vh;
    background: transparent;
}

.page-setting {
    min-height: 100vh;
    background: transparent;
}

.page-assets {
    min-height: calc(100vh - 104px);
    background: var(--card-blue);
}

.page-body.narrow {
    max-width: 560px;
    margin: 0 auto;
    padding: 22px 16px 34px;
}

.home-topline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 18px;
}

.balance-pill,
.locale-flag {
    font-size: 1rem;
    font-weight: 500;
}

.balance-pill {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: #2b5fcd;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(42, 80, 153, 0.08);
}

.locale-flag {
    text-align: center;
    font-size: 1.1rem;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    line-height: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 20px rgba(42, 80, 153, 0.08);
}

.auth-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: 0;
}

.coin-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #17315e;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(42, 80, 153, 0.08);
    font-size: 1.1rem;
    font-weight: 800;
}

.language-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 14px;
    background: rgba(21, 24, 33, 0.42);
}

.language-sheet {
    width: min(100%, 680px);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(17, 34, 68, 0.22);
}

.language-option {
    width: 100%;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    color: #353740;
    text-align: left;
    background: transparent;
    border-bottom: 1px solid #eef1f7;
}

.language-option:last-child {
    border-bottom: 0;
}

.language-option.active {
    background: #f5f8ff;
}

.language-flag {
    font-size: 2rem;
    line-height: 1;
}

.language-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.language-option.active::after {
    content: '✓';
    color: var(--blue-a);
    font-size: 1rem;
    font-weight: 800;
}

.hero-banner {
    position: relative;
    height: 0;
    padding-bottom: 36%;
    border-radius: 28px;
    overflow: hidden;
    background: #eef1fb;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 420ms ease, transform 420ms ease;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.section-block {
    margin-top: 26px;
}

.compact-top {
    margin-top: 20px;
}

.section-title {
    margin: 0 0 16px;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.market-panel {
    border-radius: var(--card-radius);
    background: #fff;
    box-shadow: var(--card-shadow);
}

.market-panel.soft {
    padding: 0;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
}

.grid-row {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 10px;
    align-items: center;
}

.market-head {
    padding: 22px 24px 14px;
    color: #758099;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.market-row {
    display: grid;
    padding: 18px 24px;
    border-top: 1px solid #edf1f7;
    font-size: 0.96rem;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.market-row:hover {
    background: #f8fbff;
}

.symbol-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #566074;
    font-size: 0.96rem;
}

.coin-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    flex: 0 0 30px;
}

.coin-logo-image {
    display: block;
    object-fit: cover;
    background: #eef1fb;
}

.coin-logo.btc { background: #f79b1f; }
.coin-logo.eth { background: #6c83f0; }
.coin-logo.doge { background: #cfb145; }
.coin-logo.trx { background: #ff0d2f; }
.coin-logo.xrp { background: #202832; }
.coin-logo.eos { background: #000000; }
.coin-logo.ltc { background: #6f737b; }
.coin-logo.fil { background: #56c7d9; }
.coin-logo.ada { background: #1b4dc9; }
.coin-logo.etc { background: #4b57d8; }
.coin-logo.default { background: #667085; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.price-value,
.change-value {
    font-size: 0.98rem;
    font-weight: 500;
}

.danger { color: var(--danger); }
.success { color: var(--success); }
.muted { color: #666a75; }

.gradient-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 86px;
    border-radius: 0;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
    background: var(--card-blue);
}

.page-goods {
    min-height: 100vh;
    background: #1f1f21;
}

.page-quotation-record {
    min-height: calc(100vh - 104px);
    background:
        radial-gradient(circle at top right, rgba(99, 156, 255, 0.18), transparent 22%),
        linear-gradient(180deg, #2e315d 0%, #252847 100%);
}

.quotation-shell {
    max-width: 620px;
    margin: 0 auto;
    padding: 22px 16px 28px;
}

.quotation-tabs {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px;
    margin-bottom: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.quotation-tab {
    position: relative;
    flex: 1 1 0;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.96rem;
    font-weight: 700;
}

.quotation-tab.active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(92, 174, 255, 0.34), rgba(50, 112, 232, 0.26));
}

.quotation-tab.active::after {
    display: none;
}

.quotation-order-card {
    margin-bottom: 16px;
    padding: 18px 18px;
    border-radius: 20px;
    background: rgba(76, 81, 126, 0.92);
    box-shadow: 0 14px 34px rgba(11, 15, 38, 0.18);
    color: #ffffff;
}

.quotation-order-head {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    gap: 12px;
    align-items: start;
}

.quotation-order-name strong {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
}

.quotation-order-name span {
    margin-left: 6px;
    color: #ff5a90;
    font-size: 1rem;
    font-weight: 700;
}

.quotation-order-side,
.quotation-order-profit {
    font-size: 0.98rem;
    font-weight: 700;
    text-align: right;
}

.quotation-order-side.up,
.quotation-order-profit.up {
    color: #f36a9a;
}

.quotation-order-side.down,
.quotation-order-profit.down {
    color: #5fd3df;
}

.quotation-order-price {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
}

.quotation-order-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    color: #ffffff;
    font-size: 0.95rem;
}

.quotation-order-time-muted {
    color: #8f96b7;
}

.quotation-empty {
    padding: 28px 18px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    background: rgba(67, 71, 115, 0.72);
    box-shadow: 0 12px 28px rgba(11, 15, 38, 0.16);
}

.goods-shell {
    min-height: 100vh;
    width: min(100%, 760px);
    max-width: 760px;
    margin: 0 auto;
    background: #1f1f21;
    color: #f6f6f6;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.goods-topbar {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    height: 86px;
    padding: 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    background: #171719;
}

.goods-back,
.goods-topbar-spacer {
    width: 48px;
    height: 48px;
}

.goods-back {
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1;
}

.goods-summary {
    padding: 22px 20px 26px;
    background: #252527;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.goods-price {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.goods-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.goods-stat-card span {
    display: block;
    color: #9b9b9f;
    font-size: 0.95rem;
}

.goods-stat-card {
    padding: 14px 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.goods-stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.08rem;
    font-weight: 700;
}

.goods-chart-card {
    padding: 16px 14px 24px;
    background: #232325;
}

.goods-mode-row,
.goods-interval-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.goods-interval-row {
    justify-content: space-between;
    margin-top: 16px;
}

.goods-mode-button,
.goods-interval-button {
    min-width: 74px;
    min-height: 44px;
    border-radius: 18px;
    color: #8e8f94;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
}

.goods-mode-button.active,
.goods-interval-button.active {
    color: #54a0ff;
}

.goods-mode-button.active {
    background: #3a3d48;
    box-shadow: inset 0 0 0 1px rgba(84, 160, 255, 0.22);
}

.goods-reading-row {
    display: grid;
    grid-template-columns: 88px repeat(4, 1fr);
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    font-size: 0.92rem;
    font-weight: 600;
}

.goods-reading-time {
    color: #ffffff;
}

.goods-reading-open {
    color: #34c759;
}

.goods-reading-close {
    color: #ffdf4d;
}

.goods-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    color: #a4a5aa;
    font-size: 0.8rem;
}

.goods-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-box,
.legend-dot {
    display: inline-block;
}

.legend-box {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-day {
    background: #ff3b30;
}

.legend-open {
    background: #4f76ff;
}

.legend-close {
    background: #89c46c;
}

.legend-low {
    background: #f2c24b;
}

.goods-chart-wrap {
    margin-top: 14px;
    border-radius: 18px;
    overflow: visible;
    background: #232325;
}

.goods-chart-svg {
    display: block;
    width: 100%;
    height: 305px;
}

.goods-volume-wrap {
    margin-top: 6px;
    background: #232325;
}

.goods-volume-svg {
    display: block;
    width: 100%;
    height: 145px;
}

.goods-volume-baseline {
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1;
}

.goods-grid-line {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
}

.goods-trend-line {
    fill: none;
    stroke: #f4ee38;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.goods-axis-label {
    fill: #888a91;
    font-size: 16px;
}

.goods-axis-time {
    fill: #767982;
    font-size: 14px;
}

.goods-empty-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    color: #8f9094;
    font-size: 0.96rem;
}

.goods-volume-text {
    margin-top: 8px;
    color: #2348ff;
    font-size: 1rem;
    font-weight: 500;
}

.goods-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
    background: #232325;
}

.goods-action-call,
.goods-action-put {
    min-height: 66px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.goods-action-call {
    background: #47b235;
}

.goods-action-put {
    background: #f13e3a;
}

.goods-order-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(7, 9, 13, 0.56);
    backdrop-filter: blur(4px);
}

.goods-order-sheet {
    width: min(100%, 760px);
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background: #484b78;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.28);
}

.goods-order-handle {
    width: 56px;
    height: 5px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
}

.goods-order-title {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.goods-order-side-row,
.goods-order-option-row {
    display: grid;
    gap: 0;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 6px;
}

.goods-order-side-row {
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.22);
}

.goods-order-option-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: rgba(65, 108, 168, 0.56);
}

.goods-order-amount-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.goods-order-side-button,
.goods-order-option-button {
    min-height: 44px;
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 500;
}

.goods-order-side-button.active,
.goods-order-option-button.active {
    background: linear-gradient(180deg, #31d8c5, #29a9ff);
}

.goods-order-label {
    margin-top: 16px;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 500;
}

.goods-order-custom {
    margin-top: 10px;
}

.goods-order-custom-input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(18, 23, 47, 0.42);
    outline: none;
}

.goods-order-custom-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.goods-order-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.92rem;
}

.goods-order-table {
    margin-top: 18px;
}

.goods-order-table-head,
.goods-order-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.goods-order-table-head {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
}

.goods-order-table-row {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.96rem;
    background: rgba(255, 255, 255, 0.08);
}

.goods-order-table-row .buy {
    color: #32d6c7;
}

.goods-order-table-row .sell {
    color: #ff8ea2;
}

.goods-order-confirm {
    width: 100%;
    min-height: 56px;
    margin-top: 18px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(180deg, #37c6ff, #2b8cff);
}

.goods-order-confirm:disabled {
    opacity: 0.7;
    cursor: default;
}

.asset-summary-card,
.profile-header {
    margin-top: 26px;
    border-radius: 30px;
    color: #fff;
    background: var(--card-blue);
    box-shadow: var(--shadow);
}

.asset-summary-card {
    padding: 30px 28px 24px;
}

.summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.summary-number {
    font-size: 2.3rem;
    font-weight: 700;
}

.summary-label {
    margin-top: 8px;
    font-size: 1.15rem;
}

.refresh-button,
.setting-button {
    color: #fff;
    font-size: 1.8rem;
}

.summary-divider,
.profile-divider {
    background: rgba(255, 255, 255, 0.35);
}

.summary-divider {
    height: 1px;
    margin: 24px 0 20px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    text-align: center;
}

.summary-accent {
    font-size: 1.9rem;
    font-weight: 500;
}

.summary-accent.red { color: var(--danger); }
.summary-accent.green { color: #8dff74; }
.summary-accent.total { color: #fff3a4; }

.summary-subtitle {
    margin-top: 8px;
    font-size: 1rem;
}

.exchange-card,
.menu-card,
.login-hint-card {
    margin-top: 28px;
    border-radius: var(--card-radius);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
}

.exchange-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 14px;
    padding: 30px 26px;
    border: 1px solid #44b6ff;
}

.exchange-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.exchange-col.align-right {
    align-items: flex-end;
    text-align: right;
}

.exchange-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.exchange-balance {
    font-size: 1.9rem;
    font-weight: 500;
}

.link-button {
    padding: 0;
    color: #39bfff;
    text-align: left;
}

.exchange-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.exchange-input {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #45b7ff;
    padding: 8px 10px;
    text-align: center;
    font-size: 1.6rem;
    outline: none;
}

.exchange-arrow {
    color: #2388f2;
    font-size: 3rem;
    line-height: 1;
}

.primary-button {
    min-width: 156px;
    padding: 13px 18px;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(180deg, #2ca8ff, #1f7de8);
}

.primary-button.wide {
    width: 100%;
}

.bonus-text {
    color: #49c0ff;
    font-size: 1.1rem;
}

.profile-header {
    padding: 28px 24px 26px;
}

.profile-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.avatar-circle {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e42718;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.profile-identity {
    min-width: 0;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    word-break: break-all;
}

.invite-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    white-space: nowrap;
}

.invite-inline-label {
    flex-shrink: 0;
}

.invite-inline-code {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
}

.invite-inline-copy {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.invite-inline-copy span {
    display: block;
    transform: translateY(-1px);
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 18px 28px;
    align-items: center;
    margin-top: 30px;
}

.profile-stat {
    text-align: center;
}

.profile-stat span {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
}

.profile-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 1.95rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.profile-divider {
    width: 1px;
    min-height: 88px;
    justify-self: center;
}

.menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 88px;
    padding: 0 26px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 1.14rem;
    font-weight: 700;
    text-align: left;
}

.menu-row:last-child {
    border-bottom: 0;
}

.menu-row span:last-child {
    color: #9aa4b7;
    font-size: 2rem;
    line-height: 1;
}

.menu-row.danger {
    color: var(--danger);
}

.login-hint-card {
    padding: 22px;
}

.page-topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    margin: -22px -16px 30px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--card-blue);
    box-shadow: 0 12px 28px rgba(37, 95, 192, 0.18);
}

.page-topbar-dark {
    background: var(--card-blue);
}

.topbar-back {
    position: absolute;
    left: 16px;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.setting-card {
    overflow: hidden;
}

.setting-list-card,
.profile-edit-card {
    overflow: hidden;
    border-radius: var(--card-radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--card-shadow);
}

.setting-list-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 82px;
    padding: 0 22px;
    box-sizing: border-box;
    border-bottom: 1px solid #eceef2;
    color: #111;
    font-size: 1.08rem;
    font-weight: 700;
    text-align: left;
    background: transparent;
}

.setting-list-row:last-child {
    border-bottom: 0;
}

.setting-list-row > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 18px;
}

.setting-list-row.static strong {
    margin-left: auto;
    color: #697488;
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
}

.setting-list-arrow {
    margin-left: auto;
    color: #a0a8b8;
    font-size: 2rem;
    line-height: 1;
}

.setting-signout,
.setting-primary {
    width: 100%;
    min-height: 72px;
    margin-top: 32px;
    border-radius: 999px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(180deg, #4f89f4, #3d73eb);
    box-shadow: 0 16px 34px rgba(48, 93, 191, 0.18);
}

.password-card {
    padding: 26px 22px;
    border-radius: var(--card-radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--card-shadow);
}

.password-field {
    display: block;
    margin-bottom: 18px;
}

.password-field span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 0.94rem;
}

.password-field input {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #dbe3f1;
    border-radius: 14px;
    outline: none;
    background: #f9fbff;
}

.profile-edit-card {
    padding: 24px 18px;
}

.profile-edit-avatar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-edit-avatar-preview {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #e42718;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
}

.profile-edit-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(180deg, #4c86f4, #3972ec);
}

.page-withdraw {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(64, 190, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #132f5f 0%, #2f315d 38%, #2d3158 100%);
}

.withdraw-shell {
    padding-top: 0;
    padding-bottom: 36px;
}

.withdraw-topbar {
    margin-bottom: 18px;
    background: transparent;
}

.withdraw-details-button {
    position: absolute;
    right: 16px;
    min-width: 64px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
    font-weight: 600;
    text-align: right;
}

.withdraw-card,
.withdraw-history-card {
    border-radius: 26px;
    background: rgba(81, 79, 135, 0.92);
    box-shadow: 0 16px 42px rgba(7, 18, 40, 0.22);
}

.withdraw-card {
    padding: 20px 16px 18px;
    color: #fff;
}

.withdraw-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.withdraw-user-line {
    font-size: 1.08rem;
    font-weight: 700;
}

.withdraw-balance-line {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.94rem;
}

.withdraw-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.02rem;
    font-weight: 700;
}

.withdraw-input-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 12px 0 14px;
    border: 1px solid rgba(52, 163, 255, 0.96);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.withdraw-currency {
    color: #3ca8ff;
    font-size: 1.05rem;
    font-weight: 800;
}

.withdraw-input,
.withdraw-editor-input {
    width: 100%;
    min-height: 46px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    color: #fff;
    font-size: 1.08rem;
}

.withdraw-input::-webkit-outer-spin-button,
.withdraw-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.withdraw-input::placeholder,
.withdraw-editor-input::placeholder {
    color: rgba(255, 255, 255, 0.44);
}

.withdraw-editor-input option {
    color: #213154;
}

.withdraw-max-button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    background: linear-gradient(180deg, #48bdf9, #327be9);
}

.withdraw-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
}

.withdraw-summary span,
.withdraw-charge {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.96rem;
}

.withdraw-password-wrap {
    margin-top: 8px;
}

.withdraw-password-input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(52, 163, 255, 0.96);
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.withdraw-password-input::placeholder {
    color: rgba(255, 255, 255, 0.44);
}

.withdraw-summary strong {
    display: block;
    margin-top: 6px;
    color: #39a9ff;
    font-size: 2rem;
    font-weight: 800;
}

.withdraw-divider {
    height: 1px;
    margin: 18px 0;
    background: rgba(255, 255, 255, 0.18);
}

.withdraw-method-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.withdraw-edit-button {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    background: linear-gradient(180deg, #48bdf9, #327be9);
}

.withdraw-account-box {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(52, 163, 255, 0.8);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.96rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.06);
    word-break: break-word;
}

.withdraw-editor {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.withdraw-editor-input {
    min-height: 54px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(14, 29, 60, 0.28);
}

.withdraw-submit {
    margin-top: 18px;
}

.withdraw-history-card {
    margin-top: 18px;
    padding: 18px 16px;
    color: #fff;
}

.withdraw-history-title {
    margin-bottom: 14px;
    font-size: 1.04rem;
    font-weight: 800;
}

.withdraw-history-empty {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.withdraw-history-list {
    display: grid;
    gap: 12px;
}

.withdraw-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.withdraw-history-item[role="button"],
.withdraw-history-item[tabindex],
.withdraw-history-item {
    cursor: pointer;
}

.withdraw-history-item strong,
.withdraw-history-side strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.withdraw-history-item span,
.withdraw-history-side span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.85rem;
}

.withdraw-history-side {
    text-align: right;
}

.message-detail-card {
    display: grid;
    gap: 16px;
    color: #fff;
}

.message-detail-meta strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
}

.message-detail-meta span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.message-detail-content {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
    line-height: 1.7;
    word-break: break-word;
}

.message-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.message-detail-content p:first-child {
    margin-top: 0;
}

.auth-page {
    max-width: 560px;
    min-height: 100vh;
    margin: 0 auto;
    background: transparent;
}

.auth-hero {
    position: relative;
    min-height: 250px;
    padding: 22px 18px 72px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1c99ec 0%, #2178f5 58%, #45c1f2 100%);
    box-shadow: 0 14px 32px rgba(35, 118, 220, 0.18);
}

.auth-back,
.auth-flag {
    position: absolute;
    top: 18px;
    z-index: 2;
}

.auth-back {
    left: 12px;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.auth-flag {
    right: 18px;
    font-size: 1.8rem;
}

.auth-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 76px;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.auth-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ff9f1a;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
}

.auth-wave {
    position: absolute;
    left: -8%;
    width: 116%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.auth-wave-one {
    bottom: -46px;
    height: 100px;
    transform: rotate(4deg);
}

.auth-wave-two {
    bottom: -68px;
    height: 124px;
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(-3deg);
}

.auth-form-wrap {
    padding: 34px 18px 28px;
}

.auth-input {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    width: 100%;
    min-height: 74px;
    margin-bottom: 22px;
    border: 1px solid #d8e0ef;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(33, 63, 124, 0.06);
}

.auth-input-icon {
    display: grid;
    place-items: center;
    height: 100%;
    border-right: 1px solid #d1d1d1;
    color: #9b9b9b;
    font-size: 1.6rem;
}

.auth-input input {
    width: 100%;
    height: 100%;
    padding: 0 16px;
    border: 0;
    color: #444;
    font-size: 1.05rem;
    outline: none;
    background: transparent;
}

.auth-input input::placeholder {
    color: #a5a5a5;
}

.auth-code-row {
    display: grid;
    grid-template-columns: 1fr 132px;
    gap: 12px;
    margin-bottom: 22px;
}

.auth-input.auth-input-code {
    margin-bottom: 0;
}

.auth-code-button,
.auth-action,
.auth-link-button {
    width: 100%;
    border-radius: 14px;
}

.auth-code-button {
    min-height: 74px;
    color: #1b78e6;
    font-size: 0.98rem;
    font-weight: 700;
    background: linear-gradient(180deg, #f1f7ff, #e8f2ff);
}

.auth-code-button:disabled,
.auth-action:disabled {
    opacity: 0.72;
    cursor: default;
}

.auth-action {
    min-height: 82px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.auth-login {
    background: linear-gradient(180deg, #2196f3, #1d7ef0);
}

.auth-register {
    margin-top: 22px;
    background: linear-gradient(180deg, #29d64a, #12b636);
}

.auth-link-button {
    min-height: 48px;
    margin-top: 14px;
    color: #2785ec;
    font-size: 0.96rem;
    font-weight: 600;
}

.tabbar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: min(100%, 560px);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 -8px 24px rgba(32, 56, 108, 0.06);
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #b3b3b6;
    font-size: 0.92rem;
    min-height: 68px;
}

.tab-item.active {
    color: #1581ff;
}

.tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.tab-icon-svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modal-mask {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(13, 20, 34, 0.42);
    z-index: 20;
}

.login-modal {
    width: min(420px, 100%);
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15, 35, 83, 0.22);
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal-head h3 {
    margin: 0;
    font-size: 1.35rem;
}

.modal-close {
    font-size: 1.7rem;
    color: #8b93a5;
}

.form-row {
    margin-bottom: 14px;
}

@media screen and (min-width: 640px) {
    .app-shell {
        max-width: 560px;
        margin: 0 auto;
    }

    .app-shell.app-shell-goods {
        max-width: none;
        margin: 0;
    }
}

@media screen and (max-width: 480px) {
    .page-body.narrow {
        padding: 16px 12px 26px;
    }

    .page-topbar {
        height: 78px;
        margin-left: -12px;
        margin-right: -12px;
        font-size: 1.5rem;
    }

    .auth-brand {
        margin-top: 88px;
        font-size: 2.55rem;
    }

    .auth-brand-mark {
        width: 62px;
        height: 62px;
        font-size: 2.2rem;
    }

    .gradient-bar {
        height: 78px;
        font-size: 1.45rem;
    }

    .market-head,
    .market-row {
        padding-left: 16px;
        padding-right: 16px;
    }

    .grid-row {
        grid-template-columns: 1.2fr 0.9fr 0.9fr;
        gap: 8px;
    }

    .auth-code-row {
        grid-template-columns: 1fr 116px;
        gap: 10px;
    }

    .auth-input,
    .auth-code-button {
        min-height: 66px;
    }

    .auth-action {
        min-height: 74px;
    }
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #6d7481;
}

.form-row input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #d7dce8;
    border-radius: 12px;
    outline: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 118px;
    transform: translateX(-50%);
    max-width: calc(100vw - 40px);
    padding: 13px 18px;
    border-radius: 999px;
    color: #fff;
    background: rgba(29, 38, 56, 0.92);
    z-index: 30;
    box-shadow: 0 16px 34px rgba(18, 24, 36, 0.18);
}

.toast-fade-enter-active,
.toast-fade-leave-active {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast-fade-enter-from,
.toast-fade-leave-to {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
}

.language-fade-enter-active,
.language-fade-leave-active {
    transition: opacity 0.18s ease;
}

.language-fade-enter-from,
.language-fade-leave-to {
    opacity: 0;
}

@media (max-width: 720px) {
    .quotation-order-head {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .quotation-order-side,
    .quotation-order-profit {
        text-align: left;
    }

    .goods-shell {
        width: 100%;
        max-width: none;
    }

    .page-body.narrow {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-banner {
        padding-bottom: 42%;
    }

    .market-head,
    .market-row {
        padding-left: 16px;
        padding-right: 16px;
    }

    .grid-row {
        grid-template-columns: 1.15fr 0.95fr 0.95fr;
        gap: 10px;
    }

    .language-overlay {
        padding: 10px 0 0;
        align-items: flex-start;
    }

    .language-sheet {
        width: 100%;
        max-height: calc(100vh - 10px);
        border-radius: 24px 24px 0 0;
    }

    .language-option {
        grid-template-columns: 44px 1fr auto;
        gap: 14px;
        padding: 18px 18px;
    }

    .language-flag {
        font-size: 1.7rem;
    }

    .language-name {
        font-size: 1rem;
    }

    .exchange-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .exchange-col,
    .exchange-col.align-right {
        align-items: center;
        text-align: center;
    }

    .profile-stats {
        grid-template-columns: 1fr 1fr;
    }

    .profile-divider {
        display: none;
    }

    .goods-topbar {
        height: 76px;
    }

    .goods-price {
        font-size: 2rem;
    }

    .goods-stats-grid {
        gap: 10px;
    }

    .goods-reading-row {
        grid-template-columns: 70px repeat(4, 1fr);
        font-size: 0.82rem;
    }

    .goods-chart-svg {
        height: 280px;
    }

    .goods-volume-svg {
        height: 132px;
    }

    .goods-action-call,
    .goods-action-put {
        min-height: 60px;
        font-size: 1.1rem;
    }

    .withdraw-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .withdraw-summary strong {
        font-size: 1.75rem;
    }

    .withdraw-history-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .withdraw-history-side {
        text-align: left;
    }
}
