:root {
  --bg: #070b14;
  --bg-card: #0d1220;
  --gold: #d4a843;
  --gold-light: #f0c040;
  --blue: #3b82f6;
  --text: #e5e7eb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; }
.blog-header { background: linear-gradient(180deg, #0a0f1c, var(--bg)); border-bottom: 1px solid rgba(212,168,67,0.15); padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.blog-header .logo { color: var(--gold); font-weight: 700; text-decoration: none; font-size: 16px; }
.blog-header nav a { color: var(--text-secondary); text-decoration: none; margin-left: 28px; font-size: 14px; }
.blog-header nav a:hover { color: var(--gold); }
.blog-article { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.article-meta .tag { background: rgba(212,168,67,0.1); color: var(--gold); padding: 4px 12px; border-radius: 4px; font-size: 12px; border: 1px solid rgba(212,168,67,0.2); }
.article-meta time { color: var(--text-muted); font-size: 13px; }
.blog-article h1 { font-size: 32px; font-weight: 700; margin-bottom: 32px; }
.blog-article h2 { font-size: 22px; font-weight: 600; margin: 40px 0 16px; color: var(--gold-light); }
.blog-article h3 { font-size: 18px; font-weight: 600; margin: 28px 0 12px; }
.blog-article p { margin-bottom: 16px; color: var(--text-secondary); }
.blog-article ul, .blog-article ol { margin-bottom: 16px; padding-left: 24px; color: var(--text-secondary); }
.blog-article li { margin-bottom: 8px; }
.blog-article strong { color: var(--text); }
.blog-article a { color: var(--blue); text-decoration: none; }
.blog-article a:hover { text-decoration: underline; }
.blog-article blockquote { border-left: 3px solid var(--gold); padding-left: 20px; margin: 24px 0; color: var(--text-muted); font-style: italic; }
.blog-article table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.blog-article th { background: rgba(212,168,67,0.05); padding: 10px 14px; text-align: left; color: var(--gold); border-bottom: 1px solid rgba(212,168,67,0.15); }
.blog-article td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text-secondary); }
.blog-footer { border-top: 1px solid rgba(212,168,67,0.1); padding: 40px 24px; text-align: center; color: var(--text-muted); font-size: 13px; }
.blog-list { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.blog-list h1 { font-size: 28px; margin-bottom: 8px; }
.blog-list .subtitle { color: var(--text-muted); margin-bottom: 40px; }
.article-card { background: var(--bg-card); border: 1px solid rgba(212,168,67,0.08); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.article-card:hover { border-color: rgba(212,168,67,0.2); }
.article-card .meta { display: flex; gap: 12px; margin-bottom: 12px; }
.article-card h2 { font-size: 18px; margin-bottom: 8px; }
.article-card h2 a { color: var(--text); text-decoration: none; }
.article-card h2 a:hover { color: var(--gold); }
.article-card .excerpt { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
@media (max-width: 640px) {
  .blog-article { padding: 32px 20px; }
  .blog-article h1 { font-size: 24px; }
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--gold-light);
}
.breadcrumb span.sep {
  margin: 0 8px;
  color: var(--border);
}
.breadcrumb span.current {
  color: var(--gold);
}

/* ===== 全局悬浮联系按钮 ===== */
.geo-contact-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8922a);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212,168,67,0.35), 0 0 0 1px rgba(212,168,67,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.geo-contact-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(212,168,67,0.5), 0 0 0 2px rgba(212,168,67,0.3);
}
.geo-contact-fab svg {
  width: 26px;
  height: 26px;
  fill: #0a0a0a;
}
.geo-contact-panel {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 9997;
  width: 280px;
  background: var(--bg-card);
  border: 1px solid rgba(212,168,67,0.12);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.geo-contact-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.geo-contact-panel h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  text-align: center;
}
.geo-contact-panel .qr-wrap {
  text-align: center;
  margin-bottom: 16px;
}
.geo-contact-panel .qr-wrap img {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(212,168,67,0.2);
}
.geo-contact-panel .qr-wrap span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}
.geo-contact-panel .email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(212,168,67,0.05);
  border-radius: 8px;
  border: 1px solid rgba(212,168,67,0.08);
  text-decoration: none;
  transition: all 0.2s;
}
.geo-contact-panel .email-row:hover {
  background: rgba(212,168,67,0.1);
  border-color: rgba(212,168,67,0.15);
}
.geo-contact-panel .email-row svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
}
.geo-contact-panel .email-row span {
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--mono, monospace);
}
.geo-contact-panel .close-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 12px;
}
