.local-offline-kj {
  height: 47px;
  display: grid;
  grid-template-columns: 72px repeat(6, minmax(32px, 1fr)) 24px minmax(32px, 1fr);
  grid-template-rows: 24px 23px;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 1px solid #111;
}

.local-lottery-type {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #111;
  background: #fff;
}

.local-lottery-type select {
  width: 70px;
  height: 23px;
  margin: 1px auto 0;
  border: 1px solid #777;
  background: #fff;
  color: #111;
  font-size: 13px;
}

.local-lottery-period {
  height: 22px;
  color: #111;
  font-size: 15px;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.local-lottery-num,
.local-lottery-sx {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #111;
}

.local-lottery-num {
  grid-row: 1;
  height: 24px;
  color: #fff;
  background: #999;
  font-size: 17px;
  font-weight: bold;
  border-bottom: 1px solid #111;
}

.local-lottery-sx {
  grid-row: 2;
  height: 23px;
  color: #111;
  background: #fff;
  font-size: 15px;
}

.local-lottery-refresh {
  grid-column: 8;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 47px;
  padding: 0;
  border: 0;
  border-left: 1px solid #111;
  border-right: 1px solid #111;
  color: #f30;
  font-weight: bold;
  font-size: 14px;
  line-height: 17px;
  background: #fff700;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

.white-box {
  margin-top: 0;
  padding: 4px;
  border: solid 1px #cfcfcf;
  border-radius: 3px;
  background: #fff;
}

.nav2 {
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
}

.nav2 ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav2 ul li {
  width: 25%;
  box-sizing: border-box;
  padding: 4px;
}

.nav2 ul li a {
  display: block;
  height: 32px;
  line-height: 32px;
  text-align: center;
  color: #fff;
  border-radius: 32px;
  background: linear-gradient(to right, #807c00, #807c00, #999400, #807800, #989900, #7d8000, #807c00);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

.nav2 ul li a:hover {
  background: #da183b;
}

#nav2[data-fixed="fixed"] {
  position: fixed;
  top: var(--local-nav2-top, 96px);
  left: 0;
  right: 0;
  margin: auto;
  z-index: 98;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
}

#nav2 #close {
  display: inline-block;
  height: 36px;
  line-height: 36px;
  padding: 0 15px;
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.home-content-frame {
  display: block;
  width: 100%;
  min-height: 1px;
}

#local-promo-root {
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

#local-promo-root[data-local-promo-pending] {
  visibility: hidden;
}

#local-promo-root a {
  text-decoration: none;
  color: inherit;
}

body.local-promo-bottom-visible {
  padding-bottom: 48px;
}

.local-promo-float {
  position: fixed;
  right: 8px;
  top: 280px;
  width: 118px;
  text-align: center;
  z-index: 600;
}

.local-promo-float img {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 8px;
}

.local-promo-float-close {
  position: fixed;
  right: 8px;
  top: 264px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  border-radius: 50%;
  background: #f20202;
  color: #fff;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 602;
}

.local-promo-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 720px;
  height: 40px;
  margin: 0 auto;
  background: rgba(0, 0, 0, .72);
  border-top: 1px solid #fff;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  z-index: 998;
}

.local-promo-bottom b {
  color: #f0f;
}

.local-promo-bottom-close {
  position: absolute;
  right: 6px;
  top: 7px;
  width: 24px;
  height: 24px;
  line-height: 22px;
  border-radius: 50%;
  background: #d90000;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.local-promo-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .68);
  z-index: 999999;
}

.local-promo-dialog {
  width: 300px;
  max-width: calc(100vw - 24px);
  padding: 0 5px 10px;
  border-radius: 15px;
  background: linear-gradient(to right, #807c00, #807c00, #999400, #807800, #989900, #7d8000, #807c00);
  box-sizing: border-box;
  color: #333;
  position: relative;
}

.local-promo-title {
  height: 36px;
  line-height: 36px;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.local-promo-close {
  position: absolute;
  right: 0;
  top: 0;
  height: 36px;
  line-height: 36px;
  padding: 0 12px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.local-promo-content {
  padding: 10px 0;
  border-radius: 15px;
  background: #fff;
  text-align: center;
  line-height: 24px;
  font-size: 15px;
  overflow: hidden;
}

.local-promo-rounds {
  display: flex;
  justify-content: center;
  padding: 0 0 5px;
}

.local-promo-rounds span {
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  margin-left: -3px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50%;
  background: #03a9f4;
}

.local-promo-rounds.green span {
  background: green;
}

.local-promo-lines {
  min-height: 48px;
  padding: 0 8px;
  line-height: 22px;
  color: #333;
  font-size: 14px;
}

.local-promo-lines div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.local-promo-shot {
  display: block;
  width: 100%;
  height: auto;
  margin: 8px 0 0;
}

.local-promo-action {
  display: inline-block;
  width: 200px;
  height: 40px;
  line-height: 40px;
  margin-top: 8px;
  border-radius: 10px;
  background: #04b783;
  color: #ff0;
  font-size: 20px;
  font-weight: bold;
}

.local-promo-footer {
  padding-top: 8px;
  color: #ff0;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}

@media screen and (max-width: 420px) {
  .nav2 ul li a {
    font-size: 12px;
  }
}

@media screen and (max-width: 720px) {
  .local-promo-float {
    top: auto;
    right: 4px;
    bottom: 48px;
    width: 92px;
  }

  .local-promo-float img {
    width: 78px;
  }

  .local-promo-float-close {
    top: auto;
    right: 4px;
    bottom: 126px;
  }

  .local-promo-bottom {
    font-size: 13px;
  }

  .local-promo-bottom-close {
    display: none;
  }
}
