html, body {
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    font-family: Microsoft JhengHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Arial, sans-serif;
}

.main::-webkit-scrollbar {
    display: none
}

.main {
    width: 100%;
    margin-bottom: 150px;
    padding-bottom: 150px;
}

/* 重播胶囊：目标移动端 huifang2（radius26 / 13px / 高20 / pad 0 15） */
.huifang2 {
    display: inline-block;
    font-style: normal;
    border-radius: 26px;
    padding: 0 15px;
    color: #fff;
    background: #1a3d96;
    margin: 0 0 3px 5px;
    font-size: 13px;
    text-align: center;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
}

/* 顶部 logo 行：目标 logo-box（space-between、底部对齐、pt20 pb10） */
.logo-box {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    padding-bottom: 10px;
}

.logo-img {
    width: 173px;
    height: 96px;
    border: none;
}

/* 导航下黄色分隔线 + 11px 空隙（目标 daohang 后两个空 div） */
.nav-line {
    height: 5px;
    background: #eee222;
}

.nav-spacer {
    height: 11px;
}

.six_btn {
    border-top: 1px solid #ddd;
    width: 95%;
    overflow: hidden;
    margin: 26px auto;
}

.six_btn_div {
    width: 33%;
    float: left;
    height: 140px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-size: 32px;
    align-items: center;
}

.six_btn_div img {
    width: 69px;
}

