```css
/* ===== 设计令牌 & 颜色系统（浅色/深色） ===== */
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text-primary: #1d2a3a;
  --text-secondary: #2c3e50;
  --text-tertiary: #3d4f5f;
  --text-link: #0b4f6c;
  --text-link-hover: #0a3a4a;
  --text-on-dark: #f1f5f9;
  --text-on-dark-secondary: #d1dbe6;
  --brand: #b68b40;
  --brand-dark: #8b6420;
  --border: #cbd5e1;
  --shadow: 0 10px 25px rgba(0,0,0,0.06);
  --radius: 16px;
  --max-width: 1280px;
  --header-bg: rgba(255,255,255,0.85);
  --footer-bg: #1d2a3a;
  --footer-text: #e5e7eb;
  --footer-text-dim: #cbd5e1;
  --nav-shadow: 0 4px 20px rgba(0,0,0,0.04);
  --code-bg: #eef2f7;
  --table-header: #e2e8f0;
  --input-bg: #ffffff;
  --input-border: #94a3b8;
  --gradient-banner: linear-gradient(145deg, #1d2a3a, #2e3f53);
  --gradient-brand: linear-gradient(135deg, var(--brand), var(--brand-dark));
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.3);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.08);
  --hover-lift: translateY(-6px);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0f1722;
  --surface: #1a2634;
  --surface-2: #1f2d3d;
  --text-primary: #f1f5f9;
  --text-secondary: #d1dbe6;
  --text-tertiary: #b6c3d2;
  --text-link: #8ec9e0;
  --text-link-hover: #aad4e8;
  --text-on-dark: #ffffff;
  --text-on-dark-secondary: #e2e8f0;
  --brand: #e3b04b;
  --brand-dark: #f0c966;
  --border: #334155;
  --shadow: 0 10px 25px rgba(0,0,0,0.4);
  --header-bg: rgba(15,23,34,0.85);
  --footer-bg: #0b1119;
  --footer-text: #e5e7eb;
  --footer-text-dim: #b0becb;
  --code-bg: #1e293b;
  --table-header: #263445;
  --input-bg: #1a2634;
  --input-border: #526a82;
  --gradient-banner: linear-gradient(145deg, #0f1722, #1e293b);
  --gradient-brand: linear-gradient(135deg, #e3b04b, #f0c966);
  --glass-bg: rgba(26,38,52,0.7);
  --glass-border: rgba(255,255,255,0.1);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

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

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p, li, blockquote, figcaption, td, th, span, div {
  color: var(--text-primary);
}

a {
  color: var(--text-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border 0.2s, color 0.2s;
}

a:hover {
  color: var(--text-link-hover);
  border-bottom-color: currentColor;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 容器与布局 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== 卡片与区块 ===== */
.card, .article-card, .faq-item, .howto-box, .info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before, .article-card::before, .faq-item::before, .howto-box::before, .info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover::before, .article-card:hover::before, .faq-item:hover::before, .howto-box:hover::before, .info-panel:hover::before {
  opacity: 1;
}

.card:hover, .article-card:hover {
  transform: var(--hover-lift);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-left: 6px solid var(--brand);
  padding-left: 14px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 20px;
  width: 60px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.subhead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  background: var(--gradient-brand);
  color: #1d2a3a;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(182, 139, 64, 0.3);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.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 0.5s;
}

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

.btn:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(182, 139, 64, 0.4);
}

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

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(182, 139, 64, 0.3);
}

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--nav-shadow);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  position: relative;
  transition: transform 0.3s;
}

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

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s;
}

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

.nav-links a:hover {
  border-bottom-color: transparent;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 40px;
  padding: 4px 8px 4px 16px;
  transition: var(--transition-smooth);
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(182, 139, 64, 0.1);
}

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

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

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

.theme-toggle {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.theme-toggle:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: rotate(15deg);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.3s;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* ===== 轮播/Banner ===== */
.banner {
  background: var(--gradient-banner);
  color: #fff;
  border-radius: 28px;
  padding: 48px 40px;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(29, 42, 58, 0.3);
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(182,139,64,0.2) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
}

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

.banner-text {
  flex: 2;
  min-width: 240px;
  position: relative;
  z-index: 1;
}

.banner-text h2 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.banner-text p {
  color: var(--text-on-dark-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
}

.banner-cta {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.banner-cta .btn {
  background: #f2c94c;
  color: #1d2a3a;
  font-size: 1.1rem;
  padding: 14px 36px;
  box-shadow: 0 8px 30px rgba(242, 201, 76, 0.4);
}

.banner-cta .btn:hover {
  background: #e0b84b;
  transform: translateY(-3px) scale(1.02);
}

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

.article-card {
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.article-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card .meta {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.article-card p {
  color: var(--text-secondary);
  flex-grow: 1;
}

.article-card .btn {
  align-self: flex-start;
  margin-top: 16px;
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq-item {
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
  user-select: none;
  gap: 12px;
}

.faq-question span {
  transition: transform 0.3s;
  flex-shrink: 0;
}

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

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

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

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

details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s;
}

details summary:hover {
  background: var(--surface-2);
}

details .faq-item {
  margin: 8px 0;
}

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

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

th {
  background: var(--table-header);
  color: var(--text-primary);
  font-weight: 600;
}

td, th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  transition: background 0.2s;
}

tbody tr:hover {
  background: var(--surface-2);
}

/* ===== 页脚 ===== */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 24px;
  margin-top: 60px;
  border-radius: 32px 32px 0 0;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.footer-grid a {
  color: var(--footer-text-dim);
  display: inline-block;
  padding: 4px 0;
  transition: var(--transition-smooth);
}

.footer-grid a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #2d3f54;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--footer-text-dim);
  font-size: 0.9rem;
}

/* ===== 工具类 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-brand);
  color: #1d2a3a;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  cursor: pointer;
  border: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  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 12px 30px rgba(0,0,0,0.3);
}

.stats-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.stat-item {
  background: var(--surface);
  padding: 18px 28px;
  border-radius: 40px;
  font-weight: 600;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-color: var(--brand);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  font-size: 0.9rem;
  margin: 20px 0;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.breadcrumb span {
  color: var(--text-tertiary);
  margin: 0 6px;
}

.breadcrumb a {
  color: var(--text-link);
  transition: var(--transition-smooth);
}

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

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

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

/* ===== 引用块 ===== */
blockquote.card {
  font-style: italic;
  position: relative;
  padding: 20px 24px;
}

blockquote.card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 4rem;
  color: var(--brand);
  opacity: 0.3;
  font-style: normal;
}

/* ===== 列表样式 ===== */
ul, ol {
  padding-left: 1.5rem;
}

li {
  margin: 8px 0;
}

/* ===== 详情/折叠 ===== */
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--surface);
  transition: var(--transition-smooth);
}

details:hover {
  border-color: var(--brand);
}

details summary {
  color: var(--text-primary);
  font-size: 1rem;
}

/* ===== 联系表单/卡片 ===== */
#contact .card {
  position: relative;
  overflow: hidden;
}

#contact .card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(182,139,64,0.1) 0%, transparent 70%);
  pointer-events: none;
}

#contact p {
  margin: 8px 0;
  position: relative;
  z-index: 1;
}

/* ===== 无障碍与焦点 ===== */
::selection {
  background: var(--brand);
  color: #fff;
}

: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);
}

::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 5px;
}

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

/* ===== 响应式布局 ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .banner {
    padding: 36px 28px;
  }
  
  .banner-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    gap: 16px;
    background: var(--header-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .search-box {
    display: none;
  }
  
  .theme-toggle {
    padding: 8px 12px;
  }
  
  .banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }
  
  .banner-cta {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stats-bar {
    gap: 12px;
  }
  
  .stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 14px 16px;
    font-size: 0.9rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .banner {
    border-radius: 20px;
    padding: 28px 16px;
    margin: 20px 0;
  }
  
  .banner-text h2 {
    font-size: 1.6rem;
  }
  
  .banner-text p {
    font-size: 1rem;
  }
  
  .card, .article-card, .faq-item, .howto-box, .info-panel {
    padding: 16px;
    border-radius: 12px;
  }
  
  .section-title {
    font-size: 1.4rem;
    padding-left: 10px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .stats-bar {
    flex-direction: column;
  }
  
  .stat-item {
    width: 100%;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-grid h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-grid a:hover {
    transform: none;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
    padding: 10px 12px;
  }
  
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .table-wrap {
    border-radius: 12px;
  }
  
  td, th {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

/* ===== 打印样式 ===== */
@media print {
  .navbar, .back-to-top, .theme-toggle, .menu-toggle, .search-box {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .card, .article-card, .faq-item, .howto-box, .info-panel {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ===== 减少动效 ===== */
@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;
  }
}

/* ===== 暗色模式微调 ===== */
[data-theme="dark"] .banner {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

[data-theme="dark"] .banner-text h2 {
  color: #f0f0f0;
}

[data-theme="dark"] .banner-text p {
  color: #c0c8d0;
}

[data-theme="dark"] .btn {
  color: #1d2a3a;
}

[data-theme="dark"] .btn-outline {
  color: var(--brand);
}

[data-theme="dark"] .btn-outline:hover {
  color: #1d2a3a;
}

[data-theme="dark"] .theme-toggle {
  background: #1a2634;
  border-color: #334155;
}

[data-theme="dark"] .search-box {
  background: #1a2634;
  border-color: #526a82;
}

[data-theme="dark"] .search-box input {
  color: #f1f5f9;
}

[data-theme="dark"] .search-box input::placeholder {
  color: #b6c3d2;
}

[data-theme="dark"] .logo {
  background: linear-gradient(135deg, #e3b04b, #f0c966);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .stat-item {
  background: #1a2634;
  border-color: #334155;
}

[data-theme="dark"] .stat-item:hover {
  border-color: #e3b04b;
}

[data-theme="dark"] details {
  background: #1a2634;
  border-color: #334155;
}

[data-theme="dark"] details summary:hover {
  background: #1f2d3d;
}

[data-theme="dark"] blockquote.card::before {
  color: #e3b04b;
}

[data-theme="dark"] .breadcrumb {
  background: #1a2634;
  border-color: #334155;
}

/* ===== 渐变边框卡片 ===== */
.gradient-border {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              var(--gradient-brand) border-box;
}

/* ===== 毛玻璃效果 ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ===== 动画效果 ===== */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== 悬停动画增强 ===== */
.hover-grow {
  transition: transform 0.3s ease;
}

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

.hover-shadow {
  transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

/* ===== 分隔线 ===== */
.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
  position: relative;
}

.divider::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: 4px;
}

/* ===== 标签 ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  margin: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.tag:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* ===== 评分星星 ===== */
.rating {
  color: var(--brand);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* ===== 播放按钮 ===== */
.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(182, 139, 64, 0.4);
  position: relative;
}

.play-btn::after {
  content: '▶';
  color: #fff;
  font-size: 1.4rem;
  margin-left: 4px;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(182, 139, 64, 0.5);
}

/* ===== 进度条 ===== */
.progress {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 3px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

/* ===== 通知/提示 ===== */
.notice {
  padding: 16px 20px;
  border-radius: 12px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInUp 0.5s ease;
}

.notice-info {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  color: #1565c0;
}

.notice-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
}

.notice-warning {
  background: #fff3e0;
  border: 1px solid #ffcc80;
  color: #e65100;
}

.notice-error {
  background: #fbe9e7;
  border: 1px solid #ef9a9a;
  color: #c62828;
}

/* ===== 响应式字体 ===== */
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
}

/* ===== 暗色模式滚动条 ===== */
[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0f1722;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #e3b04b;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #f0c966;
}

/* ===== 打印优化 ===== */
@media print {
  .banner, .stats-bar, .back-to-top, .navbar, footer, .breadcrumb {
    display: none !important;
  }
  
  .grid {
    display: block !important;
  }
  
  .card, .article-card {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 20px;
  }
}
```