* { box-sizing: border-box; }
body.sub-page {
  margin: 0;
  background: #f5f5f5;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  color: #333;
}
.layout {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.menu {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #d3d3d3;
  width: 100%;
  max-width: 820px;
}
.menu.fixed-top {
  position: sticky;
  top: 0;
  z-index: 999;
}
.menu .inner {
  background: #666;
  position: relative;
}
.menu dt {
  height: 50px;
  color: #fff;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 8px;
  margin: 0;
}
.menu dt.line-60 {
  line-height: 50px;
}
.back-link {
  position: absolute;
  top: 12px;
  left: 12px;
}
.back-link a {
  color: #fff !important;
  font-size: 14px;
  text-decoration: none;
}
.hist-badges {
  padding: 8px 6px 10px;
  text-align: center;
  background: #fff;
}
a.badge.bg-gray {
  display: inline-block;
  font-size: 15px;
  margin: 10px 0;
  padding: 3px 7px;
  background: #666;
  color: #fff !important;
  text-decoration: none;
  border-radius: 0;
}
a.badge.bg-gray.active_on {
  background: #f60;
}
.gexian {
  height: 8px;
  background: #f5f5f5;
}
.gexian.tiaoma-gap {
  height: 0;
  margin-top: 0;
}
.content .main {
  padding: 0 0 20px;
}
.white-box {
  background: #fff;
}
.kj-tit {
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  color: #777;
  font-size: 14px;
  background: #eee;
}
.text-blue {
  color: #0ae;
}
.text-strong {
  font-weight: 700;
}
.kj-box {
  padding: 8px 4px 12px;
  text-align: center;
  font-size: 16px;
}
.kj-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kj-box ul li {
  float: left;
  width: 13.2857%;
}
.kj-box ul li.kj-jia {
  width: 7%;
}
.kj-box ul li dl {
  margin: 0;
}
.kj-box ul li dl dt {
  height: 35px;
  line-height: 35px;
  font-size: 18px;
  color: #333;
  font-weight: 700;
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
}
.kj-box ul li dl dt.ball-red {
  background-image: url("/moban3/red.png");
  color: #333;
}
.kj-box ul li dl dt.ball-blue {
  background-image: url("/moban3/blue.png");
  color: #333;
}
.kj-box ul li dl dt.ball-green {
  background-image: url("/moban3/green.png");
  color: #333;
}
.kj-box ul li.kj-jia dl dt {
  background-image: url("/moban3/kj-jia.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  color: transparent;
  font-size: 18px;
}
.kj-box ul li dl dd {
  height: 30px;
  line-height: 30px;
  margin-top: 8px;
  border-top: 1px solid #eee;
  font-size: 16px;
  color: #333;
}

/* 挑码助手 */
.box {
  padding: 0 4px 16px;
}
.tmzs {
  padding: 6px;
}
.tmzs .anBtn {
  background: #fffef9;
}
.tmzs .anBtn .tmzsResult {
  padding: 3px;
  height: 163px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  overflow: auto;
}
.tmzs .anBtn .tmzsResult .ball_box {
  float: left;
  display: inline-block;
  padding: 2px;
  width: 10%;
  text-align: center;
}
.tmzs .anBtn .tmzsResult .ball {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.tmzs .anBtn .tmzsResult .redBall {
  background: #e33;
}
.tmzs .anBtn .tmzsResult .blueBall {
  background: #2aa6e0;
}
.tmzs .anBtn .tmzsResult .greenBall {
  background: #2f9e44;
}
.tmzs .tmzsTable table {
  margin: 10px 0 2px;
  width: 100%;
  border: 1px solid #c9c9c9;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed;
}
.tmzs .tmzsTable table tr.borTop {
  border-top: 1px solid #c9c9c9;
}
.tmzs .tmzsTable table tr.borBtm {
  border-bottom: 1px solid #c9c9c9;
}
.tmzs .tmzsTable table tr td {
  padding: 0 5px;
  text-align: center;
  vertical-align: middle;
}
.tmzs .tmzsTable table tr.borBtm td > div {
  margin-bottom: 8px;
}
.tmzs .tmzsTable table tr td span {
  display: inline-block;
  margin: 8px 0;
  width: 100%;
  height: 37px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #9e9e9e;
  color: #fff;
  font-size: 18px;
  line-height: 37px;
  cursor: pointer;
}
.tmzs .tmzsTable table tr td div {
  margin-top: 8px;
  width: 100%;
  height: 27px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f6f6f6;
  font-size: 13px;
  line-height: 27px;
  cursor: pointer;
  user-select: none;
}
.tmzs .tmzsTable table tr td.borRgt {
  border-right: 1px solid #c9c9c9;
}
.tmzs .tmzsTable table tr td.borRgt div {
  margin-top: 6px;
  margin-bottom: 6px;
}
.tmzs .tmzsTable table tr td .hover {
  border: 1px solid #e57149;
  background-color: #e57149;
  color: #fff;
}

@media (max-width: 420px) {
  .menu dt {
    font-size: 22px;
    letter-spacing: 4px;
  }
  a.badge.bg-gray {
    font-size: 13px;
    padding: 3px 6px;
    margin: 8px 0;
  }
  .kj-box ul li dl dd {
    font-size: 14px;
  }
}
