* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  min-height: 100vh;
  padding: 0;
  margin: 0
}

.lottery-tabs-wrap {
  max-width: 100%;
  margin: 0;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none
}

.el-tabs__header {
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: 0 0
}

.el-tabs__nav {
  display: flex;
  border-bottom: none
}

.el-tabs__item {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #ccc;
  border: none;
  transition: .3s;
  border-right: 1px solid rgba(255, 255, 255, .25);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.15;
  min-height: 72px;
  height: auto
}

.tab-title {
  font-size: 16px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  text-align: center
}

.tab-title .tab-title-marquee__inner,
.tab-title-marquee__inner {
  display: inline-block;
  position: relative;
  left: 0;
  white-space: nowrap
}

.tab-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, .95);
  display: block;
  line-height: 1.3
}

.el-tabs__item:last-child {
  border-right: none
}

.el-tabs__item[data-type=macao] {
  background: linear-gradient(135deg, #2ecc71 0, #27ae60 100%)
}

.el-tabs__item[data-type=xinxincai] {
  background: linear-gradient(135deg, #4e9eff 0, #3b7dd6 100%)
}

.el-tabs__item[data-type=tiantiancai] {
  background: linear-gradient(135deg, #ab47bc 0, #8e24aa 100%)
}

.el-tabs__item[data-type=hongkong] {
  background: linear-gradient(135deg, #ff416c 0, #ff4b2b 100%)
}

.el-tabs__item:hover {
  color: #fff;
  opacity: .9
}

.el-tabs__item.is-active {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
  font-weight: 800;
  opacity: 1
}

.el-tabs__item.is-active[data-type=macao] {
  background: linear-gradient(135deg, #2ecc71 0, #27ae60 100%)
}

.el-tabs__item.is-active[data-type=xinxincai] {
  background: linear-gradient(135deg, #4e9eff 0, #3b7dd6 100%)
}

.el-tabs__item.is-active[data-type=tiantiancai] {
  background: linear-gradient(135deg, #ab47bc 0, #8e24aa 100%)
}

.el-tabs__item.is-active[data-type=hongkong] {
  background: linear-gradient(135deg, #ff416c 0, #ff4b2b 100%)
}

.el-tabs__item.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #2ecc71;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 8px rgba(46, 204, 113, .6)
}

.el-tabs__item.is-active[data-type=macao]::after {
  background: #ff416c;
  box-shadow: 0 0 8px rgba(255, 65, 108, .8)
}

.el-tabs__item.is-active[data-type=xinxincai]::after {
  background: #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, .8)
}

.el-tabs__item.is-active[data-type=tiantiancai]::after {
  background: #ff6b9d;
  box-shadow: 0 0 8px rgba(255, 107, 157, .8)
}

.el-tabs__item.is-active[data-type=hongkong]::after {
  background: #4e9eff;
  box-shadow: 0 0 8px rgba(78, 158, 255, .8)
}

.lottery-tai-wan {
  padding: 20px 15px 0;
  background: #fff
}

.lottery-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 0 10px;
  background: 0 0;
  border-radius: 0;
  box-shadow: none;
  flex-wrap: nowrap
}

.lottery-top p {
  font-size: 20px;
  color: #000;
  margin: 0;
  white-space: normal;
  font-weight: 600;
  flex: 0 0 auto;
  line-height: 1.4
}

.lottery-top>.lottery-next__date {
  flex: 1;
  text-align: center
}

.lottery-top>p:last-child {
  flex: 0 0 auto
}

.lottery-text {
  color: red;
  font-weight: 700;
  font-size: 22px
}

.lottery-top a {
  color: red;
  text-decoration: none;
  font-size: 20px;
  white-space: nowrap;
  padding: 0;
  background: 0 0;
  border-radius: 0;
  transition: .3s;
  box-shadow: none;
  font-weight: 600
}

.lottery-top a:hover {
  opacity: .8
}

.lottery-nums {
  position: relative;
  min-height: 100px;
  background: 0 0;
  border-radius: 0;
  padding: 15px 10px;
  box-shadow: none;
  margin-bottom: 15px
}

.lottery-nums__ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 10px
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, .9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 10;
  border-radius: 8px
}

.loading-spinner {
  width: 45px;
  height: 45px;
  border: 4px solid rgba(46, 204, 113, .2);
  border-top: 4px solid #2ecc71;
  border-radius: 50%;
  animation: .8s linear infinite spin
}

.loading-spinner.red {
  border: 4px solid rgba(255, 65, 108, .2);
  border-top: 4px solid #ff416c
}

.loading-spinner.blue {
  border: 4px solid rgba(78, 158, 255, .2);
  border-top: 4px solid #4e9eff
}

.loading-spinner.purple {
  border: 4px solid rgba(156, 39, 176, .2);
  border-top: 4px solid #9c27b0
}

@keyframes spin {
  0% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(360deg)
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .6
  }

  50% {
    transform: scale(1.1);
    opacity: 1
  }
}

@keyframes revealShake {

  0%,
  100% {
    transform: translateY(0)
  }

  25% {
    transform: translateY(-8px) scale(1.05)
  }

  50% {
    transform: translateY(0) scale(.95)
  }

  75% {
    transform: translateY(-4px) scale(1.02)
  }
}

@keyframes ballReveal {
  0% {
    transform: scale(.8);
    opacity: 0
  }

  50% {
    transform: scale(1.1)
  }

  100% {
    transform: scale(1);
    opacity: 1
  }
}

.loading-text {
  font-size: 15px;
  color: #2ecc71;
  font-weight: 600;
  letter-spacing: .5px
}

.loading-text.red {
  color: #ff416c
}

.loading-text.blue {
  color: #4e9eff
}

.loading-text.purple {
  color: #9c27b0
}

.lottery-nums__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-width: 75px;
  margin: 0 11px
}

.plus-sign {
  font-size: 28px;
  font-weight: 700;
  color: #f56c6c;
  line-height: 65px;
  margin: 0 15px;
  align-self: center
}

.lottery-num {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  transition: transform .2s;
  border: none;
  font-style: normal;
  transform: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat
}

.lottery-num i {
  font-style: normal;
  position: relative;
  z-index: 1;
  margin-top: -6px;
  margin-left: 2px
}

.lottery-num:hover {
  transform: scale(1.05)
}

.lottery-num--red {
  background-image: url(https://kj876.top/img/red.png)
}

.lottery-num--blue {
  background-image: url(https://kj876.top/img/blue.png)
}

.lottery-num--green {
  background-image: url(https://kj876.top/img/green.png)
}

.lottery-num--none {
  background: linear-gradient(135deg, #909399 0, #606266 100%);
  color: #fff
}

.lottery-num--none i {
  margin-top: -2px;
  margin-left: 2px
}

.lottery-animal {
  font-size: 20px;
  color: #333;
  font-style: normal;
  font-weight: 600;
  text-align: center;
  width: 75px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  min-height: 24px
}

.lottery-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 10px 0;
  background: 0 0;
  border-radius: 0;
  margin: 0;
  flex-wrap: nowrap;
  box-shadow: none
}

.lottery-next__date {
  font-size: 20px;
  color: #000;
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
  background: 0 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 auto
}

.countdown {
  font-weight: 700;
  color: red;
  margin-left: 5px;
  font-size: 20px
}

.lottery-next__date .num {
  font-size: 22px;
  font-weight: 700;
  color: #000
}

.lottery-button__refresh {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #ff416c 0, #ff4b2b 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  transition: .3s;
  box-shadow: none;
  border: none;
  cursor: pointer;
  margin: 0;
  letter-spacing: .3px;
  flex: 0 0 auto;
  white-space: nowrap;
  outline: 0;
  -webkit-tap-highlight-color: transparent
}

.lottery-button__refresh:hover {
  box-shadow: none;
  background: linear-gradient(135deg, #ff4b2b 0, #ff416c 100%);
  opacity: .9
}

.lottery-button__refresh:active {
  box-shadow: none;
  outline: 0;
  opacity: .8
}

.lottery-button__refresh:focus {
  outline: 0;
  box-shadow: none
}

.el-tab-pane {
  display: none
}

@media (max-width:768px) {
  .lottery-top {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 5px;
    margin-bottom: 6px;
    justify-content: space-between;
    align-items: center
  }

  .lottery-top p {
    font-size: 14px;
    flex: 1 1 auto;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
  }

  .lottery-top a {
    font-size: 14px;
    padding: 0;
    background: 0 0;
    box-shadow: none;
    flex: 0 0 auto;
    white-space: nowrap
  }

  .lottery-text {
    font-size: 14px
  }

  .lottery-nums {
    padding: 8px 5px 2px;
    min-height: 80px;
    margin-bottom: 0
  }

  .lottery-nums__ul {
    gap: 4px;
    padding: 0 2px
  }

  .lottery-nums__item {
    min-width: 45px;
    gap: 12px;
    margin: 0 2px
  }

  .lottery-num {
    width: 45px;
    height: 45px;
    font-size: 18px
  }

  .lottery-num i {
    margin-top: -1px;
    margin-left: 1px
  }

  .plus-sign {
    font-size: 20px;
    line-height: 45px;
    margin: 0 5px
  }

  .lottery-animal {
    font-size: 16px;
    width: 45px;
    min-height: 18px
  }

  .lottery-bottom {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 5px;
    margin-top: 0
  }

  .lottery-next__date {
    font-size: 14px;
    flex: 1 1 auto;
    text-align: left
  }

  .countdown,
  .lottery-next__date .num {
    font-size: 16px
  }

  .lottery-button__refresh {
    padding: 5px 12px;
    font-size: 11px;
    flex: 0 0 auto;
    margin: 0
  }

  .el-tabs__item {
    padding: 10px 6px;
    font-size: 13px;
    min-height: 60px;
    height: auto
  }

  .tab-title {
    font-size: 14px
  }

  .tab-subtitle {
    font-size: 12px;
    font-weight: 500
  }

  .lottery-tai-wan {
    padding: 12px 8px 0
  }
}

@media (max-width:480px) {

  .lottery-text,
  .lottery-top a,
  .lottery-top p {
    font-size: 13px
  }

  .lottery-nums {
    padding: 6px 3px 1px;
    margin-bottom: 0
  }

  .lottery-nums__item {
    min-width: 40px;
    gap: 10px;
    margin: 0 1px
  }

  .lottery-bottom {
    padding: 0 5px;
    margin-top: 0
  }

  .lottery-num {
    width: 40px;
    height: 40px;
    font-size: 16px
  }

  .plus-sign {
    font-size: 18px;
    line-height: 40px;
    margin: 0 3px
  }

  .lottery-animal {
    font-size: 14px;
    width: 40px
  }

  .lottery-next__date {
    font-size: 13px
  }

  .countdown,
  .lottery-next__date .num {
    font-size: 15px
  }

  .el-tabs__item {
    padding: 8px 4px;
    font-size: 11px;
    min-height: 50px;
    height: auto
  }

  .tab-title {
    font-size: 12px
  }

  .tab-subtitle {
    font-size: 10px;
    font-weight: 500
  }
}
