/* ============================================================================
   元阳选品 · yy-plus.css  —  第 39–43 轮新增组件
   只使用 selection.css 里的设计变量，不覆盖原有类
   ========================================================================== */

/* ---------- 通用 ---------- */
.yy-muted { color: var(--ink-3); font-size: 12px; }
.yy-sec { margin: 18px 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.yy-sec::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: var(--green); }
.yy-h3 { font-size: 18px; margin: 10px 0 4px; color: var(--ink); }
.yy-note { margin: 12px 0 0; padding: 10px 12px; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: var(--r-sm); font-size: 11.5px; line-height: 1.7; color: var(--ink-3); }
.yy-ok { margin: 10px 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--green-50); color: var(--green-800); font-size: 12.5px; }
.yy-empty { padding: 26px 12px; text-align: center; color: var(--ink-4); font-size: 12.5px; background: var(--surface-2); border-radius: var(--r); }
.yy-inline { display: flex; gap: 8px; align-items: center; }
.yy-inline .m-input { flex: 1; min-width: 0; }
.yy-btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.yy-btn-row .btn { flex: 1; min-width: 120px; }
.yy-field { margin: 12px 0; }
.yy-field > label { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.yy-static { padding: 11px 12px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 13px; color: var(--ink-2); }

/* ---------- Hero ---------- */
.yy-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 18px; color: #fff; background: linear-gradient(120deg, #0f3d2a, #1f7a52 58%, #2f9c6c); }
.yy-hero::after { content: ''; position: absolute; right: -46px; top: -52px; width: 168px; height: 168px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.yy-hero h3 { position: relative; margin: 8px 0 6px; font-size: 20px; line-height: 1.32; }
.yy-hero p { position: relative; margin: 0; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.yy-hero .yy-muted { color: rgba(255, 255, 255, .68); }
.yy-hero-top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.yy-badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); font-size: 10.5px; letter-spacing: .04em; }
.yy-hero-member { background: linear-gradient(120deg, #33240d, #8a5a17 55%, #c9922f); }
.yy-hero-points { background: linear-gradient(120deg, #173a4a, #1f6b73 55%, #2f9c8a); }
.yy-hero-invite { background: linear-gradient(120deg, #3d1730, #8c2f52 58%, #c0506e); }
.yy-hero-wallet { background: linear-gradient(120deg, #142a3d, #24506b 58%, #3b7d86); }
.yy-hero-adopt { background: linear-gradient(120deg, #1d3320, #4c6b2f 55%, #9a8b34); }
.yy-hero-sub { background: linear-gradient(120deg, #2c1f16, #7d4a22 58%, #c07b34); }
.yy-hero-ticket { background: linear-gradient(120deg, #232a3c, #414f70 58%, #5f739e); }
.yy-hero h3 small { font-size: 12px; font-weight: 400; opacity: .75; }
.yy-hero code { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .16); font-size: 15px; }

/* ---------- 列表行 ---------- */
.yy-list { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.yy-list + .yy-list { margin-top: 10px; }
.yy-row { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border-bottom: 1px solid var(--line); }
.yy-row:last-child { border-bottom: 0; }
.yy-row .yy-ic { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--green-50); color: var(--green-700); flex: 0 0 26px; }
.yy-grow { flex: 1; min-width: 0; }
.yy-row .yy-grow b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.yy-row .yy-grow span { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-4); line-height: 1.5; }
.yy-row > em { font-style: normal; font-family: var(--num); font-size: 13.5px; color: var(--ink); }
.yy-row > em.up { color: var(--green-700); }
.yy-row > em.down { color: var(--red); }
.yy-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.yy-right em { font-style: normal; font-family: var(--num); font-size: 13px; }

/* ---------- 指标 ---------- */
.yy-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.yy-kpi { padding: 12px 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.yy-kpi b { display: block; font-family: var(--num); font-size: 18px; color: var(--ink); }
.yy-kpi span { font-size: 10.5px; color: var(--ink-4); }

/* ---------- 标签 ---------- */
.yy-tag { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; font-size: 10px; background: var(--surface-3); color: var(--ink-3); white-space: nowrap; }
.yy-tag.ok { background: var(--green-50); color: var(--green-800); }
.yy-tag.wait { background: var(--amber-50); color: var(--amber); }
.yy-tag.bad { background: var(--red-50); color: var(--red); }
.yy-tag.gold { background: #fdf3dd; color: #94651a; }
.yy-chiplist { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.yy-chip { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 11.5px; color: var(--ink-3); }
.yy-chip.on { border-color: var(--green); background: var(--green-50); color: var(--green-800); font-weight: 600; }

/* ---------- 会员 ---------- */
.yy-plans { display: flex; gap: 10px; margin: 14px 0; }
.yy-plan { position: relative; flex: 1; padding: 14px 12px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); text-align: left; }
.yy-plan.on { border-color: var(--amber); background: #fffdf5; }
.yy-plan b { display: block; font-size: 13px; color: var(--ink); }
.yy-plan strong { display: block; margin: 4px 0 2px; font-family: var(--num); font-size: 24px; color: #8a5a17; }
.yy-plan span { font-size: 11px; color: var(--ink-4); }
.yy-plan em { position: absolute; top: -9px; right: 10px; padding: 2px 7px; border-radius: 999px; background: #8a5a17; color: #fff; font-style: normal; font-size: 9.5px; }

/* ---------- 积分 ---------- */
.yy-redeem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.yy-redeem-item { padding: 12px 8px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.yy-redeem-item b { display: block; font-size: 11.5px; color: var(--ink); line-height: 1.4; }
.yy-redeem-item span { display: block; margin-top: 6px; font-family: var(--num); font-size: 12px; color: var(--green-700); }
.yy-redeem-item:disabled { opacity: .45; }

/* ---------- 支付 ---------- */
.yy-pay { text-align: center; }
.yy-amount { font-family: var(--num); font-size: 38px; font-weight: 700; color: var(--ink); margin: 4px 0 16px; }
.yy-payways { text-align: left; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.yy-payway { display: flex; align-items: center; gap: 9px; padding: 13px; border-bottom: 1px solid var(--line); font-size: 13px; }
.yy-payway:last-child { border-bottom: 0; }
.yy-payway em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--green-700); background: var(--green-50); padding: 2px 6px; border-radius: 999px; }

/* ---------- 订单费用 ---------- */
.yy-fee-hero { text-align: center; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(120deg, #0f3d2a, #1f7a52); color: #fff; margin-bottom: 12px; }
.yy-fee-hero span { font-size: 11px; opacity: .75; letter-spacing: .08em; }
.yy-fee-hero b { display: block; margin-top: 4px; font-family: var(--num); font-size: 32px; }
.yy-flow .yy-ic { background: #fdf4e3; color: #a9741b; }

/* ---------- 认养 ---------- */
.yy-cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
.yy-plot { display: flex; gap: 12px; padding: 10px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-align: left; }
.yy-plot img { width: 96px; height: 96px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 96px; }
.yy-plot-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.yy-plot-body b { font-size: 14px; color: var(--ink); }
.yy-plot-body span { font-size: 11px; color: var(--ink-4); }
.yy-plot-body em { font-style: normal; font-family: var(--num); font-size: 12px; color: var(--green-800); }
.yy-plot-cover { width: 100%; height: 160px; object-fit: cover; border-radius: var(--r-lg); display: block; }
.yy-story { font-size: 12.5px; line-height: 1.85; color: var(--ink-2); background: var(--surface-2); padding: 12px; border-radius: var(--r); }

/* ---------- 时间轴 ---------- */
.yy-tl { margin: 8px 0 4px; padding-left: 4px; }
.yy-tl-item { position: relative; padding: 0 0 16px 20px; border-left: 1.5px solid var(--line-2); margin-left: 5px; }
.yy-tl-item:last-child { border-left-color: transparent; padding-bottom: 2px; }
.yy-tl-dot { position: absolute; left: -5px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
.yy-tl-item b { font-size: 12.5px; color: var(--ink); }
.yy-tl-item span { margin-left: 8px; font-size: 10.5px; color: var(--ink-4); }
.yy-tl-item p { margin: 4px 0 0; font-size: 12px; line-height: 1.7; color: var(--ink-3); }

/* ---------- 认养证书 ---------- */
.yy-cert { position: relative; overflow: hidden; padding: 22px 18px; border-radius: var(--r-lg); color: #4a3418; background: linear-gradient(135deg, #fdf6e4, #f4e6c4); border: 1px solid #e6d3a8; text-align: center; }
.yy-cert::before, .yy-cert::after { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(120, 90, 40, .18); }
.yy-cert::before { left: -50px; top: -50px; }
.yy-cert::after { right: -50px; bottom: -50px; }
.yy-cert span { font-size: 10.5px; letter-spacing: .3em; opacity: .7; }
.yy-cert h3 { margin: 12px 0 4px; font-size: 21px; }
.yy-cert p { margin: 0; font-size: 12px; opacity: .8; }
.yy-cert b { display: block; margin: 14px 0 6px; font-family: var(--num); font-size: 15px; letter-spacing: .06em; }
.yy-cert em { font-style: normal; font-size: 11px; opacity: .7; }

/* ---------- 订阅 ---------- */
.yy-sub-plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; background: var(--surface); }
.yy-sub-head { display: flex; align-items: center; justify-content: space-between; }
.yy-sub-head b { font-size: 15px; }
.yy-sub-head em { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 999px; background: var(--orange-50); color: var(--orange); }
.yy-sub-plan strong { display: block; margin: 8px 0 4px; font-family: var(--num); font-size: 26px; color: var(--ink); }
.yy-sub-plan strong small { font-size: 11px; color: var(--ink-4); font-weight: 400; }
.yy-sub-plan p { margin: 4px 0 8px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.yy-sub-plan ul { margin: 0 0 12px; padding-left: 16px; font-size: 11.5px; color: var(--ink-2); line-height: 1.9; }
.yy-sub-mine { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 12px 10px; margin-bottom: 10px; }
.yy-boxes { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.yy-sub-mine .yy-btn-row { margin: 6px 0 0; }

/* ---------- 工单 ---------- */
.yy-ticket-msg { margin: 10px 0; padding: 12px; border-radius: var(--r); background: var(--surface-2); }
.yy-ticket-msg b { font-size: 11px; color: var(--green-800); }
.yy-ticket-msg p { margin: 6px 0 4px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.yy-ticket-msg span { font-size: 10.5px; color: var(--ink-4); }
.yy-ticket-msg.staff { background: var(--green-50); }
.yy-ticket-img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; margin-right: 6px; }

/* ---------- 问答 ---------- */
.yy-qa { padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.yy-qa-q, .yy-qa-a { display: flex; gap: 8px; align-items: flex-start; }
.yy-qa-q b, .yy-qa-a b { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 5px; background: var(--green); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.yy-qa-a b { background: var(--surface-3); color: var(--ink-3); }
.yy-qa-q p, .yy-qa-a p { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--ink-2); }
.yy-qa-a { margin-top: 8px; }
.yy-qa-a span { display: block; margin-top: 2px; font-size: 10px; color: var(--ink-4); }

/* ---------- 评价 ---------- */
.yy-stars { display: flex; gap: 6px; margin: 6px 0 12px; }
.yy-stars button { font-size: 28px; line-height: 1; color: var(--line-2); background: none; border: 0; padding: 0; }
.yy-stars button.on { color: #f0a91c; }
.yy-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.yy-thumb { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; }
.yy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yy-thumb i { position: absolute; right: 0; top: 0; width: 18px; height: 18px; background: rgba(0, 0, 0, .55); color: #fff; font-style: normal; font-size: 12px; display: flex; align-items: center; justify-content: center; border-bottom-left-radius: 6px; }
.yy-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); margin: 12px 0; }

/* ---------- 分享 ---------- */
.yy-share-card { padding: 18px; border-radius: var(--r-lg); background: linear-gradient(120deg, #0f2e22, #1c4a34 60%, #8a4b1f); color: #fff; }
.yy-share-card b { display: block; font-size: 18px; line-height: 1.4; }
.yy-share-card p { margin: 8px 0 12px; font-size: 12px; line-height: 1.7; opacity: .82; }
.yy-share-card em { font-style: normal; font-size: 10px; letter-spacing: .1em; opacity: .65; }
.yy-poster { margin-top: 12px; }
.yy-poster img { width: 100%; border-radius: var(--r); display: block; margin-bottom: 8px; }

/* ---------- 页面内嵌区块（农户端/后台） ---------- */
.yy-page { display: flex; flex-direction: column; gap: 14px; }
.yy-page .yy-hero h3 { font-size: 19px; }
.yy-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.yy-panel { padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.yy-panel > h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; justify-content: space-between; }
.yy-panel > h4 span { font-size: 10.5px; color: var(--ink-4); font-weight: 400; }
.yy-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.yy-table th { text-align: left; padding: 8px 6px; color: var(--ink-4); font-weight: 500; border-bottom: 1px solid var(--line); white-space: nowrap; }
.yy-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.yy-table tr:last-child td { border-bottom: 0; }
.yy-table .num { font-family: var(--num); white-space: nowrap; }
.yy-table .actions { white-space: nowrap; }
.yy-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 6px 0 2px; }
.yy-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; height: 100%; }
.yy-bar i { display: block; width: 100%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--green-500), var(--green-700)); min-height: 2px; }
.yy-bar span { font-size: 9.5px; color: var(--ink-4); }
.yy-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 380px) {
  .yy-kpis { grid-template-columns: repeat(2, 1fr); }
  .yy-redeem { grid-template-columns: 1fr; }
}
/* ---------- 商城排序 / 筛选 ---------- */
.yy-sortbar { display: flex; align-items: center; gap: 4px; padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 52px; z-index: 6; }
.yy-sortbar button { flex: 1; border: 0; background: none; font-size: 12.5px; color: var(--ink-3); padding: 7px 2px; border-radius: 999px; white-space: nowrap; }
.yy-sortbar button.on { color: var(--green-800); font-weight: 700; background: var(--green-50); }
.yy-filter-btn { flex: 0 0 auto !important; display: inline-flex; align-items: center; gap: 4px; padding: 7px 10px !important; border: 1px solid var(--line-2) !important; }
.yy-filter-btn.on { border-color: var(--green) !important; color: var(--green-800); }
.yy-filter-body { padding: 4px 0 8px; }
.yy-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.yy-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 12px; }
.yy-chip.on { border-color: var(--green); background: var(--green-50); color: var(--green-800); font-weight: 700; }
.yy-switch { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 4px; font-size: 13px; color: var(--ink-2); }
.yy-switch input { width: 42px; height: 24px; accent-color: var(--green); }
.yy-switch-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.yy-switch-inline input { accent-color: var(--green); }

/* ---------- 详情：缩略图 / 礼盒 / 承诺 / 数量 ---------- */
.yy-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.yy-thumb { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); }
.yy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yy-thumb button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.yy-bundle { margin: 10px 0; padding: 12px; border-radius: var(--r); background: var(--surface-2); border: 1px dashed var(--line-2); }
.yy-bundle > b { display: block; font-size: 13px; margin-bottom: 8px; color: var(--ink); }
.yy-bundle-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); padding: 4px 0; }
.yy-promise { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; font-size: 11.5px; color: var(--ink-3); }
.yy-promise span { display: inline-flex; align-items: center; gap: 4px; }
.yy-qty { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 13px; color: var(--ink-2); }
.yy-qty-row { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.yy-qty-row button { width: 32px; height: 32px; border: 0; background: var(--surface); font-size: 16px; color: var(--ink-2); }
.yy-qty-row b { min-width: 38px; text-align: center; font-size: 14px; }
.yy-total-line { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 4px; font-size: 13px; }
.yy-total-line b { font-size: 22px; color: #e0451c; }
.yy-qa-band { margin: 12px 0; padding: 12px; border-radius: var(--r); background: var(--surface-2); }
.yy-qa-band .row-between { font-size: 13px; }
.yy-inline-link { border: 0; background: none; color: var(--green-800); font-size: 12px; padding: 0; }

/* ---------- 结算：运费 / 发票 / 备注 / 支付 ---------- */
.yy-ck-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.yy-ck-row > span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.yy-ck-row > b { font-weight: 600; color: var(--ink); text-align: right; }
.yy-ck-select { max-width: 210px; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 8px; font-size: 12px; background: var(--surface); }
.yy-ck-invoice { padding: 4px 0 12px; }
.yy-ck-remark { padding: 10px 0 2px; }
.yy-ck-remark label { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.yy-ck-remark textarea { width: 100%; min-height: 62px; resize: vertical; }
.yy-pay-methods { margin: 12px 0 4px; }
.yy-pay-methods > b { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.yy-pay-methods > div { display: flex; gap: 8px; }
.yy-pay-method { flex: 1; padding: 9px 6px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 12px; color: var(--ink-2); }
.yy-pay-method.on { border-color: var(--green); background: var(--green-50); color: var(--green-800); font-weight: 700; }
.yy-fee-box { margin-top: 14px; padding: 12px; border-radius: var(--r); background: var(--surface-2); font-size: 12.5px; color: var(--ink-3); }
.yy-fee-box > div { display: flex; justify-content: space-between; padding: 4px 0; }
.yy-fee-box b { color: var(--ink); }
.yy-fee-box .ck-on { color: #c2410c; }
.yy-fee-total { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: 14px; }
.yy-fee-total b { font-size: 20px; color: #e0451c; }

/* ---------- 拼团进度 ---------- */
.yy-group-card { margin-bottom: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.yy-group-box { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.yy-group-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--ink-2); }
.yy-group-head small { color: var(--ink-4); font-size: 11px; }
.yy-group-members { display: flex; gap: 6px; margin-top: 10px; }
.yy-group-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-800); font-size: 13px; font-weight: 700; border: 1px solid rgba(31, 122, 82, .18); }
.yy-group-avatar.empty { background: var(--surface-2); color: var(--ink-4); border-style: dashed; }

/* ---------- 慢直播 / 直播券 / 购物车 ---------- */
.yy-slow-band { display: flex; gap: 10px; align-items: flex-start; margin: 10px 12px; padding: 12px; border-radius: var(--r); background: linear-gradient(120deg, #eef6ef, #f7fbf5); border: 1px solid rgba(31, 122, 82, .16); }
.yy-slow-band > div { flex: 1; min-width: 0; }
.yy-slow-band b { font-size: 13px; color: var(--green-800); }
.yy-slow-band p { margin: 4px 0 3px; font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.yy-slow-band small { font-size: 10.5px; color: var(--ink-4); line-height: 1.5; display: block; }
.yy-live-coupon { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 12px; border-radius: 999px; border: 1px dashed #e0a23a; background: #fff8ec; color: #a35c0a; font-size: 12px; }
.yy-cart-qty { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; }
.yy-cart-qty button { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; line-height: 1; }
.yy-cart-qty b { min-width: 18px; text-align: center; font-size: 13px; }
.yy-cart-sum { margin: 12px 0; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); font-size: 12.5px; color: var(--ink-3); }
.yy-cart-sum .row-between { padding: 4px 0; }
.yy-cart-sum b { color: var(--ink); }
.cart-del { border: 0; background: none; color: var(--ink-4); padding: 4px; }
.slow-frame { transition: opacity .22s ease; }

/* ËÑË÷ÈȴÊÓë×î½üËÑË÷ */
.yy-hot { padding: 10px 2px 2px; }
.yy-hot-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.yy-hot-row > b { font-size: 11px; color: var(--ink-4); font-weight: 600; margin-right: 2px; }
.yy-inline-link { border: 0; background: none; color: var(--green-700); font-size: 11px; padding: 4px; }

/* ---------- 详情图片尺寸修正（商城 / 团购共用） ---------- */
.guest-detail-img { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 14px; background: var(--surface-2); }
.yy-thumbs > button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface-2); cursor: pointer; }
.yy-thumbs > button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yy-thumbs > button.on { border-color: var(--green); }
.yy-thumbs > img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.yy-qty-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); margin: 12px 0; font-size: 13px; }
.yy-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; flex: none; }
.yy-qty button { width: 34px; height: 32px; border: 0; background: var(--surface); color: var(--ink-2); font-size: 16px; line-height: 1; cursor: pointer; }
.yy-qty b { min-width: 38px; text-align: center; font-size: 14px; }

/* ---------- 搜索框：热门/最近只在聚焦时以浮层出现 ---------- */
.pdd-search-wrap { flex: 1; min-width: 0; position: relative; }
.pdd-search-wrap .yy-hot { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; padding: 12px 14px 6px; background: var(--surface, #fff); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 14px 34px rgba(31, 51, 42, .16); max-height: 58vh; overflow: auto; }
.pdd-search-wrap:focus-within .yy-hot { display: block; }

/* ---------- 搜索：图标可点，热词浮层更紧凑 ---------- */
.pdd-search-ico { display: flex; align-items: center; justify-content: center; width: 22px; height: 28px; padding: 0; margin-right: 2px; border: 0; background: none; color: var(--ink-3); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pdd-search-ico:active { opacity: .55; }
.pdd-search-wrap .yy-hot { padding: 9px 11px 3px; max-height: 44vh; }
.pdd-search-wrap .yy-hot-row { gap: 4px; margin-bottom: 6px; }
.pdd-search-wrap .yy-hot-row > b { font-size: 10.5px; }
.pdd-search-wrap .yy-chip { font-size: 11px; line-height: 1.5; padding: 2px 7px; border-radius: 8px; }
.yy-hot-compact .yy-inline-link { font-size: 10.5px; }
.yy-empty { padding: 30px 18px 26px; }
.yy-empty h3 { font-size: 15px; margin: 8px 0 4px; }
.yy-empty p { font-size: 12px; color: var(--ink-4); margin: 0; line-height: 1.65; }
.yy-empty .yy-empty-hot { justify-content: center; margin: 14px 0 10px; gap: 6px; }
.yy-empty .yy-empty-clear { border-color: var(--line-2); color: var(--ink-2); }

/* ---------- 拼团占位头像：抵消全局 .empty 的内边距，保持正圆 ---------- */
.yy-group-avatar { padding: 0; box-sizing: border-box; flex: 0 0 34px; line-height: 1; }
.yy-group-avatar.empty { padding: 0; }
/* ---------- 文化/风物轮播允许横向手势，纵向仍交给页面滚动 ---------- */
.ry-roll, .ry-culture { touch-action: pan-y; -webkit-user-select: none; user-select: none; }

/* ---------- 轮播图禁止原生图片拖拽，否则鼠标横向拖动会被浏览器当成拖图 ---------- */
.mall-board img, .ry-culture img, .ry-roll img { -webkit-user-drag: none; user-drag: none; }

/* 正在拼的团（可加入） */
.yy-group-join{display:flex;align-items:center;gap:10px;padding:10px;border-radius:14px;background:#fff;border:1px solid rgba(0,0,0,.06);margin-bottom:10px}
.yy-group-join>img{width:58px;height:58px;border-radius:10px;object-fit:cover;flex:0 0 58px}
.yy-group-join .grow{min-width:0}
.yy-join-price{color:#e0451c;font-weight:700;font-size:15px;flex:0 0 auto}
.yy-join-bar{height:5px;border-radius:3px;background:#f1e7dc;margin-top:8px;overflow:hidden}
.yy-join-bar>i{display:block;height:100%;background:linear-gradient(90deg,#f59e0b,#e0451c);border-radius:3px}.promo-banner.green{background:linear-gradient(135deg,#5fae7a,#2f7a4c)}
.promo-item .board-no{flex:0 0 22px;text-align:center;font-size:15px;font-weight:800;color:#c9a227}
.promo-item .cc-state{flex:0 0 auto;font-size:10.5px;color:#8a6a2f;background:#fdf4df;border-radius:999px;padding:3px 8px}


/* 农业推荐 / 农资采购 */
.m-page.no-tab.has-cartbar{padding-bottom:86px}
.agri-hero{display:flex;gap:10px;padding:13px 14px;border-radius:16px;background:linear-gradient(135deg,#2f7a4c,#5fae7a);color:#fff}
.agri-hero svg{flex:0 0 auto;margin-top:2px}
.agri-hero b{display:block;font-size:14px;letter-spacing:-.01em}
.agri-hero small{display:block;font-size:11px;line-height:1.6;opacity:.9;margin-top:3px}
.agri-segs{display:flex;gap:3px;background:#f2ece2;border-radius:12px;padding:3px;margin:12px 0 4px}
.agri-seg{flex:1;height:33px;border:0;background:transparent;border-radius:9px;font-size:12.5px;font-weight:650;color:#8a7a5f}
.agri-seg.on{background:#fff;color:#2f5d43;box-shadow:0 1px 4px rgba(90,70,40,.1)}
.agri-targets{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:#6b5a3e;margin:12px 0 6px;line-height:1.7}
.agri-targets b{font-size:13.5px;color:#26332b;margin-right:2px}
.agri-tag{display:inline-block;font-size:10.5px;padding:2px 7px;border-radius:999px;background:#f3efe7;color:#8a7a5f;border:1px solid transparent}
.agri-tag.on{background:#eaf5ee;color:#2f7a4c;border-color:#cfe8d8}
.agri-card{background:#fff;border:1px solid rgba(0,0,0,.055);border-radius:16px;padding:12px 13px;margin-top:10px;box-shadow:0 1px 3px rgba(80,60,30,.04)}
.agri-card-top{display:flex;align-items:flex-start;gap:8px}
.agri-card-top b{flex:1;font-size:13.5px;line-height:1.45;color:#26332b}
.agri-type{flex:0 0 auto;font-size:10px;color:#2f7a4c;background:#eaf5ee;border-radius:6px;padding:2px 6px;margin-top:1px}
.agri-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}
.agri-meta{font-size:10.5px;color:#9a8c6b;line-height:1.55;margin-top:5px}
.agri-card-foot{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:9px;border-top:1px dashed #f0e8da}
.agri-price{flex:1;color:#e0451c;font-weight:800;font-size:18px;letter-spacing:-.02em}
.agri-price small{font-size:10.5px;font-weight:500;color:#a2937a;margin-left:2px}
.agri-qty{display:flex;align-items:center;gap:2px;flex:0 0 auto}
.agri-qty button{width:29px;height:29px;border:1px solid #e8dfd1;background:#fdfaf4;border-radius:8px;font-size:15px;color:#5c4b33;line-height:1}
.agri-qty b{min-width:30px;text-align:center;font-size:13px}
.agri-cartbar{position:fixed;left:12px;right:12px;bottom:12px;z-index:30;display:flex;align-items:center;gap:8px;background:#fff;border-radius:16px;padding:10px 12px;box-shadow:0 8px 26px rgba(60,45,20,.18);border:1px solid rgba(0,0,0,.05)}
.agri-cartbar b{display:block;font-size:16px;color:#e0451c;letter-spacing:-.02em}
.agri-cartbar small{display:block;font-size:10.5px;color:#a2937a;margin-top:1px}
.agri-order{background:#fff;border:1px solid rgba(0,0,0,.055);border-radius:16px;padding:12px 13px;margin-top:10px}
.agri-order-items{font-size:11.5px;color:#5c4b33;line-height:1.6;margin-top:6px}
.agri-order-foot{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:9px;border-top:1px dashed #f0e8da}
.agri-order-foot b{flex:1;color:#e0451c;font-size:16px}
.agri-st{flex:0 0 auto;font-size:10.5px;border-radius:999px;padding:3px 8px;background:#f2ece2;color:#8a7a5f}
.agri-st.ship{background:#fdf4df;color:#946a17}
.agri-st.done{background:#eaf5ee;color:#2f7a4c}
.agri-st.cancelled{background:#f3f1ee;color:#9a9387}
.agri-addr{background:#fff;border:1px solid rgba(0,0,0,.055);border-radius:16px;padding:12px 13px;margin-bottom:10px}
.agri-addr b{font-size:13px}
.agri-addr-act{display:flex;justify-content:flex-end;gap:2px;margin-top:8px;padding-top:7px;border-top:1px dashed #f0e8da}
.agri-empty{text-align:center;padding:44px 18px;color:#a2937a}
.agri-empty svg{opacity:.5}
.agri-empty b{display:block;color:#5c4b33;font-size:14px;margin-top:8px}
.agri-empty p{font-size:11.5px;line-height:1.7;margin:5px 12px 0}
.agri-co-items{background:#fbf7f0;border-radius:12px;padding:10px 12px;font-size:12px;line-height:1.9}
.agri-co-total{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:10px;border-top:1px dashed #e8dfd1;font-size:12.5px;color:#6b5a3e}
.agri-co-total b{font-size:19px;color:#e0451c;letter-spacing:-.02em}
.agri-check{display:flex;align-items:center;gap:7px;font-size:12px;color:#6b5a3e;margin-top:6px}