:root{
  --ink:#1b2420; --muted:#74807a; --line:#e8e9e4; --bg:#f4f5f2;
  --card:#ffffff; --accent:#14574a; --accent-2:#2c7a68; --gold:#a87e4f;
  --warn:#c4492d; --soft:#f6f7f4; --shadow:0 4px 14px rgba(24,38,31,.045);
  --serif:"Songti SC","STSong","Noto Serif SC","SimSun",serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);overflow-x:hidden;background:var(--bg);
  font:14px/1.6 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased}
a{color:var(--accent)}
.topbar{background:rgba(255,255,255,.96);color:var(--ink);padding:12px 15px;display:flex;align-items:center;
  justify-content:space-between;gap:12px;position:sticky;top:0;z-index:30;
  border-bottom:1px solid var(--line);box-shadow:0 1px 0 rgba(24,38,31,.03);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.brand{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:17px;font-weight:700;
  letter-spacing:.02em;line-height:1.2;color:#123c32}
.brand span{font-size:11px;font-weight:400;letter-spacing:.06em;color:#8a948e;margin-left:8px}
.token{font-size:12px;color:var(--muted)}
.token a{color:var(--muted)!important}
.topbar .token a{color:var(--muted)!important}
.sysnav{display:none!important}
main{max-width:680px;margin:0 auto;padding:12px 12px 46px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:14px;margin-bottom:12px;box-shadow:var(--shadow)}
.card h2{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;font-weight:700;
  letter-spacing:0;margin:0 0 10px;display:flex;align-items:center;gap:8px;color:#1e2d27}
.card h2 i{display:inline-flex;width:22px;height:22px;border-radius:7px;
  background:#e9f2ee;color:var(--accent);font-size:11px;font-style:normal;
  align-items:center;justify-content:center;flex:none;box-shadow:none}
.hint{color:var(--muted);font-size:12px;margin:0 0 12px;line-height:1.7}
.field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted);
  flex:1 1 0;min-width:0;margin-bottom:10px}
.field input,.field select,.field textarea{font-size:14px;color:var(--ink);padding:10px 12px;
  border:1px solid var(--line);border-radius:10px;background:#fbfbf9;width:100%;min-width:0;max-width:100%;
  transition:border-color .18s ease,box-shadow .18s ease}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);outline:none;
  box-shadow:0 0 0 3px rgba(20,87,74,.10)}
.field input[type=file]{font-size:12px;padding:8px}
.row{display:flex;gap:10px;flex-wrap:wrap}
.primary{width:100%;padding:12px 16px;border:0;border-radius:10px;
  background:var(--accent);color:#fff;font-size:15px;font-weight:600;
  letter-spacing:.02em;cursor:pointer;box-shadow:0 6px 16px rgba(20,87,74,.16)}
