* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --red: #ff4d4f; --bg: #f5f5f5; --card: #fff; --text: #333; --gray: #999; --bd: #eee; }
body { font-family: -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
input, button { font-family: inherit; font-size: inherit; outline: none; }
a { color: inherit; text-decoration: none; }

/* ===== 登录 ===== */
.login-page { min-height: 100vh; background: linear-gradient(180deg, #ffe6e4 0%, #fff5f4 60%, #ffffff 100%); padding-top: 80px; display: flex; flex-direction: column; }
.login-box { width: 88%; max-width: 380px; margin: 0 auto; padding: 0 16px; }
.login-box .login-logo { display: none; }
.login-title { text-align: left; font-size: 28px; font-weight: 800; color: #000; margin-bottom: 6px; }
.login-sub { text-align: left; color: #999; font-size: 14px; margin-bottom: 36px; }
.login-field { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #ddd; }
.register-box { width: 90%; max-width: 420px; margin: 0 auto; padding: 0 0 40px; }
.register-title { font-size: 22px; font-weight: 700; color: #000; margin-bottom: 24px; }
.login-field label { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; color: #000; margin-bottom: 8px; }
.login-field label > span:first-child { display: flex; align-items: center; }
.login-field label > img { margin-right: 6px; }
.login-field .forgot { color: var(--red); font-weight: 500; font-size: 13px; cursor: pointer; }
.form-input { width: 100%; padding: 14px 16px; border: none; border-radius: 8px; font-size: 14px; background: #f5f5f5; }
.addr-input { width: 100%; padding: 12px 14px; border: none; border-radius: 8px; font-size: 14px; background: #f5f5f5; outline: none; }
.addr-textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.form-input:focus { background: #f5f5f5; }
.btn-login { width: 100%; padding: 14px; border: none; border-radius: 8px; background: var(--red); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 8px; }
.btn-login:active { opacity: .8; }
.login-reg-link { text-align: center; margin-top: 16px; font-size: 14px; color: var(--red); cursor: pointer; }
.login-icp { margin-top: auto; margin-bottom: 40px; text-align: center; padding: 34px 0 28px; font-size: 16px; font-weight: 500; color: #8c8c8c; letter-spacing: .5px; }

/* ===== 通用 ===== */
.page { min-height: 100vh; padding-bottom: 52px; }
.sub-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--red); color: #fff; font-size: 16px; font-weight: 600; position: sticky; top: 0; z-index: 10; }
.sub-header-light { background: #fff !important; color: #000 !important; }
.sub-header .back { font-size: 22px; cursor: pointer; }
.sub-header .balance { font-size: 13px; font-weight: 400; }
.list { padding: 12px 16px; }
.empty-state { padding: 40px 0; text-align: center; color: var(--gray); }
.empty-icon { font-size: 48px; margin-bottom: 8px; }
.card { background: var(--card); border-radius: 8px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.card-title { font-size: 15px; font-weight: 600; }
.card-price { font-size: 18px; font-weight: 700; color: var(--red); margin: 4px 0; }
.card-meta { font-size: 12px; color: var(--gray); }
.tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.tag.paid, .tag.completed { background: #e8f5e9; color: #27ae60; }
.tag.reselling, .tag.listed { background: #fff1f0; color: #ff4d4f; }
.tag.sold { background: #fff1f0; color: #d9363e; }
.green { color: #27ae60; }
.red { color: var(--red); }
.badge { display: inline-block; background: var(--red); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 10px; margin-left: 4px; }

/* ===== 首页 ===== */
.home-page-title { text-align: center; padding: 12px 16px; font-size: 17px; font-weight: 700; color: #000; background: #fff; }
.home-header { background: linear-gradient(135deg, #ff4d4f, #ff7875); padding: 12px 16px; display: flex; align-items: center; min-height: 48px; }
.search-bar { display: flex; align-items: center; justify-content: flex-start; background: #fff; border-radius: 20px; padding: 12px 16px; cursor: pointer; min-height: 20px; width: 100%; }
.search-icon { font-size: 16px; margin-right: 8px; color: #bbb; line-height: 1; }
.search-text { color: #999; font-size: 14px; line-height: 1; }
/* 轮播 */
.swiper-wrap { position: relative; overflow: hidden; height: 180px; margin: 12px 12px 8px; border-radius: 10px; }
.swiper-track { display: flex; transition: transform .5s; height: 100%; }
.swiper-slide { min-width: 100%; height: 100%; position: relative; cursor: pointer; }
.swiper-img { width: 100%; height: 100%; object-fit: cover; }
.swiper-title { position: absolute; bottom: 32px; left: 16px; color: #fff; font-size: 16px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.swiper-sub { position: absolute; bottom: 12px; left: 16px; color: rgba(255,255,255,.9); font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.swiper-dots { position: absolute; bottom: 10px; right: 16px; display: flex; gap: 5px; }
.swiper-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.swiper-dots span.on { background: #fff; width: 16px; border-radius: 3px; }
/* 首页标签 */
.home-tags { display: flex; justify-content: space-around; align-items: center; padding: 10px 16px; background: #fff; font-size: 12px; color: #ff4d4f; }
.home-tag { display: flex; align-items: center; gap: 4px; }
.home-tag span { color: #ff4d4f; font-weight: 700; }
/* 新品上市 */
.section-title { padding: 14px 16px 8px; text-align: center; font-size: 16px; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 6px; }
/* 首页商品 */
.home-grid { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 16px; }
.home-item { width: calc(50% - 5px); background: var(--card); border-radius: 8px; padding: 8px; text-align: left; box-shadow: 0 1px 4px rgba(0,0,0,.04); display: flex; flex-direction: column; }
.home-item-img { width: 100%; height: 160px; object-fit: contain; background: #fff; border-radius: 6px; margin-bottom: 8px; }
.home-item-name { font-size: 13px; margin-bottom: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-item-row { display: flex; justify-content: space-between; align-items: center; }
.home-item-price { font-size: 16px; font-weight: 700; color: var(--red); }
.home-item-sold { font-size: 11px; color: #999; }
.home-footer { text-align: center; padding: 20px; font-size: 11px; color: var(--gray); }

/* ===== 采购页 ===== */
.vip-bar { background: linear-gradient(135deg, #ff4d4f, #d9363e); color: #fff; padding: 8px 16px; font-size: 13px; text-align: center; font-weight: 600; }
.product-list { padding: 12px 16px; }
.product-row { display: flex; background: var(--card); border-radius: 8px; padding: 12px; margin-bottom: 10px; gap: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.product-row-img { width: 80px; height: 80px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #f9f9f9; }
.product-row-body { flex: 1; }
.product-row-name { font-size: 15px; font-weight: 600; }
.product-row-price { font-size: 18px; font-weight: 700; color: var(--red); margin: 4px 0; }
.product-row-stock { font-size: 12px; color: var(--gray); margin-bottom: 6px; }
.product-row-ctl { display: flex; align-items: center; gap: 4px; }
.product-row-ctl button { width: 28px; height: 28px; border: 1px solid #ddd; background: #f9f9f9; border-radius: 4px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.product-row-ctl input { width: 40px; height: 28px; border: 1px solid #ddd; border-radius: 4px; text-align: center; font-size: 14px; }
.btn-buy-now { padding: 6px 14px; border: none; border-radius: 4px; background: var(--red); color: #fff; font-size: 13px; cursor: pointer; margin-left: auto; height: 28px; display: flex; align-items: center; }

/* ===== 个人中心 ===== */
.profile-red-bg { background: linear-gradient(135deg, var(--red), #ff7875); padding-bottom: 8px; }
.profile-header-title { text-align: center; padding: 12px 16px; font-size: 17px; font-weight: 700; color: #000; background: #fff; }
.profile-head { background: transparent; color: #fff; padding: 10px 20px 24px; display: flex; align-items: center; gap: 14px; }
.profile-avatar { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: #fff; background: rgba(255,255,255,.15); border-radius: 8px; }
.profile-info { flex: 1; }
.profile-name { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.profile-invite { font-size: 13px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.profile-invite .copy-btn { cursor: pointer; opacity: .7; font-size: 14px; }
.copy-icon-img { width: 16px; height: 16px; vertical-align: middle; cursor: pointer; margin-left: 4px; }
input[type="checkbox"] { accent-color: #ff4d4f; }
.login-icon { width: 16px; height: 16px; vertical-align: middle; margin-right: 4px; }
.form-card { background: #fff; border-radius: 8px; overflow: hidden; }
.form-row { display: flex; align-items: center; padding: 16px 14px; border-bottom: 1px solid #f0f0f0; }
.form-row:last-child { border-bottom: none; }
.form-row label { font-size: 14px; color: #333; width: 70px; flex-shrink: 0; }
.form-row .form-input { flex: 1; background: transparent; padding: 4px 0 4px 8px; font-size: 15px; border: none; outline: none; }

/* 商品详情页 */
.pd-header { position: fixed; top: 0; left: 0; right: 0; z-index: 99; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: transparent; }
.pd-header .back { font-size: 26px; color: #333; cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.8); border-radius: 50%; }
.pd-wrap { padding-bottom: 70px; }
.pd-swiper { position: relative; }
.pd-main-img { width: 100%; display: block; }
.pd-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pd-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.pd-dots .dot.active { width: 18px; border-radius: 3px; background: #fff; }
.pd-section { padding: 16px; background: #fff; }
.pd-price-row { display: flex; align-items: baseline; gap: 8px; }
.pd-price-cur { font-size: 28px; font-weight: 700; color: var(--red,#ff4d4f); }
.pd-price-old { font-size: 14px; color: #999; text-decoration: line-through; }
.pd-name-tag { display: flex; gap: 6px; margin-top: 10px; }
.tag-self { background: #ff4d4f; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 11px; }
.tag-free { background: #ff4d4f; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 11px; }
.pd-title { font-size: 16px; font-weight: 600; color: #000; margin-top: 10px; line-height: 1.4; }
.pd-meta { display: flex; gap: 20px; font-size: 13px; color: #666; margin-top: 10px; }
.pd-tabs { display: flex; border-bottom: 1px solid #f0f0f0; background: #fff; margin-top: 10px; }
.pd-tab { flex: 1; text-align: center; padding: 14px 0; font-size: 14px; color: #666; cursor: pointer; position: relative; }
.pd-tab.active { color: var(--red,#ff4d4f); font-weight: 600; }
.pd-tab.active::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 28px; height: 2px; background: var(--red,#ff4d4f); }
.pd-content { padding: 16px; background: #fff; min-height: 200px; }
.pd-warn { background: #fff1f0; color: #ff4d4f; padding: 10px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 12px; }
.pd-desc { font-size: 13px; color: #333; line-height: 1.8; }
.pd-notice-item { font-size: 13px; color: #666; padding: 6px 0; }
/* 2026-09-22：支付按钮原为浅粉 #ffb3b5（像被覆盖），改商城主色红渐变并加大可点区域 */
.pd-footer { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: #ffffff; display: flex; justify-content: center; box-shadow: 0 -2px 12px rgba(0,0,0,.06); }
.pd-btn-consult { padding: 12px 64px; background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%); color: #fff; border: none; border-radius: 30px; font-size: 16px; font-weight: 700; letter-spacing: 2px; cursor: pointer; box-shadow: 0 4px 14px rgba(255,77,79,.35); }

/* 买方/卖方区域 */
.role-section { background: #fff; margin: 10px 16px; border-radius: 8px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.role-section:first-of-type { margin-top: 0; background: transparent; color: #fff; box-shadow: none; border: none; }
.role-section:first-of-type .role-section-title { color: #fff; }
.role-section:first-of-type .role-label { color: #fff; }
.role-section:first-of-type .role-icon { background: rgba(255,255,255,.25); }

.role-section-title { font-size: 15px; font-weight: 600; color: #000; margin-bottom: 12px; }
.role-grid { display: flex; justify-content: space-around; }
.role-item { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; padding: 4px 12px; }
.role-icon { width: 72px; height: 72px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.role-img-icon { width: 40px; height: 40px; object-fit: contain; }
.role-icon.buyer-warehouse, .role-icon.buyer-trading, .role-icon.seller-warehouse, .role-icon.seller-trading { background: #fff1f0; }
.role-icon.buyer-done, .role-icon.seller-done { background: #fff1f0; }
.role-label { font-size: 13px; color: var(--text); }

/* 余额/收益 */
.profile-summary { margin: 10px 16px; background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); overflow: hidden; display: flex; flex-wrap: wrap; }
.profile-summary-item { display: flex; align-items: center; padding: 14px 16px; width: 50%; border-bottom: 1px solid #f5f5f5; border-right: 1px solid #f5f5f5; cursor: pointer; font-size: 14px; box-sizing: border-box; }
.profile-summary-item:nth-child(2n) { border-right: none; }
.profile-summary-item:nth-child(n+3) { border-bottom: none; }
.profile-summary-label { color: #666; }
.profile-summary-val { flex: 1; text-align: right; font-weight: 600; margin-right: 4px; color: var(--text); }
.profile-summary-item .arrow { color: #ccc; font-size: 14px; }

.menu-list { margin: 10px 16px; background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); overflow: hidden; }
.menu-item { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f5f5f5; cursor: pointer; font-size: 14px; }
.menu-item:last-child { border-bottom: none; }
.menu-item .menu-icon { width: 24px; font-size: 18px; margin-right: 10px; text-align: center; }
.menu-item .menu-icon.orange { color: #ff4d4f; }
.menu-img-icon { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.menu-item span:nth-child(2) { flex: 1; }
.menu-item .arrow { color: #ccc; font-size: 16px; }
.menu-item.menu-logout { justify-content: center; color: var(--red); font-size: 14px; }



.menu-list { margin: 10px 16px; background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); overflow: hidden; }
.menu-item { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--bd); cursor: pointer; font-size: 14px; }
.menu-item:last-child { border: none; }
.menu-icon { font-size: 18px; margin-right: 10px; width: 22px; text-align: center; }
.menu-item span:nth-child(2) { flex: 1; }
.menu-logout { justify-content: center; color: var(--red); font-weight: 600; }
.arrow { color: var(--gray); font-size: 16px; }

/* ===== 仓库 ===== */
.wh-tabs { display: flex; padding: 0 16px; gap: 20px; border-bottom: 1px solid var(--bd); background: #fff; }
.wh-tabs span { padding: 10px 0; font-size: 14px; color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent; }
.wh-tabs span.on { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }

/* 2026-10-03：通用列表加载态（转圈），tab 切换/进页面期间显示，替代闪现旧数据或空态 */
.list-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 0; color: #999; font-size: 14px; }
.spinner { display: inline-block; width: 28px; height: 28px; border: 3px solid #eee; border-top-color: #ff4d4f; border-radius: 50%; animation: loading-spin .8s linear infinite; margin-bottom: 10px; }
@keyframes loading-spin { to { transform: rotate(360deg); } }

/* 仓库-角色切换 */
.wh-role-tabs { display: flex; justify-content: center; background: #fff; padding: 14px 16px 0; gap: 60px; border-bottom: 1px solid #f0f0f0; }
.wh-role-tab { font-size: 17px; color: #999; padding: 0 0 10px; cursor: pointer; position: relative; }
.wh-role-tab-on { color: #000; font-weight: 700; font-size: 19px; }
.wh-role-tab-on::after { content: ''; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: 24px; height: 3px; background: var(--red, #ff4d4f); border-radius: 2px; }

/* 仓库-子Tab */
.wh-sub-tabs { display: flex; background: #fff; padding: 0 16px; border-bottom: 1px solid #f0f0f0; }
.wh-sub-tab { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; color: #666; cursor: pointer; position: relative; }
.wh-sub-tab-on { color: var(--red, #ff4d4f); font-weight: 600; }
.wh-sub-tab-on::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 28px; height: 2px; background: var(--red, #ff4d4f); border-radius: 2px; }

/* 仓库-列表 */
.wh-list { padding: 10px 12px; background: #f5f5f5; min-height: calc(100vh - 200px); }
.wh-card { background: #fff; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.wh-card-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid #f5f5f5; }
.wh-card-no { font-size: 12px; color: #666; }
.wh-card-status { font-size: 12px; color: var(--red, #ff4d4f); font-weight: 600; }
.wh-card-body { display: flex; padding: 12px; gap: 12px; }
.wh-card-img { width: 80px; height: 80px; flex-shrink: 0; background: #fafafa; border-radius: 4px; overflow: hidden; }
.wh-card-info { flex: 1; min-width: 0; }
.wh-card-name { font-size: 14px; color: #333; font-weight: 600; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-card-line { font-size: 12px; color: #333; margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.wh-card-phone { font-size: 12px; color: #666; margin-top: 2px; }
.wh-card-phone-clickable { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.wh-card-phone-clickable:hover { color: #ff4d4f; }
.copy-icon { font-size: 11px; opacity: 0.6; }
.wh-card-price { font-size: 13px; color: #333; margin-top: 6px; }
.wh-price { color: var(--red, #ff4d4f); font-weight: 700; font-size: 16px; }
.wh-card-foot { padding: 8px 12px; border-top: 1px dashed #eee; font-size: 12px; color: #999; line-height: 1.8; }
.wh-card-action { padding: 10px 12px; border-top: 1px solid #f5f5f5; text-align: right; }
.wh-tag { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 11px; color: #fff; }
.wh-tag-seller { background: #ff4d4f; }
.wh-tag-buyer { background: #ff4d4f; }
.wh-action-btn { padding: 6px 16px; background: var(--red, #ff4d4f); color: #fff; border: none; border-radius: 16px; font-size: 13px; cursor: pointer; }
.wh-action-btn-outline { background: #fff; color: #333; border: 1px solid #999; }

.order-card { padding: 14px 16px; border-bottom: 1px solid var(--bd); position: relative; background: #fff; }
.order-num { font-size: 12px; color: var(--gray); margin-bottom: 4px; }
.order-tag { position: absolute; right: 16px; top: 14px; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.order-tag.paid, .order-tag.sold, .order-tag.completed { background: #e8f5e9; color: #27ae60; }
.order-tag.reselling { background: #fff1f0; color: #ff4d4f; }
.order-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.order-user { font-size: 12px; color: var(--gray); margin-bottom: 2px; }
.order-user .phone { color: var(--red); }
.order-price { font-size: 16px; font-weight: 700; color: var(--red); margin: 4px 0; }
.order-time { font-size: 11px; color: var(--gray); margin-bottom: 2px; }
.order-detail { text-align: right; font-size: 12px; color: var(--red); margin-top: 4px; }
.order-action { text-align: right; margin-top: 6px; }
.btn-resale { padding: 6px 16px; border: 1px solid var(--red); border-radius: 4px; background: #fff; color: var(--red); font-size: 13px; cursor: pointer; }

/* ===== 设置页 ===== */
.settings-list { background: #fff; margin: 10px 16px 0; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.settings-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--bd); cursor: pointer; }
.settings-item:last-child { border: none; }
.settings-label { font-size: 14px; color: var(--text); }
.settings-right { display: flex; align-items: center; gap: 8px; }
.settings-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.settings-val { font-size: 14px; color: var(--gray); }
.settings-logout { margin: 30px 16px; }
.btn-logout { width: 100%; padding: 12px; border: none; border-radius: 6px; background: #ff4d4f; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.btn-logout:active { opacity: .85; }

/* ===== 邀请好友 ===== */
.invite-card { background: #fff; margin: 10px 16px; border-radius: 8px; padding: 24px 16px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.invite-code-title { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.invite-code { font-size: 32px; font-weight: 700; color: var(--red); letter-spacing: 6px; margin-bottom: 16px; }
.invite-page { background: #fff; }
.invite-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #fff; color: #000; border-bottom: 1px solid #f0f0f0; }
.invite-header .back { font-size: 24px; cursor: pointer; width: 32px; }
.invite-header-title { font-size: 16px; font-weight: 600; }
.invite-content { text-align: center; padding: 194px 16px 20px; }
.invite-title-large { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: 8px; margin: 20px 0 30px; text-shadow: 0 2px 6px rgba(0,0,0,.2); }
.invite-qr-box { background: #fff; padding: 10px; border-radius: 12px; display: inline-block; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.invite-qr-img { width: 150px; height: 150px; background: #f5f5f5; background-size: cover; background-position: center; border-radius: 4px; }
.invite-code-label { color: #000; font-size: 16px; margin-top: 16px; font-weight: 500; }
.invite-tip { color: #fff; font-size: 14px; margin-top: 8px; opacity: 0.95; }
.invite-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.invite-btn { flex: 1; max-width: 160px; padding: 10px 0; border: 1px solid var(--red); border-radius: 20px; background: #fff; color: var(--red); font-size: 14px; cursor: pointer; }
.invite-btn-link { background: var(--red); color: #fff; }
.invite-share-row { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.invite-share-item { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.invite-share-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.invite-share-label { font-size: 12px; color: var(--gray); }
.invite-qr { width: 100px; height: 100px; margin: 0 auto 16px; border: 1px dashed #ddd; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; background: #fafafa; }
.invite-qr-placeholder { font-size: 32px; }
.invite-qr-text { font-size: 11px; color: var(--gray); margin-top: 4px; }
.invite-rules { text-align: left; background: #fafafa; border-radius: 6px; padding: 14px; }
.invite-rule-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.invite-rule-item { font-size: 13px; color: #666; margin-bottom: 8px; line-height: 1.5; }
.invite-rule-item:last-child { margin-bottom: 0; }
.invite-fans-title { font-size: 15px; font-weight: 600; padding: 12px 16px 4px; }

/* ===== 收款方式 ===== */
.pm-tip { padding: 12px 16px; font-size: 13px; color: var(--gray); }
.pm-list { background: #fff; margin: 0 16px; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.pm-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--bd); }
.pm-item:last-child { border: none; }
.pm-left { display: flex; align-items: center; gap: 10px; }
.pm-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; }
.pm-name { font-size: 14px; font-weight: 600; }
.pm-desc { font-size: 12px; color: var(--gray); margin-top: 2px; }
.pm-right { font-size: 13px; color: var(--red); cursor: pointer; }

/* ===== 收款码卡片 ===== */
.pay-card { position: relative; border-radius: 12px; padding: 16px 16px 50px; margin-bottom: 14px; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); overflow: hidden; min-height: 150px; }
.pay-card-bank { background: linear-gradient(135deg, #ff4d4f 0%, #d9363e 100%); }
.pay-card-alipay { background: linear-gradient(135deg, #ff7875 0%, #ff4d4f 100%); }
.pay-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pay-card-title { font-size: 14px; opacity: 0.95; }
.pay-card-logo { width: 48px; height: 32px; display: flex; align-items: center; justify-content: flex-end; }
.pay-card-account { font-size: 22px; font-weight: 700; margin-top: 10px; letter-spacing: 1px; }
.pay-card-name { font-size: 13px; margin-top: 6px; opacity: 0.9; }
.pay-card-btn { position: absolute; right: 16px; bottom: 14px; padding: 5px 18px; background: transparent; border: 1.5px solid #fff; color: #fff; border-radius: 20px; font-size: 13px; cursor: pointer; }
.pay-card-btn:active { background: rgba(255,255,255,.15); }

/* ===== 我的合同 ===== */
.contract-card { background: #fff; border-radius: 8px; padding: 14px; margin-bottom: 10px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.04); }

/* ===== 余额详情 ===== */
.bd-tabs { display: flex; background: #fff; border-bottom: 1px solid #f0f0f0; }
.bd-tab { flex: 1; text-align: center; padding: 14px 0; font-size: 14px; color: #666; cursor: pointer; position: relative; }
.bd-tab-on { color: #000; font-weight: 600; }
.bd-tab-on::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 28px; height: 2px; background: var(--red, #ff4d4f); border-radius: 2px; }
.bd-list { background: #f5f5f5; min-height: calc(100vh - 250px); }
.bd-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #fff; border-bottom: 1px solid #f5f5f5; }
.bd-item-left { flex: 1; }
.bd-item-title { font-size: 14px; color: #333; }
.bd-item-sub { font-size: 12px; color: #999; margin-top: 4px; }
.bd-item-amt { font-size: 16px; font-weight: 600; }
.bd-item-amt.plus { color: #ff4d4f; }
.bd-item-amt.minus { color: #333; }
.contract-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.contract-no { font-size: 12px; color: var(--gray); }
.contract-status { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: #e8f5e9; color: #27ae60; }
.contract-body { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.contract-product { font-size: 14px; font-weight: 600; }
.contract-amount { font-size: 16px; font-weight: 700; color: var(--red); }
.contract-footer { font-size: 11px; color: var(--gray); }
.contract-detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.contract-detail-row:last-child { border: none; }
.contract-detail-row span:last-child { color: var(--gray); }

/* ===== 交易记录 ===== */
.tx-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; margin-bottom: 1px; }
.tx-type { font-size: 13px; font-weight: 600; min-width: 56px; }
.tx-amt { font-size: 16px; font-weight: 700; min-width: 70px; text-align: right; }
.tx-rmk { font-size: 12px; color: var(--gray); flex: 1; }
.tx-rmk small { color: #ccc; }

/* ===== 粉丝 ===== */
.fan-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; margin-bottom: 1px; }
.fan-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.fan-info small { color: var(--gray); }

/* ===== 管理后台 ===== */
.admin-tabs { display: flex; background: #fff; border-bottom: 1px solid var(--bd); overflow-x: auto; }
.admin-tabs span { padding: 10px 16px; font-size: 14px; cursor: pointer; color: var(--gray); white-space: nowrap; font-weight: 600; }
.admin-tabs span.on { color: var(--red); border-bottom: 2px solid var(--red); }
.stats-row { display: flex; gap: 10px; margin-bottom: 12px; }
.stat { flex: 1; background: var(--card); border-radius: 8px; padding: 14px; text-align: center; font-size: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.stat small { color: var(--gray); font-size: 11px; }
.search-input { width: 100%; padding: 10px 12px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 14px; margin-bottom: 12px; }
.user-card { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--card); border-radius: 8px; margin-bottom: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.user-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.user-info { flex: 1; }
.user-info small { display: block; font-size: 11px; color: var(--gray); margin-top: 1px; }
.btn-sm { padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; background: #fff; font-size: 12px; cursor: pointer; white-space: nowrap; }
.btn-sm.danger { color: var(--red); border-color: var(--red); }
.form-group { margin-bottom: 10px; }
.preview { width: 80px; height: 80px; border-radius: 6px; object-fit: cover; margin-bottom: 8px; border: 1px solid #eee; }
.product-row-admin { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.product-row-admin .thumb { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.product-row-admin small { color: var(--gray); font-size: 11px; }
.order-mini { padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.order-mini small { color: var(--gray); font-size: 11px; }

/* ===== 弹窗 ===== */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal-box { background: #fff; width: 80%; max-width: 320px; padding: 24px; border-radius: 12px; text-align: center; }
.modal-box h3 { margin-bottom: 16px; font-size: 17px; }
.modal-box .form-input { margin-bottom: 12px; }
.btn-cancel { width: 100%; padding: 12px; border: none; border-radius: 6px; background: #f5f5f5; font-size: 15px; cursor: pointer; margin-top: 8px; }

/* iOS 风格确认弹窗 */
.ios-confirm-box { background: #fff; width: 80%; max-width: 300px; border-radius: 12px; text-align: center; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.ios-confirm-title { padding: 18px 16px 4px; font-size: 17px; font-weight: 600; color: #333; }
.ios-confirm-content { padding: 6px 16px 20px; font-size: 14px; color: #888; line-height: 1.5; }
.ios-confirm-actions { display: flex; border-top: 1px solid #d9d9d9; }
.ios-confirm-btn { flex: 1; padding: 14px; font-size: 16px; background: #fff; border: none; cursor: pointer; color: #333; }
.ios-confirm-btn:active { background: #f5f5f5; }
.ios-resale-info { padding: 16px 24px 24px; }
.ios-resale-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; color: #555; }
.ios-resale-amt { color: #000; font-size: 16px; font-weight: 600; }
.ios-confirm-btn + .ios-confirm-btn { border-left: 1px solid #d9d9d9; }
.ios-confirm-btn-primary { color: #ff4d4f; font-weight: 500; }

/* ===== Tabbar ===== */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; border-top: 1px solid var(--bd); z-index: 50; padding-bottom: env(safe-area-inset-bottom,0); }
.tabbar > div { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 6px 0 4px; cursor: pointer; color: var(--gray); font-size: 11px; }
.tabbar > div.on { color: #ff4d4f; }
.tab-icon { font-size: 20px; margin-bottom: 2px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.tab-icon svg { width: 24px; height: 24px; }
.tab-img { width: 24px; height: 24px; display: block; }

/* ===== 商品详情页 ===== */
.product-detail { background: #fff; }
.pd-banner { width: 100%; height: 220px; object-fit: cover; }
.pd-info { padding: 16px; }
.pd-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pd-price { font-size: 24px; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.pd-desc { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 12px; }
.pd-stock { font-size: 13px; color: var(--gray); margin-bottom: 16px; }
.pd-ctl { padding: 0 0 20px; }

/* ===== 采购页（场次列表） ===== */
.session-list { padding: 12px 16px; }
.session-card { display: flex; background: var(--card); border-radius: 8px; padding: 14px 14px 14px 12px; margin-bottom: 10px; gap: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); align-items: center; border-left: 3px solid var(--red); }
.session-body { flex: 1; }
.session-title-row { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.session-title-row .title-bar { width: 3px; height: 14px; background: var(--red); border-radius: 2px; }
.session-time { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.session-status-row { display: inline-flex; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; align-items: stretch; }
.session-status-tag { display: inline-flex; align-items: center; font-size: 12px; padding: 6px 14px; background: #999; color: #fff; font-weight: 500; }
.session-status-tag.active { background: #ff4d4f; }
.session-status-tag.soon { background: #ff4d4f; }
.session-status-tag.done { background: #999; }
.session-countdown-small { display: inline-flex; align-items: center; font-size: 13px; padding: 6px 14px; background: #ff4d4f; color: #fff; font-weight: 500; }
.session-countdown-small.muted { background: #bbb; }
.session-img { width: 80px; height: 80px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #f9f9f9; }

/* 采购页广告 Banner */
.buy-banner { display: block; margin: 12px 16px; border-radius: 10px; overflow: hidden; position: relative; }
.buy-banner-text { flex: 1; position: relative; z-index: 1; color: #fff; }
.buy-banner-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.buy-banner-sub { font-size: 12px; opacity: .95; margin-bottom: 10px; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.buy-banner-btn { display: inline-block; background: #fff; color: #ff4d4f; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 12px; }
.buy-banner-img { font-size: 56px; position: relative; z-index: 1; }

/* 通知消息栏 */
.notice-bar { display: flex; align-items: center; padding: 16px; background: #fff; margin: 0 16px 10px; border-radius: 8px; font-size: 13px; gap: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.notice-label-img { height: 20px; flex-shrink: 0; }
.notice-label { font-size: 16px; font-weight: 800; white-space: nowrap; }
.notice-label .notice-black { color: #000; }
.notice-label .notice-red { color: var(--red); }
.notice-text { color: #ff4d4f; flex: 1; overflow: hidden; white-space: nowrap; position: relative; }
.notice-text span { display: inline-block; padding-left: 100%; animation: notice-scroll 8s linear infinite; }
@keyframes notice-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ===== 采购详情页 ===== */
.session-hint { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--bd); }
.session-status-tag-detail { font-size: 13px; color: var(--red); font-weight: 600; }
.session-countdown { font-size: 13px; color: #ff4d4f; font-weight: 600; }
.pagination { display: flex; gap: 6px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--bd); overflow-x: auto; }
.pagination span { padding: 4px 10px; border-radius: 4px; font-size: 13px; cursor: pointer; background: #f5f5f5; color: #666; white-space: nowrap; }
.pagination span.on { background: var(--red); color: #fff; }
.session-product-grid { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
.sp-card { width: calc(50% - 5px); background: var(--card); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); display: flex; flex-direction: column; }
.sp-card-name { display: flex; align-items: center; background: #fff; padding: 8px 10px; }
.sp-card-name-text { color: #8b4513; font-size: 14px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex: 1; }
.sp-order-tag { background: #ff4d4f; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; white-space: nowrap; margin-left: 6px; flex-shrink: 0; }
.sp-img-wrap { position: relative; flex: 1; }
.sp-img { width: 100%; height: 160px; object-fit: contain; background: #fff; display: block; }
.sp-img-tag { position: absolute; bottom: 6px; right: 6px; padding: 3px 10px; border-radius: 4px; background: #ff4d4f; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sp-name { font-size: 13px; font-weight: 600; padding: 8px 8px 2px; }
.sp-box { font-size: 12px; color: var(--gray); padding: 0 8px 4px; }
.sp-row { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 8px; }
.sp-price { font-size: 15px; font-weight: 700; color: var(--red); }
.sp-btn { padding: 4px 10px; border: none; border-radius: 4px; background: #ff4d4f; color: #fff; font-size: 12px; cursor: pointer; }
.toast { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,.75); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; z-index: 200; animation: fadeIn .2s; }
[v-cloak] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* Loading overlay */
.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.45); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 300; }
.loading-spinner { width: 36px; height: 36px; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { margin-top: 12px; color: #fff; font-size: 14px; }

/* ===== 商城风格美化层 v2（2026-09-21）===== */
:root {
  --primary: #ff4d4f;
  --primary-dark: #d9363e;
  --primary-light: #ff7875;
  --primary-bg: #fff1f0;
  --radius: 12px;
  --shadow-1: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
  --shadow-2: 0 2px 12px rgba(0,0,0,.07);
}
body { background: linear-gradient(180deg, #f5f6f8 0%, #faf7f8 55%, #fff1f0 100%) fixed; color: #262626; }

/* 卡片：统一圆角 + 柔和阴影 */
.card, .home-item, .product-row, .session-card, .wh-card, .role-section,
.profile-summary, .menu-list, .settings-list, .pm-list, .contract-card,
.invite-card, .notice-bar, .stat, .user-card, .form-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.pay-card { border-radius: var(--radius); box-shadow: var(--shadow-2); }

/* 价格：统一主色 + 数字等宽对齐 */
.home-item-price, .product-row-price, .card-price, .order-price, .wh-price,
.pd-price, .pd-price-cur, .contract-amount, .tx-amt, .bd-item-amt.plus,
.profile-summary-val, .invite-code {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

/* 主按钮：胶囊 + 渐变 + 按压反馈 */
.btn-login, .btn-buy-now, .wh-action-btn, .btn-logout {
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7875, #ff4d4f);
  border: none;
  box-shadow: 0 2px 8px rgba(255,77,79,.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn-login:active, .btn-buy-now:active, .wh-action-btn:active, .btn-logout:active {
  transform: scale(.97);
  box-shadow: 0 1px 4px rgba(255,77,79,.18);
}
.btn-resale { border-radius: 999px; }

/* 顶部栏：统一渐变 */
.sub-header { background: linear-gradient(135deg, #ff4d4f, #ff7875); }
.home-header { background: linear-gradient(135deg, #ff4d4f, #ff7875); }

/* 标签：统一圆角与字重 */
.tag, .order-tag, .wh-tag { border-radius: 4px; font-weight: 500; }

/* 底部导航：柔和投影 + 选中态加粗 */
.tabbar { border-top: none; box-shadow: 0 -2px 12px rgba(0,0,0,.06); }
.tabbar > div.on { color: var(--primary); font-weight: 600; }

/* Tab 选中态统一主色 */
.pd-tab.active, .wh-sub-tab-on, .bd-tab-on, .wh-tabs span.on, .admin-tabs span.on { color: var(--primary); }
.pd-tab.active::after, .wh-sub-tab-on::after, .bd-tab-on::after,
.wh-role-tab-on::after { background: var(--primary); }
.wh-tabs span.on { border-bottom-color: var(--primary); }

/* 输入框聚焦反馈 */
.form-input:focus, .addr-input:focus, .search-input:focus {
  box-shadow: 0 0 0 3px rgba(255,77,79,.12);
}

/* 列表分隔线弱化 */
.menu-item, .settings-item, .bd-item, .pm-item { border-bottom-color: #f5f5f5; }

/* 弹窗更柔和 */
.modal-box, .ios-confirm-box { border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.16); }

/* 空状态留白 */
.empty-state { padding: 56px 0; color: #bfbfbf; }

/* 个人中心 买方/卖方 角色图标放大 */
.role-img-icon { width: 48px; height: 48px; }

/* profile-summary：最后一项无边框（适配隐藏余额/优惠券后仅剩两项的布局） */
.profile-summary-item:last-child { border-bottom: none !important; border-right: none; }

/* ===== 所有页面顶部标题栏统一红色渐变（替换白底）===== */
.home-page-title, .profile-header-title {
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  color: #fff;
}
.sub-header-light {
  background: linear-gradient(135deg, #ff4d4f, #ff7875) !important;
  color: #fff !important;
  border-bottom: none;
}
.invite-header {
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  color: #fff;
  border-bottom: none;
}
.invite-header-title, .invite-header .back { color: #fff; }

/* ===== 个人中心头部重设计（头像 + 等级徽章 + 邀请码胶囊 + 我的权益条）===== */
.profile-red-bg {
  background: linear-gradient(160deg, #ff5b5d 0%, #ff4d4f 45%, #e5303f 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 10px;
}
.profile-red-bg::before {
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
}
.profile-red-bg::after {
  content: '';
  position: absolute;
  top: 46px; right: 64px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.profile-head { position: relative; z-index: 1; padding: 14px 20px 14px; }
.ph-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 2.5px solid rgba(255,255,255,.85);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  color: #fff; font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.profile-info { flex: 1; min-width: 0; }
.profile-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.profile-name { font-size: 20px; font-weight: 800; margin-bottom: 0; }
.ph-level { font-size: 11px; font-weight: 600; padding: 2.5px 9px; border-radius: 999px; flex-shrink: 0; }
.ph-level.vip { background: linear-gradient(135deg, #ffd66b, #ffb800); color: #7a4a00; }
.ph-level.normal { background: rgba(255,255,255,.28); color: #fff; }
.profile-invite {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.18);
  padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; opacity: 1;
}
.profile-invite .copy-icon-img { margin-left: 0; cursor: pointer; }

/* 我的权益条 */
.ph-benefits {
  position: relative; z-index: 1;
  margin: 0 16px 10px;
  background: rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
}
.ph-benefits .ph-benefit-item { flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0; }
.ph-benefits .ph-benefit-item + .ph-benefit-item {
  border-left: 1px solid rgba(255,255,255,.22);
  padding-left: 14px;
}
.ph-benefit-icon { font-size: 20px; flex-shrink: 0; }
.ph-benefit-info { display: flex; flex-direction: column; min-width: 0; }
.ph-benefit-label { font-size: 11px; color: rgba(255,255,255,.85); white-space: nowrap; }
.ph-benefit-val { font-size: 14px; color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 采购页场次卡片（2026-09-22 四版：加宽 + 红白配色精致化） ===== */
.session-list { padding: 12px 10px; }
.session-list .session-card {
  display: block;
  text-align: center;
  background: #ffffff;
  border: 1px solid #ffe3e3;
  border-left: 1px solid #ffe3e3;
  border-radius: 16px;
  /* 高度 +40px：上下内边距各加 20px */
  padding: 34px 14px 38px;
  margin-bottom: 12px;
  box-shadow: 0 8px 22px rgba(255,77,79,.14), 0 2px 6px rgba(0,0,0,.04);
}
.session-list .session-card.st-done {
  background: #ffffff;
  border-color: #ededed;
  box-shadow: 0 8px 22px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.03);
}
.session-list .session-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid #ffe3e3;
}
.session-list .session-card.st-done .session-head { border-bottom-color: #ededed; }
.session-list .session-name { font-size: 15px; font-weight: 700; color: #262626; }
.session-list .session-time { font-size: 12px; color: #8c8c8c; }
.session-cd-title { font-size: 17px; font-weight: 800; color: #ff4d4f; margin-bottom: 14px; letter-spacing: 1px; }
.session-list .session-card.st-done .session-cd-title { color: #9a9a9a; }
.session-cd-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.session-cd-prefix { font-size: 13px; color: #8c8c8c; font-weight: 600; }
.session-list .session-card.st-done .session-cd-prefix { color: #aaaaaa; }
.session-cd-blocks { display: inline-flex; align-items: center; }
.cd-block {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 28px; padding: 0 3px;
  background: linear-gradient(180deg, #ff6b6d 0%, #ff4d4f 100%);
  color: #fff;
  font-size: 15px; font-weight: 800; line-height: 1;
  border-radius: 6px; margin: 0 2px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 3px 8px rgba(255,77,79,.32), inset 0 1px 0 rgba(255,255,255,.35);
}
.session-list .session-card.st-done .cd-block { background: #c8ccd0; box-shadow: none; }
.cd-colon { color: #ff4d4f; font-size: 15px; font-weight: 800; margin: 0 3px; }
.session-list .session-card.st-done .cd-colon { color: #bbbbbb; }

/* ===== 采购页改版（2026-10-04 按截图：红橙喜庆风） ===== */
/* 页面背景：红→橙渐变过渡到浅底 */
.page-buy {
  background: linear-gradient(180deg, #ff3b30 0%, #ff5f3c 24%, #ff8a4d 40%, #ffe9dd 58%, #f5f6f8 76%);
  min-height: 100vh;
}
/* 采购页顶部标题栏融入红底 */
.page-buy .sub-header-light {
  background: linear-gradient(180deg, #f5222d, #ff3b30) !important;
  color: #fff !important;
}
/* VIP 条贴住红底，改半透明白 */
.page-buy .vip-bar { background: rgba(255,255,255,.16); backdrop-filter: blur(2px); }

/* 广告 Banner：纯 CSS 喜庆卡片（替代 bg1.png） */
.buy-banner {
  display: flex; align-items: center; justify-content: space-between;
  margin: 12px 16px 0; padding: 24px 18px 22px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.30) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(circle at 10% 88%, rgba(255,224,130,.35) 0%, rgba(255,224,130,0) 38%),
    linear-gradient(135deg, #ff2e23 0%, #ff5f3c 55%, #ff8a3d 100%);
  box-shadow: 0 10px 26px rgba(220,50,20,.38), inset 0 1px 0 rgba(255,255,255,.25);
  position: relative; overflow: hidden; cursor: pointer;
}
.buy-banner::before {
  content: ''; position: absolute; left: -28%; top: -70%;
  width: 55%; height: 240%;
  background: rgba(255,255,255,.10); transform: rotate(24deg);
}
.buy-banner::after {
  content: ''; position: absolute; right: -12%; bottom: -80%;
  width: 45%; height: 220%;
  background: rgba(255,255,255,.08); transform: rotate(24deg);
}
.buy-banner-text { position: relative; z-index: 1; color: #fff; }
.buy-banner-title {
  font-size: 25px; font-weight: 800; letter-spacing: 3px;
  text-shadow: 0 2px 6px rgba(150,15,0,.4);
}
.buy-banner-tag {
  display: inline-block; margin-top: 11px;
  background: linear-gradient(135deg, #ffb02e, #ff7a00);
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(190,90,0,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.buy-banner-deco {
  position: relative; z-index: 1; font-size: 58px; line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(120,20,0,.4));
  animation: buy-gift-float 2.8s ease-in-out infinite;
}
@keyframes buy-gift-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-9px) rotate(5deg); }
}

/* 通知消息：红色胶囊条 */
.page-buy .notice-bar {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 16px 0; padding: 9px 16px;
  background: linear-gradient(135deg, #ff4d4f, #ff6a3d);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(230,60,35,.30), inset 0 1px 0 rgba(255,255,255,.22);
}
.page-buy .notice-label {
  color: #fff; font-size: 13.5px; font-weight: 800;
  white-space: nowrap; letter-spacing: 1px;
}
.page-buy .notice-text { color: #fff; font-size: 12.5px; }
.page-buy .notice-text span { color: #fff; }

/* 场次卡片：贴在渐变底上，白卡微调 */
.page-buy .session-list { padding: 14px 10px 12px; }
.page-buy .session-card { border-radius: 16px; }
.page-buy .session-cd-title { letter-spacing: 2px; }

/* 空白区域装饰：等待开场提示（无底色，直接浮在页面上） */
.buy-waiting-area {
  margin: 26px 24px 34px;
  text-align: center;
}
.buy-waiting-title {
  font-size: 19px; font-weight: 800;
  color: #ff3b30; letter-spacing: 3px;
}
.buy-waiting-subtitle {
  margin-top: 8px; font-size: 13px; color: #9c7a6a; letter-spacing: .5px;
}
.buy-waiting-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.buy-waiting-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff8a4d;
  animation: waiting-dot 1.4s ease-in-out infinite;
}
.buy-waiting-dots span:nth-child(2) { animation-delay: .2s; }
.buy-waiting-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes waiting-dot {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* ===== 全站喜庆红橙风改版（2026-10-04：登录/首页/个人中心，风格同采购页） ===== */

/* --- 全局暖底 --- */
body { background: linear-gradient(180deg, #ffeee3 0%, #faf5f1 55%, #fff7f0 100%) fixed; }

/* --- 登录/注册页：沉浸式红橙渐变（无卡片，2026-10-04 二版） --- */
.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 4%, rgba(255,255,255,.20) 0%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 4% 20%, rgba(255,224,130,.28) 0%, rgba(255,224,130,0) 24%),
    linear-gradient(180deg, #d31027 0%, #ff2e23 24%, #ff5f3c 46%, #ff8a4d 72%, #ff9e6a 100%);
  position: relative;
  padding-top: 132px;
  overflow: hidden;
}
.login-page::before {
  content: ''; position: absolute; left: -64px; top: 110px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.login-page::after {
  content: ''; position: absolute; right: -54px; top: 190px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.login-box, .register-box {
  position: relative; z-index: 1;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0 26px 20px;
  margin-top: 0;
}
.login-page .login-logo {
  display: block; text-align: center; margin-bottom: 18px;
}
.login-page .login-logo img {
  width: 68px; height: 68px; border-radius: 18px;
  box-shadow: 0 10px 22px rgba(120,15,0,.35);
}
.login-page .login-title {
  color: #fff; font-size: 26px; font-weight: 800; letter-spacing: 2px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(140,20,0,.28);
}
.login-page .register-title {
  color: #fff; font-size: 23px; font-weight: 800; letter-spacing: 2px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(140,20,0,.28);
}
.login-page .login-sub { color: rgba(255,255,255,.85); text-align: center; margin-bottom: 24px; }
.login-page .login-field { border-bottom: none; margin-bottom: 14px; padding-bottom: 0; }
.login-page .login-field label {
  color: rgba(255,255,255,.92); font-weight: 600; letter-spacing: 1px;
}
.login-page .forgot { color: rgba(255,255,255,.85); }
.login-page .form-input {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  color: #fff;
  padding: 13px 18px;
  outline: none;
}
.login-page .form-input::placeholder { color: rgba(255,255,255,.62); }
.login-page .form-input:focus {
  background: rgba(255,255,255,.28);
  box-shadow: 0 0 0 2px rgba(255,255,255,.55);
}
/* 登录页密码框 + 眼睛 */
.login-page .pwd-row { position: relative; }
.login-page .pwd-row .form-input { padding-right: 46px; }
.login-page .pwd-eye {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 18px; line-height: 1; cursor: pointer;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
  user-select: none;
}
.login-page .btn-login {
  background: #fff;
  color: #ff3b30;
  font-weight: 800; letter-spacing: 6px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(140,20,0,.42), inset 0 1px 0 rgba(255,255,255,.9);
  margin-top: 28px;
  padding: 14px 0;
}
.login-page .login-reg-link { margin-top: 16px; }
.login-page .login-reg-link a { color: #fff; font-weight: 600; }
.login-page .login-icp { color: rgba(255,255,255,.70); font-size: 13px; }

/* --- 注册页：恢复最初原始样式（粉白渐变 + 黑标题 + 灰输入框 + 红按钮） --- */
.login-page.login-page-flat {
  background: linear-gradient(180deg, #ffe6e4 0%, #fff5f4 60%, #ffffff 100%);
  padding-top: 80px;
  display: flex; flex-direction: column;
}
.login-page.login-page-flat::before,
.login-page.login-page-flat::after { content: none; }
.login-page.login-page-flat .register-box {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0;
  width: 90%; max-width: 420px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.login-page.login-page-flat .register-title {
  color: #000; font-size: 22px; font-weight: 700;
  text-align: left; letter-spacing: 0; text-shadow: none;
  margin-bottom: 24px;
}
.login-page.login-page-flat .login-field {
  border-bottom: 1px solid #ddd;
  margin-bottom: 18px; padding-bottom: 18px;
}
.login-page.login-page-flat .login-field label {
  color: #000; letter-spacing: 0; font-weight: 600;
}
.login-page.login-page-flat .form-input {
  background: #f5f5f5;
  border: none; border-radius: 8px;
  color: #333; padding: 14px 16px;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none;
}
.login-page.login-page-flat .form-input::placeholder { color: #999; }
.login-page.login-page-flat .form-input:focus { background: #f5f5f5; box-shadow: 0 0 0 3px rgba(255,77,79,.12); }
.login-page.login-page-flat .btn-login {
  background: linear-gradient(135deg, #ff7875, #ff4d4f);
  color: #fff;
  font-weight: 600; letter-spacing: 0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(255,77,79,.25);
  margin-top: 8px; padding: 14px 0;
}
.login-page.login-page-flat .login-reg-link a { color: var(--red); font-weight: 500; }
.login-page.login-page-flat .login-icp { color: #8c8c8c; font-size: 16px; font-weight: 500; }

/* --- 首页：红橙渐变头 + 沉浸式卡片 --- */
.page-home { background: linear-gradient(180deg, #ffd9c4 0%, #fff7f0 26%, #faf5f1 100%); }
.home-page-title {
  background: linear-gradient(180deg, #ff2e23 0%, #ff5f3c 100%);
  color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 3px;
  padding: 14px 16px 10px;
}
.home-header {
  background: linear-gradient(180deg, #ff5f3c 0%, #ff7a4d 55%, #ff8a4d 100%);
  padding: 8px 16px 34px;
}
.page-home .search-bar {
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(180,50,20,.18);
}
.page-home .swiper-wrap {
  margin: -22px 12px 10px; position: relative; z-index: 2;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(230,80,40,.18);
}
.page-home .section-title {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  text-decoration: none; font-size: 17px; font-weight: 800;
  color: #ff3b30; letter-spacing: 2px;
  padding: 18px 16px 10px;
}
.page-home .section-title::before,
.page-home .section-title::after {
  content: ''; width: 30px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #ffb02e, #ff7a00);
}
.page-home .home-item { border-radius: 16px; box-shadow: 0 8px 20px rgba(230,80,40,.10); }
.page-home .home-item-img { border-radius: 12px; }
.page-home .home-item-price { color: #ff3b30; }

/* --- 个人中心：红橙头部 + 暖白卡片（文案不变） --- */
.page-profile { background: linear-gradient(180deg, #ffd9c4 0%, #fff7f0 24%, #faf5f1 100%); }
.profile-header-title {
  background: linear-gradient(180deg, #ff2e23 0%, #ff5f3c 100%) !important;
  font-weight: 800; letter-spacing: 3px;
}
.profile-red-bg {
  background:
    radial-gradient(circle at 88% 8%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 36%),
    radial-gradient(circle at 4% 92%, rgba(255,224,130,.22) 0%, rgba(255,224,130,0) 34%),
    linear-gradient(180deg, #ff5f3c 0%, #ff6a3d 55%, #ff8a4d 100%);
}
.page-profile .role-section {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(230,80,40,.14);
}
.page-profile .role-section:first-of-type {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(2px);
  box-shadow: none;
  border-radius: 16px;
}
.page-profile .role-section-title {
  font-weight: 800; letter-spacing: 2px;
  display: flex; align-items: center; gap: 8px;
}
.page-profile .role-section-title::before {
  content: ''; width: 4px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, #ff3b30, #ff8a4d);
}
.page-profile .role-section:first-of-type .role-section-title::before { background: #fff; }
.page-profile .role-icon { border-radius: 18px; background: #fff7f0; }
.page-profile .role-section:first-of-type .role-icon { background: rgba(255,255,255,.25); }
.page-profile .profile-summary {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(230,80,40,.12);
}
.page-profile .profile-summary-val { color: #ff3b30; }
.page-profile .profile-summary-val.green { color: #52c41a; }
.page-profile .menu-list {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(230,80,40,.12);
}

/* --- 底部导航选中色统一 --- */
.tabbar > div.on { color: #ff3b30; }
