/* =============================================
   96游戏 移动端 - 原始新闻/专题文章页 适配覆盖
   作用: 让 news/** 下引用桌面版 main.css 的文章页
        在手机上正常显示 (直接打开 / iframe 兜底 / HTTP 均生效)
   通过高优先级覆盖桌面版 .news_detail .w1200 的定宽与大字号。
   ============================================= */

/* 强制根字号: 桌面版内联脚本按 clientWidth/19.2 计算(为 1920 画布设计),
   在手机上会把 rem 缩得极小。这里用 !important 夺回控制权。 */
html { font-size: 100px !important; }

html,
html body {
    background: #f4f6fa !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
}

/* 隐藏 404 脚本可能残留的空 header/footer 占位 */
html > header,
html > body > header,
html > footer,
html > body > footer { display: none !important; }

html .news_detail { padding: 0 !important; background: #f4f6fa !important; }

/* 桌面定宽 12rem(1200px) -> 手机自适应 */
html .news_detail .w1200 {
    width: auto !important;
    max-width: 750px !important;
    margin: 0 auto !important;
    padding: 0.12rem 0.16rem 0.4rem !important;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom)) !important;
}

/* 桌面装饰性渐变横条按 12rem 定位,手机上会溢出,隐藏 */
html .news_detail .w1200::after { display: none !important; }

/* 标题区 */
html .news_detail .w1200 .titleBox {
    width: auto !important;
    margin: 0 !important;
    padding: 0.18rem 0 0.16rem !important;
    border-bottom: 0.01rem solid #e5e8ee !important;
}
html .news_detail .w1200 .titleBox .t {
    font-size: 0.2rem !important;
    line-height: 0.3rem !important;
    color: #1f2d3d !important;
}
html .news_detail .w1200 .titleBox .time {
    font-size: 0.13rem !important;
    color: #9aa3af !important;
}
html .news_detail .w1200 .titleBox .author {
    position: static !important;
    display: block !important;
    margin-top: 0.06rem !important;
    font-size: 0.13rem !important;
    color: #9aa3af !important;
    border: 0 !important;
    padding: 0 !important;
}

/* 正文 */
html .news_detail .w1200 .content {
    width: auto !important;
    margin: 0 !important;
    padding: 0.16rem 0 0 !important;
    font-size: 0.15rem !important;
    line-height: 0.28rem !important;
    color: #3a424e !important;
    text-indent: 0 !important;
}
html .news_detail .w1200 .content p { margin-bottom: 0.14rem !important; }
html .news_detail .w1200 .content img {
    margin: 0.14rem auto !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 0.08rem !important;
}
html .news_detail .w1200 .content .text-orange { color: #ff3c00 !important; }

/* 获奖名单表格 */
html .news_detail .w1200 .content table,
html .winners-list {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0.14rem 0 !important;
    font-size: 0.13rem !important;
}
html .content th,
html .content td {
    padding: 0.08rem 0.06rem !important;
    border-bottom: 0.01rem solid #eef0f4 !important;
    text-align: left !important;
    word-break: break-all !important;
    line-height: 0.22rem !important;
}
html .content th { background: #f4f6fa !important; color: #1f2d3d !important; font-weight: 600 !important; }
html .content tr:nth-of-type(even) td { background: #fafbfc !important; }

/* 返回按钮 */
html .news_detail .w1200 .backPre {
    display: block !important;
    width: 1.7rem !important;
    height: 0.48rem !important;
    line-height: 0.48rem !important;
    margin: 0.24rem auto 0 !important;
    border-radius: 0.24rem !important;
    text-align: center !important;
    color: #fff !important;
    background: #1a75f0 !important;
    font-size: 0.14rem !important;
}
