* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border: 2px solid #2ecc71;
    border-radius: 8px;
    overflow: hidden;
}

/* 顶部标签页 */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    cursor: pointer;
    border-right: 1px solid #ddd;
    transition: all 0.3s;
}

.tab:last-child {
    border-right: none;
}

.tab.active {
    background-color: #2ecc71;
    color: white;
}

.tab:hover {
    background-color: #27ae60;
    color: white;
}

.tab h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.tab p {
    font-size: 14px;
}

/* 开奖信息区域 */
.draw-info {
    padding: 20px;
}

.draw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.draw-title {
    font-size: 20px;
    color: #333;
}

.draw-title .period {
    color: #e74c3c;
    font-weight: bold;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 15px;
}

.countdown-label {
    font-size: 16px;
    color: #333;
}

.countdown-time {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.history-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
}

/* 底部信息 */
.draw-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.next-period {
    font-size: 16px;
    color: #333;
}

.next-period .period-num {
    color: #e74c3c;
    font-weight: bold;
}

.refresh-btn {
    background-color: #f1c40f;
    border: none;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.refresh-btn:hover {
    background-color: #f39c12;
}

/* 悬浮窗 */
.zixun {
    position: fixed;
    right: 10px;
    top: 45%;
    width: 70px;
    min-height: 210px;
    background-color: #edeaea;
    border-radius: 20px;
}

.zixun a {
    display: block;
    height: 70px;
}

.zixun a:hover {
    background-color: #ff0f23;
}

.zixun a span {
    display: block;
    text-align: center;
}

.zixun a .icon1 {
    width: 70px;
    height: 40px;
    background-image: url(../images/kf.png);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center center;
}

.zixun a .icon2 {
    width: 70px;
    height: 40px;
    background-image: url(../images/wx.png);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center center;
}

.zixun a .icon3 {
    width: 70px;
    height: 40px;
    background-image: url(../images/QQ.png);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center center;
}

.zixun a .text {
    color: #101010;
}

/* 生肖部分 */
a:hover {
    text-decoration: none;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #aaa;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #aaa;
}

input[type=text],
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    overflow: hidden;
    visibility: hidden;
}

.clear {
    clear: both;
    width: 0px;
    height: 0px;
    font-size: 0px;
    overflow: hidden;
}

html,
body,
div,
span,
header,
nav,
a,
ul,
li {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    -webkit-text-size-adjust: 100%;
}

ol,
ul {
    list-style: none;
}

body {
    max-width: 800px;
    min-height: 100%;
    margin: 0 auto;
    position: relative;
    background: #fff;
    word-break: break-all;
}

.in-back {
    float: left;
    width: 120px;
    height: 45px;
    position: relative;
    text-indent: 30px;
    line-height: 45px;
    color: #FFFFFF;
    font-size: 18px;
}

.header img {
    width: 100%;
    height: auto;
}

.nav {
    padding: 5px 0;
    text-align: center;
    background-image: linear-gradient(to top, #ffba35, #ffde00, #fff);
}

.nav ul {
    overflow: hidden;
}

.nav ul li {
    float: left;
    width: 20%;
}

.nav ul li a {
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    color: #a40000;
    display: block;
}

.cgi-sb {
    height: 40px;
    background: url(../images/ssd.jpg) 0 0 repeat #e4b237;
}

.cgi-sb ul {
    overflow: hidden;
}

.cgi-sb ul li {
    float: left;
    width: 100%;
}

.cgi-sb ul li a {
    height: 35px;
    line-height: 35px;
    font-size: 26px;
    color: #fff;
    text-align: center;
    display: block;
    overflow: hidden;
}

.cgi-sb ul li a.on {
    font-weight: bold;
}

.cgi-sb ul li a:hover {
    background-color: #FF0000;
    color: #FFFF00;
}

.gsb ul {
    padding: 0 10px 10px 10px;
}

.gsb ul li {
    line-height: 40px;
    font-size: 14px;
    border-bottom: 1px #EAEAEA solid;
}

.gsb ul li span.gsb-tit {
    height: 20px;
    line-height: 20px;
    margin-right: 8px;
    padding: 0 5px;
    font-size: 12px;
    color: #fff;
    border-radius: 5px;
    background: #f00;
    display: inline-block;
}

.gsb ul li span.zuozhe {
    float: right;
    margin-left: 10px;
    font-size: 14px;
    color: #999;
}

.yima {
    text-align: left;
    font-weight: bold;
    overflow: hidden;
}

.zt24 {
    margin: 0 auto;
}

.jin2xiao th,
.zt24 th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #090;
}

