/* One note marker contract for War, Crucible, Arena, offense and event cards. */
body :is(.counter-card,.offense-result-card,.offense-all-row,.offense-meta-row):is(.has-note,.has-cnote),
body :is(#cevUnitBody,#cevEvBody,#fearFloorContent,#bladeFloorContent) .fear-ctr-card:is(.cev-has-note,.cev-has-cnote) {
  position:relative;
}
body :is(.counter-card,.offense-result-card,.offense-all-row,.offense-meta-row):is(.has-note,.has-cnote)::after,
body :is(#cevUnitBody,#cevEvBody,#fearFloorContent,#bladeFloorContent) .fear-ctr-card:is(.cev-has-note,.cev-has-cnote)::after {
  content:''!important;
  display:block!important;
  position:absolute!important;
  top:0!important;
  right:0!important;
  bottom:auto!important;
  left:auto!important;
  width:22px!important;
  height:22px!important;
  border:0!important;
  clip-path:polygon(100% 0,0 0,100% 100%)!important;
  background:#ffd700!important;
  z-index:2;
  pointer-events:none;
}
body :is(.counter-card,.offense-result-card,.offense-all-row,.offense-meta-row).has-cnote:not(.has-note)::after,
body :is(#cevUnitBody,#cevEvBody,#fearFloorContent,#bladeFloorContent) .fear-ctr-card.cev-has-cnote:not(.cev-has-note)::after {
  background:#3b82f6!important;
}
:is(#cevUnitBody,#cevEvBody,#fearFloorContent,#bladeFloorContent) .fear-ctr-card.cev-has-note {
  overflow:hidden;
}
/* CSS's 135deg gradient places the dividing line at 45 degrees through the
   top-right vertex and the midpoint of the triangle's opposite edge.
   A 45deg gradient instead puts its boundary on that edge, hiding one color. */
body :is(.counter-card,.offense-result-card,.offense-all-row,.offense-meta-row).has-note.has-cnote::after,
body :is(#cevUnitBody,#cevEvBody,#fearFloorContent,#bladeFloorContent) .fear-ctr-card.cev-has-note.cev-has-cnote::after {
  background:linear-gradient(135deg,#ffd700 0 50%,#3b82f6 50% 100%)!important;
}
