* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.page {
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
}

.carousel-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  position: absolute;
  display: flex;
  gap: 12px;
  bottom: 12px;
  right: 12px;
}

.carousel-btn {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #eee;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.notice {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 5px 0;
  height: 48px;
  overflow: hidden;
}

.notice-icon {
  flex-shrink: 0;
  margin-right: 12px;
  animation: pulse 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #2196F3;
}

@keyframes pulse {
  0%,
  to {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.notice-content {
  flex: 1;
  overflow: hidden;
  font-size: 14px;
  line-height: 24px;
  height: 24px;
}

.notice-scroll {
  animation: scrollUp 12s ease-in-out infinite;
}

@keyframes scrollUp {
  0%,
  12.5% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-24px);
  }
  37.5% {
    transform: translateY(-48px);
  }
  50% {
    transform: translateY(-72px);
  }
  62.5% {
    transform: translateY(-96px);
  }
  75% {
    transform: translateY(-120px);
  }
  87.5% {
    transform: translateY(-144px);
  }
  to {
    transform: translateY(-168px);
  }
}

.notice-scroll:hover {
  animation-play-state: paused;
}

.notice-item {
  height: 24px;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 4px;
}

.lottery {
  background: #fff;
  border-radius: 8px;
  margin: 5px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lottery-tabs {
  display: flex;
}

.lottery-tab {
  flex: 1;
  text-align: center;
  padding: 4px 0;
  cursor: pointer;
}

.lottery-title {
  font-size: 18px;
  font-weight: 700;
}

.lottery-date {
  font-size: 18px;
  font-weight: 700;
}

.lottery-tab:first-child {
  border-top-left-radius: 6px;
}

.lottery-tab:last-child {
  border-top-right-radius: 6px;
}

.lottery-tab.active {
  background: #2196F3;
  color: #fff;
}

.lottery-body {
  padding: 0;
  border: 1px solid #2196F3;
  border-radius: 0 0 8px 8px;
}

.lottery-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  margin-bottom: 0.2rem;
  width: 100%;
  padding: 0 0.3rem;
}

.countdown {
  color: #e53935;
  font-weight: 700;
}

.lottery-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        margin-bottom: .2rem;
        width: 100%;
        padding: 0 .3rem;
    }

.history-link {
  transition: 0.4s;
  padding: 3px;
  color: #2196F3;
  font-size: 16px;
  text-decoration: underline;
}

.history-link:hover {
  color: #2196F3;
  background-color: rgba(0, 189, 126, 0.2);
}

.lottery-balls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0.3rem 0;
  padding: 0 5px;
}

.ball {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(12.5% - 5px);
  min-width: 40px;
  font-size: 15px;
  color: #666;
  justify-content: center;
}