.jin2xiao td,
.zt24 td {
    text-align: center;
    border: solid 1px #ddd;
}

.zt24 td.td1 { width: 50px; }
.zt24 td.td2 { padding: 5px 10px; }
.zt24 td.td3 { width: 70px; }

.six-xiao { margin: 0 auto; }

.six-xiao th {
    height: 40px;
    font-size: 18px;
    color: #fff;
    border: solid 1px #fff;
    background: #090;
}

.six-xiao td {
    text-align: center;
    border: solid 1px #ddd;
}

.six-xiao td.td1 { width: 70px; }
.six-xiao td.td2 { padding: 5px 10px; }
.six-xiao td.td3 { width: 80px; }

.jin2xiao th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #009999;
}

.jin2xiao td {
    text-align: center;
    border: solid 1px #ddd;
}

.jin2xiao td.td1 {
    width: 50px;
    font-size: 20px;
}

.liuhe th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #090;
}

.liuhe td {
    width: 33.33%;
    height: 30px;
    text-align: center;
    border: solid 1px #ddd;
}

.baopt th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #e70000;
}

.baopt td {
    height: 30px;
    text-align: center;
    border: solid 1px #ddd;
}

.baodian th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #99a43b;
}

.baodian td {
    text-align: center;
    border: solid 1px #ddd;
}

.baodian td.td1 { width: 25%; }
.baodian td.td2 { width: 75%; }

.baodian td.td2 img {
    width: 90%;
    height: auto;
    margin: 10px 0;
}

.zonghe { text-align: center; }

.zonghe-tit {
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    color: #fff;
    background: #e70000;
}

.zonghe ul { padding: 5px 0; }

