@charset "UTF-8";
/* ==========================================================================
   168幸运体彩网奖号结果 ziyaodata.cn —— 全站样式表
   视觉风格：现代渐变 · 紫粉蓝 · 大圆角 · 潮流
   主色 #6D28D9 / 辅色 #A855F7 / 强调 #EC4899 / 背景 #FAF5FF
   --------------------------------------------------------------------------
   目录：
   01. Reset 重置
   02. 设计变量
   03. 基础排版
   04. 布局容器与通用间距
   05. 顶部信息条
   06. Header / 导航
   07. 按钮体系
   08. Hero 首屏
   09. 公告跑马灯
   10. 号码球
   11. 卡片 / 网格
   12. 特色模块（开奖结果 / 玩法 / 优势 / 口碑）
   13. 表格与分页
   14. 排行榜
   15. 标签
   16. 面包屑
   17. 时间轴
   18. FAQ 折叠面板
   19. 表单
   20. 侧边栏 / 小工具
   21. 纯 CSS 图表
   22. 文章详情样式
   23. 评论区
   24. 页面头图 / 栏目头
   25. 页脚
   26. 浮动层（回到顶部 / 客服）
   27. 滚动入场动画
   28. 响应式 1200 / 992 / 768 / 480
   ========================================================================== */

/* ==========================================================================
   01. Reset 重置
   ========================================================================== */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th {
  text-align: left;
}

fieldset {
  border: 0;
}

address {
  font-style: normal;
}

::selection {
  background: rgba(109, 40, 217, 0.18);
  color: #3B0764;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #A855F7 0%, #6D28D9 100%);
  border-radius: 999px;
  border: 2px solid var(--bg-alt);
}

/* ==========================================================================
   02. 设计变量
   ========================================================================== */
:root {
  /* 品牌色 */
  --primary: #6D28D9;
  --primary-deep: #4C1D95;
  --primary-soft: #EDE9FE;
  --secondary: #A855F7;
  --secondary-soft: #F3E8FF;
  --accent: #EC4899;
  --accent-soft: #FCE7F3;
  --blue: #3B82F6;
  --blue-soft: #DBEAFE;
  --cyan: #22D3EE;

  /* 渐变 */
  --grad-main: linear-gradient(135deg, #6D28D9 0%, #A855F7 52%, #EC4899 100%);
  --grad-main-rev: linear-gradient(135deg, #EC4899 0%, #A855F7 48%, #6D28D9 100%);
  --grad-soft: linear-gradient(135deg, #F5F3FF 0%, #FAF5FF 45%, #FDF2F8 100%);
  --grad-pink: linear-gradient(135deg, #EC4899 0%, #A855F7 100%);
  --grad-blue: linear-gradient(135deg, #6366F1 0%, #22D3EE 100%);
  --grad-glass: linear-gradient(150deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 245, 255, 0.7) 100%);

  /* 背景与面 */
  --bg: #FAF5FF;
  --bg-alt: #F5F3FF;
  --surface: #FFFFFF;
  --surface-2: #FDFBFF;
  --surface-glass: rgba(255, 255, 255, 0.72);

  /* 文字 */
  --text: #2E1065;
  --text-strong: #1F0A45;
  --text-sub: #6B5B8C;
  --text-muted: #9485AE;
  --text-on-dark: #F8F5FF;

  /* 边框与分割 */
  --border: #EDE4FA;
  --border-strong: #DDD0F3;
  --divider: linear-gradient(90deg, rgba(109, 40, 217, 0) 0%, rgba(168, 85, 247, 0.35) 50%, rgba(236, 72, 153, 0) 100%);

  /* 圆角（本站特征：大圆角） */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-2xl: 48px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-xs: 0 2px 8px rgba(109, 40, 217, 0.06);
  --shadow-sm: 0 6px 18px rgba(109, 40, 217, 0.08);
  --shadow-md: 0 14px 34px rgba(109, 40, 217, 0.12);
  --shadow-lg: 0 24px 60px rgba(109, 40, 217, 0.16);
  --shadow-glow: 0 18px 48px rgba(168, 85, 247, 0.32);
  --shadow-pink: 0 16px 40px rgba(236, 72, 153, 0.24);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.85);

  /* 尺寸 */
  --container: 1200px;
  --container-wide: 1320px;
  --header-h: 76px;
  --radius-img: 24px;

  /* 动效 */
  --t-fast: 0.18s ease;
  --t-base: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 字体（无衬线几何气质） */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   03. 基础排版
   ========================================================================== */
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1180px 620px at 8% -6%, rgba(168, 85, 247, 0.16) 0%, rgba(250, 245, 255, 0) 62%),
    radial-gradient(980px 560px at 96% 4%, rgba(236, 72, 153, 0.13) 0%, rgba(250, 245, 255, 0) 60%),
    radial-gradient(760px 520px at 50% 108%, rgba(59, 130, 246, 0.1) 0%, rgba(250, 245, 255, 0) 62%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.35rem;
}

h2 {
  font-size: 1.72rem;
}

h3 {
  font-size: 1.24rem;
}

h4 {
  font-size: 1.06rem;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
  color: var(--text-strong);
}

small {
  font-size: 0.82rem;
}

em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

time {
  font-variant-numeric: tabular-nums;
}

abbr[title] {
  text-decoration: none;
  border-bottom: 1px dashed var(--border-strong);
  cursor: help;
}

/* 渐变文字 */
.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 通用装饰分割线 */
.deco-line {
  height: 3px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--divider);
  margin: 34px 0;
}

/* 读屏可见、视觉隐藏 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   04. 布局容器与通用间距
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: var(--container-wide);
}

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

.section-tight {
  padding: 42px 0;
}

.section-flush {
  padding-bottom: 0;
}

.section-alt {
  background: var(--grad-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  position: relative;
  font-size: 1.72rem;
  padding-left: 18px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 7px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
}

.section-head-center .section-title {
  padding-left: 0;
}

.section-head-center .section-title::before {
  display: none;
}

.section-sub {
  margin-top: 8px;
  color: var(--text-sub);
  font-size: 0.95rem;
  max-width: 760px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--primary-soft);
  transition: var(--t-base);
  white-space: nowrap;
}

.section-link:hover {
  background: var(--grad-main);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateX(3px);
}

/* 网格系统 */
.grid {
  display: grid;
  gap: 22px;
}

.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));
}

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

