/* ============================================================
   农家田园 · 展示端样式
   设计语言：纸与土地 —— 暖米纸底、田野绿、番茄红、阳光金
   移动优先，竖屏适配，触控友好
   ============================================================ */

:root {
  --paper: #f7f1e3;
  --paper-2: #efe6d2;
  --card: #fffdf7;
  --ink: #2f3b2c;
  --ink-soft: #5d6b57;
  --field: #3f5d3a;
  --field-deep: #2e462b;
  --leaf: #6f9b57;
  --tomato: #d94f2b;
  --tomato-soft: #fbe7de;
  --gold: #e9b44c;
  --soil: #8a6a4d;
  --line: rgba(47, 59, 44, .14);

  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(47, 59, 44, .10);
  --shadow-sm: 0 3px 12px rgba(47, 59, 44, .08);

  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(233,180,76,.14), transparent 60%),
    var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { width: min(100%, 720px); margin: 0 auto; padding-left: 18px; padding-right: 18px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--field); color: #fff; padding: 10px 16px; z-index: 99;
}
.skip-link:focus { left: 0; }

/* ---------- 顶栏 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 227, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 19px; letter-spacing: 1px; }
.brand-text small { font-size: 11px; color: var(--tomato); letter-spacing: 2px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px 8px; cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: 58px 0 auto 0; z-index: 49;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: none;
}
.site-nav.open { display: block; }
.site-nav a {
  display: block; padding: 15px 22px; font-size: 16px;
  border-bottom: 1px solid rgba(47,59,44,.06);
}
.site-nav a.on { color: var(--tomato); font-weight: 600; }

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; background: none; border: 0; box-shadow: none;
  }
  .site-nav a { padding: 8px 16px; border: 0; font-size: 15px; }
  .site-nav a.on { color: var(--tomato); }
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; min-height: 65vh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,32,18,.18) 0%, rgba(20,32,18,.12) 40%, rgba(16,26,15,.78) 100%);
}
.hero-inner { position: relative; padding-bottom: 34px; padding-top: 60px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 2px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: 6px 14px; backdrop-filter: blur(6px);
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 9.5vw, 58px);
  line-height: 1.22; margin: 16px 0 10px; letter-spacing: 2px;
  /* 标题单行：放不下时先整体缩小，兜底省略号 */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero p { font-size: clamp(14px, 3.8vw, 17px); color: rgba(255,255,255,.92); margin: 0 0 22px; max-width: 30em; }
