/* ============================================================
   M3U8Lab — Design System v2 "Aurora Dark"
   全站统一设计令牌与组件样式（2026 全新视觉）
   深色科技风 · 翡翠/青色双引擎渐变 · 描边卡片 · 胶囊按钮
   ============================================================ */

:root {
  /* 品牌色 */
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: rgba(16, 185, 129, 0.14);
  --accent: #22d3ee;
  --grad-brand: linear-gradient(120deg, #10b981 0%, #14b8a6 45%, #22d3ee 100%);

  /* 中性色（深色主题） */
  --ink-900: #f2f6fc;
  --ink-700: #c2cddf;
  --ink-500: #8d9bb4;
  --ink-300: #5a6a88;
  --ink-100: #141e36;
  --bg: #0a101e;
  --bg-soft: #0d1526;
  --bg-muted: #1a2540;
  --border: #1f2c4a;

  /* 表面色 */
  --surface: #101a2f;
  --surface-2: #131f38;

  /* 功能色 */
  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.12);
  --warning: #fbbf24;
  --danger: #f87171;

  /* 排版 */
  --font-sans: "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans KR", "Noto Sans JP", sans-serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", Consolas, "SF Mono", Menlo, monospace;

  /* 尺寸 */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --glow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 8px 40px -8px rgba(16, 185, 129, 0.35);
  --container: 1140px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.4rem; }
::selection { background: rgba(16, 185, 129, 0.35); color: #fff; }

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 16, 30, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0.55;
}
.nav {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--ink-900); }
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 30% 25%, rgba(34, 211, 238, 0.35), transparent 55%),
    var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06231c;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--ink-500);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-lang {
  height: 38px;
  padding: 0 30px 0 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--surface);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 10px center, right 12px center;
  background-size: 15px, 12px;
  font-size: 14px;
  color: var(--ink-700);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.nav-lang:hover { border-color: var(--primary); }
.nav-right .btn { height: 38px; padding: 0 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--grad-brand);
  color: #04211a;
  box-shadow: 0 4px 20px -6px rgba(16, 185, 129, 0.6);
}
.btn-primary:hover {
  color: #04211a;
  box-shadow: 0 6px 26px -6px rgba(34, 211, 238, 0.7);
  filter: brightness(1.08);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-lg { padding: 14px 32px; font-size: 15.5px; }

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-700);
  border-radius: 2px;
}

/* ============ Hero 区块 ============ */
.hero {
  position: relative;
  padding: 84px 0 56px;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(16, 185, 129, 0.16), transparent 60%),
    radial-gradient(900px 460px at 88% -15%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(rgba(31, 44, 74, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 44, 74, 0.35) 1px, transparent 1px),
    var(--bg-soft);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  background: linear-gradient(115deg, #f2f6fc 35%, #34d399 68%, #22d3ee 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-500);
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ 播放器卡片 ============ */
.player-card {
  max-width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), var(--glow);
  padding: 24px;
  position: relative;
  z-index: 2;
}
.player-form {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.player-form input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  border: 1.5px solid #2e4070;
  border-radius: 999px;
  background: #1a2547;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.player-form input::placeholder { color: var(--ink-300); font-weight: 400; }
.player-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.player-form button {
  height: 50px;
  padding: 0 30px;
  background: var(--grad-brand);
  color: #04211a;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s, box-shadow 0.15s;
}
.player-form button:hover { filter: brightness(1.1); box-shadow: 0 4px 22px -6px rgba(34, 211, 238, 0.7); }
/* 播放器固定 16:9 横向长方形，宽度随容器自适应（手机/电脑通用）
   TCPlayer 初始化/播放时会写内联宽高，需 !important 压制；
   全屏时选择器不再命中（.vjs-fullscreen），交还给播放器自身样式 */
#player-container-id:not(.vjs-fullscreen) {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid #060b16;
  overflow: hidden;
}
#player-container-id .vjs-tech {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

/* ============ 区块通用 ============ */
.section {
  padding: 72px 0;
}
.section-alt {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(34, 211, 238, 0.05), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 44px;
}
.section-head h2,
.section-head h1 {
  font-size: 34px;
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--ink-500);
  font-size: 16px;
}

