:root { color-scheme: dark; font-family: Arial, sans-serif; background: #000; color: #eeedff; }
* { box-sizing: border-box; }
body { margin: 0; }
.app { width: 100%; max-width: 480px; height: 100svh; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; background: #000; }
main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.hero { display: block; width: 100%; height: auto; flex-shrink: 0; }
.scene { flex: 1; min-height: 0; }
.scene img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
nav { position: relative; flex-shrink: 0; background: #10111f; padding-bottom: env(safe-area-inset-bottom, 0px); }
.nav-buttons { min-height: 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nav-buttons button { appearance: none; border: 0; padding: 10px 0; min-height: 48px; min-width: 0; background: transparent; color: #9293b0; cursor: pointer; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font: inherit; font-size: 11px; line-height: 14px; }
.nav-buttons button[aria-current="page"] { color: #8176ff; }
.nav-icon { display: block; width: 24px; height: 24px; flex-shrink: 0; background: currentColor; mask: var(--icon) center / contain no-repeat; }
/* Compensate for transparent padding while keeping the complete NFT silhouette inside its 24px box. */
[data-page="NFTs"] .nav-icon { mask-size: 27px 27px; }
.nav-buttons button:hover { background: #8d86ff0c; }
button:focus-visible { outline: 2px solid #9690ff; outline-offset: -4px; }
dialog { width: min(320px, calc(100% - 40px)); border: 1px solid #36344e; border-radius: 20px; padding: 26px; background: #141522; color: #eeedff; text-align: center; }
dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
dialog h2 { margin: 0 0 12px; }
dialog p { color: #a7a5bd; line-height: 1.5; }
.close-button { min-height: 44px; width: 100%; border: 0; border-radius: 12px; padding: 12px 16px; background: #7770ff; color: white; font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-height: 440px) and (orientation: landscape) { .app { height: auto; min-height: 100svh; } .scene img { height: auto; } }
[hidden] { display: none !important; }
.nft-page { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 14px 20px; background: radial-gradient(ellipse at 18% 18%, #f3a04b18, transparent 32%), radial-gradient(ellipse at 70% 0, #10182766, transparent 60%), #03070d; color: #f6f7fb; scrollbar-width: none; -ms-overflow-style: none; }
.nft-page::-webkit-scrollbar { display: none; }
.account-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.account-stats, .combo-stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #232c40; border-radius: 14px; background: linear-gradient(120deg, #151d2d, #101622); }
.account-stats { padding: 7px 9px; gap: 10px; font-size: 13px; }
.account-stats > div + div, .combo-stats > div + div { border-left: 1px solid #293246; padding-left: 10px; }
.account-stats span, .combo-stats span { display: block; color: #8d9ebd; font-size: 10px; margin-bottom: 5px; }
.account-stats strong { display: block; white-space: nowrap; }
.account-stats .nft-profit, .nft-income strong { display: inline-flex; align-items: center; gap: 5px; }
.account-stats .nft-profit span { color: inherit; font-size: inherit; margin: 0; }
progress { display: block; width: 70px; height: 8px; margin-top: 6px; border: none; border-radius: 8px; overflow: hidden; background: #222b3c; }
progress::-webkit-progress-bar { background: #222b3c; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #00d9f5, #2757ff); border-radius: 8px; }
progress::-moz-progress-bar { background: #00b9ff; }
.coin { display: inline-block; width: 21px; height: 21px; object-fit: contain; vertical-align: middle; flex-shrink: 0; }
.clock { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; border-radius: 50%; border: 2px solid; font-style: normal; font-weight: bold; vertical-align: middle; }
.balance { display: flex; align-items: center; justify-content: center; gap: 13px; font-size: clamp(30px, 9vw, 44px); font-weight: 700; letter-spacing: 1px; padding: 17px 0 13px; }
.balance .coin { width: 43px; height: 43px; }
.combo-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 0 0 10px; }
.combo-heading h2 { font-size: clamp(18px, 5.3vw, 25px); margin: 0; }
.combo-stats { padding: 10px 5px; text-align: center; margin-bottom: 10px; }
.combo-stats strong { font-size: clamp(12px, 3.5vw, 17px); white-space: nowrap; }
.clock { background: linear-gradient(135deg, #b598ff, #6534ff); border-color: #a285ff; color: white; }
.combo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 13px; }
.combo-cards > div { border: 1px solid #1674ff; border-radius: 14px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; font-size: clamp(50px, 18vw, 82px); font-weight: bold; color: #e3e7ee; background: radial-gradient(circle at 25% 25%, #d9e9ff 0 1px, transparent 2px), radial-gradient(circle at 80% 70%, #9bd7ff 0 1px, transparent 2px), linear-gradient(130deg, #091629, #010409); text-shadow: 0 3px 3px #607181; }
.combo-cards img { width: 100%; height: 100%; object-fit: cover; }
.combo-cards > div { position: relative; text-shadow: none; }
.combo-slot-level { position: absolute; top: 6px; left: 6px; padding: 3px 7px; border-radius: 6px; font-size: 12px; background: #10111fe6; color: #fff; }
.combo-slot-remove { position: absolute; bottom: 0; width: 100%; min-height: 44px; border: 0; color: #fff; background: #151323ed; font: inherit; font-size: 12px; cursor: pointer; }
.combo-claim { min-height: 44px; background: linear-gradient(135deg, #8f80ff, #6658df); }
.combo-claim:disabled { opacity: .55; cursor: default; }
.combo-status { color: #9aabc8; font-size: 12px; line-height: 1.5; margin: 8px 0 16px; }
.nft-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.nft-card { min-width: 0; padding: 6px; border: 1px solid #2b374e; border-radius: 16px; background: linear-gradient(130deg, #101a2b, #030c18); }
.nft-card > img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 11px; }
.nft-card h3 { display: flex; justify-content: space-between; gap: 4px; margin: 8px 2px; font-size: 13px; }
.nft-card h3 span { color: #00b9f4; white-space: nowrap; }
.nft-income { display: flex; justify-content: space-between; align-items: center; gap: 3px; font-size: 10px; color: #b3c6e5; margin: 0 2px 7px; }
.nft-income strong { white-space: nowrap; color: #f6f7fb; font-size: 12px; }
.nft-income .coin, .mint-button .coin { width: 17px; height: 17px; }
.mint-button .nft-price-unit { font-size: .8em; }
.mint-button { display: flex; justify-content: center; align-items: center; gap: 7px; width: 100%; min-height: 36px; border: 1px solid #303e57; border-radius: 12px; background: linear-gradient(130deg, #1a253a, #101a2a); color: white; font: inherit; font-weight: bold; cursor: pointer; }
@media (max-width: 350px) { .account-row { font-size: 11px; } .account-stats { font-size: 10px; gap: 5px; padding: 6px; } .account-stats span { font-size: 8px; } .nft-page { padding-inline: 10px; } .nft-income { flex-wrap: wrap; } }
.wallet-page { --wallet-row-inset: 16px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 28px 16px 40px; background: #010208; color: #f5f4fc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.wallet-page::-webkit-scrollbar { display: none; }
.wallet-page svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.wallet-balance { text-align: center; font-size: clamp(36px, 9vw, 46px); font-weight: 650; letter-spacing: -1.8px; margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.wallet-balance > span { color: #eeedff; }
.wallet-address { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: auto; border: 1px solid #c9c1ff0c; border-radius: 24px; background: #a79be60a; padding: 8px 14px; color: #b7b2cc; font: inherit; font-size: 12px; cursor: pointer; }
.wallet-address svg { width: 16px; height: 16px; }
.wallet-address svg { color: #c9c1e4; }
.wallet-actions { display: flex; justify-content: space-evenly; gap: 12px; margin: 24px 8px 32px; }
.wallet-actions button { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 56px; border: 0; padding: 0; background: none; color: #d6d2e5; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.wallet-actions button > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: linear-gradient(150deg, #fff, #dfdbea); border: 1px solid #ffffff99; box-shadow: inset 0 1px 0 #fff, 0 6px 18px #0004; color: #242033; }
.wallet-actions svg { width: 20px; height: 20px; }
.wallet-actions button:hover > span { background: #fff; }
.wallet-assets { display: grid; gap: 0; border-radius: 20px; padding: 4px var(--wallet-row-inset); background: linear-gradient(130deg, #a79be610, #a79be606); }
.wallet-asset { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 20px 0; background: none; }
.wallet-token { position: relative; flex-shrink: 0; }
.wallet-token img { display: block; width: 40px; height: 40px; object-fit: contain; }
.wallet-token img.wallet-network { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border: 2px solid #101019; border-radius: 50%; }
.wallet-fomo { border-radius: 50%; }
.wallet-asset-info { min-width: 0; flex: 1; }
.wallet-asset-info > div { font-size: 15px; font-weight: 600; white-space: nowrap; }
.wallet-asset-info p { font: 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #a9a4bb; margin: 4px 0 0; }
.wallet-change { color: #e1dfee; font-family: monospace; font-weight: 700; }
.wallet-asset-value { text-align: right; font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.wallet-asset-value strong { display: block; font-size: 16px; font-weight: 600; }
.wallet-asset-value > span { display: block; color: #a9a4bb; margin-top: 4px; font-weight: 400; font-size: 12px; }
.activity-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 24px var(--wallet-row-inset) 8px; }
.activity-heading h2 { display: flex; align-items: center; gap: 6px; margin: 0; color: #e2deee; font: 600 13px/18px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.activity-heading svg { width: 18px; height: 18px; }
.activity-heading button { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; min-height: 44px; border: 0; background: none; color: #b8afff; padding: 7px 0; font: 500 12px/18px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; white-space: nowrap; }
.activity-heading button > span { display: block; font-size: 18px; line-height: 18px; }
.wallet-activity { display: grid; gap: 8px; }
.activity-row { display: flex; align-items: center; gap: 12px; padding: 16px; min-height: 72px; border-radius: 16px; background: #a79be608; }
.activity-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #c9c1ff12; color: #e1dfee; }
.activity-icon svg { width: 22px; height: 22px; }
.activity-detail { min-width: 0; flex: 1; }
.activity-detail h3 { font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.activity-detail h3 > span { display: inline-block; padding: 1px 4px; border-radius: 4px; background: #252b3d; color: #a1acc1; font: 8px monospace; }
.activity-detail p { color: #b5b0c5; font-size: 11px; line-height: 1.4; margin: 0; }
.activity-value { text-align: right; flex-shrink: 0; }
.activity-value strong { display: block; color: #e1dfee; font: bold 13px monospace; }
.activity-value > span { display: block; color: #b5b0c5; font: 10px Arial, sans-serif; margin-top: 5px; }
.wallet-preview-note { font-size: 10px; color: #777f9c; text-align: center; margin-top: 15px; }
@media (max-width: 350px) { .wallet-page { --wallet-row-inset: 8px; padding-inline: 7px; } .wallet-actions { gap: 8px; margin-inline: 0; } .wallet-asset { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 7px; padding: 12px 0; } .wallet-token img { width: 30px; height: 30px; } .wallet-asset-info > div { font-size: 12px; white-space: normal; line-height: 1.7; } .wallet-asset-info p { font-size: 10px; overflow-wrap: anywhere; } .wallet-asset-value, .wallet-asset-value strong, .wallet-asset-value > span { font-size: 10px; } .activity-row { gap: 7px; padding: 12px 9px; } .activity-icon { width: 30px; height: 30px; } .activity-detail h3 { font-size: 11px; } .activity-detail p { font-size: 10px; } .activity-value strong { font-size: 10px; } }

#swap-dialog { width: min(420px, calc(100% - 24px)); max-height: calc(100svh - 24px); overflow-y: auto; padding: 24px; border: 1px solid #c9c1ff20; border-radius: 24px; background: #000; color: #f5f4fc; text-align: left; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.swap-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid #ffffff0d; }
.swap-header h2 { margin: 0; font: 900 19px Arial, sans-serif; letter-spacing: -.5px; }
#close-swap { appearance: none; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: #eeedff; cursor: pointer; }
#close-swap svg { display: block; width: 22px; height: 22px; }
#swap-heading:focus { outline: none; }
.swap-panels { position: relative; display: grid; gap: 12px; }
.swap-panel { min-height: 138px; padding: 20px 16px; border: 1px solid #c9c1ff10; border-radius: 18px; background: #a79be60d; }
.swap-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #b0a9c3; font: 500 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.swap-panel-heading > span:last-child { font-size: 12px; font-weight: normal; }
.swap-panel-heading b { color: #d5dce7; }
.swap-panel-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.swap-amount { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.swap-amount input, .swap-amount output { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: #f4f1fc; font: 600 36px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.swap-amount input::placeholder, .swap-amount output { color: #a19bb1; }
.swap-amount > span { color: #a9a4bb; font: 12px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; white-space: nowrap; }
.swap-token { display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 48px; padding: 10px; border: 1px solid #ffffff0c; border-radius: 24px; background: #ffffff06; font-size: 14px; font-weight: 600; }
.swap-token img { object-fit: contain; border-radius: 50%; }
#swap-direction { appearance: none; padding: 0; position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border: 4px solid #000; border-radius: 16px; background: linear-gradient(#374255, #1c2637); color: white; cursor: pointer; }
#swap-direction svg { display: block; width: 22px; height: 22px; pointer-events: none; }
.swap-rate { display: flex; align-items: center; gap: 6px; margin: 12px 0; font-size: 11px; color: #a9a4bb; }
.swap-rate strong { margin-left: auto; color: #d8d2e8; font-size: 11px; font-weight: 500; }
#swap-refresh { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: none; color: #b8afff; cursor: pointer; }

@media (max-width: 350px) { #swap-dialog { padding: 16px 12px; } .swap-panel { padding: 12px; } .swap-token { gap: 5px; padding: 10px 8px; font-size: 12px; } .swap-token img { width: 21px; height: 21px; } .swap-rate { flex-wrap: wrap; font-size: 10px; } .swap-rate strong { font-size: 10px; } .swap-panel-heading > span:last-child { font-size: 10px; } }
#send-dialog { width: min(420px, calc(100% - 24px)); max-height: calc(100svh - 24px); overflow-y: auto; padding: 24px; border: 1px solid #c9c1ff20; border-radius: 24px; background: #000; color: #f5f4fc; text-align: left; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.send-header { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #ffffff0d; text-align: center; }
.send-header > div { grid-column: 2; }
.send-header h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.5px; }
.send-header p { margin: 4px 0 0; font-size: 12px; color: #a9a4bb; }
.send-header p strong { color: #ddd7f4; font-weight: 500; }
.send-header button { width: 32px; min-height: 36px; padding: 0; border: 0; background: none; color: #96a7bd; font-size: 25px; cursor: pointer; }
#send-form label { display: block; font-size: 13px; font-weight: 500; color: #ddd7e9; }
#send-form input { width: 100%; min-width: 0; min-height: 56px; border: 1px solid #c9c1ff18; border-radius: 14px; padding: 16px 14px; background: #a79be60d; color: #f5f4fc; font: 400 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#send-form input::placeholder { color: #8f889f; }
#send-address { margin-top: 7px; }
.send-amount-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 20px 0 8px; }
.send-amount-label > span { color: #a9a4bb; font-size: 11px; }
.send-amount { position: relative; }
#send-amount { padding-right: 90px; }
.send-amount > span { position: absolute; right: 14px; top: 0; height: 100%; display: flex; align-items: center; gap: 7px; color: #eeeaf9; font-size: 13px; font-weight: 600; pointer-events: none; }
.send-options { margin-top: 24px; padding: 16px; border: 0; border-radius: 16px; background: #a79be608; }
.send-network { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid #ffffff09; font-size: 12px; color: #a9a4bb; }
.send-network > span { display: flex; align-items: center; gap: 6px; color: #e1dce9; font-size: 11px; font-weight: 500; }
.send-network img { object-fit: contain; }
.withdraw-button, #confirm-swap { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 20px; padding: 14px; border: 1px solid #fff; border-radius: 14px; background: linear-gradient(#fff, #f5f3fa 55%, #ded9e9); box-shadow: inset 0 1px 0 #fff; color: #211c30; font: 600 15px/1.4 Arial, sans-serif; letter-spacing: 0; cursor: pointer; }
.withdraw-button svg { width: 16px; height: 16px; }
@media (max-width: 350px) { .send-network { flex-wrap: wrap; } }
#receive-dialog { width: min(420px, calc(100% - 24px)); max-height: calc(100svh - 24px); overflow-y: auto; padding: 24px; border: 1px solid #c9c1ff20; border-radius: 24px; background: #000; color: #f5f4fc; text-align: left; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.receive-header { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; text-align: center; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid #ffffff0d; }
.receive-header h2 { font-size: 17px; margin: 0 0 2px; }
.receive-header p { font-size: 12px; color: #a9a4bb; margin: 4px 0 0; }
.receive-header button { border: 0; background: none; color: #b7bac5; font-size: 24px; min-width: 28px; min-height: 30px; padding: 0; cursor: pointer; }
.receive-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.receive-options label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; color: #bdb6cd; font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.receive-options label > span { color: #80818e; font-weight: normal; }
.receive-selector { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px; border: 1px solid #c9c1ff12; background: #a79be60d; border-radius: 14px; font-size: 14px; font-weight: 500; }
.receive-qr { width: 180px; height: 180px; max-width: 100%; margin: 28px auto; border: 1px solid #c9c1ff18; border-radius: 20px; background: #a79be608; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #a9a4bb; }
.receive-qr > span { font-size: 10px; }
.deposit-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #bdb6cd; margin-bottom: 10px; }
.deposit-label > span { color: #a9a4bb; }
.deposit-box { overflow: hidden; border: 1px solid #c9c1ff12; border-radius: 14px; background: #000; }
.deposit-address { padding: 16px 12px; color: #a9a4bb; font-size: 13px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.deposit-box button { width: 100%; min-height: 48px; border: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: #aaa4b9; background: #a79be612; font: 500 13px Arial, sans-serif; cursor: not-allowed; }

.usdt-icon { object-fit: contain; flex-shrink: 0; filter: none; }

.nav-icon.nav-mine { width: 28px; }

.mine-page { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; background: #010208; color: #f4f3ff; container-type: inline-size; }
.mine-page::-webkit-scrollbar { display: none; }
.mine-shell { padding: 2.1cqw 3.75cqw 11.5cqw; background: transparent; min-height: 100%; }
.mine-page button { cursor: pointer; font: inherit; color: inherit; }
.mine-account { display: flex; align-items: center; gap: 2cqw; }
.mine-balance { display: flex; align-items: center; gap: 1cqw; border-radius: 6cqw; padding: 1cqw; background: #b9c6ed0a; }
.mine-balance > img { width: 5.8cqw; height: 5.8cqw; }
.mine-balance strong { font-size: 3.5cqw; }
.mine-balance > span { color: #9290a6; font-weight: bold; font-size: 2.8cqw; }
.mine-balance > button { appearance: none; position: relative; display: grid; place-items: center; flex: 0 0 6.5cqw; width: 6.5cqw; height: 6.5cqw; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.mine-balance > button::before { content: ''; position: absolute; width: 5cqw; height: 5cqw; border-radius: 50%; background: linear-gradient(135deg,#36a4ff,#1680ff); }
.mine-balance > button::after { content: ''; position: absolute; width: max(44px, 6.5cqw); height: max(44px, 6.5cqw); }
.mine-balance > button svg { position: relative; display: block; width: 3.2cqw; height: 3.2cqw; }
.mine-level { display: flex; align-items: center; gap: 1.3cqw; margin-left: auto; border: 0; background: #b9c6ed0a; padding: 1.3cqw; border-radius: 6cqw; font-size: 3.3cqw !important; font-weight: 700 !important; white-space: nowrap; }
.mine-level > span:first-child { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 50%; background: linear-gradient(120deg,#755425,#31231b); color: #ffb842; font-size: 5cqw; }
.mine-heading-row { margin: 8.2cqw 4.5cqw 0; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.mine-heading-row p { color: #9290a6; margin: 0 0 1cqw; font-size: 3.1cqw; font-weight: 600; }
.mine-heading-row h1 { margin: 0; font-size: 4.1cqw; letter-spacing: -.2cqw; }
.mine-timer { display: flex; align-items: center; gap: 1cqw; border-radius: 4cqw; background: #103021; color: #12d657; padding: 1.3cqw 2cqw; font-size: 2.8cqw; font-weight: 600; white-space: nowrap; }
.mine-timer i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #12d657; }
.mine-art { display: grid; place-items: center; height: 58cqw; padding-top: 8cqw; }
.mine-art img { display: block; width: 45cqw; height: auto; }
.mine-reward { text-align: center; }
.mine-reward > p { font-size: 3.2cqw; color: #9290a6; margin: 0 0 1cqw; }
.mine-reward > div { display: flex; align-items: baseline; justify-content: center; gap: 1.5cqw; }
.mine-reward strong { font-size: 9cqw; line-height: 1.2; letter-spacing: -.3cqw; }
.mine-reward > div > span { font-size: 3.7cqw; color: #9290a6; font-weight: 600; }
.mine-reward > p.mine-rate { margin: 2cqw 0 0; font-size: 3.1cqw; }
.mine-claim { display: block; width: calc(100% - 7.5cqw); min-height: 12.5cqw; margin: 5cqw auto 0; border: 0; border-radius: 4cqw; background: #f9f8ff; color: #0b091c !important; font-size: 3.6cqw !important; font-weight: 600 !important; letter-spacing: -.15cqw; }

.mine-balance > img { object-fit: contain; border-radius: 50%; }
.mine-level > span > img { display: block; width: 75%; height: 75%; object-fit: contain; }
.mine-claim:disabled { opacity: .5; cursor: not-allowed; }
.mine-reward strong { overflow-wrap: anywhere; }
.mine-timer { position: sticky; top: 8px; }
.mine-heading-row { position: sticky; top: 0; z-index: 2; background: #010208f2; padding-block: 8px; }
.wallet-empty { color: #a9a4bb; font-size: 13px; line-height: 1.6; text-align: center; padding: 28px var(--wallet-row-inset); margin: 0; border-radius: 16px; background: #a79be606; }
.admin-page { background: #010208; color: #eee; }
.admin-panel { display: block; max-width: 560px; margin: 32px auto; padding: 20px; }
.admin-panel label { display: grid; gap: 8px; margin: 16px 0; }
.admin-panel input { min-height: 44px; width: 100%; padding: 10px; border: 1px solid #ffffff30; border-radius: 8px; background: #171421; color: white; font: inherit; }
.admin-panel button { min-height: 44px; padding: 10px 16px; margin: 5px; border: 0; border-radius: 8px; background: #eeedff; color: #242033; cursor: pointer; }
.admin-panel fieldset { border: 1px solid #ffffff20; border-radius: 12px; }
.admin-panel p { font-size: 13px; line-height: 1.5; color: #b5b0c5; }
.admin-panel #admin-message { color: #eeedff; }

.receive-header > div { grid-column: 2; }
#receive-heading:focus { outline: none; }

.frens-page { --frens-surface: #b9b0ed0e; --frens-raised: #c6bdf512; --frens-muted: #aaa8bc; --frens-accent: #8176ff; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; background: #010208; color: #f4f3ff; padding: 20px 16px 32px; font-family: Arial, sans-serif; }
.frens-page::-webkit-scrollbar { display: none; }
.frens-page p { line-height: 1.5; }
.frens-account { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.frens-account > img { object-fit: contain; }
.frens-account strong { font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.frens-account small { font-size: 12px; color: var(--frens-muted); font-weight: 400; }
#frens-wallet { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--frens-accent); color: #fff; font: 28px/1 Arial; cursor: pointer; padding: 0; }
#frens-level { margin-left: auto; padding: 10px 12px; border-radius: 24px; background: var(--frens-surface); font-size: 12px; white-space: nowrap; }
.frens-profile, .frens-invite, .frens-pool, .frens-bonus, .frens-empty { background: var(--frens-surface); border: 1px solid #d9d2ff08; border-radius: 24px; }
.frens-identity { display: flex; align-items: center; gap: 12px; padding: 20px 16px; }
.frens-identity > img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.frens-identity > div { min-width: 0; }
.frens-identity h2 { margin: 0 0 4px; font-size: 20px; overflow-wrap: anywhere; }
.frens-identity p { color: var(--frens-muted); font-size: 13px; margin: 0 0 10px; overflow-wrap: anywhere; }
.frens-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.frens-badges span { padding: 5px 8px; background: var(--frens-raised); border-radius: 12px; color: #c4bfdc; font-size: 10px; }
.frens-language { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-top: 1px solid #d9d2ff10; font-size: 14px; }
.frens-language span:last-child { color: var(--frens-muted); }
.frens-invite { margin-top: 20px; padding: 28px 20px 16px; text-align: center; }
.frens-invite > img { display: block; margin: 0 auto 20px; object-fit: contain; }
.frens-invite h1 { font-size: 26px; letter-spacing: -.8px; margin: 0 0 10px; }
.frens-invite > p { color: #c5c1d7; margin: 0; font-size: 15px; }
.frens-invite-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.frens-invite-actions button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid #b5aaff44; border-radius: 14px; background: linear-gradient(#8e83ff, #6658e7); color: #fff; font: 600 16px Arial; cursor: pointer; }
.frens-invite-actions img { filter: invert(1); }
.frens-invite-actions button:active, #frens-wallet:active { opacity: .75; }
#frens-feedback { margin-top: 12px; font-size: 12px; }
.frens-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 28px 14px 10px; }
.frens-section-heading h2 { color: var(--frens-muted); font-size: 12px; font-weight: 500; letter-spacing: .5px; margin: 0; }
.frens-section-heading > span { border-radius: 16px; padding: 5px 9px; background: #8176ff18; color: #b5acff; font-size: 11px; }
.frens-pool, .frens-bonus { padding: 20px 16px 16px; }
.frens-pool > p { margin: 0 0 4px; color: var(--frens-muted); font-size: 14px; }
.frens-pool-value { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.frens-pool-value strong { font-size: 32px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.frens-pool-value small { color: var(--frens-muted); font-size: 14px; letter-spacing: 0; }
.frens-pool-value > span { color: #b5acff; font-size: 14px; }
.frens-page button:disabled { display: block; width: 100%; min-height: 48px; padding: 12px; margin-top: 16px; border: 0; border-radius: 14px; background: var(--frens-raised); color: #aaa7ba; font: 14px Arial; cursor: not-allowed; }
.frens-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.frens-stats > div { display: grid; gap: 6px; justify-items: center; padding: 16px 4px; border-radius: 18px; background: var(--frens-raised); }
.frens-stats strong { font-size: 23px; }
.frens-stats > div:first-child strong { color: #a99cff; }
.frens-stats > div:last-child strong { color: #dfbb80; }
.frens-stats span { color: var(--frens-muted); font-size: 11px; text-align: center; }
.frens-empty { text-align: center; padding: 32px 16px; }
.frens-empty img { object-fit: contain; }
.frens-empty h3 { font-size: 18px; margin: 18px 0 8px; }
.frens-empty p { color: var(--frens-muted); font-size: 14px; margin: 0; }
@media (max-width: 350px) { .frens-page { padding-inline: 10px; } .frens-identity { padding: 16px 12px; gap: 10px; } .frens-identity > img { width: 48px; height: 48px; } .frens-identity h2 { font-size: 17px; } .frens-invite { padding-inline: 14px; } .frens-account { flex-wrap: wrap; } }

/* Wallet controls share a quiet, consistent interaction treatment. */
.wallet-caption { margin: 0; text-align: center; font-size: 13px; color: #a9a4bb; font-weight: 500; }
.wallet-section-title { margin: 0 var(--wallet-row-inset) 14px; font-size: 15px; font-weight: 600; }
.wallet-asset + .wallet-asset { border-top: 1px solid #ffffff06; }
.send-header button, .receive-header button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: #a79be60d; color: #c8c1d7; cursor: pointer; }
.send-header button svg, .receive-header button svg, #swap-refresh svg { display: block; width: 20px; height: 20px; }
.send-header h2, .receive-header h2, .swap-header h2 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.5px; margin: 0; }
#close-swap { background: #a79be60d; color: #c8c1d7; }
#swap-direction { background: #30283f; }
#send-form input:focus-visible, #swap-pay:focus-visible { outline: 2px solid #8176ff; outline-offset: 3px; }
@media (hover: hover) { .wallet-actions button:hover > span { background: #fff; transform: translateY(-2px); } .wallet-address:hover { background: #a79be615; } }
@media (max-width: 350px) {
  .wallet-page { padding-top: 20px; }
  .wallet-section-title { font-size: 14px; }
  .activity-heading h2, .activity-heading button { font-size: 10px; }
  .activity-heading svg { width: 14px; height: 14px; }
  #send-dialog, #receive-dialog, #swap-dialog { padding: 16px 12px; border-radius: 20px; }
  .send-header h2, .receive-header h2 { font-size: 17px; }
  .send-header p { font-size: 10px; }
  .swap-panel-heading { flex-wrap: wrap; }
}

.frens-note { color: var(--frens-muted); font-size: 12px; line-height: 1.6; margin: 12px 14px 0; }
.frens-member { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px; margin-top: 8px; border-radius: 18px; background: var(--frens-surface); }
.frens-member > div { min-width: 0; }
.frens-member h3 { margin: 0 0 6px; font-size: 15px; overflow-wrap: anywhere; }
.frens-member p { margin: 0; font-size: 12px; color: var(--frens-muted); }
.frens-member > span { flex-shrink: 0; border-radius: 12px; padding: 6px 8px; font-size: 11px; color: #c4bcff; background: #8176ff14; }
.frens-stats strong { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(14px,5vw,23px); }

.admin-panel { max-width: 1000px; }
#admin-workspace > section { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ffffff12; }
.admin-table-scroll { overflow-x: auto; max-width: 100%; }
.admin-panel table { border-collapse: collapse; width: 100%; font-size: 13px; text-align: left; }
.admin-panel th, .admin-panel td { padding: 12px 10px; border-bottom: 1px solid #ffffff0c; vertical-align: top; overflow-wrap: anywhere; max-width: 260px; }
.admin-panel th { color: #b7afcb; font-size: 12px; }
.admin-panel button:disabled { opacity: .45; cursor: not-allowed; }
.admin-panel fieldset { min-width: 0; }
.admin-panel h2 { font-size: 22px; }

.receive-qr:has(img) { width: 210px; height: 210px; padding: 8px; background: white; }
.receive-qr img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
#deposit-address { font-family: monospace; font-size: 12px; }
#copy-deposit:not(:disabled) { cursor: pointer; color: #f4f1fc; background: #8176ff20; }
.nft-cancel { min-height: 44px; margin-top: 12px; padding: 8px 16px; background: transparent; border: 0; color: #bcb5d4; font: inherit; cursor: pointer; }
#confirm-nft-purchase:disabled { opacity: .5; cursor: wait; }

/* Admin sign-in stays readable on both mobile and desktop. */
.admin-panel #admin-login { max-width: 420px; margin: 28px 0; }
.admin-panel #admin-login button { margin: 8px 0; width: 100%; background: #8176ff; color: #fff; font-weight: 600; }
.admin-panel input:focus-visible, .admin-panel button:focus-visible { outline: 2px solid #a79fff; outline-offset: 3px; }

#send-heading:focus { outline: none; }
.send-header button:focus-visible { outline: 2px solid #ffffff80; outline-offset: 2px; }
.wallet-minimum { margin-left: 6px; font-size: 11px; font-weight: 500; color: #bdb8c9; white-space: nowrap; }
.deposit-minimum { margin: 16px 0; color: #bdb8c9; font-size: 12px; line-height: 1.5; }

.send-amount-label > div { display: flex; align-items: baseline; }