.img_area {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.img_list {
    width: 46%;
    border-radius: 9px;
    box-shadow: 0 0 7px 4px #bbb8b8;
    margin-top: 42px;
    cursor: pointer;
}

.img_list img {
    width: 100%;
}

.img_list span {
    color: #666;
    font-weight: 500;
    font-size: 29px;
    margin-left: 3%;
}

/* 分类/切换按钮行：目标移动端为一排小胶囊（高36、圆角34、字号16） */
.fenlei {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    background: #ffffff;
    padding: 12px 4px;
}

.fenlei > div {
    flex: 1 1 0;
    height: 36px;
    border-radius: 34px;
    font-size: 16px;
    overflow: hidden;
    cursor: pointer;
}

/* 轮播：目标移动端高约126px、圆角8px、左右留4px */
.lunbo {
    border-radius: 8px;
    overflow: hidden;
    margin: 0 4px;
}

.lunbo img {
    width: 100%;
    height: 126px;
    object-fit: cover;
}

.lottery-img {
    width: 112px;
    height: 63px;
}

.font-l {
    font-size: 16px;
    color: white;
    font-weight: 700;
}

/* 开奖卡片容器：目标移动端白色块，左右留边 */
.gt-sec {
    background: #fff;
    margin-top: 10px;
    padding: 8px 3px 6px;
}

/* 标题卡：目标 title-info——高48、1px 蓝边框、圆角4、蓝字 */
.title-info {
    width: 100%;
    height: 48px;
    padding: 0 8px;
    border: 1px solid #1a3d96;
    background: #fff;
    margin: 0 auto;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    color: #1a3d96;
    font-weight: 700;
}

.countdown-zone {
    background: #ffffff;
    padding-top: 8px;
    width: 100%;
    margin: 0 auto;
}

.countdown {
    font-size: 16px;
    margin-left: 8px;
    float: left;
}

/* 读秒白框：目标移动端 countdown-item——34x44 / 30px / #8c8585 边框 */
.countdown-number {
    font-size: 30px;
    padding: 0;
    display: inline-block;
    text-align: center;
    color: #000;
    background-color: #fff;
    border: 1px solid #8c8585;
    border-radius: 4px;
    width: 34px;
    height: 44px;
    line-height: 44px;
    margin-left: 4px;
    box-sizing: border-box;
    font-weight: 500;
}

/* 冒号分隔符：模板内联 3rem 过大，压到 24px（首页 .gt-cdrow 与 .countdown-zone 内） */
.countdown span:not(.countdown-number) {
    font-size: 24px !important;
    font-weight: 700;
    line-height: 44px;
}

.find {
    display: inline-block;
    font-size: 12px;
    background: linear-gradient(180deg, #deb030, #e59e10);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 0 3px inset;
    border: 1px solid #bb8215;
}

.source {
    display: inline-block;
    font-size: 14px;
    background: linear-gradient(180deg, #d21e1e, #b02b21);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 0 3px inset;
    border: 1px solid #b02b21;
}

.jieguo {
    float: left;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 主号码方块：目标移动端 46x46 / 30px 白字，圆角3px */
.block-lump {
    color: #FFF;
    width: 46px;
    height: 46px;
    font-size: 30px;
    font-weight: 700;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 开奖风格（圆圈） */
.block-lump-circle {
    color: #000;
    width: 46px;
    height: 46px;
    font-size: 28px;
    line-height: 46px;
    font-weight: 700;
    text-align: center;
}

/* 切换开奖风格：目标移动端 switch_style（矩形 圆角6 / 15px） */
.switch_style {
    display: inline-block;
    font-style: normal;
    border-radius: 6px;
    margin: 0 15px 0 0;
    padding: 2px 12px;
    color: #fff;
    background: #1a3d96;
    font-size: 15px;
    text-align: center;
    line-height: 23px;
    height: 23px;
    cursor: pointer;
}

/* 生肖行：46宽 / 14px bolder */
.zodiac {
    width: 46px;
    font-size: 20px;
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-logo {
    height: 46px;
    float: left;
    margin: 0 2px;
    display: flex;
    align-items: center;
}

.movements {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #d80011;
    margin-bottom: 20px;
}

/* 历史开奖容器：目标 hisWrapper——1px #d4d4d4 边框 */
.history_open {
    background: #ffffff;
    width: 95%;
    margin: 16px auto;
    border: 1px solid #d4d4d4;
}

/* 历史行表头：目标 hisSubject——#f0f0f0 灰底、14px、#414141 加粗居中 */
.his-subject {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #414141;
    font-size: 14px;
    font-weight: 700;
    background-color: #f0f0f0;
    padding: 6px 0;
}

/* 历史行：目标 hisItem——期号19% + 号码46%（时间/玩法移动端隐藏） */
.his-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #414141;
    font-size: 14px;
    padding: 2px 0;
    border-top: 1px solid #d0d0d0;
    position: relative;
    background: #fff;
}

.his-issue {
    width: 19%;
    color: #d21e1e;
    font-weight: 600;
}

.his-subject .his-issue,
.his-subject .his-code,
.his-subject .his-time {
    color: #414141;
    font-weight: 700;
}

.his-time {
    flex: 1;
    display: none;
}

.his-code {
    width: 46%;
    text-align: left;
}

.his-code::after {
    content: "";
    display: block;
    clear: both;
}

.history_list {
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    height: 190px;
    border-bottom: 1px solid #a19999;
}

.history_open_left {
    margin-left: 20px;
}

.history_open_right {
    margin-right: 20px;
}

.history_jieguo {
    float: left;
    margin: 0 1px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 历史号码方块：46x46 / 30px / 圆角3px */
.history_block-lump {
    color: #FFF;
    width: 46px;
    height: 46px;
    font-size: 30px;
    font-weight: 700;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history_block-lump-circle {
    width: 46px;
    height: 46px;
    font-size: 28px;
    line-height: 46px;
    text-align: center;
    font-weight: 700;
}

.history_zodiac {
    width: 46px;
    font-size: 19px;
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history_add-logo {
    height: 46px;
    float: left;
    margin: 0 1px;
    display: flex;
    align-items: center;
}

.load-more {
    height: 40px;
    margin-top: 12px;
    margin-bottom: 24px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    cursor: pointer;
    color: #1a3d96;
    font-weight: 700;
}

.turn_hide {
    display: none;
}

.fenceng {
    display: flex;
    justify-content: space-around;
    margin: 12px auto;
}

.left_info {
    font-weight: 700;
    color: #1a3d96;
    font-size: 18px;
    text-align: right;
    width: 25%;
}

.right_info {
    font-weight: 700;
    font-size: 18px;
    text-align: left;
    width: 70%;
}

/* 底部导航：目标移动端白底、图标蓝、文字黑加粗 */
.bottom_navi {
    width: 100%;
    height: 60px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 1001;
    box-sizing: border-box;
}

.bottom_navi_xuan {
    width: 20%;
    height: 100%;
    background: transparent;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.bottom_navi_xuan i {
    color: #1a3d96;
    font-weight: 700;
    margin-bottom: 3px;
}

.bottom_navi_xuan.active i {
    color: #d21e1e;
}

.bottom_navi_xuan img {
    width: 26px;
    height: 26px;
    border-radius: 44px;
}

.article {
    border: 1px solid #ddd;
    width: 95%;
    margin: 0 auto;
    background: white;
}

.touma {
    text-align: center;
    font-size: 22px;
    height: 50px;
    font-weight: 800;
    line-height: 50px;
    color: #fff;
    background: #1a3d96;
}

.article_list {
    border-top: 1px solid #ddd;
    margin: 0 auto;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.td1 {
    border-right: 1px solid #ddd;
    height: 100%;
    display: inline-block;
}

.td_t {
    text-align: center;
}

.td2 {
    display: inline-block;
}

.td3 {
    display: inline-block;
}

.td4 {
    border-left: 1px solid #ddd;
    height: 100%;
    display: inline-block;
}

/* 顶部导航条：与目标站 macaujc.com 移动端一致 */
.daohang {
    display: flex;
}

.daohang a {
    flex: 1 1 0;
    text-decoration: none;
}

.daohangdiv {
    height: 38px;
    text-align: center;
    line-height: 38px;
    color: #fff;
    font-size: 15px;
}

.dhBg {
    color: #fff100 !important;
}

/* 当期信息区：目标站 gt-now（白卡内浅灰条：期号+直播胶囊 / 開奖时间 / 中獎號碼小彩球+回放） */
.gt-now {
    background: #f7f7f7;
    border-radius: 6px;
    margin: 8px 8px 10px;
    padding: 8px 10px;
}

.gt-now-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    color: #333333;
    padding: 3px 0;
}

.gt-now-l {
    color: #333333;
    font-weight: 700;
}

.gt-now-v {
    color: #333333;
}

.gt-tag-live {
    background: #1a3d96;
    color: #ffffff;
    border-radius: 10px;
    padding: 1px 8px;
    font-size: 12px;
    margin-left: 6px;
}

.gt-tag-play {
    background: #1a3d96;
    color: #ffffff;
    border-radius: 10px;
    padding: 1px 8px;
    font-size: 12px;
    margin-left: 6px;
    text-decoration: none;
}

.gt-now-balls {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 3px;
    width: 100%;
    margin: 4px 0 2px;
}

.gt-now-balls .one {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.gt-now-balls i {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 4px;
    text-align: center;
    font-style: normal;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.gt-now-balls u {
    font-size: 12px;
    color: #333333;
    text-decoration: none;
    margin-top: 2px;
}

.gt-now-balls .op {
    color: #d80011;
    font-weight: 700;
    line-height: 36px;
}

/* 刮奖眼睛图标 */
.gt-eye {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: -3px;
}

/* 首页就地切换的 GT 卡片：读秒/刮奖行与六合彩卡一致（34x44 / 30px / 冒号24） */
.gth-wrap {
    background: #fff;
    margin-top: 10px;
    padding: 8px 3px 6px;
}
.gth-wrap .gt-cd {
    width: 34px;
    height: 44px;
    font-size: 30px;
    border: 1px solid #8c8585;
    border-radius: 4px;
    font-weight: 500;
    margin-left: 4px;
}
.gth-wrap .gt-cd-colon {
    font-size: 24px;
    font-weight: 700;
}
.gth-wrap .gt-gua {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    font-size: 15px;
}
