body.knowledge-body {
  margin: 0;
  color: #2b2118;
  background: #faf6f1;
  font-family: Arial, Helvetica, sans-serif;
}

.knowledge-page {
  overflow: hidden;
}

.knowledge-hero {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 86%, rgba(216, 104, 51, 0.28), transparent 42%),
    linear-gradient(105deg, rgba(18, 10, 5, 0.95) 0%, rgba(43, 24, 13, 0.78) 48%, rgba(216, 104, 51, 0.36) 100%),
    url('https://images.unsplash.com/photo-1478720568477-152d9b164e26?auto=format&fit=crop&w=2000&q=80') center right / cover no-repeat;
}

/* 文字排版高端化 + 错峰入场动画 */
.knowledge-hero__content > * {
  animation: heroRise 0.9s cubic-bezier(0.22, 0.68, 0.32, 1) both;
}

.knowledge-hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.knowledge-hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.knowledge-hero__content > *:nth-child(3) { animation-delay: 0.28s; }
.knowledge-hero__content > *:nth-child(4) { animation-delay: 0.42s; }

.knowledge-hero::after {
  content: '';
  position: absolute;
  inset: auto -8% -42% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.knowledge-hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 76px;
}

.knowledge-kicker {
  margin: 0 0 12px;
  color: #d86833;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.knowledge-hero .knowledge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.knowledge-hero .knowledge-kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d86833, rgba(216, 104, 51, 0.25));
}

.knowledge-hero h1 {
  margin: 24px 0 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 36px rgba(8, 4, 2, 0.45);
}

.knowledge-hero__intro {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 18px rgba(8, 4, 2, 0.4);
}

.knowledge-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin-top: 42px;
}

.knowledge-hero__stats div {
  position: relative;
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: 0 22px 60px rgba(3, 10, 30, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 0.68, 0.32, 1),
              border-color 0.32s ease,
              box-shadow 0.32s ease;
}

.knowledge-hero__stats div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff9a62, transparent);
  opacity: 0.8;
}

