/* =========================================================================
   168幸运体彩网 qingyunge.cn —— 全站样式表
   风格：国风水墨 · 青碧米白 · 细线框 · 雅致
   主色 #0F766E / 辅色 #155E75 / 背景 #F7F3E9
   分区：Reset → 变量 → 基础排版 → 顶部条 → Header/导航 → 按钮 → Hero
        → 公告条 → 号码球 → 卡片/网格 → 表格 → 排行榜 → 标签 → 分页
        → 面包屑 → 时间轴 → FAQ 折叠 → 表单 → 侧边栏 → 页脚 → 浮动层
        → 滚动动画 → 响应式
   ========================================================================= */

/* ------------------------------ 1. Reset ------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
  border: 0;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  outline: none;
}

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

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

ul,
ol {
  list-style: none;
}

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

figure,
blockquote {
  margin: 0;
}

/* ------------------------------ 2. 变量 ------------------------------ */
:root {
  /* 主色系 */
  --primary: #0f766e;
  --primary-dark: #0b5a54;
  --primary-light: #2f9c92;
  --primary-soft: rgba(15, 118, 110, 0.08);
  --secondary: #155e75;
  --secondary-light: #2a7d99;
  --accent: #b45309;
  --accent-soft: #c9a227;

  /* 背景与卡片 */
  --bg: #f7f3e9;
  --bg-deep: #efe8d8;
  --bg-ink: #e7ded0;
  --card: #fffdf7;
  --card-alt: #fbf8ee;
  --paper-line: rgba(15, 118, 110, 0.12);

  /* 文字 */
  --text: #22302e;
  --text-sub: #55605d;
  --text-mute: #8a938f;
  --text-invert: #f7f3e9;

  /* 边框与阴影 */
  --border: #d9d2c0;
  --border-strong: #0f766e;
  --border-hair: rgba(34, 48, 46, 0.12);
  --shadow-sm: 0 1px 2px rgba(21, 94, 117, 0.06);
  --shadow: 0 6px 18px rgba(21, 94, 117, 0.09);
  --shadow-lg: 0 16px 40px rgba(21, 94, 117, 0.14);
  --shadow-ink: 0 10px 30px rgba(15, 118, 110, 0.16);

  /* 圆角（国风：较小、雅致） */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  /* 尺寸 */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: 24px;

  /* 字体 */
  --font-title: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Helvetica Neue", Arial, sans-serif;
  --font-num: "Georgia", "Times New Roman", var(--font-title);

  /* 过渡 */
  --t-fast: 0.18s ease;
  --t: 0.28s ease;
  --t-slow: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 渐变（水墨晕染） */
  --grad-ink: linear-gradient(135deg, #0f766e 0%, #155e75 100%);
  --grad-ink-soft: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.92) 0%,
    rgba(21, 94, 117, 0.86) 100%
  );
  --grad-paper: radial-gradient(
    circle at 20% 20%,
    rgba(15, 118, 110, 0.07) 0%,
    transparent 55%
  ),
    radial-gradient(circle at 85% 10%, rgba(21, 94, 117, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #fbf8ee 0%, #f7f3e9 100%);
}

/* ------------------------------ 3. 基础排版 ------------------------------ */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(
      circle at 12% 8%,
      rgba(15, 118, 110, 0.06) 0%,
      transparent 42%
    ),
    radial-gradient(circle at 88% 4%, rgba(21, 94, 117, 0.05) 0%, transparent 38%);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: 0.02em;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 17px;
}

p {
  color: var(--text-sub);
  margin-bottom: 14px;
}

a {
  color: var(--primary);
  transition: color var(--t-fast);
}

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

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

time {
  font-family: var(--font-num);
}

address {
  font-style: normal;
}

::selection {
  background: rgba(15, 118, 110, 0.22);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.section {
  padding: 56px 0;
}

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

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

.section-head h2 {
  position: relative;
  padding-left: 16px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--grad-ink);
  border-radius: 2px;
}

.section-head .desc {
  color: var(--text-mute);
  font-size: 14px;
}

