/* 拼任务 H5 样式 */
:root {
  --orange: #FF5C1A; --orange-light: #FF8A50; --orange-pale: #FFF0EA; --orange-deep: #E5400F;
  --dark: #1A1208; --dark2: #2D2010; --gray: #8A7E74; --gray-light: #F5F0EB; --white: #FFFDF9;
  --green: #2ECC71; --blue: #3498DB; --purple: #9B59B6; --gold: #F39C12; --red: #E74C3C;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif; background: var(--gray-light); color: var(--dark); max-width: 480px; margin: 0 auto; min-height: 100vh; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; outline: none; }
.hidden { display: none !important; }

/* 顶部栏 */
.topbar { position: sticky; top: 0; z-index: 100; background: linear-gradient(180deg, var(--dark), var(--dark2)); color: white; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.topbar .back { font-size: 18px; color: rgba(255,255,255,0.8); background: none; border: none; padding: 0 4px; }
.topbar .title { font-size: 16px; font-weight: 800; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar .right { font-size: 12px; color: rgba(255,255,255,0.7); }

/* 页面容器 */
.page { display: none; min-height: 100vh; padding-bottom: 70px; }
.page.active { display: block; }

/* 底部导航 */
.bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: white; border-top: 1px solid var(--gray-light); display: flex; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); z-index: 200; }
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; color: var(--gray); font-size: 9px; cursor: pointer; }
.nav-item .nav-icon { font-size: 20px; }
.nav-item.active { color: var(--orange); }
.nav-center { flex: 1; display: flex; flex-direction: column; align-items: center; cursor: pointer; margin-top: -18px; }
.nav-center .nav-center-btn { width: 48px; height: 48px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: white; box-shadow: 0 5px 16px rgba(255,92,26,0.35); }
.nav-center .nav-label { color: var(--orange); font-weight: 700; margin-top: 2px; font-size: 9px; }

/* 首页 */
.home-header { background: linear-gradient(180deg, var(--dark), var(--dark2)); padding: 14px 16px 26px; position: relative; overflow: hidden; }
.home-header::before { content:''; position:absolute; top:-60px; right:-40px; width:180px; height:180px; background:var(--orange); border-radius:50%; opacity:.1; }
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; position: relative; z-index: 1; }
.logo-area { display: flex; align-items: center; gap: 8px; }
.logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 3px 10px rgba(255,92,26,.3); }
.logo-text { color: white; font-size: 18px; font-weight: 900; }
.logo-text span { color: var(--orange); }
.header-avatar { width: 36px; height: 36px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; border: 2px solid rgba(255,255,255,.25); cursor: pointer; position: relative; z-index: 1; }
.header-greeting { color: rgba(255,255,255,.6); font-size: 12px; margin-bottom: 3px; position: relative; z-index: 1; }
.header-title { color: white; font-size: 21px; font-weight: 900; position: relative; z-index: 1; }
.header-title span { color: var(--orange); }
.search-bar { margin-top: 14px; background: rgba(255,255,255,.1); border-radius: 14px; display: flex; align-items: center; padding: 10px 14px; gap: 8px; border: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1; }
.search-bar input { background: none; border: none; color: rgba(255,255,255,.85); font-size: 13px; flex: 1; }
.search-bar input::placeholder { color: rgba(255,255,255,.4); }

.banner { margin: 14px 16px 0; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); border-radius: 16px; padding: 16px; color: white; position: relative; overflow: hidden; box-shadow: 0 6px 20px rgba(255,92,26,.3); }
.banner::before { content:''; position:absolute; top:-25px; right:-25px; width:100px; height:100px; background:rgba(255,255,255,.1); border-radius:50%; }
.banner-title { font-size: 15px; font-weight: 900; margin-bottom: 4px; }
.banner-desc { font-size: 11px; opacity: .85; }
.banner-stats { display: flex; gap: 16px; margin-top: 10px; position: relative; z-index: 1; }
.banner-stat { text-align: center; }
.banner-stat-num { font-size: 18px; font-weight: 900; }
.banner-stat-label { font-size: 9px; opacity: .75; }

