/* Local-only candidate; scope is limited to the marked /community/ hero frame. */
.pb-viber-header-video-frame {
  position: relative;
  overflow: hidden;
  background: #090c27;
  aspect-ratio: 16 / 9;
}

.pb-viber-header-video-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pb-viber-header-video-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #090c27;
}

.pb-viber-header-video-media[hidden] {
  display: none;
}

.pb-viber-header-video-poster {
  position: relative;
  z-index: 0;
}

.pb-viber-header-video-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pb-viber-header-video-toggle {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  border: 2px solid #e7bc64;
  border-radius: 999px;
  background: linear-gradient(135deg, #3a2390, #1d1257);
  color: #fff;
  padding: 9px 15px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pb-viber-header-video-toggle:focus-visible {
  outline: 3px solid #ffe477;
  outline-offset: 3px;
}

.pb-viber-header-video-backlink {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 7px 11px;
  border: 2px solid #e7bc64;
  border-radius: 999px;
  background: #1d1257;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}
.pb-viber-header-video-backlink[hidden] { display: none; }
.pb-viber-header-video-backlink:focus-visible { outline: 3px solid #ffe477; outline-offset: 3px; }

@media (max-width: 600px) {
  .pb-viber-header-video-toggle {
    right: 8px;
    bottom: 8px;
    padding: 8px 12px;
  }
}
