```css

/* =========================================================
   汗汗漫画 - 完整样式表
   设计风格：现代卡片 + 毛玻璃 + 渐变Banner + 响应式
   版本：1.0
   ========================================================= */

/* ---------- 全局变量与主题 ---------- */
:root {
  --bg-light: #f4f7fb;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #3a4a5f;
  --text-muted: #5b6b7c;
  --accent: #1e5b8a;
  --accent-dark: #123a56;
  --accent-glow: rgba(30, 91, 138, 0.08);
  --border-light: #e0e8f0;
  --footer-bg: #0b1c2e;
  --footer-text: #d0dce8;
  --nav-bg: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-banner: linear-gradient(135deg, #0f2740 0%, #1b3a5c 45%, #2c5f8a 100%);
}

[data-theme="dark"] {
  --bg-light: #0e1622;
  --bg-card: #1a2432;
  --text-primary: #eaf0f6;
  --text-secondary: #c0cdd9;
  --text-muted: #8ea1b3;
  --accent: #5f9bc0;
  --accent-dark: #7fb0d0;
  --accent-glow: rgba(95, 155, 192, 0.12);
  --border-light: #27384a;
  --footer-bg: #080f17;
  --footer-text: #b8c6d4;
  --nav-bg: rgba(14, 22, 34, 0.75);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --gradient-banner: linear-gradient(135deg, #0a141f 0%, #132334 50%, #1d3d5c 100%);
}

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

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

input,
button {
  outline: none;
  border: none;
  background: none;
}

/* ---------- 工具类 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 3rem 0 1.2rem;
  color: var(--text-primary);
  border-left: 5px solid var(--accent);
  padding-left: 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

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

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

/* ---------- 导航栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 0.2rem 0.2rem 0.2rem 0.8rem;
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.search-box input {
  width: 110px;
  padding: 0.45rem 0.3rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  background: transparent;
}

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

.icon-btn {
  font-size: 1.2rem;
  padding: 0.4rem 0.6rem;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.icon-btn:hover {
  background: var(--accent-glow);
  color: var(--accent);
  transform: scale(1.08);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-primary);
  padding: 0.2rem;
}

/* 移动端菜单 */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.open {
  max-height: 500px;
}

.mobile-nav a {
  padding: 0.9rem 1.5rem;
  color: var(--text-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s, padding-left 0.2s;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  background: var(--accent-glow);
  padding-left: 2rem;
  color: var(--accent);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 1rem 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb span {
  color: var(--text-secondary);
}

/* ---------- Banner 渐变主题 ---------- */
.banner {
  background: var(--gradient-banner);
  color: #fff;
  padding: 3.5rem 0;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}

.banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.banner::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.banner-text {
  flex: 1 1 300px;
}

.banner-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.banner-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  background: #ffffff;
  color: #123a56;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: #eef3f8;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-graphic {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-graphic svg {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
  animation: float 4s ease-in-out infinite;
}

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

/* ---------- 卡片系统 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
  margin: 1.5rem 0;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

.card h3 {
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.card h4 {
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  display: block;
}

.card a {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s;
}

.card a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

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

.article-item {
  background: var(--bg-card);
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.article-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateX(6px);
}

.article-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.article-item h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.article-item .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.article-item p {
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.article-item a {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ---------- FAQ 手风琴 ---------- */
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.faq-question {
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-size: 1rem;
  transition: background 0.2s;
  user-select: none;
}

.faq-question:hover {
  background: var(--accent-glow);
}

.faq-question span {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.active .faq-question span {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  animation: fadeIn 0.3s ease;
}

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

/* ---------- HowTo ---------- */
.howto-steps {
  background: var(--bg-card);
  padding: 2.2rem;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.howto-steps h3 {
  color: var(--text-primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.howto-steps h4 {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.step-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 1.5rem 0;
}

.step-list li {
  counter-increment: step-counter;
  margin-bottom: 1rem;
  padding-left: 3rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.step-list li::before {
  content: counter(step-counter);
  background: var(--accent);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* ---------- 表格 ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th,
td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

th {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

tr:hover td {
  background: var(--accent-glow);
}

/* ---------- 友情链接 ---------- */
.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  align-items: center;
}

.link-cloud a {
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  background: var(--accent-glow);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.link-cloud a:hover {
  background: var(--accent);
  color: #fff;
}

.link-cloud span {
  color: var(--text-muted);
  opacity: 0.5;
}

/* ---------- 徽章 ---------- */
.badge {
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.9rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-light);
}

.footer a {
  color: #b8d4f0;
  transition: color 0.2s;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.footer-grid h4 {
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-grid p {
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  border: none;
  font-size: 1.5rem;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

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

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

/* ---------- 工具与特殊 ---------- */
.svg-img {
  background: var(--accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 120px;
  padding: 1rem;
}

.info-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* 深色模式切换按钮动画 */
#themeToggle {
  transition: transform 0.4s ease;
}

#themeToggle:active {
  transform: rotate(30deg);
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    gap: 1.2rem;
  }

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

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-cta .desktop-only {
    display: none;
  }

  .nav-wrap {
    padding: 0.7rem 0;
  }

  .logo a {
    font-size: 1.4rem;
  }

  .banner {
    padding: 2.5rem 0;
    border-radius: 0 0 24px 24px;
  }

  .banner-grid {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .banner-text h1 {
    font-size: 1.8rem;
  }

  .banner-text p {
    font-size: 1rem;
    margin: 0 auto;
  }

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

  .banner-graphic svg {
    width: 180px;
    height: auto;
  }

  .section-title {
    font-size: 1.5rem;
    margin: 2.2rem 0 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .card {
    padding: 1.4rem;
  }

  .article-item {
    padding: 1.2rem;
  }

  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.2rem 1rem;
  }

  .howto-steps {
    padding: 1.5rem;
  }

  .step-list li {
    padding-left: 2.8rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .search-box {
    display: none;
  }

  .nav-cta {
    gap: 0.2rem;
  }

  .logo a {
    font-size: 1.2rem;
  }

  .banner-text h1 {
    font-size: 1.5rem;
  }

  .banner-text p {
    font-size: 0.95rem;
  }

  .btn-group .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
  }

  .banner-graphic svg {
    width: 150px;
  }

  .card {
    padding: 1.2rem;
  }

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

  .footer {
    padding: 2.5rem 0 1rem;
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  .site-header,
  .banner,
  .back-to-top,
  .mobile-nav,
  .btn-group {
    display: none !important;
  }

  .container {
    max-width: 100%;
  }

  .card,
  .article-item,
  .faq-item,
  .howto-steps {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ---------- 无障碍支持 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 高对比度焦点指示 */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 自定义滚动条（WebKit） */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 20px;
  border: 2px solid var(--bg-light);
}

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

/* 选中文本样式 */
::selection {
  background: var(--accent);
  color: #ffffff;
}

```