/* Both end-phase actions share a fixed dock below the clock, independent of
   map movement. Keep the approved attack appearance and drawer stacking. */
#phase-prompt:is([data-action=end-attacks],[data-action=finish]){left:auto;right:16px;top:min(max(196px,calc(var(--dice-button-y) + 32px)),calc(100dvh - 76px));transform:translateY(-50%)}
#phase-prompt>.floating-attack{pointer-events:auto}
#attack-prompt,#attack-prompt.is-repeat{left:50%;top:var(--dice-button-y);transform:translate(-50%,-50%)}
@media(max-width:850px){#attack-prompt,#attack-prompt.is-repeat{left:30%}#phase-prompt:is([data-action=end-attacks],[data-action=finish]){right:14px}}
@media(max-width:650px){
 #attack-prompt,#attack-prompt.is-repeat{left:25%}
 #phase-prompt:is([data-action=end-attacks],[data-action=finish]){right:10px}
 :is(#attack-prompt,#attack-prompt.is-repeat) .floating-attack,#phase-prompt:is([data-action=end-attacks],[data-action=finish]) .floating-attack{width:min(158px,44vw);min-width:0;min-height:120px}
 :is(#attack-prompt,#attack-prompt.is-repeat) .floating-attack svg,#phase-prompt:is([data-action=end-attacks],[data-action=finish]) .floating-attack svg{width:68px;height:58px}
 :is(#attack-prompt,#attack-prompt.is-repeat) .floating-attack span,#phase-prompt:is([data-action=end-attacks],[data-action=finish]) .floating-attack span{font-size:clamp(12px,3.7vw,15px);max-width:100%}
}

#attack-prompt,#phase-prompt{transition:none}
