/* Wallet layout only. Existing content, links and account logic are preserved. */
.cp-shell[data-page="assets"] .content{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;
 align-items:start;width:100%;max-width:1220px;margin:0 auto;padding-bottom:48px;
}
.cp-shell[data-page="assets"] .content>*{min-width:0;margin:0}
.cp-shell[data-page="assets"] .content>.wallet-total,
.cp-shell[data-page="assets"] .content>.wallet-actions,
.cp-shell[data-page="assets"] .content>.wallet-accounts,
.cp-shell[data-page="assets"] .content>.wallet-ledger,
.cp-shell[data-page="assets"] .content>.two-grid,
.cp-shell[data-page="assets"] .content>a{grid-column:1/-1}
.cp-shell[data-page="assets"] .content>.card,
.cp-shell[data-page="assets"] .wallet-accounts>.card,
.cp-shell[data-page="assets"] .content>.two-grid>a{
 border:1px solid #b5d4e51a;border-radius:18px;background:#101922;padding:26px;
 box-shadow:inset 0 1px 0 #ffffff03;
}
.cp-shell[data-page="assets"] .content>.wallet-total{
 min-height:190px;padding:30px 32px;background:radial-gradient(ellipse at 100% 0,#36566f44,transparent 60%),linear-gradient(115deg,#1b2c3d,#111d29);
 border-color:#9ec5df30;
}
.cp-shell[data-page="assets"] .wallet-total>small{font-size:14px;line-height:1.6;color:#a7bdcc}
.cp-shell[data-page="assets"] .wallet-total>.big-value{position:relative;max-width:100%;margin:22px 0 12px;font-size:48px;line-height:1.2;letter-spacing:-1.5px;overflow-wrap:anywhere}
.cp-shell[data-page="assets"] .wallet-total>.big-value>small{font-size:14px;letter-spacing:0}
.cp-shell[data-page="assets"] .wallet-total>.muted{font-size:12px;color:#92abbd}
.cp-shell[data-page="assets"] .content>.wallet-actions{
 display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;
 padding:16px;margin:0;border:1px solid #b5d4e51c;border-radius:18px;background:#101922;
}
.cp-shell[data-page="assets"] .wallet-actions>a.quick{
 display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;
 width:auto;min-width:0;min-height:66px;padding:16px 10px;margin:0;
 border:1px solid #bedef023;border-radius:12px;background:#192a39;color:#d6e6f1;
 font-size:14px;line-height:1.5;text-align:center;white-space:normal;overflow-wrap:anywhere;
 box-shadow:none;transition:background .2s,border-color .2s;
}
.cp-shell[data-page="assets"] .wallet-actions>a.quick:first-child{background:linear-gradient(115deg,#d2e9f7,#a5cce3);border-color:#d8eefa70;color:#102331}
.cp-shell[data-page="assets"] .wallet-actions>a.quick:nth-child(2){background:#243d50;border-color:#8eb9d350}
.cp-shell[data-page="assets"] .wallet-actions>a.quick:hover{border-color:#b8d7ed90;filter:brightness(1.08)}
.cp-shell[data-page="assets"] .wallet-actions>a.quick:focus-visible{outline:2px solid #c8e9ff;outline-offset:3px}
.cp-shell[data-page="assets"] .wallet-actions>a.quick>svg{width:20px;height:20px;flex:0 0 20px;color:inherit}
.cp-shell[data-page="assets"] .wallet-accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.cp-shell[data-page="assets"] .wallet-accounts>.card{margin:0;min-width:0;min-height:124px}
.cp-shell[data-page="assets"] .wallet-accounts h3{margin:0 0 18px;font-size:14px;line-height:1.5;font-weight:500;color:#9bb3c5}
.cp-shell[data-page="assets"] .wallet-accounts .account-value{font-size:28px;line-height:1.35;overflow-wrap:anywhere}
.cp-shell[data-page="assets"] .wallet-accounts .account-value>small{font-size:12px}
.cp-shell[data-page="assets"] .content>.gift-wallet,
.cp-shell[data-page="assets"] .content>.locked-cpt-wallet{height:auto;min-height:250px;align-self:stretch}
.cp-shell[data-page="assets"] .gift-wallet>.row,
.cp-shell[data-page="assets"] .locked-cpt-wallet>.row{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}
.cp-shell[data-page="assets"] .gift-wallet>.row>.token-icon,
.cp-shell[data-page="assets"] .locked-cpt-wallet>.row>.token-icon{
 display:grid;place-items:center;flex:0 0 40px;width:40px;min-width:40px;max-width:40px;height:40px;
 border:1px solid #a7d5ef26;border-radius:12px;background:#b1d7ef09;color:#afd7ef;
}
.cp-shell[data-page="assets"] .gift-wallet>.row>.token-icon svg,
.cp-shell[data-page="assets"] .locked-cpt-wallet>.row>.token-icon svg{width:20px;height:20px}
.cp-shell[data-page="assets"] .gift-wallet>.row>div,
.cp-shell[data-page="assets"] .locked-cpt-wallet>.row>div{flex:1;min-width:110px}
.cp-shell[data-page="assets"] .gift-wallet .row h3,
.cp-shell[data-page="assets"] .locked-cpt-wallet .row h3{font-size:16px;line-height:1.5;margin:0 0 6px;font-weight:500}
.cp-shell[data-page="assets"] .gift-wallet .row small,
.cp-shell[data-page="assets"] .locked-cpt-wallet .row small{font-size:12px;line-height:1.8;color:#91aabd;overflow-wrap:anywhere}
.cp-shell[data-page="assets"] .gift-wallet>.row>.badge{flex:0 0 auto;margin:0;padding:5px 9px;font-size:11px;line-height:1.5}
.cp-shell[data-page="assets"] .gift-wallet>.big-value,
.cp-shell[data-page="assets"] .locked-cpt-wallet>.big-value{font-size:34px;line-height:1.3;margin:26px 0 20px;overflow-wrap:anywhere}
.cp-shell[data-page="assets"] .gift-wallet>.big-value small,
.cp-shell[data-page="assets"] .locked-cpt-wallet>.big-value small{font-size:12px}
.cp-shell[data-page="assets"] .gift-wallet>.empty{
 display:block;min-height:0;height:auto;margin:0;padding:18px 0 0;border-top:1px solid #ffffff0c;
 font-size:13px;line-height:1.7;text-align:left;color:#8099ad;
}
.cp-shell[data-page="assets"] .gift-wallet>.empty:before{display:none}
.cp-shell[data-page="assets"] .locked-cpt-wallet>.record-row{padding:16px 0 0;border-top:1px solid #ffffff0c;border-bottom:0;font-size:13px}
.cp-shell[data-page="assets"] .wallet-ledger>.row{padding-bottom:20px}
.cp-shell[data-page="assets"] .wallet-ledger>.row h3{font-size:17px}
.cp-shell[data-page="assets"] .wallet-ledger>.record-row{gap:14px;padding:20px 0}
.cp-shell[data-page="assets"] .wallet-ledger>.record-row:last-child{border-bottom:0;padding-bottom:0}
.cp-shell[data-page="assets"] .wallet-ledger .record-row b{font-size:15px;line-height:1.6;max-width:45%;overflow-wrap:anywhere;text-align:right}
.cp-shell[data-page="assets"] .wallet-ledger .record-row>span:nth-child(2){font-size:14px;line-height:1.7}
.cp-shell[data-page="assets"] .wallet-ledger .record-row small{font-size:12px;line-height:1.8;margin-top:3px}
.cp-shell[data-page="assets"] .content>.two-grid:not(.wallet-accounts){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.cp-shell[data-page="assets"] .content>.two-grid>a{margin:0;min-width:0;min-height:70px;font-size:14px}
.cp-shell[data-page="assets"] .content>a.row{min-height:70px;font-size:14px}
@media(max-width:1100px){
 .cp-shell[data-page="assets"] .wallet-actions>a.quick{flex-direction:column;font-size:13px;gap:10px}
}
@media(max-width:700px){
 .cp-shell[data-page="assets"] .content{grid-template-columns:minmax(0,1fr);gap:18px;padding-bottom:32px}
 .cp-shell[data-page="assets"] .content>.card,
 .cp-shell[data-page="assets"] .wallet-accounts>.card,
 .cp-shell[data-page="assets"] .content>.two-grid>a{padding:22px;border-radius:16px}
 .cp-shell[data-page="assets"] .content>.wallet-total{padding:26px 24px;min-height:184px}
 .cp-shell[data-page="assets"] .wallet-total>.big-value{font-size:42px}
 .cp-shell[data-page="assets"] .content>.wallet-actions{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:14px;border-radius:16px}
 .cp-shell[data-page="assets"] .wallet-actions>a.quick{grid-column:span 2;min-height:80px;padding:12px 5px;font-size:12px;gap:9px}
 .cp-shell[data-page="assets"] .wallet-actions>a.quick:nth-child(-n+2){grid-column:span 3;flex-direction:row;min-height:58px;font-size:15px;padding:12px}
 .cp-shell[data-page="assets"] .wallet-accounts{gap:14px}
 .cp-shell[data-page="assets"] .wallet-accounts>.card{padding:20px 16px;min-height:116px}
 .cp-shell[data-page="assets"] .wallet-accounts h3{font-size:12px;margin-bottom:16px}
 .cp-shell[data-page="assets"] .wallet-accounts .account-value{font-size:24px}
 .cp-shell[data-page="assets"] .wallet-accounts .account-value>small{font-size:11px}
 .cp-shell[data-page="assets"] .content>.gift-wallet,
 .cp-shell[data-page="assets"] .content>.locked-cpt-wallet{min-height:0}
 .cp-shell[data-page="assets"] .gift-wallet>.row>.badge{margin-left:52px}
 .cp-shell[data-page="assets"] .wallet-ledger>.record-row{gap:10px}
 .cp-shell[data-page="assets"] .wallet-ledger .record-row b{font-size:13px}
 .cp-shell[data-page="assets"] .wallet-ledger .record-row>span:nth-child(2){font-size:13px}
 .cp-shell[data-page="assets"] .content>.two-grid:not(.wallet-accounts){gap:14px}
 .cp-shell[data-page="assets"] .content>.two-grid>a{padding:18px 16px;font-size:13px}
}
@media(max-width:360px){
 .cp-shell[data-page="assets"] .content>.wallet-actions{padding:12px;gap:8px}
 .cp-shell[data-page="assets"] .wallet-actions>a.quick{font-size:11px}
 .cp-shell[data-page="assets"] .wallet-actions>a.quick:nth-child(-n+2){font-size:14px}
 .cp-shell[data-page="assets"] .wallet-accounts{gap:12px}
 .cp-shell[data-page="assets"] .wallet-accounts>.card{padding:18px 12px}
 .cp-shell[data-page="assets"] .wallet-accounts .account-value{font-size:21px}
 .cp-shell[data-page="assets"] .content>.two-grid:not(.wallet-accounts){grid-template-columns:1fr}
}

/* Compact wallet actions revision: one row on all screen sizes. */
.cp-shell[data-page="assets"] .content>.wallet-actions{
 display:flex;flex-wrap:nowrap;align-items:stretch;gap:10px;
 padding:0;margin:0;border:0;border-radius:0;background:transparent;
}
.cp-shell[data-page="assets"] .wallet-actions>a.quick,
.cp-shell[data-page="assets"] .wallet-actions>a.quick:nth-child(-n+2){
 display:flex;flex:0 1 auto;flex-direction:row;align-items:center;justify-content:center;
 grid-column:auto;width:auto;min-width:0;min-height:38px;
 padding:9px 14px;gap:7px;border-radius:8px;font-size:12px;line-height:1.5;
}
.cp-shell[data-page="assets"] .wallet-actions>a.quick>svg{width:16px;height:16px;flex:0 0 16px}
@media(max-width:850px){
 .cp-shell[data-page="assets"] .content>.wallet-actions{gap:8px}
 .cp-shell[data-page="assets"] .wallet-actions>a.quick,
 .cp-shell[data-page="assets"] .wallet-actions>a.quick:nth-child(-n+2){
  flex:1 1 0;flex-direction:column;min-height:56px;padding:9px 4px;gap:6px;font-size:10px;line-height:1.4;
 }
}
@media(max-width:360px){
 .cp-shell[data-page="assets"] .content>.wallet-actions{gap:6px}
 .cp-shell[data-page="assets"] .wallet-actions>a.quick,
 .cp-shell[data-page="assets"] .wallet-actions>a.quick:nth-child(-n+2){
  min-height:54px;padding:8px 3px;font-size:9px;
 }
}
