.bvr {
  --bvr-gap: 16px;
  --bvr-visible: 5;
  --bvr-w: 260px;
  position: relative;
  width: 100%;
  margin: 0 auto;
  outline: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.bvr.bvr-ready {
  opacity: 1;
}
.bvr * {
  box-sizing: border-box;
}
.bvr-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 30px 0 38px;
}
.bvr-track {
  display: flex;
  align-items: center;
  gap: var(--bvr-gap);
  width: max-content;
  transition: transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.bvr-card {
  position: relative;
  flex: 0 0 var(--bvr-w);
  width: var(--bvr-w);
  aspect-ratio: 9/16;
  height: auto;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  transform: scale(0.94);
  transform-origin: center center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  transition:
    transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 450ms ease;
  isolation: isolate;
}
.bvr-card.is-far {
  transform: scale(0.9);
}
.bvr-card.is-near {
  transform: scale(0.99);
}
.bvr-card.is-center {
  z-index: 3;
  transform: scale(1.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}
.bvr-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
  border-radius: inherit;
}
.bvr-yt-holder {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111;
  border-radius: inherit;
}
.bvr-yt-holder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
}
.bvr-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 52%, rgba(0, 0, 0, 0.5));
}
.bvr-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.28);
  color: #fff;
  transform: translate(-50%, -50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bvr-play:hover {
  background: rgba(20, 20, 20, 0.5);
  transform: translate(-50%, -50%) scale(1.06);
}
.bvr-card.is-sound-on .bvr-play {
  display: none;
}
.bvr-play span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
}
.bvr-card.is-playing .bvr-play span {
  width: 14px;
  height: 18px;
  margin: 0;
  border: 0;
  border-left: 5px solid currentColor;
  border-right: 5px solid currentColor;
}
.bvr-stars {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  transform: translateX(-50%);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  pointer-events: none;
}
.bvr-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.bvr-play {
  z-index: 7;
}
.bvr-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  font-size: 29px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.bvr-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}
.bvr-prev {
  left: 1.2%;
}
.bvr-next {
  right: 1.2%;
}
.bvr-empty {
  padding: 30px;
  text-align: center;
  border: 1px dashed #bbb;
  border-radius: 12px;
}
.bvr-fallback {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  font-size: 12.5px;
  line-height: 1.4;
  text-decoration: none;
}
.bvr-fallback.is-shown {
  display: flex;
}
.bvr-fallback span {
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .bvr-viewport {
    padding: 24px 0 32px;
  }
}
@media (max-width: 767px) {
  .bvr-viewport {
    padding: 20px 0 28px;
  }
  .bvr-track {
    justify-content: flex-start;
  }
  .bvr-arrow {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }
  .bvr-prev {
    left: 2%;
  }
  .bvr-next {
    right: 2%;
  }
  .bvr-stars {
    font-size: 21px;
  }
  .bvr-play {
    width: 54px;
    height: 54px;
  }
}
