.example-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
}
.example-video-trigger img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.example-play-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(20, 21, 24, .92);
  box-shadow: 0 3px 16px rgba(0, 0, 0, .2);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
}
.example-video-trigger:hover .example-play-label { background: #141518; }
.example-video-trigger:focus-visible { outline: 3px solid #7e26e1; outline-offset: -4px; }
html.example-video-open { overflow: hidden; }
.example-video-dialog {
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #33363b;
  border-radius: 16px;
  background: #141518;
  color: #fff;
  box-shadow: 0 24px 100px rgba(0, 0, 0, .4);
  overflow: auto;
}
.example-video-dialog:not([open]) { display: none; }
.example-video-dialog::backdrop { background: rgba(10, 12, 16, .8); }
.example-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 24px;
}
.example-video-header h2 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; }
.example-video-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #55585e;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.example-video-close:hover { background: #34373c; }
.example-video-close:focus-visible, .example-video-error a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
#example-video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 124px);
  max-height: calc(100dvh - 124px);
  object-fit: contain;
  background: #000;
}
.example-video-error { margin: 0; padding: 16px 24px; color: #fff; font-size: 16px; }
.example-video-error[hidden] { display: none; }
.example-video-error a { color: #fff; text-decoration: underline; }
