/* 法拉盛518 — 主样式表
   设计方向：法拉盛街头的社区公告板。深墨绿主色（华人熟悉的"稳当"感），
   暖白纸张底色，橙色只用于价格与紧急提示。不用通用卡片网格堆砌，
   列表用分隔线表达密度，手机端优先。 */

:root {
  --green-900: #0b3b25;
  --green-800: #0f5132;
  --green-700: #17694a;
  --green-600: #1f7d59;
  --green-100: #e3f0e8;
  --green-50: #f1f7f3;

  --paper: #f6f8f4;
  --card: #ffffff;
  --ink: #16211c;
  --ink-2: #46564e;
  --ink-3: #7b8b83;
  --line: #e2e8e3;
  --line-strong: #ccd7cf;

  --amber: #b8641f;
  --amber-bg: #fdf2e6;
  --red: #b3342a;
  --red-bg: #fdecea;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-1: 0 1px 2px rgba(16, 40, 28, .06), 0 6px 18px -12px rgba(16, 40, 28, .28);
  --shadow-2: 0 2px 6px rgba(16, 40, 28, .07), 0 18px 40px -22px rgba(16, 40, 28, .34);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --tabbar-h: 60px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100dvh;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 2px; border-radius: 6px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(15, 81, 50, .97);
  color: #fff;
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 14px;
  height: 56px; display: flex; align-items: center; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: #fff; color: var(--green-800);
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: -.02em;
}
.brand-text { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.brand-text em { font-style: normal; color: #f5d9a8; }

.topnav { display: none; gap: 2px; margin-left: 8px; flex: 1; }
.topnav a {
  padding: 7px 11px; border-radius: 8px; font-size: 14px; color: rgba(255,255,255,.82);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.topnav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.topnav a.active { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 10px;
}
.mobile-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px; padding: 10px 14px 14px;
  background: var(--green-900);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a {
  padding: 11px 12px; border-radius: 10px; font-size: 14.5px;
  background: rgba(255,255,255,.07); color: #fff;
}
.mobile-menu a.active { background: rgba(255,255,255,.18); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; border-radius: 11px;
  padding: 10px 16px; font-size: 14.5px; font-weight: 600;
  background: var(--green-800); color: #fff;
  transition: transform .12s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  min-height: 42px;
}
.btn:hover { background: var(--green-700); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-sm { padding: 7px 12px; font-size: 13.5px; min-height: 36px; border-radius: 9px; }
.btn-lg { padding: 14px 22px; font-size: 16px; min-height: 50px; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-line { background: transparent; border-color: rgba(255,255,255,.42); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.14); }
.btn-outline { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { background: var(--green-50); border-color: var(--green-600); }
.btn-amber { background: var(--amber); }
.btn-amber:hover { background: #a45818; }
.btn-block { width: 100%; }
.btn-danger { background: #fff; border-color: #e7c4c0; color: var(--red); }
.btn-danger:hover { background: var(--red-bg); }

/* ---------- 布局 ---------- */
.app { max-width: 1160px; margin: 0 auto; padding: 14px 14px 34px; }

.hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--green-800) 0%, var(--green-700) 58%, #2a8a63 100%);
  color: #fff; padding: 22px 20px; margin-bottom: 16px;
  box-shadow: var(--shadow-2);
}
.hero::after {
  content: ""; position: absolute; right: -70px; top: -90px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 34px rgba(255,255,255,.05), 0 0 0 70px rgba(255,255,255,.035);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16); border-radius: 999px;
  padding: 4px 11px; font-size: 12px; letter-spacing: .04em; margin-bottom: 10px;
}
.hero h1 { font-size: 25px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.02em; font-weight: 800; }
.hero p { margin: 0; font-size: 14px; color: rgba(255,255,255,.86); max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hero-actions .btn { flex: 1 1 auto; min-width: 140px; }

/* 搜索 */
.searchbar { margin: 16px 0 18px; position: relative; }
.searchbar input {
  width: 100%; border: 1px solid var(--line-strong); background: #fff;
  border-radius: 13px; padding: 13px 52px 13px 44px; font-size: 15px;
  box-shadow: var(--shadow-1);
}
.searchbar input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.searchbar .search-icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); pointer-events: none;
}
.searchbar button {
  position: absolute; right: 6px; top: 6px; bottom: 6px; width: 42px;
  border: 0; border-radius: 9px; background: var(--green-800); color: #fff;
  display: grid; place-items: center;
}

/* 板块瓷砖 */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 22px 0 10px;
}
.section-head h2 { font-size: 18px; margin: 0; letter-spacing: -.01em; }
.section-head .more { font-size: 13px; color: var(--green-700); font-weight: 600; }
.eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 2px; }

.tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px;
}
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 13px 11px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  position: relative;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.tile-head { display: flex; align-items: center; gap: 9px; }
.tile-ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700); flex-shrink: 0;
}
.tile-ico svg { width: 19px; height: 19px; }
.tile-title { font-weight: 700; font-size: 15px; }
.tile-count { font-size: 11.5px; color: var(--ink-3); }
.tile-items { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1px; }
.tile-items li a {
  display: block; font-size: 12.5px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 3px 0; border-bottom: 1px dashed transparent;
}
.tile-items li a:hover { color: var(--green-800); border-bottom-color: var(--green-100); }
.tile-items li a::before { content: "·"; color: var(--ink-3); margin-right: 4px; }
.tile-empty { font-size: 12.5px; color: var(--ink-3); padding: 4px 0; }

