.mm-animation-gate {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: .75rem auto;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  background: #111827;
  line-height: 0;
  isolation: isolate;
}

.mm-animation-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  opacity: .78;
  transition: opacity .2s ease, filter .2s ease;
}

.mm-animation-gate-label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, .86);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .3);
}

.mm-animation-gate:hover .mm-animation-poster,
.mm-animation-gate:focus .mm-animation-poster {
  opacity: .9;
  filter: brightness(1.05);
}

.mm-animation-gate:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.mm-animation-gate.is-loading .mm-animation-gate-label {
  cursor: progress;
}

@media (max-width: 767.98px) {
  .mm-animation-gate {
    border-radius: 6px;
  }

  .mm-animation-gate-label {
    padding: .6rem .85rem;
    font-size: 14px;
  }
}
