/* design_glassmorphism ?完整毛玻璃暗色主?*/

:root {
  --primary: #6366f1;
  --secondary: #818cf8;
  --accent: #a78bfa;
  --bg-start: #0f0c29;
  --bg-mid: #302b63;
  --bg-end: #24243e;
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.3);
  --text: #f1f5f9;
  --text-muted: rgba(255,255,255,0.6);
  --radius: 16px;
  --radius-sm: 8px;
  --font: 'Inter','PingFang SC','Microsoft YaHei',sans-serif;
  --transition: 0.3s ease;
  --text-light: #94a3b8;
  --bg: #f8fafc;
;}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-start), var(--bg-mid), var(--bg-end));
  background-attachment: fixed;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; }

/* ====== Glass Card (核心组件) ====== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition);
}
.glass-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* ====== Container ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 992px) { .container { padding: 0 20px; } }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ====== Background Gradient ====== */
.bg-gradient {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--bg-start), var(--bg-mid), var(--bg-end));
  z-index: -1;
}

/* ====== Topbar ====== */
.topbar {
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}
.topbar .container { padding-top: 0; padding-bottom: 0; }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.topbar-contact, .topbar-email {
  color: var(--text-muted);
}
.topbar-contact a, .topbar-email a {
  color: var(--text-muted);
}
.topbar-contact a:hover, .topbar-email:hover {
  color: var(--accent);
}

/* ====== Header ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,12,41,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.header .container { padding-top: 0; padding-bottom: 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { color: var(--accent); }

/* Nav */
.nav { flex: 1; }
.nav-list {
  display: flex;
  gap: 0;
  margin: 0;
  list-style: none;
}
.nav-list li { margin: 0; position: relative; }
.nav-list a {
  display: block;
  padding: 20px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
/* Subnav */
.has-child { position: relative; }
.subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 300;
  padding: 8px 0;
  background: rgba(30,27,75,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.has-child:hover > .subnav { display: block; }
.subnav a {
  padding: 10px 20px;
  border-radius: 0;
}
.subnav a:hover { background: rgba(255,255,255,0.1); }

/* Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { display: block; }

/* Header Search */
.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  gap: 8px;
}
.header-search input {
  background: none;
  border: none;
  color: #fff;
  font-size: 13px;
  width: 120px;
  outline: none;
}
.header-search input::placeholder { color: rgba(255,255,255,0.4); }
.header-search button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 2px;
  display: flex;
}
.header-search button:hover { color: var(--accent); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15,12,41,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav.active { max-height: 80vh; overflow-y: auto; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .subnav { position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.03); padding-left: 20px; }
  .header-search { margin: 12px 20px; }
  .header-search input { width: 100%; }
}

/* ====== Hero ====== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.hero-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 40px;
}
.hero-badge {
  display: inline-block;
  background: rgba(99,102,241,0.2);
  color: var(--accent);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-glass {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-block { width: 100%; }

@media (max-width: 768px) {
  .hero { padding: 60px 0; }
  .hero-content { padding: 32px 24px; }
  .hero-title { font-size: 2rem; }
}

/* ====== Section ====== */
.section { padding: 72px 0; }
.section-alt { background: rgba(255,255,255,0.02); }
.section-sm { padding: 48px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ====== Service Grid (home.html) ====== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 992px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  display: block;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  text-align: center;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-more {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ====== Advantage Grid (home.html) ====== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .advantage-grid { grid-template-columns: 1fr; } }

.advantage-card {
  padding: 32px 28px;
  text-align: center;
}
.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(99,102,241,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.advantage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.advantage-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ====== News Grid (home.html) ====== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

.news-card { padding: 0; overflow: hidden; }
.news-card-body { padding: 24px; }
.news-card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
}
.news-card-cat {
  background: rgba(99,102,241,0.2);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.news-card-date { color: var(--text-muted); line-height: 2; }
.news-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-card h3 a { color: #fff; text-decoration: none; }
.news-card h3 a:hover { color: var(--accent); }
.news-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.news-link:hover { text-decoration: underline; }

/* ====== CTA Section (home.html) ====== */
.cta-section {
  padding: 72px 0;
  text-align: center;
}
.cta-content {
  padding: 48px 40px;
}
.cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* ====== Friend Links (home.html) ====== */
.friend-links {
  text-align: center;
}
.friend-links h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.friend-links a {
  display: inline-block;
  margin: 4px 8px;
  color: var(--text-muted);
  font-size: 13px;
}
.friend-links a:hover { color: var(--accent); }

/* ====== Breadcrumb ====== */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--glass-border);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,0.3); }
.breadcrumb span:last-child { color: var(--text); }

