/* Avvisi brevi con lo stesso carattere e i colori del resto del gioco. */
body.phone-game #toast,
body.phone-game #arena-round-toast {
  color:#fffbea;
  background:#243d42f5;
  border:1.5px solid #b9d6c2;
  border-left:4px solid #ffd35f;
  border-radius:10px;
  box-shadow:0 3px 8px #0d242733;
  font:700 12px/17px system-ui,-apple-system,'Segoe UI',sans-serif;
  letter-spacing:0;
  text-shadow:none;
  text-align:left;
  padding:8px 11px;
  pointer-events:none;
}
body.phone-game:not(.in-field):not(.in-arena) #toast {
  top:calc(50px + var(--phone-safe-top,0px)); bottom:auto;
  left:calc((100% + var(--phone-safe-left,0px) - var(--phone-safe-right,0px)) / 2);
  width:max-content;
  max-width:min(430px,calc(100% - var(--phone-safe-left,0px) - var(--phone-safe-right,0px) - 28px));
  max-height:76px; overflow:hidden; white-space:normal;
  transform:translate(-50%,-4px);
}
body.phone-game:not(.in-field):not(.in-arena) #toast.visible { transform:translate(-50%,0); }
body.phone-game.in-field #toast,
body.phone-game #arena-round-toast {
  max-width:min(240px,32vw); max-height:50px;
  padding:6px 9px; font-size:11px; line-height:16px;
}
body.phone-game.in-field #toast.component-loss { color:#fff3df; border-left-color:#ffad84; }
@media(prefers-reduced-motion:reduce) { body.phone-game #toast { transition:none; } }
