/* ==========================================================================
   PDFW.COM - 视频帮助中心 (Video Help Center) 专属设计系统
   Modern Executive Video Hub
   ========================================================================== */

/* 页面根作用域 */
.video-page {
  background-color: var(--bg-body, #f8fafc);
  color: var(--text-main, #0f172a);
  overflow-x: hidden;
}

/* ==========================================================================
   1. 视频 Hero 首屏与搜索区
   ========================================================================== */
.video-hero {
  position: relative;
  background: radial-gradient(circle at 50% -10%, #ffffff 0%, #f0f6ff 48%, #eaf2fc 100%);
  padding: 72px 0 80px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.video-hero-bg-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.video-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(22, 119, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(22, 119, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 119, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px, 96px 96px, 96px 96px;
  background-position: center top;
  opacity: 0.8;
}

.video-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.video-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(22, 119, 255, 0.2);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: #1677ff;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.video-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.video-hero-title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.video-hero-gradient {
  background: linear-gradient(135deg, #1677ff 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-hero-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto 32px;
}

/* 搜索框 */
.video-search-form {
  max-width: 640px;
  margin: 0 auto;
}

.video-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.video-search-input-wrap:focus-within {
  border-color: #1677ff;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12), 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.video-search-icon {
  color: #94a3b8;
  font-size: 17px;
  margin-right: 12px;
  flex-shrink: 0;
}

.video-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #0f172a;
  background: transparent;
  min-width: 0;
}

.video-search-input::placeholder {
  color: #94a3b8;
}

.video-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1677ff, #2563eb);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.video-search-btn:hover {
  background: linear-gradient(135deg, #0958d9, #1d4ed8);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.35);
  transform: translateY(-1px);
}

/* 热门搜索标签 */
.video-hot-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 18px;
  font-size: 13px;
  color: #64748b;
}

.video-hot-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #f97316;
}

.video-hot-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}

.video-hot-tag:hover {
  color: #1677ff;
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. 分类快速切换胶囊导航 (Tabs)
   ========================================================================== */
.video-filter-section {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  position: sticky;
  top: 60px;
  z-index: 10;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

.video-filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.video-filter-bar::-webkit-scrollbar {
  display: none;
}

.video-filter-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.video-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.video-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.video-filter-pill:hover {
  color: #1677ff;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.video-filter-pill.active {
  background: #1677ff;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.28);
}

.video-filter-pill .pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
}

.video-filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   2.1 视频分类导航网格 (Video Category Grid)
   ========================================================================== */
.video-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

@media (max-width: 992px) {
  .video-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .video-category-grid {
    grid-template-columns: 1fr;
  }
}

.video-cat-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-cat-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px -6px rgba(22, 119, 255, 0.12), 0 0 10px rgba(22, 119, 255, 0.06);
}

.video-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.video-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #eff6ff;
  color: #1677ff;
}

.video-cat-icon.cat-icon-blue { background: #eff6ff; color: #1677ff; }
.video-cat-icon.cat-icon-emerald { background: #ecfdf5; color: #10b981; }
.video-cat-icon.cat-icon-purple { background: #faf5ff; color: #a855f7; }
.video-cat-icon.cat-icon-amber { background: #fffbeb; color: #f59e0b; }
.video-cat-icon.cat-icon-cyan { background: #ecfeff; color: #06b6d4; }
.video-cat-icon.cat-icon-rose { background: #fff1f2; color: #f43f5e; }

.video-cat-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}

.video-cat-card:hover .video-cat-count {
  background: #dbeafe;
  color: #1e40af;
}

.video-cat-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-cat-card:hover .video-cat-title {
  color: #1677ff;
}

.video-cat-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.video-cat-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1677ff;
  font-size: 13px;
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid #f8fafc;
  transition: transform 0.2s ease;
}

.video-cat-card:hover .video-cat-footer {
  transform: translateX(3px);
}

/* ==========================================================================
   3. 视频卡片网格 (Video Grid & Cards)
   ========================================================================== */
.video-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.video-section-title-wrap h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}

.video-section-title-wrap p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.video-section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1677ff;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.video-section-more:hover {
  color: #0958d9;
  transform: translateX(3px);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* 视频卡片单个组件 */
.video-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 0, 0, 0.05);
  border-color: #93c5fd;
}

/* 视频卡片封面 (16:9) */
.video-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
  display: block;
}

.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.video-card:hover .video-card-thumb {
  transform: scale(1.05);
}

/* 默认缺省封面 */
.video-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #94a3b8;
  gap: 10px;
}

.video-card-thumb-placeholder i {
  font-size: 36px;
  color: rgba(255, 255, 255, 0.75);
}

/* 播放按钮浮层 (Glassmorphism) */
.video-card-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(22, 119, 255, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.92;
}

.video-card-play-btn i {
  font-size: 20px;
  margin-left: 3px; /* 居中微调 */
}

