/* Keep the three daily lotteries and the three minute lotteries on separate rows. */
.fast-lottery-tabs.frequency-box,
.fast-lottery-tabs.lottery-tab {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .16rem;
  padding: 0 .107rem;
  margin-bottom: .213rem;
}
.fast-lottery-tabs .frequency-item,
.fast-lottery-tabs .lottery-tab-item {
  grid-column: span 3;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: .21rem .04rem;
  font-size: .35rem;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border-radius: .107rem;
  box-sizing: border-box;
}
.fast-lottery-tabs [data-fast-tab] { grid-column: span 4; }
.fast-lottery-tabs [role="tab"]:focus-visible { outline: 2px solid #1a3d96; outline-offset: 2px; }
.fast-lottery-status {
  display: none;
  font-size: .30rem;
  line-height: 1.65;
  text-align: center;
  color: #56647b;
  padding: .06rem .08rem;
  overflow-wrap: anywhere;
}
body[data-fast-lottery="true"] #fast-lottery-status.is-error,
body[data-lottery-alias="kl8"] #fast-lottery-status.is-error,
body[data-fast-lottery="true"] #fast-trend-status { display: block; }
body[data-fast-lottery="true"] .fast-lottery-status.is-error { color: #b23b36; }
body[data-fast-lottery="true"] .btn_video,
body[data-fast-lottery="true"] .huifang2 { display: none; }
body[data-fast-lottery="true"] .countdown {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .07rem;
}
body[data-fast-lottery="true"] .fast-countdown-message {
  font-size: .46rem;
  font-weight: bold;
  color: #1a3d96;
  min-height: .85rem;
}
.fast-pending-ball { flex: 1; min-width: 0; text-align: center; font-size: .4rem; }
.fast-pending-ball > span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.07rem;
  height: 1.07rem;
  margin: 0 auto;
  border-radius: 50%;
  background: #e6e9ee;
  color: #7e8a9d;
}
.fast-pending-ball small { display: block; padding-top: .1rem; font-size: .3rem; color: #7e8a9d; }
.fast-plus { align-self: center; color: #606c7d; font-size: .45rem; }
.fast-ball-waiting { background: #e6e9ee; color: #7e8a9d; }
.fast-history-retry {
  display: block;
  margin: .4rem auto;
  padding: .25rem .4rem;
  border: 1px solid #1a3d96;
  border-radius: .1rem;
  background: #fff;
  color: #1a3d96;
  font-size: .34rem;
}
.fast-lottery-desktop .fast-lottery-tabs {
  gap: 10px;
  padding: 0;
  margin-bottom: 16px;
}
.fast-lottery-desktop .fast-lottery-tabs .frequency-item,
.fast-lottery-desktop .fast-lottery-tabs .lottery-tab-item {
  padding: 11px 12px;
  font-size: 18px;
  border-radius: 4px;
}
.fast-lottery-desktop .fast-lottery-status { font-size: 14px; padding: 8px 0 2px; }
.fast-lottery-desktop[data-fast-lottery="true"] .countdown { gap: 4px; justify-content: center; }
.fast-lottery-desktop[data-fast-lottery="true"] .fast-countdown-message { font-size: 26px; min-height: 44px; }
.fast-lottery-desktop .fast-pending-ball { font-size: 28px; }
.fast-lottery-desktop .fast-pending-ball > span { width: 65px; height: 65px; }
.fast-lottery-desktop .fast-pending-ball small { font-size: 15px; padding-top: 8px; }
.fast-lottery-desktop .fast-plus { font-size: 28px; }
.fast-lottery-desktop .fast-history-retry { font-size: 15px; margin: 20px auto; padding: 10px 20px; }
.fast-lottery-desktop[data-fast-lottery="true"] .hisPlay { visibility: hidden; }
.fast-tabs-three-original > .lottery-tab-item,
.fast-tabs-three-original > .frequency-item { grid-column: span 4; }
.fast-live-shell { position: relative; background: #101725; overflow: hidden; min-height: 210px; }
.fast-live-shell #fast-live-stage { position: absolute; inset: 0 0 42px; width: 100%; }
.fast-live-shell #fast-live-stage > div { width: 100%; height: 100%; }
.fast-live-controls { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 10px; background: #172139; color: #fff; font: 12px/1.4 sans-serif; }
.fast-live-controls span { flex: 1; min-width: 0; }
.fast-live-controls button { border: 1px solid #68778e; border-radius: 3px; background: transparent; color: #fff; padding: 4px 6px; font: 12px/1.3 sans-serif; cursor: pointer; white-space: nowrap; }
.fast-live-shell:fullscreen { width: 100vw; height: 100vh; }
.fast-video-note { padding: 16px 8px; text-align: center; font: 14px/1.8 sans-serif; color: #60708a; }
.fast-video-note a { color: #1a3d96; text-decoration: underline; }
.fast-lottery-desktop .fast-live-shell { min-height: 400px; }
.lottery-replay-player { display: block; width: 100%; height: 100%; background: #101725; }
.lottery-replay-status { width: 100%; padding: 20px 8px; box-sizing: border-box; color: #52647c; text-align: center; font: 16px/1.6 sans-serif; }
.lottery-replay-status button { border: 1px solid #1a3d96; background: white; color: #1a3d96; padding: 6px 18px; border-radius: 4px; cursor: pointer; }
#zhibokj.lottery-replay-numbers { display: flex; align-items: center; justify-content: space-around; gap: 5px; }
.lottery-replay-ball { flex: 1; min-width: 0; text-align: center; }
.lottery-replay-ball strong { display: block; max-width: 50px; margin: auto; padding: 5px 2px; color: white; font: bold 26px/1.4 sans-serif; }
.lottery-replay-ball small { display: block; font: 16px/1.5 sans-serif; color: #334155; }
@media (max-width: 600px) { .lottery-replay-ball strong { font-size: 18px; } .lottery-replay-ball small { font-size: 13px; } }
.fast-lottery-desktop .fast-live-controls { font-size: 14px; }