/* ====== Page Header ====== */
.page-header {
  padding: 48px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
@media (max-width: 768px) { .page-header { padding: 36px 0; } }

/* ====== Content Layout ====== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}
@media (max-width: 992px) { .content-with-sidebar { grid-template-columns: 1fr; } }
.main-content { min-height: 400px; }

/* ====== Article List ====== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article-item { padding: 28px; }
.article-item-body { }
.article-item h2 { margin-bottom: 10px; }
.article-item h2 a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}
.article-item h2 a:hover { color: var(--accent); }
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.read-more {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.read-more:hover { text-decoration: underline; }

/* ====== Pagination ====== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.page-link {
  padding: 10px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.page-link:hover {
  background: rgba(99,102,241,0.3);
  border-color: var(--primary);
  color: #fff;
}
.page-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.page-info {
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ====== Empty State ====== */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ====== Sidebar ====== */
.sidebar { }
.sidebar-widget {
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-widget h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.sidebar-nav { list-style: none; }
.sidebar-nav li { margin-bottom: 4px; }
.sidebar-nav a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  margin-bottom: 2px;
}
.sidebar-nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }

.sidebar-hot { list-style: none; }
.sidebar-hot li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-hot li:last-child { border-bottom: none; }
.hot-rank {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar-hot a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  text-decoration: none;
}
.sidebar-hot a:hover { color: var(--accent); }

/* ====== Detail Page ====== */
.detail-article { padding: 36px; }
.detail-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}
.detail-header h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}
.detail-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.detail-tags a {
  padding: 4px 12px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 50px;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition);
}
.detail-tags a:hover { background: rgba(99,102,241,0.3); color: #fff; }

.detail-body {
  line-height: 1.9;
  font-size: 15px;
  color: var(--text);
}
.detail-body h2, .detail-body h3 { margin-top: 28px; margin-bottom: 14px; color: #fff; }
.detail-body p { margin-bottom: 18px; }
.detail-body ul, .detail-body ol { margin-bottom: 18px; padding-left: 24px; }
.detail-body li { margin-bottom: 8px; }
.detail-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

/* Detail Nav */
.detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  gap: 20px;
}
.detail-nav-prev, .detail-nav-next { flex: 1; }
.nav-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.detail-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.5;
}
.detail-nav a:hover { color: var(--accent); }
.detail-nav-next { text-align: right; }

