.vsl-shell {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  appearance: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  position: relative;
  isolation: isolate;
}
.vsl-shell .vsl-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  object-fit: contain;
}
.vsl-shell.has-preview .vsl-preview { opacity: 1; }
.vsl-shell.has-preview .video-placeholder {
  background: transparent;
  pointer-events: none;
}
.vsl-shell.has-preview .video-logo,
.vsl-shell.has-preview .video-symbol,
.vsl-shell.has-preview .video-center p,
.vsl-shell.has-preview .video-bottom > span:first-child { display: none; }
.vsl-shell.has-preview .video-center {
  display: grid;
  place-items: center;
  gap: 0;
  padding: 0;
}
.vsl-shell .play-mark svg { margin-left: 0; }
.vsl-shell.has-preview .play-mark { box-shadow: 0 6px 24px rgba(0, 0, 0, .22); }
.vsl-shell.has-preview .video-bottom { justify-content: flex-end; }
.vsl-shell.has-preview .video-status {
  background: rgba(11, 11, 11, .8);
  border-color: rgba(255, 255, 255, .4);
  padding: 6px 10px;
}
.vsl-shell:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
}
html.video-modal-open { overflow: hidden; }
.video-modal {
  width: min(1040px, calc(100vw - 48px), calc(177.778dvh - 355.556px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
  overflow: auto;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}
.video-modal::backdrop {
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(4px);
}
.video-modal[open] { animation: video-modal-in 180ms ease-out; }
.video-modal-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.video-modal-bar img { width: 140px; height: auto; }
#video-mode-label {
  margin-left: auto;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
}
.video-modal-close, .mock-play {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.video-modal-close:hover, .mock-play:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.video-modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.video-modal button:focus-visible, .video-modal input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.video-modal-media > video, .video-modal-media > iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--ink);
  object-fit: contain;
}
.video-modal-note {
  padding: 14px 20px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.mock-video-stage {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.mock-video-symbol {
  position: absolute;
  z-index: -1;
  width: 65%;
  right: -10%;
  top: 2%;
  opacity: .2;
}
.mock-video-copy { padding: 24px; text-align: center; }
.mock-video-copy > p:first-child {
  color: var(--white);
  font-family: "General Sans", sans-serif;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.mock-video-copy > p:first-child span { color: var(--orange); }
.mock-video-caption {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
}
.mock-video-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.mock-play { width: 32px; height: 32px; border-color: transparent; }
.mock-play svg { width: 16px; height: 16px; fill: currentColor; }
.mock-play .mock-icon-pause, .mock-play.is-playing .mock-icon-play { display: none; }
.mock-play.is-playing .mock-icon-pause { display: block; }
#mock-timeline { flex: 1; min-width: 0; accent-color: var(--orange); cursor: pointer; }
.mock-time { white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
@keyframes video-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .video-modal { width: calc(100vw - 24px); border-radius: 14px; }
  .video-modal-bar { min-height: 52px; padding: 10px 12px; gap: 12px; }
  .video-modal-bar img { width: 110px; }
  #video-mode-label { font-size: 9px; }
  .video-modal-close { width: 30px; height: 30px; padding: 5px; }
  .mock-video-copy { padding: 18px; }
  .mock-video-caption { font-size: 10px; margin-top: 12px; max-width: 240px; }
  .mock-video-controls { gap: 8px; padding: 7px 10px; }
  .mock-time { font-size: 10px; }
  .video-modal-note { font-size: 10px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-modal[open] { animation: none; }
}
