/* 糖心视频 - 主样式文件 | ytolzw.cn */
/* ===== CSS变量 ===== */
:root {
  --primary: #c0396b;
  --primary-dark: #8b2252;
  --primary-light: #f7d6e4;
  --secondary: #ff6b9d;
  --accent: #ff9ec4;
  --gold: #d4a843;
  --dark: #1a0a12;
  --dark-2: #2d1520;
  --dark-3: #3e1f2e;
  --gray-1: #f9f0f4;
  --gray-2: #f0e0e8;
  --gray-3: #d0a8bc;
  --text-main: #2d1520;
  --text-sub: #6b3a50;
  --text-light: #9e6a80;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(192,57,107,0.12);
  --shadow-md: 0 4px 20px rgba(192,57,107,0.18);
  --shadow-lg: 0 8px 40px rgba(192,57,107,0.22);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.3s ease;
  --font-main: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

/* ===== 重置样式 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== 通用工具类 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--gray-1); }
.bg-dark { background: var(--dark); color: var(--white); }
.hidden { display: none; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== 标题样式 ===== */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  position: relative;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 40px;
}
.section-header { text-align: center; margin-bottom: 48px; }
.title-line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-ghost {
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== 导航栏 ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(192,57,107,0.1);
  border-bottom: 2px solid var(--primary-light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 20px;
  max-width: 1200px; margin: 0 auto;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800;
  color: var(--primary);
}
.site-logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.site-logo .logo-text { font-size: 1.4rem; letter-spacing: 2px; }
.site-logo .logo-sub { font-size: 0.7rem; color: var(--text-sub); letter-spacing: 1px; font-weight: 400; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-btn {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; border-radius: var(--radius-xl);
  font-size: 0.88rem; font-weight: 600;
  transition: all var(--transition);
}
.header-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); color: white; }

/* 汉堡菜单 */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: all var(--transition); }

/* ===== 搜索框 ===== */
.search-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 14px 0;
}
.search-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.search-form {
  flex: 1; display: flex; align-items: center;
  background: white; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-sm);
  max-width: 700px; margin: 0 auto;
}
.search-form input {
  flex: 1; padding: 10px 20px;
  border: none; outline: none;
  font-size: 0.95rem; color: var(--text-main);
}
.search-form button {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-size: 0.9rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.search-form button:hover { background: var(--primary-dark); }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.search-tag {
  padding: 3px 12px;
  background: rgba(255,255,255,0.2);
  color: white; border-radius: 20px;
  font-size: 0.8rem; cursor: pointer;
  transition: all var(--transition);
}
.search-tag:hover { background: rgba(255,255,255,0.35); }

/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  min-height: 560px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero_banner.jpg');
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,10,18,0.85) 0%, rgba(192,57,107,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 60px 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-text { color: white; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  background: rgba(192,57,107,0.3);
  border: 1px solid rgba(192,57,107,0.5);
  border-radius: 20px; color: var(--accent);
  font-size: 0.85rem; margin-bottom: 20px;
}
.hero-title {
  font-size: 3rem; font-weight: 800; line-height: 1.2;
  margin-bottom: 16px;
}
.hero-title span { color: var(--accent); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 28px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

.hero-visual { position: relative; }
.hero-video-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero-video-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(192,57,107,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.hero-play-btn:hover { background: var(--primary); transform: translate(-50%, -50%) scale(1.1); }
.hero-play-btn svg { width: 28px; height: 28px; fill: white; margin-left: 4px; }

/* ===== 视频卡片 ===== */
.video-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark-2);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.video-card:hover .video-play-overlay { opacity: 1; }
.play-icon {
  width: 52px; height: 52px;
  background: rgba(192,57,107,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.85); transition: transform var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon svg { width: 22px; height: 22px; fill: white; margin-left: 3px; }
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75); color: white;
  padding: 2px 8px; border-radius: 4px; font-size: 0.78rem;
}
.video-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: white;
  padding: 2px 10px; border-radius: 4px; font-size: 0.75rem;
}
.video-info { padding: 14px; }
.video-title {
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-main); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; color: var(--text-light);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-author { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.video-author img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.video-author span { font-size: 0.82rem; color: var(--text-sub); }

/* ===== 图片卡片 ===== */
.img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.img-card img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.4s; }
.img-card:hover img { transform: scale(1.06); }
.img-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,10,18,0.8) 0%, transparent 60%);
  padding: 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.img-card-title { color: white; font-size: 0.95rem; font-weight: 600; }
