/* ============================================================
   中食食品科技（浙江）有限公司 · 食品生鲜信息发布平台
   浅色主题 / 深绿主色 / 金色点缀 / 全站无 Emoji
   ============================================================ */

/* ---- 归一化（必须置于最前） ---- */
[hidden] { display: none !important; }
svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }

:root {
  --ink: #1a5238;
  --ink-2: #256b48;
  --ink-3: #4c7a63;
  --gold: #b9852f;
  --gold-2: #cfa25a;
  --gold-soft: #f6efdf;
  --bg: #f5f7f4;
  --card: #ffffff;
  --line: #e3e8e2;
  --text: #24313f;
  --muted: #6b7a89;
  --red: #b4552f;
  --green: #2e7d54;
  --shadow: 0 10px 30px rgba(23, 50, 45, .08);
  --shadow-sm: 0 4px 14px rgba(23, 50, 45, .07);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- 页头 ---- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; min-width: 0; }
.logo-mark { flex: 0 0 auto; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.brand-name { font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: .5px; white-space: nowrap; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); letter-spacing: 1.5px; }
.brand-sub::before { content: ''; flex: 0 0 13px; width: 13px; height: 1px; background: currentColor; opacity: .5; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2);
  transition: all .16s ease; white-space: nowrap;
}
.nav-link:hover { background: #eef4f0; color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: 600; background: #e9f2ec; }
.nav-link--btn { background: none; border: 0; cursor: pointer; font-family: inherit; }

.head-account { display: flex; align-items: center; gap: 8px; }
.head-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px;
  border-radius: 8px; font-size: 14px; color: var(--ink-2); background: none; border: 0; cursor: pointer;
}
.head-link:hover { background: #eef4f0; color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 8px; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---- 按钮 ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 9px; border: 1px solid transparent;
  font-size: 14.5px; cursor: pointer; transition: all .18s ease; font-family: inherit;
  line-height: 1.4;
}
.btn-sm { padding: 7px 15px; font-size: 13.5px; }
.btn-lg { padding: 13px 30px; font-size: 15.5px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a67a24; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold); }
.btn-text { background: none; border: 0; color: var(--muted); padding: 6px 8px; }
.btn-text:hover { color: var(--ink); }
.btn-danger { background: #fdf3ee; color: var(--red); border-color: #ecd4c7; }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-success { background: #eef7f1; color: var(--green); border-color: #cfe5d8; }
.btn-success:hover { background: var(--green); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---- 通用区块 ---- */
.section { padding: 54px 0 8px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-title { font-size: 24px; color: var(--ink); font-weight: 700; }
.sec-title small { display: block; font-size: 12px; color: var(--muted); letter-spacing: 2px; font-weight: 400; margin-bottom: 4px; }
.sec-more { font-size: 14px; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sec-more:hover { text-decoration: underline; }

/* ---- 首页 Hero ---- */
.hero {
  background: linear-gradient(135deg, #f2f7f3 0%, #e9f1ea 55%, #f6efdf 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(46, 125, 84, .10), transparent 68%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: 38px; color: var(--ink); margin: 18px 0 14px; font-weight: 700; letter-spacing: .5px; }
.hero p { max-width: 720px; color: var(--ink-3); font-size: 16px; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 40px; }
.hero-stat strong { font-family: Georgia, serif; font-size: 30px; color: var(--ink); display: block; line-height: 1.2; }
.hero-stat span { font-size: 13px; color: var(--muted); }

/* ---- 类目磁贴 ---- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; transition: all .2s ease; box-shadow: var(--shadow-sm);
  display: block;
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--gold-2); box-shadow: var(--shadow); }
.cat-tile .cat-ic {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px;
  background: #eef5f0; color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.cat-tile .cat-ic svg { width: 28px; height: 28px; }
.cat-tile h3 { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.cat-tile p { margin: 0; font-size: 12.5px; color: var(--muted); }
.cat-tile .cat-num { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--gold); }

/* ---- 信息卡片 ---- */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .2s ease; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; position: relative;
}
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe0d4; }
.lcard-img { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: #eef2ee; }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lcard:hover .lcard-img img { transform: scale(1.04); }
.pill-cat {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(26, 82, 56, .88); color: #f0efe4;
  padding: 4px 11px; border-radius: 999px; font-size: 12px;
}
.pill-cat svg { width: 13px; height: 13px; }
.lcard-body { padding: 15px 16px 13px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.lcard-title { font-size: 15.5px; font-weight: 600; color: var(--text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.lcard:hover .lcard-title { color: var(--ink); }
.lcard-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--muted); }
.lcard-meta span { display: inline-flex; align-items: center; gap: 4px; }
.lcard-meta svg { width: 13px; height: 13px; }
.lcard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px dashed var(--line); padding: 10px 16px 13px; font-size: 12.5px; color: var(--muted);
}
.lcard-price { color: var(--gold); font-weight: 700; font-size: 15px; white-space: nowrap; flex: 0 0 auto; font-family: Georgia, serif; }
.lcard-foot .fp { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.lcard-foot .fp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- 平台特点 ---- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.feat::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 44px; background: var(--gold); border-radius: 0 2px 2px 0; }
.feat-ic {
  width: 44px; height: 44px; border-radius: 12px; background: #eef5f0; color: var(--ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feat-ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 8px; }
.feat p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---- 使用流程 ---- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm); }
.step b {
  font-family: Georgia, serif; font-size: 15px; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); margin-bottom: 12px;
}
.step h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---- 列表页 ---- */
.page-head { background: linear-gradient(135deg, #f2f7f3, #eef2ea); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.page-head h1 { font-size: 27px; color: var(--ink); }
.page-head p { margin: 8px 0 0; color: var(--ink-3); font-size: 14.5px; max-width: 760px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 20px; }
.searchbar { display: flex; gap: 10px; flex: 1 1 380px; }
.searchbar input {
  flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}
.searchbar input:focus { outline: none; border-color: var(--gold-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  transition: all .15s ease; font-family: inherit;
}
.chip svg { width: 14px; height: 14px; }
.chip:hover { border-color: var(--gold-2); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 4px; }
.sort-tabs button {
  border: 0; background: none; padding: 6px 14px; border-radius: 7px; font-size: 13.5px;
  color: var(--muted); cursor: pointer; font-family: inherit;
}
.sort-tabs button.active { background: #eef4f0; color: var(--ink); font-weight: 600; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty svg { width: 40px; height: 40px; margin-bottom: 10px; color: #c4cfc6; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 30px 0 10px; }
.pager button {
  min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); cursor: pointer; font-size: 14px; font-family: inherit; padding: 0 10px;
}
.pager button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }

/* ---- 详情页 ---- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; margin: 26px 0 40px; }
.crumb { font-size: 13px; color: var(--muted); margin: 20px 0 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumb a:hover { color: var(--gold); }
.detail-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.gallery .g-main { aspect-ratio: 2 / 1; background: #eef2ee; }
.gallery .g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.g-thumbs button {
  width: 92px; aspect-ratio: 2/1; border-radius: 8px; overflow: hidden; border: 2px solid var(--line);
  padding: 0; cursor: pointer; background: none;
}
.g-thumbs button.active { border-color: var(--gold); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 24px 26px 28px; }
.detail-title { font-size: 22px; color: var(--ink); font-weight: 700; line-height: 1.45; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 20px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.detail-meta svg { width: 14px; height: 14px; }
.detail-content p { margin: 0 0 15px; font-size: 15px; line-height:   1.9; color: var(--text); }
.detail-content p:last-child { margin-bottom: 0; }

.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.side-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.side-card h3 svg { width: 17px; height: 17px; color: var(--gold); }
.pub-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.pub-row:last-of-type { border-bottom: 0; }
.pub-row .k { color: var(--muted); width: 64px; flex: 0 0 auto; font-size: 13px; }
.pub-row .v { color: var(--text); min-width: 0; word-break: break-all; }
.contact-phone {
  font-family: Georgia, serif; font-size: 21px; color: var(--ink); font-weight: 700;
  letter-spacing: .5px; margin: 6px 0 4px;
}
.contact-tip { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.contact-tip svg { width: 13px; height: 13px; }
.phone-masked { letter-spacing: 1px; }
.side-note { background: var(--gold-soft); border: 1px solid #ecdfc4; border-radius: 10px; padding: 13px 15px; font-size: 13px; color: #7a5b1d; line-height: 1.7; }
.side-note b { color: #6b4f15; }
.price-tag { font-family: Georgia, serif; font-size: 24px; color: var(--gold); font-weight: 700; }

/* ---- 状态条（发布者本人可见） ---- */
.state-bar { border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; display: flex; gap: 8px; align-items: flex-start; }
.state-bar svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 4px; }
.state-bar--wait { background: #fdf6e6; border: 1px solid #f0e0b6; color: #8a6a1c; }
.state-bar--no { background: #fdf0ea; border: 1px solid #f2d4c5; color: #9c4a26; }
.state-bar--ok { background: #edf7f0; border: 1px solid #cfe5d8; color: #25603f; }

/* ---- 表单 ---- */
.auth-card, .publish-card, .form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.auth-wrap { max-width: 460px; margin: 42px auto 60px; }
.auth-card { padding: 34px 34px 30px; }
.auth-card h1 { font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.form-row { margin-bottom: 17px; }
.form-row label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 7px; font-weight: 600; }
.form-row label .req { color: var(--red); margin-left: 2px; }
.form-row input[type=text], .form-row input[type=password], .form-row input[type=tel],
.form-row input[type=number], .form-row select, .form-row textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text); transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--gold-2); }
.form-row textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.form-tip { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-err { background: #fdf0ea; border: 1px solid #f2d4c5; color: #9c4a26; border-radius: 9px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; display: none; }
.form-ok { background: #edf7f0; border: 1px solid #cfe5d8; color: #25603f; border-radius: 9px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; display: none; }
.agree-row { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.agree-row input { margin-top: 4px; flex: 0 0 auto; }
.agree-row a { color: var(--gold); }
.agree-row a:hover { text-decoration: underline; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.auth-foot a { color: var(--gold); }

/* ---- 发布页 ---- */
.publish-wrap { max-width: 860px; margin: 30px auto 56px; }
.publish-card { padding: 30px 34px 34px; }
.publish-card h1 { font-size: 23px; color: var(--ink); margin-bottom: 6px; }
.publish-card .auth-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.quota-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  background: #eef5f0; border: 1px solid #d5e5db; border-radius: 11px;
  padding: 13px 17px; margin-bottom: 24px; font-size: 13.5px; color: var(--ink-2);
}
.quota-bar b { color: var(--ink); font-family: Georgia, serif; font-size: 16px; }
.quota-bar .qb-link { margin-left: auto; color: var(--gold); font-weight: 600; }
.quota-bar .qb-link:hover { text-decoration: underline; }
.gate {
  text-align: center; padding: 60px 30px; background: #fff; border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.gate h2 { font-size: 20px; color: var(--ink); margin: 14px 0 8px; }
.gate p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.upload-zone { border: 1.5px dashed var(--line); border-radius: 11px; padding: 22px; text-align: center; color: var(--muted); font-size: 13.5px; cursor: pointer; transition: border-color .15s; background: #fbfdfb; }
.upload-zone:hover { border-color: var(--gold-2); }
.upload-zone svg { width: 26px; height: 26px; margin-bottom: 6px; color: #b6c4ba; }
.img-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.img-preview .ip { position: relative; width: 108px; aspect-ratio: 2/1; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.img-preview .ip img { width: 100%; height: 100%; object-fit: cover; }
.img-preview .ip button {
  position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.img-preview .ip button svg { width: 11px; height: 11px; }
.img-preview .ip .cover-tag { position: absolute; left: 0; bottom: 0; right: 0; background: rgba(26,82,56,.85); color: #fff; font-size: 11px; text-align: center; padding: 2px 0; }

/* ---- 个人中心 ---- */
.mine-wrap { max-width: 1060px; margin: 30px auto 60px; }
.mine-head {
  background: linear-gradient(120deg, var(--ink) 0%, #2c7a54 100%); color: #fff;
  border-radius: var(--radius); padding: 26px 28px; display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow); flex-wrap: wrap;
}
.mine-ava { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.mine-ava svg { width: 28px; height: 28px; }
.mine-id { flex: 1; min-width: 0; }
.mine-id h2 { font-size: 19px; margin-bottom: 3px; }
.mine-id p { margin: 0; font-size: 13px; opacity: .82; display: flex; flex-wrap: wrap; gap: 14px; }
.mine-id .vflag { display: inline-flex; align-items: center; gap: 4px; }
.mine-id .vflag svg { width: 13px; height: 13px; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 14px; margin: 18px 0; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.stat-card strong { font-family: Georgia, serif; font-size: 25px; color: var(--ink); display: block; line-height: 1.25; }
.stat-card span { font-size: 12.5px; color: var(--muted); }
.stat-card.hl { border-top: 3px solid var(--gold); }
.stat-card.hl strong { color: var(--gold); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 18px; }
.panel h3 { font-size: 17px; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 7px; }
.panel h3 svg { width: 17px; height: 17px; color: var(--gold); }
.mine-list { display: flex; flex-direction: column; gap: 12px; }
.mine-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 14px; align-items: center; }
.mine-item__img { width: 128px; aspect-ratio: 2/1; border-radius: 8px; overflow: hidden; flex: 0 0 auto; background: #eef2ee; }
.mine-item__img img { width: 100%; height: 100%; object-fit: cover; }
.mine-item__main { flex: 1; min-width: 0; }
.mine-item__title { font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-item__meta { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 12px; }
.mine-item__ops { display: flex; gap: 8px; flex: 0 0 auto; flex-wrap: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2.5px 10px; border-radius: 999px; white-space: nowrap; }
.badge--ok { background: #edf7f0; color: #25603f; border: 1px solid #cfe5d8; }
.badge--wait { background: #fdf6e6; color: #8a6a1c; border: 1px solid #f0e0b6; }
.badge--no { background: #fdf0ea; color: #9c4a26; border: 1px solid #f2d4c5; }

/* ---- 充值 ---- */
.recharge-wrap { max-width: 1060px; margin: 30px auto 60px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.plan-card { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 24px 22px 20px; transition: border-color .15s, box-shadow .15s; }
.plan-card:hover { border-color: #cddcd2; box-shadow: var(--shadow-sm); }
.plan-card.featured { border-color: var(--gold); }
.plan-card.picked { border-color: var(--gold); box-shadow: 0 6px 22px rgba(201, 162, 90, .22); }
.plan-card__tag {
  position: absolute; right: 16px; top: -11px; background: var(--gold); color: #fff;
  font-size: 12px; padding: 3px 12px; border-radius: 999px;
}
.plan-card h3 { font-size: 17px; color: var(--ink); }
.plan-card__price { font-family: Georgia, serif; font-size: 34px; color: var(--gold); font-weight: 700; margin: 10px 0 2px; }
.plan-card__price small { font-size: 13px; color: var(--muted); font-family: inherit; font-weight: 400; }
.plan-card__sub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.plan-card__list { list-style: none; margin: 0 0 18px; padding: 0; font-size: 13.5px; color: var(--text); }
.plan-card__list li { display: flex; gap: 7px; align-items: flex-start; padding: 5px 0; }
.plan-card__list svg { width: 14px; height: 14px; color: var(--green); flex: 0 0 auto; margin-top: 4px; }
.single-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.single-box h3 { font-size: 17px; color: var(--ink); }
.single-box .sb-info { flex: 1; min-width: 220px; font-size: 13.5px; color: var(--muted); }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty-ctrl button { width: 38px; height: 40px; border: 0; background: #f6f8f6; font-size: 17px; color: var(--ink-2); cursor: pointer; }
.qty-ctrl input { width: 62px; height: 40px; border: 0; text-align: center; font-size: 15px; font-family: Georgia, serif; color: var(--ink); }
.qty-ctrl input:focus { outline: none; }
.sb-total { font-family: Georgia, serif; font-size: 22px; color: var(--gold); font-weight: 700; white-space: nowrap; }
.notice-link { text-align: center; margin: 26px 0 0; font-size: 13.5px; color: var(--muted); }
.notice-link a { color: var(--gold); display: inline-flex; align-items: center; gap: 4px; }
.notice-link a:hover { text-decoration: underline; }

/* ---- 充值须知 / 政策页 ---- */
.doc-wrap { max-width: 860px; margin: 30px auto 60px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 36px 42px; }
.doc-card h1 { font-size: 24px; color: var(--ink); margin-bottom: 4px; }
.doc-card .doc-date { font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.doc-card h2 { font-size: 17px; color: var(--ink); margin: 26px 0 10px; display: flex; align-items: center; gap: 8px; }
.doc-card h2 .no { font-family: Georgia, serif; color: var(--gold); font-size: 14px; background: var(--gold-soft); border-radius: 7px; padding: 2px 9px; }
.doc-card p { margin: 0 0 11px; font-size: 14px; color: var(--text); }
.doc-card ul { margin: 0 0 11px; padding-left: 20px; font-size: 14px; }
.doc-card li { margin-bottom: 6px; }
.doc-card .doc-note { background: #fbf7ec; border: 1px solid #ecdfc4; border-radius: 10px; padding: 13px 16px; font-size: 13px; color: #7a5b1d; margin: 14px 0; }

/* ---- 后台 ---- */
.adm { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; margin: 26px 0 60px; align-items: start; }
.adm-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px; position: sticky; top: 92px; }
.adm-side .adm-brand { display: flex; align-items: center; gap: 9px; padding: 6px 8px 14px; border-bottom: 1px dashed var(--line); margin-bottom: 10px; }
.adm-side .adm-brand span { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.adm-nav { display: flex; flex-direction: column; gap: 2px; }
.adm-nav button {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  border: 0; background: none; padding: 10px 11px; border-radius: 9px; font-size: 14px;
  color: var(--ink-2); cursor: pointer; font-family: inherit;
}
.adm-nav button svg { width: 15px; height: 15px; }
.adm-nav button:hover { background: #f1f6f2; }
.adm-nav button.active { background: var(--ink); color: #fff; }
.adm-nav .cnt { margin-left: auto; font-size: 11.5px; background: #f0e3c8; color: #8a6a1c; border-radius: 999px; padding: 1px 8px; }
.adm-nav button.active .cnt { background: rgba(255,255,255,.22); color: #fff; }
.adm-main { min-width: 0; }
.adm-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 18px; }
.adm-panel > h3 { font-size: 17px; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.adm-panel > h3 svg { width: 17px; height: 17px; color: var(--gold); }
.adm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.adm-toolbar .chips { margin-right: auto; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 880px; }
table.data th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 11px 10px; border-bottom: 1px solid #eef2ef; vertical-align: middle; }
table.data th:first-child { min-width: 220px; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #f8faf8; }
.td-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.td-title img { width: 84px; aspect-ratio: 2/1; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.td-title .tt { min-width: 0; }
.td-title .tt b { display: block; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
.td-title .tt span { font-size: 12px; color: var(--muted); }
.row-actions { display: inline-flex; gap: 7px; flex-wrap: nowrap; }
.mini-btn { border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 4px 11px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; font-family: inherit; white-space: nowrap; }
.mini-btn:hover { border-color: var(--gold-2); color: var(--gold); }
.mini-btn--ok { background: #eef7f1; border-color: #cfe5d8; color: #25603f; }
.mini-btn--ok:hover { background: var(--green); color: #fff; border-color: var(--green); }
.mini-btn--no { background: #fdf3ee; border-color: #ecd4c7; color: var(--red); }
.mini-btn--no:hover { background: var(--red); color: #fff; border-color: var(--red); }
.docs { display: flex; flex-direction: column; gap: 12px; }
.doc { width: 100%; max-width: 300px; aspect-ratio: 1.58; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #f4f7fa; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.doc img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.doc--empty { color: #b6c4ba; font-size: 12.5px; flex-direction: column; gap: 6px; }
.doc--empty svg { width: 22px; height: 22px; }
.docs--sm { flex-direction: row; flex-wrap: nowrap; gap: 8px; }
.docs--sm .doc { width: 78px; height: 50px; aspect-ratio: auto; border-radius: 8px; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.kv { background: #f8faf8; border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; }
.kv .k { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.kv .v { font-size: 14.5px; color: var(--text); font-weight: 600; word-break: break-all; }
.adm-login { max-width: 420px; margin: 60px auto; }
.drawer-mask { position: fixed; inset: 0; background: rgba(20, 40, 30, .42); z-index: 90; display: none; }
.drawer-mask.show { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 94vw); background: #fff; z-index: 95;
  box-shadow: -8px 0 30px rgba(0,0,0,.12); transform: translateX(100%); transition: transform .22s ease;
  display: flex; flex-direction: column;
}
.drawer.show { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 17px; color: var(--ink); }
.drawer-body { padding: 20px 22px; overflow-y: auto; flex: 1; font-size: 14px; }
.drawer-body .g-main { border-radius: 10px; overflow: hidden; aspect-ratio: 2/1; margin-bottom: 14px; }
.drawer-body .g-main img { width: 100%; height: 100%; object-fit: cover; }
.drawer-body p { margin: 0 0 12px; line-height: 1.9; }
.drawer-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }
.modal-mask { position: fixed; inset: 0; background: rgba(20, 40, 30, .42); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 14px; width: min(640px, 96vw); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.modal-head h3 { font-size: 17px; color: var(--ink); }
.modal-body { padding: 20px 22px; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }

/* ---- 关于 ---- */
.about-hero { background: linear-gradient(120deg, #eef5f0, #f6efdf); border-bottom: 1px solid var(--line); padding: 46px 0; }
.about-hero h1 { font-size: 28px; color: var(--ink); }
.about-hero p { color: var(--ink-3); max-width: 760px; margin: 10px 0 0; }
.about-body { max-width: 860px; margin: 34px auto 60px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px 38px; }
.about-card h2 { font-size: 18px; color: var(--ink); margin: 26px 0 12px; display: flex; align-items: center; gap: 8px; }
.about-card h2:first-child { margin-top: 0; }
.about-card h2 svg { width: 18px; height: 18px; color: var(--gold); }
.about-card p { margin: 0 0 12px; font-size: 14.5px; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.about-facts .kv { background: #f8faf8; }

/* ---- 页脚 ---- */
.site-foot { background: #16382a; color: #d7e3dc; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding: 44px 20px 34px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: #9dbaab; }
.foot-desc { font-size: 12.5px; color: #9dbaab; margin: 14px 0 0; line-height: 1.8; max-width: 300px; }
.foot-col h4 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.foot-col a { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #b9cdc2; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-col a svg { width: 13px; height: 13px; }
.foot-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.12); padding: 16px 20px; font-size: 12.5px; color: #9dbaab;
}
.icp-link { color: #b9cdc2; }
.icp-link:hover { color: #fff; text-decoration: underline; }

/* ---- Toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 42px; transform: translateX(-50%) translateY(16px);
  background: #22312a; color: #fff; padding: 11px 22px; border-radius: 10px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200; max-width: 86vw;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--ok { background: #25603f; }
.toast--err { background: #9c4a26; }

/* ---- 响应式 ---- */
@media (max-width: 1080px) {
  .lgrid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .head-inner { height: 62px; gap: 12px; }
  .brand-name { font-size: 14.5px; letter-spacing: 0; }
  .brand-sub { font-size: 9.5px; letter-spacing: 1px; }
  .brand-sub::before { flex-basis: 10px; width: 10px; }
  .logo-mark { width: 36px !important; height: 36px !important; }
  .nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    align-items: stretch; padding: 10px 16px 16px; gap: 2px; box-shadow: var(--shadow-sm);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 10px; font-size: 15px; }
  .only-mobile { display: block; }
  .head-account { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .detail-grid { grid-template-columns: 1fr; }
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm > * { min-width: 0; }
  .adm-side { position: static; }
  .adm-nav { flex-direction: row; flex-wrap: wrap; }
  .adm-nav button { width: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero h1 { font-size: 28px; }
  .hero { padding: 44px 0 40px; }
  .lgrid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .flow-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .searchbar { flex-wrap: wrap; }
  .searchbar input { flex: 1 1 100%; min-width: 0; }
  .doc-card { padding: 26px 22px; }
  .publish-card { padding: 22px 20px 26px; }
  .mine-item { flex-wrap: wrap; }
  .mine-item__img { width: 100%; }
  .mine-item__ops { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-stats { gap: 22px; }
}
.only-mobile { display: none; }
