/* ========================================
   免费看片 - 主样式文件
   iskrqqmf.cn
   ======================================== */

/* ---- CSS变量 / 配色方案 ---- */
:root {
  --primary:     #0ff0c8;   /* 青绿 */
  --secondary:   #9b5de5;   /* 紫色 */
  --accent:      #f72585;   /* 粉红 */
  --dark:        #0a0e1a;   /* 深夜蓝 */
  --dark2:       #111827;
  --dark3:       #1a2235;
  --card-bg:     #151d2e;
  --text:        #e8eaf6;
  --text-muted:  #8892a4;
  --border:      rgba(255,255,255,0.08);
  --gradient:    linear-gradient(135deg, #0ff0c8 0%, #9b5de5 50%, #f72585 100%);
  --gradient2:   linear-gradient(135deg, #9b5de5 0%, #0ff0c8 100%);
  --shadow:      0 8px 32px rgba(0,255,200,0.12);
  --radius:      12px;
  --radius-lg:   20px;
}

/* ---- 全局重置 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ======== HEADER ======== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-wrap img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

/* 导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text);
  font-size: .92rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(155,93,229,0.18);
  color: var(--primary);
}

/* 搜索框 */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0 14px;
  gap: 8px;
  flex: 0 0 220px;
  transition: border-color .2s;
}
.search-bar:focus-within { border-color: var(--primary); }
.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: .88rem;
  width: 100%;
  padding: 8px 0;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  transition: color .2s;
}
.search-bar button:hover { color: var(--primary); }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ======== HERO ======== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero_banner.jpg') center/cover no-repeat;
  filter: brightness(.55);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,26,.9) 40%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px;
  max-width: 600px;
  padding-left: 40px;
}
.hero-tag {
  display: inline-block;
  background: rgba(15,240,200,.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: .78rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(155,93,229,.4);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(155,93,229,.6); color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: rgba(15,240,200,.1); color: var(--primary); }

/* ======== 通用容器 ======== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 72px 0;
}
.section-alt { background: var(--dark2); }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.section-title h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title p {
  color: var(--text-muted);
  font-size: .98rem;
  max-width: 560px;
  margin: 0 auto;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ======== 统计栏 ======== */
.stats-bar {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item p { color: var(--text-muted); font-size: .88rem; margin-top: 4px; }

/* ======== 视频卡片 ======== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(155,93,229,.4);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark3);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.play-btn:hover { transform: scale(1.12); }
.play-btn svg { width: 22px; height: 22px; fill: var(--dark); margin-left: 3px; }
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .72rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.video-info { padding: 14px; }
.video-info h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: .8rem;
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag {
  background: rgba(155,93,229,.15);
  color: var(--secondary);
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(155,93,229,.3);
}

/* ======== 功能模块卡片 ======== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15,240,200,.3);
  box-shadow: 0 12px 40px rgba(15,240,200,.08);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-icon.cyan { background: rgba(15,240,200,.12); }
.feature-icon.purple { background: rgba(155,93,229,.12); }
.feature-icon.pink { background: rgba(247,37,133,.12); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

/* ======== 专家卡片 ======== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: transform .25s, border-color .25s;
}
.expert-card:hover { transform: translateY(-4px); border-color: rgba(155,93,229,.4); }
.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid transparent;
  background: var(--gradient) border-box;
  /* fallback */
  box-shadow: 0 0 0 3px var(--secondary);
}
.expert-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.expert-card .role { color: var(--primary); font-size: .82rem; margin-bottom: 10px; }
.expert-card p { color: var(--text-muted); font-size: .82rem; line-height: 1.5; margin-bottom: 14px; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 14px; }
.award-tag {
  background: rgba(247,37,133,.12);
  color: var(--accent);
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 6px 14px;
  font-size: .78rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--dark3);
  color: var(--text);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-sm:hover { background: rgba(155,93,229,.2); border-color: var(--secondary); color: var(--primary); }

/* ======== 合作品牌 ======== */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}
.partner-item:hover { border-color: var(--primary); color: var(--primary); }

