/* 参考站风格的最终覆盖层。独立文件用于避免旧主题缓存。 */
html { background: #eee !important; }
body {
    max-width: 760px !important;
    margin: 0 auto !important;
    color: #4b4b4b !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
}

.header,
.header.index-header {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.header .logo-box {
    min-height: 76px !important;
    height: auto !important;
    padding: 7px 12px 6px !important;
    background: linear-gradient(90deg, #fff 0%, #fff 65%, #fff9e7 100%) !important;
    border-bottom: 3px solid #d71920 !important;
}

.site-brand {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}

.site-brand::before {
    content: "澳" !important;
    display: grid !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
    color: #fff6a8 !important;
    background: #d71920 !important;
    border: 3px double #e6b63e !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    place-items: center !important;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
    font-size: 27px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.site-brand-title {
    color: #e60012 !important;
    font-size: 36px !important;
    line-height: 1 !important;
    letter-spacing: -2px !important;
}

.site-brand-edition {
    display: inline-block !important;
    margin-left: 5px !important;
    padding: 2px 4px !important;
    color: #8d5c00 !important;
    background: #ffea45 !important;
    border: 1px solid #dcbd1c !important;
    font-size: 13px !important;
    font-style: normal !important;
    vertical-align: top !important;
}

.site-brand-subtitle {
    margin-top: 5px !important;
    color: #5f5f5f !important;
    font-size: 13px !important;
    letter-spacing: 3px !important;
}

.primary-domain {
    padding: 7px 10px 6px !important;
    color: #d71920 !important;
    background: #fff4c7 !important;
    border: 1px solid #dbb441 !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
}

.primary-domain::before {
    content: "官方入口" !important;
    display: block !important;
    margin-bottom: 3px !important;
    color: #555 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-align: center !important;
}

.subnav {
    background: #fff !important;
    border: 1px solid #7aa9dc !important;
    border-bottom: 1px solid #7aa9dc !important;
}

.subnav .hhh { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

.subnav a {
    width: auto !important;
    min-height: 41px !important;
    color: #242424 !important;
    background: #fff !important;
    border-right: 1px solid #7aa9dc !important;
    border-bottom: 1px solid #7aa9dc !important;
    font-size: 14px !important;
}

.subnav a:nth-child(3n) { border-right: 0 !important; }
.subnav a:nth-child(-n + 3) { color: #fff !important; background: #4d94e8 !important; }
.subnav a:nth-child(n + 4) { border-bottom: 0 !important; }

.hero-poster {
    margin: 6px 0 0 !important;
    background: #fff !important;
    border: 0 !important;
}

.hero-poster img {
    width: 100% !important;
    max-height: 340px !important;
    object-fit: cover !important;
    object-position: center top !important;
}
.hero-caption {
    display: block !important;
    padding: 8px 10px !important;
    color: #333 !important;
    background: #fff83d !important;
    border-top: 1px solid #e5d900 !important;
    border-bottom: 1px solid #e5d900 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-align: center !important;
}
.hero-caption strong { color: #e60012 !important; font-size: 16px !important; }
.hero-caption span { margin-left: 18px !important; color: #555 !important; }

/* 鲜艳、直接的传统彩票宣传横幅。 */
.lottery-promo {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 62% 38% !important;
    min-height: 226px !important;
    margin: 7px 0 !important;
    overflow: hidden !important;
    background: linear-gradient(115deg, #fff75b 0%, #f5ffb9 48%, #b5f06d 100%) !important;
    border: 3px solid #45a935 !important;
}

.lottery-promo-copy {
    position: relative !important;
    z-index: 2 !important;
    padding: 18px 8px 16px 22px !important;
    text-align: left !important;
}

.lottery-promo-kicker {
    color: #d71920 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
}

.lottery-promo-title {
    margin-top: 2px !important;
    color: #11912d !important;
    font-size: 50px !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
    letter-spacing: -4px !important;
    text-shadow: 2px 2px 0 #fff !important;
}

.lottery-promo-title b { color: #f11919 !important; }
.lottery-promo-subtitle { margin-top: 4px !important; color: #111 !important; font-size: 25px !important; font-weight: 900 !important; }
.lottery-promo-domain {
    display: inline-block !important;
    margin-top: 9px !important;
    padding: 7px 10px !important;
    color: #111 !important;
    background: #fff !important;
    border: 2px solid #ef2119 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}
.lottery-promo-domain strong { color: #e60012 !important; font-size: 22px !important; }
.lottery-promo > img {
    width: 100% !important;
    height: 100% !important;
    min-height: 226px !important;
    object-fit: cover !important;
    object-position: center 24% !important;
    border-left: 4px solid #fff !important;
}
.lottery-promo-balls { position: absolute !important; right: 34% !important; bottom: 7px !important; z-index: 3 !important; }
.lottery-promo-balls i {
    display: inline-grid !important;
    width: 33px !important;
    height: 33px !important;
    margin-left: -8px !important;
    color: #fff !important;
    background: #1577d4 !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 2px #333 !important;
    place-items: center !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 900 !important;
}
.lottery-promo-balls i:nth-child(2) { background: #e72824 !important; }
.lottery-promo-balls i:nth-child(3) { background: #26a34b !important; }

.nav {
    margin: 6px 0 0 !important;
    border: 1px solid #89add3 !important;
    border-top: 1px solid #89add3 !important;
}

.riqi {
    padding: 6px 8px !important;
    color: #333 !important;
    background: #fff9bd !important;
    border: 1px solid #e9df52 !important;
}

.section-jump,
.domain-directory { margin: 7px 0 !important; border: 1px solid #90b3dc !important; }

.section-jump-title,
.domain-directory-title {
    color: #fff !important;
    background: #4d94e8 !important;
    border: 0 !important;
    border-bottom: 1px solid #286ebf !important;
}

.domain-directory { background: #fff !important; }
.domain-directory a {
    color: #e60012 !important;
    background: #fffbd0 !important;
    border-right: 1px solid #dccf5d !important;
}

.promo-additions { margin: 8px 0 !important; }

.dark-domain-ad {
    padding: 17px 14px 20px !important;
    color: #fff !important;
    background: #030303 !important;
    border: 4px solid #ffe42b !important;
    text-align: center !important;
}
.dark-domain-name { font-size: 34px !important; font-weight: 900 !important; line-height: 1.15 !important; }
.dark-domain-name b { color: #fff !important; }
.dark-domain-name span { color: #3175ff !important; }
.dark-domain-message {
    margin-top: 12px !important;
    padding: 13px 5px !important;
    color: #ffe934 !important;
    border: 2px solid #ffe934 !important;
    border-radius: 28px !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
}
.dark-domain-message strong { color: #4edb33 !important; font-size: 39px !important; }

.domain-flash-board {
    margin-top: 7px !important;
    padding: 0 8px !important;
    color: #fff !important;
    background: #000 !important;
    border: 2px solid #16dd38 !important;
}
.flash-row {
    padding: 10px 4px !important;
    border-bottom: 2px dashed #d8ded8 !important;
    text-align: center !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
}
.flash-row:last-child { border-bottom: 0 !important; }
.flash-row b, .flash-row span { display: block !important; }
.flash-row em { color: #fff529 !important; font-size: 1.14em !important; font-style: normal !important; }
.flash-orange { color: #ff8515 !important; }
.flash-blue { color: #2498ff !important; }
.flash-magenta { color: #ff00e9 !important; }
.flash-green { color: #00f52a !important; }

.beauty-gallery-title {
    margin-top: 8px !important;
    padding: 8px 10px !important;
    color: #fff !important;
    background: #d71920 !important;
    border-bottom: 4px solid #f0c43c !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    text-align: center !important;
}
.beauty-gallery {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 6px !important;
    background: #f4f4f0 !important;
}
.beauty-gallery img {
    grid-column: span 3 !important;
    display: block !important;
    width: 100% !important;
    height: 235px !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 13px !important;
}
.beauty-gallery img.beauty-large {
    grid-column: span 4 !important;
    height: 292px !important;
}

.featured-materials-title {
    margin: 0 0 7px !important;
    color: #222 !important;
    background: #fff83d !important;
    border: 1px solid #e2d600 !important;
    font-size: 18px !important;
}

.box,
.news-box,
.box.pad,
.box.padt {
    margin: 8px 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.box .box { margin: 0 !important; }

.list-title {
    min-height: 42px !important;
    padding: 7px 12px 6px !important;
    color: #090909 !important;
    background: linear-gradient(to bottom, #559bec 0%, #98c7f7 47%, #eef7ff 100%) !important;
    border: 1px solid #438bd9 !important;
    border-bottom-color: #78ade4 !important;
    border-radius: 12px !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.78), inset 0 -1px 0 rgba(55,128,207,.28) !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 27px !important;
    text-shadow: 0 1px 0 #fff !important;
}

.list-title::after {
    content: "  gangao12.vip" !important;
    color: #111 !important;
    font-size: .78em !important;
}

.box table td,
.box table th,
.duilianpt td,
.duilianpt1 td {
    padding: 10px 6px !important;
    color: #555 !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #d2d2d2 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.62 !important;
    text-align: center !important;
}

.box table { margin-top: 0 !important; }
.box table strong { color: #555 !important; font-weight: 900 !important; }
.box table [style*="color: #a233c6"],
.box table [style*="color: blue"] {
    color: #ed2017 !important;
    font-weight: 900 !important;
}

/* 参考站的资料行：期数与开奖灰黑，预测内容鲜红，命中为黄底红字。 */
#ssxiao table tr:nth-child(odd) .zl,
#sanliuzhongte table tr:nth-child(odd) .zl,
#wudijiuxiao table tr:nth-child(4n + 1) .zl {
    color: #555 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

#ssxiao table tr:nth-child(even) td,
#sanliuzhongte table tr:nth-child(even) td,
#wudijiuxiao table tr:not(:nth-child(4n + 1)) td {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    color: #ed2017 !important;
}

#ssxiao table tr:nth-child(even) td span,
#sanliuzhongte table tr:nth-child(even) td span,
#wudijiuxiao table tr:not(:nth-child(4n + 1)) td span {
    color: #ed2017 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

#ssxiao table td > div,
#sanliuzhongte table td > div,
#wudijiuxiao table td > div {
    margin-bottom: 0 !important;
    padding: 4px 0 !important;
    background: #fff !important;
    border-bottom: 1px dashed #c9c9c9 !important;
}

.box table .zhong {
    display: inline-block !important;
    padding: 0 3px !important;
    color: #ed2017 !important;
    background: #ffed28 !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

/* 三列资料保持参考站的蓝色栏目名、红色内容与清楚分栏。 */
#wucuobaxiao table td:first-child { color: #3979e7 !important; }
#wucuobaxiao table td:nth-child(2) { color: #ed2017 !important; font-weight: 900 !important; }

.brand-strip {
    margin: -8px 0 9px !important;
    padding: 10px 8px !important;
    color: #24334a !important;
    background: #fff534 !important;
    border: 0 !important;
    border-top: 2px solid #f1d300 !important;
    border-bottom: 2px solid #e4cc00 !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}
.brand-strip span { color: #e60012 !important; }
.brand-strip img { max-height: 28px !important; width: auto !important; margin: 0 6px !important; vertical-align: middle !important; }

.cgi-foot-links {
    background: rgba(255,255,255,.96) !important;
    border-top: 1px solid #aebed0 !important;
    box-shadow: 0 -1px 5px rgba(0,0,0,.12) !important;
}
.cgi-foot-links ul li a { color: #4d647c !important; }
.cgi-foot-links ul li.cfl-more a { color: #fff !important; background: #4d94e8 !important; }

@media (max-width: 540px) {
    .header .logo-box { min-height: 66px !important; padding: 6px 7px 5px !important; }
    .site-brand { gap: 5px !important; }
    .site-brand::before { flex-basis: 38px !important; width: 38px !important; height: 38px !important; font-size: 22px !important; }
    .site-brand-title { font-size: 25px !important; }
    .site-brand-edition { margin-left: 2px !important; padding: 1px 3px !important; font-size: 10px !important; }
    .site-brand-subtitle { margin-top: 3px !important; font-size: 9px !important; letter-spacing: 1px !important; }
    .primary-domain { padding: 5px 6px !important; font-size: 15px !important; }
    .primary-domain::before { margin-bottom: 2px !important; font-size: 8px !important; letter-spacing: 1px !important; }
    .hero-caption span { margin-left: 8px !important; }
    .lottery-promo { grid-template-columns: 64% 36% !important; min-height: 180px !important; }
    .lottery-promo-copy { padding: 12px 3px 10px 10px !important; }
    .lottery-promo-kicker { font-size: 15px !important; letter-spacing: 0 !important; }
    .lottery-promo-title { font-size: 31px !important; letter-spacing: -2px !important; }
    .lottery-promo-subtitle { font-size: 16px !important; }
    .lottery-promo-domain { margin-top: 7px !important; padding: 5px !important; font-size: 12px !important; }
    .lottery-promo-domain strong { font-size: 15px !important; }
    .lottery-promo > img { min-height: 180px !important; }
    .lottery-promo-balls { display: none !important; }
    .dark-domain-name { font-size: 22px !important; }
    .dark-domain-message { font-size: 22px !important; }
    .dark-domain-message strong { font-size: 25px !important; }
    .flash-row { font-size: 15px !important; }
    .beauty-gallery { gap: 3px !important; padding: 3px !important; }
    .beauty-gallery img { height: 150px !important; border-radius: 8px !important; }
    .beauty-gallery img.beauty-large { height: 190px !important; }
    .hero-poster img { max-height: none !important; }
    .list-title { min-height: 38px !important; font-size: 17px !important; line-height: 24px !important; }
    .box table td, .box table th { font-size: 16px !important; }
    #ssxiao table tr:nth-child(odd) .zl,
    #sanliuzhongte table tr:nth-child(odd) .zl,
    #wudijiuxiao table tr:nth-child(4n + 1) .zl,
    #ssxiao table tr:nth-child(even) td span,
    #sanliuzhongte table tr:nth-child(even) td span,
    #wudijiuxiao table tr:not(:nth-child(4n + 1)) td span { font-size: 16px !important; }
}

/* 资料区第二套视觉：取消统一蓝条，做成传统港澳彩的多色分区。 */
.featured-materials {
    padding: 6px !important;
    background: #191919 !important;
    border: 3px solid #f2c829 !important;
}

.featured-materials-title {
    margin: 0 0 7px !important;
    padding: 8px 10px !important;
    color: #fff22f !important;
    background: #060606 !important;
    border: 2px dashed #ff4338 !important;
    font-size: 21px !important;
    letter-spacing: 5px !important;
    text-align: center !important;
}

.box:has(> .list-title) {
    overflow: hidden !important;
    background: #fff !important;
    border: 2px solid #171717 !important;
    border-radius: 0 !important;
}

.list-title {
    min-height: 43px !important;
    padding: 7px 10px !important;
    color: #ffe73b !important;
    background: #090909 !important;
    border: 0 !important;
    border-left: 12px solid #ef2b2b !important;
    border-bottom: 4px solid #ef2b2b !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 20px !important;
    letter-spacing: 1px !important;
    text-shadow: 1px 1px 0 #680000 !important;
}

.list-title::before {
    content: "◆" !important;
    margin-right: 6px !important;
    color: #ff3636 !important;
}

.list-title::after {
    content: "  gangao12.vip" !important;
    color: #23e9ff !important;
    font-size: .72em !important;
    letter-spacing: 0 !important;
}

/* 每组资料使用不同栏头色，不再像同一套旧模板重复堆叠。 */
#liuxiaozhuyixiao .list-title,
#bishayiwei .list-title,
#daxiao .list-title,
#shiwebizhonge .list-title {
    color: #fff !important;
    background: #bd1019 !important;
    border-left-color: #ffd72c !important;
    border-bottom-color: #ffd72c !important;
}

#wucuobaxiao .list-title,
#yibozhongte .list-title,
#lengxiaolengma .list-title {
    color: #fff92a !important;
    background: #063f91 !important;
    border-left-color: #19d8ff !important;
    border-bottom-color: #19d8ff !important;
}

#ssxiao .list-title,
#wenzhongshixiao .list-title,
#baozhuangsanlianxiao .list-title {
    color: #fff728 !important;
    background: #67158e !important;
    border-left-color: #ff39e6 !important;
    border-bottom-color: #ff39e6 !important;
}

#sanliuzhongte .list-title,
#jueshayixiao .list-title,
#fushilianwei .list-title {
    color: #fff536 !important;
    background: #087432 !important;
    border-left-color: #ff9e18 !important;
    border-bottom-color: #ff9e18 !important;
}

#wudijiuxiao .list-title,
#jushashima .list-title,
#jushayixing .list-title {
    color: #111 !important;
    background: #ff9b1b !important;
    border-left-color: #d10b14 !important;
    border-bottom-color: #d10b14 !important;
    text-shadow: none !important;
}

.list-title ~ table,
.list-title + table {
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.list-title ~ table tbody > tr:nth-child(odd) > td,
.list-title + table tbody > tr:nth-child(odd) > td {
    background: #fff4c8 !important;
    border-left: 6px solid #e7332b !important;
}

.list-title ~ table tbody > tr:nth-child(even) > td,
.list-title + table tbody > tr:nth-child(even) > td {
    background: #e8f8ff !important;
    border-left: 6px solid #188ed1 !important;
}

.list-title ~ table tbody > tr > td,
.list-title + table tbody > tr > td {
    border-bottom: 2px dotted #888 !important;
    font-family: Arial, "Microsoft YaHei", sans-serif !important;
    font-weight: 800 !important;
}

#ssxiao table td > div,
#sanliuzhongte table td > div,
#wudijiuxiao table td > div {
    background: transparent !important;
    border-bottom: 1px dashed #929292 !important;
}

.brand-strip {
    color: #fff !important;
    background: repeating-linear-gradient(135deg, #8d0010 0, #8d0010 14px, #b40b19 14px, #b40b19 28px) !important;
    border-top: 3px solid #f3c92f !important;
    border-bottom: 3px solid #f3c92f !important;
    text-shadow: 1px 1px 0 #3c0000 !important;
}
.brand-strip span { color: #fff23a !important; }

@media (max-width: 540px) {
    .featured-materials { padding: 3px !important; border-width: 2px !important; }
    .featured-materials-title { font-size: 17px !important; letter-spacing: 3px !important; }
    .list-title { min-height: 39px !important; border-left-width: 8px !important; font-size: 16px !important; }
    .list-title::before { margin-right: 3px !important; }
    .list-title::after { font-size: .62em !important; }
    .list-title ~ table tbody > tr > td,
    .list-title + table tbody > tr > td { border-left-width: 4px !important; }
}

/* 人物图穿插到资料中段：像传统站内广告条，不做卡片化组件。 */
.mid-photo-break {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) !important;
    margin: 10px 0 !important;
    padding: 5px !important;
    background: #111 !important;
    border-top: 5px solid #f2cd2f !important;
    border-bottom: 5px solid #d71920 !important;
}

.mid-photo-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 12px 10px !important;
    color: #fff !important;
    text-align: center !important;
}

.mid-photo-copy strong {
    color: #fff334 !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

.mid-photo-copy span {
    margin-top: 9px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

.mid-photo-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
}

.mid-photo-grid img {
    display: block !important;
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    object-position: center 22% !important;
}

.mid-photo-blue {
    border-top-color: #22a9e8 !important;
    border-bottom-color: #ffe330 !important;
}
.mid-photo-blue .mid-photo-copy strong { color: #2edcff !important; }

@media (max-width: 540px) {
    .mid-photo-break {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        margin: 7px 0 !important;
        padding: 3px !important;
        border-top-width: 3px !important;
        border-bottom-width: 3px !important;
    }
    .mid-photo-copy { padding: 6px 4px !important; }
    .mid-photo-copy strong { font-size: 16px !important; }
    .mid-photo-copy span { margin-top: 6px !important; font-size: 10px !important; }
    .mid-photo-grid { gap: 3px !important; }
    .mid-photo-grid img { height: 155px !important; }
}

/* 页头去模板化：纯文字横幅、方角导航、无徽章与官网卡片。 */
.header .logo-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 26px !important;
    min-height: 68px !important;
    padding: 7px 12px 6px !important;
    background: #fff !important;
    border-top: 4px solid #111 !important;
    border-bottom: 4px solid #d71920 !important;
}

.site-brand { display: block !important; }
.site-brand::before { display: none !important; content: none !important; }
.site-brand-copy { display: block !important; }
.site-brand-line { display: flex !important; align-items: baseline !important; }

.site-brand-title {
    color: #d71920 !important;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
    font-size: 35px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -2px !important;
}

.site-brand-edition {
    margin-left: 5px !important;
    padding: 0 !important;
    color: #222 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    vertical-align: baseline !important;
}

.site-brand-subtitle {
    margin-top: 5px !important;
    color: #555 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 4px !important;
    text-align: center !important;
}

.primary-domain {
    padding: 0 !important;
    color: #111 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    line-height: 1 !important;
}
.primary-domain::before { display: none !important; content: none !important; }

.subnav {
    border: 0 !important;
    border-bottom: 2px solid #111 !important;
    border-radius: 0 !important;
}
.subnav .hhh { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.subnav a,
.subnav a:nth-child(-n + 3),
.subnav a:nth-child(n + 4) {
    min-height: 40px !important;
    padding: 0 2px !important;
    color: #222 !important;
    background: #fffbe4 !important;
    border-right: 1px solid #888 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}
.subnav a:last-child { border-right: 0 !important; }
.subnav a:nth-child(odd) { color: #bb0710 !important; }
.subnav a:nth-child(even) { color: #0b4e9a !important; }
.subnav a:hover { color: #fff !important; background: #111 !important; }

@media (max-width: 540px) {
    .header .logo-box { gap: 8px !important; min-height: 58px !important; padding: 6px 5px 5px !important; }
    .site-brand-title { font-size: 24px !important; letter-spacing: -1px !important; }
    .site-brand-edition { margin-left: 2px !important; font-size: 11px !important; }
    .site-brand-subtitle { margin-top: 3px !important; font-size: 9px !important; letter-spacing: 1px !important; }
    .primary-domain { font-size: 15px !important; }
    .subnav .hhh { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .subnav a,
    .subnav a:nth-child(-n + 3),
    .subnav a:nth-child(n + 4) { min-height: 38px !important; border-bottom: 1px solid #888 !important; font-size: 13px !important; }
    .subnav a:nth-child(3n) { border-right: 0 !important; }
    .subnav a:nth-child(n + 4) { border-bottom: 0 !important; }
}

/* 资料行第三套配色：白底报表、深色文字，取消蓝黄交替与荧光命中。 */
.list-title ~ table tbody > tr:nth-child(odd) > td,
.list-title + table tbody > tr:nth-child(odd) > td,
.list-title ~ table tbody > tr:nth-child(even) > td,
.list-title + table tbody > tr:nth-child(even) > td {
    color: #242424 !important;
    background: #fff !important;
    border-left: 0 !important;
    border-bottom: 1px solid #cfcfcf !important;
}

.list-title ~ table tbody > tr:nth-child(even) > td,
.list-title + table tbody > tr:nth-child(even) > td {
    background: #fafafa !important;
}

.list-title ~ table tbody > tr > td,
.list-title + table tbody > tr > td {
    padding: 8px 7px !important;
    font-family: Arial, "Microsoft YaHei", sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.48 !important;
}

.box table font[color="#000000"],
.box table font[color="#003300"],
.box table font[color="003300"] {
    color: #242424 !important;
}

.box table .zhong {
    display: inline !important;
    padding: 0 1px 1px !important;
    color: #087a3c !important;
    background: transparent !important;
    border-bottom: 2px solid #087a3c !important;
    line-height: inherit !important;
}

/* 号码行内的命中数字必须与普通号码形成高对比。 */
.box table .zhongsan,
#ssxiao table .zhongsan,
#sanliuzhongte table .zhongsan,
#wudijiuxiao table .zhongsan {
    display: inline-block !important;
    min-width: 1.35em !important;
    padding: 0 3px !important;
    color: #8b0000 !important;
    background: #ffe34f !important;
    border: 1px solid #e2b900 !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

/* 不同栏目保留不同的人工配色，但正文背景统一干净。 */
#liuxiaozhuyixiao .zl,
#bishayiwei .zl,
#daxiao .zl,
#shiwebizhonge .zl { color: #bc171d !important; }

#wucuobaxiao .zl,
#yibozhongte .zl,
#lengxiaolengma .zl { color: #0758a5 !important; }

#ssxiao .zl,
#wenzhongshixiao .zl,
#baozhuangsanlianxiao .zl { color: #7a278f !important; }

#sanliuzhongte .zl,
#jueshayixiao .zl,
#fushilianwei .zl { color: #087a3c !important; }

#wudijiuxiao .zl,
#jushashima .zl,
#jushayixing .zl { color: #b64a08 !important; }

#wucuobaxiao table td:first-child,
#wucuobaxiao table td:nth-child(2) {
    color: #242424 !important;
}
#wucuobaxiao table td:nth-child(2) { color: #0758a5 !important; }

#ssxiao table tr:nth-child(even) td,
#sanliuzhongte table tr:nth-child(even) td,
#wudijiuxiao table tr:not(:nth-child(4n + 1)) td,
#ssxiao table tr:nth-child(even) td span,
#sanliuzhongte table tr:nth-child(even) td span,
#wudijiuxiao table tr:not(:nth-child(4n + 1)) td span {
    color: #b5121b !important;
}

#ssxiao table td > div,
#sanliuzhongte table td > div,
#wudijiuxiao table td > div {
    border-bottom: 1px solid #ddd !important;
}

@media (max-width: 540px) {
    .list-title ~ table tbody > tr > td,
    .list-title + table tbody > tr > td {
        padding: 7px 4px !important;
        font-size: 15px !important;
        line-height: 1.42 !important;
    }
}

/* ================================================================
   2026-09 资料区第四套：按内容结构逐项设计，不再共用一套换色模板
   ================================================================ */

/* 页头：保留传统资讯站的方正字标，增加压印、夹层边线和投影。 */
.header {
    position: relative !important;
    z-index: 2 !important;
    padding-bottom: 6px !important;
    background: #2d3d2b !important;
}

.header .logo-box {
    position: relative !important;
    min-height: 76px !important;
    padding: 11px 18px 10px !important;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #f1f1f1 76%, #d9d9d9 100%) !important;
    border-top: 5px solid #151515 !important;
    border-bottom: 5px solid #b40008 !important;
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -1px 0 #9d9d9d,
        0 3px 0 #f3c22c,
        0 6px 0 #232323 !important;
}

.header .logo-box::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: -5px !important;
    left: 0 !important;
    height: 2px !important;
    background: #ffec74 !important;
}

.site-brand-title {
    color: #e00012 !important;
    text-shadow: 0 1px 0 #fff, 0 2px 0 rgba(135, 0, 10, .28) !important;
}

.site-brand-mark { display: none !important; }

.site-brand-edition {
    color: #171717 !important;
    text-shadow: 0 1px 0 #fff, 1px 2px 0 #bababa !important;
}

.site-brand-subtitle {
    color: #484848 !important;
    text-shadow: 0 1px 0 #fff !important;
}

.primary-domain {
    color: #101010 !important;
    text-shadow: 0 1px 0 #fff !important;
}

/* 资料公用骨架只负责清理旧样式，具体颜色与结构由各栏目自己接管。 */
#wucuobaxiao .box,
#ssxiao .box,
#sanliuzhongte .box,
#wudijiuxiao .box,
#xuanjis.box,
#bishayiwei .box,
#daxiao.box,
#wenshayitou .box,
#yibozhongte .box,
#jueshayixiao .box,
#wenzhongshixiao .box,
#jushashima .box,
#jushayixing .box,
#heshudaxiao .box,
#jueshayibo .box,
#danshuangwudi .box,
#fushilianwei .box,
#liuxiaozhuyixiao.box,
#heshudanshuang .box,
#shiwebizhonge .box,
#liuweizhongte .box,
#lengxiaolengma .box,
#baozhuangsanlianxiao .box {
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#wucuobaxiao table,
#ssxiao table,
#sanliuzhongte table,
#wudijiuxiao table,
#xuanjis table,
#bishayiwei table,
#daxiao table,
#wenshayitou table,
#yibozhongte table,
#jueshayixiao table,
#wenzhongshixiao table,
#jushashima table,
#jushayixing table,
#heshudaxiao table,
#jueshayibo table,
#danshuangwudi table,
#fushilianwei table,
#liuxiaozhuyixiao table,
#heshudanshuang table,
#shiwebizhonge table,
#liuweizhongte table,
#lengxiaolengma table,
#baozhuangsanlianxiao table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

/* 标题本身也逐项区分：参考传统资料站的压条、印刷栏头和号码牌。 */
#wucuobaxiao .list-title { color:#fff !important; background:#a80d16 !important; border:0 !important; border-bottom:5px double #f1c62b !important; }
#ssxiao .list-title { color:#071d3e !important; background:linear-gradient(#eaf6ff 0%,#72b4ef 45%,#ddecff 100%) !important; border:2px solid #2478bc !important; border-left-width:12px !important; text-shadow:0 1px #fff !important; }
#sanliuzhongte .list-title { color:#ffe743 !important; background:#050505 !important; border:3px solid #d8aa20 !important; border-left-width:14px !important; }
#wudijiuxiao .list-title { color:#4b2200 !important; background:#f2a51b !important; border:3px double #8b2d00 !important; text-shadow:0 1px #ffe8a5 !important; }
#xuanjis .list-title { color:#5a190c !important; background:#ead6a5 !important; border:5px double #8d3e19 !important; font-family:KaiTi,"楷体",serif !important; }
#bishayiwei .list-title { color:#fff4a8 !important; background:#7e0010 !important; border:3px double #f0c33c !important; }
#daxiao .list-title { color:#fff !important; background:#181818 !important; border:0 !important; border-left:16px solid #e11f2d !important; border-right:16px solid #175bb3 !important; }
#wenshayitou .list-title { color:#fff !important; background:#006b72 !important; border:4px double #d2fbff !important; }
#yibozhongte .list-title { color:#fff !important; background:linear-gradient(90deg,#b40d18 0 33%,#134ea3 33% 66%,#078542 66%) !important; border:3px solid #111 !important; text-shadow:1px 1px #111 !important; }
#jueshayixiao .list-title { color:#111 !important; background:linear-gradient(#5c9bea,#dfeeff 47%,#5a9be9 100%) !important; border:2px solid #2872c1 !important; border-radius:18px 18px 2px 2px !important; text-shadow:0 1px #fff !important; }
#wenzhongshixiao .list-title { color:#fff4b6 !important; background:#632278 !important; border:4px double #e0a9ec !important; }
#jushashima .list-title { color:#fff !important; background:#b41218 !important; border:0 !important; border-bottom:6px solid #ffd22f !important; }
#jushayixing .list-title { color:#fff !important; background:linear-gradient(90deg,#a76d00,#276f2d,#15669c,#b71e1e,#4e342e) !important; border:3px solid #1e1e1e !important; text-shadow:1px 1px #111 !important; }
#heshudaxiao .list-title { color:#411d00 !important; background:#ffc44a !important; border:4px double #7e3a00 !important; }
#jueshayibo .list-title { color:#fff !important; background:#053e78 !important; border:0 !important; border-bottom:7px solid transparent !important; border-image:linear-gradient(90deg,#e21c27 0 33%,#1762bd 33% 66%,#009a53 66%) 1 !important; }
#danshuangwudi .list-title { color:#fff !important; background:repeating-linear-gradient(135deg,#111 0 18px,#333 18px 36px) !important; border:3px solid #d9d9d9 !important; }
#fushilianwei .list-title { color:#fff !important; background:#082a50 !important; border:4px double #50d5ec !important; }
#liuxiaozhuyixiao .list-title { color:#fff !important; background:#bc1018 !important; border:4px double #ffdc4a !important; }
#heshudanshuang .list-title { color:#fff !important; background:linear-gradient(90deg,#b5121b 0 50%,#164f9d 50%) !important; border:3px solid #161616 !important; }
#shiwebizhonge .list-title { color:#fff !important; background:#003d83 !important; border:0 !important; border-bottom:6px solid #edcf35 !important; }
#liuweizhongte .list-title { color:#fffbe0 !important; background:#136b39 !important; border:4px double #e2c448 !important; }
#lengxiaolengma .list-title { color:#e7fffd !important; background:#233c44 !important; border:4px double #8bc2c8 !important; }
#baozhuangsanlianxiao .list-title { color:#fff4c8 !important; background:#1c6130 !important; border:0 !important; border-left:15px solid #e8b82a !important; border-bottom:4px solid #e8b82a !important; }

/* 清掉老标题上的统一菱形和统一域名尾巴，避免所有栏目看起来一样。 */
#wucuobaxiao .list-title::before,
#ssxiao .list-title::before,
#sanliuzhongte .list-title::before,
#wudijiuxiao .list-title::before,
#xuanjis .list-title::before,
#bishayiwei .list-title::before,
#daxiao .list-title::before,
#wenshayitou .list-title::before,
#yibozhongte .list-title::before,
#jueshayixiao .list-title::before,
#wenzhongshixiao .list-title::before,
#jushashima .list-title::before,
#jushayixing .list-title::before,
#heshudaxiao .list-title::before,
#jueshayibo .list-title::before,
#danshuangwudi .list-title::before,
#fushilianwei .list-title::before,
#liuxiaozhuyixiao .list-title::before,
#heshudanshuang .list-title::before,
#shiwebizhonge .list-title::before,
#liuweizhongte .list-title::before,
#lengxiaolengma .list-title::before,
#baozhuangsanlianxiao .list-title::before { content:"" !important; margin:0 !important; }

#wucuobaxiao .list-title::after,
#ssxiao .list-title::after,
#sanliuzhongte .list-title::after,
#wudijiuxiao .list-title::after,
#xuanjis .list-title::after,
#bishayiwei .list-title::after,
#daxiao .list-title::after,
#wenshayitou .list-title::after,
#yibozhongte .list-title::after,
#jueshayixiao .list-title::after,
#wenzhongshixiao .list-title::after,
#jushashima .list-title::after,
#jushayixing .list-title::after,
#heshudaxiao .list-title::after,
#jueshayibo .list-title::after,
#danshuangwudi .list-title::after,
#fushilianwei .list-title::after,
#liuxiaozhuyixiao .list-title::after,
#heshudanshuang .list-title::after,
#shiwebizhonge .list-title::after,
#liuweizhongte .list-title::after,
#lengxiaolengma .list-title::after,
#baozhuangsanlianxiao .list-title::after { content:"" !important; }

/* 01 精选八肖：三栏开奖记录，像报纸栏表，不做单行卡片。 */
#wucuobaxiao .box { border:3px solid #a80d16 !important; }
#wucuobaxiao td { padding:10px 6px !important; background:#fffdf5 !important; border:1px solid #d9c9a6 !important; font-size:17px !important; }
#wucuobaxiao tr:nth-child(even) td { background:#f6ead0 !important; }
#wucuobaxiao td:first-child { width:22% !important; color:#4b3521 !important; background:#efe0bf !important; }
#wucuobaxiao td:nth-child(2) { color:#a80d16 !important; font-weight:900 !important; letter-spacing:1px !important; }
#wucuobaxiao td:last-child { width:20% !important; color:#075c31 !important; border-left:3px double #b49a6b !important; }

/* 02 三组三肖：每期蓝色题头，下接三条紫/蓝/红号码。 */
#ssxiao .box { border:2px solid #2478bc !important; }
#ssxiao table tr:nth-child(odd) td { padding:7px !important; color:#202f43 !important; background:#ddecfb !important; border:0 !important; border-top:2px solid #2478bc !important; }
#ssxiao table tr:nth-child(even) td { padding:4px 16px 10px !important; background:#fff !important; border:0 !important; }
#ssxiao table tr:nth-child(even) td > div { margin:0 !important; padding:5px 2px !important; border:0 !important; border-bottom:1px dotted #8ea5b8 !important; }
#ssxiao table tr:nth-child(even) td > div:nth-child(1) span { color:#8a208c !important; }
#ssxiao table tr:nth-child(even) td > div:nth-child(2) span { color:#075fb5 !important; }
#ssxiao table tr:nth-child(even) td > div:nth-child(3) span { color:#c31820 !important; }

/* 03 精选36码：参考站的多行号码稿，期号蓝、号码红、命中黄底。 */
#sanliuzhongte .box { border:3px solid #d8aa20 !important; }
#sanliuzhongte table tr:nth-child(odd) td { padding:8px !important; color:#333 !important; background:#fff4c7 !important; border:0 !important; border-top:2px solid #111 !important; }
#sanliuzhongte table tr:nth-child(odd) strong { color:#075bb1 !important; }
#sanliuzhongte table tr:nth-child(even) td { padding:3px 14px 10px !important; background:#fff !important; border:0 !important; }
#sanliuzhongte table tr:nth-child(even) td > div { margin:0 !important; padding:6px 0 !important; border-bottom:1px solid #cfcfcf !important; }
#sanliuzhongte table tr:nth-child(even) td span { color:#bd111a !important; font-weight:900 !important; }

/* 04 九肖精选：橙色生肖主行，号码拆成两张平码纸。 */
#wudijiuxiao .box { border:3px solid #8b2d00 !important; }
#wudijiuxiao table tr:nth-child(4n + 1) td { padding:8px !important; color:#532400 !important; background:#ffe2a7 !important; border:0 !important; border-top:3px solid #d47500 !important; }
#wudijiuxiao table tr:nth-child(4n + 2) td { padding:7px 10px 2px !important; background:#fff8e9 !important; border:0 !important; }
#wudijiuxiao table tr:nth-child(4n + 2) span { color:#b74600 !important; font-size:20px !important; font-weight:900 !important; }
#wudijiuxiao table tr:nth-child(4n + 3) td,
#wudijiuxiao table tr:nth-child(4n + 4) td { padding:5px 10px !important; color:#173e68 !important; background:#fff !important; border:0 !important; border-bottom:1px dashed #b9a17d !important; }
#wudijiuxiao table tr:nth-child(4n + 3) span,
#wudijiuxiao table tr:nth-child(4n + 4) span { color:#173e68 !important; }

/* 05 午夜玄机诗：仿旧纸张的诗签。 */
#xuanjis { border:5px double #8d3e19 !important; background:#f0dfb7 !important; }
#xuanjis > table > tbody > tr > td { padding:0 !important; background:#f8edcf !important; border:0 !important; }
#xuanjis #table47 tr > td { padding:12px !important; color:#4e2818 !important; background:#fbf1d7 !important; border:0 !important; border-bottom:2px dashed #b48b56 !important; font-family:KaiTi,"楷体",serif !important; }
#xuanjis #table47 td > div:first-child { color:#6d2417 !important; font-size:18px !important; }
#xuanjis #table47 td > div:nth-child(2) { color:#bd111a !important; font-size:19px !important; font-weight:900 !important; }

/* 06 重点一尾：紧凑奖券条。 */
#bishayiwei .box { border:3px solid #7e0010 !important; }
#bishayiwei td { padding:9px !important; color:#31120e !important; background:#fff8da !important; border:0 !important; border-bottom:2px dashed #b28152 !important; }
#bishayiwei tr:nth-child(even) td { background:#f7e7b9 !important; }
#bishayiwei .zl { display:inline-block !important; margin:0 5px !important; padding:1px 7px !important; color:#fff !important; background:#a80014 !important; border:2px solid #e4bb38 !important; }

/* 07 大小：黑白判定栏，用红蓝竖边表达大小两类。 */
#daxiao { border:3px solid #181818 !important; }
#daxiao > table > tbody > tr > td { padding:0 !important; border:0 !important; }
#daxiao #table47 tr td { padding:9px !important; color:#171717 !important; background:#f5f5f5 !important; border:0 !important; border-bottom:1px solid #9c9c9c !important; border-left:8px solid #d71c2a !important; }
#daxiao #table47 tr:nth-child(even) td { background:#fff !important; border-left-color:#175bb3 !important; }
#daxiao #table47 td span { display:inline-block !important; margin:0 6px !important; padding:1px 9px !important; color:#fff !important; background:#222 !important; }

/* 08 精选一头：青色档案栏。 */
#wenshayitou .box { border:3px solid #006b72 !important; }
#wenshayitou td { padding:9px !important; color:#14373a !important; background:#e8f7f5 !important; border:0 !important; border-bottom:1px solid #78aaa8 !important; }
#wenshayitou tr:nth-child(even) td { background:#fff !important; }
#wenshayitou .zl { display:inline-block !important; margin:0 6px !important; color:#bb3610 !important; font-weight:900 !important; }

/* 09 波色精选：红蓝绿轮换资料行。 */
#yibozhongte .box { border:3px solid #111 !important; }
#yibozhongte td { padding:9px !important; background:#fff !important; border:0 !important; border-bottom:1px solid #bbb !important; border-left:9px solid #bd1720 !important; }
#yibozhongte tr:nth-child(3n + 2) td { background:#f4f8ff !important; border-left-color:#155db4 !important; }
#yibozhongte tr:nth-child(3n) td { background:#f1fbf5 !important; border-left-color:#088147 !important; }
#yibozhongte tr:nth-child(3n + 1) .zl { color:#bd1720 !important; }
#yibozhongte tr:nth-child(3n + 2) .zl { color:#155db4 !important; }
#yibozhongte tr:nth-child(3n) .zl { color:#088147 !important; }

/* 10 生肖重点：参考站的蓝色拱形栏头、白底细线记录。 */
#jueshayixiao .box { border:2px solid #2872c1 !important; }
#jueshayixiao td { padding:10px !important; color:#555 !important; background:#fff !important; border:0 !important; border-bottom:1px solid #c8c8c8 !important; }
#jueshayixiao tr:nth-child(even) td { background:#f7f7f7 !important; }
#jueshayixiao td > font:first-child { color:#555 !important; }
#jueshayixiao .zl { margin:0 7px !important; color:#e02929 !important; font-weight:900 !important; }

/* 11 四肖重点：紫色公报，预测栏与结果栏明确分开。 */
#wenzhongshixiao .box { border:3px solid #632278 !important; }
#wenzhongshixiao td { padding:10px !important; color:#41214a !important; background:#f8effa !important; border:0 !important; border-bottom:1px solid #bb95c5 !important; }
#wenzhongshixiao tr:nth-child(even) td { background:#fff !important; }
#wenzhongshixiao .zl { display:inline-block !important; margin:0 6px !important; color:#7b218e !important; font-weight:900 !important; }

/* 12 十码重点：每期上下两行，题头红、号码深蓝。 */
#jushashima .box { border:3px solid #b41218 !important; }
#jushashima td { padding:0 !important; background:#fff !important; border:0 !important; border-bottom:3px double #c8c8c8 !important; }
#jushashima td > div:first-child { padding:7px 10px !important; color:#fff !important; background:#7f0b10 !important; }
#jushashima td > div:first-child font,
#jushashima td > div:first-child span { color:#fff !important; }
#jushashima td > .zl { padding:9px 10px !important; color:#073d78 !important; background:#fffbea !important; font-size:19px !important; letter-spacing:1px !important; }

/* 13 五行精选：五种元素各自一色，保留老站的直接感。 */
#jushayixing .box { border:3px solid #1e1e1e !important; }
#jushayixing td { padding:9px !important; background:#fff !important; border:0 !important; border-bottom:1px solid #aaa !important; border-left:9px solid #a76d00 !important; }
#jushayixing tr:nth-child(5n + 2) td { border-left-color:#276f2d !important; background:#f2faef !important; }
#jushayixing tr:nth-child(5n + 3) td { border-left-color:#15669c !important; background:#eff8fd !important; }
#jushayixing tr:nth-child(5n + 4) td { border-left-color:#b71e1e !important; background:#fff2f1 !important; }
#jushayixing tr:nth-child(5n) td { border-left-color:#4e342e !important; background:#f5f0ec !important; }
#jushayixing .zl { color:#a40e18 !important; font-weight:900 !important; }

/* 14 三头精选：琥珀色左右分栏感。 */
#heshudaxiao .box { border:3px solid #7e3a00 !important; }
#heshudaxiao td { padding:9px !important; color:#3c240d !important; background:#fff4d3 !important; border:0 !important; border-bottom:1px solid #bd8a42 !important; }
#heshudaxiao tr:nth-child(even) td { background:#fff !important; }
#heshudaxiao .zl { display:inline-block !important; margin:0 7px !important; color:#9f1818 !important; border-bottom:2px solid #d8971f !important; }

/* 15 波色杀号：与波色精选不同，做成纵向色票。 */
#jueshayibo .box { border:3px solid #053e78 !important; }
#jueshayibo td { padding:9px !important; background:#f7fbff !important; border:0 !important; border-bottom:1px solid #a7b5c2 !important; }
#jueshayibo tr:nth-child(3n + 1) .zl { color:#c3151e !important; }
#jueshayibo tr:nth-child(3n + 2) .zl { color:#105bb2 !important; }
#jueshayibo tr:nth-child(3n) .zl { color:#078348 !important; }
#jueshayibo .zl { display:inline-block !important; min-width:70px !important; margin:0 6px !important; padding:1px 7px !important; background:#fff !important; border:1px solid currentColor !important; }

/* 16 单双：灰阶棋盘记录。 */
#danshuangwudi .box { border:3px solid #222 !important; }
#danshuangwudi td { padding:9px !important; color:#191919 !important; background:#e5e5e5 !important; border:0 !important; border-bottom:2px solid #888 !important; }
#danshuangwudi tr:nth-child(even) td { color:#fff !important; background:#343434 !important; }
#danshuangwudi tr:nth-child(even) td font { color:#fff !important; }
#danshuangwudi .zl { display:inline-block !important; margin:0 7px !important; padding:1px 8px !important; color:#d50c19 !important; background:#fff !important; border:1px solid #111 !important; }

/* 17 连尾复选：上下两层票据，预测深蓝、开奖结果青绿。 */
#fushilianwei .box { border:3px solid #082a50 !important; }
#fushilianwei td { padding:0 !important; background:#eef8fb !important; border:0 !important; border-bottom:3px double #6aa5b1 !important; }
#fushilianwei td > .zl { display:block !important; padding:8px 10px !important; color:#073e7d !important; background:#d9edf7 !important; }
#fushilianwei td > br + font { display:block !important; padding:6px 10px !important; color:#17643b !important; background:#fff !important; }

/* 18 六肖主肖：每期一张方格表，标题、六肖、四肖、二肖、一肖、七码逐级收紧。 */
#liuxiaozhuyixiao { border:4px solid #bc1018 !important; background:#fff7da !important; }
#liuxiaozhuyixiao > table { margin:7px !important; width:calc(100% - 14px) !important; border:2px solid #2c5f9c !important; }
#liuxiaozhuyixiao > table td { padding:7px 10px !important; color:#333 !important; background:#fff !important; border:1px solid #9db0c5 !important; text-align:left !important; }
#liuxiaozhuyixiao > table tr:first-child td { color:#fff !important; background:linear-gradient(90deg,#1365ac,#53a6dd,#1365ac) !important; border-bottom:3px solid #e7c837 !important; text-align:center !important; font-weight:900 !important; }
#liuxiaozhuyixiao > table tr:nth-child(2) td { background:#fff3c3 !important; }
#liuxiaozhuyixiao > table tr:nth-child(3) td { background:#eef7ff !important; }
#liuxiaozhuyixiao > table tr:nth-child(4) td { background:#f8efff !important; }
#liuxiaozhuyixiao > table tr:nth-child(5) td { background:#fff0f0 !important; }
#liuxiaozhuyixiao > table tr:last-child td { color:#5b2b00 !important; background:#f3e0ac !important; }
#liuxiaozhuyixiao > table td span[style*="#000080"] { color:#07529c !important; font-weight:900 !important; }
#liuxiaozhuyixiao > table td span[style*="#FF0000"] { color:#bd111a !important; }

/* 19 合数单双：红蓝对开，奇偶行互换方向。 */
#heshudanshuang .box { border:3px solid #161616 !important; }
#heshudanshuang td { padding:9px !important; color:#272727 !important; background:linear-gradient(90deg,#fff2f2 0 50%,#eef5ff 50%) !important; border:0 !important; border-bottom:1px solid #929292 !important; }
#heshudanshuang tr:nth-child(even) td { background:linear-gradient(90deg,#eef5ff 0 50%,#fff2f2 50%) !important; }
#heshudanshuang .zl { display:inline-block !important; margin:0 7px !important; color:#b60d17 !important; font-weight:900 !important; }

/* 20 十二码精选：真正的三列表，左右蓝底，中间白底红字。 */
#shiwebizhonge .box { border:3px solid #003d83 !important; }
#shiwebizhonge table { table-layout:fixed !important; }
#shiwebizhonge th { padding:10px 5px !important; color:#fff !important; background:#14599b !important; border:1px solid #87a6c4 !important; text-align:center !important; }
#shiwebizhonge td { padding:8px !important; color:#bd111a !important; background:#fff !important; border:1px solid #87a6c4 !important; font-size:18px !important; font-weight:900 !important; line-height:1.55 !important; }
#shiwebizhonge tr:nth-child(even) th { background:#0c477f !important; }
#shiwebizhonge tr:nth-child(even) td { background:#fff9dc !important; }

/* 21 六尾中特：绿色票面、金色尾数签。 */
#liuweizhongte .box { border:3px solid #136b39 !important; }
#liuweizhongte td { padding:9px !important; color:#163e27 !important; background:#edf8ef !important; border:0 !important; border-bottom:1px solid #84ab8e !important; }
#liuweizhongte tr:nth-child(even) td { background:#fff !important; }
#liuweizhongte .zl { display:inline-block !important; margin:0 7px !important; padding:1px 8px !important; color:#8b3200 !important; background:#ffe68b !important; border:1px solid #bb8a19 !important; letter-spacing:2px !important; }

/* 22 冷热统计：四块统计表分别用蓝、绿、红、橙标题，不再是一长列同款文本。 */
#lengxiaolengma .box { border:4px solid #233c44 !important; }
#lengxiaolengma > .box > table > tbody > tr > td { padding:0 !important; border:0 !important; }
#lengxiaolengma #table47 { border:2px solid #607d86 !important; }
#lengxiaolengma #table47 tr:first-child td { padding:9px !important; color:#fff !important; background:#27566f !important; border:0 !important; font-family:Arial,"Microsoft YaHei",sans-serif !important; font-size:20px !important; font-weight:900 !important; }
#lengxiaolengma #table47 tr:not(:first-child) td { padding:7px 10px !important; background:#f2f7f8 !important; border:0 !important; border-bottom:1px solid #b9c8cc !important; }
#lengxiaolengma > .box > table > tbody > tr:nth-of-type(3) #table47 tr:first-child td { background:#23713a !important; }
#lengxiaolengma > .box > table > tbody > tr:nth-of-type(5) #table47 tr:first-child td { background:#a02a27 !important; }
#lengxiaolengma > .box > table > tbody > tr:nth-of-type(7) #table47 tr:first-child td { background:#bd650e !important; }
#lengxiaolengma .brand-strip { margin:0 !important; border:0 !important; border-left:8px solid #d6a800 !important; border-radius:0 !important; background:#fff2b5 !important; }

/* 23 三连肖精选：每期三行密报，绿边纸条和红蓝两组预测。 */
#baozhuangsanlianxiao .box { border:3px solid #1c6130 !important; }
#baozhuangsanlianxiao td { padding:9px 12px !important; color:#183a22 !important; background:#f3faef !important; border:0 !important; border-left:10px solid #2c7b3d !important; border-bottom:3px double #9aaf80 !important; line-height:1.65 !important; }
#baozhuangsanlianxiao tr:nth-child(even) td { background:#fffce8 !important; border-left-color:#d1a51d !important; }
#baozhuangsanlianxiao td > .zl:nth-of-type(1) { color:#b3171f !important; }
#baozhuangsanlianxiao td > .zl:nth-of-type(2) { color:#0759a5 !important; }

/* 命中结果始终用黄色高亮配深红字，避免与号码同色而看不清。 */
#wucuobaxiao .zhong,
#ssxiao .zhong,
#sanliuzhongte .zhong,
#wudijiuxiao .zhong,
#bishayiwei .zhong,
#daxiao .zhong,
#wenshayitou .zhong,
#yibozhongte .zhong,
#jueshayixiao .zhong,
#wenzhongshixiao .zhong,
#jushashima .zhong,
#jushayixing .zhong,
#heshudaxiao .zhong,
#jueshayibo .zhong,
#danshuangwudi .zhong,
#fushilianwei .zhong,
#heshudanshuang .zhong,
#shiwebizhonge .zhong,
#liuweizhongte .zhong {
    display:inline-block !important;
    padding:0 4px !important;
    color:#9e0000 !important;
    background:#ffe83f !important;
    border:1px solid #caa900 !important;
    text-decoration:none !important;
    line-height:1.3 !important;
}

@media (max-width: 540px) {
    .header .logo-box { min-height:64px !important; padding:8px 6px 7px !important; }
    .site-brand-title { font-size:25px !important; text-shadow:0 1px #fff,1px 2px #92000b !important; }
    .primary-domain { font-size:15px !important; }

    #wucuobaxiao td,
    #ssxiao td,
    #sanliuzhongte td,
    #wudijiuxiao td,
    #bishayiwei td,
    #wenshayitou td,
    #yibozhongte td,
    #jueshayixiao td,
    #wenzhongshixiao td,
    #jushashima td,
    #jushayixing td,
    #heshudaxiao td,
    #jueshayibo td,
    #danshuangwudi td,
    #fushilianwei td,
    #heshudanshuang td,
    #liuweizhongte td,
    #baozhuangsanlianxiao td { font-size:15px !important; }

    #shiwebizhonge th { width:18% !important; padding:6px 2px !important; }
    #shiwebizhonge td { padding:6px 3px !important; font-size:15px !important; }
    #liuxiaozhuyixiao > table { margin:4px !important; width:calc(100% - 8px) !important; }
    #liuxiaozhuyixiao > table td { padding:6px 4px !important; }
}

/* 最终覆盖：刊头、栏目索引、海报网址条与底部图册。 */
body .header.index-header {
    padding:0 !important;
    background:#18271e !important;
    border-top:5px solid #18271e !important;
    border-bottom:5px solid #18271e !important;
}
body .header.index-header .logo-box {
    justify-content:space-between !important;
    gap:18px !important;
    width:100% !important;
    min-height:82px !important;
    padding:10px 18px 12px 24px !important;
    box-sizing:border-box !important;
    background:linear-gradient(180deg,#fffef9 0%,#fffdf7 62%,#eee4cc 100%) !important;
    border:0 !important;
    border-top:5px solid #b71920 !important;
    border-bottom:4px solid #b71920 !important;
    box-shadow:inset 0 1px 0 #fff,inset 0 -7px 0 rgba(208,177,93,.22),0 3px 0 #d1b25c !important;
}
body .header.index-header .logo-box::after {
    display:none !important;
    content:none !important;
}
body .site-brand-title {
    color:#b71920 !important;
    font-size:36px !important;
    letter-spacing:-2px !important;
    text-shadow:1px 1px 0 #fff,2px 2px 0 #d9b75a !important;
}
body .site-brand-edition {
    margin-left:9px !important;
    padding:3px 7px 2px !important;
    color:#fff !important;
    background:#242424 !important;
    border:0 !important;
    font-size:12px !important;
    line-height:1.2 !important;
    letter-spacing:1px !important;
    text-shadow:none !important;
}
body .site-brand-subtitle {
    margin-top:6px !important;
    color:#5d5a54 !important;
    font-size:12px !important;
    letter-spacing:3px !important;
    text-align:left !important;
    text-shadow:0 1px 0 #fff !important;
}
body .primary-domain {
    position:relative !important;
    align-self:stretch !important;
    display:flex !important;
    align-items:flex-end !important;
    margin:0 !important;
    min-width:178px !important;
    padding:29px 18px 11px 22px !important;
    color:#f2cc58 !important;
    background:linear-gradient(180deg,#2b4133 0%,#17241b 100%) !important;
    border:1px solid #d0af55 !important;
    border-left:4px solid #b71920 !important;
    border-right:4px solid #d0af55 !important;
    font-size:22px !important;
    letter-spacing:-.5px !important;
    text-shadow:0 2px 0 #000 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -5px 0 rgba(0,0,0,.18),3px 3px 0 rgba(77,56,16,.28) !important;
}
body .primary-domain::before {
    content:"官方唯一入口" !important;
    display:block !important;
    position:absolute !important;
    top:10px !important;
    left:22px !important;
    color:#fff !important;
    font-size:10px !important;
    letter-spacing:2px !important;
    text-align:left !important;
}
body .subnav {
    margin:0 8px !important;
    background:#fff !important;
    border:0 !important;
    border-top:4px solid #b71920 !important;
    border-bottom:1px solid #1e1e1e !important;
}
body .subnav .hhh { grid-template-columns:repeat(6,minmax(0,1fr)) !important; }
body .subnav a,
body .subnav a:nth-child(-n + 3),
body .subnav a:nth-child(n + 4) {
    min-height:47px !important;
    padding:0 4px !important;
    color:#252525 !important;
    background:#fff !important;
    border:0 !important;
    border-right:1px solid #d7d2c8 !important;
    font-size:14px !important;
    line-height:47px !important;
}
body .subnav a:nth-child(1),
body .subnav a:nth-child(3) { color:#a8151c !important; }
body .subnav a:last-child { border-right:0 !important; }
body .subnav a img { display:none !important; }
body .subnav a:hover,
body .subnav a:focus { color:#a8151c !important; background:#faf7ef !important; }
body .hero-caption {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px !important;
    min-height:42px !important;
    padding:8px 16px !important;
    color:#fff !important;
    background:#223127 !important;
    border:0 !important;
    border-top:3px solid #b71920 !important;
    border-bottom:1px solid #111 !important;
    font-size:13px !important;
    letter-spacing:.5px !important;
}
body .hero-caption strong { color:#f2c84b !important; font-size:17px !important; }
body .hero-caption span {
    margin-left:0 !important;
    padding-left:12px !important;
    color:#e5e0d6 !important;
    border-left:1px solid #68736b !important;
    font-size:12px !important;
}

.archive-gallery-section {
    padding:0 10px 14px !important;
    background:#fff !important;
    border:1px solid #bfc4c7 !important;
}
.archive-gallery-cta {
    display:block !important;
    margin:0 -10px 14px !important;
    padding:12px 8px !important;
    color:#fff !important;
    background:#101be7 !important;
    font-family:Arial,"Microsoft YaHei",sans-serif !important;
    font-size:25px !important;
    line-height:1.2 !important;
    text-align:center !important;
}
.archive-gallery-cta strong { font-weight:500 !important; }
.archive-gallery-cta span { margin-left:6px !important; color:#fff51e !important; font-weight:900 !important; }
.archive-gallery {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px 22px !important;
    column-count:unset !important;
    padding:0 !important;
}
.archive-gallery .gallery-item {
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    margin:0 !important;
    overflow:visible !important;
    background:#fff !important;
    border:0 !important;
}
.archive-gallery .gallery-item img {
    display:block !important;
    width:100% !important;
    aspect-ratio:1.08 / 1 !important;
    height:auto !important;
    object-fit:cover !important;
    background:#f3f3f3 !important;
    border:1px solid #9fa4a7 !important;
    border-radius:0 !important;
}
.archive-gallery .gallery-item span {
    display:block !important;
    padding:9px 2px 0 !important;
    overflow:hidden !important;
    color:#40535d !important;
    font-size:18px !important;
    line-height:1.25 !important;
    text-align:center !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}

.annual-poster-section {
    margin-top:8px !important;
    padding:8px !important;
    background:#f1ead8 !important;
    border:1px solid #b9aa80 !important;
    border-radius:0 !important;
}
.annual-poster {
    background:#fff !important;
    border:3px double #26372c !important;
}
.annual-poster img {
    display:block !important;
    width:100% !important;
    height:auto !important;
}
.reference-notice {
    margin-top:8px !important;
    padding:10px 14px 11px !important;
    color:#2c2c2c !important;
    background:#fffdf2 !important;
    border-top:4px solid #b71920 !important;
    border-bottom:2px solid #24362b !important;
    box-shadow:inset 0 0 0 1px #d8c99e !important;
    text-align:center !important;
}
.reference-notice strong {
    display:block !important;
    margin-bottom:5px !important;
    color:#a5141b !important;
    font-size:17px !important;
    letter-spacing:2px !important;
}
.reference-notice p {
    margin:2px 0 !important;
    color:#555047 !important;
    font-size:12px !important;
    line-height:1.6 !important;
}

body.lightbox-open { overflow:hidden !important; }
.image-lightbox {
    position:fixed !important;
    inset:0 !important;
    z-index:10000 !important;
    display:none !important;
    align-items:center !important;
    justify-content:center !important;
    padding:24px !important;
    box-sizing:border-box !important;
    background:rgba(10,17,13,.94) !important;
}
.image-lightbox.is-open { display:flex !important; }
.image-lightbox figure {
    max-width:min(94vw,1000px) !important;
    max-height:92vh !important;
    margin:0 !important;
    text-align:center !important;
}
.image-lightbox img {
    display:block !important;
    max-width:100% !important;
    max-height:84vh !important;
    margin:auto !important;
    object-fit:contain !important;
    background:#fff !important;
    border:4px solid #fff !important;
    box-shadow:0 0 0 2px #d1b25c !important;
}
.image-lightbox figcaption {
    margin-top:10px !important;
    color:#fff !important;
    font-size:15px !important;
    font-weight:700 !important;
}
.image-lightbox-close {
    position:fixed !important;
    top:14px !important;
    right:16px !important;
    width:44px !important;
    height:44px !important;
    padding:0 !important;
    color:#fff !important;
    background:#b71920 !important;
    border:2px solid #fff !important;
    border-radius:50% !important;
    font:700 32px/36px Arial,sans-serif !important;
    cursor:pointer !important;
}

@media (max-width:540px) {
    body .header.index-header { padding:0 !important; border-top-width:4px !important; border-bottom-width:4px !important; }
    body .header.index-header .logo-box {
        min-height:72px !important;
        gap:6px !important;
        padding:8px 8px 10px 12px !important;
        border-top-width:4px !important;
        border-bottom-width:3px !important;
    }
    body .header.index-header .logo-box::after { right:10px !important; bottom:5px !important; left:10px !important; }
    body .site-brand-title { font-size:28px !important; letter-spacing:-1.5px !important; text-shadow:1px 1px 0 #fff,2px 2px 0 #d9b75a !important; }
    body .site-brand-edition { margin-left:4px !important; padding:2px 4px !important; font-size:9px !important; letter-spacing:0 !important; }
    body .site-brand-subtitle { margin-top:5px !important; font-size:9px !important; letter-spacing:1.2px !important; }
    body .primary-domain { min-width:124px !important; padding:24px 9px 9px 12px !important; font-size:15px !important; border-left-width:3px !important; border-right-width:3px !important; }
    body .primary-domain::before { top:8px !important; left:10px !important; font-size:8px !important; letter-spacing:1px !important; }
    body .subnav { margin:0 5px !important; border-top-width:3px !important; }
    body .subnav .hhh { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
    body .subnav a,
    body .subnav a:nth-child(-n + 3),
    body .subnav a:nth-child(n + 4) {
        min-height:42px !important;
        border-right:1px solid #d7d2c8 !important;
        border-bottom:1px solid #d7d2c8 !important;
        font-size:13px !important;
        line-height:42px !important;
    }
    body .subnav a:nth-child(3n) { border-right:0 !important; }
    body .subnav a:nth-child(n + 4) { border-bottom:0 !important; }
    body .hero-caption { gap:7px !important; min-height:38px !important; padding:7px 8px !important; font-size:11px !important; }
    body .hero-caption strong { font-size:14px !important; }
    body .hero-caption span { padding-left:7px !important; font-size:10px !important; }
    .archive-gallery-section { padding:0 8px 12px !important; }
    .archive-gallery-cta { margin:0 -8px 10px !important; padding:10px 5px !important; font-size:19px !important; }
    .archive-gallery { gap:13px 10px !important; }
    .archive-gallery .gallery-item span { padding-top:7px !important; font-size:14px !important; }
    .annual-poster-section { padding:5px !important; }
    .reference-notice { padding:8px 9px 9px !important; }
    .reference-notice strong { font-size:15px !important; }
    .reference-notice p { font-size:11px !important; line-height:1.5 !important; }
    .image-lightbox { padding:14px !important; }
    .image-lightbox img { max-height:80vh !important; }
    .image-lightbox figcaption { font-size:13px !important; }
}