.video-card:hover .video-card-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #1677ff;
  box-shadow: 0 0 20px rgba(22, 119, 255, 0.6);
  opacity: 1;
}

/* 封面徽章 */
.video-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.video-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  font-family: monospace;
}

/* 视频卡片主体内容 */
.video-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.video-card-title a:hover {
  color: #1677ff;
}

.video-card-summary {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.video-card-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   4. 视频播放详情页 (Video Details / Player Layout)
   ========================================================================== */
.video-detail-layout {
  padding: 32px 0 64px;
  background-color: #f8fafc;
}

.video-player-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1080px) {
  .video-player-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 主播放区域 */
.video-player-main {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* HTML5 视频播放器包裹器 (16:9) */
.video-player-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.video-player-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
  display: block;
}

/* 视频信息区 */
.video-detail-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.video-detail-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.video-detail-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1677ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  line-height: 1.4;
}

.video-detail-cat-badge:hover {
  background: #dbeafe;
}

.video-detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.video-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
  line-height: 1.4;
  text-decoration: none;
}

.video-share-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.video-detail-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 12px;
}

.video-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.video-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 视频图文内容 / 步骤解说区 */
.video-detail-content {
  padding: 28px;
}

.video-content-heading {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-content-body {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.video-content-body img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  margin: 16px auto;
  display: block;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 步骤条 */
.video-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-step-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.video-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1677ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.video-step-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px;
}

/* 侧边栏：推荐与目录 */
.video-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video-sidebar-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.video-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-playlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-playlist-item {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #f8fafc;
  border: 1px solid transparent;
}

.video-playlist-item:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateX(2px);
}

.video-playlist-item.is-current {
  background: #eff6ff;
  border-color: #1677ff;
}

.video-playlist-thumb-wrap {
  position: relative;
  width: 104px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #1e293b;
  flex-shrink: 0;
}

.video-playlist-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-playlist-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 14px;
  opacity: 0.85;
}

.video-playlist-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-playlist-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #1e293b;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-playlist-meta {
  font-size: 11px;
  color: #94a3b8;
}

/* 空状态 */
.video-empty-state {
  text-align: center;
  padding: 64px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  max-width: 600px;
  margin: 40px auto;
}

.video-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}

.video-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}

.video-empty-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 24px;
}

.video-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  background: #1677ff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.video-empty-btn:hover {
  background: #0958d9;
}

/* ==========================================================================
   5. 移动端专属深度优化 (Mobile Optimization < 768px & < 480px)
   ========================================================================== */
@media (max-width: 768px) {
  /* 基础内边距与布局收敛 */
  .video-hero {
    padding: 36px 0 42px;
  }

  .video-hero-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .video-hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .video-search-input-wrap {
    padding: 4px 4px 4px 12px;
  }

  .video-search-input {
    font-size: 13.5px;
  }

  .video-search-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .video-hot-tags {
    margin-top: 14px;
    font-size: 12px;
    gap: 6px 8px;
  }

  .video-hot-tag {
    padding: 2px 8px;
    font-size: 12px;
  }

  /* 详情页播放器与头部优化 */
  .video-detail-layout {
    padding: 12px 0 40px;
  }

  .video-player-container {
    gap: 20px;
  }

  .video-player-main {
    border-radius: 12px;
  }

  .video-player-frame-wrap {
    border-radius: 12px 12px 0 0;
  }

  .video-detail-header {
    padding: 14px 16px;
  }

  .video-detail-badge-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
  }

  .video-detail-cat-badge {
    font-size: 12px;
    padding: 4px 10px;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .video-detail-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .video-share-btn {
    font-size: 12px;
    padding: 4px 9px;
    gap: 4px;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .video-detail-title {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .video-detail-meta {
    gap: 8px 12px;
    font-size: 12px;
  }

  .video-detail-content {
    padding: 16px 14px;
  }

  .video-content-heading {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .video-step-item {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .video-step-num {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .video-step-body h3 {
    font-size: 14.5px;
  }

  /* 侧边栏卡片优化 */
  .video-sidebar-card {
    padding: 14px;
    border-radius: 12px;
  }

  .video-playlist-thumb-wrap {
    width: 92px;
  }

  .video-playlist-title {
    font-size: 13px;
  }

  /* 面包屑横向滚动防换行 */
  .help-list-simple-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    font-size: 12.5px;
  }

  .help-list-simple-breadcrumb::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 480px) {
  .video-hero-title {
    font-size: 21px;
  }

  .video-detail-header {
    padding: 12px;
  }

  .video-detail-badge-bar {
    gap: 6px;
  }

  .video-detail-cat-badge {
    font-size: 11.5px;
    padding: 3px 8px;
  }

  .video-share-btn {
    font-size: 11.5px;
    padding: 3px 8px;
  }

  .video-detail-title {
    font-size: 16px;
  }

  .video-playlist-thumb-wrap {
    width: 80px;
  }
}
