html:has(.view.active[data-view="video"] #videoBody > [data-agent-page="0"].active > #videoModeIntro[data-vmc-ready]) {
  overflow-y: clip;
  overscroll-behavior-y: none;
}

body:has(.view.active[data-view="video"] #videoBody > [data-agent-page="0"].active > #videoModeIntro[data-vmc-ready]) #zsWorkspaceStatus {
  display: none !important;
}

html body .view.active[data-view="video"] #videoBody:has(> [data-agent-page="0"].active > #videoModeIntro[data-vmc-ready]) {
  overflow: clip !important;
  overscroll-behavior-y: none;
}

html body #videoBody > [data-agent-page="0"].active:has(> #videoModeIntro[data-vmc-ready]) {
  height: 100%;
  min-height: 0;
}

html body #videoBody #videoModeIntro[data-vmc-ready] {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  flex: 1 1 0;
  padding: 0 !important;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #0e0c17;
  container-type: size;
  container-name: video-mode;
}

html body #videoBody #videoModeIntro[data-vmc-ready] > .vmx-mode-switch { display: none !important; }

.vmc {
  --vmc-gutter: clamp(26px, 5.5vw, 86px);
  --vmc-accent: #dfc2ff;
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #0e0c17;
  touch-action: pinch-zoom;
  text-align: left;
}

