/* 绿皮 v20260808k —— 印章改用红皮同款四格样式 */
:root {
    --brand: #2EBC78;
    --brand-dark: #249a62;
    --panel: #2EBC78;
    --host: #2EBC78;
    --accent: #ffeb3b;
    --text-brand: #fff;
    --content-text: #222;
    --radius-nav: 6px;
    --border-w: 1px;
    --night-bg: #ffffff;
    --night-bar: #2EBC78;
    --night-card: #ffffff;
    --night-line: #2EBC78;
    --night-gold: #ffeb3b;
    --night-neon: #2EBC78;
    --night-soft: #e8fff2;
    --grass: #2EBC78;
}

body.theme-green {
    background: #fff !important;
    color: #222;
}

/* 取消顶部玩法导航，保留开奖区域 */
body.theme-green #nav2 {
    display: none !important;
}
body.theme-green .rainbow-text {
    display: none !important;
}

body.theme-green .view2 > main {
    padding-top: 0 !important;
    background: #fff !important;
}
body.theme-green .bui-page,
body.theme-green .view2,
body.theme-green .bui-box-vertical {
    background: #fff !important;
}
body.theme-green img.header {
    display: none !important;
}
body.theme-green .bui-tab,
body.theme-green .bui-tab-main,
body.theme-green .bui-tab-main > ul,
body.theme-green .bui-tab-main > ul > li {
    background: transparent !important;
}

body.theme-green #uiTab.bui-tab {
    height: auto !important;
    background: #fff !important;
    padding-bottom: .08rem;
}
body.theme-green #uiTab > .bui-tab-main,
body.theme-green #uiTab > .bui-tab-head {
    flex: 0 0 auto !important;
    height: auto !important;
}
body.theme-green #uiTab .bui-tab-main > ul,
body.theme-green #uiTab .bui-tab-main > ul > li {
    height: auto !important;
}