.img-card-sub { color: rgba(255,255,255,0.7); font-size: 0.8rem; margin-top: 4px; }

/* ===== 专家卡片 ===== */
.expert-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition); text-align: center;
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.expert-avatar { position: relative; }
.expert-avatar img { width: 100%; height: 240px; object-fit: cover; }
.expert-badge {
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; padding: 4px 16px;
  border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
}
.expert-body { padding: 28px 20px 20px; }
.expert-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.expert-title { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 12px; }
.expert-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.expert-actions { display: flex; gap: 8px; justify-content: center; }

/* ===== 评论卡片 ===== */
.review-card {
  background: white; border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-date { font-size: 0.78rem; color: var(--text-light); }
.review-stars { color: var(--gold); font-size: 0.9rem; }
.review-text { font-size: 0.9rem; color: var(--text-sub); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 12px;
}
.faq-q {
  padding: 18px 20px;
  background: white; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 0.95rem;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--gray-1); }
.faq-q.active { background: var(--primary-light); color: var(--primary); }
.faq-icon { width: 20px; height: 20px; transition: transform var(--transition); flex-shrink: 0; }
.faq-q.active .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9rem; color: var(--text-sub); line-height: 1.8;
  background: var(--gray-1);
}
.faq-a.open { max-height: 300px; padding: 16px 20px; }

/* ===== 合作品牌 ===== */
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-2);
  font-size: 1rem; font-weight: 700;
  color: var(--text-sub);
  transition: all var(--transition);
  min-height: 80px;
}
.partner-logo:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ===== 功能模块卡片 ===== */
.feature-card {
  background: white; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-top: 3px solid transparent;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--primary); }
.feature-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}
.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.7; }

/* ===== 统计数字 ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 50px 0; color: white;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: white; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo img { width: 36px; height: 36px; border-radius: 50%; }
.footer-brand .logo span { font-size: 1.3rem; font-weight: 800; color: white; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-qr { display: flex; gap: 16px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 80px; height: 80px; border-radius: 8px; }
.footer-qr-item span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 6px; }

.footer-col h4 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== 社交分享 ===== */
.share-bar {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.share-btn {
  padding: 6px 14px;
  border-radius: 20px; font-size: 0.82rem;
  display: flex; align-items: center; gap: 5px;
  transition: all var(--transition);
  font-weight: 500;
}
.share-wechat { background: #07c160; color: white; }
.share-weibo { background: #e6162d; color: white; }
.share-douyin { background: #000; color: white; }
.share-bilibili { background: #00a1d6; color: white; }
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); color: white; }

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 0;
  background: var(--gray-1);
  border-bottom: 1px solid var(--gray-2);
}
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-light);
}
.breadcrumb-inner a { color: var(--text-sub); }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--gray-3); }

/* ===== 页面头部 ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 60px 0; color: white; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(192,57,107,0.3) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

/* ===== 标签 ===== */
.tag {
  display: inline-block; padding: 3px 12px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 20px; font-size: 0.78rem; font-weight: 500;
}
.tag-dark { background: var(--dark-2); color: var(--accent); }

/* ===== 联系信息 ===== */
.contact-card {
  background: white; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--primary-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-label { font-size: 0.8rem; color: var(--text-light); }
.contact-value { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 1.6rem; }
  .hero-title { font-size: 2rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: white; flex-direction: column; padding: 16px; box-shadow: var(--shadow-md); gap: 4px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 16px; }
  .hero-stat .num { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-section .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.animate-fade-up { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ===== 直播标识 ===== */
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #e6162d; color: white;
  padding: 2px 10px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700;
}
.live-dot { width: 6px; height: 6px; background: white; border-radius: 50%; animation: pulse 1.2s infinite; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-1); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ===== 通知条 ===== */
.notice-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary));
  color: white; padding: 8px 0; font-size: 0.85rem; text-align: center;
}
.notice-bar a { color: white; text-decoration: underline; }

/* ===== 视频网格 ===== */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } }

/* ===== 内页侧边栏 ===== */
.inner-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.sidebar { }
.sidebar-widget { background: white; border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.sidebar-widget h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-light); color: var(--primary); }
@media (max-width: 1024px) { .inner-layout { grid-template-columns: 1fr; } .sidebar { display: none; } }

/* ===== 加载动画 ===== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-2) 25%, var(--gray-1) 50%, var(--gray-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