.knowledge-hero__stats div::after {
  content: '';
  position: absolute;
  top: -36px;
  right: -36px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 154, 98, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.knowledge-hero__stats div:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 32px 70px rgba(3, 10, 30, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.knowledge-hero__stats div:hover::after {
  transform: scale(1.4);
}

.knowledge-hero__stats strong,
.knowledge-hero__stats span {
  display: block;
  position: relative;
  z-index: 1;
}

.knowledge-hero__stats strong {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(3, 10, 30, 0.25);
}

.knowledge-hero__stats span:not(.stat-icon):last-of-type,
.knowledge-hero__stats .stat-sub {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.knowledge-hero__stats .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9a62, #d86833);
  box-shadow: 0 12px 28px rgba(216, 104, 51, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  transition: transform 0.32s cubic-bezier(0.22, 0.68, 0.32, 1);
}

.knowledge-hero__stats div:hover .stat-icon {
  transform: rotate(-8deg) scale(1.08);
}

.knowledge-hero__stats .stat-icon svg {
  width: 28px;
  height: 28px;
}

.video-tutorial-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.video-tutorial-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.video-tutorial-section__head h2 {
  margin: 0;
  color: #2b2118;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
}

.video-tutorial-section__head p:not(.knowledge-kicker) {
  max-width: 680px;
  margin: 12px 0 0;
  color: #857665;
  line-height: 1.75;
}

.video-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 0 26px;
}

.video-toolbar__filters {
  min-width: 0;
}

.video-search {
  position: relative;
  flex: 0 1 340px;
  min-width: min(320px, 100%);
  color: #857665;
  font-size: 14px;
}

.video-search__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  width: 17px;
  height: 17px;
  color: #a18d78;
  pointer-events: none;
  transform: translateY(-50%);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-search__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.video-search input::-webkit-search-cancel-button,
.video-search input::-webkit-search-results-button,
.video-search input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.video-search input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 18px 10px 43px;
  color: #2b2118;
  font-size: 15px;
  border: 1px solid #dfcfbd;
  border-radius: 999px;
  outline: none;
  background: #fffcf8;
  box-shadow: 0 8px 22px rgba(46, 29, 18, 0.07);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.video-search input::placeholder {
  color: #a18d78;
  opacity: 1;
}

.video-search input:hover {
  border-color: #c9a987;
}

.video-search input:focus {
  border-color: #d86833;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(216, 104, 51, 0.12), 0 8px 22px rgba(46, 29, 18, 0.08);
}

.video-search:focus-within .video-search__icon {
  color: #d86833;
}

.video-count {
  margin: 12px 0 0;
  color: #857665;
  font-size: 15px;
}

.video-count .video-count__num {
  margin: 0 3px;
  color: #d86833;
  font-size: 21px;
  font-weight: 800;
}

.video-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.video-category-bar[hidden] {
  display: none;
}

.video-category-btn {
  padding: 10px 22px;
  color: #3d3428;
  font-size: 15px;
  border: 1px solid rgba(216, 104, 51, 0.16);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-category-btn:hover,
.video-category-btn.is-active {
  border-color: #d86833;
  background: #d86833;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(216, 104, 51, 0.22);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(46, 29, 18, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(46, 29, 18, 0.08);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  animation: videoCardRise 0.6s cubic-bezier(0.22, 0.68, 0.32, 1) both;
}

.video-card:nth-child(1) { animation-delay: 0.04s; }
.video-card:nth-child(2) { animation-delay: 0.10s; }
.video-card:nth-child(3) { animation-delay: 0.16s; }
.video-card:nth-child(4) { animation-delay: 0.22s; }
.video-card:nth-child(5) { animation-delay: 0.28s; }
.video-card:nth-child(6) { animation-delay: 0.34s; }

@keyframes videoCardRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 60%, rgba(216, 104, 51, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-card:hover::after {
  opacity: 1;
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(216, 104, 51, 0.28);
  box-shadow: 0 30px 70px rgba(216, 104, 51, 0.14);
  outline: none;
}

.video-card__cover-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f9ebe2, #f2dcc9);
}

.video-card__cover-wrap.is-cover-error::after {
  content: '视频教程';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #d86833;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.video-card__cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .video-card__cover {
  transform: scale(1.06);
}

.video-card__cover.is-hidden {
  display: none;
}

.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #d86833;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(216, 104, 51, 0.24);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.video-card__play::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid currentColor;
}

.video-card__body {
  padding: 22px;
}

.video-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  color: #857665;
  font-size: 13px;
  font-weight: 700;
}

/* 分类彩色标签（色板 .video-cat-c1~c10 统一定义在 style.css） */
.video-card__cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.video-card__title {
  margin: 0;
  color: #2b2118;
  font-size: 20px;
  line-height: 1.45;
}

.video-card__summary {
  margin: 12px 0 0;
  color: #857665;
  font-size: 14px;
  line-height: 1.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-empty {
  padding: 34px;
  color: #857665;
  text-align: center;
  border: 1px dashed #d9c8b4;
  border-radius: 22px;
  background: #ffffff;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 24, 0.74);
  backdrop-filter: blur(8px);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid rgba(216, 104, 51, 0.14);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  animation: videoModalIn 0.32s cubic-bezier(0.22, 0.68, 0.32, 1);
}

@keyframes videoModalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.video-modal__backdrop {
  animation: videoBackdropIn 0.28s ease;
}

@keyframes videoBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #2b2118;
  font-size: 26px;
  line-height: 1;
  border: none;
  border-radius: 50%;
  background: #f9ebe2;
  cursor: pointer;
}

.video-modal__head {
  padding-right: 54px;
  margin-bottom: 16px;
}

.video-modal__head h2 {
  margin: 0;
  color: #2b2118;
  font-size: clamp(22px, 3vw, 32px);
}

/* 模态框"正在播放"高端标签 */
.video-modal__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 7px 16px 7px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b8481d;
  border: 1px solid rgba(216, 104, 51, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff3e8 0%, #ffe2cd 100%);
  box-shadow:
    0 6px 18px rgba(216, 104, 51, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  animation: videoKickerIn 0.5s cubic-bezier(0.22, 0.68, 0.32, 1) both;
  position: relative;
  overflow: hidden;
}

.video-modal__kicker::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
  transform: skewX(-22deg);
  animation: videoKickerShine 3.6s ease-in-out infinite;
}

.video-modal__kicker-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.video-modal__kicker-bar {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9a62, #d86833);
  box-shadow: 0 0 6px rgba(216, 104, 51, 0.45);
  transform-origin: center;
  animation: videoKickerWave 1.1s ease-in-out infinite;
}

.video-modal__kicker-bar:nth-child(1) { animation-delay: -0.10s; animation-duration: 0.95s; }
.video-modal__kicker-bar:nth-child(2) { animation-delay: -0.35s; animation-duration: 1.15s; }
.video-modal__kicker-bar:nth-child(3) { animation-delay: -0.05s; animation-duration: 0.85s; }
.video-modal__kicker-bar:nth-child(4) { animation-delay: -0.50s; animation-duration: 1.25s; }
.video-modal__kicker-bar:nth-child(5) { animation-delay: -0.20s; animation-duration: 1.05s; }

@keyframes videoKickerWave {
  0%, 100% { height: 5px; opacity: 0.65; }
  25% { height: 16px; opacity: 1; }
  50% { height: 9px; opacity: 0.85; }
  75% { height: 14px; opacity: 1; }
}

.video-modal__kicker-text {
  background: linear-gradient(135deg, #d86833 0%, #b8481d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes videoKickerIn {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes videoKickerShine {
  0%, 70% { left: -120%; }
  100% { left: 130%; }
}

[data-theme="dark"] .video-modal__kicker {
  color: #ff8a5c;
  border-color: rgba(255, 107, 53, 0.32);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18) 0%, rgba(255, 107, 53, 0.08) 100%);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .video-modal__kicker-text {
  background: linear-gradient(135deg, #ff9a62 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.video-modal__player-wrap {
  position: relative;
  /* 外层容器承担圆角裁剪 + 背景色，背景用面板同色而非黑色，
     即使边缘有亚像素锯齿，透出的也是同色背景，视觉上不可见 */
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
}

.video-modal__player {
  display: block;
  width: 100%;
  max-height: 68vh;
  /* video 元素自身不做任何圆角/裁剪，
     彻底避免 GPU 合成层的硬切割锯齿问题 */
  border-radius: 0;
  background: #000000;
}

.video-modal__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(216, 104, 51, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7f0 0%, #fdf3eb 100%);
  box-shadow: 0 14px 32px rgba(216, 104, 51, 0.08);
}

.video-modal__summary {
  position: relative;
  padding: 4px 4px 4px 14px;
  color: #4a3b2c;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.video-modal__summary::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #d86833, #ff9a62);
}

.video-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(216, 104, 51, 0.22);
}

.video-modal__actions[hidden] {
  display: none !important;
}

.video-modal__meta {
  color: #857665;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.video-modal__meta:empty {
  display: none;
}

.video-modal__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9a62, #d86833);
  box-shadow: 0 14px 26px rgba(216, 104, 51, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-modal__download::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(-45deg);
}

.video-modal__download:hover,
.video-modal__download:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(216, 104, 51, 0.36);
  outline: none;
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .video-tutorial-section,
  .knowledge-hero__content {
    width: min(100% - 28px, 760px);
  }

  .video-tutorial-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .knowledge-hero__stats,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .knowledge-hero__content {
    padding: 58px 0 54px;
  }

  .knowledge-hero__stats,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-tutorial-section {
    padding: 48px 0 64px;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal__panel {
    padding: 18px;
    border-radius: 20px;
  }
}

/* ===== 深色模式适配 ===== */
[data-theme="dark"] body.knowledge-body {
  color: #e6edf3;
  background: #0d1117;
}

[data-theme="dark"] .video-tutorial-section__head h2 {
  color: #e6edf3;
}

[data-theme="dark"] .video-tutorial-section__head p:not(.knowledge-kicker) {
  color: #8b949e;
}

[data-theme="dark"] .video-search input {
  color: #e6edf3;
  border-color: #30363d;
  background: #161b22;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .video-search input::placeholder {
  color: #8b949e;
}

[data-theme="dark"] .video-search input:hover {
  border-color: #59636e;
}

[data-theme="dark"] .video-search input:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}

