@CHARSET "UTF-8";
body {
    padding: 0;
    margin: 0 auto;
    background: #000!important;
    overflow-x: hidden;
}
a,
a:hover {
    text-decoration: none;
}
pre {

}
.container {
    /* margin-bottom: 5rem; */
}
.red {
    color: #be1625!important;
}
.green {
    color: #54be16!important;
}
.yellow {
    color: #fdda58!important;
}
.orange {
    color: #f18217!important;
}
.pink {
    color: #f6a68c!important;
}
.blue {
    color: #b7c1e5!important;
}
.black {
    color: #000!important;
}
.grey {
    color: #ccc!important;
}
.right {
    float: right;
}
.clear {
    clear: both;
}

/* 顶部 */
.layui-header .layui-container {
    padding: 0;
}
.layui-container {
    overflow: hidden !important;
}
.layui-header {
    height: auto !important;
}
/* 顶部广告 */
.layui-header .banner img {
    width: 100%;
}
/* 顶部菜单 */
.layui-header .menu {
    text-align: center;
    height: 3.5rem;
    line-height: 3.5rem;
    font-size: 1.6rem;
    font-weight: 400;
    background-color: #18171c;
    overflow: hidden;
}
/* 回滚：移除 Flex 布局与压缩设置 */
/* 菜单文字 */
.layui-header .menu li {
    color: #fff;
    display: inline-block;
}
/* 回滚：移除 Flex 布局与压缩设置 */
/* 窄屏下再压缩字号与时间块宽度 */
@media (max-width: 980px) {
  .layui-header .menu { font-size: 1.5rem; }
  .layui-header .menu .menu_time { width: 17rem; }
}
/* 时间 */
.layui-header .menu .menu_time {
    width: 21rem;
    color: #fff;
    font-size: 1.4rem;
}
/* 公告 */
.layui-header .notice {
    text-align: center;
    height: 1.8rem;
    line-height: 1.8rem; /* 与滚动字幕一致，垂直居中 */
    color: #fff;
    background-color: #0b0c0e;
}
/* 公告左边 */
.layui-header .notice .notice_title {
    width: 180px;
}
/* 公告图标 */
.layui-header .notice .notice_title .layui-icon {
    font-size: 1.8rem;
    line-height: 1.8rem;
}
/* 公告文字 */
.layui-header .notice .notice_title span {
    font-size: 1rem;
    position: relative; /* 避免绝对定位导致垂直偏移 */
    top: -0.2rem; /* 轻微上移，与滚动字幕齐平 */
}
/* 公告右边 */
.layui-header .notice .notice_main {
    overflow: hidden;
} 

/* 公告文字 */
.layui-header .notice .notice_main .notice_text {
    font-size: 1.3rem;
    color: #dcb766;
}
/* 公告文字滚动 */
.layui-header .notice .notice_main .rolling {
    width: auto;
    white-space: nowrap;
    animation: rolling 40s linear infinite;
    height: 1.8rem;
    line-height: 1.8rem;
}
@keyframes rolling {
	0% {
		left: 100%;
	}
	100% {
		left: -100%;
    }
}
/* 公告文字停止滚动 */
.layui-header .notice .notice_main .rolling:hover {
    animation-play-state: paused;
}

/* 主要内容 */
.body-white .layui-container {
    padding: 0;
}
/* 内容头部 */
.layui-container .site_head {
    background-color: #21212b;;
}
/* 弹出公告 */
.layui-container .popup {
    border-radius: 1rem;
    background-color: #bb7e12;
}