/* ======== 社区横幅 ======== */
.community-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.community-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.4);
}
.community-banner-content {
  position: relative;
  z-index: 1;
  padding: 48px 40px;
}
.community-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.community-banner p { color: var(--text-muted); max-width: 480px; margin-bottom: 24px; }

/* ======== 评论 ======== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color .2s;
}
.review-card:hover { border-color: rgba(155,93,229,.3); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .92rem; }
.review-date { color: var(--text-muted); font-size: .78rem; }
.stars { color: #ffd700; font-size: .9rem; margin-bottom: 10px; }
.review-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* ======== FAQ ======== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--card-bg);
  border: none;
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.faq-question:hover { background: var(--dark3); }
.faq-question .arrow {
  font-size: .8rem;
  transition: transform .3s;
  color: var(--primary);
}
.faq-question.open .arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  background: var(--card-bg);
}
.faq-answer.open { display: block; }

/* ======== 联系 ======== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-item .icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: .88rem; margin-bottom: 2px; }
.contact-item span { color: var(--text-muted); font-size: .85rem; }
.qr-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.qr-placeholder {
  width: 100px;
  height: 100px;
  background: #fff;
  margin: 0 auto 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: #333;
  text-align: center;
  padding: 8px;
  line-height: 1.4;
}
.qr-card p { font-size: .8rem; color: var(--text-muted); }

/* ======== 社交分享 ======== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 28px 0;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s, opacity .2s;
}
.share-btn:hover { transform: translateY(-2px); opacity: .9; }
.share-wechat { background: #07c160; color: #fff; }
.share-weibo  { background: #e6162d; color: #fff; }
.share-douyin { background: #010101; color: #fff; border: 1px solid #333; }
.share-bili   { background: #00a1d6; color: #fff; }

/* ======== 页脚 ======== */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { font-size: 1.3rem; margin-bottom: 12px; display: block; }
.footer-brand p { color: var(--text-muted); font-size: .88rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: .95rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: .82rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }
.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

/* ======== 面包屑 ======== */
.breadcrumb {
  padding: 12px 0;
  font-size: .82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ======== 内页 Hero ======== */
.page-hero {
  background: var(--dark3);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.page-hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ======== 筛选标签 ======== */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: .85rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(155,93,229,.2);
  border-color: var(--secondary);
  color: var(--primary);
}

/* ======== 工具卡片 ======== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform .25s, border-color .25s;
}
.tool-card:hover { transform: translateY(-4px); border-color: rgba(15,240,200,.3); }
.tool-icon { font-size: 2.4rem; margin-bottom: 12px; }
.tool-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.tool-card p { color: var(--text-muted); font-size: .85rem; margin-bottom: 14px; }

/* ======== 响应式 ======== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,14,26,.98); padding: 16px 20px; border-bottom: 1px solid var(--border); gap: 4px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 16px; }
  .hamburger { display: flex; }
  .search-bar { flex: 0 0 160px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-content { padding: 60px 20px; }
  .community-banner-content { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .search-bar { display: none; }
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ======== 动画 ======== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp .6s ease both; }
.fade-in-2 { animation: fadeInUp .6s .15s ease both; }
.fade-in-3 { animation: fadeInUp .6s .3s ease both; }

/* ======== 通知条 ======== */
.notice-bar {
  background: linear-gradient(90deg, rgba(155,93,229,.2), rgba(15,240,200,.2));
  border-bottom: 1px solid var(--border);
  padding: 8px 20px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
}
.notice-bar a { color: var(--primary); }

/* ======== 直播标签 ======== */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ======== 加载懒加载占位 ======== */
img[data-src] { background: var(--dark3); }

/* ======== 滚动到顶部 ======== */
#back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 999;
  border: none;
  color: #fff;
  font-size: 1.1rem;
}
#back-top.show { opacity: 1; pointer-events: auto; }
#back-top:hover { transform: translateY(-3px); }
