/* VEYDRIS Kampf am Handy (29.10.2026, PLAYVEYDRIS-Aufnahmen 432 px): keine Text-auf-Text-Überlagerungen */
@layer pv.pv {
  @media (max-width: 640px) {
    /* 1) "BOSS DEFEATED" / "DEFEAT" etc.: passt in eine Zeile */
    html body.vey-renewal #view .combat-stage .combat-damage-layer .combat-outcome-title {
      font-size: clamp(26px, 9vw, 44px) !important; letter-spacing: .06em !important; white-space: nowrap !important; width: 100% !important; padding: 0 8px !important; box-sizing: border-box !important;
    }
    /* 2) Phasen-Ansage: Pill + Chip weichen dem Text (die Ansage nennt den Namen selbst) */
    html body.vey-renewal #view .combat-stage:has(~ [data-combat-mechanic]:not(.is-hidden)) :is(.tag, [data-combat-phase]),
    html body.vey-renewal #view .combat-screen:has([data-combat-mechanic]:not(.is-hidden)) .combat-stage__top :is(.tag, [data-combat-phase]) { visibility: hidden !important; }
    html body.vey-renewal #view .combat-screen:has([data-combat-mechanic]:not(.is-hidden)) .combat-impact { opacity: 0 !important; }
    /* 3) Sieg: Chip nicht mitten im Schriftzug */
    html body.vey-renewal #view .combat-screen.combat-finished [data-combat-phase] { display: none !important; }
    /* 4) Wort hinter der Angriffs-Pill ("STRIKE") nur beim Finale zeigen */
    html body.vey-renewal #view .combat-stage:not(.vm-finished) .combat-impact:not(:empty) { opacity: 0 !important; }
    /* 5) Große Schadenszahlen werden am Kartenrand nicht abgeschnitten */
    html body.vey-renewal #view .combat-damage-layer .floating-damage { font-size: clamp(24px, 8vw, 38px) !important; white-space: nowrap !important; }
    html body.vey-renewal #view .combat-damage-layer .floating-damage.critical { font-size: clamp(28px, 9vw, 44px) !important; }
    html body.vey-renewal #view .combat-damage-layer .floating-damage.player { left: 68% !important; }
    html body.vey-renewal #view .combat-damage-layer .floating-damage.enemy, html body.vey-renewal #view .combat-damage-layer .floating-damage.dodge { left: 30% !important; }
    /* 6) Arena-Ergebnis: Urteil, Wertung und Änderung untereinander mit Abstand */
    html body.vey-renewal #view .arena-outcome { display: grid !important; justify-items: center !important; gap: 4px !important; text-align: center !important; }
    html body.vey-renewal #view .arena-outcome > * { margin: 0 !important; }
  }
}