.zonghe ul li a {
    width: 94%;
    height: 30px;
    line-height: 30px;
    margin: 5px 0;
    border: solid 1px #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    display: inline-block;
    background-image: linear-gradient(to top, #f7f7f7, #fff);
    font-size: 16px;
}

.zonghe ul.zonghe-ul {
    padding: 5px 0 5px 3%;
}

.zonghe ul.zonghe-ul li {
    float: left;
    width: 47%;
    padding: 0 3% 0 0;
}

.zonghe ul.zonghe-ul li a {
    width: 100%;
    height: 30px;
    line-height: 30px;
    margin: 5px 0;
    border: solid 1px #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    display: inline-block;
    background-image: linear-gradient(to top, #f7f7f7, #fff);
}

.zonghe ul li a:hover { text-decoration: underline; }

.shiju { text-align: center; }

.shiju-tit {
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    color: #fff;
    background: #e70000;
}

.shiju ul { padding: 5px 0; }

.shiju ul li a {
    width: 94%;
    height: 30px;
    line-height: 30px;
    margin: 2px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    display: inline-block;
    background-image: linear-gradient(to top, #f7f7f7, #fff);
    font-size: 19px;
}

.shiju ul li a:hover { text-decoration: underline; }

.jinghua-tit {
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #fff;
    background: #e70000;
}

.jinghua ul li a {
    width: 94%;
    height: 30px;
    line-height: 30px;
    margin: 5px 0;
    border: solid 1px #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    display: inline-block;
    background-image: linear-gradient(to top, #f7f7f7, #fff);
    font-size: 18px;
}

.jinghua ul li a:hover { text-decoration: underline; }

.juesha th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #090;
}

.juesha td {
    width: 20%;
    height: 30px;
    text-align: center;
    border: solid 1px #ddd;
}

.cgi-gsb-header img { width: 100%; height: auto; }
.big-pic img { width: 100%; height: auto; }

.quannian th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #090;
}

.quannian td {
    width: 50%;
    height: 30px;
    text-align: center;
    border: solid 1px #ddd;
}

.grey-line { border-top: solid 0px #e5e5e5; }

.pic-list {
    padding-top: 10px;
    text-align: center;
}

.pic-list span {
    float: left;
    width: 50%;
}

.pic-list span img {
    width: 90%;
    height: 150px;
    margin: 0 auto;
}

.pic-list span em {
    height: 40px;
    line-height: 40px;
}

.photoBox {
    display: inline-block;
    position: relative;
}

.photoBox img { display: block; }

.photoArea {
    zoom: 1;
    margin: 0;
}

.photoArea img { width: 100%; height: auto; }

.sx { background: #e5e5e5; }
.sx table { margin-top: 0px; }
.sx th { height: 30px; background: #f1f1f1; }

.sx td {
    padding: 5px 0;
    text-align: center;
    border: solid 1px #d8ccb4;
    word-wrap: break-word;
    background: #fff;
}

.sx td.a-left {
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
}

.sx span {
    height: 18px;
    line-height: 18px;
    margin: 0 2px;
    padding: 0 2px;
    font-size: 12px;
    color: #fff;
    display: inline-block;
    background: #f00;
}

.sx span.green { background: #009933; }
.sx span.blue { background: #3366ff; }

ul.sx1 { overflow: hidden; }

ul.sx1 li {
    float: left;
    width: 33.33%;
    padding: 5px 0;
}

ul.sx1 li dl dt img {
    width: 40px;
    height: 40px;
    transform: translateY(10px);
}

.in-head {
    height: 45px;
    color: #fff;
    background: #a90001;
    background-image: linear-gradient(to top, #a90001, #e60012);
    position: relative;
}

.in-back {
    float: left;
    width: 120px;
    height: 45px;
    position: relative;
    text-indent: 30px;
    line-height: 45px;
    color: #FFFFFF;
    font-size: 18px;
}

.in-back:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    top: 14px;
    left: 15px;
}

.in-back:after {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
}

.in-head-tit {
    line-height: 45px;
    font-size: 18px;
    width: 50%;
    text-align: center;
    display: inline-block;
    position: absolute;
    left: 25%;
}

.in-head-btn {
    float: right;
    margin: 10px 10px 0 0;
    padding: 1px 5px;
    color: #FFFFFF;
    font-size: 18px;
    border: solid 1px #fff;
    border-radius: 5px;
}

.in-tit {
    border-bottom: solid 1px #ddd;
    padding: 10px;
    background: #f9f9f9;
}

.in-tit h1 {
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
}

.in-con {
    padding: 10px;
    word-wrap: break-word;
}

.footer {
    padding: 10px 0;
    text-align: center;
}

.right-padding-adjust { padding-right: 15px; }
.left-padding-adjust { padding-left: 15px; }

.kjjl { margin: 0 auto; }

.kjjl th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #090;
}

.kjjl td {
    text-align: center;
    border: solid 1px #ddd;
}

.kjjl td.td1 { width: 50px; }

.kjjl td.td2 {
    padding: 2px 2px;
    color: #009999;
    width: 80px;
}

.kjjl td.td2 a { color: #006666; }

.kjjl td.td2 a:hover {
    color: #FFFFFF;
    background-color: #FF6600;
}

.kjjl td.td3 { width: 70px; }

.go6h_webKIcon01 { background: url("ico.png") no-repeat 0 0; }
.go6h_webKIcon02 { background: url("ico.png") no-repeat 0 -36px; }
.go6h_webKIcon03 { background: url("ico.png") no-repeat 0 -72px; }
.go6h_webKIcon04 { background: url("ico.png") no-repeat 0 -108px; }
.go6h_webKIcon05 { background: url("ico.png") no-repeat 0 -144px; }
.go6h_webKIcon06 { background: url("ico.png") no-repeat 0 -180px; }
.go6h_webKIcon07 { background: url("ico.png") no-repeat 0 -216px; }
.go6h_webKIcon08 { background: url("ico.png") no-repeat 0 -252px; }
.go6h_webKIcon09 { background: url("ico.png") no-repeat 0 -288px; }
.go6h_webKIcon10 { background: url("ico.png") no-repeat 0 -324px; }
.go6h_webKIcon11 { background: url("ico.png") no-repeat 0 -360px; }
.go6h_webKIcon12 { background: url("ico.png") no-repeat 0 -396px; }

.go6h_navBlock {
    width: 100%;
    background-color: #fff;
    margin-bottom: 8px;
}

.go6h_navBlock ul {
    width: 100%;
    height: 72px;
    overflow: hidden;
}

.go6h_navBlock li {
    width: 25%;
    height: 72px;
    float: left;
    display: block;
    position: relative;
    text-align: center;
    font-size: 10px;
    color: #4c4c4c;
    box-sizing: border-box;
}

.go6h_navBlock ul { height: 216px; }

.go6h_navBlock a {
    width: 100%;
    padding-top: 52px;
    display: inline-block;
    box-sizing: border-box;
}

.go6h_navBlock span.go6h_navicon {
    width: 36px;
    height: 36px;
    display: block;
    position: absolute;
    top: 10px;
    left: 50%;
    margin-left: -18px;
}

.go6h_navBlock .go6h_downButton {
    width: 100%;
    height: 18px;
    text-align: center;
}

.go6h_navOpen ul.go6h_ShrinkFrom {
    height: 216px;
    -webkit-animation: topToDown .3s ease;
    animation: topToDown .3s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.go6h_navOpen .go6h_downButton,
.go6h_navClose .go6h_downButton {
    width: 100%;
    height: 18px;
    text-align: center;
}

.go6h_navClose ul.go6h_ShrinkFrom {
    height: 72px;
    -webkit-animation: downToTop .3s ease;
    animation: downToTop .3s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.go6h_webKIcon01 { font-size: 0; }

.go6h_webKIcon01,
.go6h_webKIcon01:active,
.go6h_webKIcon02 { background-size: 36px; }

.go6h_webKIcon02 { font-size: 0; }

.go6h_webKIcon02:active,
.go6h_webKIcon03, .go6h_webKIcon03:active,
.go6h_webKIcon04, .go6h_webKIcon04:active,
.go6h_webKIcon05, .go6h_webKIcon05:active,
.go6h_webKIcon06, .go6h_webKIcon06:active,
.go6h_webKIcon07, .go6h_webKIcon07:active,
.go6h_webKIcon08, .go6h_webKIcon09,
.go6h_webKIcon10, .go6h_webKIcon11,
.go6h_webKIcon12, .go6h_webKIcon08:active { background-size: 36px; }

.go6h_navBlock li a { font-size: 16px; }
.go6h_navBlock li a:hover { color: #FF0000; }

.gongshi th {
    height: 40px;
    font-size: 16px;
    color: #fff;
    border: solid 1px #fff;
    background: #FF3300;
}

.gongshi td {
    width: 33.33%;
    height: 30px;
    text-align: center;
    border: solid 1px #ddd;
}

.gongshi img { margin-right: 8px; }

.topbl {
    width: 100%;
    height: auto;
    clear: both;
    overflow: hidden;
    font-family: "microsoft yahei";
    font-weight: bold;
}

.topbl1 {
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 24px;
    color: #fff;
    background: #f00;
}

.topbl2 {
    clear: both;
    height: auto;
    overflow: hidden;
}

.span1 { font-size: 18px; color: #0000FF; }
.span2 { font-size: 16px; color: #006600; }

.topbl2d {
    padding: 1px 1px;
    font-size: 18px;
    font-weight: bold;
}

.topbl2d div { float: left; }
.topbl2d .ppppp5 { color: #f00; }

.topbl2 td {
    border: 1px solid #666;
    padding: 2px 3px;
}

.topbl a { color: #f60; }

.tppt {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

.marquee-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #fff;
    max-width: 900px;
    margin: 0 auto 10px;
}

.tppt img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.xxg {
    text-align: center;
    padding: 20px 0;
    font-size: 18px;
}

/* 开奖球区域 */
.lottery-balls {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 5px;
    gap: 0;
    flex-wrap: nowrap;
}

.ball-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 80px;
}

.ball-wrap {
    width: 70px;
    height: 70px;
    position: relative;
}

.ball-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.ball-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    font-weight: 900;
    font-family: 'SimHei', 'Microsoft YaHei', sans-serif;
    z-index: 2;
    color: #000;
    text-shadow: none;
}
.ball-num-red { color: #000; }
.ball-num-blue { color: #000; }
.ball-num-green { color: #000; }

.ball-info {
    font-size: 20px;
    color: #666;
    font-weight: bold;
    font-family: 'SimHei', 'Microsoft YaHei', sans-serif;
    white-space: nowrap;
    text-align: center;
}

.ball-separator {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 2px;
    padding-top: 18px;
    align-self: flex-start;
}

.ball-separator-item {
    display: flex;
    align-items: flex-start;
}

.ball-waiting {
    font-size: 14px;
    color: #999;
    text-align: center;
    padding: 30px 0;
    width: 100%;
}

/* 马赛克/模糊遮罩 */
.ball-item.mosaic .ball-wrap { filter: blur(8px) saturate(0.3); }
.ball-item.mosaic .ball-num { visibility: hidden; }
.ball-item.mosaic .ball-info { filter: blur(6px); user-select: none; }
.ball-separator-item.mosaic .ball-separator { filter: blur(6px); }

/* 弹出动画 */
@keyframes ballPopIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.25); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.ball-item.pop-in {
    animation: ballPopIn 0.5s cubic-bezier(0.17, 0.67, 0.35, 1.2) forwards;
}
.ball-separator-item.pop-in {
    animation: ballPopIn 0.3s ease forwards;
}
.ball-item.hidden-ball,
.ball-separator-item.hidden-ball {
    transform: scale(0);
    opacity: 0;
}

/* 七肖中特 */
.qxzt-panel {
    max-width: 900px;
    margin: 15px auto;
    background: #fff;
    border: 2px solid #009900;
    border-radius: 8px;
    overflow: visible;
}
.qxzt-title {
    background: #009900;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 22px;
    font-weight: bold;
}
.qxzt-row {
    padding: 10px 15px;
    font-size: clamp(11px, 3.2vw, 16px);
    border-bottom: 1px solid #eee;
    line-height: 1.8;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.qxzt-row:last-child { border-bottom: none; }
.qxzt-next { background: #f8fff8; }
.qxzt-period { font-weight: bold; }
.qxzt-zodiacs { font-weight: bold; color: #ff0000; font-size: 17px; }
.qxzt-hit { color: #ffff00; background: #0000ff; padding: 0 2px; }
.qxzt-result-num { font-weight: bold; color: #ff0000; margin-left: 2px; }
.qxzt-result-zodiac { font-weight: bold; color: #ff0000; margin-left: 2px; }
.qxzt-right { color: #ff0000; font-weight: bold; margin-left: 2px; }
.qxzt-wrong { color: #ff0000; font-weight: bold; margin-left: 2px; }
.qxzt-pending { color: #ff0000; font-weight: bold; }
.qxzt-halfwave { font-weight: bold; color: #ff0000; }
.qxzt-hw-red { }
.qxzt-hw-blue { }
.qxzt-hw-green { }

/* 开奖资料分析 */
.draw-analysis {
    max-width: 900px;
    margin: 15px auto;
    background: #fff;
    border: 2px solid #2ecc71;
    border-radius: 8px;
    overflow: hidden;
}

.analysis-title {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
}

.analysis-section {
    border-bottom: 1px solid #eee;
    padding: 14px 18px;
}
.analysis-section:last-child { border-bottom: none; }

.analysis-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 4px solid #2ecc71;
}

.analysis-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.analysis-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
    color: #000;
}
.analysis-ball.a-red { background: #e74c3c; }
.analysis-ball.a-blue { background: #3498db; }
.analysis-ball.a-green { background: #27ae60; }

.analysis-special {
    margin-top: 8px;
    padding: 10px 14px;
    background: #fff5f5;
    border: 1px solid #f0d0d0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 2;
}
.analysis-special b { color: #000; }

.analysis-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.analysis-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: bold;
}
.tag-red { background: #fde8e8; color: #000; }
.tag-blue { background: #e8f0fd; color: #000; }
.tag-green { background: #e8fde8; color: #000; }
.tag-gold { background: #fdf5e8; color: #000; }
.tag-wood { background: #e8fde8; color: #000; }
.tag-water { background: #e8f0fd; color: #000; }
.tag-fire { background: #fde8e8; color: #000; }
.tag-earth { background: #f5f0e0; color: #000; }
.tag-gray { background: #f0f0f0; color: #000; }
.tag-hot { background: #ffe0e0; color: #000; border: 1px solid #e74c3c; }
.tag-cold { background: #e0e8ff; color: #000; border: 1px solid #3498db; }

.analysis-bar {
    display: flex;
    height: 22px;
    border-radius: 11px;
    overflow: hidden;
    margin: 6px 0;
}
.bar-red { background: #e74c3c; }
.bar-blue { background: #3498db; }
.bar-green { background: #27ae60; }

.analysis-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #000;
    margin-bottom: 2px;
}

.analysis-predict {
    margin-top: 8px;
    padding: 10px 14px;
    background: #f0fff0;
    border: 1px solid #c0e8c0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}
.analysis-predict b { color: #000; }

.analysis-kill {
    margin-top: 8px;
    padding: 10px 14px;
    background: #fff8f0;
    border: 1px solid #f0d8c0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}
.analysis-kill b { color: #000; }

.analysis-nums {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.analysis-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    color: #000;
}

/* 生肖属性板块 */
.zodiac-attr-section {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
}

.zodiac-attr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.zodiac-attr-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background: #fafafa;
}

.zodiac-attr-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.zodiac-attr-name {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.zodiac-attr-hit {
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 10px;
    background: #e74c3c;
    color: #fff;
}

.zodiac-attr-nums {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.zodiac-attr-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    color: #000;
}

.zodiac-attr-num.z-hit {
    box-shadow: 0 0 0 2px #e74c3c;
}

.zodiac-attr-props {
    font-size: 12px;
    color: #000;
    line-height: 1.8;
}

.zodiac-attr-props span {
    display: inline-block;
    margin-right: 6px;
}

@media (max-width: 600px) {
    .zodiac-attr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== 手机端显示效果 ========== */
@media (max-width: 768px) {
    body {
        padding: 10px 8px;
    }
    .container {
        border-radius: 6px;
        border-width: 1px;
    }
    /* 顶部标题与 logo */
    .xxg {
        font-size: 1.1rem;
        padding: 8px 0;
    }
    .tppt img {
        max-width: 100%;
        height: auto;
    }
    /* 三个 tab 更紧凑 */
    .tabs {
        flex-wrap: nowrap;
    }
    .tab {
        padding: 10px 6px;
        min-width: 0;
    }
    .tab h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }
    .tab p {
        font-size: 11px;
    }
    /* 开奖区头部：可换行，字号缩小 */
    .draw-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }
    .draw-title {
        font-size: 15px;
        width: 100%;
        order: 1;
    }
    .countdown {
        width: 100%;
        order: 2;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 6px;
    }
    .countdown-label {
        font-size: 14px;
    }
    .countdown-time {
        font-size: 16px;
    }
    .history-link {
        font-size: 13px;
    }
    /* 开奖球：小屏强制单行，球体自适应缩小 */
    .lottery-balls {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0;
        padding: 10px 2px;
    }
    .ball-item {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }
    .ball-item .ball-wrap {
        width: 100%;
        max-width: 44px;
        height: auto;
        aspect-ratio: 1;
        margin: 0 auto;
    }
    .ball-item .ball-num {
        font-size: clamp(12px, 3.5vw, 18px);
    }
    .ball-info {
        font-size: clamp(9px, 2.5vw, 12px);
        white-space: nowrap;
    }
    .ball-separator {
        font-size: clamp(14px, 3.5vw, 20px);
        padding-top: 6px;
    }
    .ball-separator-item {
        flex: 0 0 auto;
        width: 16px;
        align-self: flex-start;
    }
    /* 底部下一期、刷新按钮 */
    .draw-footer {
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 10px;
    }
    .next-period {
        font-size: 13px;
    }
    .refresh-btn {
        padding: 6px 14px;
        font-size: 14px;
    }
    /* 开奖资料分析区块 */
    .draw-analysis {
        margin: 10px auto;
        border-radius: 6px;
    }
    .analysis-title {
        font-size: 14px;
        padding: 10px;
    }
    .analysis-overview {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }
    .analysis-ball {
        font-size: 14px;
        padding: 4px 8px;
    }
    .analysis-section-title {
        font-size: 14px;
    }
    .analysis-grid {
        flex-wrap: wrap;
    }
    /* 底部生肖/波色等表格 */
    .sx.grey-line {
        padding: 10px 8px;
    }
    .sx table {
        font-size: 12px;
    }
    .sx1 li {
        margin-bottom: 8px;
    }
    /* 右侧悬浮客服：小屏缩小、避免挡内容 */
    .zixun {
        width: 50px;
        min-height: 160px;
        right: 6px;
        top: 40%;
    }
    .zixun a {
        height: 52px;
    }
    .zixun a .icon1,
    .zixun a .icon2,
    .zixun a .icon3 {
        width: 50px;
        height: 32px;
        background-size: 28px;
    }
    .zixun a .text {
        font-size: 11px;
    }
}

.analysis-empty {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 15px;
}

