.newnew-source-materials-module {
  width: 100%;
  margin: 14px 0 18px;
  overflow: hidden;
  border: 2px solid #168b54;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  color: #17212b;
}

.newnew-source-materials-module[hidden] { display: none !important; }

.newnew-source-materials-title {
  margin: 0;
  padding: 13px 10px;
  background: linear-gradient(100deg, #146b39, #20b979);
  color: #fff;
  text-align: center;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.newnew-source-materials-meta {
  padding: 6px 10px;
  background: #f4f8f5;
  color: #68746e;
  font-size: 12px;
  text-align: right;
}

.newnew-source-materials-list { max-height: 620px; overflow-y: auto; }

.newnew-source-materials-record {
  padding: 10px 12px;
  border-top: 1px solid #e3e9e5;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.newnew-source-materials-record:nth-child(even) { background: #fbfdfb; }
.newnew-source-materials-empty { padding: 22px 10px; color: #777; text-align: center; font-size: 14px; }

#newnew-danshuang-materials,
#newnew-poem-materials,
#newnew-formula-materials {
  border: 1px solid #dcdcdc;
  border-radius: 0;
  background: #fff;
}

#newnew-danshuang-materials .newnew-source-materials-title,
#newnew-poem-materials .newnew-source-materials-title {
  padding: 0 8px 10px;
  background: #fff;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

#newnew-danshuang-materials .danshuang-banner,
#newnew-poem-materials .poem-banner {
  display: block;
  width: min(620px, 88%);
  margin: 0 auto;
  padding: 8px 10%;
  box-sizing: border-box;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
  background: #f00;
  color: #fff;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#newnew-danshuang-materials .danshuang-domain { color: #ff0; }
#newnew-poem-materials .poem-domain { color: #ff0; }

#newnew-danshuang-materials .newnew-source-materials-meta,
#newnew-poem-materials .newnew-source-materials-meta,
#newnew-formula-materials .newnew-source-materials-meta {
  background: #fff;
  font-size: 11px;
}

#newnew-danshuang-materials .newnew-source-materials-list,
#newnew-poem-materials .newnew-source-materials-list,
#newnew-formula-materials .newnew-source-materials-list {
  max-height: none;
  overflow: visible;
}

#newnew-danshuang-materials .newnew-source-materials-record {
  padding: 8px;
  border-top: 1px solid #ddd;
  background: #fff;
  color: #111;
  text-align: center;
  font-family: "Times New Roman", "SimSun", "Songti SC", serif;
  font-size: 18px;
  line-height: 1.6;
}

#newnew-danshuang-materials .danshuang-type { color: #8000ff; font-weight: 700; }
#newnew-danshuang-materials .danshuang-parity { color: #f00; }
#newnew-danshuang-materials .danshuang-result { color: #008000; font-weight: 700; }
.newnew-source-materials-module .source-rule-hit { color: #f00; background: #ff0; }

#newnew-poem-materials .newnew-source-materials-list,
#newnew-formula-materials .newnew-source-materials-list {
  padding: 5px 0 9px;
}

#newnew-poem-materials .newnew-source-materials-record,
#newnew-formula-materials .newnew-source-materials-record {
  padding: 1px 8px;
  border: 0;
  background: #fff;
  text-align: center;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

#newnew-poem-materials .newnew-source-materials-record { color: #111; }
#newnew-poem-materials .poem-content { color: #f00; }

#newnew-formula-materials .newnew-source-materials-title {
  padding: 10px 8px;
  background: #00f;
  color: #fff;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 24px;
  line-height: 1.5;
}

#newnew-formula-materials .formula-author { color: #ff0; margin-right: .35em; }
#newnew-formula-materials .newnew-source-materials-record { color: #365963; font-weight: 700; }

@media (max-width: 600px) {
  .newnew-source-materials-title { padding: 11px 8px; font-size: 18px; }
  .newnew-source-materials-record { padding: 9px 8px; font-size: 14px; line-height: 1.6; }
  #newnew-danshuang-materials .newnew-source-materials-title { font-size: 18px; }
  #newnew-danshuang-materials .danshuang-banner { width: 100%; }
  #newnew-danshuang-materials .newnew-source-materials-record { font-size: 16px; }
  #newnew-poem-materials .newnew-source-materials-title { font-size: 18px; }
  #newnew-poem-materials .poem-banner { width: 100%; }
  #newnew-poem-materials .newnew-source-materials-record,
  #newnew-formula-materials .newnew-source-materials-record { font-size: 16px; }
  #newnew-formula-materials .newnew-source-materials-title { font-size: 21px; }
}

:is(#newnew-four-zodiac, #newnew-four-tail) {
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #000;
}

:is(#newnew-four-zodiac, #newnew-four-tail) .newnew-source-materials-title {
  box-sizing: border-box;
  min-height: 60px;
  padding: 10px 8px;
  border: 0;
  border-radius: 0;
  background: #c60;
  color: #fff;
  font: 700 26.6667px/1.5 Arial, "Microsoft YaHei", sans-serif;
  text-align: center;
}

