.resource-icon{display:inline-block;width:28px;height:28px;flex:0 0 28px;vertical-align:middle;background-image:url('assets/resources-v1.webp?v=41887f878a1c');background-size:400% 300%;background-position:var(--resource-x) var(--resource-y);background-repeat:no-repeat;filter:drop-shadow(0 2px 3px #0005)}
.resource-icon-large{width:54px;height:54px;flex-basis:54px}
#hero-wallet :is(strong,span[data-resource]){display:flex;gap:6px;align-items:center}
.ingredient-list li .resource-icon{margin-right:6px}
.illustrated-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin-block:16px!important}
.reward-entry{display:flex;gap:9px;align-items:center;min-width:0}.reward-entry strong{font-size:19px;color:var(--gold);font-variant-numeric:tabular-nums}.reward-entry small{display:block;color:var(--muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.reward-arrive{animation:reward-arrive .5s both cubic-bezier(.2,.8,.2,1);animation-delay:var(--reward-delay)}
@keyframes reward-arrive{from{opacity:0;transform:translateY(12px) scale(.9)}to{opacity:1;transform:none}}
.reward-flight-layer{position:fixed;inset:0;pointer-events:none;z-index:25;overflow:hidden}.reward-particle{position:absolute;pointer-events:none;will-change:transform,opacity}.reward-particle .resource-icon{width:32px;height:32px}
#battle-preparation{position:absolute;inset:0;z-index:13;display:flex;align-items:center;justify-content:center;gap:30px;background:rgba(7,18,28,.96);padding:28px;text-align:left;color:var(--ink)}
.battle-loading-art{width:120px;height:120px;flex:0 0 120px;background:url('assets/emblem.webp') center/contain no-repeat}
.battle-loading-copy{max-width:390px}.battle-loading-title{font:30px/1.25 Liberterra,Georgia,serif;margin:0 0 14px}.battle-loading-copy>p:not(.battle-loading-title){color:var(--muted);font-size:14px;line-height:1.6;margin:10px 0}.battle-loading-copy progress{height:5px;margin:20px 0 10px}.battle-loading-copy button{margin:8px 8px 0 0;min-height:44px}
body[data-battle-loading="true"] #battle-controls{pointer-events:none;opacity:.35}
body[data-battle-loading="true"] .scene-expand{visibility:hidden}
@media(max-width:600px){#battle-preparation{flex-direction:column;gap:18px;text-align:center;padding:24px}.battle-loading-art{width:84px;height:84px;flex-basis:84px}.battle-loading-title{font-size:25px}.battle-loading-copy>p:not(.battle-loading-title){font-size:13px}.illustrated-rewards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.resource-icon-large{width:42px;height:42px;flex-basis:42px}.reward-entry strong{font-size:17px}.reward-entry small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.reward-arrive{animation:none}.reward-flight-layer{display:none}}
body[data-combat="realtime"]:is([data-play-state="victory"],[data-play-state="defeat"]) .hero-wallet{display:flex;align-items:center;gap:16px}
@media(max-width:600px){body[data-combat="realtime"]:is([data-play-state="victory"],[data-play-state="defeat"]) .hero-wallet{gap:8px;font-size:11px}.hero-wallet .resource-icon{width:23px;height:23px;flex-basis:23px}}

body[data-combat="realtime"]:is([data-play-state="victory"],[data-play-state="defeat"]) .fighter-name{visibility:hidden}
