/* Quiet pixel feedback: hand silhouettes, loot, and readable combat rewards. */
#battle-hero>svg{overflow:visible}
#combat-held{display:none;position:static;width:auto;height:auto;pointer-events:none}
.arcade-mode #combat-held{display:inline}
.arcade-mode #battle-hero .hero-main-arm{display:none}
#combat-held svg{width:32px;height:32px;overflow:visible;image-rendering:pixelated}
.combat-swing-trail{opacity:.65;pointer-events:none}
#arcade-shots i[data-weapon="bow"],#arcade-shots i[data-weapon="spear"]{width:32px;height:3px;border:0;border-radius:0;background:#dfc78d!important;box-shadow:-7px 0 #b4c78e70}
#arcade-shots i[data-weapon="bow"]::before,#arcade-shots i[data-weapon="spear"]::before{content:'';position:absolute;right:-7px;top:-4px;width:11px;height:11px;background:#e7eccc;clip-path:polygon(0 0,100% 50%,0 100%,25% 50%)}
#arcade-shots i[data-weapon="bow"]::after{content:'';position:absolute;left:0;top:-3px;width:8px;height:9px;background:#bcd28e;clip-path:polygon(0 0,80% 25%,100% 50%,80% 75%,0 100%,25% 50%)}
#arcade-shots i[data-weapon="spear"]{width:40px;height:4px;box-shadow:-10px 0 #b2d2df55}
#arcade-shots i[data-weapon="spear"]::before{background:#d1e6ee;width:17px}
#combat-drops button{isolation:isolate}
#combat-drops button::before{content:'';position:absolute;z-index:-1;left:50%;top:12px;width:45px;height:21px;transform:translateX(-50%);background:#f4db7a24;border:1px solid #d9c77b77;border-radius:50%}
#combat-drops button[data-kind="weapon"]::after,#combat-drops button[data-kind="chest"]::after{content:'';position:absolute;z-index:-1;left:calc(50% - 3px);bottom:30px;width:6px;height:46px;background:linear-gradient(transparent,#ead39299);pointer-events:none}
#combat-drops svg{width:37px;height:37px;animation:loot-appear .3s steps(5,end) both}
#combat-drops button[data-kind="chest"] svg{width:44px;height:44px}
#combat-drops button[data-kind="chest"] span{color:#fff0c4;border-color:#d4b76a}
#combat-drops button[data-kind="shard"] span{font-size:9px;border-color:#8f9972;padding:2px;background:#243b32cf}
#combat-drops button[data-kind="shard"] svg{width:26px;height:26px}
#combat-loot-meter{display:block;font-size:10px;line-height:1.7;color:#f1d595;border-top:1px solid #78826b;margin-top:5px;padding-top:4px}
#combat-toast{position:absolute;z-index:113;top:32%;left:50%;transform:translateX(-50%);max-width:85%;width:max-content;padding:8px 14px;background:#24362ff2;color:#ffe9a9;border:1px solid #b8a270;box-shadow:3px 3px #1a2b2999;font-size:12px;line-height:1.6;text-align:center;pointer-events:none}
.crowd-effect.damage,.crowd-effect.collect{border:0;border-radius:0;background:none;transform:translate(-50%,-100%);font:bold 16px ui-monospace,monospace;color:#fff4c8;text-shadow:2px 2px #23382c,-1px -1px #23382c;white-space:nowrap}
.crowd-effect.collect{font-size:12px;color:#ffe3a0}
.crowd-effect.defeat{border:0;background:#ecdc9f;clip-path:polygon(45% 0,55% 0,55% 23%,45% 23%,45% 0,80% 20%,100% 40%,80% 50%,70% 35%,80% 20%,100% 75%,80% 95%,65% 75%,80% 65%,100% 75%,50% 100%,35% 80%,45% 65%,60% 85%,50% 100%,0 65%,15% 45%,30% 55%,15% 80%,0 65%,5% 15%,25% 10%,30% 30%,10% 35%,5% 15%)}
@keyframes loot-appear{0%{transform:translateY(-13px) scale(.7)}65%{transform:translateY(2px) scale(1.1)}100%{transform:none}}
@media(max-width:720px){
 #combat-loot-meter{font-size:8px;padding-top:2px;margin-top:2px;line-height:1.4}
 #combat-toast{font-size:10px;padding:5px 8px;top:37%;max-width:88%}
 #combat-drops svg{width:30px;height:30px}#combat-drops button[data-kind="chest"] svg{width:34px;height:34px}
 #combat-drops button[data-kind="shard"] svg{width:21px;height:21px}#combat-drops button::before{width:30px;height:15px}
 #combat-drops button[data-kind="weapon"]::after,#combat-drops button[data-kind="chest"]::after{height:30px}
 .crowd-effect.damage{font-size:12px}.crowd-effect.collect{font-size:9px}
 #arcade-shots i[data-weapon="bow"]{width:22px}#arcade-shots i[data-weapon="spear"]{width:27px}
}
@media(prefers-reduced-motion:reduce){#combat-drops svg{animation:none}.combat-swing-trail{display:none!important}}
.still #combat-drops svg{animation:none}.still .combat-swing-trail{display:none!important}
