.wallet-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin:8px 0 22px; }
.wallet-heading h1 { margin:7px 0; }
.wallet-heading p { margin:0; color:var(--muted,#999); }
.wallet-network-pill { display:inline-flex; align-items:center; border:1px solid rgba(139,104,210,.35); border-radius:999px; padding:8px 12px; color:#bca7e8; font-size:10px; font-weight:800; letter-spacing:1px; white-space:nowrap; }
.wallet-panel { max-width:780px; padding:24px; }
.wallet-panel-top { display:flex; align-items:center; gap:16px; margin-bottom:22px; }
.wallet-symbol { display:grid; place-items:center; flex:0 0 56px; height:56px; border-radius:16px; background:linear-gradient(145deg,#8a5ce1,#49328a); color:white; font-size:29px; }
.wallet-panel-top small { color:#a58bcf; font-size:10px; letter-spacing:1.2px; font-weight:800; }
.wallet-panel-top h2 { margin:5px 0; }
.wallet-panel-top p { margin:0; color:var(--muted,#999); font-size:12px; line-height:1.5; }
.wallet-connect-slot { margin:12px 0; }
.wallet-connect-button { min-width:190px; }
.wallet-details { margin-top:18px; padding:16px; border:1px solid rgba(129,105,167,.22); border-radius:13px; background:rgba(110,80,160,.07); }
.wallet-details[hidden] { display:none !important; }
.wallet-detail-row { display:flex; flex-direction:column; gap:7px; padding:7px 0 12px; }
.wallet-detail-row span { color:var(--muted,#999); font-size:10px; text-transform:uppercase; letter-spacing:.8px; }
.wallet-detail-row code { color:var(--text,#eee); font-size:12px; overflow-wrap:anywhere; }
.wallet-detail-row b { color:var(--text,#eee); font-size:13px; }
.wallet-detail-actions { display:flex; gap:9px; flex-wrap:wrap; margin-top:8px; }
.wallet-detail-actions button { min-width:120px; }
.wallet-notice,.wallet-error { margin-top:14px; border-radius:9px; padding:12px 14px; font-size:11px; line-height:1.55; }
.wallet-notice { background:rgba(53,119,83,.10); border:1px solid rgba(87,160,119,.25); color:#a8d7ba; }
.wallet-error { background:rgba(160,60,70,.12); border:1px solid rgba(196,92,103,.30); color:#f2b1b8; white-space:pre-wrap; overflow-wrap:anywhere; }
.wallet-error[hidden] { display:none !important; }
.wallet-assets-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; max-width:780px; margin-top:16px; }
.wallet-asset-card { display:flex; align-items:center; gap:12px; padding:16px; }
.wallet-asset-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border-radius:50%; font-weight:900; }
.wallet-asset-icon.ton { background:#d9eeff; color:#2385c7; }
.wallet-asset-icon.usdt { background:#d5f4e4; color:#168557; }
.wallet-asset-card > div:nth-child(2) { display:flex; flex-direction:column; gap:4px; min-width:0; }
.wallet-asset-card small { color:var(--muted,#999); font-size:10px; }
.wallet-asset-state { margin-left:auto; color:#bca7e8; font-size:9px; text-transform:uppercase; letter-spacing:.7px; }
.wallet-safety-note { max-width:780px; margin-top:16px; padding:16px 18px; border:1px solid rgba(129,105,167,.2); border-radius:12px; background:rgba(110,80,160,.045); }
.wallet-safety-note b { color:var(--text,#eee); font-size:12px; }
.wallet-safety-note p { margin:8px 0 0; color:var(--muted,#999); font-size:11px; line-height:1.65; }
.wallet-safety-note code { color:#c6afea; }
@media(max-width:650px) { .wallet-heading { align-items:flex-start; flex-direction:column; } .wallet-assets-grid { grid-template-columns:1fr; } .wallet-panel { padding:17px; } .wallet-panel-top { align-items:flex-start; } }

.wallet-detail-actions .secondary { border:1px solid #443956; border-radius:8px; padding:9px 13px; background:#211b2c; color:#d8c9ef; font-weight:700; cursor:pointer; }
.wallet-detail-actions .secondary:hover { background:#2e2440; }
.wallet-detail-actions .secondary:disabled { opacity:.55; cursor:wait; }

.wallet-receive-panel { max-width:780px; margin-top:16px; padding:22px 24px; }
.wallet-receive-panel h3 { margin:7px 0; }
.wallet-receive-panel > p { color:var(--muted,#999); font-size:12px; line-height:1.6; }
.wallet-receive-label { display:block; margin:14px 0 7px; color:var(--muted,#999); font-size:11px; }
#walletReceiveAddressInput { box-sizing:border-box; width:100%; min-width:0; border:1px solid rgba(129,105,167,.3); border-radius:9px; padding:12px 13px; background:rgba(20,16,29,.75); color:var(--text,#eee); font:inherit; font-size:12px; }
.wallet-receive-status { padding:10px 12px; border-radius:9px; background:rgba(100,90,130,.10); border:1px solid rgba(129,105,167,.2); overflow-wrap:anywhere; }
.wallet-receive-status.is-verified { color:#a8d7ba; border-color:rgba(87,160,119,.3); background:rgba(53,119,83,.10); }
.wallet-receive-status.is-unverified { color:#f3cb89; border-color:rgba(198,145,72,.3); background:rgba(160,110,40,.10); }
.wallet-receive-warning { font-size:11px!important; color:#e2bd83!important; }
@media(max-width:650px) { .wallet-receive-panel { padding:17px; } }

/* 0.8.24 — explicit wallet ownership verification */
.wallet-verification-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(226, 166, 83, .55);
    border-radius: 14px;
    background: linear-gradient(112deg, rgba(117, 76, 30, .22), rgba(67, 46, 36, .2));
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}
.wallet-verification-card[hidden] { display: none !important; }
.wallet-verification-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(244, 190, 111, .42);
    border-radius: 13px;
    background: rgba(181, 118, 45, .22);
    color: #ffd18a;
    font-size: 23px;
    font-weight: 900;
}
.wallet-verification-copy { min-width: 0; }
.wallet-verification-copy small {
    color: #f0bd78;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.35px;
}
.wallet-verification-copy h3 { margin: 4px 0; color: #fff2df; font-size: 16px; }
.wallet-verification-copy p { margin: 0; color: #cdbda8; font-size: 11px; line-height: 1.55; }
.wallet-verify-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 180px;
    min-height: 44px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 222, 171, .35);
    border-radius: 10px;
    background: linear-gradient(115deg, #b87835, #d99c52);
    color: #1e160d;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 7px 20px rgba(176, 111, 39, .2);
    cursor: pointer;
}
.wallet-verify-button span { font-size: 17px; line-height: 1; }
.wallet-verify-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.wallet-verify-button:disabled { opacity: .58; cursor: wait; transform: none; }
.wallet-receive-hint { margin: 8px 0 0 !important; color: #9893a9 !important; font-size: 11px !important; }
.wallet-connect-button { min-width: 190px; }
@media(max-width:650px) {
    .wallet-verification-card { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; padding: 14px; }
    .wallet-verification-icon { width: 40px; height: 40px; }
    .wallet-verification-copy h3 { font-size: 14px; }
    .wallet-verify-button { grid-column: 1 / -1; width: 100%; }
}
.wallet-notice.is-pending {
    border-color: rgba(226, 166, 83, .35);
    background: rgba(160, 105, 39, .11);
    color: #e9c28e;
}

/* 0.8.33 — separated balance wallet and account settings */
.wallet-overview-panel { max-width: 860px; padding: 24px; }
.wallet-overview-topline { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.wallet-overview-topline small,.wallet-assets-heading small { color:#a58bcf; font-size:10px; font-weight:800; letter-spacing:1.25px; }
.wallet-overview-topline h2 { margin:7px 0 5px; }
.wallet-overview-topline p { margin:0; color:var(--muted,#999); font-size:12px; overflow-wrap:anywhere; }
.wallet-overview-badge { flex:0 0 auto; border:1px solid rgba(140,130,160,.3); border-radius:999px; padding:7px 11px; font-size:10px; font-weight:800; }
.wallet-overview-badge.is-online { color:#a8d7ba; background:rgba(53,119,83,.12); border-color:rgba(87,160,119,.35); }
.wallet-overview-badge.is-offline { color:#e3c18f; background:rgba(160,110,40,.10); border-color:rgba(198,145,72,.3); }
.wallet-overview-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:20px; }
.wallet-overview-actions button { min-height:42px; }
.wallet-overview-actions button:disabled { opacity:.48; cursor:not-allowed; }
.wallet-assets-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; max-width:860px; margin:26px 0 12px; }
.wallet-assets-heading h2 { margin:5px 0 0; }
.wallet-assets-network { color:var(--muted,#999); font-size:11px; }
.wallet-assets-grid { max-width:860px; }
.wallet-asset-card { min-width:0; }
.wallet-asset-balance { color:var(--text,#eee); font-size:13px; font-weight:800; text-transform:none; letter-spacing:0; white-space:nowrap; }
.wallet-balance-empty { display:grid; justify-items:start; gap:8px; padding:26px; border:1px dashed rgba(152,128,190,.35); border-radius:15px; background:rgba(110,80,160,.055); }
.wallet-balance-empty-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:rgba(139,104,210,.16); color:#c6afea; font-size:24px; }
.wallet-balance-empty h3 { margin:5px 0 0; }
.wallet-balance-empty p { max-width:560px; margin:0 0 8px; color:var(--muted,#999); font-size:12px; line-height:1.6; }
.wallet-topup-help { max-width:860px; margin-top:16px; padding:16px 18px; border:1px solid rgba(129,105,167,.2); border-radius:12px; background:rgba(110,80,160,.045); }
.wallet-topup-help b { color:var(--text,#eee); font-size:12px; }
.wallet-topup-help p { margin:7px 0 0; color:var(--muted,#999); font-size:11px; line-height:1.65; }
.wallet-topup-modal { position:fixed; inset:0; z-index:5000; display:grid; place-items:center; padding:18px; }
.wallet-topup-modal[hidden] { display:none !important; }
.wallet-topup-backdrop { position:absolute; inset:0; background:rgba(4,3,8,.76); backdrop-filter:blur(8px); }
.wallet-topup-dialog { position:relative; z-index:1; width:min(100%,520px); max-height:min(88vh,760px); overflow:auto; padding:24px; border:1px solid rgba(155,128,205,.3); border-radius:20px; background:linear-gradient(155deg,#1b1726,#100f18 78%); box-shadow:0 24px 90px rgba(0,0,0,.48); }
.wallet-topup-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }
.wallet-topup-dialog-head small { color:#b99be8; font-size:10px; font-weight:900; letter-spacing:1.3px; }
.wallet-topup-dialog-head h2 { margin:6px 0; }
.wallet-topup-dialog-head p { margin:0; color:var(--muted,#999); font-size:12px; }
.wallet-topup-close { width:36px; height:36px; flex:0 0 36px; border:1px solid rgba(155,128,205,.25); border-radius:11px; background:rgba(255,255,255,.04); color:#fff; font-size:23px; cursor:pointer; }
.wallet-topup-field { display:grid; gap:8px; margin-top:20px; color:#c9c1d6; font-size:11px; font-weight:800; }
.wallet-topup-field select { width:100%; min-height:46px; padding:10px 12px; border:1px solid rgba(155,128,205,.3); border-radius:10px; background:#171321; color:#fff; font:inherit; font-size:13px; }
.wallet-topup-selected-asset { margin-top:12px; padding:12px 14px; border:1px solid rgba(132,108,179,.22); border-radius:11px; background:rgba(128,94,180,.09); color:#d4c8e8; font-size:12px; line-height:1.55; }
.wallet-topup-address-block { display:grid; gap:10px; margin-top:14px; padding:15px; border:1px solid rgba(155,128,205,.24); border-radius:13px; background:rgba(0,0,0,.18); }
.wallet-topup-address-block small { color:var(--muted,#999); font-size:10px; text-transform:uppercase; letter-spacing:.9px; font-weight:800; }
.wallet-topup-address-block code { display:block; color:#fff; font-size:12px; line-height:1.55; overflow-wrap:anywhere; user-select:all; }
.wallet-topup-warning { margin:12px 0; padding:11px 13px; border:1px solid rgba(226,166,83,.28); border-radius:10px; background:rgba(160,110,40,.10); color:#edc98f; font-size:11px; line-height:1.6; }
.wallet-topup-done { width:100%; }
.settings-section-heading { max-width:780px; margin:26px 0 12px; }
.settings-section-heading small { color:#a58bcf; font-size:10px; font-weight:900; letter-spacing:1.25px; }
.settings-section-heading h2 { margin:6px 0; }
.settings-section-heading p { margin:0; color:var(--muted,#999); font-size:12px; line-height:1.6; }
.settings-social-heading { margin-top:30px; }
.settings-social-panel { max-width:780px; padding:22px; }
.settings-social-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) auto; align-items:end; gap:12px; margin-top:16px; }
.settings-social-form label { display:grid; gap:7px; min-width:0; color:var(--muted,#aaa); font-size:11px; }
.settings-social-form input,.settings-social-form select { width:100%; min-width:0; box-sizing:border-box; }
.settings-social-form .primary { min-height:42px; white-space:nowrap; }
.settings-social-panel .tip { color:var(--muted,#999); font-size:11px; line-height:1.55; }
.profile-editor-grid { display:block; max-width:820px; }
.profile-editor-grid > .panel { width:100%; }
.my-profile-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:18px; }
.my-profile-heading h1 { margin:7px 0; }
.my-profile-heading p { margin:0; color:var(--muted,#999); font-size:12px; }
.my-profile-card { max-width:860px; overflow:hidden; border:1px solid rgba(129,105,167,.24); border-radius:18px; background:linear-gradient(160deg,rgba(31,25,44,.96),rgba(15,14,22,.98)); box-shadow:0 14px 38px rgba(0,0,0,.16); }
.my-profile-cover { position:relative; display:grid; place-items:center; height:190px; overflow:hidden; background:radial-gradient(circle at 76% 25%,rgba(136,95,215,.48),transparent 30%),linear-gradient(120deg,#211934,#12121c 70%); color:rgba(255,255,255,.16); font-size:24px; font-weight:900; letter-spacing:5px; }
.my-profile-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.my-profile-main { display:flex; align-items:flex-end; gap:16px; padding:0 24px; margin-top:-42px; position:relative; }
.my-profile-avatar { display:grid; place-items:center; width:94px; height:94px; flex:0 0 94px; overflow:hidden; border:4px solid #171321; border-radius:50%; background:linear-gradient(145deg,#8a5ce1,#49328a); color:#fff; font-size:30px; font-weight:900; }
.my-profile-avatar img { width:100%; height:100%; object-fit:cover; }
.my-profile-identity { min-width:0; padding-bottom:7px; }
.my-profile-identity h2 { margin:0 0 4px; font-size:22px; overflow-wrap:anywhere; }
.my-profile-identity p { margin:0 0 7px; color:var(--muted,#999); font-size:12px; }
.my-profile-owner-tag { margin-left:auto; align-self:center; border:1px solid rgba(124,101,164,.3); border-radius:999px; padding:6px 9px; color:#c5afe7; font-size:9px; font-weight:900; letter-spacing:.8px; white-space:nowrap; }
.my-profile-content { padding:18px 24px 24px; }
.my-profile-content > p { margin:0; color:#d5d0df; font-size:13px; line-height:1.65; white-space:pre-wrap; }
.my-profile-stats { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.my-profile-stats > div { display:flex; flex-direction:column; min-width:130px; padding:12px 14px; border:1px solid rgba(129,105,167,.2); border-radius:11px; background:rgba(255,255,255,.025); }
.my-profile-stats b { color:#fff; font-size:18px; }
.my-profile-stats span { color:var(--muted,#999); font-size:10px; }
.my-profile-socials { display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; }
.my-profile-socials a { padding:9px 12px; border:1px solid rgba(140,110,190,.32); border-radius:999px; color:#d6c5f2; background:rgba(130,95,190,.08); font-size:11px; font-weight:800; text-decoration:none; }
.my-profile-empty-note { margin-top:16px; color:#c6b3e2; font-size:11px; line-height:1.5; }
.my-profile-empty-note[hidden] { display:none !important; }
@media(max-width:650px) {
  .wallet-overview-panel { padding:17px; }
  .wallet-overview-topline { flex-direction:column; align-items:flex-start; gap:12px; }
  .wallet-overview-actions { display:grid; grid-template-columns:1fr; }
  .wallet-overview-actions button { width:100%; }
  .wallet-assets-heading { align-items:flex-start; flex-direction:column; }
  .wallet-asset-card { flex-wrap:wrap; }
  .wallet-asset-balance { margin-left:auto; }
  .wallet-topup-dialog { padding:18px; border-radius:16px; }
  .settings-social-panel { padding:16px; }
  .settings-social-form { grid-template-columns:1fr; }
  .settings-social-form .primary { width:100%; }
  .my-profile-heading { align-items:stretch; flex-direction:column; }
  .my-profile-heading .primary { width:100%; }
  .my-profile-cover { height:140px; }
  .my-profile-main { gap:11px; padding:0 15px; margin-top:-33px; }
  .my-profile-avatar { width:76px; height:76px; flex-basis:76px; border-width:3px; font-size:24px; }
  .my-profile-identity h2 { font-size:18px; }
  .my-profile-owner-tag { display:none; }
  .my-profile-content { padding:15px; }
}

/* CreatorVerse 0.8.34 — icon-first Android-style Settings grid */
.settings-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 24px 28px;
    max-width: 820px;
    margin-top: 30px;
}
.settings-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    min-width: 0;
    min-height: 148px;
    padding: 20px 14px 22px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: transparent;
    color: #f2effa;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.settings-category-card:hover,
.settings-category-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(170, 139, 235, .28);
    background: rgba(126, 97, 172, .075);
    outline: none;
}
.settings-category-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 9px 22px rgba(0,0,0,.18);
}
.settings-category-icon svg { display: block; width: 34px; height: 34px; }
.settings-category-icon-wallet { background: linear-gradient(145deg, #7958ca, #40347f); color: #f1eaff; }
.settings-category-icon-social { background: linear-gradient(145deg, #2695a5, #245b80); color: #e5fcff; }
.settings-category-icon-profile { background: linear-gradient(145deg, #c17f47, #875039); color: #fff1e4; }
.settings-category-label {
    display: block;
    max-width: 100%;
    color: #f4f0fc;
    font-size: 13px;
    font-weight: 780;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.settings-subpage-heading { max-width: 820px; margin: 0 0 22px; }
.settings-subpage-heading > small { display: block; margin-top: 18px; color: #a58bcf; font-size: 10px; font-weight: 900; letter-spacing: 1.25px; }
.settings-subpage-heading h1 { margin: 7px 0; }
.settings-subpage-heading p { max-width: 680px; margin: 0; color: var(--muted,#999); font-size: 12px; line-height: 1.65; }
.settings-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(145,120,186,.24);
    border-radius: 10px;
    background: rgba(126,97,172,.08);
    color: #c8b6e7;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}
.settings-back-button:hover { background: rgba(126,97,172,.16); border-color: rgba(170,139,235,.42); }
.settings-back-button > span { font-size: 16px; line-height: 1; }
.my-profile-edit-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(155,128,205,.38);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(135,100,202,.2), rgba(76,69,123,.16));
    color: #d7c4fb;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.my-profile-edit-icon svg { width: 20px; height: 20px; }
.my-profile-edit-icon:hover,
.my-profile-edit-icon:focus-visible { background: rgba(142,105,213,.3); border-color: rgba(190,160,245,.62); outline: none; transform: translateY(-1px); }
@media (max-width: 650px) {
    .settings-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 15px; margin-top: 25px; }
    .settings-category-card { min-height: 136px; padding: 18px 8px 20px; gap: 12px; border-radius: 18px; }
    .settings-category-icon { width: 64px; height: 64px; flex-basis: 64px; border-radius: 20px; }
    .settings-category-icon svg { width: 30px; height: 30px; }
    .settings-category-label { font-size: 11.5px; line-height: 1.32; }
    .settings-subpage-heading { margin-bottom: 18px; }
    .settings-subpage-heading > small { margin-top: 14px; }
    .my-profile-heading { align-items: center; flex-direction: row; }
    .my-profile-edit-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
}
@media (max-width: 360px) {
    .settings-category-grid { gap: 18px 11px; }
    .settings-category-card { min-height: 128px; padding: 16px 5px 18px; }
    .settings-category-icon { width: 58px; height: 58px; flex-basis: 58px; border-radius: 18px; }
    .settings-category-icon svg { width: 27px; height: 27px; }
    .settings-category-label { font-size: 10.5px; }
}


/* 0.8.35 — refined wallet actions and custom top-up currency picker */
.wallet-overview-actions {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 22px;
}
.wallet-action-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px !important;
    padding: 10px 16px !important;
    border-radius: 14px !important;
    font: inherit;
    font-size: 12px !important;
    font-weight: 780 !important;
    letter-spacing: .1px;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.wallet-action-btn .wallet-action-icon {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 9px;
    background: rgba(255,255,255,.13);
}
.wallet-action-icon svg { display: block; width: 17px; height: 17px; }
.wallet-action-topup {
    border: 1px solid rgba(202,177,255,.45) !important;
    background: linear-gradient(125deg,#8258d7,#6041ad) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(104,70,177,.24), inset 0 1px 0 rgba(255,255,255,.16);
}
.wallet-action-refresh,
.wallet-action-settings {
    border: 1px solid rgba(157,132,197,.27) !important;
    background: linear-gradient(145deg,rgba(52,43,70,.94),rgba(28,25,39,.96)) !important;
    color: #e1d6f3 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 5px 15px rgba(0,0,0,.12);
}
.wallet-action-refresh .wallet-action-icon { color: #c6a9ff; background: rgba(139,104,210,.17); }
.wallet-action-settings .wallet-action-icon { color: #a7d9ef; background: rgba(73,154,187,.16); }
.wallet-action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(190,164,238,.62) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.wallet-action-btn:active:not(:disabled) { transform: translateY(0); }
.wallet-action-btn:focus-visible { outline: 2px solid #c8aaff; outline-offset: 3px; }
.wallet-action-btn:disabled { opacity: .46; cursor: not-allowed; transform: none; box-shadow: none; }
.wallet-action-refresh.is-loading .wallet-action-icon svg { animation: wallet-refresh-spin .85s linear infinite; }
@keyframes wallet-refresh-spin { to { transform: rotate(360deg); } }

.wallet-topup-field { margin-top: 22px; color: #d8cee8; font-size: 11px; font-weight: 850; letter-spacing: .35px; }
.wallet-topup-picker { position: relative; min-width: 0; }
.wallet-topup-picker-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 68px;
    padding: 12px 15px;
    border: 1px solid rgba(159,132,205,.34);
    border-radius: 15px;
    background: linear-gradient(145deg,rgba(43,35,59,.98),rgba(24,21,34,.98));
    color: #f7f3ff;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 7px 18px rgba(0,0,0,.13);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.wallet-topup-picker-trigger:hover,
.wallet-topup-picker.is-open .wallet-topup-picker-trigger,
.wallet-topup-picker-trigger:focus-visible {
    border-color: rgba(183,150,244,.72);
    box-shadow: 0 0 0 3px rgba(139,104,210,.13), inset 0 1px 0 rgba(255,255,255,.07);
    outline: none;
}
.wallet-topup-picker-current-icon,
.wallet-topup-option-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: linear-gradient(145deg,#c8e4ff,#73b8ee);
    color: #175d91;
    font-size: 18px;
    font-weight: 950;
    box-shadow: 0 5px 13px rgba(0,0,0,.18);
}
.wallet-topup-picker-current-icon.is-usdt,
.wallet-topup-option-icon.is-usdt {
    background: linear-gradient(145deg,#c6f6df,#55c99a);
    color: #116746;
}
.wallet-topup-picker-current-copy { display: grid; gap: 4px; min-width: 0; flex: 1; }
.wallet-topup-picker-current-copy b { color: #fff; font-size: 13px; line-height: 1.25; }
.wallet-topup-picker-current-copy small { color: #a99dbd; font-size: 10px; font-weight: 650; line-height: 1.3; }
.wallet-topup-picker-chevron { width: 18px; height: 18px; flex: 0 0 18px; color: #bba5e2; transition: transform .18s ease; }
.wallet-topup-picker.is-open .wallet-topup-picker-chevron { transform: rotate(180deg); }
.wallet-topup-picker-options {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 5px;
    max-height: 245px;
    overflow: auto;
    padding: 7px;
    border: 1px solid rgba(159,132,205,.38);
    border-radius: 15px;
    background: linear-gradient(155deg,#211b2e,#14111d 85%);
    box-shadow: 0 18px 46px rgba(0,0,0,.46);
    backdrop-filter: blur(18px);
}
.wallet-topup-picker-options[hidden] { display: none !important; }
.wallet-topup-option {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #e9e2f4;
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease;
}
.wallet-topup-option:hover,
.wallet-topup-option:focus-visible { border-color: rgba(157,125,217,.3); background: rgba(139,104,210,.13); outline: none; }
.wallet-topup-option[aria-selected="true"] { border-color: rgba(165,132,230,.38); background: rgba(139,104,210,.17); }
.wallet-topup-option-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 11px; font-size: 15px; }
.wallet-topup-option-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.wallet-topup-option-copy b { font-size: 12px; line-height: 1.3; }
.wallet-topup-option-copy small { color: #a99dbd; font-size: 10px; line-height: 1.3; }
.wallet-topup-option-check { color: #c4a5ff; font-size: 17px; font-weight: 900; }
.wallet-topup-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
}
.wallet-topup-selected-asset {
    margin-top: 13px;
    padding: 14px 15px;
    border: 1px solid rgba(145,117,195,.25);
    border-radius: 13px;
    background: linear-gradient(130deg,rgba(113,83,163,.13),rgba(72,64,104,.075));
    color: #d9cee9;
    font-size: 12px;
    line-height: 1.6;
}
.wallet-topup-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 49px;
    margin-top: 5px;
    padding: 12px 18px;
    border: 1px solid rgba(199,177,241,.43);
    border-radius: 13px;
    background: linear-gradient(120deg,#7852c9,#5b419f);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(91,65,159,.25), inset 0 1px 0 rgba(255,255,255,.14);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.wallet-topup-done svg { width: 17px; height: 17px; }
.wallet-topup-done:hover { transform: translateY(-1px); filter: brightness(1.09); box-shadow: 0 11px 25px rgba(91,65,159,.32); }
.wallet-topup-done:active { transform: translateY(0); }
.wallet-topup-done:focus-visible { outline: 2px solid #c8aaff; outline-offset: 3px; }
@media (max-width: 650px) {
    .wallet-overview-actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
    .wallet-action-btn { justify-content: flex-start; width: 100%; min-height: 50px !important; }
    .wallet-topup-picker-options { max-height: min(36vh, 220px); }
}