.section-head .more {
  font-size: 14px;
  color: var(--primary);
  border-bottom: 1px dashed var(--primary);
  padding-bottom: 2px;
}

.ink-divider {
  height: 1px;
  border: 0;
  margin: 32px 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--paper-line) 20%,
    var(--paper-line) 80%,
    transparent
  );
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.3em;
  margin: 6px 0;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--primary);
  opacity: 0.4;
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-title);
  letter-spacing: 0.25em;
  color: var(--primary);
  font-size: 13px;
}

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 13px;
  line-height: 1.1;
  text-align: center;
  padding: 2px;
  background: rgba(180, 83, 9, 0.05);
  transform: rotate(-4deg);
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-24 {
  margin-bottom: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------ 4. 顶部信息条 ------------------------------ */
.topbar {
  background: var(--grad-ink);
  color: var(--text-invert);
  font-size: 13px;
  line-height: 1;
  position: relative;
  z-index: 60;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(201, 162, 39, 0.9) 0,
    rgba(201, 162, 39, 0.9) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.5;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

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

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(247, 243, 233, 0.9);
  white-space: nowrap;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.topbar-item b {
  font-family: var(--font-num);
  color: #fff;
}

.topbar a.topbar-item:hover {
  color: var(--accent-soft);
}

.topbar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43d19e;
  box-shadow: 0 0 0 0 rgba(67, 209, 158, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 209, 158, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(67, 209, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 209, 158, 0);
  }
}

/* ------------------------------ 5. Header / 导航 ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: var(--grad-ink);
  color: var(--text-invert);
  font-family: var(--font-title);
  font-size: 22px;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(247, 243, 233, 0.35);
  border-radius: 2px;
}

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

.logo-text .name {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.12em;
}

.logo-text .slogan {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.28em;
}

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

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

.main-nav a {
  display: block;
  padding: 9px 16px;
  font-size: 15px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--t-fast);
  position: relative;
}

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

.main-nav a.active {
  color: var(--primary);
  font-weight: 700;
  border-color: var(--primary);
  background: var(--primary-soft);
}

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

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  padding: 6px 8px 6px 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.search-box svg {
  width: 16px;
  height: 16px;
  color: var(--text-mute);
  flex: 0 0 auto;
}

.search-box input {
  border: 0;
  background: transparent;
  width: 150px;
  font-size: 14px;
  color: var(--text);
}

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

.search-box button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), transform var(--t-fast);
}

.search-box button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.search-box button svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--t-fast);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------ 6. 按钮 ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 15px;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn svg {
  width: 16px;
  height: 16px;
}

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

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-ink);
}

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

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

.btn-paper {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
}

.btn-paper:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  color: #fff;
  background: #94450a;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 17px;
}

/* ------------------------------ 7. Hero ------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--text-invert);
  background: #0b3b46;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.02) brightness(0.86)
    hue-rotate(-6deg);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(11, 59, 70, 0.92) 0%,
      rgba(15, 118, 110, 0.72) 45%,
      rgba(15, 118, 110, 0.28) 100%
    ),
    radial-gradient(circle at 82% 30%, rgba(201, 162, 39, 0.16), transparent 55%);
}

.hero-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(247, 243, 233, 0.07) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 78px 0 70px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 6px 16px;
  border: 1px solid rgba(247, 243, 233, 0.4);
  border-radius: var(--radius-pill);
  color: rgba(247, 243, 233, 0.92);
  margin-bottom: 20px;
}

.hero-tag svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-soft);
}

.hero-sub {
  font-size: 17px;
  color: rgba(247, 243, 233, 0.86);
  max-width: 560px;
  margin-bottom: 26px;
}

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

.hero-cta .btn-outline {
  border-color: rgba(247, 243, 233, 0.6);
  color: #fff;
}

.hero-cta .btn-outline:hover {
  background: rgba(247, 243, 233, 0.14);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(247, 243, 233, 0.22);
  padding-top: 24px;
}

.hero-stat .num {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.hero-stat .num i {
  font-style: normal;
  font-size: 14px;
  color: var(--accent-soft);
}

.hero-stat .lbl {
  font-size: 13px;
  color: rgba(247, 243, 233, 0.68);
  letter-spacing: 0.08em;
}

.hero-aside {
  position: relative;
}

.hero-card {
  background: rgba(255, 253, 247, 0.1);
  border: 1px solid rgba(247, 243, 233, 0.32);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(6px);
}

.hero-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-card .sub {
  font-size: 13px;
  color: rgba(247, 243, 233, 0.7);
  margin-bottom: 18px;
}

.hero-card img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 243, 233, 0.25);
  filter: saturate(0.7) brightness(0.95);
}

.hero-aside .vertical-note {
  position: absolute;
  right: -34px;
  top: 0;
  color: rgba(247, 243, 233, 0.62);
}

/* 页头横幅（内页） */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--text-invert);
  background: #0b3b46;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.7) hue-rotate(-6deg);
}

