* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #e8e8ea; color: #1c1c1e; font-size: 14px;
}
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
img { display: block; }
.app { position: relative; max-width: 480px; margin: 0 auto; min-height: 100vh; background: #f4f4f6; overflow: hidden; }
#page { padding-bottom: 92px; min-height: 100vh; }

/* ============ 通用 ============ */
.empty { padding: 70px 0; text-align: center; color: #9a9aa0; font-size: 14px; }
.empty-box { margin: 16px; background: linear-gradient(180deg, #f2f0ea, #f7f7f8); border-radius: 14px; padding: 70px 0; text-align: center; color: #a0a0a5; font-size: 15px; box-shadow: 0 1px 4px rgba(0,0,0,.03); }
.toast { position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); background: rgba(20,20,20,.82); color: #fff; font-size: 13px; padding: 9px 20px; border-radius: 20px; z-index: 200; max-width: 80%; text-align: center; }

/* ============ TabBar（立体多色） ============ */
.tabbar {
  position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 24px); max-width: 456px; height: 72px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
  border-radius: 24px; display: flex; z-index: 100; padding: 6px 8px;
  box-shadow: 0 12px 28px rgba(30, 34, 60, .16), 0 3px 8px rgba(30, 34, 60, .08),
    inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 6px rgba(120, 130, 170, .10);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #9aa0ad; position: relative; border-radius: 18px; transition: color .25s; }
.tab-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 11px; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .25s, box-shadow .25s; }
.tab-icon svg { width: 24px; height: 24px; }
.tab-label { font-size: 11px; font-weight: 600; transition: color .25s; }
.tab:active .tab-icon { transform: scale(.86); }
/* 每个 tab 独立主题色（未选中也带各自浅色，导航栏多色） */
.tab[data-tab="home"] { --tc: #4c8df6; --tcm: #7ea9f5; --tcw: rgba(76, 141, 246, .10); --tcs: rgba(76, 141, 246, .18); }
.tab[data-tab="category"] { --tc: #f5953c; --tcm: #f5b071; --tcw: rgba(245, 149, 60, .10); --tcs: rgba(245, 149, 60, .18); }
.tab[data-tab="message"] { --tc: #35b8a0; --tcm: #6cc9b8; --tcw: rgba(53, 184, 160, .10); --tcs: rgba(53, 184, 160, .18); }
.tab[data-tab="mine"] { --tc: #f4506a; --tcm: #f58ba0; --tcw: rgba(244, 80, 106, .10); --tcs: rgba(244, 80, 106, .18); }
.tab .tab-icon { background: var(--tcw); color: var(--tcm); }
.tab.active { color: var(--tc); }
.tab.active .tab-label { color: var(--tc); }
.tab.active .tab-icon {
  background: linear-gradient(180deg, #fff, var(--tcs)); color: var(--tc);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 16px var(--tcs), 0 0 0 1px var(--tcs), 0 2px 4px rgba(0,0,0,.06), inset 0 1px 0 #fff;
}
.tab.active::after {
  content: ""; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--tc);
  box-shadow: 0 0 6px var(--tc);
}

/* ============ 音乐悬浮（右侧半隐藏） ============ */
.music-fab {
  position: fixed; right: -14px; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; background: #fff; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; padding-right: 14px; z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.music-fab svg { width: 20px; height: 20px; }
.music-fab.playing svg { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ 首页 ============ */
.home-top { background: #f0ede4; padding: 12px 0 0; }
.home-header { display: flex; align-items: center; gap: 10px; padding: 4px 14px 14px; }
.shop-pill { flex: 1; display: flex; align-items: center; gap: 9px; background: #f8f6f0; border-radius: 999px; padding: 7px 14px 7px 7px; }
.shop-logo { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #2b2b30, #101014); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; font-style: italic; }
.shop-name { font-size: 17px; font-weight: 700; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; background: #f8f6f0; display: flex; align-items: center; justify-content: center; color: #222; flex-shrink: 0; }
.icon-btn svg { width: 20px; height: 20px; }

.carousel { position: relative; border-radius: 12px; overflow: hidden; margin: 0 14px; }
.carousel-track { display: flex; transition: transform .4s ease; }
.carousel-track img { width: 100%; flex-shrink: 0; aspect-ratio: 16/8.6; object-fit: cover; }
.carousel-dots { position: absolute; bottom: 7px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.carousel-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.55); }
.carousel-dots i.on { width: 12px; background: #fff; }

.promo-banner { margin: 10px 14px 0; border-radius: 999px; overflow: hidden; animation: promoBounce 1.6s ease-in-out infinite; }
.promo-banner img { width: 100%; aspect-ratio: 16/3.4; object-fit: cover; }
@keyframes promoBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.buy-toast { display: flex; align-items: center; gap: 9px; background: linear-gradient(90deg, #ff8a5c, #f4506a); color: #fff; border-radius: 999px; padding: 8px 18px 8px 8px; font-size: 13px; margin: 10px 14px 0; width: fit-content; max-width: calc(100% - 28px); box-shadow: 0 3px 10px rgba(244,80,106,.3); animation: toastIn .4s ease; }
.buy-toast .avatar { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.35); flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.zone-row { display: flex; gap: 12px; padding: 14px 14px 2px; overflow-x: auto; scrollbar-width: none; }
.zone-row::-webkit-scrollbar { display: none; }
.zone-item { flex-shrink: 0; width: 80px; display: flex; flex-direction: column; align-items: center; }
.zone-item .zone-bg { width: 80px; height: 58px; border-radius: 16px; background: #e3e3e6; display: flex; justify-content: center; }
.zone-item img { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; transform: translateY(-7px); box-shadow: 0 2px 6px rgba(0,0,0,.14); }
.zone-item .zone-name { font-size: 13px; color: #8a8a8e; margin-top: -4px; }
.zone-item.active .zone-bg { background: #35b8a0; box-shadow: 0 3px 10px rgba(53,184,160,.3); }
.zone-item.active .zone-name { color: #fff; font-weight: 600; }

.tag-row { display: flex; gap: 10px; padding: 12px 14px; overflow-x: auto; scrollbar-width: none; }
.tag-row::-webkit-scrollbar { display: none; }
.tag-pill { flex-shrink: 0; padding: 9px 19px; border-radius: 999px; background: #e9e9ec; color: #8a8a8e; font-size: 14px; }
.tag-pill.active { background: #5fb2e6; color: #fff; font-weight: 600; box-shadow: 0 3px 8px rgba(95,178,230,.3); }

.section-title { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 4px 0 12px; color: #ff8a00; font-size: 16px; font-weight: 700; }
.section-title::before, .section-title::after { content: ""; width: 80px; height: 2px; background: linear-gradient(90deg, transparent, #ffb35c); border-radius: 2px; }
.section-title::after { background: linear-gradient(90deg, #ffb35c, transparent); }
.section-title .diamond { font-size: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 14px 16px; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-card .p-body { padding: 7px 7px 9px; }
.product-card .p-name { font-size: 13px; font-weight: 700; line-height: 1.35; height: 35px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card .p-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.p-price { color: #f43f5e; font-weight: 800; font-size: 14px; }
.btn-order { background: linear-gradient(90deg, #8ab6f8, #b18cf6); color: #fff; font-size: 11px; padding: 5px 9px; border-radius: 7px; white-space: nowrap; }

/* ============ 分类页 ============ */
.cat-top { background: #f0ede4; padding: 12px 0 0; }
.cat-title { text-align: center; font-size: 19px; font-weight: 800; padding: 8px 0 16px; }
.cat-zones { display: flex; justify-content: space-between; padding: 4px 18px 16px; }
.cat-zone { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 84px; }
.cat-zone img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid transparent; background: #eceff3; padding: 3px; }
.cat-zone .cz-name { font-size: 14px; color: #1c1c1e; }
.cat-zone.active img { border-color: #ee5d66; }
.cat-zone.active .cz-name { background: #ee5d66; color: #fff; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.cat-body { display: flex; min-height: 60vh; }
.cat-side { width: 100px; flex-shrink: 0; background: #ececef; }
.cat-side button { display: block; width: 100%; padding: 15px 4px; font-size: 14px; color: #3a3a3c; background: #ececef; }
.cat-side button.active { background: #ee5d66; color: #fff; font-weight: 700; border-radius: 0 10px 10px 0; font-size: 15px; }
.cat-main { flex: 1; padding: 2px 12px 16px; }
.cat-main h3 { font-size: 17px; font-weight: 800; padding: 12px 2px 9px; }
.cat-product { display: flex; gap: 10px; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.cat-product img { width: 92px; height: 92px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.cat-product .cp-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cat-product .cp-name { font-size: 15px; font-weight: 800; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-product .cp-sales { color: #9a9aa0; font-size: 13px; margin-top: 5px; }
.cat-product .cp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cat-product .cp-price { color: #f43f5e; font-weight: 800; font-size: 15px; }
.cat-product .btn-order { font-size: 13px; padding: 7px 13px; border-radius: 8px; }

/* ============ 消息页 ============ */
.msg-top { background: #f0ede4; padding: 14px 14px 16px; }
.msg-seg { display: flex; background: #f8f6f0; border-radius: 14px; padding: 4px; }
.msg-seg button { flex: 1; padding: 12px 0; font-size: 15px; color: #1c1c1e; border-radius: 11px; }
.msg-seg button.active { background: linear-gradient(135deg, #ff9500, #f56a00); color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(245,106,0,.3); }
.msg-list { padding: 14px; }
.msg-item { background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.msg-item .mi-title { font-size: 14px; font-weight: 700; }
.msg-item .mi-content { font-size: 12px; color: #6a6a70; margin-top: 5px; line-height: 1.6; }
.msg-item .mi-time { font-size: 11px; color: #b0b0b5; margin-top: 5px; }

/* ============ 我的 ============ */
.mine-top { background: linear-gradient(180deg, #141416, #232327 70%, #f4f4f6); padding: 14px 14px 0; }
.mine-card { background: linear-gradient(135deg, #33200c 0%, #6b4416 45%, #c08a3e 100%); border-radius: 18px; padding: 20px 18px 16px; color: #fff; position: relative; overflow: hidden; }
.mine-head { display: flex; align-items: center; gap: 12px; }
.mine-avatar { width: 58px; height: 58px; border-radius: 50%; background: #fff; padding: 3px; flex-shrink: 0; }
.mine-avatar .inner { width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, #2b2f6e, #6a3fd8); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #cfd6ff; overflow: hidden; }
.mine-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mine-name { font-size: 19px; font-weight: 800; }
.mine-badges { display: flex; gap: 7px; margin-top: 7px; }
.mine-badges span { font-size: 11px; padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.18); }
.mine-badges span.outline { background: transparent; border: 1px solid rgba(255,255,255,.4); }
.mine-badges span.dark { background: rgba(0,0,0,.3); }
.mine-arrow { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.mine-divider { display: flex; align-items: center; margin: 16px 0 14px; }
.mine-divider::before, .mine-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.25); }
.mine-divider i { width: 7px; height: 7px; background: #ffd28a; transform: rotate(45deg); margin: 0 9px; }
.mine-welcome { display: flex; justify-content: space-between; align-items: center; }
.mine-welcome h3 { font-size: 19px; font-weight: 800; }
.mine-welcome p { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 7px; }
.mine-welcome small { display: block; font-size: 11px; color: rgba(255,255,255,.6); margin-top: 7px; }
.lv-badge { width: 66px; height: 66px; border-radius: 16px; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; transform: rotate(-6deg); box-shadow: 0 0 0 1px rgba(255,255,255,.25); position: relative; flex-shrink: 0; }
.lv-badge::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; transform: rotate(8deg); }
.mine-progress { display: flex; align-items: center; gap: 9px; margin-top: 18px; }
.mine-progress .bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(0,0,0,.3); overflow: hidden; }
.mine-progress .bar i { display: block; height: 100%; background: #ffd28a; }
.mine-progress span { font-size: 12px; color: rgba(255,255,255,.8); }

.stat-card { position: relative; margin: -6px 14px 0; background: #fff; border-radius: 16px; padding: 30px 0 18px; display: flex; box-shadow: 0 3px 14px rgba(0,0,0,.06); z-index: 2; }
.stat-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 6px; width: 1px; background: #e5e5ea; }
.stat-icon { position: absolute; top: -20px; width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; border: 3px solid #fff; }
.stat-icon.green { background: #34a853; }
.stat-icon.orange { background: #e8912d; }
.stat-icon.purple { background: #7b6cf0; }
.stat-value { font-size: 18px; font-weight: 800; margin-top: 10px; }
.stat-label { font-size: 13px; color: #8a8a8e; }

.mine-block { margin: 14px; background: #fff; border-radius: 16px; padding: 16px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.mine-block-head { display: flex; justify-content: space-between; align-items: center; }
.mine-block-head h3 { font-size: 17px; font-weight: 800; }
.mine-block-head .all { color: #3a3a3c; font-size: 13px; }
.order-grid { display: flex; justify-content: space-between; margin-top: 20px; }
.order-item { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 20%; }
.order-item svg { width: 28px; height: 28px; }
.order-item span { font-size: 13px; }

.duo { display: flex; gap: 12px; margin: 0 14px; }
.duo-card { flex: 1; border-radius: 14px; padding: 16px 14px; color: #fff; }
.duo-card.orange { background: linear-gradient(135deg, #ff9540, #f57d20); }
.duo-card.dark { background: linear-gradient(135deg, #2c2c2e, #1a1a1c); }
.duo-card h4 { font-size: 17px; font-weight: 800; }
.duo-card p { font-size: 12px; opacity: .8; margin-top: 9px; }

.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 20px; margin-top: 18px; }
.more-item { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 12px; color: #3a3a3c; }
.more-item svg { width: 25px; height: 25px; }

.mine-footer { display: flex; align-items: center; gap: 10px; margin: 4px 14px 18px; padding: 10px 12px; background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.mine-footer .f-logo { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #2b2f6e, #6a3fd8); color: #cfd6ff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mine-footer .f-name { font-size: 15px; font-weight: 800; background: linear-gradient(90deg, #4a5cf0, #8a4fd8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.mine-footer .f-en { font-size: 9px; color: #8a8a8e; letter-spacing: 1px; }
.mine-footer .f-mid { flex: 1; text-align: right; font-size: 12px; color: #3a3a3c; }
.mine-footer .f-mid small { display: block; color: #9a9aa0; font-size: 11px; margin-top: 2px; }
.mine-footer .f-btn { display: flex; align-items: center; gap: 5px; background: #eef0ff; color: #4a5cf0; font-size: 12px; font-weight: 600; padding: 7px 11px; border-radius: 999px; flex-shrink: 0; }
.mine-footer .f-btn i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #6a8cf8, #8a6cf6); color: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; }

/* ============ 登录弹层 ============ */
.login-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 150; display: flex; align-items: flex-end; justify-content: center; }
.login-mask[hidden] { display: none; }
.login-sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 22px 22px 0 0; padding: 24px 22px 30px; position: relative; }
.login-close { position: absolute; right: 16px; top: 16px; font-size: 15px; color: #9a9aa0; }
.login-logo { width: 58px; height: 58px; margin: 0 auto; border-radius: 16px; background: linear-gradient(135deg, #2b2f6e, #6a3fd8); color: #cfd6ff; font-size: 25px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.login-title { text-align: center; font-size: 18px; font-weight: 800; margin-top: 12px; }
.login-sub { text-align: center; font-size: 12px; color: #9a9aa0; margin-top: 5px; }
.login-tabs { display: flex; gap: 8px; justify-content: center; margin: 18px 0 14px; flex-wrap: wrap; }
.login-tabs button { font-size: 12px; padding: 6px 13px; border-radius: 999px; background: #f2f2f5; color: #6a6a70; }
.login-tabs button.active { background: linear-gradient(135deg, #ff9500, #f56a00); color: #fff; }
.login-field { margin-bottom: 11px; }
.login-field input { width: 100%; border: 1px solid #e5e5ea; border-radius: 11px; padding: 12px 13px; font-size: 14px; outline: none; background: #fafafa; }
.login-field input:focus { border-color: #ff8a00; }
.login-field .row { display: flex; gap: 9px; }
.login-field .sms-btn { flex-shrink: 0; background: #fff3e6; color: #f56a00; font-size: 12px; border-radius: 11px; padding: 0 13px; }
.login-submit { width: 100%; margin-top: 6px; background: linear-gradient(135deg, #ff9500, #f56a00); color: #fff; font-size: 15px; font-weight: 700; padding: 13px 0; border-radius: 13px; }
.login-guest { text-align: center; font-size: 12px; color: #9a9aa0; margin-top: 14px; }

/* ============ 点击反馈 & 页面切换特效 ============ */
@keyframes pop { 0% { transform: scale(.86); } 55% { transform: scale(1.08); } 100% { transform: scale(1); } }
.zone-item .zone-bg, .tag-pill, .cat-zone img, .cat-side button, .order-item svg, .more-item svg,
.duo-card, .btn-order, .product-card, .order-tab, .recharge-item { transition: transform .16s ease; }
.zone-item:active .zone-bg, .tag-pill:active, .cat-zone:active img, .cat-side button:active,
.order-item:active svg, .more-item:active svg, .duo-card:active, .btn-order:active, .product-card:active { transform: scale(.9); }
.zone-item.active .zone-bg, .tag-pill.active, .cat-zone.active img, .cat-side button.active { animation: pop .32s ease; }
.page-anim { animation: pageIn .34s cubic-bezier(.2, .8, .3, 1); }
@keyframes pageIn { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: none; } }
.page-back { animation: pageBack .3s cubic-bezier(.2, .8, .3, 1); }
@keyframes pageBack { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: none; } }
.tab-anim { animation: tabIn .3s cubic-bezier(.2, .8, .3, 1); }
@keyframes tabIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* ============ 子页面通用头部 ============ */
.sub-head { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; height: 54px; padding: 0 14px; }
.sub-head.light { background: rgba(243, 240, 232, .95); backdrop-filter: blur(12px); }
.sub-head.white { background: rgba(247, 247, 249, .95); backdrop-filter: blur(12px); }
.sub-head.dark { background: rgba(17, 18, 23, .96); color: #fff; backdrop-filter: blur(12px); }
.sh-capsule { display: flex; align-items: center; background: #fff; border-radius: 999px; height: 38px; box-shadow: 0 1px 5px rgba(0, 0, 0, .08); }
.sh-capsule button { width: 46px; height: 38px; display: flex; align-items: center; justify-content: center; color: #444; }
.sh-capsule button:active { opacity: .5; }
.sh-capsule .vline { width: 1px; height: 16px; background: #e8e8ec; }
.sh-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 17px; font-weight: 800; }

/* ============ 订单列表 ============ */
.orders-body { background: #f0ede4; min-height: calc(100vh - 54px); padding-bottom: 40px; }
.order-tabs { display: flex; gap: 13px; overflow-x: auto; padding: 8px 14px 16px; scrollbar-width: none; }
.order-tabs::-webkit-scrollbar { display: none; }
.order-tab { flex-shrink: 0; padding: 12px 21px; border-radius: 999px; background: #fff; color: #6a6a70; font-size: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.order-tab.active { background: linear-gradient(135deg, #ff9d1a, #f57d00); color: #fff; font-weight: 700; box-shadow: 0 5px 14px rgba(245, 125, 0, .35); }
.order-search { display: flex; align-items: center; margin: 0 14px; background: #f7f5ef; border-radius: 999px; padding: 14px 18px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .03); }
.order-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; color: #333; }
.order-search button { color: #1c1c1e; font-size: 15px; font-weight: 600; padding-left: 12px; }
.order-empty { padding: 96px 0 0; text-align: center; color: #b3b7c0; font-size: 15px; }
.order-empty svg { width: 112px; height: 112px; margin: 0 auto 28px; display: block; }
.order-card { display: flex; gap: 11px; background: #fff; border-radius: 14px; padding: 12px; margin: 12px 14px 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .05); }
.order-card img { width: 78px; height: 78px; border-radius: 10px; object-fit: cover; background: #f0f0f2; flex-shrink: 0; }
.order-card .oc-body { flex: 1; min-width: 0; }
.order-card .oc-name { font-size: 14px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.order-card .oc-no { font-size: 11px; color: #9a9aa0; margin-top: 4px; }
.order-card .oc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.order-card .oc-price { color: #f43f5e; font-weight: 800; font-size: 15px; }
.oc-status { font-size: 11px; padding: 3px 10px; border-radius: 999px; background: #fff3e6; color: #f57d00; font-weight: 600; }

/* ============ 会员权益 ============ */
.vip-body { background: #f2f3f5; min-height: calc(100vh - 54px); }
.vip-top { background: #16171d; padding: 0 14px 26px; color: #fff; }
.vip-top .vt-label { color: #9aa0ab; font-size: 14px; padding: 10px 2px 12px; }
.vip-exp { text-align: center; color: #8d939e; font-size: 14px; margin-top: 16px; }
.vip-section { padding: 24px 14px 0; }
.vip-section h3 { font-size: 20px; font-weight: 800; color: #1c1c1e; }
.vip-section .vs-sub { color: #9aa0ab; font-size: 14px; margin-top: 9px; }
.vip-empty { background: #f8f8fa; border-radius: 14px; margin-top: 18px; padding: 62px 0; text-align: center; color: #9aa0ab; font-size: 15px; box-shadow: 0 1px 3px rgba(0, 0, 0, .03); }
.vip-notes { text-align: center; color: #b0b4bc; font-size: 13px; line-height: 2.1; padding: 26px 0 46px; }

/* ============ 我的余额 ============ */
.bal-body { background: linear-gradient(180deg, #f3ead2 0%, #f2f3f5 360px); min-height: calc(100vh - 54px); padding: 12px 14px 46px; }
.bal-cur { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .55); border-radius: 14px; padding: 17px 16px; }
.bal-coin { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe08a, #f7b500 72%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 800; font-style: italic; box-shadow: inset 0 -2px 4px rgba(180, 120, 0, .35); flex-shrink: 0; }
.bal-cur .lab { color: #6a6a70; font-size: 15px; }
.bal-cur .num { font-size: 22px; font-weight: 800; color: #111; }
.bal-card { background: rgba(255, 255, 255, .62); border-radius: 16px; padding: 18px 16px; margin-top: 14px; }
.bal-card h3 { font-size: 16px; font-weight: 800; }
.recharge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.recharge-item { position: relative; background: #f7f7f9; border-radius: 12px; padding: 24px 0; text-align: center; border: 2px solid transparent; overflow: hidden; }
.recharge-item .v { font-size: 20px; font-weight: 800; color: #1c1c1e; }
.recharge-item .s { color: #9aa0ab; font-size: 13px; margin-top: 9px; }
.recharge-item.active { background: #fff; border-color: #f7b500; box-shadow: 0 4px 14px rgba(247, 181, 0, .18); }
.recharge-item .rec { position: absolute; top: 0; right: 0; background: linear-gradient(135deg, #ffd257, #f7b500); color: #7a5600; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 0 0 0 10px; }
.custom-row { margin-top: 14px; }
.custom-row input { width: 100%; border: 2px solid #f7b500; border-radius: 12px; padding: 12px 14px; font-size: 15px; outline: none; background: #fff; }
.pay-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pay-check { width: 22px; height: 22px; border-radius: 50%; background: #2f7ef7; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pay-check svg { width: 12px; height: 12px; }
.pay-mid { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pay-wx { width: 30px; height: 30px; border-radius: 50%; background: #1e9bf0; display: flex; align-items: center; justify-content: center; }
.pay-wx svg { width: 18px; height: 18px; }
.pay-name { font-size: 16px; font-weight: 600; }
.bal-confirm { width: 100%; background: #0c0c0e; color: #fff; font-size: 16px; font-weight: 700; padding: 15px 0; border-radius: 999px; }
.bal-confirm:active { transform: scale(.97); }
.bal-log-link { display: block; margin: 18px auto 0; color: #6a6a70; font-size: 14px; text-decoration: underline; }
.bal-log { margin-top: 14px; border-top: 1px solid #ececf0; padding-top: 6px; }
.bl-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; font-size: 13px; }
.bl-row .plus { color: #34a853; font-weight: 700; }
.bl-row small { display: block; color: #b0b0b5; font-size: 11px; margin-top: 3px; }

/* ============ 通用子页面 ============ */
.sub-body { background: #f2f3f5; min-height: calc(100vh - 54px); padding: 14px; }
.sub-card { background: #fff; border-radius: 14px; padding: 18px 16px; font-size: 14px; line-height: 1.9; color: #3a3a3c; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .03); }
.sub-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: #1c1c1e; }
.sub-card .dim { color: #9a9aa0; font-size: 12px; }
.role-row { display: flex; gap: 12px; margin-top: 10px; }
.role-card { flex: 1; border: 2px solid #ececf0; border-radius: 14px; padding: 18px 0; text-align: center; font-size: 15px; font-weight: 700; color: #6a6a70; }
.role-card.active { border-color: #f57d00; color: #f57d00; background: #fff7ec; }
.sub-input { width: 100%; border: 1px solid #e5e5ea; border-radius: 11px; padding: 12px 13px; font-size: 14px; outline: none; background: #fafafa; margin-top: 10px; }
.sub-submit { width: 100%; margin-top: 14px; background: linear-gradient(135deg, #ff9500, #f56a00); color: #fff; font-size: 15px; font-weight: 700; padding: 13px 0; border-radius: 12px; }

/* ============ 入驻申请 ============ */
.join-body { background: linear-gradient(180deg, #f3ead2 0%, #f2f3f5 460px); min-height: calc(100vh - 54px); padding: 12px 14px 96px; }
.join-card { background: rgba(255,255,255,.62); border-radius: 16px; padding: 20px 18px 6px; }
.join-title { font-size: 19px; font-weight: 800; padding-bottom: 18px; border-bottom: 1px solid rgba(0,0,0,.06); }
.join-sec { padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.join-label { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.join-input { width: 100%; background: #e9e9ec; border: none; outline: none; border-radius: 10px; padding: 15px 14px; font-size: 15px; color: #1c1c1e; }
.join-input::placeholder, .join-ta::placeholder { color: #9aa0ab; }
.join-gender { display: flex; gap: 14px; }
.join-g { padding: 13px 30px; background: #e9e9ec; border-radius: 10px; font-size: 15px; color: #555; transition: transform .16s ease; }
.join-g:active { transform: scale(.92); }
.join-g.active { background: #fff; color: #1c1c1e; font-weight: 700; box-shadow: 0 0 0 2px #f7b500; }
.join-hint { color: #9aa0ab; font-size: 14px; margin: -4px 0 14px; }
.join-servers { display: flex; flex-wrap: wrap; gap: 13px; }
.join-s { padding: 15px 19px; background: #e9e9ec; border-radius: 10px; font-size: 15px; color: #555; transition: transform .16s ease; }
.join-s:active { transform: scale(.92); }
.join-s.active { background: #fff; color: #1c1c1e; font-weight: 700; box-shadow: 0 0 0 2px #f7b500; }
.join-ta-wrap { position: relative; }
.join-ta { width: 100%; height: 160px; background: #e9e9ec; border: none; outline: none; border-radius: 10px; padding: 14px; font-size: 15px; resize: none; font-family: inherit; line-height: 1.6; }
.join-count { position: absolute; right: 13px; bottom: 11px; color: #9aa0ab; font-size: 13px; }
.join-foot { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #f7f7f9; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); z-index: 80; }
.join-submit { width: 100%; background: linear-gradient(90deg, #ffc21a, #f5a600); color: #fff; font-size: 17px; font-weight: 700; padding: 16px 0; border-radius: 14px; }
.join-submit:active { transform: scale(.98); }

/* ============ 商品详情 ============ */
.detail-hero { position: relative; background: #f6d7da; }
.detail-hero img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.dh-empty { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; color: #9aa0ab; font-size: 14px; }
.dh-capsule { position: absolute; top: 12px; left: 14px; display: flex; gap: 9px; z-index: 5; }
.dh-capsule button { width: 40px; height: 40px; border-radius: 50%; background: rgba(70,45,45,.42); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.dh-capsule button:active { opacity: .6; }
.detail-body { background: linear-gradient(180deg, #d9e7f8 0%, #edf1f7 340px); padding: 12px 14px 100px; }
.detail-card { background: #fdfdfe; border-radius: 16px; padding: 16px 15px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.dt-head { display: flex; align-items: center; gap: 10px; }
.dt-head h3 { font-size: 18px; font-weight: 800; }
.dt-gift { background: linear-gradient(135deg, #ff8a3c, #f5542a); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 9px; flex-shrink: 0; }
.dt-sales { color: #f4506a; font-size: 13px; margin-top: 9px; }
.dt-price { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid #f0f0f3; }
.dt-price .now { color: #f57d00; font-size: 23px; font-weight: 800; }
.dt-price .now i { font-style: normal; color: #f7b500; font-size: 15px; margin-right: 7px; }
.dt-price .old { color: #b9bdc6; font-size: 16px; font-weight: 700; text-decoration: line-through; }
.dt-price .old i { font-style: normal; font-size: 12px; margin-right: 5px; }
.dt-desc { color: #6a6a70; font-size: 14px; line-height: 1.75; margin-top: 13px; }
.dt-notice { display: flex; gap: 9px; margin-top: 14px; background: #e8f6ef; border: 1px solid #c2e7d4; color: #1f9d6b; border-radius: 10px; padding: 12px 13px; font-size: 14px; line-height: 1.65; }
.dt-notice i { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #1f9d6b; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.detail-assure { display: flex; justify-content: space-around; background: #fbfbfd; border-radius: 14px; padding: 17px 6px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.detail-assure span { display: flex; align-items: center; gap: 6px; color: #8a6a4a; font-size: 13px; }
.detail-assure svg { width: 16px; height: 16px; color: #b98a5a; }
.dt-pool-head { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; }
.dt-pool-head svg { width: 20px; height: 20px; }
.dt-pool { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 15px; }
.pool-item { background: #f7f7f9; border-radius: 10px; padding: 11px 4px; text-align: center; }
.pool-item .pn { font-size: 12px; color: #3a3a3c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pool-item .pr { font-size: 11px; color: #9aa0ab; margin-top: 5px; }
.detail-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; display: flex; align-items: center; gap: 13px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); z-index: 80; box-shadow: 0 -2px 10px rgba(0,0,0,.05); }
.db-kf { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #1c1c1e; font-size: 11px; }
.db-kf svg { width: 22px; height: 22px; }
.db-buy { flex: 1; background: linear-gradient(90deg, #ff8a00, #f56a00); color: #fff; font-size: 17px; font-weight: 700; padding: 15px 0; border-radius: 12px; }
.db-buy:active { transform: scale(.98); }

/* ============ 授权验证遮罩 ============ */
.auth-mask { position: fixed; inset: 0; background: radial-gradient(circle at 50% 30%, #23233a, #0b0b12 70%); z-index: 300; display: flex; align-items: center; justify-content: center; }
.auth-mask[hidden] { display: none; }
.auth-sheet { width: 86%; max-width: 340px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 34px 26px 28px; text-align: center; backdrop-filter: blur(14px); }
.auth-lock { width: 62px; height: 62px; margin: 0 auto; border-radius: 50%; background: linear-gradient(135deg, #f7b500, #f56a00); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(245,106,0,.4); }
.auth-lock svg { width: 30px; height: 30px; }
.auth-title { color: #fff; font-size: 19px; font-weight: 800; margin-top: 16px; }
.auth-sub { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 7px; }
.auth-input { width: 100%; margin-top: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 13px 14px; font-size: 14px; color: #fff; outline: none; text-align: center; letter-spacing: 1px; }
.auth-input::placeholder { color: rgba(255,255,255,.35); letter-spacing: 0; }
.auth-input:focus { border-color: #f7b500; }
.auth-btn { width: 100%; margin-top: 16px; background: linear-gradient(90deg, #ffc21a, #f56a00); color: #fff; font-size: 16px; font-weight: 700; padding: 14px 0; border-radius: 12px; box-shadow: 0 6px 18px rgba(245,106,0,.35); }
.auth-btn:active { transform: scale(.97); }
.auth-err { color: #ff6b6b; font-size: 13px; margin-top: 12px; min-height: 18px; }
.auth-tip { color: rgba(255,255,255,.35); font-size: 11px; margin-top: 10px; line-height: 1.6; }

/* ============ 支付弹层 ============ */
.pay-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 180; display: flex; align-items: flex-end; justify-content: center; }
.pay-mask[hidden] { display: none; }
.pay-sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 20px 20px 0 0; padding: 22px 20px calc(26px + env(safe-area-inset-bottom)); position: relative; }
.pay-close { position: absolute; right: 16px; top: 16px; color: #9a9aa0; font-size: 15px; }
.pay-title { font-size: 17px; font-weight: 800; text-align: center; }
.pay-info { display: flex; align-items: center; gap: 12px; background: #f7f7f9; border-radius: 14px; padding: 14px; margin-top: 18px; }
.pay-info img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #eee; }
.pay-info .pi-name { font-size: 14px; font-weight: 700; }
.pay-info .pi-no { font-size: 11px; color: #9a9aa0; margin-top: 4px; }
.pay-info .pi-price { margin-left: auto; color: #f43f5e; font-weight: 800; font-size: 17px; }
.pay-method { display: flex; align-items: center; gap: 12px; border: 2px solid #ececf0; border-radius: 14px; padding: 15px 14px; margin-top: 12px; cursor: pointer; }
.pay-method.sel { border-color: #f57d00; background: #fff7ec; }
.pay-method .pm-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.pay-method .pm-ic.bal { background: linear-gradient(135deg, #34c77b, #1f9d5c); }
.pay-method .pm-ic.ali { background: linear-gradient(135deg, #3ba7f5, #1e7fe0); }
.pay-method .pm-ic.wx { background: linear-gradient(135deg, #3ecf8e, #12b76a); }
.pay-method .pm-name { font-size: 15px; font-weight: 600; }
.pay-method .pm-sub { font-size: 12px; color: #9a9aa0; margin-top: 3px; }
.pay-method .pm-radio { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d8d8de; flex-shrink: 0; }
.pay-method.sel .pm-radio { border-color: #f57d00; background: #f57d00; box-shadow: inset 0 0 0 3px #fff; }
.pay-confirm { width: 100%; margin-top: 18px; background: linear-gradient(90deg, #ff8a00, #f56a00); color: #fff; font-size: 16px; font-weight: 700; padding: 15px 0; border-radius: 13px; }
.pay-confirm:active { transform: scale(.98); }

/* ============ 用户卡片流光 ============ */
.mine-card::before {
  content: ""; position: absolute; top: -60%; left: -80%; width: 55%; height: 220%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,235,190,.32) 45%, rgba(255,255,255,.55) 50%, rgba(255,235,190,.32) 55%, transparent 80%);
  transform: rotate(8deg); animation: cardShine 3.2s linear infinite; pointer-events: none;
}
@keyframes cardShine { 0% { left: -80%; } 100% { left: 160%; } }

/* ============ 联系客服 / 公告（重做） ============ */
.kf-card { display: flex; align-items: center; gap: 14px; margin: 0 14px; background: linear-gradient(135deg, #1f2a4d 0%, #16203c 100%); border-radius: 16px; padding: 18px 16px; color: #fff; position: relative; overflow: hidden; }
.kf-card::after { content: ""; position: absolute; right: -26px; top: -26px; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, rgba(95,178,230,.35), transparent 70%); }
.kf-ic { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #5fb2e6, #3b82f6); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 6px 14px rgba(59,130,246,.4); }
.kf-ic svg { width: 26px; height: 26px; }
.kf-info { flex: 1; }
.kf-info h4 { font-size: 17px; font-weight: 800; }
.kf-info p { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.kf-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 6px #3ecf8e; animation: blink 1.6s ease infinite; }
@keyframes blink { 50% { opacity: .35; } }
.kf-go { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; flex-shrink: 0; }
.notice-strip { display: flex; align-items: center; gap: 10px; margin: 12px 14px 0; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.notice-strip .ns-ic { width: 30px; height: 30px; border-radius: 9px; background: #fff3e6; color: #f57d00; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notice-strip .ns-ic svg { width: 17px; height: 17px; }
.notice-strip .ns-text { flex: 1; font-size: 13px; color: #3a3a3c; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notice-strip .ns-more { color: #9a9aa0; font-size: 12px; flex-shrink: 0; }

/* ============ IM 聊天 ============ */
.chat-body { display: flex; flex-direction: column; height: calc(100vh - 54px); background: #f2f3f5; }
.chat-list { flex: 1; overflow-y: auto; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 14px; }
.chat-msg { display: flex; gap: 10px; max-width: 86%; }
.chat-msg.kf { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; }
.chat-msg.kf .chat-avatar { background: linear-gradient(135deg, #5fb2e6, #3b82f6); }
.chat-msg.user .chat-avatar { background: linear-gradient(135deg, #f7b500, #f56a00); }
.chat-bubble { padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6; word-break: break-all; }
.chat-msg.kf .chat-bubble { background: #fff; border-top-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.chat-msg.user .chat-bubble { background: linear-gradient(135deg, #ffc21a, #f5a600); color: #fff; border-top-right-radius: 4px; }
.chat-time { text-align: center; color: #b0b4bc; font-size: 11px; }
.chat-input-bar { display: flex; gap: 10px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #ececf0; }
.chat-input-bar input { flex: 1; background: #f2f3f5; border: none; outline: none; border-radius: 999px; padding: 12px 16px; font-size: 14px; }
.chat-send { background: linear-gradient(135deg, #5fb2e6, #3b82f6); color: #fff; font-size: 14px; font-weight: 700; padding: 0 22px; border-radius: 999px; }
.chat-send:active { transform: scale(.95); }

/* ============ 打手接单端 ============ */
.player-body { background: #f2f3f5; min-height: calc(100vh - 54px); padding-bottom: 40px; }
.player-head { background: linear-gradient(135deg, #16203c, #1f2a4d); margin: 12px 14px 0; border-radius: 16px; padding: 18px 16px; color: #fff; }
.ph-top { display: flex; align-items: center; gap: 12px; }
.ph-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #f7b500, #f56a00); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; flex-shrink: 0; }
.ph-name { font-size: 17px; font-weight: 800; }
.ph-lv { display: inline-block; margin-top: 6px; font-size: 11px; background: rgba(247,181,0,.2); color: #ffd257; border: 1px solid rgba(247,181,0,.4); padding: 3px 10px; border-radius: 999px; }
.ph-stats { display: flex; margin-top: 16px; }
.ph-stat { flex: 1; text-align: center; }
.ph-stat .v { font-size: 18px; font-weight: 800; }
.ph-stat .l { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 4px; }
.player-tabs { display: flex; gap: 10px; padding: 14px 14px 4px; }
.player-tab { flex: 1; padding: 12px 0; border-radius: 12px; background: #fff; font-size: 14px; color: #6a6a70; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.player-tab.active { background: linear-gradient(135deg, #5fb2e6, #3b82f6); color: #fff; font-weight: 700; }
.hall-card { background: #fff; border-radius: 14px; padding: 14px; margin: 12px 14px 0; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.hc-head { display: flex; align-items: center; gap: 10px; }
.hc-head img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #eee; flex-shrink: 0; }
.hc-name { font-size: 14px; font-weight: 700; }
.hc-meta { font-size: 11px; color: #9a9aa0; margin-top: 4px; }
.hc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.hc-price { color: #f43f5e; font-weight: 800; font-size: 16px; }
.hc-earn { font-size: 11px; color: #1f9d6b; background: #e8f6ef; padding: 3px 9px; border-radius: 999px; margin-left: 8px; }
.hc-btn { background: linear-gradient(90deg, #5fb2e6, #3b82f6); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 999px; }
.hc-btn.green { background: linear-gradient(90deg, #34c77b, #1f9d5c); }
.hc-btn.yellow { background: #f6e11c; color: #111; }
.hc-btn:active { transform: scale(.94); }
.hc-status { font-size: 12px; color: #f57d00; font-weight: 600; }

/* ============ 打手端扁平底部导航（黑黄 1:1） ============ */
.tabbar.flat { bottom: 0; width: 100%; max-width: 480px; height: 62px; border-radius: 0; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 #ececef; }
.ptab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #9a9aa0; }
.ptab-icon { position: relative; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.ptab-icon svg { width: 25px; height: 25px; }
.ptab .tab-label { font-size: 11px; }
.ptab.active { color: #111; }
.ptab.active .ptab-icon { background: #f6e11c; border-radius: 9px; box-shadow: inset 0 0 0 1.6px #111; }
.ptab.active .ptab-icon svg { stroke: #111; }
.ptab-badge { position: absolute; top: -7px; right: -12px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #e64340; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ============ 打手端顶部背景轮播 ============ */
.pf-bg { position: absolute; inset: 0; z-index: 0; }
.pf-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.pf-bg img.on { opacity: 1; }
.pf-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.42) 100%); }
.pf-hero.has-bg::after { display: none; }

/* ============ 奖池横向自动滚动 ============ */
.dt-pool.scroll { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 2px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.dt-pool.scroll::-webkit-scrollbar { display: none; }
.pool-card { flex: 0 0 148px; background: #fff; border: 1px solid #f0f0f3; border-radius: 14px; padding: 10px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.03); }
.pool-card .pc-img { position: relative; width: 100%; height: 118px; border-radius: 10px; overflow: hidden; }
.pool-card .pc-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.pool-card .pc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #23263f, #4a3b6b); color: rgba(255,255,255,.78); font-size: 12px; padding: 6px; text-align: center; }
.pool-card .pc-name { font-size: 15px; font-weight: 800; color: #1c1c1e; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-card .pc-rate { font-size: 11px; color: #9aa0ab; margin-top: 3px; }
.pool-card .pc-qty { display: inline-block; margin-top: 9px; background: #fdebd3; color: #f57d00; font-size: 13px; font-weight: 700; padding: 5px 15px; border-radius: 8px; }

/* ============ 罚款缴纳 / 排行榜 ============ */
.fine-body { background: #f5f6f8; min-height: calc(100vh - 54px); padding: 12px 14px 40px; }
.fine-card { background: #fff; border-radius: 14px; padding: 14px 15px; margin-bottom: 12px; }
.fine-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fine-amt { color: #e64340; font-size: 18px; font-weight: 800; }
.fine-reason { color: #3a3a3c; font-size: 14px; margin-top: 7px; }
.fine-meta { color: #9a9aa0; font-size: 12px; margin-top: 6px; }
.fine-pay { background: #f6e11c; border: 1.5px solid #111; color: #111; font-weight: 700; font-size: 13px; padding: 8px 18px; border-radius: 999px; flex-shrink: 0; }
.fine-pay:active { transform: scale(.95); }
.rank-card { background: #fff; border-radius: 14px; padding: 4px 15px; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f2f2f5; }
.rank-row:last-child { border-bottom: none; }
.rank-no { width: 27px; height: 27px; border-radius: 8px; background: #f0f0f2; color: #666; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rank-no.top { background: #f6e11c; color: #111; }
.rank-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-lv { display: block; color: #9a9aa0; font-size: 12px; font-weight: 400; margin-top: 3px; }
.rank-stat { text-align: right; }
.rank-stat .v { font-size: 15px; font-weight: 800; }
.rank-stat .l { color: #9a9aa0; font-size: 11px; }

/* ============ 提现弹窗 ============ */
.wd-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 180; display: flex; align-items: center; justify-content: center; }
.wd-sheet { width: 86%; max-width: 400px; background: #fff; border-radius: 18px; padding: 22px 18px; }
.wd-title { font-size: 17px; font-weight: 800; text-align: center; }
.wd-tip { color: #9a9aa0; font-size: 12px; text-align: center; margin-top: 7px; line-height: 1.6; }
.wd-input { width: 100%; background: #f2f2f4; border: none; outline: none; border-radius: 10px; padding: 13px 14px; font-size: 15px; margin-top: 14px; }
.wd-btn { width: 100%; margin-top: 16px; background: #f6e11c; border: 2px solid #111; color: #111; font-size: 16px; font-weight: 800; padding: 12px 0; border-radius: 999px; }
.wd-btn:active { transform: scale(.97); }

/* ============ 打手端首页 / 我的（黑底英雄区） ============ */
.pf-hero { position: relative; background: radial-gradient(120% 90% at 50% 0%, #26272c 0%, #141519 55%, #0c0d10 100%); padding: 52px 16px 30px; overflow: hidden; }
.pf-hero::after { content: "WF"; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) skewX(-6deg); font-size: 150px; font-weight: 900; font-style: italic; color: rgba(255,255,255,.07); letter-spacing: -8px; pointer-events: none; }
.pf-top-r { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 10px; z-index: 3; }
.pf-gear { width: 34px; height: 34px; color: #fff; display: flex; align-items: center; justify-content: center; }
.pf-gear svg { width: 24px; height: 24px; }
.pf-switch { display: flex; align-items: center; gap: 5px; background: #f6e11c; color: #111; font-size: 14px; font-weight: 700; padding: 8px 15px; border-radius: 999px; }
.pf-switch svg { width: 16px; height: 16px; }
.pf-user { position: relative; display: flex; align-items: center; gap: 14px; z-index: 2; }
.pf-avatar { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.pf-avatar::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 3px solid transparent; background: conic-gradient(from 180deg, #7ec8ff, #2b6fe6, #9a6cf6, #7ec8ff) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
.pf-avatar::after { content: ""; position: absolute; right: -4px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9b3ff, #8a4fd8 70%); box-shadow: 0 0 0 3px #141519; }
.pf-uinfo { flex: 1; min-width: 0; }
.pf-name-row { display: flex; align-items: center; gap: 9px; }
.pf-name { color: #fff; font-size: 21px; font-weight: 800; }
.pf-role-tag { background: rgba(255,255,255,.16); color: #fff; font-size: 12px; padding: 4px 11px; border-radius: 8px; }
.pf-id { color: #b9bcc4; font-size: 14px; margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.pf-copy { color: #4da3ff; font-size: 14px; }
.pf-growth { display: flex; align-items: center; gap: 7px; margin-top: 11px; }
.pg-icon { color: #8a4fd8; font-size: 15px; text-shadow: 0 0 8px rgba(138,79,216,.8); }
.pg-bar { position: relative; flex: 1; height: 21px; background: #fff; border-radius: 999px; overflow: hidden; }
.pg-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #f6e11c; border-radius: 999px; min-width: 2px; }
.pg-label { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: #111; }
.pg-lv { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #111; }
.pf-join-wrap { position: relative; display: flex; justify-content: center; margin-top: 22px; z-index: 2; }
.pf-join-dark { background: rgba(10,10,12,.72); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 16px; font-weight: 700; padding: 13px 44px; border-radius: 999px; }
.pf-lv-pill { background: rgba(246,225,28,.14); border: 1px solid rgba(246,225,28,.45); color: #f6e11c; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 999px; }
.pf-sheet { background: #f5f6f8; border-radius: 22px 22px 0 0; margin-top: -14px; position: relative; min-height: 62vh; padding-bottom: 30px; }
.pf-stats3 { display: flex; background: #fff; border-radius: 16px; margin: 18px 14px 0; padding: 22px 0; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.pf-stat3 { flex: 1; text-align: center; position: relative; }
.pf-stat3 + .pf-stat3::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: #ececef; }
.pf-stat3 .v { font-size: 24px; font-weight: 800; color: #111; }
.pf-stat3 .v i { font-style: normal; font-size: 15px; font-weight: 700; margin-right: 2px; }
.pf-stat3 .l { color: #9a9aa0; font-size: 14px; margin-top: 8px; }
.pf-sec-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 18px 4px; }
.pf-sec-head h3 { font-size: 18px; font-weight: 800; }
.pf-all { color: #b0b0b5; font-size: 14px; }
.pf-empty { padding: 60px 20px 30px; text-align: center; }
.pf-empty svg { width: 190px; margin: 0 auto; display: block; }
.pf-empty-text { color: #b3b7c0; font-size: 15px; margin-top: 26px; letter-spacing: 1px; }
.pf-yellow-btn { margin-top: 26px; background: #f6e11c; border: 2px solid #111; color: #111; font-size: 16px; font-weight: 700; padding: 13px 44px; border-radius: 999px; }
.pf-yellow-btn:active { transform: scale(.96); }

/* ============ 打手端我的 ============ */
.pm-hero { position: relative; background: radial-gradient(120% 90% at 50% 0%, #26272c 0%, #141519 55%, #0c0d10 100%); padding: 14px 16px 34px; overflow: hidden; }
.pm-hero .pm-wm { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) skewX(-6deg); font-size: 170px; font-weight: 900; font-style: italic; color: rgba(255,255,255,.08); letter-spacing: -10px; }
.pm-title { position: relative; text-align: center; color: #fff; font-size: 18px; font-weight: 800; padding: 8px 0 20px; z-index: 2; }
.pm-balance-card { display: flex; background: #fff; border: 1.5px solid #111; border-radius: 16px; margin: -16px 14px 0; padding: 20px 18px; position: relative; z-index: 3; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.pmb-l, .pmb-r { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.pmb-r { align-items: flex-end; }
.pmb-l .l, .pmb-r .l { color: #6a6a70; font-size: 14px; }
.pmb-l .v { color: #e64340; font-size: 27px; font-weight: 800; }
.pmb-l .v i, .pmb-r .v i { font-style: normal; font-size: 16px; margin-right: 2px; }
.pmb-r .v { font-size: 24px; font-weight: 800; }
.pmb-btn { background: #f6e11c; border: 2px solid #111; color: #111; font-size: 15px; font-weight: 700; padding: 9px 30px; border-radius: 999px; }
.pmb-btn:active { transform: scale(.95); }
.pm-block { background: #fff; border-radius: 16px; margin: 14px 14px 0; padding: 18px 16px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.pm-block-head { display: flex; align-items: center; justify-content: space-between; }
.pm-block-head h3 { font-size: 18px; font-weight: 800; }
.pm-order-grid { display: grid; grid-template-columns: repeat(6, 1fr); row-gap: 18px; margin-top: 20px; }
.pm-order-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #111; }
.pm-order-item svg { width: 30px; height: 30px; }
.pm-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 22px; margin-top: 22px; }
.pm-feat { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 13px; color: #111; }
.pm-feat svg { width: 30px; height: 30px; }
.pm-footer { text-align: center; color: #b0b0b5; font-size: 14px; padding: 30px 0 26px; }
.pm-footer small { display: block; color: #c6c6cb; font-size: 13px; margin-top: 8px; }

/* ============ 打手端客服中心 ============ */
.pcs-head { background: #f5f6f8; text-align: center; font-size: 18px; font-weight: 800; padding: 56px 0 16px; }
.pcs-tabs { display: flex; background: #f5f6f8; border-bottom: 1px solid #ececef; }
.pcs-tab { flex: 1; padding: 15px 0 13px; font-size: 16px; color: #9a9aa0; position: relative; }
.pcs-tab.active { color: #111; font-weight: 800; }
.pcs-tab.active::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 4px; border-radius: 2px; background: #111; }
.pcs-search { display: flex; align-items: center; margin: 16px 14px 0; border: 1.6px solid #111; border-radius: 999px; padding: 5px 5px 5px 18px; background: #fff; }
.pcs-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 15px; }
.pcs-search button { background: #f6e11c; color: #111; font-size: 15px; font-weight: 700; padding: 10px 22px; border-radius: 999px; }
.pcs-kf { display: flex; align-items: center; gap: 13px; margin: 0; background: #fff; border-top: 1px solid #f0f0f2; border-bottom: 1px solid #f0f0f2; padding: 17px 14px; margin-top: 16px; }
.pcs-kf-ic { width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pcs-kf-ic svg { width: 42px; height: 42px; }
.pcs-kf-btn { background: #f6e11c; border: 1.6px solid #111; color: #111; font-size: 15px; font-weight: 700; padding: 11px 20px; border-radius: 999px; flex-shrink: 0; }
.pcs-row { display: flex; align-items: center; gap: 12px; background: #fff; padding: 15px 14px; border-bottom: 1px solid #f0f0f2; }
.pcs-row-ic { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pcs-row-ic svg { width: 36px; height: 36px; }

/* ============ 提交订单页 ============ */
.ob-body { background: #f0f0f2; min-height: calc(100vh - 54px); padding: 12px 14px 110px; }
.ob-card { background: #fff; border-radius: 16px; padding: 16px 15px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.ob-count { color: #3a3a3c; font-size: 14px; padding-bottom: 14px; }
.ob-item { display: flex; gap: 12px; }
.ob-item img, .ob-noimg { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: #f0f0f2; flex-shrink: 0; }
.ob-noimg { display: flex; align-items: center; justify-content: center; color: #9a9aa0; font-size: 12px; }
.ob-info { flex: 1; min-width: 0; }
.ob-name { font-size: 16px; font-weight: 800; line-height: 1.4; }
.ob-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ob-price { color: #f57d00; font-size: 17px; font-weight: 800; }
.ob-x { color: #9a9aa0; font-size: 14px; }
.ob-desc { color: #9a9aa0; font-size: 13px; line-height: 1.6; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ob-lines { border-top: 1px solid #f0f0f3; margin-top: 16px; padding-top: 6px; }
.ob-line { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 15px; color: #3a3a3c; }
.ob-line .strike { color: #b9bdc6; text-decoration: line-through; }
.ob-line.red { color: #e64340; }
.ob-total { color: #f57d00; font-size: 19px; font-weight: 800; }
.ob-label { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 12px; }
.ob-input { width: 100%; background: #ececee; border: none; outline: none; border-radius: 10px; padding: 15px 14px; font-size: 15px; }
.ob-input::placeholder, .ob-ta::placeholder { color: #9a9aa0; }
.ob-ta { height: 96px; resize: none; font-family: inherit; line-height: 1.6; }
.ob-chips { display: flex; gap: 13px; }
.ob-chip { background: #ececee; color: #555; font-size: 15px; padding: 14px 26px; border-radius: 10px; transition: transform .16s ease; }
.ob-chip:active { transform: scale(.93); }
.ob-chip.active { background: linear-gradient(135deg, #ff9d1a, #f56a00); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(245,106,0,.3); }
.ob-qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.ob-qty-row .ob-label { margin: 0; }
.ob-qty { display: flex; align-items: center; gap: 20px; }
.ob-qty button { width: 42px; height: 42px; border-radius: 10px; background: #ececee; color: #333; font-size: 20px; }
.ob-qty button:active { transform: scale(.92); }
.ob-qty span { font-size: 17px; font-weight: 700; min-width: 16px; text-align: center; }
.ob-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; display: flex; align-items: center; gap: 13px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); z-index: 80; box-shadow: 0 -2px 10px rgba(0,0,0,.05); }
.ob-sum { font-size: 15px; color: #111; }
.ob-sum b { color: #f57d00; font-size: 19px; font-weight: 800; }
.ob-submit { flex: 1; background: linear-gradient(90deg, #ff8a00, #f56a00); color: #fff; font-size: 17px; font-weight: 700; padding: 15px 0; border-radius: 12px; }
.ob-submit:active { transform: scale(.98); }

/* ============ 悬浮抽奖按钮 ============ */
.lottery-fab { position: fixed; right: 14px; bottom: 110px; width: 62px; height: 68px; z-index: 90; filter: drop-shadow(0 4px 12px rgba(247,154,0,.45)); animation: fabPulse 2.2s ease-in-out infinite; }
@keyframes fabPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ============ 订单详情独立页 ============ */
.od-card { background: #fff; border-radius: 14px; padding: 14px 15px; margin-bottom: 12px; }
.od-sec { font-size: 14px; font-weight: 700; color: #1c1c1e; margin-bottom: 10px; }
.od-prod { display: flex; gap: 10px; align-items: center; }
.od-prod img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #f0f0f3; }
.od-row { font-size: 13px; color: #55555a; margin-top: 6px; line-height: 1.6; }
.od-people { display: flex; gap: 12px; align-items: flex-start; }
.od-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #ffd76a, #f5953c); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 17px; overflow: hidden; flex-shrink: 0; }
.od-avatar img { width: 100%; height: 100%; object-fit: cover; }
.od-avatar.dark { background: linear-gradient(135deg, #23263f, #4a3b6b); }
.od-pname { font-size: 15px; font-weight: 700; color: #1c1c1e; margin-bottom: 6px; }
.od-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.od-tags span { font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.tag-gold { background: linear-gradient(90deg, #ffe9b0, #ffd76a); color: #8a5b00; font-weight: 700; }
.tag-blue { background: #e8f1ff; color: #2b6fd4; font-weight: 700; }
.tag-line { background: #f2f3f7; color: #6b6d85; }
.od-intro { font-size: 12px; color: #9a9aa0; margin-top: 7px; line-height: 1.6; }
.od-imgs { display: flex; gap: 8px; flex-wrap: wrap; }
.od-imgs img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #f0f0f3; }
.od-actions { display: flex; gap: 10px; margin-top: 4px; }
.img-add { width: 72px; height: 72px; border: 1.5px dashed #c9cad4; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #9a9aa0; cursor: pointer; }
.img-del { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: #e5484d; color: #fff; border-radius: 50%; font-size: 13px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.settle-ta { width: 100%; min-height: 96px; border: 1px solid #e6e7ee; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: inherit; resize: vertical; outline: none; background: #fafafc; }
.settle-ta:focus { border-color: #f5b071; }
.mine-badges .gold { background: linear-gradient(90deg, #ffe9b0, #ffd76a); color: #8a5b00; font-weight: 700; }

/* ============ 抽奖页 ============ */
.lottery-box { background: #1f2136; border-radius: 18px; padding: 18px 14px; margin: 0 2px; }
.lottery-wheel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lw-cell { background: #2a2c47; border: 2px solid transparent; border-radius: 12px; padding: 8px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: all .2s; }
.lw-cell img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.lw-cell i { width: 52px; height: 52px; border-radius: 8px; background: #3a3d5e; display: block; }
.lw-cell span { color: #cfd2ea; font-size: 11px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lw-cell.lw-hit { border-color: #ffd76a; background: #3d3a20; box-shadow: 0 0 14px rgba(255, 215, 106, .45); }
.lottery-btn { display: block; margin: 16px auto 0; background: linear-gradient(90deg, #ffd76a, #f5953c); color: #4a2c00; font-size: 16px; font-weight: 800; padding: 12px 44px; border-radius: 999px; }
.lottery-btn:disabled { opacity: .45; }
.prize-card { display: flex; gap: 12px; align-items: center; background: #1f2136; border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.prize-card img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; }
.prize-ph { width: 62px; height: 62px; border-radius: 10px; background: linear-gradient(135deg, #ffd76a, #f5953c); color: #7a4b00; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.prize-ph.big { width: 110px; height: 110px; font-size: 34px; margin: 0 auto; }
.prize-name { color: #fff; font-size: 15px; font-weight: 700; }
.prize-meta { color: #8b8da3; font-size: 12px; margin-top: 5px; }
.lottery-mask { position: fixed; inset: 0; background: rgba(10, 10, 18, .78); z-index: 300; display: flex; align-items: center; justify-content: center; }
.lottery-result { width: 280px; background: linear-gradient(180deg, #2a2c47, #1f2136); border: 1px solid #ffd76a55; border-radius: 20px; padding: 26px 20px; text-align: center; animation: pop .35s cubic-bezier(.34, 1.56, .64, 1); }
.lottery-result img { width: 130px; height: 130px; border-radius: 14px; object-fit: cover; margin: 14px auto 0; box-shadow: 0 6px 22px rgba(255, 215, 106, .3); }
.lr-title { color: #ffd76a; font-size: 17px; font-weight: 800; letter-spacing: 2px; }
.lr-name { color: #fff; font-size: 18px; font-weight: 800; margin-top: 12px; }
.lr-tip { color: #8b8da3; font-size: 12px; margin-top: 8px; }

/* ============ 多彩抽奖页（分类抽奖） ============ */
.lq-page { background: linear-gradient(180deg, #1b1035 0%, #171826 45%); }
.lq-hero { text-align: center; padding: 20px 16px 6px; position: relative; overflow: hidden; }
.lq-title { font-size: 26px; font-weight: 900; background: linear-gradient(90deg, #ffd76a, #ff8a5c, #ff5c9e, #b06bff); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 3px; animation: lqShine 3s linear infinite; background-size: 200% auto; }
@keyframes lqShine { to { background-position: 200% center; } }
.lq-sub { color: #a89ecf; font-size: 12px; margin-top: 6px; }
.lq-chances { display: inline-block; margin-top: 10px; background: rgba(255, 215, 106, .12); border: 1px solid rgba(255, 215, 106, .35); color: #ffd76a; font-size: 13px; padding: 6px 18px; border-radius: 999px; }
.lq-chances b { font-size: 16px; margin: 0 2px; }
.lq-cats { display: flex; gap: 10px; padding: 16px 14px 4px; overflow-x: auto; }
.lq-cat { flex-shrink: 0; min-width: 110px; padding: 12px 16px; border-radius: 16px; background: #232442; border: 2px solid transparent; text-align: center; transition: all .2s; }
.lq-cat .lq-cat-name { display: block; color: #cfd2ea; font-size: 15px; font-weight: 700; }
.lq-cat .lq-cat-price { display: block; color: #8b8da3; font-size: 12px; margin-top: 4px; }
.lq-cat.on { border-color: var(--c); background: #2c2e52; box-shadow: 0 4px 16px rgba(0, 0, 0, .4); transform: translateY(-2px); }
.lq-cat.on .lq-cat-name { color: #fff; }
.lq-cat.on .lq-cat-price { color: var(--c); font-weight: 700; }
.lq-marquee-wrap { margin: 14px 14px 0; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.lq-marquee { display: flex; gap: 10px; padding: 10px 0; width: max-content; animation: lqScroll 18s linear infinite; }
.lq-marquee-wrap:hover .lq-marquee { animation-play-state: paused; }
@keyframes lqScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lq-item { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 4px 12px; }
.lq-item img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.lq-item .lq-ph { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.lq-item span { color: #e6e8f5; font-size: 13px; white-space: nowrap; }
.lq-item i { color: #ffd76a; font-size: 11px; font-style: normal; }
.lq-hint { text-align: center; color: #8b8da3; font-size: 12px; margin-top: 10px; }
.lq-empty { text-align: center; color: #6b6d85; padding: 40px 0; }
.lq-ticket-price { color: #ffd76a; font-size: 16px; font-weight: 800; }
.lw-cell em { font-style: normal; color: #ffd76a; font-size: 10px; }
