:root {
    --black:   #060709;
    --bg:      #0a0b0e;
    --bg1:     #1a1c24;
    --bg2:     #20222c;
    --bg3:     #2a2d38;
    --line:    rgba(255,255,255,0.08);
    --line2:   rgba(255,255,255,0.13);
    --white:   #ffffff;
    --gray1:   #d1d1d6;
    --gray2:   #8e8e93;
    --gray3:   #5a5d68;
    --gold:    #3b5be0;          /* brand accent (was gold, now blue) */
    --gold2:   #8aa0ff;          /* bright highlight — price */
    --gold-bg: rgba(59,91,224,0.12);
    --gold-border: rgba(59,91,224,0.32);
    --blue:    #3b5be0;          /* 夺宝/抽奖 主蓝（之前漏定义，导致设备上蓝色失效） */
    --blue2:   #8aa0ff;          /* 亮蓝高亮 */
    --blue-bg: rgba(59,91,224,0.12);
    --blue-border: rgba(59,91,224,0.32);
    --blue-deep: #1b3a8c;        /* banner / big buttons */
    --green:   #50c878;
    --font:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
    background: var(--black);
    font-family: var(--font);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 16px 110px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg1); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }


/* ── Sticky Header ── */
.sticky-header {
    position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
    background: rgba(10,11,14,0.92); margin: 0 -16px; padding: 10px 16px 8px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

/* Logo bar */
.logo-bar {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.logo-bar img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.logo-bar .site-title {
    font-size: 17px; font-weight: 600; color: var(--white);
    letter-spacing: -0.02em; flex: 1;
}
.logo-bar .bot-link {
    width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
    border: 1px solid var(--line2); display: block; flex-shrink: 0;
}
.logo-bar .bot-link img { width: 100%; height: 100%; object-fit: cover; }

/* Search row */
.search-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.search-wrap { position: relative; flex: 1; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--gray2); pointer-events: none; }
.search-box {
    width: 100%; padding: 10px 12px 10px 36px; border-radius: 12px;
    background: var(--bg2); border: 1px solid var(--line); color: var(--white);
    font-size: 15px; font-family: var(--font); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box::placeholder { color: var(--gray2); }
.search-box:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(59,91,224,0.15); }

/* ── Filter bar（美团式常驻下拉） ── */
.filterbar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 2px; position: relative; z-index: 2; }
.filterbar::-webkit-scrollbar { display: none; }
.fb-btn {
    flex: none; padding: 12px 22px; border-radius: 13px;
    border: 1px solid var(--line); background: var(--bg1); color: var(--white);
    font-size: 14px; font-weight: 600; font-family: var(--font); cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
    transition: transform 0.1s, border-color 0.2s, background 0.2s, color 0.2s; user-select: none;
}
.fb-btn:active { transform: scale(0.95); }
.fb-btn .fb-arrow { font-size: 9px; color: var(--gray2); transition: transform 0.2s; flex-shrink: 0; }
.fb-btn.on { background: var(--gold-bg); border-color: var(--gold-border); color: var(--gold2); }
.fb-btn.on .fb-arrow { color: var(--gold2); }
.fb-btn.open { border-color: var(--gold); color: var(--gold); }
.fb-btn.open .fb-arrow { transform: rotate(180deg); color: var(--gold); }

/* 下拉展开区（在 sticky-header 内，撑开高度） */
.fb-dropdown { overflow: hidden; max-height: 0; transition: max-height 0.25s ease; position: relative; z-index: 2; }
.fb-dropdown.open { max-height: 360px; }
.fb-dropdown-inner {
    background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
    padding: 12px; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px;
}
.fb-opt {
    padding: 7px 14px; border-radius: 18px; font-size: 12px; font-weight: 500;
    cursor: pointer; color: var(--gray1); border: 1px solid var(--line2);
    background: var(--bg1); transition: all 0.15s; white-space: nowrap; font-family: var(--font);
}
.fb-opt.active { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 600; }

/* 点击空白关闭下拉（盖在内容上、压在 sticky-header 之下） */
.fb-backdrop { display: none; position: fixed; top:0;right:0;bottom:0;left:0; z-index: 90; background: transparent; }
.fb-backdrop.show { display: block; }

/* ── Gallery — CSS Columns masonry ── */
.gallery {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(5, 1fr); } }

.loading { text-align: center; color: var(--gray2); padding: 40px 0; font-size: 14px; }

/* ── Card (image top + info below) ── */
.card {
    border-radius: 12px; overflow: hidden;
    cursor: pointer; position: relative;
    background: var(--bg1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) {
    .card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(59,91,224,0.15); }
}
/* 首屏骨架屏：灰卡占位消除白屏，真卡到达即移除。display:contents 让骨架卡直接进 .gallery 网格 */
#gallery-skeleton { display: contents; }
.skl-card { aspect-ratio: 3/4; border-radius: 12px; background: var(--bg2); position: relative; overflow: hidden; }
.skl-card::after { content: ''; position: absolute; top:0;right:0;bottom:0;left:0; transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(150,150,150,0.15), transparent); animation: sklShine 1.25s ease-in-out infinite; }
@keyframes sklShine { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skl-card::after { animation: none; } }

.card-img-wrap {
    position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden;
    background: var(--bg2);
}
.card-img-wrap img, .card-img-wrap video {
    position: absolute; top:0;right:0;bottom:0;left:0; width: 100%; height: 100%; object-fit: cover; display: block;
}
/* 顶部收藏/验证标记已有独立底色，不再叠整幅黑色渐变，避免卡片顶端出现暗带。
   底部遮罩保留，保证下方徽章的可读性。 */
.card-img-wrap::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    pointer-events: none; z-index: 1;
}

/* 老安卓 WebView（Chrome<88，多见于无 Google 服务的国产机）不认 aspect-ratio：
   这些定高靠比例撑的容器会塌成 0 高 → 首页卡片/骨架屏/玩法盘面全变一条线。
   用 padding-top 百分比兜底撑出同样的比例（新浏览器整块忽略）。 */
@supports not (aspect-ratio: 1) {
    .skl-card, .card-img-wrap { padding-top: 133.333%; }
    .card-img-wrap::after { height: 112px; }
    #ckall-grid .ckr-card { padding-top: 142.3%; }
    .biz-cover, .mz-hero { padding-top: 62.5%; }
    .lot-jp-hero { padding-top: 75%; }
    .lot-cell, .lot-spin, .fb-pod .av { padding-top: 100%; }   /* 只兜「宽度=父容器宽」的方块；靠自身宽度定比例的小装饰(光晕/图标)不管，撑歪了更难看 */
    .fc-card { padding-top: 150%; }
}

/* 封面英雄徽章：左下唯一一个（纯色实心胶囊，底色=标签色、黑/白字按亮度，均内联设置） */
.card-hero-badge {
    position: absolute; left: 6px; bottom: 6px; z-index: 2;
    display: inline-flex; align-items: center; gap: 3px; max-width: calc(54% - 6px);
    font-size: 9px; font-weight: 800; letter-spacing: 0.01em;
    padding: 2.5px 6px; border-radius: 6px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
    pointer-events: none; white-space: nowrap; overflow: hidden; min-width: 0;
}
.card-hero-badge .chb-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* flex 里靠内层 span 才能真截断（外层 ellipsis 对 flex item 不生效） */
.card-hero-badge svg { width: 9px; height: 9px; flex: none; display: block; }