.grid-gap-sm {
  gap: 16px;
}

.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 34px;
  align-items: start;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.text-center { text-align: center; }

/* ==========================================================================
   05. 顶部信息条
   ========================================================================== */
.topbar {
  background: var(--grad-main);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.84rem;
  line-height: 40px;
  position: relative;
  z-index: 60;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.92;
}

.topbar-item b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  transition: var(--t-fast);
}

.topbar-link:hover {
  background: rgba(255, 255, 255, 0.3);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FDE68A;
  box-shadow: 0 0 0 0 rgba(253, 230, 138, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(253, 230, 138, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(253, 230, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 230, 138, 0); }
}

/* ==========================================================================
   06. Header / 导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base);
}

.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--grad-main);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-glow);
  transition: transform var(--t-base);
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
}

.logo-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-slogan {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}

.main-nav {
  flex: 1 1 auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  position: relative;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--t-base);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--grad-pink);
  transform: translateX(-50%);
  transition: width var(--t-base);
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.main-nav a:hover::after {
  width: 22px;
}

.main-nav a.is-active {
  color: #fff;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
}

.main-nav a.is-active::after {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: none;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box > svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  stroke: var(--text-muted);
  fill: none;
  pointer-events: none;
}

.search-box input {
  width: 200px;
  height: 42px;
  padding: 0 16px 0 40px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  font-size: 0.9rem;
  outline: none;
  transition: var(--t-base);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box input:focus {
  width: 244px;
  border-color: var(--secondary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
}

.search-tip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  color: var(--text-sub);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--t-base);
  z-index: 20;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-soft);
  position: relative;
  flex: none;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: var(--t-base);
}

.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }

.nav-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   07. 按钮体系
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--t-base);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(168, 85, 247, 0.42);
}

.btn-accent {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: var(--shadow-pink);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(236, 72, 153, 0.36);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: #fff;
  color: var(--primary);
}

.btn-lg {
  height: 54px;
  padding: 0 34px;
  font-size: 1.02rem;
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-group-center {
  justify-content: center;
}

/* ==========================================================================
   08. Hero 首屏
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 66px;
  background: var(--grad-main);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(620px 380px at 82% 12%, rgba(236, 72, 153, 0.55) 0%, rgba(236, 72, 153, 0) 70%),
    radial-gradient(520px 420px at 12% 88%, rgba(34, 211, 238, 0.36) 0%, rgba(34, 211, 238, 0) 68%),
    radial-gradient(700px 400px at 50% -20%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 90px;
  background: linear-gradient(180deg, rgba(250, 245, 255, 0) 0%, rgba(250, 245, 255, 0.96) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 46px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.84rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: 2.7rem;
  line-height: 1.22;
  color: #fff;
  text-shadow: 0 8px 26px rgba(76, 29, 149, 0.35);
}

.hero-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-item {
  padding: 16px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: var(--t-base);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-4px);
}

.stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-num i {
  font-style: normal;
  font-size: 1rem;
  margin-left: 2px;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-media {
  position: relative;
}

.hero-media-main {
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 34px 70px rgba(76, 29, 149, 0.42);
  transform: rotate(1.2deg);
  transition: transform var(--t-slow);
}

.hero-media-main:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-media-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-media-sub {
  position: absolute;
  right: -16px;
  bottom: -30px;
  width: 46%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-lg);
}

.hero-media-sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  left: -22px;
  top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  font-weight: 600;
  animation: floatY 4.6s ease-in-out infinite;
}

.hero-float-card .fc-ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--grad-pink);
  display: grid;
  place-items: center;
}

.hero-float-card svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==========================================================================
   09. 公告跑马灯
   ========================================================================== */
.ticker {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: -34px;
  z-index: 5;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.ticker-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 22px;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.ticker-label svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
}

.ticker-viewport {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  height: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 46px;
  height: 56px;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 34s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.ticker-item .tk-no {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--primary);
}

.ticker-item .tk-tag {
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   10. 号码球
   ========================================================================== */
.ball-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.ball {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-main);
  box-shadow: 0 6px 14px rgba(109, 40, 217, 0.3), var(--shadow-inset);
  position: relative;
  transition: var(--t-base);
  flex: none;
}

.ball::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 14%;
  width: 30%;
  height: 26%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  filter: blur(1px);
}

.ball:hover {
  transform: translateY(-4px) scale(1.06);
}

.ball-sm {
  width: 34px;
  height: 34px;
  font-size: 0.86rem;
}

.ball-lg {
  width: 54px;
  height: 54px;
  font-size: 1.28rem;
}

.ball-pink {
  background: var(--grad-pink);
  box-shadow: 0 6px 14px rgba(236, 72, 153, 0.32), var(--shadow-inset);
}

.ball-blue {
  background: var(--grad-blue);
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.3), var(--shadow-inset);
}