.layui-container .popup_notice {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: auto;
    height: auto;
    border-radius: 1rem;
    border: 0.24rem solid #bb7e12;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    overflow: hidden;
}
.layui-container .popup_notice .notice_main {
    padding: 100px 1rem 1rem 1rem; /* 增大顶部与底部间距 */
    text-align: center !important;
    font-weight: 600;
    font-size: 1.6rem; /* 提升基础字号 */
    line-height: 2.4rem; /* 提升基础行高，增强可读性 */
}
.layui-container .popup_notice .notice_main * {
    text-align: center !important;
}
.layui-container .popup_notice .popup_close {
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    right: 0;
}
.layui-container .popup_notice .popup_close span {
    border-radius: 999px;
    background-color: #473760;
    padding: 0.4rem 2rem;
    cursor: pointer;
}
.layui-container .popup_notice .popup_close span:hover {
    background-color: #5a437a;
}
/* 站点logo */
.layui-container .site_logo {
    width: 180px;
}
.layui-container .site_logo img{
    width: 100%;
}
/* 开奖部分 */
.layui-container .bet_open {
    color: #fff;
    font-size: 1.6rem;
    padding: 0.2rem 0.5rem;
    line-height: 2.5rem;
    position: relative;
}
/* 开奖期号 */
.layui-container .bet_open .now_issue {
    width: 6rem;
}
.layui-container .bet_open .bet_issue {
    color: #ece8b6;
    font-weight: bold;
}
.layui-container .bet_open .now_title {
    width: 13rem;
    padding: 0 0.8rem;
}
/* 本期开奖时间 */
.layui-container .bet_open .bet_nowdate {
    color: #ece8b6;
    font-weight: bold;
}
.layui-container .bet_open .bet_nowtime {
    color: #ece8b6;
    font-weight: bold;
    padding-left: 2rem;
}
/* 平码 */
.layui-container .bet_open .bet_number {
    height: 40px;
    line-height: 40px;
    padding: 0.5rem;
}
/* 平码数组 */
.layui-container .bet_open .bet_number li {
    width: 40px;
    height: 40px;
    background-color: #fff;
    margin-right: 0.4rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.layui-container .bet_open .bet_number li.special{
    background: none;
    width: 20px;
}
.layui-container .bet_open .bet_number li .number{
    text-align: center;
    color: #000;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: #fff;
    border-radius: 100%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.layui-container .bet_open .bet_number li .layui-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}
.layui-container .bet_open .bet_number li .layui-circle.red {
    background: linear-gradient(to bottom, #ad0000, #f76565);
    border: 1px solid #f49090;
}
.layui-container .bet_open .bet_number li .layui-circle.green {
    background: linear-gradient(to bottom, #1a642f, #81ac8c);
    border: 1px solid #a9e2b9;
}
.layui-container .bet_open .bet_number li .layui-circle.blue {
    background: linear-gradient(to bottom, #1c1969, #6d6c92);
    border: 1px solid #acabe4;
}
.layui-container .bet_open .bet_number li .layui-circle.yellow {
    background: linear-gradient(to bottom, #7a5a00, #e6c94f);
    border: 1px solid #e6d480;
}

.layui-container .bet_open .bet_number li .layui-circle .up-circle {
    background-color: #fff;
    width: 18px;
    height: 15px;
    border-radius: 100%;
    position: absolute;
    left: 10px;
    top: -10px;
}
.layui-container .bet_open .bet_number li .layui-circle .down-circle {
    background-color: #fff;
    width: 18px;
    height: 15px;
    border-radius: 100%;
    position: absolute;
    left: 10px;
    bottom: -10px;
}
.layui-container .bet_open .bet_number li .layui-circle .left-circle {
    background-color: #fff;
    width: 15px;
    height: 18px;
    border-radius: 100%;
    position: absolute;
    left: -10px;
    top: 10px;
}
.layui-container .bet_open .bet_number li .layui-circle .right-circle {
    background-color: #fff;
    width: 15px;
    height: 18px;
    border-radius: 100%;
    position: absolute;
    right: -10px;
    top: 10px;
}
.layui-container .bet_open .bet_number li .layui-circle .border-circle {

}
/* 平肖 */
.layui-container .bet_open .bet_zodiac {
    height: 40px;
    line-height: 40px;
    padding: 0.5rem;
    margin: 1.5rem 0;
}
/* 平码数组：空格显示微型转圈（仅空格） */
.layui-container .bet_open .bet_number li.empty:not(.special)::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.22);
  border-top-color: #f9c635;
  animation: bet-open-loading-rotate 0.8s linear infinite;
  z-index: 3;
}
/* 平肖数组：按钮基础样式 */
.layui-container .bet_open .bet_zodiac li {
    width: 40px;
    height: 40px;
    background-color: #fff;
    margin-right: 0.4rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.layui-container .bet_open .bet_zodiac li.special{
    background: none;
    width: 20px;
}
.layui-container .bet_open .bet_zodiac li .zodiac{
    text-align: center;
    color: #000;
    font-size: 2.4rem;
    font-weight: bold;
}
/* 平肖数组：空格显示微型转圈（仅空格） */
.layui-container .bet_open .bet_zodiac li.empty:not(.special)::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.22);
  border-top-color: #f9c635;
  animation: bet-open-loading-rotate 0.8s linear infinite;
}
/* 下期开奖 */
.layui-container .bet_open .next_issue {
    text-align: right;
}
.layui-container .bet_open .bet_nextdate {
    color: #ece8b6;
    font-weight: bold;
}
.layui-container .bet_open .bet_nexttime {
    color: #ece8b6;
    font-weight: bold;
    padding-left: 2.4rem;
} 
/* 开奖资料 */
.layui-container .bet_info {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position-y: 30%;
    width: 100%;
    height: 1000px;
    margin-bottom: 1rem;
}

.layui-container .bet_info ul {
    padding: 6rem;
    text-align: center;
}

.layui-container .bet_info li {
    display: inline-flex;
    flex: 3;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.layui-container .bet_info li a {
    color: #ece8b6;
    font-size: 1.6rem;
}
.layui-container .bet_info li a:hover {
    text-decoration: underline;
    cursor: pointer;
}
.layui-container .bet_info li a {
      color: #ece8b6;
      font-size: 1.6rem;
    background-color: rgba(187, 126, 18, 0.25);
    border: 1px solid rgba(220, 183, 102, 0.5);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.layui-container .bet_info li a:hover {
    text-decoration: none;
    cursor: pointer;
    background-color: rgba(187, 126, 18, 0.35);
    border-color: rgba(220, 183, 102, 0.8);
}

/* 知识 */
.layui-container .know_left {
    color: #fff;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #808080;
    border-left: 1px solid #808080;
    background-color: #21212b;
    text-align: center;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    line-height: 1.2rem;
    min-height: 63rem;
    height: auto;
}
.layui-container .know_left .main {
    padding: 0.5rem 0;
}
.layui-container .know_left .main .zodiac {
    font-size: 1.6rem;
}
.layui-container .know_right {
    color: #fff;
    border: 3px double #808080;
    background-color: #21212b;
    font-size: 1.2rem;
    line-height: 1.4rem;
    min-height: 63rem;
    height: auto;
}
.layui-container .know_right .header {
    padding: 0.5rem;
}

.layui-container .know_right .center {
    border-top: 1px solid #808080;
    padding: 2rem;
    text-align: center;
}

.layui-container .know_right .center .title {
    border-bottom: 1px solid #808080;
}
.layui-container .know_right .center .level {
    padding: 0.5rem 0;
    border-left: 1px solid #808080;
    border-bottom: 1px solid #808080;
    display: inline-grid;
}
.layui-container .know_right .center .level.two {
    line-height: 2.7rem;
}
.layui-container .know_right .center .level.three {
    line-height: 4rem;
}
.layui-container .know_right .center .text {
    padding: 0.5rem;
    text-align: left;
    border-left: 1px solid #808080;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    display: inline-grid;
}
.layui-container .know_right .center .tip {
    text-align: left;
}
/* 历史记录 */
.layui-container .history_main {
    background-color: #21212b;
}
.layui-container .history_left {
    color: #fff;
}
.layui-container .history_left li {
    padding: 0.5rem;
    border-bottom: 1px dotted #fff;
    display: flex;
    align-items: center;
}
.layui-container .history_left li a {
    color: #fff;
}
.layui-container .history_left li a:hover {
    text-decoration:underline;
    cursor: pointer;
}
.layui-container .history_left li .history_year {
    margin-left: 0.5rem;
}
.layui-container .history_left li .layui-circle {
    width: 1.3rem;
    height: 1.3rem;
    background-color: #3a9b00;
    display: flex;
}
.layui-container .history_left li .layui-circle .left-circle {
    background-color: #fff;
    width: 0.3rem;
    height: 0.3rem;
    position: relative;
    top: 0.3rem;
    left: 0.3rem;
}
.layui-container .history_left li .layui-circle .right-circle {
    background-color: #fff;
    width: 0.4rem;
    height: 0.4rem;
    position: relative;
    top: 0.4rem;
    left: 0.4rem;
}
.layui-container .history_left li .layui-circle .bottom-circle {
    background-color: #fff;
    width: 0.4rem;
    height: 0.4rem;
    position: relative;
    top: 0.8rem;
    left: -0.4rem;
}
.layui-container .history_right {
    color: #fff;
    padding: 0.5rem;
    padding-left: 1rem;
}
.layui-container .history_right .header a {
    color: #fff;
}
.layui-container .history_right .header a:hover {
    text-decoration:underline;
    cursor: pointer;
}
.layui-container .history_right .center li {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-bottom: 2rem;
}

.layui-container .history_right .history_title {
    padding: 0.2rem 0;
    color: #ece8b6;
    font-size: 1.5rem;
}
.layui-container .history_right .history_bet {
    height: 40px;
    line-height: 40px;
}
.layui-container .history_right .history_bet li {
    width: 40px;
    height: 40px;
    background-color: #fff;
    margin-right: 0.8rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.layui-container .history_right .history_bet li .history_number {
    text-align: center;
    color: #000;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: #fff;
    border-radius: 100%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.layui-container .history_right .history_bet li .history_zodiac {
    position: absolute;
    top: 2.8rem;
}
.layui-container .history_right .history_bet li.special{
    background: none;
    width: 40px;
    padding-top: 2rem;
    font-size: 2.5rem;
}
.layui-container .history_right .history_bet li .layui-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}
.layui-container .history_right .history_bet li .layui-circle.red {
    background: linear-gradient(to bottom, #ad0000, #f76565);
    border: 1px solid #f49090;
}
.layui-container .history_right .history_bet li .layui-circle.green {
    background: linear-gradient(to bottom, #1a642f, #81ac8c);
    border: 1px solid #a9e2b9;
}
.layui-container .history_right .history_bet li .layui-circle.blue {
    background: linear-gradient(to bottom, #1c1969, #6d6c92);
    border: 1px solid #acabe4;
}
.layui-container .history_right .history_bet li .layui-circle .up-circle {
    background-color: #fff;
    width: 18px;
    height: 15px;
    border-radius: 100%;
    position: absolute;
    left: 10px;
    top: -10px;
}
.layui-container .history_right .history_bet li .layui-circle .down-circle {
    background-color: #fff;
    width: 18px;
    height: 15px;
    border-radius: 100%;
    position: absolute;
    left: 10px;
    bottom: -10px;
}
.layui-container .history_right .history_bet li .layui-circle .left-circle {
    background-color: #fff;
    width: 15px;
    height: 18px;
    border-radius: 100%;
    position: absolute;
    left: -10px;
    top: 10px;
}
.layui-container .history_right .history_bet li .layui-circle .right-circle {
    background-color: #fff;
    width: 15px;
    height: 18px;
    border-radius: 100%;
    position: absolute;
    right: -10px;
    top: 10px;
}
.layui-container .history_right .footer {
    border-top: 1px solid #f9c635;
    margin: 1rem 0;
    padding: 0.5rem 0;
}
.layui-container .history_right .footer li {
    padding-right: 0.8rem;
}
.layui-container .history_right .footer li a {
    color: #fff;
    font-size: 1.6rem;
}
.layui-container .history_right .footer li a:hover {
    text-decoration:underline;
    cursor: pointer;
}
/* 图库 */
.layui-container .image_header {
    color: #fff;
}
.layui-container .image_header a {
    color: #fff;
}
.layui-container .image_header a:hover {
    text-decoration:underline;
    cursor: pointer;
}
.layui-container .image_center {
    padding: 2rem 0;
}
.layui-container .image_center .title {
    font-size: 2rem;
    color: #ff4400;
    text-align: center;
    padding: 1.8rem 0;
}
.layui-container .image_center .time {
    font-size: 0.5rem;
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #fff; 
}
.layui-container .image_center .image{
    padding: 0.5rem 0;
}
.layui-container .image_center .image img {
    width: 100%;
}
/* 旋转动画：用于平码号码背后的圆形小球 */
@keyframes circle-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.layui-circle.spin {
  animation: circle-spin 1s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
  backface-visibility: hidden;
  pointer-events: none;
}

/* 避免对用户造成眩晕，尊重系统降低动效设置 */
@media (prefers-reduced-motion: reduce) {
  .layui-circle.spin { animation: none; }
}
/* 首页开奖区加载遮罩与圆圈 */
.layui-container .bet_open-loading {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  pointer-events: none;
}
.layui-container .bet_open-loading.show { display: flex; }
.layui-container .bet_open-loading .loader {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: #f9c635;
  animation: bet-open-loading-rotate 0.9s linear infinite;
}
@keyframes bet-open-loading-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}