/* 新站补充样式：只补老站三套CSS没有的少量结构；主体视觉全部复用 base/common_v3/rank_v3.css */

/* 页头标题：老站 .gd-logo 内 span 已 inline-block，这里只微调角标定位 */
.logo-title{position:relative;padding-right:.3rem;display:inline-block;}

/* 底部说明区（老站把说明藏在 .explain 里默认 display:none，这里按线上截图还原为常显） */
.explain-bottom{
    background:#fff;
    padding:.18rem .2rem .28rem .2rem;
    font-size:.19rem;
    color:#333;
    line-height:1.6;
}
.explain-bottom .rule-title{
    font-size:.24rem;
    font-weight:bold;
    color:#333;
    margin:.05rem 0 .08rem 0;
    display:flex;
    align-items:center;
}
.explain-bottom .warn_icon{
    display:inline-block;
    width:.24rem;
    height:.24rem;
    background:url("/static/img/warn_icon_v1.png") no-repeat center center;
    background-size:100% 100%;
    margin-right:.06rem;
}
.explain-bottom .rule-note{
    color:#666;
    font-size:.18rem;
    margin:.02rem 0 .14rem 0;
}
.explain-bottom .rule-line{
    margin:.08rem 0;
    color:#333;
    font-size:.19rem;
    text-align:justify;
}
.explain-bottom .rule-line em{
    font-style:normal;
    font-weight:bold;
}
.explain-bottom .beian-line{
    text-align:center;
    margin-top:.24rem;
    font-size:.18rem;
}
.explain-bottom .beian-line a{
    color:#999;
    text-decoration:none;
}

/* 底部导航：老站 .category-nav 未设背景(靠 body 白底衬托)，但本站榜单区有水印层，
   透明会让水印和榜单文字从五个 tab 背后透上来，显脏。这里显式给不透明白底。 */
.category-nav{background:#fff;}
.category-nav ul li{font-size:.18rem;line-height:1.15rem;}
/* ★2026-12-06 修复：文字改为绝对定位固定在图标下方，不再依赖行高撑开。
   原布局(图标 absolute top:.1rem + 文字靠 line-height 垂直居中)在红米K60小米浏览器下
   因中文字体 ascent/descent 不同，行盒上浮压到图标；绝对定位后各浏览器渲染一致。
   图标 top:.1rem 高:.34rem(占 .1~.44rem)，文字放 .46rem 起，正好在图标下方不重叠。 */
.category-nav ul li .cateTxt{position:absolute;left:0;right:0;top:.46rem;line-height:1;}
.category-nav ul li.active{color:#ffb130;}

/* 榜单区底部留白，避免被固定导航遮挡 */
.rank-mode{padding-bottom:.1rem;}
.content-box{padding-bottom:.84rem;}

/* ★2026-12-03 表头对齐修复：
   表头与数据行现在共用 .rank-box 的 <colgroup> 列宽，物理上不会错位。
   列宽：排名14% / 热标2% / 名称35% / 全平台28% / 热度21%，合计100%。 */
/* ★2026-12-03 16:37 固定表头（恢复老站机制）：
   表头 li 放在 head-fixed 内随头部固定，滚动时不动；列宽 14/2/35/28/21 与下方表格 colgroup 一致，
   对齐/字号也与数据行逐列对齐（排名居中+左内边距、名称左、全平台居中、热度居中）。 */
.fixed-title ul{height:.73rem;}
.fixed-title ul li{float:left;height:.73rem;line-height:.73rem;font-size:.18rem;color:#333;font-weight:normal;}
.fixed-title .ft-rank{text-align:center;padding-left:.1rem;}
.fixed-title .ft-mark{text-align:center;}
.fixed-title .ft-name{text-align:left;}
.fixed-title .ft-platform{text-align:center;}
.fixed-title .ft-heat{text-align:center;}

.rank-box{table-layout:fixed;width:100%;}
/* ★2026-12-03 16:20 二次修正：宽屏浏览器实测发现 th 的 text-align 被旧缓存样式压成居中，
   导致「名称」表头居中而剧名左对齐，肉眼明显错位。这里把字号(0.18→0.2rem)与对齐用 !important
   锁死，模板 th 同时写内联样式双保险；CSS/JS 链接加 ?v=20261204a 强制浏览器刷新缓存。 */
.rank-box .rank-thead th{
    /* ★2026-12-03 16:26 定案：字号/字重按老站 rank_v3.css .fixed-title = .18rem、normal、#333。
       用户16:26:58确认当前效果没问题，此状态为最终版，不再改动。 */
    height:.73rem;line-height:.73rem;font-size:.18rem !important;color:#333;font-weight:normal !important;
    border-top:1px solid #f3f3f3;background:#fff;padding:0;
}
.rank-box .rank-thead .th-rank{text-align:center !important;padding-left:.1rem;}
.rank-box .rank-thead .th-name{text-align:left !important;padding-left:0;}
.rank-box .rank-thead .th-platform{text-align:center !important;}
.rank-box .rank-thead .th-heat{text-align:center !important;padding-right:0;}
/* 数据行：热度值与表头同为中心对齐，全平台图标居中 */
.rank-box tbody tr td:nth-of-type(4){text-align:center;}
.rank-box tbody tr td:nth-of-type(5){text-align:center;padding-right:0;}
/* ★2026-12-03 16:23 热度列最终定案=居中：按用户确认改成表头+数值都居中。
   .gdi-box 覆盖为 100%（老站 80% 会让数值偏左），这样数值在整列内正中间。 */
.rank-box tbody tr td:nth-of-type(5) .gdi-box{width:100% !important;}

/* 一键长图预览层文案（老站是内联style，这里补类名以便统一） */
.canvas-tip{font-size:.22rem;font-weight:bold;color:#585858;text-align:center;margin:.2rem 0;}

/* embed 说明弹窗的 warn 图标在老站已有，这里确保可见 */
.explain-box .warn_icon{
    display:inline-block;width:.24rem;height:.24rem;
    background:url("/static/img/warn_icon_v1.png") no-repeat center center;
    background-size:100% 100%;vertical-align:middle;margin-right:.05rem;
}
