```css
/* ===== tom影院 全局样式 ===== */
:root {
  --bg: #f7f9fc;
  --bg-card: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #334155;
  --text-heading: #0f172a;
  --text-accent: #1e3a8a;
  --btn-bg: #1e3a8a;
  --btn-text: #ffffff;
  --border-light: #d1d5db;
  --nav-bg: #ffffff;
  --footer-bg: #111827;
  --footer-text: #e2e8f0;
  --footer-heading: #f8fafc;
  --banner-overlay: rgba(10, 20, 40, 0.6);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --code-bg: #f1f5f9;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --gradient-start: #0b1e33;
  --gradient-end: #1a365d;
  --accent-glow: rgba(30, 58, 138, 0.2);
}

[data-theme="dark"] {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #e2e8f0;
  --text-secondary: #cbd5e1;
  --text-heading: #f8fafc;
  --text-accent: #93c5fd;
  --btn-bg: #3b82f6;
  --btn-text: #ffffff;
  --border-light: #334155;
  --nav-bg: #0f172a;
  --footer-bg: #020617;
  --footer-text: #cbd5e1;
  --footer-heading: #f1f5f9;
  --banner-overlay: rgba(0, 0, 0, 0.7);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  --code-bg: #1e293b;
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(148, 163, 184, 0.2);
  --gradient-start: #0f172a;
  --gradient-end: #1e293b;
  --accent-glow: rgba(59, 130, 246, 0.15);
}

* {
  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, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 5px;
  transition: background 0.3s;
}

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

/* ===== 导航栏 ===== */
.navbar {
  background: var(--nav-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
  opacity: 0.3;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: transform 0.3s ease;
}

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

.logo span {
  color: var(--text-accent);
  background: linear-gradient(135deg, var(--text-accent), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s, transform 0.2s;
  position: relative;
}

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

.nav-links a:hover {
  color: var(--text-accent);
  transform: translateY(-1px);
}

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

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

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

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

.search-box input {
  border: none;
  background: transparent;
  padding: 8px 14px;
  color: var(--text-primary);
  width: 180px;
  outline: none;
  font-size: 0.95rem;
  transition: width 0.3s;
}

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

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

.search-box button {
  background: var(--btn-bg);
  border: none;
  color: var(--btn-text);
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.theme-toggle,
.menu-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-heading);
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.theme-toggle::before,
.menu-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.theme-toggle:hover::before,
.menu-toggle:hover::before {
  opacity: 1;
}

.menu-toggle {
  display: none;
}

/* 移动菜单 */
.mobile-menu {
  display: none;
  background: var(--nav-bg);
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: slideDown 0.3s ease;
}

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

.mobile-menu a {
  display: block;
  padding: 10px 0;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
  transition: color 0.3s, padding-left 0.3s;
}

.mobile-menu a:hover {
  color: var(--text-accent);
  padding-left: 8px;
}

/* ===== Banner ===== */
.banner {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow), transparent);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--banner-overlay);
  z-index: 1;
  backdrop-filter: blur(2px);
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: fadeInUp 0.8s ease;
}

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

.banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.banner p {
  font-size: 1.2rem;
  color: #f1f5f9;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  line-height: 1.8;
}

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

.btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 12px 28px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* ===== 卡片区 ===== */
.section {
  padding: 60px 0;
  position: relative;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  border-left: 6px solid var(--text-accent);
  padding-left: 16px;
  position: relative;
  transition: color 0.3s;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 16px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--text-accent), transparent);
  border-radius: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

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

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

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px var(--accent-glow);
  border-color: var(--text-accent);
}

.card h3 {
  color: var(--text-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  transition: color 0.3s;
}

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

.card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.card a {
  color: var(--text-accent);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.card a::after {
  content: '→';
  margin-left: 4px;
  transition: transform 0.3s;
  display: inline-block;
}

.card a:hover::after {
  transform: translateX(4px);
}

/* 文章卡片 */
.article-list {
  margin-top: 30px;
}

.article-item {
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.article-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--text-accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

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

.article-item:hover::before {
  transform: scaleY(1);
}

.article-item h4 {
  color: var(--text-heading);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.article-item:hover h4 {
  color: var(--text-accent);
}

.article-item .meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-item .meta::before {
  content: '📅';
}

.article-item p {
  color: var(--text-secondary);
  flex-basis: 100%;
  line-height: 1.6;
}

.read-more {
  color: var(--text-accent);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.read-more:hover {
  text-decoration: underline;
  padding-right: 20px;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: -10px;
  opacity: 0;
  transition: all 0.3s;
}

.read-more:hover::after {
  right: 0;
  opacity: 1;
}

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

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

.faq-item.open {
  background: var(--bg-card);
  border-color: var(--text-accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.faq-question {
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  font-size: 1.05rem;
}

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

.faq-question span {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--code-bg);
  color: var(--text-accent);
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
  background: var(--text-accent);
  color: var(--btn-text);
}

.faq-answer {
  color: var(--text-secondary);
  margin-top: 12px;
  display: none;
  line-height: 1.7;
  animation: fadeIn 0.3s ease;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

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

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

/* HowTo */
.howto-box {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  margin: 30px 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.howto-box:hover {
  border-color: var(--text-accent);
  box-shadow: var(--shadow);
}

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

.howto-box li {
  margin-bottom: 8px;
  position: relative;
  transition: transform 0.3s;
}

.howto-box li:hover {
  transform: translateX(4px);
  color: var(--text-accent);
}

.howto-box h4 {
  color: var(--text-heading);
  margin-top: 20px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 12px;
}

.howto-box h4::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--text-accent);
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
  opacity: 0.3;
}

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

.footer h4 {
  color: var(--footer-heading);
  margin-bottom: 16px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 8px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--text-accent);
}

.footer a {
  color: var(--footer-text);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: all 0.3s;
  position: relative;
  padding-left: 0;
}

.footer a:hover {
  color: #ffffff;
  padding-left: 8px;
  text-decoration: none;
}

.footer a:hover::before {
  content: '▸';
  position: absolute;
  left: -4px;
  color: var(--text-accent);
}

.copyright {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
  color: var(--footer-text);
  font-size: 0.9rem;
}

.copyright p {
  margin-bottom: 8px;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--btn-bg);
  color: var(--btn-text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.6rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px var(--accent-glow);
  background: var(--text-accent);
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

th,
td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
  color: var(--text-primary);
  transition: background 0.3s;
}

th {
  background: var(--code-bg);
  color: var(--text-heading);
  font-weight: 600;
}

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

/* 统计数字 */
.stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0;
  padding: 40px 20px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-width: 120px;
}

.stat-item:hover {
  transform: translateY(-4px);
  background: var(--code-bg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text-heading), var(--text-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

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

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

/* 联系卡片 */
#contact .card {
  position: relative;
}

#contact .card p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

#contact .card p::before {
  content: '•';
  color: var(--text-accent);
  font-weight: bold;
}

/* 友情链接 */
#contact .container > div:last-child {
  transition: all 0.3s ease;
}

#contact .container > div:last-child:hover {
  border-color: var(--text-accent);
  box-shadow: var(--shadow);
}

/* 响应式 */
@media (max-width: 768px) {
  .nav-links,
  .nav-actions .search-box {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .banner h1 {
    font-size: 2rem;
  }

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

  .section {
    padding: 40px 0;
  }

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

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

  .stats {
    gap: 20px;
    padding: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .container {
    padding: 0 16px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer a:hover {
    padding-left: 0;
  }

  .footer a:hover::before {
    content: none;
  }

  .howto-box {
    padding: 20px;
  }

  .article-item {
    flex-direction: column;
  }

  .article-item .meta {
    align-self: flex-start;
  }

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

/* 小屏幕手机 */
@media (max-width: 480px) {
  .banner {
    padding: 50px 0;
  }

  .banner h1 {
    font-size: 1.6rem;
  }

  .container {
    padding: 0 12px;
  }

  .nav-inner {
    height: 60px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .theme-toggle,
  .menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .section {
    padding: 30px 0;
  }

  .card {
    padding: 18px;
  }

  .faq-item {
    padding: 16px;
  }

  .howto-box {
    padding: 16px;
  }
}

/* 打印样式 */
@media print {
  .navbar,
  .banner,
  .back-to-top,
  .footer,
  .search-box,
  .theme-toggle,
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .section {
    padding: 20px 0;
  }

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

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