[data-theme="dark"] .video-search {
  color: #8b949e;
}

[data-theme="dark"] .video-search__icon {
  color: #8b949e;
}

[data-theme="dark"] .video-count {
  color: #8b949e;
}

[data-theme="dark"] .video-count .video-count__num {
  color: #ff6b35;
}

[data-theme="dark"] .video-category-btn {
  color: #e6edf3;
  border-color: rgba(255, 107, 53, 0.2);
  background: #161b22;
}

[data-theme="dark"] .video-category-btn:hover,
[data-theme="dark"] .video-category-btn.is-active {
  border-color: #ff6b35;
  background: #ff6b35;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.22);
}

[data-theme="dark"] .video-card {
  border-color: #21262d;
  background: #161b22;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .video-card:hover,
[data-theme="dark"] .video-card:focus-visible {
  border-color: rgba(255, 107, 53, 0.28);
  box-shadow: 0 30px 70px rgba(255, 107, 53, 0.14);
}

[data-theme="dark"] .video-card__cover-wrap {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.04));
}

[data-theme="dark"] .video-card__cover-wrap.is-cover-error::after {
  color: #ff6b35;
}

[data-theme="dark"] .video-card__meta {
  color: #8b949e;
}

[data-theme="dark"] .video-card__title {
  color: #e6edf3;
}

[data-theme="dark"] .video-card__summary {
  color: #8b949e;
}

[data-theme="dark"] .video-empty {
  color: #8b949e;
  border-color: #30363d;
  background: #161b22;
}

[data-theme="dark"] .video-modal__panel {
  background: #161b22;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .video-modal__player-wrap {
  background: #161b22;
}

[data-theme="dark"] .video-modal__close {
  color: #e6edf3;
  background: rgba(255, 107, 53, 0.1);
}

[data-theme="dark"] .video-modal__head h2 {
  color: #e6edf3;
}

[data-theme="dark"] .video-modal__foot a {
  color: #ff6b35;
}

[data-theme="dark"] .video-modal__foot {
  border-color: rgba(255, 107, 53, 0.22);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 107, 53, 0.04) 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .video-modal__summary {
  color: #e6edf3;
}

[data-theme="dark"] .video-modal__summary::before {
  background: linear-gradient(180deg, #ff8a5c, #ff6b35);
}

[data-theme="dark"] .video-modal__actions {
  border-top-color: rgba(255, 107, 53, 0.22);
}

[data-theme="dark"] .video-modal__meta {
  color: #8b949e;
}

[data-theme="dark"] .video-modal__download {
  background: linear-gradient(135deg, #ff8a5c, #ff6b35);
}