.ball i {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ball svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ball-num {
  font-size: 20px;
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #666;
  background: #d8d8d8;
  margin-bottom: 10px;
}

.ball-red {
  background: url("/static/images/red.webp") no-repeat center center;
  background-size: cover;
}

.ball-blue {
  background: url("/static/images/blue.webp") no-repeat center center;
  background-size: cover;
}

.ball-green {
  background: url("/static/images/green.webp") no-repeat center center;
  background-size: cover;
}

.ball-text {
  font-size: 16px;
  color: #000;
  min-height: 16px;
  line-height: 16px;
  display: block;
}

.ball-plus {
  align-items: center;
  justify-content: center;
}

.icon {
  height: 1em;
  width: 1em;
  line-height: 1em;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  fill: currentColor;
}

.lottery-next {
  text-align: center;
  font-size: 16px;
  color: red;
  margin-top: 0.2rem;
}

.banners {
  padding: 0;
  margin: 10px 0 0 0;
  min-height: 301px;
}

@media (min-width: 768px) {
  .banners {
    min-height: 514px;
  }
}

.banner {
  width: 100%;
  display: block;
  margin: 5px 0;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .banner {
    border-radius: 10px;
  }
}

.banner:nth-child(1) {
  animation: slideInRight 0.8s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.banner:nth-child(2) {
  animation: slideInLeft 0.8s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.banner:nth-child(3) {
  animation: slideInRight 0.8s ease-out;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.banner:nth-child(4) {
  animation: slideInLeft 0.8s ease-out;
  animation-delay: 0.8s;
  animation-fill-mode: both;
}

.banner:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1) saturate(1.1);
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.picks-title {
  font-size: 17px;
  font-weight: 700;
  color: #2196F3;
  margin: 5px 0;
  text-align: center;
  background: linear-gradient(135deg, #fff, #f0fdf4);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(7, 193, 96, 0.15);
  letter-spacing: 0.5px;
}

.picks-box {
  background: #fff;
  box-shadow: 0 2px 8px rgba(7, 193, 96, 0.1);
  border: 1px solid rgba(7, 193, 96, 0.15);
  padding: 12px;
  margin-bottom: 10px;
}

.picks-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 2px 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.picks-item:hover {
  background: #f0fdf4;
  border-color: #2196F3;
  transform: translate(4px);
}

.picks-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 16px;
  color: #333;
  min-width: 0;
}

.picks-text:first-child {
  flex: 1 1 auto;
}

.picks-text:last-child {
  flex: 0 0 auto;
  text-align: right;
  color: #666;
  font-size: 13px;
  white-space: nowrap;
}

.picks-text .name {
  display: inline-block;
  color: #666;
  font-size: 13px;
  margin-left: 4px;
}

.green-tag {
  display: inline-block;
  background: linear-gradient(135deg, #2196F3, #1778c7);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  line-height: 1;
  box-shadow: 0 2px 6px #2196F3;
  animation: blink 0.8s ease-in-out infinite;
  opacity: 0.887838;
}

@keyframes blink {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.text-bold {
  font-weight: 600;
}
.tip-box {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: center;
}
.tip-title {
  position: relative;
  width: 100%;
  height: 4.2rem;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.tip-title img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.tip-list {
  width: 95%;
  margin: auto;
  margin-top: 0.2rem;
}
.tip-title-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 1;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.1rem;
}
.tip-title-container .left {
  font-size: 1.5rem;
  text-align: right;
  color: #dbe400;
  transform: translateY(-5px);
  font-family: "楷体", "SimSun", "宋体", sans-serif;
  width: 47.5%;
}
.tip-title-container .right {
  font-size: 1.5rem;
  text-align: left;
  color: #dbe400;
  transform: translateY(-5px);
  font-family: "楷体", "SimSun", "宋体", sans-serif;
  width: 47.5%;
}
.tip-notice {
  padding: 0.5rem 0.15rem;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  font-size: 1.3rem;
  text-align: center;
}
.tip-notice .text-1 {
  font-weight: 700;
  color: red;
  margin-right: 0.1rem;
}
.tip-notice .text-2 {
  font-weight: 700;
  color: #fff;
  background-color: red;
}
.tip {
  position: relative;
  width: 100%;
  border-radius: 0 0 0.1rem 0.1rem;
  border-top: 1px solid #eee;
  background: #fff;
  padding: 0;
  margin-bottom: 10px;
}
.tip img {
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
}
#tip-1-1 {
  position: absolute;
  top: 17.5%;
  left: 65%;
  font-size: clamp(9px, 2vmin, 13px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}
#tip-1-2 {
  position: absolute;
  top: 36%;
  left: 55%;
  font-size: clamp(13px, 2vmin, 20px);
  font-weight: 900;
  color: red;
  z-index: 1;
}

#tip-1-3 {
  position: absolute;
  top: 45%;
  left: 88%;
  font-size: clamp(18px, 3vmin, 28px);
  font-weight: 900;
  color: red;
  z-index: 1;
}

#tip-1-4 {
  position: absolute;
  top: 64.5%;
  left: 88%;
  font-size: clamp(18px, 3vmin, 28px);
  font-weight: 900;
  color: red;
  z-index: 1;
}

#tip-1-5 {
  position: absolute;
  top: 82%;
  left: 88%;
  font-size: clamp(18px, 3vmin, 28px);
  font-weight: 900;
  color: red;
  z-index: 1;
}
#tip-1-6 {
  position: absolute;
  top: 72%;
  left: 25%;
  font-size: clamp(13px, 2vmin, 20px);
  font-weight: 900;
  color: #000;
  z-index: 1;
}

