/* Restricted to migrated legacy markers; native Animicro elements are untouched. */
.bmb-legacy-highlight {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(var(--bmb-color, #fde68a), var(--bmb-color, #fde68a));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 40%;
}
html.bmb-js .bmb-legacy-highlight { background-size: 0% 40%; }
.bmb-legacy-highlight[data-am-highlight-ready="1"] { background-image: none !important; }
.bmb-legacy-highlight > .am-highlight-inner {
  display: inline !important;
  position: static !important;
  isolation: auto !important;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(var(--am-hl-color, #fde68a), var(--am-hl-color, #fde68a)) !important;
  background-repeat: no-repeat !important;
  background-position: var(--am-hl-origin, left) bottom !important;
  background-size: 0% var(--am-hl-height, 40%) !important;
  transition: background-size var(--am-hl-duration, .8s) var(--am-hl-easing, ease-out) var(--am-hl-delay, 0s) !important;
}
.bmb-legacy-highlight > .am-highlight-inner::before { display: none !important; content: none !important; }
.bmb-legacy-highlight > .am-highlight-inner.am-highlight-active {
  background-size: 100% var(--am-hl-height, 40%) !important;
}
@media (prefers-reduced-motion: reduce) {
  html.bmb-js .bmb-legacy-highlight { background-size: 100% 40%; }
  .bmb-legacy-highlight > .am-highlight-inner {
    background-size: 100% var(--am-hl-height, 40%) !important;
    transition: none !important;
  }
}
@media print {
  html.bmb-js .bmb-legacy-highlight { background-size: 100% 40%; }
  .bmb-legacy-highlight > .am-highlight-inner {
    background-size: 100% var(--am-hl-height, 40%) !important;
    transition: none !important;
  }
}