.page-hero-veil {
  position: absolute;
  inset: 0;
  background: var(--grad-ink-soft);
  opacity: 0.92;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 54px 0;
}

.page-hero h1 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(247, 243, 233, 0.85);
  max-width: 640px;
  margin: 0;
}

/* ------------------------------ 8. 公告条 ------------------------------ */
.notice-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.notice-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  padding-right: 14px;
  border-right: 1px solid var(--border);
}

.notice-label svg {
  width: 15px;
  height: 15px;
}

.notice-scroll {
  overflow: hidden;
  flex: 1 1 auto;
  position: relative;
  height: 24px;
}

.notice-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
  will-change: transform;
}

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

.notice-track span {
  font-size: 14px;
  color: var(--text-sub);
}

.notice-track span b {
  color: var(--primary);
  font-family: var(--font-num);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------ 9. 号码球 ------------------------------ */
.ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--grad-ink);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.2),
    0 3px 8px rgba(15, 118, 110, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.ball.red {
  background: linear-gradient(135deg, #b91c1c, #7f1d1d);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.22), 0 3px 8px rgba(185, 28, 28, 0.25);
}

.ball.blue {
  background: linear-gradient(135deg, #155e75, #0b3b46);
}

.ball.gold {
  background: linear-gradient(135deg, #c9a227, #8a6d12);
}

.ball.sm {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.ball.lg {
  width: 52px;
  height: 52px;
  font-size: 21px;
}

.ball-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.draw-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  transition: all var(--t);
}

.draw-row:hover {
  box-shadow: var(--shadow);
  transform: translateX(3px);
  border-left-color: var(--accent);
}

.draw-row + .draw-row {
  margin-top: 12px;
}

.draw-meta {
  flex: 0 0 130px;
}

.draw-meta .issue {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--text);
  font-size: 16px;
}

.draw-meta .date {
  font-size: 12px;
  color: var(--text-mute);
}

.draw-balls {
  flex: 1 1 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

.draw-extra .sum b {
  color: var(--primary);
  font-family: var(--font-num);
}

/* ------------------------------ 10. 卡片 / 网格 ------------------------------ */
.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

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

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

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

.card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  border: 1px solid var(--paper-line);
  color: var(--primary);
  margin-bottom: 14px;
}

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

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card h3 a {
  color: var(--text);
}

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

.card p {
  font-size: 14px;
  margin-bottom: 12px;
}

.card-link {
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* 大图卡片 */
.media-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.media-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-ink);
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02) sepia(0.05);
  transition: transform var(--t-slow);
}

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

.media-thumb .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 118, 110, 0.92);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.08em;
}

.media-thumb .corner-seal {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 162, 39, 0.9);
  color: #f4e3b0;
  background: rgba(180, 83, 9, 0.55);
  font-family: var(--font-title);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  line-height: 1.1;
  text-align: center;
}

.media-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.media-body h3 {
  font-size: 18px;
}

.media-body h3 a {
  color: var(--text);
}

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

.media-body p {
  font-size: 14px;
  margin: 0;
  flex: 1 1 auto;
}

.media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-mute);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.media-meta .cat {
  color: var(--primary);
}

