/* 首页高保真 — 对齐 CRMEB 小程序首页风格，375 宽 */
:root {
  --home-orange: #ff4d00;
  --home-orange-2: #ff6a00;
  --home-red: #e93323;
  --home-bg: #f5f5f5;
  --home-ink: #282828;
  --home-muted: #999;
  --home-line: #eee;
}

.home-page {
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  min-height: 100%;
  padding-bottom: 8px;
}

/* 状态栏 + 搜索行：吸顶固定，不随内容滚走 */
.home-fixed-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #ff6034 0%, #ff7340 100%);
}

.home-hero-wrap {
  background: linear-gradient(180deg, #ff7340 0%, #ff8a45 38%, #f5f5f5 88%);
  padding-bottom: 4px;
}

.home-status {
  height: 44px;
  padding: 14px 16px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", "PingFang SC", sans-serif;
}
.home-status .ios-time { line-height: 1; font-size: 16px; font-weight: 600; }
.home-status .ios-trailing {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 12px;
}
.home-status .sb-signal,
.home-status .sb-wifi {
  fill: currentColor;
  display: block;
}
.home-status .sb-battery {
  position: relative;
  width: 25px;
  height: 12px;
  border-radius: 3.5px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-status .sb-battery::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--lv, 100%);
  background: #fff;
}
.home-status .sb-battery em {
  position: relative;
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  color: #111;
  letter-spacing: -0.2px;
}
.home-status .ios-trailing::after {
  content: "";
  width: 1.5px;
  height: 4.5px;
  margin-left: -4.5px;
  border-radius: 0 1px 1px 0;
  background: rgba(255, 255, 255, 0.5);
}

.home-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 10px 0 12px;
  box-sizing: border-box;
}
.home-logo {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  font-style: italic;
  font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", sans-serif;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 32px;
}
.home-search {
  flex: 1;
  min-width: 0;
  height: 32px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #b0b0b0;
  font-size: 13px;
  border: none;
  cursor: pointer;
  text-align: left;
  margin-right: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.home-search .ico,
.home-search .hi {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: .45;
  display: inline-flex;
  color: #666;
}

/* 首页消息铃铛：搜索与胶囊之间 */
.home-msg {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.home-msg svg {
  width: 18px;
  height: 18px;
}
.home-msg-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4f;
  border: 1.5px solid #c9a25b;
  box-sizing: border-box;
  pointer-events: none;
}
.home-msg-dot[hidden] {
  display: none !important;
}

/* 胶囊纳入搜索行，与 ARA / 搜索水平居中对齐 */
.home-top .home-capsule,
.home-top .mp-capsule {
  position: static;
  top: auto;
  right: auto;
  flex-shrink: 0;
  width: 87px;
  height: 32px;
  margin: 0;
  z-index: 1;
}

.home-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 6px 8px 12px;
  min-height: 36px;
}
.home-tabs {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
}
.home-tabs::-webkit-scrollbar { display: none; }
.home-tabs button {
  border: none;
  background: transparent;
  color: inherit;
  white-space: nowrap;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.home-tabs button.on {
  color: #fff;
  font-weight: 700;
}
.home-tabs button.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
}
.home-tabs-menu {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.home-tabs-menu::before { content: none; }
.home-tabs-menu .hi {
  width: 18px;
  height: 18px;
  display: block;
}

.home-hero-wrap.is-bare { padding-bottom: 10px; }
.home-banner {
  margin: 0 12px;
  height: 156px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: 0 4px 14px rgba(255, 80, 30, .12);
}
.home-banner[hidden] { display: none; }
.home-banner-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.home-banner-track::-webkit-scrollbar { display: none; }
.home-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 0;
  padding: 0;
  margin: 0;
  background: #eee center/cover no-repeat;
  cursor: pointer;
  user-select: none;
}
.home-banner-slide.is-plain { cursor: default; }
.home-banner .copy .en {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
  line-height: 1.15;
}
.home-banner .copy .en.sub {
  font-size: 13px;
  font-weight: 700;
  opacity: .95;
  margin-top: 2px;
}
.home-banner .copy h3 {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.home-banner .dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.32);
}
.home-banner .dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  display: block;
}
.home-banner .dots i.on {
  width: 12px;
  border-radius: 3px;
  background: #fff;
}