.primary:hover{background:#0f4a3f}
.primary:active{transform:translateY(1px)}
.primary:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.ghost{border:1px solid var(--line);background:#fff;color:#3d4d46;border-radius:9px;padding:9px 13px;cursor:pointer}
.msg{font-size:12px;color:var(--muted);min-height:18px;margin:8px 0 0}
.msg.err,.msg.bad{color:var(--warn)}
.progress{height:8px;background:#e9e3d6;border-radius:8px;overflow:hidden}
.progress #bar{height:100%;width:0;background:linear-gradient(90deg,#1c5146,#b08a5a);transition:width .4s}
.viewer{position:relative;border-radius:14px;overflow:hidden;background:#e9e3d6}
.viewer canvas{display:block;width:100%;height:auto}
.badge{position:absolute;left:10px;top:10px;background:rgba(16,47,41,.78);
  color:#fff;font-size:11px;padding:4px 9px;border-radius:20px;letter-spacing:.04em}
.slider-row{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:12px;color:var(--muted)}
.slider-row input{flex:1}
.total{display:flex;align-items:baseline;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.total span{color:var(--muted);font-size:12px}
.total b{font-size:20px;color:var(--accent)}
.total em{font-style:normal;font-size:12px;color:var(--muted);margin-left:auto}
.items{list-style:none;margin:0;padding:0}
.items li{padding:10px 0;border-bottom:1px dashed var(--line)}
.items .top{display:flex;justify-content:space-between;gap:8px}
.items .role{font-size:11px;color:#fff;background:#8a9a93;border-radius:5px;padding:1px 6px;margin-right:6px}
.items .name{font-size:14px}
.items .price{color:var(--warn);font-weight:600}
.items .reason{font-size:12px;color:var(--muted);margin-top:4px}
.checks{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.checks li{font-size:11px;padding:3px 8px;border-radius:20px;border:1px solid var(--line);color:var(--muted)}
.checks li.ok{border-color:#bcd8d5;color:var(--accent)}
.checks li.no{border-color:#e5c3bb;color:var(--warn)}
.chatrow{display:flex;gap:8px;margin-top:12px}
.chatrow input{flex:1 1 0;min-width:0;padding:10px 12px;border:1px solid #ded8ca;border-radius:12px;background:#fffefa}
.chatrow button{padding:0 16px;border:1px solid var(--accent);background:#fffdf8;color:var(--accent);border-radius:12px}
footer{text-align:center;color:#8a938d;font-size:11px;padding:12px 0 34px;letter-spacing:.03em}
.hidden{display:none!important}

/* ---- 全站菜单 ---- */
.hy-menu-btn{margin-left:auto;flex:none;width:36px;height:36px;border:1px solid #e4e6e1;
  border-radius:10px;background:#f7f8f6;display:inline-flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;cursor:pointer;padding:0}
.hy-menu-btn i{display:block;width:16px;height:1.5px;border-radius:2px;background:#33443d}
.hy-drawer{position:fixed;inset:0;z-index:90;display:none}
.hy-drawer.on{display:block}
.hy-drawer-backdrop{position:absolute;inset:0;background:rgba(12,30,25,.52);backdrop-filter:blur(3px)}
.hy-drawer-panel{position:absolute;top:0;right:0;height:100%;width:min(88vw,390px);
  background:linear-gradient(180deg,#fffdf8,#faf7ee);border-left:1px solid rgba(176,138,90,.35);
  box-shadow:-20px 0 60px rgba(15,40,32,.22);display:flex;flex-direction:column;
  transform:translateX(18px);animation:hySlide .22s ease forwards}
@keyframes hySlide{to{transform:translateX(0)}}
.hy-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:20px 18px 14px;border-bottom:1px solid var(--line)}
.hy-drawer-head b{font-family:var(--serif);font-size:18px;letter-spacing:.10em;color:#173d34}
.hy-drawer-head small{display:block;color:var(--muted);font-size:11px;margin-top:3px;letter-spacing:.04em}
.hy-drawer-close{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;
  background:#fff;color:#52635c;font-size:18px;line-height:1;cursor:pointer}
.hy-drawer-body{flex:1;overflow-y:auto;padding:14px 16px 18px}
.hy-drawer-group{margin:0 0 16px}
.hy-drawer-group h3{font-size:11px;font-weight:600;letter-spacing:.14em;color:#9a7b50;
  margin:0 0 8px;padding-left:2px}
.hy-drawer-links{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.hy-drawer-links a{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 10px;
  border:1px solid #e7e0d2;border-radius:12px;background:#fffefa;color:#30463f;
  text-decoration:none;font-size:12px;line-height:1.3}
.hy-drawer-links a.on{border-color:#b08a5a;background:#fbf2e3;color:#6f4a25;font-weight:600}
.hy-drawer-links i{display:inline-flex;width:24px;height:24px;border-radius:8px;background:#f3eee1;
  color:#7c5a33;font-style:normal;font-size:11px;align-items:center;justify-content:center;flex:none}
.hy-drawer-foot{padding:12px 16px calc(14px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line);font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}

/* ---- 五项底部栏 ---- */
.hy-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;
  background:rgba(255,255,255,.97);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border-top:1px solid #e7e8e3;padding:8px 8px calc(7px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 18px rgba(24,38,31,.05)}
.hy-tabbar a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;
  color:#8b948e;text-decoration:none;font-size:10px;letter-spacing:.02em;padding:1px 0}
.hy-tabbar a.on{color:var(--accent);font-weight:600}
.hy-tabbar svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.hy-has-tab{padding-bottom:74px}
body.hy-has-tab main{padding-bottom:96px}
body.hy-has-tab .cartbar{bottom:calc(64px + env(safe-area-inset-bottom))!important}
body.hy-has-tab .cart-bar,
body.hy-has-tab .actions{bottom:calc(64px + env(safe-area-inset-bottom))!important}
body.hy-has-tab .fab{bottom:calc(120px + env(safe-area-inset-bottom))!important}
@media(min-width:760px){
  .hy-tabbar{left:50%;right:auto;transform:translateX(-50%);width:min(620px,calc(100vw - 48px));
    bottom:16px;border:1px solid rgba(176,138,90,.36);border-radius:22px;padding:8px 14px;
    box-shadow:0 18px 44px rgba(20,45,37,.16)}
  body.hy-has-tab{padding-bottom:0}
}
@media(max-width:700px){
  body.hy-shell .topbar{padding:13px 14px}
  body.hy-shell .topbar .token{display:none}
  main{padding:14px 13px 44px}
  .card{padding:16px 14px 14px;border-radius:16px}
}

/* ---- 用户中心九宫格 ---- */
.me-nine{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 12px;
  background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.me-nine a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  min-height:88px;padding:12px 6px;border-right:1px solid #f0f1ed;border-bottom:1px solid #f0f1ed;
  background:#fff;color:#2b3b34;text-decoration:none;text-align:center;box-shadow:none}
.me-nine a:nth-child(3n){border-right:0}
.me-nine a:nth-child(n+7){border-bottom:0}
.me-nine a:active{background:#f7faf8}
.me-nine .ico{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#eef5f1;color:var(--accent);font-size:14px;font-weight:600;border:0}
.me-nine .ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.me-nine b{font-size:12px;font-weight:600;line-height:1.2;color:#22322b}
.me-nine small{font-size:10px;color:#8b948f;line-height:1.2}
.me-service-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.me-service-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;
  color:#30463f;text-decoration:none;font-size:12px}
.me-service-list a span{color:#8a6a4a;font-size:11px;white-space:nowrap}

@media(max-width:380px){
  .me-nine{grid-template-columns:repeat(3,minmax(0,1fr))}
  .me-nine small{display:none}
}

/* ---------- 评价审核状态（原 reviews.css 并入 20261124） ---------- */
.audit-chip{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:10px;font-size:11px;vertical-align:middle}
.audit-chip.pending{background:#fff1d8;color:#a76b18}
.audit-chip.rejected{background:#fde9e4;color:#a3492d}
.rv-ops{display:flex;gap:10px;margin-top:10px;padding-top:8px;border-top:1px solid #f1e7da}
.rv-ops .mini{padding:4px 12px;font-size:12px;border-radius:8px}

/* H5 原生观感：隐藏滚动条但保留滚动能力（APP/小程序无桌面滚动条） */
html,body{scrollbar-width:none;-ms-overflow-style:none}
::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
