/**
 * 49 资料板块样式 — 对齐 bb777 观感：
 * 绿头白底、正文居中流式大字、无卡片外边线。
 * 不强制四格；长码自然换行。
 */

:root {
  --t49-green: #10c366;
  --t49-green-mid: #12a34a;
  --t49-green-deep: #0e9a4e;
  --t49-green-soft: #eafff3;
  --t49-green-line: #10c366;
  --t49-zebra: #f7fbf8;
}

#home-material-root,
.t49-material #home-material-root {
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}

/* —— 板块边线保留（绿描边圆角）；不要再叠一层表外框＝双边线 —— */
#home-material-root .box.pad,
#home-material-root .home-mat-box,
.t49-material .box.pad,
.t49-material .home-mat-box {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  box-sizing: border-box;
  background: #fff !important;
  border: 2px solid var(--t49-green-line) !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: none;
}

#home-material-root .box.pad > table,
#home-material-root .home-mat-box > table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
}

/* 懒加载占位 */
#home-material-root .home-lazy-slot {
  min-height: 72px;
}
#home-material-root .home-lazy-placeholder {
  min-height: 72px;
  margin: 0 0 10px;
  border-radius: 10px;
  border: 2px solid #d9eee0;
  background: linear-gradient(90deg, #f0faf4, #eafff3, #f0faf4);
  background-size: 200% 100%;
  animation: t49-mat-shimmer 1.2s ease-in-out infinite;
}
@keyframes t49-mat-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* —— 表头：实心绿条（对齐 bb777 绿头，压掉各引擎原色） —— */
#home-material-root .style72293 .header-row,
#home-material-root table.style72293 .header-row,
#home-material-root .style92875 .header-row,
#home-material-root table.style92875 .header-row {
  background: var(--t49-green) !important;
  background-color: var(--t49-green) !important;
}
#home-material-root .style72293,
#home-material-root table.style72293,
#home-material-root .style92875,
#home-material-root table.style92875 {
  border-color: var(--t49-green) !important;
}
#home-material-root .style72293 .header-row td,
#home-material-root .style92875 .header-row td {
  background: var(--t49-green) !important;
  background-color: var(--t49-green) !important;
  border-color: var(--t49-green) !important;
  color: #fff !important;
}
#home-material-root .style72293 .header-row b,
#home-material-root .style92875 .header-row b,
#home-material-root .style72293 .title-webname,
#home-material-root .style72293 .title-name,
#home-material-root .style72293 .title-text,
#home-material-root .style92875 .title-webname,
#home-material-root .style92875 .title-name {
  color: #fff !important;
  border-color: var(--t49-green) !important;
}
#home-material-root .style72293 .title-domain,
#home-material-root .style92875 .title-domain {
  color: #ffe14a !important;
}

#home-material-root table.ptyx > thead > tr > th,
#home-material-root table.ptyx > tbody > tr:first-child > th,
#home-material-root table.ptyx th,
#home-material-root .ptyx th,
#home-material-root .yxym th,
#home-material-root .yxym td.td1,
#home-material-root .yxym td.td3,
#home-material-root .bzlx th,
#home-material-root .jx24m th {
  background: var(--t49-green) !important;
  background-color: var(--t49-green) !important;
  color: #fff !important;
  text-shadow: none !important;
  border-color: var(--t49-green-deep) !important;
  text-align: center !important;
}
#home-material-root table.ptyx th b,
#home-material-root table.ptyx th font,
#home-material-root .ptyx th b,
#home-material-root .tit font,
#home-material-root .list-title font {
  color: #fff !important;
}

#home-material-root .tit,
#home-material-root .home-mat-box .tit,
#home-material-root .box.pad .tit,
#home-material-root table .tit,
#home-material-root .list-title,
#home-material-root .home-mat-box > .list-title,
#home-material-root .btbt,
#home-material-root .home-mat-box > .btbt {
  background: var(--t49-green) !important;
  background-color: var(--t49-green) !important;
  color: #fff !important;
  text-shadow: none !important;
  border-bottom: 0 !important;
  text-align: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 44px !important;
  min-height: 44px !important;
  padding: 0 10px !important;
  border-radius: 0 !important;
}

#home-material-root th.bt4,
#home-material-root .bt4,
#home-material-root .jrtt-gsb__head,
#home-material-root th.bt1,
#home-material-root .bt1 {
  background: var(--t49-green) !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
#home-material-root th.bt1 .colors,
#home-material-root .bt1 .colors {
  color: #fff !important;
}

/* —— 表体：强制居中铺满（根治单列贴左、右侧大空白） —— */
#home-material-root table {
  width: 100% !important;
  table-layout: fixed !important;
  text-align: center !important;
}
#home-material-root table.ptyx td,
#home-material-root .ptyx td,
#home-material-root .yxym td,
#home-material-root .bzlx td,
#home-material-root .jx24m td,
#home-material-root table.duilianpt td,
#home-material-root table.duilianpt th,
#home-material-root table.duilianpt1 td,
#home-material-root table.duilianpt1 th,
#home-material-root .style72293 .data-row td,
#home-material-root .style72293 .data-content,
/* 仅表体白底；勿盖 .header-row/.subtitle-row（否则白字隐身只剩黄域名） */
#home-material-root .style92875 tr:not(.header-row):not(.subtitle-row) td,
#home-material-root td.td {
  border-color: #cfe9d8 !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: #fff !important;
  padding: 8px 6px !important;
  word-break: break-word;
}
#home-material-root table.ptyx tr:nth-child(even) td,
#home-material-root .ptyx tr:nth-child(even) td,
#home-material-root table.duilianpt tr:nth-child(even) td,
#home-material-root table.duilianpt1 tr:nth-child(even) td,
#home-material-root .style72293 .data-row:nth-child(even) td,
#home-material-root .style92875 tr:not(.header-row):not(.subtitle-row):nth-child(even) td {
  background: var(--t49-zebra) !important;
}

