/* 邻聚同城 · 同城拼团（gb-） */
.gb-page {
  --gbt: #E8384F;
  --gbb: #FFF4F3;
  background: #F6F4F1;
  min-height: 100vh;
  padding-bottom: 0;
}

/* ---------------- 通用 ---------------- */
.gb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  border: 0; border-radius: 999px; padding: 11px 18px;
  background: linear-gradient(135deg, var(--gbt), #C81E36);
  color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 18px rgba(232, 56, 79, .22);
  transition: transform .16s, opacity .16s;
}
.gb-btn:active { transform: scale(.97); }
.gb-btn.ghost { background: #fff; color: var(--gbt); border: 1px solid rgba(232, 56, 79, .28); box-shadow: none; }
.gb-btn.block { display: flex; width: 100%; margin: 10px 0; }
.gb-btn:disabled { opacity: .5; box-shadow: none; cursor: not-allowed; }
.gb-mini {
  border: 0; border-radius: 999px; padding: 7px 13px;
  background: linear-gradient(135deg, var(--gbt), #C81E36); color: #fff;
  font-size: 11.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.gb-mini.ghost { background: #fff; color: #6B6560; border: 1px solid #EDE8E3; }
.gb-mini.warn { background: #FFF3E3; color: #B7791F; }
.gb-mini.danger { background: #FDECEC; color: #D33A3A; }
.gb-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap;
}
.gb-pill.hot { background: #FFE9EC; color: #E8384F; }
.gb-pill.green { background: #E9F9F1; color: #0E9F6E; }
.gb-pill.blue { background: #ECF3FF; color: #1B7BEA; }
.gb-pill.amber { background: #FFF4E3; color: #B7791F; }
.gb-pill.red { background: #FDECEC; color: #D33A3A; }
.gb-pill.gray { background: #F1EFEC; color: #8C877F; }
.gb-verified {
  display: inline-flex; align-items: center; gap: 2px; margin-left: 5px;
  font-size: 9.5px; color: #0E9F6E; background: #E9F9F1; border-radius: 999px; padding: 2px 6px; font-weight: 700;
}
.gb-empty { padding: 42px 20px; text-align: center; color: #A4A09A; }
.gb-empty-ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 18px; background: #fff; display: grid; place-items: center; color: #D3CEC8; box-shadow: 0 8px 20px rgba(30, 24, 18, .06); }
.gb-empty b { display: block; font-size: 14px; color: #4B4742; }
.gb-empty p { font-size: 11.5px; margin: 5px 0 0; line-height: 1.6; }
.gb-empty-sm { font-size: 11px; color: #A4A09A; padding: 10px 0; }
.gb-notice { display: flex; gap: 5px; align-items: flex-start; font-size: 10.5px; color: #9A948D; line-height: 1.6; padding: 12px 4px; }
.gb-muted { color: #A4A09A; font-size: 10.5px; }

/* ---------------- 头部 hero ---------------- */
.gb-hero {
  background: linear-gradient(160deg, var(--gbt), #B9152C);
  color: #fff; padding: 14px 16px 20px;
  border-radius: 0 0 26px 26px;
  position: relative; overflow: hidden;
}
.gb-hero::after {
  content: ""; position: absolute; right: -60px; top: -70px; width: 210px; height: 210px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.gb-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gb-hero-title { font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.gb-round {
  width: 34px; height: 34px; flex: none; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .18); color: #fff;
  display: grid; place-items: center; text-decoration: none;
}
.gb-round .ico { width: 18px; height: 18px; }
.gb-hero-copy { padding: 16px 2px 6px; position: relative; z-index: 1; }
.gb-hero-logo { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; background: rgba(255, 255, 255, .2); padding: 3px 10px; border-radius: 999px; }
.gb-hero-copy h1 { font-size: 20px; margin: 9px 0 4px; letter-spacing: .5px; }
.gb-hero-copy p { font-size: 10.5px; margin: 0; opacity: .82; display: flex; align-items: center; gap: 4px; }
.gb-search {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border-radius: 999px; padding: 5px 5px 5px 13px;
  margin-top: 12px; position: relative; z-index: 1;
}
.gb-search .ico { color: #B4AEA8; }
.gb-search input { flex: 1; border: 0; outline: 0; font-size: 12.5px; background: transparent; min-width: 0; }
.gb-search button { border: 0; border-radius: 999px; background: var(--gbt); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 15px; }
.gb-hero-stats { display: flex; justify-content: space-around; margin-top: 14px; position: relative; z-index: 1; }
.gb-hero-stats > div { text-align: center; }
.gb-hero-stats b { font-size: 16px; display: block; }
.gb-hero-stats span { font-size: 10px; opacity: .8; }
.gb-hero-sm { padding-bottom: 14px; border-radius: 0 0 20px 20px; }
.gb-hero-sm .gb-hero-top { margin-bottom: 2px; }

/* ---------------- 列表 ---------------- */
.gb-body { padding: 12px 14px 0; }
.gb-banner { display: block; border-radius: 16px; overflow: hidden; margin-bottom: 12px; box-shadow: 0 8px 22px rgba(30, 20, 20, .08); }
.gb-banner img { display: block; width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; }
.gb-modules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 6px; background: #fff; border-radius: 18px; padding: 14px 10px; margin-bottom: 12px; }
.gb-module { text-align: center; text-decoration: none; color: #4B4742; }
.gb-module span { width: 42px; height: 42px; margin: 0 auto 6px; border-radius: 14px; display: grid; place-items: center; }
.gb-module em { font-style: normal; font-size: 10.5px; display: block; }
.gb-hot-kw { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 10.5px; color: #B7791F; padding: 2px 2px 10px; }
.gb-hot-kw button { border: 0; background: #FFF3E3; color: #B7791F; border-radius: 999px; padding: 4px 10px; font-size: 10.5px; }
.gb-cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.gb-cats::-webkit-scrollbar { display: none; }
.gb-cat { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; color: #74716C; font-size: 10.5px; min-width: 50px; }
.gb-cat-ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; }
.gb-cat.on { color: var(--gbt); font-weight: 700; }
.gb-cat.on .gb-cat-ico { box-shadow: 0 0 0 2px var(--gbt) inset; }
.gb-live { background: #fff; border-radius: 18px; padding: 12px 12px 6px; margin-bottom: 12px; }
.gb-live-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.gb-live-head b { font-size: 13px; color: #3D3B38; display: flex; align-items: center; gap: 4px; }
.gb-live-head span { font-size: 10px; color: #B4AEA8; }
.gb-live-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px dashed #F1EDE9; text-decoration: none; color: inherit; }
.gb-live-row:first-child { border-top: 0; }
.gb-live-cover { width: 44px; height: 44px; border-radius: 11px; overflow: hidden; background: #F8F5F2; display: grid; place-items: center; flex: none; color: #D3CEC8; }
.gb-live-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-live-info { flex: 1; min-width: 0; }
.gb-live-info b { font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-live-info span { font-size: 10px; color: #A4A09A; }
.gb-live-act { font-size: 10.5px; color: var(--gbt); display: flex; align-items: center; gap: 2px; font-weight: 700; }
.gb-sort { display: flex; align-items: center; gap: 6px; padding: 2px 2px 10px; }
.gb-sort button { border: 0; background: transparent; color: #8C877F; font-size: 12px; padding: 5px 8px; border-radius: 999px; }
.gb-sort button.on { color: var(--gbt); font-weight: 800; background: #fff; }
.gb-sort-total { margin-left: auto; font-size: 10px; color: #B4AEA8; }
.gb-list { display: flex; flex-direction: column; gap: 12px; }
.gb-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(30, 24, 18, .05); }
.gb-card-cover { position: relative; aspect-ratio: 1.45 / 1; background: #F8F4F1; }
.gb-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-ph { width: 100%; height: 100%; display: grid; place-items: center; color: #D3CEC8; }
.gb-card-hot { position: absolute; left: 9px; top: 9px; display: inline-flex; align-items: center; gap: 3px; background: linear-gradient(135deg, #FF8A4C, #E8384F); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.gb-card-live { position: absolute; right: 9px; top: 9px; display: inline-flex; align-items: center; gap: 3px; background: rgba(24, 18, 16, .56); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 999px; }
.gb-card-sold { position: absolute; right: 9px; bottom: 9px; background: rgba(24, 18, 16, .5); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 999px; }
.gb-card-body { padding: 11px 12px 12px; }
.gb-card-body h3 { font-size: 14px; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gb-card-sub { font-size: 10.5px; color: #A4A09A; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.gb-card-tags span { font-size: 9.5px; color: var(--gbt); background: #FFF0F2; border-radius: 5px; padding: 2px 6px; }
.gb-card-price { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 9px; }
.gb-card-now small { display: block; font-size: 9.5px; color: #E8384F; font-weight: 700; }
.gb-card-now b { font-size: 20px; color: #E8384F; letter-spacing: -.5px; }
.gb-card-now b s { font-size: 12px; }
.gb-card-side { text-align: right; }
.gb-card-side s { display: block; font-size: 11px; color: #B4AEA8; }
.gb-card-side span { font-size: 9.5px; color: #A4A09A; }
.gb-card-bar { height: 5px; border-radius: 999px; background: #FBEDEE; margin-top: 9px; overflow: hidden; }
.gb-card-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #FF8A6B, #E8384F); }
.gb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.gb-card-foot span { font-size: 10.5px; color: #8C877F; display: flex; align-items: center; gap: 3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-card-btn { border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--gbt), #C81E36); color: #fff; font-size: 11.5px; font-weight: 700; padding: 7px 15px; flex: none; }
.gb-more { display: block; width: 100%; margin: 14px 0 4px; padding: 11px; border: 0; border-radius: 999px; background: #fff; color: #74716C; font-size: 12.5px; }
.gb-publish-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: linear-gradient(135deg, #FFF1F2, #FFE2E5); border: 1px solid #FFD7DB; border-radius: 16px; padding: 13px 14px; margin: 12px 0; text-decoration: none; }
.gb-publish-cta b { font-size: 13px; color: #B9152C; display: block; }
.gb-publish-cta span span, .gb-publish-cta > span { color: #C81E36; }
.gb-publish-cta div span { display: block; font-size: 10.5px; color: #A06A70; margin-top: 3px; }
.gb-list-pad { height: calc(80px + env(safe-area-inset-bottom)); }
.gb-subnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid #F1EDE9; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.gb-subnav button, .gb-subnav a { border: 0; background: transparent; text-decoration: none; color: #A4A09A; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; padding: 4px 10px; }
.gb-subnav .ico { width: 21px; height: 21px; }
.gb-subnav .on { color: var(--gbt); font-weight: 700; }

/* ---------------- 详情 ---------------- */
.gb-detail { background: #F6F4F1; }
.gb-gallery { position: relative; background: #fff; }
.gb-gallery-main { position: relative; aspect-ratio: 1 / 1; background: #FBF7F5; }
.gb-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-gallery-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
.gb-gallery-acts { display: flex; gap: 8px; }
.gb-gallery-count { position: absolute; right: 14px; bottom: 12px; background: rgba(24, 18, 16, .55); color: #fff; font-size: 10px; border-radius: 999px; padding: 3px 9px; }
.gb-gallery-count b { color: #FFE0A3; }
.gb-gallery-thumbs { display: flex; gap: 7px; overflow-x: auto; padding: 9px 12px; scrollbar-width: none; }
.gb-gallery-thumbs::-webkit-scrollbar { display: none; }
.gb-gallery-thumb { width: 54px; height: 54px; flex: none; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #F8F5F2; }
.gb-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-gallery-thumb.on { border-color: var(--gbt); }
.gb-tip-bar { display: flex; align-items: center; gap: 5px; background: #FFF6E3; color: #B7791F; font-size: 10.5px; padding: 8px 14px; }
.gb-detail-body { padding: 10px 12px 0; display: flex; flex-direction: column; gap: 11px; }
.gb-price-card { background: linear-gradient(150deg, #FFF3F4, #FFE4E8); border-radius: 18px; padding: 14px; position: relative; overflow: hidden; }
.gb-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.gb-price-main small { display: block; font-size: 10px; color: #E8384F; font-weight: 700; }
.gb-price-main b { font-size: 30px; color: #E8384F; letter-spacing: -1px; line-height: 1.1; }
.gb-price-main em { display: block; font-style: normal; font-size: 10px; color: #A06A70; margin-top: 3px; }
.gb-price-side { text-align: right; }
.gb-price-side span { display: block; font-size: 9.5px; color: #A06A70; }
.gb-price-side s { font-size: 14px; color: #9E8D8D; }
.gb-price-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 10.5px; color: #A06A70; }
.gb-price-meta b { color: #C81E36; }
.gb-price-rule { display: flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .72); border-radius: 9px; padding: 7px 9px; font-size: 10px; color: #A06A70; margin-top: 10px; line-height: 1.5; }
.gb-ship-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.gb-ship-tags span { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; color: #7C6A6A; background: rgba(255, 255, 255, .8); border-radius: 6px; padding: 4px 7px; }
.gb-title-card { background: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-title-card h1 { font-size: 17px; line-height: 1.4; margin: 0; }
.gb-title-card p { font-size: 11.5px; color: #8C877F; margin: 6px 0 0; line-height: 1.5; }
.gb-title-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 9px; }
.gb-title-tags span { font-size: 9.5px; color: #E8384F; background: #FFF0F2; border-radius: 5px; padding: 2px 7px; }
.gb-title-tags span.warn { color: #B7791F; background: #FFF3E3; }
.gb-title-meta { display: flex; gap: 12px; margin-top: 9px; font-size: 10px; color: #B4AEA8; }
.gb-mygroup { background: linear-gradient(150deg, #E8384F, #B9152C); color: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-mygroup-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.gb-mygroup-head b { font-size: 13px; display: flex; align-items: center; gap: 4px; }
.gb-mygroup-head span { display: block; font-size: 10.5px; opacity: .86; margin-top: 4px; }
.gb-mygroup-head span em { font-style: normal; font-weight: 800; font-size: 14px; color: #FFE0A3; }
.gb-mygroup-head > em { font-style: normal; font-size: 10px; background: rgba(255, 255, 255, .18); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.gb-mygroup-dots { display: flex; gap: 7px; margin: 11px 0 10px; }
.gb-mygroup-dots span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-size: 11px; }
.gb-mygroup-dots span.on { background: #FFE0A3; color: #B9152C; }
.gb-mygroup-actions { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.gb-mygroup-actions .gb-btn { background: #fff; color: #C81E36; box-shadow: none; padding: 8px 14px; font-size: 12px; }
.gb-mygroup-actions span { font-size: 10px; opacity: .8; }
.gb-groups { background: #fff; border-radius: 16px; padding: 13px 14px 4px; }
.gb-groups-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 8px; }
.gb-groups-head b { font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.gb-groups-head span { font-size: 9.5px; color: #B4AEA8; }
.gb-group-row { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-top: 1px dashed #F1EDE9; }
.gb-group-ava { width: 38px; height: 38px; flex: none; border-radius: 50%; overflow: hidden; }
.gb-group-ava .mini-avatar { width: 38px; height: 38px; font-size: 14px; }
.gb-group-info { flex: 1; min-width: 0; }
.gb-group-info b { font-size: 12.5px; display: block; }
.gb-group-info small { font-size: 9.5px; color: #A4A09A; display: block; margin-top: 2px; }
.gb-group-dots { display: flex; gap: 4px; margin-top: 5px; }
.gb-group-dots span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #F5F2EE; color: #C9C3BC; font-size: 9px; }
.gb-group-dots span.on { background: #FFE9EC; color: #E8384F; }
.gb-group-right { text-align: right; flex: none; }
.gb-group-remain { display: block; font-size: 10px; color: #A4A09A; }
.gb-group-remain em { font-style: normal; color: #E8384F; font-size: 13px; font-weight: 800; }
.gb-group-time { display: block; font-style: normal; font-size: 9.5px; color: #B7791F; background: #FFF6E3; border-radius: 999px; padding: 2px 7px; margin: 3px 0 4px; }
.gb-group-btn { border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--gbt), #C81E36); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 12px; }
.gb-groups-empty { text-align: center; color: #B4AEA8; padding: 16px 0 20px; }
.gb-groups-empty .ico { width: 28px; height: 28px; color: #D3CEC8; }
.gb-groups-empty b { display: block; font-size: 12.5px; color: #6B6560; margin: 7px 0 3px; }
.gb-groups-empty span { font-size: 10px; }
.gb-how { background: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-how-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.gb-how-head b { font-size: 13.5px; }
.gb-how-head span { font-size: 9.5px; color: #B4AEA8; }
.gb-how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.gb-step { text-align: center; background: #FDF7F7; border-radius: 11px; padding: 9px 5px; }
.gb-step i { width: 20px; height: 20px; margin: 0 auto 5px; border-radius: 50%; background: linear-gradient(135deg, #FF8A6B, #E8384F); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.gb-step b { display: block; font-size: 10.5px; }
.gb-step span { display: block; font-size: 8.5px; color: #A4A09A; margin-top: 2px; line-height: 1.4; }
.gb-how-tip { display: flex; align-items: center; gap: 4px; font-size: 9.5px; color: #B7791F; background: #FFF6E3; border-radius: 8px; padding: 6px 8px; margin-top: 10px; }
.gb-detail-content { background: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-detail-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.gb-detail-head b { font-size: 13.5px; }
.gb-detail-head span { font-size: 9.5px; color: #B4AEA8; }
.gb-detail-block { border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.gb-detail-block img { display: block; width: 100%; }
.gb-detail-block.text p { font-size: 12px; line-height: 1.9; color: #5D5953; margin: 0; }
.gb-merchant-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-merchant-logo { width: 44px; height: 44px; border-radius: 13px; overflow: hidden; background: #FDF2F3; color: #E8384F; display: grid; place-items: center; flex: none; }
.gb-merchant-logo img { width: 100%; height: 100%; object-fit: cover; }
.gb-merchant-info { flex: 1; min-width: 0; }
.gb-merchant-info b { font-size: 13px; display: flex; align-items: center; flex-wrap: wrap; }
.gb-merchant-info span { display: flex; align-items: center; gap: 3px; font-size: 10px; color: #A4A09A; margin-top: 4px; }
.gb-merchant-go { font-size: 10.5px; color: var(--gbt); text-decoration: none; display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.gb-rules { background: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-rules-head { display: flex; align-items: center; justify-content: space-between; }
.gb-rules-head b { font-size: 13px; display: flex; align-items: center; gap: 4px; }
.gb-rules-head button { border: 0; background: transparent; color: var(--gbt); font-size: 10.5px; }
.gb-rules-text { font-family: inherit; font-size: 10.5px; color: #8C877F; line-height: 1.8; white-space: pre-wrap; word-break: break-word; margin: 8px 0 0; }
.gb-rules-notice { display: flex; align-items: flex-start; gap: 4px; font-size: 9.5px; color: #B7791F; background: #FFF6E3; border-radius: 8px; padding: 7px 9px; margin-top: 9px; line-height: 1.5; }
.gb-detail-pad { height: calc(88px + env(safe-area-inset-bottom)); }
.gb-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
  border-top: 1px solid #F1EDE9; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}
.gb-buybar-side { display: flex; gap: 6px; flex: none; }
.gb-buybar-side button, .gb-buybar-side a { border: 0; background: transparent; color: #8C877F; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; padding: 2px 4px; }
.gb-buybar-side .ico { width: 20px; height: 20px; }
.gb-buybar-btns { display: flex; flex: 1; gap: 8px; }
.gb-buy-single, .gb-buy-group { flex: 1; border: 0; border-radius: 999px; padding: 10px 6px; font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.2; }
.gb-buy-single { background: #FFF0F2; color: #C81E36; border: 1px solid #FFD6DB; }
.gb-buy-group { background: linear-gradient(135deg, var(--gbt), #C81E36); color: #fff; box-shadow: 0 8px 18px rgba(232, 56, 79, .24); }
.gb-buy-single b, .gb-buy-group b { font-size: 13px; }
.gb-buy-single:disabled, .gb-buy-group:disabled { opacity: .5; box-shadow: none; }

/* ---------------- 弹层 ---------------- */
.gb-sheet { background: #fff; border-radius: 22px 22px 0 0; width: 100%; max-width: 480px; margin: 0 auto; max-height: 88vh; overflow-y: auto; animation: gbSheetUp .3s cubic-bezier(.16, .8, .3, 1); padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
@keyframes gbSheetUp { from { transform: translateY(100%); } }
.gb-sheet-head { position: sticky; top: 0; z-index: 2; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 15px 16px 10px; }
.gb-sheet-head b { font-size: 15px; }
.gb-sheet-head button { border: 0; background: #F6F1F0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #8A7C7C; }
.gb-sheet-foot { padding: 10px 16px 0; }
.gb-sheet-foot .gb-btn { width: 100%; }
.gb-field { margin-bottom: 10px; }
.gb-field > span { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #8C877F; margin-bottom: 5px; }
.gb-field > span i { color: #E8384F; font-style: normal; }
.gb-field > span em { font-style: normal; color: #B4AEA8; font-size: 9.5px; font-weight: 400; }
.gb-field input, .gb-field select, .gb-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #EFEBE7; background: #FAF8F6;
  border-radius: 10px; padding: 10px 11px; font-size: 12.5px; color: #3D3B38; outline: 0;
  font-family: inherit;
}
.gb-field input:focus, .gb-field textarea:focus, .gb-field select:focus { border-color: rgba(232, 56, 79, .5); background: #fff; }
.gb-field textarea { resize: vertical; }
.gb-field.switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gb-field.switch > span { margin: 0; font-size: 12px; color: #3D3B38; }
.gb-switch { width: 44px; height: 25px; border-radius: 999px; border: 0; background: #E7E2DD; color: transparent; display: flex; align-items: center; padding: 2px; transition: background .2s; }
.gb-switch::before { content: ""; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); transition: transform .2s; }
.gb-switch.on { background: #0E9F6E; justify-content: flex-end; }
.gb-switch.on::before { transform: translateX(0); }
.gb-switch .ico { display: none; }

/* 分享 */
.gb-share-card { display: flex; gap: 10px; align-items: center; background: #FDF7F7; border-radius: 14px; padding: 10px; margin: 0 16px; }
.gb-share-cover { width: 66px; height: 66px; border-radius: 10px; overflow: hidden; background: #F3EDEA; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-share-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-share-info { flex: 1; min-width: 0; }
.gb-share-info h3 { font-size: 13px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-share-info p { font-size: 10px; color: #A08F8F; margin: 4px 0 6px; line-height: 1.5; }
.gb-share-price { display: flex; align-items: baseline; gap: 7px; }
.gb-share-price b { font-size: 18px; color: #E8384F; }
.gb-share-price s { font-size: 10.5px; color: #B5A8A8; }
.gb-share-price span { font-size: 9.5px; color: #E8384F; background: #FFECEF; border-radius: 999px; padding: 2px 7px; }
.gb-share-tip { display: flex; align-items: center; gap: 4px; font-size: 9.5px; color: #A08F8F; padding: 10px 18px 4px; line-height: 1.5; }
.gb-share-grid { display: flex; justify-content: space-around; padding: 8px 16px 4px; }
.gb-share-item { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #4B4742; font-size: 10.5px; }
.gb-share-item .ico { width: 40px; height: 40px; padding: 10px; box-sizing: border-box; border-radius: 13px; background: #F8F3F1; color: #E8384F; }
.gb-share-link { font-size: 9.5px; color: #B5A8A8; background: #FAF7F5; border-radius: 8px; margin: 8px 16px 4px; padding: 7px 10px; word-break: break-all; text-align: center; }
.gb-poster-wrap { width: 100%; max-width: 340px; margin: auto; }
.gb-poster { background: linear-gradient(165deg, #E8384F, #B9152C); border-radius: 20px; overflow: hidden; color: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.gb-poster-top { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; font-size: 10px; }
.gb-poster-brand { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.gb-poster-brand img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.gb-poster-tag { background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px 8px; }
.gb-poster-img { aspect-ratio: 1.35 / 1; margin: 0 12px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.gb-poster-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-poster-ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
.gb-poster-info { padding: 11px 13px 4px; }
.gb-poster-info h2 { font-size: 14px; margin: 0; line-height: 1.4; }
.gb-poster-prices { display: flex; gap: 16px; margin-top: 7px; }
.gb-poster-prices small { display: block; font-size: 9px; opacity: .72; }
.gb-poster-prices b { font-size: 19px; color: #FFE0A3; }
.gb-poster-prices s { font-size: 11px; opacity: .75; }
.gb-poster-save { font-size: 9.5px; color: #FFE0A3; margin-top: 5px; }
.gb-poster-foot { display: flex; gap: 9px; align-items: center; padding: 10px 13px 14px; }
.gb-poster-qr { width: 66px; height: 66px; flex: none; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.gb-poster-qr img { width: 100%; height: 100%; object-fit: contain; }
.gb-poster-qr span { font-size: 8px; color: #B5A8A8; }
.gb-poster-copy b { font-size: 10.5px; display: block; }
.gb-poster-copy p { font-size: 8.5px; opacity: .75; margin: 3px 0 0; word-break: break-all; }
.gb-poster-actions { display: flex; gap: 8px; margin-top: 10px; }
.gb-poster-actions .gb-btn { flex: 1; padding: 10px; font-size: 12.5px; }
.gb-poster-actions .gb-btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* 规格 */
.gb-spec-head { display: flex; gap: 10px; align-items: flex-start; padding: 16px 16px 10px; position: relative; }
.gb-spec-cover { width: 78px; height: 78px; border-radius: 12px; overflow: hidden; background: #F8F3F1; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-spec-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-spec-info { flex: 1; min-width: 0; padding-top: 4px; }
.gb-spec-price { color: #E8384F; }
.gb-spec-price b { font-size: 22px; }
.gb-spec-price s { font-size: 11px; color: #B5A8A8; margin-left: 6px; }
.gb-spec-price em { font-style: normal; font-size: 9.5px; background: #FFECEF; color: #E8384F; border-radius: 5px; padding: 2px 6px; margin-left: 6px; }
.gb-spec-stock { font-size: 10px; color: #A08F8F; margin: 5px 0 4px; }
.gb-spec-info small { font-size: 9.5px; color: #B5A8A8; }
.gb-spec-close { position: absolute; right: 12px; top: 10px; border: 0; background: #F6F1F0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #8A7C7C; }
.gb-spec-body { padding: 2px 16px 0; }
.gb-spec-group { margin-bottom: 12px; }
.gb-spec-label { font-size: 11px; color: #8C877F; margin-bottom: 7px; }
.gb-spec-values { display: flex; gap: 7px; flex-wrap: wrap; }
.gb-spec-val { border: 1px solid #EFEBE7; background: #FAF8F6; color: #4B4742; border-radius: 8px; padding: 7px 13px; font-size: 11.5px; }
.gb-spec-val.on { border-color: #E8384F; background: #FFF0F2; color: #C81E36; font-weight: 700; }
.gb-qty { display: inline-flex; align-items: center; border: 1px solid #EFEBE7; border-radius: 9px; overflow: hidden; }
.gb-qty button { border: 0; background: #FAF8F6; width: 34px; height: 32px; font-size: 15px; color: #6B6560; }
.gb-qty input { width: 44px; height: 32px; border: 0; text-align: center; font-size: 12.5px; background: #fff; }
.gb-spec-note { display: flex; align-items: center; gap: 4px; font-size: 9.5px; color: #A08F8F; padding: 4px 0 2px; }

/* 下单 */
.gb-order-body { padding: 12px 16px 0; }
.gb-addr-box { background: #FAF7F5; border-radius: 13px; padding: 11px; }
.gb-addr-head { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #4B4742; margin-bottom: 8px; }
.gb-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 7px; }
.gb-addr-grid input { border: 1px solid #EFEBE7; background: #fff; border-radius: 8px; padding: 8px 9px; font-size: 11.5px; outline: 0; width: 100%; box-sizing: border-box; }
.gb-loc-btn { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 7px; padding: 8px 13px; border-radius: 999px; border: 1px dashed #E4DED8; background: #fff; color: #8D857C; font-size: 10.5px; }
.gb-loc-btn .ico { width: 12px; height: 12px; }
.gb-order-goods { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px dashed #F1EDE9; }
.gb-order-cover { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: #F8F3F1; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-order-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-order-info { flex: 1; min-width: 0; }
.gb-order-info h3 { font-size: 12.5px; margin: 0 0 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-order-spec { font-size: 10px; color: #A08F8F; }
.gb-order-info b { color: #E8384F; font-size: 14px; display: block; margin-top: 5px; }
.gb-order-line { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #8C877F; padding: 8px 0; }
.gb-order-line b { color: #3D3B38; }
.gb-order-line i { font-style: normal; color: #B4AEA8; }
.gb-order-remark input { width: 100%; box-sizing: border-box; border: 1px solid #EFEBE7; background: #FAF8F6; border-radius: 9px; padding: 9px 11px; font-size: 11.5px; outline: 0; }
.gb-order-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 4px; font-size: 12px; color: #4B4742; }
.gb-order-total b { color: #E8384F; font-size: 20px; }

/* 邀请 / 参与 */
.gb-invite-body { padding: 6px 18px 16px; text-align: center; }
.gb-invite-ava { width: 58px; height: 58px; margin: 0 auto 9px; border-radius: 50%; background: #FFF0F2; color: #E8384F; display: grid; place-items: center; }
.gb-invite-body h3 { font-size: 15px; margin: 0; }
.gb-invite-body p { font-size: 11.5px; color: #8C877F; margin: 6px 0 8px; }
.gb-invite-body p em { font-style: normal; color: #E8384F; font-weight: 800; font-size: 15px; }
.gb-invite-time { display: inline-block; font-size: 10.5px; color: #B7791F; background: #FFF6E3; border-radius: 999px; padding: 4px 11px; }
.gb-invite-progress { margin: 13px 0; }
.gb-invite-dots { display: flex; justify-content: center; gap: 9px; }
.gb-invite-dots span { width: 30px; height: 30px; border-radius: 50%; background: #F5F2EE; color: #C9C3BC; display: grid; place-items: center; }
.gb-invite-dots span.on { background: #FFE9EC; color: #E8384F; }
.gb-invite-progress small { display: block; font-size: 10px; color: #A08F8F; margin-top: 7px; }
.gb-invite-actions { display: flex; gap: 8px; }
.gb-invite-actions .gb-btn { flex: 1; }
.gb-invite-tip { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 9.5px; color: #A08F8F; margin-top: 10px; }
.gb-invite-url { font-size: 9.5px; color: #B5A8A8; background: #FAF7F5; border-radius: 8px; padding: 7px 10px; margin-top: 8px; word-break: break-all; }
.gb-join-body { padding: 4px 16px 10px; }
.gb-join-leader { display: flex; align-items: center; gap: 9px; background: #FDF7F7; border-radius: 12px; padding: 10px; }
.gb-join-leader .ico { width: 32px; height: 32px; color: #E8384F; background: #FFE9EC; border-radius: 50%; padding: 7px; box-sizing: border-box; }
.gb-join-leader b { font-size: 12.5px; display: block; }
.gb-join-leader small { font-size: 10px; color: #A08F8F; }
.gb-join-tip { text-align: center; font-size: 11px; color: #8C877F; margin: 12px 0; }
.gb-join-tip em { font-style: normal; color: #E8384F; font-weight: 800; font-size: 15px; }
.gb-join-goods { display: flex; gap: 9px; align-items: center; padding: 9px; border: 1px solid #F1EDE9; border-radius: 11px; }
.gb-join-cover { width: 50px; height: 50px; border-radius: 9px; overflow: hidden; background: #F8F3F1; flex: none; }
.gb-join-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-join-goods b { font-size: 12px; display: block; }
.gb-join-goods small { font-size: 9.5px; color: #A08F8F; }
.gb-rules-body { padding: 4px 18px 16px; }
.gb-rules-body h3 { font-size: 15px; margin: 2px 0 3px; }
.gb-rules-sub { font-size: 10.5px; color: #A08F8F; margin-bottom: 9px; }

/* ---------------- 订单卡 / 我的 ---------------- */
.gb-order-card { background: #fff; border-radius: 16px; padding: 12px 13px; box-shadow: 0 5px 16px rgba(30, 24, 18, .05); }
.gb-oc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gb-oc-no { font-size: 10px; color: #B4AEA8; }
.gb-oc-main { display: flex; gap: 10px; align-items: center; margin-top: 9px; text-decoration: none; color: inherit; }
.gb-oc-cover { width: 62px; height: 62px; border-radius: 10px; overflow: hidden; background: #F8F3F1; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-oc-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-oc-info { flex: 1; min-width: 0; }
.gb-oc-info h3 { font-size: 13px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-oc-spec { font-size: 10px; color: #A4A09A; margin-top: 4px; }
.gb-oc-price { display: flex; align-items: baseline; gap: 7px; margin-top: 5px; }
.gb-oc-price b { color: #E8384F; font-size: 15px; }
.gb-oc-price small { font-size: 9.5px; color: #B4AEA8; }
.gb-oc-group { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #FFF7F8; border-radius: 8px; padding: 7px 9px; margin-top: 9px; font-size: 10px; color: #A06A70; }
.gb-oc-group em { font-style: normal; color: #B7791F; background: #FFF3E3; border-radius: 999px; padding: 2px 7px; font-size: 9.5px; white-space: nowrap; }
.gb-oc-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-top: 10px; }
.gb-oc-tip { display: flex; align-items: center; gap: 3px; font-size: 9.5px; color: #B7791F; margin-right: auto; }
.gb-my-stats { display: flex; justify-content: space-around; margin-top: 12px; position: relative; z-index: 1; }
.gb-my-stats > div { text-align: center; }
.gb-my-stats b { font-size: 18px; display: block; }
.gb-my-stats span { font-size: 10px; opacity: .82; }
.gb-my-tabs { display: flex; gap: 4px; overflow-x: auto; background: #fff; padding: 9px 10px; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #F4F0EC; scrollbar-width: none; }
.gb-my-tabs::-webkit-scrollbar { display: none; }
.gb-my-tabs button { flex: none; border: 0; background: transparent; color: #8C877F; font-size: 11.5px; padding: 6px 11px; border-radius: 999px; }
.gb-my-tabs button.on { background: #FFF0F2; color: #C81E36; font-weight: 700; }
.gb-my-tabs button i { font-style: normal; font-size: 9px; background: #E8384F; color: #fff; border-radius: 999px; padding: 1px 4px; margin-left: 2px; }
.gb-mgroups, .gb-orders { background: #fff; border-radius: 16px; padding: 12px 13px; margin-bottom: 11px; display: flex; flex-direction: column; gap: 10px; }
.gb-mgroups-head, .gb-orders-head { display: flex; align-items: baseline; justify-content: space-between; }
.gb-mgroups-head b, .gb-orders-head b { font-size: 13px; display: flex; align-items: center; gap: 4px; }
.gb-mgroups-head span, .gb-orders-head span { font-size: 9.5px; color: #B4AEA8; }
.gb-mgroup { background: #FCFAFA; border: 1px solid #F4EFEC; border-radius: 13px; padding: 10px 11px; }
.gb-mgroup-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gb-mgroup-head b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-mgroup-body { margin-top: 8px; }
.gb-mgroup-leader { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #8C877F; }
.gb-mgroup-leader .mini-avatar { width: 22px; height: 22px; font-size: 10px; }
.gb-mgroup-leader .ico { color: #E8384F; }
.gb-mgroup-dots { display: flex; gap: 5px; margin: 7px 0; }
.gb-mgroup-dots span { width: 20px; height: 20px; border-radius: 50%; background: #F5F2EE; color: #C9C3BC; display: grid; place-items: center; font-size: 9px; }
.gb-mgroup-dots span.on { background: #FFE9EC; color: #E8384F; }
.gb-mgroup-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 9.5px; color: #A4A09A; }
.gb-mgroup-meta em { font-style: normal; color: #B7791F; background: #FFF6E3; border-radius: 999px; padding: 2px 7px; }
.gb-mgroup-foot { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.gb-mgroup-foot span:first-child { flex: 1; }
.gb-mgroup-done { font-size: 10px; color: #0E9F6E; background: #E9F9F1; border-radius: 999px; padding: 4px 9px; }
.gb-my-back { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: #A4A09A; text-decoration: none; padding: 6px 0 26px; }

/* ---------------- 订单详情 ---------------- */
.gb-status-hero { background: linear-gradient(160deg, var(--gbt), #B9152C); color: #fff; padding: 14px 16px 20px; border-radius: 0 0 22px 22px; }
.gb-status-hero .gb-hero-top { margin-bottom: 12px; }
.gb-status-main { display: flex; align-items: center; gap: 11px; }
.gb-status-ico { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; flex: none; }
.gb-status-main b { font-size: 18px; display: block; }
.gb-status-main span { font-size: 10.5px; opacity: .84; display: block; margin-top: 4px; line-height: 1.5; }
.gb-order-body { display: flex; flex-direction: column; gap: 10px; }
.gb-invite-panel { background: linear-gradient(150deg, #FFF2F4, #FFE1E6); border-radius: 16px; padding: 13px 14px; }
.gb-invite-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.gb-invite-panel-head b { font-size: 13px; color: #C81E36; display: flex; align-items: center; gap: 4px; }
.gb-invite-panel-head span { display: block; font-size: 10.5px; color: #A06A70; margin-top: 5px; line-height: 1.5; }
.gb-invite-panel-head span em { font-style: normal; color: #E8384F; font-weight: 800; font-size: 15px; }
.gb-invite-panel-head > em { font-style: normal; font-size: 10px; color: #B9152C; background: #fff; border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.gb-invite-panel-dots { display: flex; gap: 8px; margin: 11px 0; }
.gb-invite-panel-dots span { width: 27px; height: 27px; border-radius: 50%; background: rgba(255, 255, 255, .75); color: #D8A3AA; display: grid; place-items: center; }
.gb-invite-panel-dots span.on { background: #E8384F; color: #fff; }
.gb-invite-panel-foot { display: flex; gap: 7px; }
.gb-invite-panel-foot .gb-btn { flex: 1; }
.gb-invite-panel-foot .gb-btn.ghost { background: #fff; border-color: #FFD6DB; }
.gb-invite-panel-tip { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 9.5px; color: #A06A70; margin-top: 9px; }
.gb-timeline { background: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-timeline-row { display: flex; gap: 9px; position: relative; padding-bottom: 13px; }
.gb-timeline-row:last-child { padding-bottom: 0; }
.gb-timeline-row i { width: 9px; height: 9px; border-radius: 50%; background: #E7E2DD; margin-top: 4px; flex: none; position: relative; z-index: 1; }
.gb-timeline-row::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 2px; width: 1px; background: #EFEBE7; }
.gb-timeline-row:last-child::before { display: none; }
.gb-timeline-row.on i { background: #E8384F; box-shadow: 0 0 0 3px #FFE9EC; }
.gb-timeline-row b { display: block; font-size: 11.5px; }
.gb-timeline-row span { display: block; font-size: 9.5px; color: #A4A09A; margin-top: 2px; }
.gb-order-card-box { background: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-order-card-head { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #4B4742; padding-bottom: 9px; }
.gb-addr-line { display: flex; align-items: baseline; gap: 8px; }
.gb-addr-line b { font-size: 13px; }
.gb-addr-line span { font-size: 11px; color: #8C877F; }
.gb-addr-detail { font-size: 11px; color: #74716C; margin-top: 5px; line-height: 1.6; }
.gb-ogoods { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.gb-ogoods-cover { width: 62px; height: 62px; border-radius: 10px; overflow: hidden; background: #F8F3F1; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-ogoods-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-ogoods-info { flex: 1; min-width: 0; }
.gb-ogoods-info b { font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-ogoods-info span { display: block; font-size: 10px; color: #A4A09A; margin-top: 4px; }
.gb-ogoods-info em { display: inline-block; font-style: normal; font-size: 9px; color: #E8384F; background: #FFF0F2; border-radius: 999px; padding: 2px 6px; margin-top: 5px; }
.gb-ogoods-price { font-size: 15px; color: #E8384F; font-weight: 700; flex: none; }
.gb-info-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 11px; color: #8C877F; padding: 6px 0; border-top: 1px dashed #F5F1ED; }
.gb-info-line:first-of-type { border-top: 0; }
.gb-info-line b { color: #3D3B38; font-weight: 600; text-align: right; word-break: break-all; }
.gb-info-line.total { border-top: 1px solid #F1EDE9; margin-top: 3px; padding-top: 9px; font-size: 12px; color: #4B4742; }
.gb-info-line.total b { color: #E8384F; font-size: 19px; }
.gb-info-line b.gb-refund { color: #0E9F6E; }
.gb-order-pad { height: calc(88px + env(safe-area-inset-bottom)); }
.gb-order-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-width: 560px; margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-top: 1px solid #F1EDE9; padding: 9px 13px calc(9px + env(safe-area-inset-bottom)); }
.gb-order-foot .gb-btn { flex: 1; min-width: 100px; padding: 11px 12px; }

/* ---------------- 商家中心 ---------------- */
.gb-mhero { display: flex; align-items: center; gap: 11px; margin-top: 13px; position: relative; z-index: 1; }
.gb-mhero-logo { width: 50px; height: 50px; border-radius: 15px; overflow: hidden; background: rgba(255, 255, 255, .22); color: #fff; display: grid; place-items: center; flex: none; }
.gb-mhero-logo img { width: 100%; height: 100%; object-fit: cover; }
.gb-mhero-info b { font-size: 16px; display: flex; align-items: center; flex-wrap: wrap; }
.gb-mhero-info .gb-verified { background: rgba(255, 255, 255, .2); color: #fff; }
.gb-mhero-info span { display: flex; align-items: center; gap: 3px; font-size: 10.5px; opacity: .85; margin-top: 4px; }
.gb-mtabs { display: flex; gap: 3px; overflow-x: auto; background: #fff; padding: 9px 10px; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #F4F0EC; scrollbar-width: none; }
.gb-mtabs::-webkit-scrollbar { display: none; }
.gb-mtabs button { flex: none; border: 0; background: transparent; color: #8C877F; font-size: 11.5px; padding: 6px 11px; border-radius: 999px; }
.gb-mtabs button.on { background: #FFF0F2; color: #C81E36; font-weight: 700; }
.gb-mbody { padding-top: 11px; }
.gb-mpanel { background: #fff; border-radius: 18px; padding: 13px 13px 6px; box-shadow: 0 5px 16px rgba(30, 24, 18, .04); }
.gb-mpanel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 10px; }
.gb-mpanel-head b { font-size: 14px; }
.gb-mpanel-head span { font-size: 9.5px; color: #B4AEA8; }
.gb-mstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gb-mstat { background: #FCF8F7; border-radius: 12px; padding: 10px 8px; text-align: center; }
.gb-mstat b { display: block; font-size: 16px; color: #C81E36; }
.gb-mstat span { display: block; font-size: 10px; color: #4B4742; margin-top: 3px; }
.gb-mstat em { display: block; font-style: normal; font-size: 8.5px; color: #B4AEA8; margin-top: 2px; }
.gb-mactions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }
.gb-mactions a { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #F4EFEC; border-radius: 13px; padding: 10px; text-decoration: none; color: #4B4742; }
.gb-mactions .ico { width: 30px; height: 30px; padding: 7px; box-sizing: border-box; border-radius: 9px; background: #FFF0F2; color: #E8384F; flex: none; }
.gb-mactions b { font-size: 11.5px; display: block; }
.gb-mactions span { font-size: 9px; color: #A4A09A; }
.gb-mrow { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px dashed #F1EDE9; }
.gb-mrow-cover { width: 40px; height: 40px; border-radius: 9px; overflow: hidden; background: #F8F3F1; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-mrow-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-mrow-info { flex: 1; min-width: 0; }
.gb-mrow-info b { font-size: 11.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-mrow-info span { font-size: 9.5px; color: #A4A09A; }
.gb-mrow-right { text-align: right; flex: none; }
.gb-mrow-right b { font-size: 12px; color: #C81E36; display: block; margin-bottom: 3px; }
.gb-mact { display: flex; gap: 10px; padding: 11px 0; border-top: 1px dashed #F1EDE9; align-items: flex-start; }
.gb-mact:first-of-type { border-top: 0; }
.gb-mact-cover { width: 68px; height: 68px; border-radius: 11px; overflow: hidden; background: #F8F3F1; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-mact-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-mact-info { flex: 1; min-width: 0; }
.gb-mact-title { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.gb-mact-title b { font-size: 12.5px; }
.gb-mact-prices { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 5px; font-size: 10px; color: #C81E36; }
.gb-mact-meta { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 4px; font-size: 9.5px; color: #A4A09A; }
.gb-mact-warn { color: #D33A3A; }
.gb-mact-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.gb-filter-row { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.gb-filter-row::-webkit-scrollbar { display: none; }
.gb-filter-row button { flex: none; border: 1px solid #F1EDE9; background: #fff; color: #8C877F; font-size: 10.5px; border-radius: 999px; padding: 5px 11px; }
.gb-filter-row button.on { border-color: #E8384F; color: #C81E36; background: #FFF0F2; font-weight: 700; }
.gb-morder { border-top: 1px dashed #F1EDE9; padding: 11px 0; }
.gb-morder:first-of-type { border-top: 0; }
.gb-morder-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gb-morder-head span { font-size: 9.5px; color: #B4AEA8; }
.gb-morder-body { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.gb-morder-cover { width: 54px; height: 54px; border-radius: 9px; overflow: hidden; background: #F8F3F1; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-morder-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-morder-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gb-morder-info b { font-size: 12px; }
.gb-morder-info span { font-size: 9.5px; color: #8C877F; }
.gb-morder-amount { text-align: right; flex: none; }
.gb-morder-amount b { color: #C81E36; font-size: 14px; display: block; }
.gb-morder-amount small { font-size: 9px; color: #B4AEA8; }
.gb-morder-group { font-size: 9.5px; color: #B7791F; background: #FFF8EA; border-radius: 7px; padding: 5px 8px; margin-top: 8px; }
.gb-morder-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; font-size: 9.5px; color: #B4AEA8; }
.gb-tpl-list { display: flex; flex-direction: column; gap: 9px; }
.gb-tpl { background: #FCF8F7; border-radius: 13px; padding: 11px 12px; }
.gb-tpl-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gb-tpl-head b { font-size: 12.5px; }
.gb-tpl-body { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; font-size: 10px; color: #8C877F; }
.gb-tpl-body em { font-style: normal; color: #C81E36; font-weight: 700; }
.gb-tpl-regions { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.gb-tpl-regions span { font-size: 9px; color: #74716C; background: #fff; border: 1px solid #F1EDE9; border-radius: 5px; padding: 2px 6px; }
.gb-tpl-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.gb-tpl-edit-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 12px 0 7px; }
.gb-tpl-edit-head b { font-size: 11.5px; }
.gb-tpl-edit-head span { font-size: 9px; color: #B4AEA8; }
.gb-tpl-region-row { display: grid; grid-template-columns: 1.1fr 2fr .9fr 30px; gap: 5px; margin-bottom: 6px; }
.gb-tpl-region-row input { border: 1px solid #EFEBE7; background: #FAF8F6; border-radius: 8px; padding: 8px; font-size: 11px; outline: 0; width: 100%; box-sizing: border-box; }
.gb-tpl-region-row button { border: 0; background: #FDECEC; color: #D33A3A; border-radius: 8px; display: grid; place-items: center; }
.gb-ship-body { padding: 2px 16px 0; }
.gb-ship-order { display: flex; gap: 9px; align-items: center; background: #FAF7F5; border-radius: 11px; padding: 9px; margin-bottom: 9px; }
.gb-ship-cover { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; background: #fff; display: grid; place-items: center; color: #D3CEC8; flex: none; }
.gb-ship-cover img { width: 100%; height: 100%; object-fit: cover; }
.gb-ship-order b { font-size: 11.5px; display: block; }
.gb-ship-order span { font-size: 9.5px; color: #A4A09A; }
.gb-ship-addr { display: flex; align-items: flex-start; gap: 4px; font-size: 10px; color: #8C877F; line-height: 1.6; background: #FBF8F6; border-radius: 9px; padding: 8px 9px; margin-bottom: 10px; }

/* ---------------- 发布 / 编辑 ---------------- */
.gb-pub-tip { display: flex; align-items: center; gap: 4px; font-size: 10px; opacity: .86; margin-top: 10px; position: relative; z-index: 1; }
.gb-pub-body { display: flex; flex-direction: column; gap: 11px; padding-bottom: 12px; }
.gb-form-card { background: #fff; border-radius: 16px; padding: 13px 14px; }
.gb-form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 10px; }
.gb-form-head b { font-size: 13.5px; }
.gb-form-head span { font-size: 9.5px; color: #B4AEA8; }
.gb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 9px; }
.gb-img-list { display: flex; gap: 7px; flex-wrap: wrap; }
.gb-img-item { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #F8F3F1; }
.gb-img-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-img-item span { position: absolute; left: 0; bottom: 0; font-size: 8px; color: #fff; background: rgba(232, 56, 79, .86); padding: 1px 5px; border-radius: 0 6px 0 6px; }
.gb-img-item button { position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; display: grid; place-items: center; }
.gb-img-add { width: 72px; height: 72px; border: 1px dashed #E4DDD7; border-radius: 10px; background: #FBF8F6; color: #B4AEA8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 9px; }
.gb-spec-g { background: #FCF8F7; border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.gb-spec-g-head { display: flex; align-items: center; gap: 7px; }
.gb-spec-g-head input { flex: 1; border: 1px solid #EFEBE7; background: #fff; border-radius: 8px; padding: 8px 9px; font-size: 11.5px; outline: 0; min-width: 0; }
.gb-spec-g-head button { border: 0; background: #FDECEC; color: #D33A3A; border-radius: 8px; padding: 7px 9px; font-size: 10px; flex: none; display: flex; align-items: center; gap: 2px; }
.gb-spec-vals { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.gb-spec-chip { display: inline-flex; align-items: center; gap: 3px; background: #fff; border: 1px solid #F1E3E3; color: #C81E36; border-radius: 999px; padding: 4px 5px 4px 9px; font-size: 10.5px; }
.gb-spec-chip button { border: 0; background: transparent; color: #C9A0A5; font-size: 13px; padding: 0 2px; line-height: 1; }
.gb-spec-add { display: flex; gap: 5px; }
.gb-spec-add input { border: 1px solid #EFEBE7; background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 10.5px; outline: 0; width: 108px; }
.gb-spec-add button { border: 0; background: #FFF0F2; color: #C81E36; border-radius: 999px; padding: 5px 10px; font-size: 10.5px; font-weight: 700; }
.gb-sku-wrap { overflow-x: auto; margin-top: 4px; }
.gb-sku-table { width: 100%; border-collapse: collapse; font-size: 11px; min-width: 320px; }
.gb-sku-table th { text-align: left; color: #A4A09A; font-weight: 400; font-size: 9.5px; padding: 7px 5px; border-bottom: 1px solid #F4F0EC; }
.gb-sku-table td { padding: 6px 5px; border-bottom: 1px dashed #F6F2EE; }
.gb-sku-table td b { font-size: 11px; display: block; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gb-sku-table input { width: 100%; box-sizing: border-box; border: 1px solid #EFEBE7; background: #FAF8F6; border-radius: 7px; padding: 6px 7px; font-size: 11px; outline: 0; }
.gb-radio-row { display: flex; gap: 8px; margin-bottom: 10px; }
.gb-radio { flex: 1; border: 1px solid #EFEBE7; background: #fff; color: #6B6560; border-radius: 10px; padding: 9px; font-size: 11.5px; }
.gb-radio.on { border-color: #E8384F; color: #C81E36; background: #FFF0F2; font-weight: 700; }
.gb-tpl-link { display: inline-flex; align-items: center; gap: 2px; font-size: 10.5px; color: #C81E36; text-decoration: none; padding: 3px 0 5px; }
.gb-de-block { background: #FCF8F7; border-radius: 11px; padding: 9px; margin-bottom: 8px; }
.gb-de-block textarea { width: 100%; box-sizing: border-box; border: 1px solid #EFEBE7; background: #fff; border-radius: 8px; padding: 8px 9px; font-size: 11.5px; outline: 0; font-family: inherit; resize: vertical; }
.gb-de-img { position: relative; border-radius: 9px; overflow: hidden; }
.gb-de-img img { display: block; width: 100%; }
.gb-de-img button { position: absolute; right: 7px; bottom: 7px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 9.5px; padding: 5px 9px; display: flex; align-items: center; gap: 3px; }
.gb-de-actions { display: flex; gap: 6px; margin-top: 6px; }
.gb-de-actions button { border: 0; background: #fff; color: #8C877F; border-radius: 7px; padding: 4px 9px; font-size: 9.5px; }
.gb-de-actions button.danger { background: #FDECEC; color: #D33A3A; }
.gb-de-actions button:disabled { opacity: .4; }
.gb-de-add { display: flex; gap: 8px; }
.gb-de-add .gb-btn { flex: 1; padding: 9px; font-size: 11.5px; }
.gb-share-img-row { display: flex; align-items: center; gap: 10px; }
.gb-share-img { width: 74px; height: 74px; border-radius: 10px; overflow: hidden; background: #FAF7F5; display: grid; place-items: center; color: #B4AEA8; font-size: 9.5px; flex: none; }
.gb-share-img img { width: 100%; height: 100%; object-fit: cover; }
.gb-pub-pad { height: calc(78px + env(safe-area-inset-bottom)); }
.gb-pub-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-top: 1px solid #F1EDE9; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); }
.gb-pub-foot span { font-size: 10px; color: #A4A09A; }
.gb-pub-foot .gb-btn { flex: none; padding: 11px 22px; }

/* ---------------- 首页入口卡 ---------------- */
.gb-entry {
  position: relative; display: block; margin-top: 14px;
  background: linear-gradient(150deg, #FFF7F5, #FFE9E7 60%, #FFD9D6);
  border: 1px solid #FAD5D2; border-radius: 18px; padding: 14px;
  overflow: hidden; text-decoration: none;
}
.gb-entry::after {
  content: ''; position: absolute; right: -30px; top: -34px;
  width: 118px; height: 118px; border-radius: 50%;
  background: color-mix(in srgb, var(--gbet) 15%, transparent);
}
.gb-entry-top { display: flex; align-items: flex-start; gap: 10px; position: relative; z-index: 2; }
.gb-entry-top > div:first-child { flex: 1; min-width: 0; }
.gb-entry-kicker { font-size: 9px; letter-spacing: 1.5px; color: #C06B72; font-weight: 800; }
.gb-entry-title { font-size: 18px; font-weight: 800; color: #5A2328; margin-top: 3px; }
.gb-entry-title span { font-size: 10px; font-weight: 700; color: var(--gbet); background: #fff; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.gb-entry-sub { font-size: 10.5px; color: #B08084; margin-top: 4px; }
.gb-entry-count { text-align: right; flex: none; }
.gb-entry-count b { display: block; font-size: 24px; font-weight: 800; color: var(--gbet); line-height: 1.1; }
.gb-entry-count span { font-size: 9px; color: #B08084; }
.gb-entry-tags { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin-top: 10px; position: relative; z-index: 2; }
.gb-entry-tags span { display: inline-flex; align-items: center; gap: 2px; font-size: 9.5px; color: #8C5A5E; background: rgba(255, 255, 255, 0.75); border-radius: 6px; padding: 3px 7px; }
.gb-entry-more { margin-left: auto; color: var(--gbet) !important; background: transparent !important; font-weight: 700; }
.gb-entry-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 9px; font-size: 9px; color: #A87A7E; position: relative; z-index: 2; }
.gb-entry-foot span { display: inline-flex; align-items: center; gap: 2px; }

/* ---------------- 适配 ---------------- */
@media (min-width: 720px) {
  .gb-page { max-width: 720px; margin: 0 auto; }
  .gb-list { display: grid; grid-template-columns: 1fr 1fr; }
  .gb-card-cover { aspect-ratio: 1.6 / 1; }
  .gb-modules { grid-template-columns: repeat(10, 1fr); }
  .gb-body { padding: 14px 18px 0; }
  .gb-subnav, .gb-buybar, .gb-order-foot, .gb-pub-foot { max-width: 720px; }
  .gb-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .gb-detail-body .gb-price-card, .gb-detail-body .gb-title-card, .gb-detail-body .gb-mygroup,
  .gb-detail-body .gb-groups, .gb-detail-body .gb-detail-content, .gb-detail-body .gb-merchant-card,
  .gb-detail-body .gb-rules { grid-column: 1 / -1; }
  .gb-gallery-main { aspect-ratio: 2.2 / 1; }
  .gb-mstats { grid-template-columns: repeat(8, 1fr); }
  .gb-mactions { grid-template-columns: repeat(4, 1fr); }
  .gb-pub-body { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .gb-pub-body > section:nth-child(3) { grid-column: 1 / -1; }
  .gb-pub-body > section:nth-child(5) { grid-column: 1 / -1; }
}