.ball-soft {
  background: linear-gradient(135deg, #EDE9FE 0%, #FCE7F3 100%);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(109, 40, 217, 0.14);
}

.ball-plus {
  width: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
  background: none;
  box-shadow: none;
  font-weight: 700;
}

.ball-plus::after {
  display: none;
}

/* 号码球动态渲染后的入场动画 */
.ball.is-pop {
  animation: ballPop 0.42s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

@keyframes ballPop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   11. 卡片 / 网格
   ========================================================================== */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.card-pad {
  padding: 26px;
}

.card-body {
  padding: 22px 24px 26px;
}

.card-title {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.72;
}

.card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-img);
  margin: 12px;
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.card-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.card-grad {
  background: var(--grad-main);
  color: #fff;
  border: 0;
}

.card-grad .card-title,
.card-grad .card-text {
  color: #fff;
}

.card-grad .card-text {
  color: rgba(255, 255, 255, 0.88);
}

/* 渐变描边高亮卡 */
.card-glow {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-main) border-box;
}

/* 图标卡片 */
.icon-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  text-align: center;
  transition: var(--t-base);
  overflow: hidden;
}

.icon-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.icon-card:hover::before {
  transform: scaleX(1);
}

.icon-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  transition: var(--t-base);
}

.card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-card:hover .card-icon {
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  transform: rotate(-6deg);
}

.icon-card:hover .card-icon svg {
  stroke: #fff;
}

.icon-card h3 {
  font-size: 1.06rem;
  margin-bottom: 9px;
}

.icon-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 横向图标条目 */
.icon-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--t-base);
}

.icon-row:hover {
  transform: translateX(5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.icon-row .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  margin: 0;
  flex: none;
}

.icon-row .card-icon svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   12. 特色模块
   ========================================================================== */

/* 12.1 最新开奖结果 */
.draw-list {
  display: grid;
  gap: 14px;
}

.draw-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--t-base);
}

.draw-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.draw-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.draw-issue {
  font-family: var(--font-num);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.draw-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.draw-nums {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.draw-extra {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--text-sub);
}

.draw-extra b {
  font-family: var(--font-num);
  color: var(--accent);
  font-size: 1rem;
}

/* 12.2 玩法卡片 */
.play-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 26px 24px;
  transition: var(--t-base);
  overflow: hidden;
}

.play-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--grad-soft);
  transition: var(--t-base);
}

.play-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.play-card:hover::after {
  transform: scale(1.4);
  background: var(--grad-pink);
  opacity: 0.14;
}

.play-card > * {
  position: relative;
  z-index: 1;
}

.play-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}

.play-head .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  margin: 0;
}

.play-head .card-icon svg {
  width: 23px;
  height: 23px;
}

.play-head h3 {
  font-size: 1.04rem;
}

.play-desc {
  font-size: 0.87rem;
  color: var(--text-sub);
  min-height: 66px;
}

.play-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
}

.play-foot span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.play-foot a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.play-foot a:hover {
  color: var(--accent);
}

/* 12.3 大图竞猜卡 */
.game-card {
  position: relative;
  display: block;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--t-base);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.game-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.game-card:hover img {
  transform: scale(1.07);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(46, 16, 101, 0.92) 0%, rgba(109, 40, 217, 0.22) 52%, rgba(109, 40, 217, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}

.game-card-overlay h3 {
  color: #fff;
  font-size: 1.16rem;
  margin-bottom: 7px;
}

.game-card-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 14px;
}

.game-card-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.game-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FDE68A;
}

/* 12.4 用户口碑 */
.quote-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--t-base);
  display: flex;
  flex-direction: column;
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--secondary);
  opacity: 0.28;
}

.quote-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin: 6px 0 20px;
  flex: 1 1 auto;
}

.quote-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: var(--grad-main);
  flex: none;
  box-shadow: var(--shadow-xs);
}

.avatar-lg {
  width: 60px;
  height: 60px;
  font-size: 1.24rem;
}

.avatar-pink { background: var(--grad-pink); }
.avatar-blue { background: var(--grad-blue); }

.quote-user strong {
  display: block;
  font-size: 0.92rem;
}

.quote-user span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  width: 15px;
  height: 15px;
  fill: #FBBF24;
  stroke: none;
}

/* 12.5 资讯卡片 */
.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--t-base);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.news-thumb {
  position: relative;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.news-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.news-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.news-body h3 {
  font-size: 1.04rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.news-body h3 a:hover {
  color: var(--primary);
}

.news-excerpt {
  font-size: 0.87rem;
  color: var(--text-sub);
  line-height: 1.72;
  flex: 1 1 auto;
  margin-bottom: 14px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 13px;
  border-top: 1px dashed var(--border-strong);
  flex-wrap: wrap;
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
}

/* 头条大图文章 */
.feature-article {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.feature-article .news-thumb img {
  aspect-ratio: 16 / 11;
  height: 100%;
}

.feature-body {
  padding: 36px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-body h2 {
  font-size: 1.6rem;
  line-height: 1.42;
  margin: 14px 0;
}

.feature-body h2 a:hover {
  color: var(--primary);
}

.feature-body .news-excerpt {
  font-size: 0.94rem;
}

/* 12.6 数据速览小卡片 */
.mini-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--t-base);
}

.mini-stat:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.mini-stat .ms-ico {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  flex: none;
}

.mini-stat .ms-ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  fill: none;
}

.mini-stat b {
  display: block;
  font-family: var(--font-num);
  font-size: 1.32rem;
  color: var(--text-strong);
  line-height: 1.2;
}

.mini-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 12.7 CTA 区块 */
.cta-block {
  position: relative;
  padding: 56px 48px;
  border-radius: var(--r-2xl);
  background: var(--grad-main);
  color: #fff;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(420px 260px at 88% 6%, rgba(236, 72, 153, 0.5) 0%, rgba(236, 72, 153, 0) 70%),
    radial-gradient(400px 260px at 8% 96%, rgba(34, 211, 238, 0.32) 0%, rgba(34, 211, 238, 0) 70%);
}

.cta-block > * {
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  color: #fff;
  font-size: 1.92rem;
  margin-bottom: 14px;
}

.cta-block p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 660px;
  margin: 0 auto 26px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* 12.8 参与流程步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding: 30px 22px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--t-base);
  counter-increment: step;
}

