/* 视频调用 — 对齐 manycai365 /index/openingvideo */
.page-mc-video main {
  background: #f5f5f5;
  padding-bottom: 40px;
}

.mc-video-head {
  width: min(1030px, calc(100% - 24px));
  margin: 0 auto;
  height: 155px;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%),
    url('../img/manycai/headvideo.png') center / cover no-repeat;
  box-sizing: border-box;
}
.mc-video-head p {
  width: min(510px, 90%);
  margin: 0 auto;
  padding-top: 50px;
  font-size: 14px;
  line-height: 25px;
  font-weight: 500;
  color: #fff;
}

.mc-video-tabs-wrap {
  width: min(1030px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 130px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}
.mc-video-cats {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  height: 70px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: flex-end;
  gap: 0;
}
.mc-video-cats li { padding: 0; }
.mc-video-cats a {
  display: inline-block;
  padding: 20px 20px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.mc-video-cats a.is-on {
  color: #2360f6;
  border-bottom-color: #2360f6;
}

.mc-video-lots {
  list-style: none;
  margin: 0;
  padding: 16px 20px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.mc-video-lots.is-hidden { display: none; }
.mc-video-lots li {
  padding: 10px 20px;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  cursor: pointer;
  border-radius: 50px;
  user-select: none;
}
.mc-video-lots li.is-on {
  background: linear-gradient(87.04deg, #2360f6 1.76%, #3c8ef7 99.71%);
  color: #fff;
}

.mc-video-preview-box {
  width: min(1030px, calc(100% - 24px));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  padding-bottom: 28px;
}
.mc-video-preview-label {
  padding: 30px 30px 0;
  font-size: 12px;
  line-height: 17px;
  color: #3c8ef7;
  border-top: 1px solid #ccc;
}
.mc-video-frame {
  padding: 20px 30px;
  text-align: center;
}
.mc-video-frame iframe {
  width: min(960px, 100%);
  height: 540px;
  border: 0;
  background: #111;
}
.mc-video-empty {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  background: #fafafa;
  border: 1px dashed #ddd;
}

.mc-video-getcode {
  display: block;
  margin: 0 auto;
  width: 141px;
  height: 41px;
  border: none;
  border-radius: 2px;
  background: linear-gradient(87.04deg, #2360f6 1.76%, #3c8ef7 99.71%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.mc-video-getcode:hover { opacity: 0.92; }

.mc-video-note {
  width: min(1030px, calc(100% - 24px));
  margin: 20px auto;
  min-height: 129px;
  background: #ebf4ff;
  box-sizing: border-box;
  padding-bottom: 24px;
}
.mc-video-note-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  color: #000;
  padding: 30px 30px 10px;
}
.mc-video-note p {
  font-size: 15px;
  line-height: 21px;
  color: #000;
  margin: 0;
  padding: 0 30px;
}
.mc-video-note a { color: red; }

.mc-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.mc-video-modal[hidden] { display: none !important; }
.mc-video-modal-card {
  width: min(880px, 100%);
  background: #fff;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}
.mc-video-modal-head {
  height: 60px;
  line-height: 60px;
  padding: 0 16px;
  font-size: 14px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.mc-video-modal-close {
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}
.mc-video-modal-code {
  display: block;
  width: 100%;
  min-height: 90px;
  box-sizing: border-box;
  margin: 0;
  padding: 20px;
  border: 0;
  resize: vertical;
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 768px) {
  .mc-video-head { height: auto; min-height: 120px; }
  .mc-video-head p { padding: 28px 16px; width: auto; }
  .mc-video-frame iframe { height: 280px; }
  .mc-video-note-title { font-size: 18px; }
}
