.home-panel-media {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.home-catalog .home-panel-media img {
  position: absolute;
  inset: 0;
}
.home-scene-card .home-panel-media {
  aspect-ratio: 643 / 440;
}
.home-panel-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
}
.home-comparison figcaption {
  pointer-events: none;
}
.home-panel-media video[data-playing] {
  visibility: visible;
}
.home-comparison figure:has(video[data-playing]) figcaption {
  visibility: hidden;
}
.home-media-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.home-media-play span {
  display: grid;
  place-items: center;
  width: clamp(44px, 4vw, 64px);
  aspect-ratio: 1;
  padding-left: 3px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: white;
  background: #161616b8;
  font: 20px/1 system-ui;
}
@media (hover: hover) and (pointer: fine) {
  .home-media-play:not(:hover):not(:focus-visible) span {
    opacity: 0;
  }
}
.home-media-error {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  background: #161616cc;
  color: white;
  pointer-events: none;
}
