/* Dome Blitz winner floats independently above the header and real
   opponent backs. Only the sign is portaled; no board geometry changes. */
body:not(.wd-gate)[data-wd-game-type="blitz"]:has(> #winnerFlash:not([hidden]))
#game .game-grid{
 position:relative!important;
 z-index:2004!important;
 overflow:visible!important;
}
body:not(.wd-gate)[data-wd-game-type="blitz"]:has(#game:not([hidden]))
> #winnerFlash:not([hidden]){
 position:fixed!important;
 inset:auto!important;
 top:var(--wd-blitz-winner-anchor-y,0px)!important;
 left:var(--wd-blitz-winner-anchor-x,50%)!important;
 right:auto!important;bottom:auto!important;
 transform:translate(-50%,-88%)!important;
 box-sizing:border-box!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:var(--wd-blitz-winner-width,96vw)!important;
 min-width:0!important;max-width:none!important;
 height:auto!important;min-height:80px!important;max-height:none!important;
 margin:0!important;padding:12px clamp(16px,2.1vw,34px)!important;
 z-index:2006!important;pointer-events:none!important;
 overflow:visible!important;
 border:5px solid #642d1c!important;border-radius:10px!important;
 background:linear-gradient(180deg,#f7d980 0%,#e9bd55 55%,#c18e29 100%)!important;
 background-image:linear-gradient(180deg,#f7d980 0%,#e9bd55 55%,#c18e29 100%)!important;
 box-shadow:0 0 0 2px #b47b33,0 12px 25px #260d0880,0 0 15px #e4ae4180!important;
}
body:not(.wd-gate)[data-wd-game-type="blitz"] > #winnerFlash[hidden]{
 display:none!important;
}
body:not(.wd-gate)[data-wd-game-type="blitz"]:has(#game:not([hidden]))
> #winnerFlash .winner-flash-text{
 display:block!important;
 width:auto!important;max-width:100%!important;
 margin:0!important;padding:0!important;
 color:#542818!important;
 -webkit-text-fill-color:#542818!important;
 font:900 clamp(27px,3.3vw,44px)/1.07 Georgia,'Times New Roman',serif!important;
 letter-spacing:.01em!important;text-align:center!important;
 white-space:normal!important;text-wrap:balance!important;
 overflow-wrap:anywhere!important;
 -webkit-text-stroke:.35px #542818!important;
 animation:none!important;text-shadow:0 1px 0 #fae7b6!important;
}
@media(max-width:699px){
 body:not(.wd-gate)[data-wd-game-type="blitz"]:has(#game:not([hidden]))
 > #winnerFlash:not([hidden]){
  min-height:58px!important;
  padding:9px 12px!important;
  border-width:4px!important;
 }
 body:not(.wd-gate)[data-wd-game-type="blitz"]:has(#game:not([hidden]))
 > #winnerFlash .winner-flash-text{
  font-size:clamp(18px,4.1vw,29px)!important;
 }
}
/* Preserve the winner-over-notices rule when the winner host is moved:
   a stale timeout rail must never compete with the terminal win card. */
body:not(.wd-gate)[data-wd-game-type="blitz"]:has(> #winnerFlash:not([hidden]))
#game #opponentRackPanel > #wdGameEventNotices{
 display:none!important;
}
