/* Resource economy and XP presentation. All balance constants are provisional. */
.full-map .resource-hud{flex-direction:column;gap:0;min-width:59px;padding:2px 7px}
.sup-stock{display:flex;gap:3px;align-items:center;line-height:1.1}
.full-map .resource-hud .mine-stock{font-size:9px;line-height:1.3;color:#e2cb99;white-space:nowrap}
.full-map .resource-hud .mine-stock b{font-size:10px}
.full-map .region-id{font-size:16px;fill:#f5db9a;letter-spacing:1px}
.full-map .context-menu #mineOre{border-color:#7a6850;background:#342e23}
.full-map .context-menu #mineCrypto{border-color:#5b728f;background:#202f42}
.economy-balances{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.economy-balances>div{background:#0a202a;border:1px solid #5a777c;padding:12px 8px;border-radius:8px;text-align:center}
.economy-balances span,.economy-balances small,.economy-balances b{display:block}
.economy-balances span{font-size:11px;color:#e9dabd}.economy-balances b{font-size:30px;margin:7px 0;color:#a2efcf}.economy-balances small{font-size:10px;color:#adc8ce}
.exchange-tools{display:flex;gap:8px}.exchange-tools button{flex:1;font-size:12px;min-height:42px}
#economyFeedback{color:#9dedc9;font-size:13px!important}#economyTurn{color:#d3c5a1;font-size:12px!important}
.mining-locations{border-left:3px solid #bfa471;padding-left:10px;font-size:12px!important}
.xp-help{border:1px solid #668781;border-radius:7px;background:#16362f;padding:10px;font-size:12px!important;color:#cfebdf}
.xp-card{background:#17362d;border:1px solid #3e6556;border-radius:6px;padding:7px;margin:6px 0 0;text-align:left}
.xp-card b,.xp-card span,.xp-card small{display:block}.xp-card b{font-size:11px;color:#a7f2d5}.xp-card span,.xp-card small{font-size:9px;color:#c3d9d6;line-height:1.4}.xp-card progress{display:block;width:100%;height:5px;accent-color:#a1ecc6;margin:5px 0}
.combat-xp{position:absolute;left:50%;top:72%;transform:translateX(-50%);width:30%;max-width:140px;display:block;padding:4px;border-radius:5px;border:1px solid #74ab88;color:#b5f9d1;font-size:10px;background:#183c2de0;text-align:center;line-height:1.3;z-index:1}
.combat-xp b,.combat-xp small{display:block;font-size:inherit}
.combat-xp.xp-promoted{color:#fff1ac;border-color:#dec473;background:#51472ad9}
.story-full .report-xp{border-left:3px solid #e4cc88;padding-left:10px}.report-xp b{color:#ffe1a1!important}
.story-photo .report-xp{display:none}
@media(min-width:1000px) and (min-height:600px){
.story-photo li{margin:3px 0;padding:4px 7px}
.battle-spectacle[data-slot="0"] .story-photo .report-xp[data-report-slot="0"],.battle-spectacle[data-slot="1"] .story-photo .report-xp[data-report-slot="1"],.battle-spectacle[data-slot="2"] .story-photo .report-xp[data-report-slot="2"]{display:block}
}
.mining-art{height:min(33dvh,270px);background:radial-gradient(ellipse at 50% 90%,#90724655,transparent 65%),linear-gradient(120deg,#0a1922,#283033,#0a1922);position:relative;display:grid;place-content:center;text-align:center;overflow:hidden;border-bottom:1px solid #63777e}
.mining-art>span{font-size:min(18dvh,110px);color:#ead3a1;z-index:1;animation:minePulse 1.3s ease-in-out infinite}
.mining-art>b{font-size:10px;letter-spacing:2px;color:#e4d6b7;z-index:1;margin-top:6px}
.mining-art i{position:absolute;left:10%;right:10%;top:25%;height:1px;background:#d0b88e66;box-shadow:0 35px #d0b88e33,0 70px #d0b88e22;transform:rotate(-20deg);animation:mineScan 1.8s ease-in-out infinite}.mining-art i:nth-of-type(2){transform:rotate(20deg);animation-delay:.6s}.mining-art i:nth-of-type(3){top:70%;transform:rotate(0);animation-delay:1.2s}
.mining-crypto{background:radial-gradient(ellipse at 50% 50%,#3287a855,transparent 65%),repeating-linear-gradient(90deg,#101f2e 0,#101f2e 22px,#31596b 23px,#101f2e 24px)}.mining-crypto>span{color:#9ddaf7}.mining-crypto i{background:#8fd3f766;box-shadow:0 35px #8fd3f733,0 70px #8fd3f722}
@keyframes minePulse{50%{transform:scale(1.07);filter:drop-shadow(0 0 15px #ffe1a866)}}@keyframes mineScan{50%{opacity:.3;translate:0 20px}}
@media(max-width:700px){.full-map .resource-hud{min-width:44px;padding:2px 3px}.full-map .resource-hud .mine-stock{font-size:7px}.full-map .resource-hud .mine-stock b{font-size:8px}.full-map .statusbar{gap:6px}.combat-xp{font-size:8px;padding:2px 4px}.economy-balances>div{padding:10px 4px}.economy-balances span{font-size:10px}.economy-balances small{font-size:9px}.exchange-tools{flex-direction:column}.xp-card{padding:5px}.xp-card b{font-size:9px}.xp-card span,.xp-card small{font-size:8px}}
@media(max-width:549px){
#deckDialog .deck{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
#deckDialog .card{grid-column:span 2}#deckDialog .card:nth-child(n+4){grid-column:span 3}
#deckDialog .deck-portrait{height:120px;object-fit:contain}
#deckDialog .card strong{font-size:11px}#deckDialog .card>p{font-size:10px}
#deckDialog .xp-card b{font-size:10px}#deckDialog .xp-card span,#deckDialog .xp-card small{font-size:9px}
}
@media(max-height:500px) and (min-width:600px){
.full-map .resource-hud{min-width:40px}.full-map .resource-hud b{font-size:15px}.full-map .resource-hud .mine-stock{font-size:7px}.full-map .resource-hud .mine-stock b{font-size:8px}.mining-art{height:34dvh}
.full-map .context-menu{padding:8px}.full-map .context-menu #actionHelp{display:none}
.full-map .context-heading{margin-bottom:5px}.full-map .context-menu .action-grid{gap:4px}
.full-map .context-menu .action-grid button{min-height:34px;font-size:10px;padding:4px 6px;line-height:1.15}
.full-map .context-menu .action-grid small{font-size:7px;line-height:1.2}
.full-map .context-options{margin-top:3px}
}
@media(prefers-reduced-motion:reduce){.mining-art>span,.mining-art i{animation:none}}