#home-material-root table.duilianpt,
#home-material-root table.duilianpt1,
#home-material-root table.ptyx,
#home-material-root .ptyx {
  border-color: #cfe9d8 !important;
  background: #fff !important;
  text-align: center !important;
}
#home-material-root table[bordercolor],
#home-material-root table[bordercolor] td,
#home-material-root table[bordercolor] th {
  border-color: #cfe9d8 !important;
}

#home-material-root .home-mat-box > p,
#home-material-root .box.pad > p,
#home-material-root td p {
  text-align: center !important;
  margin: 6px 0 !important;
  line-height: 1.55 !important;
}

/* t49 主题：正文居中，禁止贴边 */
#home-material-root .home-mat-box td,
#home-material-root .box.pad td,
#home-material-root td[align="left"],
#home-material-root p[align="left"] {
  text-align: center !important;
}
#home-material-root .home-mat-box td,
#home-material-root .box.pad > table td {
  padding-left: 12px !important;
  padding-right: 12px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* 去掉表/格外边线，只留极浅行分隔 */
#home-material-root table,
#home-material-root table[border],
#home-material-root table[bordercolor] {
  border: 0 !important;
  border-collapse: collapse !important;
}
#home-material-root table td,
#home-material-root table th {
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #eef5f0 !important;
}
#home-material-root table tr:last-child > td,
#home-material-root table tr:last-child > th {
  border-bottom: 0 !important;
}

/* 流式资料行：单格居中，字号加大，长码可换行 */
#home-material-root table.t49-bb-table {
  width: 100% !important;
  table-layout: auto !important;
  border: 0 !important;
}
#home-material-root td.t49-bb-line,
#home-material-root tr.t49-bb-row > td {
  text-align: center !important;
  vertical-align: middle !important;
  padding: 12px 14px !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  font-weight: 700 !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #eef5f0 !important;
  white-space: normal !important;
  word-break: break-word;
}
#home-material-root tr.t49-bb-row:nth-child(even) > td {
  background: var(--t49-zebra) !important;
}
#home-material-root .t49-bb-period {
  color: #222 !important;
  margin-right: 0.35em;
  white-space: nowrap;
}
#home-material-root .t49-bb-tag {
  color: #0000ff !important;
  margin-right: 0.35em;
  white-space: nowrap;
}
#home-material-root .t49-bb-pred {
  color: #008000 !important;
  margin-right: 0.35em;
}
#home-material-root .t49-bb-pred .t49-bb-kill {
  color: #333 !important;
  margin-right: 2px;
}
#home-material-root .t49-bb-open {
  color: #222 !important;
  white-space: nowrap;
}
#home-material-root .t49-bb-open .t49-bb-res,
#home-material-root .t49-bb-res {
  color: #ff0000 !important;
}
#home-material-root tr.t49-bb-row .highlight {
  background-color: #ffff00 !important;
  color: #ff0000 !important;
}

/* 图例行：浅绿底，勿粉底 */
#home-material-root table.duilianpt1 th[bgcolor],
#home-material-root table.duilianpt th[bgcolor],
#home-material-root th[bgcolor="#fff0ff"] {
  background: #eafff3 !important;
  color: #0e9a4e !important;
}
#home-material-root th[bgcolor] font {
  color: #0e9a4e !important;
}

/* multi_table：保住右列「开xx准/错」，禁止中列吃满把判中挤没 */
#home-material-root .style72293 table.multi-table-inner {
  table-layout: fixed !important;
  width: 100% !important;
}
#home-material-root .style72293 table.multi-table-inner > colgroup > col:nth-child(1) {
  width: 18% !important;
}
#home-material-root .style72293 table.multi-table-inner > colgroup > col:nth-child(2) {
  width: 55% !important;
}
#home-material-root .style72293 table.multi-table-inner > colgroup > col:nth-child(3) {
  width: 27% !important;
}
#home-material-root .style72293 table.multi-table-inner td:last-child {
  white-space: nowrap !important;
  overflow: visible !important;
}

/* 命中高亮保持黄底红字 */
#home-material-root .highlight,
#home-material-root span.highlight,
#home-material-root .style72293 .highlight,
#home-material-root .style92875 .highlight {
  background-color: var(--home-material-hit-bg, #ffff00) !important;
  color: var(--home-material-hit-fg, #ff0000) !important;
}

/* 藏掉骨架里多余的 nav2（bb777 资料区不靠这套） */
#home-material-root .nav2,
#home-material-root .nav2-stick,
#home-material-root .nav2-spacer {
  display: none !important;
}