/* ============ 功能卡片网格 ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: var(--glow);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 17px;
  color: var(--ink-900);
  margin-bottom: 8px;
  font-weight: 700;
}
.card p {
  color: var(--ink-500);
  font-size: 14px;
}

/* ============ 步骤 ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--grad-brand);
  color: #04211a;
  border-radius: 12px;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}
.step h4 {
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.step p {
  font-size: 14px;
  color: var(--ink-500);
}

/* ============ 文章列表 ============ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.post-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: var(--glow);
}
.post-thumb {
  height: 150px;
  background:
    radial-gradient(280px 140px at 20% 0%, rgba(16, 185, 129, 0.25), transparent 60%),
    radial-gradient(280px 140px at 90% 100%, rgba(34, 211, 238, 0.22), transparent 60%),
    var(--ink-100);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.post-body { padding: 18px 20px 22px; }
.post-body h3 {
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.45;
}
.post-body h3 a { color: inherit; }
.post-body h3 a:hover { color: var(--primary); }
.post-body p {
  font-size: 14px;
  color: var(--ink-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-meta {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item.open { border-color: rgba(16, 185, 129, 0.5); }
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
  color: var(--ink-500);
}
.faq-item.open .faq-a {
  max-height: 420px;
  padding: 0 22px 18px;
}

/* ============ 文章详情页 ============ */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 20px 64px;
}
.article-wrap h1 {
  font-size: 32px;
  color: var(--ink-900);
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.article-meta {
  display: inline-block;
  color: var(--ink-300);
  font-size: 13px;
  margin-bottom: 30px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.article-wrap h2 {
  font-size: 23px;
  color: var(--ink-900);
  margin: 36px 0 12px;
  font-weight: 700;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  line-height: 1.35;
}
.article-wrap h3 {
  font-size: 18px;
  color: var(--ink-900);
  margin: 26px 0 8px;
  font-weight: 700;
}
.article-wrap p { margin-bottom: 14px; color: var(--ink-700); }
.article-wrap ul, .article-wrap ol { margin: 10px 0 18px; }
.article-wrap li { margin-bottom: 7px; }
.article-wrap code {
  background: var(--bg-muted);
  color: #7ee7d4;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
}
pre {
  background: #0a1224;
  border: 1px solid var(--border);
  color: #d3e2f5;
  padding: 44px 18px 16px;
  border-radius: var(--radius);
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.7;
  font-family: var(--font-mono);
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: anywhere;
  position: relative;
}
pre code { background: none; padding: 0; color: inherit; }
.code-copy {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: #9ff0dc;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.code-copy:hover { background: rgba(16, 185, 129, 0.24); color: #fff; }
.code-copy.ok { color: #34d399; border-color: rgba(52, 211, 153, 0.6); }
.article-wrap blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 18px;
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  color: var(--ink-700);
}
.article-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 30px;
}
.article-toc h4 { font-size: 15px; color: var(--ink-900); margin-bottom: 10px; }
.article-toc ol { margin: 0; }
.article-toc a { font-size: 14px; }

/* ============ 页脚 ============ */
.site-footer {
  background: #070c17;
  border-top: 1px solid var(--border);
  color: var(--ink-500);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-500);
  margin-top: 12px;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--ink-900);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 650;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-500); font-size: 14px; }
.footer-col a:hover { color: var(--primary); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-300);
}
.footer-bottom a { color: var(--ink-500); }
.footer-bottom a:hover { color: var(--primary); }

/* ============ 转换页专用 ============ */
.convert-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
}
.convert-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), var(--glow);
  padding: 38px;
}
.convert-card h1 {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(115deg, #f2f6fc 40%, #34d399 75%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.convert-card .lead {
  text-align: center;
  color: var(--ink-500);
  margin-bottom: 28px;
}
.convert-status {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--ink-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-700);
  min-height: 50px;
}
.convert-progress {
  height: 8px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
  display: none;
}
.convert-progress.show { display: block; }
.convert-progress-bar {
  height: 100%;
  background: var(--grad-brand);
  width: 0%;
  transition: width 0.3s;
  border-radius: 999px;
}

/* ============ 提示框 ============ */
.alert {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--ink-100);
  border: 1px solid var(--border);
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.75;
}
.alert-info {
  background: var(--primary-light);
  border-color: rgba(16, 185, 129, 0.4);
  color: #a7e9d4;
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .hero { padding: 52px 0 36px; background-size: auto, auto, 32px 32px, 32px 32px, auto; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  .section { padding: 48px 0; }
  .section-head h2, .section-head h1 { font-size: 25px; }
  .player-card { padding: 16px; }
  .player-form { flex-direction: column; }
  .player-form input { height: 58px; font-size: 16px; padding: 0 22px; }
  .player-form button { margin-top: 0; height: 54px; font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; width: 34px; height: 34px; }
  .nav-right { gap: 8px; }
  .nav-right .btn { height: 34px; padding: 0 14px; font-size: 13px; }
  .nav-lang {
    display: block;
    height: 34px;
    padding: 0 26px 0 30px;
    font-size: 12px;
    max-width: 112px;
    background-position: 8px center, right 8px center;
    background-size: 13px, 11px;
  }
  .convert-card { padding: 26px 18px; }
  pre { font-size: 12px; padding: 40px 12px 12px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-right .btn { display: none; }
}

/* ---- 移动端 TCPlayer 控制栏精简：保留 播放/倍速/画质/全屏 ---- */
@media (max-width: 640px) {
  /* 隐藏次要按钮（回源/下一集/荐片等任意按钮），保留播放键、倍速、画质切换、全屏 */
  .video-js .vjs-control-bar > .vjs-control.vjs-button:not(.vjs-play-control):not(.vjs-playback-rate):not(.tcp-video-quality-switcher):not(.vjs-fullscreen-control) {
    display: none !important;
  }
  /* TCPlayer 皮肤在窄屏（layout-tiny/x-small/small）会自动隐藏倍速，这里强制恢复显示 */
  .video-js .vjs-control-bar .vjs-playback-rate {
    display: inline-block !important;
  }
  /* 隐藏时间显示与音量面板，给控制栏让位 */
  .video-js .vjs-control-bar > .vjs-time-control,
  .video-js .vjs-control-bar > .vjs-volume-panel {
    display: none !important;
  }
  /* 画质/倍速菜单弹出层防溢出 */
  .video-js .vjs-menu-button-popup .vjs-menu {
    max-width: calc(100vw - 16px);
  }
  /* 窄屏收紧控件宽度，保证 播放/倍速/画质/全屏 与进度条共存不拥挤 */
  .video-js .vjs-control-bar > .vjs-control {
    width: 3.4em;
  }
}

/* 广告位容器（由 js/site.js 统一注入）*/
.ad-slot {
  margin: 24px auto;
  min-height: 60px;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
  border-radius: var(--radius);
}
