/* These rules connect the reference layout to the local controls. */
html body {
  max-width: 1000px !important;
  margin-inline: auto !important;
}
.forum-material-row td {
  text-align: center;
  font: bold 16px/1.25 "Microsoft YaHei", sans-serif;
  overflow-wrap: anywhere;
}
.forum-material-row p { margin: 0; }
.forum-material-row mark { background: #ff0; color: #f00; }
.forum-material-row.bbs-jiuxiao-row td { border: 1px solid #ffcc66; }
.forum-material-row .forum-material-period { color: #000; }
.forum-material-one-code,
.forum-material-row .forum-material-one-code mark { color: #006600; }
.forum-material-black-guide td { color: #fff; font-size: 19px; }
.forum-material-gold { color: #ffff66; }
.forum-material-abacus-title { color: #800080; }
.forum-material-multiline td,
.forum-material-feature td { padding-block: 5px; }
.forum-code-notice td { padding-block: 20px 14px; }
.forum-code-notice .forum-code-notice-time { margin-top: 54px; font-size: 20px; }
@media (max-width: 440px) {
  .forum-material-row.bbs-single-line-row td,
  .forum-material-row.bbs-single-line-row td span {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}
.lottery-title-banner {
  position: relative;
  display: inline-block;
  width: min(100%, 999px);
  aspect-ratio: 1166 / 373;
  line-height: 0;
  vertical-align: baseline;
  container-type: inline-size;
}
.lottery-title-frame {
  position: absolute;
  inset: 0;
  display: block;
  visibility: hidden;
}
.lottery-title-frame:first-child { visibility: visible; }
.lottery-title-banner.is-rotating .lottery-title-frame { animation: lottery-title-frames 6s steps(1, end) infinite; }
.lottery-title-banner.is-rotating .lottery-title-frame:nth-child(2) { animation-delay: -4s; }
.lottery-title-banner.is-rotating .lottery-title-frame:nth-child(3) { animation-delay: -2s; }
.lottery-title-frame img { display: block; width: 100%; }
@keyframes lottery-title-frames {
  0% { visibility: visible; }
  33.3333%, 100% { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .lottery-title-banner.is-rotating .lottery-title-frame { animation: none; }
}
.front-site-access {
  padding: .35em .18em;
  background: #f00;
  color: #0f0;
  font: bold clamp(18px, 4.8vw, 32px)/1.2 "Microsoft YaHei", Arial, sans-serif;
}
.front-site-address {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: .04em clamp(10px, 4vw, 52px);
  margin: .1em 0;
  padding: 0;
  list-style: none;
  color: #ff0;
  font-size: clamp(20px, 6.2vw, 48px);
  white-space: nowrap;
}
.front-site-address li:first-child { grid-column: 1 / -1; }
.display-site-address {
  display: inline-block;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}
.site-address-picture {
  position: relative;
  display: inline-block;
  width: 100%;
  line-height: 0;
  vertical-align: baseline;
  container-type: inline-size;
}
.site-address-picture img { display: block; width: 100%; }
.poster-site-address { overflow: hidden; }
.poster-brand-title {
  position: absolute;
  inset: 1.65% 19.9% auto 19.7%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 13.58%;
  background: #056a1c;
  color: #fff;
  font: bold 7.15cqw/1 "Microsoft YaHei", sans-serif;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
.poster-site-address::after {
  position: absolute;
  top: 93.4%;
  left: 28.8%;
  transform: translate(-50%, -50%) rotate(-43deg);
  color: rgb(255 255 255 / 13%);
  font: bold 8.3cqw/1 "Microsoft YaHei", sans-serif;
  pointer-events: none;
  content: "新";
}
.poster-online { overflow: hidden; }
.poster-online-period,
.poster-composite-period,
.poster-strip,
.poster-online-animal {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
.poster-online-period {
  inset: 3.6% auto auto 2%;
  width: 39%;
  height: 10.4%;
  box-sizing: border-box;
  justify-content: flex-start;
  padding-inline-start: .8cqw;
  isolation: isolate;
  color: #0806cc;
  font: 10.7cqw/1 SimSun, "Songti SC", serif;
  -webkit-text-stroke: .15cqw #fff;
  text-shadow: .12cqw .22cqw #fff;
}
.poster-online-period::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #afbdc8 84%, #aeb7c3);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent),
    linear-gradient(transparent, #000 4%, #000 97%, transparent);
  mask-composite: intersect;
  content: "";
}
.poster-online-period > span { transform: scaleX(1.32); transform-origin: left center; letter-spacing: .25cqw; }
.poster-photo-cover { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.poster-online-codes {
  position: absolute;
  inset: 39.95% auto auto 10.35%;
  width: 29.48%;
  height: 34%;
  color: #d80016;
  font: 700 8.35cqw/1 Arial, sans-serif;
  text-shadow: .08cqw .19cqw .28cqw #271315a1;
}
.poster-online-codes > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 41%;
  height: 19.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.poster-online-codes > span:nth-child(even) { left: 59%; }
.poster-online-codes > span:nth-child(1) { background: linear-gradient(169deg, #d8e5f1, #dce9f3 41%, #fff 42%); }
.poster-online-codes > span:nth-child(2) { background: linear-gradient(169deg, #dce9f4 15%, #fff 16%); }
.poster-online-codes > span:is(:nth-child(3), :nth-child(4)) { top: 26.75%; }
.poster-online-codes > span:is(:nth-child(5), :nth-child(6)) { top: 53.5%; }
.poster-online-codes > span:nth-child(n+7) { top: 80.25%; }
.poster-numbers-covered .poster-online-codes > span { background: none; }
.poster-online-animal {
  inset: 76.25% auto auto 68.8%;
  width: 20.2%;
  height: 16.1%;
  background: #e7010d;
  color: #fff;
  font: bold 20.5cqw/1 SimSun, "Songti SC", serif;
}
.poster-composite-period {
  inset: 16.05% auto auto 35.9%;
  width: 22.45%;
  height: 9.15%;
  background: #f2f500;
  color: #1100ed;
  font: bold 5.15cqw/1 "Microsoft YaHei", sans-serif;
}
.poster-strip {
  box-sizing: border-box;
  left: .58%;
  justify-content: flex-start;
  height: 6.2%;
  padding-inline-start: .8%;
  color: #fff;
  font: bold 3.02cqw/1 "Microsoft YaHei", sans-serif;
  text-shadow: 0 0 .17cqw #fff9;
}
.poster-strip-five { top: 26%; width: 73.4%; background: #ff06ba; }
.poster-strip-codes { top: 32.18%; width: 73.8%; justify-content: center; background: #248b08; }
.poster-strip-heads { top: 43.46%; width: 76.35%; background: #0e05f8; }
.poster-strip-parity { top: 55.03%; width: 77.1%; background: #fb07dc; }
.poster-strip-tails { top: 66.83%; width: 75.9%; background: #0d9404; }
.poster-strip-elements { top: 78.46%; width: 60.4%; background: #0010f0; }
.poster-strip-wave { top: 90.48%; width: 60.4%; background: #f64806; }
.banner-site-address { width: min(100%, 999px); }
.site-address-label {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap !important;
  font-weight: 700;
  text-align: left;
}
.banner-site-address .site-address-label {
  top: 42.1%;
  bottom: 41.3%;
  left: 43.9%;
  right: 8.9%;
  padding-left: .56cqw;
  color: #fff6ee;
  background: #e6001c;
  font-family: SimSun, "Songti SC", serif;
  font-size: 4.5cqw;
}
.poster-site-address .site-address-label {
  top: 37.55%;
  bottom: 56.95%;
  left: 20.5%;
  right: 39.4%;
  justify-content: center;
  color: #b2a098;
  background: #910206;
  font-size: 3.25cqw;
}
@media (max-width: 600px) {
  .display-site-address { font-size: min(1em, 9vw); }
  .td3 .display-site-address { font-size: min(1em, 5.9vw); }
}
@media (max-width: 370px) {
  table.detail .firstRow td[background]:has(.display-site-address),
  table.detail .firstRow td[background]:has(.display-site-address) :is(font, span):not(.display-site-address) {
    white-space: normal !important;
  }
}
.replica-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.KJ-TabBox .kj-tab a {
  display: block;
  height: 100%;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}
.KJ-TabBox a:focus-visible,
.KJ-TabBox button:focus-visible {
  outline: 2px solid #1d65aa;
  outline-offset: 2px;
}
.KJ-TabBox .kj-tab a:focus-visible { outline-offset: -2px; }
.KJ-TabBox .kj-ball.wave-red { background: #e71607; }
.KJ-TabBox .kj-ball.wave-blue { background: #2389e9; }
.KJ-TabBox .kj-ball.wave-green { background: #1fb61d; }
.KJ-TabBox .kj-ball.wave-empty { background: #9d9d9d; }
.KJ-TabBox .new-KJ-TabBox-box-con .kj-ball .draw-pending-number { font-size: clamp(12px, 3vw, 17px); }
.KJ-TabBox .kj-row.kj-next { padding-right: 57px; }
.KJ-TabBox .kj-head .kj-title { text-align: left; }
.KJ-TabBox .kj-head .kj-clock { margin-inline: auto; text-align: center; }
.KJ-TabBox .kj-history, .KJ-TabBox .kj-history:hover { color: #f00; text-decoration: none; }
.KJ-TabBox .kj-history { flex: none; }
.KJ-TabBox .kj-loading { box-sizing: border-box; min-height: 121px; }
.KJ-TabBox .kj-panel:is([data-game="hk"], [data-game="mo"]) .kj-loading { min-height: 150px; }
.KJ-TabBox .reference-embed { height: 150px; container-type: inline-size; }
.KJ-TabBox .new-KJ-TabBox-box { text-align: left; line-height: normal; }
.KJ-TabBox .new-KJ-TabBox-box-tit-r { white-space: nowrap; }
.KJ-TabBox .new-KJ-TabBox-box-tit-l { white-space: nowrap; }
.KJ-TabBox .new-KJ-TabBox-box-foot-r-sx {
  font: inherit;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.KJ-TabBox button:disabled { cursor: wait; opacity: .7; }
.waibox .location_to { text-decoration: none; }
.reference-label { color: #0000ee; text-decoration: underline; }
@media (max-width: 530px) {
  .KJ-TabBox .kj-head { flex-wrap: wrap; gap: 0 4px; }
  .KJ-TabBox .kj-head .kj-title { flex: 1 0 auto; }
  .KJ-TabBox .kj-head .kj-clock { order: 2; margin: 0; flex-basis: 100%; text-align: left; }
  .KJ-TabBox .new-KJ-TabBox-box-tit { justify-content: space-between; }
  .KJ-TabBox .new-KJ-TabBox-box-con .kj-ball { min-width: 0; }
}
@media (min-width: 531px) and (max-width: 650px) {
  .KJ-TabBox .kj-loading { min-height: 114px; }
}
@media (max-width: 530px) {
  .KJ-TabBox .kj-loading { min-height: 138px; }
}
@media (prefers-reduced-motion: reduce) {
  .KJ-TabBox .kj-ball,
  .KJ-TabBox .kj-ball-slot.is-opened .kj-ball { animation: none; transition: none; }
}
