/* 邻聚同城 · 同城黑卡视觉系统 */
.bc-page {
  --bc-black: #18130f;
  --bc-black-2: #2a2016;
  --bc-gold: #f2c15b;
  --bc-gold-deep: #c08a2e;
  --bc-cream: #fbf7ef;
  --bc-card: #ffffff;
  --bc-ink: #241b12;
  --bc-sub: #776b5a;
  --bc-muted: #a79b8b;
  --bc-line: #efe6d6;
  --bc-red: #e5483f;
  --bc-green: #189a66;
  --bc-shadow: 0 12px 30px rgba(60, 42, 20, 0.08);
  background: var(--bc-cream);
  color: var(--bc-ink);
  min-height: 100vh;
  padding-bottom: 28px;
  --font-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
}
.bc-page a { color: inherit; }

/* chrome */
.bc-hero {
  position: relative; padding: calc(13px + env(safe-area-inset-top, 0px)) 16px 26px; color: #fff; overflow: hidden;
  background:
    radial-gradient(90% 65% at 82% 0%, rgba(242, 193, 91, 0.32), transparent 58%),
    radial-gradient(70% 60% at 4% 100%, rgba(192, 138, 46, 0.25), transparent 65%),
    linear-gradient(150deg, #17120e 0%, #2d2113 52%, #4a3418 100%);
  border-radius: 0 0 32px 32px;
}
.bc-hero-desc { margin-top: 8px; max-width: 310px; font-size: 9.5px; line-height: 1.6; color: rgba(255, 235, 184, 0.55); }
.bc-hero-grain { position: absolute; inset: 0; opacity: 0.35; pointer-events: none; background-image: radial-gradient(rgba(255, 240, 200, 0.14) 0.7px, transparent 0.7px); background-size: 17px 17px; mask-image: linear-gradient(180deg, #000, transparent 80%); }
.bc-top { position: relative; z-index: 3; display: flex; align-items: center; gap: 9px; }
.bc-round { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.17); backdrop-filter: blur(8px); position: relative; }
.bc-round.dark { background: rgba(20, 14, 9, 0.52); }
.bc-round .ico { width: 19px; height: 19px; }
.bc-badge { position: absolute; top: 1px; right: 0; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--bc-gold); color: #3a2500; font-style: normal; font-size: 8px; line-height: 15px; font-weight: 800; text-align: center; }
.bc-brand { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.bc-brand-mark { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; color: #3c2800; background: linear-gradient(135deg, #ffe9a9, #eebd52); box-shadow: 0 5px 16px rgba(242, 193, 91, 0.25); }
.bc-brand-mark .ico { width: 19px; height: 19px; }
.bc-brand b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: 0.4px; }
.bc-brand small { display: block; font-size: 8px; letter-spacing: 2px; color: rgba(255, 238, 193, 0.5); margin-top: 2px; }
.bc-city { display: flex; align-items: center; gap: 4px; padding: 7px 9px; border-radius: 999px; color: #ffe9b3; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(242, 193, 91, 0.25); font-size: 11px; white-space: nowrap; }
.bc-card-wrap { position: relative; z-index: 2; margin-top: 15px; }

/* member card */
.bc-member-card { position: relative; overflow: hidden; border-radius: 19px; padding: 14px 15px 12px; color: #ffe9b3; background: linear-gradient(125deg, rgba(24, 18, 12, 0.96), rgba(58, 42, 22, 0.94)); border: 1px solid rgba(242, 193, 91, 0.28); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.33); }
.bc-member-card.inactive { color: rgba(255, 239, 205, 0.8); border-color: rgba(242, 193, 91, 0.18); }
.bc-card-glow { position: absolute; right: -46px; top: -58px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 193, 91, 0.22), transparent 66%); }
.bc-card-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; }
.bc-card-avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: 1.5px solid rgba(242, 193, 91, 0.62); background: rgba(255, 255, 255, 0.08); color: var(--bc-gold); }
.bc-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bc-card-avatar.locked { border-radius: 12px; }
.bc-card-avatar .ico { width: 21px; height: 21px; }
.bc-card-id { flex: 1; min-width: 0; }
.bc-card-id b { display: block; font-size: 13px; font-weight: 800; color: var(--bc-card-text, #fff2d1); }
.bc-card-id span { display: block; font-size: 8.5px; color: rgba(255, 231, 176, 0.55); margin-top: 2px; }
.bc-card-active { font-size: 8.5px; color: #3b2600; background: linear-gradient(135deg, #ffe9a6, #f0c35c); padding: 4px 9px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.bc-card-inactive { font-size: 8.5px; color: rgba(255, 236, 186, 0.66); border: 1px solid rgba(255, 236, 186, 0.25); padding: 3px 9px; border-radius: 999px; }
.bc-card-mid { position: relative; z-index: 2; padding: 15px 2px 13px; }
.bc-card-label { font-size: 8px; letter-spacing: 1px; color: rgba(255, 231, 176, 0.48); }
.bc-card-expiry { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: 0.7px; color: var(--bc-card-text, #ffe6a5); margin-top: 3px; }
.bc-card-no { font-size: 8px; letter-spacing: 2px; color: rgba(255, 235, 183, 0.38); margin-top: 4px; }
.bc-card-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 232, 175, 0.14); }
.bc-card-foot > span { display: flex; align-items: center; gap: 3px; font-size: 9px; color: rgba(255, 231, 176, 0.55); min-width: 0; }
.bc-card-foot .ico { color: var(--bc-gold); }
.bc-card-renew { flex: none; font-size: 9.5px; font-weight: 700; color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); padding: 6px 11px; border-radius: 999px; box-shadow: 0 5px 12px rgba(242, 193, 91, 0.24); }

/* date strip */
.bc-date-strip { position: relative; z-index: 2; display: flex; gap: 6px; margin-top: 15px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.bc-date-strip::-webkit-scrollbar { display: none; }
.bc-date-item { flex: 1; min-width: 48px; padding: 7px 4px 6px; border-radius: 11px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 240, 196, 0.1); color: rgba(255, 240, 205, 0.6); text-align: center; position: relative; }
.bc-date-item span { display: block; font-size: 8.5px; }
.bc-date-item b { display: block; font-size: 10.5px; color: #fff0cc; margin-top: 2px; }
.bc-date-item em { display: block; font-style: normal; font-size: 7.5px; margin-top: 2px; color: var(--bc-gold); }
.bc-date-item em.zero { color: rgba(255, 240, 205, 0.28); }
.bc-date-item.on { background: linear-gradient(135deg, #ffe9a6, #f0c35c); border-color: #f0c35c; color: #4a2f00; }
.bc-date-item.on b { color: #3a2600; }
.bc-date-item.on em { color: #7a4d00; }

/* body */
.bc-body { padding: 0 14px; }
.bc-search { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0 12px; height: 44px; border-radius: 13px; background: #fff; border: 1px solid var(--bc-line); box-shadow: 0 7px 18px rgba(60, 42, 20, 0.05); }
.bc-search .ico { color: var(--bc-gold-deep); }
.bc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12px; }
.bc-search input::placeholder { color: #bdb1a1; }
.bc-search button { color: #6f4b06; background: #fff4d9; font-size: 10.5px; font-weight: 700; padding: 6px 9px; border-radius: 8px; }
.bc-quick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 12px; }
.bc-quick { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 9px; border-radius: 13px; background: #fff; border: 1px solid var(--bc-line); }
.bc-quick > span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #6d4b0f; background: #fff4d9; }
.bc-quick > span .ico { width: 16px; height: 16px; }
.bc-quick b { font-size: 10px; font-weight: 700; margin-top: 2px; }
.bc-quick small { font-size: 8px; color: var(--bc-muted); }
.bc-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 22px 2px 11px; }
.bc-sec-kicker { display: block; font-size: 8px; letter-spacing: 1.8px; color: var(--bc-muted); font-weight: 700; margin-bottom: 3px; }
.bc-sec-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.bc-sec-head > a, .bc-sec-side { display: flex; align-items: center; gap: 1px; font-size: 10px; color: var(--bc-sub); padding-bottom: 2px; }
.bc-channel-rail { display: flex; gap: 8px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-width: none; }
.bc-channel-rail::-webkit-scrollbar { display: none; }
.bc-cat-card { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 62px; padding: 9px 9px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--bc-line); color: var(--bc-sub); font-size: 10px; --cc: #c08a2e; --cbg: #fff4d9; }
.bc-cat-card .ico { width: 19px; height: 19px; color: var(--cc); }
.bc-cat-card.on { background: var(--cbg); border-color: var(--cc); color: var(--cc); font-weight: 700; }
.bc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 1px 8px; }
.bc-sort-chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.bc-sort-chips::-webkit-scrollbar { display: none; }
.bc-sort-chip { flex: none; padding: 6px 9px; border-radius: 8px; font-size: 10px; color: var(--bc-sub); background: transparent; }
.bc-sort-chip.on { background: #fff; color: var(--bc-ink); font-weight: 700; box-shadow: 0 4px 12px rgba(60, 42, 20, 0.06); }
.bc-tool-actions { flex: none; display: flex; gap: 4px; }
.bc-tool-btn { display: flex; align-items: center; gap: 2px; padding: 6px 7px; border-radius: 8px; border: 1px solid var(--bc-line); background: #fff; color: var(--bc-sub); font-size: 9.5px; }
.bc-tool-btn.on { background: #fff4d9; border-color: #edd39a; color: #7a4d00; }
.bc-active-filters { display: flex; flex-wrap: wrap; gap: 5px; min-height: 0; }
.bc-active-filters span { display: inline-flex; align-items: center; gap: 2px; font-size: 9px; color: #7a4d00; background: #fff4d9; border: 1px solid #f0d79f; border-radius: 999px; padding: 3px 7px; margin-bottom: 3px; }
.bc-offer-list { display: flex; flex-direction: column; gap: 12px; padding-top: 3px; }
.bc-skeleton { height: 220px; border-radius: 18px; background: linear-gradient(100deg, #f1e9da 20%, #fbf7ef 42%, #f1e9da 64%); background-size: 200% 100%; animation: bcShimmer 1.2s infinite linear; }
@keyframes bcShimmer { from { background-position: 130% 0; } to { background-position: -30% 0; } }

/* offer card */
.bc-offer-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--bc-shadow); border: 1px solid rgba(60, 42, 20, 0.04); }
.bc-offer-cover { position: relative; height: 158px; overflow: hidden; background: #2a2016; }
.bc-offer-cover img { width: 100%; height: 100%; object-fit: cover; }
.bc-cover-ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 234, 180, 0.45); background: radial-gradient(100% 80% at 20% 0%, rgba(242, 193, 91, 0.32), transparent 55%), linear-gradient(140deg, #1b1510, #4a351a); }
.bc-cover-ph .ico { width: 28px; height: 28px; }
.bc-offer-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 9, 0.05) 30%, rgba(20, 14, 9, 0.62)); }
.bc-discount-badge { position: absolute; z-index: 2; left: 10px; top: 10px; min-width: 73px; padding: 6px 9px; border-radius: 10px; color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2); text-align: center; }
.bc-discount-badge b { display: block; font-size: 21px; line-height: 1; font-weight: 800; letter-spacing: -0.5px; }
.bc-discount-badge span { display: block; font-size: 8px; font-weight: 600; margin-top: 3px; opacity: 0.78; white-space: nowrap; }
.bc-quota-flag { position: absolute; z-index: 2; right: 10px; top: 11px; font-size: 8.5px; font-weight: 700; color: #fff; background: rgba(229, 72, 63, 0.88); padding: 4px 7px; border-radius: 5px; box-shadow: 0 3px 8px rgba(180, 30, 20, 0.25); }
.bc-quota-flag.out { background: rgba(60, 50, 40, 0.65); }
.bc-recommend-tag { position: absolute; z-index: 2; right: 10px; bottom: 9px; font-size: 8.5px; font-weight: 800; color: #3a2500; background: #ffe9a6; padding: 3px 7px; border-radius: 999px; }
.bc-offer-main { padding: 11px 13px 12px; }
.bc-offer-head { display: flex; align-items: center; gap: 6px; }
.bc-cat-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 600; padding: 3px 6px; border-radius: 5px; }
.bc-merchant-name { display: flex; align-items: center; gap: 2px; font-size: 9px; color: var(--bc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-merchant-name i { color: #2e8bff; display: flex; font-style: normal; }
.bc-merchant-name .ico { width: 11px; height: 11px; }
.bc-offer-title { margin-top: 7px; font-size: 16px; line-height: 1.35; font-weight: 800; }
.bc-offer-sub { margin-top: 3px; font-size: 10px; color: var(--bc-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-offer-meta { margin-top: 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 9px; color: var(--bc-muted); }
.bc-offer-meta span { display: flex; align-items: center; gap: 3px; }
.bc-distance { color: var(--bc-gold-deep) !important; font-weight: 700; }
.bc-claimed { color: #a77618 !important; }
.bc-offer-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.bc-offer-tags span { font-size: 8.5px; color: #7b6a55; background: #faf6ed; border: 1px solid #f0e7d6; border-radius: 4px; padding: 2px 5px; }
.bc-offer-foot { margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--bc-line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bc-date-hint { display: flex; align-items: center; gap: 3px; font-size: 8.5px; color: var(--bc-muted); }
.bc-claim-btn { flex: none; padding: 8px 13px; border-radius: 9px; font-size: 10.5px; font-weight: 800; }
.bc-claim-btn.primary, .bc-btn.gold { color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); box-shadow: 0 7px 16px rgba(242, 193, 91, 0.26); }
.bc-claim-btn.dark { color: #ffe9a6; background: var(--bc-black); border: 1px solid rgba(242, 193, 91, 0.3); }
.bc-claim-btn.ghost { color: #7a4d00; background: #fff4d9; border: 1px solid #f0d79f; }
.bc-claim-btn.disabled { color: #a59886; background: #f3eee5; box-shadow: none; }
.bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 11px 16px; border-radius: 11px; font-size: 12px; font-weight: 700; }
.bc-btn.gold { }
.bc-btn.ghost { color: var(--bc-sub); background: #fff; border: 1px solid var(--bc-line); }
.bc-btn.block { display: flex; width: 100%; margin-top: 12px; }
.bc-mini-btn { display: inline-flex; align-items: center; justify-content: center; gap: 3px; padding: 6px 9px; border-radius: 7px; font-size: 9.5px; font-weight: 600; color: var(--bc-sub); background: #fff; border: 1px solid var(--bc-line); white-space: nowrap; }
.bc-mini-btn.primary { color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); border-color: #f0c35c; }
.bc-mini-btn.danger { color: #c73a31; background: #fff2f0; border-color: #ffd8d3; }
.bc-mini-btn.disabled { color: #a99d8b; background: #f5f1e8; }
.bc-status-pill { display: inline-flex; align-items: center; font-size: 8.5px; font-weight: 700; padding: 3px 6px; border-radius: 4px; white-space: nowrap; }
.bc-status-pill.gold { color: #7a4d00; background: #ffefc6; }
.bc-status-pill.amber { color: #a56800; background: #fff3d1; }
.bc-status-pill.gray { color: #7c7468; background: #f1ede5; }
.bc-status-pill.muted { color: #9a9184; background: #f7f3eb; }
.bc-status-pill.red { color: #c73a31; background: #ffefed; }

/* coupon */
.bc-coupon-body { padding: 14px; }
.bc-mini-member { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--bc-line); box-shadow: 0 6px 16px rgba(60, 42, 20, 0.05); }
.bc-mini-member.on { background: linear-gradient(120deg, #1b1510, #3c2c16); border-color: rgba(242, 193, 91, 0.24); color: #ffe9b3; }
.bc-mini-crown { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #3b2600; background: linear-gradient(135deg, #ffe9a6, #f0c35c); }
.bc-mini-crown .ico { width: 18px; height: 18px; }
.bc-mini-member > div { flex: 1; min-width: 0; }
.bc-mini-member b { font-size: 11.5px; }
.bc-mini-member small { display: block; font-size: 8.5px; margin-top: 2px; color: #9d9282; }
.bc-mini-member.on small { color: rgba(255, 233, 179, 0.56); }
.bc-coupon-tabs { display: flex; gap: 4px; margin: 13px 0 11px; background: #fff; border-radius: 11px; padding: 4px; border: 1px solid var(--bc-line); }
.bc-coupon-tabs button { flex: 1; position: relative; padding: 8px 2px; border-radius: 8px; font-size: 10px; color: var(--bc-sub); }
.bc-coupon-tabs button.on { background: var(--bc-black); color: #ffe9b3; font-weight: 700; }
.bc-coupon-tabs button i { position: absolute; top: 1px; right: 2px; font-style: normal; font-size: 7.5px; color: #b89462; }
.bc-coupon-tabs button.on i { color: #ffe9b3; opacity: 0.7; }
.bc-coupon-card { display: flex; background: #fff; border-radius: 16px; overflow: hidden; margin-bottom: 10px; border: 1px solid rgba(60, 42, 20, 0.05); box-shadow: 0 7px 18px rgba(60, 42, 20, 0.05); }
.bc-coupon-card.used, .bc-coupon-card.expired { opacity: 0.72; }
.bc-coupon-left { width: 96px; flex: none; padding: 13px 8px; background: linear-gradient(160deg, #1b1510, #453219); color: #ffe9a7; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bc-coupon-value { font-size: 25px; line-height: 1; font-weight: 800; letter-spacing: -0.6px; }
.bc-coupon-cond { margin-top: 4px; font-size: 8px; color: rgba(255, 233, 167, 0.62); }
.bc-coupon-perf { position: absolute; right: -5px; top: 0; bottom: 0; width: 10px; background: radial-gradient(circle at right, #fff 4px, transparent 4px) 0 0/10px 14px repeat-y; }
.bc-coupon-main { flex: 1; min-width: 0; padding: 11px 11px 10px 13px; }
.bc-coupon-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.bc-coupon-merchant { font-size: 8.5px; font-weight: 700; color: var(--bc-gold-deep); }
.bc-coupon-main h3 { margin-top: 4px; font-size: 12.5px; font-weight: 800; line-height: 1.35; }
.bc-coupon-main p { margin-top: 4px; font-size: 8.5px; color: var(--bc-muted); }
.bc-coupon-foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.bc-coupon-code { font-size: 8px; color: #a29581; font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* QR / confirm modals */
.bc-qr-modal { width: min(90vw, 350px); background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 24px 60px rgba(24, 16, 10, 0.3); }
.bc-qr-head { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--bc-ink); padding-bottom: 11px; border-bottom: 1px dashed var(--bc-line); }
.bc-qr-head .ico { color: var(--bc-gold-deep); }
.bc-qr-body { text-align: center; padding: 13px 4px 7px; }
.bc-qr-frame { width: 214px; height: 214px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--bc-line); background: #fffdf8; display: grid; place-items: center; padding: 9px; position: relative; }
.bc-qr-frame img { width: 196px; height: 196px; object-fit: contain; }
.bc-qr-frame.noqr { border-style: dashed; }
.bc-qr-fallback { position: absolute; inset: 0; display: none; place-items: center; padding: 12px; font-size: 11px; word-break: break-all; color: var(--bc-sub); }
.bc-qr-frame.noqr .bc-qr-fallback { display: grid; }
.bc-qr-offer { margin-top: 11px; font-size: 10px; color: var(--bc-sub); }
.bc-qr-value { margin-top: 5px; font-size: 24px; font-weight: 800; color: #b47714; }
.bc-qr-value small { font-size: 9px; color: var(--bc-muted); font-weight: 500; }
.bc-qr-date { margin-top: 4px; font-size: 8.5px; color: var(--bc-muted); }
.bc-qr-code { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: 0.8px; color: var(--bc-ink); }
.bc-qr-copy { color: var(--bc-gold-deep); }
.bc-qr-note { font-size: 8.5px; line-height: 1.6; color: var(--bc-muted); text-align: center; padding: 5px 8px 11px; }
.bc-claim-modal, .bc-open-modal { width: min(90vw, 345px); background: #fff; border-radius: 20px; padding: 19px 16px 15px; text-align: center; }
.bc-claim-success-ico { width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; color: #2f1d00; background: linear-gradient(135deg, #ffe9a6, #f0c35c); box-shadow: 0 8px 20px rgba(242, 193, 91, 0.3); }
.bc-claim-success-ico .ico { width: 23px; height: 23px; }
.bc-claim-modal h2, .bc-open-modal h2 { font-size: 18px; font-weight: 800; font-family: var(--font-display); }
.bc-claim-sub, .bc-open-modal > p { margin-top: 4px; font-size: 9.5px; color: var(--bc-muted); }
.bc-claim-ticket { margin-top: 13px; padding: 12px; border-radius: 13px; background: #fbf5e7; border: 1px dashed #e8d4a4; text-align: left; }
.bc-claim-merchant { font-size: 8.5px; color: var(--bc-gold-deep); font-weight: 700; }
.bc-claim-title { margin-top: 4px; font-size: 12px; font-weight: 800; }
.bc-claim-value { margin-top: 5px; font-size: 24px; font-weight: 800; color: #b47714; }
.bc-claim-value small { font-size: 9px; color: var(--bc-muted); font-weight: 500; margin-left: 3px; }
.bc-claim-meta { margin-top: 5px; font-size: 8px; color: var(--bc-muted); }
.bc-claim-code { margin-top: 7px; font-family: ui-monospace, Menlo, monospace; font-size: 9px; letter-spacing: 1px; color: #8f8170; }
.bc-claim-actions { display: flex; gap: 7px; margin-top: 13px; }
.bc-claim-actions .bc-btn { flex: 1; padding: 10px; font-size: 11px; }
.bc-open-crown { width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 14px; display: grid; place-items: center; color: #3b2600; background: linear-gradient(135deg, #ffe9a6, #f0c35c); }
.bc-open-crown .ico { width: 24px; height: 24px; }
.bc-open-benefits { margin-top: 12px; display: grid; gap: 6px; text-align: left; }
.bc-open-benefits span { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--bc-sub); background: #fbf6eb; border-radius: 8px; padding: 7px 9px; }
.bc-open-benefits .ico { color: var(--bc-gold-deep); }
.bc-open-price { margin-top: 12px; display: flex; align-items: baseline; justify-content: center; gap: 4px; color: #b47714; }
.bc-open-price b { font-size: 24px; font-weight: 800; }
.bc-open-price small { font-size: 9px; color: var(--bc-muted); }

/* home entry */
.bc-entry { position: relative; display: block; margin: 14px 14px 0; padding: 15px 15px 12px; border-radius: 20px; overflow: hidden; color: #ffe9b3; background: radial-gradient(85% 75% at 88% 0%, rgba(242, 193, 91, 0.28), transparent 58%), radial-gradient(70% 70% at 0% 100%, rgba(192, 138, 46, 0.2), transparent 62%), linear-gradient(150deg, #17120e 0%, #2c2114 48%, #4a3519 100%); box-shadow: 0 14px 30px rgba(35, 24, 10, 0.22); border: 1px solid rgba(242, 193, 91, 0.16); }
.bc-entry-shine { position: absolute; right: -40px; top: -55px; width: 165px; height: 165px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 193, 91, 0.26), transparent 68%); pointer-events: none; }
.bc-entry-top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bc-entry-kicker { font-size: 8px; letter-spacing: 1.9px; color: rgba(255, 225, 157, 0.6); font-weight: 700; }
.bc-entry-title { margin-top: 6px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: 0.5px; display: flex; align-items: baseline; gap: 6px; color: #fff0cc; }
.bc-entry-title span { font-family: var(--font); font-size: 8.5px; font-weight: 700; color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); padding: 3px 6px; border-radius: 5px; }
.bc-entry-sub { margin-top: 5px; font-size: 10px; color: rgba(255, 232, 179, 0.55); }
.bc-entry-crown { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25); }
.bc-entry-crown .ico { width: 24px; height: 24px; }
.bc-entry-cats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 11px; }
.bc-entry-cats > span { font-size: 8.5px; font-weight: 600; padding: 3px 6px; border-radius: 4px; }
.bc-entry-more { margin-left: auto; display: flex; align-items: center; gap: 1px; color: rgba(255, 233, 179, 0.62) !important; background: rgba(255, 255, 255, 0.08) !important; }
.bc-entry-foot { position: relative; z-index: 2; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255, 232, 179, 0.12); display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 8px; color: rgba(255, 232, 179, 0.48); }
.bc-entry-foot span { display: flex; align-items: center; gap: 3px; }
.bc-entry-foot .ico { color: var(--bc-gold); }

/* empty */
.bc-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 42px 18px; text-align: center; color: var(--bc-muted); }
.bc-empty-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--bc-line); color: #cbb68d; margin-bottom: 11px; box-shadow: 0 8px 20px rgba(60, 42, 20, 0.05); }
.bc-empty-ico .ico { width: 25px; height: 25px; }
.bc-empty b { font-size: 13px; color: var(--bc-sub); }
.bc-empty p { margin-top: 5px; font-size: 10px; line-height: 1.6; max-width: 245px; }

/* merchant rail/list */
.bc-merchant-rail { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.bc-merchant-rail::-webkit-scrollbar { display: none; }
.bc-merchant-mini { flex: 0 0 196px; display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 13px; background: #fff; border: 1px solid var(--bc-line); }
.bc-merchant-mini img, .bc-mm-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; flex: none; display: grid; place-items: center; background: #fff4d9; color: #7a4d00; }
.bc-mm-logo .ico { width: 17px; height: 17px; }
.bc-merchant-mini b { display: flex; align-items: center; font-size: 11px; font-weight: 700; }
.bc-merchant-mini b i { color: #2e8bff; display: flex; font-style: normal; margin-left: 2px; }
.bc-merchant-mini small { display: block; font-size: 8px; color: var(--bc-muted); margin-top: 2px; }
.bc-merchant-list { display: flex; flex-direction: column; gap: 11px; }
.bc-merchant-card { background: #fff; border-radius: 17px; overflow: hidden; box-shadow: var(--bc-shadow); }
.bc-mc-cover { height: 104px; position: relative; overflow: hidden; background: #2a2016; }
.bc-mc-cover img { width: 100%; height: 100%; object-fit: cover; }
.bc-mc-cover .bc-cover-ph { position: absolute; inset: 0; }
.bc-mc-cat { position: absolute; left: 9px; top: 9px; font-size: 8.5px; font-weight: 700; padding: 3px 7px; border-radius: 5px; display: inline-flex; align-items: center; gap: 3px; }
.bc-mc-body { padding: 11px 13px 13px; }
.bc-mc-name { display: flex; align-items: center; flex-wrap: wrap; font-size: 14px; font-weight: 800; }
.bc-verified { display: inline-flex; align-items: center; gap: 2px; margin-left: 5px; font-size: 8.5px; font-weight: 600; color: #2e8bff; background: #eaf3ff; padding: 3px 6px; border-radius: 5px; }
.bc-verified .ico { width: 10px; height: 10px; }
.bc-mc-desc { margin-top: 4px; font-size: 10px; color: var(--bc-sub); line-height: 1.5; }
.bc-mc-meta { margin-top: 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 9px; color: var(--bc-muted); }
.bc-today-tip { display: flex; align-items: flex-start; gap: 4px; margin: 19px 3px 8px; padding: 9px; border-radius: 9px; background: #fff7e4; color: #9a741f; font-size: 9px; line-height: 1.6; }
.bc-today-tip .ico { flex: none; margin-top: 1px; }
.bc-fabs { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(78px + env(safe-area-inset-bottom, 0px)); width: 100%; max-width: 480px; padding: 0 17px; display: flex; justify-content: flex-end; gap: 8px; z-index: 30; pointer-events: none; }
.bc-fab { pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 999px; font-size: 11px; font-weight: 700; box-shadow: 0 10px 22px rgba(60, 42, 20, 0.18); }
.bc-fab.ghost { background: rgba(255, 255, 255, 0.93); color: var(--bc-ink); border: 1px solid var(--bc-line); }
.bc-fab.gold { color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); }

/* sub hero */
.bc-sub-hero { padding: calc(13px + env(safe-area-inset-top, 0px)) 18px 25px; color: #fff; border-radius: 0 0 28px 28px; position: relative; overflow: hidden; background: linear-gradient(150deg, #17120e, #332514 58%, #5b401c); }
.bc-sub-hero::after { content: ""; position: absolute; right: -48px; top: 44px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255, 236, 180, 0.12); box-shadow: 0 0 0 25px rgba(255, 236, 180, 0.03); }
.bc-sub-hero h1 { position: relative; z-index: 2; margin-top: 22px; font-family: var(--font-display); font-size: 27px; line-height: 1.26; font-weight: 800; letter-spacing: 0.5px; }
.bc-sub-hero h1 em { font-style: normal; color: var(--bc-gold); }
.bc-sub-hero p { position: relative; z-index: 2; margin-top: 6px; font-size: 10.5px; color: rgba(255, 235, 184, 0.6); }

/* detail */
.bc-detail-page { padding-bottom: 0; }
.bc-detail-hero { position: relative; height: 300px; overflow: hidden; background: #2a2016; }
.bc-detail-hero > img { width: 100%; height: 100%; object-fit: cover; }
.bc-detail-hero > .bc-cover-ph { position: absolute; inset: 0; }
.bc-detail-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 11, 7, 0.35) 0%, rgba(16, 11, 7, 0.04) 34%, rgba(20, 13, 8, 0.9) 100%); }
.bc-detail-top { position: absolute; left: 14px; right: 14px; top: calc(13px + env(safe-area-inset-top, 0px)); z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.bc-detail-actions { display: flex; gap: 7px; }
.bc-detail-head { position: absolute; left: 18px; right: 18px; bottom: 21px; z-index: 3; color: #fff; }
.bc-detail-tags { display: flex; align-items: center; gap: 5px; }
.bc-detail-head h1 { margin-top: 8px; font-family: var(--font-display); font-size: 25px; line-height: 1.3; font-weight: 800; letter-spacing: 0.3px; }
.bc-detail-head p { margin-top: 5px; font-size: 10.5px; color: rgba(255, 238, 199, 0.7); }
.bc-detail-discount { position: absolute; right: 16px; top: 58px; z-index: 3; width: 74px; height: 74px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); box-shadow: 0 9px 20px rgba(0, 0, 0, 0.28); transform: rotate(7deg); }
.bc-detail-discount b { font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: -0.6px; }
.bc-detail-discount span { font-size: 7.5px; margin-top: 3px; opacity: 0.75; }
.bc-detail-body { position: relative; z-index: 4; margin-top: -12px; padding: 0 14px 16px; display: flex; flex-direction: column; gap: 11px; }
.bc-detail-info, .bc-date-picker, .bc-merchant-panel, .bc-tags-card, .bc-notice-card { background: #fff; border-radius: 17px; border: 1px solid rgba(60, 42, 20, 0.04); box-shadow: 0 8px 22px rgba(60, 42, 20, 0.05); }
.bc-detail-info { padding: 5px 14px; }
.bc-info-row { display: flex; align-items: flex-start; gap: 9px; padding: 11px 0; border-bottom: 1px dashed var(--bc-line); }
.bc-info-row:last-child { border-bottom: 0; }
.bc-info-row > .ico { color: var(--bc-gold-deep); margin-top: 2px; }
.bc-info-row > div { flex: 1; min-width: 0; }
.bc-info-row span { display: block; font-size: 9px; color: var(--bc-muted); }
.bc-info-row b { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; line-height: 1.5; }
.bc-info-row small { display: block; margin-top: 3px; font-size: 8.5px; color: var(--bc-muted); }
.bc-date-picker { padding: 12px 13px 11px; }
.bc-date-picker-title { display: flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; margin-bottom: 8px; }
.bc-date-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bc-date-chips::-webkit-scrollbar { display: none; }
.bc-date-chip { flex: none; min-width: 58px; padding: 6px 8px; border-radius: 9px; background: #faf6ec; border: 1px solid var(--bc-line); text-align: center; }
.bc-date-chip b { display: block; font-size: 10px; font-weight: 700; }
.bc-date-chip span { display: block; font-size: 8px; color: var(--bc-muted); margin-top: 2px; }
.bc-date-chip.on { background: #1f1810; border-color: #1f1810; color: #ffe9b3; }
.bc-date-chip.on span { color: rgba(255, 233, 179, 0.6); }
.bc-merchant-panel { display: flex; gap: 10px; padding: 12px 13px; }
.bc-mp-logo { width: 45px; height: 45px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: #7a4d00; background: #fff4d9; }
.bc-mp-logo img { width: 100%; height: 100%; object-fit: cover; }
.bc-mp-logo .ico { width: 21px; height: 21px; }
.bc-mp-main { flex: 1; min-width: 0; }
.bc-mp-name { display: flex; align-items: center; flex-wrap: wrap; font-size: 12.5px; font-weight: 800; }
.bc-mp-meta { display: flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 8.5px; color: var(--bc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-mp-actions { display: flex; gap: 5px; margin-top: 7px; }
.bc-tags-card { padding: 12px 13px; }
.bc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.bc-card-head h3 { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; }
.bc-card-head > span { font-size: 8.5px; color: var(--bc-muted); }
.bc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.bc-tags span { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; color: #7b6a55; background: #faf6ec; border: 1px solid #f0e6d4; border-radius: 5px; padding: 4px 6px; }
.bc-tags .ico { color: var(--bc-green); }
.bc-notice-card { padding: 13px; }
.bc-notice-card .ico { color: var(--bc-gold-deep); }
.bc-notice-card p { margin-top: 6px; font-size: 9.5px; color: var(--bc-muted); line-height: 1.7; }
.bc-nearby-list { display: flex; flex-direction: column; gap: 8px; }
.bc-nearby-item { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--bc-line); }
.bc-nearby-cover { width: 45px; height: 45px; flex: none; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #fff4d9; color: #7a4d00; }
.bc-nearby-cover img { width: 100%; height: 100%; object-fit: cover; }
.bc-nearby-item > div:nth-child(2) { flex: 1; min-width: 0; }
.bc-nearby-item b { display: block; font-size: 10.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-nearby-item small { display: block; margin-top: 3px; font-size: 8.5px; color: var(--bc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-nearby-item > span { flex: none; font-size: 16px; font-weight: 800; color: #b47714; }
.bc-detail-bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 252, 246, 0.96); backdrop-filter: blur(14px); border-top: 1px solid rgba(60, 42, 20, 0.07); }
.bc-bar-price { flex: 1; }
.bc-bar-price small { display: block; font-size: 8px; color: var(--bc-muted); }
.bc-bar-price b { font-size: 19px; font-weight: 800; color: #b47714; }
.bc-bar-price span { display: block; font-size: 8px; color: var(--bc-muted); margin-top: 1px; }
.bc-bar-actions { flex: none; }
.bc-bar-actions .bc-btn { min-width: 128px; padding: 11px 15px; }
.bc-bar-actions .bc-btn:disabled { opacity: 0.5; }

/* open card page */
.bc-open-page { padding-bottom: 0; }
.bc-open-body { padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.bc-open-card-wrap { margin-top: -45px; position: relative; z-index: 2; }
.bc-open-desc { font-size: 9.5px; line-height: 1.65; color: var(--bc-muted); padding: 0 4px; }
.bc-renew-tip { display: flex; align-items: center; gap: 3px; font-size: 8.5px; color: #8c6b24; background: #fff7e2; border-radius: 8px; padding: 7px 9px; }
.bc-open-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--bc-line); border-radius: 11px; padding: 4px; }
.bc-open-tabs button { flex: 1; padding: 9px 4px; border-radius: 8px; font-size: 11px; color: var(--bc-sub); }
.bc-open-tabs button.on { background: #1f1810; color: #ffe9b3; font-weight: 700; }
.bc-open-tabs button:disabled { opacity: 0.45; }
.bc-spec-list { display: flex; flex-direction: column; gap: 8px; }
.bc-spec { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--bc-line); }
.bc-spec.on { border-color: #e7c061; background: #fffaf0; box-shadow: 0 0 0 2px rgba(242, 193, 91, 0.12); }
.bc-spec-name { flex: 1; min-width: 0; }
.bc-spec-name b { display: inline-block; font-size: 13px; font-weight: 800; }
.bc-spec-name span { display: inline-block; margin-left: 5px; font-size: 8px; font-weight: 700; color: #8a5a00; background: #ffefc6; border-radius: 4px; padding: 2px 5px; vertical-align: 1px; }
.bc-spec-rights { flex: 1.2; min-width: 0; font-size: 8.5px; color: var(--bc-muted); }
.bc-spec-price { flex: none; text-align: right; }
.bc-spec-price s { display: block; font-size: 8px; color: #b8aa95; }
.bc-spec-price strong { font-size: 18px; font-weight: 800; color: #b47714; }
.bc-spec-price small { font-size: 8px; color: var(--bc-muted); }
.bc-pay-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 1px 0; }
.bc-pay-bar small { display: block; font-size: 8px; color: var(--bc-muted); }
.bc-pay-bar b { font-size: 22px; font-weight: 800; color: #b47714; }
.bc-pay-bar .bc-btn { min-width: 130px; }
.bc-code-card { background: #fff; border: 1px solid var(--bc-line); border-radius: 14px; padding: 14px 13px; }
.bc-code-title { display: flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; }
.bc-code-title .ico { color: var(--bc-gold-deep); }
.bc-code-card p { margin-top: 5px; font-size: 9px; color: var(--bc-muted); line-height: 1.6; }
.bc-code-card .bc-input { margin-top: 10px; }
.bc-code-note { margin-top: 8px; font-size: 8.5px; color: var(--bc-muted); }
.bc-benefits-card { background: #fff; border-radius: 14px; border: 1px solid var(--bc-line); padding: 13px; }
.bc-benefit-grid { margin-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.bc-benefit-grid span { display: flex; align-items: center; gap: 3px; font-size: 9.5px; color: var(--bc-sub); background: #fbf6eb; border-radius: 7px; padding: 7px; }
.bc-benefit-grid .ico { color: var(--bc-gold-deep); }
.bc-scope { margin-top: 9px; display: flex; align-items: center; gap: 3px; font-size: 8.5px; color: var(--bc-muted); }
.bc-open-help { text-align: center; font-size: 8.5px; color: var(--bc-muted); line-height: 1.6; padding: 3px 10px; }
.bc-input { width: 100%; min-height: 40px; border-radius: 9px; border: 1px solid var(--bc-line); background: #fffdf8; padding: 9px 10px; font-size: 12px; outline: 0; color: var(--bc-ink); }
.bc-input:focus { border-color: #e7c061; box-shadow: 0 0 0 3px rgba(242, 193, 91, 0.12); }

/* filter sheet */
.bc-filter-sheet { max-height: 72vh; }
.bc-filter-block { padding: 4px 0 12px; }
.bc-filter-title { font-size: 10.5px; font-weight: 700; margin-bottom: 8px; }
.bc-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-chip { padding: 7px 10px; border-radius: 8px; font-size: 10px; color: var(--bc-sub); background: #faf6ec; border: 1px solid var(--bc-line); }
.bc-chip.on { background: #1f1810; color: #ffe9b3; border-color: #1f1810; }
.bc-filter-note { display: flex; align-items: center; gap: 3px; font-size: 8.5px; color: var(--bc-muted); padding: 3px 0 8px; }
.bc-filter-foot { display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--bc-line); background: #fff; }
.bc-filter-foot .bc-btn { flex: 1; }

/* coupons detail */
.bc-coupon-detail { width: min(90vw, 340px); background: #fff; border-radius: 18px; padding: 17px 15px 14px; }
.bc-coupon-detail-head { font-size: 9px; color: var(--bc-gold-deep); font-weight: 700; }
.bc-coupon-detail h2 { margin-top: 4px; font-size: 16px; font-weight: 800; }
.bc-coupon-detail-value { margin-top: 7px; font-size: 26px; font-weight: 800; color: #b47714; }
.bc-coupon-detail-rows { margin-top: 11px; display: flex; flex-direction: column; gap: 7px; }
.bc-coupon-detail-rows span { display: flex; justify-content: space-between; gap: 10px; font-size: 9.5px; color: var(--bc-muted); }
.bc-coupon-detail-rows b { color: var(--bc-ink); font-weight: 600; text-align: right; }

/* help */
.bc-help-body { padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.bc-help-steps { display: flex; flex-direction: column; gap: 8px; }
.bc-step { display: flex; gap: 10px; padding: 12px; border-radius: 13px; background: #fff; border: 1px solid var(--bc-line); }
.bc-step > span { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); }
.bc-step b { font-size: 12px; }
.bc-step p { margin-top: 3px; font-size: 9.5px; color: var(--bc-muted); line-height: 1.6; }
.bc-help-card { background: #fff; border-radius: 14px; border: 1px solid var(--bc-line); padding: 13px; }
.bc-help-card p { margin-top: 6px; font-size: 9.5px; color: var(--bc-muted); line-height: 1.75; }
.bc-help-cta { display: flex; flex-direction: column; gap: 7px; }
.bc-help-cta .bc-btn { margin-top: 0; }

/* merchant workbench */
.bc-merchant-body { padding: 14px; }
.bc-wb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.bc-wb-stats div { background: #fff; border: 1px solid var(--bc-line); border-radius: 11px; padding: 10px 4px; text-align: center; }
.bc-wb-stats b { display: block; font-size: 18px; font-weight: 800; color: #8a5a00; }
.bc-wb-stats span { display: block; font-size: 8px; color: var(--bc-muted); margin-top: 2px; }
.bc-wb-gmv { display: flex; align-items: center; gap: 14px; margin-top: 9px; padding: 12px 13px; border-radius: 13px; color: #ffe9b3; background: linear-gradient(120deg, #1b1510, #3f2e18); }
.bc-wb-gmv > div small { display: block; font-size: 8px; opacity: 0.58; }
.bc-wb-gmv > div b { display: block; font-size: 17px; font-weight: 800; margin-top: 2px; }
.bc-wb-gmv > a { flex: none; margin-left: auto; display: flex; align-items: center; gap: 2px; font-size: 9px; font-weight: 700; color: #3a2500; background: linear-gradient(135deg, #ffe9a6, #f0c35c); padding: 6px 9px; border-radius: 999px; }
.bc-wb-tabs { display: flex; gap: 4px; margin-top: 12px; background: #fff; border: 1px solid var(--bc-line); border-radius: 11px; padding: 4px; }
.bc-wb-tabs button { flex: 1; padding: 8px 3px; border-radius: 8px; font-size: 10px; color: var(--bc-sub); }
.bc-wb-tabs button.on { background: #1f1810; color: #ffe9b3; font-weight: 700; }
#bcWbBody { margin-top: 11px; }
.bc-wb-offer-list { display: flex; flex-direction: column; gap: 8px; }
.bc-wb-offer { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; border: 1px solid var(--bc-line); padding: 8px; }
.bc-wbo-cover { width: 50px; height: 49px; flex: none; border-radius: 8px; overflow: hidden; background: #fff4d9; color: #7a4d00; display: grid; place-items: center; }
.bc-wbo-cover img { width: 100%; height: 100%; object-fit: cover; }
.bc-wbo-main { flex: 1; min-width: 0; }
.bc-wbo-title { font-size: 11px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-wbo-meta { margin-top: 3px; font-size: 8px; color: var(--bc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-wbo-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 4px; font-size: 8px; color: var(--bc-muted); }
.bc-wbo-actions { flex: none; display: flex; flex-direction: column; gap: 4px; }
.bc-wbo-actions .bc-mini-btn { padding: 5px 7px; font-size: 8.5px; }
.bc-pending-card { background: #fff7e2; border: 1px solid #f1d698; border-radius: 13px; padding: 14px; color: #8a5a00; }
.bc-pending-card .ico { width: 24px; height: 24px; }
.bc-pending-card b { display: block; margin-top: 5px; font-size: 13px; }
.bc-pending-card p { margin-top: 4px; font-size: 9.5px; line-height: 1.6; color: #9a7a32; }
.bc-pending-card .bc-mini-btn { margin-top: 9px; }
.bc-merchant-status-card { margin-top: 10px; background: #fff; border: 1px solid var(--bc-line); border-radius: 13px; padding: 4px 13px; }
.bc-ms-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--bc-line); font-size: 9.5px; color: var(--bc-muted); }
.bc-ms-row:last-child { border-bottom: 0; }
.bc-ms-row b { font-size: 10.5px; color: var(--bc-ink); font-weight: 600; text-align: right; }
.bc-scan-modal { width: min(90vw, 340px); background: #fff; border-radius: 18px; padding: 15px; }
.bc-scan-head { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 800; }
.bc-scan-head .ico { color: var(--bc-gold-deep); }
.bc-scan-video-wrap { position: relative; margin-top: 11px; border-radius: 12px; overflow: hidden; background: #16110d; aspect-ratio: 1 / 1; }
.bc-scan-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-scan-line { position: absolute; left: 10%; right: 10%; top: 50%; height: 1.5px; background: linear-gradient(90deg, transparent, #ffe08a, transparent); box-shadow: 0 0 10px rgba(255, 224, 138, 0.6); }
.bc-scan-modal p { margin-top: 8px; font-size: 9px; color: var(--bc-muted); text-align: center; line-height: 1.6; }
.bc-scan-modal .bc-btn { margin-top: 9px; }
.bc-verify-card { background: #fff; border: 1px solid var(--bc-line); border-radius: 14px; padding: 13px; }
.bc-verify-entry { display: flex; gap: 6px; margin-top: 10px; }
.bc-verify-entry .bc-input { flex: 1; text-transform: uppercase; font-family: ui-monospace, Menlo, monospace; letter-spacing: 0.8px; }
.bc-verify-entry .bc-btn { min-width: 90px; padding: 10px 11px; font-size: 10.5px; }
.bc-verify-hint { display: flex; align-items: center; gap: 3px; font-size: 8.5px; color: var(--bc-muted); margin-top: 7px; }
.bc-verify-preview { margin-top: 12px; padding: 12px; border-radius: 11px; background: #fbf6eb; border: 1px dashed #e5d3aa; }
.bc-vp-head { display: flex; align-items: center; justify-content: space-between; }
.bc-vp-user { display: flex; align-items: center; gap: 3px; font-size: 9px; color: var(--bc-gold-deep); font-weight: 700; }
.bc-verify-preview h3 { margin-top: 5px; font-size: 13px; font-weight: 800; }
.bc-vp-merchant { margin-top: 3px; font-size: 8.5px; color: var(--bc-muted); }
.bc-vp-value { margin-top: 6px; font-size: 22px; font-weight: 800; color: #b47714; }
.bc-vp-value small { font-size: 8.5px; color: var(--bc-muted); font-weight: 500; margin-left: 3px; }
.bc-vp-rule { margin-top: 5px; font-size: 8.5px; color: var(--bc-muted); line-height: 1.6; }
.bc-vp-label { display: block; margin-top: 10px; font-size: 9px; color: var(--bc-sub); }
.bc-vp-amount { display: flex; gap: 6px; margin-top: 5px; }
.bc-vp-amount .bc-input { flex: 1; }
.bc-vp-amount .bc-btn { min-width: 95px; padding: 10px; font-size: 10.5px; }
.bc-calc-card { margin-top: 9px; background: #fff; border-radius: 9px; border: 1px solid var(--bc-line); padding: 9px 10px; }
.bc-calc-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 9.5px; color: var(--bc-muted); }
.bc-calc-row b { color: var(--bc-ink); }
.bc-calc-row.discount b { color: #b47714; }
.bc-calc-row.total { border-top: 1px dashed var(--bc-line); padding-top: 7px; margin-top: 3px; }
.bc-calc-row.total b { font-size: 16px; color: #b47714; }
.bc-calc-card .bc-btn { margin-top: 8px; }
.bc-records-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 9px; }
.bc-records-summary > div { background: #fff; border: 1px solid var(--bc-line); border-radius: 10px; padding: 10px 5px; text-align: center; }
.bc-records-summary b { display: block; font-size: 15px; font-weight: 800; color: #8a5a00; }
.bc-records-summary span { display: block; font-size: 8px; color: var(--bc-muted); margin-top: 2px; }
.bc-record-list { display: flex; flex-direction: column; gap: 8px; }
.bc-record { background: #fff; border-radius: 11px; border: 1px solid var(--bc-line); padding: 10px; }
.bc-record-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bc-record-top b { font-size: 10.5px; }
.bc-record-top span { font-size: 8px; color: var(--bc-muted); }
.bc-record-title { margin-top: 4px; font-size: 9.5px; color: var(--bc-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-record-nums { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 8.5px; color: var(--bc-muted); }
.bc-record-nums i { color: #b47714; font-style: normal; }
.bc-record-nums b { color: #189a66; }
.bc-record-code { margin-top: 5px; font-size: 7.5px; color: #a99d8b; font-family: ui-monospace, Menlo, monospace; }

/* merchant form */
.bc-form-page { padding-bottom: 0; }
.bc-form-body { padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.bc-form-block { background: #fff; border: 1px solid var(--bc-line); border-radius: 14px; padding: 13px; }
.bc-form-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.bc-form-title span { font-size: 12px; font-weight: 800; }
.bc-form-title small { font-size: 8.5px; color: var(--bc-muted); }
.bc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; }
.bc-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bc-field.wide { grid-column: 1 / -1; }
.bc-field > span { font-size: 9.5px; color: var(--bc-sub); font-weight: 600; }
.bc-field > span i { color: var(--bc-red); font-style: normal; }
.bc-field .bc-input { min-height: 38px; font-size: 11px; }
textarea.bc-input { resize: vertical; line-height: 1.6; min-height: 68px; }
.bc-loc-box { display: flex; align-items: center; justify-content: space-between; gap: 7px; border: 1px solid var(--bc-line); border-radius: 9px; background: #fbf7ee; padding: 7px 9px; }
.bc-loc-box span { display: flex; align-items: center; gap: 3px; font-size: 8.5px; color: var(--bc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-cover-upload { width: 100%; }
.bc-cover-preview { height: 130px; border-radius: 11px; border: 1.5px dashed #e3d5bb; background: #fdfaf4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--bc-muted); overflow: hidden; }
.bc-cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.bc-cover-preview span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bc-cover-preview .ico { width: 24px; height: 24px; color: var(--bc-gold-deep); }
.bc-cover-preview small { font-size: 8.5px; }
.bc-shop-uploads { display: flex; gap: 12px; align-items: center; }
.bc-shop-upload { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bc-shop-upload > small { font-size: 8px; color: var(--bc-muted); }
.bc-shop-logo { width: 66px; height: 66px; border-radius: 15px; overflow: hidden; display: grid; place-items: center; color: #7a4d00; background: #fff4d9; border: 1.5px dashed #e3d5bb; }
.bc-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.bc-shop-upload.cover { flex: 1; }
.bc-shop-cover { width: 100%; height: 66px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #fff4d9; border: 1.5px dashed #e3d5bb; color: #7a4d00; }
.bc-shop-cover img { width: 100%; height: 100%; object-fit: cover; }
.bc-shop-cover span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 8.5px; }
.bc-shop-cover .ico { width: 20px; height: 20px; }
.bc-form-tip { display: flex; align-items: center; justify-content: center; gap: 3px; font-size: 8.5px; color: var(--bc-muted); padding: 0 5px; line-height: 1.6; }
.bc-submit-bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 252, 246, 0.96); backdrop-filter: blur(14px); border-top: 1px solid rgba(60, 42, 20, 0.07); }
.bc-submit-bar > div { flex: 1; }
.bc-submit-bar small { display: block; font-size: 8px; color: var(--bc-muted); }
.bc-submit-bar b { font-size: 17px; font-weight: 800; color: #8a5a00; }
.bc-submit-bar span { display: block; font-size: 8px; color: var(--bc-muted); }
.bc-submit-bar .bc-btn { min-width: 130px; }
.bc-week-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.bc-week-chips button { padding: 7px 10px; border-radius: 8px; background: #faf6ec; border: 1px solid var(--bc-line); font-size: 9.5px; color: var(--bc-sub); }
.bc-week-chips button.on { background: #1f1810; border-color: #1f1810; color: #ffe9b3; }
.bc-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bc-switch-row b { font-size: 10.5px; }
.bc-switch-row small { display: block; font-size: 8.5px; color: var(--bc-muted); margin-top: 2px; }
.bc-switch { width: 40px; height: 24px; flex: none; border-radius: 999px; background: #e1d7c6; position: relative; }
.bc-switch::after { content: ""; position: absolute; left: 2.5px; top: 2.5px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(40, 30, 10, 0.18); transition: transform 0.2s; }
.bc-switch.on { background: #d9a63c; }
.bc-switch.on::after { transform: translateX(16px); }

@media (max-width: 360px) {
  .bc-discount-badge b { font-size: 18px; }
  .bc-offer-title { font-size: 15px; }
  .bc-fields { grid-template-columns: 1fr; }
  .bc-spec { flex-wrap: wrap; }
  .bc-spec-rights { flex-basis: 100%; order: 3; }
}
