.portfolio-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#20343f;padding:12px;border-radius:10px;margin-bottom:12px}.portfolio-summary strong{color:#e6bd66;font-size:1.4rem}.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portfolio-card{min-width:0;margin:0!important;padding:10px!important;font-size:12px;overflow-wrap:anywhere}.portfolio-head{display:flex;align-items:center;gap:8px}.portfolio-head img{width:48px;height:48px;object-fit:contain}.portfolio-head small,.portfolio-id,.portfolio-value small{display:block;color:#b6c6ce}.portfolio-value{margin:8px 0;padding:7px;background:#14252e;border-radius:6px}.portfolio-value strong{font-size:clamp(14px,3vw,20px);color:#80e0aa}.portfolio-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.portfolio-card button{font-size:11px;padding:7px 4px;white-space:normal;margin:0;min-width:0;width:100%}.portfolio-card .resource-box{display:block;padding:6px;margin-top:8px;font-size:11px}.portfolio-card .resource-box img{width:36px;height:36px;object-fit:contain;float:left;margin:0 6px 4px 0}.portfolio-card .resource-box button{margin-top:5px}.rank-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.portfolio-card{padding:6px!important}.portfolio-head img{width:32px;height:32px}.portfolio-actions{grid-template-columns:1fr}.rank-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.achievement-ranks{grid-template-columns:1fr}.achievement-card{padding:8px}.achievement-card .rank-art{width:65px;height:65px}}

.market-card{display:flex;flex-direction:column;gap:5px}.market-card .portfolio-value{margin:2px 0}.market-price strong{color:#e6bd66}.market-price small{margin:2px 0}.market-comparison{display:block;font-size:11px;color:#d4b98c}.market-comparison.below{color:#80e0aa}.market-resource{display:flex;align-items:center;gap:6px;background:#14252e;border-radius:6px;padding:6px}.market-resource img{width:34px;height:34px;object-fit:contain;flex-shrink:0}.market-resource small{display:block;color:#b6c6ce}.market-seller{color:#b6c6ce}.market-card .portfolio-actions{margin-top:auto}.market-card .market-buy:not(:disabled){background:#e6bd66;color:#101c24;font-weight:bold}.market-card button:disabled{opacity:.55;cursor:not-allowed}

#game button[data-spend-cost]:disabled{background:#50565b!important;color:#c1c5c8!important;border-color:#62686d!important;opacity:1!important;cursor:not-allowed!important;box-shadow:none!important;transform:none!important;}
.protection-menu{grid-column:1/-1;background:#14252e;border:1px solid #526b78;border-radius:9px;padding:8px;min-width:0;margin:4px 0}.protection-menu summary{cursor:pointer;color:#e6bd66;font-weight:700;padding:5px}.protection-menu small{display:block;color:#b8c7cf;margin:5px 0}.protection-menu button{display:block;width:100%;margin:4px 0;text-align:left;white-space:normal}.visit-info,#gpsState{font-size:.82rem;color:#a9d9bd;overflow-wrap:anywhere}.field-location{font-size:.8rem;margin:5px 0;color:#b8c7cf}.field-location button{margin-left:6px}
