```css
/* ============================================
   漫蛙漫画 · 萌系同好小窝
   设计系统 v2.0 | 2025
   ============================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色板 */
  --brand: #ff6b9d;
  --brand-dark: #e85d8a;
  --brand-light: #ffa3c0;
  --brand-soft: #ffe3ec;
  --brand-glow: rgba(255, 107, 157, 0.25);

  /* 功能色 */
  --accent: #6b9dff;
  --accent-soft: #e8f0ff;
  --success: #4caf50;
  --warning: #ff9800;
  --danger: #f44336;

  /* 中性色 */
  --bg: #fff9fb;
  --bg-alt: #fdf2f6;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.7);
  --ink: #2b2b2b;
  --ink-soft: #555555;
  --ink-muted: #888888;
  --line: #f0d0dc;
  --line-soft: #f7e8ee;

  /* 效果 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-brand: 0 8px 24px rgba(255, 107, 157, 0.15);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* 字体 */
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* 布局 */
  --container-width: 1200px;
  --header-height: 60px;
  --section-gap: 80px;

  /* 动画 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease);
  --transition-base: 0.3s var(--ease);
  --transition-slow: 0.5s var(--ease);

  /* 渐变 */
  --gradient-hero: linear-gradient(135deg, #ffe3ec 0%, #fff0f5 50%, #fce7f3 100%);
  --gradient-brand: linear-gradient(135deg, #ff6b9d 0%, #ff9a76 100%);
  --gradient-accent: linear-gradient(135deg, #6b9dff 0%, #a78bfa 100%);
  --gradient-mesh: radial-gradient(at 20% 20%, #ffe3ec 0%, transparent 50%),
                   radial-gradient(at 80% 80%, #e8f0ff 0%, transparent 50%);
}

/* ---------- 暗色模式 ---------- */
[data-theme="dark"] {
  --bg: #1a1625;
  --bg-alt: #221d30;
  --card: #2a2438;
  --card-glass: rgba(42, 36, 56, 0.7);
  --ink: #f0eaf5;
  --ink-soft: #c9c2d4;
  --ink-muted: #9a92ab;
  --line: #3a3350;
  --line-soft: #322c45;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-brand: 0 8px 24px rgba(255, 107, 157, 0.25);
  --brand-soft: #3a2a35;
  --accent-soft: #1e2a45;
  --gradient-hero: linear-gradient(135deg, #2a2438 0%, #1a1625 50%, #2d1f2e 100%);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  background-image: var(--gradient-mesh);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-dark);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

::selection {
  background: var(--brand);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--brand-light);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

/* ---------- 容器 ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 吸顶导航 ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 251, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 249, 251, 0.9);
}

[data-theme="dark"] header {
  background: rgba(26, 22, 37, 0.75);
}

[data-theme="dark"] header.scrolled {
  background: rgba(26, 22, 37, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.02);
}

.logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px var(--brand-glow));
  transition: transform var(--transition-base);
}

.logo:hover svg {
  transform: rotate(-10deg);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-links a.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--line-soft);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

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

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 140px;
  padding: 0;
  font-size: 0.9rem;
  color: var(--ink);
  transition: width var(--transition-base);
}

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

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

.search-box button {
  background: var(--gradient-brand);
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: white;
  transition: transform var(--transition-fast);
}

.search-box button:hover {
  transform: scale(1.1);
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.burger:hover {
  background: var(--brand-soft);
}

.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 2.5px 0;
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* ---------- 移动菜单 ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--card-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line-soft);
    gap: 4px;
    animation: slideDown 0.3s var(--ease);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .burger {
    display: flex;
  }

  .search-box {
    display: none;
  }

  .container {
    padding: 0 16px;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-brand);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px var(--brand-glow);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-glow);
  color: white;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px var(--brand-glow);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
  box-shadow: none;
}

.btn-outline::before {
  display: none;
}

.btn-outline:hover {
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: none;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ---------- 卡片 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.card {
  background: var(--card-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--brand);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card .badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ---------- 徽章 ---------- */
.badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
}

.badge:hover {
  transform: scale(1.05);
}

.badge-primary {
  background: var(--gradient-brand);
  color: white;
}

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

/* ---------- 区块 ---------- */
section {
  margin: var(--section-gap) 0;
  position: relative;
}

section > h2 {
  text-align: left;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text {
  flex: 1 1 300px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.hero-visual {
  flex: 1 1 200px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-visual svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px var(--brand-glow));
}

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

/* ---------- 统计数字 ---------- */
.stat {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  display: inline-block;
  min-width: 3ch;
  transition: color var(--transition-base);
}

.stat-group {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.stat-group > div {
  text-align: center;
}

.stat-group .stat-label {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ---------- 联系信息卡 ---------- */
.contact-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
}

.contact-info > div {
  flex: 1 1 200px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-info > div:hover {
  background: var(--brand-soft);
}

.contact-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-info span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- 列表 ---------- */
.feature-list {
  columns: 2;
  column-gap: 32px;
  list-style: none;
  margin: 20px 0;
}

.feature-list li {
  break-inside: avoid;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--line-soft);
  transition: all var(--transition-fast);
}

.feature-list li:hover {
  color: var(--brand);
  padding-left: 8px;
}

@media (max-width: 768px) {
  .feature-list {
    columns: 1;
  }
}

/* ---------- 引用 ---------- */
blockquote {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  flex: 1;
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  font-style: italic;
  color: var(--ink-soft);
}

blockquote:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

blockquote::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 3rem;
  color: var(--brand-soft);
  font-style: normal;
}

/* ---------- 文章列表 ---------- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-item {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.article-item:hover {
  background: var(--card);
  border-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.article-item a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.article-item a:hover {
  color: var(--brand);
}

.article-item .meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 4px;
  display: block;
}

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

.faq-item {
  background: var(--card-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 0;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  color: var(--ink);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--brand);
}

.faq-question .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1rem;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  background: var(--brand);
  color: white;
}

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.8;
  animation: fadeIn 0.3s var(--ease);
}

.faq-item.active .faq-answer {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 步骤 ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.step:hover {
  background: var(--brand-soft);
}

.step-num {
  background: var(--gradient-brand);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 8px var(--brand-glow);
}

.step-content {
  flex: 1;
}

.step-content h4 {
  margin-bottom: 4px;
  color: var(--ink);
}

.step-content p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- HowTo 教程 ---------- */
.howto-card {
  background: var(--card-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
}

.howto-card h3 {
  color: var(--brand);
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.howto-card h3:first-child {
  margin-top: 0;
}

.howto-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.howto-card .note {
  background: var(--brand-soft);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
  font-size: 0.9rem;
  border-left: 3px solid var(--brand);
}

/* ---------- Footer ---------- */
footer {
  background: #2b2b2b;
  color: #ddd;
  padding: 48px 0 24px;
  margin-top: 80px;
  border-radius: 32px 32px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

[data-theme="dark"] footer {
  background: #1a1625;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: white;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-grid p {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.copyright {
  border-top: 1px solid #444;
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

/* ---------- 返回顶部 ---------- */
#backTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--gradient-brand);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--brand-glow);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 90;
}

#backTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backTop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px var(--brand-glow);
}

@media (max-width: 768px) {
  #backTop {
    bottom: 20px;
    right: 20px;
    padding: 10px 14px;
  }
}

/* ---------- 主题切换 ---------- */
.theme-toggle {
  position: fixed;
  bottom: 32px;
  left: 32px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 10px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  z-index: 90;
  backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .theme-toggle {
    bottom: 20px;
    left: 20px;
  }
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 工具类 ---------- */
.text-center {
  text-align: center;
}

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

.text-muted {
  color: var(--ink-muted);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ---------- 响应式适配 ---------- */
@media (max-width: 1024px) {
  :root {
    --section-gap: 60px;
  }

  .hero {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 48px;
    --header-height: 56px;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 24px;
    border-radius: var(--radius-lg);
    flex-direction: column;
    text-align: center;
  }

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

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

  .hero p {
    font-size: 1rem;
  }

  .hero-visual svg {
    max-width: 180px;
  }

  .stat-group {
    justify-content: center;
    gap: 24px;
  }

  .stat {
    font-size: 1.8rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 20px;
  }

  .contact-info {
    flex-direction: column;
    gap: 12px;
  }

  .contact-info > div {
    flex: none;
  }

  .howto-card {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo svg {
    width: 28px;
    height: 28px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .stat {
    font-size: 1.5rem;
  }

  .feature-list {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 深色模式优化 ---------- */
[data-theme="dark"] .card,
[data-theme="dark"] .howto-card,
[data-theme="dark"] blockquote,
[data-theme="dark"] .contact-info {
  background: var(--card-glass);
  border-color: var(--line);
}

[data-theme="dark"] .article-item:hover {
  background: var(--card);
  border-color: var(--line);
}

[data-theme="dark"] input {
  color-scheme: dark;
}

[data-theme="dark"] .search-box {
  background: var(--card);
  border-color: var(--line);
}

[data-theme="dark"] .faq-item {
  background: var(--card-glass);
  border-color: var(--line);
}

/* ---------- 打印样式 ---------- */
@media print {
  header,
  footer,
  #backTop,
  .theme-toggle,
  .burger,
  .search-box {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  section {
    margin: 24px 0;
  }
}

/* ---------- 无障碍 ---------- */
@media (prefers-contrast: more) {
  :root {
    --brand: #e85d8a;
    --ink: #000;
    --ink-soft: #333;
  }
}

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

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

::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
}

/* 选中文本 */
::selection {
  background: var(--brand);
  color: white;
  text-shadow: none;
}

/* 加载动画 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--brand-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 悬停放大效果 */
.hover-scale {
  transition: transform var(--transition-base);
}

.hover-scale:hover {
  transform: scale(1.03);
}

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

/* 分割线 */
.divider {
  height: 1px;
  background: var(--line-soft);
  border: none;
  margin: 32px 0;
}

/* 圆角图片 */
.rounded-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* 链接组 */
.link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.link-group a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.link-group a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

/* 网站地图 */
.sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
}

.sitemap a {
  color: var(--ink-soft);
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-soft);
  transition: all var(--transition-fast);
}

.sitemap a:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}

/* 友情链接 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
}

.friend-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.friend-links a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

/* 联系信息 */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.contact-block .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-block .contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand);
}

.contact-block .contact-text {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-block .contact-text strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 2px;
}

/* 响应式联系信息 */
@media (max-width: 768px) {
  .contact-block {
    flex-direction: column;
    padding: 16px;
  }

  .contact-block .contact-item {
    width: 100%;
  }
}

/* 表格样式（备用） */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

th {
  background: var(--brand-soft);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--bg-alt);
}

/* ---------- 动画关键帧 ---------- */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-16px);
  }
  60% {
    transform: translateY(-8px);
  }
}

/* 动画工具类 */
.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
  .animate-pulse,
  .animate-bounce,
  .animate-float {
    animation: none;
  }
}

/* 背景装饰 */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-decoration .circle {
  position: absolute;
  border-radius: 50%;
  background: var(--brand-soft);
  opacity: 0.3;
  filter: blur(60px);
}

.bg-decoration .circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.bg-decoration .circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
  background: var(--accent-soft);
}

.bg-decoration .circle-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 20%;
  background: var(--brand-soft);
  opacity: 0.2;
}

/* 星空背景（装饰） */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.star {
  position: absolute;
  background: var(--brand);
  border-radius: 50%;
  opacity: 0.2;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.1;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

/* 生成星星 */
.star:nth-child(1) { width: 3px; height: 3px; top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { width: 2px; height: 2px; top: 30%; left: 70%; animation-delay: 0.5s; }
.star:nth-child(3) { width: 4px; height: 4px; top: 60%; left: 40%; animation-delay: 1s; }
.star:nth-child(4) { width: 2px; height: 2px; top: 80%; left: 80%; animation-delay: 1.5s; }
.star:nth-child(5) { width: 3px; height: 3px; top: 15%; left: 90%; animation-delay: 2s; }
.star:nth-child(6) { width: 2px; height: 2px; top: 50%; left: 10%; animation-delay: 2.5s; }
.star:nth-child(7) { width: 3px; height: 3px; top: 75%; left: 25%; animation-delay: 3s; }
.star:nth-child(8) { width: 2px; height: 2px; top: 40%; left: 55%; animation-delay: 3.5s; }

/* 暗色模式星星更亮 */
[data-theme="dark"] .star {
  opacity: 0.4;
}

/* 波浪底部装饰 */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin: -40px 0 0;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 卡片悬浮光效 */
.card-glow {
  position: relative;
}

.card-glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, var(--brand-glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card-glow:hover::after {
  opacity: 1;
}

/* 图片悬停缩放 */
.img-zoom {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.img-zoom img {
  transition: transform var(--transition-slow);
}

.img-zoom:hover img {
  transform: scale(1.05);
}

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

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--card);
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  border: 1px solid var(--line-soft);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tag:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--brand-glow);
}

/* 进度条 */
.progress {
  height: 6px;
  background: var(--line-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 8px 0;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-pill);
  transition: width 0.5s var(--ease);
}

/* 评分星星 */
.rating {
  display: inline-flex;
  gap: 2px;
  color: var(--warning);
  font-size: 1.1rem;
}

/* 通知横幅 */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid;
}

.alert-info {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.alert-success {
  background: #e8f5e9;
  border-color: var(--success);
  color: var(--success);
}

.alert-warning {
  background: #fff3e0;
  border-color: var(--warning);
  color: var(--warning);
}

.alert-error {
  background: #fce4ec;
  border-color: var(--danger);
  color: var(--danger);
}

/* 深色模式调整 */
[data-theme="dark"] .alert-info {
  background: rgba(107, 157, 255, 0.1);
}

[data-theme="dark"] .alert-success {
  background: rgba(76, 175, 80, 0.1);
}

[data-theme="dark"] .alert-warning {
  background: rgba(255, 152, 0, 0.1);
}

[data-theme="dark"] .alert-error {
  background: rgba(244, 67, 54, 0.1);
}

/* 工具提示 */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 120px;
  background: var(--ink);
  color: white;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.8rem;
  pointer-events: none;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* 骨架屏 */
.skeleton {
  background: linear-gradient(90deg, var(--line-soft) 25%, var(--bg) 50%, var(--line-soft) 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
  border-radius: var(--radius-sm);
  min-height: 16px;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--ink-muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.empty-state h3 {
  color: var(--ink);
  margin-bottom: 8px;
}

/* 徽章计数 */
.badge-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brand);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* 用户头像 */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
}

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

/* 用户卡片 */
.user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  transition: all var(--transition-base);
}

.user-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 时间线 */
.timeline {
  position: relative;
  padding: 20px 0;
  margin: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line-soft);
}

.timeline-item {
  position: relative;
  padding-left: 48px;
  padding-bottom: 24px;
}

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

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--brand);
}

.timeline-content {
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

/* 深浅色过渡 */
body,
header,
.card,
.faq-item,
blockquote,
footer {
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

/* 打印优化 */
@media print {
  .no-print {
    display: none !important;
  }
}

/* 最终优化：确保所有交互元素可访问 */
button,
a,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* 确保图片不拉伸 */
img {
  object-fit: cover;
}

/* 防止内容溢出 */
.overflow-hidden {
  overflow: hidden;
}

/* 文本截断 */
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 多行截断 */
.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 间距工具 */
.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 2.5rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

/* 圆角工具 */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 50%; }

/* 阴影工具 */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-brand { box-shadow: var(--shadow-brand); }

/* 字体工具 */
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

/* 颜色工具 */
.text-white { color: white; }
.text-black { color: black; }
.text-brand { color: var(--brand); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

.bg-white { background: white; }
.bg-brand { background: var(--brand); }
.bg-accent { background: var(--accent); }
.bg-soft { background: var(--brand-soft); }

/* 显示工具 */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

/* 位置工具 */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* z-index 工具 */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* 光标工具 */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

/* 用户选择 */
.select-none { user-select: none; }
.select-all { user-select: all; }

/* 滚动行为 */
.scroll-smooth { scroll-behavior: smooth; }

/* 动画延迟 */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* 最终：确保所有样式生效 */
html {
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}
```