:root {
  --zh-text: #1f2329;
  --zh-muted: #667085;
  --zh-line: #e4e7ec;
  --zh-bg: #f6f7f9;
  --zh-card: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--zh-bg);
  color: var(--zh-text);
}

.bg-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-body,
#content {
  display: block;
  margin-top: 1.25rem;
  padding: 1.5rem !important;
  border: 1px solid var(--zh-line) !important;
  border-radius: 20px !important;
  background: var(--zh-card) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  color: var(--zh-text) !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.article-content {
  display: block;
  margin-top: 1.25rem;
  padding: 1.5rem !important;
  border: 1px solid var(--zh-line) !important;
  border-radius: 20px !important;
  background: var(--zh-card) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  color: var(--zh-text) !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.show-monitor {
  display: flex;
  justify-content: center;
}

.expand-container {
  width: 100%;
  max-width: 48rem;
}

.article-content {
  display: block;
  margin: 0 auto;
  padding: 2rem 1.5rem !important;
  border: 1px solid var(--zh-line) !important;
  border-radius: 24px !important;
  background: var(--zh-card) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06) !important;
  color: var(--zh-text) !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.article-content > h1:first-child {
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0f172a !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.75rem !important;
  color: var(--zh-muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.article-content > div:last-child {
  margin-top: 1.25rem !important;
  padding: 1.25rem !important;
  border-radius: 1rem !important;
  background: #f8fafc !important;
}

.article-meta .dot {
  opacity: 0.7;
}

.article-meta .name a {
  color: #165dff !important;
  text-decoration: none !important;
}

.article-meta .name a:hover {
  text-decoration: underline !important;
}

.ai-meta {
  margin: 0 0 1.25rem !important;
  padding: 0.8rem 1rem !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: #475467 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.article-content article {
  max-width: 100%;
}

.article-content .syl-article-base,
.article-content .tt-article-content {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.article-content .pgc-img {
  margin: 1.25rem 0 1.75rem !important;
}

.article-content .pgc-img img,
.article-content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: 18px !important;
}

.article-content .pgc-img-caption {
  margin-top: 0.5rem !important;
  color: var(--zh-muted) !important;
  font-size: 13px !important;
  text-align: center !important;
}

.article-content p {
  margin: 0 0 1.05rem !important;
  color: var(--zh-text) !important;
  font-size: 16px !important;
  line-height: 2 !important;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  margin: 1.8rem 0 0.9rem !important;
  padding-left: 0.85rem !important;
  border-left: 4px solid #165dff !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.article-content h1 {
  font-size: 1.45rem !important;
}

.article-content h2 {
  font-size: 1.25rem !important;
}

.article-content h3 {
  font-size: 1.08rem !important;
}

.article-content .sysbr {
  display: block;
  content: "";
}

.article-content > div:last-child > article > *:last-child {
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .article-content {
    padding: 2.5rem !important;
  }

  .article-content > h1:first-child {
    font-size: 2.625rem !important;
  }

  .article-content > div:last-child {
    padding: 1.5rem 1.25rem !important;
  }
}

.article-content p,
.display-content p,
.hidden-content p {
  margin: 0 0 1.1rem !important;
}

.article-title {
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0f172a !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.article-content strong,
.display-content strong,
.hidden-content strong {
  color: #0f172a !important;
}

.article-content img,
.display-content img,
.hidden-content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 1.5rem auto !important;
  border-radius: 16px !important;
}

.article-fold-btn {
  margin: 1rem 0 0 !important;
}

.article-fold-btn .fold-btn-normal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--zh-line);
  border-radius: 9999px;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
}

.article-body > *:last-child,
#content > *:last-child {
  margin-bottom: 0;
}

.article-body p,
#content p {
  margin: 0 0 1.1rem !important;
}

.article-body h1,
.article-body h2,
.article-body h3,
#content h1,
#content h2,
#content h3 {
  margin: 2rem 0 1rem;
  padding-left: 0.875rem !important;
  border-left: 4px solid #165dff !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

.article-body h1,
#content h1 {
  font-size: 1.5rem !important;
}

.article-body h2,
#content h2 {
  font-size: 1.375rem !important;
}

.article-body h3,
#content h3 {
  font-size: 1.125rem !important;
}

.article-body ul,
.article-body ol,
#content ul,
#content ol {
  margin: 0 0 1.1rem 1.5rem !important;
  padding: 0 !important;
}

.article-body li,
#content li {
  margin: 0.45rem 0 !important;
}

.article-body blockquote,
#content blockquote {
  margin: 1.5rem 0 !important;
  padding: 1rem 1.25rem !important;
  border-left: 4px solid #c7d2fe !important;
  border-radius: 0 16px 16px 0 !important;
  background: #eff6ff !important;
  color: #334155 !important;
}

.article-body a,
#content a {
  color: #165dff !important;
  text-decoration: none !important;
}

.article-body a:hover,
#content a:hover {
  text-decoration: underline !important;
}

.article-body img,
#content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 1.5rem auto !important;
  border-radius: 16px !important;
}

.article-body table,
#content table {
  width: 100%;
  min-width: 720px !important;
  margin: 1.75rem 0 !important;
  border-collapse: collapse !important;
}

.article-body table th,
.article-body table td,
#content table th,
#content table td {
  padding: 12px 16px !important;
  border: 1px solid var(--zh-line) !important;
  vertical-align: top !important;
  text-align: left !important;
}

.article-body table th,
#content table th {
  background: #f0f4ff !important;
  color: #165dff !important;
  font-weight: 600 !important;
}

.article-body table tr:nth-child(even),
#content table tr:nth-child(even) {
  background: #fafbfc !important;
}

.article-body table tr:hover,
#content table tr:hover {
  background: #f5f8ff !important;
}

pre.article-body {
  display: block;
  margin: 1.25rem 0 0 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  font: inherit !important;
}