.step-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  right: 16px;
  top: 8px;
  font-family: var(--font-num);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--secondary-soft);
  line-height: 1;
}

.step-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-num);
  font-size: 1.32rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
  position: relative;
  z-index: 1;
}

.step-item h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step-item p {
  font-size: 0.86rem;
  color: var(--text-sub);
  position: relative;
  z-index: 1;
}

/* 12.9 荣誉徽章 */
.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--t-base);
}

.badge-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.badge-item svg {
  width: 42px;
  height: 42px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.6;
}

.badge-item strong {
  font-size: 0.92rem;
}

.badge-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 12.10 价值观列表 */
.value-list {
  display: grid;
  gap: 18px;
}

.value-item {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: var(--t-base);
}

.value-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--grad-main);
}

.value-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.value-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.87rem;
  color: var(--text-sub);
}

.value-item .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  margin: 0;
  flex: none;
}

.value-item .card-icon svg {
  width: 23px;
  height: 23px;
}

/* 12.11 数据指标 */
.metric {
  text-align: center;
  padding: 26px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--t-base);
}

.metric:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.metric-num {
  font-family: var(--font-num);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-num i {
  font-style: normal;
  font-size: 1.1rem;
}

.metric-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* ==========================================================================
   13. 表格与分页
   ========================================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  -webkit-overflow-scrolling: touch;
}

table.data-table {
  min-width: 720px;
  font-size: 0.9rem;
}

table.data-table thead th {
  padding: 16px 20px;
  background: var(--grad-soft);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

table.data-table tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sub);
  vertical-align: middle;
}

table.data-table tbody tr:last-child td {
  border-bottom: 0;
}

table.data-table tbody tr {
  transition: background var(--t-fast);
}

table.data-table tbody tr:hover {
  background: var(--primary-soft);
}

table.data-table tbody tr:nth-child(even) {
  background: rgba(245, 243, 255, 0.5);
}

table.data-table tbody tr:nth-child(even):hover {
  background: var(--primary-soft);
}

table.data-table .col-strong {
  color: var(--text-strong);
  font-weight: 700;
}

table.data-table .col-num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  font-weight: 700;
}

table.data-table caption {
  padding: 16px 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}

/* 状态徽标 */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-live {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-done {
  background: var(--primary-soft);
  color: var(--primary);
}

.status-soon {
  background: var(--blue-soft);
  color: var(--blue);
}

.status-wait {
  background: #F1F5F9;
  color: #64748B;
}

/* 进度条 */
.progress {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--primary-soft);
  overflow: hidden;
  min-width: 90px;
}

.progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--grad-main);
  transition: width 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.progress-bar.pink { background: var(--grad-pink); }
.progress-bar.blue { background: var(--grad-blue); }

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--t-base);
}

.page-link:hover {
  border-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.page-link.is-active {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
  cursor: default;
}

.page-link.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-link.is-disabled:hover {
  transform: none;
  border-color: var(--border);
  color: var(--text-sub);
  box-shadow: none;
}

.page-dots {
  color: var(--text-muted);
  padding: 0 4px;
}

.page-info {
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==========================================================================
   14. 排行榜
   ========================================================================== */
.rank-idx {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 0.85rem;
}

.rank-idx.top1 {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  color: #fff;
}

.rank-idx.top2 {
  background: linear-gradient(135deg, #94A3B8 0%, #CBD5E1 100%);
  color: #fff;
}

.rank-idx.top3 {
  background: linear-gradient(135deg, #B45309 0%, #F59E0B 100%);
  color: #fff;
}

.rank-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-user .avatar {
  width: 34px;
  height: 34px;
  font-size: 0.84rem;
}

.rank-user b {
  font-size: 0.9rem;
  color: var(--text-strong);
}

.rank-user span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.rank-heat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-heat .progress {
  flex: 1 1 auto;
}

.rank-heat em {
  font-family: var(--font-num);
  font-size: 0.86rem;
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
}

/* ==========================================================================
   15. 标签
   ========================================================================== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-sub);
  transition: var(--t-base);
}

.tag:hover {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.tag-lg {
  font-size: 0.92rem;
  padding: 9px 20px;
}

.tag-sm {
  font-size: 0.78rem;
  padding: 5px 12px;
}

.tag-solid {
  background: var(--primary-soft);
  border-color: transparent;
  color: var(--primary);
  font-weight: 600;
}

.tag-solid:hover {
  background: var(--grad-main);
  color: #fff;
}

.tag-count {
  font-family: var(--font-num);
  font-size: 0.74rem;
  opacity: 0.72;
}

/* 分类切换（前台交互） */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  margin-bottom: 26px;
}

.filter-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sub);
  border: 1px solid transparent;
  background: var(--surface-2);
  transition: var(--t-base);
}

.filter-item:hover {
  color: var(--primary);
  border-color: var(--border-strong);
}

.filter-item.is-active {
  background: var(--grad-main);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-select {
  height: 40px;
  padding: 0 34px 0 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  font-size: 0.88rem;
  color: var(--text-sub);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: var(--t-base);
}

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg) translateY(-2px);
  pointer-events: none;
}

.filter-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
}

