/* Stage 4: reference inspired HUD. All resource levels remain live DOM values. */
.score-hud{top:8px;min-width:136px;text-align:center;filter:drop-shadow(0 4px 5px #120b17a8)}
.score-hud .timer{position:relative;min-width:132px;height:44px;padding:4px 19px 5px;line-height:32px;font-size:25px;font-weight:900;letter-spacing:1px;color:#fff9ed;border:2px solid #b98c4b;border-radius:8px;background:linear-gradient(155deg,#3a2930 0%,#1a1820 45%,#22171a 100%);box-shadow:inset 0 0 0 2px #1b1419,inset 0 1px 5px #f6bf7180,0 3px 0 #4c3022;clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%)}
.score-hud .rounds{display:block;margin-top:5px;padding:3px 8px;font-size:10px;letter-spacing:1px;border:1px solid #b88a5d65;border-radius:9px;background:#1c141ecc;color:#f4dfbd}
.top-right{top:15px;right:18px;padding:6px 10px;font-size:11px;letter-spacing:.8px;background:#241823bf;border-color:#9e774b82}
.sound-toggle{top:49px!important;right:18px!important;padding:6px 10px!important;font-size:11px!important;background:#241823bf!important;border-color:#9e774b82!important}
.controls-tip{display:none!important}

.hotbar{left:50%;bottom:-2px;width:858px;height:145px;display:flex;justify-content:center;align-items:flex-end;gap:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;filter:drop-shadow(0 9px 9px #100811b5)}
.hotbar .skill-plinth{position:relative;z-index:1;flex:none;width:590px;height:132px;margin:0 -8px;padding:14px 49px 0;border:3px solid #9c7140;border-bottom:0;border-radius:20px 20px 0 0;background:linear-gradient(180deg,#5f443b 0,#251c23 7%,#17151d 35%,#1b161b 88%);box-shadow:inset 0 3px 0 #e8b7758a,inset 0 0 0 3px #392827,inset 0 20px 32px #08080cbb,0 0 0 2px #291b1c,0 -4px 13px #e49c3a38}
.hotbar .skill-plinth:before{content:"";position:absolute;inset:6px 11px auto;height:4px;border-top:1px solid #e4b5678c;border-radius:50%;pointer-events:none}
.hotbar .skill-plinth:after{content:"";position:absolute;left:22px;right:22px;bottom:0;height:9px;border-top:2px solid #7b512e;background:linear-gradient(#39251e,#100e13);pointer-events:none}
.hotbar .id-line{position:absolute;top:-21px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:11px;width:auto;max-width:430px;height:21px;padding:1px 10px;white-space:nowrap;font-size:11px;letter-spacing:.3px;border:1px solid #93704a9c;border-radius:7px 7px 0 0;background:#21171ecc;color:#ffecd3}
.hotbar .id-line strong{overflow:hidden;text-overflow:ellipsis;max-width:180px}
.hotbar .id-line span{flex:none;font-size:11px;color:#ffcb70}
.hotbar .skill-row{display:flex;justify-content:center;align-items:flex-start;gap:16px}
.hotbar .skill{flex:none;width:82px;height:80px;display:flex;align-items:center;justify-content:center;padding:0 0 7px;color:#fff;border:3px solid #9b7144;border-radius:7px;background:radial-gradient(circle at 50% 47%,#224360 0,#102638 43%,#0e101b 83%);box-shadow:inset 0 0 0 2px #261c23,inset 0 1px 7px #e7b36a94,0 2px 1px #160e16,0 0 0 2px #2f2022;opacity:1;transition:transform .12s,filter .15s,box-shadow .15s}
.hotbar .skill:hover:not(:disabled){transform:translateY(-4px);filter:brightness(1.2)}
.hotbar .skill .skill-icon{width:60px;height:60px;object-fit:contain;filter:drop-shadow(0 0 9px #47d8ffcf);pointer-events:none}
.hotbar .skill.e{background:radial-gradient(circle at 50% 45%,#584225,#30251e 45%,#101017 90%)}
.hotbar .skill.f{background:radial-gradient(circle at 50% 45%,#4d3152,#241e36 45%,#101017 90%)}
.hotbar .skill.r{background:radial-gradient(circle at 50% 45%,#7b3d22,#3c2019 45%,#101017 90%)}
.hotbar .skill.e .skill-icon,.hotbar .skill.r .skill-icon{filter:drop-shadow(0 0 8px #ffaf43c9)}
.hotbar .skill.ultimate{width:82px;height:80px;border-width:3px;border-radius:7px}
.hotbar .skill.ultimate .skill-icon{width:60px;height:60px}
.hotbar .skill small{position:absolute;left:0;right:0;bottom:3px;text-align:center;font-size:9px;line-height:10px;letter-spacing:.55px;color:#d4b78f;text-shadow:0 1px 3px #060509}
.hotbar .skill em{z-index:2;bottom:-21px;min-width:29px;max-width:66px;height:25px;padding:2px 5px;line-height:17px;font-size:13px;font-style:normal;border:2px solid #9b7243;border-radius:50%;background:linear-gradient(#49332d,#16151c);box-shadow:0 1px 0 #deb1726b inset,0 2px 5px #0e0a11;color:#fff8eb}
.hotbar .skill.w em{font-size:8px;padding:2px 4px}
.hotbar .skill:disabled{opacity:.7}
.hotbar .skill.locked{filter:grayscale(.65) brightness(.62);border-color:#705d4c}
.hotbar .skill.cooling{filter:saturate(.5) brightness(.72)}
.hotbar .skill.cooling i{z-index:1;inset:3px 3px 9px;background:#070913a8;border-radius:4px}
.hotbar .skill.ultimate.charged{animation:ultPulseHud 1.5s ease-in-out infinite alternate;border-color:#ffdb83;box-shadow:inset 0 0 0 2px #51301e,inset 0 0 14px #ffb95caa,0 0 15px #ffb34b98}
@keyframes ultPulseHud{to{box-shadow:inset 0 0 0 2px #684525,inset 0 0 19px #ffd496,0 0 25px #ffc36dbb}}

.hotbar .resource-orb{position:relative;z-index:2;flex:none;width:142px;height:142px;margin:0;transform:none;overflow:visible;border:7px solid #573924;border-radius:50%;background:linear-gradient(135deg,#ebc589,#986032 25%,#51301f 52%,#f0c883 76%,#624023);box-shadow:inset 0 0 0 2px #160e11,inset 0 0 0 5px #ba894b,0 0 0 3px #221516,0 3px 12px #120b12,0 0 12px #ffaf593b}
.hotbar .resource-orb:before{content:"";position:absolute;z-index:4;inset:3px;border-radius:50%;border:2px solid #f6d0957c;box-shadow:inset 0 0 10px #07050caa,inset 0 2px 7px #fff6d5a8;pointer-events:none}
.hotbar .resource-orb:after{content:"";position:absolute;z-index:5;inset:17px 20px 75px;border-radius:50%;background:radial-gradient(ellipse at 47% 0,#ffffffa8,transparent 69%);opacity:.65;pointer-events:none}
.hotbar .orb-well{position:absolute;inset:9px;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 51% 30%,#532025,#160b13 75%);box-shadow:inset 0 0 17px #09070e,inset 0 0 0 3px #301218}
.hotbar .mana-track .orb-well{background:radial-gradient(circle at 48% 28%,#133756,#09121f 75%)}
.hotbar .orb-liquid{position:absolute;left:0;bottom:0;width:100%;height:100%;border-radius:0;transition:height .18s;background:radial-gradient(circle at 42% 31%,#ff857f 0,#cd1422 43%,#6c0c18 78%,#3b0a11 100%);box-shadow:inset 0 0 16px #fff4ae8e,inset 0 -12px 18px #280410}
.hotbar .mana-fill{background:radial-gradient(circle at 42% 31%,#8bddff 0,#1689ef 39%,#0755b2 76%,#092a63 100%);box-shadow:inset 0 0 16px #d6f5ff8a,inset 0 -12px 18px #051334}
.hotbar .resource-orb.health-track{order:0}
.hotbar .skill-plinth{order:1}
.hotbar .resource-orb.mana-track{order:2}

.enemy-tag{width:104px;padding:2px 5px 4px;border:1px solid #674b3199;border-radius:5px;background:#15121bbc;box-shadow:0 1px 4px #0b0614aa}
.enemy-tag strong{margin:0 0 2px;font-size:9px;line-height:11px;color:#fff2d9}
.enemy-tag .tag-health{height:9px;margin:0;border:1px solid #101712;border-radius:2px;background:#192a22}
.enemy-tag .tag-mana{height:4px;margin:2px 0 0;border:0;border-radius:1px;background:#112030}
.enemy-tag .tag-health i{background:linear-gradient(#75f763,#18ba37)}
.enemy-tag .tag-mana i{background:linear-gradient(#7defff,#189bda)}

.shop-card.locked-insufficient{position:relative;opacity:.52;filter:grayscale(.55);border-color:#766b6e;background:linear-gradient(#2c2937,#191724)}
.shop-card.locked-insufficient .price{color:#cbb9a0;font-size:13px}
.shop-card.purchasing{transform:scale(.97);filter:brightness(1.35);transition:transform .17s,filter .17s}
.shop-card.just-purchased{animation:purchaseFlash .65s ease-out;border-color:#ffd487}
.shop-currency.paid{animation:coinSpend .55s ease-out}
@keyframes purchaseFlash{0%{filter:brightness(1.8);box-shadow:0 0 25px #ffe28a}100%{filter:brightness(1);box-shadow:none}}
@keyframes coinSpend{0%{transform:scale(1.15);color:#fff2b2}50%{transform:scale(.82);color:#ffb458}100%{transform:scale(1);color:#ffd77c}}
