/* display59693 资料表 — 对齐源站 style4 + /bbs1 样本（青绿外框、白底表、#cfc 提示行） */
.box.pad {
  margin: 5px 0;
  border-radius: 5px;
  overflow: hidden;
}

/* style4：基础 list-title（白底黑字）；#yxym / 阶梯板才用大号渐变 */
.list-title {
  height: 28px;
  line-height: 23px;
  padding: 2px 4px;
  font-size: 16pt;
  text-align: center;
  border-bottom: 1px solid #738e9f;
  text-shadow: 1px 4px 1px #b99b5f;
  background: #fff;
  color: #000;
  font-weight: bold;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.home-mat-box > .tit,
.home-mat-box .tit,
table .tit,
.box.pad > .tit {
  line-height: 28px;
  min-height: 28px;
  padding: 2px 4px;
  color: #000;
  text-align: center;
  font-weight: bold;
  font-size: 16pt;
  text-shadow: 1px 4px 1px #b99b5f;
  border-bottom: solid 1px #738e9f;
  background: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* 阶梯/大标题板（sdu7 等） */
.home-mat-box#sdu7 .list-title,
#yxym .list-title {
  height: auto;
  line-height: 40px;
  font-size: 26px;
  color: #000;
  text-shadow: 0 0 10px #e5e5e5;
  background: linear-gradient(transparent, #f7f3f3);
}

@media screen and (max-width: 610px) {
  .home-mat-box#sdu7 .list-title,
  #yxym .list-title {
    font-size: 20px;
  }
}

@media screen and (max-width: 524px) {
  .home-mat-box#sdu7 .list-title,
  #yxym .list-title {
    font-size: 18px;
  }

  .list-title {
    font-size: 14pt;
  }
}

.bzlx,
.jx24m {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: #fff;
  font-weight: bold;
}

.bzlx th,
.jx24m th {
  color: #f00;
  background: #fff89c;
  border: 1px solid #656565;
  padding: 6px 4px;
  font-size: 16px;
}

.bzlx td,
.jx24m td {
  border: 1px solid #656565;
  padding: 6px 4px;
  color: #333;
}

.bzlx .td1,
.jx24m .td1 {
  width: 22%;
  background: #edf7f7;
  color: #000;
}

.bzlx .td2 .STYLE1,
.bzlx .STYLE1 {
  color: #c00;
  font-size: 16px;
}

.bzlx .td3,
.jx24m .td3 {
  width: 22%;
}

.dgk {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  text-align: center;
  font-weight: bold;
}

