:root {
  --article-accent: #e53935;
  --article-accent-dark: #c62828;
  --article-accent-soft: #fdecea;
  --article-text: #1f2937;
  --article-muted: #6b7280;
  --article-border: #e5e7eb;
  --article-surface: #f8f9fa;
  --article-card: #ffffff;
}

body {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f3f4f6;
  line-height: 1.7;
  color: var(--article-text);
}

article.article-container {
  background: var(--article-card);
  border-radius: 16px;
  padding: 28px;
  margin: 16px auto;
  border: 1px solid var(--article-border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  max-width: 800px;
}

.article-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--article-border);
}

.article-title {
  font-size: 1.7rem;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--article-text);
}

.article-date {
  color: var(--article-muted);
  font-size: 0.95rem;
}

.article-content {
  font-size: 1.05rem;
}

.article-content h2 {
  color: var(--article-accent);
  margin-top: 28px;
  font-size: 1.2rem;
  font-weight: 600;
}

.article-content p,
.article-content ul {
  margin-bottom: 16px;
}

.article-content li {
  margin-bottom: 8px;
}

.summary {
  background: var(--article-accent-soft);
  border: 1px solid #fecaca;
  border-left: 4px solid var(--article-accent);
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
  color: #7f1d1d;
}

.code,
code {
  background: var(--article-surface);
  border: 1px solid var(--article-border);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}

.note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px;
  margin: 16px 0;
  color: #92400e;
}

.faq {
  background: var(--article-surface);
  border: 1px solid var(--article-border);
  border-radius: 12px;
  padding: 14px;
}

.faq h3 {
  margin: 12px 0 6px;
  font-size: 1rem;
}

.faq h3:first-child {
  margin-top: 0;
}

.article-cta {
  display: inline-block;
  padding: 10px 16px;
  background: var(--article-accent);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
}

.article-cta:hover,
.article-cta:visited {
  color: #fff !important;
  background: var(--article-accent-dark);
}

.ad-top-banner {
  text-align: center;
  margin: 16px 0;
}

@media (max-width: 768px) {
  article.article-container {
    padding: 20px 16px;
  }
}
