/* 前台页 · 静音循环自动播放 + 静音切换按钮 */
.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__video {
  object-fit: contain;
  border-radius: 12px;
}

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

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