body.in-forest-twins #bossPanel{visibility:hidden}
#forestTwinsHud{position:absolute;left:calc(360px + (100vw - 600px)/2);top:48px;transform:translateX(-50%);width:min(690px,calc(100vw - 610px));display:flex;gap:8px;pointer-events:none}
#forestTwinsHud[hidden]{display:none}
.forest-twin-frame{position:relative;flex:1;aspect-ratio:3/1;background:url('assets/ui/boss-frame-painted.png') center/100% 100% no-repeat;image-rendering:pixelated;filter:drop-shadow(0 3px 2px #10212b88)}
.forest-twin-frame .boss-crest{position:absolute;left:7.6%;top:26%;width:15%;height:45%;overflow:hidden;border-radius:50%}
.forest-twin-frame .boss-rank{display:none}
.forest-twin-frame [data-name]{position:absolute;top:29%;left:29%;width:56%;text-align:center;font:bold 13px sans-serif;letter-spacing:2px;color:#fff0c6;text-shadow:0 2px #281b26}
.forest-twin-frame [data-hp]{position:absolute;top:50%;left:29%;width:56%;z-index:4;text-align:center;font:bold 9px monospace;color:#fff1d3;text-shadow:1px 1px #251c25}
.forest-twin-frame .bar.boss{position:absolute;left:28%;top:48.4%;width:58.8%;height:10.4%;padding:0;margin:0;border:0;background:#1b2028;overflow:hidden}
.forest-twin-frame [data-fill]{position:absolute;inset:0 auto 0 0;height:100%;background:linear-gradient(#ffb382 0 15%,#e77252 15% 35%,#c6483f 35% 75%,#8f3035 75%);z-index:2;transition:width .12s linear}
.forest-twin-frame:last-child [data-fill]{background:linear-gradient(#e6bdff 0 15%,#aa7bc0 15% 35%,#764f96 35% 75%,#4a345d 75%)}
.forest-twin-frame .boss-statuses{position:absolute;top:66%;left:28%;width:60%;display:flex;gap:3px;flex-wrap:wrap}.forest-twin-frame .boss-effect{width:22px;height:22px;padding:1px}.forest-twin-frame .boss-effect small{font-size:8px}
.forest-twin-frame [id$='Cast']{position:absolute;left:27%;width:62%;height:64px;top:92%;color:#fff0c7;filter:drop-shadow(0 2px #11232a)}
.forest-twin-frame .boss-cast-rail{height:28px;background:none}.forest-twin-frame .boss-cast-rail:after{display:none}.forest-twin-frame .boss-cast-rail canvas{display:block;width:100%;height:100%;image-rendering:pixelated}.forest-twin-frame .boss-cast-info{font-size:10px;padding:0 4%}.forest-twin-frame .boss-cast-icon{width:23px;height:23px;top:8px;left:-20px}.forest-twin-frame .boss-cast-hint{font-size:8px;top:38px;right:0;color:#d8d6c8}.forest-twin-frame .boss-cast-time{font-size:9px}
.forest-twin-frame.is-defeated{filter:grayscale(1) brightness(.6)}.forest-twin-frame.is-enraged [data-name]{color:#ffb482}
@media(max-width:1100px){#forestTwinsHud{left:50%;top:92px;width:min(650px,calc(100vw - 40px))}.forest-twin-frame [data-name]{font-size:12px}.forest-twin-frame .boss-effect{width:20px;height:20px}}
/* Reserve the left character plate and right minimap at desktop widths. */
@media(min-width:1101px){
 body.in-forest-campaign #bossPanel.boss-frame{left:calc(50% + 115px);width:min(600px,calc(100vw - 750px))}
 body.in-forest-campaign #forestTwinsHud{left:calc(50% + 115px);width:min(690px,calc(100vw - 750px))}
}