.vmc[data-vmc-index="1"] { --vmc-accent: #a8c8ff; }
.vmc[data-vmc-index="2"] { --vmc-accent: #a5efd4; }

.vmc-scenes, .vmc-slide, .vmc-media, .vmc-media img, .vmc-media video, .vmc-slide::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vmc-slide {
  visibility: hidden;
  opacity: 0;
  background: #151322;
  transition: opacity 560ms cubic-bezier(.22,.7,.26,1), visibility 0s 560ms;
}

.vmc-slide[data-active="true"] {
  visibility: visible;
  z-index: 1;
  opacity: 1;
  transition: opacity 560ms cubic-bezier(.22,.7,.26,1);
}

.vmc-media { overflow: hidden; pointer-events: none; }
.vmc-media img, .vmc-media video {
  display: block;
  object-fit: cover;
  object-position: 64% center;
}
.vmc-media video { opacity: 0; transition: opacity .24s ease; }
.vmc-media video[data-loaded="true"] { opacity: 1; }
.vmc-slide[data-vmc-mode="mix"] .vmc-media :is(img, video) { object-position: 52% center; }
.vmc-slide[data-vmc-mode="pip"] .vmc-media :is(img, video) { object-position: 72% center; }

.vmc-slide::after {
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, #0d0b17ed 0%, #0e0c17c9 23%, #0e0b1674 43%, #100b1822 74%, #0e0b163c 100%),
    linear-gradient(0deg, #0e0c17f5 0%, #100d1b93 15%, transparent 38%, transparent 78%, #110e1c75 100%);
}

.vmc-copy {
  position: absolute;
  z-index: 1;
  left: var(--vmc-gutter);
  bottom: clamp(130px, 22%, 204px);
  width: min(510px, 50%);
  opacity: 0;
  transform: translateY(13px);
  transition: opacity .38s ease, transform .52s cubic-bezier(.18,.75,.24,1);
}

.vmc-slide[data-active="true"] .vmc-copy { opacity: 1; transform: none; }
.vmc-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(52px, 6.9vw, 108px);
  font-weight: 820;
  line-height: 1.06;
  letter-spacing: -.075em;
  text-shadow: 0 3px 32px #05031135;
}
.vmc-copy p {
  max-width: 24em;
  margin: 0 0 clamp(20px, 3vw, 34px);
  color: #f6efffd8;
  font-size: clamp(15px, 1.65vw, 21px);
  line-height: 1.65;
}

.vmc button { cursor: pointer; font-family: inherit; }
.vmc button:focus-visible { outline: 2px solid var(--vmc-accent); outline-offset: 4px; }
.vmc-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 51px;
  padding: 0 18px 0 21px;
  border: 0;
  border-radius: 9px;
  background: #f6eeff;
  color: #221431;
  font-size: 15px;
  font-weight: 760;
  box-shadow: 0 6px 24px #0a051c50;
  transition: background .18s ease, transform .18s ease;
}
.vmc-select:hover { background: var(--vmc-accent); transform: translateY(-2px); }
.vmc-select span { font-size: 19px; line-height: 1; }

.vmc-top, .vmc-bottom {
  position: absolute;
  z-index: 2;
  left: var(--vmc-gutter);
  right: var(--vmc-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}
.vmc-top { top: clamp(24px, 5.5%, 48px); }
.vmc-bottom { bottom: clamp(24px, 5.5%, 44px); right: max(76px, var(--vmc-gutter)); }
.vmc-top button, .vmc-bottom button { pointer-events: auto; }
.vmc-label {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fbf7ff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .12em;
}
.vmc-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--vmc-accent);
  box-shadow: 0 0 14px var(--vmc-accent);
}
.vmc-motion, .vmc-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff5;
  border-radius: 50%;
  background: #1b162771;
  color: #fff;
  backdrop-filter: blur(14px);
  transition: background .2s ease, border-color .2s ease;
}
.vmc :is(.vmc-motion,.vmc-arrow):hover { background: #fff3; border-color: #fff9; }
.vmc-motion::before {
  content: "";
  box-sizing: content-box;
  width: 4px;
  height: 13px;
  border-inline: 2px solid currentColor;
}
.vmc-motion[data-paused="true"]::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.vmc-motion[hidden] { display: none; }
.vmc-top-actions, .vmc-arrows { display: flex; gap: 9px; }
.vmc-arrow { font-size: 21px; line-height: 1; }

.vmc-shortcuts {
  display: flex;
  min-width: 0;
  gap: clamp(12px, 2.3vw, 31px);
}
.vmc-shortcut {
  min-width: 80px;
  padding: 11px 0 0;
  border: 0;
  border-top: 2px solid #ffffff45;
  background: transparent;
  color: #ffffffb8;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
  transition: color .22s ease, border-color .22s ease;
}
.vmc-shortcut:hover { color: #fff; border-color: #fffa; }
.vmc-shortcut[aria-pressed="true"] { color: #fff; border-color: var(--vmc-accent); }
.vmc-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 640px) {
  html body #videoBody #videoModeIntro[data-vmc-ready] {
    border-radius: 13px;
  }
  .vmc { --vmc-gutter: 22px; }
  .vmc-slide[data-vmc-mode="talk"] .vmc-media :is(img, video) { object-position: 59% center; }
  .vmc-slide[data-vmc-mode="pip"] .vmc-media :is(img, video) { object-position: 88% center; }
  .vmc-slide::after {
    background:
      linear-gradient(0deg, #0e0c17 0%, #100e1be6 19%, #100d1abb 42%, #100d1a55 65%, #100d1a35 84%, #110d1c8c 100%),
      linear-gradient(90deg, #0e0c1752, transparent 76%);
  }
  .vmc-copy { width: calc(100% - var(--vmc-gutter) * 2); bottom: clamp(120px, 24%, 158px); }
  .vmc-copy h2 { margin-bottom: 12px; font-size: clamp(44px, 12vw, 62px); }
  .vmc-copy p { margin-bottom: 19px; }
  .vmc-select { min-height: 47px; }
  .vmc-motion, .vmc-arrow { width: 40px; height: 40px; }
  .vmc-bottom { right: var(--vmc-gutter); bottom: 30px; align-items: end; }
  .vmc-shortcuts { gap: clamp(8px, 3vw, 16px); }
  .vmc-shortcut { min-width: 0; padding-top: 8px; font-size: 12px; }
  .vmc-top-actions, .vmc-arrows { gap: 6px; }
}

@container video-mode (max-height: 460px) {
  .vmc-top { top: clamp(12px, 4.5cqh, 22px); }
  .vmc-bottom { bottom: clamp(12px, 4.5cqh, 22px); }
  .vmc-copy { bottom: clamp(70px, 19cqh, 102px); }
  .vmc-copy h2 { font-size: clamp(36px, 11cqh, 61px); margin-bottom: 9px; }
  .vmc-copy p { font-size: clamp(14px, 3.8cqh, 17px); margin-bottom: 15px; }
  .vmc-select { min-height: 43px; }
}

@container video-mode (max-height: 310px) {
  .vmc-top { top: 9px; }
  .vmc-bottom { bottom: 8px; }
  .vmc-copy { bottom: 55px; }
  .vmc-copy h2 { font-size: clamp(26px, 12cqh, 39px); margin-bottom: 6px; }
  .vmc-copy p { font-size: 13px; margin-bottom: 9px; line-height: 1.45; }
  .vmc-select { min-height: 36px; }
  .vmc-motion, .vmc-arrow { width: 34px; height: 34px; }
  .vmc-shortcut { padding-top: 6px; }
}

@container video-mode (max-height: 220px) {
  .vmc-copy p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vmc :is(.vmc-slide, .vmc-copy, button, video) { transition: none; }
  .vmc-select:hover { transform: none; }
}
