/* ==========================================================================
   N 系列（n1~n4）统一规则
   ① 顶端标题行一律不显示 —— 只保留彩种切换与内容（需求方要求）
   ② 所有插图与文字内容强制同宽（占满容器），图片自适应（width:100% + 高度自动）
   ========================================================================== */

/* ① 去掉顶端标题行：
   .m-top .row1  = 「页面名 · 彩种名 + 更新于 …」（N1/N2 走 M.Top 时在这里）
   .npc4-top     = N4 的静态标题行（标题 + 数据状态 + 黑夜切换）
   保留 .m-seg / .m-game-btn（彩种切换）不动。 */
.m-top .row1 { display: none !important; }
.npc4-top { display: none !important; }

/* ② 内容强制同宽：页面容器里的一级子块（广告、开奖卡、标签栏、表格、卡片）都占满容器 */
.m-wrap > *,
.npc-wrap > *,
.npc4-wrap > * { width: 100% !important; max-width: 100%; box-sizing: border-box; }

/* 表格也占满容器，避免"文字比图片窄" */
.m-wrap table,
.npc-wrap table,
.npc4-wrap table { width: 100% !important; table-layout: fixed; }

/* 图片自适应：容器内所有插图的宽度与内容一致，高度按比例 */
/* ③ 图片自适应：容器内所有插图的宽度与内容一致，高度按比例。
   注意 n-pc.css 里有 `.npc-adv .m-adv { display:inline-block; max-width:960px }`，
   会把 PC 页的广告图卡在 960px（实测：容器 1161px，图片只有 958px），必须覆盖掉。 */
.npc-adv,
.npc-adv .m-adv,
.npc-wrap .m-adv,
.npc4-wrap .m-adv {
  display: block !important; width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important; text-align: left !important;
}

.m-wrap img,
.npc-wrap img,
.npc4-wrap img { width: 100% !important; max-width: 100% !important; height: auto !important; display: block; }