/* 分类 */
.cat-wrap { background: white; margin: 14px 16px 0; border-radius: 16px; padding: 14px; }
.tab-switch { display: flex; background: var(--gray-light); border-radius: 12px; padding: 3px; margin-bottom: 12px; }
.tab-btn { flex: 1; padding: 8px; border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--gray); text-align: center; cursor: pointer; }
.tab-btn.active { background: white; color: var(--dark); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tab-btn.biz.active { color: var(--orange); }
.cat-section { display: none; }
.cat-section.active { display: block; }
.cat-section-title { font-size: 11px; font-weight: 800; color: var(--gray); margin: 10px 0 8px; display: flex; align-items: center; gap: 5px; }
.cat-section-title::before { content:''; display:inline-block; width:3px; height:12px; background:var(--orange); border-radius:2px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.cat-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.cat-icon.orange { background: var(--orange-pale); } .cat-icon.green { background: #E8F8F0; } .cat-icon.blue { background: #EAF4FD; }
.cat-icon.purple { background: #F4EEF9; } .cat-icon.gold { background: #FEF9E7; } .cat-icon.pink { background: #FDEEF4; }
.cat-icon.teal { background: #E8F8F5; } .cat-icon.red { background: #FDEDEC; }
.cat-label { font-size: 9px; color: var(--dark); font-weight: 600; text-align: center; }

/* 任务卡片 */
.group-tasks { padding: 16px; }
.section-title { font-size: 15px; font-weight: 800; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.section-title .more { font-size: 11px; color: var(--orange); font-weight: 600; cursor: pointer; }
.group-card { background: white; border-radius: 18px; padding: 15px; margin-bottom: 12px; border: 2px solid var(--gray-light); cursor: pointer; position: relative; }
.group-card:active { transform: scale(.98); border-color: var(--orange); }
.group-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); border-radius: 18px 18px 0 0; }
.group-card.full::before { background: linear-gradient(90deg, var(--green), #58D68D); }
.group-card.waiting::before { background: linear-gradient(90deg, var(--gold), #F5B041); }
.group-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.group-title { font-size: 14px; font-weight: 800; flex: 1; margin-right: 8px; line-height: 1.4; }
.group-price { font-size: 19px; font-weight: 900; color: var(--orange); white-space: nowrap; }
.group-price small { font-size: 10px; font-weight: 500; }
.group-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { background: var(--gray-light); color: var(--gray); font-size: 9px; padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.tag.hot { background: #FFF0EA; color: var(--orange); }
.tag.group-mode { background: linear-gradient(135deg, var(--orange-pale), #FFE0CC); color: var(--orange); }
.tag.auto-select { background: #EAF4FD; color: var(--blue); }
.group-progress { background: var(--gray-light); border-radius: 10px; padding: 10px; margin-bottom: 8px; }
.progress-header { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 11px; font-weight: 600; }
.progress-count { color: var(--orange); font-weight: 800; }
.progress-bar { height: 6px; background: #D5CCC4; border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-light)); border-radius: 3px; }
.progress-fill.full { background: linear-gradient(90deg, var(--green), #58D68D); }
.progress-hint { font-size: 9px; color: var(--gray); }
.group-footer { display: flex; justify-content: space-between; align-items: center; }
.publisher-info { display: flex; align-items: center; gap: 6px; }
.publisher-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-light)); display: flex; align-items: center; justify-content: center; font-size: 11px; color: white; font-weight: 700; }
.publisher-name { font-size: 10px; color: var(--gray); font-weight: 500; }
.group-reward { font-size: 10px; color: var(--green); font-weight: 600; }

/* 详情页 */
.detail-header { background: linear-gradient(180deg, var(--dark), var(--dark2)); padding: 12px 16px 20px; color: white; }
.detail-title { font-size: 19px; font-weight: 900; line-height: 1.3; margin: 8px 0 8px; }
.detail-price { font-size: 30px; font-weight: 900; color: var(--orange); }
.detail-price-unit { font-size: 12px; color: rgba(255,255,255,.5); }
.detail-body { padding: 14px 16px; }
.group-status-card { background: linear-gradient(135deg, var(--orange), var(--orange-light)); border-radius: 16px; padding: 16px; margin-bottom: 12px; color: white; position: relative; overflow: hidden; }
.group-status-card::before { content:''; position:absolute; top:-30px; right:-30px; width:110px; height:110px; background:rgba(255,255,255,.1); border-radius:50%; }
.status-label { font-size: 11px; opacity: .9; margin-bottom: 3px; }
.status-main { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.status-progress { display: flex; align-items: center; gap: 10px; }
.status-num { font-size: 26px; font-weight: 900; }
.status-desc { font-size: 10px; opacity: .9; line-height: 1.5; }
.info-card { background: white; border-radius: 14px; padding: 14px; margin-bottom: 12px; border: 1px solid var(--gray-light); }
.info-card-title { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--gray-light); font-size: 11px; }
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--gray); }
.info-value { font-weight: 600; }
.info-value.highlight { color: var(--orange); }
.info-value.green { color: var(--green); }
.publisher-card { background: white; border-radius: 14px; padding: 14px; margin-bottom: 12px; border: 2px solid var(--orange-pale); }
.publisher-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.publisher-large-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-light)); display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; font-weight: 700; flex-shrink: 0; }
.publisher-card-name { font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.publisher-card-stats { display: flex; gap: 10px; margin-top: 4px; font-size: 10px; color: var(--gray); }
.publisher-quality { display: flex; gap: 6px; }
.quality-tag { font-size: 9px; padding: 3px 8px; border-radius: 6px; background: var(--orange-pale); color: var(--orange); font-weight: 600; }
.participant-item { display: flex; align-items: center; gap: 10px; padding: 9px; background: var(--gray-light); border-radius: 12px; margin-bottom: 8px; }
.participant-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #5DADE2); display: flex; align-items: center; justify-content: center; font-size: 15px; color: white; font-weight: 700; flex-shrink: 0; position: relative; }
.winner-badge { position: absolute; bottom: -3px; right: -3px; background: var(--orange); color: white; font-size: 8px; padding: 2px 5px; border-radius: 8px; font-weight: 700; }
.participant-info { flex: 1; }
.participant-name { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.participant-stats { font-size: 9px; color: var(--gray); margin-top: 1px; }
.participant-rating { color: var(--gold); font-weight: 600; font-size: 10px; }

/* 按钮 */
.btn-primary { width: 100%; padding: 13px; border-radius: 12px; border: none; background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: white; font-size: 14px; font-weight: 800; box-shadow: 0 3px 14px rgba(255,92,26,.3); }
.btn-secondary { width: 100%; padding: 12px; border-radius: 12px; border: 2px solid var(--orange); background: none; color: var(--orange); font-size: 13px; font-weight: 700; }
.btn-green { background: linear-gradient(135deg, var(--green), #58D68D); box-shadow: 0 3px 14px rgba(46,204,113,.3); }
.apply-bar { position: fixed; bottom: 60px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: white; border-top: 1px solid var(--gray-light); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; z-index: 150; }
.apply-bar .btn-primary { flex: 2; } .apply-bar .btn-secondary { flex: 1; }

/* 表单 */
.form-group { margin-bottom: 14px; }
.form-label { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.form-label .required { color: var(--orange); }
.form-input { width: 100%; padding: 11px 13px; border-radius: 12px; border: 2px solid var(--gray-light); font-size: 13px; background: white; }
.form-input:focus { border-color: var(--orange); }
textarea.form-input { resize: none; height: 70px; line-height: 1.6; }
.mode-selector { display: flex; gap: 10px; }
.mode-option { flex: 1; padding: 12px; border-radius: 12px; border: 2px solid var(--gray-light); text-align: center; cursor: pointer; }
.mode-option.selected { border-color: var(--orange); background: var(--orange-pale); }
.mode-option .mode-emoji { font-size: 22px; display: block; margin-bottom: 4px; }
.mode-option .mode-name { font-size: 12px; font-weight: 700; }
.mode-option .mode-desc { font-size: 9px; color: var(--gray); margin-top: 3px; }
.task-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.task-type-item { padding: 10px 4px; border-radius: 12px; border: 2px solid var(--gray-light); text-align: center; cursor: pointer; }
.task-type-item.selected { border-color: var(--orange); background: var(--orange-pale); }
.task-type-item .type-icon { font-size: 20px; display: block; margin-bottom: 3px; }
.task-type-item .type-name { font-size: 10px; font-weight: 700; }
.group-setting { background: linear-gradient(135deg, var(--orange-pale), #FFE0CC); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.group-setting-title { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.setting-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 12px; }
.setting-value { display: flex; align-items: center; gap: 6px; }
.number-btn { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--orange); background: white; color: var(--orange); font-size: 16px; font-weight: 700; }
.number-display { font-size: 15px; font-weight: 800; min-width: 32px; text-align: center; }
.total-calc { background: white; border-radius: 14px; padding: 14px; margin-bottom: 14px; border: 2px solid var(--gray-light); }
.total-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 11px; color: var(--gray); }
.total-row.final { border-top: 1px dashed var(--gray-light); margin-top: 8px; padding-top: 10px; font-size: 14px; font-weight: 800; color: var(--dark); }
.total-value { font-weight: 700; color: var(--orange); }
.payment-note { background: #FFF9E6; border-radius: 10px; padding: 10px; font-size: 10px; color: var(--gold); margin-bottom: 14px; }

/* 抽选 */
.draw-pool { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 16px; }
.draw-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #5DADE2); display: flex; align-items: center; justify-content: center; font-size: 17px; color: white; font-weight: 700; cursor: pointer; border: 3px solid transparent; position: relative; }
.draw-avatar.selected { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-pale); }
.draw-instruction { background: var(--orange-pale); border-radius: 12px; padding: 14px; text-align: center; margin-bottom: 14px; }
.draw-instruction-text { font-size: 12px; color: var(--orange); font-weight: 600; }

/* 结果页 */
.result-header { background: linear-gradient(180deg, var(--orange), var(--orange-deep)); padding: 12px 16px 24px; text-align: center; color: white; position: relative; }
.result-header.gray { background: linear-gradient(180deg, #4A4A4A, #2D2D2D); }
.result-icon { font-size: 48px; margin: 10px 0 6px; }
.result-title { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.result-sub { font-size: 11px; opacity: .85; }
.result-body { padding: 14px 16px; }
.reward-info-card { background: linear-gradient(135deg, #E8F8F0, #D5F5E3); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reward-info-card.gold { background: linear-gradient(135deg, #FEF9E7, #FCF3CF); }
.reward-info-icon { width: 42px; height: 42px; background: var(--green); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.reward-info-icon.gold { background: var(--gold); }
.reward-info-title { font-size: 11px; color: var(--gray); }
.reward-info-amount { font-size: 20px; font-weight: 900; color: var(--green); }
.reward-info-amount.gold { color: var(--gold); }

/* 执行步骤 */
.task-steps { padding: 16px; }
.task-step { display: flex; gap: 12px; margin-bottom: 18px; position: relative; }
.task-step::before { content:''; position:absolute; left: 19px; top: 38px; bottom: -18px; width: 2px; background: var(--gray-light); }
.task-step:last-child::before { display: none; }
.step-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; position: relative; z-index: 1; }
.step-icon.done { background: var(--green); }
.step-icon.current { background: var(--orange); }
.step-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.step-desc { font-size: 10px; color: var(--gray); }
.task-action-bar { position: fixed; bottom: 60px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: white; border-top: 1px solid var(--gray-light); padding: 10px 16px; display: flex; gap: 10px; z-index: 150; }

/* 个人中心 */
.profile-header { background: linear-gradient(180deg, var(--dark), var(--dark2)); padding: 14px 16px 18px; color: white; }
.profile-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.profile-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-light)); display: flex; align-items: center; justify-content: center; font-size: 24px; border: 3px solid rgba(255,255,255,.2); }
.profile-info { flex: 1; }
.profile-name { font-size: 17px; font-weight: 800; }
.profile-id { color: rgba(255,255,255,.5); font-size: 10px; margin-top: 2px; }
.profile-badge { background: linear-gradient(135deg, var(--gold), #E67E22); color: white; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; cursor: pointer; }
.stats-row { display: flex; gap: 8px; }
.stat-item { flex: 1; text-align: center; padding: 10px 4px; background: rgba(255,255,255,.1); border-radius: 12px; }
.stat-num { display: block; font-size: 15px; font-weight: 900; color: white; }
.stat-num.orange { color: var(--orange); }
.stat-label { display: block; font-size: 9px; color: rgba(255,255,255,.6); margin-top: 2px; }
.profile-body { padding: 14px 16px; }
.menu-section { margin-bottom: 16px; }
.menu-title { font-size: 12px; font-weight: 700; color: var(--gray); margin-bottom: 8px; }
.menu-list { background: white; border-radius: 14px; overflow: hidden; border: 1px solid var(--gray-light); }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 13px; border-bottom: 1px solid var(--gray-light); cursor: pointer; }
.menu-item:last-child { border-bottom: none; }
.menu-item-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.menu-item-text { flex: 1; }
.menu-item-name { font-size: 12px; font-weight: 700; }
.menu-item-sub { font-size: 9px; color: var(--gray); margin-top: 1px; }
.menu-item-right { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--orange); font-weight: 700; }
.menu-arrow { color: var(--gray); font-size: 15px; }

/* 我的拼团 */
.my-group-card { background: white; border-radius: 14px; padding: 13px; margin-bottom: 10px; border: 1px solid var(--gray-light); }
.my-group-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.my-group-title { font-size: 13px; font-weight: 700; flex: 1; margin-right: 8px; }
.my-group-status { font-size: 9px; padding: 3px 8px; border-radius: 6px; font-weight: 700; }
.my-group-status.drawn { background: var(--orange-pale); color: var(--orange); }
.my-group-status.waiting { background: #FEF9E7; color: var(--gold); }
.my-group-status.done { background: #E8F8F0; color: var(--green); }
.my-group-status.gray { background: var(--gray-light); color: var(--gray); }
.my-group-info { display: flex; gap: 12px; font-size: 10px; color: var(--gray); margin-bottom: 8px; }
.my-group-actions { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--gray-light); }
.my-group-actions button { flex: 1; padding: 9px; border-radius: 10px; border: none; font-size: 11px; font-weight: 700; }
.btn-act { background: var(--orange); color: white; }
.btn-act-green { background: var(--green); color: white; }
.btn-act-ghost { background: var(--gray-light); color: var(--gray); }
.btn-act-pale { background: var(--orange-pale); color: var(--orange); }

/* 评价 */
.rate-card { background: white; border-radius: 14px; padding: 16px; margin-bottom: 12px; border: 1px solid var(--gray-light); text-align: center; }
.rate-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-light)); display: flex; align-items: center; justify-content: center; font-size: 22px; color: white; font-weight: 700; margin: 0 auto 8px; }
.rate-name { font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.rate-type { font-size: 10px; color: var(--gray); margin-bottom: 10px; }
.rate-stars { display: flex; justify-content: center; gap: 6px; font-size: 26px; }
.rate-star { cursor: pointer; filter: grayscale(1); opacity: .4; }
.rate-star.active { filter: none; opacity: 1; }
.rate-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0; }
.rate-tag { padding: 6px 12px; border-radius: 20px; font-size: 10px; background: var(--gray-light); color: var(--gray); cursor: pointer; }
.rate-tag.selected { background: var(--orange-pale); color: var(--orange); }
.rate-textarea { width: 100%; padding: 11px; border-radius: 12px; border: 2px solid var(--gray-light); font-size: 12px; resize: none; height: 70px; }
.rate-submit { width: 100%; padding: 13px; border-radius: 12px; border: none; background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: white; font-size: 14px; font-weight: 800; }

/* 会员等级 */
.vip-header { background: linear-gradient(180deg, var(--dark), var(--dark2)); padding: 14px 16px 20px; color: white; }
.vip-current { display: flex; align-items: center; gap: 12px; }
.vip-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #FF6B00); display: flex; align-items: center; justify-content: center; font-size: 24px; border: 3px solid rgba(255,255,255,.3); }
.vip-name { font-size: 16px; font-weight: 800; }
.vip-level { color: var(--gold); font-size: 13px; font-weight: 700; margin-top: 2px; }
.vip-level-card { display: flex; align-items: center; gap: 12px; padding: 13px; background: white; border-radius: 14px; margin-bottom: 10px; border: 2px solid var(--gray-light); }
.vip-level-card.current { border-color: var(--gold); box-shadow: 0 4px 15px rgba(255,215,0,.2); }
.vip-level-card.locked { opacity: .55; }
.vip-level-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.vip-level-name { font-size: 13px; font-weight: 800; }
.vip-level-req { font-size: 9px; color: var(--gray); margin-top: 2px; }
.vip-level-benefit { font-size: 9px; color: var(--green); margin-top: 3px; }

/* 通用 */
.card { background: white; border-radius: 14px; padding: 14px; margin-bottom: 12px; border: 1px solid var(--gray-light); }
.row-between { display: flex; justify-content: space-between; align-items: center; }
.muted { color: var(--gray); font-size: 11px; }
.money { color: var(--orange); font-weight: 800; }
.green { color: var(--green); }
.empty { text-align: center; padding: 50px 20px; color: var(--gray); font-size: 12px; }
.loading { text-align: center; padding: 30px; color: var(--gray); font-size: 12px; }
.badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 6px; font-size: 9px; font-weight: 700; }
.badge.lv1 { background: linear-gradient(135deg,#E8E8E8,#D0D0D0); color:#666; }
.badge.lv2 { background: linear-gradient(135deg,#4CAF50,#2E7D32); color:white; }
.badge.lv3 { background: linear-gradient(135deg,#2196F3,#0D47A1); color:white; }
.badge.lv4 { background: linear-gradient(135deg,#9C27B0,#4A148C); color:white; }
.badge.lv5 { background: linear-gradient(135deg,#FF9800,#E65100); color:white; }
.badge.vip { background: linear-gradient(135deg,#FFD700,#FFA500); color:white; }
.list-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--gray-light); }
.list-item:last-child { border-bottom: none; }

/* 弹窗 */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal-overlay.show { display: flex; }
.modal-content { background: white; border-radius: 18px; width: 90%; max-width: 360px; padding: 18px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-title { font-size: 15px; font-weight: 800; }
.modal-close { font-size: 18px; color: var(--gray); cursor: pointer; }

/* Toast */
#toast { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,.8); color: white; padding: 12px 20px; border-radius: 10px; font-size: 13px; z-index: 2000; display: none; max-width: 80%; text-align: center; }

/* 登录页 */
.auth-wrap { min-height: 100vh; background: linear-gradient(160deg, var(--dark) 0%, var(--dark2) 55%, #3D2A08 100%); display: flex; flex-direction: column; justify-content: center; padding: 40px 28px; }
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo .logo-icon { width: 64px; height: 64px; font-size: 28px; margin: 0 auto 12px; border-radius: 18px; }
.auth-logo .name { color: white; font-size: 26px; font-weight: 900; }
.auth-logo .name span { color: var(--orange); }
.auth-logo .slogan { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 6px; }
.auth-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; backdrop-filter: blur(10px); }
.auth-input-wrap { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.auth-input-wrap input { background: none; border: none; color: white; font-size: 14px; flex: 1; }
.auth-input-wrap input::placeholder { color: rgba(255,255,255,.35); }
.auth-input-wrap .code-btn { font-size: 11px; color: var(--orange); font-weight: 700; white-space: nowrap; cursor: pointer; border: none; background: none; }
.auth-btn { width: 100%; padding: 13px; border-radius: 12px; border: none; background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: white; font-size: 15px; font-weight: 800; margin-top: 6px; box-shadow: 0 5px 16px rgba(255,92,26,.35); }
.auth-switch { text-align: center; color: rgba(255,255,255,.5); font-size: 12px; margin-top: 14px; }
.auth-switch a { color: var(--orange); cursor: pointer; font-weight: 700; }
.auth-tip { color: rgba(255,255,255,.3); font-size: 10px; text-align: center; margin-top: 20px; line-height: 1.6; }

/* 列表页 */
.list-wrap { padding: 12px 16px; }
.list-tabs { display: flex; background: white; border-radius: 12px; padding: 3px; margin-bottom: 12px; }
.list-tabs .lt { flex: 1; text-align: center; padding: 8px; font-size: 12px; font-weight: 700; color: var(--gray); border-radius: 10px; cursor: pointer; }
.list-tabs .lt.active { background: var(--orange-pale); color: var(--orange); }

/* 钱包 */
.wallet-header { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); border-radius: 18px; padding: 20px; color: white; margin-bottom: 14px; position: relative; overflow: hidden; }
.wallet-header::before { content:''; position:absolute; top:-30px; right:-30px; width:130px; height:130px; background:rgba(255,255,255,.1); border-radius:50%; }
.wallet-balance-label { font-size: 11px; opacity: .85; }
.wallet-balance { font-size: 32px; font-weight: 900; margin: 6px 0 12px; }
.wallet-actions { display: flex; gap: 10px; position: relative; z-index: 1; }
.wallet-actions button { flex: 1; padding: 10px; border-radius: 10px; border: none; font-size: 12px; font-weight: 800; }
.wallet-actions .wa1 { background: rgba(255,255,255,.25); color: white; }
.wallet-actions .wa2 { background: white; color: var(--orange); }
