/* Profile wallet chips in the summary row, aligned to the requested right-hand area. */
#controller-counts .world-resources{margin-left:auto;display:flex;gap:20px;padding:3px 12px;border:0;align-items:center;flex:none}body>.metrics{height:auto;flex-wrap:wrap}body>.metrics #controller-counts #world-resources strong{font-size:22px}
.world-resource{display:flex;align-items:center;gap:8px;color:#bad5e4}.world-resource>img{width:32px;height:32px;object-fit:contain}.world-resource>span{font-size:12px;line-height:1.25}.world-resource strong{display:block;font:700 25px 'Rajdhani','Segoe UI',sans-serif;white-space:nowrap;color:#ffdc81}.world-resource.energy strong{color:#72eaff}.resource-bolt{font:700 35px 'Segoe UI',sans-serif!important;color:#70e5ff}
#aiCommanderDialog{width:min(1150px,96vw);max-width:96vw;max-height:94dvh;overflow:auto;padding:0;background:#061d2c;color:#d9eef7;border:1px solid #3bcbea;border-radius:12px}
#aiCommanderDialog .aic-header{position:sticky;top:0;z-index:5;height:auto;min-height:65px;background:#082638;display:flex;align-items:center;justify-content:space-between;padding:12px;gap:14px}
#aiCommanderDialog header h2{font-size:24px;letter-spacing:1px;margin:0}#aiCommanderDialog header small{font-size:11px}#aiCommanderDialog button{cursor:pointer}#aiCommanderDialog button:disabled{cursor:not-allowed}
#aiCommanderDialog .aic-layout{padding:12px;display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);gap:15px}
#aiCommanderDialog .aic-controls{min-width:0}#aiCommanderDialog .aic-showcase{min-width:0}#aiCommanderDialog .aic-hero{max-height:330px;overflow:hidden}#aiCommanderDialog .aic-hero img{max-width:100%;max-height:330px;object-fit:cover}
#aiCommanderDialog h3{font-size:18px}#aiCommanderDialog p,#aiCommanderDialog label{font-size:14px;line-height:1.65}#aiCommanderDialog .aic-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}#aiCommanderDialog input,#aiCommanderDialog select{max-width:100%;box-sizing:border-box}
#aiCommanderDialog #world-ai-mode{padding:10px 16px;margin:0;background:#174051;color:#b7efff;font-size:13px;border-bottom:1px solid #30728b}
#world-ai-connect{max-width:500px;width:92vw;box-sizing:border-box;background:#082334;color:#d5eef8;border:1px solid #39cbe9;border-radius:9px;padding:20px}#world-ai-connect h2{font-size:22px}#world-ai-connect p{font-size:14px;line-height:1.7}#world-ai-connect button{margin:7px 7px 0 0;padding:10px}.world-ai-demo-note{color:#ffd788}
@media(max-width:800px){#controller-counts .world-resources{margin-left:0;grid-column:1/-1;justify-content:flex-end;width:100%;padding:3px 4px;gap:22px}.world-resource strong{font-size:23px}.world-resource>img{width:28px;height:28px}#aiCommanderDialog .aic-layout{grid-template-columns:1fr}#aiCommanderDialog .aic-showcase{display:none}#aiCommanderDialog .aic-plan-grid{grid-template-columns:1fr}#aiCommanderDialog .aic-header{gap:8px;padding:10px}#aiCommanderDialog .aic-header h2{font-size:18px}#aiCommanderDialog .aic-header button{font-size:12px;padding:7px}#aiCommanderDialog .aic-wallet{min-width:95px}#aiCommanderDialog .aic-card{padding:12px}}
