.post-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

.post-tag {
  display: inline-block;
  background: var(--accent);
  color: #1f2328;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.post-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
}

.post-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.post-lead {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 32px;
  font-weight: 400;
}

article h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

article h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}

article p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 14px;
}

article ul, article ol {
  padding-left: 22px;
  margin: 10px 0 16px;
}

article li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 6px;
}

article strong { color: var(--text); font-weight: 600; }
article a { color: var(--accent2); }

.post-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
  margin: 16px 0 24px;
}
.post-table thead { background: var(--bg3); }
.post-table th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
}
.post-table td {
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  vertical-align: middle;
}
.post-table td:first-child { color: var(--text); font-weight: 600; }
.row-hot { background: rgba(251,196,0,0.07); }
.row-hot td { color: var(--text) !important; }

.post-tip {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #1b5e20;
  line-height: 1.75;
}
body.dark-mode .post-tip { background: #0a2010; border-left-color: #4caf50; color: #81c784; }

.post-warn {
  background: #fff3e0;
  border-left: 4px solid #f57c00;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #7a4800;
  line-height: 1.75;
}
body.dark-mode .post-warn { background: #2a1a00; border-left-color: #f57c00; color: #f0a060; }

.post-info {
  background: var(--bg2);
  border-left: 4px solid var(--accent2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.ratio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 14px;
}
.ratio-label { min-width: 90px; font-weight: 600; color: var(--text); font-size: 13px; }
.ratio-bar-wrap { flex: 1; height: 16px; background: var(--bg3); border-radius: 8px; overflow: hidden; }
.ratio-bar { height: 100%; border-radius: 8px; }
.ratio-pct { min-width: 46px; text-align: right; font-weight: 600; color: var(--text); font-size: 13px; }

.post-cta {
  text-align: center;
  margin: 48px 0 32px;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #1f2328;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(251,196,0,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(251,196,0,0.45); }

.related-posts {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 40px;
}
.related-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}
.related-grid { display: flex; flex-direction: column; gap: 8px; }
.related-card {
  display: block;
  background: var(--bg3);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.related-card:hover { background: var(--bg4); }

@media (max-width: 500px) {
  .post-table th, .post-table td { padding: 9px 10px; font-size: 13px; }
}
