```css
/* ===== 香香漫画 全站样式 v1.0 ===== */
/* 设计语言：甜酷少女风 · 圆润 · 轻盈 · 毛玻璃 · 渐变光晕 */

:root {
  /* 主色板 */
  --primary: #7b3fa0;
  --primary-dark: #5a2d77;
  --primary-light: #b28ac7;
  --primary-soft: #f3eaf8;
  --accent: #f5c542;
  --accent-soft: #fef3d0;
  --pink: #ff8fb2;
  --pink-soft: #ffe0ec;

  /* 中性色 — 浅色模式 */
  --bg: #fdfbff;
  --bg-gradient: radial-gradient(1200px 600px at 10% -10%, #f6ecff 0%, transparent 60%),
                 radial-gradient(800px 400px at 110% 10%, #ffeef5 0%, transparent 50%),
                 linear-gradient(180deg, #fdfbff 0%, #f9f2fd 100%);
  --text-main: #2b1e32;
  --text-secondary: #4a3a52;
  --text-soft: #6b5b73;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-bg-solid: #ffffff;
  --border-light: rgba(123, 63, 160, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --footer-bg: #22162b;
  --footer-text: #ddd2e6;
  --shadow-sm: 0 2px 10px rgba(90, 45, 119, 0.05);
  --shadow-md: 0 8px 28px rgba(90, 45, 119, 0.08);
  --shadow-lg: 0 18px 50px rgba(90, 45, 119, 0.12);

  /* 标题色 */
  --heading-h1: #321a42;
  --heading-h2: #3d1d56;
  --heading-h3: #4c2a63;
  --heading-h4: #5a3670;

  --tag-bg: #f1e5f7;
  --btn-primary: #7b3fa0;
  --btn-text: #ffffff;
  --radius: 24px;
  --radius-sm: 16px;
  --radius-lg: 32px;
  --max-width: 1280px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-blur: blur(16px);
}

/* 暗色模式变量 */
[data-theme="dark"] {
  --bg: #17121c;
  --bg-gradient: radial-gradient(1200px 600px at 10% -10%, #2a1b33 0%, transparent 60%),
                 radial-gradient(800px 400px at 110% 10%, #331d2a 0%, transparent 50%),
                 linear-gradient(180deg, #17121c 0%, #1e1626 100%);
  --text-main: #ece5f2;
  --text-secondary: #cbbdd6;
  --text-soft: #a08fae;
  --card-bg: rgba(42, 30, 50, 0.65);
  --card-bg-solid: #251b2e;
  --border-light: rgba(200, 170, 220, 0.15);
  --nav-bg: rgba(23, 18, 28, 0.75);
  --footer-bg: #0f0a13;
  --footer-text: #c4b6cf;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.5);
  --heading-h1: #f3e9fa;
  --heading-h2: #e9d5f5;
  --heading-h3: #d8c0e8;
  --heading-h4: #c5a5da;
  --tag-bg: #3a2a47;
  --btn-primary: #9f6bc0;
  --primary-dark: #c9a5e0;
  --primary-light: #d5b5e8;
  --primary-soft: #2e2237;
  --accent: #f0c96a;
  --accent-soft: #3a3220;
  --pink: #ff9ebc;
  --pink-soft: #402536;
}

/* ===== 基础重置 ===== */
* {
  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, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.75;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* 链接下划线动画 */
a:not(.btn):not(.logo a):not(.footer a):not(.article-content a):hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--pink));
  border-radius: 2px;
  animation: underlineGrow 0.3s ease forwards;
}

@keyframes underlineGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

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

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 1px 20px rgba(123, 63, 160, 0.06);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.logo a {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--heading-h1);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.logo a span {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(255, 143, 178, 0.4);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 143, 178, 0.3); }
  50% { box-shadow: 0 0 18px rgba(255, 143, 178, 0.7); }
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}

.nav-menu a {
  color: var(--text-main);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  font-size: 0.95rem;
  position: relative;
}

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

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 6px 6px 6px 16px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123, 63, 160, 0.1);
}

.search-box input {
  background: transparent;
  border: none;
  padding: 6px 8px;
  color: var(--text-main);
  outline: none;
  width: 130px;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.search-box button {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  cursor: pointer;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(123, 63, 160, 0.3);
}

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

.theme-toggle {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--primary-soft);
}

/* 移动端下拉菜单 */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--nav-bg);
  backdrop-filter: var(--glass-blur);
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border-light);
  animation: slideDown 0.3s ease;
}

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

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}

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

.mobile-nav a:hover {
  color: var(--primary);
  padding-left: 8px;
}

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

/* ===== Hero 区域 ===== */
.hero {
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 143, 178, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatBlob 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(123, 63, 160, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1 1 380px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.2;
  color: var(--heading-h1);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--heading-h1) 30%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.btn {
  background: linear-gradient(135deg, var(--btn-primary), var(--primary-light));
  color: var(--btn-text);
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(123, 63, 160, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink), var(--primary));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(123, 63, 160, 0.4);
}

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

.btn:active {
  transform: translateY(-1px);
}

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

.btn-outline::before {
  background: var(--primary-soft);
}

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

.hero-cover {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-cover svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-cover svg:hover {
  transform: scale(1.02) rotate(1deg);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  animation: fadeIn 0.5s ease;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

/* ===== 通用区块样式 ===== */
section {
  padding: 20px 0 40px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--heading-h2);
  margin: 24px 0 8px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s ease;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--pink), transparent);
  border-radius: 4px;
}

.section-sub {
  color: var(--text-soft);
  margin-bottom: 30px;
  font-size: 1.05rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease both;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--pink), transparent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(123, 63, 160, 0.25);
}

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

.card h3 {
  color: var(--heading-h3);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.card .badge {
  margin-bottom: 16px;
}

/* ===== 徽章 ===== */
.badge {
  background: linear-gradient(135deg, var(--tag-bg), var(--pink-soft));
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(123, 63, 160, 0.08);
}

/* ===== 文章列表 ===== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.article-item {
  display: flex;
  gap: 20px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease both;
}

.article-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123, 63, 160, 0.2);
  background: var(--card-bg-solid);
}

.article-thumb {
  flex-shrink: 0;
}

.article-thumb svg {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.article-item:hover .article-thumb svg {
  transform: scale(1.05);
}

.article-content {
  flex: 1;
}

.article-content h4 {
  color: var(--heading-h4);
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-weight: 700;
  transition: var(--transition);
}

.article-content h4:hover {
  color: var(--primary);
}

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

.article-content a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.meta {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin: 8px 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta::before {
  content: '✦';
  color: var(--pink);
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  animation: fadeInUp 0.5s ease both;
}

.faq-item:hover {
  border-color: rgba(123, 63, 160, 0.2);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  user-select: none;
}

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

.faq-question span {
  font-size: 1.4rem;
  font-weight: 300;
  transition: var(--transition);
  color: var(--primary);
  display: inline-block;
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  display: none;
  line-height: 1.8;
  animation: fadeIn 0.3s ease;
}

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

.faq-item.active {
  border-color: rgba(123, 63, 160, 0.3);
  box-shadow: var(--shadow-sm);
}

/* ===== HowTo 盒子 ===== */
.howto-box {
  background: linear-gradient(135deg, var(--primary-soft), var(--card-bg));
  backdrop-filter: blur(12px);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease;
}

.howto-box ol {
  padding-left: 24px;
  color: var(--text-main);
  counter-reset: howto;
}

.howto-box li {
  margin: 12px 0;
  line-height: 1.8;
  position: relative;
  padding-left: 8px;
}

.howto-box li::marker {
  color: var(--primary);
  font-weight: 700;
}

.howto-box strong {
  color: var(--primary-dark);
}

.howto-box p {
  margin: 12px 0;
  color: var(--text-secondary);
}

.howto-box p:first-child {
  margin-top: 0;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--footer-bg);
  background-image: linear-gradient(180deg, var(--footer-bg) 0%, #1a1120 100%);
  color: var(--footer-text);
  padding: 56px 0 24px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(123, 63, 160, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  position: relative;
  z-index: 1;
}

.footer h4 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 8px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

.footer a {
  color: var(--footer-text);
  opacity: 0.85;
  transition: var(--transition);
}

.footer a:hover {
  opacity: 1;
  color: var(--pink);
  padding-left: 4px;
}

.footer p {
  line-height: 2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(123, 63, 160, 0.35);
  cursor: pointer;
  border: none;
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

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

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(123, 63, 160, 0.5);
}

/* ===== 滚动动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 滚动入场元素 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .nav-menu,
  .search-box,
  .theme-toggle {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-title,
  .section-sub {
    text-align: center;
  }
}

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

  .hero {
    padding: 32px 0 40px;
  }

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

  .article-item {
    flex-direction: column;
    padding: 16px;
  }

  .article-thumb svg {
    width: 100%;
    height: auto;
    max-height: 120px;
  }

  .card {
    padding: 20px;
  }

  .howto-box {
    padding: 24px;
  }

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

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}

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

  .btn-group .btn {
    width: 100%;
    text-align: center;
  }

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

/* ===== 杂项增强 ===== */
::selection {
  background: var(--primary);
  color: #fff;
}

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

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

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

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

/* 星尘装饰 */
.stardust {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--pink);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.5; }
}

/* 卡片微光 */
.card {
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

/* 标题装饰 */
.section-title::before {
  content: '✦';
  margin-right: 10px;
  font-size: 0.8em;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* 链接下划线更圆润 */
.article-content a {
  position: relative;
  padding-bottom: 2px;
}

.article-content a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.article-content a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 打印优化 */
@media print {
  .site-header,
  .back-to-top,
  .footer,
  .search-box,
  .theme-toggle,
  .mobile-toggle,
  .mobile-nav {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

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