/* Armory Zero v0.5.21 — layout, medical support and chat stability. */
:root{--az21-gold:#e7c07d}
/* Front hero showcase cropped at the waist, naturally proportioned and centered in its half. */
.az17-landing-scene{height:clamp(310px,37vh,398px)!important;min-height:310px!important}
.az19-hero-showcase.az17-landing-characters{
 position:absolute!important;right:4.1%!important;left:auto!important;top:22%!important;bottom:auto!important;
 width:min(55%,820px)!important;height:auto!important;aspect-ratio:1560/383!important;
 overflow:visible!important;display:grid!important;place-items:center!important;transform:none!important;
}
.az19-hero-showcase.az17-landing-characters img{
 width:100%!important;height:auto!important;max-width:100%!important;max-height:100%!important;
 display:block!important;object-fit:contain!important;object-position:center!important;aspect-ratio:1560/383!important;
 transform:none!important;animation:az21-showcase-idle 5s ease-in-out infinite!important;
 filter:drop-shadow(0 9px 12px #000b)!important;
}
@keyframes az21-showcase-idle{0%,100%{translate:0 0}50%{translate:0 -3px}}
/* Pack cards contain a single chest asset. Hide stray old-card pseudo art from earlier themes. */
.crate-pack-render.az21-clean-chest{display:flex!important;align-items:center!important;justify-content:center!important;height:190px!important;min-height:190px!important;overflow:hidden!important;background:none!important;isolation:isolate!important}
.crate-pack-render.az21-clean-chest::before,.crate-pack-render.az21-clean-chest::after,
.crate-pack-render.az21-clean-chest .crate-pack-glow,
.crate-pack-render.az21-clean-chest .crate-mini{content:none!important;display:none!important;visibility:hidden!important}
.crate-pack-render.az21-clean-chest>img.az20-pack-chest{display:block!important;position:static!important;width:min(70%,198px)!important;height:178px!important;max-height:178px!important;object-fit:contain!important;opacity:1!important;mix-blend-mode:normal!important;background:none!important;border:0!important;filter:drop-shadow(0 10px 18px #b06bd56e)!important;}
.crate-pack-render.az21-clean-chest>img.az20-pack-chest::before{content:none!important}
/* Compact legible fight statistics with no overlap in the battleground. */
.v48-hud-left{width:clamp(200px,19.1vw,245px)!important;padding:10px 10px 14px!important;}
.v48-hud-right{width:clamp(220px,21.1vw,268px)!important;}
.v48-hud-left .v48-floor-intro{padding-right:26px!important}
.v48-hud-left .v48-hunt-stats{gap:5px!important}
.v48-hud-left .v48-hunt-stats>div{padding:5px!important}
.v48-hud-left .v48-chest{padding:9px!important}
.v48-hud-left .v48-chest p,.v48-hud-left .v48-chest small{font-size:10px!important;line-height:1.25!important}
.v48-hud-left .v48-hunt-stats small{font-size:9px!important}
.az21-hud-toggle{position:absolute!important;right:6px!important;top:8px!important;z-index:21!important;display:grid!important;place-items:center!important;width:29px!important;height:29px!important;border-radius:7px!important;color:#f4d19b!important;background:#15263a!important;border:1px solid #657489!important;font-size:20px!important;cursor:pointer!important}
body.az21-hunt-info-min .v48-hud-left{width:44px!important;min-width:44px!important;padding:4px!important;overflow:visible!important}
body.az21-hunt-info-min .v48-hud-left>*:not(.az21-hud-toggle){display:none!important}
body.az21-hunt-info-min .v48-hud-left .az21-hud-toggle{position:relative!important;right:auto!important;top:auto!important;margin:5px auto!important}
/* Dedicated chat dock; no details/summary element is reconciled away every second. */
.az21-hunt-chat{position:fixed!important;z-index:80!important;left:var(--az21-chat-left,270px)!important;bottom:70px!important;width:min(345px,calc(100vw - 24px))!important;display:flex!important;flex-direction:column!important;gap:5px!important;pointer-events:none!important}
.az21-hunt-chat-trigger{pointer-events:auto!important;align-self:flex-start!important;cursor:pointer!important;background:linear-gradient(135deg,#1c3454,#0c2037)!important;color:#ffdea0!important;border:1px solid #d6aa61!important;border-radius:10px!important;padding:9px 16px!important;min-height:34px!important;font-size:11px!important;font-weight:800!important;box-shadow:0 6px 18px #0009!important;position:relative!important;z-index:2!important}
.az21-hunt-chat-content{pointer-events:auto!important;display:block!important;width:100%!important;max-height: min(425px,58vh)!important;min-height:0!important;overflow:auto!important;background:#0b172d!important;border-radius:12px!important;border:1px solid #d6aa6170!important;box-shadow:0 14px 28px #000b!important}
.az21-hunt-chat-content[hidden]{display:none!important}
.az21-hunt-chat .az18-chat{position:relative!important;inset:auto!important;width:100%!important;max-height:none!important;height:auto!important;display:flex!important;flex-direction:column!important;box-shadow:none!important;border:none!important;margin:0!important;transform:none!important;opacity:1!important}
.az21-hunt-chat .az18-chat-feed{max-height:245px!important;min-height:120px!important;overflow-y:auto!important}
.az21-hunt-chat .az18-chat footer{display:flex!important;gap:5px!important;padding:8px!important}
.az21-hunt-chat .az18-chat footer input{min-width:0!important;flex:1!important}
.az21-hunt-chat .az18-chat footer button{flex:none!important;font-size:10px!important}
/* Keep footer accessible, even when the chat opens. */
.v48-hunt-controls{z-index:20!important}
/* Smaller HEAL / CRITICAL numbers; no opaque clutter over enemies. */
.az20-combat-float{font-size:clamp(10px,.85vw,13px)!important;line-height:1!important;letter-spacing:.012em!important;text-shadow:0 1px 3px #001b16,0 0 8px currentColor!important}
.az18-float-damage.critical{font-size:clamp(11px,1vw,15px)!important;line-height:1!important;text-shadow:0 1px 2px #140908,0 0 9px #e57434!important}
@media(max-width:900px){.az19-hero-showcase.az17-landing-characters{width:52%!important;right:0!important;top:28%!important}.az17-landing-copy{max-width:52%!important;z-index:4!important}.az21-hunt-chat{left:10px!important;bottom:58px!important;width:min(340px,80vw)!important}}
@media(max-width:620px){.az17-landing-copy{max-width:96%!important}.az19-hero-showcase.az17-landing-characters{width:76%!important;right:1%!important;top:45%!important;opacity:.35!important}.az21-hunt-chat{left:8px!important;bottom:53px!important;max-width:calc(100vw - 16px)!important}}
@media(prefers-reduced-motion:reduce){.az19-hero-showcase.az17-landing-characters img{animation:none!important}}
