.wallet-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px;border:1px solid #dcc88a;border-radius:16px;background:#fff1c0;color:#174b36}.wallet-summary strong{font-size:26px;font-variant-numeric:tabular-nums}.wallet-summary span{font-size:14px}.wallet-form{display:grid;gap:14px;margin-top:16px;padding:16px;background:#fff;border:1px solid #dce5dc;border-radius:16px}.wallet-form label{font-size:14px;font-weight:650}.wallet-form input{display:block;width:100%;margin-top:8px;min-height:46px;padding:10px 12px;border:1px solid #c4d5c4;border-radius:10px;box-sizing:border-box;font-size:18px}.wallet-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.wallet-presets button{min-width:0;min-height:44px;padding:8px 2px;font-size:14px;background:#f4f8f0;border:1px solid #d4e1ce;border-radius:10px;color:#15573d}.wallet-form>button{min-height:46px;background:#08744a;color:#fff;border:0;border-radius:12px;font-size:15px;font-weight:700}.wallet-history{margin-top:20px}.wallet-history h2{font-size:15px}.wallet-history article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e1e7df}.wallet-history article strong{font-size:14px}.wallet-history small{display:block;margin-top:4px;color:#758274;font-size:12px}.wallet-history .income{color:#067448}.wallet-history .expense{color:#b02b23}.wallet-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.wallet-pages button{min-height:44px}#walletMessage{font-size:13px;color:#a02b23}#main .referral-commission{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0;font-size:14px;color:#15573d}#main .referral-commission strong{font-size:20px;font-variant-numeric:tabular-nums}