/* 手机端板块瓷砖：单列，横排 图标+标题 / 最近 3 条 */
.tiles { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile { border: 0; border-radius: 0; padding: 12px 14px; background: var(--card); }
.tile:hover { transform: none; box-shadow: none; background: var(--green-50); }
.tile-items { display: flex; flex-direction: column; }
.tile-items li a { font-size: 13px; padding: 4px 0; }

/* 手机端顶栏：收紧 */
.brand-text { display: none; }
.topbar-inner { gap: 8px; }
.topbar-actions { gap: 6px; }

/* 聊天室 */
.room-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column;
}
.room-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-bottom: 1px solid var(--line); background: #fff;
}
.room-dot { width: 7px; height: 7px; border-radius: 50%; background: #3aa76d; box-shadow: 0 0 0 3px #e4f5ec; }
.room-dot.off { background: #c8cec9; box-shadow: 0 0 0 3px #f0f2f0; }
.room-head strong { font-size: 15px; }
.room-head span { font-size: 12px; color: var(--ink-3); }

/* 新闻 */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { display: flex; gap: 10px; padding: 12px 2px; align-items: flex-start; }
.news-list a:hover .news-title { color: var(--green-800); }
.news-title { font-size: 14.5px; flex: 1; }
.news-time { font-size: 11.5px; color: var(--ink-3); flex-shrink: 0; padding-top: 2px; }

/* ---------- 列表 ---------- */
.list-toolbar {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin-bottom: 12px;
}
.chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; border: 1px solid var(--line-strong); background: #fff;
  border-radius: 999px; padding: 6px 13px; font-size: 13.5px; color: var(--ink-2);
  transition: all .16s var(--ease);
}
.chip:hover { border-color: var(--green-600); color: var(--green-800); }
.chip.active { background: var(--green-800); border-color: var(--green-800); color: #fff; font-weight: 600; }
.chip .n { opacity: .65; font-size: 12px; margin-left: 3px; }

.sortsel {
  margin-left: auto; border: 1px solid var(--line-strong); background: #fff;
  border-radius: 9px; padding: 6px 9px; font-size: 13px;
}

.items { display: flex; flex-direction: column; }
.item {
  display: flex; gap: 12px; padding: 14px 4px; align-items: stretch;
  border-bottom: 1px solid var(--line);
  transition: background .16s var(--ease);
}
.item:hover { background: #fff; }
.item:first-child { border-top: 1px solid var(--line); }
.item-main { flex: 1; min-width: 0; }
.item-top { display: flex; gap: 8px; align-items: baseline; }
.item-title {
  font-size: 15.5px; font-weight: 600; line-height: 1.42; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item:hover .item-title { color: var(--green-800); }
.item-sum {
  font-size: 13px; color: var(--ink-2); margin: 4px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-meta {
  display: flex; gap: 10px; margin-top: 7px; font-size: 12px; color: var(--ink-3);
  flex-wrap: wrap; align-items: center;
}
.item-meta .dot::before { content: "·"; margin-right: 6px; color: var(--line-strong); }
.item-thumb {
  width: 88px; height: 88px; border-radius: 11px; flex-shrink: 0;
  background: var(--green-50) center/cover no-repeat; border: 1px solid var(--line);
}
.badge {
  display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 6px;
  background: var(--green-100); color: var(--green-800); font-weight: 600; flex-shrink: 0;
}
.badge-top { background: var(--amber-bg); color: var(--amber); }
.badge-price { background: #fff; color: var(--amber); border: 1px solid #efd9c2; font-variant-numeric: tabular-nums; }
.badge-closed { background: #f1f1f1; color: var(--ink-3); }

.pager { display: flex; justify-content: center; gap: 8px; margin: 20px 0 4px; }

/* ---------- 详情 ---------- */
.crumb { font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.crumb a:hover { color: var(--green-800); }
.detail {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-1);
}
.detail h1 { font-size: 21px; line-height: 1.35; margin: 6px 0 10px; letter-spacing: -.01em; }
.detail-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.detail-body { font-size: 15.5px; line-height: 1.85; white-space: pre-wrap; word-break: break-word; color: #1d2b24; }
.detail-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0; }
.detail-imgs a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--green-50); }
.detail-imgs img { width: 100%; height: 100%; object-fit: cover; }
.contact-box {
  margin-top: 18px; border: 1px dashed var(--green-600); background: var(--green-50);
  border-radius: var(--radius); padding: 14px;
}
.contact-box .label { font-size: 12px; color: var(--green-700); font-weight: 700; letter-spacing: .06em; }
.contact-box .val { font-size: 19px; font-weight: 700; margin-top: 3px; word-break: break-all; }
.detail-foot { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.notice {
  margin-top: 14px; font-size: 12.5px; color: var(--ink-2);
  background: var(--amber-bg); border-radius: 11px; padding: 11px 13px; line-height: 1.7;
}

/* ---------- 表单 ---------- */
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-1);
}
.panel h2 { font-size: 17px; margin: 0 0 4px; }
.panel .sub { font-size: 13px; color: var(--ink-3); margin: 0 0 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 12px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 11px;
  padding: 11px 13px; font-size: 15px; background: #fff;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100);
}
.field .err { font-size: 12.5px; color: var(--red); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e0a29b; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  padding: 10px 6px; text-align: center; font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all .16s var(--ease);
}
.segmented input:checked + label {
  background: var(--green-800); border-color: var(--green-800); color: #fff; font-weight: 600;
}
.segmented input:focus-visible + label { outline: 2px solid var(--green-600); outline-offset: 2px; }

.form-actions { display: flex; gap: 10px; margin-top: 6px; }

/* ---------- 聊天室 ---------- */
.room {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; height: calc(100dvh - 56px - var(--tabbar-h) - 46px);
  min-height: 380px;
}
.room-body { flex: 1; overflow-y: auto; padding: 14px; background: #f7f9f6; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { display: flex; gap: 8px; align-items: flex-start; }
.msg-av {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: var(--green-100); color: var(--green-800);
}
.msg-main { min-width: 0; }
.msg-name { font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.msg-bubble {
  background: #fff; border: 1px solid var(--line); border-radius: 4px 12px 12px 12px;
  padding: 8px 12px; font-size: 14.5px; line-height: 1.6; word-break: break-word;
  white-space: pre-wrap; max-width: 62ch;
}
.msg.self { flex-direction: row-reverse; }
.msg.self .msg-bubble { background: var(--green-800); color: #fff; border-color: var(--green-800); border-radius: 12px 4px 12px 12px; }
.msg.self .msg-name { text-align: right; }
.room-foot { border-top: 1px solid var(--line); padding: 10px; display: flex; gap: 8px; background: #fff; align-items: flex-end; }
.room-foot textarea {
  flex: 1; border: 1px solid var(--line-strong); border-radius: 11px; padding: 10px 12px;
  resize: none; max-height: 110px; font-size: 15px; line-height: 1.5;
}
.room-foot textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }

/* ---------- 商铺详情 ---------- */
.shop-hero {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--green-800), var(--green-600));
  padding: 20px; color: #fff;
}
.shop-hero h1 { margin: 0 0 6px; font-size: 22px; }
.shop-hero p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.85); }
.shop-info { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.product {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
}
.product-img { aspect-ratio: 4 / 3; background: var(--green-50); object-fit: cover; width: 100%; display: block; }
.product .product-img.is-empty { display: none; }
.product-info { padding: 10px 11px 12px; }
.product-name { font-size: 14px; font-weight: 600; }
.product-price { color: var(--amber); font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* ---------- 状态 ---------- */
.empty, .loading, .errorbox {
  text-align: center; padding: 42px 18px; color: var(--ink-3); font-size: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.empty strong, .errorbox strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 6px; }
.skeleton { background: linear-gradient(90deg, #eef2ee 25%, #f7faf7 37%, #eef2ee 63%); background-size: 400% 100%; animation: sh 1.3s ease infinite; border-radius: 8px; }
@keyframes sh { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-item { display: flex; gap: 12px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.sk-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sk-l1 { height: 15px; width: 78%; }
.sk-l2 { height: 12px; width: 52%; }
.sk-th { width: 82px; height: 82px; border-radius: 11px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + 18px); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 420px); }
.toast {
  background: #17251d; color: #fff; padding: 11px 16px; border-radius: 12px;
  font-size: 14px; box-shadow: var(--shadow-2); animation: tin .22s var(--ease);
  max-width: 100%; text-align: center;
}
.toast.bad { background: #7c2a22; }
.toast.good { background: var(--green-700); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 底部导航（手机） ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10.5px; color: var(--ink-3); min-height: 44px;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.active { color: var(--green-800); font-weight: 600; }
.tab-pub-circle {
  width: 40px; height: 40px; border-radius: 13px; background: var(--green-800); color: #fff;
  display: grid; place-items: center; margin-top: -14px;
  box-shadow: 0 6px 14px -6px rgba(15,81,50,.7); border: 3px solid #fff;
}
.tab-pub-circle svg { width: 20px !important; height: 20px !important; }

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--line); background: #fff; margin-top: 26px; }
.foot-inner { max-width: 1160px; margin: 0 auto; padding: 20px 16px 30px; }
.foot-brand { font-weight: 700; font-size: 14px; margin: 0 0 8px; color: var(--green-800); }
.foot-note { font-size: 12px; color: var(--ink-3); line-height: 1.75; margin: 0 0 10px; max-width: 78ch; }
.foot-copy { font-size: 12px; color: var(--ink-3); margin: 0; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,16,12,.92); z-index: 300;
  display: grid; place-items: center; padding: 20px; animation: tin .18s var(--ease);
}
.lightbox img { max-width: 100%; max-height: 92dvh; border-radius: 8px; }

/* ---------- 桌面 ---------- */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav { display: flex; }
  .menu-toggle { display: none; }
  .app { padding: 22px 20px 50px; }
  .hero { padding: 30px 34px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { flex: 0 0 auto; min-width: 150px; }
  .brand-text { display: inline; }
  .topbar-inner { gap: 12px; }
  .tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 13px 11px; }
  .tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); background: var(--card); }
  .home-2col { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .item-thumb { width: 104px; height: 104px; }
  .item-title { font-size: 16.5px; }
  .detail { padding: 28px 32px; }
  .detail h1 { font-size: 26px; }
  .detail-imgs { grid-template-columns: repeat(4, 1fr); }
  .panel { padding: 26px 28px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .segmented { grid-template-columns: repeat(6, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .room { height: 640px; }
  .toast-wrap { bottom: 24px; }
  .form-narrow { max-width: 620px; }
}
@media (min-width: 1024px) {
  .tiles { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .detail-imgs { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
