/* ========== 全局重置 ========== */
*{margin:0;padding:0;box-sizing:border-box;}
body{
    font-family: "Microsoft YaHei", system-ui, sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.5;
}
ul,li{list-style:none;}
a{text-decoration:none;color:inherit;cursor:pointer;transition:color .2s;}
a:hover{color:#ef4444;}
button{border:none;outline:none;background:none;font-family:inherit;cursor:pointer;transition:all .2s;}
img{max-width:100%;display:block;}
.pc-wrap{
    max-width:1400px;
    margin:0 auto;
    padding:0 20px;
}

/* ========== 顶部导航栏 ========== */
.top-nav{
    background:#fff;
    width:100%;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.nav-inner{
    height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.nav-left{display:flex;align-items:center;gap:12px;}
/* logo 已换为 228x228 正方图（内容铺满、无透明边距），故 contain 下会填满整个方框；
   与品牌文字按同一比例（文字墨迹≈logo 高 0.74）整体缩放，兼顾齐平与留白。 */
.nav-logo{width:44px;height:44px;object-fit:contain;}
.nav-brand{height:44px;display:flex;align-items:center;}
.nav-brand-text{font-size:38px;font-weight:900;color:#ef4444;line-height:1;white-space:nowrap;}

/* 导航中间菜单 */
.nav-menu{display:flex;align-items:center;gap:26px;}
.nav-menu-item{
    font-size:16px;
    color:#333;
    padding:8px 2px;
    position:relative;
    font-weight:500;
}
.nav-menu-item.active{color:#ef4444;font-weight:700;}
.nav-menu-item:hover{color:#ef4444;}
.bonus-nav-badge{
    position:absolute;top:-3px;right:-12px;min-width:18px;height:18px;padding:0 5px;
    border-radius:10px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;
    line-height:18px;text-align:center;box-shadow:0 1px 4px rgba(239,68,68,.35);
}
.bonus-nav-badge[hidden]{display:none;}

/* 右侧登录注册 */
.nav-right{display:flex;align-items:center;gap:12px;}
.nav-btn-login{
    padding:8px 24px;
    border:1px solid #ef4444;
    color:#ef4444;
    background:#fff;
    border-radius:8px;
    font-size:15px;
}
.nav-btn-login:hover{background:#fef2f2;}
.nav-btn-register{
    padding:8px 24px;
    background:#ef4444;
    color:#fff;
    border-radius:8px;
    font-size:15px;
    white-space:nowrap;
}
.nav-btn-contribute{min-width:96px;}
.nav-btn-contribute.active{box-shadow:0 0 0 3px rgba(239,68,68,.16);}
.nav-btn-register:hover{opacity:.9;}

/* 登录后的用户信息显示 */
/* 顶栏名字框：头像 + 用户XXXX + VIP 徽标，整块可点击进用户中心（不再显示剩余天数与文字等级）*/
.nav-user-info{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:5px;
    line-height:1.3;
    font-size:14px;
    color:#1f2937;
    font-weight:600;
    max-width:220px;
    overflow:hidden;
    cursor:pointer;
    user-select:none;
}
.nav-user-info:hover{ color:#ef4444; }
.nav-user-avatar{ font-size:15px; flex:0 0 auto; }
.nav-user-name{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
/* 对齐口径 = 徽标内的 VIP 字与名字等高（不是整个徽标与名字等高）：
   徽标 PNG 内 VIP 字形高恰为图高 50%，故 height 取 1.7em（≈0.85 汉字高 ×2），
   徽标整体比名字大一圈。em 仍跟着 font-size 走，换字号不用改这里。 */
.nav-vip-badge{
    height:1.7em;
    width:auto;
    flex:0 0 auto;
    display:block;
    cursor:pointer;
}
/* 未开通 = 灰色；灰/彩徽标均进入独立会员中心。 */
.nav-vip-badge.locked{
    filter:grayscale(1) opacity(.55);
}
.nav-vip-badge.locked:hover{
    filter:grayscale(.4) opacity(.85);
}

/* ========== 轮播横幅 ========== */
.banner-carousel{
    max-width:1400px;
    margin:24px auto;
    padding:0 20px;
    overflow:hidden;
    position:relative;
    border-radius:16px;
}
.carousel-track{
    display:flex;
    width:100%;
    transition:transform .5s ease;
    border-radius:16px;
}
.carousel-slide{width:100%;flex-shrink:0;border-radius:16px;overflow:hidden;}
.banner-vip-slide{cursor:pointer;}

/* 纯图片轮播片（如 banner-2.png）：与 .hero-banner 同高，object-fit:cover 保证视觉一致 */
.slide-img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
    border-radius:16px;
}

/* 轮播1：红色品牌横幅 —— 与轮播2 .slide-img 同尺寸（320px 固定高，cover 风格） */
.hero-banner{
    background:linear-gradient(135deg,#ef4444 0%,#b91c1c 100%);
    padding:56px 48px;
    color:#fff;
    position:relative;
    overflow:hidden;
    height:320px;
    box-sizing:border-box;
    border-radius:16px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.hero-banner::after{
    content:"";
    position:absolute;
    right:-100px;
    top:-100px;
    width:380px;
    height:380px;
    border-radius:50%;
    background:rgba(255,255,255,.06);
}
.hero-title{
    font-size:42px;
    font-weight:900;
    margin-bottom:20px;
    position:relative;
    z-index:2;
}
.hero-desc{
    font-size:17px;
    line-height:1.9;
    color:rgba(255,255,255,.92);
    max-width:820px;
    margin-bottom:32px;
    position:relative;
    z-index:2;
}
.hero-tags{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    position:relative;
    z-index:2;
}
.hero-tag{
    padding:10px 22px;
    border-radius:30px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.2);
    font-size:15px;
}

/* 轮播2：72小时会员活动横幅 */
.activity-banner{
    background:linear-gradient(120deg,#ffb347 0%,#ef4444 100%);
    min-height:320px;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    padding:40px;
    overflow:hidden;
}
.activity-content{text-align:center;position:relative;z-index:2;}
.activity-top{font-size:56px;font-weight:900;color:#fff;margin-bottom:12px;}
.activity-main{font-size:72px;font-weight:900;color:#fff;letter-spacing:2px;}

/* 轮播箭头+指示器 */
.carousel-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border-radius:50%;
    background:rgba(255,255,255,.3);
    color:#fff;
    font-size:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:10;
}
.arrow-left{left:32px;}
.arrow-right{right:32px;}
.carousel-arrow:hover{background:rgba(255,255,255,.6);color:#333;}
.carousel-dots{
    position:absolute;
    bottom:16px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:10;
}
.dot-item{
    width:32px;
    height:4px;
    background:rgba(255,255,255,.4);
    border-radius:2px;
    cursor:pointer;
}
.dot-item.active{background:#fff;}

/* ========== 首页：板块标题 / CTA / 能力卡 ========== */
.section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:6px 0 16px;
}
.section-title{
    font-size:22px;
    font-weight:800;
    color:#1f2937;
}
.section-more{
    font-size:15px;
    color:#ef4444;
    font-weight:600;
    cursor:pointer;
}
.section-more:hover{text-decoration:underline;}

.home-cta{
    text-align:center;
    margin:24px 0 36px;
}
.home-cta-btn{
    padding:14px 40px;
    background:linear-gradient(135deg,#ef4444,#dc2626);
    color:#fff;
    border-radius:30px;
    font-size:17px;
    font-weight:700;
    box-shadow:0 6px 18px rgba(239,68,68,.35);
    transition:transform .15s;
}
.home-cta-btn:hover{transform:translateY(-2px);}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:40px;
}
.feature-card{
    background:#fff;
    border-radius:14px;
    padding:28px 22px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    cursor:pointer;
    transition:transform .2s, box-shadow .2s;
    text-align:center;
}
.feature-card:hover{transform:translateY(-4px);box-shadow:0 8px 22px rgba(0,0,0,.1);}
.feature-icon{font-size:40px;margin-bottom:14px;}
.feature-title{font-size:18px;font-weight:700;color:#1f2937;margin-bottom:8px;}
.feature-desc{font-size:14px;color:#6b7280;line-height:1.6;}
.home-section-placeholder{
    grid-column:1/-1;
    min-height:104px;
    background:#fff;
    border:1px solid #eef2f7;
    border-radius:14px;
    padding:22px 28px;
    display:flex;
    align-items:center;
    gap:16px;
    color:#6b7280;
    box-shadow:0 2px 10px rgba(0,0,0,.04);
}
.home-section-placeholder .placeholder-icon{
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff1f2;
    font-size:24px;
}
.home-section-placeholder strong{
    display:block;
    color:#1f2937;
    font-size:18px;
    margin-bottom:4px;
}
.home-section-placeholder p{font-size:14px;color:#6b7280;}
.feature-grid-2.feature-grid-single{grid-template-columns:1fr!important;}
.feature-grid-2.feature-grid-single .feature-card:not([data-feature="bonus"]){
    width:100%;
    min-height:126px;
    display:grid;
    grid-template-columns:74px 1fr;
    grid-template-areas:"icon title" "icon desc";
    align-items:center;
    text-align:left;
    padding:28px 42px;
}
.feature-grid-2.feature-grid-single .feature-card:not([data-feature="bonus"]) .feature-icon{
    grid-area:icon;
    margin:0;
    width:56px;
    height:56px;
    border-radius:16px;
    background:#fff1f2;
    display:flex;
    align-items:center;
    justify-content:center;
}
.feature-grid-2.feature-grid-single .feature-card:not([data-feature="bonus"]) .feature-title{grid-area:title;margin-bottom:4px;}
.feature-grid-2.feature-grid-single .feature-card:not([data-feature="bonus"]) .feature-desc{grid-area:desc;}
@media (max-width:980px){
    .feature-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
    .feature-grid{grid-template-columns:1fr;}
    .feature-card{padding:22px 18px;}
    .home-section-placeholder{padding:18px;align-items:flex-start;}
    .feature-grid-2.feature-grid-single .feature-card:not([data-feature="bonus"]){
        grid-template-columns:1fr;
        grid-template-areas:"icon" "title" "desc";
        text-align:center;
        justify-items:center;
        padding:24px 18px;
    }
}

/* ========== 统计卡片 ========== */
.stat-card{
    background:#fff;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    padding:28px 36px;
    margin-bottom:22px;
    display:flex;
    justify-content:space-around;
    align-items:center;
}
.stat-item{text-align:center;flex:1;}
.stat-num{font-size:36px;font-weight:bold;color:#ef4444;margin-bottom:6px;line-height:1;}
.stat-label{font-size:15px;color:#666;}
.stat-divider{width:1px;height:48px;background:#eee;}
.icp-mode .stat-rate-wrap{display:none;}
.icp-mode .icp-predict-only{display:none!important;}

/* ========== 筛选栏 ========== */
.filter-bar{
    background:#fff;
    border-radius:12px;
    padding:18px 24px;
    margin-bottom:22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.date-scroll{
    display:flex;
    gap:14px;
    flex:1;
    overflow-x:auto;
    padding:6px 0;
    scrollbar-width:none;
}
.date-scroll::-webkit-scrollbar{height:0;}
.date-cell{
    width:68px;
    height:68px;
    border-radius:14px;
    background:#f9fafb;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    cursor:pointer;
    transition:.25s;
    border:1px solid transparent;
    flex-shrink:0;
}
.date-cell:hover{background:#fee2e2;}
.date-cell.active{
    background:#ef4444;
    color:#fff;
    border-color:#ef4444;
    box-shadow:0 4px 14px rgba(239,68,68,.22);
}
/* 未来日期：浅色 + 红色虚线边框，提示「赛程待公布」 */
.date-cell.future{
    background:#fff;
    border:1px dashed #ef4444;
    color:#ef4444;
}
.date-cell.future:hover{background:#fef2f2;}
.date-cell.future .date-week{color:#fca5a5;}
/* 今天：比赛尚未开赛，与未来日同视觉（虚线框），不抢实心红高亮 */
.date-cell.today{
    background:#fff;
    border:1px dashed #ef4444;
    color:#ef4444;
    box-shadow:none;
}
.date-cell.today .date-week{color:#fca5a5;}
/* 未来/今天日期被选中：虚线 → 加粗红实线，明确区分当前选中日（切换走自动恢复虚线） */
.date-cell.future.active,
.date-cell.today.active{
    background:#fff;
    border:2px solid #ef4444;
    color:#ef4444;
    box-shadow:0 4px 14px rgba(239,68,68,.22);
    font-weight:700;
}
.date-week{font-size:13px;}
.date-day{font-size:20px;font-weight:600;}
.filter-league-btn{
    background:#ef4444;
    color:#fff;
    padding:12px 28px;
    border-radius:8px;
    font-size:15px;
    margin-left:24px;
    flex-shrink:0;
}
.filter-league-btn:hover{opacity:.92;}

/* 日期选框固定在顶栏之下：.top-nav 是 sticky top:0、实测高 72px，故这里 top 取 72px。
   z-index 低于顶栏(999)、高于卡片内角标(最高 10)。
   底色/边框一律与 .bonus-toolbar 同款（页面同色灰、无圆角无阴影）：白底卡片会把日期格
   之外的大片空白也涂成白的（实测中间空 472px），显得整条特别宽。 */
#page-strength .filter-bar{
    position:sticky;
    top:72px;
    z-index:100;
    background:#f5f7fa;
    padding:8px 0;
    border-radius:0;
    box-shadow:none;
}
/* 筛选栏内的解析数据统计（2026-08-06 用户订立：把首页三个维度在本页再现一份）。
   ⚠️ 遵循响应式第一原则（见 _Guocai/CLAUDE.md §0.5，web 与 H5 同一套）：窄屏放不下时
   **只缩间隙与字号，内容一项不删、不换行**。三项恒同排，数值/标签整体连续缩放。
   日期条本就是 .date-scroll（可横向滚动），空间不足由它自行滚动，日期格尺寸不变。 */
/* 统计块吃掉日期条让出的剩余宽度、三项均匀铺开（2026-08-06 用户订立：放宽、放大、均匀分布）。
   ⚠️ 配套把本页 .date-scroll 从 flex:1 改成 flex:0 1 auto —— 它原本霸占全部剩余空间，
   把统计挤成一坨（实测「34」与「79%」的标签直接重叠），左侧却空出一大片。 */
#page-strength .date-scroll{flex:0 1 auto}
#page-strength .fb-stats{
    flex:1 1 auto;min-width:0;display:flex;align-items:center;
    justify-content:space-evenly;                 /* 三项等距铺满，不再靠固定 gap */
    gap:clamp(10px,1.2vw,28px);
    margin:0 clamp(12px,1.6vw,32px);
}
#page-strength .fb-stat{display:flex;flex-direction:column;align-items:center;line-height:1.2;white-space:nowrap}
/* 字号向首页统计卡（36px/15px）靠拢，但留出余量给窄窗口连续缩放 */
#page-strength .fb-stat b{color:#ef4444;font-weight:800;font-size:clamp(20px,1.9vw + 2px,32px);margin-bottom:2px}
#page-strength .fb-stat i{color:#666;font-style:normal;font-size:clamp(11px,.62vw + 5px,15px)}
/* 情报市场：日期条并入标题行并整体固定，日期格比竞彩量化小一号（该页只需选日期，
   不必占满 68px）。同样去掉白底卡片——它右侧的 500px 空白全是白的，比日期格本身还宽。 */
.intel-toolbar{
    position:sticky;
    top:72px;
    z-index:100;
    display:flex;
    align-items:center;
    gap:20px;
    padding:8px 0 10px;
    margin-bottom:14px;
    background:#f5f7fa;
}
.intel-toolbar .page-title{margin-bottom:0;flex-shrink:0;}
.intel-toolbar .filter-bar{
    flex:1;min-width:0;margin-bottom:0;
    padding:0;background:none;border-radius:0;box-shadow:none;
}
#page-intel .date-cell{width:52px;height:52px;border-radius:11px;gap:2px;}
#page-intel .date-week{font-size:11px;}
#page-intel .date-day{font-size:16px;}
@media (max-width:900px){
    .intel-toolbar{flex-direction:column;align-items:stretch;gap:10px;}
    .intel-toolbar .page-title{align-self:flex-start;}
}

/* ========== 当日数据概览条 ========== */
.day-data-bar{
    background:linear-gradient(90deg,#fff5f5,#fffafa);
    border:1px solid #ffe6e6;
    border-radius:10px;
    padding:14px 22px;
    margin-bottom:22px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.day-data-bar span{font-size:15px;color:#555;}
.day-data-bar strong{color:#ef4444;font-weight:600;margin:0 4px;}

/* ========== 赛事列表 ========== */
.match-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    padding-bottom:50px;
}
.match-card{
    background:#fff;
    border-radius:12px;
    padding:16px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    position:relative;
    transition:.2s;
}
.match-card:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(0,0,0,.08);}
.match-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:4px;
    padding:0 44px 5px 8px;   /* 右侧加选按钮留位；左侧原为单关盾牌让位，盾牌已删(B17) */
    border-bottom:1px solid #f3f4f6;
    flex-wrap:wrap;
    gap:8px;
}
.match-no{font-size:14px;color:#ef4444;font-weight:700;}   /* 赛程编号：红色加粗 */
/* 量化精选印章（2026-08-14 扩展到首页与竞彩量化卡片）：编号/联赛/状态靠左成组紧凑，
   印章靠 auto margin 落在「状态标签 → 时间」空隙的中间，时间仍贴右。
   无推荐的卡片不输出该元素，此时 space-between 行为与改动前完全一致。 */
/* 只给印章加 auto margin：flex 里 auto margin 会先吃掉全部剩余空间，
   于是编号/联赛/状态自动靠左紧凑、时间贴右、印章落在两者之间的正中。
   若给状态标签也加 auto，剩余空间会被三等分、印章反而偏右。 */
.match-header .rec-stamp{margin:0 auto;}
.match-header .match-head-time{flex-shrink:0;}
.league-tag{
    background:#eff6ff;
    color:#2563eb;
    padding:5px 14px;
    border-radius:20px;
    font-size:15px;
    font-weight:500;
}
.status-tag{padding:5px 14px;border-radius:20px;font-size:15px;font-weight:500;}
.status-end{background:#f3f4f6;color:#6b7280;}
.status-wait{background:#fff7ed;color:#c2410c;}
.status-started{background:#e5e7eb;color:#6b7280;}
.status-postponed{background:#6b7280;color:#fbbf24;font-weight:700;}
.status-cancelled{background:#6b7280;color:#f87171;font-weight:700;}

/* 对阵双方 */
.match-teams{
    display:grid;
    grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);
    align-items:center;
    column-gap:0;
    margin-bottom:0;
    position:relative;
}
.match-teams.has-hit{
    grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr) 100px;
    padding-right:0;
}
.team-box{
    display:grid;align-items:center;column-gap:0;min-width:0;width:100%;
}
/* home 队：score 远端，name 靠近 VS（镜像于 away 队的 name+score 顺序）
   各自区域无缝相邻，视觉间隔由区域内内容居中自然形成。 */
.team-box.home{grid-template-columns:42% 58%;}
.team-box.away{grid-template-columns:58% 42%;}
.team-name{
    width:100%;font-size:20px;font-weight:700;color:#1f2937;line-height:1.4;
    text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;
}
.team-score{
    width:100%;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    gap:5px;
    white-space:nowrap;
}
.score-label{font-size:14px;color:#999;}
.score-val{font-size:28px;font-weight:bold;color:#ef4444;line-height:1.1;}
.team-score.locked .score-val{color:#9ca3af;letter-spacing:3px;min-width:56px;text-align:center;}
/* 未登录/非会员锁定态：🔒 挂在「实力」二字上做角标（主队右上、客队左上）。
   用伪元素而非独立节点——.team-box 是两列 grid，多一个同级节点会把队名挤到第二行。 */
.team-score.locked .score-label{position:relative;}
.team-box.home .team-score.locked .score-label::after,
.team-box.away .team-score.locked .score-label::before{
    content:"🔒";position:absolute;top:-9px;font-size:12px;line-height:1;
}
.team-box.home .team-score.locked .score-label::after{right:-11px;}
.team-box.away .team-score.locked .score-label::before{left:-11px;}
.vs-block{
    width:auto;
    text-align:center;
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
}
.vs-text{font-size:30px;font-weight:800;color:#ef4444;letter-spacing:1px;}
.half-score-box{
    background:#fff;
    border:1px solid #d1d5db;
    border-radius:6px;
    padding:1px 8px;
    font-size:11px;
    color:#9ca3af;
    line-height:1.3;
    white-space:nowrap;
}

/* 赔率区域 */
.odds-wrap{
    display:flex;
    gap:6px;
    margin-top:2px;
    padding-top:4px;
    border-top:1px solid #f3f4f6;
    align-items:stretch;
}
/* B17（2026-08-05）：「非让球/让球」标签列与挂在其上的锁均已删除 —— 与 H5 对齐。
   锁改挂 .mark-box 右上角，单关角标挂其左上角，两者都是绝对定位子节点（不进流内，
   不破坏 .odds-wrap 的等高 flex 布局）。 */
/* 宽 42→112（约 2.7 倍）：框身左上角放「单」角标、右上角放锁、居中还要显示 0/-1 数字。
   同行三个赔率框在 .odds-option-wrap(flex:1) 内均摊缩窄，无需另改。 */
.odds-mark-col{width:112px;display:flex;flex-direction:column;gap:3px;flex-shrink:0;}
.mark-box{position:relative;overflow:hidden;height:42px;background:#f9fafb;border-radius:6px;
    display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;}
.mark-box.zero{color:#888;}
.mark-box.positive{color:#2563eb;}
.mark-box.negative{color:#ef4444;}
.odds-option-wrap{flex:1;display:flex;flex-direction:column;gap:3px;}
.odds-row{display:flex;gap:4px;height:42px;}
.odds-cell{
    flex:1;
    background:#f9fafb;
    border-radius:6px;
    display:flex;
    flex-direction:row;     /* 胜/平/负 与数字同行 */
    align-items:center;
    justify-content:center;
    gap:8px;
    position:relative;
    cursor:default;
    transition:.2s;
}
.odds-cell:hover{background:#fee2e2;}
.odds-cell.hit{
    background:#fee2e2;
    border:1px solid #ef4444;
    color:#ef4444;
    font-weight:600;
}
.odds-txt{font-size:16px;color:#666;line-height:1;}
.odds-num{font-size:17px;font-weight:700;color:#333;line-height:1;}
.odds-cell.hit .odds-txt,.odds-cell.hit .odds-num{color:#ef4444;}
.odds-cell.actual-result:not(.hit){border:1.5px solid #0ea5e9;}
/* 预测(未开赛/进行中)：蓝色边框 + 右上角白底蓝边红"荐"字圆，与方案精选 .bonus-odds.predicted 同款 */
.odds-cell.predicted{border:1.5px solid #0ea5e9;}
.odds-cell.predicted::after{
    content:"荐";
    position:absolute;
    top:-7px;
    right:-5px;
    box-sizing:border-box;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#fff;
    border:1.5px solid #0ea5e9;
    color:#ef4444;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:800;
    line-height:1;
    box-shadow:0 2px 6px rgba(14,165,233,.32);
    z-index:2;
}
.odds-cell.actual-result::after{
    content:"果";
    position:absolute;
    top:-7px;
    right:-5px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#0ea5e9;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:800;
    line-height:1;
    box-shadow:0 2px 6px rgba(14,165,233,.32);
    z-index:2;
}

/* AI解析 */
.ai-desc{
    margin-top:14px;
    padding:12px 14px;
    background:#f0f9ff;
    border-radius:8px;
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:14px;
}
.ai-title{font-weight:600;color:#0369a1;flex-shrink:0;}
.ai-content{color:#475569;flex:1;}

/* 命中印章：倾斜 -8° + emoji，参考 H5 admin .hit-stamp 风格
   有"盖印章"的气势感，胜过普通圆角徽章 */
.hit-badge{
    position:static;
    box-sizing:border-box;
    max-width:96px;
    transform:rotate(-20deg);
    transform-origin:center center;
    justify-self:end;
    align-self:center;
    margin-right:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:3px;
    padding:3px 6px;
    border-radius:5px;
    border:1.5px solid;
    font-size:14px;
    font-weight:900;
    line-height:1.1;
    letter-spacing:0;
    white-space:nowrap;
    z-index:2;
}
.hit-badge .stamp-emoji{
    font-size:16px;
    line-height:1;
    letter-spacing:0;
    /* emoji 不随金属动画发光，保持彩色饱满 */
    animation:none;
}

/* ───────── 精准命中：奖牌级印章（金边 + 脉动金光 + 高光内阴影）───────── */
.hit-badge.success{
    color:#dc2626;
    /* 红底 + 25% 高光（左上角"印章压痕"质感）+ 金边渐变叠层 */
    background:
        radial-gradient(ellipse at 28% 22%, rgba(255,255,255,0.55) 0%, transparent 55%),
        linear-gradient(135deg, #fef3c7 0%, #fee2e2 40%, #fecaca 100%);
    /* 双层金边：外层亮金 + 内层深金（用 box-shadow 模拟比 border-image 兼容性好）*/
    border-color:#f59e0b;
    box-shadow:
        0 0 0 1px #d97706,                              /* 外金线 */
        inset 0 1px 0 rgba(255,255,255,0.55),           /* 顶部高光 */
        inset 0 -1px 0 rgba(220,38,38,0.18),            /* 底部阴影（压痕感）*/
        0 0 8px rgba(251,191,36,0.38),                  /* 收紧金色光晕 */
        0 3px 8px rgba(220,38,38,0.32);                 /* 收紧红色投影 */
    text-shadow:0 1px 0 rgba(255,255,255,0.5);          /* 字面浮雕 */
    animation:stamp-shimmer 2.5s ease-in-out infinite;
}

/* 金光脉动：每 2.5s 一次，光晕扩散 + 增亮 */
@keyframes stamp-shimmer{
    0%, 100% {
        box-shadow:
            0 0 0 1px #d97706,
            inset 0 1px 0 rgba(255,255,255,0.55),
            inset 0 -1px 0 rgba(220,38,38,0.18),
            0 0 8px rgba(251,191,36,0.38),
            0 3px 8px rgba(220,38,38,0.32);
    }
    50% {
        box-shadow:
            0 0 0 1px #fbbf24,
            inset 0 1px 0 rgba(255,255,255,0.7),
            inset 0 -1px 0 rgba(220,38,38,0.22),
            0 0 13px rgba(253,224,71,0.68),
            0 0 19px rgba(251,191,36,0.24),
            0 3px 10px rgba(220,38,38,0.38);
    }
}

/* 未命中保持低调 */
.hit-badge.fail{
    color:#6b7280;
    border-color:#9ca3af;
    background:#f3f4f6;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
}

/* 单关盾牌已删（2026-08-05 B17：改为 .mk-single 角标 + .single-outline 行红框） */

/* "+"加入「奖金优化」方案按钮：右上角（原与左上盾牌对称，盾牌已删）；选中变绿 ✓ */
.add-plan-btn{
    box-sizing:border-box; padding-bottom:3px;
    position:absolute;
    top:14px;
    right:14px;
    width:32px;
    height:32px;
    border-radius:50%;
    background:linear-gradient(135deg, #ef4444, #dc2626);
    color:#fff;
    font-size:20px;
    font-weight:700;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(239,68,68,.35);
    border:none;
    z-index:3;
    transition:transform .15s, background .15s;
}
.add-plan-btn:hover{transform:scale(1.1);}
.add-plan-btn:disabled{background:#e5e7eb;color:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none;}
.add-plan-btn.picked{
    background:linear-gradient(135deg, #10b981, #059669);
    box-shadow:0 2px 8px rgba(16,185,129,.4);
}

/* （旧）"+ 更多情报" 按钮：保留样式以防他处引用 */
.info-more-btn{
    position:absolute;
    top:14px;
    right:14px;
    width:32px;
    height:32px;
    border-radius:50%;
    background:linear-gradient(135deg, #ef4444, #dc2626);
    color:#fff;
    font-size:20px;
    font-weight:600;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(239,68,68,.35);
    border:none;
    z-index:2;
    transition:transform .15s;
}
.info-more-btn:hover{transform:scale(1.1);}
.info-more-btn::before{content:"+";line-height:1;}

/* AI 解析区改横排：左标签 + 中摘要 + 右"更多情报"链接（参考 H5） */
.ai-desc{
    margin-top:6px;
    padding:8px;
    background:#f0f9ff;
    border-radius:8px;
    display:flex;
    align-items:stretch;
    gap:8px;
    font-size:15px;
}
.ai-title-tag{
    flex-shrink:0;
    width:30px;
    padding:5px 3px;
    background:#0ea5e9;
    color:#fff;
    border-radius:6px;
    font-size:12px;
    font-weight:600;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    line-height:1.15;
}
.ai-title-tag > span{display:block;}
/* 锁定态原为灰底（#9ca3af），与「遗憾」印章（.hit-badge.fail 灰底灰字）撞色、看着像同一类标识，
   2026-07-28 改红底白字（白字继承自 .ai-title-tag 的 color:#fff）以示区分 */
.ai-title-tag.locked{background:#ef4444;}
/* 锁定态提示只有一行，而标签是竖排四字、把行高撑得很高 → 文案需垂直居中，不能靠上 */
.ai-desc.locked .ai-content{display:flex;align-items:center;}
.ai-content{
    flex:1;
    color:#475569;
    line-height:1.65;
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
}
.ai-more-link{
    flex-shrink:0;
    color:#ef4444;
    width:32px;
    font-size:13px;
    cursor:pointer;
    font-weight:600;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    line-height:1.15;
}
.ai-more-link > span{display:block;}
.ai-more-link:hover{text-decoration:underline;}

/* ========== 深度解析弹窗 ========== */
.deep-modal{
    display:none;
    position:fixed;
    top:0;left:0;
    width:100%;height:100%;
    background:rgba(0,0,0,.55);
    z-index:1300;
    align-items:center;
    justify-content:center;
}
.deep-modal.show{display:flex;}
.deep-modal-box{
    background:#fff;
    border-radius:16px;
    width:90%;
    max-width:1180px;              /* PC 宽屏一次性看 markdown 长文，少滚动 */
    max-height:88vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    animation:modalIn .25s ease;
}
.deep-modal-head{
    padding:18px 24px;
    background:linear-gradient(135deg, #ef4444, #b91c1c);
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
}
.deep-modal-title{
    font-size:19px;
    font-weight:700;
    line-height:1.5;
    flex:1;
}
.deep-modal-close{
    background:rgba(255,255,255,.2);
    color:#fff;
    border:none;
    width:30px;
    height:30px;
    border-radius:50%;
    font-size:20px;
    cursor:pointer;
    flex-shrink:0;
}
.deep-modal-close:hover{background:rgba(255,255,255,.35);}
.deep-modal-body{
    padding:26px 38px;
    overflow-y:auto;
    font-size:17px;
    line-height:1.9;
    color:#374151;
}
/* 在大屏（≥1400px）下让弹窗更舒展 */
@media (min-width: 1400px){
    .deep-modal-box{ max-width:1280px; }
    .deep-modal-body{ padding:30px 50px; font-size:18px; }
}
/* markdown 渲染样式 */
.deep-modal-body h1,.deep-modal-body h2,.deep-modal-body h3{
    color:#1f2937;
    margin:18px 0 10px;
    font-weight:700;
}
.deep-modal-body h1{font-size:22px;}
.deep-modal-body h2{font-size:20px;color:#ef4444;border-left:3px solid #ef4444;padding-left:10px;}
.deep-modal-body h3{font-size:18px;color:#0369a1;}
.deep-modal-body strong{color:#dc2626;font-weight:700;}
.deep-modal-body em{color:#7c3aed;}
.deep-modal-body p{margin:6px 0;}
.deep-modal-body .final-reminder{margin-top:5.1em;}
.deep-modal-body ul,.deep-modal-body ol{margin:8px 0;padding-left:24px;}
.deep-modal-body li{margin:3px 0;}
.deep-modal-body blockquote{
    border-left:4px solid #fbbf24;
    background:#fffbeb;
    margin:10px 0;
    padding:8px 14px;
    color:#78350f;
}
.deep-modal-body code{
    background:#f3f4f6;
    padding:2px 6px;
    border-radius:4px;
    font-family:monospace;
    font-size:13px;
}
.deep-modal-body table{
    border-collapse:collapse;
    width:100%;
    margin:10px 0;
}
.deep-modal-body th,.deep-modal-body td{
    border:1px solid #e5e7eb;
    padding:8px 12px;
    text-align:left;
}
.deep-modal-body th{background:#f9fafb;font-weight:700;}
.deep-modal-foot{
    padding:14px 24px;
    border-top:1px solid #f3f4f6;
    text-align:right;
}

/* ========== 多页面通用样式 ========== */
.page-content{display:none;}
.page-content.active{display:block;}
.page-title{
    font-size:24px;
    font-weight:700;
    color:#1f2937;
    margin-bottom:20px;
    padding-bottom:12px;
    border-bottom:2px solid #ef4444;
    display:inline-block;
}
.card-wrap{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-bottom:30px;
}
.info-card{
    background:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    transition:.2s;
    cursor:pointer;
}
.info-card:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(0,0,0,.08);}
.info-card h4{
    font-size:18px;
    color:#1f2937;
    margin-bottom:10px;
}
.info-card p{
    font-size:14px;
    color:#6b7280;
    line-height:1.6;
    margin-bottom:12px;
}
.info-card .card-tag{
    display:inline-block;
    padding:4px 10px;
    background:#fef2f2;
    color:#ef4444;
    border-radius:20px;
    font-size:12px;
}
/* 标题 + 时间同一行（已去掉来源）；时间右上、标题占满不换行到时间处 */
.news-title-line{
    display:flex; align-items:flex-start; justify-content:space-between;
    gap:12px; margin-bottom:8px;
}
.news-time{ font-size:12px; color:#9ca3af; white-space:nowrap; flex-shrink:0; padding-top:3px; }
.news-card h4{
    flex:1; min-width:0; margin:0;
    min-height:48px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.news-card p{
    min-height:44px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
/* ICP 审批模式：全球资讯点不进详情 → 左右 2 列、摘要 500-1000 字全文、顶部+开篇对齐 */
/* 标题 .news-card h4 已 min-height:48px 锁 2 行高，左右两卡摘要「开篇」天然对齐 */
.card-wrap.news-grid-icp{
    grid-template-columns:1fr 1fr;
    align-items:stretch;   /* 同行卡片等高：短文本留白在卡片内部，顶尾对齐更整洁 */
}
.card-wrap.news-grid-icp .news-card p{
    -webkit-line-clamp:unset;
    line-clamp:unset;
    display:block;
    overflow:visible;
    min-height:0;
}
@media(max-width:768px){
    .card-wrap.news-grid-icp{grid-template-columns:1fr;}
}
.news-meta-line{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
    color:#9ca3af;
    font-size:12px;
}
.news-empty-card{
    grid-column:1/-1;
    color:#9ca3af;
    text-align:center;
    cursor:default;
}
.news-empty-card:hover{
    transform:none;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

/* ========== 足球资讯详情 ========== */
.football-news-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:1350;
    background:rgba(15,23,42,.58);
    align-items:center;
    justify-content:center;
}
.football-news-modal.show{display:flex;}
.football-news-box{
    width:min(820px,92vw);
    max-height:86vh;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    box-shadow:0 24px 60px rgba(15,23,42,.25);
}
.football-news-head{
    padding:22px 26px;
    border-bottom:1px solid #f1f5f9;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}
.football-news-head h3{
    margin:0 0 8px;
    color:#111827;
    font-size:24px;
    line-height:1.35;
}
.football-news-meta{
    color:#9ca3af;
    font-size:13px;
}
.football-news-close{
    width:32px;
    height:32px;
    border-radius:50%;
    border:none;
    background:#f3f4f6;
    color:#6b7280;
    cursor:pointer;
    font-size:22px;
    line-height:1;
}
.football-news-body{
    padding:24px 30px;
    overflow:auto;
    color:#374151;
    font-size:16px;
    line-height:1.9;
}
.football-news-body p{margin:0 0 16px;}
.football-news-loading{
    color:#9ca3af;
    text-align:center;
}
.football-news-foot{
    padding:16px 26px;
    border-top:1px solid #f1f5f9;
    display:flex;
    justify-content:flex-end;
    gap:12px;
}
.football-news-source{
    display:inline-flex;
    align-items:center;
    padding:8px 18px;
    border:1px solid #ef4444;
    border-radius:8px;
    color:#ef4444;
    font-weight:600;
}

/* 排行榜样式 */
.rank-list{
    background:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.rank-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 0;
    border-bottom:1px solid #f3f4f6;
}
.rank-item:last-child{border-bottom:none;}
.rank-left{display:flex;align-items:center;gap:16px;}
.rank-num{
    width:30px;
    height:30px;
    border-radius:50%;
    background:#f3f4f6;
    color:#6b7280;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}
.rank-item:nth-child(1) .rank-num{background:#ef4444;color:#fff;}
.rank-item:nth-child(2) .rank-num{background:#f97316;color:#fff;}
.rank-item:nth-child(3) .rank-num{background:#eab308;color:#fff;}
.rank-team{font-size:16px;font-weight:600;color:#1f2937;}
.rank-score{font-size:20px;font-weight:700;color:#ef4444;}

/* ========== 球队量化排行 ========== */
.team-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:14px;
}
.team-toolbar-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.team-scope-toggle{
    height:42px;display:inline-flex;align-items:center;gap:8px;
    padding:0 14px;border:1px solid #e5e7eb;border-radius:21px;background:#fff;
    color:#6b7280;font-size:14px;font-weight:600;cursor:pointer;
}
.team-scope-toggle input{width:16px;height:16px;accent-color:#ef4444;cursor:pointer;}
/* 非会员权限锁（2026-08-06 用户订立）：🔒 绝对定位在各自组件左上角，不占布局位、不改原尺寸。
   父容器补 position:relative 作定位基准；真正的拦截在后端 routes/team.py，这里只是可见性提示。 */
.team-scope-toggle,.team-search-wrap{position:relative}
.team-lock{position:absolute;top:-7px;left:-6px;z-index:2;font-style:normal;font-size:14px;
    line-height:1;pointer-events:none;filter:drop-shadow(0 1px 2px rgba(0,0,0,.25))}
.team-scope-toggle.is-locked,.team-search-wrap.is-locked .team-search{cursor:pointer}
/* 检索按钮嵌在输入框内右端（2026-08-06 用户订立：保留回车，另给传统按钮）。
   靠输入框右内边距让出位置，按钮绝对定位覆在上面，不撑宽整个组件。 */
.team-search-wrap{display:inline-flex;align-items:center}
.team-search-wrap .team-search{padding-right:70px}
.team-search-btn{position:absolute;right:5px;top:50%;transform:translateY(-50%);
    height:32px;padding:0 14px;border:none;border-radius:16px;background:#ef4444;color:#fff;
    font-size:14px;font-weight:600;cursor:pointer;line-height:1}
.team-search-btn:hover{opacity:.9}
.team-search{
    width:300px;
    max-width:100%;
    height:42px;
    padding:0 16px;
    border:1px solid #d1d5db;
    border-radius:21px;
    font-size:15px;
    outline:none;
    transition:border-color .2s, box-shadow .2s;
}
.team-search:focus{
    border-color:#ef4444;
    box-shadow:0 0 0 3px rgba(239,68,68,.12);
}
.team-meta-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:12px;
    font-size:14px;
    color:#6b7280;
}
.team-meta-bar b{color:#ef4444;font-weight:700;}
.team-pagesize-wrap{display:flex;align-items:center;gap:6px;}
.team-pagesize-wrap select{
    height:34px;
    padding:0 8px;
    border:1px solid #d1d5db;
    border-radius:8px;
    font-size:14px;
    cursor:pointer;
    background:#fff;
}

.team-table-wrap{
    background:#fff;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    overflow-x:auto;
}
.team-table{
    width:100%;
    border-collapse:collapse;
    font-size:15px;
    min-width:820px;
}
.team-table thead th{
    background:#f9fafb;
    color:#374151;
    font-weight:700;
    text-align:center;
    padding:14px 10px;
    border-bottom:2px solid #eee;
    white-space:nowrap;
    position:sticky;
    top:0;
}
.team-table tbody td{
    padding:13px 10px;
    text-align:center;
    border-bottom:1px solid #f3f4f6;
    color:#374151;
    white-space:nowrap;
}
.team-table tbody tr:nth-child(even){background:#fafbfc;}
.team-table tbody tr:hover{background:#fff5f5;}
.team-table .t-name{font-weight:700;color:#1f2937;text-align:left;padding-left:16px;}
.team-table .t-rating{font-weight:700;color:#ef4444;font-size:16px;}
.team-table .t-rank{white-space:nowrap;}
.team-table .rank-no{font-weight:700;color:#1f2937;font-size:16px;margin-right:5px;}
.team-loading{padding:50px 0;color:#9ca3af;text-align:center;}

/* 排名升降标记 */
.rank-delta{font-size:12px;font-weight:700;}
.rank-delta.up{color:#10b981;}
.rank-delta.down{color:#ef4444;}
.rank-delta.flat{color:#cbd5e1;}
.rank-delta.new{
    color:#f59e0b;background:#fef3c7;border-radius:4px;padding:1px 5px;font-size:11px;
}

/* 分页器 */
.team-pagination{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:22px 0 10px;
}
.pg-btn{
    min-width:38px;
    height:38px;
    padding:0 12px;
    border:1px solid #e5e7eb;
    background:#fff;
    color:#374151;
    border-radius:8px;
    font-size:14px;
    cursor:pointer;
    transition:.15s;
}
.pg-btn:hover:not(:disabled):not(.active){border-color:#ef4444;color:#ef4444;}
.pg-btn.active{background:#ef4444;border-color:#ef4444;color:#fff;font-weight:700;cursor:default;}
.pg-btn:disabled{opacity:.45;cursor:not-allowed;}
.pg-ellipsis{color:#9ca3af;padding:0 2px;}

/* ========== 奖金优化 · 方案试算 ========== */
/* 整个“快捷查看”区域 */
/* 固定在顶栏(72px)之下。原背景是透明的，固定后必须自己铺页面同色底，
   否则滚动时下方卡片会从工具栏底下透上来。 */
.bonus-toolbar{
    display:flex;align-items:center;justify-content:flex-start;
    /* 原写法是 gap:160px，行间距也跟着 160px —— 一旦换行工具栏就被撑到 300px 高，
       固定之后会吃掉三分之一视口。列间距保持不变，只把行间距收回来。 */
    column-gap:160px;
    row-gap:10px;
    flex-wrap:wrap;margin-bottom:-4px;
    position:sticky;
    top:72px;
    z-index:100;
    background:#f5f7fa;
    padding:8px 0;
}
/* 登录态多出「快捷查看」一块（约 330px），窄屏放不下 160px 的列间距会换行 */
@media (max-width:1240px){ .bonus-toolbar{column-gap:60px;} }
.bonus-tabs{display:flex;gap:12px;margin-left:auto;}
.bonus-tab{
    padding:14px 40px;border:2px solid #e5e7eb;background:#fff;color:#6b7280;
    border-radius:30px;font-size:20px;font-weight:800;letter-spacing:1px;
    cursor:pointer;transition:.18s;
}
.bonus-tab.active{
    background:linear-gradient(135deg,#ef4444,#dc2626);border-color:#ef4444;color:#fff;
    box-shadow:0 4px 14px rgba(239,68,68,.4);transform:scale(1.04);
}
.bonus-tab:hover:not(.active){border-color:#ef4444;color:#ef4444;}

.web-saved-card{max-width:860px;margin:0 auto;background:#fff;border-radius:14px;padding:22px;box-shadow:0 2px 10px rgba(0,0,0,.05);}.web-saved-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:12px;padding-bottom:14px;border-bottom:1px solid #eef0f3;color:#6b7280;}.web-saved-head h3{margin:0;color:#111827;}/* 标题居中、吃满中列；两侧按钮与 H5 方案详情弹窗头同构 */.web-saved-title{min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:20px;position:relative;top:-2px;}.web-saved-head-btn{flex:0 0 auto;padding:5px 14px;border-radius:9px;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;}.web-saved-head-btn.back{border:1px solid #e5e7eb;background:#f9fafb;color:#374151;}.web-saved-head-btn.back:hover{background:#f3f4f6;}.web-saved-head-btn.share{border:0;background:#ef4444;color:#fff;}.web-saved-head-btn.share:hover{background:#dc2626;}.web-saved-source{display:inline-block;border-radius:12px;padding:3px 9px;background:#eff6ff;color:#2563eb;font-size:12px;}.web-saved-selection-list{margin:14px 0;}.web-saved-selection{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f3f4f6;}
.web-saved-selection .wsp-no{flex:0 0 auto;min-width:70px;color:#e11d48;font-weight:700;}
.web-saved-selection .wsp-teams{flex:1 1 auto;text-align:center;color:#111827;}
.web-saved-selection .wsp-teams em{margin:0 6px;font-style:normal;color:#9ca3af;font-size:12px;}
.web-saved-selection .wsp-odds{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;}
.web-saved-selection .wsp-odds b{display:inline-block;padding:2px 8px;border:1px solid #fecaca;border-radius:6px;background:#fef2f2;color:#e11d48;font-size:12px;font-weight:600;}.web-saved-total{margin:14px 0;padding:12px;border-radius:8px;background:#f9fafb;line-height:1.7;color:#374151;}

/* AI精选与串关精选并列，但不共享人工购物车状态。 */
.web-ai-root{background:#fff;border-radius:14px;padding:22px;box-shadow:0 2px 10px rgba(0,0,0,.05);}
.web-ai-ask h2{text-align:center;font-size:22px;margin:0 0 18px;color:#111827;}.web-ai-input-row{display:flex;gap:12px;align-items:stretch;}.web-ai-input{flex:1;min-height:44px;height:44px;border:1px solid #d1d5db;border-radius:10px;padding:12px;font-size:15px;resize:vertical;}.web-ai-generate{width:74px;border:0;border-radius:10px;background:#ef4444;color:#fff;font-size:16px;font-weight:800;line-height:1.3;white-space:pre-line;cursor:pointer;}.web-ai-presets{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px;}.web-ai-presets button{border:0;border-radius:18px;padding:9px 13px;background:#f3f4f6;color:#4b5563;cursor:pointer;}.web-ai-message{margin:16px 0;color:#6b7280;}.web-ai-cards{display:flex;flex-direction:column;gap:12px;margin-top:12px;}.web-ai-summary{background:#eff6ff;border-radius:8px;padding:11px;line-height:1.55;color:#1e3a5f;margin-bottom:10px;}.web-ai-actions{display:flex;gap:8px;margin-top:15px;}.web-ai-actions button{flex:1;border-radius:8px;padding:10px;border:1px solid #ef4444;font-size:15px;font-weight:700;cursor:pointer;}.web-ai-actions .save{color:#dc2626;background:#fff;}.web-ai-actions .share{color:#fff;background:#ef4444;}@media(max-width:980px){.web-ai-input-row{flex-direction:column;}.web-ai-generate{width:100%;height:42px;white-space:normal;}}
.web-ai-generate:disabled,.web-ai-input:disabled,.web-ai-presets button:disabled{opacity:.48;cursor:not-allowed;}

/* 历史导航条（2026-09-23）：左「‹ 序号/总数 ›」翻看本日期 tab 下点标签/生成过的历次方案，
   中「本条方案对应的指令标签」，右「推荐理由 + 开关」，默认收起（与 H5 同口径）。 */
.web-ai-hist-head{display:flex;align-items:center;justify-content:space-between;gap:8px;
    margin-bottom:10px;}
.web-ai-hist-pager{display:flex;align-items:center;gap:6px;flex-shrink:0;}
.web-ai-hist-pager-single{min-width:1px;}
.web-ai-hist-arrow{border:0;background:#f3f4f6;color:#4b5563;width:24px;height:24px;border-radius:50%;
    font-size:15px;line-height:1;cursor:pointer;flex-shrink:0;}
.web-ai-hist-arrow:disabled{opacity:.4;cursor:not-allowed;}
.web-ai-hist-count{font-size:13px;color:#6b7280;min-width:38px;text-align:center;}
.web-ai-hist-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    font-size:13px;color:#9ca3af;text-align:center;padding:0 6px;}
.web-ai-hist-reason{display:flex;align-items:center;gap:8px;flex-shrink:0;color:#dc2626;
    font-size:15px;font-weight:700;}
/* 仿后台 .toggle-switch 的纯 CSS 药丸开关（admin.html 同款几何，颜色改用本页主色） */
.web-ai-reason-switch{position:relative;width:38px;height:20px;background:#d1d5db;border-radius:10px;
    transition:background .2s;flex-shrink:0;cursor:pointer;}
.web-ai-reason-switch::after{content:'';position:absolute;top:2px;left:2px;width:16px;height:16px;
    background:#fff;border-radius:50%;transition:left .2s;box-shadow:0 1px 3px rgba(0,0,0,.15);}
.web-ai-reason-switch.on{background:#dc2626;}
.web-ai-reason-switch.on::after{left:20px;}

/* 额度用完 / 意图不明 弹窗：套用 .modal-mask/.modal-box 壳子（与 showContactModal 同源） */
.web-ai-modal-box{max-width:360px;padding:26px 24px;text-align:center;}
.web-ai-modal-title{font-size:17px;font-weight:700;color:#374151;margin-bottom:12px;}
.web-ai-modal-text{font-size:14px;color:#4b5563;line-height:1.6;}
.web-ai-modal-qr{display:block;margin:16px auto 0;max-width:220px;width:100%;height:auto;
    border:1px solid #e5e7eb;border-radius:8px;}
.web-ai-modal-qr-tip{font-size:13px;color:#9ca3af;margin-top:8px;}
.web-ai-modal-ok{width:100%;margin-top:18px;}

/* 赛事选盘占70%，奖金试算占30%（右栏sticky固定）；窄屏再上下排列。 */
.bonus-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:18px;align-items:start;}
@media (max-width:980px){ .bonus-layout{grid-template-columns:1fr;} }

.bonus-list{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:200px;}
.bonus-date-group{display:flex;justify-content:center;align-items:center;gap:14px;margin:4px 0 0;padding:10px 12px;border-radius:9px;background:#f8fafc;color:#4b5563;font-size:14px;text-align:center;}
.bonus-date-group b{font-weight:700;}
.bonus-date-group .bonus-date-count{color:#ef4444;font-weight:700;}
.bonus-date-toggle{border:1px solid #e5e7eb;background:#fff;color:#6b7280;border-radius:14px;padding:3px 12px;font-size:12px;cursor:pointer;}
.bonus-date-toggle:hover{border-color:#ef4444;color:#ef4444;}
.bonus-quick-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#6b7280;font-size:16px;}
.bonus-toolbar-quick{padding:0;margin:0;}
.bonus-quick-nav .bqn-label{font-weight:700;color:#374151;}
.bonus-quick-pill{border:1px solid #e5e7eb;background:#fff;color:#4b5563;border-radius:20px;padding:8px 20px;font-size:16px;cursor:pointer;}
.bonus-quick-pill:hover{border-color:#ef4444;color:#ef4444;}
/* 该天 0 场未开赛 → 置灰。按钮上的 background/color 是显式值，会盖掉浏览器默认的
   disabled 灰，必须自己写；:hover 也要一并压住，否则悬停仍会变红、看着像可点。 */
.bonus-quick-pill:disabled{background:#f9fafb;color:#d1d5db;border-color:#f3f4f6;cursor:not-allowed;}
.bonus-quick-pill:disabled:hover{border-color:#f3f4f6;color:#d1d5db;}
.uc-saved-filters{padding-bottom:14px;border-bottom:1px solid #f0f2f5;}.uc-saved-stats{display:flex;flex-wrap:wrap;gap:8px 22px;margin:14px 0 16px;font-size:13px;color:#6b7280;}.uc-saved-stats b{color:#e53935;font-size:15px;margin:0 2px;}.uc-saved-lock{text-align:center;padding:36px 16px;color:#6b7280;}.uc-saved-lock-ico{font-size:34px;margin-bottom:10px;}.uc-saved-lock-btn{margin-top:14px;padding:9px 26px;border:0;border-radius:7px;background:#e53935;color:#fff;font-size:14px;cursor:pointer;}
.uc-saved-list{display:flex;flex-direction:column;gap:10px;}
/* 三列：左组(来源·方案名·保存于) | 本金+注数 | 开奖徽章（2026-08-07 用户订立，原为 flex 两段式）。
   ⚠️ 列宽写死而不是 auto —— 每行是**独立的 grid**，auto 只在行内取最大内容宽、行与行不会对齐；
   写死才能让整列金额排成一条线（H5 的 .sc-row2 同理）。
   ⚠️ 微调点：--uc-stake-w（本金列）/ --uc-prize-w（徽章列）。 */
.uc-saved-item{--uc-stake-w:150px;--uc-prize-w:150px;
    display:grid;grid-template-columns:1fr var(--uc-stake-w) var(--uc-prize-w);align-items:center;
    gap:12px;text-align:left;padding:13px;border:1px solid #eef0f3;border-radius:9px;background:#fff;cursor:pointer;color:#374151;}
.uc-saved-item b{color:#e53935;}.uc-saved-item small{display:block;margin-top:5px;color:#9ca3af;}
.uc-saved-main{min-width:0;}
.uc-saved-item em.uc-saved-stake{font-style:normal;color:#6b7280;white-space:nowrap;text-align:right;}
.uc-saved-prize{justify-self:end;white-space:nowrap;}.uc-empty{margin:0;color:#9ca3af;text-align:center;padding:24px;}
.bonus-empty{
    text-align:center;padding:60px 20px;color:#9ca3af;font-size:15px;
    background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.bonus-vip-btn{
    padding:10px 28px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;
    border-radius:22px;font-size:15px;font-weight:600;cursor:pointer;
}

/* 选盘卡 */
.bonus-match-card{
    background:#fff;border-radius:12px;padding:11px 14px;margin-bottom:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);transition:.15s;
}
/* 同一天最后一张卡片贴着下方日期头/容器边界，不需要额外留白 */
.bonus-match-card:last-child{margin-bottom:0;}
.bonus-match-card{position:relative;}
.bonus-match-card.picked{box-shadow:0 0 0 2px #ef4444, 0 2px 10px rgba(239,68,68,.15);}
/* 量化推荐赛事：左上描边 + 永久印章（取消选择也保留）*/
.bonus-match-card.recommended{
    border:1px solid #fbbf24;
    background:linear-gradient(180deg,#fffdf5 0%,#fff 40%);
}
/* 量化精选印章（原"官方推荐"，2026-07-27 改）：内联于卡片头右侧、时间前，不再覆盖赔率框 */
.rec-stamp{
    display:inline-block;
    flex-shrink:0;
    padding:1px 5px;
    border:1px solid #d97706;
    border-radius:5px;
    background:#fef3c7;
    color:#b45309;
    font-size:11px;
    font-weight:800;
    letter-spacing:.5px;
    line-height:1.5;
}
.bonus-card-head{display:flex;align-items:center;gap:6px;margin-bottom:7px;font-size:13px;color:#6b7280;}
.bonus-card-head .match-no{color:#ef4444;font-weight:700;}   /* 编号红加粗 */
/* 单行三列：左右等宽(flex:1) → 中间队名块落卡片正中，VS 绝对居中、镜像对称 */
.bonus-sum-left {flex:1 1 0;min-width:0;display:flex;align-items:center;gap:6px;justify-content:flex-start;overflow:hidden;white-space:nowrap;}
.bonus-sum-right{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:6px;justify-content:flex-end;white-space:nowrap;}
.bonus-sum-center{flex:0 1 auto;min-width:0;display:flex;align-items:center;justify-content:center;gap:10px;}
.bonus-sum-center .bc-team{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rec-tag{background:#fef3c7;color:#d97706;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600;}
.bonus-card-act{
    padding:5px 12px;border-radius:16px;font-size:12px;font-weight:600;cursor:pointer;border:none;flex-shrink:0;
}
.bonus-card-act.add{background:#ef4444;color:#fff;}
.bonus-card-act.remove{background:#fee2e2;color:#dc2626;}   /* × 移除（红）：文案指向下一步动作，配色随之；与实红底的 .add 区分 */
.bonus-card-act.add:hover{opacity:.9;}

.bonus-card-teams{display:flex;align-items:center;justify-content:center;gap:13px;margin-bottom:7px;}
.bc-team{font-size:15px;font-weight:600;color:#1f2937;}
.bc-team b{color:#ef4444;font-size:17px;}
.bc-vs{font-size:17px;font-weight:800;color:#ef4444;}

.bonus-odds-row{display:flex;align-items:center;gap:6px;margin-top:5px;}
/* B17 红外框只圈三个赔率框、不含 0/-1 标签：标签与赔率框同居一行，直接给行加边框会连标签
   一起框住 —— 用 ::after 描边层，左端从标签宽(44px)+gap(6px) 处起。
   ⚠️ .bonus-odds-label 宽度或 .bonus-odds-row 的 gap 改动时，这里的 50px 必须同步。 */
.bonus-odds-row.single-outline{position:relative;}
.bonus-odds-row.single-outline::after{content:'';position:absolute;
    top:-2px;bottom:-2px;left:50px;right:-2px;
    border:1.5px solid #ef4444;border-radius:8px;pointer-events:none;}
/* B17（2026-08-05）：标签里的「非让球/让球」文字已删，只剩 0/-1 盘口标记 + 左上角「单」角标。
   宽 60→44：文字没了不需要那么宽，但要放得下角标；框身做成与赛程卡 .mark-box 同款的浅底圆角，
   角标才有可裁切的边界（overflow:hidden 把旋转 45° 的方块裁成三角）。 */
.bonus-odds-label{position:relative;overflow:hidden;width:44px;height:34px;flex-shrink:0;
    display:flex;align-items:center;justify-content:center;
    background:#f9fafb;border-radius:7px;font-size:12px;color:#999;}
.bo-label-mark{font-weight:700;}
.bo-label-mark.zero{color:#888;}
.bo-label-mark.positive{color:#2563eb;}
.bo-label-mark.negative{color:#ef4444;}
.bonus-odds{
    flex:1;display:flex;align-items:center;justify-content:center;gap:6px;
    height:34px;background:#f9fafb;border:1px solid transparent;border-radius:7px;cursor:pointer;transition:.12s;
}
.bonus-odds:hover:not(.disabled){background:#fee2e2;}
.bonus-odds.active{background:#fee2e2;border-color:#ef4444;}
.bonus-odds.active .bo-type,.bonus-odds.active .bo-val{color:#ef4444;}
.bonus-odds.disabled{opacity:.4;cursor:not-allowed;}
/* 预测赔率框：右上角蓝圈红"荐"角标，样式对齐已有赛果角标(.odds-cell.actual-result)，仅换字与字色 */
.bonus-odds.predicted{position:relative;border:1.5px solid #0ea5e9;}
.bonus-odds.predicted::after{
    content:"荐";
    position:absolute;
    top:-7px;
    right:-5px;
    box-sizing:border-box;
    width:24px;
    height:24px;
    border-radius:50%;
    background:#fff;
    border:1.5px solid #0ea5e9;   /* 蓝色边框保留 */
    color:#ef4444;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;               /* 放大一号，白底红字更清晰 */
    font-weight:800;
    line-height:1;
    box-shadow:0 2px 6px rgba(14,165,233,.32);
    z-index:2;
}
.bonus-odds.active.predicted{border-color:#ef4444;}   /* 已选优先于预测描边 */
.bo-type{font-size:13px;color:#666;}
.bo-val{font-size:14px;font-weight:700;color:#333;}

/* 右侧 sticky 计算器 */
/* top 必须让开顶栏(72px) + 上方固定的 .bonus-toolbar(实测 86px)，否则试算卡会被工具栏压住。
   改工具栏的高度/padding 时这里要同步。 */
/* ⚠️ z-index 不是给卡片自己用的，是给**卡片内的组合明细弹窗**用的：
   sticky 元素必然创建层叠上下文（即使 z-index:auto），弹窗的 z-index 被关在这里、
   对外只按本元素的层级排序 —— 不给足值，顶栏(999)/固定工具栏(100)/左栏队徽都会压住弹窗。
   取 500：高于固定工具栏(100)与左栏赛程卡内的角标/队徽，又低于顶栏(999)和登录/开通等
   模态框(1200+) —— 那些该盖住计算器时仍盖得住。卡片自身 top:174px 与顶栏(0-72)不重叠，
   不必也不应为了弹窗把它抬到 999 以上。 */
.bonus-calc{position:sticky;top:174px;z-index:500;}
.bonus-calc-card{
    background:#fff;border-radius:14px;padding:20px;box-shadow:0 2px 12px rgba(0,0,0,.07);
    line-height:1.2;
}
.bonus-calc-title{font-size:18px;font-weight:700;color:#1f2937;margin-bottom:4px;text-align:center;}
.bonus-calc-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
/* 已选赛事 + 基础倍数 合并为一行：左「已选赛事 N 场」右「基础倍数 − n +」，
   两组各自成块，中间留弹性空隙 */
.bonus-calc-label{font-size:14px;color:#6b7280;}
.bonus-calc-val b{color:#ef4444;font-size:18px;}
.bonus-mul{display:flex;align-items:center;gap:8px;}
.bonus-mul-btn{
    width:30px;height:30px;border-radius:50%;border:1px solid #e5e7eb;background:#fff;
    font-size:18px;color:#374151;cursor:pointer;line-height:1;
}
.bonus-mul-btn:disabled{opacity:.4;cursor:not-allowed;}
.bonus-mul-input{
    width:52px;height:30px;border:1px solid #e5e7eb;border-radius:7px;
    text-align:center;font-size:16px;font-weight:700;color:#1f2937;
}
.bonus-mt-row{display:flex;align-items:center;gap:8px;margin-bottom:2px;}
/* 标签不参与均分，剩余宽度全部给按钮（与 H5 .plan-pass-btn 同规则） */
.bonus-mt-row .bonus-calc-label{flex:0 0 auto;}
.bonus-mt-btns{display:contents;}
.bonus-mt-btn{
    padding:6px 12px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;
    border-radius:8px;font-size:13px;cursor:pointer;
}
.bonus-mt-btn.active{background:#ef4444;border-color:#ef4444;color:#fff;}
.bonus-mt-btn:disabled{opacity:.35;cursor:not-allowed;}
/* 过关方式：胶囊按钮 + 动态均分（按钮少时放宽到上限，多到放不下则整体压缩） */
.bonus-pass-btn{
    flex:1 1 0;min-width:0;max-width:76px;min-height:32px;padding:0 2px;
    border:1px solid #e5e7eb;border-radius:7px;background:#fff;color:#374151;font-weight:400;
    font-size:15px;line-height:1.1;white-space:nowrap;cursor:pointer;
}
/* 数量查询：选项多了自动缩小字号与间隙（≥6 个 14px、≥7 个 13px），
   与 H5「内容一致、只缩字号与间隙」的响应式原则同口径 */
.bonus-pass-btn:nth-last-child(n+6),
.bonus-pass-btn:nth-last-child(n+6) ~ .bonus-pass-btn{font-size:14px;padding:0 3px;}
.bonus-pass-btn:nth-last-child(n+7),
.bonus-pass-btn:nth-last-child(n+7) ~ .bonus-pass-btn{font-size:13px;padding:0 2px;}
/* 选中态与「冷热同倍」等优化策略按钮同一套：浅红底 + 红边 + 红字（不是红底白字） */
.bonus-pass-btn.active{background:#fef2f2;border-color:#ef4444;color:#ef4444;font-weight:700;}
/* .bonus-single-tag 已删（2026-08-05 B17：方案精选/AI精选卡改用 .mk-single 角标 + 行红框） */

/* 四栏「场数/注数/倍速/金额」，结构与取值对齐 H5 .plan-calc-summary：
   grid 而非 flex —— 第 3 栏要放下「− 输入框 +」步进器，需要给它更宽的份额（3fr）；
   1px gap + 灰底形成分隔线，视觉上四栏成组。 */
.bonus-calc-summary{
    display:grid;
    grid-template-columns:minmax(0,1.6fr) minmax(0,1.6fr) minmax(172px,2.8fr) minmax(0,1.6fr);
    gap:0;text-align:center;background:#e5e7eb;border-radius:10px;overflow:hidden;
    padding:0;margin:4px 0;font-size:13px;color:#9ca3af;
}
/* 四栏单位内联：数字 + 右下角小一号单位（场/注/倍/元），与 H5 .plan-calc-stat 同口径 */
.bonus-calc-stat{
    min-width:0;background:#f9fafb;padding:4px 1px;
    /* 倍数胶囊比文本高，只用 align-items 会让四栏内容中心线错开；
       flex-wrap + align-content:center 把整条内容行在栏内垂直居中，
       栏内仍保持 baseline —— 单位「场/注/元」照旧挂在数字右下角（与 H5 同修法） */
    display:flex;flex-direction:row;flex-wrap:wrap;
    align-items:baseline;align-content:center;justify-content:center;gap:1px;
}
.bonus-unit{font-style:normal;font-weight:400;color:#111827;line-height:1;font-size:16px;}
.bonus-calc-summary b{font-size:22px;line-height:1.1;color:#ef4444;margin:0;}
.bonus-calc-summary .bonus-mul{gap:2px;}
.bonus-calc-summary .bonus-mul-btn{width:34px;height:34px;color:#ef4444;font-weight:700;font-size:17px;}
.bonus-calc-summary .bonus-mul-input{width:81px;height:28px;}

/* 常用倍数快捷行：点击直接填进倍数输入框（与 H5 .plan-quick-mul 同规则） */
.bonus-quick-mul{display:flex;align-items:center;flex-wrap:wrap;gap:2px;margin:2px 0 4px;}
.bonus-quick-label{flex:0 0 auto;color:#6b7280;font-size:13px;}
.bonus-quick-btn{flex:1 1 0;min-width:0;min-height:24px;padding:1px 2px;
    border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;color:#374151;
    font-size:13px;cursor:pointer;}
.bonus-quick-btn-small{padding-left:1px;padding-right:1px;}
.bonus-quick-btn:hover{background:#fee2e2;border-color:#fca5a5;color:#dc2626;}
.bonus-norow{color:#9ca3af;padding:8px;}
.bonus-mt-hint{color:#9ca3af;font-size:13px;text-align:center;padding:6px 0 10px;}
.bonus-opt-card{border-top:1px solid #f1f5f9;padding-top:10px;margin-top:4px;}
.bonus-opt-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
/* 四个策略按钮：**未选中态是蓝字+下划线**（像链接，提示可点），选中态才变红并去掉下划线。
   与 H5 .plan-opt-btn 同款（2026-08-01 用户要求对齐）。 */
.bonus-opt-btn{
    min-width:0;padding:9px 4px;border:1px solid #e5e7eb;border-radius:8px;
    /* 未选中态与 H5 .plan-opt-btn 一致：深灰字 + 浅灰底 + 明确边框，不用蓝字下划线
       （那看不出是按钮）；选中态红字红边 */
    background:#f3f4f6;color:#4b5563;font-size:13px;font-weight:400;cursor:pointer;
    text-decoration:none;
}
.bonus-opt-btn.active{border-color:#dc2626;background:#fff1f2;color:#dc2626;font-weight:500;text-decoration:none;}
/* 奖金行 = 左「预计 金额（明细）」+ 右「保存方案」，与 H5 .plan-opt-range 同布局 */
/* 内容与顺序同 H5 .plan-opt-range：预计 X ~ Y 元（明细）《免责声明》[保存方案]。
   ⚠️ 必须保留 flex-wrap：卡片实宽仅 403px(1280 时 367px)，而这四段自然宽 415px，
   不换行会让「（明细）」与「《免责声明》」直接压字（H5 在 ≤414px 正是这个症状）。
   web 纵向空间充裕，宁可让「保存方案」落到第二行，也不压字。 */
.bonus-opt-summary{padding:11px 2px 8px;color:#6b7280;font-size:13px;font-weight:400;line-height:1.55;
    display:flex;justify-content:space-between;align-items:center;gap:6px;}
.bonus-opt-prize{min-width:0;display:flex;align-items:baseline;gap:4px;white-space:nowrap;}
.bonus-opt-prize>b{color:#ef4444;font-weight:700;font-size:17px;line-height:1.15;}
.bonus-inline-save{flex:0 0 auto;min-height:32px;padding:4px 10px;border:0;border-radius:10px;
    background:#ef4444;color:#fff;font-size:14px;font-weight:700;cursor:pointer;}
.bonus-inline-save:hover{background:#dc2626;}

/* 组合明细弹窗：position:fixed 不占布局，故仍是卡片 innerHTML 的一部分，
   #bonusOptRows 的实时写入与每组合倍数步进器都不受影响（与 H5 同做法） */
/* 弹窗顶边让开顶栏(72px) + 固定工具栏(86px)，再留 16px 缝隙 = 174px，与 .bonus-calc 的 top 同源，
   改工具栏高度时两处一起改。原写法是 inset:0 + align-items:center：内容多时弹窗被撑高、
   居中后顶部溢出到视口外，关闭的 × 落在 y=0 正好被顶栏盖住，用户点不到、关不掉。
   改为贴着可用区顶部排布(flex-start)并限高，× 永远在固定条下方可见。 */
.bonus-detail-overlay{display:none;position:fixed;top:174px;right:0;bottom:0;left:0;z-index:1200;
    background:rgba(0,0,0,.45);align-items:flex-start;justify-content:center;padding:20px;}
.bonus-detail-overlay.show{display:flex;}
.bonus-detail-box{width:100%;max-width:560px;max-height:calc(100vh - 214px);background:#fff;
    border-radius:14px;overflow:hidden;display:flex;flex-direction:column;}
.bonus-detail-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;
    padding:10px 14px;border-bottom:1px solid #f3f4f6;font-weight:700;color:#111827;}
.bonus-detail-close{border:0;background:none;font-size:22px;line-height:1;color:#9ca3af;
    cursor:pointer;padding:0 4px;}
.bonus-detail-scroll{flex:1;min-height:0;overflow-y:auto;}
/* 只金额区间标红加粗放大（括注已删，见 bonus.js）：17px 对应 H5 的 --h5-font-data+3px，
   比容器 13px 明显大一档，是这张卡的主结果、应当第一眼看到。 */
.bonus-opt-amount{color:#ef4444;font-weight:700;font-size:17px;line-height:1.15;}
/* 金额过长时降一档，给「保存方案」让位——不换行、不压字（见 CLAUDE.md 响应式第一原则） */
.bonus-opt-prize>b.is-long,.bonus-opt-amount.is-long{font-size:14px;}
/* 明细开关：蓝字+下划线+中性灰边框，与 H5 .plan-detail-toggle 同款。
   原为红字红边框，与旁边的「预计奖金」金额（同为红色）抢视线，且红色在本卡里
   已用于表示结果/选中，用作次要开关语义不符。 */
/*「（明细）」内联在金额后，点开是浮层弹窗；不再是占一格的独立按钮 */
.bonus-mul-btn.at-limit{color:#d1d5db;}
.bonus-detail-toggle{border:0;background:none;padding:0 0 0 2px;color:#2563eb;font-size:13px;
    /* 下划线画在内层 <u>明细</u> 上，不画在按钮上——否则连两侧括号一起划，
       线比文字长一截（与 H5 .plan-detail-toggle 同口径） */
    font-weight:600;cursor:pointer;text-decoration:none;}
.bonus-detail-toggle u{text-underline-offset:2px;}
.bonus-opt-table-wrap{max-height:520px;overflow:auto;}
.bonus-opt-table{width:100%;border-collapse:collapse;font-size:12px;border:1px solid #cbd5e1;}
/* 行距对齐 H5 .plan-opt-detail（那边 td 是 3px 2px）：原 7px 5px 在多行组合下过于松散，
   一屏看不到几注。PC 端字号更大，故留一点余量取 3px 4px。 */
.bonus-opt-table th,.bonus-opt-table td{padding:3px 4px;border:1px solid #cbd5e1;text-align:center;vertical-align:middle;}
.bonus-opt-table th{color:#9ca3af;font-weight:600;position:sticky;top:0;background:#fff;z-index:1;}
/* 「方案」列的值放大加粗深黑、括号内胜平负标红（2026-08-06 用户订立，以示重要）。表头不受影响。
   倍数列是 .bonus-mul-input 步进器，它本就是 16px/700/#1f2937，已满足要求、无需再改。 */
.bonus-opt-table td.bonus-opt-leg{font-size:1.12em;color:#1f2937;}
.bonus-opt-table .leg-pick{color:#dc2626;font-weight:700;}
.bonus-opt-table th:nth-child(3),.bonus-opt-table td:nth-child(3),
.bonus-opt-table th:nth-child(4),.bonus-opt-table td:nth-child(4),
.bonus-opt-table th:nth-child(5),.bonus-opt-table td:nth-child(5){text-align:center;}
.bonus-opt-table td.saved-opt-no{font-size:1.12em;color:#e11d48;font-weight:700;white-space:nowrap;}
/* 两组组合交替底色（蓝/黄），避免多行连排误认成多个独立方案（保存方案详情表同款复用）；
   2026-07-28 由蓝/绿/黄三色精简为两色，与 H5 端及分享页 share.html 统一同款配色 */
.bonus-opt-table tr.combo-tint-0 td,.saved-opt-table tr.combo-tint-0 td{background:#dbeafe;}
.bonus-opt-table tr.combo-tint-1 td,.saved-opt-table tr.combo-tint-1 td{background:#fef3c7;}
/* 已保存方案详情优化表：5 列(编号/单注/回报/倍数/奖金)，复用 combo-top/leg-sub/award 视觉 */
.saved-opt-table{width:100%;border-collapse:collapse;font-size:12px;border:1px solid #cbd5e1;}
.saved-opt-table th,.saved-opt-table td{padding:7px 5px;border:1px solid #cbd5e1;text-align:center;vertical-align:middle;}
.saved-opt-table th{color:#9ca3af;font-weight:600;}
.saved-opt-table td.saved-opt-no{font-size:1.12em;color:#e11d48;font-weight:700;white-space:nowrap;}
.saved-opt-table th:nth-child(3),.saved-opt-table td:nth-child(3),
.saved-opt-table th:nth-child(4),.saved-opt-table td:nth-child(4),
.saved-opt-table th:nth-child(5),.saved-opt-table td:nth-child(5){text-align:center;}
.bonus-opt-combo-top td{border-top:1px solid #e5e7eb;}
/* 组合内第二腿与第一腿**完全同款**（居中、同色、不缩进）——原先缩进 18px 且用浅灰 #64748b，
   两腿看着像「主 + 附属」，实际是平等的两场比赛。类名保留（JS 仍在输出），刻意不再做视觉区分。 */
.bonus-opt-leg-sub{color:inherit;}
.bonus-opt-award{color:#dc2626;font-weight:800;}
.bonus-opt-stepper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;}
.bonus-opt-mul-btn{
    width:25px;height:25px;border:0;border-radius:6px;background:#f3f4f6;
    color:#475569;font-size:15px;line-height:1;cursor:pointer;
}
.bonus-opt-mul-btn:disabled{opacity:.4;cursor:not-allowed;}
.bonus-opt-mul-input{
    width:38px;height:25px;border:1px solid #e5e7eb;border-radius:6px;
    text-align:center;font-size:13px;color:#1f2937;
}
.bonus-btn-row{display:flex;gap:10px;margin-top:6px;}
.bonus-save-btn{
    flex:1;height:48px;border-radius:10px;font-size:16px;font-weight:700;cursor:pointer;transition:.15s;
}
.bonus-save-btn.save{
    background:#fff;border:1.5px solid #ef4444;color:#ef4444;
}
.bonus-save-btn.save:hover{background:#fef2f2;}
.bonus-save-btn.share{
    background:linear-gradient(135deg,#ef4444,#dc2626);border:none;color:#fff;
    box-shadow:0 2px 8px rgba(239,68,68,.3);
}
.bonus-save-btn.share:hover{opacity:.92;}
.bonus-save-tip{text-align:center;font-size:12px;color:#9ca3af;margin-top:1px;}

/* 计算器样式 */
.calc-box{
    background:#fff;
    border-radius:12px;
    padding:30px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    max-width:600px;
    margin:0 auto;
}
.calc-item{margin-bottom:20px;}
.calc-item label{
    display:block;
    font-size:15px;
    color:#374151;
    margin-bottom:8px;
    font-weight:500;
}
.calc-input{
    width:100%;
    height:44px;
    padding:0 14px;
    border:1px solid #d1d5db;
    border-radius:8px;
    font-size:15px;
}
.calc-btn{
    width:100%;
    height:48px;
    background:#ef4444;
    color:#fff;
    border-radius:8px;
    font-size:16px;
    font-weight:600;
    margin-top:10px;
}
.calc-result{
    margin-top:20px;
    padding:20px;
    background:#f0fdf4;
    border-radius:8px;
    text-align:center;
}
.calc-result strong{font-size:24px;color:#10b981;}

/* ========== 用户中心 ========== */
.uc-toolbar{
    display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;
}
.uc-refresh-btn{
    padding:9px 20px;background:#fff;border:1px solid #ef4444;color:#ef4444;
    border-radius:8px;font-size:14px;font-weight:600;
}
.uc-refresh-btn:hover{background:#fef2f2;}
.uc-login-card{
    background:#fff;border-radius:14px;padding:48px 24px;text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.05);color:#6b7280;
}
.uc-login-card h3{font-size:22px;color:#1f2937;margin-bottom:10px;}
.uc-login-card button{
    margin-top:18px;padding:11px 34px;background:#ef4444;color:#fff;border-radius:24px;
    font-size:15px;font-weight:700;
}
.uc-tabs{
    display:flex;gap:10px;margin-bottom:16px;border-bottom:1px solid #e5e7eb;
}
.uc-tab{
    padding:12px 28px;border-radius:8px 8px 0 0;background:#fff;color:#6b7280;
    font-size:16px;font-weight:700;border:1px solid #e5e7eb;border-bottom:none;
}
.uc-tab.active{background:#ef4444;color:#fff;border-color:#ef4444;}
.uc-panel{background:#fff;border-radius:12px;padding:22px;box-shadow:0 2px 10px rgba(0,0,0,.05);}
.uc-profile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px;}
@media (max-width:980px){.uc-profile-grid{grid-template-columns:repeat(2,1fr);}}
.uc-profile-item{background:#f9fafb;border:1px solid #eef2f7;border-radius:10px;padding:18px;}
.uc-profile-label{font-size:13px;color:#9ca3af;margin-bottom:8px;}
.uc-profile-value{font-size:20px;font-weight:800;color:#1f2937;word-break:break-all;}
.uc-profile-value.red{color:#ef4444;}
.uc-service-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
@media (max-width:980px){.uc-service-list{grid-template-columns:1fr;}}
.uc-service-card{border:1px solid #f3f4f6;border-radius:10px;padding:18px;background:#fff;}
.uc-service-title{font-size:17px;font-weight:800;color:#1f2937;margin-bottom:8px;}
.uc-service-desc{font-size:14px;color:#6b7280;line-height:1.7;}
.uc-order-ident{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:16px;}
.uc-ident-item{min-width:180px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:12px 14px;}
.uc-ident-label{font-size:13px;color:#9ca3af;margin-bottom:4px;}
.uc-ident-value{font-size:16px;font-weight:700;color:#374151;}
.uc-filter-grid{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:center;margin-bottom:16px;}
.uc-filter{display:flex;align-items:center;gap:8px;color:#374151;font-size:15px;}
.uc-filter label{white-space:nowrap;}
.uc-filter input,.uc-filter select{
    height:38px;min-width:142px;border:1px solid #d1d5db;border-radius:6px;padding:0 10px;
    background:#fff;font-size:14px;outline-color:#ef4444;
}
.uc-actions{display:flex;gap:12px;align-items:center;margin-bottom:16px;}
.uc-action-btn{height:38px;padding:0 20px;border-radius:6px;font-size:15px;font-weight:700;}
.uc-action-btn.primary{background:#ef4444;color:#fff;}
.uc-action-btn.light{background:#fff;border:1px solid #e5e7eb;color:#374151;}
.uc-action-btn.success{background:#16a34a;color:#fff;}
.uc-order-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:8px;}
.uc-order-table{width:100%;min-width:1240px;border-collapse:collapse;table-layout:fixed;font-size:14px;}
.uc-order-table th,.uc-order-table td{
    padding:13px 10px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;
    text-align:center;white-space:nowrap;color:#374151;
}
.uc-order-table th{background:#f9fafb;color:#1f2937;font-weight:800;}
.uc-order-table tr:hover td{background:#fff5f5;}
.uc-empty{padding:42px;text-align:center;color:#9ca3af;}
/* 我的卡包（P3）：页签 + 券卡。折扣/有效期/状态由 /api/coupons 下发，本层只管版式；
   「已使用/已过期」整卡降饱和靠 .dead 一个类，不逐元素改色 */
.uc-coupon-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
.uc-coupon-tab{height:30px;padding:0 14px;border:0;border-radius:15px;background:#f3f4f6;
    color:#6b7280;font-size:13px;font-family:inherit;cursor:pointer;}
.uc-coupon-tab.active{background:#fef2f2;color:#ef4444;font-weight:700;}
.uc-coupon-tab i{margin-left:4px;font-style:normal;font-size:12px;opacity:.75;}
.uc-coupon-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
@media (max-width:980px){.uc-coupon-list{grid-template-columns:1fr;}}
.uc-coupon-card{display:grid;grid-template-columns:96px 1fr auto;align-items:center;gap:14px;
    padding:16px 18px;border:1px solid #f3f4f6;border-radius:10px;background:#fff;}
.uc-coupon-val{text-align:center;color:#ef4444;font-size:22px;font-weight:800;}
.uc-coupon-mid{min-width:0;}
.uc-coupon-name{color:#1f2937;font-size:15px;font-weight:700;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.uc-coupon-meta{margin-top:4px;color:#9ca3af;font-size:13px;}
/* 券卡「下方标注」（PDF 第 5 页同名列）：点明这张券属于哪档权益 */
.uc-coupon-tag{margin-top:3px;color:#ef4444;font-size:12px;}
.uc-coupon-card.dead .uc-coupon-tag{color:#c0c4cc;}
/* 「筛选」：按券种多选，与页签(状态)正交 —— 空集=不筛 */
.uc-coupon-filter{display:flex;flex-wrap:wrap;gap:8px;margin:-8px 0 16px;}
.uc-coupon-kind{height:26px;padding:0 12px;border:1px solid #e5e7eb;border-radius:13px;
    background:#fff;color:#6b7280;font-size:12px;font-family:inherit;cursor:pointer;}
.uc-coupon-kind.on{border-color:#ef4444;background:#fef2f2;color:#ef4444;font-weight:700;}
.uc-coupon-kind.clear{border-style:dashed;color:#9ca3af;}
.uc-coupon-use{height:30px;padding:0 14px;border:0;border-radius:15px;background:#ef4444;
    color:#fff;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;}
.uc-coupon-badge{color:#c0c4cc;font-size:13px;}
.uc-coupon-card.dead{background:#fafafa;}
.uc-coupon-card.dead .uc-coupon-val,.uc-coupon-card.dead .uc-coupon-name{color:#c0c4cc;}

.uc-mini-btn{
    height:30px;padding:0 12px;border-radius:6px;font-size:13px;font-weight:700;
    border:1px solid transparent;white-space:nowrap;
}
.uc-mini-btn.danger{background:#ef4444;color:#fff;}
.uc-mini-btn.light{background:#fff;border-color:#ef4444;color:#ef4444;}
.uc-mini-btn:hover{filter:brightness(.98);}
.uc-op-text{font-size:13px;color:#9ca3af;}
.uc-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;color:#6b7280;}
.uc-page-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.uc-page-size{height:36px;width:112px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;padding:0 10px;}
.uc-page-btn{
    min-width:36px;height:36px;padding:0 10px;border:1px solid #e5e7eb;border-radius:6px;
    background:#fff;color:#374151;font-size:15px;
}
.uc-page-btn.active{background:#ef4444;border-color:#ef4444;color:#fff;font-weight:800;}
.uc-page-btn:hover:not(:disabled):not(.active){border-color:#ef4444;color:#ef4444;}
.uc-page-btn:disabled{opacity:.45;cursor:not-allowed;}

.uc-account-panel{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(460px,1.2fr);gap:20px;align-items:start;}
.uc-account-card{border:1px solid #eef0f3;border-radius:12px;background:#fff;overflow:hidden;}
.uc-account-static{
    width:100%;min-height:76px;padding:14px 18px;display:flex;align-items:center;
    justify-content:space-between;gap:20px;border:0;border-bottom:1px solid #f0f1f3;background:#fff;text-align:left;
}
.uc-account-static div{display:flex;flex-direction:column;gap:5px;min-width:0;}
.uc-account-static strong,.uc-account-action span{font-size:15px;color:#374151;font-weight:600;}
.uc-account-static small{font-size:12px;color:#9ca3af;}
.uc-account-static > span{display:flex;align-items:center;gap:10px;max-width:48%;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uc-account-static b,.uc-account-action b{color:#9ca3af;font-size:13px;font-weight:400;}
.uc-account-button,.uc-account-action{cursor:pointer;}
.uc-account-action{width:100%;height:58px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border:0;background:#fff;}
.uc-account-login-ttl{min-height:58px;padding:9px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #f3f4f6;}
.uc-account-login-ttl > div:first-child{display:flex;flex-direction:column;gap:5px;min-width:0;}
.uc-account-login-ttl strong{font-size:15px;color:#374151;font-weight:600;}
.uc-account-login-ttl small{font-size:12px;color:#9ca3af;}
.uc-account-login-ttl > div:last-child{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.uc-account-login-ttl select{min-height:36px;padding:4px 8px;border:1px solid #d1d5db;border-radius:7px;background:#fff;color:#374151;font:inherit;}
.uc-account-login-ttl button{min-height:36px;padding:4px 12px;border:0;border-radius:7px;background:#ef4444;color:#fff;font:inherit;cursor:pointer;}
.uc-account-login-ttl button:disabled{opacity:.6;cursor:not-allowed;}
.uc-account-form{padding:20px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:13px 16px;align-items:center;}
.uc-account-form label{font-size:14px;color:#374151;font-weight:600;}
.uc-account-form label small{color:#9ca3af;font-weight:400;}
.uc-account-form input,.uc-account-form textarea,.uc-account-form select,.uc-rebind-box input{
    width:100%;border:1px solid #d1d5db;border-radius:7px;background:#fff;padding:10px 12px;font-size:14px;color:#374151;
}
.uc-account-form textarea{resize:vertical;}
.uc-avatar-list{display:grid;grid-template-columns:repeat(6,46px);gap:10px;}
.uc-avatar-option{width:46px;height:46px;border:1px solid #e5e7eb;border-radius:50%;background:#f9fafb;font-size:22px;}
.uc-avatar-option.active{border:2px solid #ef4444;background:#fef2f2;}
.uc-account-tip{grid-column:2;color:#9ca3af;font-size:12px;margin-top:-8px;}
.uc-account-msg{grid-column:2;min-height:18px;color:#dc2626;font-size:13px;}
.uc-account-msg.is-ok{color:#16a34a;}
.uc-account-save{grid-column:2;min-height:42px;border:0;border-radius:7px;background:#ef4444;color:#fff;font-size:15px;font-weight:700;}
.uc-account-save:disabled{opacity:.6;cursor:not-allowed;}
.uc-account-modal{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.55);}
.uc-account-modal[hidden]{display:none;}
.uc-rebind-box{position:relative;width:min(430px,100%);padding:24px;border-radius:14px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.18);}
.uc-rebind-box h3{margin:0 0 8px;text-align:center;font-size:20px;color:#1f2937;}
.uc-rebind-box > p{margin:0 0 16px;text-align:center;color:#6b7280;font-size:14px;}
.uc-rebind-box label{display:block;margin:12px 0 6px;color:#374151;font-size:14px;font-weight:600;}
.uc-rebind-box > small{display:block;margin:10px 0;color:#9ca3af;font-size:12px;line-height:1.5;}
.uc-rebind-close{position:absolute;right:12px;top:10px;width:32px;height:32px;border:0;border-radius:50%;background:#f3f4f6;color:#6b7280;font-size:20px;}
.uc-rebind-code{display:grid;grid-template-columns:1fr 116px;gap:10px;}
.uc-rebind-code button{border:1px solid #ef4444;border-radius:7px;background:#fff;color:#ef4444;font-size:13px;}
.uc-rebind-box .uc-account-save{width:100%;}
@media (max-width:1100px){
    .uc-account-panel{grid-template-columns:1fr;}
    .uc-account-form{grid-template-columns:100px minmax(0,1fr);}
}

/* ========== 底部Footer ========== */
.footer{
    background:#fff;
    border-top:1px solid #e5e7eb;
    padding:46px 0 24px;
    margin-top:40px;
}
.footer-inner{display:flex;justify-content:space-between;gap:50px;}
.footer-left{flex:1;max-width:520px;}
.footer-logo-text{font-size:24px;font-weight:900;color:#ef4444;margin-bottom:14px;}
.footer-desc{font-size:15px;color:#666;line-height:1.8;margin-bottom:18px;}
.footer-tip{
    font-size:13px;
    color:#999;
    line-height:1.7;
    padding:14px;
    background:#f9fafb;
    border-radius:8px;
}
.footer-right{display:flex;gap:90px;}
.footer-col h4{font-size:17px;font-weight:600;color:#333;margin-bottom:22px;}
.footer-col li{margin-bottom:14px;font-size:15px;color:#666;cursor:pointer;}
.footer-col li:hover{color:#ef4444;}
.footer-bottom{
    margin-top:44px;
    padding-top:22px;
    border-top:1px solid #f3f4f6;
    text-align:center;
    font-size:13px;
    color:#999;
}
.footer-bottom a{margin:0;cursor:pointer;}
.footer-bottom .beian-link{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;}
/* 页脚版权/ICP/公网安备 两行布局：证照+备案号 / 版权声明 */
#footerBeian{display:flex;flex-direction:column;align-items:center;gap:6px;line-height:1.6;}
#footerBeian a{margin:0;}
.footer-beian-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;column-gap:14px;row-gap:4px;}
.footer-copyright{font-size:13px;color:#666;}
/* 许可证标签：黑色文本、不可点（可点的只有后面那个编号） */
.license-label{color:#333;font-weight:normal;}
/* 标签 + 编号是一体的，裹成单个 flex item 才不会被 .footer-beian-row 的 column-gap 顶开 */
.license-item{display:inline-flex;align-items:center;}
/* 证照链接 / 许可证号 / 备案号：统一红色可点击 */
.license-link,.license-num,.beian-num{color:#dc2626;cursor:pointer;text-decoration:none;font-weight:500;transition:color .15s;}
.license-link:hover,.license-num:hover,.beian-num:hover{color:#b91c1c;text-decoration:underline;}
/* 分隔符 */
.beian-sep{color:#cbd5e1;margin:0 2px;}

/* 证照图片弹窗 */
.license-modal-box{
    position:relative;
    background:#fff;
    border-radius:12px;
    padding:16px;
    max-width:90vw;
    max-height:90vh;
    display:flex;
    align-items:center;
    justify-content:center;
}
.license-modal-img{
    max-width:100%;
    max-height:85vh;
    object-fit:contain;
    border-radius:8px;
}
#licenseModal .modal-close-btn{
    position:absolute;
    top:8px;
    right:12px;
    background:none;
    border:none;
    font-size:24px;
    color:#666;
    cursor:pointer;
    z-index:10;
    line-height:1;
}
#licenseModal .modal-close-btn:hover{color:#333;}

/* ========== 弹窗通用样式 ========== */
.modal-mask{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
    z-index:1200;
    align-items:center;
    justify-content:center;
}
.modal-mask.show{display:flex;}
.modal-box{
    background:#fff;
    border-radius:18px;
    width:92%;
    max-width:440px;
    position:relative;
    overflow:hidden;
    animation:modalIn .24s ease;
}
@keyframes modalIn{
    from{transform:translateY(-24px);opacity:0;}
    to{transform:translateY(0);opacity:1;}
}
.modal-close-btn{
    position:absolute;
    top:18px;
    right:18px;
    width:30px;
    height:30px;
    background:#f3f4f6;
    border-radius:50%;
    font-size:20px;
    color:#666;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:10;
}
.modal-close-btn:hover{background:#e5e7eb;}

/* 登录注册弹窗 */
.auth-head{padding:32px 26px 0;text-align:center;}
.auth-brand{font-size:26px;font-weight:800;color:#ef4444;letter-spacing:3px;}
.auth-subtitle{
    font-size:15px;
    color:#6b7280;
    margin-top:8px;
    text-align:center;
}
.auth-form{padding:26px;}
.form-item{margin-bottom:18px;}
.form-item label{display:block;font-size:15px;color:#374151;margin-bottom:8px;}
.sms-reg-tag{margin-left:6px;font-size:13px;font-weight:600;color:#16a34a;}
.sms-reg-tag.is-new{color:#ef4444;}
.login-password-hint{margin-top:6px;color:#9ca3af;font-size:13px;line-height:1.5;}
.form-input{
    width:100%;
    height:44px;
    padding:0 14px;
    border:1px solid #d1d5db;
    border-radius:8px;
    font-size:15px;
    transition:.2s;
}
.form-input:focus{outline:none;border-color:#ef4444;}
.code-input-row{display:flex;gap:12px;}
.code-input-row .form-input{flex:1;}
.get-code-btn{
    width:116px;
    height:44px;
    border:1px solid #ef4444;
    background:#fff;
    color:#ef4444;
    border-radius:8px;
    font-size:14px;
    flex-shrink:0;
}
.get-code-btn:disabled{opacity:.6;cursor:not-allowed;}
.form-agree{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:#666;
    margin-bottom:22px;
}
.form-agree a{color:#ef4444;cursor:pointer;}
.submit-btn{
    width:100%;
    height:46px;
    background:#ef4444;
    color:#fff;
    border-radius:8px;
    font-size:16px;
    font-weight:600;
}
.submit-btn:hover{opacity:.92;}

/* 注册赠送权益提示：登录注册合并后移到登录表单顶部，登录/注册两态共用 */
.register-gift-hint{
    color:#a61c2b;background:#fff4e5;border:1px solid #f3d18b;border-radius:8px;
    padding:7px 10px;font-size:13px;line-height:1.4;margin-bottom:10px;
}

/* 找回密码底部：左「返回登录」右「联系客服」（2026-08-10 用户订立） */
.forgot-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:13px;}
.forgot-foot a{color:#e53934;cursor:pointer;text-decoration:underline;}
.forgot-foot a.contact{color:#ef4444;font-weight:600;}
/* 验证码配额用尽：按钮保持不可点，与倒计时中的禁用态区分 */
.get-code-btn.quota-out{background:#f3f4f6;color:#9ca3af;border-color:#e5e7eb;cursor:not-allowed;}
/* B22 已开赛未结束的选中确认框：左「保留」次要、右「取消」主按钮（默认动作） */
.live-confirm-box{max-width:420px;padding:26px;}
.live-confirm-text{color:#374151;font-size:15px;line-height:1.7;margin-bottom:20px;}
.live-confirm-actions{display:flex;gap:12px;}
.live-confirm-btn{flex:1;height:44px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;}
.live-confirm-btn.keep{background:#fff;color:#6b7280;border:1px solid #d1d5db;}
.live-confirm-btn.cancel{background:#ef4444;color:#fff;border:none;}

/* 联系客服弹窗（与 H5 同源：同一张二维码 + 同一条 /api/info/联系我们 文案） */
.contact-service-box{max-width:360px;padding:24px;text-align:center;}
.contact-service-title{font-size:17px;font-weight:700;color:#374151;margin-bottom:14px;}
.contact-service-qr{display:block;margin:0 auto;max-width:260px;width:100%;height:auto;
    border:1px solid #e5e7eb;border-radius:8px;}
.contact-service-tip{font-size:13px;color:#6b7280;margin-top:10px;}
.contact-service-text{margin-top:12px;padding:10px;max-height:180px;overflow-y:auto;
    background:#f9fafb;border-radius:8px;font-size:13px;line-height:1.6;color:#374151;
    text-align:left;white-space:pre-wrap;}

/* 联赛筛选弹窗 */
.league-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
    z-index:1200;
    align-items:center;
    justify-content:center;
}
.league-modal.show{display:flex;}
.league-content{
    background:#fff;
    border-radius:18px;
    width:92%;
    max-width:620px;
    max-height:82vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}
.league-head{padding:22px 26px;font-size:19px;font-weight:600;border-bottom:1px solid #f3f4f6;}
.league-body{flex:1;padding:22px 26px;overflow-y:auto;}
.league-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.league-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    font-size:15px;
    color:#374151;
    cursor:pointer;
    transition:.2s;
}
.league-item:hover{border-color:#fca5a5;background:#fee2e2;}
.league-check{
    width:20px;
    height:20px;
    border:1px solid #d1d5db;
    border-radius:5px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    color:#fff;
    flex-shrink:0;
}
.league-check.checked{background:#ef4444;border-color:#ef4444;}
.league-foot{
    padding:18px 26px;
    border-top:1px solid #f3f4f6;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.sec-btn{
    padding:9px 18px;
    border:1px solid #d1d5db;
    background:#fff;
    color:#374151;
    border-radius:8px;
    font-size:15px;
    margin-right:10px;
}
.sec-btn:hover{border-color:#ef4444;color:#ef4444;}
.primary-btn{
    padding:9px 28px;
    background:#ef4444;
    color:#fff;
    border-radius:8px;
    font-size:15px;
}
.primary-btn:hover{opacity:.92;}

/* 协议弹窗 */
.agreement-modal-box{max-width:620px;max-height:82vh;}
.agreement-head{padding:22px 26px;border-bottom:1px solid #f3f4f6;}
.agreement-title{font-size:19px;font-weight:600;color:#1f2937;}
.agreement-body{
    padding:22px 26px;
    max-height:54vh;
    overflow-y:auto;
    font-size:15px;
    color:#4b5563;
    line-height:1.8;
    white-space:pre-wrap;
}
.agreement-body h3{
    font-size:16px;
    font-weight:600;
    color:#1f2937;
    margin:18px 0 10px;
}
.agreement-body h3:first-child{margin-top:0;}
.agreement-body .agreement-loading,
.agreement-body .agreement-error{
    text-align:center;
    color:#9ca3af;
    padding:32px 0;
}
.agreement-body .agreement-meta{
    margin-top:18px;
    font-size:12px;
    color:#9ca3af;
    text-align:right;
}
.agreement-foot{
    padding:18px 26px;
    border-top:1px solid #f3f4f6;
    text-align:center;
}
.agree-btn{
    padding:11px 32px;
    background:#ef4444;
    color:#fff;
    border-radius:8px;
    font-size:15px;
}
.agree-btn:hover{opacity:.92;}

/* ════════════════ 全球情报 tab + 子页面 ════════════════ */
.intel-empty{
    grid-column:1/-1;
    text-align:center;
    padding:70px 20px;
    color:#9ca3af;
    font-size:15px;
}

/* ── 情报卡列表 ── */
.intel-card-list{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(330px,1fr));
    gap:16px;
    margin-top:14px;
}
.intel-card{
    /* 声明为容器：首行字号按**卡片实际宽度**降档（见 @container），比 vw 精确 ——
       卡片宽度由列数决定，不随视口线性变化。 */
    container-type:inline-size;
    background:#fff;
    border:1px solid #f1f1f3;
    border-radius:14px;
    padding:16px 18px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    cursor:pointer;
    transition:transform .15s,box-shadow .15s;
    display:flex;
    flex-direction:column;
    gap:9px;
}
.intel-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(239,68,68,.12);}
.intel-card.disabled{cursor:default;opacity:.72;}
.intel-card.disabled:hover{transform:none;box-shadow:0 2px 10px rgba(0,0,0,.05);}
.intel-league{
    background:linear-gradient(135deg,#f97316,#ea580c);
    color:#fff;font-size:12px;font-weight:700;
    padding:3px 10px;border-radius:6px;
}
.intel-time{color:#9ca3af;font-size:13px;}
/* 情报卡首行整行合一 + VS 严格居中（三列 grid，两侧 1fr 等宽）—— 见 CLAUDE.md §6.3 */
.intel-card-vs{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    font-size:16px;font-weight:800;color:#1f2937;
}
.intel-card-vs b{color:#ef4444;margin:0 4px;font-weight:800;}
/* 间隙弹性（借鉴 H5 .team-box 的 clamp gap）：队名短时留宽间隙好看，队名长时自动压到 4px
   让位给队名 —— 实测 1440 视口 4 字联赛名下，gap 由 8px 压到 4px 正好把队名从 4.9 字救到 5.15 字。 */
.intel-cv-side{display:flex;align-items:center;justify-content:space-between;
    gap:clamp(4px,1.4cqw,8px);min-width:0;}
/* 联赛标签与时间不参与压缩：窄卡片先截队名，不把它们挤扁 */
.intel-cv-side .intel-league,
.intel-cv-side .intel-time{flex:none;}
/* 队名区按「字形数」给预算：6.3em 放得下「5字+…」，队徽占的 2em 补进上限而非挤掉一个字
   ⚠️ 这 2em 必须与 .team-badge 的 --badge-size + margin 一致 —— 见 CLAUDE.md §6.3 */
.intel-cv-team{display:inline-flex;align-items:center;min-width:0;
    max-width:calc(6.3em + 2em);
    white-space:nowrap;overflow:visible;}
/* 窄卡片降字号：@container 量的是 content-box（已扣 padding），断点 390px —— 见 CLAUDE.md §6.3 */
@container (max-width: 390px){
    .intel-card-vs{font-size:14px;}
}
/* 放不下时由内层 .tn-text 省略号截断，绝不折行（同 .bc-team.has-badge 口径） */
.intel-cv-team .tn-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
.intel-card-title{font-size:15px;font-weight:700;color:#374151;line-height:1.45;}
.intel-card-tags{display:flex;flex-wrap:wrap;gap:6px;}
.intel-tag{
    background:#eff6ff;color:#2563eb;
    font-size:12px;padding:2px 9px;border-radius:5px;border:1px solid #dbeafe;
}
.intel-card-summary{
    font-size:13.5px;color:#6b7280;line-height:1.6;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.intel-card-foot{
    display:flex;align-items:center;justify-content:space-between;
    border-top:1px solid #f3f4f6;padding-top:9px;margin-top:2px;
}
.intel-news-count{font-size:12.5px;color:#9ca3af;}
.intel-enter{font-size:13px;color:#ef4444;font-weight:700;}
.intel-pending{font-size:12.5px;color:#d1d5db;}

/* ── 子页面全屏 overlay ── */
/* 独立全屏页面（非弹窗）：不透明铺满、可滚动 */
.intel-detail-modal{
    display:none;
    position:fixed;inset:0;z-index:1200;
    background:#f4f5f7;
    overflow-y:auto;
}
.intel-detail-modal.show{display:block;}
/* 顶部返回栏：sticky 常驻 */
.intel-detail-topbar{
    position:sticky;top:0;z-index:10;
    background:#fff;border-bottom:1px solid #e8eaee;
    padding:12px 0;
    box-shadow:0 1px 8px rgba(0,0,0,.05);
}
.intel-detail-topbar-inner{
    width:100%;max-width:820px;
    margin:0 auto;
    display:flex;align-items:center;gap:14px;
}
.intel-back-btn{
    display:inline-flex;align-items:center;gap:4px;
    border:1px solid #e5e7eb;background:#fff;
    color:#374151;font-size:14px;font-weight:600;
    padding:8px 16px;border-radius:8px;cursor:pointer;
    transition:background .15s,border-color .15s;
}
.intel-back-btn:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626;}
.intel-topbar-title{font-size:15px;font-weight:700;color:#6b7280;}
/* 内容区：加宽居中，页面感（卡片自带白底，容器透明无圆角）*/
.intel-detail-box{
    width:100%;max-width:1320px;
    margin:0 auto;
    padding:16px 0 40px;
    background:transparent;
}
.intel-detail-content{display:block;}

/* ── 子页面顶部赛事横幅 ── */
.intel-detail-header{
    background:linear-gradient(135deg,#1e3a8a,#2563eb);
    border-radius:16px;
    color:#fff;padding:30px 28px 24px;
}
/* 详情头整栏合一：联赛贴左、时间贴右，中间 auto 列只装 VS —— 见 CLAUDE.md §6.3 */
.intel-dh-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:8px;}
.intel-dh-side{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;}
/* 详情头**保留**两端等宽占位：这里横幅宽 1320px、队名实测能拿到 259.8px，空间绰绰有余，
   于是用占位把时间(85.5px) 与联赛(28px) 的 57.5px 差抹平，换取两侧队名可用宽度严格相等。
   ⚠️ 与卡片的取舍刻意不同 —— 卡片行宽仅 404.7px，占位会直接吃掉队名的字数，故那边不设占位、
      并把时间缩成 HH:mm（见 _cardClock）。空间够就求严格对称，空间紧就先保证队名放得下。 */
.intel-dh-edge{flex:none;min-width:88px;}
.intel-dh-edge-end{text-align:right;}
/* 联赛与时间不参与压缩：放不下先截队名 */
.intel-dh-league,.intel-dh-time{font-size:14px;opacity:.9;flex:none;white-space:nowrap;}
.intel-dh-team{display:inline-flex;flex-direction:row;align-items:center;gap:10px;min-width:0;}
.intel-dh-away{flex-direction:row-reverse;}
.intel-dh-name{font-size:21px;font-weight:800;text-align:center;
    display:inline-flex;align-items:center;min-width:0;overflow:visible;}
.intel-dh-name .tn-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
/* 实力分胶囊不参与压缩，长队名时先截队名、不挤扁分数 */
.intel-dh-score{font-size:12.5px;background:rgba(255,255,255,.18);padding:2px 12px;border-radius:20px;
    flex:none;white-space:nowrap;}
.intel-dh-vs{font-size:18px;font-weight:800;opacity:.85;padding:0 6px;}

/* ── 主客左右分栏 ── */
.intel-cols{display:flex;gap:14px;padding:18px;}
.intel-col{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;}
.intel-col-head{
    font-size:15px;font-weight:800;color:#fff;
    padding:9px 14px;border-radius:9px;text-align:center;
}
.intel-col-home{background:linear-gradient(135deg,#2563eb,#3b82f6);}
.intel-col-away{background:linear-gradient(135deg,#ea580c,#f97316);}

/* ── 维度卡 ── */
.intel-dim-card{
    background:#fff;border:1px solid #eef0f3;border-radius:12px;
    padding:13px 14px;box-shadow:0 1px 5px rgba(0,0,0,.04);
    display:flex;flex-direction:column;gap:9px;
}
.intel-dim-empty{color:#9ca3af;font-size:13px;text-align:center;padding:22px 0;}
.intel-dim-head{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.intel-side-tag{
    flex:none;font-size:11px;font-weight:800;color:#fff;
    width:30px;height:20px;line-height:20px;text-align:center;border-radius:5px;
}
.intel-side-home{background:#2563eb;}
.intel-side-away{background:#ea580c;}
.intel-side-match{background:#7c3aed;width:auto;padding:0 8px;}
.intel-dim-title{flex:1;min-width:0;font-size:14.5px;font-weight:800;color:#1f2937;line-height:1.35;}
.intel-dim-label{
    flex:none;font-size:11.5px;color:#b45309;background:#fef3c7;
    padding:2px 8px;border-radius:5px;border:1px solid #fde68a;
}
.intel-dim-summary{font-size:13.5px;color:#4b5563;line-height:1.65;white-space:pre-wrap;}
.dim-sec{display:inline-block;font-size:13px;font-weight:800;color:#7c3aed;margin:6px 0 2px;}
/* 维度摘要内的 markdown 表格渲染 */
.dim-table{border-collapse:collapse;margin:8px 0;font-size:12.5px;max-width:100%;}
.dim-table th,.dim-table td{border:1px solid #e5e7eb;padding:4px 9px;text-align:center;white-space:nowrap;}
.dim-table th{background:#f9fafb;font-weight:700;color:#374151;}

/* ── 图片轮播 ── */
.intel-carousel{
    position:relative;width:100%;aspect-ratio:16/9;
    border-radius:9px;overflow:hidden;background:#f1f5f9;
}
.intel-carousel-track{display:flex;height:100%;transition:transform .3s ease;}
.intel-carousel-item{flex:0 0 100%;width:100%;height:100%;object-fit:cover;}
.intel-car-btn{
    position:absolute;top:50%;transform:translateY(-50%);
    width:30px;height:30px;border-radius:50%;border:none;cursor:pointer;
    background:rgba(0,0,0,.4);color:#fff;font-size:18px;line-height:1;
}
.intel-car-btn:hover{background:rgba(0,0,0,.6);}
.intel-car-prev{left:8px;}
.intel-car-next{right:8px;}
.intel-car-dots{
    position:absolute;bottom:8px;left:0;right:0;
    display:flex;justify-content:center;gap:6px;
}
.intel-car-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5);}
.intel-car-dots i.on{background:#fff;width:16px;border-radius:3px;}

/* ── 双方共有维度 ── */
.intel-match-sec,.intel-deep-sec{padding:4px 18px 18px;}
.intel-sec-title{font-size:16px;font-weight:800;color:#1f2937;margin:8px 0 12px;}
.intel-match-grid{display:flex;flex-direction:column;gap:12px;}

/* ── 深度解析 ── */
.intel-deep-sec{background:#fff;border-radius:0;border-top:1px solid #eef0f3;}
.intel-deep-item{margin-bottom:14px;}
.intel-deep-h{
    font-size:15px;font-weight:800;color:#ef4444;
    border-left:3px solid #ef4444;padding-left:9px;margin-bottom:5px;
}
.intel-deep-c{font-size:14px;color:#374151;line-height:1.75;}
.intel-deep-c p{margin:5px 0;}
.intel-deep-c strong{color:#dc2626;}

/* ── 移动端：主客分栏改为上下堆叠 ── */
@media (max-width:720px){
    .intel-cols{flex-direction:column;}
    .intel-dh-name{font-size:18px;}
    .intel-detail-box{padding-left:10px;padding-right:10px;}
    .intel-detail-topbar{padding:10px 0;}
    .intel-detail-topbar-inner{padding:0 10px;}
    .intel-detail-header{padding:22px 18px 18px;}
}

/* 首页精选区：情报/资讯 2 卡平分占满，与「精选实力量化」(.match-list) 同宽 */
#intelHomeList, #newsHomeList{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-top:14px;
    margin-bottom:30px;
}
/* 底部功能卡精简为 2 个后 2 列平分 */
.feature-grid-2{grid-template-columns:repeat(2,1fr);}
@media (max-width:720px){
    #intelHomeList, #newsHomeList, .feature-grid-2{grid-template-columns:1fr;}
}

/* ========== 情报投稿页（国彩体育情报员联盟登录）========== */
.contrib-hero{
    position:relative;
    min-height:720px;
    margin:20px 0 30px;
    border-radius:16px;
    overflow:hidden;
    color:#fff;
    background:#0b0e14 url("/images/bg_placeholder.webp") center/cover no-repeat;
}
/* 压暗遮罩：左侧更暗，保证白色标语/品牌文字清晰 */
.contrib-hero-mask{
    position:absolute; inset:0;
    background:linear-gradient(90deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,.15) 100%);
    z-index:1;
}

/* 左上角品牌：logo + 国彩体育情报员联盟 */
.contrib-brand{
    position:absolute; top:24px; left:30px;
    display:flex; align-items:center; gap:10px; z-index:3;
}
.contrib-brand-logo{ height:40px; width:auto; object-fit:contain; }
.contrib-brand-text{ font-size:22px; font-weight:800; color:#fff; letter-spacing:1px; }

/* 左侧文案：仅标语（原 4 条权益短句已移除）。
   top 取「品牌栏底(64) ~ 特性卡顶(402)」空档的垂直居中位，标语较原先放大约 1.15 倍。 */
.contrib-copy{
    position:absolute; left:120px; top:190px;
    width:700px; max-width:820px; z-index:2;
}
.contrib-slogan{ width:100%; height:auto; display:block; }
/* 左下角 3 特性卡（白色面板；图片统一方框 object-fit 等比一致）*/
.contrib-cards{
    position:absolute; left:56px; bottom:54px; z-index:2;
    display:flex; gap:30px; width:min(820px,60%);
    background:rgba(255,255,255,.15);          /* 半透明：透出后方背景图 */
    backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);   /* 磨砂玻璃：透而不糊，文字仍清晰 */
    border:1px solid rgba(255,255,255,.6);
    border-radius:16px; padding:28px 40px;
    box-shadow:0 8px 26px rgba(0,0,0,.22);
}
.contrib-card{ flex:1; text-align:center; min-width:0; }
.contrib-card-img{
    width:96px; height:96px; object-fit:cover; border-radius:14px;
    display:block; margin:0 auto 14px; background:#f0f2f5;
}
.contrib-card-title{ font-size:20px; font-weight:800; color:#ff3b30; margin-bottom:8px; text-shadow:0 1px 3px rgba(0,0,0,.55); }
.contrib-card-desc{ font-size:16px; color:white; line-height:1.8; font-weight:700; text-shadow:0 1px 3px rgba(0,0,0,.55); }

/* 右侧登录卡 */
.contrib-login{
    position:absolute; right:48px; top:50%; transform:translateY(-50%);
    width:340px; background:#fff; color:#333;
    border-radius:12px; padding:26px 26px 28px;
    box-shadow:0 12px 40px rgba(0,0,0,.35); z-index:3;
}
/* 登录卡品牌标题：与 H5 登录弹框保持同一信息层级 */
.contrib-login-head{ text-align:center; margin-bottom:18px; }
.contrib-login-head h3{ font-size:24px; font-weight:800; color:#ef4444; letter-spacing:3px; }
.contrib-login-head p{ font-size:14px; color:#6b7280; margin-top:7px; }
.contrib-tab-wrap{
    display:flex; gap:26px; border-bottom:1px solid #eee; margin-bottom:20px;
}
.contrib-tab{
    font-size:17px; font-weight:600; color:#9ca3af;
    padding-bottom:12px; cursor:pointer; position:relative;
}
.contrib-tab.active{ color:#1f2937; }
.contrib-tab.active::after{
    content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px;
    background:#f5901e; border-radius:2px;
}
.contrib-input{
    width:100%; height:44px; border:1px solid #dcdfe6; border-radius:6px;
    padding:0 14px; font-size:15px; color:#333; margin-bottom:14px;
    background:#fafbfc; transition:border-color .2s;
}
.contrib-input:focus{ border-color:#f5901e; background:#fff; outline:none; }
.contrib-code-row{ display:flex; gap:10px; }
.contrib-code-row .contrib-input{ flex:1; }
.contrib-code-btn{
    flex-shrink:0; height:44px; padding:0 14px; margin-bottom:14px;
    border:1px solid #f5901e; color:#f5901e; background:#fff;
    border-radius:6px; font-size:13px; white-space:nowrap;
}
.contrib-code-btn:hover:not(:disabled){ background:#fff7ec; }
.contrib-code-btn:disabled{ border-color:#e5e7eb; color:#9ca3af; cursor:not-allowed; }
.contrib-btn-login{
    width:100%; height:46px; margin:2px 0 12px;
    background:linear-gradient(90deg,#ff9a2e 0%,#f5811e 100%); color:#fff;
    border-radius:6px; font-size:17px; font-weight:700; letter-spacing:4px;
}
.contrib-btn-login:hover{ opacity:.92; }
.contrib-btn-apply{
    width:100%; height:46px;
    background:#2f7bff; color:#fff;
    border-radius:6px; font-size:15px; font-weight:600;
}
.contrib-btn-apply:hover{ opacity:.92; }
/* 申请即代表同意《平台入驻协议》 */
.contrib-agree{ display:flex; align-items:flex-start; gap:6px; margin-top:12px; font-size:12px; color:#6b7280; line-height:1.5; cursor:pointer; }
.contrib-agree input{ margin-top:2px; flex-shrink:0; }
.contrib-agree a{ color:#2f7bff; }
.contrib-agree a:hover{ text-decoration:underline; }

/* 窄屏堆叠：品牌保持左上，文案与登录卡竖排居中 */
@media (max-width:960px){
    .contrib-hero{ min-height:auto; padding:84px 16px 32px; }
    .contrib-copy{ position:static; transform:none; width:auto; max-width:100%; margin:6px 0 26px; text-align:center; }
    .contrib-slogan{ margin:0 auto; width:min(420px,88%); }
    .contrib-cards{ position:static; margin:22px auto 0; max-width:100%; padding:16px 12px; gap:10px; }
    .contrib-card-img{ width:60px; height:60px; }
    .contrib-card-title{ font-size:14px; }
    .contrib-login{ position:static; transform:none; width:100%; max-width:360px; margin:0 auto; }
}

/* ========== 情报投稿页 · 情报员中心后台（demo）========== */
.contrib-dash{
    display:flex; margin:20px 0 30px; min-height:720px;
    border:1px solid #e5e7eb; border-radius:16px; overflow:hidden;
    background:#fff; box-shadow:0 8px 30px rgba(0,0,0,.06);
}
/* 左侧栏 */
.cdash-side{
    width:212px; flex-shrink:0; background:#2b3648; color:#cfd6e0;
    display:flex; flex-direction:column;
}
.cdash-brand{
    display:flex; align-items:center; gap:9px; padding:18px 18px;
    color:#fff; font-weight:700; font-size:17px;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.cdash-brand-logo{ height:30px; width:auto; object-fit:contain; }
.cdash-nav{ padding:8px 0; display:flex; flex-direction:column; }
.cdash-nav-item{
    display:flex; align-items:center; gap:10px; padding:12px 18px;
    color:#cfd6e0; font-size:15px; cursor:pointer;
    border-left:3px solid transparent; transition:background .15s,color .15s;
}
.cdash-nav-item:hover{ background:rgba(255,255,255,.05); color:#fff; }
.cdash-nav-item.active{ background:#222c39; color:#4a9eff; border-left-color:#4a9eff; }
.cdash-ic{ width:18px; text-align:center; font-size:15px; flex-shrink:0; }
.cdash-caret{ margin-left:auto; font-size:12px; transition:transform .2s; }
.cdash-group.open > .cdash-group-head .cdash-caret{ transform:rotate(180deg); }
.cdash-sub{ display:none; background:rgba(0,0,0,.16); }
.cdash-group.open .cdash-sub{ display:block; }
.cdash-sub-item{ padding-left:40px; font-size:14px; }

/* 右侧主区 */
.cdash-main{ flex:1; min-width:0; display:flex; flex-direction:column; background:#fff; }
.cdash-top{
    height:56px; flex-shrink:0; display:flex; align-items:center; justify-content:space-between;
    padding:0 22px; border-bottom:1px solid #eee;
}
.cdash-crumb{ color:#666; font-size:14px; }
.cdash-user{ display:flex; align-items:center; gap:10px; font-size:14px; color:#444; }
.cdash-avatar{
    width:32px; height:32px; border-radius:50%; background:#ffedd5;
    display:flex; align-items:center; justify-content:center; font-size:16px; cursor:pointer;
}
.cdash-avatar:hover{ background:#fed7aa; }
.cdash-body{ flex:1; overflow:auto; padding:24px 28px; }
.cdash-h3{ font-size:18px; font-weight:700; color:#1f2937; margin-bottom:18px; }
.cdash-sub-h{ font-size:15px; font-weight:700; color:#374151; margin:26px 0 12px; }

/* 发布表单 */
.cdash-quota{ margin-bottom:20px; color:#666; font-size:14px; }
.cdash-quota b{ color:#ef4444; }
.cdash-form{ max-width:920px; }
.cdash-fi{ display:flex; gap:16px; margin-bottom:20px; align-items:flex-start; }
.cdash-fi > label{ width:80px; flex-shrink:0; text-align:right; color:#333; font-size:14px; padding-top:10px; }
.cdash-req::before{ content:"*"; color:#ef4444; margin-right:3px; }
.cdash-fi-inline{ align-items:center; }
.cdash-fi-inline > label{ padding-top:0; }
.cdash-inwrap{ flex:1; position:relative; max-width:760px; }
.cdash-input{
    width:100%; height:40px; border:1px solid #dcdfe6; border-radius:4px;
    padding:0 46px 0 12px; font-size:14px; color:#333; background:#fff;
}
.cdash-input:focus{ border-color:#4a9eff; outline:none; }
/* 发布方案·选定赛程下拉 */
.cdash-select{
    width:100%; max-width:760px; height:40px; border:1px solid #dcdfe6; border-radius:4px;
    padding:0 12px; font-size:14px; color:#333; background:#fff; cursor:pointer;
}
.cdash-select:focus{ border-color:#4a9eff; outline:none; }
.cdash-select:disabled{ background:#f5f7fa; color:#c0c4cc; cursor:not-allowed; }
.cdash-select option:disabled{ color:#c0c4cc; }
.cdash-select.is-ph{ color:#c0c4cc; }                 /* 未选择时 placeholder 浅色提示 */
.cdash-select option{ color:#333; }                    /* 真实选项恢复深色 */
/* 选定赛程：日期 + 具体赛程 同一行联动 */
.cdash-sched-row{ display:flex; gap:12px; align-items:center; }
.cdash-sched-row .cdash-sched-date{ flex:0 0 220px; }
.cdash-sched-row .cdash-sched-match{ flex:1; min-width:0; }
@media(max-width:768px){
    .cdash-sched-row{ flex-direction:column; align-items:stretch; }
    .cdash-sched-row .cdash-sched-date{ flex:1 1 auto; }
}
.cdash-textarea{
    width:100%; min-height:72px; border:1px solid #dcdfe6; border-radius:4px;
    padding:8px 12px; font-size:14px; color:#333; resize:vertical; font-family:inherit;
}
.cdash-textarea:focus{ border-color:#4a9eff; outline:none; }
.cdash-count{ position:absolute; right:10px; bottom:9px; color:#bbb; font-size:12px; pointer-events:none; }

/* 富文本编辑器 */
.cdash-inwrap-editor{ flex:1; max-width:760px; }
.cdash-editor{ border:1px solid #dcdfe6; border-radius:4px; overflow:hidden; }
.cdash-toolbar{
    display:flex; flex-wrap:wrap; align-items:center; gap:2px;
    padding:6px 8px; background:#fafafa; border-bottom:1px solid #eee;
}
.cdash-tb{
    min-width:26px; height:26px; padding:0 6px; border-radius:3px;
    display:inline-flex; align-items:center; justify-content:center;
    color:#555; font-size:13px; cursor:pointer;
}
.cdash-tb:hover{ background:#ececec; }
.cdash-tb-sel{ font-size:12px; color:#666; }
.cdash-tb-sep{ width:1px; height:18px; background:#ddd; margin:0 4px; }
.cdash-editarea{ min-height:220px; padding:12px 14px; font-size:14px; color:#333; line-height:1.7; outline:none; }
.cdash-editarea:empty::before{ content:attr(data-ph); color:#bbb; }
.cdash-editor-foot{ display:flex; justify-content:space-between; margin-top:8px; font-size:13px; }
.cdash-editor-tip{ color:#ef4444; }
.cdash-editor-count{ color:#999; }
.cdash-editor-count b{ font-weight:400; }

/* 开关 / 价格 / 按钮 */
.cdash-switch{ width:44px; height:24px; border-radius:12px; background:#ccc; position:relative; cursor:pointer; transition:background .2s; }
.cdash-switch::before{ content:""; position:absolute; width:20px; height:20px; border-radius:50%; background:#fff; top:2px; left:2px; transition:left .2s; }
.cdash-switch.on{ background:#4a9eff; }
.cdash-switch.on::before{ left:22px; }
/* 情报维度单选组 */
.cdash-dims{ display:flex; flex-wrap:wrap; gap:8px 18px; padding-top:9px; }
.cdash-dim{ display:inline-flex; align-items:center; gap:5px; font-size:14px; color:#4b5563; cursor:pointer; }
.cdash-dim input{ accent-color:#4a9eff; }
.cdash-price{ display:flex; gap:10px; flex-wrap:wrap; }
.cdash-price-opt{
    min-width:52px; height:32px; padding:0 16px; border:1px solid #dcdfe6; border-radius:4px;
    display:inline-flex; align-items:center; justify-content:center; color:#666; font-size:14px; cursor:pointer;
}
.cdash-price-opt.active{ background:#4a9eff; border-color:#4a9eff; color:#fff; }
.cdash-form-foot{
    display:flex; justify-content:flex-end; gap:12px;
    margin-top:30px; padding-top:20px; border-top:1px solid #f0f0f0; max-width:840px;
}
.cdash-btn{ height:36px; padding:0 24px; border-radius:4px; font-size:14px; font-weight:500; }
.cdash-btn-cancel{ border:1px solid #dcdfe6; color:#666; background:#fff; }
.cdash-btn-cancel:hover{ background:#f5f5f5; }
.cdash-btn-draft{ background:#52c41a; color:#fff; }
.cdash-btn-submit{ background:#4a9eff; color:#fff; }
.cdash-btn-draft:hover, .cdash-btn-submit:hover{ opacity:.9; }

/* 表格 / 卡片 / 统计 */
.cdash-table{ width:100%; border-collapse:collapse; font-size:14px; }
.cdash-table th{ text-align:left; padding:12px 14px; background:#fafafa; color:#666; font-weight:600; border-bottom:1px solid #eee; }
.cdash-table td{ padding:12px 14px; border-bottom:1px solid #f0f0f0; color:#444; }
.cdash-link{ color:#4a9eff; cursor:pointer; margin-right:12px; }
.cdash-link-del{ color:#ef4444; }
.cdash-status-hit{ color:#52c41a; }
.cdash-status-miss{ color:#ef4444; }
.cdash-status-wait{ color:#f59e0b; }
.cdash-stat-row{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.cdash-stat{ flex:1; min-width:150px; background:#fff; border:1px solid #eee; border-radius:8px; padding:18px; text-align:center; }
.cdash-stat-num{ font-size:26px; font-weight:800; color:#4a9eff; }
.cdash-stat-lbl{ color:#999; font-size:13px; margin-top:6px; }
.cdash-card{ background:#fff; border:1px solid #eee; border-radius:8px; padding:20px; max-width:760px; }
.cdash-card-title{ font-weight:700; color:#1f2937; margin-bottom:8px; }
.cdash-kv{ display:flex; justify-content:space-between; align-items:center; padding:11px 0; border-bottom:1px solid #f5f5f5; font-size:14px; color:#777; }
.cdash-kv b{ color:#333; font-weight:600; }
.cdash-kv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 36px; }
@media(max-width:640px){ .cdash-kv-grid{ grid-template-columns:1fr; } }
.cdash-money{ color:#ef4444 !important; }
.cdash-badge-ok{ color:#52c41a !important; }
.cdash-balance-card{
    max-width:320px; padding:22px 24px; border-radius:10px; color:#fff;
    background:linear-gradient(135deg,#4a9eff 0%,#2f7bff 100%);
}
.cdash-balance-lbl{ font-size:13px; opacity:.9; }
.cdash-balance-num{ font-size:32px; font-weight:800; margin-top:6px; }
.cdash-note{ color:#999; font-size:13px; margin-top:14px; line-height:1.7; }
.cdash-notice{ max-width:820px; font-size:14px; color:#555; line-height:1.9; }
.cdash-notice p{ margin-bottom:12px; }
.cdash-notice b{ color:#1f2937; }

/* 窄屏：侧栏转顶部横向 */
@media (max-width:860px){
    .contrib-dash{ flex-direction:column; min-height:auto; }
    .cdash-side{ width:100%; }
    .cdash-nav{ flex-direction:row; flex-wrap:wrap; padding:6px; }
    .cdash-nav-item{ border-left:none; padding:8px 12px; }
    .cdash-nav-item.active{ border-left:none; border-radius:6px; }
    .cdash-group{ display:flex; flex-wrap:wrap; }
    .cdash-group.open .cdash-sub{ display:flex; }
    .cdash-sub-item{ padding-left:12px; }
    .cdash-fi{ flex-direction:column; gap:6px; }
    .cdash-fi > label{ width:auto; text-align:left; padding-top:0; }
    .cdash-fi-inline{ flex-direction:row; align-items:center; }
}

/* ========== 情报市场（ICP 模式）========== */
.mk-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:14px;}
@media (max-width:820px){.mk-grid{grid-template-columns:1fr;}}
.mk-card{background:#fff;border:1px solid #eef0f4;border-radius:12px;padding:16px 18px;cursor:pointer;transition:box-shadow .2s,transform .1s;box-shadow:0 1px 4px rgba(0,0,0,.04);}
.mk-card:hover{box-shadow:0 6px 20px rgba(239,68,68,.12);transform:translateY(-2px);}
.mk-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.mk-ava{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#f3f4f6;}
.mk-ava-txt{display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:18px;background:#ef4444;}
.mk-who{flex:1;min-width:0;}
.mk-name{font-size:15px;font-weight:700;color:#1f2937;line-height:1.2;}
.mk-title{font-size:12px;color:#9ca3af;margin-top:2px;}
.mk-badges{display:flex;flex-direction:column;gap:4px;align-items:flex-end;}
.mk-badge{font-size:11px;color:#ef4444;background:#fef2f2;border-radius:4px;padding:2px 7px;white-space:nowrap;}
.mk-badge-soft{color:#6b7280;background:#f3f4f6;}
.mk-hook{font-size:15px;color:#111827;line-height:1.55;font-weight:600;margin-bottom:12px;min-height:46px;}
.mk-match{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;color:#4b5563;background:#f9fafb;border-radius:8px;padding:8px 10px;}
.mk-league{color:#ef4444;font-weight:600;}
.mk-vs{flex:1;}
.mk-time{color:#9ca3af;}
.mk-foot{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed #eef0f4;}
.mk-price{font-size:20px;font-weight:800;color:#ef4444;}
.mk-orig{font-size:13px;color:#9ca3af;text-decoration:line-through;}
.mk-price-tip{font-size:12px;color:#f59e0b;background:#fffbeb;border-radius:4px;padding:2px 8px;}
.mk-paybar-orig{font-size:14px;color:#9ca3af;text-decoration:line-through;margin-left:8px;}
.mk-paybar-tip{font-size:12px;color:#f59e0b;background:#fffbeb;border-radius:4px;padding:2px 8px;margin-left:8px;}
.mk-free{font-size:14px;color:#22c55e;font-weight:600;}
.mk-paid{font-size:14px;color:#22c55e;font-weight:700;}

/* 详情官方版 */
.mk-detail{max-width:820px;margin:0 auto;}
.mk-author{display:flex;gap:14px;align-items:flex-start;background:#fff;border-radius:12px;padding:18px;border:1px solid #eef0f4;}
.mk-author .mk-ava{width:56px;height:56px;}
.mk-author .mk-ava-txt{font-size:22px;}
.mk-author-name{font-size:17px;font-weight:800;color:#1f2937;}
.mk-author-title{font-size:12px;color:#9ca3af;font-weight:400;margin-left:6px;}
.mk-author-desc{font-size:13px;color:#6b7280;line-height:1.6;margin-top:6px;}
.mk-replay{background:linear-gradient(135deg,#1e3a8a,#2563eb);color:#fff;border-radius:12px;padding:18px;margin-top:14px;text-align:center;}
.mk-replay-league{font-size:13px;opacity:.9;margin-bottom:12px;}
.mk-replay-teams{display:flex;align-items:center;justify-content:space-around;}
.mk-replay-team{display:flex;flex-direction:column;gap:6px;}
.mk-rt-name{font-size:18px;font-weight:800;}
.mk-rt-score{font-size:12px;background:rgba(255,255,255,.2);border-radius:10px;padding:2px 10px;}
.mk-replay-vs{font-size:15px;opacity:.85;}
.mk-sec{background:#fff;border:1px solid #eef0f4;border-radius:12px;padding:16px 18px;margin-top:14px;}
.mk-sec-title{font-size:15px;font-weight:700;color:#1f2937;margin-bottom:10px;}
.mk-sec-body{font-size:14px;color:#374151;line-height:1.8;white-space:normal;}
.mk-sec-empty{color:#9ca3af;}
.mk-locked{color:#9ca3af;letter-spacing:1px;filter:blur(.2px);}
.mk-paybar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid #fde68a;border-radius:12px;padding:14px 18px;margin-top:16px;box-shadow:0 -4px 16px rgba(0,0,0,.06);}
.mk-paybar-left{font-size:14px;color:#374151;flex-shrink:0;}
.mk-paybar-agree{flex:1;min-width:240px;text-align:center;font-size:12px;color:#6b7280;line-height:1.5;}
.mk-paybar-agree a{color:#ef4444;font-weight:600;}
.mk-paybar-price{font-size:22px;font-weight:800;color:#ef4444;margin-left:10px;}
.mk-paybar-btn{background:linear-gradient(90deg,#f5901e,#ef4444);color:#fff;border-radius:8px;padding:12px 30px;font-size:16px;font-weight:700;flex-shrink:0;}
.mk-paybar-btn:hover{opacity:.92;}

/* 支付二维码遮罩 */
.mk-qr-mask{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;z-index:10000;}
.mk-qr-mask.show{display:flex;}
.mk-qr-box{background:#fff;border-radius:14px;padding:26px 30px;text-align:center;width:300px;}
.mk-qr-title{font-size:17px;font-weight:700;color:#1f2937;}
.mk-qr-amount{font-size:24px;font-weight:800;color:#ef4444;margin:10px 0 14px;}
.mk-qr-code{width:220px;height:220px;margin:0 auto;display:flex;align-items:center;justify-content:center;}
.mk-qr-tip{font-size:12px;color:#9ca3af;line-height:1.6;margin-top:12px;}
.mk-qr-cancel{margin-top:16px;border:1px solid #dcdfe6;color:#6b7280;border-radius:8px;padding:8px 24px;font-size:14px;}

/* ===== 情报员申请（3步流程 / 资料表单 / 查看示例弹窗）===== */
.capply-wrap{ position:relative; max-width:760px; margin:24px auto; padding:0 16px; }
.capply-close{
    position:absolute; top:2px; right:16px; z-index:5;
    width:36px; height:36px; border-radius:50%; border:none; cursor:pointer;
    background:rgba(0,0,0,.06); color:#606266; font-size:18px; line-height:36px;
}
.capply-close:hover{ background:rgba(0,0,0,.12); color:#222; }
.capply-steps{ display:flex; align-items:center; justify-content:center; gap:6px; margin-bottom:22px; }
.capply-step{ display:flex; flex-direction:column; align-items:center; gap:6px; color:#9aa4b2; font-size:13px; }
.capply-step i{ width:30px; height:30px; border-radius:50%; background:#dcdfe6; color:#fff; display:flex; align-items:center; justify-content:center; font-style:normal; font-weight:700; }
.capply-step.active i{ background:#4a9eff; } .capply-step.active{ color:#4a9eff; }
.capply-step.done i{ background:#4a9eff; } .capply-step.done{ color:#4a9eff; }
.capply-line{ width:60px; height:2px; background:#dcdfe6; }
.capply-card{ background:#fff; border-radius:12px; padding:28px 32px; box-shadow:0 2px 12px rgba(0,0,0,.05); }
.capply-title{ font-size:20px; text-align:center; margin-bottom:22px; color:#222; }
.capply-reject{ background:#fef0f0; color:#f56c6c; border-radius:6px; padding:10px 14px; margin-bottom:16px; font-size:13px; }
.capply-fi{ margin-bottom:20px; }
.capply-fi > label{ display:block; font-weight:600; color:#333; margin-bottom:8px; }
.capply-eg{ color:#f56c6c; font-weight:400; font-size:13px; margin-left:8px; cursor:pointer; }
.capply-avatar{ width:104px; height:104px; border:1px dashed #dcdfe6; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#c0c4cc; text-align:center; font-size:13px; cursor:pointer; overflow:hidden; background:#fafafa; }
.capply-avatar img{ width:100%; height:100%; object-fit:cover; display:none; }
.capply-hint{ color:#9aa4b2; font-size:12px; margin-top:8px; line-height:1.6; }
.capply-proof{ display:flex; flex-wrap:wrap; gap:10px; margin:10px 0; }
.capply-proof .pf{ position:relative; width:80px; height:80px; border-radius:6px; overflow:hidden; border:1px solid #ebeef5; }
.capply-proof .pf img{ width:100%; height:100%; object-fit:cover; }
.capply-proof .pf .rm{ position:absolute; top:2px; right:2px; width:18px; height:18px; background:rgba(0,0,0,.55); color:#fff; border-radius:50%; font-size:12px; line-height:18px; text-align:center; cursor:pointer; }
.capply-addfile{ border:1px dashed #dcdfe6; background:#fff; color:#606266; border-radius:6px; padding:8px 16px; cursor:pointer; font-size:13px; }
.capply-submit{ width:100%; height:44px; background:#4a9eff; color:#fff; border:none; border-radius:8px; font-size:16px; cursor:pointer; margin-top:8px; }
.capply-submit:disabled{ background:#a0cfff; cursor:not-allowed; }
.capply-status{ text-align:center; }
.capply-status-ic{ font-size:44px; margin-bottom:10px; }
.capply-status-desc{ color:#606266; font-size:14px; line-height:1.7; max-width:460px; margin:0 auto; }
.capply-modal{ position:fixed; inset:0; background:rgba(0,0,0,.45); display:none; align-items:center; justify-content:center; z-index:3000; }
.capply-modal.show{ display:flex; }
.capply-modal-box{ background:#fff; border-radius:12px; width:560px; max-width:92vw; max-height:82vh; overflow:auto; }
.capply-modal-head{ display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid #ebeef5; position:sticky; top:0; background:#fff; }
.capply-modal-head b{ font-size:16px; } .capply-modal-head span{ cursor:pointer; color:#909399; font-size:18px; }
.capply-modal-body{ padding:16px 20px; font-size:13px; line-height:1.8; color:#555; }
.capply-eg-ok{ color:#67c23a; font-weight:700; } .capply-eg-bad{ color:#f56c6c; font-weight:700; }
.capply-eg-box{ background:#f0f9eb; border-radius:6px; padding:10px 14px; margin:6px 0 14px; }
.capply-eg-box.bad{ background:#fef0f0; }
.capply-eg-tag{ display:inline-block; background:#fff; border-radius:4px; padding:2px 10px; margin:3px 4px 0 0; font-size:12px; color:#606266; }

/* 可提现余额手续费提示（ⓘ 悬停 tooltip）*/
.fee-info{ position:relative; display:inline-block; width:16px; height:16px; line-height:16px; text-align:center; border-radius:50%; background:rgba(0,0,0,.14); color:#fff; font-size:11px; font-style:normal; cursor:help; vertical-align:middle; }
.cdash-balance-card .fee-info{ position:absolute; top:14px; right:16px; background:rgba(255,255,255,.4); }
.fee-info:hover::after{ content:attr(data-tip); position:absolute; top:22px; right:0; width:250px; background:rgba(0,0,0,.86); color:#fff; font-size:12px; line-height:1.7; padding:9px 12px; border-radius:8px; white-space:normal; text-align:left; z-index:20; box-shadow:0 4px 14px rgba(0,0,0,.25); font-weight:400; }
.cdash-balance-link{ cursor:pointer; }
.cdash-balance-link:hover{ text-decoration:underline; }
.cdash-change-card{ flex:none; padding:8px 14px; border:1px solid #4a9eff; background:#fff; color:#4a9eff; border-radius:6px; font-size:13px; cursor:pointer; white-space:nowrap; }
.cdash-change-card:hover{ background:#4a9eff; color:#fff; }

/* 银行卡提现认证向导弹窗 */
.kyc-modal{ position:fixed; inset:0; background:rgba(0,0,0,.45); display:none; align-items:center; justify-content:center; z-index:3200; }
.kyc-modal.show{ display:flex; }
.kyc-box{ background:#fff; border-radius:14px; width:560px; max-width:92vw; padding:24px 28px; }
.kyc-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.kyc-head b{ font-size:18px; } .kyc-head span{ cursor:pointer; color:#909399; font-size:18px; }
.kyc-steps{ margin-bottom:24px; }
.kyc-intro{ color:#606266; font-size:14px; line-height:1.9; margin-bottom:22px; }
.kyc-fi{ margin-bottom:18px; }
.kyc-fi > label{ display:block; font-weight:600; color:#333; margin-bottom:8px; }
.kyc-foot{ display:flex; gap:12px; margin-top:8px; }
.kyc-foot .capply-submit{ flex:1; margin-top:0; }
.kyc-prev{ flex:0 0 100px; height:44px; border:1px solid #dcdfe6; background:#fff; color:#606266; border-radius:8px; cursor:pointer; font-size:15px; }

/* 情报员投稿卡（情报市场并列） */
.mk-badge-author{ background:#4a9eff; color:#fff; }
.mk-sub-dim{ margin:10px 0; font-size:15px; font-weight:600; color:#222; }
.mk-sub-content{ line-height:1.9; }
.mk-sub-content img{ max-width:100%; height:auto; border-radius:6px; }

/* ── 登录弹窗-密码/验证码双方式切换 ── */
.login-method-row{display:flex;gap:18px;margin-bottom:14px;border-bottom:1px solid #f3f4f6;}
.login-method{padding:6px 2px;font-size:14px;color:#6b7280;cursor:pointer;border-bottom:2px solid transparent;}
.login-method.active{color:#e53934;font-weight:bold;border-bottom-color:#e53934;}

/* 已保存方案开奖状态徽标：用户中心列表与方案详情共用（配色对齐 H5 .sc-badge） */
.saved-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px;
    border-radius: 11px; vertical-align: middle; white-space: nowrap; }
/* 未开奖与 H5 首页赛程的「未开赛」同为「时间未到」，配色统一取 .status-wait 的橙 */
.saved-badge.open { background: #fff7ed; color: #c2410c; }
.saved-badge.lost { background: #e5e7eb; color: #9ca3af; }
.saved-badge.won { background: #fde2e2; color: #dc2626; }
.web-saved-head .saved-badge { margin-left: 8px; }

/* AI精选提问区：标题 = 小 logo + 一键机选竞足方案；输入框默认单行；提示为灰色小字 */
.web-ai-ask h2 .web-ai-logo { display: inline-block; height: 1.1em; width: auto; vertical-align: -0.16em; margin-right: 8px; }
.web-ai-hint { color: #9ca3af; font-size: 13px; }

/* 各会员档位 AI 精选每日次数对照表（2026-09-24 取代静态提示文案）：生成前唯一提示，
   引导充值，见 ai_select.js _quotaTableHtml 注释。 */
.web-ai-quota-table { background: #fff; border-radius: 14px; padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.web-ai-quota-title { font-size: 15px; font-weight: 700; color: #374151;
    margin-bottom: 10px; text-align: center; }
.web-ai-quota-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 2px; border-bottom: 1px solid #f3f4f6; cursor: pointer; }
.web-ai-quota-row:last-child { border-bottom: 0; }
.web-ai-quota-row:hover { background: #f9fafb; }
/* 当前档位整行加背景色（2026-09-24 用户订立）：光靠「我的」角标不够醒目，
   与角标同色系的浅红底，撑满行宽方便一眼扫到 */
.web-ai-quota-row.is-mine { background: #fef2f2; border-radius: 8px; padding-left: 8px; padding-right: 8px;
    margin: 0 -8px; border-bottom-color: transparent; }
.web-ai-quota-row.is-mine:hover { background: #fde8e8; }
/* 表头行：列名说明，不可点、不响应 hover，字号更小、颜色更浅以区分数据行 */
.web-ai-quota-row.web-ai-quota-head { cursor: default; font-size: 13px; color: #9ca3af;
    border-bottom: 1px solid #e5e7eb; }
.web-ai-quota-row.web-ai-quota-head:hover { background: none; }
.web-ai-quota-row.web-ai-quota-head .web-ai-quota-tier,
.web-ai-quota-row.web-ai-quota-head .web-ai-quota-value { color: #9ca3af; font-weight: 400; }
.web-ai-quota-tier { display: flex; align-items: center; gap: 8px; }
.web-ai-quota-icon-wrap { position: relative; flex-shrink: 0; line-height: 0; }
.web-ai-quota-icon { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; }
/* 「我的」角标：叠在头像右上角（2026-09-24 用户订立），标记当前有效会员档位；
   会员失效/未登录时固定落在【注册用户】行，见 ai_select.js _quotaTableHtml */
.web-ai-quota-badge { position: absolute; top: -7px; right: -9px; background: #dc2626; color: #fff;
    font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 7px; line-height: 1.4; white-space: nowrap; }
.web-ai-quota-name { font-size: 14px; color: #1f2937; font-weight: 600; white-space: nowrap; }
.web-ai-quota-value { font-size: 13px; color: #6b7280; text-align: right; white-space: nowrap; }

/* ── 球队队徽（2026-07-30 新增）─────────────────────────────
   源站无队徽的球队后端返回空串、前端不渲染，因此这些场次的排版与加队徽前完全一致。
   尺寸用 em 跟随所在处字号（与 VIP 徽标同款做法）；flex:none 防止在 flex 容器里被压扁。
   注意：队徽一律塞在队名所在的那一格内部，不新增 .team-box 的 grid 子节点 —— 
   该 grid 是 home 42%/58%、away 58%/42% 的两列结构，多一个同级节点会把队名挤到第二行。 */
.team-badge {
    /* 改队徽大小**只改这一个变量**：上下负 margin 由它算出，永远把「超过行高的部分」吸收掉，
       使队徽对 flex 容器高度的贡献恒等于行高 1.4em —— 队徽放大而卡片高度一点不变。 */
    --badge-size: 1.7em;
    width: var(--badge-size);
    height: var(--badge-size);
    margin-top: calc((1.4em - var(--badge-size)) / 2);
    margin-bottom: calc((1.4em - var(--badge-size)) / 2);
    object-fit: contain;
    flex: none;
    vertical-align: middle;
    /* 队徽比行高大，探出的上下两端必须浮在相邻内容之上、且不被祖先裁掉，
       否则看起来像被切掉一截（配套：下面几个 .has-badge 容器一律 overflow:visible）。 */
    position: relative;
    z-index: 20;
}
.team-badge.tb-home { margin-left: .3em; }
.team-badge.tb-away { margin-right: .3em; }

/* 队名格内改为 inline-flex 承载「名+徽」，长队名仍按原有 ellipsis 截断 */
.team-name .tn-text,
.t-name .tn-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 队名格原本是 text-align:center（队名在格内居中），变 flex 后要显式 center 才不改变既有观感。
   overflow:visible 是为了不裁掉探出行外的队徽——队名的 ellipsis 已改由内层 .tn-text 负责。 */
.team-name.has-badge { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: visible; }
/* 球队评分表格是左对齐的表格单元格，保持 flex-start */
.t-name.has-badge { display: flex; align-items: center; min-width: 0; overflow: visible; }
/* 方案精选（串关/AI）的一行摘要：原本是普通 inline，插入队徽后会把队名挤到第二行。
   改 inline-flex 后 flex 容器天然不换行，「评分 队名 徽 VS 徽 队名 评分」恒在一行；
   放不下时由内层 .tn-text 省略号截断，绝不折行。 */
.bc-team.has-badge { display: inline-flex; align-items: center; min-width: 0; white-space: nowrap; }
.bc-team.has-badge .tn-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }


/* ── 已保存方案：卡片主体与 H5 分享页共用 common_shared/frontend/plan_card.css ──────
   那份 CSS 的规则与变量全在 .plan-card-view 作用域内，本端不必重写任何一条规则，
   只覆盖变量即可把整张卡按 PC 放大（约 1.2~1.3 倍）。
   ⚠️ 选择器用双类 .web-plan-card.plan-card-view（特异性 0,2,0），才能压过共享文件里
   @media 内同名的 .plan-card-view（0,1,0）—— 否则窄一点的 PC 窗口会被手机档位覆盖。 */
.web-plan-card.plan-card-view{
    --h5-card-inline:18px; --h5-card-block:16px; --h5-card-gap:10px; --h5-control-gap:10px;
    --h5-font-body:16px; --h5-font-data:16px; --h5-font-aux:13px;
    --share-core-size:17px; --share-summary-size:12px; --share-score-size:13px; --share-vs-size:15px;
    --share-pass-gap:6px; --share-pass-pad-x:7px; --share-pass-pad-y:3px;
    --share-stat-size:22px; --share-table-size:13px;
}
/* 利润率色块（2026-08-07 用户反馈：压住了「保存于 …」日期）。
   web 侧 --share-stat-size 比 H5 大，共享默认公式算出的字号是 15px、色块高 18.8px，
   顶边正好够到日期。**优先减尺寸而不是继续下移** —— 只把字号降到 11px、行高 1.2，
   色块高 18.8→13.2px，与日期拉开 4.8px，--pr-down 维持 6px 不必动。
   ⚠️ 四个微调点：--pr-fs 字号 / --pr-lh 行高 / --pr-pad-y 上下内边距 / --pr-down 下移量。 */
/* ⚠️ 必须用 .web-plan-card.plan-card-view（双类，0,3,0）—— plan_card.css 是**后加载**的，
   裸写 .web-plan-card .profit-rate 与共享的 .plan-card-view .profit-rate 同为 (0,2,0)、
   会被后者盖掉（2026-08-07 实测踩过，同 --share-core-size 覆盖的既有写法）。 */
.web-plan-card.plan-card-view .profit-rate{
    --pr-down:11px;      /* 下移量：放大后必须同步加大，否则色块顶边又会够到日期 */
    --pr-fs:14px;        /* 字号 */
    --pr-lh:1.25;        /* 行高 */
    --pr-pad-y:1px;      /* 上下内边距（2026-08-07 改描边紧凑款，与共享默认同为 1px） */
    --pr-pad-x:1px;      /* 左右内边距（同时决定色块往左延伸多少） */
    /* ⚠️ 这里**不要再覆盖 right** —— 横向定位统一由共享层的 right:20%（本/奖两格之间）管，
       三端才不会分叉。原先这里写死 right:10px（距卡片右边缘），双类 (0,3,0) 把共享的
       百分比定位整条盖掉，DevTools 里共享那行会显示删除线（2026-08-07 实测踩过）。 */
}
/* 卡片自身在 PC 上不铺满：与 .web-saved-card 的 860px 呼应，读起来不散 */
.web-plan-card.plan-card-view .card{ padding:0; }
.web-plan-card.plan-card-view .plan-odds-box{ min-height:30px; }
.web-plan-card.plan-card-view .plan-odds-row{ --odds-label-w:34px; }   /* 红外框左端随之对齐 */
.web-plan-card.plan-card-view .plan-odds-label{ height:30px; line-height:28px; font-size:15px; }
.web-plan-card.plan-card-view .plan-odds-box .plan-odds-type{ font-size:14px; }
.web-plan-card.plan-card-view .plan-odds-box .plan-odds-val{ font-size:15px; }
.web-plan-card.plan-card-view .stat{ padding:8px 4px; }
.web-plan-card.plan-card-view .plan-match-card{ margin-bottom:10px; }
/* 过关方式标签的 justify-self:start 已于 2026-08-01 收进 common_shared/frontend/plan_card.css，
   三处同享（H5 弹窗曾因缺这道被拉成长粉条）。本端原有的同名覆盖已删 —— 同一条规则留两份副本
   正是 §6.5 那次分叉事故的成因。要调整请改共享文件。 */
/* 平板/窄 PC 回落到接近手机的尺寸，避免元素挤在一起 */
@media(max-width:768px){
    .web-plan-card.plan-card-view{
        --h5-card-inline:12px; --h5-font-body:14px; --h5-font-data:14px; --h5-font-aux:12px;
        --share-core-size:15px; --share-score-size:11px; --share-vs-size:12px; --share-stat-size:17px;
    }
    .web-plan-card.plan-card-view .plan-odds-row{ --odds-label-w:26px; }
    .web-plan-card.plan-card-view .plan-odds-label{ height:22px; line-height:20px; font-size:13px; }
    .web-plan-card.plan-card-view .plan-odds-box{ min-height:22px; }
}

/* 胜/平/负=黑字、赔率数字=中灰（2026-08-03 用户订立，H5 首页卡 / 方案卡 / web 三处同口径） —— web 竞彩量化卡。同样只管普通态 */
.odds-cell .odds-txt{color:#111827;}
.odds-cell .odds-num{color:#6b7280;}

/* ── B17 单关标识 + 未登录锁（与 H5 main.css 同款，尺寸按 web 放大）────────── */
/* 左上角红三角 + 白字「单」逆时针 45°：旋转 45° 的方块左上半探出框外，由 .mark-box
   的 overflow:hidden 裁出三角；::after 里的字再转回来。
   ⚠️ 位移必须在 rotate 之前且用 translateX：父级 +45° 后局部 +x 才是屏幕右下对角线。 */
.mk-single{position:absolute;top:-17px;left:-17px;width:34px;height:34px;
    background:#ef4444;transform:rotate(45deg);z-index:2;pointer-events:none;}
.mk-single::after{content:'单';position:absolute;left:50%;top:50%;
    transform:translate(-50%,-50%) translateX(11px) rotate(-90deg);
    color:#fff;font-size:11px;font-weight:700;line-height:1;font-style:normal;}
/* 右上角锁：与「实力」旁的实力锁同为原生 🔒 emoji（黄色），勿加 grayscale */
.mk-lock{position:absolute;top:1px;right:2px;z-index:2;pointer-events:none;
    font-size:11px;line-height:1;font-style:normal;}
.mk-lock::after{content:'🔒';}
/* 该行三个赔率框的红外框：.odds-row 只含三个赔率框（盘口标记在独立的 .odds-mark-col），
   故直接给行加边框即可，无需像方案卡那样用 ::after 描边层避开标签。 */
.odds-row.single-outline{border:1.5px solid #ef4444;border-radius:8px;padding:1px;}

/* ── B17 AI 解析折叠：卡内竖排按钮 + 顶部一键开关（移植自 H5，字号按 web 放大）── */
.odds-analyse-toggle{
    flex:0 0 auto;width:30px;align-self:stretch;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    border:1px solid #e5e7eb;border-radius:6px;background:#f9fafb;
    color:#6b7280;font-size:13px;line-height:1.1;cursor:pointer;padding:0;
}
.odds-analyse-toggle:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626;}
.odds-analyse-toggle .oat-text{writing-mode:vertical-rl;letter-spacing:1px;}
/* 箭头加大加粗（2026-08-06 用户订立）：原 11px 太小、看不出可点。字号与粗细保留。
   ⚠️ 颜色由「标红 #dc2626」改为 inherit（2026-08-07 用户订立）：红箭头配灰字太突兀。
   inherit 后自动跟随按钮文字色，连 :hover 时整块变红也一起跟着，不必再单独维护一份箭头色。 */
.odds-analyse-toggle .oat-caret{font-size:17px;font-weight:700;color:inherit;line-height:1;}
/* 顶部一键开关：文字 + 拨动开关，开=绿（尚有展开的卡片）/ 关=灰（全部收起） */
.analyse-switch{
    display:inline-flex;align-items:center;gap:5px;
    border:0;background:none;padding:0;cursor:pointer;
    font-size:15px;color:#374151;white-space:nowrap;
}
.analyse-switch .as-track{position:relative;width:34px;height:19px;border-radius:999px;
    background:#d1d5db;transition:background .18s;flex:0 0 auto;}
.analyse-switch .as-knob{position:absolute;top:2px;left:2px;width:15px;height:15px;
    border-radius:50%;background:#fff;transition:transform .18s;box-shadow:0 1px 2px rgba(0,0,0,.25);}
.analyse-switch.on .as-track{background:#22c55e;}
.analyse-switch.on .as-knob{transform:translateX(15px);}  /* = 轨道34 - 旋钮15 - 边距2*2 */
/* 统计行三段式：左右两段等宽，中段才真居中（与 H5 .data-bar 同做法） */
.day-data-bar .db-side{flex:1 1 0;min-width:max-content;display:flex;align-items:center;}
.day-data-bar .db-right{justify-content:flex-end;}
.day-data-bar .db-left{color:#9ca3af;font-size:14px;}
.day-data-bar #dayStatLine{flex:0 0 auto;white-space:nowrap;}

/* ── 用户中心：会员等级横幅（2026-09-05，与 H5「我的」页同一套四态视觉）──────────
   PC 版式自行设计（无参考稿）：横幅通栏、四项统计横向铺开、卖点与按钮同行靠右。
   三档底色与 H5 一致：已开通=金 / 已过期=淡蓝紫 / 未开通=白。
   ⚠️ 金色的双层光影用伪元素，卡片必须 overflow:hidden，否则光斑溢出圆角。 */
.uc-level-card { position:relative; overflow:hidden; border-radius:12px;
    background:#fff; box-shadow:0 2px 12px rgba(0,0,0,.07);
    padding:16px 20px; margin-bottom:16px; }
.uc-level-card.is-active { background:linear-gradient(135deg,#FFF9DD 0%,#FFE8A3 100%); }
.uc-level-card.is-active::before { content:""; position:absolute; width:240px; height:240px;
    background:radial-gradient(circle, rgba(255,220,120,.65) 0%, rgba(255,235,170,0) 70%);
    right:-60px; top:-50px; border-radius:24px; transform:rotate(20deg); }
.uc-level-card.is-active::after { content:""; position:absolute; width:160px; height:160px;
    background:radial-gradient(circle, rgba(255,210,90,.4) 0%, rgba(255,228,150,0) 70%);
    right:40px; bottom:-40px; border-radius:16px; transform:rotate(35deg); }
.uc-level-card.is-expired { background:linear-gradient(135deg,#e8edfb 0%,#dce4f8 100%); }
/* 内容层提到光斑之上，否则金色渐变会盖住文字 */
.uc-level-card > * { position:relative; z-index:1; }

.uc-level-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.uc-level-name { display:flex; align-items:center; gap:10px; min-width:0; }
.uc-level-title { font-size:22px; font-weight:700; color:#92400E; white-space:nowrap; }
.uc-level-card.is-expired .uc-level-title,
.uc-level-card.is-none .uc-level-title { color:#374151; }
.uc-level-badge { height:32px; width:auto; flex-shrink:0; }
.uc-level-note { font-size:14px; color:#6b7280; white-space:nowrap; }
.uc-level-expire { font-size:15px; color:#4b5563; flex-shrink:0; white-space:nowrap; }

/* 四项统计：固定营销文案，不随套餐变 */
.uc-level-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding-top:12px; }
.uc-level-stats > div { text-align:center; min-width:0; }
.uc-level-stats b { display:block; font-size:20px; font-weight:700; color:#92400E; white-space:nowrap; }
.uc-level-stats span { display:block; margin-top:2px; font-size:13px; color:#6b7280; white-space:nowrap; }
.uc-level-card.is-expired .uc-level-stats b, .uc-level-card.is-none .uc-level-stats b,
.uc-level-card.is-expired .uc-level-stats span, .uc-level-card.is-none .uc-level-stats span { color:#9ca3af; }

.uc-level-foot { display:flex; align-items:center; justify-content:space-between;
    gap:16px; padding-top:12px; }
.uc-level-slogan { font-size:14px; color:#4b5563; min-width:0; line-height:1.4;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.uc-level-btn { flex-shrink:0; background:#E62E2E; color:#fff; border:none; border-radius:8px;
    padding:9px 22px; font-size:15px; font-weight:700; cursor:pointer; white-space:nowrap; }
.uc-level-btn:hover { background:#cf2626; }
/* 窄窗口（侧栏收起 / 小笔记本）：统计改两行，卖点与按钮换行 */
@media (max-width: 900px) {
    .uc-level-stats { grid-template-columns:repeat(2,1fr); row-gap:10px; }
    .uc-level-foot { flex-wrap:wrap; }
    .uc-level-slogan { white-space:normal; }
}

/* 无预测赔率的场次被「+ 加入」引导过来时，高亮这一行赔率框提示用户手动选（bonus.js _bonusApplyFocusOdds，2.4s 后自动移除） */
.bonus-odds-row.odds-need-pick{border-radius:8px;animation:oddsNeedPick .8s ease-in-out 3;}
@keyframes oddsNeedPick{0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,0);}50%{box-shadow:0 0 0 2px rgba(239,68,68,.85);}}

/* 合伙邀请弹窗（V037，决策 #7/#20：web 只做入口改名 + 邀请链接/二维码弹窗） */
/* z-index 高于 .top-nav(999)——否则弹窗会被固定顶部导航栏盖住、点击穿透到导航栏 */
.uc-invite-mask{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1500;display:flex;align-items:center;justify-content:center;padding:16px;}
.uc-invite-box{position:relative;background:#fff;border-radius:14px;max-width:340px;width:100%;padding:24px 20px;text-align:center;}
.uc-invite-close{position:absolute;right:12px;top:10px;border:none;background:none;font-size:18px;color:#9ca3af;cursor:pointer;}
.uc-invite-box h3{margin:0 0 8px;font-size:16px;color:#1f2430;}
.uc-invite-desc{font-size:12px;color:#6b7280;line-height:1.5;margin:0 0 16px;}
.uc-invite-qr{display:flex;justify-content:center;margin-bottom:16px;}
.uc-invite-link-row{display:flex;gap:8px;}
.uc-invite-link-row input{flex:1;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:8px 10px;font-size:12px;color:#374151;}
.uc-invite-link-row button{flex-shrink:0;background:#e62e2e;color:#fff;border:none;padding:8px 14px;border-radius:8px;font-size:12px;cursor:pointer;}