/* 数据指标卡 */
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--t);
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.stat-card .num {
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.stat-card .num i {
  font-style: normal;
  font-size: 15px;
  color: var(--text-mute);
}

.stat-card .lbl {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 6px;
}

/* ------------------------------ 11. 表格 ------------------------------ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

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

.data-table thead th {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-title);
  font-weight: 700;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-hair);
  color: var(--text-sub);
}

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

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

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

.data-table .status {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.status.done {
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary);
}

.status.open {
  background: rgba(180, 83, 9, 0.12);
  color: var(--accent);
}

.status.soon {
  background: rgba(21, 94, 117, 0.12);
  color: var(--secondary);
}

/* 进度条 */
.progress {
  height: 8px;
  background: var(--bg-ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress > i {
  display: block;
  height: 100%;
  background: var(--grad-ink);
  border-radius: var(--radius-pill);
  transition: width 1s ease;
}

.progress.gold > i {
  background: linear-gradient(90deg, #c9a227, #8a6d12);
}

/* ------------------------------ 12. 排行榜 ------------------------------ */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}

.rank-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.rank-item.top1 {
  border-color: var(--accent-soft);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.1), var(--card));
}

.rank-item.top2 {
  border-color: #a8b3b0;
}

.rank-item.top3 {
  border-color: #c9a06a;
}

.rank-no {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-ink);
  color: var(--text-sub);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 14px;
}

.rank-item.top1 .rank-no {
  background: linear-gradient(135deg, #c9a227, #8a6d12);
  color: #fff;
}

.rank-item.top2 .rank-no {
  background: linear-gradient(135deg, #9aa6a3, #6c7a77);
  color: #fff;
}

.rank-item.top3 .rank-no {
  background: linear-gradient(135deg, #c9a06a, #9a7038);
  color: #fff;
}

.rank-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--grad-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.rank-name {
  flex: 1 1 auto;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.rank-name small {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 400;
}

.rank-score {
  flex: 0 0 auto;
  text-align: right;
}

.rank-score b {
  font-family: var(--font-num);
  color: var(--primary);
  font-size: 16px;
}

.rank-score small {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
}

/* ------------------------------ 13. 标签 ------------------------------ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-sub);
  background: var(--card);
  transition: all var(--t-fast);
}

.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.tag.hot {
  border-color: var(--accent);
  color: var(--accent);
}

.tag-num {
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--text-mute);
}

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

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text-sub);
  font-size: 14px;
  transition: all var(--t-fast);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .current {
  background: var(--grad-ink);
  color: #fff;
  border-color: var(--primary);
}

.pagination .disabled {
  opacity: 0.5;
  pointer-events: none;
}

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

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

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-sub);
}

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

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

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

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.timeline-item .year {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.timeline-item h3 {
  font-size: 17px;
  margin: 4px 0 6px;
}

.timeline-item p {
  font-size: 14px;
  margin: 0;
}

/* ------------------------------ 17. FAQ 折叠 ------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-size: 16px;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text);
  text-align: left;
}

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

.faq-q .qi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.faq-q .mark {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid var(--primary);
  border-radius: 3px;
  color: var(--primary);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
}

.faq-q .arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--text-mute);
  transition: transform var(--t-fast);
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}

.faq-a-inner {
  padding: 0 20px 18px 54px;
  font-size: 14px;
  color: var(--text-sub);
}

/* ------------------------------ 18. 表单 ------------------------------ */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 7px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

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

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-inline .form-control {
  flex: 1 1 220px;
}

.form-hint {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 6px;
}

.form-msg {
  font-size: 13px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-msg.ok {
  display: block;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  border: 1px solid var(--paper-line);
}

.form-msg.err {
  display: block;
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.25);
}

/* ------------------------------ 19. 侧边栏 ------------------------------ */
.layout-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 90px;
}

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

.widget-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: "";
  width: 4px;
  height: 16px;
  background: var(--grad-ink);
  border-radius: 2px;
}

.widget-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
}

.widget-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.widget-list .no {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--text-invert);
  background: var(--primary-light);
  border-radius: 3px;
}

.widget-list .no.top {
  background: var(--accent);
}

.widget-list a {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.5;
}