.filter-result {
  margin-left: auto;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.filter-result b {
  font-family: var(--font-num);
  color: var(--primary);
  font-size: 1rem;
}

.filter-empty {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  border: 1px dashed var(--border-strong);
  font-size: 0.88rem;
  color: var(--text-sub);
  text-align: center;
}

/* ==========================================================================
   16. 面包屑
   ========================================================================== */
.breadcrumb {
  padding: 16px 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
}

.breadcrumb a {
  color: var(--text-sub);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  transition: var(--t-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.breadcrumb [aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   17. 时间轴
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(109, 40, 217, 0.5) 0%, rgba(168, 85, 247, 0.5) 50%, rgba(236, 72, 153, 0.5) 100%);
}

.timeline-item {
  position: relative;
  padding: 0 0 30px 12px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--secondary);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
  transition: var(--t-base);
}

.timeline-item:hover::before {
  border-color: var(--accent);
  box-shadow: 0 0 0 7px rgba(236, 72, 153, 0.16);
}

.timeline-date {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-num);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timeline-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* 横向时间轴（关于我们页顶部） */
.timeline-h {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.timeline-h::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 17px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
  opacity: 0.32;
}

.timeline-h .tl-node {
  position: relative;
  text-align: center;
}

.timeline-h .tl-node span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--secondary);
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.timeline-h .tl-node strong {
  display: block;
  font-size: 0.86rem;
}

.timeline-h .tl-node em {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   18. FAQ 折叠面板
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: var(--t-base);
}

.faq-item.is-open {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  transition: var(--t-base);
}

.faq-q:hover {
  color: var(--primary);
}

.faq-q .fq-idx {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-num);
  font-size: 0.82rem;
  font-weight: 800;
  flex: none;
}

.faq-q .fq-arrow {
  margin-left: auto;
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform var(--t-base);
}

.faq-item.is-open .faq-q {
  color: var(--primary);
}

.faq-item.is-open .fq-arrow {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-base);
  padding: 0 24px;
}

.faq-item.is-open .faq-a {
  max-height: 460px;
  padding: 0 24px 22px;
}

.faq-a p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
  padding-left: 44px;
}

/* ==========================================================================
   19. 表单
   ========================================================================== */
.form {
  display: grid;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-strong);
}

.form-label .req {
  color: var(--accent);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  font-size: 0.92rem;
  outline: none;
  transition: var(--t-base);
}

textarea.form-control {
  height: auto;
  min-height: 128px;
  padding: 14px 18px;
  resize: vertical;
  line-height: 1.7;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--secondary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
}

.form-control.is-error {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-msg {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-msg.is-show {
  display: flex;
}

.form-msg.is-ok {
  background: var(--primary-soft);
  color: var(--primary);
}

.form-msg.is-err {
  background: var(--accent-soft);
  color: var(--accent);
}

.form-msg svg {
  width: 17px;
  height: 17px;
  flex: none;
  stroke: currentColor;
  fill: none;
}

/* 订阅表单（横向） */
.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.subscribe-form .form-control {
  flex: 1 1 240px;
  border-radius: var(--r-pill);
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--text-sub);
}

.checkbox-line input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--primary);
  flex: none;
}

.checkbox-line a {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   20. 侧边栏 / 小工具
   ========================================================================== */
.sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 96px;
}

.widget {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: var(--t-base);
}

.widget:hover {
  box-shadow: var(--shadow-sm);
}

.widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--grad-soft);
}

.widget-head svg {
  width: 19px;
  height: 19px;
  stroke: var(--primary);
  fill: none;
  flex: none;
}

.widget-title {
  font-size: 1rem;
  font-weight: 800;
}

.widget-head .widget-more {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.widget-head .widget-more:hover {
  color: var(--primary);
}

.widget-body {
  padding: 20px 22px;
}

.widget-body-flush {
  padding: 10px 0;
}

/* 侧栏热门文章列表 */
.hot-list {
  display: grid;
  gap: 2px;
}

.hot-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 22px;
  transition: var(--t-fast);
}

.hot-item:hover {
  background: var(--surface-2);
}

.hot-item .hot-idx {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-num);
  font-size: 0.76rem;
  font-weight: 800;
  flex: none;
  margin-top: 3px;
}

.hot-item:nth-child(1) .hot-idx {
  background: var(--grad-pink);
  color: #fff;
}

.hot-item:nth-child(2) .hot-idx {
  background: var(--grad-main);
  color: #fff;
}

.hot-item:nth-child(3) .hot-idx {
  background: var(--grad-blue);
  color: #fff;
}

.hot-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-sub);
  margin: 0;
}

.hot-item:hover p {
  color: var(--primary);
}

.hot-item time {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* 侧栏 CTA */
.side-cta {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--grad-main);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.side-cta::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.side-cta > * {
  position: relative;
  z-index: 1;
}

.side-cta h3 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.side-cta p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
}

/* 目录导航 */
.toc-list {
  display: grid;
  gap: 2px;
}

.toc-list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-xs);
  font-size: 0.87rem;
  color: var(--text-sub);
  border-left: 3px solid transparent;
  transition: var(--t-fast);
}

.toc-list a:hover,
.toc-list a.is-current {
  color: var(--primary);
  background: var(--primary-soft);
  border-left-color: var(--primary);
}

/* 数据分布列表（侧栏 / 正文） */
.dist-list {
  display: grid;
  gap: 14px;
}

.dist-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-sub);
}

.dist-item .dist-val {
  font-family: var(--font-num);
  text-align: right;
  color: var(--primary);
  font-weight: 700;
}

/* 关注引导 */
.follow-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  border: 1px dashed var(--border-strong);
}

.follow-box .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  margin: 0;
  flex: none;
}

.follow-box .card-icon svg {
  width: 22px;
  height: 22px;
}

.follow-box strong {
  display: block;
  font-size: 0.92rem;
}

.follow-box span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   21. 纯 CSS 图表
   ========================================================================== */
.chart-box {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.chart-title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.chart-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* 柱状图 */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 220px;
  padding: 0 4px;
  border-bottom: 2px solid var(--border);
}

.bar-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 100%;
  position: relative;
}