/* 三个按钮一排：不换行，空间不足自动均分并缩小 */
.hero-cta { display: flex; flex-wrap: nowrap; gap: 8px; }
.hero-cta .btn {
  flex: 1 1 0; min-width: 0;
  padding: 11px 8px; border-radius: 999px;
  font-size: clamp(11px, 3.2vw, 14px); font-weight: 600;
}
.hero-cta .btn span {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 留言按钮：金色实底，突出显眼 */
.btn-guest { background: var(--gold); color: #4a3410; }
.btn-guest:hover { background: #f4c25e; color: #3a2708; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 0;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--tomato); color: #fff; box-shadow: 0 6px 18px rgba(217,79,43,.32); }
.btn-primary:hover { background: #c74422; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-field { background: var(--field); color: #fff; }
.btn-field:hover { background: var(--field-deep); }
.btn-line { background: transparent; color: var(--field); border: 1.5px solid var(--field); }
.btn-block { width: 100%; }

/* ---------- 区块标题 ---------- */
.section { padding: 46px 0 10px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--serif); font-size: 24px; margin: 0; letter-spacing: 1px;
}
.section-head h2 .en {
  display: block; font-family: var(--sans); font-size: 11px; color: var(--tomato);
  letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 4px;
}
.section-head .more { font-size: 13px; color: var(--soil); white-space: nowrap; }
.section-head .more::after { content: " →"; }

/* ---------- 农家新闻 feed ---------- */
.feed { display: grid; gap: 16px; }
.news-card {
  display: grid; grid-template-columns: 128px 1fr; gap: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.news-card:active { transform: scale(.99); }
.news-card .ph { position: relative; min-height: 118px; background: var(--paper-2); }
.news-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card .ph .empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.news-card .bd { padding: 12px 14px 12px 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.news-card .meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.chip {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; background: var(--tomato-soft); color: var(--tomato);
  white-space: nowrap;
}
.chip.field { background: #e6eedd; color: var(--field); }
.chip.gold { background: #faf0d7; color: #a4760f; }
.news-card h3 { font-size: 15.5px; margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { font-size: 13px; color: var(--ink-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card time { font-size: 12px; color: var(--soil); }

/* 园子日常 · 查看更多卡片 */
.news-more .ph { background: linear-gradient(160deg, #f7f3ea, #efe7d8); }
.news-more .ph .empty { font-size: 30px; }
.news-more .bd { justify-content: center; }
.news-more h3 { color: var(--soil); }
.news-more time { font-weight: 600; color: var(--field); }

@media (max-width: 380px) {
  .news-card { grid-template-columns: 108px 1fr; }
}

/* ---------- 产品卡 ---------- */
/* 双列布局（移动端 2×2）：优先 CSS Grid；老内核不支持 Grid 时自动回退 Flex 双列，
   保证任何手机、任何窗口宽度都是两列。无任何最小宽度写死。 */
.products { display: flex; flex-wrap: wrap; margin: -6px; }
.products > .pcard { width: calc(50% - 12px); margin: 6px; }
@supports (display: grid) {
  .products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
  .products > .pcard { width: auto; margin: 0; min-width: 0; }
}
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.pcard:active { transform: scale(.99); }
.pcard .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .ph img { transform: scale(1.04); }
.pcard .badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,.92); color: var(--field-deep);
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.pcard .badge.hot { background: var(--tomato); color: #fff; }
.pcard .bd { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; }
.pcard h3 { font-family: var(--serif); font-size: 18px; margin: 0; letter-spacing: 1px; }
.pcard .sum { font-size: 12.5px; color: var(--ink-soft); margin: 0; min-height: 3.2em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .grow { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; font-size: 11.5px; color: var(--soil); }
.pcard .grow .bar { flex: 1 1 100%; order: 3; height: 5px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.pcard .grow .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--leaf), var(--gold)); }
.pcard .foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 4px; }
.pcard .go { font-size: 12.5px; color: var(--field); font-weight: 600; white-space: nowrap; }
.pcard .go::after { content: " →"; }

@media (min-width: 560px) {
  .products { margin: -9px; }
  .products > .pcard { width: calc(50% - 18px); margin: 9px; }
  @supports (display: grid) {
    .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
    .products > .pcard { width: auto; margin: 0; }
  }
  .pcard .ph { aspect-ratio: 5 / 4; }
  .pcard h3 { font-size: 20px; }
  .pcard .sum { font-size: 13.5px; min-height: 2.7em; }
  .pcard .grow { font-size: 12px; }
  .pcard .badge { top: 12px; left: 12px; font-size: 12px; padding: 4px 10px; }
  .pcard .bd { padding: 14px 16px 16px; gap: 8px; }
  .pcard .go { font-size: 13px; }
}

/* ---------- 区块分页条 ---------- */
.pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line);
}
.pager .pg {
  appearance: none; border: 1px solid var(--line); background: var(--card);
  color: var(--soil); font-size: 13px; font-family: var(--sans);
  padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.pager .pg:hover:not(:disabled) { border-color: var(--leaf); color: var(--field-deep); }
.pager .pg:disabled { opacity: .45; cursor: default; }
.pager .pg-info { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.pager .pg-info b { color: var(--soil); font-size: 15px; }
.pager .pg-info em { font-style: normal; color: var(--soil); }
.pager .pg-jump { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.pager .pg-jump input {
  width: 52px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; color: var(--ink); background: var(--card); text-align: center;
}
.pager .pg-jump input:focus { outline: none; border-color: var(--leaf); }
.pager .pg.go { padding: 7px 12px; }

/* ---------- 风光条 ---------- */
.scenery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scenery-strip figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; }
.scenery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.scenery-strip figure:hover img { transform: scale(1.06); }
.scenery-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
  background: linear-gradient(transparent, rgba(16,26,15,.72));
  color: #fff; font-size: 12px; text-align: center;
}

/* ---------- 关于条（原首页深绿卡片样式已移除，内容并入页脚） ---------- */

/* ============================================================
   产品广告页（核心：生长档案 + 生长时间轴）
   ============================================================ */
.product-hero { position: relative; color: #fff; }
.product-hero .bg { position: relative; aspect-ratio: 1 / 1; max-height: 70vh; overflow: hidden; }
.product-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.product-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,26,15,0) 45%, rgba(16,26,15,.82) 100%);
}
.product-hero .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 18px 20px; }
.product-hero .status { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.product-hero h1 { font-family: var(--serif); font-size: clamp(30px, 8.5vw, 46px); margin: 10px 0 6px; letter-spacing: 2px; }
.product-hero .sub { font-size: 15px; color: rgba(255,255,255,.92); margin: 0 0 12px; }

/* 历史批次导航（页码式：当前批次 / 总批次，作物详情页顶部） */
.batch-sub { font-style: normal; font-size: .52em; color: var(--gold); margin-left: 8px; vertical-align: middle; letter-spacing: 1px; }
.batch-nav {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; margin: 16px auto 0; max-width: 430px;
  box-shadow: var(--shadow-sm); font-size: 13.5px; color: var(--ink-soft);
}
.batch-nav .bn-label { letter-spacing: 2px; color: var(--soil); font-size: 12px; }
.batch-nav .bn-arrow {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--paper); color: var(--field); font-size: 17px; line-height: 1;
  text-decoration: none; border: 1px solid var(--line);
}
.batch-nav .bn-arrow:active { transform: scale(.94); }
.batch-nav .bn-arrow.off { opacity: .32; pointer-events: none; }
.batch-nav .bn-pos { font-weight: 700; color: var(--field-deep); letter-spacing: 1px; white-space: nowrap; }

/* 生长档案：数据凝练卡 */
.profile {
  margin: -34px 18px 0; position: relative; z-index: 2;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 18px; border: 1px solid var(--line);
}
.profile .phead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.profile .phead h2 { font-family: var(--serif); font-size: 18px; margin: 0; }
.profile .phead .tag { font-size: 11px; color: var(--tomato); letter-spacing: 1px; }
.profile .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.profile .num { background: var(--paper); border-radius: 12px; padding: 12px 4px; }
.profile .num b { display: block; font-family: var(--serif); font-size: 26px; color: var(--field-deep); line-height: 1.1; }
.profile .num span { font-size: 11.5px; color: var(--ink-soft); }
.profile .pbar { margin-top: 14px; }
.profile .pbar .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--soil); margin-bottom: 6px; }
.profile .pbar .track { height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.profile .pbar .track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--leaf), var(--gold), var(--tomato)); transition: width .8s ease; }
.profile .note {
  margin-top: 14px; padding: 12px 14px; background: var(--tomato-soft);
  border-radius: 12px; font-size: 13.5px; color: #7c3a20;
  border-left: 3px solid var(--tomato);
}
.profile .note b { display: block; font-size: 12px; margin-bottom: 2px; color: var(--tomato); }

/* 生长时间轴 */
.timeline { position: relative; padding-left: 26px; margin-top: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--leaf), var(--gold), var(--tomato));
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 6px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--card); border: 3px solid var(--leaf);
  box-shadow: 0 0 0 4px rgba(111,155,87,.18);
}
.tl-item.done::before { border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(217,79,43,.15); background: var(--tomato); }
.tl-date { font-size: 12.5px; color: var(--soil); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.tl-date .days { background: var(--paper-2); padding: 1px 8px; border-radius: 999px; font-weight: 600; color: var(--field-deep); }
.tl-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.tl-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tl-card .bd { padding: 13px 15px 15px; }
.tl-card h3 { margin: 0 0 5px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.tl-card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* 种植原则卡片 */
.pledges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pledge {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; text-align: center;
}
.pledge .ico { font-size: 26px; line-height: 1; }
.pledge b { display: block; font-size: 14px; margin: 6px 0 2px; }
.pledge span { font-size: 12px; color: var(--ink-soft); }

/* ============================================================
   生长日记 & 风光 & 关于
   ============================================================ */
.page-head { padding: 40px 0 22px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(28px, 7.5vw, 40px); margin: 0 0 6px; letter-spacing: 2px; }
.page-head p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-bar a {
  padding: 7px 14px; border-radius: 999px; font-size: 13px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-soft);
}
.filter-bar a.on { background: var(--field); color: #fff; border-color: var(--field); }

.diary .feed { margin-top: 6px; }

.masonry { columns: 2; column-gap: 12px; }
@media (min-width: 560px) { .masonry { columns: 3; } }
.masonry figure {
  margin: 0 0 12px; break-inside: avoid; position: relative;
  border-radius: 14px; overflow: hidden; background: var(--card);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.masonry img { width: 100%; }
.masonry figcaption { padding: 10px 12px 12px; }
.masonry figcaption b { display: block; font-size: 14px; }
.masonry figcaption span { font-size: 12px; color: var(--ink-soft); }
.masonry .tag {
  position: absolute; top: 10px; left: 10px; background: rgba(16,26,15,.55);
  color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* 大图查看（lightbox）：点开卡片看大图，滚轮/双击/双指捏合缩放、拖动平移 */
.lightbox-trigger { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10,16,9,.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox .lb-close {
  position: absolute; top: 14px; right: 16px; z-index: 3;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.14); color: #fff;
  font-size: 26px; cursor: pointer; line-height: 1;
}
.lightbox .lb-close:active { transform: scale(.92); }
.lb-stage {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: grab;
}
.lb-stage img {
  max-width: 94%; max-height: 88%; object-fit: contain;
  border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.55);
  transition: transform .12s ease-out;
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.lb-stage.grabbing { cursor: grabbing; }
.lightbox .lb-cap {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2;
  text-align: center; color: rgba(255,255,255,.85); font-size: 13px;
  padding: 0 40px; pointer-events: none;
}
.lightbox .lb-hint {
  position: absolute; top: 66px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,.55); font-size: 12px; pointer-events: none;
  transition: opacity .4s;
}

.about-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow-sm);
}
.about-card h2 { font-family: var(--serif); font-size: 20px; margin: 0 0 10px; }
.about-card p { margin: 0 0 12px; color: var(--ink-soft); font-size: 14.5px; }
.about-addr {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: var(--paper); border-radius: 12px; padding: 13px 14px; font-weight: 600;
}
.about-addr .ico { font-size: 20px; }

/* ---------- 页脚 ---------- */
.site-foot { margin-top: 56px; background: var(--field-deep); color: rgba(243,236,219,.9); padding: 34px 0 30px; }
.foot-grid { display: grid; gap: 26px; justify-items: center; text-align: center; }
.site-foot h3 { font-size: 13px; letter-spacing: 2px; color: var(--gold); margin: 0 0 10px; }
.site-foot p { margin: 0 0 6px; font-size: 13.5px; }
.site-foot a:hover { color: var(--gold); }
.foot-copy { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(243,236,219,.55); }
.foot-visit { margin-top: 6px; font-size: 11px; color: rgba(243,236,219,.4); }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 空状态 */
.empty-tip { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-tip .big { font-size: 44px; margin-bottom: 8px; }

/* ---------- 留言板 ---------- */
/* 写留言区：纸黄底 + 虚线框，与下方展示区明显区分，宽度略窄于屏宽居中 */
.g-form {
  background: var(--paper-2);
  border: 2px dashed rgba(111,155,87,.45);
  border-radius: 18px;
  padding: 22px 18px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.g-form h2 { font-family: var(--serif); font-size: 19px; margin: 0 0 14px; color: var(--field-deep); }
.g-form h2 .en { display: block; font-size: 11px; color: var(--tomato); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.g-form textarea {
  width: 100%; border: 1.5px solid rgba(47,59,44,.28); border-radius: 12px;
  padding: 13px 14px; font-family: inherit; font-size: 14.5px; background: #fff;
  color: var(--ink); resize: vertical; box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(47,59,44,.06);
}
.g-form textarea:focus { outline: 2px solid rgba(111,155,87,.4); border-color: var(--leaf); }
.g-form-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.g-form-row .btn { white-space: nowrap; }
.g-form .muted { display: block; margin-top: 8px; }
.g-msg { border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.g-msg.ok { background: #e5f2dd; color: var(--field-deep); border: 1px solid #bcd8a8; }
.g-msg.err { background: #fdece6; color: #a33; border: 1px solid #f2c4b4; }

/* 留言展示区：浅绿纸底整块容器，与写留言区区分 */
.g-board {
  margin-top: 26px; max-width: 640px; margin-left: auto; margin-right: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 14px;
}
.g-list { display: flex; flex-direction: column; gap: 14px; }
.g-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; box-shadow: var(--shadow-sm);
}
/* 顶部：编号标签（深绿底白字）与弱化时间 */
.g-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.g-no {
  font-weight: 700; color: #fff; font-family: var(--serif); font-size: 13px;
  background: var(--field-deep); padding: 3px 12px; border-radius: 999px;
  box-shadow: 0 1px 3px rgba(47,59,44,.25);
}
.g-head time { font-size: 11.5px; color: var(--ink-soft); letter-spacing: .3px; }
/* 留言内容：更大更深的墨色，一眼可见 */
.g-text {
  margin: 0; font-size: 15.5px; color: #2b3322; font-weight: 500;
  line-height: 1.75;
}
/* 园主回复：整体缩进一档 + 金色边条 + 浅金底，与留言分层 */
.g-reply {
  margin: 12px 0 0 14px;
  border-left: 3px solid var(--gold);
  background: #fdf6e3;
  border-radius: 0 12px 12px 0;
  padding: 9px 13px;
}
.g-reply-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.g-reply-head span {
  font-size: 12px; font-weight: 700; color: #a4760f;
  letter-spacing: 2px; background: rgba(233,180,76,.22); padding: 1px 9px; border-radius: 999px;
}
.g-reply-head time { font-size: 11px; color: var(--ink-soft); }
.g-reply p { margin: 0; font-size: 14px; color: #6d5213; line-height: 1.7; }
@media (max-width: 520px) {
  .g-reply { margin-left: 8px; }
}