.widget-list a:hover {
  color: var(--primary);
}

.widget-list .meta {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 3px;
}

.toc-list {
  border-left: 2px solid var(--paper-line);
  padding-left: 14px;
}

.toc-list a {
  display: block;
  font-size: 14px;
  color: var(--text-sub);
  padding: 5px 0;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--primary);
  font-weight: 500;
}

/* ------------------------------ 20. 页脚 ------------------------------ */
.site-footer {
  background: #0b3b46;
  color: rgba(247, 243, 233, 0.72);
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(201, 162, 39, 0.8) 0,
    rgba(201, 162, 39, 0.8) 10px,
    transparent 10px,
    transparent 20px
  );
}

.footer-main {
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-brand .logo-text .name {
  color: #fff;
}

.footer-brand .logo-text .slogan {
  color: rgba(247, 243, 233, 0.55);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(247, 243, 233, 0.62);
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(247, 243, 233, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 243, 233, 0.7);
  transition: all var(--t-fast);
}

.footer-social a:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
  background: rgba(201, 162, 39, 0.1);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

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

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-soft);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 13px;
  color: rgba(247, 243, 233, 0.66);
}

.footer-col ul a:hover {
  color: var(--accent-soft);
}

.footer-col address p {
  font-size: 13px;
  color: rgba(247, 243, 233, 0.66);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.footer-col address svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--accent-soft);
}

.footer-links {
  border-top: 1px solid rgba(247, 243, 233, 0.14);
  padding: 20px 0;
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-links strong {
  color: #fff;
}

.footer-links a {
  color: rgba(247, 243, 233, 0.6);
}

.footer-links a:hover {
  color: var(--accent-soft);
}

.footer-disclaimer {
  border-top: 1px solid rgba(247, 243, 233, 0.14);
  padding: 20px 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(247, 243, 233, 0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 233, 0.14);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(247, 243, 233, 0.55);
}

.footer-bottom a {
  color: rgba(247, 243, 233, 0.55);
}

.footer-bottom a:hover {
  color: var(--accent-soft);
}

/* ------------------------------ 21. 浮动层 ------------------------------ */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 92px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t);
  z-index: 80;
}

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

.back-top:hover {
  background: var(--primary);
  color: #fff;
}

.back-top svg {
  width: 20px;
  height: 20px;
}

.float-service {
  position: fixed;
  right: 26px;
  bottom: 32px;
  z-index: 80;
}

.float-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--grad-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.float-btn svg {
  width: 22px;
  height: 22px;
}

.float-panel {
  position: absolute;
  right: 56px;
  bottom: 0;
  width: 240px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all var(--t);
}

.float-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.float-panel h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--primary);
}

.float-panel p {
  font-size: 13px;
  margin-bottom: 10px;
}

.float-panel .line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.float-panel .line svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex: 0 0 auto;
}

/* ------------------------------ 22. 滚动动画 ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .notice-track {
    animation: none;
  }
}

/* ------------------------------ 23. 文章详情 ------------------------------ */
.article-head {
  padding: 10px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}

.article-cat {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 3px 14px;
  margin-bottom: 14px;
}

.article-head h1 {
  font-size: 33px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-mute);
}

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

.article-meta svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

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

.article-cover img {
  width: 100%;
  filter: saturate(0.85) contrast(1.02);
}

.article-cover figcaption {
  font-size: 12px;
  color: var(--text-mute);
  padding: 10px 16px;
  background: var(--card-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}

.article-body {
  font-size: 16px;
  line-height: 1.95;
}

.article-body p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.article-body h2 {
  font-size: 24px;
  margin: 34px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.article-body h3 {
  font-size: 19px;
  margin: 24px 0 12px;
  color: var(--secondary);
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px 4px;
  padding-left: 22px;
}

.article-body ul li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  color: var(--text-sub);
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--primary);
  transform: rotate(45deg);
}

.article-body ol li {
  list-style: decimal;
  margin-bottom: 9px;
  color: var(--text-sub);
  padding-left: 4px;
}

.article-body blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  background: var(--card-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-title);
  color: var(--text);
  font-size: 16px;
  position: relative;
}

