
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:#f0f2f5;color:#333;font-size:14px;line-height:1.4;}
a{text-decoration:none;color:inherit;}
.top-banner{width:100%;display:block;line-height:0;}
.top-banner img{width:100%;height:auto;display:block;}
.tabs{display:flex;background:#f0fdf4;}
.tab{flex:1;text-align:center;padding:10px 4px 8px;font-size:14px;color:#333;background:#f0fdf4;cursor:pointer;font-weight:600;}
.tab .date{display:block;font-size:12px;margin-top:3px;}
.tab[data-tab="aomen"].active{background:#9C27B0;color:#fff;}
.tab[data-tab="xincai"].active{background:#15803d;color:#fff;}
.tab[data-tab="aocai"].active{background:#2196F3;color:#fff;}
.tab[data-tab="gangcai"].active{background:#FF9800;color:#fff;}
.draw-box{background:#f0fdf4;padding:14px 12px 12px;border:1px solid #9C27B0;border-radius:0 0 10px 10px;margin:4px 0 0;}
.draw-box.purple{border-color:#9C27B0;}
.draw-box.green{border-color:#15803d;}
.draw-box.blue{border-color:#2196F3;}
.draw-box.orange{border-color:#FF9800;}
.draw-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px;flex-wrap:wrap;gap:4px;}
.draw-header .period{font-weight:800;color:#166534;font-size:15px;}
.draw-header .countdown{color:#16a34a;font-size:14px;font-weight:600;}
.draw-header .history{font-size:14px;cursor:pointer;font-weight:600;}
.draw-box.purple .history{color:#9C27B0;}
.draw-box.green .history{color:#15803d;}
.draw-box.blue .history{color:#2196F3;}
.draw-box.orange .history{color:#FF9800;}
.balls{display:flex;justify-content:space-between;gap:5px;margin-bottom:10px;}
.ball{flex:1;text-align:center;background:#fff;border-radius:10px;padding:6px 2px 5px;box-shadow:0 1px 3px rgba(0,0,0,.06);border:1.5px solid #e5e7eb;}
.ball.special{border:2.5px solid #3b82f6;}
/* old ball css moved to unified block */

.ball .num.rolling{
  background:#8BC34A !important;
  color:#111 !important;
  border-radius:8px !important;
  width:36px;height:36px;line-height:36px;
  font-size:16px;font-weight:800;
}
.ball.rolling-ball{border-color:#c5e1a5;}

.next-info{text-align:center;font-size:13px;font-weight:600;margin-top:4px;}
.draw-box.purple .next-info{color:#9C27B0;}
.draw-box.green .next-info{color:#9C27B0;}
.draw-box.blue .next-info{color:#2196F3;}
.draw-box.orange .next-info{color:#FF9800;}
.tab-content{display:none;}
.tab-content.active{display:block;}
.mod-title{background:#9C27B0;color:#FFEB3B;text-align:center;padding:14px 10px 10px;font-size:20px;font-weight:800;letter-spacing:1px;margin-top:12px;}
.mod-title .site{display:block;font-size:13px;color:#9C27B0;font-weight:600;margin-top:8px;background:#E8F5E9;padding:6px 0;margin-left:0;margin-right:0;margin-bottom:0;}
.mod-title .site a{background:#9C27B0;color:#FFEB3B;padding:2px 10px;border-radius:4px;margin-left:4px;font-weight:700;}
.mod-title-green{background:#16a34a;color:#FFEB3B;text-align:center;padding:14px 10px;font-size:22px;font-weight:800;letter-spacing:2px;margin-top:0;}
.info-bar{background:#F0FDF4;padding:12px 14px;text-align:center;font-size:14px;font-weight:700;border:1.5px solid #000;margin:0 10px;}
.info-bar .c1{color:#7B2CBF;}
.info-bar .c2{color:#C9A227;}
.list{background:transparent;padding:8px 10px;}
.item{padding:12px 14px;font-size:14px;border:1.5px solid #000;border-radius:10px;margin-bottom:8px;background:#fff;}
.item:nth-child(odd){background:#f0fdf4;}
.item .p{color:#000;font-weight:700;}
.item .period-num{color:#16a34a;}
.item .ok,.item .fail{color:#FF6D00;font-weight:700;}
.item .num-p{color:#9C27B0;font-weight:700;}
.item .hl{background:#FFFF00;padding:1px 6px;border-radius:3px;font-weight:700;color:#000;}
.item .nums{font-family:monospace;font-size:13px;color:#4b5563;margin-top:4px;}
.jiuxiao{margin:4px 0;line-height:1.6;}
.shensuanzi-list{background:#f0fdf4;padding:10px 8px 14px;}
.ssz-item{display:flex;align-items:center;padding:8px 6px;background:#fff;border-radius:6px;margin-bottom:7px;font-size:13px;border:1px solid #d1fae5;}
.ssz-item .name{background:#16a34a;color:#FFEB3B;font-weight:800;padding:3px 7px;border-radius:4px;margin-right:6px;font-size:12px;}
.ssz-item .period{color:#166534;font-weight:700;margin-right:5px;font-size:13px;}
.ssz-item .tag{color:#000;font-weight:700;margin-right:5px;font-size:13px;}
.ssz-item .stable,.ssz-item .author{color:#000;font-weight:400;font-size:13px;}
.img-mod{padding:10px 12px;background:#fff;}
.img-mod img{width:100%;height:auto;display:block;border-radius:8px;border:1.5px solid #000;}
.ad-bar{width:100%;display:block;line-height:0;}
.ad-bar img{width:100%;height:auto;display:block;}
.footer{text-align:center;padding:24px 10px;font-size:12px;color:#9ca3af;}
.ref-section{margin-top:16px;background:#fff;padding:12px;}
.ref-title{text-align:center;font-size:18px;font-weight:800;color:#16a34a;margin:12px 0 8px;padding:8px;background:#f0fdf4;border-radius:6px;}
.promo-list{border:1px solid #86efac;border-radius:8px;overflow:hidden;margin-bottom:16px;}
.promo-item{padding:10px;text-align:center;font-size:14px;font-weight:700;color:#166534;border-bottom:1px solid #bbf7d0;background:#f0fdf4;}
.promo-item:last-child{border-bottom:none;}
.attr-list{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;margin-bottom:12px;}
.attr-item{padding:8px 12px;border-bottom:1px solid #f3f4f6;font-size:13px;color:#333;}
.attr-item:last-child{border-bottom:none;}
.attr-item strong{color:#1e40af;font-weight:700;}
.notice-mask{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.45);z-index:2000;display:flex;align-items:center;justify-content:center;}
.notice-box{width:88%;max-width:360px;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 10px 36px rgba(0,0,0,.28);}
.notice-header{background:#FF5A5F;color:#fff;text-align:center;padding:14px 40px;font-size:18px;font-weight:700;position:relative;letter-spacing:1px;}
.notice-header .close{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:22px;cursor:pointer;opacity:.95;line-height:1;font-weight:400;}
.notice-body{padding:8px 18px 4px;text-align:center;color:#FF1F1F;}
.notice-section{padding:16px 6px;border-bottom:1px solid rgba(0,0,0,.06);}
.notice-section:last-child{border-bottom:none;padding-bottom:14px;}
.notice-title,.notice-zodiac,.notice-nums{
  color:#FF1F1F !important;
  font-weight:400 !important;
  font-style:normal;
  -webkit-font-smoothing:antialiased;
}
.notice-title{font-size:16px;margin:0 0 12px;line-height:1.5;}
.notice-zodiac{font-size:16px;margin:0 0 10px;line-height:1.5;letter-spacing:1px;}
.notice-nums{font-size:16px;margin:0;line-height:1.5;letter-spacing:.3px;}
.notice-footer{border-top:1px solid rgba(0,0,0,.06);text-align:left;padding:14px 20px;font-size:15px;color:#666;font-weight:400;cursor:pointer;background:#fff;}
.notice-footer:active{background:#fafafa;}
.notice-footer:active{background:#fafafa;}
.history-mask{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.45);z-index:999;}
.history-panel{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#f0fdf4;z-index:1000;overflow-y:auto;}
.history-header{position:sticky;top:0;background:#86efac;color:#166534;text-align:center;padding:14px 16px;font-size:18px;font-weight:800;display:flex;align-items:center;justify-content:center;}
.history-header .back{position:absolute;left:14px;font-size:22px;cursor:pointer;}
.history-tabs{display:none !important;}
.pred-mod{margin:14px 10px 0;border-radius:8px;overflow:hidden;border:1px solid #000;}
.pred-header{background:#15803d;color:#FFEB3B;text-align:center;padding:12px 10px;font-size:18px;font-weight:800;}
.pred-site{background:#f0fdf4;padding:10px 12px;text-align:center;font-size:14px;font-weight:600;border-bottom:1px solid #bbf7d0;}
.pred-site .domain{background:#9C27B0;color:#FFEB3B;padding:2px 10px;border-radius:4px;margin-left:6px;font-weight:700;}
.pred-def{background:#f0fdf4;padding:9px 10px;text-align:center;font-size:13px;color:#7B2CBF;font-weight:600;border-bottom:1px solid #d1fae5;line-height:1.5;}
.pred-list{background:#f0fdf4;}
.pred-item{padding:11px 12px;font-size:14px;border-bottom:1px solid #000;background:#f0fdf4;color:#7B2CBF;font-weight:600;line-height:1.55;}
.pred-item:last-child{border-bottom:none;}
.pred-item .period{color:#000;font-weight:700;}
.pred-item .hl{background:#FFFF00;padding:0 3px;border-radius:2px;color:#000;font-weight:700;}
.pred-item .red{color:#e53935;font-weight:700;}
.links-box2{padding:10px;}
.links-box2 .item{background:#f0fdf4;border:1px solid #147c1f;padding:12px 18px;margin-bottom:8px;border-radius:8px;text-align:center;font-size:15px;font-weight:700;color:#147c1f;}
.links-box2 .item a{color:#147c1f;}

/* 图片叠加模块样式 */
.img-overlay-mod{position:relative;width:100%;margin:12px 0;display:block;min-height:120px;overflow:visible;}
.img-overlay-mod>img{width:100%;height:auto;display:block;min-height:80px;}
.img-overlay-mod .ov{position:absolute;z-index:5;color:#000;font-weight:bold;text-align:center;line-height:1.2;white-space:nowrap;pointer-events:none;}
/* 猴王一肖 - 整体下移校准 */
.houwang .ov{color:#000;font-weight:800;text-align:center;line-height:1.15;white-space:nowrap;z-index:2;}
.houwang .qishu{top:18.5%;left:32%;width:36%;font-size:clamp(22px,4.5vw,16px);font-weight:900;letter-spacing:1px;}
.houwang .data-wx{top:21%;left:75%;width:16%;font-size:clamp(23px,5vw,18px);font-weight:900;}
.houwang .data-sx1{top:30.8%;left:7%;width:20%;color:#fff !important;font-size:clamp(25px,8vw,15px);font-weight:900;text-shadow:0 1px 2px rgba(0,0,0,.25);}
.houwang .data-num1{top:32.7%;left:30%;width:16%;font-size:clamp(22px,4.5vw,18px);font-weight:900;color:#111;}
.houwang .data-sx4{top:37.5%;left:48%;width:44%;font-size:clamp(35px,8vw,15px);font-weight:900;letter-spacing:2px;}
.houwang .data-bs{top:47%;left:8%;width:14%;font-size:clamp(30px,8vw,15px);font-weight:900;color:#111;}
.houwang .data-ds{top:47%;left:24%;width:14%;font-size:clamp(30px,8vw,15px);font-weight:900;color:#111;}
.houwang .data-t{top:51.4%;left:48%;width:18%;font-size:clamp(18px,4vw,12px);font-weight:800;color:#111;}
.houwang .data-w{top:51.4%;left:66%;width:18%;font-size:clamp(18px,4vw,12px);font-weight:800;color:#111;}
.houwang .data-num6-1{top:66.5%;left:46%;width:14%;font-size:clamp(18px,4vw,12px);font-weight:900;color:#111;}
.houwang .data-num6-2{top:66.5%;left:63%;width:14%;font-size:clamp(18px,4vw,12px);font-weight:900;color:#111;}
.houwang .data-num6-3{top:66.5%;left:80%;width:14%;font-size:clamp(18px,4vw,12px);font-weight:900;color:#111;}
.houwang .data-num6-4{top:76.8%;left:46%;width:14%;font-size:clamp(18px,4vw,12px);font-weight:900;color:#111;}
.houwang .data-num6-5{top:76.8%;left:63%;width:14%;font-size:clamp(18px,4vw,12px);font-weight:900;color:#111;}
.houwang .data-num6-6{top:76.8%;left:80%;width:14%;font-size:clamp(18px,4vw,12px);font-weight:900;color:#111;}
.houwang .data-old{bottom:8%;left:40%;width:55%;font-size:clamp(16px,4vw,10px);font-weight:700;color:#c53232;text-align:left;}
/* 内幕资料 - 校准：数字紧跟生肖标签右侧 */
.neimu .qishu{top:22%;left:38%;width:24%;font-size:clamp(22px,4.5vw,16px);font-weight:800;}
.neimu .data-bs{top:34%;left:5.6%;width:20%;font-size:clamp(12px,2vw,6px);color:#8B4513;}
.neimu .data-jy{top:34%;left:29%;width:20%;font-size:clamp(12px,2vw,6px);color:#8B4513;}
.neimu .data-ds{top:34%;left:52%;width:20%;font-size:clamp(12px,2vw,6px);color:#8B4513;}
.neimu .data-w{top:34%;left:79%;width:14%;font-size:clamp(12px,2vw,6px);color:#8B4513;}
.neimu .data-sx9{top:44.5%;left:28%;width:60%;text-align:left;font-size:clamp(13px,3vw,10px);color:rgb(15,15,15);}
.neimu .data-sx6{top:49%;left:28%;width:60%;text-align:left;font-size:clamp(13px,3vw,10px);color:rgb(15, 15, 15);}
.neimu .data-sx4{top:52.8%;left:28%;width:60%;text-align:left;font-size:clamp(13px,3vw,10px);color:rgb(15, 15, 15);}
/* 30码：3列x4行，数字在生肖冒号右侧 */
.neimu .data-m301{top:67%;left:15%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(17, 17, 17);}
.neimu .data-m302{top:71%;left:14%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(20, 20, 20);}
.neimu .data-m303{top:74%;left:14%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(22, 22, 22);}
.neimu .data-m304{top:78%;left:14%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(12, 12, 12);}
.neimu .data-m305{top:67%;left:44%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(17, 17, 17);}
.neimu .data-m306{top:71%;left:44%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(14, 13, 13);}
.neimu .data-m307{top:74%;left:44%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(12, 12, 12);}
.neimu .data-m308{top:78%;left:44%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(15, 15, 15);}
.neimu .data-m309{top:67%;left:74%;width:22%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(17, 17, 17);}
.neimu .data-m310{top:71%;left:74%;width:22%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(14, 13, 13);}
.neimu .data-m311{top:74%;left:74%;width:22%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(14, 13, 13);}
.neimu .data-m312{top:78%;left:74%;width:22%;text-align:left;font-size:clamp(12px,2vw,5px);font-weight:600;color:rgb(12, 12, 12);}
.neimu .data-sx12w{top:86%;left:30%;width:22%;text-align:left;font-size:clamp(12px,2vw,5px);color:#000;}
.neimu .data-bsds{top:86%;left:81%;width:22%;text-align:left;font-size:clamp(12px,2vw,5px);color:#000;}
.neimu .data-duan{top:91%;left:30%;width:22%;text-align:left;font-size:clamp(12px,2vw,5px);color:#000;}
.neimu .data-he2{top:91%;left:81%;width:20%;text-align:left;font-size:clamp(12px,2vw,5px);color:#000;}
.neimu .data-s2bt{top:95%;left:30%;width:28%;text-align:left;font-size:clamp(12px,2vw,5px);color:#000;}
.neimu .data-sx2{top:95%;left:81%;width:18%;text-align:left;font-size:clamp(12px,2vw,5px);color:#000;}
/* 正版射牌 - 校准 */
.zhengban .qishu{top:30%;left:30%;width:35%;font-size:clamp(28px,6vw,28px);font-weight:800;}
.zhengban .data-m{top:58%;left:22%;width:14%;font-size:clamp(28px,6vw,28px);color:#fff;font-weight:900;}
.zhengban .data-sx6-1{top:51%;left:16%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
.zhengban .data-sx6-2{top:62%;left:6%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
.zhengban .data-sx6-3{top:83%;left:6%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
.zhengban .data-sx6-4{top:52%;left:34%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
.zhengban .data-sx6-5{top:72%;left:32%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
.zhengban .data-sx6-6{top:88%;left:30%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
.zhengban .data-sx3-1{top:88%;left:48%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
.zhengban .data-sx3-2{top:68%;left:86%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
.zhengban .data-sx3-3{top:83%;left:87%;width:10%;font-size:clamp(12px,2vw,5px);color:#fff;}
/* 龙门鱼跃 - 右侧标签文字（保证可见） */
.longmen{min-height:280px;background:#faf6ef;}
.longmen .ov{text-align:left !important;color:#222 !important;font-weight:700 !important;z-index:6;}
.longmen .qishu{top:20%;left:42%;width:40%;text-align:center !important;font-size:clamp(16px,4vw,16px);color:#c41e12 !important;font-weight:800 !important;}
.longmen .data-bs{top:30%;left:42%;width:55%;font-size:clamp(12px,2vw,8px);}
.longmen .data-t{top:38%;left:42%;width:55%;font-size:clamp(12px,2vw,8px);}
.longmen .data-w{top:46%;left:42%;width:55%;font-size:clamp(12px,2vw,8px);}
.longmen .data-sx{top:54%;left:42%;width:55%;font-size:clamp(12px,2vw,8px);}
.longmen .data-sxpt{top:62%;left:42%;width:55%;font-size:clamp(12px,2vw,8px);}
.longmen .data-zm6{top:70%;left:42%;width:55%;font-size:clamp(12px,2vw,8px);}
.longmen .data-fm6{top:78%;left:42%;width:55%;font-size:clamp(12px,2vw,8px);}
.ad-row{width:100%;line-height:0;}
.ad-row img{width:100%;height:auto;display:block;}
.bottom-imgs{padding:10px;background:#fff;}
.bottom-imgs img{width:100%;height:auto;display:block;margin-bottom:10px;border-radius:6px;}


/* 新彩下半场模块样式（对齐参考图） */
.mod-title-xc{background:#16a34a;color:#FFEB3B;text-align:center;padding:14px 10px 10px;font-size:20px;font-weight:800;letter-spacing:1px;margin-top:12px;border-radius:0;}
.mod-title-ao{background:#2563eb;color:#FFEB3B;text-align:center;padding:14px 10px 10px;font-size:20px;font-weight:800;letter-spacing:1px;margin-top:12px;border-radius:0;}
.mod-title-hk{background:#ea580c;color:#FFEB3B;text-align:center;padding:14px 10px 10px;font-size:20px;font-weight:800;letter-spacing:1px;margin-top:12px;border-radius:0;}
.mod-title .site,.mod-title-xc .site,.mod-title-ao .site,.mod-title-hk .site{display:block;font-size:12px;font-weight:600;margin-top:6px;color:#fff;}
.mod-title .site a,.mod-title-xc .site a,.mod-title-ao .site a,.mod-title-hk .site a{color:#fff;text-decoration:none;}

.mod-title-xc .site{display:block;font-size:14px;color:#333;font-weight:600;margin-top:8px;background:#f0fdf4;padding:8px 0;margin-left:-10px;margin-right:-10px;margin-bottom:-10px;}
.mod-title-xc .site a{background:#7c3aed;color:#FFEB3B;padding:2px 10px;border-radius:4px;margin-left:4px;font-weight:700;}
.info-bar-xc{background:#f0fdf4;padding:8px 10px;font-size:13px;text-align:center;color:#7c3aed;border-bottom:1px solid #e5e7eb;}
.list-xc .item{border-bottom:1px solid #e5e7eb;padding:10px 12px;background:#f0fdf4;}
.list-xc .item .p{font-size:14px;line-height:1.6;color:#7c3aed;}
.list-xc .item .p .period-num{color:#333;font-weight:700;}
.list-xc .hl{background:#FFEB3B;color:#000;padding:0 2px;font-weight:800;}
.list-xc .ok{color:#16a34a;font-weight:700;}
.list-xc .fail{color:#e53935;font-weight:700;}
.list-xc .num-p{color:#7c3aed;font-weight:700;}
.list-xc .red-txt{color:#e53935;}


/* 叠加文字显示在空白底图上 */
.img-overlay-mod .ov{display:block;}


.history-list{padding:12px 10px 24px;}
.history-item{background:#fff;border:1px solid #bbf7d0;border-radius:10px;padding:12px;margin-bottom:10px;box-shadow:0 1px 3px rgba(0,0,0,.04);}
.history-item .hi-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px;}
.history-item .hi-period{font-weight:800;color:#166534;font-size:15px;}
.history-item .hi-time{color:#6b7280;font-size:12px;}
.history-item .hi-balls{display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.history-item .hi-ball{width:36px;height:36px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:13px;line-height:1.1;}
.history-item .hi-ball small{font-size:9px;font-weight:600;opacity:.95;}
.history-item .hi-ball.red{background:linear-gradient(145deg,#ef4444,#b91c1c);}
.history-item .hi-ball.blue{background:linear-gradient(145deg,#3b82f6,#1d4ed8);}
.history-item .hi-ball.green{background:linear-gradient(145deg,#22c55e,#15803d);}
.history-item .hi-plus{color:#9ca3af;font-weight:700;margin:0 2px;}
.hi-balls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;}
.hi-ball{text-align:center;}
/* old hi-num css moved to unified block */

.hi-plus{font-weight:700;color:#666;padding:0 2px;}
.hi-period{font-weight:700;color:#333;margin-bottom:4px;}
.hi-time{font-size:12px;color:#888;}
.history-empty{text-align:center;color:#6b7280;padding:40px 16px;font-size:14px;}
.history-loading{text-align:center;color:#16a34a;padding:40px 16px;}
.history-tabs{display:flex;gap:8px;padding:10px;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:50px;z-index:2;}
.history-tabs button{flex:1;padding:8px;border:1px solid #86efac;background:#f0fdf4;color:#166534;border-radius:8px;font-weight:700;cursor:pointer;}
.history-tabs button.active{background:#16a34a;color:#fff;border-color:#16a34a;}


/* ===== 开奖栏（对照对方 open-qiu-box / qiu / text）===== */
.draw-area, .open-qiu-box, [id^="draw-"], .result-box {
  background: #F2FFE3;
}
#panel-aomen .draw-wrap,
#panel-xincai .draw-wrap,
#panel-aocai .draw-wrap,
#panel-gangcai .draw-wrap {
  background: #F2FFE3;
  padding: 9px 10px 12px;
  border-radius: 12px;
}
.balls, [id^="balls-"] {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  padding: 9px 0 0;
}
.ball {
  flex: 1;
  text-align: center;
  min-width: 0;
  padding: 4px 0 0;
}
.ball .num {
  display: block;
  width: 34px;
  height: 34px;
  line-height: 24px;
  margin: 0 auto 4px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #000;
  border: 4px solid #ccc;
  box-sizing: border-box;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -2px 3px rgba(0,0,0,0.08),
    0 2px 4px rgba(0,0,0,0.12);
}
.ball .info {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #000;
  font-weight: 500;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
}
.ball .num.red {
  color: #000; border-color: #e53935; background: #fff;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    inset 0 -1px 2px rgba(229,57,53,0.15),
    0 0 0 1px rgba(229,57,53,0.25),
    0 2px 5px rgba(229,57,53,0.35);
}
.ball .num.blue {
  color: #000; border-color: #1e88e5; background: #fff;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    inset 0 -1px 2px rgba(30,136,229,0.15),
    0 0 0 1px rgba(30,136,229,0.25),
    0 2px 5px rgba(30,136,229,0.35);
}
.ball .num.green {
  color: #000; border-color: #43a047; background: #fff;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    inset 0 -1px 2px rgba(67,160,71,0.15),
    0 0 0 1px rgba(67,160,71,0.25),
    0 2px 5px rgba(67,160,71,0.35);
}
.ball.special .num {
  border-color: #1e88e5;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    0 0 0 2px #90caf9,
    0 2px 5px rgba(30,136,229,0.4);
}

/* ===== 历史记录（对照对方历史 open-qiu-box，球更大）===== */
.history-item {
  background: #F2FFE3;
  margin: 11px 10px 0;
  padding: 11px 12px;
  border-radius: 10px;
  border-bottom: none;
}
.hi-period {
  font-size: 13.5px;
  color: #666;
  font-weight: 500;
  margin-bottom: 6px;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
.hi-time {
  font-size: 13px;
  color: #666;
  float: right;
}
.hi-balls {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-top: 8px;
  padding-top: 4px;
  clear: both;
}
.hi-ball {
  flex: 1;
  text-align: center;
  min-width: 0;
  padding: 5px 0 0;
}
.hi-num {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 30px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #000;
  border: 5px solid #ccc;
  box-sizing: border-box;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -2px 3px rgba(0,0,0,0.08),
    0 2px 5px rgba(0,0,0,0.12);
}
.hi-num.red {
  color: #000; border-color: #e53935; background: #fff;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    0 0 0 1px rgba(229,57,53,0.25),
    0 2px 6px rgba(229,57,53,0.35);
}
.hi-num.blue {
  color: #000; border-color: #1e88e5; background: #fff;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    0 0 0 1px rgba(30,136,229,0.25),
    0 2px 6px rgba(30,136,229,0.35);
}
.hi-num.green {
  color: #000; border-color: #43a047; background: #fff;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    0 0 0 1px rgba(67,160,71,0.25),
    0 2px 6px rgba(67,160,71,0.35);
}
.hi-sx {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  color: #000;
  font-weight: 500;
  margin-top: 4px;
  white-space: nowrap;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
.hi-ball.special .hi-num {
  box-shadow: 0 0 0 2px #90caf9;
  border-color: #1e88e5;
}
.hi-plus {
  font-weight: 700;
  color: #666;
  padding: 8px 2px 0;
  font-size: 16px;
  align-self: center;
}


.draw-box{
  background:#F2FFE3 !important;
  padding:9px 10px 12px !important;
  border-radius:12px;
}
.draw-box .balls{padding-top:9px;}
.draw-box .ball .num{
  width:34px;height:34px;line-height:24px;font-size:15px;
  color:#000 !important;background:#fff !important;
  border-width:4px;border-style:solid;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -2px 3px rgba(0,0,0,0.08),
    0 2px 4px rgba(0,0,0,0.12);
}
.draw-box .ball .num.red{
  border-color:#e53935 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    inset 0 -1px 2px rgba(229,57,53,0.15),
    0 0 0 1px rgba(229,57,53,0.25),
    0 2px 5px rgba(229,57,53,0.35);
}
.draw-box .ball .num.blue{
  border-color:#1e88e5 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    inset 0 -1px 2px rgba(30,136,229,0.15),
    0 0 0 1px rgba(30,136,229,0.25),
    0 2px 5px rgba(30,136,229,0.35);
}
.draw-box .ball .num.green{
  border-color:#43a047 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.9),
    inset 0 -1px 2px rgba(67,160,71,0.15),
    0 0 0 1px rgba(67,160,71,0.25),
    0 2px 5px rgba(67,160,71,0.35);
}
.draw-box .ball .info{font-size:12px;color:#000 !important;font-weight:500;}


/* 开奖球：实心波色底 + 白字（对照 zhibo 开奖展示） */
.draw-box .ball .num,
.ball .num {
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  margin: 0 auto 4px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #fff !important;
  border: none !important;
  box-sizing: border-box;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    inset 0 -2px 4px rgba(0,0,0,0.12),
    0 2px 5px rgba(0,0,0,0.15);
}
.draw-box .ball .num.red,
.ball .num.red {
  background: #e53935 !important;
  color: #fff !important;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    0 2px 6px rgba(229,57,53,0.4);
}
.draw-box .ball .num.blue,
.ball .num.blue {
  background: #1e88e5 !important;
  color: #fff !important;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    0 2px 6px rgba(30,136,229,0.4);
}
.draw-box .ball .num.green,
.ball .num.green {
  background: #43a047 !important;
  color: #fff !important;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    0 2px 6px rgba(67,160,71,0.4);
}
.ball.special .num {
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    0 0 0 2px #90caf9,
    0 2px 6px rgba(30,136,229,0.45);
}
.draw-box .ball .info,
.ball .info {
  font-size: 12px;
  color: #000 !important;
  font-weight: 500;
}

/* 历史同样实心彩球白字 */
.hi-num {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #fff !important;
  border: none !important;
  box-sizing: border-box;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    0 2px 5px rgba(0,0,0,0.15);
}
.hi-num.red {
  background: #e53935 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 6px rgba(229,57,53,0.4);
}
.hi-num.blue {
  background: #1e88e5 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 6px rgba(30,136,229,0.4);
}
.hi-num.green {
  background: #43a047 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 6px rgba(67,160,71,0.4);
}
.hi-sx {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}


/* ===== 卡片圆环样式（历史 + 开奖栏）===== */
.history-item {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  margin: 10px 12px;
  padding: 12px 10px 14px;
  box-shadow: none;
}
.hi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 4px;
}
.hi-period {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  float: none;
}
.hi-time {
  font-size: 13px;
  color: #888;
  float: none;
  margin: 0;
}
.hi-balls {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.hi-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  padding: 8px 2px 6px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.hi-card.special {
  box-shadow: 0 0 0 2px #42a5f5;
  border-radius: 10px;
}
.hi-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 28px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  background: #fff !important;
  border: 4px solid #ccc;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 1px 3px rgba(0,0,0,0.08);
}
.hi-num.red {
  color: #e53935 !important;
  border-color: #e53935 !important;
  background: #fff !important;
}
.hi-num.blue {
  color: #1e88e5 !important;
  border-color: #1e88e5 !important;
  background: #fff !important;
}
.hi-num.green {
  color: #43a047 !important;
  border-color: #43a047 !important;
  background: #fff !important;
}
.hi-sx {
  display: block;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  margin-top: 4px;
  white-space: nowrap;
  line-height: 1.2;
}
.hi-plus { display: none; }

/* 开奖栏同样圆环彩边 + 彩色数字 */
.draw-box .ball .num,
.ball .num {
  display: block;
  width: 34px;
  height: 34px;
  line-height: 26px;
  margin: 0 auto 4px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  background: #fff !important;
  border: 4px solid #ccc !important;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 1px 3px rgba(0,0,0,0.1);
}
.draw-box .ball .num.red,
.ball .num.red {
  color: #e53935 !important;
  border-color: #e53935 !important;
  background: #fff !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 1px 4px rgba(229,57,53,0.25);
}
.draw-box .ball .num.blue,
.ball .num.blue {
  color: #1e88e5 !important;
  border-color: #1e88e5 !important;
  background: #fff !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 1px 4px rgba(30,136,229,0.25);
}
.draw-box .ball .num.green,
.ball .num.green {
  color: #43a047 !important;
  border-color: #43a047 !important;
  background: #fff !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 1px 4px rgba(67,160,71,0.25);
}
.ball.special .num {
  box-shadow: 0 0 0 2px #90caf9, 0 1px 4px rgba(30,136,229,0.3) !important;
}
.draw-box .ball .info,
.ball .info {
  font-size: 12px;
  color: #333 !important;
  font-weight: 500;
}


/* 开奖球：彩边 + 白心 + 黑字 */
.draw-box .ball .num,
.ball .num {
  display: block;
  width: 34px;
  height: 34px;
  line-height: 26px;
  margin: 0 auto 4px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #fff !important;
  color: #111 !important;
  border: 4px solid #ccc;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 2px 4px rgba(0,0,0,0.12);
}
.draw-box .ball .num.red,
.ball .num.red {
  background: #fff !important;
  color: #111 !important;
  border-color: #e53935 !important;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 0 0 1px rgba(229,57,53,0.2),
    0 2px 5px rgba(229,57,53,0.3);
}
.draw-box .ball .num.blue,
.ball .num.blue {
  background: #fff !important;
  color: #111 !important;
  border-color: #1e88e5 !important;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 0 0 1px rgba(30,136,229,0.2),
    0 2px 5px rgba(30,136,229,0.3);
}
.draw-box .ball .num.green,
.ball .num.green {
  background: #fff !important;
  color: #111 !important;
  border-color: #43a047 !important;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 0 0 1px rgba(67,160,71,0.2),
    0 2px 5px rgba(67,160,71,0.3);
}
.ball.special .num {
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 0 0 2px #90caf9,
    0 2px 5px rgba(30,136,229,0.35);
}
.draw-box .ball .info,
.ball .info {
  font-size: 12px;
  color: #000 !important;
  font-weight: 500;
}

/* 历史：每期边框卡片 + 同款球 + 日期右对齐 */
.history-item {
  background: #F2FFE3;
  margin: 10px 10px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #c8e6c9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
}
.hi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.hi-period {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  margin-bottom: 0;
  float: none;
}
.hi-time {
  font-size: 13px;
  color: #666;
  float: none;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}
.hi-balls {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-top: 4px;
  clear: both;
}
.hi-ball {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.hi-num {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 28px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #fff !important;
  color: #111 !important;
  border: 4px solid #ccc;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.9),
    0 2px 4px rgba(0,0,0,0.1);
}
.hi-num.red {
  background: #fff !important;
  color: #111 !important;
  border-color: #e53935 !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 0 0 1px rgba(229,57,53,0.2), 0 2px 5px rgba(229,57,53,0.28);
}
.hi-num.blue {
  background: #fff !important;
  color: #111 !important;
  border-color: #1e88e5 !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 0 0 1px rgba(30,136,229,0.2), 0 2px 5px rgba(30,136,229,0.28);
}
.hi-num.green {
  background: #fff !important;
  color: #111 !important;
  border-color: #43a047 !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 0 0 1px rgba(67,160,71,0.2), 0 2px 5px rgba(67,160,71,0.28);
}
.hi-sx {
  display: block;
  font-size: 13px;
  color: #000;
  font-weight: 500;
  margin-top: 3px;
  white-space: nowrap;
}
.hi-plus {
  font-weight: 700;
  color: #666;
  padding: 6px 2px 0;
  font-size: 15px;
  align-self: center;
}
.hi-ball.special .hi-num {
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 0 0 2px #90caf9, 0 2px 5px rgba(30,136,229,0.35);
}


/* ===== 统一球：实心波色 + 白字（对照图3）===== */
.draw-box .ball .num,
.ball .num {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  margin: 0 auto 4px !important;
  border-radius: 50% !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
  color: #fff !important;
  border: none !important;
  box-sizing: border-box !important;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    inset 0 -2px 3px rgba(0,0,0,0.12),
    0 2px 5px rgba(0,0,0,0.15) !important;
}
.draw-box .ball .num.red,
.ball .num.red {
  background: #e53935 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 6px rgba(229,57,53,0.4) !important;
}
.draw-box .ball .num.blue,
.ball .num.blue {
  background: #1e88e5 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 6px rgba(30,136,229,0.4) !important;
}
.draw-box .ball .num.green,
.ball .num.green {
  background: #43a047 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 6px rgba(67,160,71,0.4) !important;
}
.ball.special .num {
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 0 0 2px #90caf9, 0 2px 6px rgba(30,136,229,0.45) !important;
}
.draw-box .ball .info,
.ball .info {
  font-size: 12px !important;
  color: #000 !important;
  font-weight: 500 !important;
}

/* ===== 历史：每期卡片 + 每个号码圆角小卡片（对照图2）===== */
.history-item {
  background: #F2FFE3 !important;
  margin: 10px 10px 0 !important;
  padding: 12px 10px !important;
  border-radius: 12px !important;
  border: 1px solid #c8e6c9 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
.hi-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 10px !important;
}
.hi-period {
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
.hi-time {
  font-size: 13px !important;
  color: #888 !important;
  margin: 0 !important;
  text-align: right !important;
}
.hi-balls {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-top: 0 !important;
}
.hi-ball {
  flex: 1 !important;
  text-align: center !important;
  min-width: 0 !important;
  background: #fff !important;
  border-radius: 10px !important;
  padding: 8px 2px 6px !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}
.hi-ball.special {
  border-color: #90caf9 !important;
  box-shadow: 0 0 0 1px #90caf9, 0 1px 3px rgba(30,136,229,0.15) !important;
}
.hi-num {
  display: inline-block !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  border-radius: 50% !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
  color: #fff !important;
  border: none !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 4px rgba(0,0,0,0.12) !important;
}
.hi-num.red {
  background: #e53935 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 5px rgba(229,57,53,0.35) !important;
}
.hi-num.blue {
  background: #1e88e5 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 5px rgba(30,136,229,0.35) !important;
}
.hi-num.green {
  background: #43a047 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.35), 0 2px 5px rgba(67,160,71,0.35) !important;
}
.hi-sx {
  display: block !important;
  font-size: 12px !important;
  color: #000 !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
}
.hi-plus {
  display: flex !important;
  align-items: center !important;
  font-weight: 700 !important;
  color: #666 !important;
  font-size: 16px !important;
  padding: 0 2px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* ===== 空心球：彩边 + 白心 + 黑字（开奖栏+历史统一，对照参考图二）===== */
.draw-box .ball .num,
.ball .num {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 28px !important;
  margin: 0 auto 4px !important;
  border-radius: 50% !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
  background: #fff !important;
  color: #111 !important;
  border: 4px solid #ccc !important;
  box-sizing: border-box !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -1px 2px rgba(0,0,0,0.06),
    0 2px 5px rgba(0,0,0,0.12) !important;
}
.draw-box .ball .num.red,
.ball .num.red {
  background: #fff !important;
  color: #111 !important;
  border-color: #e53935 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(229,57,53,0.15),
    0 2px 6px rgba(229,57,53,0.28) !important;
}
.draw-box .ball .num.blue,
.ball .num.blue {
  background: #fff !important;
  color: #111 !important;
  border-color: #1e88e5 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(30,136,229,0.15),
    0 2px 6px rgba(30,136,229,0.28) !important;
}
.draw-box .ball .num.green,
.ball .num.green {
  background: #fff !important;
  color: #111 !important;
  border-color: #43a047 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(67,160,71,0.15),
    0 2px 6px rgba(67,160,71,0.28) !important;
}
.ball.special .num {
  /* 特码球波色由 .red/.blue/.green 决定，不额外套蓝框 */
}
.draw-box .ball .info,
.ball .info {
  font-size: 12px !important;
  color: #000 !important;
  font-weight: 500 !important;
}

/* 历史：期卡片 + 每号圆角白卡 + 空心球 */
.history-item {
  background: #F2FFE3 !important;
  margin: 10px 10px 0 !important;
  padding: 12px 10px 14px !important;
  border-radius: 12px !important;
  border: 1px solid #a5d6a7 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}
.hi-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 10px !important;
}
.hi-period {
  font-size: 14px !important;
  color: #555 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}
.hi-time {
  font-size: 13px !important;
  color: #888 !important;
  margin: 0 !important;
  text-align: right !important;
}
.hi-balls {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 5px !important;
}
.hi-ball {
  flex: 1 !important;
  text-align: center !important;
  min-width: 0 !important;
  background: #fff !important;
  border-radius: 10px !important;
  padding: 8px 2px 6px !important;
  border: 1px solid #e8e8e8 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}
.hi-ball.special {
  border: 2px solid #42a5f5 !important;
  box-shadow: 0 0 0 1px rgba(66,165,245,0.25), 0 1px 3px rgba(30,136,229,0.12) !important;
}
.hi-num {
  display: inline-block !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 28px !important;
  border-radius: 50% !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
  background: #fff !important;
  color: #111 !important;
  border: 4px solid #ccc !important;
  box-sizing: border-box !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -1px 2px rgba(0,0,0,0.06),
    0 2px 4px rgba(0,0,0,0.1) !important;
}
.hi-num.red {
  background: #fff !important;
  color: #111 !important;
  border-color: #e53935 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(229,57,53,0.12),
    0 2px 5px rgba(229,57,53,0.25) !important;
}
.hi-num.blue {
  background: #fff !important;
  color: #111 !important;
  border-color: #1e88e5 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(30,136,229,0.12),
    0 2px 5px rgba(30,136,229,0.25) !important;
}
.hi-num.green {
  background: #fff !important;
  color: #111 !important;
  border-color: #43a047 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(67,160,71,0.12),
    0 2px 5px rgba(67,160,71,0.25) !important;
}
.hi-sx {
  display: block !important;
  font-size: 12px !important;
  color: #000 !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
}
.hi-plus {
  display: flex !important;
  align-items: center !important;
  font-weight: 700 !important;
  color: #666 !important;
  font-size: 16px !important;
  padding: 0 1px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* 历史布局：球完整落在卡片内 */
.history-item {
  background: #F2FFE3 !important;
  margin: 10px 10px 0 !important;
  padding: 12px 10px 12px !important;
  border-radius: 12px !important;
  border: 1px solid #a5d6a7 !important;
  overflow: hidden !important;
}
.hi-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 10px !important;
  padding: 0 2px !important;
}
.hi-period {
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 600 !important;
}
.hi-time {
  font-size: 13px !important;
  color: #888 !important;
  text-align: right !important;
}
.hi-balls {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.hi-ball {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  text-align: center !important;
  background: #fff !important;
  border-radius: 10px !important;
  padding: 6px 2px 5px !important;
  border: 1px solid #e0e0e0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
.hi-ball.special {
  border: 2px solid #42a5f5 !important;
}
.hi-num {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 24px !important;
  margin: 0 auto !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  background: #fff !important;
  color: #111 !important;
  border: 3px solid #ccc !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}
.hi-num.red { border-color: #e53935 !important; background: #fff !important; color: #111 !important; }
.hi-num.blue { border-color: #1e88e5 !important; background: #fff !important; color: #111 !important; }
.hi-num.green { border-color: #43a047 !important; background: #fff !important; color: #111 !important; }
.hi-sx {
  display: block !important;
  font-size: 11px !important;
  color: #000 !important;
  margin-top: 3px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}
.hi-plus {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  font-weight: 700 !important;
  color: #666 !important;
  font-size: 14px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}


/* 历史球 = 开奖栏同一套空心彩边白心黑字，无单独小卡片外壳 */
.history-item {
  background: #F2FFE3 !important;
  margin: 10px 10px 0 !important;
  padding: 12px 12px 14px !important;
  border-radius: 12px !important;
  border: 1px solid #a5d6a7 !important;
}
.hi-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 10px !important;
}
.hi-period {
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
.hi-time {
  font-size: 13px !important;
  color: #888 !important;
  margin: 0 !important;
}
.hi-balls {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 4px !important;
  padding: 4px 0 0 !important;
  background: transparent !important;
}
.hi-ball {
  flex: 1 !important;
  text-align: center !important;
  min-width: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: block !important;
}
.hi-ball.special {
  border: none !important;
  box-shadow: none !important;
}
.hi-num {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 28px !important;
  margin: 0 auto 4px !important;
  border-radius: 50% !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
  background: #fff !important;
  color: #111 !important;
  border: 4px solid #ccc !important;
  box-sizing: border-box !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -1px 2px rgba(0,0,0,0.06),
    0 2px 5px rgba(0,0,0,0.12) !important;
}
.hi-num.red {
  background: #fff !important;
  color: #111 !important;
  border-color: #e53935 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(229,57,53,0.15),
    0 2px 6px rgba(229,57,53,0.28) !important;
}
.hi-num.blue {
  background: #fff !important;
  color: #111 !important;
  border-color: #1e88e5 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(30,136,229,0.15),
    0 2px 6px rgba(30,136,229,0.28) !important;
}
.hi-num.green {
  background: #fff !important;
  color: #111 !important;
  border-color: #43a047 !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 0 0 1px rgba(67,160,71,0.15),
    0 2px 6px rgba(67,160,71,0.28) !important;
}
.hi-ball.special .hi-num {
  /* 特码波色随号码红蓝绿 */
}
.hi-sx {
  display: block !important;
  font-size: 12px !important;
  color: #000 !important;
  font-weight: 500 !important;
  margin-top: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
.hi-plus {
  flex: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  color: #666 !important;
  font-size: 15px !important;
  padding-top: 8px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* 历史：与开奖栏球一致 + 每号独立白卡片 + 生肖/五行 */
.history-item {
  background: #F2FFE3 !important;
  margin: 10px 10px 0 !important;
  padding: 12px 10px 14px !important;
  border-radius: 12px !important;
  border: 1px solid #a5d6a7 !important;
}
.hi-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 10px !important;
}
.hi-period {
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 600 !important;
}
.hi-time {
  font-size: 13px !important;
  color: #888 !important;
}
.hi-balls {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 5px !important;
  width: 100% !important;
}
.hi-ball {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  text-align: center !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  border: 1px solid #e5e5e5 !important;
  padding: 8px 2px 6px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}
.hi-ball.special {
  /* 特码卡片边框不强制蓝色，与普通号一致，波色只体现在球上 */
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
.hi-num {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 26px !important;
  margin: 0 auto !important;
  border-radius: 50% !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  background: #fff !important;
  color: #111 !important;
  border: 4px solid #ccc !important;
  box-sizing: border-box !important;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    0 2px 4px rgba(0,0,0,0.1) !important;
}
.hi-num.red {
  border-color: #e53935 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.95), 0 0 0 1px rgba(229,57,53,0.15), 0 2px 5px rgba(229,57,53,0.25) !important;
}
.hi-num.blue {
  border-color: #1e88e5 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.95), 0 0 0 1px rgba(30,136,229,0.15), 0 2px 5px rgba(30,136,229,0.25) !important;
}
.hi-num.green {
  border-color: #43a047 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.95), 0 0 0 1px rgba(67,160,71,0.15), 0 2px 5px rgba(67,160,71,0.25) !important;
}
.hi-sx {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  color: #000 !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
}
.hi-plus {
  flex: 0 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  color: #666 !important;
  font-size: 15px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: 14px !important;
}

/* 开奖栏也给每个球独立白卡片，与历史一致 */
.draw-box .balls {
  display: flex !important;
  gap: 5px !important;
  align-items: stretch !important;
}
.draw-box .ball {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  border: 1px solid #e5e5e5 !important;
  padding: 8px 2px 6px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  box-sizing: border-box !important;
}
.draw-box .ball.special {
  border: 1px solid #e5e5e5 !important;
}
.draw-box .ball .num {
  width: 34px !important;
  height: 34px !important;
  line-height: 26px !important;
  font-size: 15px !important;
  background: #fff !important;
  color: #111 !important;
  border: 4px solid #ccc !important;
}
.draw-box .ball .num.red { border-color: #e53935 !important; color: #111 !important; background: #fff !important; }
.draw-box .ball .num.blue { border-color: #1e88e5 !important; color: #111 !important; background: #fff !important; }
.draw-box .ball .num.green { border-color: #43a047 !important; color: #111 !important; background: #fff !important; }
.draw-box .ball .info {
  display: block !important;
  font-size: 12px !important;
  color: #000 !important;
  margin-top: 4px !important;
}


/* 特码不强制蓝框：卡片与球均按波色 class */
.draw-box .ball.special,
.hi-ball.special {
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
.ball.special .num.red,
.hi-ball.special .hi-num.red {
  border-color: #e53935 !important;
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.95), 0 0 0 1px rgba(229,57,53,0.15), 0 2px 5px rgba(229,57,53,0.25) !important;
}
.ball.special .num.blue,
.hi-ball.special .hi-num.blue {
  border-color: #1e88e5 !important;
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.95), 0 0 0 1px rgba(30,136,229,0.15), 0 2px 5px rgba(30,136,229,0.25) !important;
}
.ball.special .num.green,
.hi-ball.special .hi-num.green {
  border-color: #43a047 !important;
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.95), 0 0 0 1px rgba(67,160,71,0.15), 0 2px 5px rgba(67,160,71,0.25) !important;
}


/* 历史强制与开奖栏一致：白卡片 + 空心球 + 生肖五行 */
#historyList .history-item {
  background: #F2FFE3 !important;
  margin: 10px 8px 0 !important;
  padding: 12px 8px 12px !important;
  border-radius: 12px !important;
  border: 1px solid #a5d6a7 !important;
}
#historyList .hi-head {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}
#historyList .hi-period { font-size: 14px; color: #333; font-weight: 600; }
#historyList .hi-time { font-size: 13px; color: #888; }
#historyList .hi-balls {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 4px !important;
}
#historyList .hi-ball {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 6px 1px 5px !important;
  text-align: center !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}
#historyList .hi-num {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 24px !important;
  margin: 0 auto !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  background: #fff !important;
  color: #111 !important;
  border: 3px solid #999 !important;
  box-sizing: border-box !important;
}
#historyList .hi-num.red { border-color: #e53935 !important; color: #111 !important; background: #fff !important; }
#historyList .hi-num.blue { border-color: #1e88e5 !important; color: #111 !important; background: #fff !important; }
#historyList .hi-num.green { border-color: #43a047 !important; color: #111 !important; background: #fff !important; }
#historyList .hi-sx {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 14px !important;
  margin-top: 3px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  color: #000 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}
#historyList .hi-plus {
  flex: 0 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  color: #666 !important;
  font-size: 14px !important;
  padding-top: 10px !important;
  background: none !important;
  border: none !important;
}


/* ===== 摇号样式：同步官网开奖中（与参考图一致） ===== */
.ball.rolling-ball{
  background:#fff !important;
  border:1.5px solid #e5e7eb !important;
  border-radius:8px !important;
  padding:5px 2px 4px !important;
  box-shadow:0 1px 2px rgba(0,0,0,.06) !important;
}
.ball.rolling-ball.special{
  border:1.5px solid #e5e7eb !important;
  box-shadow:0 1px 2px rgba(0,0,0,.06) !important;
}
.ball.rolling-ball .num,
.ball.rolling-ball .num.rolling,
.ball .num.rolling{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:40px !important;
  height:40px !important;
  margin:0 auto 2px !important;
  border-radius:6px !important;
  border:none !important;
  background:#B0D386 !important;
  color:#000 !important;
  font-size:18px !important;
  font-weight:700 !important;
  font-family:"PingFang SC","Microsoft YaHei",sans-serif !important;
  line-height:1 !important;
  box-shadow:none !important;
}
.ball.rolling-ball .info{
  display:block !important;
  color:#000 !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.2 !important;
  text-align:center !important;
}


/* ===== 开奖后准/错/开号 统一颜色（对照参考图） ===== */
.item .ok,
.list .ok,
.ok {
  color: #FF6D00 !important;
  font-weight: 700 !important;
}
.item .fail,
.list .fail,
.fail {
  color: #FF6D00 !important;
  font-weight: 700 !important;
}
.item .num-p,
.list .num-p,
.num-p {
  color: #9C27B0 !important;
  font-weight: 700 !important;
}
.item .period-num,
.list .period-num,
.period-num {
  color: #2E7D32 !important;
  font-weight: 700 !important;
}
.item .hl,
.list .hl,
.hl {
  background: #FFFF00 !important;
  color: #000 !important;
  padding: 1px 6px !important;
  border-radius: 3px !important;
  font-weight: 700 !important;
}


.float-refresh{position:fixed;right:10px;bottom:118px;z-index:1800;width:52px;height:52px;border-radius:50%;background:#22c55e;color:#fff;border:2px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.25);font-size:13px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.float-refresh:active{transform:scale(.94);background:#16a34a;}