#tip-2-1 {
  position: absolute;
  top: 1%;
  left: 55%;
  font-size: clamp(9px, 2vmin, 13px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-2 {
  position: absolute;
  top: 26%;
  left: 57%;
  font-size: clamp(13px, 2vmin, 20px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}
#tip-2-3 {
  position: absolute;
  top: 32%;
  left: 57%;
  font-size: clamp(13px, 2vmin, 20px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-4 {
  position: absolute;
  top: 26%;
  left: 71%;
  font-size: clamp(13px, 2vmin, 20px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-5 {
  position: absolute;
  top: 32%;
  left: 71%;
  font-size: clamp(13px, 2vmin, 20px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-6 {
  position: absolute;
  top: 43%;
  left: 57%;
  font-size: clamp(18px, 3vmin, 28px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-6::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(1em + 10px);
  /* 基于文字大小 */
  height: auto;
  aspect-ratio: 1 / 1;
  /* 强制宽高比1:1 */
  border: 2px solid red;
  border-radius: 50%;
  z-index: -1;
}

#tip-2-7 {
  position: absolute;
  top: 43%;
  left: 72%;
  font-size: clamp(18px, 3vmin, 28px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-7::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(1em + 10px);
  /* 基于文字大小 */
  height: auto;
  aspect-ratio: 1 / 1;
  /* 强制宽高比1:1 */
  border: 2px solid red;
  border-radius: 50%;
  z-index: -1;
}

#tip-2-8 {
  position: absolute;
  top: 57.5%;
  left: 56%;
  font-size: clamp(11px, 2vmin, 18px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-9 {
  position: absolute;
  top: 62%;
  left: 56%;
  font-size: clamp(11px, 2vmin, 18px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}


#tip-2-10 {
  position: absolute;
  top: 57.5%;
  left: 76%;
  font-size: clamp(11px, 2vmin, 18px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-11 {
  position: absolute;
  top: 62%;
  left: 76%;
  font-size: clamp(11px, 2vmin, 18px);
  font-weight: 900;
  color: #fff;
  z-index: 1;
}

#tip-2-12 {
  position: absolute;
  top: 80%;
  left: 49%;
  font-size: clamp(12px, 2vmin, 18px);
  font-weight: 900;
  color: #4caf50;
  z-index: 1;
}

#tip-2-13 {
  position: absolute;
  top: 86%;
  left: 49%;
  font-size: clamp(12px, 2vmin, 18px);
  font-weight: 900;
  color: #4caf50;
  z-index: 1;
}


#tip-3-1 {
  position: absolute;
  top: 19%;
  left: 40%;
  font-size: clamp(24px, 4vmin, 32px);
  font-weight: 600;
  color: #000;
  z-index: 1;
}

#tip-3-2 {
  position: absolute;
  top: 31.3%;
  left: 44%;
  font-size: clamp(16px, 3vmin, 27px);
  font-weight: 600;
  color: #000;
  z-index: 1;
}

#tip-3-3 {
  position: absolute;
  width: 100%;
  top: 60%;
  left: 31%;
  font-size: clamp(12px, 2vmin, 20px);
  font-weight: 600;
  color: red;
  z-index: 1;
}

#tip-3-4 {
  position: absolute;
  width: 100%;
  top: 65%;
  left: 31%;
  font-size: clamp(12px, 2vmin, 20px);
  font-weight: 600;
  color: red;
  z-index: 1;
}

#tip-3-5 {
  position: absolute;
  width: 100%;
  top: 70%;
  left: 31%;
  font-size: clamp(12px, 2vmin, 20px);
  font-weight: 600;
  color: red;
  z-index: 1;
}

#tip-3-6 {
  position: absolute;
  width: 100%;
  top: 83%;
  left: 81.5%;
  font-size: clamp(32px, 6vmin, 44px);
  font-weight: 600;
  color: red;
  z-index: 1;
}

footer {
  font-size: 14px;
  text-align: center;
  padding: 20px;
  color: #666;
}

footer img{
  width: 100%;
    height: auto;
    display: block;
}

.illustration {
  padding: 0;
  margin: 10px 0 0 0;
  min-height: 301px;
}

@media (min-width: 768px) {
  .illustration {
    min-height: 514px;
  }
}

.illustration-item {
  width: 100%;
  display: block;
  margin: 5px 0;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .illustration-item {
    border-radius: 10px;
  }
}

.illustration-item:nth-child(1) {
  animation: slideInRight 0.8s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.illustration-item:nth-child(2) {
  animation: slideInLeft 0.8s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.illustration-item:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1) saturate(1.1);
}

.zhun{
  color: red;
  background: #ffeb3b;
}

.tip_item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 2px solid #000;
  border-bottom: none;
}

.tip_item:last-child {
  border-bottom: 2px solid #000;
}

#tip-9 .tip,
#tip-12 .tip,
#tip-17 .tip {
  border: 2px solid #000;
}

.tip .title{
  color: #0b723d;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.tip_box {
  margin-bottom: 0;
}

.tip_row_main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
}

.tip_row_sub {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  gap: 20px;
}

.tip_box:not(:last-child) {
  border-bottom: 2px solid #000;
}

.tip_item .text1 {
  color:red
}

.tip_item .text2 {
  margin-right: 0px;
}

.tip_item .text3 {
  margin-right: 0px;
}

.tip_item .text4 {
  text-align: center;
}


.nav {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 2px;
  font-size: 13px;
  background-color: rgba(255, 255, 255, 1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav.sticky-active {
  width: 110%;
  max-width: 100vw;
  margin-left: -5%;
  margin-right: -5%;
}

.nav ul {
  padding: 2px 0;
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.nav ul li {
  width: 100%;
  box-sizing: border-box;
  padding: 0 2px;
  list-style: none;
}

.nav ul li a {
  display: block;
  padding: 3px 0;
  text-align: center;
  color: #fff;
  border-radius: 50px;
  background: #2196F3;
  transition: all 0.3s ease;
  text-decoration: none;
  list-style: none;
}

.nav ul li a:hover {
  text-decoration: underline;
  background-color: #1778c7;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