/* Related */
.related-section { margin-top: 36px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-item {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.related-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
}
.related-item h4:hover { color: var(--accent); }
.related-item span { font-size: 12px; color: var(--text-muted); }

/* ====== Page Body (about, page) ====== */
.page-body {
  line-height: 1.9;
  font-size: 15px;
  color: var(--text);
}
.page-body h2, .page-body h3 { margin-top: 28px; margin-bottom: 14px; color: #fff; }
.page-body p { margin-bottom: 18px; }
.page-body ul, .page-body ol { margin-bottom: 18px; padding-left: 24px; }
.page-body li { margin-bottom: 8px; }
.page-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

/* ====== Contact Page ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { padding: 32px; }
.contact-info h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(99,102,241,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 18px;
}
.contact-item h4 { font-size: 14px; color: #fff; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-muted); }

.contact-form-wrap { padding: 32px; }
.contact-form-wrap h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  font-family: var(--font);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

/* ====== Sitemap ====== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .sitemap-grid { grid-template-columns: 1fr; } }
.sitemap-group {
  padding: 24px;
}
.sitemap-group h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
}
.sitemap-group ul { list-style: none; }
.sitemap-group li { margin-bottom: 6px; }
.sitemap-group a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}
.sitemap-group a:hover { color: var(--accent); }

/* ====== Footer ====== */
.footer {
  padding: 54px 0 0;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 992px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { }
.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-contact {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
}
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent); }

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ====== Float Widget ====== */
.float-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.float-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.float-top { }
.tooltip {
  position: absolute;
  right: 60px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.float-btn:hover .tooltip { opacity: 1; }


/* ========== 内容区样式补?(auto-added) ========== */

/* 段落间距 */
.article-content p,
.article-text p,
.article-body p,
.detail-body p,
.article-detail .content p,
.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* 标题样式 */
.article-content h2,
.article-text h2,
.article-body h2,
.detail-body h2,
.article-detail .content h2,
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 14px;
  line-height: 1.4;
}

.article-content h3,
.article-text h3,
.article-body h3,
.detail-body h3,
.article-detail .content h3,
.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  line-height: 1.4;
}

/* 列表样式 */
.article-content ul,
.article-text ul,
.article-body ul,
.detail-body ul,
.article-detail .content ul,
.page-content ul {
  list-style: disc;
  margin: 0 0 16px 24px;
}

.article-content ol,
.article-text ol,
.article-body ol,
.detail-body ol,
.article-detail .content ol,
.page-content ol {
  list-style: decimal;
  margin: 0 0 16px 24px;
}

.article-content li,
.article-text li,
.article-body li,
.detail-body li,
.article-detail .content li,
.page-content li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* 图片样式 */
.article-content img,
.article-text img,
.article-body img,
.detail-body img,
.article-detail .content img,
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}