/* ========== 顶部品牌栏（左域名 + 右「新港官方」章） ========== */
body.theme-green .site-topbar {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .2rem;
    width: auto;
    box-sizing: border-box;
    min-height: 1.48rem;
    margin: 0;
    padding: .18rem .18rem .18rem .24rem;
    overflow: hidden;
    background: #2EBC78 !important;
    color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .06);
}
body.theme-green .site-topbar::before,
body.theme-green .site-topbar::after {
    display: none !important;
}
body.theme-green .site-topbar-left,
body.theme-green .site-topbar-seals {
    position: relative;
    z-index: 1;
}
body.theme-green .site-topbar-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: .1rem;
    min-width: 0;
    flex: 1;
    padding: 0;
    padding-right: 1.45rem;
    text-align: left;
}
body.theme-green .site-topbar-ball {
    display: none !important;
}
body.theme-green .site-topbar-brand {
    min-width: 0;
    display: block;
    width: auto;
    text-align: left;
}
body.theme-green .site-topbar-hero {
    display: flex;
    align-items: center;
    gap: .1rem;
    line-height: 1;
}
body.theme-green .site-topbar-hero .hero-main {
    color: #ff2d2d;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .01rem;
    line-height: 1;
    font-family: Arial Black, "Arial", "Helvetica Neue", sans-serif;
    text-shadow:
        -2px -2px 0 #ffe14a,
         2px -2px 0 #ffe14a,
        -2px  2px 0 #ffe14a,
         2px  2px 0 #ffe14a,
         0 2px 0 rgba(0, 0, 0, .12);
}
body.theme-green .site-topbar-hero .hero-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .06rem;
    padding-bottom: .02rem;
}
body.theme-green .site-topbar-badge {
    display: inline-block;
    padding: .03rem .12rem;
    border-radius: 999px;
    background: #ffe14a;
    color: #d50000;
    font-size: .2rem;
    font-weight: 900;
    line-height: 1.25;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
body.theme-green .site-topbar-hero .hero-tld {
    color: #ffe14a;
    font-size: .38rem;
    font-weight: 900;
    line-height: 1;
    font-family: Arial Black, "Arial", "Helvetica Neue", sans-serif;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}
body.theme-green .site-topbar-name,
body.theme-green .site-topbar-domain {
    display: none !important;
}
body.theme-green .site-topbar-seals {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    position: absolute;
    right: .16rem;
    top: 50%;
    transform: translateY(-50%);
}
/* 红皮同款印章：红底 + 四格黄块红字 */
body.theme-green .seal-ao {
    width: 1.28rem;
    height: 1.28rem;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    padding: 4px;
    box-sizing: border-box;
    background: linear-gradient(160deg, #e53935, #b71c1c);
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 10px;
    color: #b71c1c;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .35),
        0 4px 10px rgba(0, 0, 0, .28);
}
body.theme-green .seal-ao::after {
    display: none !important;
    content: none !important;
}
body.theme-green .seal-ao span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #fff59d, #ffd54f);
    color: #b71c1c;
    font-size: .32rem;
    font-weight: 900;
    line-height: 1;
    border-radius: 4px;
    text-shadow: none;
}

/* ========== 彩种标签 · 图2白底胶囊（选中草绿） ========== */
body.theme-green .bui-tab .bui-tab-head {
    background: #fff !important;
    border-bottom: none;
    border-top: 0;
    padding: .12rem .12rem .06rem;
    overflow: visible;
    margin-top: 0;
}
body.theme-green .bui-tab-head > .diy-tab-btn {
    display: flex !important;
    gap: .1rem;
    width: 100%;
    white-space: normal;
}
body.theme-green .bui-tab-head > .diy-tab-btn > .bui-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: .14rem .06rem !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 999px !important;
    background: #f3f3f3 !important;
    color: #e53935 !important;
    font-weight: 800;
    font-size: .28rem;
    box-shadow: none;
    line-height: 1.15;
}
body.theme-green .bui-tab-head > .diy-tab-btn > .active,
body.theme-green .bui-tab-head > .diy-tab-btn > .active:after {
    background: var(--grass) !important;
    color: #fff !important;
    border-color: var(--grass) !important;
    border-radius: 999px !important;
    box-shadow: none;
}
body.theme-green .bui-tab-head > .diy-tab-btn > .active p,
body.theme-green .bui-tab-head > .diy-tab-btn > .bui-btn p {
    display: none !important;
}
body.theme-green #uiTab {
    margin: 0 !important;
    background: #fff !important;
    padding: 0 0 .06rem !important;
    border: 0;
    border-top: 2px solid #2EBC78;
    border-bottom: 2px solid #2EBC78;
    border-radius: 0;
    overflow: hidden;
}
body.theme-green #uiTab.bui-tab {
    background: #fff !important;
    height: auto !important;
}
body.theme-green .box-bg {
    background: #fff !important;
}