.article-body blockquote::before {
  content: "\201C";
  font-family: var(--font-title);
  font-size: 46px;
  color: var(--accent);
  opacity: 0.35;
  position: absolute;
  top: 4px;
  right: 16px;
  line-height: 1;
}

.article-body figure {
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.article-body figure img {
  width: 100%;
  filter: saturate(0.85);
}

.article-body figcaption {
  font-size: 12px;
  color: var(--text-mute);
  padding: 9px 14px;
  background: var(--card-alt);
  text-align: center;
  border-top: 1px solid var(--border);
}

.summary-card {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(21, 94, 117, 0.06));
  border: 1px solid var(--paper-line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 26px 0;
}

.summary-card h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-card h4 svg {
  width: 17px;
  height: 17px;
}

.summary-card ul li {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 7px;
  padding-left: 18px;
  position: relative;
}

.summary-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

.article-tags {
  margin: 30px 0 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}

.article-tags .label {
  font-size: 14px;
  color: var(--text);
  margin-right: 10px;
}

.share-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.share-group .label {
  font-size: 14px;
  color: var(--text-sub);
}

.share-group button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  transition: all var(--t-fast);
}

.share-group button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.share-group svg {
  width: 18px;
  height: 18px;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.post-nav a {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  background: var(--card);
  transition: all var(--t-fast);
  font-size: 14px;
  color: var(--text-sub);
}

.post-nav a:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.post-nav .dir {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 4px;
}

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

/* 评论 */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comment-item {
  display: flex;
  gap: 14px;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--grad-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 17px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.comment-body {
  flex: 1 1 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-head .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.comment-head time {
  font-size: 12px;
  color: var(--text-mute);
}

.comment-body p {
  font-size: 14px;
  margin: 0;
}

/* 图文并列块 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.split-media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  filter: saturate(0.85) contrast(1.02);
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-sub);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* 徽章 / 荣誉 */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.badge-item {
  text-align: center;
  padding: 22px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t);
}

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

.badge-item svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin: 0 auto 12px;
}

.badge-item h4 {
  font-size: 15px;
  margin-bottom: 5px;
}

.badge-item p {
  font-size: 12px;
  margin: 0;
  color: var(--text-mute);
}

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

.step-item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  text-align: center;
  transition: all var(--t);
}

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

.step-item::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 28px;
  background: var(--grad-ink);
  color: #fff;
  font-family: var(--font-num);
  font-size: 14px;
  line-height: 28px;
  border-radius: var(--radius-sm);
}

.step-item h3 {
  font-size: 16px;
  margin: 12px 0 8px;
}

.step-item p {
  font-size: 13px;
  margin: 0;
}

/* 柱状图 / 环形图（纯 CSS） */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 200px;
  padding: 16px 8px 0;
  border-bottom: 1px solid var(--border);
}

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

.bar-col .bar {
  width: 70%;
  max-width: 40px;
  background: var(--grad-ink);
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: height 0.8s ease;
}

.bar-col .bar.gold {
  background: linear-gradient(180deg, #c9a227, #8a6d12);
}

.bar-col .val {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--text-sub);
}

.bar-col .lbl {
  font-size: 12px;
  color: var(--text-mute);
}

.donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  background: conic-gradient(
    var(--primary) 0 32%,
    var(--secondary) 32% 55%,
    var(--primary-light) 55% 74%,
    var(--accent) 74% 88%,
    var(--bg-ink) 88% 100%
  );
}

.donut::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: var(--card);
  border-radius: 50%;
  box-shadow: inset 0 0 8px rgba(21, 94, 117, 0.12);
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.donut-center b {
  font-family: var(--font-num);
  font-size: 22px;
  color: var(--primary);
}

.donut-center small {
  font-size: 12px;
  color: var(--text-mute);
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sub);
}

.legend i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.legend .c1 {
  background: var(--primary);
}

.legend .c2 {
  background: var(--secondary);
}

.legend .c3 {
  background: var(--primary-light);
}

.legend .c4 {
  background: var(--accent);
}

