:root {
  --red: #e20404;
  --hot: #ff3b1f;
  --pink: #ff1f62;
  --orange: #ff7a00;
  --ink: #20232a;
  --muted: #858995;
  --bg: #f4f4f4;
  --line: #eeeeee;
  --tabbar-height: 68px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #e9e9e9; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
}
button, input, textarea { font: inherit; }
button { border: 0; cursor: pointer; }

#app {
  width: min(430px, 100vw);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}

.page { min-height: 100vh; padding-bottom: 156px; }
.card {
  margin: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 20, 30, .04);
}

.hero {
  position: relative;
  padding: 14px 14px 18px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255,255,255,.2), transparent 24%),
    linear-gradient(160deg, var(--pink), var(--red) 58%, var(--orange));
  color: #fff;
}

.brand-row {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-row img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.92);
}
.brand-row b { font-size: 17px; }
.brand-row span {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 12px;
}

.brand-stack {
  height: auto;
  min-height: 48px;
  align-items: center;
}

.brand-stack img {
  width: 42px;
  height: 42px;
}

.brand-stack div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.brand-stack b {
  font-size: 18px;
  line-height: 1.15;
}

.brand-stack em {
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-style: normal;
  line-height: 1.25;
  white-space: nowrap;
}

.home-page {
  background: #f1f2f6;
}

.home-hero {
  padding: 14px 14px 16px;
  background:
    radial-gradient(circle at 86% 8%, rgba(255,255,255,.22), transparent 24%),
    linear-gradient(150deg, #ff1652 0%, var(--red) 58%, #ff5a24 100%);
  color: #fff;
}

.home-live {
  width: max-content;
  max-width: 92%;
  margin: 7px 0 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(70, 0, 0, .26);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.home-live i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}

.home-banner {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  color: #20242b;
  display: block;
  box-shadow: 0 12px 30px rgba(100,0,0,.16);
}

.home-banner img {
  width: 100%;
  aspect-ratio: 5 / 2;
  display: block;
  object-fit: cover;
}

.home-banner .cover,
.home-banner .photo-cover,
.home-banner .photo-cover .cover-main {
  width: 132px;
  height: 132px;
  min-height: 132px;
  border-radius: 12px;
}

.home-banner .cover span {
  display: none;
}

.home-banner div > span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.home-banner h1 {
  margin: 8px 0 6px;
  font-size: 20px;
  line-height: 1.35;
}

.home-banner p {
  margin: 0 0 8px;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
}

.home-banner b {
  color: #f4003c;
  font-size: 30px;
}

.home-banner b em {
  margin-left: 2px;
  font-size: 13px;
  font-style: normal;
}

.home-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.home-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
}

.home-dots button.active {
  width: 20px;
  background: #fff;
}

.home-groups-list {
  padding-top: 12px;
}

.home-groups-list .group-list-card {
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 150px;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 24, 34, .05);
  cursor: pointer;
  touch-action: manipulation;
}

.home-groups-list .group-list-card:active {
  opacity: .92;
  transform: scale(.995);
}

.home-groups-list .group-list-cover .cover,
.home-groups-list .group-list-cover .photo-cover,
.home-groups-list .group-list-cover .photo-cover .cover-main {
  width: 120px;
  height: 120px;
  min-height: 120px;
  border-radius: 12px;
}

.home-groups-list .group-list-cover em,
.home-groups-list .group-list-tags,
.home-groups-list .group-list-progress,
.home-groups-list .group-list-price i {
  display: none !important;
}

.home-groups-list .group-list-info h2 {
  margin-top: 2px;
  -webkit-line-clamp: 2;
}

.home-groups-list .home-team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 11px;
}

.home-groups-list .home-team-meta span {
  padding: 4px 7px;
  border-radius: 7px;
  background: #f7f8fa;
  color: #6b7280;
  font-size: 11px;
}

.home-groups-list .group-list-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-groups-list .group-list-price button {
  margin-left: auto;
  width: 48px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff4d2e);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.group-empty-tip {
  padding: 14px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7f7, #fff);
  border: 1px solid #ffe1e1;
}

.group-empty-tip b {
  display: block;
  color: #222;
  font-size: 15px;
}

.group-empty-tip p {
  margin: 6px 0 12px;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
}

.group-empty-tip button {
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff552f);
  color: #fff;
  font-weight: 900;
}

.checkout-team-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 3px solid var(--red);
  background: #fffafa;
}

.checkout-team-mode b {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 16px;
}

.checkout-team-mode span {
  color: #666;
  font-size: 13px;
  line-height: 1.45;
}

.buy-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.buy-flow span {
  position: relative;
  min-width: 0;
  padding: 12px 7px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff9f9, #fff);
  text-align: center;
  border: 1px solid #ffe5e5;
}

.buy-flow i {
  width: 24px;
  height: 24px;
  margin: 0 auto 7px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.buy-flow b,
.buy-flow em {
  display: block;
}

.buy-flow b {
  color: #20242b;
  font-size: 13px;
  font-weight: 900;
}

.buy-flow em {
  margin-top: 4px;
  color: #777;
  font-size: 11px;
  font-style: normal;
  line-height: 1.3;
}

.live {
  width: max-content;
  max-width: 92%;
  margin: 6px 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(70, 0, 0, .28);
  font-size: 13px;
}
.live i {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}

.cover {
  position: relative;
  min-height: 230px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,238,238,.96)),
    #fff;
  color: var(--red);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}
