/* 惠客活动 H5 版 - 全局样式(移动端优先,微信内置浏览器友好) */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f5f5; color: #222222; max-width: 480px; margin: 0 auto;
  padding-bottom: 70px; min-height: 100vh; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* 顶部轮播横幅 */
.banner-wrap { position: relative; overflow: hidden; border-radius: 0 0 20px 20px; }
.banner-track { display: flex; transition: transform .5s ease; }
.banner-slide {
  min-width: 100%; height: 170px; color: #fff; padding: 30px 22px;
  display: flex; flex-direction: column; justify-content: center; position: relative;
}
.banner-slide h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.banner-slide p { font-size: 13px; opacity: .92; }
.banner-btn {
  position: absolute; right: 20px; bottom: 24px; background: rgba(255,255,255,.95);
  color: #FF8000; font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 18px;
}
.banner-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.banner-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.banner-dots .dot.on { background: #fff; width: 18px; border-radius: 4px; }

/* 底部 CTA */
.cta-bar {
  background: #fff; margin: 12px 14px 0; border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.cta-txt { flex: 1; }
.cta-txt b { display: block; font-size: 15px; margin-bottom: 3px; }
.cta-txt span { font-size: 12px; color: #888780; }

/* 顶部横幅 */
.hero {
  background: linear-gradient(135deg, #FF8000 0%, #FFB04D 100%);
  color: #fff; padding: 34px 20px 26px; border-radius: 0 0 24px 24px; position: relative;
}
.hero h1 { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.hero p { font-size: 13px; opacity: .9; margin-top: 6px; }
.hero .badge-float { position: absolute; right: 18px; top: 30px; background: rgba(255,255,255,.22); padding: 6px 12px; border-radius: 20px; font-size: 12px; }

/* 通用卡片 */
.card { background: #fff; border-radius: 14px; padding: 16px; margin: 12px 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.card-title .more { font-size: 12px; color: #888780; font-weight: 400; }

/* 模板快捷入口 */
.tpl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tpl-item { text-align: center; }
.tpl-item .dot {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 6px; display: flex;
  align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 700;
}
.tpl-item .lbl { font-size: 12px; color: #444441; }

/* 活动列表 */
.act-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.act-item:last-child { border-bottom: none; }
.act-thumb {
  width: 84px; height: 84px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 600;
}
.act-info { flex: 1; min-width: 0; }
.act-info h3 { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.act-meta { font-size: 12px; color: #888780; line-height: 1.7; }
.act-meta b { color: #FF8000; font-size: 14px; }
.act-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.btn-sm { background: linear-gradient(135deg, #FF8000, #F67639); color: #fff; border: none; border-radius: 16px; padding: 5px 16px; font-size: 13px; }
.btn-sm.gray { background: #eee; color: #888; }

/* 底部导航 */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #fff; border-top: 1px solid #eee;
  display: flex; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 100;
}
.tabbar a { flex: 1; text-align: center; font-size: 11px; color: #888780; padding: 4px 0; }
.tabbar a .ic { font-size: 20px; display: block; margin-bottom: 2px; }
.tabbar a.active { color: #FF8000; font-weight: 600; }

/* 按钮 */
.btn-main {
  display: block; width: 100%; padding: 13px; border: none; border-radius: 24px;
  background: linear-gradient(135deg, #FF8000, #F67639); color: #fff;
  font-size: 16px; font-weight: 600; text-align: center; cursor: pointer;
}
.btn-main:disabled { opacity: .5; }
.btn-main.ghost { background: #fff; color: #FF8000; border: 1px solid #FF8000; }
.btn-main.teal { background: linear-gradient(135deg, #01AB0E, #0B8A14); }

/* 表单 */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: #444441; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 12px; border: 1px solid #ddd; border-radius: 10px;
  font-size: 14px; background: #fafafa; outline: none; font-family: inherit;
}
.field input:focus, .field textarea:focus { border-color: #FF8000; background: #fff; }
.field textarea { resize: vertical; min-height: 64px; }

/* 标签 */
.tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 10px; background: #FCEBEB; color: #A32D2D; margin-right: 6px; }
.tag.green { background: #EAF3DE; color: #3B6D11; }
.tag.blue { background: #E6F1FB; color: #185FA5; }
.tag.purple { background: #EEEDFE; color: #FF8000; }
.tag.orange { background: #FAEEDA; color: #854F0B; }

/* 弹窗 */
.mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; display: none; align-items: flex-end; justify-content: center; }
.mask.show { display: flex; }
.sheet { background: #fff; width: 100%; max-width: 480px; border-radius: 18px 18px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 80vh; overflow-y: auto; }
.sheet h3 { font-size: 16px; margin-bottom: 14px; text-align: center; }
.sheet .close-x { float: right; color: #888; font-size: 18px; cursor: pointer; }

/* 成功提示 */
.ok-block { text-align: center; padding: 30px 20px; }
.ok-circle { width: 64px; height: 64px; border-radius: 50%; background: #01AB0E; color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.ok-block h2 { font-size: 18px; margin-bottom: 6px; }
.ok-block p { font-size: 13px; color: #888780; line-height: 1.7; }
.code-box { background: #f5f5f5; border-radius: 8px; padding: 10px; margin-top: 10px; font-family: monospace; font-size: 18px; letter-spacing: 3px; }

/* 金额 */
.money { color: #FF8000; font-weight: 700; }
.balance-hero { text-align: center; padding: 26px 0 16px; }
.balance-hero .num { font-size: 40px; font-weight: 800; color: #FF8000; }
.balance-hero .lbl { font-size: 13px; color: #888780; margin-top: 4px; }

/* 列表行 */
.row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.row:last-child { border-bottom: none; }
.row .arrow { color: #bbb; }
.row.sub { font-size: 13px; color: #444441; }

/* 空状态 */
.empty { text-align: center; padding: 40px 0; color: #aaa; font-size: 14px; }

/* 状态条 */
.st-bar { font-size: 12px; color: #888780; margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 详情页 */
.detail-banner { height: 180px; border-radius: 0 0 20px 20px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; padding: 20px; text-align: center; }
.detail-foot { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; border-top: 1px solid #eee; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; z-index: 100; }
.detail-foot .price-box { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.detail-foot .price-box b { font-size: 20px; color: #FF8000; }
.detail-foot .price-box span { font-size: 11px; color: #888780; }
.detail-foot .btn-main { flex: 1; padding: 11px; font-size: 15px; }

/* 转盘 */
.wheel-wrap { position: relative; width: 300px; height: 300px; margin: 20px auto; }
.wheel-wrap canvas { width: 100%; height: 100%; }
.wheel-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, #FF8000, #F67639);
  color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  text-align: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.prize-result { text-align: center; font-size: 16px; font-weight: 600; color: #F67639; margin-top: 8px; min-height: 24px; }

/* ========== 团购邀请落地页(核心首屏) ========== */
.invite-page { padding-bottom: 0 !important; }

/* 背景层 */
.invite-bg { transition: filter .35s ease; min-height: 100vh; }
.invite-bg.blurred { filter: blur(6px); pointer-events: none; }

/* 商家头部 */
.shop-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 14px; background: linear-gradient(135deg, #FF8000, #FFB04D); color: #fff;
}
.shop-avatar {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0;
}
.shop-info h1 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.shop-tag { font-size: 12px; opacity: .88; margin-top: 2px; }

/* 海报区 */
.poster-area { background: linear-gradient(180deg, #FFF5EB 0%, #fff 100%); padding: 24px 20px; text-align: center; }
.poster-badge {
  display: inline-block; background: rgba(255,128,0,.12); color: #FF8000;
  font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 14px; margin-bottom: 14px;
}
.poster-title { font-size: 24px; font-weight: 800; line-height: 1.45; color: #222; }
.poster-stats {
  display: flex; justify-content: center; gap: 20px; margin-top: 18px;
  padding-top: 16px; border-top: 1px dashed #eee;
}
.stat-item { text-align: center; }
.stat-item b { font-size: 22px; font-weight: 800; color: #FF8000; display: block; }
.stat-item span { font-size: 11px; color: #888780; margin-top: 2px; display: block; }
.stat-divider { width: 1px; background: #eee; }

/* 进度条 */
.progress-bar { height: 10px; background: #f0ece8; border-radius: 5px; overflow: hidden; margin-bottom: 14px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #01AB0E, #5DCAA5); border-radius: 5px; transition: width .5s ease; }

/* 团队头像 */
.team-avatars { display: flex; gap: 10px; justify-content: center; }
.team-avatar {
  width: 50px; height: 50px; border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.team-avatar span { color: #fff; font-size: 18px; font-weight: 700; }
.team-avatar.empty { background: #f0f0f0; border-style: dashed; border-color: #ddd; }
.team-avatar.empty span { color: #ccc; font-size: 22px; }

/* 活动详情文字 */
.act-desc p { font-size: 14px; line-height: 1.85; color: #444; margin-bottom: 4px; }

/* 底部操作栏 */
.bottom-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #fff; border-top: 1px solid #eee;
  display: flex; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 12px; z-index: 90;
}
.price-info { display: flex; align-items: baseline; gap: 6px; }
.price-label { font-size: 12px; color: #888780; }
.price-val { color: #E24B4A; font-size: 15px; }
.price-val b { font-size: 26px; font-weight: 800; }
.price-original { font-size: 12px; color: #aaa; text-decoration: line-through; }
.btn-join-bottom {
  flex: 1; height: 44px; border: none; border-radius: 22px;
  background: linear-gradient(135deg, #FF8000, #F67639); color: #fff;
  font-size: 16px; font-weight: 700; cursor: pointer;
}

/* ====== 社交浏览条 ====== */
.social-bar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 150; padding: 44px 0 8px;
  pointer-events: none;
}
.social-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.social-scroll::-webkit-scrollbar { display: none; }
.social-item {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 18px; padding: 5px 12px 5px 5px;
  white-space: nowrap; font-size: 12px; color: #555;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
  pointer-events: auto; animation: fadeSlideIn .4s ease both;
}
.social-item:nth-child(2) { animation-delay: .1s; }
.social-item:nth-child(3) { animation-delay: .2s; }
.social-item:nth-child(4) { animation-delay: .3s; }
.social-item:nth-child(5) { animation-delay: .4s; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.social-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* ====== 邀请弹窗(模态遮罩) ====== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.invite-card {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 360px;
  padding: 30px 24px 24px; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  animation: cardPop .35s cubic-bezier(.2,1.2,.4,1) both;
}
@keyframes cardPop {
  from { opacity: 0; transform: scale(.85) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.invite-title { font-size: 22px; font-weight: 800; color: #222; margin-bottom: 18px; }

/* 头像槽位 */
.slot-row { display: flex; justify-content: center; gap: 14px; margin-bottom: 16px; }
.slot-avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.slot-avatar img { width: 100%; height: 100%; object-fit: cover; }
.slot-avatar.empty-slot {
  background: #f2f2f2; border: 2px dashed #d5d5d5;
  display: flex; align-items: center; justify-content: center;
}

/* 邀请文案 */
.invite-text {
  font-size: 14px; line-height: 1.8; color: #444;
  text-align: justify; margin-bottom: 22px;
}
.hl-red { color: #E24B4A; font-weight: 700; }

/* 双按钮 */
.invite-actions { display: flex; gap: 12px; }
.btn-later {
  flex: 1; height: 44px; border: 1px solid #ddd; border-radius: 22px;
  background: #fff; color: #666; font-size: 15px; cursor: pointer;
}
.btn-accept {
  flex: 1.4; height: 44px; border: none; border-radius: 22px;
  background: linear-gradient(135deg, #01AB0E, #0B8A14); color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer;
}

/* 报名表单 */
.form-group { margin-bottom: 14px; text-align: left; }
.form-group label { display: block; font-size: 13px; color: #444441; margin-bottom: 6px; }
.form-group input {
  width: 100%; padding: 11px 12px; border: 1px solid #ddd; border-radius: 10px;
  font-size: 14px; background: #fafafa; outline: none; font-family: inherit;
}
.form-group input:focus { border-color: #FF8000; background: #fff; }

/* ===================================================== */
/* ====== 完整长滚动落地页(11区块) ====== */
/* ===================================================== */

/* 区块#2 主视觉海报 */
.hero-poster {
  display: flex; background: linear-gradient(180deg, #FFF5EB 0%, #fff 100%);
  padding: 18px 14px; gap: 14px;
}
.hero-left { flex: 0 0 42%; }
.hero-model {
  width: 100%; aspect-ratio: 3/4; border-radius: 14px;
  background: linear-gradient(160deg, #FFD9B8, #FFB07A);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.95); font-size: 34px; text-align: center;
}
.hero-model p { font-size: 12px; color: rgba(255,255,255,.9); margin-top: 8px; line-height: 1.5; }
.hero-right { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.brand-line {
  display: inline-block; font-size: 11px; color: #8a5a00; font-weight: 600;
  background: #FFE9C9; border: 1px solid #FFD9A0; border-radius: 4px; padding: 2px 8px;
  align-self: flex-start; margin-bottom: 10px;
}
.hero-price { font-size: 16px; color: #E24B4A; font-weight: 700; margin-bottom: 6px; }
.hero-price b { font-size: 40px; font-weight: 900; }
.hero-title { font-size: 18px; font-weight: 800; line-height: 1.4; color: #222; margin-bottom: 8px; }
.hero-title b { color: #FF8000; }
.hero-slogan { font-size: 13px; color: #FF8000; font-weight: 700; margin-bottom: 4px; }
.hero-sub { font-size: 11px; color: #888780; }

/* 区块标题 */
.sec-title { font-size: 16px; font-weight: 800; color: #222; margin: 18px 14px 10px; display: flex; align-items: center; gap: 6px; }
.sec-title::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, #FF8000, #F67639); }

/* 区块#3 商品横向滚动 */
.goods-scroll {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.goods-scroll::-webkit-scrollbar { display: none; }
.goods-card {
  flex: 0 0 132px; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); position: relative;
}
.goods-img { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.goods-name { font-size: 12px; color: #333; padding: 8px 8px 2px; line-height: 1.4; }
.goods-price { font-size: 12px; color: #E24B4A; font-weight: 700; padding: 2px 8px 10px; }
.goods-price s { color: #bbb; font-weight: 400; font-size: 10px; }
.goods-tag {
  position: absolute; top: 6px; left: 6px; font-size: 10px; color: #fff;
  background: linear-gradient(135deg, #FF8000, #F67639); border-radius: 8px; padding: 2px 8px;
}

/* 区块#4 互动选择题 */
.quiz-sec { background: #fff; border-radius: 14px; margin: 14px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.quiz-title { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.quiz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-tag {
  font-size: 13px; color: #555; border: 1px solid #e0e0e0; border-radius: 18px;
  padding: 7px 14px; cursor: pointer; transition: all .2s;
}
.quiz-tag:active { transform: scale(.96); }
.quiz-answer {
  margin-top: 12px; font-size: 13px; color: #FF8000; background: #FFF7EE;
  border-radius: 10px; padding: 10px 12px; line-height: 1.6;
}

/* 区块#5 拼团数据 */
.data-row { display: flex; justify-content: space-around; text-align: center; }
.data-cell b { font-size: 22px; font-weight: 900; color: #E24B4A; display: block; }
.data-cell span { font-size: 11px; color: #888780; }
.avatar-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.grid-avatar {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 13px; font-weight: 600;
}

/* 区块#6 人群 + 紧迫条 */
.people-row { margin: 0 14px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.people-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.people-list { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.people-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #555; }
.people-avatar {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 12px; font-weight: 700;
}
.urgency-bar {
  margin: 12px 14px 0; border-radius: 12px; padding: 12px 14px;
  background: linear-gradient(135deg, #FF8000, #F67639); color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 2px 8px rgba(255,128,0,.25);
}
.urgency-text { font-size: 13px; font-weight: 700; }
.urgency-countdown { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.22); padding: 4px 10px; border-radius: 12px; font-variant-numeric: tabular-nums; }

/* 区块#7 实时抢购列表 */
.buy-list { margin: 0 14px; background: #fff; border-radius: 14px; padding: 6px 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.buy-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f5f5f5; }
.buy-row:last-child { border-bottom: none; }
.buy-row.new-row { animation: slideDown .4s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.buy-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.buy-info { flex: 1; }
.buy-info b { font-size: 14px; display: block; }
.buy-info span { font-size: 11px; color: #01AB0E; }
.buy-btn {
  border: none; border-radius: 15px; padding: 6px 14px;
  background: #E24B4A; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
  flex-shrink: 0;
}

/* 区块#8 重复海报 */
.repeat-poster { margin: 14px; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 4px 16px rgba(255,128,0,.2); }
.rp-inner {
  background: linear-gradient(150deg, #FF8C1A, #FF6A00 55%, #E85A00);
  padding: 22px 20px; color: #fff; position: relative; text-align: center;
}
.rp-brand { font-size: 12px; letter-spacing: 2px; background: rgba(255,255,255,.2); display: inline-block; padding: 3px 12px; border-radius: 4px; margin-bottom: 10px; }
.rp-price { font-size: 18px; font-weight: 700; }
.rp-price b { font-size: 44px; font-weight: 900; }
.rp-title { font-size: 17px; font-weight: 800; margin: 6px 0; }
.rp-slogan { font-size: 12px; opacity: .92; margin-bottom: 14px; }
.rp-btn {
  border: none; background: #fff; color: #FF8000; font-size: 14px; font-weight: 800;
  border-radius: 22px; padding: 10px 28px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* 区块#9 规则说明 */
.rules-sec { background: #fff; border-radius: 14px; margin: 14px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.rules-title { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.rule-item { padding: 9px 0; border-bottom: 1px dashed #f0f0f0; }
.rule-item:last-child { border-bottom: none; }
.rule-item b { font-size: 13px; color: #FF8000; }
.rule-item p { font-size: 12px; color: #555; line-height: 1.7; margin-top: 3px; }

/* 区块#10 联系方式 + CTA */
.contact-sec { background: #fff; border-radius: 14px; margin: 14px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.contact-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #333; padding: 7px 0; }
.contact-link { color: #FF8000; font-weight: 700; }
.qrcode-box {
  margin-left: auto; width: 46px; height: 46px; border: 1px dashed #ddd; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #aaa; text-align: center; line-height: 1.3;
}
.contact-btns { display: flex; gap: 12px; margin-top: 14px; }
.btn-orange-lg {
  flex: 1; height: 46px; border: none; border-radius: 23px;
  background: linear-gradient(135deg, #FF8000, #F67639); color: #fff;
  font-size: 15px; font-weight: 800; cursor: pointer;
}
.btn-green-lg {
  flex: 1; height: 46px; border: none; border-radius: 23px;
  background: linear-gradient(135deg, #01AB0E, #0B8A14); color: #fff;
  font-size: 15px; font-weight: 800; cursor: pointer;
}

/* ====== 海报生成页 ====== */
.poster-page { background: #2a2a2a; padding-bottom: 20px; }
.poster-preview { padding: 16px; display: flex; justify-content: center; }
.poster-canvas { width: 100%; max-width: 400px; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.4); background: #fff; }
.poster-actions { padding: 0 20px 24px; }
.poster-save-btn {
  width: 100%; height: 48px; border: none; border-radius: 24px;
  background: linear-gradient(135deg, #01AB0E, #0B8A14); color: #fff;
  font-size: 16px; font-weight: 800; cursor: pointer; margin-bottom: 10px;
}
.poster-back-btn {
  width: 100%; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 22px;
  background: transparent; color: #fff; font-size: 14px; cursor: pointer;
}
.poster-tip { text-align: center; color: #bbb; font-size: 12px; padding: 0 30px 10px; line-height: 1.6; }
