/* 前台页 · 静音循环自动播放 + 静音切换按钮 */
.td-video-autoplay {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f172a;
  overflow: hidden;
}

.td-video-autoplay__video,
.td-video-autoplay video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: inherit;
}

.td-video-autoplay--iframe {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
}

.td-video-autoplay--iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.td-video-mute-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.td-video-mute-btn:hover {
  background: rgba(15, 23, 42, 0.88);
  transform: scale(1.04);
}

.td-video-mute-btn__icon--sound {
  display: none;
}

.td-video-mute-btn.is-unmuted .td-video-mute-btn__icon--muted {
  display: none;
}

.td-video-mute-btn.is-unmuted .td-video-mute-btn__icon--sound {
  display: block;
}

.contact-video-embed .td-video-autoplay {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  height: 100%;
  background: #000;
}

.contact-video-embed .td-video-autoplay__video {
  object-fit: cover;
  border-radius: 12px;
  background: #000;
}

.contact-video-embed .td-video-autoplay--wechat video {
  object-fit: cover;
}

.about-video-inner .td-video-autoplay {
  min-height: 0;
}

.about-video-inner .about-video-native {
  max-height: min(70vh, 520px);
  object-fit: cover;
}

.about-video-inner .td-video-autoplay {
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 520px);
}

.td-video-tap-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(15, 23, 42, 0.35);
  border-radius: inherit;
}

.td-video-tap-play[hidden] {
  display: none !important;
}

.td-video-tap-play__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.td-video-autoplay--needs-tap .td-video-mute-btn {
  z-index: 5;
}