/* ========== 开奖区 · 白底经典竖色块（贴参考比例） ========== */
body.theme-green .open-qiu-box,
body.theme-green .view2 .open-qiu-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: .08rem;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: .08rem .1rem .12rem !important;
    box-shadow: none;
}
body.theme-green .open-qiu-box > .head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 1.28rem;
    width: 1.28rem;
    margin: 0 !important;
    gap: .08rem;
    text-align: center;
}
body.theme-green .view2 .open-qiu-box > .head {
    margin-bottom: 0 !important;
}
body.theme-green .open-qiu-box > .head .qishu {
    font-size: 0 !important;
    line-height: 1.15;
    color: #111 !important;
}
body.theme-green .open-qiu-box > .head .qishu span {
    font-size: .3rem !important;
    font-weight: 900 !important;
    color: #111 !important;
}
body.theme-green .open-qiu-box > .head .qishu span::after {
    content: "期开";
}
body.theme-green .open-qiu-box > .head .djsbox,
body.theme-green .open-qiu-box > .head .text.djsbox {
    display: none !important;
}
body.theme-green .open-qiu-box > .head .gd-log {
    display: inline-block !important;
    font-size: 0 !important;
    cursor: pointer;
    padding: .04rem .1rem;
    background: #ffeb3b !important;
    border-radius: 4px;
    line-height: 1.25;
    color: transparent !important;
}
body.theme-green .open-qiu-box > .head .gd-log::after {
    content: "开奖记录";
    font-size: .22rem;
    font-weight: 800;
    color: #e53935;
}
body.theme-green .open-qiu-box > .foot {
    display: none !important;
}
body.theme-green .open-qiu-box > .open-num {
    flex: 1 1 auto;
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: .05rem !important;
    padding: 0 !important;
    min-width: 0;
}
body.theme-green .open-qiu-box > .open-num .box {
    width: .72rem !important;
    min-width: .66rem;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 2px;
    overflow: hidden;
    background: transparent !important;
    border: 1px solid #ddd;
}
body.theme-green .open-qiu-box > .open-num .box .qiu {
    width: 100% !important;
    height: .58rem !important;
    line-height: .58rem !important;
    border-radius: 0 !important;
    font-size: .3rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    box-shadow: none !important;
    margin: 0 !important;
    text-align: center;
    background-image: none !important;
}
/* API：红=box-num-0，蓝=box-num-1，绿=box-num-6（勿把 0 当成灰色空球） */
body.theme-green .open-qiu-box > .open-num .box .qiu.box-num-0,
body.theme-green .open-qiu-box > .open-num .box.box-num-0 .qiu,
body.theme-green .open-qiu-box > .open-num .box .qiu.box-num-2,
body.theme-green .open-qiu-box > .open-num .box.box-num-2 .qiu,
body.theme-green .open-qiu-box > .open-num .box .qiu.box-num-4,
body.theme-green .open-qiu-box > .open-num .box.box-num-4 .qiu {
    background: #e53935 !important;
}
body.theme-green .open-qiu-box > .open-num .box .qiu.box-num-1,
body.theme-green .open-qiu-box > .open-num .box.box-num-1 .qiu,
body.theme-green .open-qiu-box > .open-num .box .qiu.box-num-3,
body.theme-green .open-qiu-box > .open-num .box.box-num-3 .qiu,
body.theme-green .open-qiu-box > .open-num .box .qiu.box-num-5,
body.theme-green .open-qiu-box > .open-num .box.box-num-5 .qiu {
    background: #1e88e5 !important;
}
body.theme-green .open-qiu-box > .open-num .box .qiu.box-num-6,
body.theme-green .open-qiu-box > .open-num .box.box-num-6 .qiu {
    background: var(--grass) !important;
}
body.theme-green .open-qiu-box > .open-num .box .qiu.bg-amage-0 {
    background: #b0bec5 !important;
}
body.theme-green .open-qiu-box > .open-num .box.box-num-100 .qiu,
body.theme-green .open-qiu-box > .open-num .box .qiu.box-num-100 {
    background: #90a4ae !important;
    color: #fff !important;
    font-size: .24rem !important;
}
body.theme-green .open-qiu-box > .open-num .box .text {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: .44rem !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
    border: 0 !important;
    border-top: 1px solid #ddd !important;
    border-radius: 0 !important;
    font-size: .24rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}
body.theme-green .open-qiu-box > .open-num .box:nth-child(7) {
    width: .34rem !important;
    min-width: .34rem;
    background: #ffeb3b !important;
    border: 0 !important;
    border-radius: 2px;
    align-items: center !important;
    justify-content: center !important;
}
body.theme-green .open-qiu-box > .open-num .box:nth-child(7) .bi,
body.theme-green .open-qiu-box > .open-num .box:nth-child(7) .qiu,
body.theme-green .open-qiu-box > .open-num .box:nth-child(7) .text {
    display: none !important;
}
body.theme-green .open-qiu-box > .open-num .box:nth-child(7)::after {
    content: "刷新";
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: .02rem;
    font-size: .2rem;
    font-weight: 900;
    color: #e53935;
    line-height: 1.05;
    padding: .02rem 0;
}
/* 澳彩/港彩嵌入条：整体缩小一档，内容不裁切 */
body.theme-green .official-draw-box {
    height: 118px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}