/* 皇上翻牌·个人后宫置顶：本人钦点的老师在自己首页顶端，左上角「钦点」金印 */
.card-harem-badge {
    position: absolute; right: 6px; top: 28px; z-index: 3;
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 9px; font-weight: 800; letter-spacing: 0.02em;
    color: #3a2400; padding: 2.5px 7px; border-radius: 999px;
    background: linear-gradient(135deg, #ffe6a6, #e8c063 60%, #c9982f);
    box-shadow: 0 2px 8px rgba(156,111,31,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
    pointer-events: none; white-space: nowrap;
}
.card-harem-badge iconify-icon { font-size: 10px; }

/* 老师状态角标（休息中/今日可约，二者互斥同槽位）：右上「已验证」正下方右对齐成一列信息栈——
   右缘定位与卡宽无关，窄屏两列卡也不会和左上爱心/已验证水平相撞（撞过两次的坑）。
   个人后宫视图里「钦点」占了这个位置 → 渲染时内联 top:50px 再往下顺一格 */
.card-resting-badge, .card-checkin-badge {
    position: absolute; right: 6px; top: 28px; z-index: 3;
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 9px; font-weight: 800; letter-spacing: 0.02em;
    color: #fff; padding: 2.5px 7px; border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none; white-space: nowrap;
}
/* 休息=灰（降权+挂标，粉丝仍找得到）；打卡=绿（正向信号） */
.card-resting-badge { background: rgba(90, 96, 110, 0.92); }
html.light .card-resting-badge { background: rgba(110, 116, 130, 0.92); }
.card-checkin-badge { background: rgba(35, 134, 54, 0.92); }
html.light .card-checkin-badge { background: rgba(31, 122, 49, 0.95); }

/* 封面券角标：右下（与左下 hero 徽章错开，二者可同卡共存）。红→橙渐变胶囊。 */
.card-coupon-badge {
    position: absolute; right: 6px; bottom: 6px; z-index: 2;
    display: inline-flex; align-items: center; gap: 1px; max-width: calc(46% - 6px);
    font-size: 9px; font-weight: 800; letter-spacing: 0.01em;
    padding: 2.5px 5px; border-radius: 6px; color: #fff;
    background: linear-gradient(135deg, #3b5be0, #5a78f0);
    box-shadow: 0 2px 7px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
    pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-coupon-badge iconify-icon { font-size: 9px; margin-right: 0; flex: none; }

/* ── 优惠券专区：万能券 hero + 横滑小票 + 分区标题（superdesign 精选钩子版 97a48f5b）── */
.cz-hero { position: relative; overflow: hidden; background: #11131a; border: 1px solid var(--gold-border); border-radius: 18px; padding: 18px; margin-bottom: 18px; box-shadow: 0 0 25px -5px rgba(59,91,224,0.35); }
html.light .cz-hero { background: var(--bg1); box-shadow: 0 2px 16px rgba(59,91,224,0.12); }
.cz-hero-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cz-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--gold-bg); color: var(--gold2); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; border: 1px solid var(--gold-border); }
.cz-exp { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--gray2); font-weight: 600; font-variant-numeric: tabular-nums; }
.cz-hero-mid { display: flex; align-items: center; gap: 18px; }
.cz-hero-amt { text-align: center; flex: none; }
.cz-hero-amt .v { font-size: 32px; font-weight: 900; color: var(--gold2); line-height: 1; letter-spacing: -0.02em; }
.cz-hero-amt .u { font-size: 9px; font-weight: 800; color: var(--gray3); letter-spacing: 0.18em; margin-top: 6px; }
.cz-hero-div { width: 1px; height: 46px; background: var(--line2); flex: none; }
.cz-hero-info { flex: 1; min-width: 0; }
.cz-hero-info .t { font-size: 17px; font-weight: 800; line-height: 1.2; margin-bottom: 5px; }
.cz-hero-info .g { display: inline-flex; align-items: center; gap: 5px; color: var(--gold2); font-size: 12px; font-weight: 700; }
.cz-hero-bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cz-stock .l { font-size: 11px; color: var(--gray3); }
.cz-stock .n { font-size: 12px; font-weight: 800; color: var(--gold2); margin-top: 1px; }
.cz-stock .n.low { color: #ff7070; }
.cz-claim { flex: none; white-space: nowrap; border: none; border-radius: 999px; padding: 10px 22px; font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b5be0, #8aa0ff); box-shadow: 0 6px 18px rgba(59,91,224,0.35); cursor: pointer; }
.cz-claim:disabled { background: var(--bg2); color: var(--gray3); box-shadow: none; cursor: default; }
.cz-claim .zb-cd { font-variant-numeric: tabular-nums; }
.cz-sec { display: flex; align-items: center; gap: 6px; margin: 0 2px 12px; }
.cz-sec iconify-icon { color: var(--gold2); font-size: 16px; }
.cz-sec-t { font-size: 14px; font-weight: 800; }
.cz-sec-s { font-size: 11px; color: var(--gray3); font-weight: 500; margin-left: 2px; }
.cz-chips { display: flex; gap: 10px; overflow-x: auto; padding: 0 2px 4px; margin: 0 -2px 22px; scrollbar-width: none; }
.cz-chips::-webkit-scrollbar { display: none; }
.cz-chip { flex: none; width: 210px; display: flex; align-items: center; background: var(--bg1); border: 1px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; }
html.light .cz-chip { box-shadow: 0 2px 12px rgba(20,30,60,0.06); }
.cz-chip:active { transform: scale(0.99); }
.cz-chip .cv { text-align: center; padding-right: 12px; border-right: 1px solid var(--line2); flex: none; }
.cz-chip .cv .v { font-size: 19px; font-weight: 900; color: var(--gold2); line-height: 1; }
.cz-chip .cv .u { font-size: 9px; font-weight: 800; color: var(--gray3); margin-top: 3px; letter-spacing: 0.04em; }
.cz-chip .ci { padding-left: 12px; min-width: 0; flex: 1; }
.cz-chip .ci .t { font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-chip .ci .s { font-size: 10px; color: var(--gray2); margin-top: 2px; }
.cz-chip.sold { opacity: 0.5; }
/* 专区里已抢光的老师：不暗化，仅右下「已抢光」角标提示 */
.coupon-soldout .card-img-wrap img, .coupon-soldout .card-img-wrap video { filter: none; }
.card-soldout-badge { position: absolute; right: 6px; bottom: 6px; z-index: 2; display: inline-flex; align-items: center; font-size: 9px; font-weight: 800; letter-spacing: 0.01em; padding: 2.5px 6px; border-radius: 6px; background: rgba(28,28,32,0.92); color: #cfcfd6; box-shadow: 0 2px 7px rgba(0,0,0,0.35); pointer-events: none; white-space: nowrap; }
/* 详情页券区：已抢光的那张灰显作钩子（留人/FOMO） */
.pd-coupon.sold { opacity: 0.6; }
/* 专区里未开抢的老师：不暗化，仅中间倒计时胶囊提示 */
.coupon-upcoming .card-img-wrap img, .coupon-upcoming .card-img-wrap video { filter: none; }
.card-countdown { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: rgba(18,18,22,0.9); color: #ffd66b; box-shadow: 0 2px 10px rgba(0,0,0,0.55); white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
/* 核销凭证弹窗（动态时间防截图） */
#verify-modal { position: fixed; top:0;right:0;bottom:0;left:0; z-index: 10000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.82); padding: 20px; }
#verify-modal.open { display: flex; }
.vf-card { width: 100%; max-width: 420px; background: linear-gradient(160deg, #ff5a5f, #ff8a3d); border-radius: 20px; padding: 26px 22px calc(22px + env(safe-area-inset-bottom,0px)); text-align: center; color: var(--white); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.vf-amt { font-size: 40px; font-weight: 900; line-height: 1; }
.vf-pkg { font-size: 14px; opacity: 0.95; margin-top: 8px; }
.vf-clock { font-size: 30px; font-weight: 800; letter-spacing: 2px; margin: 18px 0 6px; font-variant-numeric: tabular-nums; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.vf-status { font-size: 13px; opacity: 0.95; min-height: 18px; }
.vf-meta { font-size: 13px; margin-top: 14px; background: rgba(255,255,255,0.18); border-radius: 10px; padding: 8px 10px; }
.vf-meta b { letter-spacing: 1px; }
.vf-note { font-size: 11px; line-height: 1.6; opacity: 0.92; margin-top: 14px; }
.vf-redeem { margin-top: 16px; border: none; border-radius: 999px; padding: 13px 0; width: 100%; font-size: 15px; font-weight: 800; background: #fff; color: #ff5a3d; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.vf-redeem:active { transform: scale(0.98); }
.vf-redeem:disabled { opacity: 0.6; cursor: default; }
.vf-close { margin-top: 10px; border: none; border-radius: 999px; padding: 11px 0; width: 100%; font-size: 14px; font-weight: 700; background: rgba(0,0,0,0.25); color: var(--white); cursor: pointer; }
/* 已作废态：灰卡 + 停钟，用过再出示一眼看穿、假不了 */
.vf-card.void { background: linear-gradient(160deg, #55555d, #70707a); }
.vf-card.void .vf-clock { font-size: 26px; color: #ffe0e0; letter-spacing: 1px; }
.vf-card.void .vf-amt { opacity: 0.7; }
/* 积分不够 · 显眼弹窗 */
#big-toast { position: fixed; top:0;right:0;bottom:0;left:0; z-index: 11000; display: none; align-items: center; justify-content: center; padding: 32px; background: rgba(0,0,0,0.55); }
#big-toast.show { display: flex; }
.big-toast-card { max-width: 320px; width: 100%; background: var(--bg1); border: 1px solid var(--line2); border-radius: 18px; padding: 24px 20px; text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,0.5); animation: bt-pop .2s ease; }
@keyframes bt-pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.big-toast-ic { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: var(--gold-bg); color: var(--gold2); display: grid; place-items: center; font-size: 28px; }
.big-toast-t { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 7px; }
.big-toast-s { font-size: 13px; color: var(--gray2); line-height: 1.65; }
.big-toast-btn { margin-top: 18px; border: none; border-radius: 999px; padding: 11px 0; width: 100%; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3b5be0, #8aa0ff); cursor: pointer; }
/* 领取确认弹窗（App 风格，替代原生 confirm） */
#claim-confirm { position: fixed; top:0;right:0;bottom:0;left:0; z-index: 11020; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(0,0,0,0.6); }
#claim-confirm.show { display: flex; }
.cc-card { max-width: 330px; width: 100%; background: var(--bg1); border: 1px solid var(--line2); border-radius: 20px; padding: 24px 22px 20px; text-align: center; box-shadow: 0 20px 56px rgba(0,0,0,0.55); animation: bt-pop .2s ease; }
.cc-amt { font-size: 40px; font-weight: 900; color: var(--gold2); line-height: 1; letter-spacing: -0.02em; }
.cc-amt small { font-size: 18px; font-weight: 800; margin-right: 1px; }
.cc-title { font-size: 15px; font-weight: 800; color: var(--white); margin: 12px 0 10px; line-height: 1.35; }
.cc-scope { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.cc-scope iconify-icon { font-size: 13px; }
.cc-scope.uni { color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); }
.cc-scope.only { color: #ff8f5a; background: rgba(255,122,47,0.12); border: 1px solid rgba(255,122,47,0.32); }
html.light .cc-scope.only { color: #e05a1f; background: rgba(224,90,31,0.08); }
.cc-meta { font-size: 12px; color: var(--gray2); margin-top: 11px; line-height: 1.5; }
.cc-note { font-size: 11.5px; color: #ff8f5a; margin-top: 6px; font-weight: 600; }
.cc-acts { display: flex; gap: 10px; margin-top: 20px; }
.cc-btn { flex: 1; border: none; border-radius: 13px; padding: 12px 0; font-size: 14px; font-weight: 800; cursor: pointer; font-family: inherit; }
.cc-btn.ghost { background: transparent; color: var(--gray2); border: 1px solid var(--line2); }
.cc-btn.go { color: #fff; background: linear-gradient(135deg, #3b5be0, #8aa0ff); box-shadow: 0 6px 16px rgba(59,91,224,0.34); }
/* 领取成功反馈（中间动效卡片 + 撒花） */
#claim-ok { position: fixed; top:0;right:0;bottom:0;left:0; z-index: 11030; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(0,0,0,0.5); }
#claim-ok.show { display: flex; }
.co-card { max-width: 300px; width: 100%; background: var(--bg1); border: 1px solid var(--line2); border-radius: 22px; padding: 30px 22px 22px; text-align: center; box-shadow: 0 20px 56px rgba(0,0,0,0.55); animation: co-pop .34s cubic-bezier(.18,.9,.32,1.4); position: relative; overflow: hidden; }
.co-ic { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, #3b5be0, #8aa0ff); color: #fff; display: grid; place-items: center; font-size: 34px; box-shadow: 0 8px 22px rgba(59,91,224,0.45); animation: co-ic-pop .5s .08s cubic-bezier(.18,.9,.32,1.5) both; }
.co-t { font-size: 19px; font-weight: 900; color: var(--white); }
.co-s { font-size: 13px; color: var(--gray2); line-height: 1.6; margin-top: 7px; }
.co-btn { margin-top: 18px; border: none; border-radius: 999px; padding: 11px 0; width: 100%; font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b5be0, #8aa0ff); cursor: pointer; }
@keyframes co-pop { from { transform: scale(.85) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes co-ic-pop { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: scale(1) rotate(0); } }
.co-spark { position: absolute; top: 14%; width: 7px; height: 7px; border-radius: 2px; opacity: 0; animation: co-spark .9s ease-out forwards; }
@keyframes co-spark { 0% { opacity: 1; transform: translate(0,0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
.pts-shop .pd-coupon .claim.pts-short { background: var(--gold-bg); color: var(--gold2); border: 1px solid var(--gold-border); }
/* 详情页 / 我的卡券：券卡片 */
.pd-coupon {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,90,95,0.12), rgba(255,138,61,0.10));
    border: 1px dashed rgba(255,138,61,0.55); margin-bottom: 8px;
}
.pd-coupon:last-child { margin-bottom: 0; }
.pd-coupon .amt { font-size: 18px; font-weight: 800; color: #ff7a3d; line-height: 1.05; white-space: nowrap; }
.pd-coupon .info { flex: 1; min-width: 0; }
.pd-coupon .info .l1 { font-size: 13px; font-weight: 700; color: var(--white); }
.pd-coupon .info .l2 { font-size: 11px; color: var(--gray2); margin-top: 2px; }
.pd-coupon .claim { flex-shrink: 0; border: none; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 700; color: var(--white); background: linear-gradient(135deg, #ff5a5f, #ff8a3d); cursor: pointer; }
.pd-coupon .claim:disabled { background: var(--bg2); color: var(--gray3); cursor: default; box-shadow: none; }
/* 我的卡券：票券钱包卡（superdesign 4c82510f）——独立类，不动商城/详情的 .pd-coupon */
.mc-ticket { display: flex; align-items: stretch; background: var(--bg1); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 3px 14px rgba(20,30,60,0.06); }
.mc-ticket.expired { opacity: 0.5; }
.mc-stub { flex: none; width: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px 5px; position: relative; }
.mc-stub::after { content: ''; position: absolute; right: 0; top: 14px; bottom: 14px; border-right: 2px dashed var(--line2); }
.mc-stub .a { font-size: 22px; font-weight: 800; color: #ff5a3d; line-height: 1; white-space: nowrap; }
.mc-stub .a small { font-size: 12px; font-weight: 800; margin-right: 1px; }
.mc-stub .a.s1 { font-size: 18px; }   /* 4 位数额(¥1000/¥2000) */
.mc-stub .a.s2 { font-size: 15px; }   /* 5 位数额 / 立减N% 等更长 */
.mc-stub .k { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--gray3); }
.mc-body { flex: 1; min-width: 0; padding: 13px 14px; display: flex; flex-direction: column; gap: 3px; }
.mc-body .t { font-size: 14px; font-weight: 800; color: var(--white); line-height: 1.3; }
.mc-body .s { font-size: 11px; color: var(--gray2); line-height: 1.45; }
/* 操作按钮：底部整行平分两半，绝不横向溢出 */
.mc-act { display: flex; gap: 8px; margin-top: 11px; }
.mc-btn { flex: 1; min-width: 0; border: none; border-radius: 11px; padding: 9px 6px; font-size: 13px; font-weight: 700; color: #fff; cursor: pointer; white-space: nowrap; font-family: inherit; text-align: center; }
.mc-btn:active { transform: scale(0.97); }
.mc-btn.use { background: linear-gradient(135deg, #ff5a5f, #ff8a3d); box-shadow: 0 4px 12px rgba(255,90,95,0.26); }
.mc-btn.report { background: var(--gold); box-shadow: 0 4px 12px rgba(59,91,224,0.22); }
.mc-btn:disabled { background: var(--bg2); color: var(--gray3); box-shadow: none; cursor: default; }
/* 我的卡券 状态分类段控件（可用/已用/已过期） */
#mc-seg { display: none; gap: 8px; margin-bottom: 14px; }
.mc-seg-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg1); color: var(--gray2); font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; }
.mc-seg-btn:active { transform: scale(0.97); }
.mc-seg-btn .n { font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--bg2); color: var(--gray3); display: inline-grid; place-items: center; }
.mc-seg-btn.on { background: linear-gradient(135deg, #ff5a5f, #ff8a3d); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(255,90,95,0.24); }
.mc-seg-btn.on .n { background: rgba(255,255,255,0.25); color: #fff; }
#mycoupons-page { display: none; }
#mycoupons-page.show { display: block; }
#points-page { display: none; }
#points-page.show { display: block; }
/* 老师会员页（隐藏页，仅 ?member=<id> 深链可达；不在导航露出）—— superdesign 稿落地，蓝色双主题 */
#member-page { display: none; }
#member-page.show { display: block; }
.mb-tier { border-radius: 22px; padding: 20px; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.5); color: #fff; }
html.light .mb-tier { box-shadow: 0 2px 14px rgba(20,30,60,0.08); }
.mb-tier.t-adv  { background: linear-gradient(135deg,#1b3a8c 0%,#3b5be0 55%,#5b78f0 100%); }
.mb-tier.t-base { background: linear-gradient(135deg,#3a3d48 0%,#5a5d68 100%); }
.mb-tier.t-flag { background: linear-gradient(135deg,#7e63b8 0%,#b4c3d2 100%); color:#1a1c1e; }
.mb-tier.t-none { background: linear-gradient(135deg,#2a2d38 0%,#1a1c24 100%); }
.mb-tier .mb-t-cap { font-size: 13.5px; opacity: .85; }
.mb-tier .mb-t-name { font-size: 23px; font-weight: 800; margin: 4px 0 14px; display:flex; align-items:center; gap:8px; }
.mb-tier .mb-t-foot { display:flex; align-items:center; gap:10px; font-size: 14px; }
.mb-tier .mb-t-renew { margin-left:auto; background:#fff; color:var(--blue-deep,#1b3a8c); border:0; border-radius:10px; padding:8px 14px; font-weight:700; font-size:13px; cursor:pointer; }
.mb-tier.t-flag .mb-t-renew { background:#1a1c1e; color:#fff; }
/* 免费入驻身份卡（新模型：免费入驻 + 买流量包） */
.mb-tier.t-free { background:linear-gradient(135deg,#10306e 0%,#2f57d8 58%,#5b78f0 100%); }
.mb-tier.t-free::after { content:""; position:absolute; right:-30px; top:-30px; width:150px; height:150px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.14),transparent 70%); pointer-events:none; }
.mb-tier.t-free .mb-t-name iconify-icon { color:#7fe6ad; }
.mb-tier .mb-t-foot span { line-height:1.4; }
/* 主推卡（流量包）：蓝描边强调 + 主推角标 */
.mb-feat { border-color:var(--blue-border); box-shadow:0 0 0 1px var(--blue-border), 0 10px 30px rgba(59,91,224,.18); }
html.light .mb-feat { box-shadow:0 0 0 1px var(--blue-border), 0 6px 20px rgba(59,91,224,.12); }
.mb-feat-tag { display:inline-block; font-size:10px; font-weight:800; letter-spacing:.06em; color:#fff; background:var(--blue); border-radius:999px; padding:2px 9px; margin-left:8px; vertical-align:middle; }
/* 免费杠杆小标（发券/御花园：零成本换曝光） */
.mb-free-tag { display:inline-block; font-size:10px; font-weight:800; letter-spacing:.04em; color:var(--blue2); background:var(--blue-bg); border:1px solid var(--blue-border); border-radius:999px; padding:2px 9px; margin-left:8px; vertical-align:middle; }
/* ── 流量包·专业下单流程 ── */
.mb-tf-lead { font-size:13px; color:var(--gray1); line-height:1.6; margin:10px 0 2px; }
.mb-tf-lbl { font-size:13px; font-weight:700; color:var(--gray2); margin:16px 0 8px; letter-spacing:.02em; }
.mb-tf-lbl:first-of-type { margin-top:14px; }
.mb-opts { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.mb-opts.mb-bopts { grid-template-columns:1fr; }
.mb-seg-row { display:flex; gap:6px; background:var(--bg1); border:1px solid var(--line); border-radius:12px; padding:4px; margin-bottom:12px; }
.mb-seg { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:5px; padding:9px 8px; border:none; background:transparent; color:var(--gray2); font-size:13px; font-weight:700; border-radius:9px; cursor:pointer; transition:background .15s, color .15s; }
.mb-seg iconify-icon { font-size:15px; }
.mb-seg.on { background:var(--blue); color:#fff; }
.mb-opt { position:relative; text-align:left; background:var(--bg1); border:1.5px solid var(--line); border-radius:14px; padding:13px 13px 12px; cursor:pointer; transition:border-color .15s, background .15s; }
.mb-opt.on { border-color:var(--blue); background:var(--blue-bg); }
.mb-opt .oti { font-size:14px; font-weight:800; color:var(--white); display:flex; align-items:center; gap:6px; }
.mb-opt .oti iconify-icon { color:var(--blue2); font-size:16px; }
.mb-opt.on .oti iconify-icon { color:#ffd66b; }
.mb-opt .osu { font-size:12px; color:var(--gray2); margin-top:3px; display:flex; align-items:center; flex-wrap:wrap; gap:2px 5px; }
.mb-opt .opz { font-size:17px; font-weight:900; color:var(--blue2); margin-top:9px; letter-spacing:.01em; }
.mb-opt .opz small { font-size:11px; color:var(--gray2); font-weight:600; margin-left:2px; }
.mb-opt .ochk { position:absolute; top:11px; right:11px; width:18px; height:18px; border-radius:50%; border:1.5px solid var(--line2); display:grid; place-items:center; color:#fff; font-size:11px; }
.mb-opt.on .ochk { background:var(--blue); border-color:var(--blue); }
.mb-opt.on .ochk::after { content:"✓"; }
.mb-opt.full { opacity:.5; cursor:not-allowed; }
.mb-opt.full .ochk { display:none; }
.mb-stk { font-size:10px; font-weight:800; padding:1px 6px; border-radius:999px; margin-left:5px; background:rgba(52,199,89,.16); color:#34c759; letter-spacing:0; }
.mb-stk.low { background:rgba(255,159,10,.16); color:#ff9f0a; }
.mb-stk.full { background:rgba(255,69,58,.16); color:#ff453a; }
.mb-presets { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.mb-preset { padding:7px 15px; border-radius:999px; border:1px solid var(--line); background:var(--bg1); color:var(--gray1); font-size:13px; font-weight:700; cursor:pointer; }
.mb-preset.on { background:var(--blue); border-color:var(--blue); color:#fff; }
.mb-daybox { display:inline-flex; align-items:center; gap:6px; }
.mb-daybox input { width:56px; padding:7px 8px; border-radius:9px; border:1px solid var(--line); background:var(--bg1); color:var(--white); font-size:14px; font-weight:800; text-align:center; }
.mb-total { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 10px; background:linear-gradient(135deg,var(--blue-bg),transparent); border:1px solid var(--blue-border); border-radius:13px; padding:13px 15px; margin-top:16px; }
.mb-total .tl { font-size:13px; color:var(--gray2); }
.mb-total .tl b { display:block; font-size:12px; color:var(--gray1); font-weight:600; margin-top:3px; }
.mb-total .amt { font-size:26px; font-weight:900; color:var(--white); letter-spacing:.01em; }
.mb-total .amt-wrap { display:flex; align-items:center; gap:8px; margin-left:auto; }
.mb-total .mb-orig { font-size:14px; color:var(--gray3); text-decoration:line-through; font-weight:600; }
.mb-total .mb-save { font-size:11px; font-weight:800; color:#34c759; background:rgba(52,199,89,.14); padding:2px 8px; border-radius:999px; }
/* 位置低价试用小标 */
.mb-opt-tag { font-size:10px; font-weight:800; padding:1px 6px; border-radius:999px; background:rgba(255,159,10,.16); color:#ff9f0a; letter-spacing:0; white-space:nowrap; }
/* 时长套餐卡 */
.mb-pkgs { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; }
.mb-pkg { position:relative; display:flex; flex-direction:column; align-items:center; gap:1px; text-align:center; background:var(--bg1); border:1.5px solid var(--line); border-radius:13px; padding:15px 5px 11px; cursor:pointer; transition:border-color .15s, background .15s; }
.mb-pkg.on { border-color:var(--blue); background:var(--blue-bg); }
.mb-pkg.feat { border-color:rgba(201,168,76,.5); }
.mb-pkg.feat.on { border-color:var(--gold2); background:rgba(201,168,76,.12); }
.mb-pkg .pk-tag { position:absolute; top:-9px; left:50%; transform:translateX(-50%); white-space:nowrap; font-size:10px; font-weight:800; padding:2px 8px; border-radius:999px; background:var(--blue); color:#fff; }
.mb-pkg .pk-tag.feat { background:linear-gradient(135deg,#f0c04f,#c9982f); color:#2a1c00; }
.mb-pkg .pk-name { font-size:13px; font-weight:800; color:var(--gray1); }
.mb-pkg .pk-days { font-size:12px; color:var(--gray2); }
.mb-pkg .pk-price { font-size:19px; font-weight:900; color:var(--white); margin-top:4px; letter-spacing:.01em; }
.mb-pkg.on .pk-price { color:var(--blue2); }
.mb-pkg.feat.on .pk-price { color:var(--gold2); }
.mb-pkg .pk-per { font-size:11.5px; color:var(--gray2); font-weight:600; margin-top:1px; }
.mb-daybox-row { display:flex; align-items:center; gap:7px; margin-top:11px; font-size:13px; color:var(--gray2); }
.mb-daybox-row input { width:56px; padding:7px 8px; border-radius:9px; border:1px solid var(--line); background:var(--bg1); color:var(--white); font-size:14px; font-weight:800; text-align:center; }
.mb-daybox-off { font-size:11px; font-weight:800; color:#34c759; background:rgba(52,199,89,.14); padding:2px 8px; border-radius:999px; }
.mb-trust { display:flex; gap:8px 16px; flex-wrap:wrap; margin-top:12px; font-size:12px; color:var(--gray2); }
.mb-trust span { display:inline-flex; align-items:center; gap:4px; }
.mb-trust iconify-icon { color:#7fe6ad; font-size:13px; }
.mb-sumrow { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13.5px; padding:11px 0; border-bottom:1px solid var(--line); }
.mb-sumrow:last-of-type { border-bottom:0; }
.mb-sumrow .k { color:var(--gray2); flex:0 0 auto; }
.mb-sumrow .v { color:var(--white); font-weight:800; min-width:0; text-align:right; overflow-wrap:anywhere; }
.mb-sumrow.big .v { font-size:20px; color:var(--blue2); }
.mb-note { background:var(--bg1); border:1px solid var(--line); border-radius:11px; padding:11px 13px; font-size:13px; color:var(--gray1); line-height:1.6; margin-top:14px; display:flex; gap:9px; }
.mb-note iconify-icon { color:var(--blue2); font-size:16px; flex-shrink:0; margin-top:1px; }
.mb-btn-row { display:flex; gap:10px; margin-top:16px; }
.mb-btn-row .mb-cta { margin-top:0; }
.mb-btn-ghost { flex:0 0 auto; background:var(--bg2); color:var(--gray1); border:1px solid var(--line); border-radius:12px; padding:0 20px; font-size:14px; font-weight:700; cursor:pointer; }
.mb-done { text-align:center; padding:8px 4px 2px; }
.mb-done .ok { width:60px; height:60px; border-radius:50%; background:rgba(80,200,120,.14); color:#3fd07a; display:grid; place-items:center; font-size:32px; margin:0 auto 12px; }
.mb-done .dh { font-size:18px; font-weight:800; color:var(--white); }
.mb-done .dd { font-size:13px; color:var(--gray2); margin-top:6px; line-height:1.6; }
.mb-done .dcard { text-align:left; background:var(--bg1); border:1px solid var(--line); border-radius:12px; padding:13px 15px; margin-top:16px; }
.mb-status-pill { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:800; padding:4px 11px; border-radius:999px; background:rgba(232,178,58,.15); color:#e8b23a; }
.mb-mine { margin-top:14px; }
.mb-mine-row { display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--gray1); background:var(--bg1); border:1px solid var(--line); border-radius:11px; padding:10px 12px; margin-top:8px; }
.mb-mine-row .dot { width:8px; height:8px; border-radius:50%; flex:none; }
.mb-mine-row .dot.on { background:#3fd07a; } .mb-mine-row .dot.wait { background:#e8b23a; }
.mb-mine-row .rt { margin-left:auto; font-weight:800; }
.mb-mine-row .rt.on { color:#3fd07a; } .mb-mine-row .rt.wait { color:#e8b23a; }
/* 私聊高亮条（紧凑但显眼）*/
.mb-dm { display:flex; align-items:center; gap:10px; background:var(--blue-bg); border:1px solid var(--blue-border); border-radius:14px; padding:11px 14px; margin-top:6px; }
.mb-dm .mb-dm-ic { color:var(--blue2); font-size:20px; flex-shrink:0; }
.mb-dm .mb-dm-lb { font-size:13px; font-weight:700; color:var(--blue2); letter-spacing:.02em; }
.mb-dm .mb-dm-n  { font-size:26px; font-weight:900; color:var(--blue2); line-height:1; }
.mb-dm .mb-dm-sf { margin-left:auto; font-size:12.5px; color:var(--gray2); }
/* 三个次要数字格 */
.mb-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:10px; }
.mb-stats.four { grid-template-columns:repeat(4,1fr); gap:8px; }
.mb-stat { background:var(--bg2); border:1px solid var(--line); border-radius:14px; padding:13px 8px; text-align:center; }
.mb-stats.four .mb-stat { padding:13px 4px; }
html.light .mb-stat { box-shadow:0 2px 12px rgba(20,30,60,0.06); }
.mb-stat .n { font-size:21px; font-weight:800; color:var(--white); }
.mb-stats.four .mb-stat .n { font-size:19px; }
.mb-stat .l { font-size:12px; color:var(--gray2); margin-top:3px; display:flex; align-items:center; justify-content:center; gap:3px; }
.mb-stats.four .mb-stat .l { font-size:11.5px; gap:2px; }
/* 数据体检 · 建议 */
.mb-diag { display:flex; flex-direction:column; gap:9px; margin-top:10px; }
.mb-diag-hd { display:flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:var(--gray1); }
.mb-diag-hd iconify-icon { color:var(--gold2); font-size:15px; }
.mb-diag-hd b { color:var(--gold2); margin:0 1px; }
.mb-diag-item { display:flex; align-items:flex-start; gap:10px; background:var(--bg2); border:1px solid var(--line); border-left:3px solid #ff9f0a; border-radius:12px; padding:11px 12px; }
.mb-diag-item .di-ic { color:#ff9f0a; font-size:18px; flex:none; margin-top:1px; }
.mb-diag-item .di-body { flex:1; min-width:0; }
.mb-diag-item .di-t { font-size:13.5px; font-weight:700; color:var(--white); }
.mb-diag-item .di-tip { font-size:13px; color:var(--gray2); line-height:1.55; margin-top:3px; }
.mb-diag-item .di-cta { flex:none; align-self:center; background:var(--blue); color:#fff; border:none; border-radius:9px; padding:8px 12px; font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; }
.mb-diag-ok { display:flex; align-items:center; gap:9px; background:var(--bg2); border:1px solid var(--line); border-left:3px solid #34c759; border-radius:12px; padding:12px 13px; font-size:13.5px; color:var(--gray1); line-height:1.5; }
.mb-diag-ok iconify-icon { color:#34c759; font-size:18px; flex:none; }
/* 星探拉新卡 · 赚到了版 */
.sc-hero { position:relative; overflow:hidden; border-radius:16px; padding:16px; margin-bottom:12px;
  background:radial-gradient(120% 100% at 0% 0%,rgba(59,91,224,.26),transparent 60%),linear-gradient(135deg,#1c2547,#12172e);
  border:1px solid var(--gold-border); }
html.light .sc-hero { background:radial-gradient(120% 100% at 0% 0%,rgba(59,91,224,.16),transparent 60%),linear-gradient(135deg,#eef2ff,#e0e7ff); }
.sc-hero .sh-eyebrow { font-size:11px; font-weight:800; letter-spacing:.06em; color:var(--gold2); }
.sc-hero .sh-title { font-size:18px; font-weight:900; color:#fff; line-height:1.3; margin-top:6px; }
html.light .sc-hero .sh-title { color:#20305e; }
.sc-hero .sh-title em { font-style:normal; color:var(--gold2); }
.sc-metrics { display:flex; gap:8px; margin-bottom:12px; }
.sc-metric { flex:1; text-align:center; background:var(--bg2); border:1px solid var(--line); border-radius:12px; padding:11px 4px; }
.sc-metric .n { font-size:20px; font-weight:900; color:var(--white); line-height:1; }
.sc-metric .n.gold { color:var(--gold2); }
.sc-metric .l { font-size:11px; color:var(--gray2); margin-top:5px; }
.sc-worth { text-align:center; font-size:12px; color:var(--gold2); font-weight:800; margin:-4px 0 12px; }
.sc-goal { margin-bottom:12px; }
.sc-goal .g-lbl { font-size:12.5px; color:var(--gray1); margin-bottom:7px; }
.sc-goal .g-lbl b { color:var(--gold2); }
.sc-goal .g-bar { height:9px; border-radius:999px; background:var(--bg2); overflow:hidden; border:1px solid var(--line); }
.sc-goal .g-fill { height:100%; border-radius:999px; background:linear-gradient(90deg,var(--blue),var(--blue2)); box-shadow:0 0 8px rgba(59,91,224,.5); transition:width .6s cubic-bezier(.2,.8,.2,1); }
.sc-goal .g-max { font-size:12px; color:var(--gold2); font-weight:800; display:flex; align-items:center; gap:5px; }
.sc-ladder { background:var(--bg2); border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin-bottom:12px; }
.sc-ladder .sl-step { display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px solid var(--line); }
.sc-ladder .sl-step:last-child { border-bottom:none; }
.sc-ladder .sl-dot { flex:none; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:900; background:var(--bg1); color:var(--gray2); border:1px solid var(--line); }
.sc-ladder .sl-step.on .sl-dot { background:linear-gradient(135deg,var(--blue2),var(--blue)); color:#fff; border-color:transparent; }
.sc-ladder .sl-t { flex:1; font-size:12.5px; color:var(--gray1); }
.sc-ladder .sl-step.on .sl-t { color:var(--white); }
.sc-ladder .sl-r { font-size:12px; font-weight:800; color:var(--gold2); }
.mb-scout-intro .h { display:flex; align-items:flex-start; gap:10px; }
.mb-scout-intro .ic { flex:none; width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center; background:var(--blue-bg); color:var(--blue2); font-size:17px; }
.mb-scout-intro .t { font-size:13px; color:var(--gray1); line-height:1.55; }
.mb-scout-intro .t b { color:var(--blue2); }
.mb-scout-code { display:flex; align-items:center; gap:10px; margin:12px 0 10px; padding:12px 14px; background:linear-gradient(135deg,var(--blue-bg),transparent); border:1px dashed var(--blue2); border-radius:12px; }
.mb-scout-code .sc-l { flex:1; }
.mb-scout-code .sc-cap { font-size:12px; color:var(--gray2); }
.mb-scout-code .sc-num { font-size:26px; font-weight:800; color:var(--blue2); letter-spacing:.06em; line-height:1.2; }
.mb-scout-code .sc-copy { flex:none; display:inline-flex; align-items:center; gap:5px; background:var(--blue); color:#fff; border:none; border-radius:9px; padding:9px 14px; font-size:13px; font-weight:700; cursor:pointer; }
.mb-scout-prog { margin:12px 0 4px; font-size:13px; color:var(--gray1); }
.mb-scout-prog .p-n { font-size:18px; font-weight:800; color:var(--gold2); }
.mb-scout-ms { display:flex; align-items:stretch; gap:0; margin:10px 0 4px; }
.scout-ms { flex:1; text-align:center; background:var(--bg2); border:1px solid var(--line); border-radius:11px; padding:9px 4px; }
.scout-ms.on { border-color:var(--gold2); background:var(--blue-bg); }
.scout-ms .sm-top { font-size:12px; font-weight:700; color:var(--gray1); display:flex; align-items:center; justify-content:center; gap:3px; }
.scout-ms.on .sm-top { color:var(--gold2); }
.scout-ms .sm-bot { font-size:12px; color:var(--gray2); margin-top:2px; }
.scout-ms-gap { width:8px; flex:none; }
.mb-scout-vs { display:flex; flex-direction:column; gap:7px; margin:12px 0 4px; }
.scout-v { display:flex; align-items:center; gap:8px; background:var(--bg2); border:1px solid var(--line); border-radius:11px; padding:9px 12px; font-size:12.5px; color:var(--gray2); }
.scout-v.on { border-color:var(--gold2); background:var(--blue-bg); color:var(--gray1); }
.scout-v iconify-icon { font-size:17px; color:var(--gray3); flex:none; }
.scout-v.on iconify-icon { color:var(--gold2); }
.scout-v b { color:var(--white); }
.scout-v span { margin-left:auto; font-size:11.5px; }
.mb-scout-list { margin:12px 0 4px; }
.mb-scout-list .sl-hd { font-size:13px; color:var(--gray2); margin-bottom:6px; }
.mb-scout-list .sl-row { display:flex; align-items:center; justify-content:space-between; padding:7px 0; border-bottom:1px solid var(--line); font-size:13px; color:var(--gray1); }
.mb-scout-list .sl-m { font-size:11.5px; color:var(--gold2); }
.mb-scout-list .sl-more { text-align:center; font-size:11.5px; color:var(--gray3); padding-top:7px; }
.mb-scout-tip { display:flex; align-items:flex-start; gap:7px; margin-top:12px; font-size:12.5px; color:var(--gray3); line-height:1.5; }
.mb-scout-tip iconify-icon { flex:none; font-size:14px; margin-top:1px; }
/* 流量包确认屏 · 星探券选择 */
.mb-tf-voucher { margin:8px 0; padding:10px 12px; background:rgba(232,178,58,.08); border:1px solid var(--line); border-radius:11px; }
.mb-tf-voucher .vh { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:700; color:var(--gold2); margin-bottom:7px; }
.mb-tf-voucher .vopt { display:inline-block; margin:0 6px 6px 0; padding:7px 12px; border-radius:9px; border:1px solid var(--line); background:var(--bg2); color:var(--gray1); font-size:12.5px; font-weight:700; cursor:pointer; }
.mb-tf-voucher .vopt.on { border-color:var(--gold2); background:rgba(232,178,58,.16); color:var(--gold2); }
/* 趋势条 */
.mb-trend-card { background:var(--bg2); border:1px solid var(--line); border-radius:14px; padding:14px; margin-top:10px; }
html.light .mb-trend-card { box-shadow:0 2px 12px rgba(20,30,60,0.06); }
.mb-trend { display:flex; align-items:flex-end; gap:6px; height:64px; }
.mb-trend .b { flex:1; min-height:4px; background:linear-gradient(180deg,var(--blue2),var(--blue)); border-radius:4px 4px 0 0; }
.mb-trend .b.promo { background:linear-gradient(180deg,#f4c04e,#e8a92e); }
.mb-expo-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.mb-expo-title { font-size:13.5px; font-weight:700; color:var(--gray1); }
.mb-expo-tabs { display:flex; gap:4px; }
.mb-expo-tab { font-size:12px; padding:3px 10px; border-radius:999px; border:1px solid var(--line); background:transparent; color:var(--gray2); cursor:pointer; font-family:inherit; }
.mb-expo-tab.on { border-color:var(--blue); color:#fff; background:var(--blue); }
.mb-expo-legend { text-align:center; font-size:12px; color:var(--gray2); margin-top:8px; line-height:1.6; }
.mb-expo-dot { display:inline-block; width:8px; height:8px; border-radius:2px; background:linear-gradient(180deg,#f4c04e,#e8a92e); vertical-align:middle; margin:0 3px 0 5px; }
/* 发券换曝光 */
.mb-coupon { background:var(--bg2); border:1px solid var(--line); border-radius:16px; padding:16px; margin-top:10px; }
html.light .mb-coupon { box-shadow:0 2px 12px rgba(20,30,60,0.06); }
.mb-coupon .h { display:flex; align-items:center; gap:10px; }
.mb-coupon .h .ic { width:38px; height:38px; border-radius:11px; background:var(--blue-bg); color:var(--blue2); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.mb-coupon .h .t { font-size:15px; font-weight:700; color:var(--white); }
.mb-coupon .pts { list-style:none; margin:12px 0 0; padding:0; }
.mb-coupon .pts li { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:var(--gray1); margin:7px 0; }
.mb-coupon .pts li iconify-icon { color:var(--blue2); margin-top:1px; flex-shrink:0; }
.mb-frow { display:flex; align-items:center; gap:10px; margin-top:12px; font-size:13px; color:var(--gray1); flex-wrap:wrap; }
.mb-flbl { width:64px; flex:0 0 auto; color:var(--gray2); font-weight:600; }
.mb-fchips { display:flex; gap:8px; flex-wrap:wrap; }
/* 按价目表发券：一行＝一个套餐（P/PP 自动带档案里的真实报价，其他套餐点＋添加） */
.mb-plist { display:flex; flex-direction:column; gap:8px; }
.mb-prow { border:1.5px solid var(--line); border-radius:12px; padding:10px 12px; transition:border-color .15s, background .15s; }
.mb-prow.on { border-color:var(--blue); background:var(--blue-bg); }
.mb-prow-t { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:800; color:var(--white); cursor:pointer; margin:0; }
.mb-prow-t input { width:17px; height:17px; flex:0 0 auto; accent-color:var(--blue); }
.mb-prow-t .pr { font-size:12px; font-weight:600; color:var(--gray2); }
.mb-prow-t .af { margin-left:auto; font-size:12px; font-weight:800; color:var(--blue2); }
.mb-prow-b { display:flex; align-items:center; gap:8px; margin:9px 0 0 25px; font-size:13px; color:var(--gray1); flex-wrap:wrap; }
.mb-prow-b .mb-finput { width:64px; padding:6px 8px; font-size:13px; }
.mb-prow-x { margin-left:auto; border:none; background:transparent; color:var(--gray2); font-size:12px; font-weight:700; font-family:inherit; cursor:pointer; padding:4px 6px; }
.mb-padd { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:10px; font-size:12px; color:var(--gray2); }
.mb-padd button { padding:6px 11px; border-radius:999px; border:1px dashed var(--line); background:transparent; color:var(--gray1); font-size:12px; font-weight:700; font-family:inherit; cursor:pointer; }
.mb-padd button:active { border-color:var(--blue); color:var(--blue2); }
/* 待发券清单（一次提交多种券：P减100 / PP减200 / 包时减100…） */
.mb-cdrafts { margin-top:12px; display:flex; flex-direction:column; gap:6px; }
.mb-cdraft { display:flex; align-items:center; gap:8px; padding:9px 11px; border-radius:10px; background:var(--blue-bg); border:1px solid var(--blue-border); font-size:13px; font-weight:700; color:var(--blue2); }
.mb-cdraft span { flex:1; min-width:0; }
.mb-cdraft button { flex:none; width:24px; height:24px; display:grid; place-items:center; border:none; border-radius:7px; background:transparent; color:var(--gray2); font-size:15px; font-family:inherit; cursor:pointer; }
.mb-cdraft button:active { background:var(--bg2); }
.mb-cadd { margin-top:12px; width:100%; padding:11px; border-radius:12px; border:1.5px dashed var(--line); background:transparent; color:var(--gray1); font-size:13px; font-weight:700; font-family:inherit; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:6px; }
.mb-cadd:active { border-color:var(--blue); color:var(--blue2); }
.mb-fchip { padding:7px 14px; border-radius:10px; border:1px solid var(--line); background:var(--bg2); color:var(--gray1); font-size:13px; font-weight:600; cursor:pointer; }
.mb-fchip.on { background:var(--blue-bg); border-color:var(--blue-border); color:var(--blue2); }
.mb-finput { width:80px; padding:8px 10px; border-radius:10px; border:1px solid var(--line); background:var(--bg2); color:var(--white); font-size:14px; font-weight:700; }
/* 自定义下拉（替代原生 select，开合两态统一风格） */
.mb-dd { position:relative; }
.mb-dd-trigger { width:100%; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 12px 12px 14px; border-radius:12px; border:1.5px solid var(--line); background:var(--bg2); color:var(--white); font-size:14px; font-weight:600; font-family:inherit; cursor:pointer; transition:border-color .15s, box-shadow .15s; }
.mb-dd-trigger:active { border-color:var(--blue); }
.mb-dd-lead { display:flex; align-items:center; gap:8px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mb-dd-lead .pin { color:var(--blue2); font-size:17px; flex:none; }
.mb-dd-cvbox { flex:none; display:grid; place-items:center; width:26px; height:26px; border-radius:8px; background:var(--blue); }
.mb-dd-cvbox .cv { color:#fff; font-size:16px; transition:transform .2s; }
.mb-dd.open .mb-dd-trigger { border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-bg); }
.mb-dd.open .mb-dd-cvbox .cv { transform:rotate(180deg); }
.mb-tf-hint { font-size:11px; font-weight:600; color:var(--blue2); background:var(--blue-bg); padding:2px 8px; border-radius:999px; margin-left:6px; }
.mb-dd-menu { display:none; position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:30; background:var(--bg2); border:1px solid var(--line); border-radius:12px; padding:6px; box-shadow:0 14px 36px -10px rgba(0,0,0,.55); max-height:264px; overflow-y:auto; }
html.light .mb-dd-menu { box-shadow:0 14px 36px -10px rgba(20,30,60,.22); }
.mb-dd.open .mb-dd-menu { display:block; }
.mb-dd-opt { display:block; width:100%; text-align:left; padding:11px 12px; border-radius:9px; border:none; background:transparent; color:var(--gray1); font-size:14px; font-weight:500; font-family:inherit; cursor:pointer; }
.mb-dd-opt.on { background:var(--blue-bg); color:var(--white); font-weight:700; }
.mb-dd-opt:active { background:var(--blue-bg); }
/* 自定义确认弹窗（替代原生 confirm） */
.mb-confirm-mask { position:fixed; top:0;right:0;bottom:0;left:0; z-index:2000; background:rgba(8,10,18,.55); display:flex; align-items:center; justify-content:center; padding:24px; animation:mbCfFade .15s ease; }
.mb-confirm-card { width:100%; max-width:320px; background:var(--bg1); border:1px solid var(--line); border-radius:18px; padding:20px; box-shadow:0 24px 64px -14px rgba(0,0,0,.55); animation:mbCfPop .2s cubic-bezier(.34,1.4,.64,1); }
.mb-confirm-t { font-size:16px; font-weight:800; color:var(--white); margin-bottom:8px; }
.mb-confirm-m { font-size:14px; color:var(--gray1); line-height:1.65; margin-bottom:18px; }
.mb-confirm-btns { display:flex; gap:10px; }
.mb-confirm-btns button { flex:1; padding:12px; border-radius:12px; font-size:14px; font-weight:700; font-family:inherit; cursor:pointer; }
.mb-confirm-cancel { background:var(--bg2); color:var(--gray1); border:1px solid var(--line); }
.mb-confirm-ok { background:var(--blue); color:#fff; border:none; }
.mb-confirm-ok:active, .mb-confirm-cancel:active { transform:scale(.97); }
@keyframes mbCfFade { from{opacity:0} to{opacity:1} }
@keyframes mbCfPop { from{transform:scale(.94);opacity:0} to{transform:scale(1);opacity:1} }
.mb-fstat { margin-top:12px; font-size:13px; color:var(--blue2); font-weight:700; background:var(--blue-bg); border:1px solid var(--blue-border); border-radius:10px; padding:9px 12px; }
/* 发券渠道块（专区/御花园 可多选） */
.mb-ch { border:1.5px solid var(--line); border-radius:12px; padding:11px 12px; margin-top:8px; transition:border-color .15s, background .15s; }
.mb-ch.on { border-color:var(--blue); background:var(--blue-bg); }
.mb-ch-head { display:flex; align-items:center; gap:8px; cursor:pointer; margin:0; }
.mb-ch-head input { width:17px; height:17px; flex:0 0 auto; accent-color:var(--blue); }
.mb-ch-ic { color:var(--blue2); display:inline-flex; }
.mb-ch-ic iconify-icon { font-size:17px; }
.mb-ch-t { font-size:14px; font-weight:800; color:var(--white); display:flex; align-items:center; gap:6px; }
.mb-ch-live { font-size:10px; font-weight:800; padding:1px 7px; border-radius:999px; background:rgba(52,199,89,.16); color:#34c759; }
.mb-ch-sub { font-size:11px; color:var(--gray2); margin:5px 0 8px 25px; line-height:1.5; }
.mb-ch-stock { font-size:13px; color:var(--gray1); margin-left:25px; }
.mb-ch-stock .mb-finput { width:70px; }
/* 一键发标准券（快捷预设） */
.mb-quota { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:700; border-radius:10px; padding:8px 11px; margin:0 0 12px; }
.mb-quota iconify-icon { font-size:15px; flex-shrink:0; }
.mb-quota span { font-size:11px; font-weight:600; color:var(--gray2); margin-left:auto; }
.mb-quota b { font-weight:800; }
.mb-quota-ok { color:var(--blue2); background:var(--blue-bg); border:1px solid var(--blue-border); }
.mb-quota-off { color:#c2481f; background:rgba(194,72,31,.1); border:1px solid rgba(194,72,31,.28); }
.mb-quota-off span { color:#c2481f; }
.mb-quick-hd { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:800; color:var(--white); margin:2px 0 8px; }
.mb-quick-hd iconify-icon { color:#f0a92e; font-size:16px; }
.mb-quick-hd span { font-size:11px; font-weight:600; color:var(--gray2); margin-left:2px; }
.mb-preset-wrap { display:flex; flex-direction:column; gap:8px; }
.mb-preset-btn { display:flex; flex-direction:column; align-items:flex-start; gap:2px; width:100%; text-align:left; cursor:pointer;
    background:linear-gradient(135deg,rgba(240,169,46,.12),rgba(59,91,224,.08)); border:1.5px solid var(--blue-border,rgba(59,91,224,.4)); border-radius:12px; padding:11px 13px; font-family:inherit; transition:transform .12s, border-color .15s; }
.mb-preset-btn:active { transform:scale(.98); }
.mb-preset-face { display:flex; align-items:center; gap:6px; font-size:14px; font-weight:800; color:var(--white); }
.mb-preset-face iconify-icon { color:#f0a92e; font-size:16px; }
.mb-preset-cnt { font-size:12px; font-weight:700; color:var(--blue2,#6c8cff); }
.mb-preset-split { font-size:11px; color:var(--gray2); }
.mb-quick-or { text-align:center; font-size:11px; color:var(--gray2); margin:14px 0 6px; letter-spacing:.05em; }
.mb-custom-toggle { display:flex; align-items:center; justify-content:center; gap:6px; font-size:12px; font-weight:600; color:var(--gray1); cursor:pointer; margin:14px 0 2px; padding:8px; border-top:1px solid var(--line); user-select:none; }
.mb-custom-toggle iconify-icon { font-size:14px; }
.mb-custom-toggle .mb-cto-arrow { transition:transform .2s; }
.mb-custom-toggle.open .mb-cto-arrow { transform:rotate(180deg); }
/* 三档对比 */
.mb-trow { display:flex; align-items:center; gap:12px; background:var(--bg2); border:1px solid var(--line); border-radius:14px; padding:14px; margin-top:10px; }
.mb-trow.cur { border-color:var(--blue-border); background:var(--blue-bg); }
html.light .mb-trow { box-shadow:0 2px 12px rgba(20,30,60,0.06); }
.mb-trow .ic { width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:21px; flex-shrink:0; }
.mb-trow .nm { font-size:15px; font-weight:700; color:var(--white); }
.mb-trow .pr { font-size:13px; color:var(--blue2); font-weight:700; margin-top:2px; }
.mb-trow .pers { margin-left:auto; text-align:right; font-size:11px; color:var(--gray2); line-height:1.5; }
.mb-trow .tag { margin-left:auto; align-self:flex-start; background:var(--blue); color:#fff; font-size:11px; font-weight:700; border-radius:8px; padding:3px 8px; }
/* 通用蓝按钮 + 底部固定条 */
.mb-cta { width:100%; background:var(--blue); color:#fff; border:0; border-radius:12px; padding:14px; font-size:15px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:7px; margin-top:18px; }
.mb-sec { font-size:15px; font-weight:700; color:var(--white); margin:20px 0 2px; }
/* ── 会员页功能分区：四区四色（雾蓝/薰衣草紫/香槟金/蔷薇粉），区头彩色药丸+区内卡片同色系细节 ── */
.mbz { margin-top:14px; }   /* 紧凑账本版：区头药丸已撤，卡片间距收紧 */
.mbz-status { margin-top:0; }
.mbz-hd { display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:800; letter-spacing:.02em; border-radius:9px; padding:5px 11px; margin:0 0 4px; }
.mbz-hd iconify-icon { font-size:14px; }
.mbz-hd .mb-feat-tag, .mbz-hd .mb-free-tag { margin-left:6px; }
.mbz .mb-sec { font-size:15px; margin:16px 0 2px; color:var(--gray1); }
.mbz-status .mbz-hd { background:rgba(59,91,224,.16); color:#8aa0ff; }
html.light .mbz-status .mbz-hd { background:rgba(59,91,224,.09); color:#3b5be0; }
.mbz-data .mbz-hd { background:rgba(139,122,232,.16); color:#b6a8f0; }
html.light .mbz-data .mbz-hd { background:rgba(107,91,214,.09); color:#6b5bd6; }
.mbz-data .mb-dm { background:rgba(139,122,232,.10); border-color:rgba(139,122,232,.22); }
.mbz-data .mb-dm-ic, .mbz-data .mb-dm-n { color:#b6a8f0; }
html.light .mbz-data .mb-dm-ic, html.light .mbz-data .mb-dm-n { color:#6b5bd6; }
.mbz-data .mb-trend .b { background:linear-gradient(180deg,#b6a8f0,#8b7ae8); }
.mbz-data .mb-trend .b.promo { background:linear-gradient(180deg,#f4c04e,#e8a92e); }
html.light .mbz-data .mb-trend .b { background:linear-gradient(180deg,#a294e8,#7b68d8); }
html.light .mbz-data .mb-trend .b.promo { background:linear-gradient(180deg,#f4c04e,#e8a92e); }   /* 浅色下金色标记必须压过紫柱（优先级坑第4次） */
.mbz-data .mb-diag-item { border-left-color:#8b7ae8; }
.mbz-data .mb-diag-item .di-ic { color:#8b7ae8; }
.mbz-data .mb-diag-item .di-cta { background:#8b7ae8; }
.mbz-data .mb-diag-hd iconify-icon, .mbz-data .mb-diag-hd b { color:#b6a8f0; }
html.light .mbz-data .mb-diag-hd iconify-icon, html.light .mbz-data .mb-diag-hd b { color:#6b5bd6; }
.mbz-pay .mbz-hd { background:rgba(232,181,77,.15); color:#e8c274; }
html.light .mbz-pay .mbz-hd { background:rgba(176,124,15,.10); color:#a67714; }
.mbz-pay .mb-feat-tag { background:linear-gradient(135deg,#d9a83f,#f0cf82); color:#3a2c07; }
.mbz-pay .mb-coupon.mb-feat { border-color:rgba(232,181,77,.30); box-shadow:0 0 0 1px rgba(232,181,77,.22), 0 10px 30px rgba(232,181,77,.10); }
html.light .mbz-pay .mb-coupon.mb-feat { box-shadow:0 0 0 1px rgba(176,124,15,.16), 0 6px 20px rgba(176,124,15,.08); }
.mbz-pay .mb-coupon .h .ic { background:rgba(232,181,77,.14); color:#e8c274; }
html.light .mbz-pay .mb-coupon .h .ic { color:#a67714; }
.mbz-pay .mb-cta { background:linear-gradient(135deg,#d9a83f,#f0cf82); color:#3a2c07; }
.mbz-free .mbz-hd { background:rgba(240,120,150,.14); color:#f0a0b8; }
html.light .mbz-free .mbz-hd { background:rgba(214,83,122,.09); color:#d6537a; }
.mbz-guard .mbz-hd { background:rgba(232,90,90,.16); color:#f08a8a; }
html.light .mbz-guard .mbz-hd { background:rgba(216,64,64,.09); color:#c73a3a; }
.mbz-free .mb-free-tag { color:#f0a0b8; background:rgba(240,120,150,.12); border-color:rgba(240,120,150,.25); }
html.light .mbz-free .mb-free-tag { color:#d6537a; background:rgba(214,83,122,.07); border-color:rgba(214,83,122,.22); }
.mbz-free .mb-coupon .h .ic { background:rgba(240,120,150,.13); color:#f0a0b8; }
html.light .mbz-free .mb-coupon .h .ic { color:#d6537a; }
.mbz-free .sc-copy { background:#d6537a; }
.mbz-free .mb-scout-code { background:linear-gradient(135deg,rgba(240,120,150,.10),transparent); border-color:rgba(240,120,150,.45); }
html.light .mbz-free .mb-scout-code { background:linear-gradient(135deg,rgba(214,83,122,.06),transparent); border-color:rgba(214,83,122,.40); }
/* 功能中心：2×2 彩色宫格按钮 + 手风琴面板（功能收纳，页面不铺长） */
.mbz-func .mbz-hd { background:var(--bg2); color:var(--gray1); }
.mbz-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:6px; }
.mbz-btn { display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:14px; border-radius:14px; border:1.5px solid var(--line); background:var(--bg2); cursor:pointer; text-align:left; font-family:inherit; }
.mbz-btn:active { transform:scale(.98); }
.mbz-btn iconify-icon { font-size:22px; margin-bottom:3px; }
.mbz-btn .bt { font-size:15px; font-weight:800; color:var(--white); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.mbz-btn .bt .mb-feat-tag { margin-left:0; }
.mbz-btn .bs { font-size:12px; color:var(--gray2); }
.mbz-btn.c-gold { background:rgba(232,181,77,.08); border-color:rgba(232,181,77,.22); }
.mbz-btn.c-gold iconify-icon { color:#e8c274; }
.mbz-btn.c-gold.on { border-color:#d9a83f; }
.mbz-btn.c-gold .mb-feat-tag { background:linear-gradient(135deg,#d9a83f,#f0cf82); color:#3a2c07; }
.mbz-btn.c-pink { background:rgba(240,120,150,.07); border-color:rgba(240,120,150,.20); }
.mbz-btn.c-pink iconify-icon { color:#f0a0b8; }
.mbz-btn.c-pink.on { border-color:#d6537a; }
.mbz-btn.c-rose { background:rgba(232,138,166,.07); border-color:rgba(232,138,166,.20); }
.mbz-btn.c-rose iconify-icon { color:#e88aa6; }
.mbz-btn.c-rose.on { border-color:#d6537a; }
.mbz-btn.c-purple { background:rgba(139,122,232,.08); border-color:rgba(139,122,232,.22); }
.mbz-btn.c-purple iconify-icon { color:#b6a8f0; }
.mbz-btn.c-purple.on { border-color:#8b7ae8; }
.mbz-btn.c-blue { background:var(--blue-bg); border-color:var(--blue-border); }
.mbz-btn.c-blue iconify-icon { color:var(--blue2); }
.mbz-btn.c-blue.on { border-color:var(--blue); }
.mbz-btn.c-red { background:rgba(232,90,90,.08); border-color:rgba(232,90,90,.22); }
.mbz-btn.c-red iconify-icon { color:#f08a8a; }
.mbz-btn.c-red.on { border-color:#d64a4a; }
html.light .mbz-btn.c-gold iconify-icon { color:#a67714; }
html.light .mbz-btn.c-pink iconify-icon, html.light .mbz-btn.c-rose iconify-icon { color:#d6537a; }
html.light .mbz-btn.c-purple iconify-icon { color:#6b5bd6; }
html.light .mbz-btn.c-red iconify-icon { color:#c23b3b; }
/* ── 紧凑账本版(方向C) ─────────────────────────────── */
.mb-idbar { display:flex; align-items:center; gap:11px; background:var(--bg1); border:1px solid var(--line); border-radius:16px; padding:13px 14px; }
html.light .mb-idbar { box-shadow:0 2px 12px rgba(20,30,60,.06); }
.mb-id-ic { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; font-size:22px; flex:none; background:var(--blue-bg); color:var(--blue2); }
.mb-id-l { flex:1; min-width:0; }
.mb-id-l .nm { font-weight:800; font-size:16.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mb-id-l .sub { font-size:12px; color:var(--gray2); margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mb-id-r { text-align:right; flex:none; cursor:pointer; }
.mb-id-r .r1 { font-size:13px; font-weight:800; color:var(--blue2); }
.mb-id-r .r2 { font-size:11px; color:var(--gray3); margin-top:2px; }
.mb-id-r.urgent .r1 { color:#f08a8a; }
html.light .mb-id-r.urgent .r1 { color:#c73a3a; }
.mb-actrow { display:flex; gap:10px; margin-top:10px; }
.mb-act-btn { flex:1; display:flex; align-items:center; justify-content:center; gap:7px; border:none; border-radius:13px; padding:13px 8px; font-size:14.5px; font-weight:800; cursor:pointer; font-family:inherit; }
.mb-act-btn iconify-icon { font-size:17px; }
.mb-act-btn.ck { color:#fff; background:linear-gradient(135deg,#1f7a31,#34a854); }
.mb-act-btn.ck.done { background:rgba(46,160,67,.14); color:#34a854; cursor:default; }
html.light .mb-act-btn.ck.done { background:rgba(46,160,67,.10); color:#1f7a31; }
.mb-act-btn.rest { background:var(--bg2); border:1px solid var(--line2); color:var(--gray1); }
.mb-act-btn.rest.back { color:#fff; background:linear-gradient(135deg,#3b5be0,#8aa0ff); border:none; }
.mb-actsub { font-size:12px; color:var(--gray2); margin-top:7px; padding:0 2px; line-height:1.5; }
/* 打卡不生效红条：常驻在打卡按钮上方（点完一闪而过的 toast 老师看不见，白打还以为有曝光） */
.mb-ckwarn { display:flex; align-items:flex-start; gap:9px; margin-top:10px; padding:11px 12px; border-radius:13px;
  background:rgba(224,86,86,0.13); border:1px solid rgba(224,86,86,0.42); font-size:12.5px; color:var(--gray1); line-height:1.55; }
.mb-ckwarn.soft { background:rgba(224,164,86,0.13); border-color:rgba(224,164,86,0.42); }
.mb-ckwarn > iconify-icon { flex:none; font-size:17px; margin-top:1px; color:#e05656; }
.mb-ckwarn.soft > iconify-icon { color:#e0a456; }
.mb-ckwarn b { display:block; font-size:13.5px; font-weight:800; color:#e05656; margin-bottom:2px; }
.mb-ckwarn.soft b { color:#e0a456; }
.mb-ckwarn .go { margin-top:7px; display:inline-flex; align-items:center; gap:4px; border:none; border-radius:999px; padding:7px 14px;
  font-size:12.5px; font-weight:800; color:#fff; background:linear-gradient(135deg,#c73b3b,#e05656); cursor:pointer; font-family:inherit; }
.mb-ckwarn.soft .go { background:linear-gradient(135deg,#c78a2a,#e0a456); }
.mb-act-btn.ck.void { background:rgba(224,86,86,0.14); color:#e05656; box-shadow:inset 0 0 0 1px rgba(224,86,86,0.4); }
html.light .mb-act-btn.ck.void { color:#c73b3b; }
.mb-ledger { margin-top:0; }
.mb-ledger .lg-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:11px; }
.mb-ledger .lg-head .t { font-size:14.5px; font-weight:800; }
.mb-ledger .lg-more { border:none; background:transparent; color:var(--blue2); font-size:12.5px; font-weight:700; cursor:pointer; display:inline-flex; align-items:center; gap:2px; font-family:inherit; padding:2px; }
.lg-grid { display:flex; gap:12px; align-items:stretch; }
.lg-metrics { flex:1; min-width:0; display:grid; grid-template-columns:repeat(6,1fr); gap:12px 6px; }
.lg-metrics .m { grid-column:span 2; }
.lg-metrics .m.big { grid-column:span 3; }
.lg-metrics .n { font-size:18px; font-weight:800; font-variant-numeric:tabular-nums; }
.lg-metrics .m.big .n { font-size:25px; font-weight:900; }
.lg-metrics .l { font-size:11.5px; color:var(--gray2); margin-top:2px; }
.lg-mini { width:62px; flex:none; display:flex; align-items:flex-end; gap:3px; padding-bottom:2px; }
.lg-mini .b { flex:1; min-height:5px; border-radius:2px 2px 0 0; background:linear-gradient(180deg,#8aa0ff,#3b5be0); opacity:.9; }
html.light .lg-mini .b { background:linear-gradient(180deg,#5b78f0,#3b5be0); }
#mb-trend-full { margin-top:12px; }
#mb-trend-full .mb-trend-card { margin-top:0; }
.gd-sum { display:flex; align-items:center; gap:7px; font-size:13px; color:#f08a8a; font-weight:800; background:rgba(232,90,90,.10); border:1px solid rgba(232,90,90,.22); border-radius:11px; padding:10px 12px; margin-bottom:10px; }
.gd-sum iconify-icon { font-size:16px; flex:none; }
.gd-sum > b { white-space:nowrap; flex:none; }
.gd-sum .tx { font-weight:600; color:var(--gray1); min-width:0; }
.gd-sum .bad { color:#f08a8a; }
html.light .gd-sum { color:#c73a3a; background:rgba(216,64,64,.06); border-color:rgba(216,64,64,.18); }
html.light .gd-sum .bad { color:#c73a3a; }
.gd-expand { width:100%; border:1px dashed var(--line2); background:transparent; color:var(--gray2); border-radius:11px; padding:10px; font-size:12.5px; cursor:pointer; font-family:inherit; display:flex; align-items:center; justify-content:center; gap:4px; margin-top:2px; }
.mbz-list { grid-template-columns:1fr; gap:8px; }
.mbz-list .mbz-btn { flex-direction:row; align-items:center; gap:11px; padding:12px 14px; }
.mbz-list .mbz-btn > iconify-icon { margin-bottom:0; font-size:20px; flex:none; }
.mbz-list .mbz-btn .tx { flex:1; min-width:0; }
.mbz-list .mbz-btn .bt { font-size:14.5px; }
.mbz-list .mbz-btn .chev { font-size:16px; color:var(--gray3); margin-bottom:0; flex:none; }
.mbz-btn .bs b { color:var(--blue2); font-weight:800; font-variant-numeric:tabular-nums; }
#mb-sched-sub { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }   /* 今日排单副行：客人名再长也只占一行 */
/* 客人避雷面板 */
.gd-sub { font-size:12.5px; color:var(--gray2); line-height:1.6; margin:2px 0 10px; }
.gd-search { display:flex; gap:8px; margin-bottom:12px; }
.gd-search input { flex:1; min-width:0; background:var(--bg2); border:1px solid var(--line); border-radius:10px; padding:10px 12px; color:var(--white); font-size:14px; font-family:inherit; }
.gd-search button { flex:none; border:none; border-radius:10px; padding:0 16px; font-weight:800; font-size:14px; cursor:pointer; color:#fff; background:linear-gradient(135deg,#d64a4a,#f08a8a); }
.gd-alert { display:flex; align-items:center; gap:10px; background:var(--bg2); border:1px solid var(--line); border-radius:12px; padding:11px 12px; margin-bottom:12px; }
.gd-alert .tx { flex:1; min-width:0; }
.gd-alert .tx b { font-size:14px; } .gd-alert .tx div { font-size:12px; color:var(--gray2); margin-top:2px; }
.gd-toggle { flex:none; border:none; border-radius:11px; padding:9px 15px; font-size:13px; font-weight:800; cursor:pointer; color:#fff; }
.gd-toggle.on { background:linear-gradient(135deg,#3b5be0,#8aa0ff); } .gd-toggle.off { background:linear-gradient(135deg,#6b7280,#8a92a0); }
.gd-row { display:flex; align-items:center; gap:10px; padding:10px 0; border-top:1px solid var(--line); }
.gd-row .nm { flex:1; min-width:0; } .gd-row .nm b { font-size:14px; } .gd-row .nm .meta { font-size:11.5px; color:var(--gray3); margin-top:2px; }
.gd-flag { font-size:11.5px; font-weight:800; color:#f08a8a; background:rgba(232,90,90,.12); border-radius:6px; padding:2px 7px; display:inline-block; margin-top:3px; }
.gd-trust { font-size:11.5px; font-weight:800; color:#6fce87; background:rgba(80,200,120,.12); border-radius:6px; padding:2px 7px; display:inline-block; margin-top:3px; }
html.light .gd-trust { color:#1d7a3d; background:rgba(40,160,90,.14); }
.gd-disp { font-size:11.5px; font-weight:800; color:#e8b64c; background:rgba(230,180,70,.13); border-radius:6px; padding:2px 7px; display:inline-block; margin-top:3px; }
.gd-disp-h { color:#e8b64c; font-weight:800; margin-bottom:4px; }
html.light .gd-disp { color:#8a6410; background:rgba(200,150,30,.15); }
html.light .gd-disp-h { color:#8a6410; }
.gd-mark { flex:none; border:1px solid var(--line); background:transparent; color:var(--gray1); border-radius:9px; padding:7px 12px; font-size:12.5px; font-weight:700; cursor:pointer; }
.gd-mark.danger { border-color:#d64a4a; color:#f08a8a; }
.gd-reasons { display:flex; flex-wrap:wrap; gap:6px; padding:6px 0 10px; }
.gd-reasons button { border:1px solid var(--line); background:var(--bg2); color:var(--gray1); border-radius:20px; padding:6px 12px; font-size:12.5px; cursor:pointer; }
.gd-reasons button:active { transform:scale(.96); }
.gd-result { background:var(--bg2); border:1px solid var(--line); border-radius:12px; padding:12px; margin-bottom:12px; }
.gd-empty { color:var(--gray2); font-size:13px; padding:14px 0; text-align:center; }
.mbz-panel { margin-top:12px; }
.mbz-free .mb-cta { background:linear-gradient(135deg,#d6537a,#e88aa6); }
/* 积分/等级卡 —— 金属会员卡（superdesign 变体A，无 emoji，统一盾牌图标 + 金属色阶） */
.pts-card { border-radius: 22px; padding: 20px; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    /* 海底世界配色（深色：深海） */
    --sea-top:#10384c; --sea-mid:#0c2a3e; --sea-bot:#091624;
    --sea-border:rgba(90,180,210,0.30); --sea-ray:rgba(150,225,255,0.07); --sea-bubble:rgba(190,235,255,0.16); --sea-plant:rgba(34,130,128,0.5);
    background: linear-gradient(168deg, var(--sea-top), var(--sea-mid) 55%, var(--sea-bot));
    border: 1px solid var(--sea-border); }
.pts-card > *:not(.pts-sea) { position: relative; z-index: 1; }
/* 海底世界背景层（替代盾牌）：光束 + 气泡 + 海草/珊瑚 + 等级光晕，深浅主题各一套色 */
.pts-sea { position: absolute; top:0;right:0;bottom:0;left:0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.pts-sea .sea-ray { fill: var(--sea-ray); }
.pts-sea .sea-bubble { fill: var(--sea-bubble); }
.pts-sea .sea-plant { fill: var(--sea-plant); }
.pts-lv { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.pts-lv-badge { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; font-size: 26px; }
/* 钱包卡左侧大位＝自己的 TG 头像，等级蟹缩成右下角标；无头像时 has-av 不加、原等级蟹照旧 */
.pts-me { position: relative; }
.pts-me img, .pts-me .pts-me-lv { display: none; }
.pts-me.has-av img { display: block; position: absolute; top:0;right:0;bottom:0;left:0; width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.pts-me.has-av .base { visibility: hidden; }
.pts-me.has-av .pts-me-lv { display: flex; position: absolute; right: -6px; bottom: -6px; width: 21px; height: 21px; border-radius: 7px; background: rgba(10,14,22,0.72); border: 1px solid rgba(255,255,255,0.35); align-items: center; justify-content: center; z-index: 1; }
.pts-lv-name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.pts-lv-sub { font-size: 12px; color: var(--gray1); opacity: 0.75; margin-top: 2px; }
.pts-honor { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; font-weight: 800; color: #ffe08a; background: rgba(255,207,63,0.16); border: 1px solid rgba(255,207,63,0.4); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.pts-balance { margin-left: auto; text-align: right; }
.pts-balance .n { font-size: 26px; font-weight: 800; color: var(--white); line-height: 1; }
.pts-balance .l { font-size: 11px; color: var(--gray1); opacity: 0.7; margin-top: 3px; }
.pts-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.10); margin: 14px 0 7px; overflow: hidden; position: relative; z-index: 1; }
.pts-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,var(--gold),var(--gold2)); }
.pts-next { font-size: 12px; color: var(--gray1); opacity: 0.8; text-align: center; position: relative; z-index: 1; }
.pts-checkin { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 16px; padding: 13px; border: none; border-radius: 15px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; position: relative; z-index: 1; box-shadow: 0 4px 14px rgba(59,91,224,0.3); }
.pts-checkin.done { background: rgba(255,255,255,0.10); color: var(--gray1); cursor: default; }
/* 断签续签条：昨天漏签且够资格时出现在签到按钮下方，损失厌恶时刻给挽回入口 */
.pts-repair { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 9px; padding: 9px 12px; border-radius: 12px; background: rgba(240,163,76,0.13); border: 1px solid rgba(240,163,76,0.35); font-size: 12px; color: var(--gray1); position: relative; z-index: 1; }
.pts-repair b { color: #f0a34c; }
.pts-repair button { border: none; border-radius: 9px; padding: 6px 12px; background: #f0a34c; color: #241505; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.pts-repair .rp-left { color: var(--gray3); }
html.light .pts-repair b { color: #b96d12; }
/* 连续签到条（在积分卡内，配色随金属卡深浅自适配：文字用 --gray1，火苗/进度用暖橙读得清） */
.pts-streak { position: relative; z-index: 1; margin-top: 12px; }
.pts-streak-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; flex-wrap: wrap; }
.pts-streak-top .ps-fire { display: inline-flex; align-items: center; gap: 5px; color: #ff8a3d; }
.pts-streak-top .ps-fire b { color: var(--gray1); font-size: 15px; margin: 0 1px; }
.pts-streak-top .ps-next { color: var(--gray1); opacity: 0.8; }
.pts-streak-top .ps-next b { color: #ff8a3d; opacity: 1; }
.pts-mdots { display: flex; gap: 6px; margin-top: 8px; }
.pts-mdot { flex: 1; text-align: center; font-size: 10px; font-weight: 800; color: var(--gray1); opacity: 0.55; background: rgba(127,127,127,0.16); border-radius: 8px; padding: 4px 0; }
.pts-mdot.on { color: #fff; opacity: 1; background: linear-gradient(135deg, #ffb04a, #ff7a3d); box-shadow: 0 2px 6px rgba(255,138,61,0.35); }
.pts-sec-title { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800; color: var(--white); margin: 22px 2px 12px; }
.pts-sec-title iconify-icon { color: var(--gold2); font-size: 16px; }
.pts-row { display: flex; align-items: center; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.pts-row:last-child { border-bottom: none; }
.pts-row .r-reason { font-size: 13px; color: var(--gray1); }
.pts-row .r-time { font-size: 11px; color: var(--gray3); margin-top: 2px; }
.pts-row .r-delta { margin-left: auto; font-size: 15px; font-weight: 800; }
.pts-row .r-delta.plus { color: var(--green); }
.pts-row .r-delta.minus { color: var(--gray2); }
/* 我的报告：状态胶囊（审核中/已发布/未通过）+ 说明行；浅色主题单独压深防糊字 */
.myrep-st { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; flex: none; white-space: nowrap; }
.myrep-st-p { color: #e8b64c; background: rgba(232, 182, 76, .13); }
.myrep-st-a { color: var(--green); background: rgba(52, 199, 89, .13); }
.myrep-st-r { color: var(--gray2); background: rgba(128, 128, 128, .14); }
html.light .myrep-st-p { color: #8a5d00; background: rgba(232, 182, 76, .22); }
html.light .myrep-st-a { color: #1c7c3c; background: rgba(52, 199, 89, .16); }
.myrep-note { font-size: 12px; color: var(--gray3); margin-top: 8px; }
.myrep-hint { text-align: center; font-size: 12px; color: var(--gray3); padding: 9px 0 2px; border-top: 1px solid var(--line); margin-top: 4px; }
/* 积分页快捷宫格（收纳改版方向A）：2×4 一格一入口，深处内容全走抽屉 */
.pts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 14px; }
.pts-gi { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; background: var(--bg1); border: 1px solid var(--line); border-radius: 14px; padding: 15px 4px 13px; cursor: pointer; }
.pts-gi iconify-icon { font-size: 21px; color: var(--blue2); }
.pts-gi .gl { font-size: 12px; font-weight: 600; color: var(--gray1); white-space: nowrap; }
.pts-gi-badge { position: absolute; top: 7px; right: 9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #e0453b; color: #fff; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
/* 积分页「老师工作台」入口：工牌（挂孔 + 头像槽 + 老师戳 + 三状态点；superdesign 方向A 2026-09-17，替换原蓝渐变大卡） */
.tc-card { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 12px; border-radius: 14px; background: var(--bg1); border: 1px solid var(--line2); overflow: hidden; cursor: pointer; transition: transform .1s; }
.tc-card:active { transform: scale(.985); }
html.light .tc-card { box-shadow: 0 2px 12px rgba(20,30,60,.06); }
.tc-hole { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line2); background: var(--bg); margin-top: 8px; flex: none; }
.tc-body { display: flex; align-items: center; gap: 11px; width: 100%; padding: 6px 14px 0; box-sizing: border-box; }
.tc-av { position: relative; flex: none; width: 42px; height: 42px; border-radius: 8px; border: 1.5px dashed var(--gray3); display: flex; align-items: center; justify-content: center; }
.tc-av > iconify-icon { font-size: 18px; color: var(--gray3); }
.tc-av img { display: none; }
.tc-av.has-av { border-style: solid; border-color: var(--line2); overflow: visible; }
.tc-av.has-av img { display: block; position: absolute; top:0;right:0;bottom:0;left:0; width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.tc-av.has-av > iconify-icon { visibility: hidden; }
.tc-stamp { position: absolute; top: -8px; right: -10px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--blue); background: var(--bg1); color: var(--blue2); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 900; line-height: 1; transform: rotate(-12deg); }
html.light .tc-stamp { color: var(--blue); }
.tc-info { flex: 1; min-width: 0; }
.tc-name { font-size: 14px; font-weight: 800; color: var(--white); letter-spacing: -.01em; }
.tc-no { font-size: 10px; color: var(--gray3); letter-spacing: .04em; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-chev { font-size: 16px; color: var(--gray3); flex: none; }
.tc-dots { display: flex; flex-wrap: wrap; gap: 4px 12px; width: 100%; padding: 8px 14px 10px; box-sizing: border-box; }
.tc-dot { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--gray2); white-space: nowrap; }
.tc-dot i { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--gray3); }
.tc-dot i.ok { background: var(--green); }
.tc-dot i.warn { background: #ff8a3d; }
/* 排课宝样式已拆至 css/booking.v1.css */
html.light .pts-gi { box-shadow: 0 2px 12px rgba(20,30,60,0.06); }
.pts-earn { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--gray2); padding: 9px 2px; border-bottom: 1px solid var(--line); }
.pts-earn:last-child { border-bottom: none; }
.pts-earn b { color: var(--green); font-weight: 700; }
.pts-ladder { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; margin-top: 4px; scrollbar-width: none; }
.pts-ladder::-webkit-scrollbar { display: none; }
.pts-ladder .lvchip { flex: 0 0 auto; text-align: center; padding: 12px 6px; border-radius: 16px; background: var(--bg1); border: 1.5px solid transparent; width: 80px; }
.pts-ladder .lvchip.on { border-color: var(--gold); background: var(--gold-bg); }
.pts-ladder .lvchip.on .nm { color: var(--gold2); }
/* ── 积分页 redesign（superdesign b95afd77 落地）── */
.pts-prog-row { display: flex; justify-content: space-between; align-items: flex-end; margin: 16px 0 7px; position: relative; z-index: 1; font-size: 11px; }
.pts-prog-row .pl { font-weight: 800; color: var(--white); } .pts-prog-row .pl .pct { opacity: 0.45; }
.pts-prog-row .pr { color: var(--gray1); opacity: 0.85; } .pts-prog-row .pr b { color: var(--white); }
.pts-entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.pts-entry { background: var(--bg1); border: 1px solid var(--line); border-radius: 18px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 14px; transition: transform 0.1s; }
.pts-entry:active { transform: scale(0.98); }
.pts-entry .pe-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-bg); color: var(--gold2); display: grid; place-items: center; font-size: 20px; }
.pts-entry .pe-bot { display: flex; justify-content: space-between; align-items: flex-end; }
.pts-entry .pe-t { font-size: 14px; font-weight: 800; color: var(--white); }
.pts-entry .pe-s { font-size: 11px; color: var(--gray2); margin-top: 1px; }
.pts-entry .pe-go { color: var(--gold2); font-size: 18px; line-height: 1; }
/* 邀请好友卡：并入积分页卡片语言（bg1+line+金色图标位+蓝主按钮），弃紫渐变；字号整体加大一档 */
.pts-invite { background: var(--bg1); border: 1px solid var(--line); border-radius: 18px; padding: 15px 16px; margin: 14px 0 6px; }
.pts-invite .iv-hd { display: flex; align-items: center; gap: 12px; }
.pts-invite .iv-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-bg); color: var(--gold2); display: grid; place-items: center; font-size: 20px; flex: none; }
.pts-invite .iv-tt { flex: 1; min-width: 0; }
.pts-invite .iv-t { font-size: 15px; font-weight: 800; color: var(--white); }
.pts-invite .iv-s { font-size: 12.5px; color: var(--gray2); margin-top: 3px; }
.pts-invite .iv-s b { color: var(--white); }
.pts-invite .iv-more { color: var(--gold2); font-weight: 700; cursor: pointer; }
.pts-invite .iv-btn { flex: none; border: none; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 800; color: #fff; background: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.pts-invite .iv-chips { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.pts-invite .iv-chips .c { font-size: 12.5px; font-weight: 600; color: var(--gray1); background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.pts-invite .iv-chips .c b { color: var(--gold2); font-weight: 800; }
.pts-earn-card { background: var(--bg1); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pts-earn-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.pts-earn-row:last-child { border-bottom: none; }
.pts-earn-row .ei { width: 36px; height: 36px; border-radius: 11px; background: var(--bg2); color: var(--gray2); display: grid; place-items: center; font-size: 17px; flex: none; }
.pts-earn-row .et { flex: 1; font-size: 13px; font-weight: 700; color: var(--white); }
.pts-earn-row .ed { font-size: 14px; font-weight: 800; color: var(--gold2); }
.pts-ledger-card { background: var(--bg1); border: 1px solid var(--line); border-radius: 18px; padding: 2px 16px; }
.pts-led-seg { display: inline-flex; gap: 4px; background: var(--bg2); border-radius: 9px; padding: 3px; }
.pts-led-seg button { border: none; background: transparent; color: var(--gray2); font-size: 12px; font-weight: 700; padding: 4px 13px; border-radius: 7px; cursor: pointer; }
.pts-led-seg button.on { background: var(--bg1); color: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
html.light .pts-led-seg button.on { background: #fff; }
.pts-reward-tabs { display:flex; gap:4px; padding:4px; margin-bottom:16px; background:var(--bg2); border-radius:12px; }
.pts-reward-tabs button { flex:1; min-width:0; min-height:44px; padding:8px 4px; border:0; border-radius:9px; background:transparent; color:var(--gray2); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.pts-reward-tabs button[aria-selected="true"] { background:var(--bg1); color:var(--gold2); box-shadow:0 1px 4px rgba(0,0,0,.15); }
.pts-reward-tabs button:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.pts-reward-panel[hidden] { display:none; }
.pts-reward-panel > .pts-sec-title:first-child { margin-top:0; }
.hw-wrap.pts-reward-list { grid-template-columns:minmax(0,1fr); }
.pts-reward-entry { background:none; border:0; margin-top:8px; min-height:36px; cursor:pointer; }

/* 蟹篓（攒螃蟹背包 + 蟹谱图鉴）——配色走既有令牌，深浅自适配 */
.crab-card { background: var(--bg1); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.crab-bag-row { display: flex; gap: 10px; }
.crab-item { flex: 1; display: flex; align-items: center; gap: 10px; background: rgba(127,127,127,0.10); border-radius: 14px; padding: 10px 12px; }
.crab-item .ci-emoji { font-size: 22px; flex: none; color: #ff8a3d; display: inline-flex; }
.crab-item .ci-name { font-size: 13px; font-weight: 700; color: var(--white); }
.crab-item .ci-qty { font-size: 13px; color: #ff8a3d; font-weight: 800; margin-top: 1px; }
.crab-hint { font-size: 11px; color: var(--gray3); margin: 8px 2px 2px; line-height: 1.5; }
.crab-dex-head { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px 8px; font-size: 13px; color: var(--gray1); }
.crab-dex-head b { color: #ff8a3d; }
.crab-dex-head .crab-done { color: #12b76a; font-weight: 800; font-size: 12px; }
.crab-dex-head .crab-dex-sub { font-size: 11px; color: var(--gray3); }
.crab-dex { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.crab-cell { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 10px; background: rgba(127,127,127,0.10); opacity: 0.5; }
.crab-cell.on { opacity: 1; background: linear-gradient(160deg, rgba(255,176,74,0.22), rgba(255,122,61,0.12)); border: 1px solid rgba(255,138,61,0.4); }
.crab-cell .cc-ico { font-size: 20px; filter: grayscale(1); }
.crab-cell.on .cc-ico { filter: none; }
.crab-cell .cc-nm { font-size: 9px; color: var(--gray1); text-align: center; line-height: 1.1; }
/* 老师详情页 · 人气助力（星 + 送礼） */
.pd-reign { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; padding: 7px 13px; border-radius: 999px; cursor: pointer; background: linear-gradient(135deg, rgba(232,169,10,0.18), rgba(246,195,61,0.12)); border: 1px solid rgba(232,169,10,0.45); }
.pd-reign iconify-icon { color: #f6c33d; font-size: 15px; flex: none; }
html.light .pd-reign iconify-icon { color: #c8860a; }
.pd-reign span { font-size: 13px; font-weight: 800; color: #f6c33d; }
html.light .pd-reign span { color: #b3790a; }
.pd-reign small { font-size: 10px; font-weight: 700; color: var(--gray2); }
/* 名人堂纪念徽章（我的页荣誉区） */
.hw-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.hw-item { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 13px; cursor: pointer; background: var(--bg1); border: 1px solid var(--line); }
.hw-item:active { transform: scale(0.99); }
.hw-item.hw-top { background: linear-gradient(135deg, rgba(232,169,10,0.16), rgba(246,195,61,0.08)); border-color: rgba(232,169,10,0.4); }
.hw-item.hw-mid { border-color: rgba(232,169,10,0.28); }
.hw-ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: #e8a90a; background: rgba(232,169,10,0.14); border: 1px solid rgba(232,169,10,0.3); font-size: 16px; }
html.light .hw-ic { color: #c8860a; }
.hw-item.hw-top .hw-ic { color: #1a1400; background: linear-gradient(135deg, #e8a90a, #f6c33d); border: none; }
.hw-tx { min-width: 0; }
.hw-t { font-size: 12.5px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-item.hw-top .hw-t { color: #e8a90a; }
html.light .hw-item.hw-top .hw-t { color: #b3790a; }
.hw-s { font-size: 10.5px; color: var(--gray2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
/* 人气助力·礼物托盘版(B 稿 2026-09-13):人气大数字行 + 粉丝团贡献榜 + 三张可选礼物卡 + 送出通栏 */
.pcb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.pcb-head .pd-reign { margin-bottom: 0; padding: 5px 11px; flex: none; }
.pcb-head .pd-reign span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcb-pop { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; flex: 1; }
.pcb-pop iconify-icon { font-size: 19px; color: #ff8a3d; align-self: center; flex: none; }
.pcb-pop b { font-size: 24px; font-weight: 900; font-style: italic; letter-spacing: -0.02em; color: #ff8a3d; line-height: 1; }
.pcb-pop span { font-size: 11px; font-weight: 700; color: var(--gray2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcb-pop.none iconify-icon, .pcb-pop.none b { color: var(--gray3); }
.pcb-fansbar { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 12px; background: var(--bg2); margin-bottom: 8px; }
.pcb-fansbar .fb-av { width: 20px; height: 20px; border-radius: 50%; background: var(--bg3); border: 1.5px solid var(--bg1); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--gray2); }
.pcb-fansbar .fb-av + .fb-av { margin-left: -7px; }
.pcb-fansbar .fb-t { font-size: 11.5px; font-weight: 700; color: var(--gray1); }
.pcb-fanpills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pcb-fanpills .fp { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--white); background: rgba(127,127,127,0.10); border-radius: 999px; padding: 3px 9px 3px 3px; }
.pcb-fanpills .fp b { color: #ff8a3d; }
.pcb-fanpills .fp .nm { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcb-fanpills .fp-rank { width: 15px; height: 15px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: #fff; flex: none; }
.pcb-fanpills .fp-1 { background: linear-gradient(135deg,#ffd25a,#f0a000); }
.pcb-fanpills .fp-2 { background: linear-gradient(135deg,#cfd4dc,#9aa2ad); }
.pcb-fanpills .fp-3 { background: linear-gradient(135deg,#e8a06a,#c07a3d); }
.pcb-tray { display: flex; gap: 9px; }
.pcb-card { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 4px 20px; border-radius: 14px; cursor: pointer; background: var(--bg2); border: 1.5px solid var(--line2); color: var(--white); font-family: inherit; transition: transform 0.12s, box-shadow 0.12s; }
.pcb-card .gi { font-size: 23px; }
.pcb-card .gn { font-size: 12.5px; font-weight: 800; }
.pcb-card .gs { font-size: 10px; font-weight: 700; color: #ff8a3d; }
.pcb-card.pts .gs { color: var(--blue2); }
.pcb-card.pts .gi { color: var(--blue2); }
.pcb-card .stock { position: absolute; right: 7px; bottom: 5px; font-size: 9.5px; font-weight: 700; color: var(--gray2); white-space: nowrap; }
.pcb-card .x2 { position: absolute; top: -7px; right: -4px; font-size: 9px; font-weight: 900; color: #1a1305; background: linear-gradient(135deg, #f6c33d, #e8a90a); border-radius: 999px; padding: 2px 6px; box-shadow: 0 3px 8px -2px rgba(232,169,10,0.6); }
.pcb-card.on { border-color: var(--gold); background: var(--blue-bg); transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(59,91,224,0.55); }
.pcb-card.empty { opacity: 0.6; }
.pcb-card.empty .stock { color: var(--gray3); }
.pcb-send { width: 100%; margin-top: 11px; border: none; border-radius: 13px; padding: 13px; font-size: 15px; font-weight: 900; color: #fff; cursor: pointer; background: linear-gradient(135deg, #3b5be0, #6b8bff); box-shadow: 0 10px 22px -8px rgba(59,91,224,0.55); display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.pcb-send iconify-icon { font-size: 16px; }
.pcb-send:active { transform: scale(0.98); }
.pcb-send:disabled { opacity: 0.55; cursor: default; }
.pd-crab-hint { font-size: 11px; color: var(--gray3); margin-top: 8px; line-height: 1.5; }
/* 报告羁绊翻倍横幅（写过 ta 报告→送道具额度内翻倍；托盘上方） */
.pd-crab-bond { display: block; font-size: 12px; font-weight: 800; line-height: 1.55; color: #ffd58a; background: rgba(255,193,79,.10); border: 1px solid rgba(255,193,79,.30); border-radius: 9px; padding: 7px 10px; margin: 0 0 10px; }
.pd-crab-bond iconify-icon { vertical-align: -2px; margin-right: 5px; }
html.light .pd-crab-bond { color: #8a5a00; background: rgba(255,180,40,.12); border-color: rgba(200,140,20,.35); }
/* 积分商城卡(scoped，不影响详情页 .pd-coupon) */
.pts-shop { display: flex; flex-direction: column; gap: 12px; }
.pts-shop .pd-coupon { background: var(--bg1); border: 1px solid var(--line); border-radius: 18px; padding: 14px; gap: 14px; margin: 0; }
.pts-shop .pd-coupon .amt { width: 62px; height: 62px; flex: none; border-radius: 16px; background: var(--gold-bg); color: var(--gold2); display: grid; place-items: center; font-size: 18px; font-weight: 900; }
.pts-shop .pd-coupon .claim { background: var(--gold); border-radius: 12px; padding: 9px 13px; }
.pts-shop .pd-coupon .claim:disabled { background: var(--bg3); color: var(--gray3); }
/* 券适用范围标签：区分「任意老师可用」万能券 vs「专属某老师」券，避免用户误解 */
.cp-scope { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-top: 5px; line-height: 1.4; }
.cp-scope iconify-icon { font-size: 12px; flex: none; }
.cp-scope.uni { color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); }
.cp-scope.only { color: #ff8f5a; background: rgba(255,122,47,0.12); border: 1px solid rgba(255,122,47,0.32); }
html.light .cp-scope.only { color: #e05a1f; background: rgba(224,90,31,0.08); }
/* 专属券标签可点：直连该老师（照片/私聊/频道）。加指针 + 末尾箭头示意可点 */
.cp-scope.only.tap { cursor: pointer; }
.cp-scope.only.tap:active { transform: scale(0.97); }
.cp-scope.only.tap .go { font-size: 13px; margin-left: 1px; margin-right: -3px; opacity: 0.9; }
.pts-ladder .lvchip .e { font-size: 22px; line-height: 1; margin-bottom: 5px; }
.pts-ladder .lvchip .nm { font-size: 10px; color: var(--gray2); margin-top: 2px; white-space: nowrap; font-weight: 600; }
.pts-ladder .lvchip.on .nm { color: var(--white); }
.pts-ladder .lvchip .lvn { font-size: 9px; color: var(--gray3); margin-top: 1px; }
.pts-ladder .lvchip .mn { font-size: 8px; color: var(--gray3); margin-top: 1px; }
/* 积分抽奖入口卡（积分页内） */
.pts-lottery-entry { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; cursor: pointer; background: linear-gradient(110deg, var(--blue-deep), #2a2d55); border: 1px solid var(--gold-border); }
.pts-lottery-entry:active { transform: scale(0.99); }
.pts-lottery-entry .le-ic { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(59,91,224,0.18); color: var(--blue2); font-size: 21px; }
.pts-lottery-entry .le-tx { flex: 1; min-width: 0; }
.pts-lottery-entry .le-t { font-size: 15px; font-weight: 700; color: var(--white); }
.pts-lottery-entry .le-s { font-size: 12px; color: var(--gray1); opacity: 0.8; margin-top: 2px; }
.pts-lottery-entry .le-go { font-size: 13px; color: var(--blue2); font-weight: 700; }
/* 「消费积分」常驻入口卡（抽奖/夺宝/优惠专区，永远显示；未开启=灰态「敬请期待」） */
.pts-go-card { display: flex; align-items: center; gap: 12px; background: var(--bg1); border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; margin-top: 12px; cursor: pointer; transition: transform 0.1s; }
.pts-go-card:active { transform: scale(0.99); }
.pts-go-card.off { opacity: 0.5; cursor: default; }
.pts-go-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--gold-bg); color: var(--gold2); }
.pts-go-card.off .pts-go-ic { background: var(--bg2); color: var(--gray3); }
.pts-go-tx { flex: 1; min-width: 0; }
.pts-go-t { font-size: 14px; font-weight: 800; color: var(--white); }
.pts-go-s { font-size: 12px; color: var(--gray2); margin-top: 2px; }
.pts-go-arr { flex: none; font-size: 13px; font-weight: 700; color: var(--gold2); display: inline-flex; align-items: center; gap: 1px; white-space: nowrap; }
.pts-go-soon { flex: none; font-size: 11px; font-weight: 600; color: var(--gray3); background: var(--bg2); border-radius: 7px; padding: 4px 9px; }
.pts-sub-title { font-size: 13px; font-weight: 700; color: var(--gray2); margin: 16px 2px 0; display: flex; align-items: center; gap: 6px; }
/* 任务中心（新人任务链 + 每日三连）——小额高频闭环，日封顶写死在后端 */
.pts-task-card { background: var(--bg1); border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; }
.pts-task { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pts-task:last-child { border-bottom: none; }
.pts-task .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-bg); color: var(--blue2); display: grid; place-items: center; font-size: 17px; flex: none; }
.pts-task .tt { font-size: 13.5px; font-weight: 700; color: var(--white); }
.pts-task .dd { font-size: 11px; color: var(--gray3); margin-top: 1px; }
.pts-task-btn { flex: none; border: none; border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 800; cursor: pointer; background: linear-gradient(135deg, #3b5be0, #8aa0ff); color: #fff; }
.pts-task-btn.off { background: var(--bg3); color: var(--gray2); }
.pts-task-btn.done { background: transparent; border: 1px solid var(--line2); color: var(--gray3); cursor: default; }
/* 「怎么赚积分」折叠块 */
.pts-fold { margin: 22px 0 0; }
.pts-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800; color: var(--white); padding: 2px; }
.pts-fold > summary::-webkit-details-marker { display: none; }
.pts-fold > summary > iconify-icon { color: var(--gold2); font-size: 16px; }
.pts-fold > summary .pf-arrow { margin-left: auto; color: var(--gray2); font-size: 12px; transition: transform 0.2s; }
.pts-fold[open] > summary .pf-arrow { transform: rotate(180deg); }
/* 积分明细「查看全部」原地展开 */
.pts-led-more { text-align: center; padding: 12px 0 2px; font-size: 13px; font-weight: 700; color: var(--gold2); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 3px; }
/* 荣誉殿堂页样式已拆至 css/boards.v1.css */
/* 邀请/伯乐榜页样式已拆至 css/boards.v1.css */
/* ════════ 附近的老师·地图 ════════ 全屏固定层(z-index 600，低于详情抽屉 700 好让抽屉盖上来) */
#nearby-page { display: none; position: fixed; top:0;right:0;bottom:0;left:0; z-index: 600; background: var(--bg); }
#nearby-page.show { display: block; }
.nb-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
    padding: calc(var(--nb-safe-top, 0px) + 9px) 12px 9px;
    background: linear-gradient(180deg, var(--bg) 55%, rgba(10,11,14,0)); }
html.light .nb-top { background: linear-gradient(180deg, #fff 55%, rgba(255,255,255,0)); }
.nb-back { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; color: var(--white);
    background: var(--bg2); border: 1px solid var(--line2); cursor: pointer; flex: 0 0 auto; }
html.light .nb-back { color: #1a1c24; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.nb-title { font-size: 16px; font-weight: 800; color: var(--white); flex: 1; }
html.light .nb-title { color: #1a1c24; }
.nb-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px;
    background: var(--bg2); border: 1px solid var(--line2); }
html.light .nb-search { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.nb-search iconify-icon { font-size: 16px; color: var(--gray2); flex: 0 0 auto; }
.nb-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; color: var(--white); font-size: 13.5px; }
html.light .nb-search input { color: #1a1c24; }
.nb-search input::placeholder { color: var(--gray3); }
.nb-clr { flex: 0 0 auto; font-size: 18px; line-height: 1; color: var(--gray2); cursor: pointer; padding: 0 2px; }
.nb-sugg { display: none; position: absolute; top: calc(var(--nb-safe-top, 0px) + 52px); left: 54px; right: 54px; z-index: 25; max-height: 46vh; overflow-y: auto;
    background: var(--bg1); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.5); }
html.light .nb-sugg { background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.16); }
.nb-sugg.show { display: block; }
.nb-sugg-item { display: flex; align-items: center; gap: 9px; padding: 11px 13px; cursor: pointer; border-bottom: 1px solid var(--line); }
.nb-sugg-item:last-child { border-bottom: none; }
.nb-sugg-item:active { background: var(--bg2); }
.nb-sugg-item iconify-icon { font-size: 16px; color: var(--blue2); flex: 0 0 auto; }
.nb-sugg-item b { font-size: 13.5px; font-weight: 700; color: var(--white); display: block; }
html.light .nb-sugg-item b { color: #1a1c24; }
.nb-sugg-item small { font-size: 11px; color: var(--gray2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-loc-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--blue2);
    background: var(--bg2); border: 1px solid var(--line2); cursor: pointer; flex: 0 0 auto; }
html.light .nb-loc-btn { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
/* z-index:0 让地图自成一层：把 Leaflet 内部高层级面板(瓦片200/标记600/弹窗700)关在这一层内，
   否则它们会和搜索框/开启定位/筛选栏(z-index 15~25)同层比大小、把控件盖住 */
#nearby-map { position: absolute; top:0;right:0;bottom:0;left:0; z-index: 0; background: var(--bg1); overscroll-behavior: none; touch-action: none; }
body.nb-lock { overflow: hidden; overscroll-behavior: none; }
/* OSM 只有亮色瓦片:深色主题对瓦片层整体反色+压亮度,标记/弹窗/控件不在 tile-pane 里不受影响 */
html:not(.light) #nearby-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.88) contrast(.9) saturate(.6); }
#nearby-map .leaflet-control-attribution { background: rgba(20,22,28,.55); color: #8b93a3; font-size: 10px; padding: 1px 6px; border-radius: 6px 0 0 0; }
html.light #nearby-map .leaflet-control-attribution { background: rgba(255,255,255,.7); color: #6b7280; }
#nearby-map .leaflet-control-attribution a { color: inherit; text-decoration: none; }
#nearby-map .leaflet-control-zoom { border: none; margin-top: calc(var(--nb-safe-top, 0px) + 60px) !important; margin-right: 12px !important; }
#nearby-map .leaflet-control-zoom a { background: var(--bg2); color: var(--white); border: 1px solid var(--line2); }
html.light #nearby-map .leaflet-control-zoom a { background: #fff; color: #1a1c24; }
.nb-range { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 6px; padding: 5px; border-radius: 999px;
    background: rgba(20,22,28,.86); border: 1px solid var(--line2); backdrop-filter: blur(10px); }
/* 多城市：城市跳转收成距离筛选行最前的一个 chip（当前城名+▾，点开弹层选城），城市再多也只占一个位、不另起一行 */
.nb-chip.nb-city-cur { display: none; align-items: center; gap: 2px; color: var(--blue2); }
.nb-chip.nb-city-cur iconify-icon { font-size: 13px; }
html.light .nb-chip.nb-city-cur { color: var(--blue); }
.nb-range .nb-div { width: 1px; align-self: stretch; margin: 5px 1px; background: var(--line2); }
html.light .nb-range { background: rgba(255,255,255,.9); box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.nb-chip { border: none; background: transparent; color: var(--gray1); font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
html.light .nb-chip { color: #4a4d58; }
.nb-chip.active { background: var(--blue); color: #fff; }
.nb-status { position: absolute; top: calc(var(--nb-safe-top, 0px) + 62px); left: 50%; transform: translateX(-50%); z-index: 15; font-size: 12px; font-weight: 700; color: var(--gray1);
    background: rgba(20,22,28,.82); border: 1px solid var(--line2); border-radius: 999px; padding: 5px 13px; white-space: nowrap; backdrop-filter: blur(8px); }
html.light .nb-status { color: #4a4d58; background: rgba(255,255,255,.9); box-shadow: 0 2px 10px rgba(0,0,0,.1); }
/* 定位提示：底部小横幅，不挡地图/不拦点击（没位置也能自由拖地图看全深圳） */
.nb-prompt { position: absolute; left: 12px; right: 12px; bottom: 70px; z-index: 16; display: none; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
    background: rgba(20,22,28,.94); border: 1px solid var(--line2); backdrop-filter: blur(10px); }
html.light .nb-prompt { background: rgba(255,255,255,.96); box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.nb-prompt iconify-icon { font-size: 22px; color: var(--blue2); flex: 0 0 auto; }
.nb-prompt .nb-prompt-tx { flex: 1; min-width: 0; }
.nb-prompt b { font-size: 13px; color: var(--white); display: block; }
html.light .nb-prompt b { color: #1a1c24; }
.nb-prompt p { font-size: 11px; color: var(--gray2); margin-top: 1px; }
.nb-prompt button { flex: 0 0 auto; border: none; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 800; padding: 8px 15px; border-radius: 999px; cursor: pointer; }
/* 头像标记 */
.nb-marker { background: none; border: none; }
.nb-mk { position: relative; width: 42px; height: 50px; }
.nb-mk-av { position: absolute; top: 0; left: 3px; width: 36px; height: 36px; border-radius: 50%; background-size: cover; background-position: center;
    background-color: var(--bg3); border: 2.5px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.nb-mk::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 0; height: 0;
    border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid #fff; }
.nb-me { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(59,91,224,.28); }
/* 「今日可约」图层：打卡老师(checkinActive)整针翻绿+右上呼吸绿点，弹窗绿标，左下「只看今日可约」悬浮开关 */
.nb-mk.ck .nb-mk-av { border-color: var(--green); }
.nb-mk.ck::after { border-top-color: var(--green); }
.nb-mk-ck { position: absolute; top: -3px; left: 28px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid #fff; z-index: 2; }
.nb-mk-ck::after { content: ''; position: absolute; top:0;right:0;bottom:0;left:0; border-radius: 50%; background: rgba(80,200,120,.45); animation: ckrp 2s infinite; z-index: -1; }
@media (prefers-reduced-motion: reduce) { .nb-mk-ck::after { animation: none; display: none; } }
.nb-status em { font-style: normal; color: var(--green); }
.nb-pop-ck { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 800; color: #fff; padding: 2px 7px; border-radius: 999px; background: rgba(35,134,54,.92); vertical-align: 2px; margin-left: 4px; }
html.light .nb-pop-ck { background: rgba(31,122,49,.95); }
.nb-pop-ck i { width: 4px; height: 4px; border-radius: 50%; background: #b8f5cd; font-style: normal; }
.nb-ckflt { position: absolute; left: 12px; bottom: 74px; z-index: 20; display: none; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--gray1); cursor: pointer;
    background: rgba(20,22,28,.86); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 13px; backdrop-filter: blur(10px); }
.nb-ckflt.show { display: inline-flex; }
html.light .nb-ckflt { color: #4a4d58; background: rgba(255,255,255,.9); border-color: transparent; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.nb-ckflt em { font-style: normal; color: var(--green); }
.nb-ckflt .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); position: relative; flex: 0 0 auto; }
.nb-ckflt .dot::after { content: ''; position: absolute; top:0;right:0;bottom:0;left:0; border-radius: 50%; background: rgba(80,200,120,.45); animation: ckrp 2s infinite; }
@media (prefers-reduced-motion: reduce) { .nb-ckflt .dot::after { animation: none; display: none; } }
.nb-ckflt.on { background: rgba(35,134,54,.94); border-color: rgba(80,200,120,.4); color: #fff; }
html.light .nb-ckflt.on { background: rgba(31,122,49,.95); color: #fff; }
.nb-ckflt.on em { color: #b8f5cd; }
.nb-ckflt.on .dot { background: #b8f5cd; }
.nb-ckflt.on .dot::after { background: rgba(255,255,255,.4); }
/* 弹窗卡 */
.leaflet-popup-content-wrapper { background: var(--bg1); color: var(--white); border-radius: 14px; border: 1px solid var(--line2); box-shadow: 0 10px 34px rgba(0,0,0,.5); }
html.light .leaflet-popup-content-wrapper { background: #fff; color: #1a1c24; }
.leaflet-popup-content { margin: 11px 12px; }
.leaflet-popup-tip { background: var(--bg1); border: 1px solid var(--line2); }
html.light .leaflet-popup-tip { background: #fff; }
.nb-pop-row { display: flex; align-items: center; gap: 10px; }
.nb-pop-av { width: 44px; height: 44px; border-radius: 10px; background-size: cover; background-position: center; background-color: var(--bg3); flex: 0 0 auto; }
.nb-pop-tx b { font-size: 14px; font-weight: 800; display: block; }
.nb-pop-tx p { font-size: 11.5px; color: var(--gray2); margin-top: 2px; }
.nb-pop-price { color: var(--blue2); font-weight: 800; }
html.light .nb-pop-price { color: var(--blue); }
.nb-pop-btn { width: 100%; margin-top: 9px; border: none; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; padding: 8px 0; border-radius: 9px; cursor: pointer; }
/* 发现页·今日主推横幅 */
.sched-today { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; margin: 14px 0 4px; cursor: pointer;
    background: linear-gradient(135deg, rgba(47,179,68,.16), rgba(47,179,68,.04)); border: 1px solid rgba(47,179,68,.3); }
.sched-today .st-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; font-size: 23px; }
.sched-today .st-tx { flex: 1; min-width: 0; }
.sched-today .st-k { font-size: 11px; font-weight: 800; color: #2fb344; letter-spacing: .02em; }
.sched-today .st-t { font-size: 15px; font-weight: 800; color: var(--white); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-today .st-s { font-size: 11.5px; color: var(--gray1); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-today .st-badge { flex: none; font-size: 10.5px; font-weight: 800; color: #fff; background: #ff8a3d; padding: 3px 8px; border-radius: 999px; align-self: flex-start; }
.sched-today .st-week { flex: none; font-size: 11px; font-weight: 700; color: #2fb344; white-space: nowrap; }
/* 活动日程页·7 天列表 */
.sc-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 15px; background: var(--bg1); border: 1px solid var(--line); margin-bottom: 9px; cursor: pointer; transition: transform .1s; }
.sc-row:active { transform: scale(.99); }
.sc-row.today { border-color: rgba(47,179,68,.55); background: linear-gradient(135deg, rgba(47,179,68,.12), var(--bg1)); box-shadow: 0 4px 16px rgba(47,179,68,.14); }
.sc-row.rest { opacity: .62; }
.sc-dow { width: 40px; flex: none; text-align: center; }
.sc-dow .d { font-size: 14px; font-weight: 800; color: var(--white); }
.sc-dow .now { display: inline-block; margin-top: 3px; font-size: 9.5px; font-weight: 800; color: #fff; background: #2fb344; padding: 1px 6px; border-radius: 999px; }
.sc-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 21px; }
.sc-tx { flex: 1; min-width: 0; }
.sc-t { font-size: 14.5px; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 6px; }
.sc-t .bg { font-size: 10px; font-weight: 800; color: #fff; background: #ff8a3d; padding: 2px 7px; border-radius: 999px; }
.sc-s { font-size: 12px; color: var(--gray1); margin-top: 3px; line-height: 1.5; }
.sc-go { flex: none; color: var(--gray3); font-size: 18px; }

/* ── 人气榜送礼弹层（免费道具 + 积分打赏）─────────────── */
.cbg-mask { position: fixed; top:0;right:0;bottom:0;left:0; background: rgba(0,0,0,.55); z-index: 1200; display: none; align-items: flex-end; }
.cbg-mask.show { display: flex; }
.cbg-sheet { width: 100%; max-width: 560px; margin: 0 auto; background: var(--bg1); border-radius: 20px 20px 0 0;
    border: 1px solid var(--line); border-bottom: none; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); animation: cbgUp .22s ease;
    max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); overflow-y: auto; overscroll-behavior: contain; }
@keyframes cbgUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.cbg-hd { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.cbg-hd .who { color: var(--gold2); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbg-x { margin-left: auto; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
    background: var(--bg2, rgba(255,255,255,.06)); color: var(--gray2); font-size: 17px; cursor: pointer; }
.cbg-sec { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--gray2); margin: 12px 0 8px; }
.cbg-sec .bal { margin-left: auto; font-weight: 600; }
.cbg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cbg-it { border: 1px solid var(--line); border-radius: 13px; padding: 10px 4px 9px; text-align: center; cursor: pointer;
    background: var(--bg2, rgba(255,255,255,.04)); transition: transform .1s, border-color .15s; }
.cbg-it:active { transform: scale(.95); }
.cbg-it iconify-icon { font-size: 22px; color: #ff8a3d; }
.cbg-it.pts iconify-icon { color: var(--gold2); }
.cbg-it .nm { font-size: 12.5px; font-weight: 700; color: var(--white); margin-top: 3px; }
.cbg-it .gain { font-size: 11px; font-weight: 700; color: #ff8a3d; }
.cbg-it .cost { font-size: 10.5px; color: var(--gray2); margin-top: 2px; }
.cbg-it.dim { opacity: .45; }
.cbg-tip { margin-top: 12px; font-size: 11px; color: var(--gray2); line-height: 1.55; text-align: center; }
html.light .cbg-mask { background: rgba(0,0,0,.35); }

/* ── 押榜竞猜（人气榜盘口卡 + 押注弹层）─────────────── */
.cbb-card { border-radius: 15px; border: 1px solid rgba(59,91,224,.35); padding: 13px 14px; margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(59,91,224,.16), rgba(59,91,224,.05)); cursor: pointer; }
.cbb-card .hd { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--white); }
.cbb-card .hd iconify-icon { color: var(--gold2); font-size: 16px; }
.cbb-card .hd .tag { margin-left: auto; font-size: 11px; font-weight: 700; color: #fff; background: var(--blue, #3b5be0); padding: 3px 9px; border-radius: 999px; }
.cbb-card .meta { margin-top: 5px; font-size: 12px; color: var(--gray1); line-height: 1.55; }
.cbb-card .meta b { color: var(--gold2); }
.cbb-card .mine { margin-top: 6px; font-size: 11.5px; font-weight: 700; color: #35c05b; }
.cbb-list { max-height: 38vh; overflow-y: auto; margin-top: 4px; }
.cbb-row { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 11px; border: 1px solid var(--line); margin-bottom: 6px; cursor: pointer; background: var(--bg2, rgba(255,255,255,.03)); }
.cbb-row.on { border-color: var(--blue, #3b5be0); background: rgba(59,91,224,.14); }
.cbb-row .rk { width: 20px; font-size: 12px; font-weight: 800; color: var(--gray2); text-align: center; flex-shrink: 0; }
.cbb-row .nm { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbb-row .pop { font-size: 11px; font-weight: 700; color: #ff8a3d; white-space: nowrap; }
.cbb-row .stk { font-size: 10.5px; color: var(--gray2); white-space: nowrap; }
.cbb-amts { display: flex; gap: 8px; }
.cbb-amt { flex: 1; text-align: center; padding: 9px 0; border-radius: 11px; border: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--white); cursor: pointer; background: var(--bg2, rgba(255,255,255,.03)); }
.cbb-amt.on { border-color: var(--gold2); color: var(--gold2); background: var(--gold-bg); }
.cbb-go { width: 100%; margin-top: 12px; padding: 13px; border: none; border-radius: 13px; background: var(--blue, #3b5be0); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
.cbb-go:disabled { opacity: .5; }
/* 多盘口切换 chips（弹层顶部） */
.cbb-mkts { display: flex; gap: 6px; margin: 2px 0 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cbb-mkts::-webkit-scrollbar { display: none; }
.cbb-mkt { flex-shrink: 0; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--gray1); cursor: pointer; background: var(--bg2, rgba(255,255,255,.03)); white-space: nowrap; }
.cbb-mkt.on { border-color: var(--blue, #3b5be0); color: #fff; background: var(--blue, #3b5be0); }
.cbb-mkt .mp { margin-left: 4px; font-size: 10px; font-weight: 800; opacity: .75; }
/* 粉丝助攻·奖品陈列卡(福利要醒目——金色大奖条是钩子) */
/* 粉丝助攻·真奖橱窗:奖品当主角——顶部金匾大字陈列榜一大奖(奖杯水印+撕票虚线边),老师信息退居次行,副奖收成胶囊 */
.cbf3-card { position: relative; overflow: hidden; margin: 0 14px 12px; border: 1px solid rgba(232,169,10,.38); border-radius: 16px; background: var(--bg1); cursor: pointer; }
.cbf3-hero { position: relative; padding: 12px 14px 11px; background: linear-gradient(135deg, rgba(232,169,10,.2), rgba(232,169,10,.04) 68%); border-bottom: 1px dashed rgba(232,169,10,.4); }
.cbf3-hero .mk { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 900; letter-spacing: .12em; color: #1c1710; background: linear-gradient(180deg, #ffd668, #e8a90a); padding: 3px 9px; border-radius: 999px; }
.cbf3-hero .mk iconify-icon { font-size: 11px; }
.cbf3-hero .pz { font-size: 17px; font-weight: 900; color: var(--cbg2, #f6c33d); line-height: 1.3; margin-top: 6px; letter-spacing: -0.01em; padding-right: 40px; }
html.light .cbf3-hero .pz { color: #8a5f04; }
.cbf3-hero .plus { font-size: 10px; color: var(--gray2); margin-top: 3px; }
.cbf3-hero .wm { position: absolute; right: 6px; top: 50%; transform: translateY(-50%) rotate(-10deg); font-size: 56px; color: var(--cbg2, #f6c33d); opacity: .13; pointer-events: none; }
.cbf3-body { padding: 11px 14px 13px; }
.cbf3-t { display: flex; align-items: center; gap: 9px; }
img.cbf3-av, div.cbf3-av { width: 38px; height: 38px; border-radius: 50%; flex: none; object-fit: cover; background: var(--bg2); border: 2px solid rgba(232,169,10,.5); display: grid; place-items: center; font-weight: 800; color: var(--cbg2, #f6c33d); font-size: 14px; }
.cbf3-t .w { flex: 1; min-width: 0; }
.cbf3-t .n { font-size: 13.5px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbf3-t .g { font-size: 10.5px; color: var(--gray2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbf3-t .see { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: var(--blue2, #6f8bff); }
html.light .cbf3-t .see { color: var(--blue, #3b5be0); }
.cbf3-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cbf3-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--gray1); background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.cbf3-chip iconify-icon { font-size: 12px; color: var(--cbg2, #f6c33d); }
html.light .cbf3-chip iconify-icon { color: #b3790a; }
.cbf3-cta { width: 100%; margin-top: 11px; padding: 11px; border: none; border-radius: 12px; background: linear-gradient(135deg, #ff8a3d, #e8632f); color: #fff; font-size: 13.5px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 4px 12px rgba(232,99,47,.3); }
.cbf3-cta:active { transform: scale(.98); }
.cbf3-cta iconify-icon { font-size: 15px; }
/* 送礼弹层·蟹肉棒合成条 */
.cbg-craft { display: flex; align-items: center; gap: 6px; margin: 8px 0 2px; padding: 9px 12px; border-radius: 11px; border: 1px dashed rgba(240,169,46,.5); background: rgba(240,169,46,.08); font-size: 11.5px; color: var(--gray1); cursor: pointer; }
.cbg-craft iconify-icon { color: #f0a92e; font-size: 14px; flex: none; }
.cbg-craft b { color: var(--white); }
.cbg-craft .go { margin-left: auto; flex: none; font-weight: 800; color: #f0a92e; }
/* 我的押注(逐笔) */
.cbb-mine-list { max-height: 22vh; overflow-y: auto; overscroll-behavior: contain; }
.cbb-mine-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 5px; background: var(--bg2, rgba(255,255,255,.03)); }
.cbb-mine-row .mk { font-size: 10px; font-weight: 800; color: var(--blue, #3b5be0); border: 1px solid rgba(59,91,224,.45); border-radius: 5px; padding: 1px 6px; flex-shrink: 0; }
.cbb-mine-row .nm { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbb-mine-row .amt { font-size: 12px; font-weight: 800; color: var(--gold2); white-space: nowrap; }

/* ── 地区专区页（点地区按钮/地区深链进入的独立页）─────────────── */
#region-page { display: none; }
#region-page.show { display: block; }
#cat-page { display: none; }
#cat-page.show { display: block; }
.rgz-head { display: flex; align-items: center; gap: 10px; padding: 18px 0 4px; }
.rgz-title { font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 6px; }
.rgz-title iconify-icon { color: var(--blue2, #3b5be0); }
.rgz-count { margin-left: auto; font-size: 12px; color: var(--gray2); }
.rgz-sub { font-size: 12px; color: var(--gray2); margin: 0 0 12px; }

/* ── 推荐评级公示页（几星推荐怎么来·全透明）─────────────── */
#starboard-page { display: none; }
#starboard-page.show { display: block; }
.sb-hero { border-radius: 16px; padding: 16px; border: 1px solid var(--line); background: var(--bg1); font-size: 13px; color: var(--gray1); line-height: 1.7; }
.sb-crit { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.sb-crit-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 13px; background: var(--bg1); border: 1px solid var(--line); }
.sb-crit-badge { flex-shrink: 0; font-size: 11px; font-weight: 800; color: #fff; padding: 3px 10px; border-radius: 999px; }
.sb-crit-txt { font-size: 12.5px; color: var(--gray1); }
.sb-crit-txt b { color: var(--white); }
.sb-sec-t { display: flex; align-items: center; gap: 7px; margin: 20px 0 10px; font-size: 15px; font-weight: 800; color: var(--white); }
.sb-sec-t .n { font-size: 12px; font-weight: 700; color: var(--gray2); }
.sb-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 13px; background: var(--bg1); border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; }
.sb-row:active { transform: scale(.99); }
.sb-ava { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; flex-shrink: 0; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--gray2); }
.sb-meta { flex: 1; min-width: 0; }
.sb-nm { font-size: 13.5px; font-weight: 700; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-rg { font-size: 11px; color: var(--gray2); margin-top: 2px; }
.sb-stats { text-align: right; flex-shrink: 0; }
.sb-score { font-size: 15px; font-weight: 800; color: #e8a90a; }
html.light .sb-score { color: #c8860a; }
.sb-reports { font-size: 10.5px; color: var(--gray2); margin-top: 2px; }

/* ── 公益捐赠页（写报告 → 小螃蟹替你捐山区孩子）─────────────── */
#charity-page { display: none; --chg: #35c05b; --chg-soft: rgba(53,192,91,.14); }
#charity-page.show { display: block; }
html.light #charity-page { --chg: #1f9e46; --chg-soft: rgba(31,158,70,.10); }
.ch-hero { border-radius: 16px; padding: 20px 16px; text-align: center; border: 1px solid var(--line);
    background: linear-gradient(160deg, var(--chg-soft), transparent 65%), var(--bg1); }
.ch-hero .ch-ic { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--chg-soft); color: var(--chg); font-size: 28px; margin-bottom: 10px; }
.ch-hero h2 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.ch-hero .ch-blurb { font-size: 13px; color: var(--gray1); line-height: 1.65; }
.ch-stats { display: flex; gap: 10px; margin-top: 12px; }
.ch-stat { flex: 1; border-radius: 14px; padding: 14px 10px; text-align: center; background: var(--bg1); border: 1px solid var(--line); }
.ch-stat .n { font-size: 22px; font-weight: 800; color: var(--chg); letter-spacing: -0.02em; }
.ch-stat .n small { font-size: 12px; font-weight: 700; }
.ch-stat .t { font-size: 11.5px; color: var(--gray2); margin-top: 3px; }
.ch-bar-wrap { margin-top: 12px; background: var(--bg1); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.ch-lastmonth { margin-top: 12px; background: var(--chg-soft); border: 1px solid var(--chg); border-radius: 14px; padding: 13px 15px; }
.ch-lastmonth .lm-hd { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--chg); }
.ch-lastmonth .lm-amt { font-size: 14px; color: var(--white); margin-top: 7px; }
.ch-lastmonth .lm-amt .amt { font-size: 20px; color: var(--chg); letter-spacing: -0.02em; }
.ch-lastmonth .lm-status { display: flex; align-items: center; gap: 5px; font-size: 12px; margin-top: 8px; line-height: 1.5; }
.ch-lastmonth .lm-status.done { color: var(--chg); font-weight: 700; }
.ch-lastmonth .lm-status.pending { color: var(--gray2); }
.ch-bar-lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray1); margin-bottom: 7px; }
.ch-bar { height: 8px; border-radius: 99px; background: var(--bg2, rgba(255,255,255,.06)); overflow: hidden; }
.ch-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--chg), #7edb9a); }
.ch-cta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; padding: 13px;
    border-radius: 13px; background: var(--chg); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
.ch-cta:active { transform: scale(.98); }
.ch-sec-t { display: flex; align-items: center; gap: 6px; margin: 20px 0 10px; font-size: 15px; font-weight: 800; color: var(--white); }
.ch-sec-t iconify-icon { color: var(--chg); }
.ch-don { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 13px; background: var(--bg1); border: 1px solid var(--line); margin-bottom: 8px; }
.ch-don .amt { font-size: 16px; font-weight: 800; color: var(--chg); white-space: nowrap; }
.ch-don .meta { flex: 1; min-width: 0; }
.ch-don .meta .d { font-size: 12.5px; color: var(--white); font-weight: 600; }
.ch-don .meta .nt { font-size: 11.5px; color: var(--gray2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-don img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); cursor: pointer; flex-shrink: 0; }
.ch-rules { background: var(--bg1); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.ch-rules div { display: flex; gap: 8px; font-size: 12.5px; color: var(--gray1); line-height: 1.6; padding: 3px 0; }
.ch-rules iconify-icon { color: var(--chg); flex-shrink: 0; margin-top: 3px; }
/* ── 伯乐拉新页 · 荣耀巅峰版（蓝金同族：品牌蓝主 + 真金点缀） ── */
#boleboard-page { --blgold: #e8a90a; --blgold2: #f6c33d; }
html.light #boleboard-page { --blgold: #c8860a; --blgold2: #d99a08; }
.bl2-hero { text-align: center; position: relative; padding: 6px 6px 2px; margin-bottom: 22px; }
.bl2-proof { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--blue-bg); border: 1px solid rgba(59,91,224,0.25); color: var(--blue2); font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.bl2-proof b { color: var(--white); }
.bl2-h1 { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; color: var(--white); }
.bl2-h1 em { font-style: normal; color: var(--blgold2); }
.bl2-sub { font-size: 13px; color: var(--gray2); margin-top: 10px; line-height: 1.6; }
.bl2-card { position: relative; overflow: hidden; background: var(--bg1); border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin-bottom: 22px; }
.bl2-badge { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 72px; }
.bl2-badge-ring { width: 60px; height: 60px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, var(--blgold), var(--blgold2)); box-shadow: 0 0 16px rgba(232,169,10,0.22); }
.bl2-badge-ring > div { width: 100%; height: 100%; border-radius: 50%; background: var(--bg1); display: grid; place-items: center; color: var(--blgold); font-size: 26px; }
.bl2-badge-lbl { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: var(--blgold); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 72px; }
/* 头部区保底高度：徽章(环60+标签)绝对定位悬在右上,高≈78px+top16,头部不足这个高度时下面的数据格会顶进来和「新伯乐」标签重叠 */
.bl2-headz { min-height: 84px; }
.bl2-rank-row { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.bl2-rank-lbl { font-size: 12px; color: var(--gray2); }
.bl2-rank-pill { font-size: 10px; font-weight: 800; color: var(--blue2); background: var(--blue-bg); padding: 2px 8px; border-radius: 6px; }
.bl2-name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--white); margin-bottom: 16px; padding-right: 74px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl2-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.bl2-metric { text-align: center; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 11px 4px; }
.bl2-metric .l { font-size: 10px; color: var(--gray2); margin-bottom: 4px; }
.bl2-metric .n { font-size: 19px; font-weight: 800; color: var(--white); line-height: 1.1; }
.bl2-metric .n.gold { color: var(--blgold2); }
.bl2-metric .n.blue { color: var(--blue2); }
.bl2-goal { margin-bottom: 16px; }
.bl2-goal-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 7px; }
.bl2-goal-lbl { font-size: 12px; color: var(--gray2); }
.bl2-goal-need { font-size: 12px; font-weight: 800; color: var(--blgold); text-align: right; white-space: nowrap; }
.bl2-bar { height: 10px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.bl2-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--blue2)); transition: width 0.6s cubic-bezier(0.2,0.8,0.2,1); }
.bl2-goal-scale { display: flex; justify-content: space-between; margin-top: 5px; font-size: 10px; color: var(--gray3); }
.bl2-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border: none; border-radius: 16px; cursor: pointer; font-size: 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue2)); box-shadow: 0 6px 18px rgba(59,91,224,0.4); }
.bl2-cta:active { transform: translateY(1px); }
.bl2-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; padding: 12px 14px; border-radius: 14px; background: var(--bg2); border: 1px dashed var(--line); }
.bl2-code-lbl { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray3); }
.bl2-code-val { font-size: 17px; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--white); letter-spacing: 0.04em; margin-top: 2px; }
.bl2-copy { display: inline-flex; align-items: center; gap: 5px; border: none; cursor: pointer; padding: 8px 13px; border-radius: 10px; font-size: 12px; font-weight: 800; color: var(--blue2); background: var(--blue-bg); flex: none; }
.bl2-copy:active { transform: scale(0.96); }
.bl2-sec { display: flex; align-items: center; gap: 8px; margin: 0 2px 14px; }
.bl2-sec iconify-icon { color: var(--blgold); font-size: 18px; }
.bl2-sec h3 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; color: var(--white); }
.bl2-sec .right { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--gray3); letter-spacing: 0; }
.bl2-ladder { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.bl2-step { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 16px; background: var(--bg1); border: 1px solid var(--line); }
.bl2-step.hot { border: 1.5px solid var(--blgold); box-shadow: 0 0 22px rgba(232,169,10,0.16); background: linear-gradient(100deg, var(--bg1), rgba(232,169,10,0.08)); }
.bl2-step.off { opacity: 0.6; }
.bl2-step-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--blue-bg); color: var(--blue2); }
.bl2-step.hot .bl2-step-ic { background: linear-gradient(135deg, var(--blgold), var(--blgold2)); color: #241a08; }
.bl2-step.off .bl2-step-ic { background: var(--bg2); color: var(--gray3); }
.bl2-step-tx { flex: 1; min-width: 0; }
.bl2-step-t { font-size: 14px; font-weight: 800; color: var(--white); }
.bl2-step.off .bl2-step-t { color: var(--gray1); }
.bl2-step-s { font-size: 12px; color: var(--gray3); margin-top: 2px; }
.bl2-step.hot .bl2-step-s { color: var(--blgold); font-weight: 700; }
.bl2-step-ck { flex: none; font-size: 20px; color: var(--blue); }
.bl2-step.hot .bl2-step-ck { color: var(--blgold); }
.bl2-step.off .bl2-step-ck { color: var(--gray3); }
.bl2-podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin: 30px 0 0; }
.bl2-pod { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bl2-pod.p1 { flex: 1.25; }
.bl2-pod-crown { font-size: 26px; color: var(--blgold2); filter: drop-shadow(0 0 8px rgba(246,195,61,0.7)); line-height: 1; margin-bottom: 2px; }
.bl2-pod-ava { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 800; background: var(--bg1); border: 2px solid var(--gray3); color: var(--white); margin-bottom: 8px; }
.bl2-pod.p1 .bl2-pod-ava { width: 74px; height: 74px; font-size: 30px; border: 3px solid var(--blgold2); color: var(--blgold2); box-shadow: 0 0 26px rgba(232,169,10,0.45); }
.bl2-pod.p3 .bl2-pod-ava { border-color: rgba(232,169,10,0.35); }
.bl2-pod-base { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; border: 1px solid var(--line); border-bottom: none; border-radius: 14px 14px 0 0; background: var(--bg2); }
.bl2-pod.p2 .bl2-pod-base { height: 66px; }
.bl2-pod.p3 .bl2-pod-base { height: 52px; }
.bl2-pod.p1 .bl2-pod-base { height: 100px; border: none; border-radius: 18px 18px 0 0; background: linear-gradient(135deg, var(--blgold), var(--blgold2)); box-shadow: 0 -4px 20px rgba(232,169,10,0.3); }
.bl2-pod-no { font-size: 10px; color: var(--gray3); }
.bl2-pod.p1 .bl2-pod-no { color: #5a4708; font-weight: 800; }
.bl2-pod-nm { font-size: 12px; font-weight: 800; color: var(--gray1); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.bl2-pod.p1 .bl2-pod-nm { font-size: 15px; color: #241a08; }
.bl2-pod-cnt { font-size: 10px; color: #241a08; opacity: 0.85; margin-top: 2px; }
.bl2-list { background: var(--bg1); border: 1px solid var(--line); border-top: none; border-radius: 0 0 16px 16px; overflow: hidden; margin-bottom: 24px; }
.bl2-lrow { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.bl2-lrow:last-child { border-bottom: none; }
.bl2-lrow.me { background: var(--blue-bg); box-shadow: inset 0 0 0 1px rgba(59,91,224,0.25); }
.bl2-lrow-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bl2-lrow-no { width: 20px; text-align: center; font-size: 12px; font-weight: 800; color: var(--gray3); flex: none; }
.bl2-lrow.me .bl2-lrow-no { color: var(--blue2); }
.bl2-lrow-ava { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--bg2); color: var(--gray2); }
.bl2-lrow.me .bl2-lrow-ava { background: var(--blue); color: #fff; }
.bl2-lrow-nm { font-size: 14px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl2-lrow-cnt { font-size: 14px; font-weight: 800; color: var(--white); flex: none; }
.bl2-lrow-cnt small { font-size: 10px; color: var(--gray3); font-weight: 600; margin-left: 2px; }
.bl2-rules { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 15px; margin-bottom: 22px; }
.bl2-rules-hd { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; }
.bl2-rules-hd iconify-icon { color: var(--gray3); }
.bl2-rules-hd h4 { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray2); }
.bl2-rules ul { margin: 0; padding: 0; }
.bl2-rules li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--gray2); line-height: 1.6; margin-bottom: 8px; list-style: none; }
.bl2-rules li:last-child { margin-bottom: 0; }
.bl2-rules li iconify-icon { color: var(--blue); margin-top: 2px; flex: none; }
.bl2-rules b { color: var(--blue2); font-weight: 800; }
/* 榜单「你」高亮 */
.hb-row.me { background:linear-gradient(90deg,rgba(232,178,58,.14),transparent); border:1px solid var(--gold-border); border-radius:12px; }
#pointsshop-page { display: none; }
#pointsshop-page.show { display: block; }
/* 群身份标签兑换（管理员尊号 / 自定义标签）——纯荣誉，无实权 */
.mtag-shop { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.mtag-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; background: linear-gradient(120deg, var(--gold-bg), var(--bg1)); border: 1px solid var(--gold-border); overflow: hidden; }
.mtag-item.custom { background: linear-gradient(120deg, rgba(59,91,224,0.14), var(--bg1)); border-color: var(--line2); }
.mtag-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, #e8b007, #f5d76e); }
.mtag-item.custom .mtag-ic { background: linear-gradient(135deg, #3b5be0, #8aa0ff); }
.mtag-body { flex: 1; min-width: 0; }
.mtag-nm { font-size: 15px; font-weight: 800; color: var(--white); display: flex; align-items: baseline; gap: 6px; }
.mtag-sub { font-size: 11.5px; color: var(--gray2); margin-top: 3px; line-height: 1.5; }
.mtag-live { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; margin-right: 5px; font-size: 11px; font-weight: 800; color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 999px; padding: 2px 9px; }
.mtag-live.pend { color: #d99a00; background: rgba(232,176,7,0.12); border-color: rgba(232,176,7,0.35); }
.mtag-buy { flex: none; border: none; border-radius: 12px; padding: 9px 13px; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #e8b007, #d99a00); cursor: pointer; font-family: inherit; white-space: nowrap; }
.mtag-item.custom .mtag-buy { background: linear-gradient(135deg, #3b5be0, #8aa0ff); }
.mtag-buy.short { background: var(--bg2); color: var(--gray2); font-weight: 700; }
.mtag-buy.edit { background: var(--bg2); color: var(--gold2); border: 1px solid var(--gold-border); }
.mtag-item.custom .mtag-buy.edit { color: #8aa0ff; border-color: var(--line2); }
/* 兑换/改字输入弹层 */
#mtag-sheet { position: fixed; top:0;right:0;bottom:0;left:0; z-index: 11030; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(0,0,0,0.6); }
#mtag-sheet.show { display: flex; }
.mtag-card { max-width: 340px; }
.mtag-badge { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #e8b007, #f5d76e); margin-bottom: 12px; }
.mtag-card.is-custom .mtag-badge { background: linear-gradient(135deg, #3b5be0, #8aa0ff); }
.mtag-desc { font-size: 12.5px; color: var(--gray2); line-height: 1.6; margin-bottom: 14px; }
.mtag-inwrap { position: relative; }
#mtag-input { width: 100%; box-sizing: border-box; padding: 13px 52px 13px 14px; border-radius: 13px; border: 1.5px solid var(--line2); background: var(--bg2); color: var(--white); font-size: 16px; font-family: inherit; text-align: center; font-weight: 700; }
#mtag-input:focus { outline: none; border-color: #8aa0ff; }
.mtag-cnt { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--gray3); }
.mtag-cnt b { color: var(--gray1); }
.mtag-preview { min-height: 22px; margin: 12px 0 2px; font-size: 12px; color: var(--gray2); }
.mtag-preview .chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 999px; padding: 3px 10px; margin-left: 5px; }
.mtag-err { min-height: 17px; font-size: 12px; color: #ff5a5a; margin: 4px 0 8px; }
.mtag-fine { margin-top: 13px; font-size: 11px; color: var(--gray3); line-height: 1.5; }
/* 积分商城：区块标题右侧「更多」+ 列表底部「进入商城」入口 */
.pts-sec-more { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--gold2); display: inline-flex; align-items: center; gap: 1px; cursor: pointer; }
.pts-shop-more { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 13px; border: 1px dashed var(--line2); border-radius: 16px; font-size: 13px; font-weight: 700; color: var(--gold2); background: var(--bg1); cursor: pointer; }
/* 荣誉/邀请/伯乐榜列表行样式已拆至 css/boards.v1.css */
/* 抽奖/夺宝/竞拍 CSS 已拆至各自模块文件 *//* ═══ 月榜 v5 统一稿（与冲榜赛 v4 同一套蓝色勋章体系；金=冠军金属只在加冕台/名人堂）═══ */
/* 赛季条：倒计时 + 名人堂入口一行收纳 */
.cb5-season { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 13px; background: var(--bg1); border: 1px solid var(--line); margin-bottom: 13px; font-size: 12px; color: var(--gray1); }
.cb5-season .bd { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #fff; background: linear-gradient(135deg, #5b78f0, var(--blue, #3b5be0)); padding: 3px 8px; border-radius: 7px; }
.cb5-season .tx { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb5-season .tx b { color: var(--cbfire); font-weight: 800; font-variant-numeric: tabular-nums; }
.cb5-season .hall { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 800; color: var(--cbg2); cursor: pointer; }
.cb5-season .hall iconify-icon { font-size: 13px; }
/* 加冕台 podium */
.cb5-podium { position: relative; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; margin-bottom: 13px; background: radial-gradient(90% 70% at 50% -12%, rgba(232,169,10,.17), transparent 58%), var(--bg1); padding: 16px 14px 0; }
html.light .cb5-podium { background: radial-gradient(90% 70% at 50% -12%, rgba(200,134,10,.12), transparent 58%), var(--bg1); }
.cb5-podium .cap { text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .22em; color: var(--cbg2); text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cb5-pd-row { display: flex; align-items: flex-end; justify-content: center; gap: 10px; }
.cb5-pd { flex: 1; max-width: 118px; text-align: center; cursor: pointer; }
.cb5-pd-ava { position: relative; margin: 0 auto 7px; border-radius: 50%; padding: 4px; }
.cb5-pd.p1 .cb5-pd-ava { width: 74px; height: 74px; padding: 5px; background: linear-gradient(150deg,#ffe9a8,#f0b81e 46%,#9a6600 82%,#ffde7a); box-shadow: inset 0 2px 3px rgba(255,255,255,.55), inset 0 -4px 7px rgba(0,0,0,.3), 0 0 0 3px rgba(232,169,10,.35), 0 10px 26px rgba(232,169,10,.28); }
.cb5-pd.p2 .cb5-pd-ava { width: 58px; height: 58px; background: linear-gradient(150deg,#f4f8fc,#aeb9c8 46%,#5a6472 82%,#e6edf6); box-shadow: inset 0 2px 2px rgba(255,255,255,.6), inset 0 -3px 5px rgba(0,0,0,.3), 0 6px 15px rgba(0,0,0,.25); }
.cb5-pd.p3 .cb5-pd-ava { width: 58px; height: 58px; background: linear-gradient(150deg,#f3caa0,#cd7f40 46%,#6e3d15 82%,#eaa168); box-shadow: inset 0 2px 2px rgba(255,255,255,.55), inset 0 -3px 5px rgba(0,0,0,.3), 0 6px 15px rgba(0,0,0,.25); }
img.cb5-pd-img, div.cb5-pd-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--bg2); color: var(--white); font-weight: 800; font-size: 20px; }
.cb5-pd.p1 div.cb5-pd-img { font-size: 25px; }
.cb5-pd-crown { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); color: var(--cbg2); font-size: 22px; filter: drop-shadow(0 2px 5px rgba(232,169,10,.55)); }
.cb5-pd .rk { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; color: var(--gray3); }
.cb5-pd.p1 .rk { color: var(--cbg2); }
.cb5-pd .nm { font-size: 13px; font-weight: 800; color: var(--white); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb5-pd.p1 .nm { font-size: 14.5px; }
.cb5-pd .pop { font-size: 11px; font-weight: 800; color: var(--cbfire); font-variant-numeric: tabular-nums; }
.cb5-pd .pop span { font-weight: 600; color: var(--gray3); font-size: 10px; }
.cb5-pd .fan { font-size: 10px; color: var(--gray2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb5-pd .fan b { color: var(--blue2, #6f8bff); font-weight: 800; }
html.light .cb5-pd .fan b { color: var(--blue, #3b5be0); }
.cb5-pd .base { margin-top: 8px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, var(--bg2), transparent); border: 1px solid var(--line); border-bottom: 0; font-size: 15px; font-weight: 800; color: var(--gray3); padding-top: 5px; }
.cb5-pd.p1 .base { height: 46px; color: var(--cbg2); background: linear-gradient(180deg, rgba(232,169,10,.13), transparent); border-color: rgba(232,169,10,.3); }
.cb5-pd.p2 .base { height: 31px; }
.cb5-pd.p3 .base { height: 23px; }
.cb5-pd-gift { position: absolute; bottom: -4px; right: -6px; width: 25px; height: 25px; border-radius: 50%; background: linear-gradient(160deg, #5b78f0, var(--blue, #3b5be0)); color: #fff; display: grid; place-items: center; font-size: 13px; border: 2px solid var(--bg1); box-shadow: 0 3px 8px rgba(59,91,224,.4); cursor: pointer; }
.cb5-pd-gift:active { transform: scale(0.92); }
.cb5-pd-cta { position: absolute; left: 50%; transform: translateX(-50%); bottom: 9px; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(160deg,#5b78f0,var(--blue,#3b5be0)); border: none; border-radius: 999px; padding: 6px 14px; box-shadow: 0 4px 10px rgba(59,91,224,.4); cursor: pointer; }
/* 我的贡献：紧凑一行卡 */
.cb5-me { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 16px; background: var(--bg1); border: 1px solid var(--line); margin-bottom: 12px; }
img.cb5-me-ava, div.cb5-me-ava { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; background: rgba(59,91,224,.14); border: 2px solid var(--blue, #3b5be0); display: grid; place-items: center; font-weight: 800; color: var(--blue2, #6f8bff); font-size: 15px; }
.cb5-me .mid { flex: 1; min-width: 0; }
.cb5-me .l1 { font-size: 13px; font-weight: 700; color: var(--white); }
.cb5-me .l1 b { color: var(--cbfire); }
.cb5-me .l2 { font-size: 11px; color: var(--gray2); margin-top: 2px; }
.cb5-me .l2 b { color: var(--cbg2); }
.cb5-me .cta { flex: none; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(160deg,#5b78f0,var(--blue,#3b5be0)); border: none; border-radius: 999px; padding: 8px 15px; box-shadow: 0 4px 10px rgba(59,91,224,.35); cursor: pointer; }
/* 玩法 HUB：打通周赛/押注入口 */
.cb5-hub { display: flex; gap: 8px; margin-bottom: 15px; }
.cb5-hub .tile { flex: 1; text-align: center; padding: 11px 4px 9px; border-radius: 14px; background: var(--bg1); border: 1px solid var(--line); cursor: pointer; }
.cb5-hub .mi { width: 38px; height: 38px; margin: 0 auto 5px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; position: relative; }
.cb5-hub .mi.ic-race { background: linear-gradient(150deg,#8b6cff,#5b3fd0); box-shadow: 0 4px 10px rgba(139,108,255,.35); }
.cb5-hub .mi.ic-bet { background: linear-gradient(150deg,#f0b81e,#c8860a); box-shadow: 0 4px 10px rgba(232,169,10,.35); }
.cb5-hub .mi .mb { position: absolute; top: -6px; right: -10px; font-size: 8.5px; font-weight: 800; color: #fff; background: var(--cbfire); border-radius: 999px; padding: 1px 5px; border: 2px solid var(--bg1); }
.cb5-hub .ml { font-size: 11.5px; font-weight: 800; color: var(--gray1); }
.cb5-hub .ms { font-size: 9px; color: var(--gray3); margin-top: 1px; }
/* 榜单头 + 行（统一 v4 行语言） */
.cb5-lh { display: flex; align-items: baseline; gap: 8px; margin: 2px 2px 9px; }
.cb5-lh h3 { font-size: 14.5px; font-weight: 800; color: var(--white); display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.cb5-lh h3 iconify-icon { color: var(--blue2, #6f8bff); font-size: 15px; }
html.light .cb5-lh h3 iconify-icon { color: var(--blue, #3b5be0); }
.cb5-lh .sb { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--gray3); text-transform: uppercase; }
.cb5-lh .rules { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--gray2); display: inline-flex; align-items: center; gap: 3px; cursor: pointer; }
.cb5-row { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 14px; background: var(--bg1); border: 1px solid var(--line); margin-bottom: 7px; cursor: pointer; }
.cb5-row.mine { border-color: rgba(59,91,224,.45); background: linear-gradient(135deg, rgba(59,91,224,.10), var(--bg1)); }
.cb5-row .rn { width: 24px; text-align: center; font-size: 13px; font-weight: 800; color: var(--gray3); font-variant-numeric: tabular-nums; flex: none; }
img.cb5-row-ava, div.cb5-row-ava { width: 38px; height: 38px; border-radius: 50%; flex: none; object-fit: cover; background: var(--bg2); border: 1px solid var(--line2); display: grid; place-items: center; font-weight: 800; color: var(--gray1); font-size: 14px; }
.cb5-row .who { flex: 1; min-width: 0; }
.cb5-row .who .n { font-size: 13.5px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.cb5-row .who .n .reg { flex: none; font-size: 10px; font-weight: 600; color: var(--gray3); }
.cb5-row .who .g { font-size: 10.5px; color: var(--gray2); margin-top: 1.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb5-row .who .g b { color: var(--blue2, #6f8bff); font-weight: 800; }
html.light .cb5-row .who .g b { color: var(--blue, #3b5be0); }
.cb5-row .val { text-align: right; flex: none; }
.cb5-row .val .n { font-size: 13.5px; font-weight: 800; color: var(--cbfire); font-variant-numeric: tabular-nums; }
.cb5-row .val .u { font-size: 9px; color: var(--gray3); }
.cb5-row .gift { flex: none; width: 34px; height: 34px; border-radius: 11px; background: rgba(59,91,224,.14); border: 1px solid rgba(59,91,224,.35); display: grid; place-items: center; color: var(--blue2, #6f8bff); font-size: 16px; cursor: pointer; }
html.light .cb5-row .gift { color: var(--blue, #3b5be0); background: rgba(59,91,224,.09); }
.cb5-foot { text-align: center; font-size: 10.5px; color: var(--gray3); line-height: 1.8; margin-top: 16px; }
/* 段控内 HOT 角标 + 图标 */
.cbw-seg button iconify-icon { font-size: 14px; vertical-align: -2px; margin-right: 3px; }
.cbw-seg button .mini { font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 999px; background: rgba(59,91,224,.14); color: var(--blue2, #6f8bff); margin-left: 4px; vertical-align: 1px; }
.cbw-seg button.on .mini { background: rgba(255,255,255,.22); color: #fff; }

.cb2-deadline { display: flex; align-items: center; gap: 8px; padding: 10px 13px; margin-bottom: 14px; border-radius: 14px; background: radial-gradient(120% 120% at 0% 50%, rgba(255,138,61,0.14), transparent 60%), var(--bg1); border: 1px solid rgba(255,138,61,0.28); }
.cb2-deadline iconify-icon { color: var(--cbfire); font-size: 17px; flex: none; }
.cb2-deadline .dl-tx { font-size: 12px; font-weight: 700; color: var(--gray1); line-height: 1.45; }
.cb2-deadline .dl-tx b { color: var(--cbfire); font-weight: 800; font-variant-numeric: tabular-nums; }
.cb2-deadline .dl-tx .mon { color: var(--cbg2); font-weight: 800; }
.cb2-me { position: relative; overflow: hidden; border-radius: 18px; padding: 14px; margin-bottom: 16px; background: linear-gradient(135deg, var(--bg1), var(--bg)); border: 1px solid rgba(232,169,10,0.3); }
.cb2-me.plain { border-color: var(--line); background: var(--bg1); }
.cb2-me-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.cb2-me.plain .cb2-me-top { margin-bottom: 0; }
.cb2-me-ava { width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover; background: var(--bg2); border: 2px solid var(--cbg); display: grid; place-items: center; font-weight: 800; color: var(--cbg2); font-size: 17px; }
.cb2-me-cap { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cbg2); }
.cb2-me.plain .cb2-me-cap { color: var(--gray3); }
.cb2-me-line { font-size: 13.5px; color: var(--white); font-weight: 600; margin-top: 3px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.cb2-me-line b { color: var(--cbg2); font-weight: 800; }
.cb2-me.plain .cb2-me-line b { color: var(--white); }
.cb2-me-badge { margin-left: auto; flex: none; font-size: 10px; font-weight: 800; color: var(--cbg2); background: rgba(232,169,10,0.16); border: 1px solid rgba(232,169,10,0.4); padding: 4px 9px; border-radius: 999px; }
.cb2-me-stats { display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.28); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
html.light .cb2-me-stats { background: var(--bg2); }
.cb2-me-stat .k { font-size: 10px; font-weight: 700; color: var(--gray3); }
.cb2-me-stat .v { font-size: 17px; font-weight: 800; color: var(--white); margin-top: 2px; }
.cb2-me-stat.hl .v { color: var(--cbfire); }
.cb2-me-stat.r { text-align: right; }
.cb2-me-div { width: 1px; height: 30px; background: var(--line); flex: none; }
.cb2-me-prog { height: 7px; border-radius: 999px; background: rgba(127,127,127,0.18); overflow: hidden; margin: 12px 0 0; }
.cb2-me-prog i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cbfire), #ff5c3d); }
.cb2-me-tip { font-size: 11.5px; color: var(--gray2); margin-top: 9px; line-height: 1.5; }
.cb2-me-tip b { color: var(--cbfire); font-weight: 800; }
/* 冠军聚光横幅 */
.cb2-champ { position: relative; overflow: hidden; border-radius: 22px; padding: 20px 18px 18px; border: 1px solid rgba(232,169,10,0.4); background: radial-gradient(120% 80% at 50% -10%, rgba(232,169,10,0.16), transparent 60%), var(--bg1); text-align: center; margin-bottom: 14px; }
.cb2-champ-tro { position: absolute; top: 8px; right: 10px; font-size: 78px; color: var(--cbg2); opacity: 0.10; pointer-events: none; }
.cb2-champ-crown { font-size: 30px; color: var(--cbg2); filter: drop-shadow(0 0 10px rgba(246,195,61,0.7)); line-height: 1; }
.cb2-champ-avawrap { position: relative; width: 92px; margin: 4px auto 0; cursor: pointer; }
.cb2-champ-ava { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: var(--bg2); border: 4px solid var(--cbg2); box-shadow: 0 0 26px rgba(232,169,10,0.4); display: grid; place-items: center; font-weight: 800; color: var(--cbg2); font-size: 32px; }
.cb2-champ-tag { position: absolute; bottom: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(135deg, var(--cbg), var(--cbg2)); color: #1a1400; font-weight: 800; font-size: 11px; padding: 3px 13px; border-radius: 999px; border: 2px solid var(--bg1); }
.cb2-champ-nm { font-size: 22px; font-weight: 800; color: var(--cbg2); letter-spacing: -0.02em; margin-top: 19px; text-shadow: 0 0 12px rgba(232,169,10,0.35); cursor: pointer; }
.cb2-champ-pop { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 800; color: var(--cbfire); margin-top: 4px; }
.cb2-champ-pop .sub { color: var(--gray2); font-weight: 600; font-size: 12px; }
.cb2-champ-fanrow { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; text-align: left; }
html.light .cb2-champ-fanrow { background: var(--bg2); }
.cb2-fan-ic { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--cbg2); background: rgba(232,169,10,0.18); border: 1px solid rgba(232,169,10,0.4); }
.cb2-fan-txt { min-width: 0; }
.cb2-fan-txt .k { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray3); }
.cb2-fan-txt .v { font-size: 13px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb2-champ-cta { margin-left: auto; flex: none; border: none; cursor: pointer; font-size: 11px; font-weight: 800; padding: 9px 14px; border-radius: 12px; color: #1a1400; background: linear-gradient(135deg, var(--cbg), var(--cbg2)); box-shadow: 0 4px 12px rgba(232,169,10,0.3); }
.cb2-champ-cta:active { transform: scale(0.95); }
/* 亚/季军 */
.cb2-runners { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 18px; }
.cb2-run { position: relative; background: var(--bg1); border: 1px solid var(--line); border-radius: 18px; padding: 16px 12px 13px; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.cb2-run:active { transform: scale(0.99); }
.cb2-run-no { position: absolute; top: 9px; left: 11px; font-size: 11px; font-weight: 800; font-style: italic; color: var(--gray3); }
.cb2-run-ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--bg2); border: 2px solid var(--gray3); margin-bottom: 8px; display: grid; place-items: center; font-weight: 800; color: var(--gray2); font-size: 19px; }
.cb2-run.silver .cb2-run-ava { border-color: #b9c2cf; }
.cb2-run.bronze .cb2-run-ava { border-color: #c08a5c; }
.cb2-run-nm { font-size: 14px; font-weight: 800; color: var(--white); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb2-run-pop { font-size: 13px; font-weight: 800; color: var(--cbfire); margin-top: 2px; }
.cb2-run-fan { margin-top: 9px; display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 9px; background: rgba(127,127,127,0.1); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: var(--gray2); font-weight: 700; }
.cb2-run-fan iconify-icon { color: var(--cbg); font-size: 11px; flex: none; }
.cb2-run-fan span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 人气大乱斗 */
.cb2-listhead { display: flex; align-items: flex-end; justify-content: space-between; margin: 6px 2px 12px; }
.cb2-listhead h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.cb2-listhead .sub { font-size: 9px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray3); margin-top: 3px; }
.cb2-rules-btn { flex: none; border: none; cursor: pointer; font-size: 10px; font-weight: 800; color: var(--cbfire); background: rgba(255,138,61,0.1); border: 1px solid rgba(255,138,61,0.25); padding: 6px 12px; border-radius: 999px; }
.cb2-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--bg1); border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer; }
.cb2-row:active { transform: scale(0.995); }
.cb2-row.mine { background: rgba(232,169,10,0.06); border-color: rgba(232,169,10,0.32); }
.cb2-row-no { width: 24px; text-align: center; font-size: 15px; font-weight: 800; font-style: italic; color: var(--gray3); flex: none; }
.cb2-row.mine .cb2-row-no { color: var(--cbg2); }
.cb2-row-ava { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--bg2); border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-weight: 800; color: var(--gray2); font-size: 17px; }
.cb2-row.mine .cb2-row-ava { border-color: var(--cbg); }
.cb2-row-mid { flex: 1; min-width: 0; }
.cb2-row-nm { display: flex; align-items: center; gap: 7px; }
.cb2-row-nm b { font-size: 15px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 9em; }
.cb2-row-reg { font-size: 9px; font-weight: 700; color: var(--gray2); background: var(--bg2); padding: 1px 7px; border-radius: 999px; flex: none; }
.cb2-cbz-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 800; color: #1a1400; background: linear-gradient(135deg, var(--cbg, #e8a90a), var(--cbg2, #f6c33d)); padding: 1px 7px 1px 5px; border-radius: 999px; flex: none; white-space: nowrap; }
.cb2-cbz-tag iconify-icon { font-size: 10px; }
.cb2-cbz-champrow { margin-top: 8px; cursor: pointer; }
.cb2-cbz-runrow { margin-top: 5px; }
.cb2-row-fan { margin-top: 5px; display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 8px; background: rgba(127,127,127,0.1); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: var(--gray1); font-weight: 700; }
.cb2-row-fan iconify-icon { color: var(--cbg); font-size: 11px; flex: none; }
.cb2-row-fan span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb2-row-fan.me { background: rgba(232,169,10,0.16); border-color: rgba(232,169,10,0.4); color: var(--cbg2); }
.cb2-row-fan.me iconify-icon { color: var(--cbg2); }
.cb2-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; flex: none; }
.cb2-row-pop { font-size: 13px; font-weight: 800; font-style: italic; color: var(--cbfire); }
.cb2-send { border: none; cursor: pointer; font-size: 10px; font-weight: 800; padding: 7px 12px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #ff8a3d, #ff5c3d); box-shadow: 0 3px 10px rgba(255,110,60,0.28); white-space: nowrap; }
.cb2-send:active { transform: scale(0.95); }
.cb2-send.guard { color: #1a1400; background: linear-gradient(135deg, var(--cbg), var(--cbg2)); box-shadow: 0 3px 10px rgba(232,169,10,0.25); }
.cb2-foot { text-align: center; opacity: 0.42; font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.9; margin: 16px 0 26px; }

/* ===== 名人堂·历届榜一（殿堂领奖台，延续人气榜真金主题） ===== */
#hall-page { display: none; --cbg: #e8a90a; --cbg2: #f6c33d; --cbfire: #ff8a3d; }
#hall-page.show { display: block; }
html.light #hall-page { --cbg: #c8860a; --cbg2: #d99a08; }
.hall-entry { display: flex; align-items: center; gap: 11px; padding: 12px 14px; margin-bottom: 14px; border-radius: 16px; cursor: pointer; background: radial-gradient(120% 120% at 100% 0%, rgba(232,169,10,0.14), transparent 60%), var(--bg1); border: 1px solid rgba(232,169,10,0.3); }
.hall-entry:active { transform: scale(0.99); }
.hall-entry-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #1a1400; background: linear-gradient(135deg, var(--cbg), var(--cbg2)); font-size: 20px; box-shadow: 0 4px 12px rgba(232,169,10,0.3); }
.hall-entry-tt { font-size: 14px; font-weight: 800; color: var(--white); }
.hall-entry-sub { font-size: 11px; color: var(--gray2); margin-top: 2px; }
.hall-entry-arr { margin-left: auto; color: var(--cbg2); flex: none; }

/* 宝座（当届尊号 / 本月领跑） */
.hall-throne { position: relative; display: flex; flex-direction: column; align-items: center; margin: 6px 0 22px; }
.hall-glow { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 240px; height: 240px; border-radius: 50%; background: rgba(232,169,10,0.16); filter: blur(60px); opacity: .55; pointer-events: none; }
html.light .hall-glow { opacity: .4; }
.hall-crown { position: relative; z-index: 1; font-size: 40px; color: var(--cbg2); filter: drop-shadow(0 0 14px rgba(246,195,61,0.75)); line-height: 1; margin-bottom: 10px; animation: hallBob 2.6s ease-in-out infinite; }
@keyframes hallBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .hall-crown { animation: none; } }
.hall-ava-wrap { position: relative; z-index: 1; width: 138px; height: 138px; border-radius: 50%; padding: 3px; background: linear-gradient(to bottom, var(--cbg2), rgba(232,169,10,0.05)); box-shadow: 0 0 40px rgba(232,169,10,0.4); }
.hall-ava { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid var(--bg); background: var(--bg2); display: grid; place-items: center; font-size: 46px; font-weight: 900; color: var(--cbg); }
.hall-throne-tag { position: absolute; z-index: 2; bottom: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(135deg, var(--cbg), var(--cbg2)); color: #1a1400; font-weight: 800; font-size: 10px; letter-spacing: .12em; padding: 3px 14px; border-radius: 999px; border: 2px solid var(--bg); }
.hall-throne-nm { font-size: 22px; font-weight: 900; color: var(--cbg2); letter-spacing: -0.02em; margin-top: 22px; text-shadow: 0 0 12px rgba(232,169,10,0.35); cursor: pointer; }
.hall-throne-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.hall-throne-pop { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; font-style: italic; color: var(--cbfire); }
.hall-throne-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray3); }
.hall-throne-title { font-size: 12px; font-weight: 700; color: var(--cbg2); }
.hall-throne-fan { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; padding: 8px 14px; background: var(--bg1); border: 1px solid rgba(232,169,10,0.3); border-radius: 13px; }
.hall-throne-fan-ic { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--bg2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--gray2); }
.hall-throne-fan .k { font-size: 9px; font-weight: 800; letter-spacing: .1em; color: var(--gray2); }
.hall-throne-fan .v { font-size: 12px; font-weight: 800; color: var(--white); margin-top: 1px; }

/* 本月冲榜中·夺位提示 */
.hall-live { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 11px 14px; border-radius: 15px; background: rgba(255,138,61,0.08); border: 1px solid rgba(255,138,61,0.25); cursor: pointer; }
.hall-live-ic { color: var(--cbfire); flex: none; font-size: 18px; }
.hall-live-tx { font-size: 12px; color: var(--gray1); font-weight: 600; line-height: 1.4; flex: 1; min-width: 0; }
.hall-live-tx b { color: var(--cbfire); font-weight: 800; }
.hall-live-cta { flex: none; font-size: 11px; font-weight: 800; color: #1a1400; background: linear-gradient(135deg, var(--cbg), var(--cbg2)); padding: 7px 12px; border-radius: 11px; }

/* 加冕墙 */
.hall-sechead { display: flex; align-items: center; justify-content: space-between; margin: 4px 2px 12px; }
.hall-sechead .l { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.hall-sechead .l iconify-icon { color: var(--cbg); }
.hall-sechead .r { font-size: 9px; font-weight: 800; letter-spacing: .18em; color: var(--gray3); }
.hall-item { position: relative; overflow: hidden; display: flex; align-items: center; gap: 13px; padding: 14px 13px; border-radius: 20px; background: var(--bg1); border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer; }
.hall-item:active { transform: scale(0.995); }
.hall-item.champ { border-color: rgba(232,169,10,0.4); padding: 16px 14px; border-radius: 24px; }
.hall-item-wm { position: absolute; top: 0; right: 6px; font-size: 58px; color: var(--cbg); opacity: 0.06; pointer-events: none; }
.hall-item-lead { display: flex; flex-direction: column; align-items: center; flex: none; }
.hall-item-mon { font-size: 10px; font-weight: 800; color: var(--gray3); letter-spacing: -0.02em; margin-bottom: 5px; }
.hall-item.champ .hall-item-mon { color: var(--cbg); }
.hall-item-ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--bg2); border: 2px solid var(--line2); display: grid; place-items: center; font-size: 18px; font-weight: 800; color: var(--gray2); }
.hall-item.champ .hall-item-ava { border-color: var(--cbg2); color: var(--cbg); width: 50px; height: 50px; }
.hall-item-mid { flex: 1; min-width: 0; }
.hall-item-nm { font-size: 14px; font-weight: 800; color: var(--gray1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hall-item.champ .hall-item-nm { font-size: 15px; color: var(--white); }
.hall-item-sub { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.hall-item-pop { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; color: var(--cbfire); }
.hall-item-fan { font-size: 10px; color: var(--gray3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hall-item-end { flex: none; color: var(--gray3); }
.hall-item.champ .hall-item-end { color: var(--cbg); }
.hall-item.champ .hall-item-title { font-size: 9px; font-weight: 800; color: var(--cbg2); background: rgba(232,169,10,0.14); border: 1px solid rgba(232,169,10,0.35); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.hall-foot { text-align: center; margin: 26px 0 30px; opacity: 0.5; }
.hall-foot iconify-icon { font-size: 22px; color: var(--cbg); }
.hall-foot p { margin: 6px 0 0; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--gray2); }
.hall-mine-note { display: flex; align-items: center; gap: 7px; margin: -4px 0 16px; padding: 9px 13px; border-radius: 13px; background: rgba(80,200,120,0.1); border: 1px solid rgba(80,200,120,0.32); font-size: 12px; color: var(--gray1); }
.hall-mine-note iconify-icon { color: #50c878; flex: none; font-size: 15px; }
.hall-mine-note b { color: #50c878; }
.hall-mine-tag { font-size: 9px; font-weight: 800; color: #1a1400; background: linear-gradient(135deg, var(--cbg), var(--cbg2)); padding: 1px 6px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
/* ════════ 致谢 · 贡献者名单 ════════ */
#credits-page { display: none; --cbg: #e8a90a; --cbg2: #f6c33d; padding-top: 6px; }
#credits-page.show { display: block; }
html.light #credits-page { --cbg: #c8860a; --cbg2: #d99a08; }
.cr-back { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 8px; font-size: 14px; font-weight: 700; color: var(--gray2); cursor: pointer; }
.cr-back iconify-icon { font-size: 18px; }
.cr-hero { position: relative; text-align: center; margin: 8px 0 26px; }
.cr-hero-glow { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 220px; height: 190px; border-radius: 50%; background: rgba(232,169,10,0.15); filter: blur(58px); opacity: .5; pointer-events: none; }
html.light .cr-hero-glow { opacity: .35; }
.cr-hero-ic { position: relative; z-index: 1; font-size: 38px; color: var(--cbg2); filter: drop-shadow(0 0 13px rgba(246,195,61,0.6)); line-height: 1; }
.cr-hero-t { position: relative; z-index: 1; font-size: 24px; font-weight: 900; letter-spacing: -0.02em; margin-top: 12px; background: linear-gradient(135deg, var(--cbg), var(--cbg2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cr-hero-s { position: relative; z-index: 1; font-size: 13px; color: var(--gray2); margin: 11px auto 0; line-height: 1.65; max-width: 300px; }
.cr-group { margin-bottom: 22px; }
.cr-group-h { display: flex; align-items: center; gap: 8px; margin: 0 2px 12px; font-size: 15px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.cr-group-h iconify-icon { color: var(--cbg); font-size: 17px; }
.cr-group-h .n { margin-left: auto; font-size: 10px; font-weight: 800; color: var(--gray3); letter-spacing: .12em; }
.cr-row { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: 18px; background: radial-gradient(140% 140% at 100% 0%, rgba(232,169,10,0.08), transparent 55%), var(--bg1); border: 1px solid rgba(232,169,10,0.22); margin-bottom: 9px; }
.cr-medal { width: 44px; height: 44px; flex: none; border-radius: 50%; padding: 2px; background: linear-gradient(to bottom, var(--cbg2), rgba(232,169,10,0.15)); box-shadow: 0 0 15px rgba(232,169,10,0.26); }
.cr-medal-in { width: 100%; height: 100%; border-radius: 50%; background: var(--bg2); display: grid; place-items: center; font-size: 17px; font-weight: 900; color: var(--cbg); border: 2px solid var(--bg); }
.cr-info { flex: 1; min-width: 0; }
.cr-name { font-size: 15px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-note { font-size: 12px; color: var(--gray2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-star { flex: none; color: var(--cbg2); font-size: 15px; }
.cr-foot { text-align: center; margin: 22px 0 34px; opacity: 0.65; }
.cr-foot iconify-icon { font-size: 20px; color: var(--cbg); }
.cr-foot p { margin: 7px 0 0; font-size: 11px; color: var(--gray2); line-height: 1.65; }
/* 发现页底部·致谢入口 */
.cr-entry { display: flex; align-items: center; gap: 9px; margin: 18px 0 2px; padding: 12px 15px; border-radius: 15px; background: radial-gradient(120% 120% at 100% 0%, rgba(232,169,10,0.1), transparent 60%), var(--bg1); border: 1px solid rgba(232,169,10,0.25); cursor: pointer; }
.cr-entry:active { transform: scale(0.99); }
.cr-entry-ic { color: #e8a90a; font-size: 18px; flex: none; }
.cr-entry-t { font-size: 13px; font-weight: 700; color: var(--gray1); }
.cr-entry-arr { margin-left: auto; color: var(--gray3); flex: none; }

/* 独立蟹篓页 */
#crabbag-page { display: none; }
#crabbag-page.show { display: block; }
/* 玩法规则一本通 */
#gamerules-page { display: none; }
#gamerules-page.show { display: block; }
.gr-intro { font-size: 12.5px; line-height: 1.7; color: var(--gray1); background: var(--bg1); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.gr-intro b { color: var(--white); }
.gr-go { display: inline-block; margin: 2px 0 12px; padding: 7px 16px; border-radius: 999px; background: var(--blue, #3b5be0); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.gr-share { width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gray1); font-size: 16px; cursor: pointer; }
.gr-tblwrap { overflow-x: auto; margin: 8px 0 4px; }
.gr-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.gr-tbl th { text-align: left; color: var(--gray2); font-weight: 700; padding: 5px 8px 5px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.gr-tbl td { color: var(--gray1); padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.gr-tbl td b, .gr-tbl td:first-child { color: var(--white); white-space: nowrap; }
.gr-tbl tr:last-child td { border-bottom: none; }
.gr-foot { text-align: center; font-size: 10.5px; color: var(--gray3); line-height: 1.7; padding: 6px 0 30px; }
.crab-sec-t { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.crab-sec-t iconify-icon { color: #ff8a3d; }
.cb-prog { height: 8px; border-radius: 999px; background: rgba(127,127,127,0.18); overflow: hidden; margin: 10px 0; }
.cb-prog i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,#ffb04a,#ff7a3d); }
.crab-reward { font-size: 12px; color: var(--gray1); line-height: 1.6; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,138,61,0.10); }
.crab-reward b { color: #ff8a3d; }
.crab-redeem-btn { display: block; width: 100%; margin-top: 12px; padding: 14px; border: none; border-radius: 14px; background: linear-gradient(135deg,#ffb04a,#ff7a3d); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 18px rgba(255,122,61,0.34); }
.crab-redeem-btn:disabled { opacity: 0.6; cursor: default; }
/* 首页「半价/优惠专区」入口条 */
.coupon-entry { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; padding: 13px 16px; border-radius: 14px; cursor: pointer; color: var(--white); background: linear-gradient(110deg, #ff5a5f, #ff8a3d); box-shadow: 0 4px 16px rgba(255,90,95,0.35); }
.coupon-entry:active { transform: scale(0.99); }
.coupon-entry .ce-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.coupon-entry .ce-tx { flex: 1; min-width: 0; }
.coupon-entry .ce-t { font-size: 15px; font-weight: 800; letter-spacing: 0.01em; }
.coupon-entry .ce-s { font-size: 12px; opacity: 0.92; margin-top: 1px; }
.coupon-entry .ce-go { flex: none; font-size: 13px; font-weight: 700; background: rgba(255,255,255,0.22); padding: 6px 12px; border-radius: 999px; }
/* 世界杯竞猜首页入口（蓝色变体，复用 .coupon-entry 结构） */
.coupon-entry.wc-home-entry, .coupon-entry.nearby-home-entry { background: linear-gradient(110deg, var(--blue-deep), var(--gold)); box-shadow: 0 4px 16px rgba(59,91,224,0.38); }
/* 首页两连瓷片入口（2026-09-14 改版·大厂瓷片区范式）：优惠券+附近并排，浅色瓷片打底+右侧彩色小插画，
   替代旧渐变胶囊（.coupon-entry 保留给隐藏中的世界杯入口） */
.entry-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 4px 0 16px; height: 78px; }
.et { position: relative; overflow: hidden; border-radius: 14px; padding: 13px 13px 10px; cursor: pointer; background: var(--bg1); }
.et:active { transform: scale(0.98); }
.et .et-t { font-size: 13.5px; font-weight: 800; color: var(--white); letter-spacing: 0.01em; }
.et .et-s { font-size: 11px; color: var(--gray2); font-weight: 600; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.et .et-s em { font-style: normal; font-weight: 800; }
.et .et-art { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 48px; height: 46px; pointer-events: none; }
.et.et-cp { background: linear-gradient(160deg, rgba(255,122,61,.17), rgba(255,77,79,.06) 70%), var(--bg1); border: 1px solid rgba(255,122,61,.26); }
.et.et-cp .et-s { padding-right: 48px; }
.et.et-cp .et-s em { color: #ffab73; }
.et.et-cp .et-art { width: 64px; height: 54px; right: 0; }
.et.et-nb { background: linear-gradient(160deg, rgba(74,125,255,.17), rgba(43,140,255,.06) 70%), var(--bg1); border: 1px solid rgba(74,125,255,.28); }
.et.et-nb .et-s { padding-right: 44px; }
.et.et-nb .et-s em { color: var(--blue2); }
html.light .et.et-cp { background: linear-gradient(160deg, #fff7f2, #ffeadd); border-color: rgba(244,90,31,.18); }
html.light .et.et-cp .et-s em { color: #f4451f; }
html.light .et.et-nb { background: linear-gradient(160deg, #f2f7ff, #e4eeff); border-color: rgba(47,107,255,.16); }
html.light .et.et-nb .et-s em { color: #2f6bff; }
/* 首页「今日可约」横滑真图竖卡(2026-09-15 方案A)：数据=/api/feed 的 ck(12h内打卡老师)，<3人整条隐藏 */
#ck-rail { margin: 18px 0 0; }
.ckr-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 11px; }
.ckr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); align-self: center; position: relative; }
/* 呼吸波纹用 transform+opacity(合成层动画)，别改回 box-shadow 关键帧——每帧重绘会拖累横滑流畅度 */
.ckr-dot::after { content: ''; position: absolute; top:0;right:0;bottom:0;left:0; border-radius: 50%; background: rgba(80,200,120,.45); animation: ckrp 2s infinite; }
@keyframes ckrp { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ckr-dot::after, .ckr-live::after { animation: none; display: none; } }
.ckr-head b { font-size: 16px; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.ckr-head .n { font-size: 12px; font-weight: 600; color: var(--gray2); }
.ckr-head .n em { font-style: normal; color: var(--green); font-weight: 800; }
.ckr-head .all { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--gray2); cursor: pointer; padding: 4px 0; }
.ckr-list { display: flex; gap: 9px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; overscroll-behavior-x: contain; }
.ckr-list::-webkit-scrollbar { display: none; }
.ckr-card { flex: none; width: 104px; height: 148px; border-radius: 13px; overflow: hidden; position: relative; background: var(--bg2); border: 1px solid var(--line); cursor: pointer; }
.ckr-card:active { transform: scale(0.97); }
.ckr-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ckr-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: linear-gradient(transparent, rgba(0,0,0,0.62)); pointer-events: none; }
.ckr-name { position: absolute; left: 8px; right: 8px; bottom: 7px; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 4px rgba(0,0,0,0.4); pointer-events: none; }
/* 卡上的「可约」信号：原来是左上绿胶囊，但整个区里每张卡都挂＝废话（标题已经写着今日可约），
   改成右上一个呼吸绿点，把左上那个槽位让给评级徽章 */
.ckr-live { position: absolute; right: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1.5px rgba(255,255,255,0.92), 0 1px 5px rgba(0,0,0,0.5); pointer-events: none; }
.ckr-live::after { content: ''; position: absolute; top:0;right:0;bottom:0;left:0; border-radius: 50%; background: rgba(80,200,120,.5); animation: ckrp 2s infinite; }
/* 评级徽章上卡（复用大卡那套 heroBadgeHTML）：挪到左上；宽度上限必须覆盖——大卡的 max-width:54% 在
   104px 的 ck 卡上只剩 50px，「五星推荐」会被截成「五星推…」。右边留 26px 给绿点 */
.ckr-card .card-hero-badge { left: 6px; top: 6px; bottom: auto; max-width: calc(100% - 26px); }
.ckr-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.ckr-more b { font-size: 15px; font-weight: 800; color: var(--green); }
.ckr-more span { font-size: 11px; color: var(--gray2); font-weight: 600; }
/* 今日可约全员页：网格铺开全部打卡老师，卡片复用 .ckr-card 拉伸成流式宽度 */
#ckall-page { display: none; }
#ckall-page.show { display: block; }
#ckall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
#ckall-grid .ckr-card { width: auto; height: auto; aspect-ratio: 104 / 148; }
/* 开屏公告弹窗（后台可编辑，打开小程序时弹一次） */
#ann-modal { position: fixed; top:0;right:0;bottom:0;left:0; z-index: 10000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.66); padding: 20px; }
#ann-modal.open { display: flex; }
.ann-card { width: 100%; max-width: 360px; background: var(--bg1); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 60px rgba(0,0,0,.5); animation: annPop .32s cubic-bezier(.22,1.2,.36,1); }
@keyframes annPop { from { opacity: 0; transform: scale(.86) translateY(14px); } to { opacity: 1; transform: none; } }
.ann-img { width: 100%; display: block; max-height: 200px; object-fit: cover; }
.ann-body { padding: 20px 20px 6px; text-align: center; }
.ann-title { font-size: 18px; font-weight: 800; color: var(--white); margin: 0 0 10px; line-height: 1.35; }
.ann-text { font-size: 13.5px; color: var(--gray1); line-height: 1.75; white-space: pre-wrap; text-align: left; }
.ann-actions { padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 9px; }
.ann-cta { border: none; border-radius: 999px; padding: 13px; font-size: 15px; font-weight: 800; cursor: pointer; background: var(--gold); color: #fff; }
.ann-cta:active { transform: scale(.97); }
.ann-close { border: none; background: transparent; color: var(--gray2); font-size: 13px; padding: 4px; cursor: pointer; }
.ann-slots:empty { display: none; }
.ann-slots { padding: 4px 20px 0; }
.ann-slots .rpt-slots { justify-content: center; margin: 0; }
.ann-snooze { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; color: var(--gray2); cursor: pointer; user-select: none; padding: 2px 0 4px; }
.ann-snooze input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; margin: 0; flex: none; }


/* ── Card image overlays (Tianyao-style) ── */
.card-save {
    position: absolute; top: 6px; left: 6px; z-index: 3;
    width: 26px; height: 26px; border-radius: 50%; padding: 0;
    background: rgba(0,0,0,0.42); backdrop-filter: blur(4px);
    border: none; color: var(--white); font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.1s;
}
.card-save:active { transform: scale(0.85); }
.card-save.saved { color: #ff6b6b; }
.card-verified {
    position: absolute; top: 6px; right: 6px; z-index: 3;
    background: rgba(59,91,224,0.95); color: var(--white);
    font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 10px;
    backdrop-filter: blur(4px); pointer-events: none; letter-spacing: 0.02em;
}

/* Card info below image */
.card-body {
    padding: 7px 8px 9px;
    display: flex; flex-direction: column; gap: 4px;
}
.card-name-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 4px;
}
.card-name {
    font-size: 12px; font-weight: 700; color: var(--white); line-height: 1.3;
    letter-spacing: -0.01em; overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 1; -webkit-box-orient: vertical; flex: 1; word-break: break-all;
}
.card-price {
    font-size: 11px; font-weight: 700; color: var(--gold2);
    white-space: nowrap; flex-shrink: 0; letter-spacing: -0.01em;
}
.card-tags {
    display: flex; gap: 3px; flex-wrap: wrap; align-items: center;
}
.card-attr-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 6px;
}
.card-attrs {
    flex: 1; min-width: 0; font-size: 11px; font-weight: 600; color: var(--gold2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-stats {
    display: flex; gap: 10px; flex-shrink: 0; justify-content: flex-end;
    font-size: 10px; color: var(--gray2);
}
.card-stats span { display: inline-flex; align-items: center; gap: 3px; }
.card-stats .cs-ic { width: 12px; height: 12px; flex-shrink: 0; }
.card-tag {
    display: inline-flex; align-items: center; gap: 2px; padding: 1px 5px; border-radius: 5px;
    font-size: 9px; font-weight: 600; white-space: nowrap; flex-shrink: 0;
    border: 1px solid transparent;
}
.card-tag iconify-icon { flex-shrink: 0; }
.card-tag.gold  { color: var(--gold); border-color: rgba(59,91,224,0.3); background: rgba(59,91,224,0.10); }
.card-tag.green { color: #50c878; border-color: rgba(80,200,120,0.3); background: rgba(80,200,120,0.08); }
.card-tag.score { color: var(--gold); border-color: rgba(59,91,224,0.3); background: rgba(59,91,224,0.10); cursor: pointer; }
.card-tag.no-score { color: var(--gray2); border-color: var(--line); background: transparent; cursor: pointer; }
.card-tag.dist  { color: #50c8a0; border-color: rgba(80,200,160,0.3); background: rgba(80,200,160,0.08); }
.card-tag.attr  { color: #7ab8f5; border-color: rgba(100,150,255,0.25); background: rgba(100,150,255,0.08); }
.card-tag.fav   { color: #ff7070; border-color: rgba(220,50,50,0.3); background: rgba(220,50,50,0.08); }

/* ── Lightbox ── */
.lightbox {
    display: none; position: fixed; z-index: 9999; top:0;right:0;bottom:0;left:0;
    background: rgba(0,0,0,0.95); align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(6px);
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img, .lightbox video { max-width: 95%; max-height: 95%; object-fit: contain; border-radius: 12px; }
.close-btn { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(20,22,28,.62); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* ── Bottom Drawers (detail + review) ── */
.drawer-overlay {
    display: none; position: fixed; top:0;right:0;bottom:0;left:0;
    background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); z-index: 700;
}
.drawer-overlay.active { display: block; }

.detail-drawer {
    position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 680px;
    transform: translateX(-50%) translateY(100%);
    background: var(--bg); border-radius: 24px 24px 0 0;
    border-top: 1px solid var(--line2);
    max-height: 93vh; display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
    z-index: 701;
}
/* 阴影只在打开时加：收起态 translateY(100%) 藏在视口下方，但 60px 模糊阴影会漏进视口底部，
   浅色主题下就是压在底部导航上的那层灰渐变 */
.detail-drawer.active { transform: translateX(-50%) translateY(0); box-shadow: 0 -16px 60px rgba(0,0,0,0.8); }

.review-drawer {
    position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 680px;
    transform: translateX(-50%) translateY(100%);
    background: var(--bg); border-radius: 24px 24px 0 0;
    border-top: 1px solid var(--line2);
    max-height: 84vh; display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
    z-index: 801;
}
.review-drawer.active { transform: translateX(-50%) translateY(0); box-shadow: 0 -16px 60px rgba(0,0,0,0.8); }

.drawer-handle {
    width: 36px; height: 4px; background: var(--gray3);
    border-radius: 2px; margin: 12px auto 0; flex-shrink: 0;
}
.drawer-body { overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }

/* Description (详情简介，仍在用) */
.detail-desc {
    font-size: 14px; line-height: 1.8; color: var(--gray2);
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    letter-spacing: -0.005em;
}
.detail-desc.expanded { display: block; -webkit-line-clamp: unset; }
.detail-desc a { color: var(--gold); text-decoration: underline; font-weight: 500; }
.detail-desc-toggle { font-size: 13px; color: var(--gold); cursor: pointer; margin-top: 6px; display: inline-block; }

/* ── Review Drawer ── */
/* 评价抽屉浮在详情抽屉(701)之上，它的遮罩也要盖过详情抽屉，否则点空白处关不掉 */
#review-overlay.active { z-index: 800; }
.drawer-header { position: relative; padding: 16px 56px 14px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-title { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 3px; letter-spacing: -0.02em; }
.drawer-subtitle { font-size: 13px; color: var(--gray2); }
.drawer-close { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--line2); color: var(--gray1); display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; }
.drawer-close:active { transform: scale(0.92); }

/* ===== Provider detail — 分区卡片版 (superdesign) ===== */
.pd-hero { position: relative; width: 100%; height: clamp(260px, 68vw, 420px); background: var(--bg2); flex-shrink: 0; }
.pd-hero::after { content: ''; position: absolute; top:0;right:0;bottom:0;left:0; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 16%); }
/* 核心聚合卡 */
.pd-nm-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pd-nm { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.pd-nm iconify-icon { color: var(--gold); font-size: 19px; flex-shrink: 0; }
.pd-stat { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--gray2); margin-top: 8px; }
.pd-stat .s { display: inline-flex; align-items: center; gap: 4px; }
.pd-stat .s iconify-icon { font-size: 14px; }
.pd-stat .sc { color: var(--gold2); font-weight: 700; }
/* 服务流式 chips */
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chip2 { padding: 8px 14px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 999px; font-size: 13px; color: var(--gray1); }
/* 横滑相册 */
/* 大图下缩略图条：点小图切大图、滑大图高亮跟随（原「相册」卡职责并入此条） */
.pd-thumbs { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 10px 14px 0; position: relative; z-index: 4; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumbs .th { position: relative; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--bg2); cursor: pointer; border: 2px solid transparent; opacity: 0.55; transition: border-color 0.15s, opacity 0.15s; }
.pd-thumbs .th.on { border-color: var(--gold); opacity: 1; }
.pd-thumbs .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumbs .th .vbadge { position: absolute; right: 3px; bottom: 3px; font-size: 9px; color: var(--white); background: rgba(0,0,0,0.55); border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }
/* 联系分区 */
.pd-czone + .pd-czone { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pd-czone-head { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--gray2); text-transform: uppercase; margin-bottom: 10px; }
.pd-czone-head iconify-icon { font-size: 15px; color: var(--gold2); }
.pd-cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-cbtn { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 14px; text-decoration: none; cursor: pointer; min-width: 0; transition: border-color .15s, background .15s; }
.pd-cbtn:active { transform: scale(0.98); }
.pd-cbtn .em { font-size: 19px; flex-shrink: 0; line-height: 1; color: var(--gray1); display: inline-flex; }
.pd-cbtn .tx { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pd-cbtn .t { font-size: 13px; font-weight: 600; color: var(--gray1); }
.pd-cbtn .s { font-size: 11px; color: var(--gray3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-footer-main { display: flex; gap: 10px; align-items: center; }
.pd-hero .swiper, .pd-hero .swiper-slide { width: 100%; height: 100%; }
.pd-hero img, .pd-hero video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 竖版照片友好：hero 高度随首图比例自适应(JS 量图后一次写死 inline height，不做过渡——
   高度动画会逼整个抽屉每帧重排，低端机卡顿元凶)，每张图/视频 contain 完整显示，
   铺不满的边用同图模糊小图补——模糊由 CDN 出图(cdnImg blur 参数)，零运行时 GPU 滤镜开销 */
.pd-hm { position: relative; width: 100%; height: 100%; overflow: hidden; }
.pd-hm-bg { position: absolute; top:0;right:0;bottom:0;left:0; background-size: cover; background-position: center; pointer-events: none; }
.pd-hm-bg::after { content: ''; position: absolute; top:0;right:0;bottom:0;left:0; background: rgba(0,0,0,0.30); }
.pd-hero .pd-hm .pd-hm-fg { position: relative; z-index: 1; object-fit: contain; }
.pd-hero .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.pd-hero .swiper-pagination-bullet-active { background: var(--gold); }
.pd-hero-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: 14px 16px; background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent); }
.pd-circ-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.14); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pd-count { position: absolute; bottom: 30px; right: 14px; z-index: 3; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.pd-body { position: relative; z-index: 4; margin-top: 0; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.pd-body > [id^="pd-sec-"] { scroll-margin-top: 54px; }
.pd-card { background: var(--bg1); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.pd-price-col { text-align: right; flex-shrink: 0; }
.pd-price-big { font-size: 24px; font-weight: 700; color: var(--gold2); line-height: 1; letter-spacing: -0.02em; }
.pd-price-sub { font-size: 11px; color: var(--gray2); margin-top: 3px; }
.pd-addr { display: flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 14px; font-size: 13px; color: var(--gray1); }
.pd-addr .pin { flex-shrink: 0; }
.pd-dist { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.pd-dist iconify-icon { font-size: 13px; }
.pd-profile { display: flex; margin-top: 14px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pd-pf { flex: 1; text-align: center; padding: 10px 4px; min-width: 0; }
.pd-pf + .pd-pf { border-left: 1px solid var(--line); }
.pd-pf .v { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-pf .k { font-size: 11px; color: var(--gray2); margin-top: 3px; }
.pd-features { margin-top: 10px; padding: 10px 14px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--gray1); line-height: 1.6; }
.pd-sec-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pd-sec-head .ic { font-size: 16px; color: var(--gold2); display: inline-flex; align-items: center; }
.pd-sec-title { font-size: 14px; font-weight: 700; letter-spacing: 0.03em; }
.pd-sec-head .right { margin-left: auto; font-size: 12px; color: var(--gray2); }
/* 禁止事项 */
.pd-taboo .pd-sec-head iconify-icon { color: #e5484d; }
.pd-taboo-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-taboo-tag { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #e5484d; background: rgba(229,72,77,0.10); border: 1px solid rgba(229,72,77,0.28); }
.pd-taboo-tag iconify-icon { font-size: 14px; }
.pd-empty { color: var(--gray3); font-size: 13px; }
.pd-price-row { display: flex; justify-content: space-between; align-items: center; }
.pd-price-row .v { font-size: 18px; font-weight: 700; color: var(--gold2); }
.pd-price-note { font-size: 15px; font-weight: 600; color: var(--gold2); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.pd-price-note + .pd-price-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
/* 价格说明挂核心信息卡最底（简介后）：与上文虚线分隔；两次价叠在右上参考价下 */
.pd-price-mini { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pd-price-sub.p2 { color: var(--gold2); font-weight: 600; font-size: 12px; margin-top: 4px; }
.pd-score-row { display: flex; align-items: baseline; gap: 8px; }
.pd-score { font-size: 30px; font-weight: 700; color: var(--gold); letter-spacing: -0.02em; line-height: 1; }
.pd-review-btn { width: 100%; padding: 13px; margin-top: 14px; background: var(--gold-bg); border: 1px solid var(--gold-border); color: var(--gold); font-weight: 700; font-size: 14px; border-radius: 14px; text-align: center; cursor: pointer; }
.pd-footer { position: sticky; bottom: 0; z-index: 6; background: var(--bg); border-top: 1px solid var(--line); margin-top: 14px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
.pd-fav { width: 48px; height: 48px; flex-shrink: 0; background: var(--bg2); border: 1px solid var(--line2); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: var(--gray1); cursor: pointer; }
.pd-fav iconify-icon { font-size: 21px; }
.pd-fav.on { background: rgba(220,50,50,0.15); border-color: rgba(220,80,80,0.5); color: #ff6b6b; }
/* 底栏打赏钮（人气送礼弹层入口）：金蓝渐变高亮，和收藏/投票同规格 */
.pd-fav.pd-tip { background: linear-gradient(135deg, rgba(59,91,224,.22), rgba(232,169,10,.18)); border-color: rgba(232,169,10,.5); color: #e8a90a; }
html.light .pd-fav.pd-tip { background: linear-gradient(135deg, rgba(59,91,224,.10), rgba(200,134,10,.10)); border-color: rgba(200,134,10,.45); color: #c8860a; }
.pd-chat { flex: 1; height: 48px; background: var(--gold); color: var(--white); border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 8px 20px rgba(59,91,224,0.25); }
.pd-chat iconify-icon { font-size: 18px; }

.score-summary {
    display: flex; align-items: center; gap: 16px;
    padding: 16px; background: var(--bg2); border-radius: 16px;
    border: 1px solid var(--line); margin-bottom: 16px;
}
.score-summary-big { font-size: 48px; font-weight: 700; color: var(--gold); letter-spacing: -0.04em; line-height: 1; }
.score-summary-info { flex: 1; }
.score-summary-label { font-size: 13px; color: var(--gray2); margin-bottom: 5px; }
.score-summary-stars { color: var(--gold); font-size: 14px; }
.score-summary-count { font-size: 12px; color: var(--gray2); margin-top: 5px; }

.review-card {
    background: var(--bg2); border: 1px solid var(--line);
    border-radius: 16px; padding: 16px; margin-bottom: 12px;
}
.review-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-score-big { font-size: 24px; font-weight: 700; color: var(--gold); letter-spacing: -0.03em; }
.review-score-big span { font-size: 13px; color: var(--gray2); font-weight: 400; }
.review-tier { font-size: 16px; font-weight: 700; color: var(--gold); background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 9px; padding: 3px 11px; letter-spacing: 0.01em; }
.review-date { font-size: 12px; color: var(--gray3); }
.rep-author { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 999px; padding: 2px 8px; vertical-align: middle; white-space: nowrap; }
.rep-author-at { margin-left: 7px; color: var(--gold); font-weight: 600; text-decoration: none; }
/* 券区「提前抢/称号」绿标签：深色浅绿字，浅色换深绿字防白底糊字 */
.cp-early { font-size: 10px; font-weight: 700; white-space: nowrap; color: #7ee0a0; background: rgba(126,224,160,.12); border: 1px solid rgba(126,224,160,.32); border-radius: 6px; padding: 1px 6px; }
html.light .cp-early { color: #0f8a44; background: rgba(15,138,68,.10); border-color: rgba(15,138,68,.34); }
.rep-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rep-tag { font-size: 12px; color: var(--gold); background: var(--gold-bg); border: 1px solid var(--gold-border); padding: 3px 10px; border-radius: 999px; }
.review-meta-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.review-meta-chip {
    font-size: 11px; color: var(--gray2); background: var(--bg3);
    padding: 2px 9px; border-radius: 8px;
}
.review-meta-chip.gold { color: var(--gold); }
.review-fields { display: flex; flex-direction: column; gap: 6px; }
.review-field { font-size: 15px; color: var(--gray1); line-height: 1.9; letter-spacing: 0.005em; }
.review-field-label { color: var(--gold); font-weight: 600; margin-right: 5px; }
.review-divider { border: none; border-top: 1px solid var(--line); margin: 10px 0; }
/* 报告长文易读性：一句话点评前置引言 + 正文分段 + 超长折叠展开 */
.rep-quote { margin: 2px 0 10px; padding: 8px 12px; font-size: 15px; font-weight: 600; color: var(--gold2); line-height: 1.7; background: var(--gold-bg); border-left: 3px solid var(--gold); border-radius: 4px 12px 12px 4px; }
.rep-quote-label { display: block; font-size: 11px; font-weight: 700; color: var(--gray2); margin-bottom: 3px; letter-spacing: 0.05em; }
.rep-body { margin-top: 2px; }
.rep-body p { margin: 0 0 9px; }
.rep-body p:last-child { margin-bottom: 0; }
.rep-clamp { position: relative; max-height: 208px; overflow: hidden; }  /* ≈7行（15px×1.9） */
.rep-clamp::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: linear-gradient(transparent, var(--bg2)); pointer-events: none; }
.rep-expand { display: inline-flex; align-items: center; gap: 2px; margin-top: 7px; font-size: 13px; font-weight: 700; color: var(--gold); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rep-expand iconify-icon { font-size: 15px; }
.drawer-loading { text-align: center; color: var(--gray2); padding: 40px 0; font-size: 14px; }
.no-reviews { text-align: center; color: var(--gray2); padding: 40px 0; font-size: 14px; }
/* 报告：人照实拍 + 温馨提示 + 查看全部 */
.rep-shots { display: flex; gap: 7px; margin: 10px 0 4px; flex-wrap: wrap; }
.rep-shots img { width: 78px; height: 104px; border-radius: 10px; object-fit: cover; background: var(--bg3); border: 1px solid var(--line); cursor: pointer; }
.rep-tip { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line2); font-size: 12.5px; color: var(--gray2); line-height: 1.6; }
.rep-tip .review-field-label { color: var(--gray2); }
/* 报告卡：右上「分享」按钮 + 评分徽章并排 */
.review-hdr-right { display: flex; align-items: center; gap: 10px; }
.rep-share { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 999px; padding: 5px 11px; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.rep-share:active { transform: scale(0.96); }
.rep-share iconify-icon { font-size: 13px; }
/* 从分享链接进入时高亮那份报告 */
.review-card.rep-flash { animation: repFlash 2.4s ease-out 1 both; }
@keyframes repFlash { 0%,55% { box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(59,91,224,0.5); border-color: var(--gold); } 100% { box-shadow: 0 0 0 0 transparent; border-color: var(--line); } }
.pd-report-all { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 700; color: var(--gold); background: rgba(59,91,224,0.10); border: 1px solid rgba(59,91,224,0.25); border-radius: 12px; padding: 11px; cursor: pointer; }
.pd-report-all:active { transform: scale(0.99); }
.pd-report-more { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--gray2); cursor: pointer; padding: 4px; }
.pd-report-more:active { color: var(--gray1); }

/* ── Bottom Nav ── */
.bottom-nav {
    display: none; position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 1200px; background: rgba(10,11,14,0.94);
    border-top: 1px solid var(--line); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); z-index: 600;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav-items { display: flex; }
.nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 10px 0 8px; cursor: pointer;
    color: var(--gray3); font-size: 11px; font-weight: 500; gap: 3px;
    transition: color 0.2s; user-select: none; letter-spacing: 0.02em;
}
.nav-icon { font-size: 22px; line-height: 1; }
.nav-item.active { color: var(--gold); }
body.has-nav { padding-bottom: 130px; }
/* 回到顶部按钮：向下滚动出现，浮在底部导航上方 */
.to-top {
    position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(26,28,36,0.92); border: 1px solid var(--line2); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    cursor: pointer; z-index: 590; box-shadow: 0 6px 20px rgba(0,0,0,0.45);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.9);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:active { transform: scale(0.9); }

/* ── Page sections ── */
#fav-page { display: none; }
#fav-page.show { display: block; }
#main-page.hidden { display: none; }

/* Fav empty state */
.fav-empty { text-align: center; color: var(--gray2); margin-top: 80px; font-size: 14px; line-height: 2.5; }
.fav-empty-icon { font-size: 52px; margin-bottom: 6px; }

/* ── Me Page ── */
#me-page { display: none; padding: 16px 0; }
.me-profile-card {
    background: var(--bg2); border-radius: 16px; padding: 18px;
    margin-bottom: 14px; border: 1px solid var(--line);
}
.me-avatar {
    width: 52px; height: 52px; border-radius: 50%; background: var(--bg3);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 600; color: var(--white); flex-shrink: 0;
    border: 2px solid var(--gold);
}
.me-menu { background: var(--bg2); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; }
.me-menu-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.me-menu-item:last-child { border-bottom: none; }
.me-menu-label { font-size: 15px; font-weight: 500; color: var(--white); letter-spacing: -0.01em; }
.me-menu-arrow { color: var(--gray3); font-size: 18px; }
.me-logout {
    display: none; background: var(--bg2); border-radius: 16px;
    overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px;
}
.me-logout-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 16px; cursor: pointer; color: #e85555; font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
}
.merchant-entry {
    display: none; background: linear-gradient(135deg,#1e3a5f,#2340BE);
    border-radius: 16px; padding: 18px; margin-bottom: 14px; cursor: pointer;
}

/* ── Toast ── */
#toast {
    position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
    background: var(--bg3); color: var(--white);
    padding: 10px 22px; border-radius: 24px; font-size: 14px; font-weight: 500;
    z-index: 9999; opacity: 0; transition: opacity 0.2s;
    pointer-events: none; white-space: normal; max-width: min(86vw, 420px);
    text-align: center; line-height: 1.5;
    border: 1px solid var(--line2); backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5); letter-spacing: -0.01em;
}
#toast.show { opacity: 1; }

/* ── Telegram Login Banner ── */
/* ── Telegram entry icon + popup ── */
.tg-entry {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; padding: 0;
    border: none; background: transparent;
    cursor: pointer; position: relative;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
    transition: transform 0.1s;
}
.tg-entry:active { transform: scale(0.9); }
.tg-entry .dot {
    position: absolute; top: -1px; right: -1px; width: 9px; height: 9px;
    border-radius: 50%; background: #4da3ff; border: 2px solid var(--bg);
}
.tg-popup-overlay { position: fixed; top:0;right:0;bottom:0;left:0; z-index: 500; display: none; }
.tg-popup-overlay.open { display: block; }
.tg-popup {
    position: absolute; top: 54px; right: 14px;
    width: 250px; max-width: calc(100vw - 28px);
    background: var(--bg1); border: 1px solid var(--line2); border-radius: 16px;
    padding: 14px; box-shadow: 0 14px 44px rgba(0,0,0,0.65);
}
.tg-popup-title { font-size: 12px; color: var(--gray2); margin: 0 0 10px; }
.tg-popup-action {
    display: flex; align-items: center; gap: 10px; padding: 11px 12px;
    border-radius: 11px; background: var(--bg2); color: var(--white);
    text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 8px;
    border: 1px solid var(--line);
}
.tg-popup-action .ic { font-size: 17px; }
.tg-popup-login { display: flex; justify-content: center; min-height: 30px; margin-top: 2px; }
.tg-popup-loggedin { font-size: 13px; color: var(--green); text-align: center; padding: 8px 0 2px; }

/* ── Friend links (城市页) ── */
.friend-links { margin-top: 14px; }
.friend-links-title {
    font-size: 13px; font-weight: 600; color: var(--gold2);
    letter-spacing: 0.04em; margin: 4px 0 12px;
}
.friend-links-empty { text-align: center; color: var(--gray3); padding: 50px 16px; font-size: 13px; line-height: 1.8; }
.friend-links-empty .ic { font-size: 40px; display: block; margin-bottom: 10px; }
.friend-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .friend-links-grid { grid-template-columns: repeat(3, 1fr); } }
.friend-link {
    display: flex; align-items: center; gap: 10px; padding: 11px 12px;
    background: var(--bg1); border: 1px solid var(--line); border-radius: 12px;
    text-decoration: none; transition: border-color 0.2s, transform 0.12s;
    min-width: 0;
}
.friend-link:active { transform: scale(0.98); }
@media (hover: hover) { .friend-link:hover { border-color: var(--gold-border); } }
.friend-link .fl-icon {
    width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
    background: var(--gold-bg); color: var(--gold2);
    display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
}
.friend-link .fl-text { min-width: 0; flex: 1; }
.friend-link .fl-name { display: block; font-size: 13px; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.friend-link .fl-desc { display: block; font-size: 11px; color: var(--gray2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.friend-links-note { text-align: center; font-size: 10px; color: var(--gray3); margin-top: 14px; }

/* Scroll sentinel */
#scroll-sentinel { text-align: center; color: var(--gray2); margin: 20px 0; padding: 16px 0; font-size: 13px; display: none; }

/* ════════ 发现页 ════════ */
#discover-page { padding-top: 18px; }
.disc-title { font-size: 24px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px; }
.disc-sec { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; margin: 22px 0 12px; }
.disc-sec .rdot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
/* 我的收藏入口 */
.disc-fav { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--bg1); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color 0.2s, transform 0.1s; }
.disc-fav:active { transform: scale(0.99); }
.disc-fav-ic { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #ff6b6b; background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.3); }
.disc-fav-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.disc-fav-text .t { font-size: 15px; font-weight: 600; color: var(--white); }
.disc-fav-text .s { font-size: 12px; color: var(--gray2); }
.disc-fav-arrow { color: var(--gray3); font-size: 22px; flex-shrink: 0; }
/* 城市卡片网格 */
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
/* 精品城市卡：有内容=蓝色微渐变+实心蓝首字徽章+统计药丸+大水印；无内容=暗淡占位 */
.city-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: linear-gradient(135deg, rgba(59,91,224,0.14), var(--bg1) 62%); border: 1px solid rgba(59,91,224,0.22); border-radius: 18px; cursor: pointer; overflow: hidden; transition: border-color 0.2s, transform 0.1s; }
.city-card:active { transform: scale(0.98); }
@media (hover: hover) { .city-card:hover { border-color: var(--gold-border); } }
.city-ic { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 700; color: #fff; background: var(--gold); box-shadow: 0 4px 12px rgba(59,91,224,0.32); }
.city-name { font-size: 16px; font-weight: 700; color: var(--white); }
.city-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.city-chip { font-size: 10px; color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); padding: 2px 7px; border-radius: 7px; white-space: nowrap; }
.city-wm { position: absolute; right: -8px; bottom: -14px; font-size: 64px; font-weight: 700; font-style: italic; color: rgba(255,255,255,0.035); pointer-events: none; line-height: 1; }
.city-card.empty { background: var(--bg1); border-color: var(--line); opacity: 0.5; }
.city-card.empty .city-ic { background: var(--bg3); color: var(--gray3); box-shadow: none; }
.city-card.empty .city-wm { display: none; }
.city-soon { font-size: 11px; color: var(--gray3); margin-top: 5px; letter-spacing: 0.04em; }
/* 发现页副标题 */
.disc-subtitle { font-size: 13px; color: var(--gray2); margin: -10px 0 4px; }
/* 玩法·活动 2列网格卡 */
.disc-play-scroll { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 2px; }
/* 发现页玩法宫格（4列小图标，替代两列大卡——13个入口一屏看全，零隐藏） */
.disc-play-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 4px; padding: 2px; }
.dp-sec { margin: 20px 0 10px; }                              /* 分组小标题（玩法 / 榜单·图鉴）间距 */
#disc-play-scroll .dp-sec:first-child { margin-top: 10px; }   /* 第一组紧跟焦点横幅，收紧上间距 */
.dp-cell { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 2px; border-radius: 14px; cursor: pointer; transition: transform .1s; }
.dp-cell:active { transform: scale(.93); }
.dp-ic { position: relative; width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 23px; }
.dp-dot { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: #ff5a5f; border: 2px solid var(--bg, #101218); }
html.light .dp-dot { border-color: #f8f9fb; }
.dp-t { font-size: 11.5px; font-weight: 600; color: var(--white); text-align: center; line-height: 1.2; }
/* 焦点横幅「本期看点」：赛事票根（票身大数字 + 撕裂线 + 副券 CTA；superdesign 方向A 2026-09-17，替换原渐变底+图标块+药丸三件套） */
/* Superdesign：平台服务近况 */
.disc-focus{background:var(--bg1);border:1px solid var(--line2);border-radius:16px;padding:14px 16px;margin-bottom:16px;box-sizing:border-box}
html.light .disc-focus{box-shadow:0 2px 14px rgba(20,30,60,.06)}
.ds-head,.ds-footer{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ds-title{font-size:11px;font-weight:700;color:var(--gray2);border-left:3px solid var(--blue);padding-left:6px}
.ds-date{font-size:10px;color:var(--gray2)}
.ds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}
.ds-val{font-size:22px;font-weight:800;color:var(--white);font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap}
.ds-val small{font-size:10px;color:var(--gray2);margin-left:2px}
.ds-label{font-size:10px;color:var(--gray2);margin-top:2px}
.ds-footer{padding-top:8px;border-top:1px solid var(--line);flex-wrap:wrap}
.ds-note{font-size:9px;color:var(--gray2)}
.ds-links{display:flex;gap:12px;margin-left:auto}
.ds-links button{border:0;padding:3px 0;background:none;color:var(--blue2);font:inherit;font-size:10px;font-weight:700;cursor:pointer}

.disc-play-card { position: relative; background: linear-gradient(150deg, rgba(59,91,224,0.16), var(--bg1) 60%); border: 1px solid rgba(59,91,224,0.22); border-radius: 20px; padding: 16px; cursor: pointer; transition: transform 0.1s; }
.disc-play-card:active { transform: scale(0.98); }
.disc-play-hot { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; color: #fff; background: linear-gradient(135deg,#ff5a5f,#ff8a3d); border-radius: 7px; padding: 3px 8px; }
.disc-play-ic { width: 48px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 25px; }
.disc-play-t { font-size: 16px; font-weight: 800; color: var(--white); margin-top: 12px; letter-spacing: -0.01em; }
.disc-play-s { font-size: 12px; color: var(--gray2); margin-top: 3px; }
.disc-play-btn { margin-top: 14px; text-align: center; border-radius: 12px; padding: 9px; font-size: 13px; font-weight: 800; color: #fff; background: var(--blue); box-shadow: 0 4px 12px rgba(59,91,224,0.3); }
/* 优惠专区 / 荣誉榜 2列入口 */
.disc-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.disc-feat { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--bg1); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: transform 0.1s; }
.disc-feat:active { transform: scale(0.98); }
.disc-feat-ic { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 21px; }
.disc-feat-tx .t { font-size: 14px; font-weight: 800; color: var(--white); }
.disc-feat-tx .s { font-size: 11px; color: var(--gray2); margin-top: 2px; }
/* 横跨整行的入口卡（报告合集）：图标在左、文字居中撑开、右侧箭头 */
.disc-feat-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
.disc-feat-wide .disc-feat-tx { flex: 1; min-width: 0; }
.disc-feat-wide .disc-feat-go { color: var(--gray3); font-size: 20px; flex: none; }
/* 我的收藏 / 我的卡券 2列 */
.disc-mine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.disc-mine { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--bg1); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: transform 0.1s; }
.disc-mine:active { transform: scale(0.98); }
.disc-mine-ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.disc-mine-t { font-size: 14px; font-weight: 700; color: var(--white); }
/* 城市详情返回栏 */
.cd-back { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 0 10px; }
.cd-back .cd-arrow { font-size: 26px; line-height: 1; color: var(--gray1); }
.cd-back .cd-city-name { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
/* 频道 / 群组 链接行（通讯录式：大圆角头像 + 加粗名 + 药丸标签） */
.link-list { display: flex; flex-direction: column; gap: 8px; }
.link-row { display: flex; align-items: center; gap: 13px; padding: 12px; background: var(--bg1); border: 1px solid rgba(255,255,255,0.06); border-radius: 18px; text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.1s; }
.link-row:active { transform: scale(0.99); background: var(--bg2); }
@media (hover: hover) { .link-row:hover { border-color: var(--gold-border); } }
.lr-ic { width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; object-fit: cover; }
.lr-ic-txt { display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; color: var(--white); background: linear-gradient(135deg, var(--gold), var(--gold2)); box-shadow: 0 4px 12px rgba(59,91,224,0.22); }
.lr-row-grp .lr-ic-txt { background: var(--bg3); color: var(--gray1); box-shadow: none; border: 1px solid var(--line2); }
.lr-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lr-name { font-size: 15px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-desc { font-size: 12px; color: var(--gray2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-tag { flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); padding: 3px 10px; border-radius: 999px; }
.lr-tag-grp { color: var(--gray1); background: rgba(255,255,255,0.05); border-color: var(--line2); }

/* ════════ Home redesign (blue) ════════ */
/* Hero carousel */
.hero {
    position: relative; margin: 0 -16px; height: 230px; overflow: hidden;
    background: var(--blue-deep);
}
.hero-track { position: absolute; top:0;right:0;bottom:0;left:0; }
.hero-slide {
    position: absolute; top:0;right:0;bottom:0;left:0; opacity: 0; pointer-events: none;
    display: flex; flex-direction: column; justify-content: center; padding: 0 24px;
    background: linear-gradient(135deg, #1b3a8c 0%, #24308f 55%, #3b5be0 130%);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
}
.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 2; }
.hero-slide .hs-title { font-size: 30px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-top: 18px; }
.hero-slide .hs-sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; }
.hero-slide .hs-watermark {
    position: absolute; bottom: 44px; right: 22px; font-size: 38px; font-weight: 800;
    font-style: italic; letter-spacing: -0.04em; color: rgba(255,255,255,0.10);
    pointer-events: none; user-select: none;
}
/* 后台上传的图片 banner */
.hero-slide-img { padding: 0; background: var(--bg1); }
.hero-slide .hs-img { position: absolute; top:0;right:0;bottom:0;left:0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide-img::after {
    content: ''; position: absolute; top:0;right:0;bottom:0;left:0; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 45%);
    pointer-events: none;
}
.hero-slide .hs-overlay { position: absolute; left: 24px; bottom: 42px; z-index: 2; pointer-events: none; }
.hero-slide .hs-overlay .hs-title { margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,0.65); }
.hero-slide .hs-overlay .hs-sub { margin-top: 4px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 8px rgba(0,0,0,0.65); }
/* top overlay: search + logo */
.hero-top {
    position: absolute; top: 0; left: 0; right: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px 0;
}
.hero-search { position: relative; width: 172px; }
.hero-search .si { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 14px; color: rgba(255,255,255,0.5); pointer-events: none; }
.hero-filter-btn { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.85); background: var(--gold); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: 0 2px 10px rgba(59,91,224,0.55); }
.hero-filter-btn:active { transform: translateY(-50%) scale(0.9); }
.hero-filter-btn svg { width: 14px; height: 14px; }
.hfb-dot { position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: #ff5b5b; border: 1.5px solid var(--white); display: none; }
/* 筛选底部弹层 */
.fsheet-backdrop { position: fixed; top:0;right:0;bottom:0;left:0; background: rgba(0,0,0,0.5); z-index: 800; opacity: 0; visibility: hidden; transition: opacity 0.25s; }
.fsheet-backdrop.show { opacity: 1; visibility: visible; }
.fsheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 801; background: var(--bg1); border-radius: 20px 20px 0 0; border-top: 1px solid var(--line); transform: translateY(100%); transition: transform 0.28s cubic-bezier(.4,0,.2,1); max-height: 80vh; display: flex; flex-direction: column; }
.fsheet.open { transform: translateY(0); }
.fsheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; font-size: 16px; font-weight: 800; color: var(--white); }
.fsheet-x { background: none; border: none; color: var(--gray2); font-size: 17px; cursor: pointer; padding: 4px 6px; line-height: 1; }
.fsheet-body { overflow-y: auto; padding: 6px 18px 4px; }
.fsheet-group { margin-bottom: 18px; }
.fsheet-gt { font-size: 13px; font-weight: 600; color: var(--gray2); margin-bottom: 10px; }
.fsheet-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.fsheet-opt { padding: 9px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--white); background: var(--bg2); border: 1px solid var(--line); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.fsheet-opt.active { background: var(--gold-bg); border-color: var(--gold-border); color: var(--gold2); }
.fsheet-foot { display: flex; gap: 12px; padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.fsheet-reset { flex: 1; padding: 13px; border-radius: 13px; background: var(--bg2); border: 1px solid var(--line2); color: var(--gray1); font-size: 15px; font-weight: 600; cursor: pointer; }
.fsheet-done { flex: 2; padding: 13px; border-radius: 13px; background: var(--gold); border: none; color: var(--white); font-size: 15px; font-weight: 700; cursor: pointer; }
.hero-search input {
    width: 100%; height: 34px; border-radius: 18px; padding: 0 36px 0 30px;
    background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.22);
    color: var(--white); font-size: 12px; font-family: var(--font); outline: none;
    backdrop-filter: blur(8px); transition: background 0.2s;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.6); }
.hero-search input:focus { background: rgba(0,0,0,0.3); }
.hero-right { display: flex; align-items: center; gap: 8px; }
.hero-logo {
    display: flex; align-items: center; gap: 6px; background: var(--white);
    padding: 5px 10px 5px 6px; border-radius: 12px; text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.hero-logo img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.hero-logo span { color: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: -0.01em; }
/* bottom overlay: dots + guarantee */
.hero-bottom {
    position: absolute; bottom: 14px; left: 16px; right: 16px; z-index: 10;
    display: flex; align-items: center; justify-content: space-between;
}
.hero-dots { display: flex; gap: 5px; }
.hero-dots .d { width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.45); transition: all 0.3s; cursor: pointer; }
.hero-dots .d.active { width: 18px; background: var(--white); }
.hero-badge {
    display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600;
    color: var(--gold); letter-spacing: 0.03em; background: var(--white);
    border: 1px solid var(--white); padding: 4px 9px; border-radius: 7px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.hero-badge iconify-icon { font-size: 12px; }
/* 首页常驻积分胶囊（登录后显示，点进积分页）——品牌色实心，文字恒白 */
.hero-pts {
    display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800;
    color: #fff; background: linear-gradient(135deg, #6a5cff, #8aa0ff); letter-spacing: 0.02em;
    padding: 4px 10px; border-radius: 7px; box-shadow: 0 1px 6px rgba(0,0,0,0.25); cursor: pointer; white-space: nowrap;
}
.hero-pts iconify-icon { font-size: 12px; }
.hero-pts:active { transform: scale(0.96); }

/* 首页紧凑导航：每行四个地区，保留全部城市/地区入口 */
.quick-sec { margin-top: 10px; }
.district-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.district-btn {
    min-width: 0; min-height: 32px;
    display: flex; align-items: center; justify-content: center; gap: 3px; padding: 5px 3px;
    background: var(--bg1); border: 1px solid var(--line); border-radius: 8px;
    color: var(--white); font-size: 12px; line-height: 20px; font-weight: 600; font-family: var(--font);
    cursor: pointer; transition: transform 0.1s, border-color 0.2s, background 0.2s; user-select: none;
    overflow-wrap: anywhere;
}
.district-btn:active { transform: scale(0.95); }
.district-btn.active {
    background: var(--gold-bg); border-color: var(--gold-border); color: var(--gold2);
}
/* 多城市入口占一个格子，沿用城市选择弹层 */
.district-grid .district-btn.city-switch { gap: 2px; white-space: nowrap; font-weight: 700; background: var(--gold-bg); border-color: var(--gold-border); color: var(--gold2); }
.district-grid .district-btn.city-switch iconify-icon { font-size: 12px; flex-shrink: 0; }
/* 城市切换底部弹层 */
.city-sheet { width: 100%; background: var(--bg2); border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
.city-sheet-title { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.city-sheet-title iconify-icon { color: var(--gold2); font-size: 16px; }
#city-sheet-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.city-opt { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; background: var(--bg1); border: 1px solid var(--line); border-radius: 13px; color: var(--white); font-size: 14.5px; font-weight: 700; font-family: var(--font); cursor: pointer; }
.city-opt.active { background: var(--gold-bg); border-color: var(--gold-border); color: var(--gold2); }
.city-opt-cur { font-size: 11px; font-weight: 600; color: var(--gold2); opacity: .85; }
html.light .city-sheet { background: #fff; }
/* 地区冲刺活动：活动地区按钮火焰高亮 + 角标（如「双倍」），活动到期自动恢复普通样式 */
.district-btn.district-hot {
    position: relative; overflow: visible;
    border-color: rgba(255, 122, 47, .55); color: #ff9a5c;
    background: linear-gradient(135deg, rgba(255,122,47,.16), rgba(255,61,61,.10));
}
.district-btn.district-hot iconify-icon { font-size: 14px; margin-right: 3px; color: #ff7a2f; }
.district-hot-badge {
    position: absolute; top: -7px; right: -4px; padding: 1px 6px; border-radius: 8px;
    background: linear-gradient(135deg, #ff7a2f, #ff3d3d); color: #fff;
    font-size: 10px; font-weight: 700; line-height: 15px; letter-spacing: .5px;
    box-shadow: 0 2px 6px rgba(255, 90, 40, .4);
}
.district-btn.district-hot.active {
    background: linear-gradient(135deg, rgba(255,122,47,.28), rgba(255,61,61,.18));
    border-color: #ff7a2f; color: #ffb076;
}
html.light .district-btn.district-hot { color: #d2571a; background: linear-gradient(135deg, rgba(255,122,47,.12), rgba(255,61,61,.07)); }
html.light .district-btn.district-hot.active { color: #b64a12; border-color: #e06a2a; }
/* 地区冲刺横条：地区按钮上方一条纯展示通告（无按钮无箭头，2026-09-14 改版）——文案后台可配 + 倒计时药丸 */
.region-event-strip {
    display: flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 9px 11px;
    border-radius: 12px; border: 1px solid rgba(255, 122, 47, .28);
    background: linear-gradient(115deg, rgba(255,122,47,.11), transparent 62%), var(--bg1);
    color: rgba(255,176,118,.80); font-size: 12.5px; font-weight: 600; line-height: 1.45;
}
.region-event-strip iconify-icon { font-size: 15px; color: #ff7a2f; flex-shrink: 0; }
.region-event-strip b { font-weight: 800; color: #ffb076; flex: none; }
.region-event-strip .res-tx { flex: 1; min-width: 0; }
.region-event-strip .res-cd {
    flex: none; margin-left: auto; padding: 3px 9px; border-radius: 999px;
    border: 1px solid rgba(255,122,47,.28); background: rgba(255,122,47,.08);
    color: #ffb076; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
html.light .region-event-strip { color: rgba(182,74,18,.85); border-color: rgba(210,87,26,.30); background: linear-gradient(115deg, rgba(255,122,47,.09), transparent 62%), var(--bg1); }
html.light .region-event-strip b, html.light .region-event-strip .res-cd { color: #b64a12; }
html.light .region-event-strip .res-cd { border-color: rgba(210,87,26,.30); }

/* 首页通告保持一行；较长的后台自定义文案可横向滑动查看 */
#main-page #region-event-strip { min-height: 30px; gap: 5px; margin-bottom: 9px; padding: 5px 8px; border-radius: 7px; font-size: 10px; }
#main-page #region-event-strip > iconify-icon { font-size: 13px; }
#main-page #region-event-strip b { font-size: 11px; max-width: 30%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#main-page #region-event-strip .res-tx { white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
#main-page #region-event-strip .res-tx::-webkit-scrollbar { display: none; }
#main-page #region-event-strip .res-cd { padding: 0; border: 0; background: none; font-size: 9px; white-space: nowrap; }
#district-grid .district-hot-badge { position: static; flex: none; padding: 1px 3px; border-radius: 3px; font-size: 8px; line-height: 12px; letter-spacing: 0; box-shadow: none; }
#district-grid .district-hot > iconify-icon { display: none; }

/* 分类保留图标与名称，移除大底框 */
.cat-sec { margin-top: 11px; margin-bottom: 10px; }
.cat-row { display: flex; gap: 6px; }
.cat-item {
    flex: 1; min-width: 0; min-height: 43px; padding: 2px 0; border-radius: 7px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    cursor: pointer; background: none; border: none; font-family: var(--font);
    transition: transform 0.1s; user-select: none;
}
.cat-item:active { transform: scale(0.95); }
.cat-ico { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.cat-ico iconify-icon { font-size: 20px; color: var(--gold2); }
.cat-ico .cat-emoji { font-size: 20px; line-height: 1; }
.cat-label { font-size: 10px; color: var(--gray1); white-space: nowrap; }
.cat-item.active { background: var(--gold-bg); }
.cat-item.active .cat-label { color: var(--gold2); font-weight: 600; }

/* sticky filter bar tweak when used standalone */
.sticky-header.sticky-filters { margin-top: 16px; padding-top: 8px; }

/* Recommend heading */
.reco-title {
    display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700;
    color: var(--white); letter-spacing: -0.02em; margin: 18px 0 2px;
}
.reco-title .rdot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ════════ 榜单页（领奖台版） ════════ */
:root { --rk-gold:#facc15; --rk-silver:#e5e7eb; --rk-bronze:#d97706; }
#rank-page { display: none; }
.rk-header {
    position: sticky; top: 0; z-index: 50; background: var(--black);
    margin: 0 -16px; padding: 10px 0 8px; border-bottom: 1px solid var(--line);
}
.rk-bar { display: flex; align-items: center; gap: 6px; padding: 0 12px 8px; }
.rk-back {
    flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; line-height: 1; color: var(--gray1); background: var(--bg1);
    border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
}
.rk-back:active { transform: scale(0.92); }
.rk-share {
    flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 9px; cursor: pointer;
}
.rk-share:active { transform: scale(0.92); }
.rk-tabs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex: 1; }
.rk-tabs::-webkit-scrollbar { display: none; }
.rk-tab {
    white-space: nowrap; padding: 6px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
    color: var(--gray2); background: var(--bg1); border: 1px solid var(--line); cursor: pointer; transition: all .15s;
}
.rk-tab.active { background: var(--gold); color: var(--white); border-color: var(--gold); box-shadow: 0 2px 10px rgba(59,91,224,0.35); }
.rk-sub { padding: 0 14px; font-size: 11px; color: var(--gray2); letter-spacing: 0.04em; }

.rk-body { min-height: 60vh; }

/* 颁奖台 */
.rk-podium { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 26px 8px 8px; overflow: hidden; }
.rk-podium::before { content:''; position: absolute; top: 40%; left: 50%; width: 150%; height: 150%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(59,91,224,0.16) 0%, transparent 62%); pointer-events: none; }
.rk-pod { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; cursor: pointer; }
.rk-pod.p1 { max-width: 124px; margin-bottom: -2px; }
.rk-pod.p2 { max-width: 102px; }
.rk-pod.p3 { max-width: 92px; }
/* 头像外层(不裁剪)：放皇冠+名次徽章；内层 .rk-pod-av 才裁圆 */
.rk-pod-avwrap { position: relative; }
.rk-pod.p1 .rk-pod-avwrap { width: 80px; height: 80px; }
.rk-pod.p2 .rk-pod-avwrap { width: 64px; height: 64px; }
.rk-pod.p3 .rk-pod-avwrap { width: 56px; height: 56px; }
.rk-pod:active .rk-pod-av { transform: scale(0.95); }
.rk-pod-av { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--bg2); transition: transform .15s; }
.rk-pod-av img, .rk-pod-av video { width: 100%; height: 100%; object-fit: cover; }
.rk-pod-av .ph { position: absolute; top:0;right:0;bottom:0;left:0; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--gray3); }
.rk-pod.p1 .rk-pod-av { border: 3px solid var(--rk-gold); box-shadow: 0 0 24px rgba(250,204,21,0.30); }
.rk-pod.p2 .rk-pod-av { border: 2px solid var(--rk-silver); box-shadow: 0 0 14px rgba(229,231,235,0.16); }
.rk-pod.p3 .rk-pod-av { border: 2px solid var(--rk-bronze); box-shadow: 0 0 12px rgba(217,119,6,0.16); }
.rk-crown { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 22px; z-index: 3; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.rk-pod-no { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); z-index: 3; min-width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; line-height: 1; padding: 0 6px; border-radius: 999px; border: 2px solid var(--black); color: #000; }
.rk-pod.p1 .rk-pod-no { background: var(--rk-gold); min-width: 26px; height: 26px; font-size: 15px; }
.rk-pod.p2 .rk-pod-no { background: var(--rk-silver); }
.rk-pod.p3 .rk-pod-no { background: var(--rk-bronze); color: var(--white); }
.rk-pod-name { margin-top: 16px; font-weight: 700; color: var(--white); text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-pod.p1 .rk-pod-name { font-size: 13px; }
.rk-pod.p2 .rk-pod-name, .rk-pod.p3 .rk-pod-name { font-size: 11px; }
.rk-pod-price { margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--gold2); }
.rk-pod-score { margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--gold2); }
.rk-pod-score iconify-icon { font-size: 12px; }
.rk-pedestal { width: 100%; margin-top: 6px; border-radius: 8px 8px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 3px; font-weight: 900; letter-spacing: -0.04em; }
.rk-pod.p1 .rk-pedestal { height: 64px; background: linear-gradient(180deg, rgba(250,204,21,0.20), rgba(250,204,21,0.04)); border-top: 2px solid rgba(250,204,21,0.45); color: rgba(250,204,21,0.45); font-size: 14px; }
.rk-pod.p2 .rk-pedestal { height: 44px; background: linear-gradient(180deg, rgba(229,231,235,0.15), rgba(229,231,235,0.04)); border-top: 2px solid rgba(229,231,235,0.32); color: rgba(229,231,235,0.4); font-size: 12px; }
.rk-pod.p3 .rk-pedestal { height: 34px; background: linear-gradient(180deg, rgba(217,119,6,0.16), rgba(217,119,6,0.04)); border-top: 2px solid rgba(217,119,6,0.32); color: rgba(217,119,6,0.45); font-size: 11px; }

/* 4-10 分割 */
.rk-divider { display: flex; align-items: center; gap: 12px; padding: 14px 4px 10px; }
.rk-divider::before, .rk-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.rk-divider span { font-size: 10px; font-weight: 700; color: var(--gray3); letter-spacing: 0.2em; }

/* 4-10 列表行 */
.rk-list { display: flex; flex-direction: column; gap: 6px; padding-bottom: 8px; }
.rk-row { display: flex; align-items: center; gap: 10px; background: var(--bg1); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; transition: transform .12s; }
.rk-row:active { transform: scale(0.99); }
.rk-no { flex-shrink: 0; width: 24px; text-align: center; font-size: 13px; font-weight: 800; font-style: italic; color: var(--gray3); }
.rk-av { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 7px; overflow: hidden; background: var(--bg2); }
.rk-av img, .rk-av video { width: 100%; height: 100%; object-fit: cover; }
.rk-av .ph { position: absolute; top:0;right:0;bottom:0;left:0; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--gray3); }
.rk-vbadge { position: absolute; bottom: 0; right: 0; background: var(--gold); color: var(--white); font-size: 8px; line-height: 1; padding: 2px 3px; border-radius: 5px 0 0 0; }
.rk-info { flex: 1; min-width: 0; }
.rk-name { font-size: 13px; font-weight: 700; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 月选制：上月三甲荣誉轮休条（榜顶，金色系荣誉感） */
.rk-resting { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; font-size: 12px; color: var(--gray1); background: rgba(232, 178, 58, .08); border: 1px solid rgba(232, 178, 58, .25); }
.rk-resting iconify-icon { color: #e8b23a; font-size: 15px; flex-shrink: 0; }
.rk-resting b { color: var(--white); }
html.light .rk-resting { background: rgba(200, 148, 20, .08); border-color: rgba(200, 148, 20, .3); }
.rk-attr { font-size: 10px; color: var(--gray3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-price { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--gold2); }
.rk-score { flex-shrink: 0; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--gold2); }
.rk-score iconify-icon { font-size: 13px; }

/* 榜顶特约赞助位（变体 D：横版封面卡） */
.spon-d { position: relative; display: flex; margin: 4px 0 10px; border: 1px solid var(--gold-border); border-radius: 14px; overflow: hidden; background: var(--bg1); box-shadow: 0 0 14px -6px rgba(59,91,224,0.5); cursor: pointer; }
.spon-d:active { transform: scale(0.995); }
.spon-d .thumb { position: relative; width: 98px; flex-shrink: 0; background: var(--bg2); display: flex; align-items: center; justify-content: center; }
.spon-d .thumb img, .spon-d .thumb video { position: absolute; top:0;right:0;bottom:0;left:0; width: 100%; height: 100%; object-fit: cover; }
.spon-d .thumb .ph { color: var(--gray3); font-size: 24px; }
.spon-d .thumb .chip { position: absolute; top: 6px; left: 6px; z-index: 2; background: var(--gold); color: #fff; font-size: 8.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; letter-spacing: 0.04em; display: flex; align-items: center; gap: 3px; }
.spon-d .thumb .chip iconify-icon { font-size: 9px; }
.spon-d .body { flex: 1; min-width: 0; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
.spon-d .nm { font-size: 14px; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spon-d .nm iconify-icon { color: var(--gold2); flex-shrink: 0; }
.spon-d .tags { font-size: 10.5px; color: var(--gray2); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spon-d .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.spon-d .price { font-size: 12.5px; font-weight: 800; color: var(--gold2); }
.spon-d .cta { padding: 6px 14px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11.5px; font-weight: 800; border: none; cursor: pointer; }

/* 投票按钮（榜单：列表行 + 颁奖台） */
.rk-vote { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); cursor: pointer; transition: transform .1s, background .15s, color .15s; }
.rk-vote:active { transform: scale(0.9); }
.rk-vote iconify-icon { font-size: 13px; }
.rk-vote.voted { background: var(--gold); color: var(--white); border-color: var(--gold); }
.rk-vote.pod { margin-top: 5px; padding: 3px 10px; font-size: 11px; }
/* 投票配额提示条 */
.rk-quota { text-align: center; font-size: 12px; color: var(--gray1); padding: 2px 12px 10px; }
.rk-quota b { color: var(--gold2); font-weight: 800; }
/* 详情页底部投票按钮（与收藏同款方块，图标在上数字在下） */
.pd-vote { flex-direction: column; gap: 1px; line-height: 1; font-size: 19px; }
.pd-vote .vt-cnt { font-size: 10px; font-weight: 700; }
.pd-vote.voted { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* 底部：票数榜动态冲榜提示 / 其他榜换个榜入口 */
.rk-boost { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; padding: 13px 14px; background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 14px; }
.rk-boost-txt { flex: 1; font-size: 13px; color: var(--gray1); line-height: 1.5; }
.rk-boost-txt b { color: var(--gold2); font-weight: 800; }
.rk-boost-btn { flex-shrink: 0; }
.rk-more { margin: 16px 0 10px; }
.rk-more-t { font-size: 12px; color: var(--gray3); margin-bottom: 8px; letter-spacing: 0.05em; }
.rk-more-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rk-more-chip { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--gray1); background: var(--bg1); border: 1px solid var(--line); cursor: pointer; }
.rk-more-chip:active { transform: scale(0.96); }
.rk-more-all { text-align: center; font-size: 14px; font-weight: 700; color: var(--gold2); background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 12px; padding: 12px; cursor: pointer; }
.rk-more-all:active { transform: scale(0.99); }
.rk-empty { text-align: center; padding: 64px 20px; color: var(--gray2); }
.rk-empty .ic { font-size: 44px; display: block; margin-bottom: 14px; }
.rk-empty .t { font-size: 14px; color: var(--gray1); }
.rk-empty .s { font-size: 12px; color: var(--gray3); margin-top: 6px; }
.rk-loading { text-align: center; padding: 60px 0; color: var(--gray2); font-size: 13px; }

/* 榜单留言 */
.rk-cmt { margin: 8px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.rk-cmt-head { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-bottom: 12px; }
.rk-cmt-head span { font-size: 12px; font-weight: 500; color: var(--gray3); margin-left: 4px; }
.rk-cmt-box { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 14px; }
.rk-cmt-box textarea { flex: 1; min-height: 40px; max-height: 120px; padding: 10px 12px; border-radius: 12px; background: var(--bg1); border: 1px solid var(--line); color: var(--white); font-family: var(--font); font-size: 14px; resize: vertical; outline: none; }
.rk-cmt-box textarea:focus { border-color: var(--gold); }
.rk-cmt-send { flex-shrink: 0; padding: 10px 16px; border-radius: 12px; border: none; background: var(--gold); color: var(--white); font-weight: 700; font-size: 14px; cursor: pointer; }
.rk-cmt-send:active { filter: brightness(0.92); }
.rk-cmt-login { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg1); border: 1px solid var(--line); font-size: 13px; color: var(--gray2); margin-bottom: 14px; }
.rk-cmt-login button { flex-shrink: 0; padding: 7px 14px; border-radius: 9px; border: 1px solid var(--gold-border); background: var(--gold-bg); color: var(--gold2); font-weight: 700; font-size: 13px; cursor: pointer; }
.rk-cmt-list { display: flex; flex-direction: column; gap: 14px; }
.rk-cmt-item { display: flex; gap: 10px; }
.rk-cmt-av { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--blue-deep)); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 14px; font-weight: 700; }
.rk-cmt-main { flex: 1; min-width: 0; }
.rk-cmt-row1 { display: flex; align-items: baseline; gap: 8px; }
.rk-cmt-name { font-size: 13px; font-weight: 600; color: var(--gray1); }
.rk-cmt-time { font-size: 11px; color: var(--gray3); }
.rk-cmt-text { font-size: 14px; color: var(--white); line-height: 1.55; margin-top: 3px; word-break: break-word; white-space: pre-wrap; }
.rk-cmt-empty { text-align: center; padding: 20px 0; color: var(--gray3); font-size: 13px; }

/* ─── 浅色主题（跟随 Telegram；html.light 时生效；配色源自 superdesign B 稿）─── */
html.light {
  --black:#1a1c1e; --bg:#f8f9fb; --bg1:#ffffff; --bg2:#f1f3f5; --bg3:#e9ecef;
  --line:rgba(0,0,0,0.05); --line2:rgba(0,0,0,0.09);
  --white:#1a1c1e; --gray1:#4a4d55; --gray2:#868e96; --gray3:#adb5bd;
  --gold2:#3b5be0; --blue2:#3b5be0; --green:#2fb344;
  --gold-bg:rgba(59,91,224,0.08); --gold-border:rgba(59,91,224,0.16);
  --blue-bg:rgba(59,91,224,0.08); --blue-border:rgba(59,91,224,0.18);
}
/* html 自身也要翻白：底层 html, body{background:var(--black)} 里 --black 在浅色仍是深色，
   body 短(内容少/东莞)时 html 露在底部导航上方=用户看到的「黑边」，内容越少越大 */
html.light, html.light body { background:var(--bg); }
/* 浅色下卡片柔和阴影(B 稿质感:靠阴影/留白分层，不靠黑框) */
html.light .card, html.light .pd-coupon, html.light .lvchip, html.light .mz-mcard,
html.light .rf-prog, html.light .rf-winner, html.light .coupon-entry,
html.light .pts-lottery-entry, html.light .rk-cmt-login,
html.light .pts-entry, html.light .pts-earn-card, html.light .pts-ledger-card,
html.light .pts-go-card,
html.light .pts-shop .pd-coupon { box-shadow: 0 2px 12px rgba(20,30,60,0.06); }
/* 霓虹机台 = 永远深色沉浸（浅色模式下也保持暗底，像嵌在页面里的街机），仅页面外壳跟随主题 */
html.light #lottery-page .lot-grid { background: linear-gradient(165deg, #130a22, #0a0713); box-shadow: none; border: none; }
html.light #lottery-page .lot-wheel { background: linear-gradient(160deg, #160c26, #0a0713); box-shadow: 0 20px 50px -20px rgba(30,20,60,.35), inset 0 0 26px rgba(138,92,255,.14); }
html.light #lottery-page .lot-cell .c-rate { background: rgba(255,255,255,0.05); }
/* 中奖弹窗：霓虹深卡在深浅两版共用（仅遮罩深浅不同）*/
html.light .lot-modal { background: rgba(20,10,40,0.55); }
html.light .lot-modal-card { background: linear-gradient(165deg, #1c0f30, #0c0718); border-color: var(--lot-mag, #ff3ea5); box-shadow: 0 30px 60px -18px rgba(30,20,60,0.4), 0 0 40px -8px rgba(255,62,165,0.5); }
html.light .lot-modal-card .m-t { background: linear-gradient(90deg, #ff7cc4, #c9fff8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
html.light .lot-modal-card .m-p { color: #fff; background: linear-gradient(135deg, rgba(255,62,165,0.22), rgba(138,92,255,0.18)); }
html.light .lot-modal-card .m-s { color: #a79bc8; }
html.light .lot-burst .disc { background: linear-gradient(150deg, #ff3ea5, #8a5cff); color: #fff; }
html.light .lot-burst .disc iconify-icon { color: #fff; }
html.light .lot-modal-card .m-btn { background: linear-gradient(135deg, #ff3ea5, #8a5cff); color: #fff; }
html.light .lot-modal-card .lot-view-teacher { background: rgba(255,255,255,0.05); color: #fff; border-color: rgba(255,255,255,0.14); }
/* 金库夺宝 规则/结果弹窗：脱离九宫格抽奖的霓虹皮，走干净深金风（深浅色各一套），与金库主题一致 */
.rf-modal { background: rgba(0,0,0,0.66); }
.rf-modal .lot-modal-card { background: linear-gradient(165deg, #24200f, #14120c); border: 1.5px solid rgba(245,183,58,0.42); box-shadow: 0 24px 50px -18px rgba(0,0,0,0.7), 0 0 30px -14px rgba(245,183,58,0.35); }
.rf-modal .lot-modal-card .m-ic { color: #ffd873; }
.rf-modal .lot-modal-card .m-t { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: initial; color: #ffe9b0; }
.rf-modal .lot-modal-card .m-p { color: #fff; background: rgba(245,183,58,0.14); border-color: rgba(245,183,58,0.4); text-shadow: none; }
.rf-modal .lot-modal-card .m-p iconify-icon { color: #ffd873; }
.rf-modal .lot-modal-card .m-s { color: #cdbf9a; }
.rf-modal .lot-modal-card .m-btn { background: linear-gradient(135deg, #f5b73a, #e0821e); color: #241a08; box-shadow: 0 10px 22px -8px rgba(245,183,58,0.5); }
html.light .rf-modal { background: rgba(30,24,8,0.42); }
html.light .rf-modal .lot-modal-card { background: #fffdf6; border-color: rgba(200,140,20,0.4); box-shadow: 0 24px 50px -18px rgba(60,45,10,0.24), 0 0 26px -14px rgba(230,150,20,0.28); }
html.light .rf-modal .lot-modal-card .m-ic { color: #c8860a; }
html.light .rf-modal .lot-modal-card .m-t { color: #7a5410; }
html.light .rf-modal .lot-modal-card .m-p { color: #5a3d08; background: rgba(230,170,30,0.14); border-color: rgba(200,140,20,0.35); }
html.light .rf-modal .lot-modal-card .m-s { color: #7a6c4a; }
html.light .rf-modal .lot-modal-card .m-btn { background: linear-gradient(135deg, #e0a020, #c47a10); color: #fff; }
/* 彩色 banner/按钮/深色卡上的字 + 深色遮罩上的图标 —— 浅色下保持白色 */
html.light .lot-spin, html.light .lot-spin *, html.light .m-btn,
html.light .rf-buy .b1, html.light .rf-buy .b1 *, html.light .rf-buy .sv,
html.light .pts-checkin, html.light .pts-checkin *,
html.light .coupon-entry, html.light .coupon-entry *,
html.light .pts-lottery-entry .le-t, html.light .pts-lottery-entry .le-s,
html.light .hero-slide .hs-title, html.light .hero-slide .hs-sub,
html.light .rk-tab.active, html.light .rk-cmt-send, html.light .rk-cmt-av,
html.light .card-save, html.light .card-verified, html.light .pd-hero-top { color:#fff; }
/* 蓝 banner 上的白底胶囊（修车大队 / 假照定金赔付）+ 滑点激活点 —— 保持白 */
html.light .hero-logo, html.light .hero-badge { background:#fff; }
html.light .hero-dots .d.active { background:#fff; }
/* 回到顶部：浅色白底蓝标 */
html.light .to-top { background:#fff; color:var(--gold); border-color:var(--line2); box-shadow:0 6px 20px rgba(20,30,60,0.16); }
/* 等级卡：浅色用淡金属浅卡 + 深字（深金属卡在白底上太突兀） */
html.light .pts-card { box-shadow:0 2px 14px rgba(20,30,60,0.08);
    /* 海底世界配色（浅色：明亮浅海） */
    --sea-top:#d6effb; --sea-mid:#c4e7f7; --sea-bot:#eaf8ff;
    --sea-border:rgba(70,160,200,0.32); --sea-ray:rgba(255,255,255,0.6); --sea-bubble:rgba(255,255,255,0.72); --sea-plant:rgba(40,150,160,0.4); }
html.light .pts-card .pts-bar { background:rgba(0,0,0,0.08); }
html.light .pts-lv-badge { background:rgba(0,0,0,0.05); border-color:rgba(0,0,0,0.1); }
/* 蟹将勋衔徽章：浅色下浅金(#ffe08a)在浅海卡上糊字 → 换深金，保留勋章感又清晰 */
html.light .pts-honor { color:#8a5a00; background:rgba(201,168,76,0.20); border-color:rgba(201,168,76,0.55); }
/* 积分盲盒页浅色：主题令牌已在 #raffle-page / html.light #raffle-page 作用域内切换，无需逐块覆盖 */
/* 抽奖机台/中奖弹窗现为霓虹深色世界，浅色下也保持暗底（见上方 #lottery-page 覆盖块），此处不再翻白 */
html.light .lot-modal-card { background:linear-gradient(165deg,#1c0f30,#0c0718); border-color:var(--lot-mag,#ff3ea5); box-shadow:0 30px 60px -18px rgba(30,20,60,0.4), 0 0 40px -8px rgba(255,62,165,0.5); }
/* 卡片标签：浅色下偏淡的字色调深一点 */
html.light .card-tag.attr { color:#3b6fb5; }
html.light .card-tag.dist { color:#2e9b78; }
html.light .card-tag.green { color:#2fa85f; }
/* 榜单页顶栏 + 底部导航栏：浅色改白底（原为 var(--black) 深底，白底下显黑不协调） */
html.light .rk-header { background:#fff; border-bottom-color:var(--line); }
html.light .bottom-nav { background:#fff; border-top-color:var(--line2); }
html.light .mz-footer { background: rgba(248,249,251,0.94); border-top-color: var(--line2); }
/* 蓝色主按钮（立即私聊 / 写一份报告）：浅色下文字+图标保持白（否则 var(--white) 翻深叠蓝底=看不清） */
html.light .pd-chat, html.light .pd-chat * { color:#fff; }
/* 详情页图片上的圆按钮（返回/分享）+ 张数角标：底图是深色遮罩，浅色下图标/数字保持白 */
html.light .pd-circ-btn, html.light .pd-circ-btn *, html.light .pd-count, html.light .pd-count * { color:#fff; }

/* ── 老师绑定领券通知卡（tbind 深链）：走令牌，深/浅自适配 ── */
#bind-overlay { position:fixed; top:0;right:0;bottom:0;left:0; z-index:10000; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; padding:24px; animation:bindFade .2s ease; }
#bind-card { background:var(--bg1); border:1px solid var(--line); border-radius:20px; max-width:328px; width:100%; padding:28px 24px 22px; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,.45); animation:bindPop .3s cubic-bezier(.2,.9,.3,1.25); }
.bind-ic { width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 15px; font-size:30px; }
.bind-ic.blue  { color:var(--blue);  background:var(--blue-bg); }
.bind-ic.green { color:var(--green); background:rgba(80,200,120,.14); }
.bind-ic.red   { color:#ff5a5f;      background:rgba(255,90,95,.13); }
.bind-ic.spin iconify-icon { animation:bindSpin 1s linear infinite; }
.bind-title { font-weight:700; font-size:18px; color:var(--white); margin-bottom:7px; letter-spacing:.2px; }
.bind-desc { color:var(--gray2); font-size:13.5px; line-height:1.65; }
.bind-desc b { color:var(--white); font-weight:700; }
.bind-warn { margin-top:14px; display:flex; gap:8px; text-align:left; background:rgba(255,153,0,.10); border:1px solid rgba(255,153,0,.28); color:#e8a94e; border-radius:12px; padding:11px 13px; font-size:12.5px; line-height:1.6; }
.bind-warn iconify-icon { flex:none; font-size:15px; margin-top:1px; }
html.light .bind-warn { color:#a05a00; background:rgba(255,153,0,.12); border-color:rgba(255,153,0,.3); }
.bind-btn { margin-top:20px; width:100%; border:0; border-radius:24px; padding:12px; font-size:15px; font-weight:700; cursor:pointer; font-family:var(--font); }
.bind-btn.primary { background:var(--blue); color:#fff; }
.bind-btn.ghost   { background:var(--bg2); color:var(--white); }
@keyframes bindFade { from{opacity:0} to{opacity:1} }
@keyframes bindPop  { from{opacity:0; transform:scale(.9) translateY(10px)} to{opacity:1; transform:none} }
@keyframes bindSpin { to{transform:rotate(360deg)} }