.dgk th {
  background: linear-gradient(transparent, #f7f3f3);
  color: #000;
  border: 1px solid #656565;
  padding: 8px 4px;
  font-size: 16px;
}

.dgk td {
  border: 1px solid #656565;
  padding: 6px 4px;
  color: #333;
  width: 50%;
}

.ymgg-tit1 {
  color: #000;
}

.xjct {
  width: 100%;
  border-collapse: collapse;
  background: rgba(189, 182, 87, 0.6);
  text-align: center;
  font-weight: bold;
}

.xjct th {
  background: #b99b5f;
  color: #ff0;
  border: 1px solid #656565;
  padding: 10px 6px;
  font-size: 18px;
}

.xjct td {
  border: 1px solid #656565;
  padding: 10px 6px;
  width: 33.33%;
}

.xjct td a {
  color: #06c;
  text-decoration: none;
  font-size: 15px;
}

.xjct td a:hover {
  color: #c00;
  text-decoration: underline;
}

.sqbk {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  text-align: center;
  font-weight: bold;
}

.sqbk th {
  background: #fff89c;
  color: #f00;
  border: 1px solid #656565;
  padding: 6px 4px;
}

.sqbk td {
  border: 1px solid #656565;
  padding: 6px 4px;
}

.sqbk .td1 {
  background: #edf7f7;
  color: #000;
  width: 18%;
}

.juesha {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 14px;
}

.juesha th {
  background: #000;
  color: #fff;
  border: 1px solid #636262;
  padding: 6px 3px;
}

.juesha td {
  border: 1px solid #636262;
  padding: 6px 3px;
  font-weight: bold;
}

.tongtian-con {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  text-align: center;
}

.tongtian-con .td-qi,
.tongtian-con .td-res {
  width: 15%;
  background: #b99b5f;
  color: #fff;
  font-weight: bold;
}

.tongtian-con .td-poem,
.tongtian-con .td-jie {
  background: #fff;
  color: #333;
  padding: 6px 8px;
  text-align: left;
}

.tongtian-con td {
  border: 1px solid #b69157;
}

.ptyx {
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  background: #fff;
  text-align: center;
  border-collapse: collapse;
}

.ptyx th {
  font-size: 18px;
  color: #f00;
  border: solid 1px #fff;
  background: #fff89c;
  padding: 8px;
}

.ptyx th .tit {
  border: 0;
  background: linear-gradient(transparent, #f7f3f3);
  color: #000;
  text-shadow: 0 0 10px #e5e5e5;
}

.ptyx td {
  padding: 8px 5px;
  color: #333;
  border: solid 1px #fff;
  background: #fff;
}

/* sdu7 阶梯提示行：源站 background:#cfc */
.ptyx tr.lbw-tip td,
.ptyx td.lbw-tip,
.ptyx .sdu7-tip {
  background: #ccffcc;
  text-align: center;
}

.ptyx .correct,
.ptyx .wrong,
.ptyx .waiting {
  background-color: #fff;
}

.highlight {
  background-color: #ffff00;
}

.result-text {
  color: #ff0000;
  font-weight: bold;
}

.correct-mark {
  color: #ff0000;
  font-weight: bold;
}

/* style4 .qxtable.yxym：两侧 #edf7f7 */
.yxym {
  border-collapse: collapse;
  text-align: center;
  background: #fff;
  width: 100%;
  table-layout: auto;
  word-wrap: break-word;
  word-break: break-all;
}

.yxym th {
  height: 40px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  border: solid 1px #656565;
  background: linear-gradient(transparent, #f7f3f3);
}

.yxym td {
  height: 30px;
  font-size: 12pt;
  border: solid 1px #656565;
}

.yxym td.td1,
.yxym tr td:nth-child(1) {
  width: 20%;
  color: #000;
  background: #edf7f7;
}

.yxym td.td2,
.yxym tr td:nth-child(2) {
  color: #00f;
  background: #f7f7f7;
  width: 60%;
}

.yxym td.td2 span,
.yxym td.td2 .highlight {
  background: #ff0;
}

.yxym td.td3,
.yxym tr td:nth-child(3) {
  width: 20%;
  color: #000;
  background: #edf7f7;
}

.post-list {
  text-align: center;
  background: #fff;
  margin: 1px;
  padding: 4px 2px 6px;
  list-style: none;
}

.post-list li {
  padding: 3px;
  background-color: #fff;
  border-radius: 0;
}

.post-list a {
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: solid 1px #ddd;
  border-radius: 8px;
  background: #eee;
  background-image: linear-gradient(to top, #fff, #eee, #fff);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 8px;
}

.post-list a:hover {
  text-decoration: none;
}

/* 源站 .qxtable / .qxtable.yxym */
.qxtable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  text-align: center;
  table-layout: fixed;
}

.qxtable th,
.qxtable td {
  border: 1px solid #656565;
}

.qxtable th {
  font-size: 18px;
  background: #fff89c;
  text-align: center;
  color: red;
}

.qxtable td {
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: bold;
  padding: 4px 2px;
}

.qxtable.yxym {
  table-layout: auto;
  word-wrap: break-word;
  word-break: break-all;
}

.qxtable.yxym td {
  font-size: 12pt;
}

.qxtable.yxym tr td:nth-child(1),
.qxtable.yxym tr td:nth-child(3) {
  background: #edf7f7;
}

.qxtable.yxym tr td:nth-child(2) {
  background: #f7f7f7;
  width: 60%;
  color: red;
}

/* sdu7 / 07jyzt 提示行 */
.qxtable tr td.lbw-tip,
.qxtable .sdu7-tip,
.qxtable td[style*="background:#cfc"],
.qxtable td[style*="background:#ccffcc"] {
  text-align: center;
  font-weight: bold;
}

.qxtable .xz {
  font-weight: bold;
}

.qxtable .jx {
  font-weight: bold;
  color: #ff0000;
}

/* 源站 duilianpt / duilianpt1（period_rows 白底灰边大字） */
.duilianpt,
.duilianpt1 {
  table-layout: auto;
  color: #ff0000;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  width: 100%;
  border-collapse: collapse;
}

.duilianpt tr,
.duilianpt1 tr {
  height: 30px;
}

.duilianpt td,
.duilianpt th {
  font-weight: bold;
  border: 1px solid #c0c0c0;
  font-size: 18pt;
  padding: 4px 2px;
}

.duilianpt td .zl {
  font-size: 20pt;
}

.duilianpt1 td,
.duilianpt1 th {
  font-weight: bold;
  border: 1px solid #c0c0c0;
  font-size: 17pt;
  padding: 4px 2px;
}

.duilianpt1 td .zl {
  font-size: 20pt;
}

/* 源站 qnzl.js table.pnzl */
.pnzl {
  table-layout: auto;
  color: #000;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  background: #f5f5f5;
  width: 100%;
  border-collapse: collapse;
}

.pnzl tr {
  height: 28px;
}

.pnzl td {
  font-weight: bold;
  border: 1px solid #fff;
  width: 33.3%;
  font-size: 12pt;
  padding: 4px 2px;
  background: #f5f5f5;
}

.pnzl a {
  color: #000;
  text-decoration: none;
}

.pnzl a:hover {
  color: #c00;
  text-decoration: underline;
}

/* style4 标题黑字：覆盖残留 font color="#FFFF00" */
.tit font[color="#FFFF00"],
.tit font[color="#ffff00"],
.list-title font[color="#FFFF00"],
.home-mat-box > .tit font {
  color: #000 !important;
}

@media screen and (max-width: 720px) {
  .yxym td {
    font-size: 13px;
  }

  .duilianpt td,
  .duilianpt th {
    font-size: 13pt;
  }

  .duilianpt td .zl {
    font-size: 15pt;
  }

  .duilianpt1 td,
  .duilianpt1 th {
    font-size: 13pt;
  }

  .duilianpt1 td .zl {
    font-size: 15pt;
  }
}