body.theme-green .official-draw-frame {
    display: block !important;
    width: 125% !important;
    height: 148px !important;
    border: 0 !important;
    background: #fff !important;
    transform: scale(0.8);
    transform-origin: top left;
}
body.theme-green #uiTab .bui-tab-main,
body.theme-green #uiTab .bui-tab-main > ul,
body.theme-green #uiTab .bui-tab-main > ul > li {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
}

/* ========== 跑马灯（开奖区下方） ========== */
body.theme-green .view2 .zxgg {
    display: flex !important;
    align-items: center;
    gap: .1rem;
    margin: 0 !important;
    padding: .1rem .16rem !important;
    background: #fff8e1 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #2EBC78;
    font-weight: 700;
}
body.theme-green .view2 .zxgg > div:first-child {
    display: none !important;
}
body.theme-green .view2 .zxgg::before {
    content: "📢";
    flex: 0 0 auto;
    font-size: .28rem;
}
body.theme-green .view2 .zxgg marquee,
body.theme-green .view2 .zxgg div {
    color: #c62828 !important;
    font-size: .26rem;
    text-shadow: none;
}
body.theme-green marquee {
    color: #c62828;
}

/* ========== 帖子标题（统一夜场金边，B/C/D 同款） ========== */
body.theme-green .open-log[class*="post-hd-"] > .biaoti img {
    display: none !important;
}
body.theme-green .open-log[class*="post-hd-"] > .biaoti {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: .88rem;
    box-sizing: border-box;
    padding: .16rem .2rem;
    gap: .12rem;
    background: #2EBC78 !important;
    border-bottom: 1px solid var(--night-gold);
    color: #fff8e1;
}
body.theme-green .open-log[class*="post-hd-"] > .biaoti::before {
    content: "";
    position: absolute;
    inset: 0 0 55% 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent);
    pointer-events: none;
}
body.theme-green .open-log[class*="post-hd-"] > .biaoti .text1,
body.theme-green .open-log[class*="post-hd-"] > .biaoti .text2 {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    max-width: 48%;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff8e1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    clip-path: none !important;
    -webkit-text-stroke: 0;
    text-shadow: none;
    text-align: center;
}
body.theme-green .open-log[class*="post-hd-"] > .biaoti .text1 {
    font-size: .3rem;
}
body.theme-green .open-log[class*="post-hd-"] > .biaoti .text1::before {
    content: "🏆 ";
}
body.theme-green .open-log[class*="post-hd-"] > .biaoti .text2 {
    font-size: .3rem;
    max-width: none;
}
body.theme-green .open-log[class*="post-hd-"] > .host {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .1rem .1rem !important;
    background: var(--night-bar) !important;
    border: 0 !important;
    border-bottom: 1px solid #2a7a52 !important;
}
body.theme-green .open-log[class*="post-hd-"] > .host .url {
    display: inline-block;
    padding: .04rem .14rem;
    font-size: .24rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ========== 玩法帖外框 ========== */
body.theme-green .view2 .open-log {
    width: 98%;
    margin: .18rem auto 0;
    padding: 0;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #2EBC78;
    border-radius: 6px;
    box-shadow: none;
}
body.theme-green .view2 .open-log > .biaoti {
    margin: 0;
}
body.theme-green .open-log > .host {
    background: var(--night-bar) !important;
    border-bottom: 1px solid #2a7a52 !important;
    padding: .1rem 0 !important;
}
body.theme-green .view2 .open-log .host .url {
    background: transparent;
    color: #fff;
    font-weight: 800;
    font-size: .24rem;
    padding: .04rem .14rem;
    border: 0;
}
body.theme-green .open-log > .content {
    padding: .1rem 0 .12rem !important;
    background: #fff !important;
    text-align: left !important;
}
body.theme-green .open-log > .content.bg-fff {
    background: #fff !important;
}
/* 三栏：期号 | 正文 | 状态，避免 flex 拆碎内部标签导致换行乱 */
body.theme-green .open-log > .content .text {
    display: flex !important;
    align-items: flex-start;
    flex-wrap: nowrap !important;
    gap: .12rem;
    color: #222;
    font-size: .28rem !important;
    line-height: 1.5 !important;
    padding: .16rem .14rem !important;
    text-align: left !important;
    font-weight: 700;
    border-radius: 0;
    box-sizing: border-box;
}
body.theme-green .open-log > .content .text.sqbz-item {
    display: block !important;
    padding: 0 !important;
    text-align: center !important;
}
body.theme-green .open-log > .content .text .floor {
    flex: 0 0 auto;
    color: #fff;
    font-weight: 800;
    font-size: .22rem;
    padding: .06rem .1rem;
    border-radius: 4px;
    min-width: .92rem;
    text-align: center;
    background: #2EBC78;
    line-height: 1.25;
    margin-top: .02rem;
}
body.theme-green .open-log > .content .text .line-main {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-weight: 700;
    line-height: 1.5;
}
body.theme-green .open-log > .content .text .line-main br {
    display: block;
    content: "";
    margin-top: .04rem;
}
body.theme-green .open-log > .content .text .badge {
    flex: 0 0 auto;
    margin-left: 0;
    margin-top: .02rem;
    font-size: .2rem;
    font-weight: 800;
    padding: .04rem .1rem;
    border-radius: 20px;
    white-space: nowrap;
    align-self: flex-start;
}
body.theme-green .open-log > .content .text .badge.win {
    background: #e0ffe9;
    color: #2e9a4e;
    border: 1px solid #2EBC78;
}
body.theme-green .open-log > .content .text .badge.lose {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
body.theme-green .open-log > .content .text .badge.wait {
    background: #eceff1;
    color: #607d8b;
    border: 1px solid #b0bec5;
}
body.theme-green .open-log > .content .text .result-mark {
    display: none !important;
}
body.theme-green .open-log > .content .text:nth-child(odd) {
    background: #ecfff4;
}
body.theme-green .open-log > .content .text:nth-child(even) {
    background: #fff;
}
body.theme-green .open-log > .shangxuxian-000 .text:not(:first-child) {
    border-top: 1px dashed #9eefc0;
}
body.theme-green .open-log > .content .text.compact-line {
    white-space: normal !important;
    font-size: .26rem !important;
    line-height: 1.45 !important;
    letter-spacing: 0;
}
body.theme-green .open-log .hbt {
    margin: .08rem auto .12rem;
    width: 98%;
    border: 1px solid #9eefc0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
body.theme-green .paiqi {
    color: #c62828;
    font-weight: 800;
    font-size: 1em;
}
body.theme-green .color-lanse {
    color: #1565c0;
    font-weight: 800;
}
body.theme-green .zhong {
    display: inline;
    background: #fff59d;
    color: #1b5e20;
    padding: 0 .03rem;
    border-radius: 2px;
    font-weight: 800;
    white-space: nowrap;
}

/* ========== 广告图 / 白底块 ========== */
body.theme-green .img-box {
    display: block !important;
    border: 0;
    background: transparent !important;
    margin: .12rem 0 0;
}
body.theme-green .img-box img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    visibility: visible !important;
}
body.theme-green .bg-fff,
body.theme-green .white-box {
    background-color: #2EBC78 !important;
}
body.theme-green .bui-btn {
    background-color: #2EBC78 !important;
}
body.theme-green .bui-tab-head .bui-btn {
    background-color: #fff !important;
    color: #e53935 !important;
}
body.theme-green .bui-tab-head .bui-btn.active {
    background-color: #2EBC78 !important;
    color: #fff !important;
}

/* ========== 弹窗 D · 夜场金边 ========== */
body.theme-green .bui-dialog-center {
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #2EBC78 !important;
    border: 1px solid var(--night-gold);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .45);
}
body.theme-green .bui-dialog-center::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #b89420, #ffe9a0, #b89420);
    z-index: 2;
    pointer-events: none;
}
body.theme-green .bui-dialog .bui-dialog-head {
    width: 100% !important;
    margin: 12px 0 0 !important;
    height: auto !important;
    min-height: 52px;
    line-height: 1.25 !important;
    padding: 10px 36px 6px 10px;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff8e1 !important;
    font-weight: 900;
    font-size: 22px !important;
    text-align: center;
}
body.theme-green .bui-dialog .bui-dialog-head::before {
    content: "DAILY NOTICE";
    display: block;
    color: var(--night-gold);
    font-size: 11px;
    letter-spacing: .2em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
body.theme-green .bui-dialog .gggg {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 4px 0 8px;
    padding: 0 10px;
}
body.theme-green .bui-dialog .gggg span {
    width: auto !important;
    min-width: 22px;
    height: 22px !important;
    line-height: 22px !important;
    padding: 0 4px;
    border-radius: 4px !important;
    border: 1px solid #d4a82a;
    color: #ffe9a0 !important;
    font-size: 11px !important;
    flex: 0 0 auto !important;
    background: #2EBC78 !important;
}
body.theme-green .bui-dialog .bui-dialog-main {
    background: #2EBC78 !important;
    margin: 8px 10px !important;
    height: 310px !important;
    border: 1px solid #6a5a28;
    border-radius: 8px;
}
body.theme-green .diy-pop,
body.theme-green .diy-pop .popup-content,
body.theme-green .diy-pop .popup-content *:not(img) {
    color: #fff6d8 !important;
}
body.theme-green .diy-pop .popup-content {
    font-size: 16px;
    line-height: 1.55;
}
body.theme-green .diy-pop .popup-content div,
body.theme-green .diy-pop .popup-content p,
body.theme-green .diy-pop .popup-content span,
body.theme-green .diy-pop .popup-content section {
    background-color: transparent !important;
}
body.theme-green .diy-pop .popup-content a {
    color: #ffe9a0 !important;
    text-decoration: underline;
}
body.theme-green .diy-pop .popup-content strong {
    display: block;
    margin-top: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #249a62 !important;
    border: 1px solid var(--night-gold);
    color: #ffe9a0 !important;
    font-weight: 800;
}
body.theme-green .diy-pop .popup-content strong * {
    color: #ffe9a0 !important;
    background: transparent !important;
}
body.theme-green .bui-dialog .bui-dialog-close {
    top: 8px !important;
    right: 8px !important;
    color: #ffe9a0 !important;
}

/* ========== 历史开奖页 ========== */
body.theme-green .history-bar {
    background: #2EBC78;
    border-bottom: 1px solid #249a62;
    color: #fff;
}
body.theme-green .history-card {
    background: #fff;
    border: 1px solid #2EBC78;
    border-radius: 6px;
    box-shadow: none;
}
body.theme-green .history-card .card-head,
body.theme-green .history-card .balls-row {
    background: var(--night-card);
}
body.theme-green .history-card .card-head .period,
body.theme-green .history-card .ball-plus,
body.theme-green .loading-spinner {
    color: var(--night-neon);
}
body.theme-green .load-more-btn {
    background: #2EBC78;
    color: #fff;
    border-radius: 6px;
    font-weight: 800;
    border: 1px solid #249a62;
}

/* 三期必中四肖块在夜场页上保持图库边框色 */
body.theme-green .sqbz-block {
    border-color: #2EBC78;
}

body.theme-green .cgi-foot,
body.theme-green footer {
    color: #2EBC78 !important;
    background: #fff !important;
    text-align: center;
    padding: .24rem 0 .4rem;
    font-size: .24rem;
}
body.theme-green .white-box {
    background: transparent !important;
    border: 0 !important;
}
