/* 文章内嵌视频切换组件样式（2026-10-31）
 * vswitch-wrap：视频的定位容器；vswitch-btn：右上角半透明纯图标按钮
 */
.vswitch-wrap {
  position: relative;
  display: block;
  width: 100%;
}
.vswitch-wrap video {
  width: 100%;
  max-width: 720px;
  display: block;
  margin: 0 auto;
}
.vswitch-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(15, 15, 15, 0.38);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.vswitch-btn:hover,
.vswitch-btn:focus-visible {
  opacity: 1;
  background: rgba(15, 15, 15, 0.55);
  outline: none;
}
/* 手机端：视频改满宽，按钮稍大好点按 */
@media (max-width: 768px) {
  .vswitch-wrap video {
    max-width: 100%;
  }
  .vswitch-btn {
    width: 36px;
    height: 36px;
    top: 8px;
    right: 8px;
    opacity: 0.62;
  }
}
