:root {
    --ink: #071d26;
    --muted: #7c8a8f;
    --soft: #f5f7f8;
    --line: #edf1f2;
    --cyan: #7fe3ef;
    --cyan-deep: #3ebfd0;
    --blue: #2f76ee;
    --danger: #ee4778;
    --ok: #16a075;
    --card: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: #eef3f4;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    font-size: 16px;
}

.phone {
    width: min(100%, 480px);
    min-height: 100vh;
    margin: 0 auto;
    background: #fff;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 112px;
}

.page {
    padding: 18px 20px 0;
}

.wallet-top {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #eefbff 0 18%, #8eeaf4 19% 37%, #e97fd3 38% 100%);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.7);
}

.avatar-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.88), 0 6px 16px rgba(7, 29, 38, .12);
}

.search {
    height: 44px;
    border-radius: 28px;
    background: var(--soft);
    color: #b7c0c4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    font-size: 15px;
}

.wallet-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}

.wallet-search input::placeholder {
    color: #aab5ba;
}

.circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--ink);
    border: 0;
}

.wallet-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #657376;
    font-size: 16px;
    margin-top: 30px;
}

.balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 14px;
}

.balance-main {
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.primary-btn {
    border: 0;
    background: var(--cyan);
    color: var(--ink);
    min-height: 44px;
    padding: 0 22px;
    border-radius: 28px;
    font-weight: 850;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pill-actions {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pill-actions::-webkit-scrollbar {
    display: none;
}

.pill {
    border-radius: 28px;
    background: var(--soft);
    min-height: 54px;
    padding: 0 18px;
    flex: 0 0 auto;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
}

.mini-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 900;
}

.promo-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(156px, 1fr);
    gap: 12px;
    overflow-x: auto;
    margin-top: 22px;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.promo-scroll::-webkit-scrollbar {
    display: none;
}

.promo-card {
    min-height: 122px;
    border-radius: 20px;
    background: var(--soft);
    padding: 18px;
}

.reward-card {
    min-width: 122px;
    background: #f6f8f9;
}

.finance-account-card {
    min-width: 122px;
    background: linear-gradient(145deg, #f4fbfc 0%, #f6f8f9 100%);
}

.promo-icon {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    background: #d7f4c2;
    margin-bottom: 20px;
    position: relative;
}

.promo-icon.wallet {
    background: #ffe0bc;
}

.promo-icon.doc {
    background: #bdeaff;
}

.promo-icon.reward {
    background: #cfeec2;
    border-radius: 50%;
}

.promo-icon.reward::after {
    content: "";
    width: 18px;
    height: 10px;
    border-radius: 0 0 12px 12px;
    background: #fff;
    position: absolute;
    left: 10px;
    top: 14px;
}

.promo-icon.finance-account {
    background: #c9f3d0;
    border-radius: 50%;
}

.promo-icon.finance-account::before,
.promo-icon.finance-account::after {
    content: "";
    position: absolute;
    background: #fff;
}

.promo-icon.finance-account::before {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    left: 10px;
    top: 8px;
}

.promo-icon.finance-account::after {
    width: 21px;
    height: 8px;
    border-radius: 10px 10px 4px 4px;
    left: 8px;
    top: 23px;
}

.promo-title {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 6px;
}

.promo-strong {
    font-weight: 850;
    font-size: 17px;
}

.promo-lines {
    display: grid;
    gap: 2px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.promo-lines span {
    white-space: nowrap;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 14px;
    font-size: 16px;
    color: #6c797d;
}

.section-head strong {
    color: var(--ink);
}

.coin-list {
    display: grid;
    gap: 18px;
}

.coin-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.coin-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.35);
}

.coin-icon em {
    font-style: normal;
    line-height: 1;
}

.coin-btc { background: linear-gradient(135deg, #f7b733, #f7931a); }
.coin-eth { background: linear-gradient(135deg, #8c9eff, #5b6fe8); }
.coin-usdt { background: linear-gradient(135deg, #6bc7b0, #26a17b); }
.coin-usdc { background: linear-gradient(135deg, #6fa2ff, #2775ca); }
.coin-bnb { background: linear-gradient(135deg, #ffd66b, #f0b90b); color: #18222b; }
.coin-xrp { background: linear-gradient(135deg, #4b5563, #111827); }
.coin-sol { background: linear-gradient(135deg, #00ffa3, #9945ff); }
.coin-trx { background: linear-gradient(135deg, #ff6b7a, #eb0029); }
.coin-doge { background: linear-gradient(135deg, #d9c169, #ba9f33); color: #18222b; }
.coin-ada { background: linear-gradient(135deg, #5a8bff, #0033ad); }
.coin-hype { background: linear-gradient(135deg, #66e2b8, #064e3b); }
.coin-bch { background: linear-gradient(135deg, #a3d977, #4cca47); }
.coin-link { background: linear-gradient(135deg, #5c7dff, #2a5ada); }
.coin-sui { background: linear-gradient(135deg, #b7e8ff, #6fbcf0); color: #0a2633; }
.coin-xlm { background: linear-gradient(135deg, #344054, #101828); }
.coin-leo { background: linear-gradient(135deg, #33d2b7, #0f766e); }
.coin-wbt { background: linear-gradient(135deg, #77a6ff, #2563eb); }
.coin-avax { background: linear-gradient(135deg, #ff7a7a, #e84142); }
.coin-ton { background: linear-gradient(135deg, #59c3ff, #2f9ae0); }
.coin-hbar { background: linear-gradient(135deg, #4b5563, #111827); }
.coin-ltc { background: linear-gradient(135deg, #c8d0d9, #8f9bad); color: #18222b; }
.coin-arb { background: linear-gradient(135deg, #2d374b, #111827); }

.coin-icon-image,
.mini-coin.coin-icon-image,
.feature-coin.coin-icon-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
}

.coin-symbol {
    font-size: 20px;
    font-weight: 850;
}

.coin-meta,
.coin-fiat {
    color: var(--muted);
    margin-top: 4px;
    font-size: 14px;
}

.coin-amount {
    text-align: right;
    font-weight: 850;
    font-size: 20px;
}

.earn-strip {
    margin: 8px 0 16px;
    border-radius: 16px;
    background: #f0feff;
    color: #3aa0bb;
    padding: 13px 16px;
    font-weight: 850;
    display: flex;
    justify-content: space-between;
}

.tabbar {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(420px, calc(100% - 36px));
    height: 66px;
    border-radius: 33px;
    background: rgba(248, 252, 253, .92);
    box-shadow: 0 16px 42px rgba(10, 30, 40, .13), inset 0 0 0 1px rgba(255,255,255,.85);
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 20;
}

.tab {
    text-align: center;
    color: #9aa4a8;
    font-size: 12px;
}

.tab i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #c9d1d4;
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 5px;
    font-style: normal;
    font-weight: 850;
}

.tab.active {
    color: var(--ink);
    font-weight: 850;
}

.tab.active i {
    background: var(--ink);
}

.tab.center i {
    width: 54px;
    height: 54px;
    margin-top: -20px;
    background: var(--cyan);
    color: var(--ink);
    font-size: 25px;
}

.sub-top {
    min-height: 320px;
    padding: 18px 22px 28px;
    background:
        radial-gradient(circle at 78% 28%, rgba(127,227,239,.9) 0 13%, rgba(127,227,239,.25) 14% 22%, transparent 23%),
        linear-gradient(135deg, #fff 0%, #fff 48%, #f4f7f8 100%);
    position: relative;
}

.finance-hero {
    min-height: 340px;
    padding: 18px 20px 34px;
    background:
        radial-gradient(circle at 78% 30%, rgba(127,227,239,.9) 0 12%, rgba(127,227,239,.25) 13% 21%, transparent 22%),
        linear-gradient(135deg, #fff 0%, #fff 48%, #f4f7f8 100%);
    position: relative;
    overflow: hidden;
}

.finance-hero-copy {
    margin-top: 42px;
    max-width: 300px;
    position: relative;
    z-index: 2;
}

.finance-hero-copy p {
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 14px;
}

.finance-hero-copy h1 {
    font-size: 42px;
    line-height: 1.08;
    margin: 0;
    letter-spacing: 0;
}

.sub-nav {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    margin-top: 20px;
    min-height: 48px;
}

.sub-nav .circle-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    font-size: 18px;
    background: #f6f8f9;
    box-shadow: none;
}

.sub-title {
    text-align: center;
    font-size: 22px;
    font-weight: 900;
}

.hero-copy {
    margin-top: 56px;
}

.hero-copy p {
    font-size: 20px;
    margin: 0 0 12px;
}

.hero-copy h1 {
    font-size: 42px;
    line-height: 1.05;
    margin: 0;
    letter-spacing: 0;
}

.coin-3d {
    position: absolute;
    right: 28px;
    top: 132px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #dfffff, #71e5ee 55%, #20aabc);
    box-shadow: 0 14px 0 #31c4cf, 0 22px 30px rgba(0,0,0,.16);
    display: grid;
    place-items: center;
    font-size: 44px;
    font-weight: 300;
    color: #15909b;
}

.finance-body {
    padding: 0 20px;
    margin-top: -18px;
    position: relative;
    z-index: 3;
}

.learn {
    border-radius: 22px;
    background: #f4f8fc;
    color: #2d72e8;
    padding: 14px 16px;
    font-weight: 800;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-card {
    border-radius: 28px;
    background: #e9fdff;
    padding: 26px 24px;
    min-height: 244px;
    position: relative;
    overflow: hidden;
}

.product-link-card {
    display: block;
    color: var(--ink);
}

.feature-coin {
    position: absolute;
    right: 34px;
    top: 94px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    font-size: 28px;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 24px rgba(26, 187, 200, .22);
}

.feature-card h2 {
    margin: 0 0 34px;
    font-size: 21px;
}

.apy {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 22px;
}

.apy span {
    font-weight: 300;
}

.tag {
    display: inline-flex;
    border-radius: 8px;
    background: #b9ff70;
    padding: 2px 7px;
    font-weight: 900;
    font-style: italic;
    margin-left: 6px;
}

.feature-card .primary-btn {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 116px;
    max-width: 116px;
    min-height: 54px;
    padding: 0;
    border-radius: 28px;
    white-space: nowrap;
    z-index: 2;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0;
}

.small-product {
    min-height: 158px;
    border-radius: 22px;
    background: #f8f5ff;
    padding: 20px 18px;
    position: relative;
    overflow: hidden;
    color: var(--ink);
    display: block;
}

.small-product:nth-child(even) {
    background: #effeff;
}

.small-product strong {
    display: block;
    font-size: 21px;
    line-height: 1.15;
    white-space: nowrap;
}

.small-product p {
    margin: 22px 0 0;
}

.small-product p.muted {
    margin-top: 18px;
    font-size: 14px;
}

.mini-coin {
    position: absolute;
    right: 24px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.earn-section {
    border-radius: 24px;
    background: var(--soft);
    padding: 22px 20px;
    margin: 18px 0 22px;
}

.earn-section h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.earn-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 72px;
    padding: 13px 0;
    color: var(--ink);
}

.earn-row + .earn-row {
    border-top: 1px solid var(--line);
}

.earn-symbol {
    color: var(--muted);
    font-size: 18px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.earn-apy {
    text-align: right;
}

.earn-apy strong {
    display: block;
    font-size: 20px;
}

.earn-apy span {
    color: var(--muted);
}

.panel {
    border-radius: 24px;
    background: var(--soft);
    padding: 20px;
    margin: 18px 0;
}

.panel h2,
.panel h3 {
    margin-top: 0;
}

.form {
    display: grid;
    gap: 14px;
}

.form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 14px;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    border: 0;
    background: #fff;
    border-radius: 16px;
    min-height: 48px;
    padding: 0 15px;
    color: var(--ink);
}

.form textarea {
    min-height: 112px;
    padding-top: 14px;
}

.notice {
    border-radius: 18px;
    background: #f0feff;
    padding: 14px 16px;
    color: #3b9db2;
}

.alert {
    border-radius: 16px;
    padding: 13px 15px;
    margin: 12px 0;
    background: #f0feff;
    color: #227d8c;
}

.alert.error {
    background: #fff0f4;
    color: var(--danger);
}

.alert.success {
    background: #edfff8;
    color: var(--ok);
}

.codebox {
    word-break: break-all;
    border-radius: 16px;
    background: #fff;
    padding: 14px;
    color: var(--ink);
    border: 1px dashed #d8e3e5;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    border-bottom: 1px solid var(--line);
    padding: 12px 8px;
    text-align: left;
    vertical-align: top;
}

.table th {
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.admin-shell {
    width: min(1180px, 100% - 24px);
    margin: 0 auto;
    padding: 22px 0 50px;
}

.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-nav a {
    background: #fff;
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--ink);
}

.admin-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    margin: 14px 0;
    overflow-x: auto;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.admin-form-actions,
.admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-actions .inline-form {
    margin: 0;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-row input {
    width: auto;
    min-height: auto;
}

.address-cell {
    max-width: 320px;
    word-break: break-all;
}

.primary-btn.ghost-btn {
    background: #f6f8f9;
    color: var(--ink);
}

.primary-btn.danger-btn {
    background: var(--danger);
    color: #fff;
}

.danger-btn {
    background: var(--danger);
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.muted {
    color: var(--muted);
}

.lang-switch {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0 4px;
    margin: 4px 0 8px;
    scrollbar-width: none;
}

.lang-switch::-webkit-scrollbar {
    display: none;
}

.lang-switch a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #f4f7f8;
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(7, 29, 38, .04);
}

.lang-switch a.active {
    background: var(--cyan);
    color: var(--ink);
    font-weight: 850;
}

.finance-list-page .lang-switch {
    margin: 0 0 10px;
    padding-top: 4px;
}

.auth-panel {
    margin-top: 42px;
}

.search-icon {
    font-size: 28px;
    line-height: 1;
}

.profile-actions {
    display: grid;
    gap: 12px;
}

.profile-dashboard {
    display: grid;
    gap: 16px;
    padding-bottom: 18px;
}

.profile-block {
    border-radius: 24px;
    background: var(--soft);
    padding: 20px;
    overflow: hidden;
}

.profile-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 900;
}

.profile-block-head a,
.profile-block-head strong {
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--cyan);
    color: var(--ink);
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.profile-account {
    font-size: 19px;
    font-weight: 900;
    word-break: break-all;
    margin-bottom: 18px;
}

.profile-avatar-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.profile-avatar-preview {
    width: 68px;
    height: 68px;
    font-size: 24px;
}

.profile-avatar-copy {
    min-width: 0;
}

.profile-avatar-copy .profile-account {
    margin-bottom: 10px;
}

.avatar-upload-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.avatar-upload-form label {
    width: 92px;
    height: 44px;
    min-height: 44px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px rgba(7, 29, 38, .06);
    cursor: pointer;
}

.avatar-upload-form .primary-btn.compact {
    width: 92px;
    height: 44px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    justify-content: center;
    white-space: nowrap;
}

.avatar-upload-form input[type="file"] {
    display: none;
}

.avatar-tip {
    margin: 8px 0 0;
    font-size: 12px;
}

.vip-block {
    background: linear-gradient(135deg, #f4fbfc 0%, #eefeff 100%);
}

.vip-progress {
    height: 10px;
    border-radius: 999px;
    background: #dce7ea;
    overflow: hidden;
}

.vip-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-deep));
}

.vip-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0 8px;
    color: var(--muted);
    font-size: 14px;
}

.profile-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.profile-actions-row a {
    min-height: 38px;
    border-radius: 999px;
    background: #fff;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(7, 29, 38, .05);
}

.trial-profile-block {
    background: #eafcff;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.metric-grid div {
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    padding: 14px 12px;
    min-width: 0;
}

.metric-grid label,
.calc-fields label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.metric-grid strong {
    display: block;
    font-size: 16px;
    line-height: 1.25;
    word-break: break-word;
}

.real-total {
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 18px;
}

.asset-mini-rows {
    display: grid;
    gap: 10px;
}

.asset-mini-rows div {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border-radius: 18px;
    background: #fff;
    padding: 12px;
}

.coin-icon.mini {
    width: 34px;
    height: 34px;
    font-size: 14px;
}

.asset-mini-rows strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asset-mini-rows em {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.asset-mini-rows b {
    grid-column: 2 / -1;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.profit-mini-list {
    display: grid;
    gap: 10px;
}

.profit-mini-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    border-radius: 18px;
    background: #fff;
    padding: 13px 14px;
}

.profit-mini-list span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profit-mini-list strong {
    color: var(--ok);
}

.profit-mini-list em {
    grid-column: 1 / -1;
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.empty-state {
    border-radius: 18px;
    background: #fff;
    color: var(--muted);
    padding: 16px;
}

.redeem-panel h2 {
    margin-bottom: 14px;
}

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

.redeem-card {
    border-radius: 18px;
    background: #fff;
    padding: 14px;
    display: grid;
    gap: 12px;
}

.redeem-card strong {
    display: block;
    font-size: 16px;
    line-height: 1.25;
}

.redeem-card span {
    display: block;
    color: var(--muted);
    margin-top: 5px;
    font-size: 13px;
}

.redeem-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}

.redeem-form input {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
    border: 0;
    border-radius: 15px;
    background: var(--soft);
    padding: 0 12px;
    outline: none;
    color: var(--ink);
}

.history-panel {
    overflow-x: auto;
}

.calc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 88px;
    gap: 10px;
}

.calc-fields input {
    width: 100%;
    min-height: 46px;
    font-size: 16px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    padding: 0 12px;
    color: var(--ink);
    outline: none;
    box-shadow: inset 0 0 0 1px #d8e3e5;
}

.calc-output {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    border-radius: 18px;
    background: #eafcff;
    padding: 15px;
}

.calc-output span {
    color: var(--muted);
}

.calc-output strong {
    font-size: 18px;
}

.market-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.market-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    background: var(--soft);
    border-radius: 22px;
    padding: 15px;
}

.market-detail {
    text-align: center;
}

.coin-icon.big {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    font-size: 30px;
}

.market-price {
    font-size: 36px;
    font-weight: 900;
    margin: 16px 0 6px;
}

.market-change {
    font-size: 22px;
    font-weight: 850;
    margin-bottom: 18px;
}

.market-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 18px 0;
}

.primary-btn.secondary {
    background: #eff6f7;
}

.finance-list {
    padding: 20px;
}

.product-buy {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.product-page {
    width: min(100%, 480px);
    min-height: 100vh;
    margin: 0 auto;
    background: #fff;
    padding: 18px 22px 154px;
}

.product-nav {
    margin-bottom: 22px;
}

.circle-btn.ghost {
    background: transparent;
}

.sub-nav .circle-btn.ghost {
    background: #f6f8f9;
}

.product-head {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
}

.product-logo {
    width: 52px;
    height: 52px;
    font-size: 22px;
}

.product-head h1 {
    margin: 0 0 6px;
    font-size: 24px;
}

.product-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.product-head-apy {
    text-align: right;
}

.product-head-apy strong {
    display: block;
    font-size: 26px;
}

.product-head-apy span {
    color: var(--muted);
}

.rate-line {
    display: flex;
    justify-content: flex-end;
    gap: 140px;
    color: var(--muted);
    border-bottom: 4px solid var(--cyan-deep);
    padding: 58px 0 8px;
    margin: 0 -22px 0;
    padding-right: 0;
}

.period-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
    gap: 10px;
    margin: 190px 0 32px;
    color: var(--muted);
    text-align: center;
    font-size: 16px;
}

.period-tabs a {
    padding: 8px 0;
    border-radius: 999px;
    color: var(--muted);
}

.period-tabs .active {
    color: var(--ink);
    background: var(--soft);
    font-weight: 900;
}

.product-info {
    margin: 28px 0;
}

.product-info h2 {
    margin: 0 0 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
}

.info-grid label {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
}

.info-grid strong {
    font-size: 18px;
    line-height: 1.35;
}

.info-grid .wide {
    grid-column: 1 / -1;
}

.subscribe-box {
    margin-top: 28px;
}

.subscribe-box p {
    color: var(--muted);
    text-align: center;
    margin: 24px 0;
}

.subscribe-fields {
    display: grid;
    grid-template-columns: 1fr 128px;
    gap: 12px;
    margin-bottom: 14px;
}

.subscribe-fields label {
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.subscribe-fields input,
.subscribe-fields select {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    background: var(--soft);
    padding: 0 14px;
    outline: none;
}

.subscribe-submit {
    width: 100%;
    min-height: 66px;
    border-radius: 34px;
    font-size: 18px;
    position: sticky;
    bottom: 18px;
    z-index: 5;
    box-shadow: 0 12px 28px rgba(35, 190, 205, .28);
}

.product-next-box {
    padding-top: 4px;
}

.subscribe-page {
    width: min(100%, 480px);
    min-height: 100vh;
    margin: 0 auto;
    background: #fff;
    padding: 18px 22px 34px;
}

.amount-subscribe-form {
    display: block;
}

.balance-pill {
    width: max-content;
    max-width: 100%;
    min-height: 72px;
    margin: 34px auto 0;
    padding: 8px 10px 8px 8px;
    border-radius: 40px;
    background: var(--soft);
    display: flex;
    align-items: center;
    gap: 14px;
}

.balance-pill strong {
    font-size: 24px;
    white-space: nowrap;
}

.balance-add {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e2ecef;
    display: grid;
    place-items: center;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.amount-display {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.amount-display input {
    width: min(260px, 58vw);
    border: 0;
    border-left: 4px solid var(--cyan);
    outline: none;
    background: transparent;
    color: #849193;
    font-size: 72px;
    line-height: 1;
    font-weight: 900;
    text-align: right;
    padding: 0 0 0 12px;
    letter-spacing: 0;
}

.amount-display input::placeholder {
    color: #849193;
    opacity: .75;
}

.amount-display span {
    color: #849193;
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
}

.subscribe-protocol-card {
    border-radius: 26px;
    background: var(--soft);
    padding: 24px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.subscribe-protocol-card label {
    display: block;
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 3px;
}

.subscribe-protocol-card strong {
    display: block;
    font-size: 24px;
    line-height: 1.25;
}

.subscribe-protocol-card em {
    display: block;
    color: var(--muted);
    font-style: normal;
    margin-top: 6px;
    line-height: 1.35;
}

.source-switch {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 16px 0 10px;
}

.source-switch button,
.percent-grid button {
    border: 1px solid #dbe6e8;
    border-radius: 18px;
    background: #fff;
    color: var(--ink);
    min-height: 54px;
    padding: 0 12px;
    font-weight: 900;
    cursor: pointer;
}

.source-switch button {
    display: grid;
    gap: 2px;
    text-align: left;
}

.source-switch button span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-switch button.active,
.percent-grid button:active {
    border-color: transparent;
    background: var(--cyan);
}

.subscribe-limit-hint {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    margin: 10px 2px 18px;
}

.percent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.percent-grid button {
    min-height: 58px;
    border-radius: 16px;
    font-size: 22px;
}

.keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
    margin: 42px 0 28px;
}

.keypad-grid button {
    border: 0;
    background: #fff;
    color: var(--ink);
    min-height: 56px;
    font-size: 34px;
    font-weight: 900;
    cursor: pointer;
}

.amount-subscribe-form .subscribe-submit {
    margin-top: 8px;
}

.amount-subscribe-form .subscribe-submit:disabled {
    opacity: .48;
    cursor: default;
    box-shadow: none;
}

/* Finance product and subscribe pages */
.product-page,
.subscribe-page {
    padding-bottom: 150px;
}

.product-page .subscribe-submit,
.subscribe-page .subscribe-submit {
    bottom: 94px;
}

.subscribe-page {
    padding-top: 14px;
}

.subscribe-page .product-nav {
    margin-top: 6px;
    margin-bottom: 6px;
}

.subscribe-page .sub-title {
    font-size: 24px;
}

.subscribe-page .lang-switch {
    margin: 0 0 8px;
    padding: 4px 0;
}

.subscribe-page .lang-switch a {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
}

.subscribe-page .balance-pill {
    min-height: 60px;
    margin-top: 12px;
    padding: 7px 9px 7px 7px;
    gap: 11px;
    box-shadow: inset 0 0 0 1px rgba(7, 29, 38, .03);
}

.subscribe-page .balance-pill .product-logo {
    width: 46px;
    height: 46px;
    font-size: 18px;
}

.subscribe-page .balance-pill strong {
    font-size: 21px;
}

.subscribe-page .balance-add {
    width: 40px;
    height: 40px;
    font-size: 29px;
}

.subscribe-page .amount-display {
    min-height: 190px;
    gap: 8px;
}

.subscribe-page .amount-display input {
    width: min(230px, 54vw);
    font-size: clamp(54px, 14vw, 76px);
    border-left-width: 3px;
    padding-left: 9px;
}

.subscribe-page .amount-display span {
    font-size: clamp(42px, 11vw, 62px);
}

.subscribe-page .subscribe-protocol-card {
    border-radius: 22px;
    padding: 16px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
}

.subscribe-page .subscribe-protocol-card .product-logo {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.subscribe-page .subscribe-protocol-card label {
    font-size: 14px;
    margin-bottom: 2px;
}

.subscribe-page .subscribe-protocol-card strong {
    font-size: 21px;
    line-height: 1.2;
}

.subscribe-page .subscribe-protocol-card em {
    margin-top: 4px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subscribe-page .source-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 12px 0 8px;
}

.subscribe-page .source-switch button {
    min-height: 48px;
    border-radius: 15px;
    padding: 0 11px;
    font-size: 14px;
}

.subscribe-page .source-switch button:only-child {
    grid-column: 1 / -1;
}

.subscribe-page .subscribe-limit-hint {
    margin: 6px 2px 12px;
    font-size: 12px;
    line-height: 1.3;
}

.subscribe-page .percent-grid {
    gap: 9px;
}

.subscribe-page .percent-grid button {
    min-height: 48px;
    border-radius: 15px;
    font-size: 19px;
}

.subscribe-page .keypad-grid {
    gap: 16px 24px;
    margin: 22px 0 16px;
}

.subscribe-page .keypad-grid button {
    min-height: 48px;
    font-size: 31px;
}

.subscribe-page .amount-subscribe-form .subscribe-submit {
    min-height: 58px;
    border-radius: 30px;
}

.product-buy:last-child {
    border-bottom: 0;
}

.product-name {
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.buy-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 8px;
    margin-top: 9px;
}

.buy-controls input,
.buy-controls select,
.inline-form input,
.inline-form select,
.market-edit input {
    width: 100%;
    min-height: 38px;
    font-size: 16px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    padding: 0 10px;
    color: var(--ink);
    outline: none;
    box-shadow: inset 0 0 0 1px #d8e3e5;
}

.primary-btn.compact {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 22px;
    font-size: 14px;
}

.inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.market-edit {
    display: grid;
    grid-template-columns: 90px 70px 92px 56px auto;
    min-width: 390px;
}

.coin-edit {
    grid-template-columns: 90px 70px 92px 56px 160px auto;
    min-width: 610px;
}

.user-trial-form {
    display: grid;
    grid-template-columns: 110px 76px auto;
    min-width: 290px;
}

.product-edit,
.term-edit {
    display: grid;
    grid-template-columns: repeat(6, minmax(90px, 1fr)) auto auto;
    min-width: 830px;
}

.product-edit label,
.term-edit label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-edit {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 18px;
}

.meta-edit h4 {
    grid-column: 1 / -1;
    margin: 0;
}

.right {
    text-align: right;
}

.red {
    color: var(--danger);
}

.green {
    color: var(--ok);
}

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

.admin-nav a {
    position: relative;
}

.admin-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    margin-left: 6px;
}

.auth-shell {
    min-height: 100vh;
    background: #fff;
    padding-bottom: 28px;
}

.auth-hero {
    min-height: 430px;
    padding: 22px 26px 28px;
    background: linear-gradient(180deg, #64dce6 0%, #7ee9ef 58%, #fff 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.auth-hero.compact {
    min-height: 310px;
}

.auth-bubbles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.42) 0 10px, transparent 11px);
    background-size: 54px 54px;
    opacity: .75;
}

.auth-hero h1,
.auth-hero p,
.auth-gift,
.auth-card-visual,
.auth-rate {
    position: relative;
    z-index: 1;
}

.auth-hero h1 {
    margin: 20px 0 8px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 950;
}

.auth-hero p {
    margin: 0;
    font-size: 19px;
    font-weight: 850;
}

.auth-gift {
    width: fit-content;
    margin: 24px auto 20px;
    border-radius: 999px;
    background: #c7fb73;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    font-weight: 850;
}

.auth-gift strong {
    display: block;
    font-size: 26px;
    line-height: 1.1;
}

.auth-gift-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #5398f6;
    position: relative;
}

.auth-gift-icon::before,
.auth-gift-icon::after {
    content: "";
    position: absolute;
    background: #d8ecff;
}

.auth-gift-icon::before {
    width: 5px;
    height: 42px;
    left: 18px;
    top: 0;
}

.auth-gift-icon::after {
    width: 42px;
    height: 5px;
    left: 0;
    top: 17px;
}

.auth-card-visual {
    width: min(300px, 82%);
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: #082530;
    transform: rotate(0deg);
    box-shadow: 0 22px 36px rgba(7,29,38,.18);
    position: relative;
}

.auth-card-visual i {
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 22px;
    background: #76e7ef;
    right: 42px;
    top: 30px;
    clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%, 50% 50%);
}

.auth-card-visual b {
    position: absolute;
    left: 26px;
    top: 70px;
    width: 28px;
    height: 22px;
    border-radius: 5px;
    background: #d9dde0;
}

.auth-rate {
    color: #64757b;
    font-size: 16px;
}

.auth-rate strong {
    color: var(--ink);
}

.auth-form-card {
    padding: 24px 26px;
}

.auth-form-card h2 {
    margin: 0 0 18px;
    font-size: 26px;
}

.auth-form-card .form {
    gap: 16px;
}

.auth-form-card .form label {
    color: #6f7f84;
    font-size: 14px;
    font-weight: 650;
    gap: 8px;
}

.auth-form-card .form input {
    min-height: 54px;
    border-radius: 18px;
    background: #f5f8f9;
    box-shadow: inset 0 0 0 1px #e0e8ea;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 650;
}

.auth-form-card .form input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--cyan-deep), 0 8px 18px rgba(62,191,208,.12);
}

.auth-form-card .primary-btn.wide {
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    border-radius: 30px;
    font-size: 16px;
}

.auth-form-card .form + .auth-alt-btn {
    margin-top: 16px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    margin: 22px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: var(--line);
    flex: 1;
}

.auth-alt-btn {
    min-height: 56px;
    border-radius: 18px;
    background: #eefdff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
    padding: 0 16px;
    text-align: center;
}

.mnemonic-page {
    min-height: 100vh;
    padding: 32px 22px 130px;
    background: #fff;
}

.mnemonic-back {
    display: inline-flex;
    font-size: 46px;
    line-height: 1;
    margin-bottom: 42px;
}

.mnemonic-page h1 {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 950;
}

.mnemonic-page p {
    color: #5f6d72;
    font-size: 18px;
    line-height: 1.75;
    margin: 0 0 32px;
}

.mnemonic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mnemonic-grid div {
    min-height: 76px;
    border-radius: 18px;
    background: var(--soft);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
}

.mnemonic-grid span,
.mnemonic-question > div:first-child span {
    color: #7b8b90;
    font-size: 22px;
}

.mnemonic-grid strong,
.mnemonic-question strong {
    font-size: 22px;
    font-weight: 700;
}

.mnemonic-grid.hidden-words strong {
    color: transparent;
    text-shadow: 0 0 12px rgba(7,29,38,.45);
}

.mnemonic-hide {
    margin: 28px 0 0 auto;
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid #dbe5e7;
    background: #fff;
    padding: 0 20px;
    display: block;
    font-weight: 850;
}

.mnemonic-bottom {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: min(420px, calc(100% - 44px));
    min-height: 62px;
    font-size: 20px;
}

.mnemonic-verify-form {
    display: grid;
    gap: 28px;
}

.mnemonic-question > div:first-child {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.mnemonic-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mnemonic-choice-grid input {
    display: none;
}

.mnemonic-choice-grid span {
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid #dbe5e7;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 850;
}

.mnemonic-choice-grid input:checked + span {
    background: var(--cyan);
    border-color: var(--cyan);
}

.kyc-screen {
    padding-bottom: 96px;
}

.kyc-panel {
    background: #f6f8f9;
    border-radius: 22px;
    padding: 20px;
}

.kyc-head h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.kyc-head p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.55;
}

.kyc-form {
    gap: 16px;
}

.kyc-form .form input,
.kyc-form .form select {
    background: #fff;
}

.kyc-form input,
.kyc-form select {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 16px;
    min-height: 50px;
    font-size: 16px;
}

.kyc-form input:focus,
.kyc-form select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(126,227,239,.2);
    outline: 0;
}

.kyc-section-title {
    color: var(--ink);
    font-weight: 900;
    font-size: 16px;
    margin-top: 4px;
}

.kyc-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.kyc-country-extra {
    display: none;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: #edfafa;
}

.kyc-country-extra.active {
    display: grid;
}

.kyc-upload-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.kyc-upload-card {
    position: relative;
    min-height: 112px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #dfe8eb;
    padding: 16px;
    display: grid;
    align-content: center;
    gap: 10px;
    color: var(--ink);
    cursor: pointer;
}

.kyc-upload-card.hidden {
    display: none;
}

.kyc-upload-card input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.kyc-upload-card span {
    color: var(--muted);
    font-size: 13px;
}

.kyc-upload-card strong {
    color: var(--ink);
    font-size: 15px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kyc-status {
    border-radius: 16px;
    background: #fff;
    padding: 14px 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    font-weight: 850;
}

.kyc-status.pending span {
    color: #d97706;
}

.kyc-status.approved span {
    color: var(--ok);
}

.kyc-status.rejected span {
    color: var(--danger);
}

@media (max-width: 430px) {
    .kyc-two,
    .kyc-upload-grid {
        grid-template-columns: 1fr;
    }
}

.swap-page {
    min-height: 100vh;
}

.swap-top {
    grid-template-columns: 48px 1fr 48px;
}

.swap-top .circle-btn,
.swap-top .avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: #f6f8f9;
    box-shadow: none;
}

.swap-top h1 {
    margin: 0;
    text-align: center;
    font-size: 26px;
}

.swap-form {
    margin-top: 48px;
    position: relative;
}

.swap-card {
    min-height: 170px;
    border-radius: 28px;
    background: var(--soft);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.swap-card input,
.swap-card .swap-receive {
    border: 0;
    background: transparent;
    font-size: 46px;
    font-weight: 850;
    color: #738287;
    width: 100%;
    outline: none;
}

.swap-card label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 850;
}

.swap-card select {
    border: 0;
    background: transparent;
    font-size: 22px;
    font-weight: 850;
    max-width: 120px;
}

.swap-balance,
.swap-card .muted {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 16px;
}

.swap-switch {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 8px solid #fff;
    background: var(--soft);
    display: grid;
    place-items: center;
    margin: -18px auto;
    position: relative;
    z-index: 2;
    font-size: 26px;
    font-weight: 950;
    color: var(--ink);
}

.swap-submit {
    width: 100%;
    margin-top: 28px;
    min-height: 62px;
    font-size: 20px;
}

@media (max-width: 360px) {
    .page,
    .finance-body,
    .sub-top {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wallet-top {
        grid-template-columns: 40px 1fr 40px;
        gap: 10px;
    }

    .avatar,
    .circle-btn {
        width: 40px;
        height: 40px;
    }

    .sub-nav .circle-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .swap-top .circle-btn,
    .swap-top .avatar {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .balance-main {
        font-size: 36px;
    }

    .primary-btn {
        padding: 0 16px;
    }

    .finance-hero-copy h1,
    .hero-copy h1 {
        font-size: 36px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-buy {
        grid-template-columns: 44px 1fr;
    }

    .product-buy .primary-btn {
        grid-column: 2;
        width: 100%;
    }

    .buy-controls {
        grid-template-columns: 1fr;
    }

    .vip-meta,
    .metric-grid,
    .calc-fields {
        grid-template-columns: 1fr;
    }

    .real-total {
        font-size: 30px;
    }

    .profile-avatar-row {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
    }

    .profile-avatar-preview {
        width: 56px;
        height: 56px;
    }

    .avatar-upload-form {
        display: flex;
        grid-template-columns: none;
    }

    .subscribe-page,
    .product-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .amount-display {
        min-height: 240px;
    }

    .amount-display input {
        width: min(210px, 54vw);
        font-size: 54px;
    }

    .amount-display span {
        font-size: 44px;
    }

    .balance-pill strong,
    .subscribe-protocol-card strong {
        font-size: 20px;
    }

    .percent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .keypad-grid {
        gap: 18px 18px;
    }

}
