/* 工程极限三语视频库专页样式 · 严格遵守 style-src 'self'，零内联样式 */
body.v4 section.vl-hero {
  padding: 5.5rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(900px 420px at 18% 0%, rgba(212, 165, 86, 0.14), transparent 70%),
              linear-gradient(180deg, #07111f 0%, #0b1829 100%);
}
.vl-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  margin: 0.6rem 0 1rem;
  color: #f4f7fb;
}
.vl-hero h1 em {
  font-style: normal;
  color: #e2b86b;
}
.vl-lead {
  max-width: 46rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(232, 238, 247, 0.84);
  margin: 0 0 1.6rem;
}
.vl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.4rem;
}
.vl-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.vl-stat strong {
  font-size: 1.55rem;
  color: #e2b86b;
  letter-spacing: -0.01em;
}
.vl-stat span {
  font-size: 0.85rem;
  color: rgba(226, 234, 245, 0.72);
}

body.v4 section.vl-controls {
  position: sticky;
  top: 64px;
  z-index: 20;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0;
  margin: 0;
}
.vl-controls-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
}
.vl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.vl-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 241, 249, 0.86);
  padding: 0.48rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.vl-tab:hover {
  border-color: rgba(226, 184, 107, 0.55);
  color: #fff;
}
.vl-tab[aria-pressed="true"] {
  background: #e2b86b;
  border-color: #e2b86b;
  color: #07111f;
  font-weight: 600;
}
.vl-count {
  font-size: 0.88rem;
  color: rgba(226, 234, 245, 0.7);
  margin: 0;
}

body.v4 section.vl-section {
  padding: 1.6rem 0 4rem;
  background: #07111f;
}
.vl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
}
.vl-card {
  display: flex;
  flex-direction: column;
  background: #0d1c30;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.vl-card:hover {
  border-color: rgba(226, 184, 107, 0.42);
}
.vl-card.is-hidden {
  display: none;
}
.vl-card.is-featured {
  border-color: rgba(226, 184, 107, 0.38);
}

.vl-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #040a12;
  overflow: hidden;
}
.vl-stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #040a12;
}
.vl-play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: linear-gradient(180deg, rgba(4, 10, 18, 0.08) 0%, rgba(4, 10, 18, 0.58) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.vl-play-btn:hover {
  background: linear-gradient(180deg, rgba(4, 10, 18, 0.14) 0%, rgba(4, 10, 18, 0.72) 100%);
}
.vl-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(226, 184, 107, 0.92);
  color: #07111f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 3px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.vl-stage.is-playing .vl-play-btn {
  display: none;
}
.vl-dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(4, 10, 18, 0.82);
  color: #f4f7fb;
  font-size: 0.78rem;
  padding: 0.18rem 0.48rem;
  border-radius: 5px;
  pointer-events: none;
}
.vl-stage.is-playing .vl-dur {
  display: none;
}

.vl-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.vl-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  font-size: 0.78rem;
  color: rgba(226, 234, 245, 0.68);
}
.vl-badge {
  display: inline-block;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(226, 184, 107, 0.16);
  color: #e2b86b;
  font-weight: 600;
}
.vl-badge--fallback {
  background: rgba(148, 163, 184, 0.16);
  color: rgba(226, 234, 245, 0.82);
  font-weight: 400;
}
.vl-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #f4f7fb;
}
.vl-actions {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}
.vl-link {
  color: #e2b86b;
  text-decoration: none;
}
.vl-link:hover {
  text-decoration: underline;
}
.vl-copy-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(226, 234, 245, 0.78);
  padding: 0.24rem 0.62rem;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
}
.vl-copy-btn:hover {
  border-color: rgba(226, 184, 107, 0.55);
  color: #fff;
}

/* 首页视频库介绍区块样式 */
.vl-home-banner {
  padding: 3.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(13, 28, 48, 0.92) 0%, rgba(7, 17, 31, 0.98) 100%);
}
.vl-home-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: center;
}
.vl-home-copy h2 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #f4f7fb;
}
.vl-home-copy p {
  color: rgba(232, 238, 247, 0.82);
  line-height: 1.75;
  margin: 0 0 1.2rem;
}
.vl-home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e2b86b;
  color: #07111f;
  font-weight: 600;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
}
.vl-home-cta:hover {
  background: #ecc781;
}
.vl-home-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.vl-home-mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 1rem 1.05rem;
}
.vl-home-mini strong {
  display: block;
  font-size: 1.35rem;
  color: #e2b86b;
  margin-bottom: 0.25rem;
}
.vl-home-mini span {
  font-size: 0.85rem;
  color: rgba(226, 234, 245, 0.76);
}

@media (max-width: 760px) {
  body.v4 section.vl-hero {
    padding: 4.5rem 0 1.2rem;
  }
  .vl-hero h1 {
    font-size: 1.5rem;
    margin: 0.3rem 0 0.5rem;
  }
  .vl-lead {
    font-size: 0.86rem;
    line-height: 1.58;
    margin-bottom: 0.85rem;
  }
  .vl-stats {
    gap: 0.5rem 1.2rem;
    margin-top: 0.7rem;
  }
  .vl-stat strong {
    font-size: 1.12rem;
  }
  .vl-stat span {
    font-size: 0.74rem;
  }
  body.v4 section.vl-controls {
    top: 52px;
    padding: 0.38rem 0;
  }
  .vl-controls-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.28rem;
  }
  .vl-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.36rem;
    padding-bottom: 1px;
  }
  .vl-tabs::-webkit-scrollbar {
    display: none;
  }
  .vl-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.76rem;
    padding: 0.26rem 0.68rem;
  }
  .vl-count {
    font-size: 0.72rem;
    line-height: 1.15;
  }
  body.v4 section.vl-section {
    padding: 1rem 0 2.6rem;
  }
  .vl-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .vl-body {
    padding: 0.85rem 0.95rem 1rem;
  }
  .vl-card h3 {
    font-size: 0.94rem;
  }
  .vl-home-grid {
    grid-template-columns: 1fr;
  }
}