/* 引用?*/
.article-content blockquote,
.article-text blockquote,
.article-body blockquote,
.detail-body blockquote,
.article-detail .content blockquote,
.page-content blockquote {
  border-left: 4px solid var(--primary, #2563eb);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--bg, #f9fafb);
  font-style: italic;
}

/* 代码?*/
.article-content code,
.article-text code,
.article-body code,
.detail-body code,
.article-detail .content code,
.page-content code {
  background: var(--bg, #f3f4f6);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.article-content pre,
.article-text pre,
.article-body pre,
.detail-body pre,
.article-detail .content pre,
.page-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 16px 0;
}

/* 表格样式 */
.article-content table,
.article-text table,
.article-body table,
.detail-body table,
.article-detail .content table,
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.article-content th,
.article-text th,
.article-body th,
.detail-body th,
.article-detail .content th,
.page-content th {
  background: var(--bg, #f3f4f6);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border, #e5e7eb);
}

.article-content td,
.article-text td,
.article-body td,
.detail-body td,
.article-detail .content td,
.page-content td {
  padding: 10px 12px;
  border: 1px solid var(--border, #e5e7eb);
}

/* ========== 品牌标语防溢?========== */
.brand-tagline,
[class*="brand-tagline"] {
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  color: var(--text-light, #6b7280);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .brand-tagline,
  [class*="brand-tagline"] {
    max-width: 200px;
    font-size: 11px;
  }
}



/* 一级栏?- 醒目样式 */
.sidebar-cats > li > a,
.side-nav > li > a,
.sidebar-widget .side-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  background: #f9fafb;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid var(--primary, #2563eb);
  transition: all 0.2s;
}

.sidebar-cats > li > a:hover,
.side-nav > li > a:hover,
.sidebar-widget .side-nav > li > a:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  padding-left: 18px;
}

/* 二级栏目 - 三列网格 */
.sidebar-cats > li > ul,
.sidebar-cats > li > .sidebar-subcats,
.side-nav > li > ul,
.sidebar-widget .side-nav > li > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 8px;
  padding: 8px 10px;
  margin: 0 0 8px 0;
  list-style: none;
}

.sidebar-cats > li > ul > li,
.sidebar-cats > li > .sidebar-subcats > li,
.side-nav > li > ul > li,
.sidebar-widget .side-nav > li > ul > li {
  margin: 0;
}

.sidebar-cats > li > ul > li > a,
.sidebar-cats > li > .sidebar-subcats > li > a,
.side-nav > li > ul > li > a,
.sidebar-widget .side-nav > li > ul > li > a {
  display: block;
  padding: 5px 8px;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-cats > li > ul > li > a:hover,
.sidebar-cats > li > .sidebar-subcats > li > a:hover,
.side-nav > li > ul > li > a:hover,
.sidebar-widget .side-nav > li > ul > li > a:hover {
  color: var(--primary, #2563eb);
  background: #eff6ff;
}

/* 响应式：小屏幕改为两?*/
@media (max-width: 992px) {
  .sidebar-cats > li > ul,
  .sidebar-cats > li > .sidebar-subcats,
  .side-nav > li > ul,
  .sidebar-widget .side-nav > li > ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sidebar-cats > li > ul,
  .sidebar-cats > li > .sidebar-subcats,
  .side-nav > li > ul,
  .sidebar-widget .side-nav > li > ul {
    grid-template-columns: 1fr;
  }
}

/* ========== 侧栏分类优化 (auto-added) ========== */

/* 一级栏?- 醒目样式，颜色跟随主?*/
.sidebar-cats > li > a,
.side-nav > li > a,
.sidebar-widget .side-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f2937);
  background: var(--bg, #f9fafb);
  border-radius: 6px;
  margin-bottom: 6px;
  border-left: 3px solid var(--primary, #2563eb);
  transition: all 0.2s;
}

.sidebar-cats > li > a:hover,
.side-nav > li > a:hover,
.sidebar-widget .side-nav > li > a:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  padding-left: 16px;
}

/* 二级栏目 - 自适应布局，处理长名称 */
.sidebar-cats > li > ul,
.sidebar-cats > li > .sidebar-subcats,
.side-nav > li > ul,
.sidebar-widget .side-nav > li > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  margin: 0 0 6px 0;
  list-style: none;
}

.sidebar-cats > li > ul > li,
.sidebar-cats > li > .sidebar-subcats > li,
.side-nav > li > ul > li,
.sidebar-widget .side-nav > li > ul > li {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.sidebar-cats > li > ul > li > a,
.sidebar-cats > li > .sidebar-subcats > li > a,
.side-nav > li > ul > li > a,
.sidebar-widget .side-nav > li > ul > li > a {
  display: block;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-light, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  border-radius: 4px;
  border: 1px solid var(--border, #e5e7eb);
  transition: all 0.2s;
}

.sidebar-cats > li > ul > li > a:hover,
.sidebar-cats > li > .sidebar-subcats > li > a:hover,
.side-nav > li > ul > li > a:hover,
.sidebar-widget .side-nav > li > ul > li > a:hover {
  color: var(--primary, #2563eb);
  border-color: var(--primary, #2563eb);
  background: rgba(37, 99, 235, 0.05);
}

/* 响应?*/
@media (max-width: 768px) {
  .sidebar-cats > li > ul > li > a,
  .sidebar-cats > li > .sidebar-subcats > li > a,
  .side-nav > li > ul > li > a,
  .sidebar-widget .side-nav > li > ul > li > a {
    max-width: 100px;
    font-size: 12px;
  }
}
/* ===== Dark theme sidebar color fix ===== */
.side-nav > li > a, .sidebar-widget .side-nav > li > a { color: rgba(255,255,255,.9) !important; background: rgba(255,255,255,.08) !important; }
.side-nav > li > a:hover { background: var(--primary, #6366f1) !important; color: #fff !important; }
.side-nav > li > ul > li > a { color: rgba(255,255,255,.7) !important; }
.side-nav > li > ul > li > a:hover { color: #fff !important; background: rgba(255,255,255,.08) !important; }