@charset "utf-8";
/* ==========================================================================
   魅影直播 - 全站样式表
   作者：魅影直播前端团队
   说明：移动优先 + 渐进增强，全部样式外联引入，无任何第三方样式依赖
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --bg: #0a0713;
  --bg-soft: #100a1f;
  --bg-card: #17102b;
  --bg-card-2: #1d1436;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ece8f7;
  --text-mid: #c3bcd8;
  --text-dim: #9a92b4;
  --brand: #7c4dff;
  --brand-dark: #5b32d6;
  --brand-2: #ff4d9d;
  --accent: #22e0c8;
  --warn: #ffc247;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow: 0 18px 44px rgba(6, 3, 16, 0.55);
  --shadow-soft: 0 10px 26px rgba(6, 3, 16, 0.35);
  --grad-brand: linear-gradient(120deg, #7c4dff 0%, #b44dff 48%, #ff4d9d 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.55), transparent);
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 520px at 82% -8%, rgba(124, 77, 255, 0.22), transparent 62%),
    radial-gradient(700px 460px at 4% 8%, rgba(255, 77, 157, 0.13), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(1.75rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.9vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.32rem); }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

a {
  color: #b79dff;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover,
a:focus-visible { color: #ffffff; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(124, 77, 255, 0.45);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-s) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- 3. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d6c9ff;
  border: 1px solid rgba(124, 77, 255, 0.45);
  border-radius: 100px;
  background: rgba(124, 77, 255, 0.12);
}

.section-title {
  margin-bottom: 14px;
}

.section-desc {
  margin: 0;
  color: var(--text-mid);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}

.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 12px 28px rgba(124, 77, 255, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(124, 77, 255, 0.45);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  border-color: rgba(124, 77, 255, 0.7);
  background: rgba(124, 77, 255, 0.16);
  transform: translateY(-2px);
}

.btn-light {
  color: #1b1030;
  background: #fff;
}

.btn-light:hover,
.btn-light:focus-visible {
  color: #1b1030;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; }

/* ---------- 5. 站点头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 7, 19, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 7, 19, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(4, 2, 12, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
}

.logo:hover { color: #fff; }

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-brand);
  box-shadow: 0 8px 20px rgba(124, 77, 255, 0.42);
}

.logo-mark svg { width: 22px; height: 22px; display: block; }

.logo-text {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-text em {
  font-style: normal;
  color: var(--brand-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li { margin: 0; }

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: var(--text-mid);
  border-radius: 100px;
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-link.is-active {
  color: #fff;
  background: rgba(124, 77, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.45);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. 首页英雄区 ---------- */
.hero {
  position: relative;
  padding: 110px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(1.15);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 7, 19, 0.55) 0%, rgba(10, 7, 19, 0.86) 55%, var(--bg) 100%),
    radial-gradient(620px 380px at 20% 30%, rgba(124, 77, 255, 0.35), transparent 70%);
}

.hero-inner {
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: #ddcfff;
  border-radius: 100px;
  border: 1px solid rgba(255, 77, 157, 0.4);
  background: rgba(255, 77, 157, 0.1);
}

.hero h1 {
  margin-bottom: 22px;
  background: linear-gradient(120deg, #ffffff 20%, #d9c7ff 55%, #ffb3d4 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 12px 40px rgba(124, 77, 255, 0.25);
}

.hero-desc {
  max-width: 660px;
  margin: 0 auto 34px;
  font-size: 1.06rem;
  color: var(--text-mid);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 54px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  margin: 0;
  padding: 18px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.stat-num small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-2);
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---------- 7. 特色卡片 ---------- */
.feature-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 77, 255, 0.5);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  font-size: 1.3rem;
  border-radius: 14px;
  color: #fff;
  background: rgba(124, 77, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.45);
}

.feature-title {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.feature-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ---------- 8. 频道 / 产品卡片 ---------- */
.channel-card,
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.channel-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 157, 0.45);
  box-shadow: var(--shadow);
}

.channel-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-card-2);
}

.channel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.channel-card:hover .channel-thumb img { transform: scale(1.06); }

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  border-radius: 100px;
  background: rgba(255, 61, 113, 0.92);
  box-shadow: 0 6px 16px rgba(255, 61, 113, 0.4);
}

.live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.channel-body {
  padding: 20px 22px 24px;
}

.channel-title {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.channel-meta {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: var(--text-dim);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li { margin: 0; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.76rem;
  color: #cbb8ff;
  border-radius: 100px;
  background: rgba(124, 77, 255, 0.16);
  border: 1px solid rgba(124, 77, 255, 0.3);
}

.tag-hot {
  color: #ffc7dd;
  background: rgba(255, 77, 157, 0.16);
  border-color: rgba(255, 77, 157, 0.35);
}

/* 主播卡片 */
.streamer-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.streamer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 224, 200, 0.45);
}