.home-icons {
  margin: 10px 12px 0;
  padding: 16px 2px 12px;
  background: #fff;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}
/* 已闭环入口：4×2，与小程序橙色体系一致 */
.home-icons.home-icons-v2 {
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 6px 14px;
  row-gap: 16px;
  column-gap: 0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(255, 77, 0, .06);
}
.home-icons.home-icons-v2 button {
  font-size: 12px;
  color: #333;
  font-weight: 500;
}
.home-icons.home-icons-v2 .dot {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.home-icons button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  color: #333;
  padding: 0;
  line-height: 1.25;
}
.home-icons .dot {
  width: 46px;
  height: 46px;
  margin: 0 auto 7px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: none;
}
.home-icons .dot .hi {
  width: 22px;
  height: 22px;
  fill: none;
  filter: none;
}
.home-icons .dot .hi path {
  fill: none;
  stroke: currentColor;
}
.home-icons .c1 { background: linear-gradient(160deg, #ffd280 0%, #ff9a1a 45%, #ff6a00 100%); }
.home-icons .c2 { background: linear-gradient(160deg, #e0b3ff 0%, #b56bff 45%, #7c3aed 100%); }
.home-icons .c3 { background: linear-gradient(160deg, #ffb199 0%, #ff6b4a 45%, #e53935 100%); }
.home-icons .c4 { background: linear-gradient(160deg, #9fd4ff 0%, #4aa8ff 45%, #1e88e5 100%); }
.home-icons .c5 { background: linear-gradient(160deg, #ffb6d0 0%, #ff6fa0 45%, #ec407a 100%); }
.home-icons .c6 { background: linear-gradient(160deg, #d2c0ff 0%, #a78bfa 45%, #7e57c2 100%); }
.home-icons .c7 { background: linear-gradient(160deg, #ff9a9a 0%, #ff5c5c 45%, #c62828 100%); }
.home-icons .c8 { background: linear-gradient(160deg, #ffe082 0%, #ffca28 45%, #ffa000 100%); }
.home-icons .c9 { background: linear-gradient(160deg, #a5d6a7 0%, #66bb6a 45%, #43a047 100%); }
.home-icons .c10 { background: linear-gradient(160deg, #ffab91 0%, #ff7043 45%, #ff5252 100%); }
.home-icons .c11 { background: linear-gradient(160deg, #ffb38a 0%, #ff6a2a 48%, #e8450a 100%); }

.home-promo {
  margin: 10px 12px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.promo-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.promo-card .hd {
  padding: 8px 10px 6px;
  color: #fff;
  background: linear-gradient(90deg, #ff3b30, #ff6a3c);
}
.promo-card .hd.alt {
  background: linear-gradient(90deg, #ff2d55, #ff5e3a);
}
.promo-card .hd.pink {
  background: linear-gradient(90deg, #ff1744, #ff6e40);
}
.promo-card .hd.dark {
  background: linear-gradient(90deg, #1a1a1a, #444);
}
.promo-card .hd b { font-size: 13px; font-weight: 700; }
.promo-card .hd span {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  background: rgba(255,255,255,.95);
  color: #ff3b30;
  border-radius: 8px;
  padding: 1px 6px;
  vertical-align: middle;
}
.promo-card .hd.dark span { color: #333; }
.promo-card .bd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
}
.promo-card .mini {
  text-align: center;
}
.promo-card .pic {
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(145deg, #eee, #ddd);
  margin-bottom: 4px;
}
.promo-card .mini em {
  font-style: normal;
  font-size: 10px;
  color: #666;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-deals {
  margin: 12px 12px 0;
  background: #fff;
  border-radius: 12px;
  padding: 12px 0 12px;
}
.home-deals[hidden] { display: none; }
.home-act-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px 10px;
}
.home-groups .home-act-hd { padding: 0 0 8px; }
.home-act-hd b {
  position: relative;
  padding-left: 8px;
  color: #e93323;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.home-act-hd b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 2px;
  background: #e93323;
}
.home-act-hd span {
  flex: 1;
  min-width: 0;
  color: #999;
  font-size: 12px;
}
.home-act-hd button {
  border: 0;
  background: transparent;
  color: #666;
  font-size: 12px;
  padding: 0;
  cursor: pointer;
}
.home-deals-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  cursor: grab;
  user-select: none;
}
.home-deals-row::-webkit-scrollbar { display: none; }
.home-deal {
  flex: 0 0 108px;
  width: 108px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.home-deal .pic {
  position: relative;
  height: auto;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3 center/cover no-repeat;
}
.home-deal .name {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #282828;
}
.home-deal .spec {
  position: absolute;
  left: 6px;
  top: 6px;
  max-width: calc(100% - 12px);
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-deal .txt { min-width: 0; }
.home-deal .prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 2px;
}
.home-deal .prices strong {
  color: #e93323;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}
.home-deal .meta { margin-top: 2px; color: #8c8c8c; font-size: 11px; line-height: 1.4; }
.home-deal .meta b { color: #e93323; font-weight: 600; }
.home-deal .prices small {
  margin-right: 2px;
  font-size: 10px;
  font-weight: 500;
}
.home-deal .prices s {
  color: #b5b0aa;
  font-size: 11px;
  line-height: 1.3;
}
.home-deals-row.is-1,
.home-deals-row.is-2 {
  overflow: hidden;
  cursor: default;
  touch-action: auto;
}
.home-deals-row.is-1 .home-deal {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-deals-row.is-1 .home-deal .pic {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  aspect-ratio: auto;
}
.home-deals-row.is-1 .home-deal .txt { flex: 1; min-width: 0; }
.home-deals-row.is-1 .home-deal .name {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 0;
  font-size: 14px;
}
.home-deals-row.is-2 .home-deal,
.home-deals-row.is-3 .home-deal {
  flex: 1 1 0;
  width: 0;
}
.home-deals-row.is-3 {
  overflow: hidden;
  cursor: default;
  touch-action: auto;
}

.home-groups {
  margin: 12px 12px 0;
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px 4px;
}
.home-groups[hidden] { display: none; }
.gp-home-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-top: 0.5px solid #f0f0f0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.gp-home-row .pic {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  flex: 0 0 72px;
}
.gp-home-row .mid { flex: 1; min-width: 0; }
.gp-home-row .mid b {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 600;
}
.gp-home-row .spec {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #8c8c8c;
  font-size: 11px;
}
.gp-home-row .origin {
  display: block;
  margin-top: 4px;
  color: #b5b0aa;
  font-size: 12px;
  line-height: 1.2;
}
.gp-home-row .payline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1px;
}
.gp-home-row .price small { margin-right: 1px; font-size: 11px; font-weight: 600; }
.gp-home-row .price {
  color: #e93323;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}
.gp-home-row .go {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  height: 28px;
  box-sizing: border-box;
  border: 1px solid #e93323;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: #e93323;
}
.gp-home-row .go i,
.gp-home-row .go em {
  display: flex;
  align-items: center;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.gp-home-row .go i { padding: 0 8px; font-size: 11px; }
.gp-home-row .go em {
  padding: 0 10px;
  font-size: 12px;
  box-shadow: inset 1px 0 0 #e93323;
}

.home-sec {
  margin: 12px 12px 0;
}
.home-sec-hd {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 2px 10px;
}
.home-sec-hd b {
  font-size: 16px;
  font-weight: 700;
  color: var(--home-ink);
  letter-spacing: .5px;
}
.home-sec-hd span {
  font-size: 11px;
  color: var(--home-muted);
}
.home-sec .goods-grid {
  padding: 0 0 12px;
}

.home-checkin {
  margin: 10px 12px 0;
  background: linear-gradient(105deg, #fff8f2 0%, #fff 55%);
  border: 1.5px solid #ffc9a8;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(255, 106, 0, .06);
}
.home-checkin .gift {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ff8fab, #ff4d6d);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
}
.home-checkin .gift .hi {
  width: 22px;
  height: 22px;
}
.home-checkin .txt { flex: 1; min-width: 0; }
.home-checkin .txt b { font-size: 14px; }
.home-checkin .txt b i {
  font-style: normal;
  color: #e6a100;
  margin-left: 2px;
}
.home-checkin .txt p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #999;
}
.home-checkin .btn {
  border: none;
  background: linear-gradient(90deg, #ff6a00, #ff4d00);
  color: #fff;
  border-radius: 16px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.home-block {
  margin: 8px 12px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.home-block .bh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  gap: 8px;
}
.home-block .bh-left {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-width: 0;
}
.home-block .bh.flash {
  background: linear-gradient(90deg, #ff3b30, #ff7a00);
  color: #fff;
}
.home-block .bh.bargain {
  background: linear-gradient(90deg, #ff6a00, #ff9500);
  color: #fff;
}
.home-block .bh.group {
  background: linear-gradient(90deg, #e93323, #ff5a36);
  color: #fff;
}
.home-block .bh h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.home-block .bh .sub {
  font-size: 11px;
  opacity: .92;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.home-block .bh .sub .hi {
  width: 12px;
  height: 12px;
  display: inline-block;
}
.home-block .bh .more {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 12px;
  opacity: .9;
  cursor: pointer;
  flex-shrink: 0;
}

.flash-row {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}
.flash-item {
  width: 100px;
  flex-shrink: 0;
}
.flash-item .pic {
  height: 100px;
  border-radius: 8px;
  background: linear-gradient(145deg, #e8e0d8, #cbb8a5);
  margin-bottom: 6px;
}
.flash-item .name {
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.flash-item .price {
  color: var(--home-red);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.flash-item .old {
  color: #bbb;
  font-size: 10px;
  text-decoration: line-through;
}
.flash-item .grab {
  margin-top: 6px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: var(--home-orange);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.flash-item .grab .hi {
  width: 14px;
  height: 14px;
}

.bargain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
}
.bargain-card .pic {
  height: 120px;
  border-radius: 8px;
  background: linear-gradient(145deg, #dfe6ee, #aeb8c4);
  margin-bottom: 6px;
}
.bargain-card .pic.chair {
  background: linear-gradient(145deg, #c4a484, #8b5e3c);
}
.bargain-card .name {
  font-size: 12px;
  height: 2.6em;
  overflow: hidden;
  line-height: 1.3;
}
.bargain-card .price {
  color: var(--home-red);
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}
.bargain-card .old {
  color: #bbb;
  font-size: 11px;
  text-decoration: line-through;
  margin-left: 4px;
}
.bargain-card .join {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: none;
  background: linear-gradient(90deg, #ff6a00, #ff4d00);
  color: #fff;
  border-radius: 16px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.group-list { padding: 0 10px 10px; }
.group-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
  align-items: stretch;
}
.group-item:last-child { border-bottom: none; }
.group-item .pic {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: linear-gradient(145deg, #e8d5c4, #b8956e);
  flex-shrink: 0;
}
.group-item .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.group-item .name {
  font-size: 13px;
  line-height: 1.35;
  height: 2.7em;
  overflow: hidden;
}
.group-item .tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--home-red);
  border: 1px solid #ffc9c0;
  border-radius: 3px;
  padding: 1px 4px;
  width: fit-content;
}
.group-item .foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.group-item .price {
  color: var(--home-red);
  font-size: 15px;
  font-weight: 700;
}
.group-item .price small {
  font-size: 11px;
  font-weight: 500;
  color: #999;
  text-decoration: line-through;
  margin-left: 4px;
}
.group-item .go {
  border: none;
  background: linear-gradient(90deg, #ff6a00, #ff4d00);
  color: #fff;
  border-radius: 14px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.feed-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 8px 0;
  overflow-x: auto;
}
.feed-tabs button {
  border: none;
  background: transparent;
  padding: 6px 10px;
  cursor: pointer;
  white-space: nowrap;
  color: #666;
}
.feed-tabs button b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.feed-tabs button span {
  display: block;
  font-size: 10px;
  color: #bbb;
  margin-top: 2px;
}
.feed-tabs button.on b { color: var(--home-orange); }
.feed-tabs button.on span {
  display: inline-block;
  background: var(--home-orange);
  color: #fff;
  border-radius: 8px;
  padding: 1px 6px;
}

.guess-title {
  text-align: center;
  color: #999;
  font-size: 13px;
  padding: 16px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.guess-title::before,
.guess-title::after {
  content: "";
  width: 36px;
  height: 1px;
  background: #ddd;
}
.guess-title span { letter-spacing: 2px; }

.goods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 10px 12px;
}
.feed-block .feed-goods { padding-top: 8px; }
.goods-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.goods-card .pic {
  height: 156px;
  background: linear-gradient(145deg, #e8e0d8, #c4b5a5);
}
.goods-card .pic.p2 { background: linear-gradient(145deg, #c9a882, #8d6238); }
.goods-card .pic.p3 { background: linear-gradient(145deg, #2c2c2c, #666); }
.goods-card .pic.p4 { background: linear-gradient(145deg, #a08972, #5c4030); }
.goods-card .meta { padding: 8px; }
.goods-card .name {
  font-size: 13px;
  line-height: 1.35;
  height: 2.7em;
  overflow: hidden;
}
.goods-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.goods-card .price {
  color: var(--home-red);
  font-size: 15px;
  font-weight: 700;
}
.goods-card .sold {
  font-size: 10px;
  color: #bbb;
}
.goods-card .add {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--home-orange);
  color: #fff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
}
.goods-card .add .hi {
  width: 14px;
  height: 14px;
}

/* 全局首页 SVG */
.home-page .hi {
  display: block;
  fill: currentColor;
}
.home-page .hi path {
  fill: currentColor;
}

.home-tabbar {
  height: 56px;
  background: #fff;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  text-align: center;
  font-size: 10px;
  color: #999;
}
.home-tabbar .on { color: var(--home-orange); font-weight: 600; }
.home-tabbar .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0 auto 2px;
  font-size: 18px;
  line-height: 1.2;
}
.home-tabbar .tab-svg,
.home-tabbar .hi {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}
.home-tabbar .tab-svg path,
.home-tabbar .hi path { fill: currentColor; }
.home-tabbar .on .hi,
.home-tabbar .on .tab-svg {
  filter: drop-shadow(0 1px 1px rgba(255,77,0,.25));
}

/* 画布内手机：内容区可滚动 */
.phone.home-phone {
  width: 375px;
  height: 812px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.phone.home-phone .home-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #f5f5f5;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.phone.home-phone .home-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.home-seckill {
  margin: 12px 12px 0;
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px 4px;
}
.home-seckill[hidden] { display: none; }
.sk-home-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-top: 0.5px solid #f0f0f0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.sk-home-row:first-of-type { border-top: 0; }
.sk-home-row .pic {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  flex: 0 0 72px;
}
.sk-home-row .mid { flex: 1; min-width: 0; }
.sk-home-row .mid > b {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
}
.sk-home-row .mid > b { white-space: nowrap; }
.sk-home-row .pick,
.sk-card .pick,
.sk-card .ship {
  flex: 0 0 auto;
  padding: 0 4px;
  border-radius: 3px;
  background: #fff7e6;
  color: #d46b08;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}
.sk-card .ship { background: #e6f4ff; color: #1677ff; }
.sk-home-row .spec,
.sk-home-row .origin,
.sk-home-row .clock {
  display: block;
  margin-top: 2px;
  color: #8c8c8c;
  font-size: 11px;
}
.sk-home-row .origin { color: #b5b0aa; font-size: 12px; }
.sk-home-row .payline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.sk-home-row .price {
  color: #e93323;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}
.sk-home-row .price small { font-size: 11px; font-weight: 600; margin-right: 2px; }
.sk-home-row .left { flex: 1; color: #e93323; font-size: 11px; font-style: normal; }
.sk-home-row .go {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #e93323;
  border-radius: 14px;
  background: #fff;
  color: #e93323;
  font-size: 12px;
  font-weight: 600;
  line-height: 26px;
}
.sk-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 3px;
  background: #e93323;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
  vertical-align: 4px;
}
.dt-price-card .sk-tag-lead {
  margin: 0 6px 0 0;
  background: rgba(255, 255, 255, 0.22);
  vertical-align: 6px;
}
.sk-page { padding: 0 0 16px; }
.sk-tabs {
  display: flex;
  margin: 0 12px 8px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.sk-tabs button {
  flex: 1;
  height: 40px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 13px;
  white-space: nowrap;
}
.sk-tabs button.on { color: #e93323; font-weight: 700; }
.sk-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 12px 0;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
}
.sk-card .pic { width: 72px; height: 72px; border-radius: 8px; flex: 0 0 72px; }
.sk-card .mid { flex: 1; min-width: 0; }
.sk-card .mid b { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 14px; }
.sk-mine { position: relative; overflow: hidden; }
.sk-mine .mid b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px; }
.sk-mine .st { position: absolute; top: 0; right: 0; z-index: 1; padding: 3px 8px 4px; border-radius: 0 12px 0 8px; background: #fff1f0; color: #e93323; font-size: 10px; font-style: normal; font-weight: 600; line-height: 16px; white-space: nowrap; }
.sk-mine .st.end { background: #f5f5f5; color: #8c8c8c; }
.sk-mine .go { margin-top: 16px; }
.sk-mine .spec { color: #8c8c8c; font-size: 12px; }
.sk-mine .pay small { margin-right: 2px; color: #8c8c8c; font-size: 11px; font-weight: 400; }
.sk-card .mid span { display: block; margin-top: 2px; color: #8c8c8c; font-size: 11px; }
.sk-card .pay { display: flex; align-items: baseline; gap: 6px; }
.sk-card .pay strong { color: #e93323; font-size: 18px; }
.sk-card .pay strong small { margin-right: 1px; font-size: 12px; font-weight: 600; }
.sk-card .pay em { margin-left: 6px; color: #e93323; font-style: normal; font-size: 11px; }
.sk-card .go {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #e93323;
  border-radius: 14px;
  background: #fff;
  color: #e93323;
  font-size: 12px;
}
.sk-card .go.is-off { color: #999; border-color: #ddd; }
.sk-card .sk-ops {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
  align-items: stretch;
}
.sk-card .sk-ops .go { width: 100%; white-space: nowrap; }
.sk-card .go.is-line {
  border-color: #d9d9d9;
  color: #595959;
}