.bar-col .bar-val {
  font-family: var(--font-num);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.bar-col .bar {
  width: 100%;
  max-width: 44px;
  height: 0;
  border-radius: 12px 12px 4px 4px;
  background: var(--grad-main);
  transition: height 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.bar-col .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 55%);
}

.bar-col:nth-child(even) .bar {
  background: var(--grad-pink);
}

.bar-col:nth-child(3n) .bar {
  background: var(--grad-blue);
}

.bar-col:hover .bar {
  filter: saturate(1.25) brightness(1.05);
}

.bar-labels {
  display: flex;
  gap: 14px;
  padding: 10px 4px 0;
}

.bar-labels span {
  flex: 1 1 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 环形图 */
.donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.donut {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  flex: none;
  background: conic-gradient(#6D28D9 0deg 118deg, #A855F7 118deg 216deg, #EC4899 216deg 300deg, #22D3EE 300deg 360deg);
  box-shadow: var(--shadow-sm);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 2px 10px rgba(109, 40, 217, 0.08);
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 2;
}

.donut-center b {
  display: block;
  font-family: var(--font-num);
  font-size: 1.42rem;
  color: var(--text-strong);
  line-height: 1.1;
}

.donut-center span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.legend {
  display: grid;
  gap: 12px;
  min-width: 190px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-sub);
}

.legend-item i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  flex: none;
  background: var(--grad-main);
}

.legend-item i.li-2 { background: var(--secondary); }
.legend-item i.li-3 { background: var(--accent); }
.legend-item i.li-4 { background: var(--cyan); }

.legend-item b {
  margin-left: auto;
  font-family: var(--font-num);
  color: var(--text-strong);
}

/* ==========================================================================
   22. 文章详情样式
   ========================================================================== */
.article-head {
  padding: 8px 0 26px;
}

.article-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-head h1 {
  margin: 16px 0 16px;
  font-size: 2.08rem;
  line-height: 1.42;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
  fill: none;
}

.article-lead {
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  border-left: 5px solid var(--secondary);
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 28px;
}

.article-figure {
  margin: 0 0 30px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 12px 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.article-body {
  font-size: 0.96rem;
  line-height: 1.95;
  color: #3B2A63;
}

.article-body h2 {
  position: relative;
  margin: 40px 0 16px;
  padding-left: 16px;
  font-size: 1.38rem;
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 6px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
}

.article-body h3 {
  margin: 26px 0 12px;
  font-size: 1.1rem;
  color: var(--primary-deep);
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 4px;
  display: grid;
  gap: 9px;
}

.article-body ul li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-main);
}

.article-body ol {
  counter-reset: oli;
}

.article-body ol li {
  position: relative;
  padding-left: 30px;
  counter-increment: oli;
  font-size: 0.94rem;
}

.article-body ol li::before {
  content: counter(oli);
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-num);
  font-size: 0.74rem;
  font-weight: 800;
}

.article-body blockquote {
  position: relative;
  margin: 26px 0;
  padding: 22px 26px 22px 30px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  border-left: 5px solid var(--accent);
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.85;
}

.article-body blockquote p {
  margin: 0;
}

.article-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
}

.article-body figure {
  margin: 26px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-body figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-body figcaption {
  padding: 10px 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
}

/* 文内小结论卡片 */
.callout {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  margin: 28px 0;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1.5px solid transparent;
  background-image:
    linear-gradient(var(--surface), var(--surface)),
    var(--grad-main);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-sm);
}

.callout .co-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-main);
  flex: none;
}

.callout .co-ico svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.callout p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-sub);
}

/* 数据表格（文内） */
.article-body .table-wrap {
  margin: 26px 0;
}

.article-body table.data-table {
  min-width: 560px;
}

/* 文章标签与分享 */
.article-foot {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.article-tags > span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.share-bar > span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--t-base);
}

.share-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
}

.share-btn:hover {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* 上一篇 / 下一篇 */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.post-nav-item {
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--t-base);
}

.post-nav-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.post-nav-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.post-nav-item strong {
  font-size: 0.92rem;
  line-height: 1.6;
}

.post-nav-item.is-next {
  text-align: right;
}

/* 相关阅读（横向） */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ==========================================================================
   23. 评论区
   ========================================================================== */
