.headline-lookup {
  margin: 5px auto; max-width: 720px; background: #fff; color: #000;
  font: 12px/normal STHeiti, "Microsoft YaHei", Helvetica, Arial, sans-serif;
}
.headline-lookup :is(h3,caption) {
  margin: 0; padding: 0; height: 31px; text-align: center; border: 1px solid #e6e6e6;
  background: #f1f1f1; font-family: inherit; font-size: 12px; line-height: 30px; font-weight: bold;
}
.headline-lookup .lookup-animals {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 8px 0;
  list-style: none; text-align: center; border: 1px solid #e6e6e6; border-top: 0;
}
.lookup-animals li { padding: 5px 0; border-left: 1px solid #f9f9f9; }
.lookup-animals li:nth-child(3n+1) { border-left: 0; }
.lookup-animals img { width: 40px; height: 40px; vertical-align: middle; }
.headline-lookup table { width: 100%; margin: 5px 0; border-collapse: collapse; }
.headline-lookup :is(th, td) { padding: 6px; border: 1px solid #e6e6e6; background: #fff; }
.headline-lookup th[scope=row] { width: 50px; padding-inline: 0; text-align: center; color: navy; font-size: 14px; font-weight: normal; }
.headline-lookup table:first-of-type th[scope=row] { width: 60px; font-size: 12px; }
.headline-lookup .lookup-ball {
  display: inline-block; width: 18px; height: 18px; margin: 0 2px; border-radius: 50%; text-align: center;
  font: 12px/18px STHeiti, "Microsoft YaHei", Helvetica, Arial, sans-serif; color: white;
}
.lookup-ball.red { background: #f00; }
.lookup-ball.green { background: #093; }
.lookup-ball.blue { background: #36f; }
.headline-lookup th[data-label="金"] { color: #fc0; }
.headline-lookup th[data-label="木"] { color: #3c3; }
.headline-lookup th[data-label="水"] { color: #39f; }
.headline-lookup th[data-label="火"] { color: #f60; }
.headline-lookup th[data-label="土"] { color: #c90; }
.headline-lookup th[data-label="红波"] { color: red; }
.headline-lookup th[data-label="蓝波"] { color: #36f; }
.headline-lookup th[data-label="绿波"] { color: #093; }
.headline-lookup .lookup-traits td { text-align: center; font-size: 13px; }
.lookup-traits span { color: blue; }
.lookup-traits span:not(:first-child) { padding-left: 8px; }

@media (max-width: 724px) {
  .headline-lookup { margin-inline: 3px; }
}
