.inline-preview {
  width: min(1080px, 100%);
  aspect-ratio: 16 / 9;
  cursor: default;
  background: #070907;
}

.inline-preview video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
}

.inline-preview-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  padding: 0;
  border: 1px solid #efff76;
  border-radius: 50%;
  background: #d8f800e8;
  color: #111500;
  cursor: pointer;
  box-shadow: 0 12px 36px #000b, 0 0 28px #d8f80055;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.inline-preview-play:hover {
  background: #efff78;
  transform: translate(-50%, -50%) scale(1.06);
}

.inline-preview-play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  fill: currentColor;
  stroke: none;
}

.inline-preview.is-playing .inline-preview-play {
  opacity: 0;
  pointer-events: none;
}

.inline-preview:not(.is-playing):hover .inline-preview-play {
  box-shadow: 0 12px 36px #000b, 0 0 36px #d8f8008c;
}

@media (max-width: 760px) {
  .inline-preview-play {
    width: 58px;
    height: 58px;
  }

  .inline-preview-play svg {
    width: 25px;
    height: 25px;
  }
}