.streamer-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(124, 77, 255, 0.55);
}

.streamer-thumb img { width: 100%; height: 100%; object-fit: cover; }

.streamer-name {
  margin: 0 0 4px;
  font-size: 1rem;
}

.streamer-tag {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* ---------- 9. 新闻卡片 ---------- */
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 77, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

.news-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-card-2);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.news-body {
  padding: 20px 22px 24px;
}

.news-date {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.news-title {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.55;
}

.news-title a { color: #fff; }
.news-title a:hover { color: #c9b4ff; }

.news-excerpt {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---------- 10. CTA 区块 ---------- */
.cta-band {
  padding: 68px 0;
  background: linear-gradient(115deg, rgba(124, 77, 255, 0.28), rgba(255, 77, 157, 0.22));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { margin: 0; color: #ddd4f5; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 11. 内页头部与面包屑 ---------- */
.page-hero {
  position: relative;
  padding: 84px 0 62px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(680px 320px at 50% -20%, rgba(124, 77, 255, 0.34), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.page-hero h1 { margin-bottom: 14px; }

.page-hero-inner { max-width: 780px; margin: 0 auto; }
.page-hero p { margin: 0; color: var(--text-mid); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, 0.28); }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--brand-2); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 12. 关于页 ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 46px;
  align-items: center;
}

.about-media img {
  width: 100%;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--text-mid); }

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-mid);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 224, 200, 0.18);
  box-shadow: inset 0 0 0 1px rgba(34, 224, 200, 0.6);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(40deg);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(124, 77, 255, 0.9), rgba(255, 77, 157, 0.4), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.16);
}

.timeline-year {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: 1px;
}

.timeline-body { margin: 0; color: var(--text-mid); font-size: 0.94rem; }

.value-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.value-card .feature-icon { margin: 0 auto 16px; }

.team-card {
  text-align: center;
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(124, 77, 255, 0.5);
}

.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-name { margin: 0 0 4px; font-size: 1rem; }
.team-role { margin: 0; font-size: 0.84rem; color: var(--text-dim); }

/* ---------- 13. 产品页 ---------- */
.product-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 0;
}

.product-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  font-size: 1.15rem;
  border-radius: 12px;
  color: #fff;
  background: rgba(124, 77, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.45);
}

.product-head h3 { margin: 0; font-size: 1.06rem; }
.product-head p { margin: 2px 0 0; font-size: 0.8rem; color: var(--text-dim); }

.product-card .feature-text { padding: 14px 22px 0; }
.product-card .tag-list { padding: 16px 22px 24px; }

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  -webkit-overflow-scrolling: touch;
}

table.matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.matrix caption {
  padding: 16px 18px;
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-dim);
}

table.matrix th,
table.matrix td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table.matrix thead th {
  font-size: 0.86rem;
  font-weight: 600;
  color: #d8cfff;
  background: rgba(124, 77, 255, 0.13);
  white-space: nowrap;
}

table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix tbody tr:hover { background: rgba(255, 255, 255, 0.035); }
table.matrix td { color: var(--text-mid); }

/* ---------- 14. 新闻列表页 ---------- */
.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.035);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter-group li { margin: 0; }

.filter-btn {
  padding: 7px 18px;
  font-size: 0.86rem;
  color: var(--text-mid);
  border: 1px solid transparent;
  border-radius: 100px;
  background: transparent;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.filter-btn.is-active {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 8px 20px rgba(124, 77, 255, 0.32);
}

.news-toolbar .result-count {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list > li { margin: 0; }

.news-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-item:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 77, 255, 0.45);
  box-shadow: var(--shadow-soft);
}

.news-item-media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background: var(--bg-card-2);
}

.news-item-media img { width: 100%; height: 100%; object-fit: cover; }

.news-item-body { display: flex; flex-direction: column; justify-content: center; }

.news-item-body h2,
.news-item-body h3 {
  margin: 6px 0 10px;
  font-size: 1.16rem;
  line-height: 1.55;
}

