.center-video-dialog {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 64px));
  max-width: none;
  min-width: 0;
  max-height: calc(100dvh - 64px);
  margin: auto;
  padding: 0;
  border: 1px solid #ffffff1f;
  border-radius: 16px;
  background: #18181b;
  color: #fafafa;
  box-shadow: 0 24px 96px #0006;
  overflow: auto;
  overscroll-behavior: contain;
  color-scheme: dark;
}
.center-video-dialog::backdrop {
  background: rgb(0 0 0 / 80%);
}
.center-video-dialog[open] {
  animation: iel-quiet-panel-in var(--iel-panel-in) var(--iel-panel-enter-ease) backwards;
}
.center-video-dialog.is-closing {
  pointer-events: none;
  animation: iel-quiet-panel-out var(--iel-panel-out) var(--iel-panel-exit-ease) both;
}
.center-video-dialog[open]::backdrop {
  animation: iel-quiet-backdrop-in var(--iel-panel-in) var(--iel-panel-enter-ease) backwards;
}
.center-video-dialog.is-closing::backdrop {
  animation: iel-quiet-backdrop-out var(--iel-panel-out) var(--iel-panel-exit-ease) both;
}
@media (prefers-reduced-motion: reduce) {
  .center-video-dialog[open],
  .center-video-dialog[open]::backdrop {
    animation: none !important;
  }
}
.center-player-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  padding: 24px 28px;
  background: #18181b;
}
.center-player-copy {
  min-width: 0;
  max-width: 100%;
  align-self: center;
}
.center-video-dialog .center-player-role {
  margin: 0 0 6px;
  color: #b4b4bd;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}
.center-video-dialog .center-player-heading h2 {
  margin: 0;
  color: #fafafa;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  white-space: normal;
}
.center-video-dialog .center-player-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  color: #fafafa;
  background: transparent;
  cursor: pointer;
}
.center-video-dialog .center-player-close:hover {
  background: #ffffff14;
  filter: none;
}
.center-player {
  width: min(100%, var(--center-player-width, 100%));
  aspect-ratio: 16/9;
  margin-inline: auto;
  background: #09090b;
}
.center-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.center-player-footer {
  padding: 16px 28px 20px;
  text-align: right;
}
.center-player-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  min-height: 24px;
  color: #b4b4bd;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.center-player-source__icon {
  width: 14px;
  height: 14px;
  flex: none;
  transform: rotate(-45deg);
}
.center-player-source:hover {
  color: #fff;
  text-decoration: underline;
}
.center-video-dialog :is(button, a):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
html.center-dialog-open,
body.center-dialog-open {
  overflow: hidden;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .center-video-dialog {
    width: calc(100% - 48px);
    max-height: calc(100dvh - 48px);
  }
  .center-player-heading {
    padding: 20px 22px;
  }
  .center-player-footer {
    padding: 14px 22px 18px;
  }
}
@media (max-width: 767px), (pointer: coarse) and (min-width: 768px) and (max-width: 1199px) {
  .center-video-dialog {
    width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: 12px;
  }
  .center-player-heading {
    gap: 12px;
    padding: 16px;
  }
  .center-video-dialog .center-player-heading h2 {
    font-size: 18px;
  }
  .center-video-dialog .center-player-role {
    font-size: 12px;
  }
  .center-player-footer {
    padding: 12px 16px 16px;
  }
  .center-player-source {
    min-height: 32px;
  }
}