:is(#newnew-four-zodiac, #newnew-four-tail) .newnew-source-materials-meta {
  padding: 3px 8px;
  background: #fff;
  font-size: 11px;
}

:is(#newnew-four-zodiac, #newnew-four-tail) .newnew-source-materials-list {
  max-height: none;
  overflow: visible;
}

:is(#newnew-four-zodiac, #newnew-four-tail) .newnew-source-materials-record {
  padding: 3px 4px;
  border-top: 1px solid #ddd;
  background: #fff;
  color: #000;
  text-align: center;
  overflow-wrap: normal;
}

#newnew-four-zodiac .newnew-source-materials-record {
  font: 700 18.6667px/1.5 Arial, "Microsoft YaHei", sans-serif;
}

#newnew-four-tail .newnew-source-materials-record {
  font: 400 18px/1.5 "KaiTi", "STKaiti", "SimSun", serif;
}

:is(#newnew-four-zodiac, #newnew-four-tail) .eight-issue { color: #000; }
#newnew-four-zodiac .eight-type { color: #52149c; }
#newnew-four-zodiac .eight-result { color: #3349bd; }
#newnew-four-tail .eight-type { color: #93f; }
#newnew-four-tail .eight-result { color: #00f; }
#newnew-four-tail .eight-issue { font-weight: 400; }

:is(#newnew-four-zodiac, #newnew-four-tail) .eight-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 0;
}

:is(#newnew-four-zodiac, #newnew-four-tail) .eight-group {
  color: #f00;
  white-space: nowrap;
}

#newnew-four-tail .eight-grid {
  font: 400 18.6667px/1.5 "SimSun", "Songti SC", serif;
}

#newnew-four-zodiac .eight-hit { color: #f00; background: #ff0; }
#newnew-four-tail .eight-hit { color: #f00; background: #000; }

.newnew-category-module {
  border: 1px solid #ddd;
  border-radius: 0;
  color: #000;
}

.newnew-category-module .newnew-source-materials-title {
  padding: 0 4px 10px;
  background: #fff;
  font: 700 18px/40px "Microsoft YaHei", Arial, sans-serif;
}

.newnew-category-module .category-banner {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  padding: 0 60px;
  background: #f00;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 40px 100%);
}

.newnew-category-module .category-domain { color: #ff0; }

.newnew-category-module .newnew-source-materials-meta {
  padding: 3px 8px;
  background: #fff;
  font-size: 11px;
}

.newnew-category-module .newnew-source-materials-list {
  max-height: none;
  overflow: visible;
}

.newnew-category-module .newnew-source-materials-record {
  box-sizing: border-box;
  min-height: 35px;
  padding: 4px;
  border-top: 1px solid #ddd;
  background: #fff;
  color: #000;
  font: 400 18.6667px/1.5 Arial, "Microsoft YaHei", sans-serif;
  text-align: center;
  overflow-wrap: normal;
}

.newnew-category-module .category-type { color: #60c; }
.newnew-category-module .category-prediction { color: #f00; }
.newnew-category-module .category-opened { color: #008000; }
.newnew-category-module .category-hit { color: #f00; background: #ff0; }
.newnew-category-module .category-issue,
.newnew-category-module .category-result { color: #000; }
.newnew-category-module .category-type,
.newnew-category-module .category-prediction { margin-right: .35em; }
.newnew-category-module .category-prediction,
.newnew-category-module .category-result { white-space: nowrap; }

.newnew-category-sum .newnew-source-materials-record {
  font: 700 16px/1.6 "Microsoft YaHei", "Helvetica Neue", "PingFang SC", sans-serif;
}

.newnew-category-front .newnew-source-materials-record,
.newnew-category-front .category-legend { font-weight: 700; }

.newnew-category-module .category-legend {
  padding: 3px 4px;
  border-top: 1px solid #ddd;
  font-size: 18.6667px;
  line-height: 1.5;
  text-align: center;
}

.newnew-category-house .newnew-source-materials-title {
  min-height: 60px;
  padding: 10px 8px;
  box-sizing: border-box;
  background: #c60;
  color: #fff;
  font: 700 26.6667px/1.5 Arial, "Microsoft YaHei", sans-serif;
}

.newnew-category-house .newnew-source-materials-record {
  font: 700 18px/1.5 "KaiTi", "STKaiti", serif;
}

.newnew-category-house .category-type,
.newnew-category-house .category-result,
.newnew-category-house .category-opened { color: #00f; }

@media (max-width: 480px) {
  .newnew-category-module .category-banner { padding: 0 36px; }
  .newnew-category-house .newnew-source-materials-title {
    min-height: 48px;
    padding: 8px 4px;
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  :is(#newnew-four-zodiac, #newnew-four-tail) .newnew-source-materials-title {
    min-height: 48px;
    padding: 8px 4px;
    font-size: 21px;
  }
}