.news-item-body h2 a,
.news-item-body h3 a { color: #fff; }
.news-item-body h2 a:hover,
.news-item-body h3 a:hover { color: #cbb4ff; }

.news-item-body p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.news-item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.pagination li { margin: 0; }

.pagination a,
.pagination span {
  display: inline-block;
  min-width: 40px;
  padding: 8px 14px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-mid);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.pagination a:hover { color: #fff; border-color: rgba(124, 77, 255, 0.55); }

.pagination .is-current {
  color: #fff;
  border-color: transparent;
  background: var(--grad-brand);
}

/* ---------- 15. 文章详情页 ---------- */
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.article-main { min-width: 0; }

.article-header { margin-bottom: 26px; }

.article-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-meta li { margin: 0; }

.article-cover {
  margin: 26px 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
}

.article-cover img { width: 100%; }

.article-cover figcaption {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}

.article-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.95;
}

.article-body h2 {
  margin: 40px 0 14px;
  padding-left: 14px;
  font-size: 1.28rem;
  color: #fff;
  border-left: 4px solid var(--brand);
}

.article-body h3 {
  margin: 26px 0 10px;
  font-size: 1.08rem;
  color: #f0ecff;
}

.article-body p { margin: 0 0 18px; }
.article-body strong { color: #fff; }
.article-body ul,
.article-body ol { padding-left: 1.4em; }
.article-body li { margin-bottom: 8px; }

.article-body a { border-bottom: 1px dashed rgba(183, 157, 255, 0.5); }

.quote {
  margin: 26px 0;
  padding: 20px 24px;
  font-size: 0.96rem;
  color: #e2d9ff;
  border-left: 3px solid var(--brand-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 77, 157, 0.08);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.article-tags li { margin: 0; }

.article-footer {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.article-footer p { margin: 0; }

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.widget {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.widget-title {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: #fff;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.article-toc {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.article-toc li { margin-bottom: 8px; }
.article-toc a { color: var(--text-mid); }
.article-toc a:hover { color: var(--brand-2); }

.related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.related-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.related-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.related-list a { color: var(--text-mid); }
.related-list a:hover { color: #fff; }

/* ---------- 16. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.contact-card {
  padding: 26px 22px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 224, 200, 0.45);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  font-size: 1.2rem;
  border-radius: 14px;
  background: rgba(34, 224, 200, 0.14);
  box-shadow: inset 0 0 0 1px rgba(34, 224, 200, 0.4);
}

.contact-card h3 { margin-bottom: 6px; font-size: 1rem; }
.contact-card p { margin: 0; font-size: 0.88rem; color: var(--text-dim); word-break: break-all; }

.contact-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}

.form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg-card);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.form-group label .req { color: var(--brand-2); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-group textarea { min-height: 132px; resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #7d7694; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(124, 77, 255, 0.75);
  background: rgba(124, 77, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.16);
}

.form-group select option { background: #1a1130; color: #ece8f7; }

.form-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-s);
  border: 1px solid rgba(34, 224, 200, 0.45);
  background: rgba(34, 224, 200, 0.12);
  color: #b9fff4;
}

.form-msg.is-visible { display: block; }
.form-msg.is-error {
  border-color: rgba(255, 90, 120, 0.5);
  background: rgba(255, 90, 120, 0.12);
  color: #ffc2cf;
}

.map-placeholder {
  position: relative;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-placeholder img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: 0.75; }

.map-placeholder figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-size: 0.84rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(6, 3, 16, 0.9));
}

.faq { margin: 0; padding: 0; list-style: none; }

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 16px 48px 16px 20px;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--brand-2);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-answer {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ---------- 17. 广告位 ---------- */
.ad-slot {
  display: grid;
  place-items: center;
  margin: 32px auto;
  max-width: var(--container);
  padding: 0 20px;
}

.ad-slot-inner {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 90px;
  padding: 14px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #6c6486;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.ad-slot-inner[data-filled="true"] {
  border: 0;
  background: transparent;
  min-height: 0;
  padding: 0;
}

/* ---------- 18. 页脚 ---------- */
.site-footer {
  margin-top: 0;
  padding: 62px 0 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 44px;
}

.footer-brand p {
  margin: 16px 0 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 340px;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: #fff;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.footer-list li { margin-bottom: 10px; }
.footer-list a { color: var(--text-dim); }
.footer-list a:hover { color: #fff; }

.footer-contact p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-contact strong { color: #fff; font-weight: 600; }

.social-row {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-row li { margin: 0; }

.social-row span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 0.82rem;
  color: var(--text-mid);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  transition: all 0.25s var(--ease);
}

.social-row span:hover {
  color: #fff;
  border-color: rgba(124, 77, 255, 0.55);
  background: rgba(124, 77, 255, 0.18);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 26px;
  font-size: 0.82rem;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
}

.footer-bottom p { margin: 0; }

/* ---------- 19. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(124, 77, 255, 0.82);
  box-shadow: 0 12px 26px rgba(10, 5, 26, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), background-color 0.25s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { background: var(--brand-2); }

/* ---------- 20. 滚动显现动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .live-badge::before { animation: none; }
}

/* ---------- 21. 响应式：1024px ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: rgba(12, 8, 22, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
  }

  .nav-actions .btn { width: 100%; }

  .nav-toggle { display: block; }

  .hero { padding: 78px 0 72px; }
  .section { padding: 66px 0; }

  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-intro { grid-template-columns: 1fr; gap: 30px; }
  .contact-split { grid-template-columns: 1fr; gap: 30px; }

  .article { grid-template-columns: 1fr; gap: 32px; }
  .article-aside { position: static; }

  .news-item { grid-template-columns: 240px 1fr; gap: 18px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

/* ---------- 22. 响应式：768px ---------- */
@media (max-width: 768px) {
  body { font-size: 15px; }

  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { flex: 1 1 auto; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .news-item { grid-template-columns: 1fr; }
  .news-item-media { aspect-ratio: 16 / 9; }

  .news-toolbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius);
  }

  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }

  .article-meta { gap: 10px 16px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }

  .page-hero { padding: 64px 0 46px; }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 30px; }

  .to-top { right: 16px; bottom: 18px; width: 42px; height: 42px; }
}

/* ---------- 23. 响应式：480px ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .logo-text { font-size: 1.05rem; }
  .logo-mark { width: 36px; height: 36px; }

  .hero { padding: 60px 0 56px; }
  .hero-stats { gap: 12px; }
  .hero-stats li { padding: 14px 8px; }
  .stat-num { font-size: 1.24rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .article-body { font-size: 0.96rem; }
  .quote { padding: 16px 18px; }
}

/* ---------- 24. 打印样式 ---------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .to-top, .ad-slot, .nav-actions { display: none !important; }
  .article { grid-template-columns: 1fr; }
  a { color: #000; text-decoration: underline; }
}


/* ---------- 15. 广告位（lidabao442） ---------- */
.ad-slot {
  display: block;
  width: 100%;
}

.ad-slot-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-align: center;
  overflow: hidden;
}

.ad-slot-top,
.ad-slot-inline,
.ad-slot-footer {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.ad-slot-top { margin-top: 34px; }
.ad-slot-inline { margin-top: 48px; margin-bottom: 48px; }
.ad-slot-footer { margin-top: 8px; margin-bottom: 44px; }
.ad-slot-side { margin-top: 22px; }
.ad-slot-side .ad-slot-inner { min-height: 260px; }

/* ---------- 16. 文章页 ---------- */
.breadcrumb-bar {
  padding-top: 26px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
  padding: 22px 0 10px;
}

.article {
  min-width: 0;
  padding: 34px clamp(18px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-soft);
}

.article-cat {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.article-header h1 {
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.article-meta li {
  margin: 0;
}

.article-cover,
.article-figure {
  margin: 0 0 26px;
}

.article-figure {
  margin: 28px 0;
}

.article-cover img,
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--bg-card-2);
}

.article-cover figcaption,
.article-figure figcaption {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 0.82rem;
  text-align: center;
}

.article-body {
  color: var(--text-mid);
  font-size: 1.02rem;
}

.article-body h2 {
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
  color: var(--text);
  font-size: clamp(1.22rem, 2.2vw, 1.6rem);
}

.article-body h3 {
  margin: 26px 0 10px;
  color: var(--text);
  font-size: 1.12rem;
}

.article-body p {
  margin-bottom: 1.1em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25em;
}

.article-body li {
  margin-bottom: 0.55em;
}

.article-body strong {
  color: #fff;
}

.article-body blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(34, 224, 200, 0.07);
  color: var(--text);
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body .table-wrap {
  margin: 24px 0;
}

.article-footer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-share {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.article-aside .widget {
  margin: 0;
}

.toc {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 7px 10px;
  border-left: 2px solid var(--line);
  border-radius: 0 6px 6px 0;
  color: var(--text-mid);
}

.toc a:hover,
.toc a:focus-visible {
  border-left-color: var(--brand);
  background: rgba(124, 77, 255, 0.12);
  color: #fff;
}

.toc-sub a {
  padding-left: 22px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.related-section {
  padding: 56px 0 12px;
}

.section-more {
  margin: 36px 0 0;
  text-align: center;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 9px;
}

/* ---------- 17. 文章页响应式 ---------- */
@media (max-width: 1080px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .article {
    padding: 22px 16px;
  }

  .ad-slot-top,
  .ad-slot-inline,
  .ad-slot-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ad-slot-inner {
    min-height: 80px;
  }

  .article-meta {
    font-size: 0.82rem;
    gap: 4px 14px;
  }

  .article-body {
    font-size: 1rem;
  }
}