/* Shared asset header: keep money on one line and give the primary action room. */
#main .account-subpage.assets-page .asset-page-top{grid-template-columns:88px minmax(0,1fr) 88px;gap:0;min-height:56px;padding:6px 12px}
#main .account-subpage.assets-page .asset-page-top>h1{font-size:18px;white-space:nowrap}
#main .account-subpage.assets-page .asset-page-top>:is(.points-exchange-entry,.coupon-exchange-link){width:auto;min-width:0;max-width:none;min-height:44px;padding:0;font-size:13px!important;white-space:nowrap}
#main .account-subpage.assets-page .secondary-content{padding:12px 2px 28px}
#main .assets-page .asset-overview{display:block;margin:0 0 16px;padding:0;border:1px solid #176b51;border-radius:20px;background:linear-gradient(125deg,#096247,#064b37);color:#fff;overflow:hidden;box-shadow:0 6px 14px #084b3710}
#main .assets-page button.asset-balance-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:auto;min-height:100px;margin:0;padding:20px;border:0;border-radius:0;background:transparent;color:#fff;text-align:left;box-shadow:none;transform:none;opacity:1}
#main .assets-page button.asset-balance-row:is(:hover,:active,:focus){background:transparent;color:#fff;box-shadow:none;transform:none;opacity:1}
#main .assets-page .asset-balance-row::before,#main .assets-page .asset-balance-row::after{display:none}
#main .assets-page .asset-balance-copy{display:grid;gap:8px;min-width:0}
#main .assets-page .asset-label{font-size:12px;line-height:18px;font-weight:400;color:#d5e9df}
#main .assets-page [data-asset-balance]{display:block;font-size:30px;line-height:36px;font-weight:700;letter-spacing:-.6px;white-space:nowrap;word-break:normal;font-variant-numeric:tabular-nums}
#main .assets-page .asset-topup{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-width:70px;min-height:44px;padding:0 12px;box-sizing:border-box;border:1px solid #f7d77d;border-radius:12px;background:#f8de94;color:#104e38;font-size:14px;line-height:20px;font-weight:700;white-space:nowrap}
#main .assets-page .asset-topup>span[aria-hidden]{font-size:18px;font-weight:400}
#main .assets-page .asset-secondary{display:grid;grid-template-columns:1fr 1fr;padding:16px 20px;border-top:1px solid #ffffff24;background:#ffffff06}
#main .assets-page .asset-secondary>div{display:grid;gap:5px;min-width:0;text-align:left}
#main .assets-page .asset-secondary>div+div{padding-left:24px;border-left:1px solid #ffffff24}
#main .assets-page .asset-secondary strong{font-size:23px;line-height:28px;font-weight:650;font-variant-numeric:tabular-nums;color:#fff}
#main .assets-page .asset-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 12px;border-bottom:1px solid #dce5dc}
#main .assets-page .asset-tabs button{position:relative;min-width:0;min-height:48px;padding:12px 6px;border:0;border-radius:0;background:transparent;color:#6b796f;font-size:14px;line-height:22px;font-weight:500;box-shadow:none;transform:none}
#main .assets-page .asset-tabs button::before{display:none}
#main .assets-page .asset-tabs button[aria-selected="true"]{color:#075e3e;font-weight:700}
#main .assets-page .asset-tabs button[aria-selected="true"]::after{content:"";position:absolute;inset:auto calc(50% - 14px) -1px;height:3px;border-radius:3px;background:#b79743}
#main .account-subpage.assets-page .points-list{border-radius:16px;border-color:#e0e7e0}
#main .account-subpage.assets-page .points-record{padding:13px 14px;gap:5px}
#main .account-subpage.assets-page .points-record h2{font-size:14px;line-height:20px}
#main .account-subpage.assets-page .points-record-meta{font-size:12px;line-height:18px;color:#738074}
#main .assets-page .asset-coupon-policy{margin:0 2px 12px;color:#66766b;font-size:12px;line-height:18px}
#main .account-subpage.assets-page .coupon-stack{position:relative;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:16px;margin:0 0 10px;border:1px solid #e0e5dc;border-radius:16px;background:#fff}
#main .account-subpage.assets-page .coupon-stack.is-available{border-color:#dfc68b;background:linear-gradient(100deg,#fff9e9,#fffefa)}
#main .account-subpage.assets-page .coupon-stack>.coupon-face{grid-row:1 / 3;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;max-width:none;gap:6px;color:#a72f29}
#main .account-subpage.assets-page .coupon-stack .coupon-face-amount{display:flex;align-items:baseline;gap:2px;white-space:nowrap}
#main .account-subpage.assets-page .coupon-stack .coupon-face strong{font-size:30px;line-height:34px;font-weight:700}
#main .account-subpage.assets-page .coupon-stack .coupon-face small{font-size:12px}
#main .account-subpage.assets-page .coupon-stack .coupon-stack-count{font-size:12px;line-height:18px;font-weight:500;white-space:nowrap}
#main .account-subpage.assets-page .coupon-stack>section{align-self:end;padding:0 0 0 12px;border-left:1px dashed #e0dfd3;min-width:0}
#main .account-subpage.assets-page .coupon-stack h2{margin:0 0 4px;font-size:14px;line-height:20px}
#main .account-subpage.assets-page .coupon-stack p{margin:0;font-size:12px;line-height:18px}
#main .account-subpage.assets-page .coupon-stack section>small{display:block;margin-top:3px;font-size:12px;line-height:18px;color:#7a8278}
#main .account-subpage.assets-page .coupon-stack>.coupon-availability{grid-column:2;justify-self:start;margin-left:12px;padding:0;background:transparent;font-size:12px;line-height:18px;font-weight:600;color:#087448}
#main .account-subpage.assets-page .coupon-stack>.coupon-availability.used{color:#7b847b;font-weight:400}
#main .account-subpage.assets-page .coupon-stack>button{grid-column:2;justify-self:start;min-width:88px;min-height:44px;margin-left:12px;padding:0 14px;font-size:13px}
#main .account-subpage.wallet-page .secondary-content{padding:12px 2px 28px}
#main .wallet-page .wallet-summary{padding:18px;border:1px solid #176b51;border-radius:18px;background:#07553d;color:#fff}
#main .wallet-page .wallet-summary strong{font-size:28px;line-height:36px;white-space:nowrap}
#main .wallet-page .wallet-summary>span{font-size:12px;color:#d5e9df}
#main .wallet-page .wallet-form{margin-top:14px;padding:16px;gap:14px;border-color:#e0e7e0;border-radius:16px}
#main .wallet-page .wallet-history{padding:16px;margin-top:16px;border:1px solid #e0e7e0;border-radius:16px;background:#fff}
#main .wallet-page .wallet-history:empty{display:none}
#main .wallet-page .wallet-history h2{margin:0 0 4px;font-size:14px}
#main .wallet-page .wallet-history article{padding:12px 0}
#main .wallet-page .wallet-history article:last-child{border-bottom:0;padding-bottom:0}
#main .wallet-page #walletMessage:empty{display:none}
@media(max-width:350px){#main .account-subpage.assets-page .secondary-content{padding-inline:0}#main .assets-page button.asset-balance-row{padding:18px 16px;gap:8px}#main .assets-page [data-asset-balance]{font-size:26px}#main .assets-page .asset-topup{padding:0 10px;min-width:62px}#main .assets-page .asset-secondary{padding:14px 16px}#main .account-subpage.assets-page .coupon-stack{padding:14px 12px;grid-template-columns:64px minmax(0,1fr);gap:8px}}

.wallet-pages[hidden]{display:none}

/* Match the editable amount field to the account form controls. */
#main .wallet-form input{height:48px;min-height:48px;font-size:16px;line-height:24px;padding:11px 12px}

/* Short exchange rows keep the quote and its action together. */
#main .account-subpage.exchange-page .secondary-content{padding:12px 2px 28px}
#main .exchange-page .exchange-balance{border-left-width:0;border-color:#176b51;background:#07553d;color:#d5e9df;border-radius:18px;padding:16px 18px}
#main .exchange-page .exchange-balance strong{color:#fff}
#main .exchange-page .exchange-card:not(:has(.exchange-quantity)){position:relative;min-height:80px;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:center;column-gap:12px;row-gap:0;padding:12px}
#main .exchange-page .exchange-card:not(:has(.exchange-quantity)) .exchange-item-top{grid-column:1;grid-row:1;align-items:flex-start}
#main .exchange-page .exchange-card:not(:has(.exchange-quantity)) .exchange-item-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%)}
#main .exchange-page .exchange-card:not(:has(.exchange-quantity)) .exchange-item-top>div{margin-left:52px}
#main .exchange-page .exchange-card:not(:has(.exchange-quantity)) .exchange-item-top h2{font-size:14px;line-height:21px}
#main .exchange-page .exchange-card:not(:has(.exchange-quantity)) .exchange-item-action{display:contents}
#main .exchange-page .exchange-card:not(:has(.exchange-quantity)) .exchange-item-action>strong{grid-column:1;grid-row:2;margin-left:52px;font-size:14px;line-height:22px}
#main .exchange-page .exchange-card:not(:has(.exchange-quantity)) .exchange-item-action>button{grid-column:2;grid-row:1 / 3;width:64px;min-height:44px;padding:8px}
#main .wallet-page .wallet-form label{margin:0}
