/* SPI-33 landscape turn icon. On short landscape phones the mid-screen turn
   line ("YOUR TURN · CHOOSE YOUR NEXT MOVE") is hidden and a small glowing
   chevron floats above the head of the fighter whose turn it is. Portrait and
   desktop are unchanged: turn_icon.js never touches them. The banner keeps its
   box (only the ink goes), so FighterDrawScale measures the same layout. */
html .dexa-turn-icon.dexa-turn-icon{
  position:absolute!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;
  width:28px!important;height:28px!important;min-width:0!important;min-height:0!important;max-width:none!important;
  margin:0!important;padding:0!important;border:0!important;background:none!important;
  pointer-events:none!important;z-index:25;display:none!important;
  translate:-9999px -9999px;transform:none!important;
}
html .dexa-turn-icon.dexa-turn-icon.on{display:block!important}
.dexa-turn-icon > i{
  display:block;width:100%;height:100%;
  background:no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M5 6 L16 17 L27 6 L27 12 L16 23 L5 12 Z' fill='%23ffd54a' stroke='%23201000' stroke-width='2' stroke-linejoin='round'/><path d='M8 19 L16 27 L24 19' fill='none' stroke='%23fff3b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  filter:drop-shadow(0 0 5px rgba(255,200,40,.95)) drop-shadow(0 0 12px rgba(255,150,20,.6));
  animation:dexaTurnBob 1.1s ease-in-out infinite;
}
.dexa-turn-icon.opp > i{
  filter:hue-rotate(-38deg) saturate(1.5) drop-shadow(0 0 5px rgba(255,80,40,.95)) drop-shadow(0 0 12px rgba(255,60,20,.6));
}
@keyframes dexaTurnBob{0%,100%{transform:translateY(-3px)}50%{transform:translateY(3px)}}
@media (prefers-reduced-motion:reduce){.dexa-turn-icon > i{animation:none}}
@media (max-height:520px) and (min-width:560px) and (orientation:landscape){
  html .dexa-turn-icon.dexa-turn-icon{width:clamp(22px,7vh,32px)!important;height:clamp(22px,7vh,32px)!important}
  html [data-turn-banner="1"]{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}
}
