/* Word Guardians v1.3.1 — floating boss overlay */
.boardBox{overflow:visible!important;isolation:isolate}

/* Keep the extra boss box, but make it a compact information strip. */
.bossStage{
  min-height:72px!important;
  padding:10px 14px!important;
  margin:7px 0!important;
  display:block!important;
  background:linear-gradient(100deg,#041d35f5,#06475fe9 58%,#052941f4)!important;
  box-shadow:inset 0 1px #ffffff16,0 10px 24px #0007!important;
}
.bossStage .bossVisual{display:none!important}
.bossStage .bossEyebrow{font-size:.43rem;letter-spacing:.13em;color:#ffdc7d;font-weight:950}
.bossStage .bossName{font:900 clamp(.98rem,3vw,1.28rem) Georgia;color:#fff1bf;margin:1px 0}
.bossStage .bossLane{font-size:.53rem;color:#bfe8e6;margin-bottom:5px}
.bossStage .bossHpTrack{height:13px;margin-top:4px}
.bossStage .bossHpText{font-size:.52rem;font-weight:900;color:#ffe7a6;margin-top:3px}
.bossStage .bossHint{font-size:.47rem;color:#bde8e6;margin-top:2px}

/* Boss sprites are rendered above the board rather than inside lane clipping. */
.bossOverlayV131{
  position:absolute;
  inset:0;
  z-index:80;
  pointer-events:none;
  overflow:visible;
}
.bossFloatingV131{
  --bossScale:1;
  position:absolute;
  width:142px;
  height:142px;
  transform:translate(-50%,-50%) scale(var(--bossScale));
  transform-origin:50% 68%;
  display:grid;
  place-items:center;
  pointer-events:none;
  z-index:85;
  animation:bossOverlayHoverV131 1.55s ease-in-out infinite;
}
.bossFloatingV131::before{
  content:"";
  position:absolute;
  inset:11%;
  border-radius:50%;
  background:radial-gradient(circle,#fff9cf99 0 7%,#ffe06d66 19%,#45eee044 44%,transparent 73%);
  filter:blur(8px);
  transform:scale(1.12);
  animation:bossGlowPulseV131 1.25s ease-in-out infinite;
  z-index:-2;
}
.bossFloatingV131::after{
  content:"";
  position:absolute;
  left:16%;right:16%;bottom:12%;height:18%;
  border-radius:50%;
  background:#0015228a;
  filter:blur(7px);
  z-index:-1;
}
.bossFloatingV131 img{
  display:block;
  max-width:124px;
  max-height:132px;
  object-fit:contain;
  filter:
    drop-shadow(0 10px 8px #00121fc7)
    drop-shadow(0 0 8px #fff1a0d9)
    drop-shadow(0 0 18px #f3c85baa)
    drop-shadow(0 0 30px #48e1d188);
  transition:filter .15s ease;
}
.bossFloatingV131.hit img{
  filter:
    brightness(1.75)
    saturate(1.18)
    drop-shadow(0 0 8px #fff)
    drop-shadow(0 0 19px #9ffcff)
    drop-shadow(0 0 34px #ffe36fbb);
}
.bossFloatingV131 .bossLaneBadge{
  position:absolute;
  left:50%;bottom:2px;
  transform:translateX(-50%);
  padding:2px 7px;
  border:1px solid #efc766aa;
  border-radius:99px;
  background:#021b2ee8;
  color:#fff0b8;
  font-size:.28rem;
  font-weight:950;
  white-space:nowrap;
  box-shadow:0 3px 8px #0008;
}
@keyframes bossOverlayHoverV131{
  0%,100%{translate:0 3px;rotate:-.7deg}
  50%{translate:0 -6px;rotate:.8deg}
}
@keyframes bossGlowPulseV131{
  0%,100%{opacity:.58;transform:scale(1.02)}
  50%{opacity:1;transform:scale(1.25)}
}
@media(max-width:520px){
  .bossStage{min-height:64px!important;padding:8px 10px!important}
  .bossStage .bossHint{display:none}
  .bossFloatingV131{width:108px;height:108px}
  .bossFloatingV131 img{max-width:94px;max-height:100px}
  .bossFloatingV131 .bossLaneBadge{font-size:.24rem;padding:1px 5px}
}
