/* =============================================================
   元阳选品 · 页面级样式
   ============================================================= */

/* ============ 商品卡片（选品广场 / 收藏单） ============ */
.guest-page { background: #f7f6f0; padding-bottom: calc(var(--tabbar-h) + 10px + env(safe-area-inset-bottom, 0px)); }
.guest-head { height: 54px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; background:#faf9f5; position:sticky; top:0; z-index:10; }
.guest-head b { font-size:16px; color:#0d2630; }
.guest-home { width:32px; height:32px; display:grid; place-items:center; color:#263c35; position:relative; }
.guest-home svg { width:22px; height:22px; }.guest-home i { position:absolute; top:-2px; right:-2px; min-width:15px; height:15px; border-radius:10px; background:#e4682a; color:#fff; font-size:9px; font-style:normal; display:grid; place-items:center; }
.guest-hero { padding:12px 20px 8px; }.guest-hero.compact { padding-bottom:14px; }.guest-hero h1 { margin:8px 0 7px; font-size:27px; line-height:1.18; letter-spacing:-.045em; color:#122920; }.guest-hero p { margin:0; color:#77847e; font-size:12px; }
.guest-login-note { height:42px; margin-top:14px; padding:0 10px; border-radius:7px; background:#e8ebe4; display:flex; align-items:center; gap:8px; color:#7a847e; font-size:12px; }.guest-login-note svg { width:16px; }.guest-login-note button { margin-left:auto; color:#276350; font-weight:700; font-size:12px; }
.guest-search { margin-top:13px; height:48px; border:1px solid #e5e5df; background:#fff; border-radius:8px; display:flex; align-items:center; gap:9px; padding:0 14px; color:#84918b; font-size:13px; }.guest-search svg { width:19px; }
.guest-flash { display:flex; gap:10px; overflow-x:auto; padding:10px 20px 6px; scrollbar-width:none; }.guest-flash button { flex:0 0 226px; height:82px; border:1px solid #ebebe5; background:#fff; border-radius:9px; display:flex; align-items:center; gap:9px; padding:8px; text-align:left; }.guest-flash img { width:60px; height:60px; border-radius:5px; object-fit:cover; }.guest-flash span { min-width:0; display:flex; flex-direction:column; gap:2px; }.guest-flash b { font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.guest-flash small { font-size:10px; color:#e2652d; }.guest-flash em { color:#e2652d; font-size:12px; font-style:normal; }.guest-flash svg { width:15px; color:#819089; }
.guest-cats { display:flex; gap:9px; overflow-x:auto; padding:11px 20px 13px; scrollbar-width:none; }.guest-cats button { flex:none; padding:10px 15px; border:1px solid #e6e6e0; border-radius:22px; background:#fff; color:#46554d; font-size:13px; }.guest-cats button.on { background:#276350; color:#fff; border-color:#276350; font-weight:700; }
.guest-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:0 20px 18px; }.guest-product { border-radius:8px; overflow:hidden; background:#fff; box-shadow:0 1px 4px rgba(20,42,31,.06); padding-bottom:10px; }.guest-product-img { height:142px; position:relative; overflow:hidden; background:#ede9df; }.guest-product-img img { width:100%; height:100%; object-fit:cover; }.guest-product-img>span { position:absolute; top:8px; left:8px; border-radius:3px; background:#fff; color:#e86932; padding:3px 6px; font-size:10px; font-weight:700; }.guest-product-img button { position:absolute; right:8px; top:8px; width:28px; height:28px; background:#fff; border-radius:50%; display:grid; place-items:center; color:#587066; }.guest-product-img button svg { width:16px; }.guest-product h3 { margin:10px 10px 5px; font-size:13px; line-height:1.35; min-height:35px; }.guest-product p { margin:0 10px 8px; height:34px; overflow:hidden; color:#77827d; font-size:10.5px; line-height:1.55; }.guest-product-meta { display:flex; gap:5px; margin:0 10px 8px; font-size:10px; }.guest-product-meta span,.guest-product-meta em { padding:3px 5px; background:#ecf1ec; color:#4b7664; border-radius:3px; font-style:normal; }.guest-product-meta svg { width:10px; vertical-align:-2px; }.guest-product strong { margin-left:10px; color:#df5c27; font-size:17px; }.guest-product del { margin-left:4px; color:#969e98; font-size:10px; }
.guest-group-list { padding:0 20px 16px; display:flex; flex-direction:column; gap:14px; }.guest-group-card { padding:16px; border:1px solid #e7e6df; border-radius:9px; background:#fff; display:flex; gap:13px; align-items:flex-start; }.guest-group-card>img { width:84px; height:84px; border-radius:5px; object-fit:cover; }.guest-group-card h3 { margin:0 0 7px; font-size:13px; line-height:1.35; }.guest-group-card strong { color:#dd5a27; font-size:18px; }.guest-group-card del { color:#89928d; margin-left:5px; font-size:10px; }.guest-group-card p { margin:7px 0; font-size:10px; color:#77827d; }.guest-group-card p span { padding:3px 5px; background:#fff3e5; color:#e77a25; border-radius:3px; }.guest-group-card p span.done { background:#e7f5e8; color:#24814f; }.guest-progress { height:7px; border-radius:9px; overflow:hidden; background:#e9eee8; margin-bottom:7px; }.guest-progress i { height:100%; display:block; background:#e98a1e; border-radius:9px; }.guest-group-card small { font-size:10px; color:#577a6b; }.guest-group-card .btn { flex:none; margin-top:55px; }
.guest-empty { margin:62px 20px; display:flex; flex-direction:column; align-items:center; text-align:center; color:#718078; }.guest-empty>svg { width:54px; height:54px; padding:16px; border-radius:50%; background:#edf0e9; }.guest-empty h3 { margin:18px 0 8px; color:#1d3028; }.guest-empty p { margin:0 0 18px; font-size:12px; }.guest-cart-list { padding:0 20px; }.guest-cart-list article { display:flex; gap:10px; padding:12px 0; border-bottom:1px solid #e3e5df; }.guest-cart-list img { width:58px; height:58px; object-fit:cover; border-radius:6px; }.guest-cart-list b,.guest-cart-list small,.guest-cart-list strong { display:block; }.guest-cart-list b { font-size:13px; }.guest-cart-list small { margin:5px 0; color:#7b8681; font-size:11px; }.guest-cart-list strong { color:#df5c27; }.guest-cart-list article>button { width:24px; color:#84918b; align-self:center; }.guest-cart-list article>button svg { width:16px; }
.guest-profile { padding:28px 20px 16px; display:flex; align-items:center; gap:14px; }.guest-avatar { flex:none; width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(140deg,#5adcaa,#15925f); color:#fff; font-size:24px; font-weight:800; }.guest-profile h2 { margin:0 0 4px; font-size:22px; }.guest-profile p { margin:0 0 7px; color:#75817b; font-size:12px; }.guest-profile span { padding:4px 7px; background:#ecf1ec; color:#78847e; border-radius:3px; font-size:11px; }.guest-account-card,.guest-login-card,.guest-order-icons,.guest-menu { margin:0 20px 16px; border:1px solid #e6e5df; border-radius:9px; background:#fff; }.guest-account-card { display:flex; align-items:center; gap:12px; padding:15px; }.guest-account-icon { padding:11px; border-radius:7px; background:#fff0e7; color:#e66d36; }.guest-account-icon svg { width:20px; }.guest-account-card b,.guest-account-card small { display:block; }.guest-account-card small { margin-top:4px; font-size:11px; color:#74817b; }.guest-login-card { padding:20px; text-align:left; }.guest-login-card>span { width:42px; height:42px; border-radius:50%; background:#eef1ec; color:#708076; display:grid; place-items:center; }.guest-login-card>span svg { width:28px; height:28px; }.guest-login-card h3 { margin:13px 0 6px; font-size:16px; }.guest-login-card p { margin:0 0 14px; font-size:11px; color:#77837d; }.guest-section-title { display:flex; justify-content:space-between; margin:24px 20px 10px; font-size:15px; }.guest-section-title small { font-size:11px; color:#78847e; font-weight:400; }.guest-order-icons { display:grid; grid-template-columns:repeat(4,1fr); padding:14px 0; }.guest-order-icons div { display:flex; flex-direction:column; align-items:center; gap:7px; border-right:1px solid #edf0ea; color:#1f332a; }.guest-order-icons div:last-child { border:0; }.guest-order-icons svg { width:24px; height:24px; }.guest-order-icons span { color:#74807a; font-size:11px; }.guest-menu { padding:0 14px; }.guest-menu button { width:100%; display:flex; align-items:center; gap:12px; padding:13px 0; text-align:left; border-bottom:1px solid #edf0eb; }.guest-menu button:last-child { border:0; }.guest-menu button>svg:first-child { padding:8px; width:18px; height:18px; box-sizing:content-box; border-radius:7px; background:#edf3ed; color:#397262; }.guest-menu b,.guest-menu small { display:block; }.guest-menu small { margin-top:3px; color:#7b8781; font-size:11px; }.guest-menu button>svg:last-child { width:16px; color:#88948e; }.guest-detail-img { width:100%; height:180px; object-fit:cover; border-radius:10px; }.role-choice { width:100%; display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); text-align:left; }.role-choice:last-child { border:0; }.role-choice>span { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:var(--green-50); color:var(--green); }.role-choice>span svg { width:23px; }.role-choice b,.role-choice small { display:block; }.role-choice small { margin-top:4px; color:var(--ink-3); font-size:11px; }.role-choice>svg { margin-left:auto; width:17px; color:var(--ink-3); }
.pd-card {
  background: #fff; border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: var(--shadow-1); overflow: hidden; margin-bottom: 12px;
  transition: box-shadow .18s var(--ease), transform .18s var(--ease);
}
.pd-card:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.pd-cover { position: relative; height: 132px; display: grid; place-items: center; overflow: hidden; }
.pd-cover svg { width: 74px; height: 74px; opacity: .92; filter: drop-shadow(0 8px 18px rgba(0,0,0,.16)); }
.pd-cover .product-cover-image,
.hero-detail .product-cover-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }

/* 农户端商品档案 */
.product-detail-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.product-detail-photo { border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--surface-3); }
.product-detail-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.base-detail-card { margin-top: 10px; padding: 12px; background: var(--green-50); border: 1px solid var(--green-100); border-radius: 12px; }
.base-detail-card > b { color: var(--green-800); font-size: 14px; }
.base-detail-card p { color: var(--ink-2); }
.base-detail-meta { display: flex; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--green-200); color: var(--ink-3); font-size: 11px; }
.base-detail-meta b { color: var(--ink-1); margin-left: 4px; }
.product-detail-files { margin-top: 10px; }
.product-detail-file { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.product-detail-file:last-child { border-bottom: 0; }
.product-detail-file b, .product-detail-file small { display: block; }
.product-detail-file b { font-size: 12.5px; }
.product-detail-file small { margin-top: 3px; color: var(--ink-3); font-size: 10.5px; }
.empty-inline { margin-top: 10px; padding: 12px; background: var(--surface-3); color: var(--ink-3); border-radius: 10px; font-size: 12px; text-align: center; }
.pd-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 26% 18%, rgba(255,255,255,.55), transparent 55%);
}
.pd-cover .cover-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.92); color: var(--green-800);
  font-size: 10.5px; font-weight: 800; backdrop-filter: blur(6px);
}
.pd-cover .cover-save { position: absolute; right: 10px; top: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink-3); backdrop-filter: blur(6px); }
.pd-cover .cover-save svg { width: 15px; height: 15px; }
.pd-cover .cover-save.on { color: var(--green); }
.pd-body { padding: 12px 14px 14px; }
.pd-title { font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; line-height: 1.35; }
.pd-feat { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 5px; }
.pd-meta { display: flex; align-items: center; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.pd-foot { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding-top: 11px; border-top: 1px dashed var(--line); }
.pd-price { font-size: 15px; font-weight: 750; color: var(--green-700); font-family: var(--num); letter-spacing: -.02em; }

/* 双列栅格（宽屏） */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-grid .pd-card { margin-bottom: 0; }
.pd-grid .pd-cover { height: 108px; }
.pd-grid .pd-cover svg { width: 54px; height: 54px; }
.pd-grid .pd-title { font-size: 13px; }

/* 主播选品广场：手机双列商品流 */
.pd-square-grid { gap: 10px; }
.pd-square-grid .pd-card { min-width: 0; border-radius: 12px; }
.pd-square-grid .pd-cover { height: 96px; }
.pd-square-grid .pd-cover svg { width: 48px; height: 48px; }
.pd-square-grid .cover-save { top: 7px; right: 7px; width: 27px; height: 27px; }
.pd-square-grid .cover-save svg { width: 14px; height: 14px; }
.pd-square-grid .cover-badge { top: 7px; left: 7px; padding: 3px 6px; font-size: 9.5px; }
.pd-square-grid .pd-body { padding: 10px; }
.pd-square-grid .pd-title { display: -webkit-box; min-height: 34px; overflow: hidden; font-size: 12.5px; line-height: 1.36; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pd-square-grid .pd-feat { display: -webkit-box; min-height: 34px; margin-top: 4px; overflow: hidden; font-size: 10.5px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pd-square-grid .pd-meta { gap: 4px; margin-top: 7px; }
.pd-square-grid .pd-meta .tag { max-width: 100%; height: 20px; padding: 0 6px; overflow: hidden; font-size: 9.5px; text-overflow: ellipsis; }
.pd-square-grid .pd-meta .tag:nth-child(n+3) { display: none; }
.pd-square-grid .pd-foot { align-items: center; gap: 4px; margin-top: 8px; padding-top: 8px; }
.pd-square-grid .pd-price { max-width: 58px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pd-square-grid .pd-foot > .tiny { display: none; }
.pd-square-grid .pd-foot .btn { margin-left: auto !important; padding: 0 8px; font-size: 10.5px; }

/* ============ 搜索 + 横向筛选 ============ */
.sticky-filter { position: sticky; top: 0; z-index: 18; background: var(--surface-2); padding: 10px 16px 9px; border-bottom: 1px solid var(--line); }
.chip-scroll { display: flex; gap: 7px; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; margin-top: 9px; scrollbar-width: none; max-width: 100%; -webkit-overflow-scrolling: touch; }
.chip-scroll::-webkit-scrollbar { display: none; }

/* ============ 抽屉（U.openDrawer） ============ */
.drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88%);
  display: flex; flex-direction: column; background: var(--surface-2, #fff);
  border-radius: 18px 0 0 18px; box-shadow: -12px 0 40px rgba(10, 30, 20, .18);
  transform: translateX(102%); transition: transform .28s cubic-bezier(.32, .72, 0, 1);
  z-index: 71; overflow: hidden;
}
.drawer.is-open { transform: translateX(0); }
.drawer-wide { width: min(520px, 94%); }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-head h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.drawer-head .sub { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 18px; }
.drawer-foot { flex: none; display: flex; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface-2, #fff); }

/* ============ 商品详情 ============ */
.hero-detail { position: relative; height: 210px; display: grid; place-items: center; overflow: hidden; }
.hero-detail svg { width: 108px; height: 108px; opacity: .95; filter: drop-shadow(0 14px 30px rgba(0,0,0,.2)); }
.hero-detail::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.5), transparent 58%); }
.hero-detail .hero-tag { position: absolute; left: 16px; top: 14px; z-index: 2; }
.hero-detail .hero-save { position: absolute; right: 16px; top: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--ink-3); box-shadow: var(--shadow-1); }
.hero-detail .hero-save.on { color: var(--green); }
.sheet-up { margin-top: -18px; position: relative; z-index: 3; border-radius: 20px 20px 0 0; background: var(--surface-2); padding: 18px 16px 0; }
.detail-title { font-size: 21px; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; }
.detail-feat { font-size: 12.5px; color: var(--ink-2); line-height: 1.75; margin-top: 8px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.spec-item { min-width: 0; }
.spec-item .k { font-size: 10.5px; color: var(--ink-4); font-weight: 600; }
.spec-item .v { font-size: 12.5px; color: var(--ink); font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; line-height: 1.45; }
.price-box { display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--green-50); border: 1px solid var(--green-100); }
.price-box .v { font-size: 20px; font-weight: 800; font-family: var(--num); color: var(--green-700); letter-spacing: -.03em; }
.price-box .k { font-size: 11px; color: var(--green-700); opacity: .85; }

/* 基地卡片 */
.farm-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.farm-cover { position: relative; height: 96px; display: grid; place-items: center; background: linear-gradient(135deg, #43cf9b, #12875c); color: #fff; }
.farm-cover svg { width: 40px; height: 40px; opacity: .55; position: absolute; right: 14px; bottom: 12px; }
.farm-cover .fc-t { position: absolute; left: 14px; top: 13px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; opacity: .92; }
.farm-cover .fc-n { position: absolute; left: 14px; bottom: 12px; font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.farm-body { padding: 13px 14px; }
.farm-intro { font-size: 12px; color: var(--ink-2); line-height: 1.75; }
.farm-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); align-items: start; }
.farm-kv .k { font-size: 10.5px; color: var(--ink-4); }
.farm-kv .v { font-size: 12px; font-weight: 600; margin-top: 1px; line-height: 1.5; word-break: break-word; }
.cert-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 11px; }
.cert { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100); border-radius: 6px; padding: 3px 7px; }
.cert svg { width: 11px; height: 11px; }

/* ============ 沟通（聊天） ============ */
.chat-app { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--surface-2); }
.chat-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-scroll { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.chat-day { text-align: center; font-size: 10.5px; color: var(--ink-4); margin: 4px 0; }
.msg { display: flex; gap: 8px; max-width: 86%; }
.msg .bubble {
  padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: #fff;
  font-size: 13px; line-height: 1.6; color: var(--ink); box-shadow: var(--shadow-1); word-break: break-word;
}
.msg .time { font-size: 10px; color: var(--ink-4); margin-top: 4px; }
.msg.me { margin-left: auto; flex-direction: row-reverse; }
.msg.me .bubble { background: var(--green); color: #fff; border-radius: 14px 14px 4px 14px; box-shadow: 0 2px 8px rgba(20,147,79,.28); }
.msg.me .time { text-align: right; }
.msg .avatar { width: 30px; height: 30px; font-size: 11px; }
.chat-sys { align-self: center; max-width: 92%; text-align: center; font-size: 11px; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px; line-height: 1.6; }
.chat-input { flex: none; display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-input textarea { flex: 1; min-height: 40px; max-height: 96px; padding: 10px 13px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 13.5px; resize: none; line-height: 1.5; }
.chat-input textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(20,147,79,.1); }
.chat-input .send { width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.chat-input .send svg { width: 19px; height: 19px; }

/* 快捷回复 */
.quick-replies { display: flex; gap: 7px; overflow-x: auto; overflow-y: hidden; padding: 0 14px 9px; background: #fff; max-width: 100%; flex: none; -webkit-overflow-scrolling: touch; }
.quick-replies::-webkit-scrollbar { display: none; }
.quick-replies button { flex: none; font-size: 11.5px; color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100); border-radius: 999px; padding: 6px 11px; font-weight: 600; }

/* 联系人卡片（联系方式互授） */
.contact-card { border-radius: var(--r); padding: 15px; border: 1px dashed var(--green-200); background: linear-gradient(135deg, var(--green-50), #fff); }
.contact-line { display: flex; align-items: center; gap: 9px; padding: 9px 0; }
.contact-line + .contact-line { border-top: 1px dashed var(--green-200); }
.contact-line .ic { width: 32px; height: 32px; border-radius: 9px; background: #fff; display: grid; place-items: center; color: var(--green-700); flex: none; box-shadow: var(--shadow-1); }
.contact-line .ic svg { width: 16px; height: 16px; }
.contact-line .v { font-family: var(--num); font-size: 14px; font-weight: 700; letter-spacing: .01em; }

/* ============ 合作单列表 ============ */
.lead-card { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 13px 14px; margin-bottom: 10px; box-shadow: var(--shadow-1); transition: .16s; }
.lead-card:active { background: var(--surface-2); }
.lead-card.has-unread { border-color: var(--green-200); box-shadow: 0 3px 14px rgba(20,147,79,.1); }
.lead-top { display: flex; align-items: center; gap: 10px; }
.lead-preview { font-size: 11.5px; color: var(--ink-3); margin-top: 9px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ 步骤条 ============ */
.steps { display: flex; align-items: flex-start; gap: 0; padding: 4px 0 18px; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.step .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; font-family: var(--num); background: #e6ece7; color: var(--ink-4); z-index: 2; transition: .2s; }
.step .t { font-size: 10.5px; color: var(--ink-4); font-weight: 600; white-space: nowrap; }
.step.on .n { background: var(--green); color: #fff; box-shadow: 0 0 0 4px var(--green-100); }
.step.on .t { color: var(--green-700); }
.step.done .n { background: var(--green-100); color: var(--green-700); }
.step.done .t { color: var(--ink-2); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: 50%; right: -50%; height: 2px; background: #e6ece7; }
.step.done:not(:last-child)::after { background: var(--green-200); }

/* ============ 表单（发布商品） ============ */
.form-sec { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 16px 15px; margin-bottom: 12px; }
.form-sec > h3 { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.form-sec > h3 svg { width: 16px; height: 16px; color: var(--green); }
.form-sec > p { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-bottom: 14px; }

/* 文件化资质材料：用明确的上传状态替代仅勾选标签 */
.cert-upload-list { display: grid; gap: 9px; }
.cert-upload-card { display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 10px; border: 1px dashed #c7d9cc; border-radius: 12px; background: #fbfdfb; }
.cert-upload-card.is-uploaded { border-style: solid; border-color: var(--green-200); background: var(--green-50); }
.cert-upload-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 10px; background: #eef4ef; color: var(--ink-3); }
.cert-upload-card.is-uploaded .cert-upload-icon { background: var(--green); color: #fff; }
.cert-upload-copy { flex: 1; min-width: 0; }
.cert-upload-copy b { display: block; font-size: 12.5px; color: var(--ink); }
.cert-upload-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; font-size: 10.5px; color: var(--ink-3); }
.cert-upload-card.is-uploaded small { color: var(--green-700); }
.cert-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* 商品实拍图上传 */
.product-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.product-photo-item, .product-photo-add { position: relative; aspect-ratio: 1 / 1; min-width: 0; overflow: hidden; border-radius: 12px; }
.product-photo-item { border: 1px solid var(--line); background: var(--surface-2); }
.product-photo-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-photo-remove { position: absolute; top: 6px; right: 6px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #fff; background: rgba(18, 35, 25, .72); box-shadow: 0 2px 7px rgba(0,0,0,.18); }
.product-photo-remove svg { width: 14px; height: 14px; }
.product-photo-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1.5px dashed #b9d5c1; color: var(--green-700); background: var(--green-50); }
.product-photo-add svg { width: 22px; height: 22px; }
.product-photo-add b { font-size: 11.5px; font-weight: 700; }
.product-photo-add small { color: var(--ink-3); font-size: 10px; }
.product-photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* 农户“我的”页面 */
.profile-hero { display: flex; align-items: center; gap: 11px; padding: 16px; margin-bottom: 12px; border: 1px solid var(--green-200); border-radius: var(--r); background: linear-gradient(140deg, #edf8ef, #ffffff); }
.profile-hero .grow { min-width: 0; }
.profile-hero h3 { font-size: 15px; font-weight: 750; color: var(--ink); }
.profile-hero p { margin-top: 4px; font-size: 11px; color: var(--ink-3); }
.profile-group { overflow: hidden; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.profile-group > h3 { padding: 13px 14px 7px; font-size: 11px; font-weight: 700; color: var(--ink-4); }
.profile-row { display: flex; align-items: center; width: 100%; min-height: 62px; gap: 10px; padding: 10px 14px; border: 0; border-top: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; }
.profile-row:active { background: var(--surface-2); }
.profile-row .pr-icon { display: grid; width: 32px; height: 32px; place-items: center; flex: none; border-radius: 9px; background: var(--green-50); color: var(--green); }
.profile-row .pr-icon svg { width: 16px; height: 16px; }
.profile-row .grow { min-width: 0; }
.profile-row b { display: block; font-size: 13px; font-weight: 650; }
.profile-row small { display: block; overflow: hidden; margin-top: 3px; color: var(--ink-3); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.profile-row > svg { width: 15px; color: var(--ink-4); flex: none; }
.m-field > label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.m-field { margin-bottom: 13px; }
.m-input { width: 100%; height: 42px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 13.5px; transition: .15s; }
.m-input:focus, .m-textarea:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,147,79,.11); }
.m-textarea { width: 100%; min-height: 76px; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 13px; line-height: 1.6; resize: none; }
.input-pair { display: flex; gap: 9px; }
.input-pair > * { flex: 1 1 0; min-width: 0; }
.input-pair .m-input { padding: 0 10px; font-size: 13px; }
.cat-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cat-opt {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px;
  border-radius: 11px; background: var(--surface-2); border: 1.5px solid transparent;
  font-size: 11px; font-weight: 600; color: var(--ink-3); transition: .15s;
}
.cat-opt svg { width: 20px; height: 20px; opacity: .7; }
.cat-opt.on { background: var(--green-50); border-color: var(--green); color: var(--green-700); }
.cat-opt.on svg { opacity: 1; }
.m-tip { display: flex; gap: 7px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 8px; }
.m-tip svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.notice { display: flex; gap: 9px; padding: 11px 13px; border-radius: 11px; font-size: 12px; line-height: 1.65; }
.notice svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.notice-green { background: var(--green-50); color: var(--green-700); }
.notice-amber { background: var(--amber-50); color: #8a5900; }
.notice-red { background: var(--red-50); color: #a52a2a; }
.notice-gray { background: #f0f3f1; color: var(--ink-3); }

/* ============ 管理端 ============ */
.review-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.queue-item { display: flex; gap: 11px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: .14s; position: relative; }
.queue-item:last-child { border-bottom: 0; }
.queue-item:hover { background: #fafcfb; }
.queue-item.on { background: var(--green-50); }
.queue-item.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green); }
.queue-item .g { flex: 1; min-width: 0; }
.queue-item b { font-size: 12.5px; font-weight: 650; display: block; }
.queue-item small { font-size: 11px; color: var(--ink-4); display: block; margin-top: 3px; }
.review-detail { overflow: hidden; min-width: 0; }
.review-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(105deg, #ffffff 55%, #f3faf5); }
.review-product-summary { display: flex; align-items: center; min-width: 0; gap: 13px; }
.review-product-summary h2 { margin: 5px 0 3px; font-size: 18px; font-weight: 760; letter-spacing: -.025em; line-height: 1.35; }
.review-product-summary p { color: var(--ink-3); font-size: 12px; }
.review-tags { display: flex; align-items: center; gap: 6px; }
.review-completeness { flex: none; display: flex; flex-direction: column; align-items: flex-end; padding-left: 20px; border-left: 1px solid var(--line); color: var(--ink-3); }
.review-completeness b { color: var(--green-700); font-family: var(--num); font-size: 22px; font-weight: 800; line-height: 1.05; }
.review-completeness b small { color: var(--ink-4); font-size: 12px; font-weight: 600; }
.review-completeness span { margin-top: 4px; font-size: 11px; }
.review-content { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(310px, .96fr); gap: 0; }
.review-item-panel, .review-source-panel { min-width: 0; padding: 20px 22px; }
.review-item-panel { border-right: 1px solid var(--line); }
.review-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.review-section-head span:first-child { color: var(--ink-4); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; }
.review-section-head h3 { margin-top: 1px; color: var(--ink); font-size: 15px; font-weight: 750; }
.review-check-list { border-top: 1px solid var(--line); }
.review-check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.review-check-icon { display: grid; width: 22px; height: 22px; place-items: center; flex: none; border-radius: 50%; margin-top: 1px; }
.review-check-icon svg { width: 12px !important; height: 12px !important; }
.review-check.is-ok .review-check-icon { color: var(--green-700); background: var(--green-50); }
.review-check.is-warn .review-check-icon { color: #93600c; background: var(--amber-50); }
.review-check b { display: block; color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.review-check small { display: -webkit-box; margin-top: 3px; overflow: hidden; color: var(--ink-3); font-size: 11.5px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.review-farm-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.review-farm-head { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, #16864b, #0b5835); }
.review-farm-head span, .review-farm-head b { display: block; }
.review-farm-head span { color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.review-farm-head b { margin-top: 5px; font-size: 15px; font-weight: 750; }
.review-farm-head svg { width: 31px; height: 31px; opacity: .58; }
.review-farm-body { padding: 14px 16px 15px; }
.review-location { display: flex; align-items: flex-start; gap: 5px; color: var(--ink-3); font-size: 11.5px; line-height: 1.5; }
.review-location svg { width: 13px; height: 13px; flex: none; margin-top: 2px; }
.review-farm-intro { display: -webkit-box; margin-top: 9px; overflow: hidden; color: var(--ink-2); font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.review-farm-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 16px; margin-top: 13px; padding-top: 13px; border-top: 1px dashed var(--line); }
.review-farm-kv span, .review-farm-kv b { display: block; }
.review-farm-kv span { color: var(--ink-4); font-size: 10.5px; }
.review-farm-kv b { margin-top: 2px; color: var(--ink-2); font-size: 11.5px; font-weight: 700; line-height: 1.35; }
.review-farm-card .cert-row { margin-top: 12px; }
.review-readiness { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; padding: 11px 12px; border-radius: 10px; }
.review-readiness > svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.review-readiness b, .review-readiness small { display: block; }
.review-readiness b { font-size: 12px; font-weight: 700; }
.review-readiness small { margin-top: 2px; font-size: 10.5px; line-height: 1.45; }
.review-readiness.is-ready { color: var(--green-700); background: var(--green-50); }
.review-readiness.is-warn { color: #875609; background: var(--amber-50); }
.review-evidence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); background: #fbfdfb; }
.review-evidence-block { min-width: 0; padding: 18px 22px; }
.review-evidence-block + .review-evidence-block { border-left: 1px solid var(--line); }
.review-evidence-block .review-section-head { margin-bottom: 10px; }
.review-photo-list { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 2px; }
.review-photo { position: relative; width: 86px; height: 86px; flex: none; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-photo span { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: center; gap: 3px; height: 26px; color: #fff; background: rgba(8, 40, 24, .66); font-size: 10px; font-weight: 700; }
.review-photo span svg { width: 12px; height: 12px; }
.review-file-list { display: grid; gap: 7px; }
.review-file { display: flex; align-items: center; width: 100%; min-width: 0; gap: 9px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: left; }
.review-file:hover { border-color: var(--green-200); background: var(--green-50); }
.review-file-icon { display: grid; width: 30px; height: 30px; place-items: center; flex: none; border-radius: 8px; color: var(--green-700); background: var(--green-50); }
.review-file-icon svg, .review-file > svg { width: 15px; height: 15px; flex: none; color: var(--ink-4); }
.review-file b, .review-file small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-file b { color: var(--ink-2); font-size: 11.5px; font-weight: 700; }
.review-file small { margin-top: 2px; color: var(--ink-4); font-size: 10.5px; }
.review-empty-evidence { display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 9px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--ink-3); background: #fff; }
.review-empty-evidence > svg { width: 22px; height: 22px; color: var(--ink-4); }
.review-empty-evidence b, .review-empty-evidence small { display: block; }
.review-empty-evidence b { font-size: 11.5px; font-weight: 700; }
.review-empty-evidence small { margin-top: 2px; font-size: 10.5px; line-height: 1.45; }
.evidence-preview { text-align: center; }
.evidence-preview img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 10px; background: var(--surface-2); }
.evidence-preview p { margin-top: 9px; color: var(--ink-3); font-size: 11.5px; }
.evidence-document iframe { display: block; width: 100%; height: 360px; border: 1px solid var(--line); border-radius: 10px; }
.evidence-file-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 210px; padding: 18px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--ink-3); background: var(--surface-2); }
.evidence-file-placeholder svg { width: 38px; height: 38px; color: var(--green); }
.evidence-file-placeholder b { color: var(--ink-2); font-size: 13px; }
.evidence-file-placeholder small { font-size: 11px; }
.review-actionbar { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 1100px) { .review-layout { grid-template-columns: 250px minmax(0, 1fr); } .review-content { grid-template-columns: 1fr; } .review-item-panel { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 760px) {
  .review-layout { grid-template-columns: minmax(0, 1fr); }
  .review-layout > .card:first-child { max-height: 176px; overflow-y: auto; }
  .review-detail-head { align-items: flex-start; gap: 12px; padding: 15px; }
  .review-product-summary { align-items: flex-start; gap: 10px; }
  .review-product-summary .pic.lg { width: 48px; height: 48px; border-radius: 10px; }
  .review-product-summary h2 { margin-top: 4px; font-size: 15px; }
  .review-product-summary p { font-size: 10.5px; }
  .review-completeness { padding-left: 12px; }
  .review-completeness b { font-size: 18px; }
  .review-item-panel, .review-source-panel { padding: 16px; }
  .review-evidence { grid-template-columns: 1fr; }
  .review-evidence-block { padding: 16px; }
  .review-evidence-block + .review-evidence-block { border-top: 1px solid var(--line); border-left: 0; }
  .review-actionbar { padding: 12px 16px; }
}
.audit-list { display: flex; flex-direction: column; }
.audit-row { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.audit-row:last-child { border-bottom: 0; }
.audit-row .t { font-family: var(--num); color: var(--ink-4); flex: none; width: 46px; font-size: 11px; }
.rank-row { display: flex; align-items: center; gap: 11px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: 0; }
.rank-no { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; font-family: var(--num); background: #eef2ef; color: var(--ink-3); flex: none; }
.rank-no.top1 { background: var(--green-100); color: var(--green-700); }
.rank-no.top2 { background: #e9eef4; color: #4a5d6d; }
.rank-no.top3 { background: #f7e8d6; color: #9a5f14; }
.bar { height: 6px; border-radius: 999px; background: #eef2ef; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--green); transition: width .5s var(--ease); }

/* 选品库筛选栏 */
.library-filter-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fbfdfb; }
.library-search { min-width: 220px; max-width: 340px; }
.library-select { width: 150px; min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: 12.5px; }
@media (max-width: 1100px) { .library-filter-bar { flex-wrap: wrap; } .library-search { flex: 1 1 260px; max-width: none; } }

/* 后台详情：与 H5 底部抽屉分离，使用受控尺寸的居中详情弹窗 */
.admin-body .scrim { position: fixed; z-index: 80; }
.admin-body .sheet { position: fixed; z-index: 82; top: 50%; bottom: auto; left: 50%; width: min(620px, calc(100vw - 48px)); max-height: min(720px, calc(100vh - 56px)); border-radius: 16px; box-shadow: 0 22px 60px rgba(10, 30, 20, .24); transform: translate(-50%, -46%) scale(.98); opacity: 0; overflow: hidden; }
.admin-body .sheet.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.admin-body .modal { position: fixed; z-index: 84; width: min(560px, calc(100vw - 48px)); max-width: none; max-height: min(680px, calc(100vh - 56px)); }
.admin-body .sheet-grab { display: none; }
.admin-body .sheet-head { padding: 18px 20px 14px; }
.admin-body .sheet-body { padding: 18px 20px 20px; }
.admin-body .sheet .sec-title > svg { width: 18px; height: 18px; flex: none; color: var(--green); }
.admin-body .sheet .notice > svg { width: 16px; height: 16px; flex: none; }
.admin-body .sheet .mat-item .mi svg { width: 16px; height: 16px; }
.admin-body .sheet .verify-chip svg { width: 11px; height: 11px; }
@media (max-width: 640px) { .admin-body .sheet { width: calc(100vw - 28px); max-height: calc(100vh - 28px); border-radius: 14px; } }

/* 农户档案详情 */
.merchant-detail-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.merchant-detail-head .avatar { width: 42px; height: 42px; font-size: 16px; }
.merchant-detail-head > div { min-width: 0; flex: 1; }
.merchant-detail-head b { display: block; font-size: 14px; font-weight: 750; }
.merchant-detail-head p { margin-top: 2px; color: var(--ink-3); font-size: 11px; }
.merchant-detail-card { margin-bottom: 16px; box-shadow: none; }
.merchant-detail-title { margin-top: 16px; }
.merchant-farm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--green-100); border-radius: 10px; background: var(--green-50); }
.merchant-farm-row + .merchant-farm-row { margin-top: 8px; }
.merchant-farm-row div { min-width: 0; }
.merchant-farm-row b, .merchant-farm-row small { display: block; }
.merchant-farm-row b { color: var(--green-700); font-size: 12px; font-weight: 700; }
.merchant-farm-row small { margin-top: 3px; overflow: hidden; color: var(--ink-3); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.merchant-farm-row > span { flex: none; color: var(--green-700); font-size: 10.5px; font-weight: 700; }
.merchant-product-list { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.merchant-product-list > div { padding: 9px 11px; border-bottom: 1px dashed var(--line); }
.merchant-product-list > div:last-child { border-bottom: 0; }
.merchant-product-list b, .merchant-product-list small { display: block; }
.merchant-product-list b { font-size: 12px; font-weight: 700; }
.merchant-product-list small { margin-top: 2px; color: var(--ink-3); font-size: 10.5px; }

/* 空状态图标按钮补丁 */
.empty-cta { margin-top: 14px; }

/* ============ 身份设定与资质认证 ============ */
.verify-banner { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: var(--r); margin-bottom: 12px; border: 1px solid transparent; }
.verify-banner .vi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.verify-banner .vi svg { width: 19px; height: 19px; }
.verify-banner b { display: block; font-size: 13.5px; font-weight: 700; }
.verify-banner small { display: block; font-size: 11.5px; opacity: .85; margin-top: 2px; line-height: 1.5; }
.verify-banner.verified { background: var(--green-50); border-color: var(--green-200); color: var(--green-700); }
.verify-banner.verified .vi { background: #fff; color: var(--green); }
.verify-banner.pending { background: var(--amber-50); border-color: #f2dcb4; color: #8a5900; }
.verify-banner.pending .vi { background: #fff; color: var(--amber); }
.verify-banner.rejected { background: var(--red-50); border-color: #f0cdcd; color: #a52a2a; }
.verify-banner.rejected .vi { background: #fff; color: var(--red); }
.verify-banner.none { background: #fff; border-color: var(--line-2); color: var(--ink-2); }
.verify-banner.none .vi { background: var(--surface-2); color: var(--ink-3); }

.identity-pick { display: grid; gap: 10px; }
.identity-card { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line-2); text-align: left; transition: .16s; width: 100%; }
.identity-card .ii { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink-3); transition: .16s; }
.identity-card .ii svg { width: 21px; height: 21px; }
.identity-card .g { flex: 1; min-width: 0; }
.identity-card b { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.identity-card p { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 4px; }
.identity-card .chk { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; margin-top: 2px; transition: .16s; }
.identity-card.on { border-color: var(--green); background: var(--green-50); }
.identity-card.on .ii { background: var(--green); color: #fff; }
.identity-card.on .chk { background: var(--green); border-color: var(--green); }
.identity-card.on .chk::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }

.verify-progress { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-bottom: 12px; }
.verify-progress .ring { width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--p) * 1%), #e9efe9 0); position: relative; }
.verify-progress .ring::before { content: ""; position: absolute; inset: 5px; background: #fff; border-radius: 50%; }
.verify-progress .ring span { position: relative; font-size: 13px; font-weight: 800; font-family: var(--num); color: var(--green-700); }

.mat-item { display: flex; align-items: flex-start; gap: 11px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.mat-item:last-child { border-bottom: 0; }
.mat-item .mi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink-4); }
.mat-item .mi svg { width: 16px; height: 16px; }
.material-upload-target { display: block; width: 100%; border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 26px 16px; text-align: center; background: var(--surface-2); color: inherit; }
.material-upload-target:hover { border-color: var(--green); background: var(--green-50); }

/* 平台后台账号中心 */
.side-user { width: 100%; border: 0; background: transparent; color: inherit; display: flex; align-items: center; gap: 10px; padding: 13px 18px; text-align: left; }
.side-user > svg { width: 16px; height: 16px; margin-left: auto; opacity: .55; }
.side-user:hover { background: rgba(255,255,255,.06); }
.admin-account-hero { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 12px; background: var(--green-50); margin-bottom: 18px; }
.admin-account-hero .avatar { width: 42px; height: 42px; font-size: 16px; }
.admin-account-hero b { display: block; font-size: 14px; }
.admin-account-hero p { margin-top: 3px; font-size: 11px; color: var(--ink-3); }
.admin-account-hero .verify-chip { margin-left: auto; }
.admin-account-check { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); font-size: 12.5px; }
.admin-account-check input { accent-color: var(--green); width: 15px; height: 15px; }
.admin-account-actions { display: flex; gap: 8px; margin-top: 16px; }
.admin-account-actions .btn { flex: 1; }
.admin-security-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.admin-security-row:last-of-type { border-bottom: 0; }
.admin-security-row .mi { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); color: var(--green); }
.admin-security-row .mi svg { width: 16px; height: 16px; }
.admin-security-row b, .admin-security-row small { display: block; }
.admin-security-row b { font-size: 12.5px; }
.admin-security-row small { margin-top: 3px; font-size: 11px; color: var(--ink-3); }

/* 商品发布中的档案资质引用 */
.credential-reference { margin-top: 10px; padding: 12px; border: 1px solid var(--green-200); border-radius: 12px; background: var(--green-50); }
.credential-reference-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: none; border-radius: 10px; background: #fff; color: var(--green); }
.credential-reference-icon svg { width: 16px; height: 16px; }
.credential-reference b { display: block; color: var(--green-800); font-size: 12.5px; }
.credential-reference p { margin-top: 3px; color: var(--ink-3); font-size: 11px; line-height: 1.55; }
.credential-reference .cert-upload-list { margin-top: 10px; }
.mat-item.passed .mi { background: var(--green-50); color: var(--green); }
.mat-item.pending .mi { background: var(--amber-50); color: var(--amber); }
.mat-item .g { flex: 1; min-width: 0; }
.mat-item b { font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.mat-item .req { font-size: 9.5px; font-weight: 700; color: var(--red); background: var(--red-50); border-radius: 4px; padding: 1px 5px; }
.mat-item .opt2 { font-size: 9.5px; font-weight: 700; color: var(--ink-4); background: #f0f3f1; border-radius: 4px; padding: 1px 5px; }
.mat-item small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.5; }
.mat-item .file { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--green-700); margin-top: 4px; }

.info-line { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.info-line:last-child { border-bottom: 0; }
.info-line .k { color: var(--ink-3); width: 88px; flex: none; }
.info-line .v { flex: 1; min-width: 0; font-weight: 600; text-align: right; word-break: break-all; }

.plat-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.plat-row:last-child { border-bottom: 0; }
.plat-row .pi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-3); flex: none; font-size: 11px; font-weight: 800; }
.plat-row .v { font-family: var(--num); font-size: 12px; font-weight: 700; }

.verify-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.verify-chip svg { width: 11px; height: 11px; }
.verify-chip.verified { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-200); }
.verify-chip.pending { background: var(--amber-50); color: #8a5900; border: 1px solid #f2dcb4; }
.verify-chip.rejected { background: var(--red-50); color: #a52a2a; border: 1px solid #f0cdcd; }
.verify-chip.none { background: #f0f3f1; color: var(--ink-3); border: 1px solid var(--line-2); }

.mat-mini { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: var(--green-700); background: var(--green-50); border-radius: 4px; padding: 1px 5px; margin-right: 3px; }

/* ============ 种植基地管理 ============ */
.farm-item { background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; margin-bottom: 11px; }
.farm-item .fi-head { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px 0; }
.farm-item .fi-ico { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: linear-gradient(140deg, #43cf9b, #12875c); color: #fff; }
.farm-item .fi-ico svg { width: 19px; height: 19px; opacity: .9; }
.farm-item .g { flex: 1; min-width: 0; }
.farm-item h4 { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.farm-item .loc { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.farm-item .loc svg { width: 11px; height: 11px; flex: none; }
.farm-item .fi-body { padding: 10px 14px 0; }
.farm-item .intro { font-size: 11.5px; color: var(--ink-2); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.farm-item .fi-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.farm-item .fi-foot { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-top: 1px dashed var(--line); margin-top: 11px; }
.farm-item .fi-foot .used { font-size: 11px; color: var(--ink-4); margin-right: auto; }
.farm-item .fi-foot .used b { color: var(--green-700); font-weight: 700; }

.farm-form-sec { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 15px; margin-bottom: 11px; }
.farm-form-sec > h3 { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; margin-bottom: 12px; }
.farm-form-sec > h3 svg { width: 15px; height: 15px; color: var(--green); }
.m-form-field { margin-bottom: 11px; }
.m-form-field:last-child { margin-bottom: 0; }
.m-form-field > label { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.m-form-field .req { color: var(--red); font-weight: 700; }

/* 游客“当前购物商城”右侧只显示标准尺寸的导航箭头，不能参与正文的伸缩计算。 */
.guest-account-card .grow { min-width: 0; }
.guest-account-card > svg { width: 18px; height: 18px; flex: none; color: #819089; }
.guest-account-icon svg { width: 20px; height: 20px; }
.guest-account-card b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guest-account-card small { line-height: 1.5; }
.guest-section-title button { color: #6e7d75; font-size: 11px; font-weight: 500; }
.guest-order-icons button { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #1f332a; border-right: 1px solid #edf0ea; }
.guest-order-icons button:last-child { border-right: 0; }
.guest-sheet-empty { min-height: 170px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; color:var(--ink-3); }
.guest-sheet-empty svg { width:38px; height:38px; padding:12px; border-radius:50%; color:var(--green-700); background:var(--green-50); }.guest-sheet-empty b { color:var(--ink-2); font-size:14px; }.guest-sheet-empty small { font-size:11px; }
.guest-address-list { display:grid; gap:8px; margin-bottom:13px; }.guest-address-list article { position:relative; padding:12px 64px 12px 12px; border:1px solid var(--line); border-radius:10px; background:var(--surface-2); }.guest-address-list b { font-size:12px; }.guest-address-list p { margin:5px 0 0; color:var(--ink-3); font-size:11px; line-height:1.5; }.guest-address-list button { position:absolute; right:12px; top:12px; color:var(--red); font-size:11px; }.guest-address-form { margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.guest-order-list { display:grid; gap:9px; }.guest-order-list article { padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--surface-2); }.guest-order-list p { margin:8px 0; color:var(--ink-3); font-size:11px; line-height:1.55; }.guest-order-list small { color:var(--ink-4); font-size:10px; }.guest-order-list strong { color:var(--orange); font-size:13px; }.checkout-address { display:flex; align-items:flex-start; gap:10px; width:100%; padding:12px; border:1px solid var(--green-200); border-radius:10px; background:var(--green-50); text-align:left; cursor:pointer; font:inherit; color:inherit; transition:border-color .2s, box-shadow .2s; }
.checkout-address:active { border-color:var(--green); box-shadow:0 0 0 3px rgba(31,174,116,.12); }
.checkout-address > div { flex:1; min-width:0; }
.checkout-address .ck-arrow { flex:none; color:var(--ink-4); display:flex; align-items:center; }
.checkout-address .ck-arrow svg { width:16px; height:16px; }.checkout-address>span { color:var(--green); }.checkout-address>span svg { width:18px; height:18px; }.checkout-address b { font-size:12px; }.checkout-address p { margin:5px 0 0; color:var(--ink-3); font-size:11px; line-height:1.5; }.checkout-items { margin-top:12px; }.checkout-items article { display:flex; align-items:center; gap:9px; padding:9px 0; border-bottom:1px solid var(--line); }.checkout-items img { width:42px; height:42px; border-radius:7px; object-fit:cover; }.checkout-items b,.checkout-items small { display:block; }.checkout-items b { font-size:12px; }.checkout-items small { margin-top:4px; color:var(--ink-4); font-size:10px; }.checkout-items strong { font-size:11px; color:var(--ink-2); }.checkout-total { display:flex; justify-content:flex-end; gap:15px; padding:14px 0 2px; }.checkout-total span { color:var(--ink-3); font-size:12px; }.checkout-total b { color:var(--orange); font-size:18px; }.payment-amount { padding:18px; text-align:center; border-radius:11px; background:var(--surface-2); }.payment-amount span,.payment-amount small { display:block; color:var(--ink-3); font-size:11px; }.payment-amount b { display:block; margin:5px 0; color:var(--orange); font-size:30px; }.payment-method { display:flex; align-items:center; justify-content:space-between; padding:14px 12px; margin-top:10px; border:1px solid var(--line); border-radius:10px; font-size:13px; }.payment-method.on { border-color:var(--green); background:var(--green-50); color:var(--green-700); }.payment-method b { font-size:10px; }
.purchase-mode { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:13px; }.purchase-mode>b { grid-column:1 / -1; font-size:12px; }.purchase-mode button { padding:10px; border:1px solid var(--line); border-radius:9px; text-align:left; }.purchase-mode button.on { border-color:var(--green); background:var(--green-50); color:var(--green-700); }.purchase-mode span,.purchase-mode small { display:block; }.purchase-mode span { font-size:12px; font-weight:700; }.purchase-mode small { margin-top:4px; font-size:10px; color:var(--ink-3); line-height:1.4; }
.consumer-order-card { margin-bottom:10px; padding:13px; border:1px solid var(--line); border-radius:12px; background:#fff; }.consumer-order-card p { margin:9px 0 7px; color:var(--ink-2); font-size:12px; line-height:1.55; }.consumer-order-card small { color:var(--ink-3); font-size:10.5px; line-height:1.55; }

/* ===== 合作进度流程条（主播端 / 农户端沟通页共用） ===== */
.flow-bar { flex: none; width: 100%; margin: 2px 0 12px; padding: 13px 12px 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.flow-line { display: flex; align-items: flex-start; }
.flow-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 10px; color: var(--ink-4); text-align: center; line-height: 1.25; }
.flow-step i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.flow-step i::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--line-2); }
.flow-step::before { content: ''; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.flow-step:first-child::before { display: none; }
.flow-step.done { color: var(--green-700); }
.flow-step.done::before { background: var(--green-200); }
.flow-step.done i { border-color: var(--green-200); background: var(--green-50); }
.flow-step.done i::after { background: var(--green); }
.flow-step.now { color: var(--green-800); font-weight: 700; }
.flow-step.now::before { background: var(--green-200); }
.flow-step.now i { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 4px rgba(15, 133, 70, .12); }
.flow-step.now i::after { background: #fff; }

/* ===== 游客端“切换到主播工作台”卡片已改为 button，需要还原按钮默认样式 ===== */
.guest-account-card { width: calc(100% - 40px); border: 1px solid #e6e5df; background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 9px; }
.guest-account-card:active { background: #fbfcfa; }
.guest-order-icons button { background: transparent; border: 0; font: inherit; cursor: pointer; }
.guest-cats button { cursor: pointer; border: 0; font: inherit; }
/* ===== 后台侧栏折叠态（<=1080px）头像溢出修正 ===== */
@media (max-width: 1080px) {
  .side-foot { padding: 8px 6px; }
  .side-user { padding: 6px; gap: 0; justify-content: center; }
  .side-user > svg { display: none; }
}
/* =============== 客户沟通（客户端 ↔ 农户 / 主播） =============== */
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.m-page .seg { display: flex; width: 100%; }
.m-page .seg button { flex: 1; }
.seg-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px; margin-left: 5px; border-radius: 8px;
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; font-family: var(--num);
}

.chat-thread-list { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-1); }
.chat-thread { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 14px; text-align: left; }
.chat-thread + .chat-thread { border-top: 1px solid var(--line); }
.chat-thread b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.chat-thread-last { margin-top: 3px; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-thread.has-unread .chat-thread-last { color: var(--ink-2); font-weight: 600; }
.guest-page .chat-thread-list { margin: 14px 16px 0; }
.guest-page .chat-thread { padding: 13px 14px; }

.guest-anchor-strip { margin: 16px 16px 0; }
.guest-anchor-strip .row-between { margin-bottom: 8px; }
.guest-anchor-strip .row-between b { font-size: 14px; font-weight: 700; }
.guest-anchor-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.guest-anchor-row button {
  flex: 0 0 auto; display: flex; flex-direction: row; align-items: center; gap: 7px;
  width: auto; padding: 5px 13px 5px 5px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-1);
}
.guest-anchor-row .avatar { width: 30px; height: 30px; font-size: 12px; }
.guest-anchor-row button b { font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.guest-anchor-row button small { display: none; }
.guest-anchor-strip { margin-bottom: 2px; }

.chat-anchor-list { margin: 0 16px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-1); }
.chat-anchor-list article { display: flex; align-items: center; gap: 11px; padding: 12px 14px; }
.chat-anchor-list article + article { border-top: 1px solid var(--line); }
.chat-anchor-list b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.chat-anchor-list small { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-3); }

/* =============== 客户端订单 / 售后 / 评价 =============== */
.guest-detail-facts {
  display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 12px; padding: 12px 14px;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line);
}
.guest-detail-facts span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-3); }
.guest-detail-facts svg { color: var(--green-700); flex: none; }
.guest-review { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.guest-review:last-child { border-bottom: 0; padding-bottom: 4px; }
.guest-review b { font-size: 12.5px; color: var(--ink); }
.guest-review p { margin: 5px 0 3px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.guest-review small { font-size: 10.5px; color: var(--ink-4); }
.rate-stars { display: flex; gap: 7px; }
.rate-stars button { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  color: var(--line-2); background: var(--surface-2); border: 1px solid var(--line); transition: .15s; }
.rate-stars button.on { color: #e79a2b; background: #fff7e8; border-color: #f7dfb4; }
.rate-stars button svg { width: 20px; height: 20px; }
.guest-product.is-soldout .guest-product-img img { filter: grayscale(.7); opacity: .55; }
.guest-product.is-soldout .guest-product-img::after {
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.18); pointer-events: none;
}
.guest-product.is-soldout strong { color: var(--ink-4) !important; }
.btn.is-disabled, .btn[disabled] { opacity: .55; pointer-events: none; }
.as-box { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-size: 11.5px; line-height: 1.65;
  background: var(--orange-50); color: #9b3f16; border: 1px solid #f6d8c6; }
.as-box.agreed { background: var(--green-50); color: var(--green-800); border-color: var(--green-200); }
.as-box.rejected { background: var(--red-50); color: #9c2b2b; border-color: #f3cccc; }

/* =============================================================
   订单状态通知（顾客端 · 消息页）
   ============================================================= */
.guest-notices{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.guest-page .guest-notices{margin:12px 16px 4px}
.guest-notice{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left;box-shadow:var(--shadow-1)}
.guest-notice .gn-ico{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;flex:none}
.guest-notice b{display:block;font-size:12.5px;font-weight:750}
.guest-notice small{display:block;color:var(--ink-4);font-size:11px;margin-top:2px}

/* 农户端 · 商品档案里的买家评价 */
.merchant-reviews .mr-item{padding:10px 0;border-bottom:1px dashed var(--line)}
.merchant-reviews .mr-item:first-child{padding-top:2px}
.merchant-reviews .mr-item:last-child{border-bottom:0;padding-bottom:0}
.merchant-reviews .mr-stars{color:#e79a2b;font-size:12px;letter-spacing:1px;margin-top:4px}
.merchant-reviews .mr-stars i{color:var(--line);font-style:normal}
.merchant-reviews p{font-size:12px;line-height:1.7;color:var(--ink-2);margin-top:4px}

/* =============================================================
   顾客端商城（参考拼多多：顶部搜索 + 品类 + 双列瀑布 + 店铺行）
   ============================================================= */
.pdd-top{position:sticky;top:0;z-index:22;display:flex;align-items:center;gap:8px;padding:9px 16px 10px;background:#f7f6f0}
.pdd-search{flex:1;min-width:0;height:40px;border-radius:999px;background:#fff;border:1px solid #e5e5df;display:flex;align-items:center;gap:8px;padding:0 14px;color:#84918b;font-size:13px}
.pdd-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;color:var(--ink)}
.pdd-search svg{width:17px;flex:none}
.pdd-ico{position:relative;flex:none;width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #e5e5df;display:grid;place-items:center;color:#3d4f46}
.pdd-ico svg{width:19px}
.pdd-ico i{position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;padding:0 3px;border-radius:8px;background:var(--orange);color:#fff;font-size:10px;font-style:normal;font-weight:700;display:grid;place-items:center;font-family:var(--num)}
.pdd-cats{display:flex;gap:8px;overflow-x:auto;padding:0 16px 10px;scrollbar-width:none}
.pdd-cats::-webkit-scrollbar{display:none}
.pdd-cats button{flex:none;display:flex;align-items:center;gap:5px;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #e9e9e3;color:#46554d;font-size:12.5px}
.pdd-cats button svg{width:13px;opacity:.7}
.pdd-cats button.on{background:#fdece4;border-color:#f6c6ae;color:#c2451a;font-weight:700}
.pdd-shopbar{display:flex;align-items:center;gap:8px;margin:0 16px 10px;padding:9px 12px;border-radius:12px;background:#fff;border:1px solid #e9e9e3;font-size:12.5px;color:var(--ink-2)}
.pdd-shopbar b{color:var(--ink)}
.pdd-shopbar button{margin-left:auto;color:var(--green-700);font-weight:700;font-size:12px}
.pdd-banner{display:flex;gap:9px;overflow-x:auto;padding:0 16px 11px;scrollbar-width:none}
.pdd-banner::-webkit-scrollbar{display:none}
.pdd-banner button{flex:none;width:158px;display:flex;align-items:center;gap:8px;padding:8px;border-radius:12px;background:#fff;border:1px solid #eee;text-align:left;box-shadow:0 1px 4px rgba(20,42,31,.05)}
.pdd-banner img{width:46px;height:46px;border-radius:8px;object-fit:cover;flex:none}
.pdd-banner b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.5px;line-height:1.35;color:#28352e}
.pdd-banner em{display:block;margin-top:4px;font-style:normal;font-size:13px;font-weight:800;color:#e0451c}
.pdd-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 16px 18px}
.pdd-grid .guest-empty{grid-column:1/-1}
.pdd-card{display:flex;flex-direction:column;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 5px rgba(20,42,31,.07)}
.pdd-card-media{position:relative;height:166px;background:#ede9df}
.pdd-card-media img{width:100%;height:100%;object-fit:cover}
.pdd-card-media .pdd-badge{position:absolute;left:0;bottom:0;padding:3px 7px;border-radius:0 8px 0 0;background:rgba(224,69,28,.93);color:#fff;font-size:10px;font-weight:700}
.pdd-act{position:absolute;right:7px;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;color:#3d4f46;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.pdd-act svg{width:16px}
.pdd-fav{top:7px}
.pdd-cart{top:41px}
.pdd-card h3{margin:8px 9px 0;font-size:12.5px;line-height:1.38;height:2.76em;overflow:hidden;font-weight:600;color:#1c2b24}
.pdd-tags{display:flex;flex-wrap:wrap;gap:4px;margin:6px 9px 0}
.pdd-tags span{padding:1px 5px;border-radius:3px;background:#fdf1ec;border:1px solid #f8dccf;color:#c2451a;font-size:9.5px}
.pdd-price{display:flex;align-items:baseline;gap:3px;margin:6px 9px 0;color:#e0451c}
.pdd-price b{font-size:18px;font-weight:800;letter-spacing:-.02em}
.pdd-price small{font-size:10px;color:#9a8f88}
.pdd-price del{margin-left:auto;font-size:10px;color:#a9b2ac}
.pdd-sold{margin:2px 9px 0;font-size:10px;color:#98a29c}
.pdd-shop{display:flex;align-items:center;gap:5px;margin-top:8px;padding:7px 9px;border-top:1px solid #f2f2ec;font-size:11px;color:#5d6b64;text-align:left}
.pdd-shop .avatar{width:18px;height:18px;font-size:9px;flex:none}
.pdd-shop b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdd-shop span{margin-left:auto;display:flex;align-items:center;gap:1px;color:#9aa49e;font-size:10px;flex:none}

/* ============ 农户信息面板 ============ */
.shop-head{display:flex;align-items:center;gap:12px}
.shop-head .avatar{width:48px;height:48px;font-size:17px;flex:none}
.shop-head h2{margin:0;font-size:17px;letter-spacing:-.02em}
.shop-head p{margin:3px 0 0;font-size:11.5px;color:var(--ink-3)}
.shop-stats{display:flex;gap:8px;margin:14px 0 4px}
.shop-stats div{flex:1;padding:9px 4px;border-radius:12px;background:var(--canvas);text-align:center}
.shop-stats b{display:block;font-size:16px;font-weight:800;font-family:var(--num);color:var(--ink)}
.shop-stats span{font-size:10px;color:var(--ink-3)}
.shop-strip{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:var(--canvas)}
.shop-strip b{font-size:13px}
.shop-strip small{display:block;margin-top:2px;font-size:11px;color:var(--ink-3)}

/* =============================================================
   顾客端团购（参考抖音团购：横幅 + 团品列表 + 抢购）
   ============================================================= */
.dy-hero{margin:4px 16px 12px;padding:15px 16px 14px;border-radius:16px;background:linear-gradient(135deg,#ffe9e2,#ffd9cb 58%,#ffcdbd);color:#4a1f12;box-shadow:0 10px 22px -18px rgba(224,69,28,.9)}
.dy-hero .m-kicker{color:#c2451a}
.dy-hero h1{margin:7px 0 5px;font-size:22px;line-height:1.2;letter-spacing:-.04em}
.dy-hero p{margin:0;font-size:11.5px;color:#8a5443}
.dy-stats{display:flex;gap:8px;margin-top:12px}
.dy-stats div{flex:1;padding:7px 4px;border-radius:10px;background:rgba(255,255,255,.72);text-align:center}
.dy-stats b{display:block;font-size:15px;font-weight:800;font-family:var(--num)}
.dy-stats span{font-size:10px;color:#8a5443}
.dy-list{display:flex;flex-direction:column;gap:10px;padding:0 16px 16px}
.dy-card{display:flex;align-items:stretch;gap:11px;padding:10px;border-radius:14px;background:#fff;box-shadow:var(--shadow-1);text-align:left;width:100%}
.dy-card>img{width:96px;height:96px;border-radius:10px;object-fit:cover;flex:none}
.dy-card .grow{min-width:0;display:flex;flex-direction:column}
.dy-card h3{margin:0;font-size:13px;line-height:1.35;max-height:2.7em;overflow:hidden;color:#1c2b24}
.dy-tag{display:flex;gap:5px;margin-top:6px}
.dy-tag span{padding:1px 5px;border-radius:3px;background:#fff1e9;color:#c2451a;font-size:9.5px}
.dy-price{display:flex;align-items:baseline;gap:5px;margin-top:auto;color:#e0451c}
.dy-price b{font-size:17px;font-weight:800}
.dy-price del{font-size:10px;color:#a9b2ac}
.dy-meta{margin-top:3px;font-size:10px;color:#98a29c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dy-buy{align-self:center;flex:none;height:30px;padding:0 13px;border-radius:999px;border:0;background:linear-gradient(135deg,#ff6a3d,#e0451c);color:#fff;font-size:12px;font-weight:700;box-shadow:0 6px 14px -8px rgba(224,69,28,.9)}
.dy-rules{display:flex;flex-direction:column;gap:9px}
.dy-rules div{display:flex;gap:8px;align-items:flex-start}
.dy-rules b{flex:none;width:17px;height:17px;margin-top:1px;border-radius:50%;background:var(--green-100);color:var(--green-800);font-size:10px;font-weight:800;display:grid;place-items:center}
.dy-rules span{font-size:11.5px;line-height:1.6;color:var(--ink-2)}

/* =============================================================
   顾客端消息：顶部物流块 + 农户/主播分栏
   ============================================================= */
.guest-logi{margin:4px 16px 12px;padding:12px 14px;border-radius:16px;background:#fff;box-shadow:var(--shadow-1)}
.guest-logi .row-between b{display:flex;align-items:center;gap:5px;font-size:13.5px}
.guest-logi .row-between b svg{width:15px;color:var(--green-700)}
.guest-logi .row-between button{display:flex;align-items:center;gap:1px;font-size:11.5px;color:var(--ink-3)}
.guest-logi-stats{display:flex;gap:7px;margin-top:10px}
.guest-logi-stats button{flex:1;padding:8px 3px;border-radius:11px;background:var(--canvas);text-align:center}
.guest-logi-stats b{display:block;font-size:16px;font-weight:800;font-family:var(--num);color:var(--ink);line-height:1.2}
.guest-logi-stats span{font-size:10px;color:var(--ink-3)}
.guest-logi-stats button:active{background:var(--green-50)}
.guest-logi-track{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}
.guest-logi-track div{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--ink-2)}
.guest-logi-track svg{width:13px;flex:none;color:var(--green-700)}
.guest-logi-track span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.guest-logi .guest-notices{margin:10px 0 0}
.m-page .guest-msgseg{margin:0 16px 10px;width:auto;align-self:stretch}
.guest-msgseg button{font-size:13px}
.guest-dir{margin:0 16px;border-radius:14px;background:#fff;box-shadow:var(--shadow-1);overflow:hidden}
.guest-dir button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 13px;text-align:left}
.guest-dir button + button{border-top:1px solid var(--line)}
.guest-dir b{font-size:13px;color:var(--ink)}
.guest-dir small{display:block;margin-top:2px;font-size:11px;color:var(--ink-3)}
/* 图标尺寸兜底：未显式指定 size 的 SVG 在 flex 行里会被拉伸 */
.guest-notice > svg{width:14px !important;height:14px !important;flex:none;color:var(--ink-4)}
.guest-menu button > svg{width:22px !important;height:22px !important;flex:none;color:var(--green-700)}
.guest-empty svg{width:46px !important;height:46px !important}
/* ---------- 商城活动模块（约占首屏五分之一） ---------- */
.pdd-promo{display:block;padding:2px 8px 6px}
.pdd-promo-card{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:1px 8px;align-items:center;min-height:74px;padding:10px 12px;border-radius:14px;text-align:left;border:0;color:#1c2b24}
.pdd-promo-card .pp-ico{grid-row:1 / span 2;display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:rgba(255,255,255,.72);color:#0f6b46}
.pdd-promo-card b{font-size:13.5px;font-weight:800;letter-spacing:.2px}
.pdd-promo-card small{font-size:10.5px;color:rgba(22,42,32,.62);line-height:1.3}
.pdd-promo-card.p1{background:linear-gradient(135deg,#ffe6e0,#ffd0c4)}
.pdd-promo-card.p2{background:linear-gradient(135deg,#ffeccd,#ffdca6)}
.pdd-promo-card.p3{background:linear-gradient(135deg,#ffdbe9,#ffc8dd)}
.pdd-promo-card.p4{background:linear-gradient(135deg,#d9f2ff,#bfe7ff)}
.pdd-promo-card.p1 .pp-ico{color:#c2410c}
.pdd-promo-card.p3 .pp-ico{color:#be185d}
.pdd-promo-card.p4 .pp-ico{color:#0369a1}
.promo-hero{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:18px;border-radius:16px;background:linear-gradient(135deg,#ffe6e0,#ffd0c4)}
.promo-hero .pp-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:rgba(255,255,255,.8);color:#c2410c}
.promo-hero b{font-size:18px}
.promo-hero small{font-size:12px;color:rgba(22,42,32,.66)}
.promo-hero.p2{background:linear-gradient(135deg,#ffeccd,#ffdca6)}
.promo-hero.p3{background:linear-gradient(135deg,#ffdbe9,#ffc8dd)}
.promo-hero.p4{background:linear-gradient(135deg,#d9f2ff,#bfe7ff)}
/* 商品卡：多图轮播 + 团购价 */
.pdd-card-media{position:relative;overflow:hidden}
.pdd-card-media img{width:100%;height:166px;object-fit:cover;display:block;transition:opacity .22s ease,transform .5s ease}
.pdd-card-media img.g-fade{opacity:.25}
.pdd-dots{position:absolute;left:0;right:0;bottom:6px;display:flex;justify-content:center;gap:4px}
.pdd-dots i{width:5px;height:5px;border-radius:3px;background:rgba(255,255,255,.55);transition:width .2s ease,background .2s ease}
.pdd-dots i.on{width:13px;background:#fff}
.pdd-gp{display:inline-flex;align-items:center;gap:3px;margin-left:6px;padding:2px 6px;border-radius:6px;background:#fff1e8;color:#d9480f;font-size:10.5px;font-style:normal;font-weight:700;vertical-align:middle}
/* ---------- 进店页：上方 1/3 农户信息 ---------- */
.shop-page{background:#f7f6f0}
.shop-hero{position:relative;display:flex;flex-direction:column;gap:10px;min-height:268px;padding:12px 16px 16px;margin-bottom:12px;background:linear-gradient(158deg,#e8fbf2,#cdeedc 55%,#b9e6cf);border-radius:0 0 22px 22px;box-shadow:0 8px 20px -18px rgba(15,90,60,.6)}
.shop-hero-top{display:flex;align-items:center;justify-content:space-between}
.shop-back{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.8);color:#0f6b46}
.shop-hero-flag{font-size:10.5px;font-weight:700;color:#0f6b46;background:rgba(255,255,255,.72);padding:4px 9px;border-radius:999px}
.shop-hero-main{display:flex;align-items:center;gap:11px}
.shop-hero-main .avatar{width:52px;height:52px;border-radius:16px;font-size:19px}
.shop-hero-main h1{margin:0;font-size:18px;font-weight:800;color:#12362a}
.shop-hero-main p{margin:3px 0 0;font-size:11.5px;color:#3f6d5b}
.shop-chat{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid rgba(15,107,70,.22);background:#fff;color:#0f6b46;flex:none}
.shop-hero-stats{display:flex;align-items:center;gap:6px;padding:10px 0;border-top:1px dashed rgba(15,107,70,.22);border-bottom:1px dashed rgba(15,107,70,.22)}
.shop-hero-stats>div{flex:1;text-align:center}
.shop-hero-stats b{display:block;font-size:16px;color:#12362a}
.shop-hero-stats span{font-size:10.5px;color:#4d7a66}
.shop-hero-tags{display:flex;flex-wrap:wrap;gap:6px}
.shop-hero-tags span{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;color:#2f5c4a;background:rgba(255,255,255,.72);padding:4px 8px;border-radius:8px}
.shop-list-head{display:flex;align-items:baseline;justify-content:space-between;padding:0 16px 8px}
.shop-list-head b{font-size:14px;color:#1c2b24}
.shop-list-head small{font-size:11px;color:#6b8577}
.shop-page .pdd-grid{padding:0 16px 18px}
/* ---------- 抢购 / 收银台按钮 ---------- */
.pay-actions{gap:10px;margin-top:12px;align-items:stretch}
.pay-actions .pay-back{flex:0 0 88px;padding:0 8px;font-size:14px}
.pay-actions .btn-primary{flex:1 1 auto}

/* ===== 顾客端活动 / 优惠券 / 结算券 ===== */
.promo-page-head{position:sticky;top:0;z-index:6;display:flex;align-items:center;gap:8px;height:48px;padding:0 12px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}
.promo-page-head b{flex:1;font-size:14px;font-weight:750;color:var(--ink);text-align:left}
.promo-head-tag{font-size:10.5px;color:var(--green-700);background:var(--green-50);border:1px solid var(--green-200);border-radius:999px;padding:2px 8px}
.promo-head-link{display:flex;align-items:center;gap:2px;font-size:11px;color:var(--ink-3);background:none;border:0}
.promo-banner{display:flex;align-items:center;gap:12px;margin:12px 16px 4px;padding:16px;border-radius:18px;color:#fff}
.promo-banner .pb-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.22)}
.promo-banner b{display:block;font-size:17px;font-weight:800;letter-spacing:.2px}
.promo-banner p{margin:3px 0 0;font-size:11.5px;opacity:.9}
.promo-banner.p1{background:linear-gradient(135deg,#ff8f6b,#e8542f)}
.promo-banner.p2{background:linear-gradient(135deg,#ffc65c,#f08a1c)}
.promo-banner.p3{background:linear-gradient(135deg,#ff9db4,#e05a80)}
.promo-banner.p4{background:linear-gradient(135deg,#7cc4ff,#2f74d8)}
.promo-claim{display:flex;align-items:center;gap:10px;margin:12px 16px;padding:14px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-1)}
.promo-claim b{display:block;font-size:13.5px;color:var(--ink)}
.promo-claim small{display:block;margin-top:3px;font-size:11px;color:var(--ink-3)}
.promo-list{display:flex;flex-direction:column;gap:8px;padding:0 16px}
.promo-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:14px;background:#fff;border:1px solid var(--line);text-align:left}
.promo-item img{width:56px;height:56px;border-radius:10px;object-fit:cover;flex:0 0 auto;background:var(--green-50)}
.promo-item b{display:block;font-size:12.5px;color:var(--ink);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.promo-item small{display:block;margin-top:3px;font-size:10.5px;color:var(--ink-4)}
.promo-item strong{flex:0 0 auto;font-size:14px;color:#e8542f;font-weight:800}
.promo-rules{margin:16px;padding:14px;border-radius:16px;background:var(--green-50);border:1px solid var(--green-100)}
.promo-rules h4{margin:0 0 8px;font-size:12px;font-weight:750;color:var(--green-800)}
.promo-rules p{display:flex;gap:6px;margin:6px 0 0;font-size:11.5px;line-height:1.55;color:var(--ink-3)}
.promo-rules p i{flex:0 0 auto;display:grid;place-items:center;width:15px;height:15px;margin-top:1px;border-radius:50%;background:var(--green-200);color:var(--green-800);font-size:9.5px;font-style:normal;font-weight:750}
.signin-card{margin:12px 16px;padding:14px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-1)}
.signin-head b{display:block;font-size:14px;color:var(--ink)}
.signin-head small{display:block;margin-top:3px;font-size:11px;color:var(--ink-3)}
.signin-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:12px 0}
.signin-day{display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 0;border-radius:10px;background:var(--green-50);border:1px dashed var(--green-200)}
.signin-day b{font-size:12px;font-weight:800;color:var(--green-700)}
.signin-day small{font-size:9px;color:var(--ink-4)}
.signin-day.on{background:linear-gradient(160deg,#2ec78c,#12875c);border-style:solid;border-color:transparent}
.signin-day.on b,.signin-day.on small{color:#fff}
.signin-day.today{box-shadow:0 0 0 2px rgba(31,174,116,.28)}
.coupon-seg{margin:12px 16px}
.coupon-list{display:flex;flex-direction:column;gap:10px;padding:0 16px}
.coupon-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-1);text-align:left}
.coupon-card.off{opacity:.55;box-shadow:none}
.coupon-card.on{border-color:var(--green);box-shadow:0 0 0 2px rgba(31,174,116,.16)}
.cc-amt{flex:0 0 auto;display:flex;align-items:baseline;gap:1px;justify-content:center;width:62px;height:62px;border-radius:12px;background:linear-gradient(150deg,#fff1e8,#ffe0cf);color:#e8542f}
.cc-amt b{font-size:22px;font-weight:800}
.cc-amt small{font-size:10px}
.coupon-card b{display:block;font-size:13px;color:var(--ink)}
.coupon-card small{display:block;margin-top:2px;font-size:10.5px;color:var(--ink-4)}
.cc-state{flex:0 0 auto;font-size:11px;color:var(--ink-4)}
.coupon-none{width:100%;margin-top:12px;padding:12px;border-radius:12px;border:1px dashed var(--line);background:#fff;font-size:12px;color:var(--ink-3)}
.checkout-coupon{display:flex;align-items:center;gap:8px;width:100%;margin-top:10px;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);font-size:12.5px;color:var(--ink)}
.checkout-coupon span:first-child{display:flex;align-items:center;gap:6px;font-weight:700;color:var(--ink-2)}
.checkout-coupon .grow{flex:1}
.checkout-coupon b.ck-on{color:#e8542f;font-weight:800}
.checkout-coupon b.ck-tip{color:var(--green-700);font-weight:700}
.checkout-coupon small.ck-tip{color:var(--ink-4)}
.ck-disc{display:block;margin-top:4px;font-style:normal;font-size:11px;color:#e8542f;font-weight:700}


/* ============ 推荐定价 / 种植建议 / 主播收货地址（v9） ============ */
.price-advice {
  margin: 2px 0 14px;
  padding: 12px 13px;
  border-radius: 14px;
  background: linear-gradient(140deg, #eefcf4, #ddf6e9);
  border: 1px solid rgba(31, 174, 116, .28);
}
.price-advice .row-between b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--green-800);
}
.price-advice .row-between b svg { width: 14px; height: 14px; }
.price-advice .pa-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-2);
}
.price-advice .pa-main b { font-size: 17px; font-weight: 800; color: var(--green-700); }
.price-advice .pa-band { color: var(--ink-4); }

.crop-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border-radius: 14px;
  background: linear-gradient(140deg, #eefcf4, #dcf6e9);
  border: 1px solid rgba(31, 174, 116, .26);
}
.crop-head > svg { width: 22px; height: 22px; color: var(--green-700); flex: none; }
.crop-head b { display: block; font-size: 13.5px; }
.crop-head small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink-3); }
.crop-list { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.crop-item { display: flex; gap: 10px; padding: 11px 12px; border-radius: 13px; background: #fff; border: 1px solid var(--line); }
.crop-no {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 800;
  color: var(--green-800);
  background: var(--green-100);
}
.crop-item b { font-size: 13px; }
.crop-item p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }

.addr-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.addr-card { padding: 12px 13px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.addr-card.is-default { border-color: rgba(31, 174, 116, .45); box-shadow: 0 0 0 3px rgba(31, 174, 116, .08); }
.addr-card.is-on { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 174, 116, .14); }
.addr-card b { font-size: 13px; }
.addr-card p { margin: 5px 0 0; line-height: 1.6; }


/* ============================================================
   元阳稻田主题 · 顾客端（梯田金 + 稻叶绿 + 土陶红 + 米白纸感）
   ============================================================ */
.guest-page{
  --ry-ink:#33452f; --ry-ink-2:#6d6448; --ry-gold:#c9861f; --ry-gold-2:#f2c86c;
  --ry-leaf:#3f7d4f; --ry-earth:#a9562d; --ry-rice:#fdf7e6; --ry-line:#e9dcc0;
  background:linear-gradient(180deg,#fbf3dd 0%,#f9f5e7 30%,#f7f6f0 62%,#f6f6f1 100%);
  color:var(--ry-ink);
}
.guest-page .guest-head{background:rgba(253,247,230,.93);border-bottom:1px solid var(--ry-line);}
.guest-page .guest-head b{color:var(--ry-ink);font-weight:800;letter-spacing:.02em;}
.guest-page .guest-head .guest-home{color:#7d6f4a;}
.guest-page .guest-section-title{color:var(--ry-ink);border-left:3px solid var(--ry-gold);padding-left:9px;margin-left:16px;padding-right:16px;}
.guest-page .guest-section-title button{color:#a07a34;}
.guest-page .guest-hero{background:linear-gradient(160deg,#fdf6e2,#f4e9c9);border-bottom:1px solid var(--ry-line);}
.guest-page .guest-hero h1{color:var(--ry-ink);}
.guest-page .guest-hero p{color:var(--ry-ink-2);}
.guest-page .m-kicker{color:#a07a34;}
.guest-page .guest-avatar{background:linear-gradient(140deg,#f4c86b,#c9861f);color:#4a3208;}
.guest-page .guest-profile h2{color:var(--ry-ink);}
.guest-page .guest-profile p{color:var(--ry-ink-2);}
.guest-page .guest-menu button{background:#fffdf6;border-color:var(--ry-line);}
.guest-page .guest-menu button svg{color:#a0873f;}
.guest-page .guest-order-icons button{background:#fffdf6;border-color:var(--ry-line);color:#5b5540;}
.guest-page .guest-order-icons button svg{color:#a9562d;}
.guest-tabbar button.on{color:#a9562d;}
.guest-tabbar{border-top:1px solid #ecdfbe;}

/* 稻田主题条 */
.ry-band{position:relative;height:88px;margin:10px 16px 4px;border-radius:18px;overflow:hidden;
  background:linear-gradient(180deg,#fdf8e6,#f6e7bf);border:1px solid var(--ry-line,#e9dcc0);
  box-shadow:0 12px 24px -20px rgba(140,110,40,.85);}
.ry-band .ry-sun{position:absolute;right:20px;top:12px;width:34px;height:34px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,#ffeaa8,#f2b544 68%,#e79a2b);
  box-shadow:0 0 22px rgba(240,180,70,.55);}
.ry-band .ry-ter{position:absolute;left:-15%;width:130%;border-radius:50%;}
.ry-band .ry-ter.t1{bottom:-30px;height:64px;background:linear-gradient(180deg,#a9d59a,#6fae6a);}
.ry-band .ry-ter.t2{bottom:-46px;height:62px;background:linear-gradient(180deg,#c6e3ab,#8dbe74);opacity:.95;}
.ry-band .ry-ter.t3{bottom:-64px;height:64px;background:linear-gradient(180deg,#e6efbe,#b9d38a);}
.ry-band .ry-ear{position:absolute;width:2px;height:15px;background:#9a7a33;opacity:.55;border-radius:2px;}
.ry-band .ry-ear::after{content:"";position:absolute;left:-4px;top:-3px;width:10px;height:7px;border-radius:50% 50% 40% 40%;background:#d0a94e;}
.ry-band .ry-ear.e1{left:44%;bottom:20px;transform:rotate(-8deg);}
.ry-band .ry-ear.e2{left:50%;bottom:14px;transform:rotate(6deg);}
.ry-band .ry-ear.e3{left:56%;bottom:22px;transform:rotate(-4deg);}
.ry-band .ry-text{position:absolute;left:16px;top:13px;right:72px;height:52px;}
.ry-band .ry-text b{font-size:13.5px;font-weight:800;color:#4a3a18;letter-spacing:.01em;line-height:1.25;}
.ry-band .ry-text small{font-size:10.5px;color:#8a7444;}
.ry-band .ry-cult{position:absolute;inset:0;display:flex;flex-direction:column;gap:3px;align-items:flex-start;
  background:none;border:0;padding:0;text-align:left;cursor:pointer;opacity:0;visibility:hidden;
  transform:translateY(4px);transition:opacity .45s var(--ease),transform .45s var(--ease),visibility .45s;}
.ry-band .ry-cult.on{opacity:1;visibility:visible;transform:none;}
.ry-band .ry-cult b{font-size:13.5px;font-weight:800;color:#4a3a18;letter-spacing:.01em;line-height:1.25;}
.ry-band .ry-cult small{font-size:10.5px;color:#8a7444;}
.ry-band .ry-cdots{position:absolute;right:14px;bottom:13px;display:flex;align-items:center;gap:4px;}
.ry-band .ry-cdots i{width:4px;height:4px;border-radius:99px;background:rgba(96,74,32,.28);transition:.35s;}
.ry-band .ry-cdots i.on{width:13px;background:#a9741f;}

/* 商城：搜索条与分类条贴合主题 + 可拖拽 */
.guest-page .pdd-top{background:rgba(251,243,221,.95);border-bottom:1px solid var(--ry-line);}
.guest-page .pdd-search{background:#fffdf6;border:1px solid var(--ry-line);}
.guest-page .pdd-search input{color:#4d4531;}
.guest-page .pdd-ico{background:#fffdf6;border:1px solid var(--ry-line);color:#8a6f2f;}
.pdd-cats{cursor:grab;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;}
.pdd-cats.dragging{cursor:grabbing;user-select:none;}
.pdd-cats.dragging{scroll-behavior:auto;}
.guest-page .pdd-cats button{background:#fffdf6;border-color:var(--ry-line);color:#4d5643;}
.guest-page .pdd-cats button.on{background:linear-gradient(140deg,#f6d98f,#d89b2b);border-color:#d89b2b;color:#4a3208;font-weight:700;}
.pdd-cats-more{flex:none;display:flex;align-items:center;gap:4px;padding:8px 12px;border-radius:999px;
  background:#fffdf6;border:1px dashed #d8c79a;color:#a9562d;font-size:12px;font-weight:600;}
.guest-page .pdd-shopbar{background:#fffdf6;border-color:var(--ry-line);color:#6d6448;}
.guest-page .pdd-price{color:var(--ry-earth);}

/* 分类页：左侧分类栏 + 右侧商品 */
.cat-head{position:sticky;top:0;z-index:12;display:flex;align-items:center;gap:8px;height:48px;padding:0 12px;
  background:rgba(251,243,221,.97);border-bottom:1px solid #e9dcc0;}
.cat-back{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;
  background:#fffdf6;border:1px solid #e9dcc0;color:#4d5643;flex:none;}
.cat-head b{font-size:14.5px;font-weight:800;color:#33452f;}
.cat-count{margin-left:auto;font-size:11px;color:#8a7a52;}
.cat-body{display:grid;grid-template-columns:88px 1fr;align-items:start;}
.cat-rail{position:sticky;top:48px;display:flex;flex-direction:column;gap:2px;padding:8px 6px 18px;
  background:#f7efd8;min-height:calc(100vh - 170px);max-height:calc(100vh - 108px);overflow-y:auto;}
.cat-rail button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 2px;border-radius:12px;
  color:#6b6244;font-size:11.5px;line-height:1.2;text-align:center;}
.cat-rail button.on{background:#fffdf6;color:#a9562d;font-weight:700;box-shadow:0 8px 16px -14px rgba(120,90,30,.9);}
.cat-main{padding:8px 12px 20px;min-width:0;}
.cat-title{font-size:12px;color:#8a7a52;font-weight:600;margin:2px 0 8px;}
.cat-prod{display:flex;gap:10px;padding:9px;margin-bottom:9px;background:#fffdf9;border-radius:14px;
  box-shadow:0 10px 20px -18px rgba(60,50,20,.8);border:1px solid #f1e8d0;}
.cat-prod img{width:84px;height:84px;border-radius:11px;object-fit:cover;flex:none;}
.cat-prod .grow{min-width:0;}
.cat-prod b{font-size:12.5px;font-weight:700;line-height:1.35;color:#3b3a2c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.cat-prod small{display:block;font-size:11px;color:#8f8a76;margin-top:4px;}
.cat-prod-foot{display:flex;align-items:center;gap:6px;margin-top:6px;}
.cat-price{font-size:16px;font-weight:800;color:#a9562d;}
.cat-prod.is-soldout img{filter:grayscale(.75);opacity:.72;}

/* 消息页：物流一行预览 + 详情面板 */
.guest-logi-preview{display:flex;align-items:center;gap:10px;width:calc(100% - 32px);margin:12px 16px 8px;
  padding:11px 13px;border-radius:16px;background:linear-gradient(140deg,#fffdf6,#f8f0d8);
  border:1px solid #ecdfbe;text-align:left;box-shadow:0 10px 20px -18px rgba(140,110,40,.85);}
.guest-logi-preview .glp-ico{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;
  background:#f3e3bb;color:#a9562d;flex:none;}
.guest-logi-preview b{display:block;font-size:13px;font-weight:800;color:#3b3a2c;}
.guest-logi-preview small{display:block;font-size:11px;color:#8a7a52;margin-top:2px;}
.guest-logi-preview .glp-more{display:flex;align-items:center;gap:2px;font-size:11px;color:#a9562d;flex:none;}
.logi-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px;}
.logi-stats button{padding:9px 4px;border-radius:12px;background:#f8f5ec;text-align:center;}
.logi-stats button b{display:block;font-size:16px;font-weight:800;color:#3b3a2c;}
.logi-stats button span{font-size:10.5px;color:#8a8a7a;}
.logi-item{padding:11px 0;border-bottom:1px dashed #e8e2d2;}
.logi-item:last-child{border-bottom:0;}
.logi-steps{display:flex;margin:9px 0 2px;}
.logi-steps span{position:relative;flex:1;font-size:10px;color:#a8a89a;text-align:center;}
.logi-steps span i{display:block;width:8px;height:8px;border-radius:50%;background:#e2ddcd;margin:0 auto 5px;}
.logi-steps span.on{color:#3f7d4f;font-weight:600;}
.logi-steps span.on i{background:#63a866;}
.logi-steps span:not(:last-child)::after{content:"";position:absolute;top:4px;left:calc(50% + 6px);right:calc(-50% + 6px);height:1px;background:#e2ddcd;}


/* ============================================================
   元阳稻田主题 · 全局覆盖（含底部面板 / 详情 / 购物车 / 订单）
   ============================================================ */
body.ry-theme{
  --ry-ink:#33452f; --ry-ink-2:#6d6448; --ry-gold:#c9861f; --ry-gold-2:#f2c86c;
  --ry-leaf:#3f7d4f; --ry-earth:#a9562d; --ry-rice:#fdf7e6; --ry-line:#e9dcc0;
  --ry-paper:#fffdf7;
}
/* 面板与通用控件 */
body.ry-theme .sheet{background:var(--ry-paper);border:1px solid #efe4c8;border-bottom:0;}
body.ry-theme .sheet-grab{background:#e6d9b6;}
body.ry-theme .sheet-head h3{color:var(--ry-ink);}
body.ry-theme .sheet-head .icon-btn{color:#8a7a52;}
body.ry-theme .sheet-body{color:#3b3a2c;}
body.ry-theme .btn-primary{background:linear-gradient(140deg,#e3aa3c,#b9761f);color:#fff;
  box-shadow:0 12px 22px -16px rgba(185,118,31,.95);}
body.ry-theme .btn-primary:active{filter:brightness(.96);}
body.ry-theme .btn-soft{background:#fdf6e2;color:#8a5a20;border-color:#ecd9ab;}
body.ry-theme .btn-secondary{background:#fffdf6;color:#7a5a24;border-color:#e6d7b4;}
body.ry-theme .btn-ghost{background:#fffdf6;color:#7d6a3e;border-color:#eadfc2;}
body.ry-theme .guest-section-title{border-left:3px solid var(--ry-gold);color:var(--ry-ink);}
body.ry-theme .notice-green{background:#eef8ec;border-color:#cfe6c6;color:#3f6b45;}
body.ry-theme .notice-gray{background:#f7f3e7;border-color:#e9dcc0;color:#6d6448;}
body.ry-theme .notice-amber{background:#fdf3dc;border-color:#f0dcae;color:#8a6a24;}

/* 商品详情 */
body.ry-theme .guest-detail-img{border-radius:16px;}
body.ry-theme .guest-detail-facts{background:#f9f3e2;color:#6d6448;border:1px solid #f0e5c9;}
body.ry-theme .guest-detail-facts svg{color:#a9562d;}
body.ry-theme .guest-review{border-color:#efe4c8;}
body.ry-theme .guest-review b{color:var(--ry-ink);}
body.ry-theme .guest-review small{color:#9a8f70;}

/* 详情底部操作条：收藏 / 联系农户 / 加入购物车 / 立即购买 */
.pd-bar{display:flex;align-items:center;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #efe4c8;}
.pd-act{flex:none;width:46px;display:flex;flex-direction:column;align-items:center;gap:3px;
  color:#8a7a52;font-size:10px;background:none;border:0;padding:0;}
.pd-act small{font-size:10px;line-height:1;color:#8a7a52;}
.pd-act svg{width:20px;height:20px;color:#a0873f;}
.pd-act.on svg{color:#e0a03a;fill:#f3c766;}
.pd-act.on small{color:#b9761f;}
.pd-add{flex:1;min-width:0;padding:0 10px;font-size:14px;background:#fdf6e2;color:#8a5a20;border:1px solid #ecd9ab;}
.pd-buy{flex:1.45;min-width:0;padding:0 12px;font-size:14.5px;font-weight:700;}

/* 购物车 / 结算 / 订单 / 地址 / 会话（含浮层） */
body.ry-theme .guest-cart-list article,
body.ry-theme .guest-order-list article,
body.ry-theme .guest-address-list article{background:var(--ry-paper);border:1px solid #efe4c8;}
body.ry-theme .guest-cart-list strong{color:var(--ry-earth);}
body.ry-theme .checkout-address{background:linear-gradient(140deg,#fffdf6,#f8f0d8);border:1px solid #ecdfbe;}
body.ry-theme .checkout-address svg{color:var(--ry-earth);}
body.ry-theme .checkout-items article{background:var(--ry-paper);border:1px solid #f1e8d0;}
body.ry-theme .checkout-items strong{color:var(--ry-earth);}
body.ry-theme .checkout-total b{color:var(--ry-earth);}
body.ry-theme .checkout-coupon{background:var(--ry-paper);border:1px dashed #e0cfa6;}
body.ry-theme .checkout-coupon b{color:var(--ry-earth);}
body.ry-theme .purchase-mode button{background:#fdf8ea;border:1px solid #eee0c0;color:#6d6448;}
body.ry-theme .purchase-mode button.on{background:#fdf1d4;border-color:#d8a53c;color:#8a5a20;box-shadow:0 0 0 2px rgba(216,165,60,.18);}
body.ry-theme .m-input{background:#fffdf6;border-color:#e6d7b4;color:#3b3a2c;}
body.ry-theme .m-field label{color:#7d6a3e;}
body.ry-theme .kv-list .kv{border-color:#f0e5c9;}
body.ry-theme .coupon-card{background:var(--ry-paper);border:1px solid #efe4c8;}
body.ry-theme .coupon-card .cc-amt{color:var(--ry-earth);}

/* 消息 / 会话 */
body.ry-theme .chat-app{background:linear-gradient(180deg,#fbf3dd,#f7f4e9);}
body.ry-theme .chat-head{background:rgba(253,247,230,.96);border-bottom:1px solid var(--ry-line);}
body.ry-theme .chat-head .icon-btn{color:#7d6a3e;}
body.ry-theme .chat-scroll{background:transparent;}
body.ry-theme .bubble{background:#fffdf7;border:1px solid #efe4c8;color:#3b3a2c;}
body.ry-theme .msg.me .bubble{background:linear-gradient(140deg,#f7d98f,#e0a93c);border-color:#d8a53c;color:#4a3208;}
body.ry-theme .chat-input{background:rgba(253,247,230,.97);border-top:1px solid var(--ry-line);}
body.ry-theme .chat-input input{background:#fffdf6;border:1px solid #e6d7b4;}
body.ry-theme .chat-input button{background:linear-gradient(140deg,#e3aa3c,#b9761f);color:#fff;}
body.ry-theme .chat-day{color:#a4977a;}
body.ry-theme .chat-sys{background:#f7f1df;color:#7d6a3e;}

/* 商城卡片与结果条 */
body.ry-theme .pdd-card{background:var(--ry-paper);border:1px solid #f1e8d0;box-shadow:0 12px 22px -20px rgba(120,90,30,.8);}
body.ry-theme .pdd-card .pdd-title{color:#3b3a2c;}
body.ry-theme .pdd-tags span{background:#f8f1de;color:#7d6a3e;}
body.ry-theme .pdd-shop{color:#8a7a52;border-top-color:#f2e9d4;}
body.ry-theme .pdd-shop b{color:#6d6448;}
body.ry-theme .pdd-act{color:#8a7a52;}
body.ry-theme .dy-card{background:var(--ry-paper);border:1px solid #f1e8d0;}
body.ry-theme .dy-buy{background:linear-gradient(140deg,#e3aa3c,#b9761f);color:#fff;border:0;}
body.ry-theme .dy-tag{background:#fdf1d4;color:#8a5a20;}
body.ry-theme .dy-hero{background:linear-gradient(150deg,#fdf1cf,#f4dca6 55%,#eccf92);}
body.ry-theme .guest-msgseg button.on{background:#fdf1d4;color:#8a5a20;}
.pdd-result{display:flex;align-items:center;gap:6px;padding:2px 16px 8px;font-size:11.5px;color:#8a7a52;}
.pdd-result svg{color:#b08a3c;}
.pdd-result b{color:#a9562d;font-size:13px;}
.pdd-result button{margin-left:auto;font-size:11px;color:#a9562d;background:#fffdf6;border:1px solid #e6d7b4;border-radius:999px;padding:4px 10px;}

/* 分类页（顾客端 / 主播端共用）：栏内数量角标 */
.cat-rail button i{font-style:normal;font-size:9.5px;color:#a4977a;line-height:1;}
.cat-rail button.on i{color:#b9761f;}
.chip-more{background:#fdf6e2;border:1px dashed #dcc79a;color:#a9562d;}
body.ry-theme .chip-more{background:#fdf6e2;border:1px dashed #dcc79a;color:#a9562d;}


/* ============================================================
   农户端 · 元阳稻田主题（与顾客端 ry-theme 同一套配色：梯田金 + 稻叶绿 + 土陶红 + 米白纸感）
   ============================================================ */
body.farmer-theme{
  --green:#c9861f; --green-500:#d99a2b; --green-600:#c9861f; --green-700:#a86a12;
  --green-50:#fdf4df; --green-100:#f6e6c2; --green-800:#8a5410; --green-900:#6b3f0a;
  --ink:#33452f; --ink-2:#6d6448; --ink-3:#8d8161; --ink-4:#a4977a;
  --line:#e9dcc0; --line-2:#efe4c8;
  --surface:#fffdf7; --surface-2:#fbf3dd;
  background:#f7f6f0;
}
body.farmer-theme .m-app{
  background:linear-gradient(180deg,#fbf3dd 0%,#f9f5e7 30%,#f7f6f0 62%,#f6f6f1 100%);
  color:var(--ink);
}
body.farmer-theme .m-navbar{background:rgba(255,253,247,.94);border-bottom-color:#efe4c8;}
body.farmer-theme .m-tabbar{background:rgba(255,253,247,.97);border-top-color:#efe4c8;}
body.farmer-theme .m-tabbar button.on{color:#b9761f;}
body.farmer-theme .card,
body.farmer-theme .farm-item,
body.farmer-theme .crop-item,
body.farmer-theme .addr-card{background:#fffdf7;border-color:#f0e5cb;box-shadow:0 12px 26px -24px rgba(120,90,30,.65);}
body.farmer-theme .list-row{background:#fffdf7;border-bottom-color:#f2e9d4;}
body.farmer-theme .sec-title{color:#4a3f26;}
body.farmer-theme .farm-cover{background:linear-gradient(135deg,#e8be6a,#a86a12);}
body.farmer-theme .farm-item .fi-ico{background:linear-gradient(140deg,#e8be6a,#a86a12);}
body.farmer-theme .crop-head{background:linear-gradient(140deg,#fdf3d8,#f6e4ba);border-color:#ecd9ab;}
body.farmer-theme .crop-head > svg{color:#a86a12;}
body.farmer-theme .crop-no{background:#f6e6c2;color:#8a5410;}
body.farmer-theme .seg{background:#f6edd7;}
body.farmer-theme .seg button[aria-selected="true"],
body.farmer-theme .seg button.on{background:#fffdf7;color:#8a5a20;box-shadow:0 1px 3px rgba(120,90,30,.16);}
body.farmer-theme .m-input,
body.farmer-theme .m-textarea{background:#fffdf6;border-color:#e6d7b4;}
body.farmer-theme .m-input:focus,
body.farmer-theme .m-textarea:focus{border-color:#c9861f;box-shadow:0 0 0 3px rgba(201,134,31,.14);}
body.farmer-theme .btn-primary{background:linear-gradient(140deg,#e3aa3c,#b9761f);color:#fff;box-shadow:0 8px 18px -12px rgba(160,105,20,.8);}
body.farmer-theme .btn-primary:hover{background:linear-gradient(140deg,#d99a2b,#a86a12);}
body.farmer-theme .btn-soft{background:#fdf6e2;color:#8a5a20;}
body.farmer-theme .btn-soft:hover{background:#f8ecd0;}
body.farmer-theme .btn-secondary{background:#fffdf6;color:#7a5a24;box-shadow:inset 0 0 0 1px #e6d7b4;}
body.farmer-theme .sheet{background:#fffdf7;border-color:#efe4c8;}
body.farmer-theme .notice-green{background:#eef8ec;color:#3f6b45;border-color:#cfe6c6;}
body.farmer-theme .notice-gray{background:#f7f3e7;color:#6d6448;border-color:#e9dcc0;}
body.farmer-theme .notice-amber{background:#fdf4e3;color:#93600c;border-color:#f0dfbb;}

/* 首页：天气条 + 农户服务入口 */
.f-weather{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:15px;
  background:linear-gradient(135deg,#fdf3d8,#f7e6bd);border:1px solid #f0dcaf;color:#6d4f16;}
.f-weather .w-ico{width:34px;height:34px;border-radius:11px;flex:none;display:grid;place-items:center;
  background:linear-gradient(140deg,#fbe4ae,#f0c465);color:#8a5410;}
.f-weather .w-ico svg{width:19px;height:19px;}
.f-weather .w-main{font-size:18px;font-weight:800;letter-spacing:-.02em;line-height:1.1;}
.f-weather .w-loc{font-size:10px;font-weight:800;letter-spacing:.08em;opacity:.7;}
.f-weather .w-tip{margin-top:2px;font-size:10.5px;line-height:1.5;opacity:.82;}

.f-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;}
.f-tile{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:11px 11px 12px;
  border-radius:15px;background:#fffdf7;border:1px solid #f0e5cb;text-align:left;
  box-shadow:0 10px 20px -20px rgba(120,90,30,.8);transition:.15s;}
.f-tile:active{transform:translateY(1px);}
.f-tile .f-ico{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(140deg,#fdf0cd,#f3dca4);color:#a86a12;}
.f-tile .f-ico svg{width:16px;height:16px;}
.f-tile b{font-size:12.5px;font-weight:700;color:#3f3a2a;letter-spacing:-.01em;}
.f-tile small{font-size:10px;line-height:1.35;color:#9a8c6b;}

/* 推荐种植 */
.f-chips{display:flex;gap:7px;overflow-x:auto;padding:1px 0 5px;-webkit-overflow-scrolling:touch;scrollbar-width:none;cursor:grab;-webkit-user-select:none;user-select:none;}
  .f-chips.grabbing{cursor:grabbing;scroll-behavior:auto;}
  .f-chips.grabbing .f-chip{pointer-events:auto;}
.f-chips::-webkit-scrollbar{display:none;}
.f-chip{flex:none;height:31px;padding:0 13px;border-radius:999px;background:#fffdf7;
  border:1px solid #e9dcc0;font-size:12px;font-weight:600;color:#8d8161;transition:.15s;}
.f-chip.on{background:linear-gradient(140deg,#f3d391,#e0a93c);border-color:#d9a53c;color:#4a3208;font-weight:700;}
.f-label{font-size:11px;font-weight:700;letter-spacing:.04em;color:#9a8c6b;margin:14px 0 6px;}
.f-stage{position:relative;padding:13px 14px;border-radius:16px;background:#fffdf7;border:1px solid #f0e5cb;
  box-shadow:0 12px 26px -24px rgba(120,90,30,.7);}
.f-stage + .f-stage{margin-top:10px;}
.f-stage-head{display:flex;align-items:center;gap:8px;}
.f-off{height:22px;padding:0 9px;border-radius:999px;display:inline-flex;align-items:center;
  font-size:11px;font-weight:800;background:#fdf1d4;color:#8a5a20;}
.f-stage-head b{font-size:13.5px;letter-spacing:-.01em;color:#3f3a2a;}
.f-stage-head small{margin-left:auto;font-size:10.5px;color:#9a8c6b;flex:none;}
.f-crops{margin-top:9px;display:flex;flex-direction:column;gap:8px;}
.f-crop{padding:9px 11px;border-radius:12px;background:#fdfaf0;border:1px solid #f2e9d4;}
.f-crop .fc-top{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;}
.f-crop .fc-top b{font-size:12.5px;color:#3f3a2a;}
.f-crop .fc-top em{font-style:normal;font-size:10px;color:#8a7a52;background:#f6edd7;padding:1px 6px;border-radius:6px;}
.f-crop p{margin:4px 0 0;font-size:11.5px;line-height:1.65;color:#6d6448;}
.f-notes{margin:10px 0 0;padding:9px 11px 9px 4px;border-radius:12px;background:#f2f8ee;border:1px solid #d9e8d2;}
.f-notes > b{display:flex;align-items:center;gap:5px;font-size:11px;color:#3f6b45;margin:0 0 5px 7px;}
.f-notes > b svg{width:13px;height:13px;}
.f-notes li{font-size:11px;line-height:1.6;color:#4a6b4c;margin-left:20px;list-style:disc;}

/* 农事日历 */
.f-task{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border-radius:13px;
  background:#fffdf7;border:1px solid #f0e5cb;}
.f-task + .f-task{margin-top:8px;}
.f-task.on{background:#f4f9ef;border-color:#d8e7cf;}
.f-task.on b{color:#7f8b78;text-decoration:line-through;}
.f-check{width:22px;height:22px;border-radius:7px;border:1.5px solid #dcc79a;display:grid;place-items:center;
  flex:none;color:transparent;background:#fffdf6;margin-top:1px;}
.f-check svg{width:13px;height:13px;}
.f-task.on .f-check{background:#4f8a4f;border-color:#4f8a4f;color:#fff;}
.f-task b{font-size:12.5px;color:#3f3a2a;}
.f-task small{display:block;margin-top:3px;font-size:11px;color:#9a8c6b;line-height:1.5;}

/* 价格行情 */
.f-quote{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:14px;
  background:#fffdf7;border:1px solid #f0e5cb;}
.f-quote + .f-quote{margin-top:9px;}
.f-quote .q-name b{font-size:13px;color:#3f3a2a;}
.f-quote .q-name small{display:block;font-size:10.5px;color:#9a8c6b;margin-top:2px;}
.f-quote .q-price{margin-left:auto;text-align:right;}
.f-quote .q-price b{font-size:14.5px;color:#a86a12;font-variant-numeric:tabular-nums;}
.f-quote .q-price small{display:block;font-size:10.5px;color:#9a8c6b;margin-top:2px;}
.f-trend{font-size:10.5px;font-weight:800;padding:2px 6px;border-radius:6px;font-variant-numeric:tabular-nums;}
.f-trend.up{background:#fdece7;color:#c04a2a;}
.f-trend.down{background:#eef5ec;color:#3f7d4f;}
.f-trend.flat{background:#f4efe2;color:#8d8161;}

/* 农技课堂 / 惠农政策 / 种植记录 */
.f-art{display:flex;gap:11px;padding:13px;border-radius:15px;background:#fffdf7;border:1px solid #f0e5cb;
  text-align:left;width:100%;transition:.15s;}
.f-art:active{transform:translateY(1px);}
.f-art + .f-art{margin-top:10px;}
.f-art .a-ico{width:36px;height:36px;border-radius:11px;flex:none;display:grid;place-items:center;
  background:#fdf1d4;color:#a86a12;}
.f-art .a-ico svg{width:18px;height:18px;}
.f-art b{font-size:13px;line-height:1.45;display:block;color:#3f3a2a;}
.f-art p{margin:4px 0 0;font-size:11.5px;line-height:1.6;color:#6d6448;}
.f-art .a-meta{margin-top:7px;display:flex;gap:8px;flex-wrap:wrap;font-size:10.5px;color:#9a8c6b;}
.f-article p{font-size:13px;line-height:1.9;color:#4a4432;margin:0 0 13px;}
.f-article .notice{margin-bottom:13px;}
.f-detail-head{padding:2px 2px 12px;}
.f-detail-head h1{font-size:20px;font-weight:800;letter-spacing:-.03em;color:#33452f;line-height:1.35;}
.f-detail-head .meta{margin-top:9px;display:flex;gap:8px;flex-wrap:wrap;font-size:10.5px;color:#9a8c6b;}
.f-rec{padding:13px 14px;border-radius:15px;background:#fffdf7;border:1px solid #f0e5cb;}
.f-rec + .f-rec{margin-top:10px;}
.f-rec .r-head{display:flex;align-items:center;gap:8px;}
.f-rec .r-head b{font-size:13px;color:#3f3a2a;}
.f-rec .r-head .tag{margin-left:auto;}
.f-rec small{display:block;margin-top:5px;font-size:11px;color:#9a8c6b;line-height:1.5;}
.f-progress{height:6px;border-radius:999px;background:#f2e9d4;overflow:hidden;margin-top:9px;}
.f-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#e3aa3c,#a86a12);}

/* ============================================================
   PC 演示外壳（平台后台）：1280 × 800 等比缩放 + 端切换条
   ============================================================ */
body.admin-body{height:auto;min-height:100vh;overflow:hidden;background:transparent;}
.desk-wrap{padding:14px 20px;gap:12px;}
.desk{
  position:relative;flex:none;width:1280px;height:800px;border-radius:14px;overflow:hidden;
  background:#0f1a14;
  box-shadow:0 42px 90px -34px rgba(10,30,20,.6), 0 0 0 1px rgba(255,255,255,.07);
  transform:scale(var(--desk-scale,1));transform-origin:50% 50%;
  margin:calc((var(--desk-scale,1) - 1) * 400px) calc((var(--desk-scale,1) - 1) * 640px);
}
.desk-bar{height:36px;display:flex;align-items:center;gap:10px;padding:0 14px;
  background:linear-gradient(180deg,#1f2d25,#16211b);color:#a9c2b8;font-size:11.5px;}
.desk-bar .db-dots{display:flex;gap:6px;flex:none;}
.desk-bar .db-dots i{width:9px;height:9px;border-radius:50%;background:#e0605a;opacity:.85;}
.desk-bar .db-dots i:nth-child(2){background:#e3b64a;}
.desk-bar .db-dots i:nth-child(3){background:#5cc47f;}
.desk-bar .db-url{flex:1;max-width:420px;padding:4px 12px;border-radius:999px;
  background:rgba(255,255,255,.07);color:#cfe3d9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.desk-bar .db-tag{margin-left:auto;color:#7f9c8f;font-size:10.5px;letter-spacing:.04em;}
.desk-screen{position:absolute;inset:36px 0 0;background:var(--surface-2);overflow:hidden;contain:paint;}
.desk-screen .admin-shell{height:100%;}
@media (max-width:1100px){
  .desk .side{width:224px;}
  .desk .side-head{justify-content:flex-start;padding:0 18px;}
  .desk .logo-text,.desk .nav-group-title,.desk .side-user .u{display:block;}
  .desk .nav-item{justify-content:flex-start;padding:0 12px;}
  .desk .nav-item span{display:inline;}
}
@media (max-width:760px){
  .desk-bar .db-tag{display:none;}
}

/* 端切换条样式统一放在 selection.css（所有页面都加载） */

/* 「更多分类」排在所有分类的最后（跟随横向滚动，不做吸边） */
.pdd-cats .pdd-cats-more{margin-left:2px;}
.chip-scroll .chip-more{margin-left:2px;}


/* =============== 第 18 轮：售后图标尺寸 + 元阳风物轮播 =============== */
.sec-title svg { width: 15px; height: 15px; flex: none; }
.notice svg { width: 15px; height: 15px; }
.ry-roll { position: relative; height: 96px; margin: 10px 16px 12px; }
.ry-card { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 16px; padding: 12px 14px;
  display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; opacity: 0; visibility: hidden;
  transform: translateX(6px) scale(.99); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
  box-shadow: 0 10px 22px -18px rgba(80, 58, 20, .8); }
.ry-card.on { opacity: 1; visibility: visible; transform: none; }
.ry-card .ry-ico { width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, .62); display: grid; place-items: center; flex: none; color: #6b5320; }
.ry-card .ry-ico svg { width: 18px; height: 18px; }
.ry-card .ry-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ry-card .ry-tag { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: rgba(74, 58, 24, .68); }
.ry-card .ry-body b { font-size: 13.5px; font-weight: 800; color: #3f3110; line-height: 1.25; }
.ry-card .ry-body small { font-size: 10.5px; color: #6e5a2c; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ry-card .ry-cta { flex: none; display: inline-flex; align-items: center; gap: 1px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); color: #5b4517; font-size: 11px; font-weight: 700; }
.ry-pager { position: absolute; right: 14px; bottom: 6px; display: flex; gap: 3px; }
.ry-pager i { width: 4px; height: 4px; border-radius: 999px; background: rgba(74, 58, 24, .3); transition: .3s; }
.ry-pager i.on { width: 12px; background: #7a5f22; }
@media (max-width: 360px) { .ry-card .ry-body small { display: none; } }

/* 第 20 轮：收货地址切换 + 结算地址可点 */
body.ry-theme .checkout-address { background:#fffaf0; border-color:var(--ry-line); border-radius:14px; }
body.ry-theme .checkout-address > span { color:#a9741f; }
body.ry-theme .checkout-address b { color:#4a3a18; }
body.ry-theme .addr-card { background:#fffdf7; border-color:var(--ry-line); border-radius:14px; }
body.ry-theme .addr-card.is-default, body.ry-theme .addr-card.is-on { border-color:#c9861f; box-shadow:0 0 0 3px rgba(201,134,31,.14); }
/* =============== 第 21 轮：顾客端（元阳文化实图、圆形活动、六一直播间、宽卡） =============== */
/* 元阳文化：图片轮播 + 文案层（每张图对应一个故事） */
.ry-culture { position: relative; margin: 10px 16px 12px; height: 134px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 28px -22px rgba(80, 58, 20, .9); background: #2b2416; }
.ry-shot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.ry-shot.on { opacity: 1; visibility: visible; }
.ry-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ry-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 18, 8, .04) 30%, rgba(24, 18, 8, .28) 62%, rgba(24, 18, 8, .74) 100%); }
.ry-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px 13px; border: 0; text-align: left; color: #fff; background: none; }
.ry-copy small { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 246, 226, .82); }
.ry-copy b { font-size: 15px; font-weight: 800; line-height: 1.25; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.ry-copy p { margin: 0; font-size: 11px; line-height: 1.45; color: rgba(255, 246, 226, .88);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ry-copy em { margin-top: 3px; font-style: normal; font-size: 10.5px; font-weight: 700; color: #ffdca0; display: inline-flex; align-items: center; gap: 2px; }
.ry-cdots { position: absolute; right: 12px; top: 12px; z-index: 3; display: flex; gap: 4px; }
.ry-cdots i { width: 5px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: .3s; }
.ry-cdots i.on { width: 14px; background: #ffdca0; }
.culture-hero { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; display: block; margin-bottom: 12px; }

/* 圆形频道入口：参考云集小程序，一页 10 个（5 列 × 2 行），多于 10 个左右滑动分页 */
.pdd-promo { padding: 2px 8px 6px; }
.pdd-promo-viewport { overflow: hidden; }
.pdd-promo-track { display: flex; transition: transform .32s cubic-bezier(.2, .7, .2, 1); touch-action: pan-y; will-change: transform; }
.pdd-promo-page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 2px; padding: 2px 0; }
.pdd-promo-round { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; background: none; text-align: center; }
.pdd-promo-round .pp-circle { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 9px 16px -9px rgba(90, 60, 20, .55), inset 0 -4px 9px rgba(0, 0, 0, .13), inset 0 2px 3px rgba(255, 255, 255, .35); }
.pdd-promo-round .pp-circle::after { content: ''; position: absolute; left: 7px; right: 7px; top: 2px; height: 42%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); pointer-events: none; }
.pdd-promo-round .pp-circle svg { position: relative; z-index: 1; width: 32px; height: 32px; filter: drop-shadow(0 1px 1.5px rgba(40, 20, 0, .22)); }
.pdd-promo-round b { font-size: 10.5px; font-weight: 700; color: #3b3a2c; line-height: 1.15; }
.pdd-promo-round small { font-size: 8.5px; color: var(--ry-ink-2); line-height: 1.15; white-space: nowrap; }
.pdd-promo-dots { display: flex; justify-content: center; gap: 5px; padding-top: 7px; }
.pdd-promo-dots button { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 999px; background: #e4d5b2; transition: .25s; }
.pdd-promo-dots button.on { width: 14px; background: #c9861f; }
.pdd-promo-round.p1 .pp-circle { background: linear-gradient(140deg, #ff9b7a, #e8542a); }
.pdd-promo-round.p2 .pp-circle { background: linear-gradient(140deg, #f7c46a, #d98f1f); }
.pdd-promo-round.p3 .pp-circle { background: linear-gradient(140deg, #f79ab5, #d94a76); }
.pdd-promo-round.p4 .pp-circle { background: linear-gradient(140deg, #7bc3f7, #2b7fc4); }
.pdd-promo-round.p5 .pp-circle { background: linear-gradient(140deg, #8fd6a8, #2f9c62); }
.pdd-promo-round.p6 .pp-circle { background: linear-gradient(140deg, #c6a6f0, #7b52c8); }

/* 商品流标题 + 首件横向宽卡 */
.pdd-feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2px 16px 8px; }
.pdd-feed-head b { font-size: 15px; font-weight: 800; color: #3b3a2c; }
.pdd-feed-head small { font-size: 10px; color: var(--ry-ink-2); }
.pdd-card.pdd-wide { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.pdd-wide .pdd-card-media { width: 126px; height: auto; min-height: 128px; flex: none; }
.pdd-wide .pdd-card-media img { height: 100%; }
.pdd-wide-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 9px 11px 9px 10px; }
.pdd-wide-kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 999px;
  background: linear-gradient(140deg, #fff0cd, #f7dc9c); color: #8a5410; font-size: 9.5px; font-weight: 800; }
.pdd-wide-body h3 { margin: 0; font-size: 13.5px; line-height: 1.35; font-weight: 700; color: #2f2e22;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: auto; }
.pdd-wide-sub { margin: 0; font-size: 10.5px; color: var(--ry-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdd-wide-body .pdd-price { margin: 0; }
.pdd-wide-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.pdd-wide .pdd-shop { margin: 0; padding: 0; border: 0; background: none; flex: none; }
.pdd-wide .pdd-shop b { font-size: 10.5px; max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdd-wide .pdd-shop > span:last-child { display: none; }
.pdd-wide-sold { font-size: 10px; color: var(--ry-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdd-wide-buy { margin-left: auto; height: 28px; padding: 0 11px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; gap: 3px;
  background: linear-gradient(140deg, #ef7a4a, #cf3f16); color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }

/* 六一直播间：横滑场次条 */
.live-strip { margin: 4px 12px 8px; padding: 10px 0 4px; border-radius: 16px;
  background: linear-gradient(180deg, #fff4dc, #fffdf7 78%); border: 1px solid #f6e7c6; }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 8px; }
.live-hl { display: flex; align-items: center; gap: 5px; min-width: 0; }
.live-hl svg { width: 15px; height: 15px; color: #d9452c; }
.live-hl b { font-size: 14px; font-weight: 800; color: #3b2f16; }
.live-hl small { font-size: 9.5px; color: var(--ry-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-head > button { flex: none; display: inline-flex; align-items: center; gap: 1px; border: 0; background: none; font-size: 10.5px; color: #8a5410; font-weight: 700; }
.live-scroll { display: flex; gap: 9px; overflow-x: auto; padding: 0 12px 6px; scrollbar-width: none; }
.live-scroll::-webkit-scrollbar { display: none; }
.live-card { width: 150px; flex: none; display: flex; flex-direction: column; gap: 5px; padding: 6px; text-align: left;
  background: #fffdf7; border: 1px solid #f3e8cd; border-radius: 14px; }
.live-card.is-live { border-color: #f6c9b8; box-shadow: 0 10px 20px -18px rgba(217, 69, 44, .8); }
.live-cover { position: relative; display: block; height: 84px; border-radius: 10px; overflow: hidden; background: #ede3cf; }
.live-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-badge { position: absolute; left: 5px; top: 5px; padding: 2px 6px; border-radius: 999px; font-style: normal;
  font-size: 9px; font-weight: 700; color: #fff; background: rgba(30, 22, 8, .55); }
.live-card.is-live .live-badge { background: #e0342a; }
.live-viewers { position: absolute; right: 5px; bottom: 5px; display: inline-flex; align-items: center; gap: 2px; font-style: normal;
  padding: 1px 5px; border-radius: 999px; background: rgba(30, 22, 8, .5); color: #fff; font-size: 9px; }
.live-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.live-body b { font-size: 11.5px; line-height: 1.35; color: #33301f; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-body small { display: flex; align-items: center; gap: 2px; font-size: 9.5px; color: var(--ry-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 直播间预览页 */
.live-page { padding-bottom: 70px; }
.live-page .m-navbar .right .btn { position: relative; }
.live-stage { position: relative; height: 208px; background: #2b2416; overflow: hidden; }
.live-stage > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 4, .22), rgba(20, 14, 4, .06) 42%, rgba(20, 14, 4, .82)); }
.live-live-badge { position: absolute; left: 14px; top: 12px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800;
  color: #fff; background: rgba(30, 22, 8, .55); }
.live-live-badge.on { background: #e0342a; }
.live-stage-viewers { position: absolute; right: 14px; top: 12px; display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 9px; border-radius: 999px; background: rgba(30, 22, 8, .5); color: #fff; font-size: 10.5px; }
.live-anchor-row { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 9px; color: #fff; }
.live-anchor-row .avatar { width: 34px; height: 34px; font-size: 14px; border: 2px solid rgba(255, 255, 255, .6); }
.live-anchor-row b { font-size: 13px; }
.live-anchor-row small { font-size: 10px; color: rgba(255, 246, 226, .8); }
.live-follow { flex: none; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 11px; font-weight: 700; }
.live-follow.on { background: rgba(255, 220, 160, .9); color: #5a3a08; border-color: transparent; }
.live-reserve { display: flex; align-items: center; gap: 10px; margin: 10px 12px 0; padding: 11px 13px; border-radius: 14px;
  background: #fff6e2; border: 1px solid #f1dfb8; }
.live-reserve b { font-size: 12.5px; color: #5a3a08; }
.live-reserve small { font-size: 10.5px; color: var(--ry-ink-2); }
.live-intro { padding: 12px 14px 4px; }
.live-intro b { font-size: 15px; font-weight: 800; color: #33301f; line-height: 1.35; }
.live-intro p { margin: 5px 0 0; font-size: 12px; line-height: 1.7; color: var(--ry-ink-2); }
.live-goods { margin: 12px 12px 0; background: #fffdf7; border: 1px solid #f3e8cd; border-radius: 16px; padding: 12px; }
.live-goods-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.live-goods-head b { font-size: 13.5px; color: #3b2f16; }
.live-goods-head small { font-size: 10px; color: var(--ry-ink-2); }
.live-good { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid #f6ecd6; }
.live-good:first-of-type { border-top: 0; }
.live-good .lg-no { flex: none; width: 17px; height: 17px; border-radius: 6px; display: grid; place-items: center;
  background: #fff0cd; color: #a86a12; font-size: 10px; font-weight: 800; }
.live-good img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.live-good b { font-size: 12px; color: #33301f; display: block; line-height: 1.35; }
.live-good small { font-size: 9.5px; color: var(--ry-ink-2); }
.live-good strong { font-size: 12.5px; color: #cf3f16; }
.live-good .lg-add { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: linear-gradient(140deg, #f7c46a, #d98f1f); color: #fff; }
.live-chat { margin: 12px 12px 0; padding: 4px 0; }
.live-chat-head { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--ry-ink-2); margin-bottom: 6px; }
.lc-row { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 6px; }
.lc-row.mine { justify-content: flex-end; }
.lc-avatar { width: 20px; height: 20px; border-radius: 50%; background: #efe4c8; color: #8a7a52; display: grid; place-items: center; flex: none; }
.lc-bubble { max-width: 78%; padding: 5px 10px; border-radius: 12px; background: rgba(255, 253, 247, .94); border: 1px solid #f3e8cd;
  font-size: 11.5px; line-height: 1.5; color: #43402f; }
.lc-row.mine .lc-bubble { background: linear-gradient(140deg, #f7d98f, #e0a93c); border-color: transparent; color: #4a3208; }
.live-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 253, 247, .97);
  border-top: 1px solid #efe4c8; backdrop-filter: blur(10px); }
.live-input { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 6px 0 12px;
  border-radius: 999px; background: #fffaf0; border: 1px solid #efe2c4; }
.live-input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 12.5px; color: #33301f; }
.live-input button, .live-cart-btn { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: linear-gradient(140deg, #e3aa3c, #b9761f); color: #fff; }
.live-cart-btn { position: relative; width: 42px; height: 42px; }
.live-cart-btn i { position: absolute; right: -2px; top: -2px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px;
  background: #e0342a; color: #fff; font-style: normal; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.live-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; border-top: 1px solid #f1e7d2;
  background: none; text-align: left; }
.live-row:first-child { border-top: 0; }
.live-row img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.live-row b { display: block; font-size: 12.5px; color: #33301f; line-height: 1.35; }
.live-row small { font-size: 10.5px; color: var(--ry-ink-2); }

/* 我的足迹 */
.hist-list { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.hist-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #fffdf7;
  border: 1px solid #f3e8cd; text-align: left; }
.hist-row > img { width: 56px; height: 56px; border-radius: 11px; object-fit: cover; flex: none; }
.hist-row b { display: block; font-size: 12.5px; color: #33301f; line-height: 1.35; }
.hist-row small { display: block; font-size: 10px; color: var(--ry-ink-2); margin-top: 1px; }
.hist-row strong { display: block; margin-top: 2px; font-size: 13px; color: #cf3f16; }

/* 帮助中心 / 客服 FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq { padding: 11px 13px; border-radius: 14px; background: #fffdf7; border: 1px solid #f3e8cd; }
.faq b { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 700; color: #33301f; }
.faq b svg { flex: none; color: #a89670; transition: transform .25s; }
.faq.on b { color: #a86a12; }
.faq.on b svg { transform: rotate(180deg); }
.faq p { margin: 8px 0 0; font-size: 11.5px; line-height: 1.75; color: var(--ry-ink-2); }

/* 农户端首页统计卡：可点开明细 */
.stat-card { border: 0; font: inherit; text-align: left; cursor: pointer; }
.stat-card:active { transform: scale(.985); }
.stat-card .stat-go { display: inline-flex; color: #c3b296; }
.stat-mini { text-align: center; padding: 12px 8px; }
.stat-mini .num { font-size: 20px; font-weight: 800; color: #b9761f; margin-bottom: 2px; }

/* 今日待办跳转到商品界面后，把目标商品闪一下 */
@keyframes fcardFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 134, 31, 0); }
  18%, 62% { box-shadow: 0 0 0 3px rgba(201, 134, 31, .55); }
}
.lead-card.flash { animation: fcardFlash 2s ease-out; }

/* ============================================================
   主播端直播台（与顾客端直播间共用数据）
   ============================================================ */
.live-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.live-stats > div { background: #fffdf7; border: 1px solid #f0e5cb; border-radius: 14px; padding: 10px 6px; text-align: center; }
.live-stats b { display: block; font-size: 17px; font-weight: 800; color: #5a3a08; }
.live-stats small { display: block; margin-top: 2px; font-size: 9.5px; color: var(--ry-ink-2); }
.live-manage { background: #fffdf7; border: 1px solid #f0e5cb; border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.lm-head { display: flex; gap: 10px; align-items: flex-start; }
.lm-head > img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.lm-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lm-title b { font-size: 13px; color: #33301f; line-height: 1.3; }
.lm-head small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--ry-ink-2); }
.live-chip { font-size: 9px; padding: 2px 7px; border-radius: 999px; background: #f2ecdc; color: #8a7a58; font-weight: 700; }
.live-chip.on { background: #ffe8e2; color: #d1441f; }
.live-chip.soon { background: #fdf3d8; color: #a86a12; }
.lm-meta { display: flex; gap: 12px; margin: 9px 0; font-size: 10.5px; color: var(--ry-ink-2); }
.lm-meta span { display: inline-flex; align-items: center; gap: 3px; }
.lm-acts { display: flex; gap: 8px; }
.lm-acts .btn { flex: 1; }
.live-dot { position: absolute; top: 8px; right: calc(50% - 16px); width: 6px; height: 6px; border-radius: 50%; background: #e8542a; box-shadow: 0 0 0 3px rgba(232, 84, 42, .18); }
/* 新建/编辑直播弹层 */
.live-form .m-input { width: 100%; }
.live-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.live-pick { display: flex; gap: 7px; align-items: center; padding: 7px; border-radius: 12px; border: 1px solid #efe3c8; background: #fffdf7; text-align: left; }
.live-pick img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex: none; }
.live-pick b { display: block; font-size: 10.5px; color: #33301f; line-height: 1.3; }
.live-pick small { display: block; font-size: 9.5px; color: var(--ry-ink-2); }
.live-pick.on { border-color: #d99a2b; background: #fdf6e2; box-shadow: inset 0 0 0 1px #e5b969; }

/* ============================================================
   顾客端圆形入口延伸板块（助农 / 榜单 / 积分 / 新人 / 会员 / 邀请）
   ============================================================ */
.sheet-goods { display: flex; flex-direction: column; gap: 8px; }
.sheet-good { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 13px; border: 1px solid #f1e6cd; background: #fffdf7; text-align: left; }
.sheet-good img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.sheet-good b { display: block; font-size: 12px; color: #33301f; line-height: 1.35; }
.sheet-good small { display: block; font-size: 9.5px; color: var(--ry-ink-2); }
.sheet-good strong { font-size: 13px; color: #cf3f16; }
.sheet-board { display: flex; flex-direction: column; gap: 7px; }
.board-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 13px; border: 1px solid #f1e6cd; background: #fffdf7; text-align: left; }
.board-row img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; flex: none; }
.board-no { width: 20px; text-align: center; font-weight: 800; font-size: 13px; color: #b5a684; flex: none; }
.board-row.top .board-no { color: #d1441f; }
.board-row b { display: block; font-size: 11.5px; color: #33301f; line-height: 1.35; }
.board-row small { display: block; font-size: 9.5px; color: var(--ry-ink-2); }
.board-row strong { font-size: 12.5px; color: #cf3f16; }
.points-hero { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(140deg, #fdf1cf, #f6dfa4); color: #5a3a08; }
.ph-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff8e6; color: #a86a12; }
.points-hero b { font-size: 19px; font-weight: 800; }
.points-hero small { display: block; font-size: 10px; color: #7b6231; }
.points-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 13px; border: 1px solid #f1e6cd; background: #fffdf7; }
.pt-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fdf3d8; color: #a86a12; flex: none; }
.points-row b { display: block; font-size: 11.5px; color: #33301f; }
.points-row small { display: block; font-size: 9.5px; color: var(--ry-ink-2); }
.newbie-hero { padding: 16px; border-radius: 16px; background: linear-gradient(140deg, #ffd9cc, #f6a98a); color: #5d210f; }
.newbie-hero b { font-size: 16px; font-weight: 800; }
.newbie-hero small { display: block; margin-top: 3px; font-size: 10.5px; color: #86391f; }
.coupon-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 13px; border: 1px dashed #e9c9a6; background: #fffaf0; }
.cp-amt { width: 52px; text-align: center; color: #cf3f16; flex: none; }
.cp-amt b { font-size: 20px; font-weight: 800; }
.cp-amt small { font-size: 9px; }
.coupon-row b { display: block; font-size: 11.5px; color: #33301f; }
.coupon-row small { display: block; font-size: 9.5px; color: var(--ry-ink-2); }
.member-hero { padding: 14px; border-radius: 16px; background: linear-gradient(140deg, #3c3427, #6b5634); color: #fdf3d8; }
.mh-top { display: flex; align-items: center; gap: 10px; }
.mh-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 240, 205, .16); color: #f2c86c; }
.member-hero b { font-size: 14px; font-weight: 800; }
.member-hero small { display: block; font-size: 10px; color: #e3cfa5; }
.mh-benefits { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mh-benefits span { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; padding: 4px 8px; border-radius: 999px; background: rgba(255, 240, 205, .12); color: #f2dfb4; }
.member-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-card { padding: 12px; border-radius: 14px; background: #fffdf7; border: 1px solid #f0e5cb; text-align: center; }
.plan-card.hot { border-color: #e0b463; background: #fff8e6; }
.plan-card b { display: block; font-size: 11.5px; color: #6b5a3a; }
.plan-card strong { display: block; font-size: 20px; color: #cf3f16; margin: 2px 0; }
.plan-card small { display: block; font-size: 9.5px; color: var(--ry-ink-2); margin-bottom: 8px; }
.invite-hero { padding: 16px; border-radius: 16px; background: linear-gradient(140deg, #ffe6c9, #f7bc7d); color: #5d3311; }
.invite-hero b { font-size: 16px; font-weight: 800; }
.invite-hero small { display: block; margin-top: 3px; font-size: 10.5px; color: #86491c; line-height: 1.5; }
.invite-code { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px dashed #e2b06a; background: #fffaf0; }
.invite-code small { display: block; font-size: 9.5px; color: var(--ry-ink-2); }
.invite-code b { font-size: 20px; letter-spacing: 2px; color: #a86a12; }
.invite-steps { display: flex; flex-direction: column; gap: 8px; }
.invite-steps > div { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #4a4534; }
.invite-steps b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fdf3d8; color: #a86a12; font-size: 10px; flex: none; }

/* 直播入驻申请（主播端） */
.live-apply .lm-title { margin-bottom: 4px; }
.live-apply small { display: block; font-size: 10.5px; color: var(--ry-ink-2); line-height: 1.5; margin-bottom: 8px; }
.live-apply .lm-acts { justify-content: flex-start; gap: 8px; }

/* ============================================================
   商城头部改版：活动板块 + 分类板块（实拍图）+ 周一至周日
   ============================================================ */
/* 圆形板块：活动 + 分类合并，一页 10 个（5 列 × 2 行），多页左右滑动 */
.mall-board { padding: 12px 4px 2px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.mall-viewport { overflow: hidden; touch-action: pan-y; overscroll-behavior-x: contain; }
.mall-track { display: flex; transition: transform .3s ease; will-change: transform; }
.mall-page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px 2px; padding: 2px; box-sizing: border-box; }
.mall-dots { display: flex; justify-content: center; align-items: center; gap: 5px; padding: 8px 0 0; }
.mall-dots button { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 99px; background: #e3d5b2; transition: width .2s, background .2s; }
.mall-dots button.on { width: 14px; background: #c9861f; }
.mall-cat { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; background: none; }
.mall-cat i { display: block; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #f6eddc; border: 2px solid #fffdf7; box-shadow: 0 3px 10px -4px rgba(80, 56, 10, .45); }
.mall-cat i img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mall-cat b { font-size: 11px; font-weight: 600; color: #4a3a1c; line-height: 1.15; text-align: center; }
.pdd-week-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 12px 6px; }
.pdd-week-head b { font-size: 14px; font-weight: 800; color: #3a2c10; }
.pdd-week-head small { font-size: 10px; color: #8a7c5e; }
.pdd-week { display: flex; gap: 6px; padding: 0 10px 8px; overflow-x: auto; scrollbar-width: none; }
.pdd-week::-webkit-scrollbar { display: none; }
.pdd-week button { flex: 0 0 auto; min-width: 54px; padding: 5px 8px; border: 1px solid #e9dcc0; border-radius: 10px; background: #fffdf7; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pdd-week button b { font-size: 11.5px; font-weight: 700; color: #4a3a1c; white-space: nowrap; }
.pdd-week button small { font-size: 9.5px; color: #8a7c5e; white-space: nowrap; }
.pdd-week button.on { border-color: #d9a338; background: linear-gradient(140deg, #f9e3ae, #f0cd83); }
.pdd-week button.on b { color: #5a3a08; }
.pdd-week button.on small { color: #7c5410; }
/* 农户端商品列表缩略图：与主播端、顾客端同一张主图 */
.prod-thumb { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--surface-3, #f3ecd9); }
.prod-thumb.md { width: 48px; height: 48px; border-radius: 10px; }
.prod-thumb.lg { width: 48px; height: 48px; border-radius: 10px; }
.prod-thumb.sm { width: 34px; height: 34px; border-radius: 8px; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 弹层底部按钮（U.openSheet 现在会把 foot 放进 body 末尾） */
.sheet-foot { display: flex; gap: 8px; margin-top: 12px; }
.sheet-foot .btn { flex: 1; }

/* ============================================================
   直播：顾客端直播画面 + 主播端开播工作台
   ============================================================ */
.live-stage.streaming > img { transform: scale(1.05); }
.live-stage .live-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
.live-stage .live-frame.on { opacity: 1; }
.live-scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .16) 48%, rgba(255, 255, 255, 0) 62%); background-size: 100% 220%; animation: liveScan 5.6s linear infinite; }
@keyframes liveScan { 0% { background-position: 0 -120%; } 100% { background-position: 0 120%; } }
.live-stage-clock { position: absolute; left: 14px; top: 40px; font-family: var(--num); font-size: 10.5px; font-weight: 700; letter-spacing: .4px; padding: 3px 8px; border-radius: 999px; color: #fff; background: rgba(18, 15, 9, .55); backdrop-filter: blur(4px); }
.live-sig { position: absolute; right: 14px; top: 40px; display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; color: rgba(255, 255, 255, .9); padding: 3px 8px; border-radius: 999px; background: rgba(18, 15, 9, .5); }
.live-sig i { width: 5px; height: 5px; border-radius: 50%; background: #59dd8c; box-shadow: 0 0 0 2px rgba(89, 221, 140, .25); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
.live-pitch { position: absolute; left: 12px; right: 12px; bottom: 66px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 12px; font-size: 10.5px; color: #fff6e2; background: linear-gradient(100deg, rgba(184, 118, 31, .92), rgba(120, 74, 16, .92)); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .8); }
.live-pitch b { font-size: 11px; }
.live-source { display: block; margin-top: 6px; font-size: 10px; color: #a08655; }
.lc-bubble em { font-style: normal; font-weight: 700; color: #a86a12; }

/* 开播工作台：深色导播间 */
.studio-page { background: #14110b; color: #f7f0dd; padding-bottom: 116px; min-height: 100%; }
.studio-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; }
.studio-back { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #f7f0dd; }
.studio-back svg { width: 16px; height: 16px; }
.studio-top b { display: block; font-size: 13.5px; line-height: 1.35; }
.studio-top small { font-size: 10.5px; color: #f2ac9c; }
.studio-clock { flex: none; font-family: var(--num); font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.studio-stage { position: relative; margin: 0 12px; height: 296px; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 18px 32px -24px #000; }
.studio-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; transform: scaleX(-1); }
.studio-video.on { display: block; }
.studio-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.studio-fallback.hide { display: none; }
.studio-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.studio-fallback div { position: relative; max-width: 78%; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .6); }
.studio-fallback b { font-size: 12.5px; }
.studio-fallback small { display: block; margin-top: 4px; font-size: 10px; line-height: 1.5; color: #d9cdb4; }
.studio-sig { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; color: #fff; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .45); }
.studio-sig i { width: 5px; height: 5px; border-radius: 50%; background: #59dd8c; animation: livePulse 1.6s ease-in-out infinite; }
.studio-viewers { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: #fff; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .45); }
.studio-pitch { position: absolute; left: 12px; right: 12px; bottom: 44px; padding: 6px 10px; border-radius: 10px; font-size: 10.5px; color: #fff8e8; background: linear-gradient(100deg, rgba(184, 118, 31, .92), rgba(120, 74, 16, .92)); }
.studio-tools { display: flex; gap: 8px; padding: 12px 12px 0; }
.studio-tools button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 34px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #efe6d2; font-size: 11px; }
.studio-tools button.on { border-color: rgba(226, 172, 78, .8); background: rgba(226, 172, 78, .2); color: #ffe3ac; }
.studio-chat { margin: 12px 12px 0; max-height: 128px; overflow-y: auto; padding: 2px 2px 6px; }
.studio-chat .lc-row { margin-bottom: 6px; }
.studio-chat .lc-avatar { background: rgba(255, 255, 255, .12); color: #f3d9a2; }
.studio-chat .lc-bubble { background: rgba(255, 255, 255, .1); color: #f6efdd; font-size: 11px; }
.studio-chat .lc-bubble em { color: #f0c477; }
.studio-empty { font-size: 10.5px; color: #a99b7d; text-align: center; padding: 8px 0; }
.studio-goods { display: flex; gap: 8px; overflow-x: auto; padding: 4px 12px 8px; }
.studio-good { flex: 0 0 auto; width: 128px; display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #f6efdd; text-align: left; }
.studio-good.on { border-color: #e0a93c; background: rgba(224, 169, 60, .16); }
.studio-good img { width: 100%; height: 58px; object-fit: cover; border-radius: 8px; }
.studio-good b { font-size: 10.5px; line-height: 1.35; height: 29px; overflow: hidden; }
.studio-good small { font-size: 10px; color: #f0c477; }
.studio-good em { font-style: normal; font-size: 9.5px; color: #cfc2a6; }
.studio-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 32; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(20, 17, 11, 0), #14110b 44%); }
.studio-foot .live-input { background: rgba(255, 255, 255, .08); }
.studio-foot .live-input input { color: #f6efdd; }
.studio-foot .live-input input::placeholder { color: #a99b7d; }
.studio-foot .btn-danger { background: rgba(224, 52, 42, .16); color: #ff9d92; }

/* ===== 农户收益账本 ===== */
.ledger-hero{padding:16px;border-radius:18px;background:linear-gradient(140deg,#fdf3d8,#f2d79c);border:1px solid #eccf94;
  box-shadow:0 14px 30px -22px rgba(150,105,25,.55);color:#4a3208;}
.ledger-hero small{font-size:11px;font-weight:700;letter-spacing:.06em;color:#8a6a2a;}
.ledger-hero b{display:block;margin:4px 0 8px;font-size:27px;font-weight:800;letter-spacing:-.01em;}
.ledger-hero .lh-row{display:flex;gap:14px;font-size:11.5px;font-weight:600;color:#7a5a22;}
.f-tile.static{cursor:default;}
.f-tile.static:active{transform:none;}
.ledger-row{display:flex;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid var(--line);}
.ledger-row:last-child{border-bottom:0;}
.ledger-row b{font-size:13px;font-weight:700;color:var(--ink);}
.ledger-row small{display:block;margin-top:2px;font-size:10.5px;color:var(--ink-3);}
.ledger-row em{font-style:normal;font-size:13px;font-weight:800;color:var(--orange);white-space:nowrap;}
.ledger-row .icon-btn{width:26px;height:26px;flex:none;color:var(--ink-4);}

/* ===== 顾客端产地溯源 ===== */
.guest-origin-band{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px;padding:11px 12px;
  border:1px solid #ecdfc4;border-radius:14px;background:#fffdf7;text-align:left;color:var(--ink);}
.guest-origin-band .go-ico{width:30px;height:30px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(140deg,#f6e6c2,#e8c886);color:#7a5410;}
.guest-origin-band b{display:block;font-size:13px;font-weight:750;}
.guest-origin-band small{display:block;margin-top:2px;font-size:10.5px;color:var(--ink-3);}
.origin-hero{display:flex;gap:12px;align-items:center;padding:12px;border-radius:16px;background:linear-gradient(140deg,#fbf3dd,#f6e9c9);border:1px solid #ecdfc4;}
.origin-hero img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none;}
.origin-hero b{font-size:14px;font-weight:750;color:var(--ink);}
.origin-hero small{display:block;margin-top:3px;font-size:11px;color:var(--ink-2);}
.origin-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px;}
.origin-tags span{display:inline-flex;align-items:center;gap:3px;padding:2px 6px;border-radius:999px;background:#fffdf7;
  border:1px solid #ecdfc4;font-size:9.5px;font-weight:650;color:#8a6a2a;}
.origin-chain{display:flex;align-items:center;gap:4px;margin:14px 0 6px;}
.origin-chain .oc-node{flex:1;padding:8px 6px;border-radius:11px;background:#fffdf7;border:1px solid #ecdfc4;text-align:center;}
.origin-chain .oc-node b{display:block;font-size:11.5px;font-weight:750;color:var(--ink);}
.origin-chain .oc-node small{display:block;margin-top:2px;font-size:9.5px;color:var(--ink-3);}
.origin-chain i{width:10px;height:1px;background:#e0cba0;flex:none;}
.origin-intro{margin:10px 0 0;font-size:12px;line-height:1.75;color:var(--ink-2);}
.origin-table{margin-top:12px;border-radius:14px;background:#fffdf7;border:1px solid #ecdfc4;overflow:hidden;}
.origin-row{display:flex;gap:12px;padding:9px 12px;border-bottom:1px solid #f2e7d0;font-size:11.5px;}
.origin-row:last-child{border-bottom:0;}
.origin-row span{width:74px;flex:none;color:var(--ink-3);}
.origin-row b{font-weight:650;color:var(--ink);}
.origin-goods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.origin-good{padding:0;border:0;background:none;text-align:left;}
.origin-good img{width:100%;aspect-ratio:1;border-radius:11px;object-fit:cover;display:block;}
.origin-good b{display:block;margin-top:5px;font-size:11px;font-weight:650;color:var(--ink);line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.origin-good small{display:block;margin-top:2px;font-size:11px;font-weight:750;color:var(--orange);}

/* 主题日价格：当天 85 折，团购价 9 折，日常价划线 */
.pdd-price em.pdd-deal{background:#fff3e0;color:#c2410c;border:1px solid #f7c99a;}
.pdd-price del.pdd-was{margin-left:0;font-size:10px;color:#a9b2ac;text-decoration:line-through;}
.pdd-week button em{font-style:normal;font-size:9px;font-weight:700;color:#b45309;white-space:nowrap;}
.dy-deal{margin-top:3px;font-size:10px;font-weight:700;color:#c2410c;}
.pdd-week button.on em{color:#8a4a06;}
.pdd-week-head small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* ---- 寄样：农户端 / 主播端共用 ---- */
.ship-row { padding: 10px; border-radius: 12px; background: #fbf7ec; border: 1px solid #efe4c8; }
.ship-row .row-between b { font-size: 12.5px; color: var(--ink); }
.ship-row .row-between small { font-size: 10.5px; color: var(--ink-4); }
.ship-no { margin-top: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; font-weight: 700; letter-spacing: .5px; color: #8a5410; display: flex; align-items: center; gap: 4px; }
.ship-no .icon-btn { width: 22px; height: 22px; }
.ship-rate { margin-top: 6px; font-size: 11.5px; font-weight: 700; color: #c9861f; letter-spacing: 1px; }
.ship-addr { padding: 10px 12px; border-radius: 12px; background: #f7f3e7; border: 1px dashed #e0d2b2; }
.ship-addr b { font-size: 12.5px; }
.rate-stars { display: flex; gap: 6px; }
.rate-stars button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #e9dcc0; background: #fffdf7; color: #d8cbb0; display: grid; place-items: center; }
.rate-stars button.on { color: #f2a93b; border-color: #f0cd83; background: #fff5dc; }
.rate-stars button svg { width: 18px; height: 18px; }
.ship-companies { flex-wrap: wrap; }
