/* Six compact HUD resources preserve the previous touch zones and safe areas. */
.resources{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:510px;gap:0}
.resources>span{padding:0 9px;min-width:0;text-align:center;white-space:nowrap}.resources small{text-align:center}
.fragment-icon{width:23px;height:23px;object-fit:contain;vertical-align:middle;flex-shrink:0;filter:drop-shadow(0 1px 3px #0009)}
.fragment-resource{cursor:pointer;pointer-events:auto}.resources .fragment-icon{width:21px;height:21px}.resources .hero b{color:#71d4ff}.resources .skin b{color:#dba4ff}.resources .weapon b{color:#ffd080}
.fragment-resource:focus-visible{outline:2px solid #eacb89;outline-offset:3px;border-radius:4px}
.fragment-wallet{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.fragment-chip{display:flex;align-items:center;gap:8px;padding:8px;background:#0d201de8;border:1px solid #8aa49255;border-radius:8px;min-width:0}
.fragment-chip small{display:block;font-size:10px;color:#bbcab6}.fragment-chip b{font:18px monospace}.fragment-chip .fragment-icon{width:35px;height:35px}.fragment-chip.hero{color:#71d4ff;border-color:#52c7ff55}.fragment-chip.skin{color:#dba4ff;border-color:#cf8bff55}.fragment-chip.weapon{color:#ffd080;border-color:#ffba5555}
.fragment-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fragment-guide article{border:1px solid #97ac8b55;border-radius:9px;background:#0c201bd9;text-align:center;padding:12px 7px}.fragment-guide img{width:100%;max-width:150px;aspect-ratio:1;object-fit:contain}.fragment-guide h3{font-size:15px;margin:5px 0}.fragment-guide p{font-size:11px}
.result-reward{border:1px solid #c3a46b66;background:#11291fe8;padding:14px;border-radius:9px;margin:15px 0}.result-reward h3{margin:0 0 7px;font-size:16px;color:#f4d28a}.result-reward>small{font-size:11px;color:#b8c9ad}
#camp-fragments .fragment-wallet{margin:9px 0}.camp-reward{color:#efcd88!important;font-size:10px!important}.camp-current-hero{margin-top:7px}
@media(max-width:700px) and (orientation:portrait){
 .resources{width:auto;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:6px 5px}.resources>span{padding:0 2px;font-size:9px}.resources b{font-size:12px}.resources small{font-size:6px;letter-spacing:0;margin-top:3px}.resources .fragment-icon,.resources img.ui-ico{width:14px;height:14px}
 .fragment-wallet{gap:5px}.fragment-chip{padding:6px 5px;gap:4px}.fragment-chip .fragment-icon{width:27px;height:27px}.fragment-chip small{font-size:8px}.fragment-chip b{font-size:15px}
 .fragment-guide{gap:6px}.fragment-guide article{padding:8px 3px}.fragment-guide h3{font-size:12px}.fragment-guide p{font-size:9px}
 #camp-fragments .fragment-chip{padding:4px}.camp-current-hero{display:none}#start-screen .start-inner{padding-bottom:calc(20px + var(--safe-b))}
}
@media(max-height:500px) and (orientation:landscape){
 .resources{width:340px;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:6px}.resources>span{padding:0 1px}.resources b{font-size:11px}.resources small{font-size:6px;letter-spacing:0}.resources .fragment-icon{width:14px;height:14px}
 #camp-fragments .fragment-wallet{margin:5px 0;max-width:390px}#camp-fragments .fragment-chip{padding:3px 5px}.camp-current-hero{display:none}.camp-reward{margin:3px 0!important}
}
@media(max-width:360px) and (orientation:portrait){.resources b{font-size:10px}.resources .fragment-icon,.resources img.ui-ico{width:12px;height:12px}.resources>span{font-size:8px}.resources small{font-size:6px}#start-screen .start-inner{padding-left:16px;padding-right:16px}}
@media(max-height:700px) and (orientation:portrait){
 #start-screen::after{height:36%}#start-screen h1{font-size:25px}.camp-reward{font-size:9px!important;margin:3px 0!important}#camp-fragments .fragment-wallet{margin:5px 0}#start-screen .start-actions{margin-top:8px}#start-screen .camp-links{margin-top:7px}
}

/* Rage changes only the existing badge and bar colors; no HUD row is added. */
#boss-bar.enraged{border-color:#ff6d49;box-shadow:0 0 17px #ff4d3366,0 4px 18px #0007}
#boss-bar.enraged .boss-badge{background:#a62e22;color:#fff2bf;border-color:#ffb16c}
#boss-bar.enraged .boss-track i{background:linear-gradient(90deg,#ff4b2c,#ffcb62)}