.comment-list {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.comment-item {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.comment-main {
  flex: 1 1 auto;
  min-width: 0;
}

.comment-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.comment-top strong {
  font-size: 0.9rem;
}

.comment-top time {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.comment-floor {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.comment-text {
  font-size: 0.89rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.comment-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.comment-actions button {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.comment-actions button:hover {
  color: var(--primary);
}

.comment-form {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.comment-reply {
  margin-left: 44px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border-left: 4px solid var(--secondary-soft);
  font-size: 0.86rem;
  color: var(--text-sub);
  margin-top: 12px;
}

/* ==========================================================================
   24. 页面头图 / 栏目头
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 52px 0 46px;
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
  background: var(--grad-main);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(520px 320px at 88% 8%, rgba(236, 72, 153, 0.5) 0%, rgba(236, 72, 153, 0) 70%),
    radial-gradient(460px 320px at 6% 96%, rgba(34, 211, 238, 0.3) 0%, rgba(34, 211, 238, 0) 70%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.3rem;
  margin: 16px 0 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.page-hero-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 26px 60px rgba(76, 29, 149, 0.4);
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-hero .breadcrumb {
  padding: 0 0 4px;
}

.page-hero .breadcrumb a,
.page-hero .breadcrumb li,
.page-hero .breadcrumb li::after,
.page-hero .breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero .breadcrumb a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.page-hero .breadcrumb li:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.6);
}

/* 通用信息面板 */
.panel {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 28px;
}

.panel-title {
  font-size: 1.12rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
}

/* 地图占位 */
.map-placeholder {
  position: relative;
  min-height: 260px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%),
    repeating-linear-gradient(0deg, rgba(109, 40, 217, 0.08) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(109, 40, 217, 0.08) 0 1px, transparent 1px 34px),
    var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.map-placeholder .mp-pin {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  margin: 0 auto 14px;
  animation: floatY 3.6s ease-in-out infinite;
}

.map-placeholder .mp-pin svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
}

.map-placeholder strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.map-placeholder span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   25. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: 66px;
  padding: 60px 0 0;
  background: linear-gradient(180deg, #2E1065 0%, #1F0A45 100%);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--grad-main);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(168, 85, 247, 0) 70%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .logo-name {
  background: linear-gradient(135deg, #F5D0FE 0%, #FBCFE8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand .logo-mark {
  box-shadow: 0 14px 34px rgba(236, 72, 153, 0.35);
}

.footer-slogan {
  margin: 18px 0 20px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
  max-width: 330px;
}

.footer-contact {
  display: grid;
  gap: 9px;
  font-size: 0.86rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  stroke: var(--secondary);
  fill: none;
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--grad-main);
}

.footer-links {
  display: grid;
  gap: 11px;
  font-size: 0.88rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  transition: var(--t-fast);
  width: fit-content;
}

.footer-links a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: var(--t-fast);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-links a:hover::before {
  background: var(--accent);
  width: 8px;
}

/* 站点地图横条 */
.footer-sitemap {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.footer-sitemap-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-sitemap-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
}

.footer-sitemap-title svg {
  width: 17px;
  height: 17px;
  stroke: var(--secondary);
  fill: none;
}

.footer-sitemap a {
  color: rgba(255, 255, 255, 0.66);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  transition: var(--t-fast);
}

.footer-sitemap a:hover {
  background: var(--grad-main);
  color: #fff;
}

/* 友情链接（# 占位） */
.footer-friend {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.83rem;
}

.footer-friend-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-friend strong {
  color: rgba(255, 255, 255, 0.9);
}

.footer-friend a {
  color: rgba(255, 255, 255, 0.58);
}

.footer-friend a:hover {
  color: #fff;
}

/* 免责声明 */
.footer-disclaimer {
  position: relative;
  z-index: 1;
  padding: 22px 0;
  font-size: 0.82rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-disclaimer strong {
  color: #FBCFE8;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* ==========================================================================
   26. 浮动层（回到顶部 / 客服）
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 96px;
  z-index: 80;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--grad-main);
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--t-base);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(168, 85, 247, 0.45);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
}

.float-service {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 80;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--grad-pink);
  box-shadow: var(--shadow-pink);
  transition: var(--t-base);
}

.float-service:hover {
  transform: translateY(-4px);
}

.float-service svg {
  width: 23px;
  height: 23px;
  stroke: #fff;
  fill: none;
}

.float-service .fs-dot {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FDE68A;
  border: 2px solid #fff;
}

.service-panel {
  position: fixed;
  right: 26px;
  bottom: 92px;
  z-index: 81;
  width: 300px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: var(--t-base);
}

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

.service-panel-head {
  padding: 18px 20px;
  background: var(--grad-main);
  color: #fff;
}

.service-panel-head strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}

.service-panel-head span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.service-panel-body {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-sub);
}

.service-panel-body a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: var(--t-fast);
}

.service-panel-body a:hover {
  border-color: var(--secondary);
  color: var(--primary);
}

.service-panel-body svg {
  width: 17px;
  height: 17px;
  stroke: var(--primary);
  fill: none;
  flex: none;
}

/* ==========================================================================
   27. 滚动入场动画
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.66s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.66s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.66s ease, transform 0.66s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ticker-track,
  .hero-float-card,
  .live-dot,
  .map-placeholder .mp-pin {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   28. 响应式
   ========================================================================== */

/* ---- ≤1200px：收窄容器与栅格 ---- */
@media (max-width: 1200px) {
  :root {
    --container: 1080px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

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

  .layout-main {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 26px;
  }

  .timeline-h {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .timeline-h::before {
    display: none;
  }

  .search-box input {
    width: 170px;
  }

  .search-box input:focus {
    width: 200px;
  }

  .footer-top {
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 30px;
  }
}

/* ---- ≤992px：移动导航 + 双列降级 ---- */
@media (max-width: 992px) {
  :root {
    --header-h: 68px;
  }

  body {
    font-size: 14.5px;
  }

  .section {
    padding: 48px 0;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 0;
  }

  .header-tools {
    order: 2;
  }

  .main-nav {
    order: 4;
    flex: 1 1 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
  }

  .main-nav.is-open {
    max-height: 420px;
    padding-bottom: 14px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    padding: 13px 18px;
    border-radius: var(--r-sm);
    background: var(--surface-2);
  }

  .main-nav a::after {
    display: none;
  }

  .search-box input {
    width: 150px;
  }

  .search-box input:focus {
    width: 170px;
  }

  .header-tools .btn {
    display: none;
  }

  .hero {
    padding: 42px 0 56px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-media {
    max-width: 620px;
  }

  .hero-media-sub {
    right: 12px;
    bottom: -22px;
    width: 42%;
  }

  .hero-float-card {
    left: 12px;
  }

  .page-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-hero-media {
    max-width: 560px;
  }

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

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

  .layout-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: static;
  }

  .feature-article {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-body {
    padding: 28px 26px 30px;
  }

  .draw-item {
    grid-template-columns: 116px minmax(0, 1fr);
    row-gap: 14px;
  }

  .draw-extra {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed var(--border-strong);
  }

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

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

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

/* ---- ≤768px：单列为主，表格横向滚动 ---- */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.72rem;
  }

  h2 {
    font-size: 1.36rem;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }

  .section-title {
    font-size: 1.36rem;
  }

  .topbar {
    line-height: 34px;
    font-size: 0.78rem;
  }

  .topbar-right {
    display: none;
  }

  .topbar-left {
    gap: 12px;
    justify-content: space-between;
    width: 100%;
  }

  .logo-slogan {
    display: none;
  }

  .search-box input,
  .search-box input:focus {
    width: 120px;
  }

  .hero {
    padding: 34px 0 46px;
  }

  .hero h1 {
    font-size: 1.72rem;
    margin: 14px 0 12px;
  }

  .hero-desc {
    font-size: 0.94rem;
  }

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

  .stat-num {
    font-size: 1.4rem;
  }

  .hero-media-sub {
    display: none;
  }

  .hero-float-card {
    padding: 9px 14px;
    font-size: 0.78rem;
  }

  .ticker {
    margin-top: -26px;
  }

  .ticker-label {
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .ticker-label span {
    display: none;
  }

  .ticker-viewport,
  .ticker-track {
    height: 50px;
  }

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

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .draw-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px 18px;
  }

  .draw-item:hover {
    transform: none;
  }

  .ball {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .ball-lg {
    width: 44px;
    height: 44px;
    font-size: 1.06rem;
  }

  .cta-block {
    padding: 38px 22px;
    border-radius: var(--r-xl);
  }

  .cta-block h2 {
    font-size: 1.42rem;
  }

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

  .page-hero {
    padding: 34px 0 30px;
    border-radius: 0 0 var(--r-xl) var(--r-xl);
  }

  .page-hero h1 {
    font-size: 1.68rem;
  }

  .page-hero-media {
    display: none;
  }

  .post-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-nav-item.is-next {
    text-align: left;
  }

  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .banner,
  .feature-article {
    border-radius: var(--r-lg);
  }

  .feature-body {
    padding: 24px 20px 26px;
  }

  .feature-body h2 {
    font-size: 1.3rem;
  }

  .article-head h1 {
    font-size: 1.52rem;
  }

  .article-body {
    font-size: 0.94rem;
    line-height: 1.88;
  }

  .article-body h2 {
    font-size: 1.2rem;
    margin: 32px 0 14px;
  }

  .article-body blockquote {
    padding: 18px 18px 18px 22px;
  }

  .comment-reply {
    margin-left: 0;
  }

  .table-wrap {
    border-radius: var(--r-md);
  }

  table.data-table {
    min-width: 640px;
  }

  table.data-table thead th,
  table.data-table tbody td {
    padding: 12px 14px;
    font-size: 0.84rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 30px;
  }

  .site-footer {
    margin-top: 46px;
    padding-top: 44px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top,
  .float-service {
    right: 16px;
    width: 46px;
    height: 46px;
  }

  .back-to-top {
    bottom: 84px;
  }

  .service-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 142px;
  }

  .timeline {
    padding-left: 26px;
  }

  .timeline-item::before {
    left: -25px;
  }

  .filter-bar {
    padding: 14px;
  }

  .filter-result {
    margin-left: 0;
    width: 100%;
  }
}

/* ---- ≤480px：小屏细节 ---- */
@media (max-width: 480px) {
  body {
    font-size: 13.5px;
  }

  .container {
    padding: 0 13px;
  }

  .section {
    padding: 32px 0;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

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

  .logo-name {
    font-size: 1.06rem;
  }

  .header-tools {
    gap: 8px;
  }

  .search-box {
    display: none;
  }

  .hero h1 {
    font-size: 1.48rem;
  }

  .hero-badge {
    font-size: 0.76rem;
    padding: 6px 14px;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .stat-item {
    padding: 12px 10px;
  }

  .stat-num {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .ball {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .ball-lg {
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
  }

  .ball-row {
    gap: 6px;
  }

  .btn {
    height: 42px;
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .btn-lg {
    height: 48px;
    font-size: 0.94rem;
  }

  .card-pad,
  .panel {
    padding: 20px;
  }

  .icon-card {
    padding: 22px 18px;
  }

  .cta-block {
    padding: 30px 16px;
  }

  .page-hero h1 {
    font-size: 1.42rem;
  }

  .article-head h1 {
    font-size: 1.3rem;
  }

  .article-lead {
    padding: 16px 18px;
    font-size: 0.9rem;
  }

  .article-meta {
    gap: 12px;
    font-size: 0.78rem;
  }

  .comment-item {
    padding: 16px;
  }

  .avatar {
    width: 38px;
    height: 38px;
    font-size: 0.86rem;
  }

  .pagination {
    gap: 6px;
  }

  .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 0.84rem;
    border-radius: 12px;
  }

  .chart-box {
    padding: 20px 14px;
  }

  .bar-chart {
    gap: 8px;
    height: 170px;
  }

  .donut {
    width: 150px;
    height: 150px;
  }

  .donut::after {
    inset: 22px;
  }

  .widget-head,
  .widget-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hot-item {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-sitemap-inner {
    gap: 8px 10px;
  }

  .footer-sitemap a {
    padding: 3px 10px;
    font-size: 0.8rem;
  }

  .back-to-top,
  .float-service {
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .back-to-top {
    bottom: 76px;
  }

  .back-to-top svg,
  .float-service svg {
    width: 19px;
    height: 19px;
  }
}

/* 打印样式（弱化装饰） */
@media print {
  .topbar,
  .site-header,
  .ticker,
  .back-to-top,
  .float-service,
  .service-panel,
  .side-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .site-footer {
    background: #fff;
    color: #333;
  }
}

/* auto-fit-long-brand-name: keep long brand text inside the header */
.logo__name,.logo-name,.logo-text b,.logo-text .name{font-size:clamp(12px,1.3vw,16px);white-space:nowrap;letter-spacing:0}