/* 提示条 */
.alert {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--paper-line);
  background: var(--primary-soft);
  font-size: 14px;
  color: var(--text-sub);
}

.alert svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: 0 0 auto;
  margin-top: 3px;
}

/* 筛选器 */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-group .lbl {
  font-size: 13px;
  color: var(--text-mute);
}

.chip {
  font-size: 13px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--text-sub);
  transition: all var(--t-fast);
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--grad-ink);
  color: #fff;
  border-color: var(--primary);
}

.filter-select {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text-sub);
}

/* 评价卡 */
.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: all var(--t);
}

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

.quote-card::before {
  content: "\201C";
  font-family: var(--font-title);
  font-size: 52px;
  color: var(--primary);
  opacity: 0.18;
  position: absolute;
  top: 6px;
  right: 18px;
  line-height: 1;
}

.quote-card p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

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

.quote-user .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
}

.quote-user .nm {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.quote-user .rl {
  font-size: 12px;
  color: var(--text-mute);
}

/* CTA 区块 */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad-ink);
  color: #fff;
  padding: 44px;
  text-align: center;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(247, 243, 233, 0.09) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.6;
}

.cta-band > * {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(247, 243, 233, 0.82);
  max-width: 640px;
  margin: 0 auto 24px;
}

.cta-band .btn-outline {
  border-color: rgba(247, 243, 233, 0.6);
  color: #fff;
}

.cta-band .btn-outline:hover {
  background: rgba(247, 243, 233, 0.14);
  color: #fff;
}

/* 地图占位 */
.map-placeholder {
  height: 260px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: repeating-linear-gradient(
      45deg,
      rgba(15, 118, 110, 0.05) 0,
      rgba(15, 118, 110, 0.05) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--card-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-mute);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.map-placeholder svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

/* 上下篇 / 相关阅读 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ------------------------------ 24. 响应式 ------------------------------ */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-aside .vertical-note {
    display: none;
  }
}

@media (max-width: 992px) {
  .container {
    --gutter: 18px;
  }
  h1 {
    font-size: 30px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 54px 0 50px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps,
  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .layout-side {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px 20px;
  }
  .main-nav.open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .main-nav.open a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-hair);
  }
  .hamburger {
    display: flex;
  }
  .search-box {
    display: none;
  }
  .header-inner {
    position: relative;
  }
  .page-hero h1 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .section {
    padding: 40px 0;
  }
  .topbar-inner {
    justify-content: center;
    gap: 10px;
  }
  .topbar-left,
  .topbar-right {
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .related-grid,
  .badge-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-stats {
    gap: 14px;
  }
  .hero-stat .num {
    font-size: 24px;
  }
  .article-head h1 {
    font-size: 25px;
  }
  .article-body h2 {
    font-size: 21px;
  }
  .post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav .next {
    text-align: left;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .draw-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .draw-meta {
    flex: 0 0 auto;
  }
  .cta-band {
    padding: 30px 20px;
  }
  .cta-band h2 {
    font-size: 22px;
  }
  .bar-chart {
    height: 160px;
    gap: 8px;
  }
  .back-top,
  .float-service {
    right: 16px;
  }
  .float-panel {
    right: 52px;
    width: 210px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .logo-text .name {
    font-size: 20px;
  }
  .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat .num {
    font-size: 21px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps,
  .badge-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    padding: 12px 14px;
  }
  .pagination a,
  .pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }
  .article-body {
    font-size: 15px;
  }
  .article-body p {
    font-size: 15px;
  }
  .faq-a-inner {
    padding-left: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------ 25. 工具类 / 打印 ------------------------------ */
.hide {
  display: none !important;
}

.flex {
  display: flex;
}

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

.gap-12 {
  gap: 12px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.bg-paper {
  background: var(--grad-paper);
}

.bordered {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.serif {
  font-family: var(--font-title);
}

.num-font {
  font-family: var(--font-num);
}

@media print {
  .site-header,
  .topbar,
  .back-top,
  .float-service,
  .notice-bar {
    display: none;
  }
  body {
    background: #fff;
  }
  a {
    color: #000;
  }
}