.tppb-video-offer__card,
.tppb-video-offer button.tppb-video-offer__reopen,
.tppb-gallery-video-badge,
.tppb-gallery-video-trigger > .tppb-gallery-play-icon,
.tppb-gallery-video-dialog__header > button,
.tppb-media-grid-dialog__header > button,
.toby-promo-section .toby-external-media__controls button[data-media-action],
.toby-media-player-modal .toby-modal__close {
  background: linear-gradient(155deg, #303844f7, #121821f2);
  border: 1px solid #ffffff65;
  border-top-color: #ffffffa6;
  border-bottom-color: #ffffff8a;
  color: #fff;
  box-shadow: inset 0 1px 2px #ffffff70, inset 0 -2px 5px #e2efff65, 0 3px 12px #0006;
  text-shadow: 0 1px 3px #000b;
}

.tppb-gallery-video-trigger > .tppb-gallery-play-icon::before,
.tppb-gallery-video-badge::before,
.toby-promo-section .toby-external-media__controls button[data-media-action] svg {
  filter: drop-shadow(0 1px 2px #000a);
}

.tppb-video-offer button.tppb-video-offer__reopen {
  border-left: 0;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tppb-video-offer__card,
  .tppb-video-offer button.tppb-video-offer__reopen,
  .tppb-gallery-video-badge,
  .tppb-gallery-video-trigger > .tppb-gallery-play-icon,
  .tppb-gallery-video-dialog__header > button,
  .tppb-media-grid-dialog__header > button,
  .toby-promo-section .toby-external-media__controls button[data-media-action],
  .toby-media-player-modal .toby-modal__close {
    background: radial-gradient(ellipse at 21% -15%, #ffffff68, transparent 53%),
      radial-gradient(ellipse at 76% 125%, #fff7eb5c, transparent 54%),
      #11182640;
    -webkit-backdrop-filter: blur(5px) saturate(155%) brightness(.9);
    backdrop-filter: blur(5px) saturate(155%) brightness(.9);
  }
}

.tppb-gallery-video-trigger:is(:hover, :focus-visible) > .tppb-gallery-play-icon,
.toby-promo-section .toby-external-media__controls button[data-media-action]:is(:hover, :focus-visible),
.toby-media-player-modal .toby-modal__close:is(:hover, :focus-visible) {
  border-color: #ffffffa6;
  color: #fff;
}

:is(.tppb-gallery-video-dialog__header, .tppb-media-grid-dialog__header) > button[type="submit"] {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff38;
  border-top-color: #ffffff65;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 0%, #ffffff38, transparent 75%), #ffffff0c;
  box-shadow: inset 0 -1px 3px #ffffff22;
  color: #fff;
  cursor: pointer;
}

:is(.tppb-gallery-video-dialog__title, .tppb-media-grid-dialog__title) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(.tppb-gallery-video-dialog__title, .tppb-media-grid-dialog__title):focus {
  outline: none;
}

.tppb-gallery-video-dialog__title.is-pending {
  opacity: 0;
}

:is(.tppb-gallery-video-dialog__header, .tppb-media-grid-dialog__header) > button[type="submit"]:hover {
  background-color: #ffffff22;
  border-color: #ffffff65;
  color: #fff;
}

:is(.tppb-gallery-video-dialog__header, .tppb-media-grid-dialog__header) > button[type="submit"]:focus-visible {
  outline: 2px solid #98b5d3;
  outline-offset: 2px;
}

:is(.tppb-gallery-video-dialog__header, .tppb-media-grid-dialog__header) > button > svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.75;
}