.cover::before {
  content: "";
  position: absolute;
  inset: auto -42px -64px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(226, 4, 4, .1);
}
.cover img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.cover b {
  max-width: 92%;
  color: #111;
  font-size: 26px;
  line-height: 1.2;
}
.cover span {
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
}
.photo-cover {
  padding: 0;
  min-height: 230px;
  background: #fff;
}
.photo-cover::before {
  display: none;
}
.photo-cover img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  margin: 0;
  border-radius: inherit;
  object-fit: contain;
  background: #fff;
}
.cover-bg {
  display: none;
}
.photo-cover span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  background: rgba(226,4,4,.92);
}
.photo-cover .image-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .48);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.price-bar {
  min-height: 88px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #ff4928, #ff174f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-bar small { display: block; opacity: .88; }
.price-bar b { font-size: 36px; line-height: 1; }
.price-bar del { margin-left: 8px; opacity: .7; }
.price-bar span {
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  color: var(--red);
  font-weight: 900;
}

.wechat-strip {
  margin: 0;
  padding: 8px 12px;
  background: #fff7e8;
  color: #b25b00;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.environment-tip {
  margin: 10px 12px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(226, 4, 4, .07);
  border: 1px solid rgba(226, 4, 4, .08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.environment-tip i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), #ff5a20);
  box-shadow: 0 8px 18px rgba(226, 4, 4, .22);
}

.environment-tip div {
  min-width: 0;
}

.environment-tip b {
  display: block;
  color: #1f1f1f;
  font-size: 13px;
  line-height: 1.3;
}

.environment-tip p {
  margin: 2px 0 0;
  color: #858585;
  font-size: 12px;
  line-height: 1.35;
}

.environment-tip.wechat {
  background: linear-gradient(135deg, #fff, #fff4f4);
}

.environment-tip.copy i {
  background: linear-gradient(135deg, #2f2f35, #6b6b72);
}

.title-card h1 { margin: 0; font-size: 23px; line-height: 1.35; }
.title-card p { margin: 10px 0; color: var(--muted); font-size: 15px; }
.stats,
.detail-brief { display: flex; gap: 8px; flex-wrap: wrap; }
.stats span,
.detail-brief span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f6f7f9;
  color: #5f6673;
  font-size: 12px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-head b { font-size: 18px; }
.section-head span { color: var(--red); font-weight: 900; }

.group-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px 1fr 108px 86px;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.group-row:first-of-type { border-top: 0; }
.group-row i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd24d, var(--red));
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}
.group-row strong { font-size: 15px; }
.group-row span { text-align: right; color: #444; font-size: 13px; }
.group-row span b { color: var(--red); }
.group-row em { color: var(--muted); font-style: normal; }
.group-row button {
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5834, #ff164f);
  color: #fff;
  font-weight: 900;
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.include-grid span {
  padding: 12px 10px;
  border-radius: 10px;
  background: #f7f8fa;
  text-align: center;
  font-size: 14px;
}
.detail-card p {
  margin: 0;
  color: #555;
  line-height: 1.75;
  white-space: pre-wrap;
}
.detail-card h3 {
  margin: 16px 0 8px;
  font-size: 16px;
}
.catalog-list {
  display: grid;
  gap: 8px;
}
.catalog-list span {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f8fa;
  color: #444;
  font-size: 14px;
}

.bottom-buy,
.pay-bar,
.pending-actions {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
  z-index: 20;
  width: min(430px, 100vw);
  transform: translateX(-50%);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.98);
  box-shadow: 0 -8px 24px rgba(0,0,0,.06);
}

.app-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(430px, 100vw);
  min-height: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
  padding: 7px 14px calc(7px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: rgba(255,255,255,.98);
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 -8px 24px rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.app-tabbar button {
  min-width: 0;
  min-height: 52px;
  border-radius: 14px;
  background: transparent;
  color: #7b808a;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  font-size: 12px;
}

.app-tabbar i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.app-tabbar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-tabbar .active {
  color: var(--red);
  font-weight: 900;
}

.app-tabbar .active i {
  background: linear-gradient(180deg, #fff4f4, #ffe7e7);
  color: var(--red);
  transform: translateY(-1px);
}
.bottom-buy {
  display: grid;
  grid-template-columns: 48px 48px 1fr 1.12fr;
  gap: 8px;
}
.bottom-buy button {
  min-height: 54px;
  border-radius: 16px;
  background: #fff;
  color: #666;
}
.bottom-buy > button:last-child:nth-child(3) { grid-column: 3 / -1; }
.bottom-buy i { display: block; font-style: normal; font-size: 24px; }
.bottom-buy svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bottom-buy span { font-size: 12px; }
.bottom-buy .buy-tool {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: #565b66;
  font-weight: 700;
}
.bottom-buy .buy-tool i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.bottom-buy .single,
.bottom-buy .group {
  color: #fff;
  display: grid;
  align-content: center;
  border-radius: 18px;
}
.bottom-buy .single { background: linear-gradient(90deg, #ffb7aa, #ff8c99); }
.bottom-buy .group { background: linear-gradient(90deg, #ff552f, #ff164f); }
.bottom-buy b { font-size: 20px; }

.simple-nav {
  height: 64px;
  padding: 0 14px;
  background: #fff;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  text-align: center;
}
.simple-nav button {
  background: transparent;
  font-size: 42px;
  line-height: 1;
}
.simple-nav b { font-size: 19px; }

.form-card label {
  min-height: 48px;
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.form-card label:last-child { border-bottom: 0; }
.form-card span { color: #777; }
.form-card input {
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 16px;
}
.checkout-address {
  cursor: pointer;
}
.checkout-address.empty-address {
  border: 1px dashed rgba(226,4,4,.28);
  background: #fffafa;
}
.checkout-address div,
.address-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkout-address b,
.address-item b {
  font-size: 18px;
}
.checkout-address span,
.address-item span {
  color: var(--red);
  font-weight: 900;
}
.checkout-address p,
.address-item p {
  margin: 9px 0 0;
  color: #777;
  line-height: 1.45;
}
.order-goods {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}
.order-goods .cover { min-height: 100px; padding: 8px; border-radius: 10px; }
.order-goods .cover img { width: 34px; height: 34px; margin-bottom: 4px; }
.order-goods .cover b { font-size: 13px; }
.order-goods .cover span { display: none; }
.order-goods h2 { margin: 0; font-size: 17px; line-height: 1.35; }
.order-goods p { margin: 8px 0; color: var(--muted); font-size: 13px; }
.order-goods b { color: var(--red); font-size: 22px; }

.price-list div {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.price-list div:last-child { border-bottom: 0; }
.price-list span { color: #777; }
.price-list strong { color: var(--red); font-size: 24px; }
.pay-bar {
  display: grid;
  grid-template-columns: 1fr 138px;
  gap: 12px;
  align-items: center;
}
.pay-bar b { color: var(--red); font-size: 28px; }
.pay-bar button {
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff552f, #ff164f);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.pending-top {
  min-height: 238px;
  padding: 22px 18px;
  text-align: center;
}
.pending-top > button:first-child {
  float: left;
  background: transparent;
  font-size: 44px;
}
.pending-top h1 { margin: 30px 0 20px; color: #ef4038; font-size: 30px; }
.pending-top p { margin: 0 0 24px; font-size: 18px; }
.pending-top p b { font-size: 22px; }
.pending-top > button:last-child,
.team-card > button {
  width: 180px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2545d, #ef3b2c);
  color: #fff;
  font-size: 20px;
}

.address-card {
  position: relative;
}
.address-card b { font-size: 19px; }
.address-card span {
  position: absolute;
  right: 16px;
  top: 18px;
}
.address-card p { margin: 10px 0 0; color: #777; line-height: 1.45; }

.pending-goods h2 { margin: 0 0 14px; font-size: 18px; }
.pending-goods > div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
}
.pending-goods .cover { min-height: 104px; padding: 8px; border-radius: 10px; }
.pending-goods .cover img { width: 34px; height: 34px; margin-bottom: 4px; }
.pending-goods .cover b { font-size: 13px; }
.pending-goods .cover span { display: none; }
.pending-goods h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.pending-goods p { color: #888; font-size: 13px; }
.pending-goods section > b { display: block; font-size: 23px; }
.pending-goods em { color: #e43d36; font-style: normal; font-weight: 900; }

.info-card p {
  min-height: 38px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.info-card span { color: #888; }
.info-card strong {
  display: block;
  margin-top: 16px;
  text-align: right;
  font-weight: 400;
}
.info-card em { color: #e43d36; font-style: normal; font-size: 22px; }
.payment-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.payment-card button {
  width: 100%;
  min-height: 50px;
  border-top: 1px solid var(--line);
  background: #fff;
  display: grid;
  grid-template-columns: 34px 1fr 66px;
  gap: 10px;
  align-items: center;
  text-align: left;
}
.payment-card button:first-of-type {
  border-top: 0;
}
.payment-card span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #eef9f0;
  color: #16a34a;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.payment-card button:nth-of-type(2) span {
  background: #fff1f1;
  color: var(--red);
}
.payment-card b {
  font-size: 16px;
}
.payment-card i {
  justify-self: end;
  color: #999;
  font-style: normal;
  font-size: 13px;
}
.payment-card .active i {
  color: var(--red);
  font-weight: 900;
}
.guess-title { text-align: center; font-size: 22px; }
.pending-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pending-actions button {
  height: 42px;
  border-radius: 999px;
  border: 1px solid #aaa;
  background: #fff;
}
.pending-actions .red {
  border-color: transparent;
  background: linear-gradient(90deg, #f2545d, #ef3b2c);
  color: #fff;
}

.team { background: #efefef; }
.team-hero {
  padding: 0 12px 0;
  background: linear-gradient(180deg, #ff1761, #ff6c35);
  color: #fff;
}
.team-hero header {
  height: 96px;
  display: grid;
  grid-template-columns: 60px 1fr 84px;
  align-items: center;
  text-align: center;
}
.team-hero header button { background: transparent; color: #fff; font-size: 46px; }
.team-hero header b { font-size: 28px; }
.team-hero h1 {
  margin: 26px 0;
  text-align: center;
  font-size: 36px;
  line-height: 1.1;
}
.team-product {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  color: #222;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
}
.team-product .cover { min-height: 110px; padding: 8px; border-radius: 8px; }
.team-product .cover img { width: 36px; height: 36px; margin-bottom: 4px; }
.team-product .cover b { font-size: 13px; }
.team-product .cover span { display: none; }
.team-product h2 { margin: 0 0 8px; font-size: 18px; }
.team-product p { margin: 0 0 6px; }
.team-product p span {
  margin-right: 4px;
  padding: 1px 5px;
  border: 1px solid var(--red);
  color: var(--red);
}
.team-product div > b { color: var(--red); font-size: 22px; }
.team-product del { margin-left: 8px; color: #888; }
.timer {
  height: 70px;
  margin-top: 14px;
  border-radius: 14px 14px 0 0;
  background: #fff7ef;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.timer b {
  padding: 5px 8px;
  border-radius: 6px;
  background: #e80045;
  color: #fff;
}

.team-card {
  margin: 0 12px;
  padding: 34px 18px 24px;
  border-radius: 0 0 14px 14px;
  background: #fff;
  text-align: center;
}
.team-card h2 { margin: 0; font-size: 24px; }
.team-card h2 b { color: #e80045; font-size: 31px; }
.team-card p { color: #777; }
.slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 28px 0;
}
.slots i,
.slots span {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}
.slots i { background: linear-gradient(135deg, #ffc449, #1686ff); color: #fff; border: 2px solid #e80045; }
.slots i em {
  position: absolute;
  bottom: -13px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e80045;
  color: #fff;
  font-size: 12px;
  font-style: normal;
}
.slots span { border: 2px dashed #bbb; color: #999; font-size: 38px; font-weight: 300; }
.team-progress {
  height: 9px;
  margin: -6px 8px 10px;
  border-radius: 999px;
  background: #ffe2e2;
  overflow: hidden;
}
.team-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--orange));
}
.team-progress-text {
  margin-bottom: 16px;
  color: #777;
  font-size: 14px;
}
.team-progress-text b {
  color: var(--red);
  font-size: 18px;
}

.team-fission-card {
  margin: 12px 0 16px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7f7, #fff);
  border: 1px solid rgba(226, 4, 4, .08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.team-fission-card div {
  min-height: 52px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  align-content: center;
  gap: 3px;
  box-shadow: 0 6px 16px rgba(226, 4, 4, .06);
}

.team-fission-card span {
  color: #8c8c8c;
  font-size: 11px;
  font-weight: 800;
}

.team-fission-card b {
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
}

.team-action-card {
  margin: 12px 0 16px;
  padding: 14px;
  border-radius: 14px;
  background: #fff8f8;
  border: 1px solid rgba(226, 4, 4, .1);
  text-align: left;
}

.team-action-card b {
  display: block;
  color: #222;
  font-size: 15px;
  font-weight: 950;
}

.team-action-card p {
  margin: 6px 0 12px;
  color: #666;
  font-size: 13px;
  line-height: 1.55;
}

.team-action-card button {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4b2a, var(--red));
  color: #fff;
  font-weight: 900;
}

.team-fail-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
}

.team-fail-actions button {
  height: 40px;
  font-size: 12px;
}

.team-action-card.success,
.team-action-card.done {
  background: #fff;
}

.team-action-card.urgent {
  background: linear-gradient(180deg, #fff4eb, #fff);
  border-color: rgba(255, 103, 24, .18);
}

.team-card > button { width: 100%; background: linear-gradient(90deg, #ff2b08, #ff7200); font-weight: 900; }
.team-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
  padding: 0 2px;
}
.team-cta-row button {
  width: 100%;
  height: 46px;
  min-width: 0;
  margin: 0;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.team-cta-row button span {
  position: relative;
  z-index: 1;
}

.team-cta-row .join-btn {
  background: linear-gradient(135deg, #ff4a2f 0%, var(--red) 78%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(226, 4, 4, .22);
}

.team-cta-row .join-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.28), transparent 38%, transparent);
}

.team-cta-row .invite-btn {
  background: #fff2f2;
  color: var(--red);
  border: 1px solid rgba(226, 4, 4, .14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.team-cta-row .invite-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team-cta-row .invite-btn span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}
.team-card .ghost-team {
  margin-top: 10px;
  background: #fff4ef;
  color: #ff3b1f;
}
.delivery-box {
  margin: 18px 0 14px;
  padding: 14px;
  border-radius: 12px;
  background: #fff7f2;
  text-align: left;
  word-break: break-all;
}
.delivery-box b {
  color: var(--red);
}
.delivery-box p {
  margin: 6px 0 12px;
  color: #333;
}
.timeout-box {
  margin: 18px 0 14px;
  padding: 14px;
  border-radius: 12px;
  background: #fff7e8;
  color: #7a4a00;
  text-align: left;
}
.timeout-box b {
  display: block;
  margin-bottom: 6px;
  color: #d05c00;
}
.timeout-box p {
  margin: 0;
  color: #7a4a00;
  line-height: 1.65;
}
.delivery-mini {
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff1f1;
  color: var(--red);
}
.delivery-mini.warn {
  background: #fff7e8;
  color: #d05c00;
}

.delivery-mini.warning {
  background: #fff7e8;
  color: #d05c00;
}
.rules {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-weight: 900;
}
.rules small { display: block; margin-top: 5px; color: #888; font-weight: 400; }

.team-order-card {
  margin: 16px 12px 0;
  padding: 18px 18px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(24,28,38,.045);
}

.team-order-head {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.team-order-head h2 {
  margin: 0;
  color: #20242b;
  font-size: 22px;
  font-weight: 900;
}

.team-order-head button {
  height: auto;
  padding: 0;
  background: transparent;
  color: #8b8f98;
  font-size: 16px;
  font-weight: 700;
}

.team-order-card dl {
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.team-order-card dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  align-items: start;
}

.team-order-card dt,
.team-order-card dd {
  margin: 0;
  line-height: 1.45;
  font-size: 16px;
}

.team-order-card dt {
  color: #777;
}

.team-order-card dd {
  color: #60646c;
  word-break: break-all;
}

.groups-page {
  background: #f1f2f6;
}

.groups-hero {
  padding: 18px 14px 12px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255,255,255,.22), transparent 22%),
    linear-gradient(135deg, #ff084b 0%, var(--red) 58%, #ff3b1f 100%);
  color: #fff;
}

.groups-hero header {
  height: 48px;
  display: grid;
  grid-template-columns: 42px 1fr 52px;
  align-items: center;
}

.groups-hero header button {
  background: transparent;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.groups-hero header b {
  justify-self: center;
  font-size: 22px;
  font-weight: 900;
}

.groups-hero header span {
  justify-self: end;
  opacity: .9;
  font-size: 13px;
}

.groups-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: end;
  text-align: center;
}

.groups-tabs button {
  min-height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.88);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
}

.groups-tabs button.active {
  background: #fff;
  color: var(--red);
  font-size: 17px;
  font-weight: 900;
}

.groups-list {
  padding: 12px 10px 16px;
}

.group-list-card {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 12px;
  box-shadow: 0 4px 16px rgba(24,28,38,.045);
}

.group-list-cover {
  position: relative;
}

.group-list-cover .cover,
.group-list-cover .photo-cover,
.group-list-cover .photo-cover .cover-main {
  width: 138px;
  height: 138px;
  min-height: 138px;
  border-radius: 10px;
}

.group-list-cover .cover span {
  display: none;
}

.group-list-cover em {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f81255;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.group-list-info {
  min-width: 0;
  display: grid;
  align-content: start;
}

.group-list-info h2 {
  margin: 0;
  color: #171a20;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 900;
}

.group-list-info h2 span {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #ff3527;
  color: #fff;
  font-size: 13px;
}

.group-list-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.group-list-tags span {
  padding: 2px 6px;
  border: 1px solid #ffb4b4;
  border-radius: 5px;
  color: var(--red);
  background: #fff7f7;
  font-size: 12px;
}

.home-team-meta {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.home-team-meta span {
  min-width: 0;
  height: 24px;
  border-radius: 7px;
  background: #fff4f4;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.group-list-price {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.group-list-price b {
  color: #f4003c;
  font-size: 27px;
  line-height: 1;
}

.group-list-price i {
  padding: 1px 5px;
  border: 1px solid #ff6d8a;
  border-radius: 999px;
  color: #f4003c;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.group-list-price del {
  color: #8c8f96;
  font-size: 13px;
}

.group-list-progress {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto 48px;
  gap: 8px;
  align-items: center;
}

.group-list-progress > div {
  height: 17px;
  border-radius: 999px;
  background: #ffd5db;
  overflow: hidden;
}

.group-list-progress > div span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: repeating-linear-gradient(135deg, #ff351e 0 9px, #ff0d59 9px 18px);
}

.group-list-progress p {
  margin: 0;
  color: #f4003c;
  font-size: 12px;
  white-space: nowrap;
}

.group-list-progress button {
  height: 36px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #ff1a52, var(--red));
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.group-empty {
  margin: 20px 2px;
}

.more { padding: 26px 12px; }
.more h2 { text-align: center; }
.more article {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  grid-template-columns: 92px 1fr 86px;
  gap: 12px;
  align-items: center;
}
.more .cover { min-height: 92px; padding: 6px; border-radius: 8px; }
.more .cover img { width: 30px; height: 30px; margin-bottom: 3px; }
.more .cover b { font-size: 12px; }
.more .cover span { display: none; }
.more h3 { margin: 0 0 8px; font-size: 16px; }
.more b { color: var(--red); }
.more button {
  height: 42px;
  border-radius: 999px;
  background: #e80045;
  color: #fff;
  font-weight: 900;
}

.order-item div {
  display: flex;
  justify-content: space-between;
}
.order-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 10px 12px;
  background: rgba(244,244,244,.96);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.order-tabs::-webkit-scrollbar {
  display: none;
}
.order-tabs button {
  flex: 0 0 auto;
  min-width: 72px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  color: #666;
  font-weight: 800;
}
.order-tabs button.active {
  background: var(--red);
  color: #fff;
}
.order-item span { color: var(--red); font-weight: 900; }
.order-actions-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}
.order-item button {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
}
.order-actions-mini button + button {
  background: #fff1f1;
  color: var(--red);
}
.profile {
  background: linear-gradient(180deg, #fff5f5 0, #f6f7f9 210px);
}
.profile-hero {
  margin: 10px 12px 10px;
  padding: 18px 16px;
  border: 1px solid rgba(226,4,4,.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 8%, rgba(226,4,4,.08), transparent 26%),
    linear-gradient(135deg, #fff, #fff7f7);
  color: #20242c;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 24px rgba(36, 42, 55, .05);
  cursor: pointer;
}
.profile-hero img,
.profile-hero i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff;
  box-shadow: 0 6px 16px rgba(226,4,4,.12);
}
.profile-hero i {
  color: var(--red);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 24px;
  font-weight: 900;
}
.profile-hero b {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}
.profile-hero span,
.profile-hero em {
  display: block;
  margin-top: 5px;
  color: #767d89;
  font-size: 12px;
  font-style: normal;
}
.profile-hero em {
  color: var(--red);
  font-weight: 800;
}
.profile-order-card,
.profile-card {
  margin: 10px 12px 0;
  padding: 14px;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 41, 55, .04);
}
.profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.profile-section-head b {
  color: #20242c;
  font-size: 16px;
}
.profile-section-head button,
.profile-section-head span {
  color: #8a909b;
  font-size: 12px;
  background: transparent;
}
.profile-order-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.profile-order-grid button {
  min-height: 58px;
  border-radius: 12px;
  background: #fafbfc;
  text-align: center;
}
.profile-order-grid b {
  display: block;
  color: var(--red);
  font-size: 20px;
}
.profile-order-grid span {
  display: block;
  margin-top: 3px;
  color: #68707d;
  font-size: 12px;
}
.profile-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.profile-card button {
  width: 100%;
  min-height: 112px;
  padding: 14px 12px;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 34px auto auto;
  row-gap: 8px;
  align-items: start;
  text-align: left;
  box-shadow: 0 8px 20px rgba(31, 41, 55, .04);
}
.profile-card button:last-child {
  border-bottom: 1px solid #eef0f4;
}
.profile-card i {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff2f2, #fff);
  color: var(--red);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(226,4,4,.08);
}
.profile-card b {
  color: #252b35;
  font-size: 16px;
  line-height: 1.2;
}
.profile-card span {
  color: #7a8190;
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.profile-tip b {
  font-size: 17px;
}
.profile-tip p {
  margin: 8px 0 0;
  color: #777;
  line-height: 1.6;
}

.points-entry-card {
  margin: 10px 12px 0;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7f0, #fff);
  border: 1px solid rgba(226, 4, 4, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(226, 4, 4, .07);
}

.points-entry-card span,
.points-hero span {
  color: #8a8f99;
  font-size: 13px;
  font-weight: 800;
}

.points-entry-card b {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 28px;
}

.points-entry-card p {
  margin: 4px 0 0;
  color: #666;
  font-size: 12px;
}

.points-entry-card button {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.rewards-page {
  min-height: 100vh;
  padding-bottom: 26px;
  background: linear-gradient(180deg, #fff3f3 0, #f6f7f9 260px);
}

.points-hero {
  position: relative;
  margin: 12px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 0, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(135deg, #e20404 0%, #ff4428 56%, #ff7a22 100%);
  box-shadow: 0 18px 42px rgba(226, 4, 4, .22);
  overflow: hidden;
}

.points-hero::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 28px solid rgba(255,255,255,.12);
}

.points-hero-top,
.points-hero-actions,
.points-balance,
.points-hero p {
  position: relative;
  z-index: 1;
}

.points-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.points-hero-top span,
.points-hero-top em {
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.points-hero-top em {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}

.points-balance {
  margin-top: 18px;
}

.points-balance b {
  display: block;
  font-size: 52px;
  line-height: .95;
  letter-spacing: 0;
}

.points-balance span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.points-hero p {
  max-width: 300px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  line-height: 1.6;
}

.points-next-goal {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.points-next-goal div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.points-next-goal b {
  flex: 0 0 auto;
}

.points-next-goal i {
  display: block;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  overflow: hidden;
}

.points-next-goal em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,.45);
}

.points-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.points-hero-actions button {
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--red);
  font-weight: 900;
}

.points-task-card,
.reward-list,
.points-flow-card,
.points-record-wrap {
  margin: 12px;
}

.points-task-card,
.points-flow-card,
.points-log-card {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 24, 35, .05);
}

.points-flow-card {
  border: 1px solid rgba(226, 4, 4, .06);
}

.points-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.points-flow-steps article {
  position: relative;
  min-width: 0;
  padding: 10px 6px;
  border-radius: 12px;
  background: #fafbfc;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.points-flow-steps i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5b36, var(--red));
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 7px 16px rgba(226, 4, 4, .16);
}

.points-flow-steps b {
  color: #242934;
  font-size: 12px;
}

.points-flow-steps span {
  color: #8b929d;
  font-size: 10px;
  line-height: 1.35;
}

.points-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.points-section-head b {
  color: #20242c;
  font-size: 17px;
}

.points-section-head span {
  color: #8a8f99;
  font-size: 12px;
}

.points-task-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.points-task-grid article {
  min-height: 86px;
  padding: 10px 6px;
  border-radius: 13px;
  background: linear-gradient(180deg, #fff8f6, #fff);
  border: 1px solid #fff0ec;
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
}

.points-task-grid i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.points-task-grid b {
  color: #333946;
  font-size: 12px;
}

.points-task-grid span {
  color: var(--red);
  font-size: 15px;
  font-weight: 950;
}

.reward-card {
  margin-top: 10px;
  padding: 13px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 88px;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 24px rgba(20, 24, 35, .06);
  border: 1px solid #f1f2f5;
}

.reward-card > i {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 72% 20%, rgba(255,255,255,.9), transparent 24%),
    linear-gradient(135deg, #ffe7e7, #fff);
  color: var(--red);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(226,4,4,.08);
}

.reward-card b,
.reward-card span,
.reward-card em {
  display: block;
}

.reward-card b {
  color: #20242c;
  font-size: 15px;
  line-height: 1.35;
}

.reward-card span,
.reward-card em {
  margin-top: 4px;
  color: #7b818c;
  font-size: 12px;
  font-style: normal;
}

.reward-card em {
  color: var(--red);
  font-weight: 800;
}

.reward-card button {
  min-width: 0;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4b2a, var(--red));
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(226,4,4,.18);
}

.reward-card button.disabled {
  background: #eef0f4;
  color: #9aa1ad;
  box-shadow: none;
}

.reward-card button.disabled::after {
  content: "";
}

.points-record-wrap {
  display: grid;
  gap: 12px;
}

.points-log-card p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #f2f2f2;
  color: #666;
}

.points-log-card p:last-child {
  border-bottom: 0;
}

.points-log-card p span {
  min-width: 0;
  color: #333946;
  font-size: 14px;
}

.points-log-card p span em {
  display: block;
  margin-top: 3px;
  color: #9aa1ad;
  font-size: 11px;
  font-style: normal;
}

.points-log-card p b {
  flex: 0 0 auto;
  color: var(--red);
}

.points-log-card p b.minus {
  color: #60646f;
}

.claim-list {
  display: grid;
  gap: 10px;
}

.claim-card {
  padding: 11px;
  border-radius: 14px;
  background: #fbfcfe;
  border: 1px solid #f0f1f5;
}

.claim-card.done {
  background: #fbfffc;
  border-color: #def4e5;
}

.claim-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.claim-card-head span {
  min-width: 0;
  color: #303541;
  font-size: 14px;
  font-weight: 800;
}

.claim-card-head span em {
  display: block;
  margin-top: 4px;
  color: #9aa1ad;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.claim-card-head b {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--red);
  font-size: 11px;
}

.claim-flow {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.claim-flow span {
  min-width: 0;
  height: 24px;
  border-radius: 999px;
  background: #eef0f4;
  color: #9aa1ad;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}

.claim-flow span.done {
  background: #fff0f0;
  color: var(--red);
}

.claim-flow.cancelled {
  grid-template-columns: repeat(2, 1fr);
}

.claim-card button {
  width: 100%;
  height: 38px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5b2f, var(--red));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(226, 4, 4, .13);
}

.rewards-page .mini-empty {
  margin: 10px 0 0;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  color: #8a8f99;
  box-shadow: 0 10px 24px rgba(20, 24, 35, .05);
}

.address-page {
  background: var(--bg);
}
.address-form label {
  min-height: 52px;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.address-form label span {
  color: #777;
}
.address-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 15px;
}
.address-form button {
  width: 100%;
  height: 48px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff552f, #ff164f);
  color: #fff;
  font-weight: 900;
}
.address-list {
  padding-bottom: 16px;
}
.mini-empty {
  margin-top: 12px;
  padding: 24px;
}
.empty {
  margin: 80px 20px;
  padding: 40px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  color: #888;
}

.exception-page {
  min-height: 100vh;
  padding: 96px 18px 32px;
  background:
    radial-gradient(circle at 80% 0%, rgba(226, 4, 4, .12), transparent 34%),
    linear-gradient(180deg, #fff7f7 0%, #f6f7f9 42%, #f6f7f9 100%);
}

.exception-card {
  max-width: 360px;
  margin: 0 auto;
  padding: 34px 22px 24px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 46px rgba(20, 24, 35, .08);
  border: 1px solid rgba(226, 4, 4, .08);
}

.exception-card i {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), #ff6422);
  color: #fff;
  font-style: normal;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(226, 4, 4, .24);
}

.exception-card h1 {
  margin: 0;
  color: #17181c;
  font-size: 22px;
  line-height: 1.35;
}

.exception-card p {
  margin: 10px auto 22px;
  color: #7b7f89;
  font-size: 14px;
  line-height: 1.7;
}

.exception-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.exception-card button {
  height: 42px;
  border: 1px solid #e7e9ef;
  border-radius: 999px;
  background: #fff;
  color: #4d525c;
  font-weight: 900;
}

.exception-card button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--red), #ff4b21);
  color: #fff;
  box-shadow: 0 12px 22px rgba(226, 4, 4, .2);
}
.shelf-empty {
  margin: 34px 0 10px;
  color: #777;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  z-index: 99;
  transform: translateX(-50%);
  max-width: min(340px, 82vw);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20,20,24,.9);
  color: #fff;
  opacity: 0;
  transition: opacity .18s ease;
}
.toast.show { opacity: 1; }

.mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.42);
  display: grid;
  align-items: end;
}
.invite-sheet {
  width: min(430px, 100vw);
  margin: 0 auto;
  padding: 12px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #fff;
}

.share-guide {
  width: min(430px, 100vw);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  padding: 176px 18px 24px;
  overflow: hidden;
}

.share-hotspot {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 112px;
  height: 48px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow:
    0 0 0 10px rgba(255,255,255,.16),
    0 0 0 24px rgba(255,255,255,.08),
    0 14px 34px rgba(0,0,0,.22);
  animation: shareHotspotPulse 1.15s ease-in-out infinite;
}

.share-hotspot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.share-pointer {
  position: absolute;
  top: 70px;
  right: 54px;
  width: 166px;
  height: 122px;
  pointer-events: none;
  transform: rotate(-2deg);
}

.share-pointer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 2px 0 rgba(255,255,255,.25))
    drop-shadow(0 10px 18px rgba(0,0,0,.2));
  opacity: .96;
}

@media (max-width: 380px) {
  .share-pointer {
    right: 44px;
    width: 150px;
    height: 110px;
  }
}

@keyframes shareHotspotPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.share-guide-card {
  position: relative;
  padding: 24px 16px 16px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

.share-guide-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f4f5f7;
  color: #60646c;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}

.share-guide-card h2 {
  margin: 0;
  padding: 0 28px;
  color: #1f2329;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.share-guide-card p {
  margin: 10px 0 14px;
  color: #666c75;
  font-size: 14px;
  line-height: 1.6;
}

.share-guide-steps {
  margin: 10px 0 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.share-guide-steps span {
  min-height: 34px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.share-guide-countdown {
  margin: 10px 0 12px;
  padding: 10px;
  border-radius: 13px;
  background: #fff1f1;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.share-guide-countdown span {
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

.share-guide-countdown strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.share-guide-countdown b {
  min-width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 19px;
}

.share-guide-countdown i {
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.share-guide-card > button:not(.share-guide-close) {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff4b2a, var(--red));
  color: #fff;
  font-weight: 900;
}

.share-guide-card > .backup-link {
  margin-top: 9px;
  background: #fff1f1;
  color: var(--red);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #ddd;
}
.invite-sheet h2 {
  margin: 0;
  text-align: center;
  font-size: 22px;
}
.invite-sheet > p {
  margin: 8px 0 14px;
  color: #777;
  text-align: center;
  line-height: 1.5;
}
.invite-card {
  padding: 12px;
  border-radius: 14px;
  background: #fff5f5;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
}
.invite-card .cover {
  min-height: 96px;
  padding: 8px;
  border-radius: 10px;
}
.invite-card .cover img {
  width: 30px;
  height: 30px;
  margin-bottom: 4px;
}
.invite-card .cover b {
  font-size: 12px;
}
.invite-card .cover span {
  display: none;
}
.invite-card b,
.invite-card span,
.invite-card em {
  display: block;
}
.invite-card span {
  margin-top: 8px;
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}
.invite-card em {
  margin-top: 4px;
  color: #777;
  font-style: normal;
  font-size: 13px;
}
.service-code {
  margin: 14px 0;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8f8, #fff);
  border: 1px solid #ffe3e3;
  display: grid;
  justify-items: center;
  text-align: center;
}
.service-code img {
  width: 168px;
  height: 168px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 10px 28px rgba(31, 41, 55, .08);
}
.service-code b {
  color: var(--red);
  font-size: 20px;
}
.service-code span,
.service-code em {
  margin-top: 6px;
  color: #606775;
  font-size: 13px;
  font-style: normal;
}
.service-code span {
  color: #1f2329;
  font-weight: 900;
}
.invite-sheet textarea {
  width: 100%;
  min-height: 86px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #ffe0e0;
  border-radius: 12px;
  outline: 0;
  resize: none;
  background: #fff;
  color: #333;
  font: inherit;
}
.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.sheet-actions button {
  height: 46px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--red);
  font-weight: 900;
}
.sheet-actions .red {
  background: linear-gradient(90deg, #ff552f, #ff164f);
  color: #fff;
}

/* 精修版视觉：统一成更像真实手机商城的紧凑、清晰、成交型界面 */
:root {
  --red-deep: #b90000;
  --red-soft: #fff3f3;
  --text-weak: #9a9da6;
}

html,
body {
  background: #d9dce2;
}

body {
  -webkit-font-smoothing: antialiased;
}

button {
  -webkit-tap-highlight-color: transparent;
}

#app {
  background: #f5f5f6;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 18px 50px rgba(20,24,34,.14);
}

.page {
  background:
    linear-gradient(180deg, #fff7f7 0, #f5f5f6 136px),
    #f5f5f6;
}

.card {
  margin: 10px 10px 0;
  padding: 14px;
  border: 1px solid rgba(235,235,238,.9);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(24,28,38,.045);
}

.hero {
  padding: 10px 10px 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 42px),
    linear-gradient(135deg, #ff3150 0, var(--red) 54%, #ff5a18 100%);
}

.brand-row {
  height: 42px;
  padding: 0 2px;
}

.brand-row img {
  width: 34px;
  height: 34px;
  box-shadow: 0 4px 10px rgba(120,0,0,.18);
  padding: 1px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.9);
  object-fit: cover;
}

.brand-row b {
  font-size: 16px;
  letter-spacing: 0;
}

.brand-row span {
  height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.14);
}

.live {
  margin: 4px 0 9px;
  padding: 5px 10px 5px 6px;
  background: rgba(126,0,0,.34);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.13);
}

.live i {
  width: 21px;
  height: 21px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.cover {
  min-height: 246px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #fff 0, #fff8f8 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 8px 18px rgba(126,0,0,.09);
}

.cover::before {
  display: none;
}

.cover img {
  width: 78px;
  height: 78px;
}

.cover b {
  max-width: 88%;
  font-size: 25px;
  font-weight: 900;
  color: #191919;
}

.cover span {
  height: 28px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  background: var(--red);
  box-shadow: 0 5px 12px rgba(226,4,4,.22);
}

.photo-cover,
.photo-cover .cover-main {
  min-height: 246px;
}

.photo-cover .cover-main {
  padding: 8px;
}

.hero > .photo-cover {
  width: calc(100% + 20px);
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: 0;
  background: #fff8f8;
  display: block;
}

.hero > .photo-cover .cover-bg {
  display: none;
}

.hero > .photo-cover .cover-bg img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: blur(18px);
  opacity: .18;
  transform: scale(1.12);
}

.hero > .photo-cover .cover-main {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  background: #fff;
  box-shadow: none;
  transform: none;
}

.hero > .carousel-cover {
  overflow: hidden;
}

.hero > .carousel-cover .carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .22);
  backdrop-filter: blur(8px);
}

.hero > .carousel-cover .carousel-dots button {
  width: 6px;
  height: 6px;
  min-height: 6px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
}

.hero > .carousel-cover .carousel-dots button.active {
  width: 16px;
  border-radius: 999px;
  background: #fff;
}

.hero > .photo-cover span {
  z-index: 2;
}

.hero > .live {
  position: absolute;
  left: 14px;
  top: 62px;
  z-index: 6;
  margin: 0;
  background: rgba(226,4,4,.9);
  box-shadow: 0 8px 18px rgba(116,0,0,.18);
  animation: liveToast 2.8s ease both;
  transform-origin: left center;
}

@keyframes liveToast {
  0% {
    opacity: 0;
    transform: translate3d(-12px, 0, 0) scale(.96);
  }
  14% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  78% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(8px, 0, 0) scale(.98);
  }
}

.hero > .photo-cover img {
  object-fit: contain;
  object-position: center;
}

.price-bar {
  min-height: 78px;
  padding: 12px 16px;
  background:
    linear-gradient(90deg, #ff4a25 0, var(--red) 68%, #ff1f45 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.price-bar small {
  font-size: 12px;
}

.price-bar b {
  font-size: 34px;
  letter-spacing: 0;
}

.price-bar del {
  font-size: 14px;
}

.price-bar span {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

.title-card {
  margin-top: 0;
  border-radius: 0 0 12px 12px;
}

.title-card h1 {
  font-size: 21px;
  font-weight: 900;
}

.title-card p {
  margin: 8px 0 11px;
  color: #6f7279;
}

.stats {
  gap: 6px;
}

.stats span {
  height: 26px;
  padding: 0 9px;
  border-radius: 7px;
  background: #fff4f4;
  display: inline-flex;
  align-items: center;
  color: var(--red);
  font-weight: 700;
}

.limit-badge {
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #fff8e8;
  color: #9a5600;
  font-size: 13px;
  font-weight: 800;
}

.limit-badge.soldout {
  background: #f3f4f6;
  color: #6b7280;
}

.section-head {
  margin-bottom: 8px;
}

.section-head b {
  position: relative;
  padding-left: 10px;
  font-size: 17px;
}

.section-head b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: var(--red);
}

.section-head span {
  font-size: 13px;
}

.sku-card {
  padding: 13px 12px;
}

.sku-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sku-options button {
  min-height: 38px;
  padding: 8px 9px;
  border: 1px solid #edf0f5;
  border-radius: 9px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  color: #2b303b;
  text-align: center;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(31, 41, 55, .04);
}

.sku-options button.active {
  border-color: var(--red);
  background: linear-gradient(180deg, #fff8f8, #fff1f1);
  box-shadow: inset 0 0 0 1px rgba(226,4,4,.1), 0 5px 14px rgba(226,4,4,.08);
}

.sku-options button.disabled,
.sku-confirm.disabled {
  opacity: .45;
  background: #f1f2f4;
  color: #969ba5;
  box-shadow: none;
}

.sku-options b {
  font-size: 12.5px;
  line-height: 1.25;
  font-weight: 800;
}

.sku-chip-name {
  max-width: 100%;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-all;
}

.group-list-tags span {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-card {
  padding: 12px 12px;
}

.group-row {
  min-height: 66px;
  grid-template-columns: 36px minmax(92px, 1fr) 78px 72px;
  gap: 8px;
}

.group-row i {
  width: 36px;
  height: 36px;
  background: #ffcc2e;
  color: #9a2b00;
}

.group-row strong {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.group-row span {
  font-size: 12px;
  line-height: 1.25;
}

.group-row button {
  height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  background: linear-gradient(90deg, #ff4d2f, var(--red));
  box-shadow: 0 5px 10px rgba(226,4,4,.16);
  font-size: 12px;
  white-space: nowrap;
}

.detail-card {
  padding: 15px 14px 16px;
}

.detail-card p {
  color: #343741;
  line-height: 1.85;
  font-size: 15px;
}

.detail-content {
  color: #343741;
  line-height: 1.85;
  font-size: 15px;
  word-break: break-word;
}

.detail-content p {
  margin: 0 0 10px;
}

.detail-content h1,
.detail-content h2,
.detail-content h3 {
  margin: 14px 0 8px;
  color: #161922;
  line-height: 1.35;
}

.detail-content h3 {
  padding-left: 10px;
  border-left: 3px solid var(--red);
  font-size: 17px;
}

.detail-content ul,
.detail-content ol {
  margin: 8px 0 12px;
  padding-left: 22px;
}

.detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.detail-content table {
  max-width: 100%;
  border-collapse: collapse;
}

.bottom-buy,
.pay-bar,
.pending-actions {
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(235,235,238,.9);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 26px rgba(20,24,34,.08);
}

.bottom-buy {
  grid-template-columns: 46px 46px 1fr 1.18fr;
  gap: 7px;
}

.bottom-buy button {
  min-height: 52px;
  border-radius: 10px;
}

.bottom-buy i {
  font-size: 21px;
}

.bottom-buy .single,
.bottom-buy .group {
  border-radius: 10px;
}

.bottom-buy .single {
  background: linear-gradient(90deg, #ffb6aa, #ff8f80);
}

.bottom-buy .group {
  background: linear-gradient(90deg, #ff4c24, var(--red));
  box-shadow: 0 6px 12px rgba(226,4,4,.2);
}

.bottom-buy .single.disabled,
.bottom-buy .group.disabled {
  background: #c7cbd3;
  box-shadow: none;
}

.bottom-buy b {
  font-size: 18px;
}

.detail .bottom-buy {
  bottom: 0;
}

.simple-nav {
  height: 54px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(236,236,240,.9);
}

.simple-nav button {
  font-size: 34px;
}

.simple-nav b {
  font-size: 18px;
  font-weight: 800;
}

.checkout,
.pending,
.mine,
.profile,
.address-page {
  background: #f3f3f4;
}

.checkout-address {
  min-height: 84px;
  padding: 15px 14px;
  border-left: 3px solid var(--red);
}

.checkout-address.empty-address {
  background: #fffafa;
  border: 1px dashed rgba(226,4,4,.32);
  border-left: 3px solid var(--red);
}

.checkout-address b,
.address-item b {
  font-size: 17px;
}

.checkout-address p,
.address-item p {
  color: #676b74;
}

.order-goods {
  grid-template-columns: 92px 1fr;
  gap: 11px;
}

.order-goods .cover,
.pending-goods .cover,
.team-product .cover,
.more .cover,
.invite-card .cover {
  box-shadow: none;
}

.order-goods .photo-cover,
.order-goods .photo-cover .cover-main {
  width: 92px;
  height: 92px;
  min-height: 92px;
}

.pending-goods .photo-cover,
.pending-goods .photo-cover .cover-main {
  width: 92px;
  height: 92px;
  min-height: 92px;
}

.team-product .photo-cover,
.team-product .photo-cover .cover-main {
  width: 100px;
  height: 100px;
  min-height: 100px;
}

.more .photo-cover,
.more .photo-cover .cover-main,
.invite-card .photo-cover,
.invite-card .photo-cover .cover-main {
  width: 86px;
  height: 86px;
  min-height: 86px;
}

.order-goods .photo-cover .cover-bg,
.pending-goods .photo-cover .cover-bg,
.team-product .photo-cover .cover-bg,
.more .photo-cover .cover-bg,
.invite-card .photo-cover .cover-bg {
  display: none;
}

.order-goods .photo-cover .cover-main,
.pending-goods .photo-cover .cover-main,
.team-product .photo-cover .cover-main,
.more .photo-cover .cover-main,
.invite-card .photo-cover .cover-main {
  padding: 0;
  object-fit: cover;
}

.order-goods h2 {
  font-size: 16px;
  font-weight: 800;
}

.order-goods b {
  font-size: 21px;
}

.price-list {
  padding: 8px 14px;
}

.price-list div {
  min-height: 42px;
}

.price-list strong {
  font-size: 23px;
}

.compliance-card {
  padding: 14px 16px;
}

.compliance-card h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: #222;
}

.compliance-card p {
  margin: 6px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.65;
}

.pay-bar {
  grid-template-columns: 1fr 132px;
}

.pay-bar b {
  font-size: 27px;
}

.pay-bar button {
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff4d28, var(--red));
}

.pending-top {
  min-height: 216px;
  padding: 16px 16px 20px;
  background: linear-gradient(180deg, #fff 0, #f6f6f7 100%);
}

.pending-top h1 {
  margin: 26px 0 16px;
  color: #ef3f38;
  font-size: 28px;
}

.pending-top > button:last-child,
.team-card > button {
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff4b2a, var(--red));
}

.address-card,
.pending-goods,
.info-card,
.payment-card {
  border-radius: 12px;
}

.pending-goods > div {
  grid-template-columns: 92px 1fr;
}

.pending-goods h3 {
  font-weight: 800;
}

.payment-card {
  padding: 12px 14px;
}

.payment-card button {
  min-height: 48px;
}

.pending-actions {
  grid-template-columns: repeat(3, 1fr) 1.05fr;
}

.pending-actions button {
  height: 40px;
  border-radius: 10px;
  border-color: #dadde3;
  color: #323640;
}

.pending-actions .red {
  background: linear-gradient(90deg, #ff4b2a, var(--red));
  color: #fff;
}

.team {
  background: #f1f1f2;
}

.team-hero {
  padding: 0 10px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 70px),
    linear-gradient(180deg, #ff1d58 0, #ff6031 100%);
}

.team-hero header {
  height: 78px;
  grid-template-columns: 52px 1fr 72px;
}

.team-hero header b {
  font-size: 25px;
}

.team-hero h1 {
  margin: 12px 0 16px;
  font-size: 29px;
  letter-spacing: 0;
}

.team-product {
  grid-template-columns: 100px 1fr;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(120,0,0,.12);
}

.team-product h2 {
  font-size: 17px;
  line-height: 1.4;
}

.team-product div > b {
  font-size: 21px;
}

.timer {
  height: 58px;
  margin-top: 12px;
  border-radius: 12px 12px 0 0;
}

.timer b {
  border-radius: 7px;
  background: var(--red);
}

.team-card {
  margin: 0 10px;
  padding: 26px 14px 20px;
  border-radius: 0 0 12px 12px;
}

.team-card h2 {
  font-size: 23px;
}

.slots {
  gap: 6px;
  margin: 24px 0 26px;
}

.slots i,
.slots span {
  width: 54px;
  height: 54px;
}

.rules {
  gap: 6px;
  font-size: 14px;
}

.team-order-card {
  margin: 16px 10px 0;
  padding: 17px 16px 18px;
  border-radius: 12px;
}

.team-order-head h2 {
  font-size: 21px;
}

.team-order-card dl div {
  grid-template-columns: 86px 1fr;
}

.team-order-card dt,
.team-order-card dd {
  font-size: 15px;
}

.groups-hero {
  padding-top: 14px;
}

.group-list-card {
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 10px;
}

.group-list-cover .cover,
.group-list-cover .photo-cover,
.group-list-cover .photo-cover .cover-main {
  width: 126px;
  height: 126px;
  min-height: 126px;
}

.group-list-info h2 {
  font-size: 17px;
}

.group-list-price b {
  font-size: 25px;
}

.group-list-progress {
  grid-template-columns: 1fr auto 42px;
  gap: 6px;
}

.home-banner {
  min-height: 0;
}

.home-banner .cover,
.home-banner .photo-cover,
.home-banner .photo-cover .cover-main {
  width: 118px;
  height: 118px;
  min-height: 118px;
}

.home-banner h1 {
  font-size: 18px;
}

.home-banner b {
  font-size: 27px;
}

.more {
  padding: 22px 10px 26px;
}

.more h2,
.guess-title {
  position: relative;
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 900;
}

.more article {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
  grid-template-columns: 86px 1fr 78px;
  box-shadow: 0 4px 14px rgba(24,28,38,.045);
}

.more h3 {
  font-size: 15px;
  line-height: 1.35;
}

.more button {
  height: 38px;
  border-radius: 10px;
  background: var(--red);
}

.order-tabs {
  padding: 9px 10px;
  background: rgba(243,243,244,.96);
}

.order-tabs button {
  min-width: 70px;
  height: 34px;
  border-radius: 8px;
}

.order-tabs button.active {
  background: var(--red);
  box-shadow: 0 5px 12px rgba(226,4,4,.16);
}

.order-item {
  padding: 13px 14px;
}

.order-item div:first-child b {
  max-width: 260px;
  font-size: 16px;
  line-height: 1.35;
}

.order-item p {
  color: #727681;
}

.order-item button {
  height: 39px;
  border-radius: 9px;
}

.order-empty {
  margin-top: 76px;
  padding: 30px 20px;
}

.order-empty i {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #fff1f1;
  color: var(--red);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
  font-size: 22px;
}

.order-empty b {
  display: block;
  color: #242832;
  font-size: 18px;
}

.order-empty p {
  margin: 8px 0 16px;
  color: #858995;
  line-height: 1.6;
}

.order-empty button {
  width: 136px;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.address-form {
  padding: 6px 14px 14px;
}

.address-form label {
  min-height: 54px;
}

.address-form input {
  height: 42px;
}

.address-form button {
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff4b2a, var(--red));
}

.address-item {
  padding: 13px 14px;
}

.empty {
  margin: 70px 14px;
  padding: 34px 20px;
  border-radius: 12px;
}

.invite-sheet {
  border-radius: 18px 18px 0 0;
}

.invite-card,
.service-code {
  border-radius: 12px;
  background: #fff6f6;
}

.invite-targets {
  margin: 10px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.invite-targets span {
  min-height: 30px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.share-link {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f7f9;
  border: 1px solid #eceff3;
}

.share-link span {
  display: block;
  margin-bottom: 4px;
  color: #8a8f99;
  font-size: 12px;
}

.share-link p {
  margin: 0;
  color: #2d3138;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

.sheet-actions button {
  height: 44px;
  border-radius: 10px;
}

.sheet-actions .red {
  background: linear-gradient(90deg, #ff4b2a, var(--red));
}

@media (max-width: 374px) {
  .group-row {
    grid-template-columns: 34px minmax(74px, 1fr) 68px 58px;
    gap: 5px;
  }
  .group-row span {
    font-size: 12px;
  }
  .bottom-buy {
    grid-template-columns: 1fr 1.12fr;
  }
  .bottom-buy b {
    font-size: 16px;
  }
  .slots i,
  .slots span {
    width: 48px;
    height: 48px;
  }
  .invite-targets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8f8;
  color: #777;
  line-height: 1.6;
}

.address-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.address-actions button {
  height: 36px;
  border-radius: 9px;
  background: #fff1f1;
  color: var(--red);
  font-weight: 900;
}

.pay-success {
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(226,4,4,.12), transparent 34%),
    #f3f3f4;
}

.pay-success-mask {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .34);
}

.success-dialog {
  width: min(310px, 88vw);
  padding: 28px 22px 20px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(20, 24, 34, .22);
  animation: successPop .22s ease-out;
}

.success-dialog > i {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #ff4b43 0%, var(--red) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 35px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(226, 4, 4, .26);
}

.success-dialog h1 {
  margin: 0;
  color: #1f1f1f;
  font-size: 23px;
  font-weight: 900;
}

.success-dialog p {
  margin: 9px 0 18px;
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}

.success-dialog-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  margin: 0 -6px;
  border-radius: 12px;
  background: #fff1f1;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.success-dialog-countdown b {
  min-width: 22px;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-card {
  padding: 30px 18px 20px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(20,24,34,.06);
}

.success-card > i {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-style: normal;
  font-weight: 900;
}

.success-card h1 {
  margin: 0;
  font-size: 25px;
}

.success-card p {
  color: #777;
}

.success-card .success-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 8px auto 6px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.success-card > div {
  margin: 18px 0;
  padding: 12px;
  border-radius: 12px;
  background: #fff8f8;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  text-align: left;
  align-items: center;
}

.success-card .cover {
  min-height: 84px;
}

.success-card .photo-cover,
.success-card .photo-cover .cover-main {
  width: 84px;
  height: 84px;
  min-height: 84px;
}
.success-card .cover span {
  display: none;
}

.success-card > div b,
.success-card > div span {
  display: block;
}

.success-card > div span {
  color: var(--red);
  font-weight: 900;
}

.success-card button {
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.success-card .ghost-success {
  background: #fff1f1;
  color: var(--red);
}

.teacher-guide {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #ffd9d9;
  border-radius: 13px;
  background:
    linear-gradient(180deg, #fff7f7 0, #fff 100%);
  text-align: left;
}

.teacher-guide > div:first-child b {
  display: block;
  color: var(--red);
  font-size: 17px;
  font-weight: 900;
}

.teacher-guide > div:first-child p {
  margin: 7px 0 12px;
  color: #5f636b;
  font-size: 13px;
  line-height: 1.6;
}

.teacher-contact {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
}

.teacher-contact img {
  width: 82px;
  height: 82px;
  border: 1px solid #ffe1e1;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
}

.teacher-contact section {
  min-width: 0;
}

.teacher-contact span,
.teacher-contact strong,
.teacher-contact em {
  display: block;
}

.teacher-contact span {
  color: #888;
  font-size: 12px;
}

.teacher-contact strong {
  margin-top: 3px;
  color: #1f232b;
  font-size: 19px;
  font-weight: 900;
  word-break: break-all;
}

.teacher-contact em {
  margin: 4px 0 8px;
  color: #888;
  font-size: 12px;
  font-style: normal;
}

.teacher-contact button {
  width: auto;
  height: 34px;
  margin: 0;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.team-card .teacher-guide {
  margin: 14px 0;
}

.teacher-guide ol {
  margin: 12px 0 0;
  padding: 10px 10px 10px 28px;
  border-radius: 10px;
  background: #fff;
  color: #555b66;
  font-size: 13px;
  line-height: 1.7;
}

.teacher-guide li {
  margin: 2px 0;
}

.order-steps {
  margin: 10px;
  padding: 12px 10px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  box-shadow: 0 4px 14px rgba(20,24,34,.04);
}

.order-steps span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #a1a6af;
  font-size: 12px;
}

.order-steps span::after {
  content: "";
  position: absolute;
  left: 58%;
  right: -42%;
  top: 13px;
  height: 2px;
  background: #eceef2;
}

.order-steps span:last-child::after {
  display: none;
}

.order-steps i {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eceef2;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}

.order-steps .done {
  color: var(--red);
  font-weight: 800;
}

.order-steps .done i,
.order-steps .done::after {
  background: var(--red);
  color: #fff;
}

.sku-sheet {
  width: 100%;
  max-width: 430px;
  max-height: 84vh;
  padding: 10px 14px 18px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  overflow: auto;
  box-shadow: 0 -10px 28px rgba(20,24,34,.16);
}

.sku-sheet-head {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 0 14px;
}

.sku-sheet-head .cover {
  min-height: 88px;
}

.sku-sheet-head .photo-cover,
.sku-sheet-head .photo-cover .cover-main {
  width: 88px;
  height: 88px;
  min-height: 88px;
}

.sku-sheet-head .cover span {
  display: none;
}

.sku-sheet-head b,
.sku-sheet-head span,
.sku-sheet-head p {
  display: block;
}

.sku-sheet-head b {
  color: var(--red);
  font-size: 26px;
  line-height: 1;
}

.sku-sheet-head span {
  margin-top: 7px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.sku-sheet-head p {
  margin: 5px 0 0;
  color: #555b66;
  font-size: 13px;
  line-height: 1.45;
}

.sheet-options {
  max-height: 260px;
  overflow: auto;
  padding: 2px 1px 4px;
}

.selected-sku {
  margin: 10px 0 0;
  color: #626975;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.limit-note {
  margin: 12px 0 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: #fff7e8;
  color: #9c5700;
  font-size: 13px;
  line-height: 1.45;
}

.limit-note.blocked {
  background: #fff1f1;
  color: var(--red);
  font-weight: 900;
}

.sku-confirm {
  width: 100%;
  height: 46px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4b2a, var(--red));
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.order-detail-head span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--red);
  font-weight: 900;
  font-size: 12px;
}

.order-detail-head h1 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.order-detail-head p {
  color: #777;
}

.timeline-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.timeline-card p {
  position: relative;
  margin: 0;
  padding: 0 0 14px 22px;
}

.timeline-card i {
  position: absolute;
  left: 0;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.timeline-card b,
.timeline-card span {
  display: block;
}

.timeline-card span {
  margin-top: 3px;
  color: #888;
  font-size: 12px;
}

.receive-card {
  display: grid;
  gap: 12px;
}

.receive-card .teacher-guide {
  margin: 0;
}

.receive-card > button {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff5a1f);
  color: #fff;
  font-weight: 900;
}

.mask,
.pay-success-mask {
  backdrop-filter: blur(8px);
  background: rgba(17, 24, 39, .42);
}

.sku-sheet,
.share-guide-card,
.service-sheet,
.success-dialog {
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 18px 54px rgba(17, 24, 39, .18);
}

.share-guide-card,
.service-sheet,
.success-dialog {
  border-radius: 20px;
}
.invite-reward-promo{display:flex;align-items:center;gap:14px;margin:14px 12px;padding:14px 16px;border-radius:16px;background:linear-gradient(100deg,#fff0d9,#fff8ed);box-shadow:0 6px 18px rgba(190,78,10,.1);cursor:pointer}.invite-reward-promo i{display:flex;flex:none;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#ff8a29,#e20404);color:#fff;font-style:normal;font-weight:900}.invite-reward-promo div{flex:1}.invite-reward-promo b,.invite-reward-promo span{display:block}.invite-reward-promo b{color:#a53b12;font-size:15px}.invite-reward-promo span{margin-top:4px;color:#bc6a3c;font-size:12px;line-height:18px}.invite-reward-promo em{color:#c96832;font-size:26px;font-style:normal}.invite-reward-promo.compact{margin-top:10px}.pay-success-reward{margin-top:14px;padding:11px 13px;border-radius:12px;background:#fff1df;color:#d44716;font-size:13px;font-weight:700;line-height:20px}
