/* [project]/apps/cn-site/components/InlineVideoPlayer.module.css [app-client] (css) */
.InlineVideoPlayer-module__w0G6KG__player {
  --inline-video-motion: var(--cn-v2-feedback, .155s);
  --inline-video-ease: var(--cn-v2-ease, ease-out);
  --inline-video-control: clamp(32px, 16cqi, 62px);
  isolation: isolate;
  aspect-ratio: 16 / 9;
  background: var(--inline-video-background, #102b39);
  width: 100%;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

.InlineVideoPlayer-module__w0G6KG__player:after {
  content: "";
  background: var(--inline-video-poster-shade, none);
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.InlineVideoPlayer-module__w0G6KG__poster, .InlineVideoPlayer-module__w0G6KG__customCover, .InlineVideoPlayer-module__w0G6KG__video, .InlineVideoPlayer-module__w0G6KG__toggle, .InlineVideoPlayer-module__w0G6KG__coverOverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.InlineVideoPlayer-module__w0G6KG__poster {
  object-fit: cover;
}

.InlineVideoPlayer-module__w0G6KG__customCover {
  pointer-events: none;
}

.InlineVideoPlayer-module__w0G6KG__placeholder {
  color: rgba(255, 255, 255, .45);
  place-items: center;
  display: grid;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.InlineVideoPlayer-module__w0G6KG__player.inline-video-fill {
  aspect-ratio: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.InlineVideoPlayer-module__w0G6KG__video {
  z-index: 1;
  background: var(--inline-video-background, #102b39);
  object-fit: contain;
  pointer-events: none;
}

.InlineVideoPlayer-module__w0G6KG__video, .InlineVideoPlayer-module__w0G6KG__coverOverlay {
  opacity: 0;
  transition: opacity var(--inline-video-motion) var(--inline-video-ease);
}

.InlineVideoPlayer-module__w0G6KG__video[data-visible="true"], .InlineVideoPlayer-module__w0G6KG__coverOverlay[data-visible="true"] {
  opacity: 1;
}

.InlineVideoPlayer-module__w0G6KG__toggle {
  z-index: 2;
  background: none;
  border: 0;
  place-items: center;
  padding: 0;
  display: grid;
}

.InlineVideoPlayer-module__w0G6KG__icon {
  width: var(--inline-video-control);
  aspect-ratio: 1;
  color: #fff;
  transition: opacity var(--inline-video-motion) var(--inline-video-ease), scale var(--inline-video-motion) var(--inline-video-ease), background-color var(--inline-video-motion) var(--inline-video-ease);
  background: rgba(0, 0, 0, .44);
  border: 1px solid rgba(255, 255, 255, .627);
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.InlineVideoPlayer-module__w0G6KG__icon > svg {
  width: 40%;
  height: auto;
  transition: opacity var(--inline-video-motion) var(--inline-video-ease), scale var(--inline-video-motion) var(--inline-video-ease);
  grid-area: 1 / 1;
}

.InlineVideoPlayer-module__w0G6KG__icon > .InlineVideoPlayer-module__w0G6KG__playIcon {
  width: 46%;
}

.InlineVideoPlayer-module__w0G6KG__player[data-phase="cover"] .InlineVideoPlayer-module__w0G6KG__stopIcon, .InlineVideoPlayer-module__w0G6KG__player[data-phase="loading"] .InlineVideoPlayer-module__w0G6KG__stopIcon, .InlineVideoPlayer-module__w0G6KG__player:not([data-phase="cover"]) .InlineVideoPlayer-module__w0G6KG__playIcon {
  opacity: 0;
  scale: .85;
}

.InlineVideoPlayer-module__w0G6KG__spinner {
  animation: .75s linear infinite InlineVideoPlayer-module__w0G6KG__spin;
}

@keyframes InlineVideoPlayer-module__w0G6KG__spin {
  to {
    transform: rotate(360deg);
  }
}

.InlineVideoPlayer-module__w0G6KG__toggle:focus-visible {
  outline: none;
}

.InlineVideoPlayer-module__w0G6KG__toggle:focus-visible .InlineVideoPlayer-module__w0G6KG__icon {
  outline-offset: 2px;
  outline: 2px solid #fff;
}

.InlineVideoPlayer-module__w0G6KG__coverOverlay {
  z-index: 3;
  pointer-events: none;
}

.InlineVideoPlayer-module__w0G6KG__coverOverlay:not([inert]) > * {
  pointer-events: auto;
}

.InlineVideoPlayer-module__w0G6KG__progress {
  z-index: 3;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  touch-action: none;
  width: 100%;
  height: 44px;
  transition: opacity var(--inline-video-motion) var(--inline-video-ease);
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .58));
  border: 0;
  margin: 0;
  padding-left: 14px;
  padding-right: 14px;
  display: block;
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
}

.InlineVideoPlayer-module__w0G6KG__progress::-webkit-slider-runnable-track {
  background: linear-gradient(to right, #fff var(--inline-video-progress), rgba(255, 255, 255, .62) var(--inline-video-progress));
  border-radius: 999px;
  height: 8px;
}

.InlineVideoPlayer-module__w0G6KG__progress::-moz-range-track {
  background: linear-gradient(to right, #fff var(--inline-video-progress), rgba(255, 255, 255, .62) var(--inline-video-progress));
  border-radius: 999px;
  height: 8px;
}

.InlineVideoPlayer-module__w0G6KG__progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin-top: -3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}

.InlineVideoPlayer-module__w0G6KG__progress::-moz-range-thumb {
  background: #fff;
  border: 0;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}

.InlineVideoPlayer-module__w0G6KG__progress:focus-visible {
  outline-offset: -3px;
  outline: 2px solid #fff;
}

.InlineVideoPlayer-module__w0G6KG__fullPlayer {
  z-index: 3;
  top: 8px;
  width: clamp(32px, calc(var(--inline-video-control, 62px) * .71), 44px);
  aspect-ratio: 1;
  color: #fff;
  background: rgba(0, 0, 0, .65);
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: absolute;
  right: 8px;
}

.InlineVideoPlayer-module__w0G6KG__fullPlayer:after {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: -6px;
  right: -6px;
}

.InlineVideoPlayer-module__w0G6KG__fullPlayer > svg {
  width: 42%;
  height: auto;
}

.InlineVideoPlayer-module__w0G6KG__fullPlayer:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #fff;
}

@media (hover: hover) and (pointer: fine) {
  .InlineVideoPlayer-module__w0G6KG__toggle:hover .InlineVideoPlayer-module__w0G6KG__icon {
    background: rgba(0, 0, 0, .52);
  }

  .InlineVideoPlayer-module__w0G6KG__player[data-phase="playing"] .InlineVideoPlayer-module__w0G6KG__icon {
    opacity: 0;
    scale: .94;
  }

  .InlineVideoPlayer-module__w0G6KG__player[data-phase="playing"]:-webkit-any(:hover, :has(.InlineVideoPlayer-module__w0G6KG__toggle:focus-visible, .InlineVideoPlayer-module__w0G6KG__progress:focus-visible)) .InlineVideoPlayer-module__w0G6KG__icon {
    opacity: 1;
    scale: 1;
  }

  .InlineVideoPlayer-module__w0G6KG__player[data-phase="playing"]:-moz-any(:hover, :has(.InlineVideoPlayer-module__w0G6KG__toggle:focus-visible, .InlineVideoPlayer-module__w0G6KG__progress:focus-visible)) .InlineVideoPlayer-module__w0G6KG__icon {
    opacity: 1;
    scale: 1;
  }

  .InlineVideoPlayer-module__w0G6KG__player[data-phase="playing"]:is(:hover, :has(.InlineVideoPlayer-module__w0G6KG__toggle:focus-visible, .InlineVideoPlayer-module__w0G6KG__progress:focus-visible)) .InlineVideoPlayer-module__w0G6KG__icon {
    opacity: 1;
    scale: 1;
  }

  .InlineVideoPlayer-module__w0G6KG__toggle:focus-visible .InlineVideoPlayer-module__w0G6KG__icon {
    transition-duration: 0s;
  }

  .InlineVideoPlayer-module__w0G6KG__fullPlayer {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--inline-video-motion) var(--inline-video-ease);
  }

  .InlineVideoPlayer-module__w0G6KG__player:-webkit-any(:hover, :has(:focus-visible), [data-phase="loading"], [data-phase="playing"]) > .InlineVideoPlayer-module__w0G6KG__fullPlayer {
    opacity: 1;
    pointer-events: auto;
  }

  .InlineVideoPlayer-module__w0G6KG__player:-moz-any(:hover, :has(:focus-visible), [data-phase="loading"], [data-phase="playing"]) > .InlineVideoPlayer-module__w0G6KG__fullPlayer {
    opacity: 1;
    pointer-events: auto;
  }

  .InlineVideoPlayer-module__w0G6KG__player:is(:hover, :has(:focus-visible), [data-phase="loading"], [data-phase="playing"]) > .InlineVideoPlayer-module__w0G6KG__fullPlayer {
    opacity: 1;
    pointer-events: auto;
  }

  .article-media-video-frame:-webkit-any(:hover, :has(:focus-visible), .is-playing) > .InlineVideoPlayer-module__w0G6KG__fullPlayer {
    opacity: 1;
    pointer-events: auto;
  }

  .article-media-video-frame:-moz-any(:hover, :has(:focus-visible), .is-playing) > .InlineVideoPlayer-module__w0G6KG__fullPlayer {
    opacity: 1;
    pointer-events: auto;
  }

  .article-media-video-frame:is(:hover, :has(:focus-visible), .is-playing) > .InlineVideoPlayer-module__w0G6KG__fullPlayer {
    opacity: 1;
    pointer-events: auto;
  }

  .InlineVideoPlayer-module__w0G6KG__fullPlayer:focus-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .InlineVideoPlayer-module__w0G6KG__progress {
    opacity: 0;
    pointer-events: none;
  }

  .InlineVideoPlayer-module__w0G6KG__player:-webkit-any(:hover, :has(.InlineVideoPlayer-module__w0G6KG__toggle:focus-visible, .InlineVideoPlayer-module__w0G6KG__progress:focus-visible), :has(.InlineVideoPlayer-module__w0G6KG__progress:active)) .InlineVideoPlayer-module__w0G6KG__progress {
    opacity: 1;
    pointer-events: auto;
  }

  .InlineVideoPlayer-module__w0G6KG__player:-moz-any(:hover, :has(.InlineVideoPlayer-module__w0G6KG__toggle:focus-visible, .InlineVideoPlayer-module__w0G6KG__progress:focus-visible), :has(.InlineVideoPlayer-module__w0G6KG__progress:active)) .InlineVideoPlayer-module__w0G6KG__progress {
    opacity: 1;
    pointer-events: auto;
  }

  .InlineVideoPlayer-module__w0G6KG__player:is(:hover, :has(.InlineVideoPlayer-module__w0G6KG__toggle:focus-visible, .InlineVideoPlayer-module__w0G6KG__progress:focus-visible), :has(.InlineVideoPlayer-module__w0G6KG__progress:active)) .InlineVideoPlayer-module__w0G6KG__progress {
    opacity: 1;
    pointer-events: auto;
  }
}

.InlineVideoPlayer-module__w0G6KG__error {
  z-index: 3;
  color: #fff;
  pointer-events: none;
  background: rgba(0, 0, 0, .7);
  margin: 0;
  padding: 6px 10px;
  font-size: 12px;
  position: absolute;
  top: 12px;
  bottom: auto;
  left: 12px;
  right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .InlineVideoPlayer-module__w0G6KG__player {
    --inline-video-motion: 0s;
  }

  .InlineVideoPlayer-module__w0G6KG__spinner {
    animation: none;
  }
}

/*# sourceMappingURL=apps_cn-site_components_InlineVideoPlayer_module_65167bb4.css.map*/