/* FPSHost V24 wallet. Scoped to the wallet and admin adjustments; existing server UI unchanged. */
.panel-v9 .panel-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.panel-v9 .panel-stats .wallet-dashboard-card{position:relative;min-width:0;min-height:103px;padding:18px 19px;display:flex;align-items:center;gap:15px;border:1px solid rgba(79,113,184,.4);border-radius:18px;background:linear-gradient(135deg,rgba(42,40,92,.92),rgba(9,27,52,.98));box-shadow:0 12px 28px rgba(0,0,0,.13);transition:transform .2s,border-color .2s;text-decoration:none;color:#eff4ff}
.panel-v9 .panel-stats .wallet-dashboard-card:hover{transform:translateY(-2px);border-color:#8b82f4}
.panel-v9 .wallet-dashboard-card .wallet-stat-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;color:#d9c7ff;background:linear-gradient(140deg,rgba(121,83,236,.34),rgba(54,112,215,.3));font-size:22px;font-weight:800}
.panel-v9 .wallet-dashboard-card>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.panel-v9 .wallet-dashboard-card b{font-size:24px;color:#f2f5ff;white-space:nowrap;letter-spacing:-.04em}
.panel-v9 .wallet-dashboard-card span:not(.wallet-stat-icon){font-size:12px;color:#b9c5e4}
.panel-v9 .wallet-dashboard-card small{font-size:11px;color:#97a9d2;grid-column:auto;margin:0}
.wallet-page [hidden]{display:none!important}
.wallet-content{max-width:1150px!important}
.wallet-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.wallet-top h1{margin:8px 0 6px;font-size:clamp(27px,4vw,34px);letter-spacing:-.035em}
.wallet-top p{color:#99afcf;margin:0;font-size:14px}
.wallet-admin-pill,.wallet-currency-tag{border:1px solid rgba(138,126,245,.4);border-radius:999px;background:rgba(112,79,224,.13);color:#d4caff;padding:9px 13px;font-size:11px;font-weight:750;white-space:nowrap}
.wallet-overview-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);gap:16px;margin-bottom:22px}
.wallet-balance-card,.wallet-info-card,.wallet-history-card{border:1px solid rgba(82,113,171,.31);border-radius:22px;background:linear-gradient(137deg,#12243e,#0b172c);box-shadow:0 16px 36px rgba(0,0,0,.1);min-width:0}
.wallet-balance-card{padding:30px;background:radial-gradient(circle at 92% 3%,rgba(112,77,229,.32),transparent 39%),linear-gradient(120deg,#132d57,#111d3c 65%,#1e1949)}
.wallet-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.wallet-card-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid #7c92ed7a;background:#4d50ba40;border-radius:15px;color:#ddd3ff;font-size:23px;font-weight:900}.wallet-balance-card p{font-size:13px;color:#b5c4df;margin:33px 0 8px}.wallet-balance-card>strong{font-size:clamp(36px,6vw,54px);line-height:1.1;letter-spacing:-.045em;color:white;font-weight:800}.wallet-card-foot{border-top:1px solid rgba(255,255,255,.13);margin-top:30px;padding-top:18px;color:#aebee1;font-size:12px}
.wallet-info-card{padding:28px;display:flex;flex-direction:column;align-items:flex-start}.wallet-info-icon{width:41px;height:41px;display:grid;place-items:center;border-radius:13px;background:#24529d49;color:#a5ceff;font-size:22px}.wallet-info-card h2{font-size:19px;margin:21px 0 8px}.wallet-info-card p{font-size:13px;line-height:1.8;color:#9baecc;margin:0}.wallet-info-note{font-size:11px;color:#b7c8e5;border-top:1px solid #ffffff1c;margin-top:auto;padding-top:16px}
.wallet-history-card{padding:27px}.wallet-history-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:15px}.wallet-history-head h2{font-size:21px;margin:7px 0 0}.wallet-refresh,.wallet-pagination button{border:1px solid #334e78;border-radius:11px;background:#152945;color:#dceaff;font:inherit;font-weight:650;min-height:43px;padding:10px 14px;cursor:pointer}.wallet-refresh:hover,.wallet-pagination button:not(:disabled):hover{background:#233d61;border-color:#6589b7}.wallet-pagination button:disabled{opacity:.4;cursor:not-allowed}
.wallet-transaction{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:13px;align-items:center;padding:17px 0;border-top:1px solid #ffffff17}.wallet-transaction-icon{height:39px;width:39px;display:grid;place-items:center;border-radius:13px;font-size:22px;font-weight:700}.wallet-transaction-icon.credit{background:#1b705333;color:#77e4b4}.wallet-transaction-icon.debit{background:#bc745329;color:#f2a07b}.wallet-transaction-copy{min-width:0}.wallet-transaction-copy b{font-size:13px;color:#e8efff}.wallet-transaction-copy p{font-size:12px;line-height:1.5;color:#a6b6d2;margin:4px 0;overflow-wrap:anywhere}.wallet-transaction-copy small,.wallet-transaction-sum small{display:block;color:#8296b5;font-size:11px}.wallet-transaction-sum{text-align:right;white-space:nowrap}.wallet-transaction-sum b{font-size:17px;letter-spacing:-.02em}.wallet-transaction-sum .credit,.wallet-admin-history-row .credit{color:#73e5ae}.wallet-transaction-sum .debit,.wallet-admin-history-row .debit{color:#ffac96}
.wallet-empty{padding:30px 15px;text-align:center;border-top:1px solid #ffffff17;color:#a0b2cf;font-size:13px;line-height:1.7}.wallet-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:14px;border-top:1px solid #ffffff17}.wallet-pagination>span{color:#91a6c7;font-size:12px;text-align:center}
.wallet-table-balance{display:inline-block;font-weight:750;letter-spacing:-.02em;color:#cdd8ff;white-space:nowrap}.wallet-user-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wallet-adjust-button{border:1px solid #675ac484;background:#5550b32a;color:#d6d0ff;padding:9px 11px;border-radius:9px;font:inherit;font-size:11px;font-weight:700;min-height:39px;cursor:pointer}.wallet-adjust-button:hover{background:#5045bb50}
.wallet-adjust-dialog{width:min(520px,calc(100% - 20px));max-height:calc(100dvh - 28px);overflow-y:auto}.wallet-adjust-dialog .wallet-adjust-current{border:1px solid #384d85a3;background:#1b2c50;padding:17px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:9px;margin:16px 0}.wallet-adjust-current span{color:#9bb1d0;font-size:12px}.wallet-adjust-current strong{font-size:25px;white-space:nowrap}.wallet-adjust-dialog .wallet-admin-history{border-top:1px solid #ffffff20;padding:19px 23px 23px}.wallet-admin-history h3{font-size:14px;margin:0 0 10px}.wallet-admin-history-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #ffffff15;padding:11px 0;font-size:12px}.wallet-admin-history-row span{min-width:0;overflow-wrap:anywhere}.wallet-admin-history-row small{display:block;font-size:10px;color:#829ab9;margin-top:4px}.wallet-admin-history-row b{white-space:nowrap;font-size:13px}.wallet-admin-history-empty{font-size:12px;color:#9bacca;padding:12px 0}
@media(max-width:1100px){.panel-v9 .panel-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-v9 .stat-card:last-child{grid-column:auto}}
@media(max-width:760px){.wallet-overview-grid{grid-template-columns:1fr}.wallet-top{align-items:flex-start;flex-direction:column}.wallet-balance-card,.wallet-info-card,.wallet-history-card{padding:20px}.wallet-info-note{margin-top:20px}.wallet-card-foot{margin-top:24px}.wallet-history-head{align-items:flex-start}.wallet-transaction{grid-template-columns:36px minmax(0,1fr) auto;gap:9px}.wallet-transaction-icon{width:35px;height:35px}.wallet-transaction-sum b{font-size:14px}}
@media(max-width:600px){.panel-v9 .panel-stats{grid-template-columns:1fr}.wallet-history-head h2{font-size:18px}.wallet-transaction{grid-template-columns:32px minmax(0,1fr);gap:10px}.wallet-transaction-sum{grid-column:2;text-align:left}.wallet-page .panel-page-title{min-width:0}.wallet-page .user-chip{min-width:0}}
