:root {
  --green-deep: #092218;
  --green-mid: #123b2b;
  --green-brand: #1c5b42;
  --gold: #d9b468;
  --gold-bright: #f0d797;
  --ink: #17211c;
  --muted: #68746e;
  --bg-inner: #f4f6f4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 极简一屏首页 */
body.is-landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 18%, #184e39 0%, #0d2e21 52%, #071c14 100%);
  color: #ffffff;
}

.landing-shell {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 28px;
  overflow: hidden;
}

.landing-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 104, 0.2) 0%, rgba(217, 180, 104, 0) 70%);
  pointer-events: none;
}

.landing-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.logo-ring {
  width: 148px;
  height: 148px;
  margin: 0 auto 20px;
  border-radius: 32px;
  overflow: hidden;
  border: 2px solid rgba(235, 208, 140, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
  background: #0b2b1e;
}
.logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.15;
  color: #ffffff;
}
.brand-title span {
  color: var(--gold-bright);
}

.brand-tagline {
  margin-top: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.brand-pills {
  margin-top: 18px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.brand-pills span {
  padding: 5px 15px;
  border-radius: 999px;
  background: rgba(235, 208, 140, 0.14);
  border: 1px solid rgba(235, 208, 140, 0.3);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
}

/* 双码白卡 */
.qr-panel {
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border-radius: 26px;
  padding: 30px 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.qr-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.qr-box { text-align: center; }
.qr-frame {
  width: 204px;
  height: 204px;
  margin: 0 auto 12px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e6ece8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-mid);
}

.scan-hint {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #edf2ef;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

/* 极简页脚 */
.site-footer {
  padding: 20px 20px 26px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
}
.site-footer a { color: rgba(240, 215, 151, 0.85); }
body.is-inner .site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.7);
}

/* 内页（文章/单页/404） */
body.is-inner { background: var(--bg-inner); }
.container { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 20px; }
.mini-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(14, 48, 36, 0.08);
}
.mini-header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mini-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--green-mid); }
.mini-brand img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.mini-back { font-size: 14px; font-weight: 700; color: var(--green-brand); }

.inner-main { padding-top: 32px; padding-bottom: 56px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card, .empty-card, .article-wrap {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(14, 48, 36, 0.07);
  box-shadow: 0 12px 32px rgba(14, 48, 36, 0.05);
}
.post-card h3 { margin-top: 10px; font-size: 18px; font-weight: 800; }
.post-card p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.post-date { display: block; margin-top: 12px; font-size: 12px; color: #8c9690; }

.article-wrap { max-width: 780px; margin: 36px auto 60px; }
.article-header { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #eef2ef; }
.article-header h1 { font-size: 28px; font-weight: 900; margin: 10px 0; }
.article-meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.meta-badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: #e8f4ee; color: var(--green-brand); font-size: 12px; font-weight: 800;
}
.article-content { font-size: 16px; line-height: 1.85; color: #26322c; }
.article-content p { margin-bottom: 16px; }
.article-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.article-tags a { padding: 4px 12px; border-radius: 999px; background: #f1f4f2; font-size: 13px; color: var(--muted); }
.neighbor-nav { margin-top: 28px; padding-top: 18px; border-top: 1px solid #eef2ef; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.btn-back {
  display: inline-block; margin-top: 18px; padding: 10px 26px; border-radius: 999px;
  background: var(--green-mid); color: var(--gold-bright); font-weight: 800; font-size: 14px;
}

@media (max-width: 640px) {
  .logo-ring { width: 118px; height: 118px; border-radius: 26px; }
  .brand-title { font-size: 32px; }
  .brand-tagline { font-size: 14px; }
  .qr-panel { padding: 24px 18px 20px; margin-top: 26px; }
  .qr-pair { gap: 16px; }
  .qr-frame { width: 136px; height: 136px; padding: 6px; border-radius: 14px; }
  .qr-label { font-size: 13px; }
  .post-grid { grid-template-columns: 1fr; }
}
