/* ============================================================
   site-109004.css — 109004.xyz 的「本站差异」覆盖层

   原则（2026-11-25 确认）：
     · 开奖区、公告、站点列表、域名、财历、属性对照、广告位、资料表主体
       —— 一律用 n2 里与 10 个新站完全相同的那套 CSS；
     · 只有两处保留 109004 原来的样式：
         ① btn 按钮（热门资料）
         ② 表头大标题（lt-bg.png 横幅 + 文字垂直居中）
   ============================================================ */

/* ---------- ① 热门资料按钮：旧站「每行 5 个 + 深蓝圆角白字」---------- */
.btn-grid {
    grid-template-columns: repeat(5, 1fr);
}

.btn-item {
    background: #203c5f;
    border: 0;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 700;
}

/* ---------- ② 表头大标题：照抄旧 a-common-b/css/img.css 的 .list-title ---------- */
.list-title {
    width: 100%;
    height: 60px;
    padding: 0;
    text-align: center;
    background: url(/n2/img/lt-bg.png) no-repeat center center;
    background-size: 100% 100%;
    margin-top: 10px;
    color: #ffffff;
    font-size: 24px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;

    /* 关键：让文字垂直居中（旧站就是靠这三行，之前漏了） */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 资料表的表头大标题（旧渲染器输出 .mb-title，样式在 n2/css/mb.css 里
   与旧站完全一致；这里保持同样的横幅底图，并且同样垂直居中） */
.mb-title {
    width: 100%;
    height: 60px;
    padding: 0;
    text-align: center;
    background: url(/n2/img/lt-bg.png) no-repeat center center;
    background-size: 100% 100%;
    margin-top: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   弹窗（tc）：表头 / 表尾恢复旧站的深蓝色
   原因：旧 tc.css 用 background: var(--b3)，
         旧站 --b3 = #203c5f（深蓝），而 n2 的 index.css 里 --b3 = #eaeaea（浅灰）。
   所以这里直接写死颜色，不动全局变量（其它板块还要用 --b3）。
   ============================================================ */
#modalBox .modal-header,
#modalBox .modal-footer {
    background: #203c5f;
}

/* 表头文字与关闭按钮：保持旧站的白色系 */
#modalBox .modal-header,
#modalBox .modal-header .modal-title,
#modalBox .modal-footer .footer-close {
    color: #ffffff;
}
