html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #fff;
    color: #111;
    font-family: "Microsoft JhengHei", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-size: 12px;
}

/* v93: non-LHC mobile homepage uses the original site's compact table layout, not Mark Six balls. */
.alt-home-zone {
    border: 1px solid #1f469c;
    background: #fff;
}

.alt-home-zone .lotteryTitle {
    border: 0;
    border-bottom: 1px solid #1f469c;
}

.alt-home-body {
    padding: 12px 18px 16px;
}

.alt-home-count-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 12px;
}

.alt-countdown {
    margin: 0;
}

.alt-scratch-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #1f469c;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.alt-current-scratch {
    position: relative;
    overflow: hidden;
}

.alt-current {
    width: 100%;
    color: #111;
}

.alt-current-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.alt-pk10-num,
.alt-ssc-num,
.alt-pk28-box,
.alt-pk28-sum {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8c8c8;
    box-sizing: border-box;
    line-height: 1;
    font-weight: 400;
}

.alt-pk10-num {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    color: #fff;
    font-size: 22px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .55);
}

.alt-ssc-num {
    width: 56px;
    height: 56px;
    border-color: #1f469c;
    background: #1f469c;
    color: #fff;
    font-size: 30px;
}

.alt-pk28-row {
    gap: 13px;
}

.alt-pk28-box,
.alt-pk28-sum {
    width: 54px;
    height: 54px;
    background: #fff;
    color: #111;
    font-size: 30px;
}

.alt-pk28-sum {
    border-color: #b43232;
    background: #de3838;
    color: #fff;
}

.alt-pk28-op {
    color: #333;
    font-size: 32px;
    line-height: 54px;
}

.alt-pk28-tag {
    color: #d83232;
    font-weight: 700;
}

.alt-pk28-tag.is-blue {
    color: #1f469c;
}

.alt-current-grid {
    display: grid;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid #d8d8d8;
    border-left: 1px solid #d8d8d8;
    background: #fff;
}

.alt-pk10-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.alt-ssc-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.alt-grid-title,
.alt-grid-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    color: #111;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
}

.alt-grid-cell {
    color: #1f469c;
    font-size: 20px;
}

.alt-grid-span-5 {
    grid-column: span 5;
}

.alt-grid-span-3 {
    grid-column: span 3;
}

.alt-current .is-red,
.alt-history-table .is-red {
    color: #d83232 !important;
}

.alt-current .is-blue,
.alt-history-table .is-blue {
    color: #1f469c !important;
}

.alt-pk28-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 22px;
    font-size: 24px;
    color: #111;
}

.alt-pk28-actions span:first-child {
    min-width: 116px;
    height: 48px;
    padding: 0 12px;
    border-radius: 6px;
    background: #1f469c;
    color: #fff;
    line-height: 48px;
    text-align: center;
}

.alt-pk28-actions a {
    min-width: 116px;
    height: 48px;
    padding: 0 12px;
    border-radius: 6px;
    color: #111;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.alt-pk28-actions a.is-active {
    background: #1f469c;
    color: #fff;
}

.pk28-trend-current {
    margin-bottom: 18px;
}

.pk28-trend-panel {
    background: #fff;
    margin-bottom: 20px;
}

.pk28-inline-trend-panel[hidden],
.pk28-inline-history[hidden],
.home-load-more-wrap[hidden] {
    display: none !important;
}

.pk28-trend-scroll {
    width: 100%;
    overflow-x: auto;
}

.pk28-trend-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    color: #050505;
    font-family: Arial, "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
}

.pk28-trend-table th,
.pk28-trend-table td {
    height: 58px;
    border: 1px solid #9f9f9f;
    padding: 0 4px;
    text-align: center;
    vertical-align: middle;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.pk28-trend-table th {
    height: 50px;
    background: #e7e7e7;
    font-size: 24px;
    font-weight: 800;
}

.pk28-trend-table tbody tr:nth-child(even) td {
    background: #e8e8e8;
}

.pk28-trend-table tbody tr:nth-child(odd) td {
    background: #fff;
}

.pk28-trend-table th:nth-child(1),
.pk28-trend-table td:nth-child(1) {
    width: 12%;
}

.pk28-trend-table th:nth-child(2),
.pk28-trend-table td:nth-child(2) {
    width: 9%;
}

.pk28-trend-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 5px;
    border: 2px solid #9b9b9b;
    background: transparent;
    color: #1f469c;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

.pk28-trend-badge.is-red {
    color: #d73535;
}

.pk28-trend-badge.is-blue {
    color: #1f469c;
}

.alt-history-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    color: #111;
    font-size: 18px;
}

.alt-history-table th,
.alt-history-table td {
    border: 1px solid #bcbcbc;
    padding: 8px 4px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
}

.alt-history-table th {
    background: #e7e7e7;
    color: #111;
    font-size: 20px;
    font-weight: 700;
}

.alt-table-pk10,
.alt-table-ssc,
.alt-table-pk28 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.alt-table-pk10 span,
.alt-table-ssc span,
.alt-pk28-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    border: 1px solid #bebebe;
    border-radius: 3px;
    background: #1f469c;
    color: #fff;
    font-size: 16px;
    line-height: 1;
}

.alt-table-pk10 span {
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .55);
}

.alt-table-pk28 {
    gap: 7px;
}

.alt-table-pk28 em {
    font-style: normal;
    color: #333;
    font-size: 22px;
    line-height: 1;
}

.alt-pk28-small {
    background: #fff;
    color: #111;
}

.alt-pk28-red {
    border-color: #c73636;
    background: #de3838;
    color: #fff;
}

@media (max-width: 768px) {
    .alt-home-zone,
    .alt-home-zone[data-v-e781b60e] {
        width: calc(100% - 16px) !important;
        margin: 0 8px 0 !important;
        border: 1px solid #1f469c !important;
        border-radius: 0 !important;
        overflow: visible !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .alt-home-zone .lotteryTitle,
    .alt-home-zone .lotteryTitle[data-v-e781b60e] {
        display: grid !important;
        grid-template-columns: 38% 62% !important;
        align-items: center !important;
        min-height: 58px !important;
        padding: 6px 10px !important;
        border: 0 !important;
        border-bottom: 1px solid #1f469c !important;
        text-align: left !important;
    }

    .alt-home-zone .lotteryTitle-l,
    .alt-home-zone .lotteryTitle-l[data-v-e781b60e] {
        color: #1f469c !important;
        font-size: 21px !important;
        line-height: 26px !important;
        font-weight: 400 !important;
        white-space: nowrap !important;
    }

    .alt-home-zone .lotteryTitle-r,
    .alt-home-zone .lotteryTitle-r[data-v-e781b60e] {
        margin: 0 !important;
        color: #1f469c !important;
        font-size: 15px !important;
        line-height: 21px !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    .alt-home-zone .draw-date-line {
        margin-top: 2px !important;
    }

    .alt-home-body {
        padding: 8px 0 12px !important;
        overflow: visible !important;
    }

    .alt-home-count-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 64px !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 0 9px !important;
        padding: 0 0 0 0 !important;
        box-sizing: border-box !important;
    }

    .alt-home-count-row .countdown,
    .alt-home-count-row .countdown[data-v-f877db46] {
        display: flex !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 3px !important;
        padding-left: 0 !important;
    }

    .alt-home-count-row .countdown-item,
    .alt-home-count-row .countdown-item[data-v-f877db46] {
        width: calc((100vw - 112px) / 7) !important;
        max-width: 48px !important;
        height: 58px !important;
        line-height: 58px !important;
        border: 1px solid #cfcfcf !important;
        border-radius: 4px !important;
        background: #fff !important;
        color: #000 !important;
        font-size: 42px !important;
        font-weight: 400 !important;
        box-sizing: border-box !important;
    }

    .alt-home-count-row .countdown-split,
    .alt-home-count-row .countdown-split[data-v-f877db46] {
        width: 10px !important;
        margin: 0 -1px !important;
        color: #000 !important;
        font-size: 42px !important;
        line-height: 58px !important;
        font-weight: 400 !important;
    }

    .alt-scratch-trigger,
    .alt-scratch-trigger[data-v-e781b60e] {
        width: 64px !important;
        height: 58px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #1f469c !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 58px !important;
    }

    .alt-scratch-trigger .scratch-eye {
        width: 17px !important;
        height: 12px !important;
    }

    .alt-current-scratch {
        position: relative !important;
        width: 100% !important;
        min-height: 96px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .alt-current,
    .alt-current-pk10,
    .alt-current-ssc,
    .alt-current-pk28 {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .alt-current-numbers {
        width: 100% !important;
        padding: 0 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .alt-pk10-row {
        display: grid !important;
        grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .alt-pk10-num {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 3px !important;
        font-size: clamp(15px, 4.6vw, 21px) !important;
        color: #fff !important;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .68) !important;
    }

    .alt-ssc-row {
        display: flex !important;
        justify-content: center !important;
        gap: 9px !important;
        padding: 0 44px !important;
    }

    .alt-ssc-num {
        width: clamp(42px, 12vw, 56px) !important;
        height: clamp(42px, 12vw, 56px) !important;
        background: #1f469c !important;
        border-color: #1f469c !important;
        color: #fff !important;
        font-size: clamp(24px, 7vw, 34px) !important;
    }

    .alt-pk28-row {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 0 10px !important;
        flex-wrap: nowrap !important;
    }

    .alt-pk28-box,
    .alt-pk28-sum {
        width: clamp(38px, 11vw, 52px) !important;
        height: clamp(38px, 11vw, 52px) !important;
        font-size: clamp(24px, 7vw, 34px) !important;
    }

    .alt-pk28-op {
        font-size: clamp(23px, 7vw, 34px) !important;
        line-height: clamp(38px, 11vw, 52px) !important;
    }

    .alt-pk28-tag {
        font-size: clamp(22px, 6.4vw, 30px) !important;
    }

    .alt-current-grid {
        width: 100% !important;
        margin: 8px 0 0 !important;
        border-color: #dedede !important;
    }

    .alt-grid-title,
    .alt-grid-cell {
        min-height: 33px !important;
        color: #111 !important;
        font-size: clamp(16px, 5vw, 22px) !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        background: #fff !important;
    }

    .alt-grid-cell {
        color: #1f469c !important;
        font-size: clamp(14px, 4.5vw, 20px) !important;
    }

    .alt-current .is-red {
        color: #d83232 !important;
    }

    .alt-current .is-blue {
        color: #1f469c !important;
    }

    .alt-pk28-actions {
        gap: 18px !important;
        margin-top: 18px !important;
        font-size: clamp(19px, 5.8vw, 26px) !important;
    }

    .alt-pk28-actions span:first-child,
    .alt-pk28-actions a {
        min-width: 98px !important;
        height: 44px !important;
        padding: 0 10px !important;
        border-radius: 6px !important;
        color: #111 !important;
        line-height: 44px !important;
        text-align: center !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .alt-pk28-actions span:first-child,
    .alt-pk28-actions a.is-active {
        background: #1f469c !important;
        color: #fff !important;
    }

    .history-panel .hisWrapper:has(.alt-history-table) {
        overflow-x: auto !important;
        overflow-y: visible !important;
    }

    .alt-history-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
        font-size: clamp(14px, 4.2vw, 18px) !important;
    }

    .alt-history-table th,
    .alt-history-table td {
        padding: 7px 3px !important;
        border: 1px solid #bcbcbc !important;
        line-height: 1.15 !important;
    }

    .alt-history-table th {
        background: #e7e7e7 !important;
        color: #111 !important;
        font-size: clamp(16px, 4.9vw, 22px) !important;
        font-weight: 700 !important;
    }

    .alt-history-table-pk10 th:nth-child(1),
    .alt-history-table-pk10 td:nth-child(1),
    .alt-history-table-ssc th:nth-child(1),
    .alt-history-table-ssc td:nth-child(1),
    .alt-history-table-pk28 th:nth-child(1),
    .alt-history-table-pk28 td:nth-child(1) {
        width: 12% !important;
    }

    .alt-history-table-pk10 th:nth-child(2),
    .alt-history-table-pk10 td:nth-child(2),
    .alt-history-table-ssc th:nth-child(2),
    .alt-history-table-ssc td:nth-child(2),
    .alt-history-table-pk28 th:nth-child(2),
    .alt-history-table-pk28 td:nth-child(2) {
        width: 13% !important;
    }

    .alt-history-table-pk10 th:nth-child(3),
    .alt-history-table-pk10 td:nth-child(3) {
        width: 42% !important;
    }

    .alt-history-table-pk10 th:nth-child(4),
    .alt-history-table-pk10 td:nth-child(4),
    .alt-history-table-pk10 th:nth-child(5),
    .alt-history-table-pk10 td:nth-child(5) {
        width: 9% !important;
    }

    .alt-history-table-pk10 th:nth-child(6),
    .alt-history-table-pk10 td:nth-child(6) {
        width: 15% !important;
    }

    .alt-history-table-ssc th:nth-child(3),
    .alt-history-table-ssc td:nth-child(3) {
        width: 32% !important;
    }

    .alt-history-table-ssc th:nth-child(4),
    .alt-history-table-ssc td:nth-child(4),
    .alt-history-table-ssc th:nth-child(5),
    .alt-history-table-ssc td:nth-child(5) {
        width: 11% !important;
    }

    .alt-history-table-ssc th:nth-child(6),
    .alt-history-table-ssc td:nth-child(6) {
        width: 21% !important;
    }

    .alt-history-table-pk28 th:nth-child(3),
    .alt-history-table-pk28 td:nth-child(3) {
        width: 75% !important;
    }

    .alt-table-pk10 {
        display: grid !important;
        grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
        gap: 3px !important;
        width: 100% !important;
    }

    .alt-table-pk10 span {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 3px !important;
        font-size: clamp(10px, 3.2vw, 15px) !important;
    }

    .alt-table-ssc {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .alt-table-ssc span,
    .alt-pk28-small {
        width: clamp(25px, 8vw, 36px) !important;
        height: clamp(25px, 8vw, 36px) !important;
        border-radius: 2px !important;
        font-size: clamp(16px, 5vw, 23px) !important;
    }

    .alt-table-pk28 {
        gap: 5px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .alt-table-pk28 em {
        font-size: clamp(18px, 5.6vw, 26px) !important;
    }

    .alt-history-table .is-red {
        color: #d83232 !important;
    }

    .alt-history-table .is-blue {
        color: #1f469c !important;
    }

    .js-home-history .alt-history-table + .alt-history-table {
        margin-top: 0 !important;
    }
}

/* v88 multi-lottery mobile defaults. EOF override is repeated near the bottom. */
@media (max-width: 768px) {
    .alt-open-balls,
    .notice-mobile-code .alt-open-balls {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .alt-open-pk10,
    .notice-mobile-code .alt-open-pk10 {
        flex-wrap: wrap !important;
        gap: 5px 4px !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    .alt-open-pk10 .alt-ball {
        flex: 0 0 calc(10% - 4px) !important;
        min-width: 0 !important;
    }

    .alt-open-ssc,
    .notice-mobile-code .alt-open-ssc,
    .alt-open-pk28,
    .notice-mobile-code .alt-open-pk28 {
        gap: 7px !important;
        flex-wrap: nowrap !important;
    }

    .alt-open-pk10 .alt-ball-number,
    .alt-open-pk10 .alt-ball-number[data-v-3ae51a5a] {
        width: clamp(24px, 7.2vw, 34px) !important;
        height: clamp(24px, 7.2vw, 34px) !important;
        font-size: clamp(11px, 3.5vw, 15px) !important;
    }

    .alt-open-ssc .alt-ball-number,
    .alt-open-pk28 .alt-ball-number,
    .alt-open-pk28 .alt-ball-sum .alt-ball-number {
        width: clamp(34px, 10.4vw, 46px) !important;
        height: clamp(34px, 10.4vw, 46px) !important;
        font-size: clamp(18px, 5.6vw, 25px) !important;
    }

    .alt-ball-label {
        margin-top: 3px !important;
        font-size: clamp(9px, 2.8vw, 12px) !important;
        line-height: 1.1 !important;
    }

    .lottery-kind-pk10 .hisCode,
    .lottery-kind-ssc .hisCode,
    .lottery-kind-pk28 .hisCode,
    .lottery-kind-pk10 .his-items,
    .lottery-kind-ssc .his-items,
    .lottery-kind-pk28 .his-items {
        display: flex !important;
        flex-wrap: wrap !important;
        grid-column: 2 !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .lottery-kind-pk10 .alt-history-ball {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }

    .lottery-kind-ssc .alt-history-ball,
    .lottery-kind-pk28 .alt-history-ball {
        width: 22px !important;
        height: 22px !important;
        font-size: 12px !important;
    }

    .alt-history-sum[data-history-ball] {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 22px !important;
        color: #d80011 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    .lottery-kind-pk10 .alt-condition-row,
    .lottery-kind-ssc .alt-condition-row,
    .lottery-kind-pk28 .alt-condition-row {
        grid-column: 2 !important;
        justify-content: flex-start !important;
        margin: 2px 0 0 0 !important;
        gap: 3px !important;
        font-size: 10px !important;
    }
}

/* v87 multi-lottery: replicated high-frequency lottery frames. */
.lottery-entry-grid .frequency-item {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.alt-open-balls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

.alt-open-pk10 {
    gap: 7px;
}

.alt-ball {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 42px;
}

.alt-ball-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ball-color, #1a3d96);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.15);
}

.alt-ball-ssc .alt-ball-number,
.alt-ball-28 .alt-ball-number,
.alt-ball-sum .alt-ball-number {
    background: #1a3d96;
}

.alt-ball-label {
    margin-top: 6px;
    color: #1a3d96;
    font-size: 13px;
    line-height: 1.2;
}

.alt-formula {
    color: #1a3d96;
    font-size: 26px;
    font-weight: 700;
    line-height: 42px;
    min-width: 14px;
    text-align: center;
}

.alt-condition-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px auto 0;
    color: #1a3d96;
    font-size: 14px;
}

.alt-condition-item {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}

.alt-condition-item em,
.alt-condition-item strong {
    font-style: normal;
    padding: 4px 8px;
}

.alt-condition-item em {
    background: #f2f2f2;
    color: #555;
    font-weight: 400;
}

.alt-condition-item strong {
    color: #d80011;
    font-weight: 700;
}

.alt-history-code {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.alt-history-ball {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ball-color, #1a3d96);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.alt-history-sum {
    color: #d80011;
    font-size: 15px;
    font-weight: 700;
    margin-left: 2px;
}

.lottery-kind-pk10 .alt-condition-row,
.lottery-kind-ssc .alt-condition-row,
.lottery-kind-pk28 .alt-condition-row {
    justify-content: flex-start;
    margin: 7px 0 0 74px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .alt-open-balls {
        gap: 5px !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }

    .alt-open-pk10 {
        gap: 2px !important;
    }

    .alt-ball {
        min-width: 30px !important;
    }

    .alt-ball-number {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
        box-shadow: inset 0 -2px 0 rgba(0,0,0,.14) !important;
    }

    .alt-ball-label {
        margin-top: 4px !important;
        font-size: 10px !important;
    }

    .alt-formula {
        min-width: 8px !important;
        font-size: 17px !important;
        line-height: 30px !important;
    }

    .alt-condition-row {
        width: calc(100% - 16px) !important;
        margin: 8px auto 0 !important;
        gap: 4px !important;
        font-size: 11px !important;
    }

    .alt-condition-item em,
    .alt-condition-item strong {
        padding: 3px 5px !important;
    }

    .alt-history-code {
        gap: 3px !important;
    }

    .alt-history-ball {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }

    .lottery-kind-pk10 .alt-condition-row,
    .lottery-kind-ssc .alt-condition-row,
    .lottery-kind-pk28 .alt-condition-row {
        margin: 5px 0 0 0 !important;
    }
}

/* v88 multi-lottery final polish: keep high-frequency lotteries compact and usable. */
.lottery-kind-pk10 .hisCode,
.lottery-kind-ssc .hisCode,
.lottery-kind-pk28 .hisCode {
    justify-content: flex-start;
}

.alt-history-sum[data-history-ball] {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
}

@media (max-width: 768px) {
    .alt-open-balls,
    .notice-mobile-code .alt-open-balls {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .alt-open-pk10,
    .notice-mobile-code .alt-open-pk10 {
        flex-wrap: wrap !important;
        gap: 5px 4px !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    .alt-open-pk10 .alt-ball {
        flex: 0 0 calc(10% - 4px) !important;
        min-width: 0 !important;
    }

    .alt-open-ssc .alt-ball,
    .alt-open-pk28 .alt-ball {
        min-width: 36px !important;
    }

    .alt-open-pk10 .alt-ball-number,
    .alt-open-pk10 .alt-ball-number[data-v-3ae51a5a] {
        width: clamp(24px, 7.2vw, 34px) !important;
        height: clamp(24px, 7.2vw, 34px) !important;
        font-size: clamp(11px, 3.5vw, 15px) !important;
    }

    .alt-open-ssc .alt-ball-number,
    .alt-open-pk28 .alt-ball-number,
    .alt-open-pk28 .alt-ball-sum .alt-ball-number {
        width: clamp(34px, 10.4vw, 46px) !important;
        height: clamp(34px, 10.4vw, 46px) !important;
        font-size: clamp(18px, 5.6vw, 25px) !important;
    }

    .alt-ball-label {
        margin-top: 3px !important;
        font-size: clamp(9px, 2.8vw, 12px) !important;
        line-height: 1.1 !important;
    }

    .lottery-kind-pk10 .hisCode,
    .lottery-kind-ssc .hisCode,
    .lottery-kind-pk28 .hisCode,
    .lottery-kind-pk10 .his-items,
    .lottery-kind-ssc .his-items,
    .lottery-kind-pk28 .his-items {
        display: flex !important;
        flex-wrap: wrap !important;
        grid-column: 2 !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .lottery-kind-pk10 .alt-history-ball {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }

    .lottery-kind-ssc .alt-history-ball,
    .lottery-kind-pk28 .alt-history-ball {
        width: 22px !important;
        height: 22px !important;
        font-size: 12px !important;
    }

    .lottery-kind-pk10 .alt-condition-row,
    .lottery-kind-ssc .alt-condition-row,
    .lottery-kind-pk28 .alt-condition-row {
        grid-column: 2 !important;
        justify-content: flex-start !important;
        margin: 2px 0 0 0 !important;
        gap: 3px !important;
        font-size: 10px !important;
    }
}

.draw-time-line,
.draw-date-line {
    color: #1a3d96;
    font-style: normal;
}

.draw-time-line .js-next-issue {
    color: #1a3d96;
    font-weight: 500;
}

.draw-date-line {
    margin-top: 4px;
}

.js-next-weekday {
    margin-left: 16px;
}

.scratch-cover-target {
    position: relative !important;
}

.scratch-cover-target.scratching .scratch-mask {
    display: block;
}

.scratch-cover-target.scratching .scratch-hint {
    display: flex;
}

.scratch-cover-target.scratched .scratch-hint {
    display: none;
}

@media (max-width: 768px) {
    .frequency-box,
    .frequency-box[data-v-2773aad0] {
        display: none !important;
    }

    .carousel-container,
    .carousel-container[data-v-9bd7682a] {
        width: calc(100% - 16px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 2.76 / 1 !important;
        margin: 10px 8px 8px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: #fff !important;
    }

    .carousel-slide,
    .carousel-slide[data-v-9bd7682a] {
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .carousel-slide img,
    .carousel-slide img[data-v-9bd7682a] {
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px !important;
        object-fit: cover !important;
        display: block !important;
    }

    .open_zone,
    .open_zone[data-v-e781b60e] {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .lotteryTitle,
    .lotteryTitle[data-v-e781b60e] {
        display: grid !important;
        grid-template-columns: 42% 58% !important;
        align-items: center !important;
        width: calc(100% - 16px) !important;
        min-height: 50px !important;
        margin: 0 8px 8px !important;
        padding: 5px 8px !important;
        border: 1px solid #1a3d96 !important;
        border-radius: 4px !important;
        color: #1a3d96 !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .lotteryTitle-l,
    .lotteryTitle-l[data-v-e781b60e] {
        font-size: clamp(24px, 6.9vw, 36px) !important;
        line-height: 1.08 !important;
        font-weight: 500 !important;
        color: #1a3d96 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .lotteryTitle-r,
    .lotteryTitle-r[data-v-e781b60e] {
        margin: 0 !important;
        text-align: left !important;
        color: #1a3d96 !important;
        font-size: clamp(14px, 4.3vw, 24px) !important;
        line-height: 1.28 !important;
        font-weight: 400 !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    .draw-time-line,
    .draw-date-line {
        white-space: nowrap !important;
        color: #1a3d96 !important;
        font-weight: 400 !important;
    }

    .draw-time-line .js-next-issue {
        color: #1a3d96 !important;
        font-weight: 400 !important;
    }

    .draw-date-line {
        margin-top: 2px !important;
    }

    .lotteryTitle-r em,
    .lotteryTitle-r .js-next-time {
        color: #1a3d96 !important;
        font-style: normal !important;
        font-size: inherit !important;
        font-weight: 400 !important;
    }

    .js-next-weekday {
        margin-left: 12px !important;
        color: #1a3d96 !important;
    }

    .open_code_zone,
    .open_code_zone[data-v-e781b60e] {
        padding: 0 0 10px !important;
    }

    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        gap: 18px !important;
        margin: 4px 0 8px !important;
    }

    .open_code_zone_left-title-1,
    .open_code_zone_left-title-1[data-v-e781b60e],
    .open_code_zone_left-title-2,
    .open_code_zone_left-title-2[data-v-e781b60e] {
        font-size: clamp(19px, 5.3vw, 27px) !important;
        line-height: 1.2 !important;
        font-weight: 400 !important;
    }

    .open-code-scratch,
    .open-code-scratch[data-v-3ae51a5a] {
        margin-bottom: 0 !important;
    }

    .scratch-mask,
    .scratch-mask[data-v-3ae51a5a] {
        background: transparent !important;
        z-index: 30 !important;
    }

    .scratch-hint,
    .scratch-hint[data-v-3ae51a5a] {
        z-index: 31 !important;
        font-size: clamp(24px, 8vw, 40px) !important;
        font-weight: 400 !important;
        color: rgba(255, 255, 255, .88) !important;
        text-shadow: 0 0 4px rgba(0, 0, 0, .18) !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: calc(100% - 92px) !important;
        margin: 12px auto 10px 8px !important;
        gap: 5px !important;
    }

    .countdown-item,
    .countdown-item[data-v-f877db46] {
        width: clamp(38px, 12.8vw, 62px) !important;
        height: clamp(50px, 16vw, 78px) !important;
        line-height: clamp(50px, 16vw, 78px) !important;
        border: 1px solid #bfc1c7 !important;
        border-radius: 4px !important;
        font-size: clamp(42px, 14.8vw, 72px) !important;
        font-weight: 400 !important;
        color: #000 !important;
        background: #fff !important;
    }

    .countdown-split,
    .countdown-split[data-v-f877db46] {
        font-size: clamp(38px, 11vw, 60px) !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        color: #000 !important;
    }

    .operate-row {
        position: absolute !important;
        right: 8px !important;
        top: auto !important;
        transform: translateY(calc(-100% - 14px)) !important;
        display: block !important;
        width: 80px !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    .operate-row .scratch-trigger,
    .operate-row .scratch-trigger[data-v-e781b60e] {
        display: inline-flex !important;
        pointer-events: auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 80px !important;
        color: #1a3d96 !important;
        font-size: clamp(16px, 5.2vw, 25px) !important;
        line-height: 1 !important;
        font-weight: 400 !important;
        gap: 3px !important;
        white-space: nowrap !important;
    }

    .scratch-eye {
        width: 22px !important;
        height: 15px !important;
        border-width: 2px !important;
        border-color: #1a3d96 !important;
    }

    .scratch-eye:after {
        width: 5px !important;
        height: 5px !important;
        background: #1a3d96 !important;
    }

    .operate-row .operate-btn-1,
    .operate-row .operate-btn-2,
    .open_code_zone_right > .operate-btn-3:not(.scratch-trigger) {
        display: none !important;
    }

    .moni-open,
    .moni-open[data-v-3ae51a5a] {
        display: none !important;
    }

    .history-panel {
        border-top: 1px solid #a8a8a8 !important;
        margin-top: 12px !important;
    }

    .hisItem.scratch-cover-target,
    .hisItem.scratch-cover-target[data-v-41052fbe] {
        position: relative !important;
    }

    .open_code_zone_right,
    .open_code_zone_right[data-v-e781b60e] {
        position: relative !important;
    }
}

.carousel-container,
.carousel-container[data-v-9bd7682a] {
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .carousel-container,
    .carousel-container[data-v-9bd7682a] {
        aspect-ratio: 3.06 / 1 !important;
    }

    .lotteryTitle-l,
    .lotteryTitle-l[data-v-e781b60e] {
        font-size: clamp(22px, 6.2vw, 28px) !important;
    }

    .lotteryTitle-r,
    .lotteryTitle-r[data-v-e781b60e] {
        font-size: clamp(13px, 3.9vw, 18px) !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        width: calc(100% - 86px) !important;
        gap: 4px !important;
    }

    .countdown-item,
    .countdown-item[data-v-f877db46] {
        width: clamp(36px, 10.8vw, 46px) !important;
        height: clamp(48px, 13.2vw, 58px) !important;
        line-height: clamp(48px, 13.2vw, 58px) !important;
        font-size: clamp(40px, 12.6vw, 56px) !important;
    }

    .countdown-split,
    .countdown-split[data-v-f877db46] {
        font-size: clamp(36px, 10vw, 50px) !important;
    }

    .operate-row {
        width: 76px !important;
    }

    .operate-row .scratch-trigger,
    .operate-row .scratch-trigger[data-v-e781b60e] {
        width: 76px !important;
    }
}

.hisLabel {
    color: #1a3d96;
    font-weight: 700;
}

.hisValue {
    color: #777;
    font-weight: 400;
}

.hisValue i {
    color: #777;
    font-style: normal;
    font-weight: 400;
}

.hisVideoTag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 24px;
    padding: 0 9px;
    margin-left: 10px;
    border-radius: 13px;
    background: #1a3d96;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
}

.hisCodeRow {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.home-load-more-wrap {
    display: none;
}

.home-load-more {
    border: 0;
    border-radius: 5px;
    background: #1a3d96;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 768px) {
    .history-panel .chart-title,
    .history-panel .chart-title[data-v-a4d29032] {
        display: none !important;
    }

    .history-panel {
        padding-bottom: 4px !important;
    }

    .hisWrapper,
    .hisWrapper[data-v-41052fbe] {
        border-top: 1px solid #a8a8a8 !important;
    }

    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: block !important;
        width: 100% !important;
        padding: 8px 0 9px !important;
        border-bottom: 1px solid #a8a8a8 !important;
        overflow: hidden !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 0 5px !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        text-align: left !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        flex: 0 0 82px !important;
        width: 82px !important;
        color: #1a3d96 !important;
        font-size: clamp(18px, 5.1vw, 24px) !important;
        font-weight: 700 !important;
        text-align: right !important;
        margin-right: 10px !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe] {
        color: #777 !important;
        font-size: clamp(18px, 5.1vw, 24px) !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: #777 !important;
        font-size: inherit !important;
        font-style: normal !important;
        font-weight: 400 !important;
    }

    .home-history-item .hisVideoTag,
    .home-history-item .hisVideoTag[data-v-41052fbe] {
        display: none !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        flex: 1 1 auto !important;
        display: grid !important;
        width: auto !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 20px minmax(0, 1fr) !important;
        gap: 4px !important;
        align-items: start !important;
        justify-content: stretch !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .hisCode-item,
    .hisCode-item[data-v-c8d6ced2] {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .hisCode-item-number,
    .hisCode-item-number[data-v-c8d6ced2] {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-size: clamp(20px, 6.2vw, 30px) !important;
        line-height: 1 !important;
    }

    .hisCode-item-plus,
    .hisCode-item-plus[data-v-c8d6ced2] {
        width: 20px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 !important;
        color: #d11f2c !important;
        font-size: clamp(18px, 5.4vw, 28px) !important;
        line-height: 1 !important;
    }

    .hisCode-item-zodiac,
    .hisCode-item-zodiac[data-v-c8d6ced2] {
        width: 100% !important;
        height: 20px !important;
        line-height: 20px !important;
        font-size: clamp(15px, 4.8vw, 22px) !important;
        font-weight: 700 !important;
        color: #111 !important;
        overflow: hidden !important;
    }

    .home-load-more-wrap {
        display: block !important;
        padding: 18px 0 28px !important;
        text-align: center !important;
    }

    .home-load-more {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 118px !important;
        height: 40px !important;
        padding: 0 18px !important;
        border-radius: 5px !important;
        background: #1a3d96 !important;
        color: #fff !important;
        font-size: 18px !important;
        line-height: 40px !important;
    }

    .mobile-bottom-nav {
        height: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .mobile-bottom-nav-icon {
        height: 38px !important;
        line-height: 38px !important;
        font-size: 38px !important;
    }

    .mobile-bottom-nav-item.is-active .mobile-bottom-nav-icon {
        font-size: 42px !important;
    }

    .mobile-bottom-nav-name {
        font-size: 17px !important;
        line-height: 22px !important;
    }
}

.logo-link {
    display: inline-flex;
    align-items: flex-end;
}

.logo-img {
    width: 300px !important;
    height: 126px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

@media (max-width: 768px) {
    .logo-box,
    .logo-box[data-v-2519a953] {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 12px 10px 8px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    .logo-link {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 150px) !important;
    }

    .logo-img,
    .logo-img[data-v-2519a953] {
        display: block !important;
        width: clamp(205px, 42vw, 245px) !important;
        height: clamp(92px, 20vw, 112px) !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .switch_style,
    .switch_style[data-v-2519a953] {
        flex: 0 0 auto !important;
        margin-bottom: 2px !important;
    }
}

/* Absolute final mobile homepage corrections. Keep this block last. */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .open_zone,
    .open_zone[data-v-e781b60e] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow: hidden !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .lotteryTitle,
    .lotteryTitle[data-v-e781b60e] {
        order: 1 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
        align-items: center !important;
        width: calc(100% - 16px) !important;
        min-height: 50px !important;
        margin: 0 8px 7px !important;
        padding: 5px 8px !important;
        border: 1px solid #1a3d96 !important;
        border-radius: 3px !important;
        color: #1a3d96 !important;
        text-align: left !important;
        overflow: hidden !important;
    }

    .lotteryTitle-l,
    .lotteryTitle-l[data-v-e781b60e] {
        min-width: 0 !important;
        font-size: clamp(20px, 5.7vw, 27px) !important;
        line-height: 1.12 !important;
        font-weight: 500 !important;
        color: #1a3d96 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        letter-spacing: 0 !important;
    }

    .lotteryTitle-r,
    .lotteryTitle-r[data-v-e781b60e] {
        min-width: 0 !important;
        margin: 0 !important;
        color: #1a3d96 !important;
        font-size: clamp(13px, 3.55vw, 17px) !important;
        line-height: 1.38 !important;
        text-align: left !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }

    .draw-time-line,
    .draw-date-line {
        display: block !important;
        max-width: 100% !important;
        color: #1a3d96 !important;
        font-weight: 400 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .draw-time-line .js-next-issue {
        color: #1a3d96 !important;
        font-weight: 400 !important;
    }

    .lotteryTitle-r em,
    .lotteryTitle-r .js-next-time {
        color: #1a3d96 !important;
        font-style: normal !important;
        font-size: inherit !important;
        font-weight: 400 !important;
    }

    .js-next-weekday {
        margin-left: 10px !important;
        color: #1a3d96 !important;
    }

    .open_code_zone,
    .open_code_zone[data-v-e781b60e] {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 0 8px !important;
    }

    .open_code_zone_right,
    .open_code_zone_right[data-v-e781b60e] {
        order: 1 !important;
        display: block !important;
        position: relative !important;
        width: 100% !important;
        padding: 0 8px !important;
    }

    .open_code_zone_left,
    .open_code_zone_left[data-v-e781b60e] {
        order: 2 !important;
        display: block !important;
        width: 100% !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        width: calc(100% - 92px) !important;
        max-width: 650px !important;
        margin: 2px auto 8px 0 !important;
        padding-left: 0 !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .countdown-item,
    .countdown-item[data-v-f877db46] {
        width: clamp(35px, 10.9vw, 52px) !important;
        height: clamp(46px, 13.8vw, 64px) !important;
        line-height: clamp(46px, 13.8vw, 64px) !important;
        border: 1px solid #bfc1c7 !important;
        border-radius: 4px !important;
        background: #fff !important;
        color: #000 !important;
        font-size: clamp(37px, 12vw, 58px) !important;
        font-weight: 400 !important;
    }

    .countdown-split,
    .countdown-split[data-v-f877db46] {
        width: 10px !important;
        color: #000 !important;
        font-size: clamp(34px, 10vw, 50px) !important;
        line-height: 1 !important;
    }

    .operate-row {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: block !important;
        width: 78px !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    .operate-row .scratch-trigger,
    .operate-row .scratch-trigger[data-v-e781b60e] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 78px !important;
        min-height: 0 !important;
        height: auto !important;
        line-height: 1 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #1a3d96 !important;
        font-size: clamp(16px, 5vw, 22px) !important;
        font-weight: 400 !important;
        pointer-events: auto !important;
        white-space: nowrap !important;
    }

    .operate-row .operate-btn-1,
    .operate-row .operate-btn-2,
    .open_code_zone_right > .operate-btn-3:not(.scratch-trigger),
    .moni-open,
    .moni-open[data-v-3ae51a5a] {
        display: none !important;
    }

    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .open_code_zone_left-title-1,
    .open_code_zone_left-title-1[data-v-e781b60e],
    .open_code_zone_left-title-2,
    .open_code_zone_left-title-2[data-v-e781b60e] {
        font-size: clamp(17px, 4.8vw, 22px) !important;
        line-height: 1.22 !important;
    }

    .open-code-scratch,
    .open-code-scratch[data-v-3ae51a5a],
    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .open_code_zone_left-item-number,
    .open_code_zone_left-item-number[data-v-3ae51a5a] {
        font-size: clamp(21px, 7vw, 31px) !important;
    }

    .open_code_zone_left-item-zodiac,
    .open_code_zone_left-item-zodiac[data-v-3ae51a5a] {
        height: 21px !important;
        line-height: 21px !important;
        font-size: clamp(15px, 4.55vw, 20px) !important;
    }

    .history-panel {
        order: 4 !important;
        margin-top: 0 !important;
        border-top: 1px solid #a8a8a8 !important;
    }

    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        row-gap: 5px !important;
        column-gap: 10px !important;
        padding: 8px 8px 9px !important;
        border-bottom: 1px solid #a8a8a8 !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: contents !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        grid-column: 1 !important;
        width: auto !important;
        flex: none !important;
        margin: 0 !important;
        color: #1a3d96 !important;
        font-size: clamp(17px, 5vw, 22px) !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        text-align: right !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe] {
        grid-column: 2 !important;
        color: #777 !important;
        font-size: clamp(17px, 5vw, 22px) !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: #d11f2c !important;
        font-size: inherit !important;
        font-style: normal !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-column: 2 !important;
    }

    .hisCode-item-number,
    .hisCode-item-number[data-v-c8d6ced2] {
        font-size: clamp(19px, 6.1vw, 28px) !important;
    }

    .hisCode-item-zodiac,
    .hisCode-item-zodiac[data-v-c8d6ced2] {
        height: 18px !important;
        line-height: 18px !important;
        font-size: clamp(14px, 4.4vw, 20px) !important;
    }

    .home-load-more-wrap {
        display: block !important;
        padding: 12px 0 28px !important;
        text-align: center !important;
    }

    .home-load-more {
        min-width: 0 !important;
        height: auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #1a3d96 !important;
        font-size: 16px !important;
        line-height: 28px !important;
    }

    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        padding-left: 0 !important;
    }
}

/* Final mobile overrides must stay at the end of this file. */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .open_zone,
    .open_zone[data-v-e781b60e] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .lotteryTitle,
    .lotteryTitle[data-v-e781b60e] {
        order: 1 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
        align-items: center !important;
        width: calc(100% - 16px) !important;
        min-height: 50px !important;
        margin: 0 8px 7px !important;
        padding: 5px 8px !important;
        border: 1px solid #1a3d96 !important;
        border-radius: 3px !important;
        color: #1a3d96 !important;
        text-align: left !important;
        overflow: hidden !important;
    }

    .lotteryTitle-l,
    .lotteryTitle-l[data-v-e781b60e] {
        min-width: 0 !important;
        font-size: clamp(20px, 5.7vw, 27px) !important;
        line-height: 1.12 !important;
        font-weight: 500 !important;
        color: #1a3d96 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        letter-spacing: 0 !important;
    }

    .lotteryTitle-r,
    .lotteryTitle-r[data-v-e781b60e] {
        min-width: 0 !important;
        margin: 0 !important;
        color: #1a3d96 !important;
        font-size: clamp(13px, 3.55vw, 17px) !important;
        line-height: 1.38 !important;
        text-align: left !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }

    .draw-time-line,
    .draw-date-line {
        display: block !important;
        max-width: 100% !important;
        color: #1a3d96 !important;
        font-weight: 400 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .draw-time-line .js-next-issue {
        color: #1a3d96 !important;
        font-weight: 400 !important;
    }

    .lotteryTitle-r em,
    .lotteryTitle-r .js-next-time {
        color: #1a3d96 !important;
        font-style: normal !important;
        font-size: inherit !important;
        font-weight: 400 !important;
    }

    .js-next-weekday {
        margin-left: 10px !important;
        color: #1a3d96 !important;
    }

    .open_code_zone,
    .open_code_zone[data-v-e781b60e] {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 0 8px !important;
    }

    .open_code_zone_right,
    .open_code_zone_right[data-v-e781b60e] {
        order: 1 !important;
        display: block !important;
        position: relative !important;
        width: 100% !important;
        padding: 0 8px !important;
    }

    .open_code_zone_left,
    .open_code_zone_left[data-v-e781b60e] {
        order: 2 !important;
        display: block !important;
        width: 100% !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        width: calc(100% - 92px) !important;
        max-width: 650px !important;
        margin: 2px auto 8px 0 !important;
        padding-left: 10px !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .countdown-item,
    .countdown-item[data-v-f877db46] {
        width: clamp(35px, 10.9vw, 52px) !important;
        height: clamp(46px, 13.8vw, 64px) !important;
        line-height: clamp(46px, 13.8vw, 64px) !important;
        border: 1px solid #bfc1c7 !important;
        border-radius: 4px !important;
        background: #fff !important;
        color: #000 !important;
        font-size: clamp(37px, 12vw, 58px) !important;
        font-weight: 400 !important;
    }

    .countdown-split,
    .countdown-split[data-v-f877db46] {
        width: 10px !important;
        color: #000 !important;
        font-size: clamp(34px, 10vw, 50px) !important;
        line-height: 1 !important;
    }

    .operate-row {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: block !important;
        width: 78px !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    .operate-row .scratch-trigger,
    .operate-row .scratch-trigger[data-v-e781b60e] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 78px !important;
        min-height: 0 !important;
        height: auto !important;
        line-height: 1 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #1a3d96 !important;
        font-size: clamp(16px, 5vw, 22px) !important;
        font-weight: 400 !important;
        pointer-events: auto !important;
        white-space: nowrap !important;
    }

    .operate-row .operate-btn-1,
    .operate-row .operate-btn-2,
    .open_code_zone_right > .operate-btn-3:not(.scratch-trigger),
    .moni-open,
    .moni-open[data-v-3ae51a5a] {
        display: none !important;
    }

    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        margin: 0 0 7px !important;
        padding: 0 8px !important;
        gap: 14px !important;
    }

    .open_code_zone_left-title-1,
    .open_code_zone_left-title-1[data-v-e781b60e],
    .open_code_zone_left-title-2,
    .open_code_zone_left-title-2[data-v-e781b60e] {
        font-size: clamp(17px, 4.8vw, 22px) !important;
        line-height: 1.22 !important;
    }

    .open-code-scratch,
    .open-code-scratch[data-v-3ae51a5a] {
        grid-template-columns: repeat(6, minmax(0, 1fr)) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
    }

    .open_code_zone_left-item-number,
    .open_code_zone_left-item-number[data-v-3ae51a5a] {
        font-size: clamp(21px, 7vw, 31px) !important;
    }

    .open_code_zone_left-item-zodiac,
    .open_code_zone_left-item-zodiac[data-v-3ae51a5a] {
        height: 21px !important;
        line-height: 21px !important;
        font-size: clamp(15px, 4.55vw, 20px) !important;
    }

    .history-panel {
        order: 4 !important;
        margin-top: 0 !important;
        border-top: 1px solid #a8a8a8 !important;
    }

    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        row-gap: 5px !important;
        column-gap: 10px !important;
        padding: 8px 8px 9px !important;
        border-bottom: 1px solid #a8a8a8 !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: contents !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        grid-column: 1 !important;
        width: auto !important;
        flex: none !important;
        margin: 0 !important;
        color: #1a3d96 !important;
        font-size: clamp(17px, 5vw, 22px) !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        text-align: right !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe] {
        grid-column: 2 !important;
        color: #777 !important;
        font-size: clamp(17px, 5vw, 22px) !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: #d11f2c !important;
        font-size: inherit !important;
        font-style: normal !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-column: 2 !important;
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .hisCode-item-number,
    .hisCode-item-number[data-v-c8d6ced2] {
        font-size: clamp(19px, 6.1vw, 28px) !important;
    }

    .hisCode-item-zodiac,
    .hisCode-item-zodiac[data-v-c8d6ced2] {
        height: 18px !important;
        line-height: 18px !important;
        font-size: clamp(14px, 4.4vw, 20px) !important;
    }

    .home-load-more-wrap {
        display: block !important;
        padding: 12px 0 28px !important;
        text-align: center !important;
    }

    .home-load-more {
        min-width: 0 !important;
        height: auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #1a3d96 !important;
        font-size: 16px !important;
        line-height: 28px !important;
    }
}

@media (max-width: 768px) {
    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        padding-left: 0 !important;
    }

    .hisItem,
    .hisItem[data-v-41052fbe] {
        grid-template-columns: 68px minmax(0, 1fr) !important;
        column-gap: 8px !important;
        row-gap: 4px !important;
        padding: 7px 8px 8px !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        color: #1a3d96 !important;
        font-size: clamp(15px, 4.15vw, 18px) !important;
        font-weight: 700 !important;
        line-height: 1.34 !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe] {
        color: #777 !important;
        font-size: clamp(15px, 4.15vw, 18px) !important;
        font-weight: 400 !important;
        line-height: 1.34 !important;
        white-space: nowrap !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: #777 !important;
        font-size: inherit !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-template-columns: repeat(6, minmax(0, 1fr)) 16px minmax(0, 1fr) !important;
        gap: 3px !important;
        align-items: start !important;
    }

    .hisCode-item,
    .hisCode-item[data-v-c8d6ced2] {
        overflow: visible !important;
    }

    .hisCode-item-number,
    .hisCode-item-number[data-v-c8d6ced2] {
        margin: 0 0 4px !important;
        font-size: clamp(16px, 4.7vw, 20px) !important;
    }

    .hisCode-item-number span,
    .hisCode-item-number span[data-v-c8d6ced2] {
        font-size: inherit !important;
        line-height: 1 !important;
    }

    .hisCode-item-zodiac,
    .hisCode-item-zodiac[data-v-c8d6ced2] {
        height: 18px !important;
        line-height: 18px !important;
        font-size: clamp(13px, 3.8vw, 16px) !important;
        font-weight: 700 !important;
    }

    .hisCode-item-plus,
    .hisCode-item-plus[data-v-c8d6ced2] {
        width: 16px !important;
        margin: 0 !important;
        font-size: clamp(17px, 5vw, 21px) !important;
    }

    .scratch-trigger.is-active .scratch-eye:before {
        content: "";
        position: absolute;
        left: -3px;
        top: 50%;
        width: 24px;
        height: 3px;
        border-radius: 3px;
        background: #1a3d96;
        transform: rotate(-34deg);
        transform-origin: center;
    }

    .hisItem.scratch-blurred,
    .hisItem.scratch-blurred[data-v-41052fbe] {
        position: relative !important;
        overflow: hidden !important;
    }

    .hisItem.scratch-blurred > *,
    .hisItem.scratch-blurred[data-v-41052fbe] > * {
        filter: blur(4px) !important;
        opacity: .36 !important;
    }

    .hisItem.scratch-blurred:after,
    .hisItem.scratch-blurred[data-v-41052fbe]:after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 8 !important;
        pointer-events: none !important;
        background:
            linear-gradient(92deg, rgba(246, 244, 249, .95), rgba(220, 180, 208, .78) 48%, rgba(220, 220, 255, .86)) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

    .home-load-more-wrap {
        display: block !important;
        padding: 22px 0 140px !important;
        text-align: center !important;
    }

    .home-load-more {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 112px !important;
        height: 44px !important;
        padding: 0 20px !important;
        border: 0 !important;
        border-radius: 5px !important;
        background: #1f469c !important;
        color: #fff !important;
        font-size: 17px !important;
        line-height: 44px !important;
        font-weight: 400 !important;
    }

    .carousel-container,
    .carousel-container[data-v-9bd7682a] {
        aspect-ratio: 1280 / 409 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .carousel-slide,
    .carousel-slide[data-v-9bd7682a] {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 0 !important;
        animation: macaujc-carousel-fade 16s infinite !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .carousel-slide:nth-child(1),
    .carousel-slide[data-v-9bd7682a]:nth-child(1) {
        animation-delay: 0s !important;
    }

    .carousel-slide:nth-child(2),
    .carousel-slide[data-v-9bd7682a]:nth-child(2) {
        animation-delay: 4s !important;
    }

    .carousel-slide:nth-child(3),
    .carousel-slide[data-v-9bd7682a]:nth-child(3) {
        animation-delay: 8s !important;
    }

    .carousel-slide:nth-child(4),
    .carousel-slide[data-v-9bd7682a]:nth-child(4) {
        animation-delay: 12s !important;
    }

    .carousel-slide img,
    .carousel-slide img[data-v-9bd7682a] {
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px !important;
        object-fit: cover !important;
        display: block !important;
    }
}

@keyframes macaujc-carousel-fade {
    0% { opacity: 0; }
    4% { opacity: 1; }
    24% { opacity: 1; }
    28% { opacity: 0; }
    100% { opacity: 0; }
}

/* v35: disable the old CSS carousel so JS is the only switcher. */
.carousel-js-ready .carousel-slide,
.carousel-js-ready .carousel-slide[data-v-9bd7682a] {
    animation: none !important;
    transition: none !important;
}

.carousel-js-ready .carousel-slide:not(.is-active),
.carousel-js-ready .carousel-slide:not(.is-active)[data-v-9bd7682a] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.carousel-js-ready .carousel-slide.is-active,
.carousel-js-ready .carousel-slide.is-active[data-v-9bd7682a] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .page-width,
    .page-width[data-v-39e1935c],
    .page-width[data-v-41052fbe],
    .page-width[data-v-1401ef5b],
    .page-width[data-v-d35d6f7c],
    .page-width[data-v-088c2934] {
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box !important;
    }

    footer,
    footer[data-v-49a42f2c] {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 18px 12px calc(112px + env(safe-area-inset-bottom, 0px)) !important;
        border-top: 5px solid #eee222 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        color: #8b8b8b !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 22px !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .mobile-bottom-nav {
        z-index: 1000 !important;
    }
}

/* macaujc-mobile-v16-absolute-last */
@media (max-width: 768px) {
    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) !important;
        column-gap: 7px !important;
        row-gap: 3px !important;
        padding: 6px 8px 7px !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: contents !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe],
    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe],
    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        font-size: clamp(10px, 3.25vw, 14px) !important;
        line-height: 1.25 !important;
        font-style: normal !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        grid-column: 1 !important;
        color: #1a3d96 !important;
        font-weight: 700 !important;
        text-align: right !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe] {
        grid-column: 2 !important;
        color: #777 !important;
        font-weight: 400 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: inherit !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-column: 2 !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 14px minmax(0, 1fr) !important;
        gap: 3px !important;
        width: 100% !important;
        align-items: start !important;
    }

    .hisItem.scratch-blurred,
    .hisItem.scratch-blurred[data-v-41052fbe] {
        position: relative !important;
        overflow: hidden !important;
    }

    .hisItem.scratch-blurred > *,
    .hisItem.scratch-blurred[data-v-41052fbe] > * {
        filter: blur(10px) !important;
        opacity: .08 !important;
    }

    .hisItem.scratch-blurred:after,
    .hisItem.scratch-blurred[data-v-41052fbe]:after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 30 !important;
        pointer-events: none !important;
        background:
            radial-gradient(circle at 36% 48%, rgba(190, 165, 225, .96), rgba(211, 188, 233, .94) 24%, transparent 48%),
            linear-gradient(90deg, rgba(247, 232, 238, .98) 0%, rgba(234, 196, 208, .98) 20%, rgba(207, 185, 232, .99) 50%, rgba(242, 219, 230, .98) 78%, rgba(255, 244, 247, .98) 100%) !important;
        backdrop-filter: blur(16px) saturate(1.25) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.25) !important;
    }

    .mobile-more-page,
    .mobile-more-page[data-v-088c2934] {
        width: 100% !important;
        padding: 0 8px 28px !important;
        box-sizing: border-box !important;
    }

    .mobile-more-hero,
    .mobile-more-hero[data-v-088c2934] {
        width: 100% !important;
        aspect-ratio: 1280 / 409 !important;
        margin: 0 0 10px !important;
        overflow: hidden !important;
        border-radius: 8px !important;
    }

    .mobile-more-hero img,
    .mobile-more-hero img[data-v-088c2934] {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .mobile-more-list,
    .mobile-more-list[data-v-088c2934] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        background: #fff !important;
        border-top: 1px solid #e7e7e7 !important;
        border-bottom: 1px solid #e7e7e7 !important;
    }

    .mobile-more-item,
    .mobile-more-item[data-v-088c2934] {
        display: flex !important;
        align-items: center !important;
        min-height: 50px !important;
        padding: 0 14px !important;
        border-bottom: 1px solid #ededed !important;
        color: #222 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .mobile-more-item:last-child {
        border-bottom: 0 !important;
    }

    .mobile-more-icon {
        width: 28px !important;
        margin-right: 10px !important;
        color: #1a3d96 !important;
        font-size: 20px !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    .mobile-more-title {
        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }
}

/* macaujc-mobile-v16-real-final */
@media (max-width: 768px) {
    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) !important;
        column-gap: 7px !important;
        row-gap: 3px !important;
        padding: 6px 8px 7px !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: contents !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe],
    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe],
    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        font-size: clamp(10px, 3.25vw, 14px) !important;
        line-height: 1.25 !important;
        font-style: normal !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        grid-column: 1 !important;
        color: #1a3d96 !important;
        font-weight: 700 !important;
        text-align: right !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe] {
        grid-column: 2 !important;
        color: #777 !important;
        font-weight: 400 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: inherit !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-column: 2 !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 14px minmax(0, 1fr) !important;
        gap: 3px !important;
        width: 100% !important;
        align-items: start !important;
    }

    .hisItem.scratch-blurred,
    .hisItem.scratch-blurred[data-v-41052fbe] {
        position: relative !important;
        overflow: hidden !important;
    }

    .hisItem.scratch-blurred > *,
    .hisItem.scratch-blurred[data-v-41052fbe] > * {
        filter: blur(10px) !important;
        opacity: .08 !important;
    }

    .hisItem.scratch-blurred:after,
    .hisItem.scratch-blurred[data-v-41052fbe]:after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 30 !important;
        pointer-events: none !important;
        background:
            radial-gradient(circle at 36% 48%, rgba(190, 165, 225, .96), rgba(211, 188, 233, .94) 24%, transparent 48%),
            linear-gradient(90deg, rgba(247, 232, 238, .98) 0%, rgba(234, 196, 208, .98) 20%, rgba(207, 185, 232, .99) 50%, rgba(242, 219, 230, .98) 78%, rgba(255, 244, 247, .98) 100%) !important;
        backdrop-filter: blur(16px) saturate(1.25) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.25) !important;
    }

    .mobile-more-page,
    .mobile-more-page[data-v-088c2934] {
        width: 100% !important;
        padding: 0 8px 28px !important;
        box-sizing: border-box !important;
    }

    .mobile-more-hero,
    .mobile-more-hero[data-v-088c2934] {
        width: 100% !important;
        aspect-ratio: 1280 / 409 !important;
        margin: 0 0 10px !important;
        overflow: hidden !important;
        border-radius: 8px !important;
    }

    .mobile-more-hero img,
    .mobile-more-hero img[data-v-088c2934] {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .mobile-more-list,
    .mobile-more-list[data-v-088c2934] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        background: #fff !important;
        border-top: 1px solid #e7e7e7 !important;
        border-bottom: 1px solid #e7e7e7 !important;
    }

    .mobile-more-item,
    .mobile-more-item[data-v-088c2934] {
        display: flex !important;
        align-items: center !important;
        min-height: 50px !important;
        padding: 0 14px !important;
        border-bottom: 1px solid #ededed !important;
        color: #222 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .mobile-more-item:last-child {
        border-bottom: 0 !important;
    }

    .mobile-more-icon {
        width: 28px !important;
        margin-right: 10px !important;
        color: #1a3d96 !important;
        font-size: 20px !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    .mobile-more-title {
        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }
}

/* macaujc-mobile-v16-eof */
@media (max-width: 768px) {
    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) !important;
        column-gap: 7px !important;
        row-gap: 3px !important;
        padding: 6px 8px 7px !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: contents !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe],
    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe],
    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        font-size: clamp(10px, 3.25vw, 14px) !important;
        line-height: 1.25 !important;
        font-style: normal !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        grid-column: 1 !important;
        color: #1a3d96 !important;
        font-weight: 700 !important;
        text-align: right !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe] {
        grid-column: 2 !important;
        color: #777 !important;
        font-weight: 400 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: inherit !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-column: 2 !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 14px minmax(0, 1fr) !important;
        gap: 3px !important;
        width: 100% !important;
        align-items: start !important;
    }

    .hisItem.scratch-blurred,
    .hisItem.scratch-blurred[data-v-41052fbe] {
        position: relative !important;
        overflow: hidden !important;
    }

    .hisItem.scratch-blurred > *,
    .hisItem.scratch-blurred[data-v-41052fbe] > * {
        filter: blur(10px) !important;
        opacity: .08 !important;
    }

    .hisItem.scratch-blurred:after,
    .hisItem.scratch-blurred[data-v-41052fbe]:after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 30 !important;
        pointer-events: none !important;
        background:
            radial-gradient(circle at 36% 48%, rgba(190, 165, 225, .96), rgba(211, 188, 233, .94) 24%, transparent 48%),
            linear-gradient(90deg, rgba(247, 232, 238, .98) 0%, rgba(234, 196, 208, .98) 20%, rgba(207, 185, 232, .99) 50%, rgba(242, 219, 230, .98) 78%, rgba(255, 244, 247, .98) 100%) !important;
        backdrop-filter: blur(16px) saturate(1.25) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.25) !important;
    }

    .mobile-more-page,
    .mobile-more-page[data-v-088c2934] {
        width: 100% !important;
        padding: 0 8px 28px !important;
        box-sizing: border-box !important;
    }

    .mobile-more-hero,
    .mobile-more-hero[data-v-088c2934] {
        width: 100% !important;
        aspect-ratio: 1280 / 409 !important;
        margin: 0 0 10px !important;
        overflow: hidden !important;
        border-radius: 8px !important;
    }

    .mobile-more-hero img,
    .mobile-more-hero img[data-v-088c2934] {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .mobile-more-list,
    .mobile-more-list[data-v-088c2934] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        background: #fff !important;
        border-top: 1px solid #e7e7e7 !important;
        border-bottom: 1px solid #e7e7e7 !important;
    }

    .mobile-more-item,
    .mobile-more-item[data-v-088c2934] {
        display: flex !important;
        align-items: center !important;
        min-height: 50px !important;
        padding: 0 14px !important;
        border-bottom: 1px solid #ededed !important;
        color: #222 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .mobile-more-item:last-child {
        border-bottom: 0 !important;
    }

    .mobile-more-icon {
        width: 28px !important;
        margin-right: 10px !important;
        color: #1a3d96 !important;
        font-size: 20px !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    .mobile-more-title {
        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }
}

/* macaujc-mobile-v16-final */
@media (max-width: 768px) {
    .hisItem,
    .hisItem[data-v-41052fbe] {
        grid-template-columns: 44px minmax(0, 1fr) !important;
        column-gap: 7px !important;
        row-gap: 3px !important;
        padding: 6px 8px 7px !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: contents !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe],
    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe],
    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        font-size: clamp(10px, 3.25vw, 14px) !important;
        line-height: 1.25 !important;
        font-style: normal !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        grid-column: 1 !important;
        color: #1a3d96 !important;
        font-weight: 700 !important;
        text-align: right !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe],
    .hisTime .hisValue,
    .hisTime .hisValue[data-v-41052fbe] {
        grid-column: 2 !important;
        color: #777 !important;
        font-weight: 400 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: inherit !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-column: 2 !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 14px minmax(0, 1fr) !important;
        gap: 3px !important;
        width: 100% !important;
        align-items: start !important;
    }

    .hisItem.scratch-blurred > *,
    .hisItem.scratch-blurred[data-v-41052fbe] > * {
        filter: blur(10px) !important;
        opacity: .08 !important;
    }

    .hisItem.scratch-blurred:after,
    .hisItem.scratch-blurred[data-v-41052fbe]:after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 30 !important;
        pointer-events: none !important;
        background:
            radial-gradient(circle at 36% 48%, rgba(190, 165, 225, .96), rgba(211, 188, 233, .94) 24%, transparent 48%),
            linear-gradient(90deg, rgba(247, 232, 238, .98) 0%, rgba(234, 196, 208, .98) 20%, rgba(207, 185, 232, .99) 50%, rgba(242, 219, 230, .98) 78%, rgba(255, 244, 247, .98) 100%) !important;
        backdrop-filter: blur(16px) saturate(1.25) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.25) !important;
    }

    .mobile-more-page,
    .mobile-more-page[data-v-088c2934] {
        width: 100% !important;
        padding: 0 8px 28px !important;
        box-sizing: border-box !important;
    }

    .mobile-more-hero,
    .mobile-more-hero[data-v-088c2934] {
        width: 100% !important;
        aspect-ratio: 1280 / 409 !important;
        margin: 0 0 10px !important;
        overflow: hidden !important;
        border-radius: 8px !important;
    }

    .mobile-more-hero img,
    .mobile-more-hero img[data-v-088c2934] {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .mobile-more-list,
    .mobile-more-list[data-v-088c2934] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        background: #fff !important;
        border-top: 1px solid #e7e7e7 !important;
        border-bottom: 1px solid #e7e7e7 !important;
    }

    .mobile-more-item,
    .mobile-more-item[data-v-088c2934] {
        display: flex !important;
        align-items: center !important;
        min-height: 50px !important;
        padding: 0 14px !important;
        border-bottom: 1px solid #ededed !important;
        color: #222 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .mobile-more-item:last-child {
        border-bottom: 0 !important;
    }

    .mobile-more-icon {
        width: 28px !important;
        margin-right: 10px !important;
        color: #1a3d96 !important;
        font-size: 20px !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    .mobile-more-title {
        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }
}

/* Mobile homepage final pass 20260516. */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .open_zone,
    .open_zone[data-v-e781b60e] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .lotteryTitle,
    .lotteryTitle[data-v-e781b60e] {
        order: 1 !important;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
        min-height: 50px !important;
        margin: 0 8px 7px !important;
        padding: 5px 8px !important;
        border: 1px solid #1a3d96 !important;
        border-radius: 3px !important;
        overflow: hidden !important;
    }

    .lotteryTitle-l,
    .lotteryTitle-l[data-v-e781b60e] {
        min-width: 0 !important;
        font-size: clamp(20px, 5.7vw, 27px) !important;
        line-height: 1.12 !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
    }

    .lotteryTitle-r,
    .lotteryTitle-r[data-v-e781b60e] {
        min-width: 0 !important;
        font-size: clamp(13px, 3.55vw, 17px) !important;
        line-height: 1.38 !important;
        letter-spacing: 0 !important;
    }

    .draw-time-line,
    .draw-date-line {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }

    .draw-time-line .js-next-issue {
        color: #1a3d96 !important;
    }

    .js-next-weekday {
        margin-left: 10px !important;
    }

    .open_code_zone,
    .open_code_zone[data-v-e781b60e] {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 0 8px !important;
    }

    .open_code_zone_right,
    .open_code_zone_right[data-v-e781b60e] {
        order: 1 !important;
        display: block !important;
        position: relative !important;
        padding: 0 8px !important;
        width: 100% !important;
    }

    .open_code_zone_left,
    .open_code_zone_left[data-v-e781b60e] {
        order: 2 !important;
        display: block !important;
        width: 100% !important;
    }

    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        margin: 0 0 7px !important;
        padding: 0 8px !important;
        gap: 14px !important;
    }

    .open_code_zone_left-title-1,
    .open_code_zone_left-title-1[data-v-e781b60e],
    .open_code_zone_left-title-2,
    .open_code_zone_left-title-2[data-v-e781b60e] {
        font-size: clamp(17px, 4.8vw, 22px) !important;
        line-height: 1.22 !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        width: calc(100% - 92px) !important;
        max-width: 650px !important;
        margin: 2px auto 8px 0 !important;
        padding-left: 10px !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }

    .countdown-item,
    .countdown-item[data-v-f877db46] {
        width: clamp(35px, 10.9vw, 52px) !important;
        height: clamp(46px, 13.8vw, 64px) !important;
        line-height: clamp(46px, 13.8vw, 64px) !important;
        font-size: clamp(37px, 12vw, 58px) !important;
    }

    .countdown-split,
    .countdown-split[data-v-f877db46] {
        width: 10px !important;
        font-size: clamp(34px, 10vw, 50px) !important;
    }

    .operate-row {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: block !important;
        width: 78px !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    .operate-row .scratch-trigger,
    .operate-row .scratch-trigger[data-v-e781b60e] {
        width: 78px !important;
        min-height: 0 !important;
        height: auto !important;
        line-height: 1 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #1a3d96 !important;
        font-size: clamp(16px, 5vw, 22px) !important;
        box-shadow: none !important;
        pointer-events: auto !important;
    }

    .operate-row .operate-btn-1,
    .operate-row .operate-btn-2,
    .open_code_zone_right > .operate-btn-3:not(.scratch-trigger) {
        display: none !important;
    }

    .open_code_zone_left-content,
    .open_code_zone_left-content[data-v-3ae51a5a] {
        padding: 0 8px !important;
    }

    .open-code-scratch,
    .open-code-scratch[data-v-3ae51a5a] {
        grid-template-columns: repeat(6, minmax(0, 1fr)) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
    }

    .open_code_zone_left-item-number,
    .open_code_zone_left-item-number[data-v-3ae51a5a] {
        font-size: clamp(21px, 7vw, 31px) !important;
    }

    .open_code_zone_left-item-zodiac,
    .open_code_zone_left-item-zodiac[data-v-3ae51a5a] {
        height: 21px !important;
        line-height: 21px !important;
        font-size: clamp(15px, 4.55vw, 20px) !important;
    }

    .history-panel {
        order: 4 !important;
        margin-top: 0 !important;
        border-top: 1px solid #a8a8a8 !important;
    }

    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        row-gap: 5px !important;
        column-gap: 10px !important;
        padding: 8px 8px 9px !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: contents !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        grid-column: 1 !important;
        width: auto !important;
        flex: none !important;
        margin: 0 !important;
        color: #1a3d96 !important;
        font-size: clamp(17px, 5vw, 22px) !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        text-align: right !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe] {
        grid-column: 2 !important;
        color: #777 !important;
        font-size: clamp(17px, 5vw, 22px) !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: #d11f2c !important;
        font-size: inherit !important;
        font-style: normal !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-column: 2 !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
        align-items: start !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .hisCode-item-number,
    .hisCode-item-number[data-v-c8d6ced2] {
        font-size: clamp(19px, 6.1vw, 28px) !important;
    }

    .hisCode-item-zodiac,
    .hisCode-item-zodiac[data-v-c8d6ced2] {
        height: 18px !important;
        line-height: 18px !important;
        font-size: clamp(14px, 4.4vw, 20px) !important;
    }

    .home-load-more-wrap {
        padding: 12px 0 28px !important;
    }

    .home-load-more {
        min-width: 0 !important;
        height: auto !important;
        padding: 0 !important;
        background: transparent !important;
        color: #1a3d96 !important;
        font-size: 16px !important;
        line-height: 28px !important;
        border-radius: 0 !important;
    }
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.page-width {
    width: 1164px;
    max-width: calc(100vw - 24px);
    margin: 0 auto;
}

.logo-box {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    padding-bottom: 10px;
}

.logo-img {
    border: none;
    width: 173px;
    height: 96px;
    object-fit: contain;
    cursor: pointer;
}

.switch_style {
    border-radius: 26px;
    padding: 1px 15px;
    color: #fff;
    background: #1a3d96;
    font-size: 17px;
    line-height: 23px;
    cursor: pointer;
    height: 26px;
}

.daohang {
    display: flex;
}

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

.dhBg {
    color: #fff100 !important;
}

.frequency-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
    gap: 12px 16px;
}

.frequency-item {
    color: #000;
    background-color: #ded9d9;
    font-weight: 700;
    font-size: 18px;
    border-radius: 4px;
    padding: 10px 18px;
    cursor: pointer;
}

.frequency-item.active {
    color: #fff !important;
    background-color: #1a3d96 !important;
}

.carousel-container {
    height: 374px;
    overflow: hidden;
    position: relative;
    margin-bottom: 18px;
}

.carousel-slide {
    height: 100%;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.open_zone {
    box-shadow: 0 0 3px 3px #ddd;
    margin-bottom: 20px;
    background: #fff;
}

.lotteryTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    min-height: 56px;
    border: 1px solid #1a3d96;
    color: #1a3d96;
    font-weight: 700;
}

.lotteryTitle-l {
    font-size: 20px;
}

.lotteryTitle-r {
    font-size: 14px;
    text-align: right;
}

.lotteryTitle-r em {
    font-size: 15px;
    color: #1a3d96;
    font-style: italic;
}

.open_code_zone {
    padding: 0 64px;
    min-height: 234px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.open_code_zone_left {
    flex: 1;
    min-width: 0;
}

.open_code_zone_left-title {
    margin-bottom: 32px;
}

.open_code_zone_left-title-1 {
    font-size: 14px;
}

.open_code_zone_left-title-2 {
    font-size: 15px;
    margin-left: 20px;
}

.open_code_zone_left-title-2 i {
    color: #e60012;
    font-style: normal;
    font-size: 17px;
}

.open_code_zone_left-content {
    display: flex;
    align-items: flex-start;
}

.open_code_zone_left-item {
    margin-right: 6px;
}

.js-live-ball {
    position: relative;
}

.open_code_zone_left-item-number {
    width: 66px;
    height: 66px;
    font-size: 44px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-open-placeholder {
    display: none;
}

.js-live-ball.demo-open-pending .open_code_zone_left-item-number {
    border-radius: 0 !important;
    background: #c8c8c8 !important;
    box-shadow: none !important;
    color: #000 !important;
}

.js-live-ball.demo-open-pending .open_code_zone_left-item-number span {
    visibility: hidden;
}

.js-live-ball.demo-open-pending .demo-open-placeholder {
    position: absolute;
    left: 0;
    top: 0;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 34px;
    line-height: 66px;
    font-weight: 700;
    z-index: 2;
    pointer-events: none;
}

.js-live-ball.demo-open-pending .open_code_zone_left-item-zodiac {
    visibility: hidden;
}

.open_code_zone_left-item-number span {
    color: #fff;
    text-shadow: none;
}

.open_code_zone_left-item-number,
.hisCode-item-number,
.mini-ball {
    position: relative;
    background: var(--ball-color, #ccc);
    transition: border-radius .22s ease, box-shadow .22s ease, transform .22s ease, background .22s ease, border-color .22s ease;
}

.open_code_zone_left-item-number span,
.hisCode-item-number span,
.mini-ball span {
    position: relative;
    z-index: 1;
}

body.ball-style-square .open_code_zone_left-item-number,
body.ball-style-square .hisCode-item-number,
body.ball-style-square .mini-ball {
    border-radius: 0;
    background: var(--ball-color, #ccc) !important;
    box-shadow: none;
    border: 0;
}

body.ball-style-round .open_code_zone_left-item-number,
body.ball-style-round .hisCode-item-number,
body.ball-style-round .mini-ball {
    border-radius: 50%;
    background: var(--ball-color, #ccc) !important;
    box-shadow: inset -4px -5px 0 rgba(0, 0, 0, .14), inset 4px 5px 0 rgba(255, 255, 255, .16);
    border: 0;
}

body.ball-style-gloss .open_code_zone_left-item-number,
body.ball-style-gloss .hisCode-item-number,
body.ball-style-gloss .mini-ball {
    border-radius: 50%;
    background: radial-gradient(circle at 32% 25%, rgba(255, 255, 255, .95) 0 10%, rgba(255, 255, 255, .22) 18%, transparent 34%), var(--ball-color, #ccc) !important;
    box-shadow: inset -7px -8px 9px rgba(0, 0, 0, .24), inset 4px 5px 8px rgba(255, 255, 255, .3), 0 2px 4px rgba(0, 0, 0, .2);
    border: 0;
}

body.ball-style-outline .open_code_zone_left-item-number,
body.ball-style-outline .hisCode-item-number,
body.ball-style-outline .mini-ball {
    border-radius: 6px;
    background: #fff !important;
    border: 4px solid var(--ball-color, #ccc);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
}

body.ball-style-outline .open_code_zone_left-item-number span,
body.ball-style-outline .hisCode-item-number span,
body.ball-style-outline .mini-ball span {
    color: var(--ball-color, #333);
}

body.ball-style-flip .open_code_zone_left-item-number,
body.ball-style-flip .hisCode-item-number,
body.ball-style-flip .mini-ball {
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 42%), var(--ball-color, #ccc) !important;
    box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .12), 0 2px 0 rgba(0, 0, 0, .16);
    transform: perspective(220px) rotateX(7deg);
    transform-style: preserve-3d;
    border: 0;
}

.open_code_zone_left-item-plus {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #da0f1f;
}

.open_code_zone_left-item-zodiac {
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 40px;
}

.moni-open {
    font-size: 17px;
    height: 26px;
    line-height: 26px;
    cursor: pointer;
    display: inline-block;
    border-radius: 26px;
    padding: 0 8px;
    color: #fff;
    background: #1a3d96;
    margin: 0 0 3px 15px;
    text-align: center;
}

.open_code_zone_right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 25px;
}

.countdown-item {
    font-size: 38px;
    text-align: center;
    color: #000;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    display: inline-block;
    height: 49px;
    line-height: 49px;
    width: 41px;
    margin-left: 10px;
}

.countdown-split {
    font-size: 38px;
    font-weight: 700;
}

.operate-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 0;
}

.operate-btn-1,
.operate-btn-2,
.button-primary {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    padding: 5px 20px;
    box-shadow: inset 0 0 3px;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid transparent;
    line-height: 20px;
}

.operate-btn-1,
.operate-btn-2,
.operate-btn-3,
.button-primary {
    font-family: inherit;
}

button.operate-btn-1,
button.operate-btn-2,
button.operate-btn-3 {
    appearance: none;
}

.operate-btn-1 {
    border-color: #bb8215;
    background: linear-gradient(180deg, #deb030, #e59e10);
    margin: 0 10px;
}

.operate-btn-2,
.button-primary {
    background: linear-gradient(180deg, #d21e1e, #b02b21);
    border-color: #b02b21;
}

.operate-btn-3 {
    color: #000;
    font-size: 16px;
    display: inline-block;
    cursor: pointer;
    border: 0;
    background: transparent;
    padding: 0;
}

.operate-row .operate-btn-3.scratch-trigger,
button.operate-btn-3.scratch-trigger,
.operate-btn-3.scratch-trigger[data-v-e781b60e] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1a3d96;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    vertical-align: middle;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    outline: none;
}

.operate-row .operate-btn-3.scratch-trigger:focus,
.operate-row .operate-btn-3.scratch-trigger:active {
    outline: none;
    box-shadow: none;
}

.scratch-trigger span {
    display: inline-flex;
}

.scratch-eye {
    position: relative;
    width: 18px;
    height: 12px;
    margin-left: 1px;
    border: 2px solid #1a3d96;
    border-radius: 50% / 58%;
    box-sizing: border-box;
}

.scratch-eye:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #1a3d96;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.open-code-scratch {
    position: relative;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}

.scratch-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    z-index: 5;
    display: none;
}

.scratch-hint {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 6;
    pointer-events: none;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 0, 0, .3);
}

.open-code-scratch.scratching .scratch-mask {
    display: block;
}

.open-code-scratch.scratching .scratch-hint {
    display: flex;
}

.open-code-scratch.scratched .scratch-hint {
    display: none;
}

.chart-title {
    height: 44px;
    line-height: 44px;
    color: #1a3d96;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #1a3d96;
    margin-bottom: 12px;
}

.history-panel,
.simple-panel {
    background: #fff;
    margin-top: 18px;
}

.hisWrapper {
    border-top: 1px solid #e6e6e6;
}

.hisItem {
    display: flex;
    align-items: center;
    min-height: 72px;
    border-bottom: 1px solid #e6e6e6;
}

.hisIssue {
    width: 18%;
    text-align: center;
    font-size: 15px;
}

.hisIssue i {
    color: #e60012;
    font-style: normal;
}

.hisTime {
    width: 19%;
    text-align: center;
    color: #666;
    font-size: 13px;
}

.hisCode {
    flex: 1;
}

.his-items {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 8px 0;
}

.hisCode-item-number {
    margin-right: 4px;
    color: #fff;
    width: 46px;
    height: 46px;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hisCode-item-number span {
    color: #fff;
    text-shadow: none;
}

.hisCode-item-plus {
    margin-right: 4px;
    color: #da0f1f;
    height: 46px;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 100;
}

.hisCode-item-zodiac {
    width: 46px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hisPlay {
    width: 10%;
    text-align: center;
}

.macaujc-pagination {
    display: flex;
    flex-direction: row-reverse;
    padding-top: 16px;
}

.macaujc-pagination .items {
    display: flex;
    align-items: center;
}

.macaujc-pagination .item,
.macaujc-pagination .prev,
.macaujc-pagination .next {
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #dcdcdc;
    color: #606266;
    margin-left: 6px;
    cursor: pointer;
    background: #fff;
}

.macaujc-pagination .item.active {
    color: #fff;
    border-color: #1a3d96;
    background: #1a3d96;
}

.macaujc-pagination .disabled {
    color: #c0c4cc;
    cursor: not-allowed;
}

.video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}

.video-stage {
    border: 1px solid #1a3d96;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.video-stage iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    background: #000;
}

.remote-live-stage {
    flex-direction: column;
}

.remote-live-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: #000;
    object-fit: contain;
}

.remote-live-fallback {
    position: absolute;
    left: 16px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 20px;
    pointer-events: none;
}

.remote-live-fallback a {
    color: #fff;
    text-decoration: underline;
    pointer-events: auto;
}

.video-side {
    border: 1px solid #e6e6e6;
    padding: 16px;
}

.switch_row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 18px;
}

.live-line-panel {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 18px;
    color: #515151;
    font-size: 15px;
}

.live-line-label {
    color: #414141;
    font-weight: 600;
    margin-right: 4px;
}

.switch_btn {
    border: 1px solid #c8c8c8;
    border-radius: 3px;
    color: #414141;
    background: #f7f7f7;
    height: 32px;
    min-width: 72px;
    padding: 0 14px;
    cursor: pointer;
}

.switch_btn.btn_back {
    border-color: #1a3d96;
    color: #fff;
    background: #1a3d96;
}

.live-offline-stage {
    border-color: #050505;
}

.live-offline-notice {
    color: #fff;
    font-size: 18px;
    line-height: 36px;
    padding: 0 20px;
    text-align: center;
}

.live-offline-notice .phone {
    color: #d80011;
    font-weight: 600;
    margin: 0 4px;
}

.lottery-tab {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.lottery-tab-item {
    height: 36px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 34px;
    font-size: 16px;
    cursor: pointer;
}

.lottery-tab-item.active {
    background-color: #1a3d96;
    color: #fff;
}

.chart-box {
    background: #fff;
    margin-bottom: 20px;
}

.pc-chart-title-1 {
    position: relative;
}

.pc-chart-opt {
    position: absolute;
    right: 0;
    top: 10px;
    display: flex;
    align-items: center;
}

.pc-count {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #000;
    font-size: 14px;
}

.pc-count input {
    width: 48px;
    height: 18px;
    border: 1px solid #aaa;
    padding: 0 3px;
    font-size: 12px;
}

.trend-chart-stage {
    height: 420px;
    border: 1px solid #e6e6e6;
    border-top: 0;
    padding: 14px 16px;
}

.pc-horizontal-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.trend-bars {
    min-width: 620px;
    padding: 2px 0 10px;
}

.trend-bar-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
    min-height: 26px;
    font-size: 13px;
}

.trend-bar-label {
    color: #1a3d96;
    font-weight: 700;
    text-align: right;
}

.trend-bar-track {
    height: 13px;
    background: #edf1fa;
    border-radius: 10px;
    overflow: hidden;
}

.trend-bar-track span {
    display: block;
    height: 100%;
    min-width: 2px;
    border-radius: 10px;
    background: linear-gradient(90deg, #1a3d96, #00a0ea);
}

.trend-bar-value {
    color: #000;
    font-weight: 700;
}

.trend-color-red .trend-bar-label,
.trend-color-red .trend-bar-value {
    color: #d61f2f;
}

.trend-color-red .trend-bar-track span {
    background: linear-gradient(90deg, #b91424, #f13a47);
}

.trend-color-blue .trend-bar-label,
.trend-color-blue .trend-bar-value {
    color: #1a3d96;
}

.trend-color-blue .trend-bar-track span {
    background: linear-gradient(90deg, #1a3d96, #00a0ea);
}

.trend-color-green .trend-bar-label,
.trend-color-green .trend-bar-value {
    color: #129447;
}

.trend-color-green .trend-bar-track span {
    background: linear-gradient(90deg, #0f873f, #26c76a);
}

.trend-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 14px;
}

.trend-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.trend-table th,
.trend-table td {
    border: 1px solid #e6e6e6;
    padding: 9px 6px;
    text-align: center;
    font-size: 14px;
}

.trend-table th {
    color: #1a3d96;
    background: #fafafa;
}

.mini-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.mini-ball span {
    text-shadow: none;
}

.open_code_zone_left-item-number span,
.hisCode-item-number span,
.mini-ball span,
.number-item span {
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.api-list {
    border-top: 1px solid #e6e6e6;
}

.col-item {
    padding: 16px 20px;
    border: 1px solid #e6e6e6;
    border-top: 0;
    color: #1a3d96;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.api-panel {
    padding: 18px 20px;
    border: 1px solid #e6e6e6;
    border-top: 0;
    background: #fafafa;
    line-height: 1.8;
    font-size: 14px;
}

.api-panel code,
.api-panel pre {
    font-family: Consolas, Menlo, monospace;
}

.api-panel pre {
    overflow: auto;
    padding: 12px;
    background: #fff;
    border: 1px solid #eee;
}

.picker-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
}

.picker-box-l,
.picker-box-r {
    border: 0;
    padding: 0;
}

.picker-content {
    min-height: 200px;
    border: 1px solid #1a3d96;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 4px;
}

.picker-content-inner {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.picker-item {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12);
    text-align: center;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    line-height: 54px;
    margin: 0;
    position: relative;
    text-shadow: none;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.picker-item span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.picker-ball-red {
    background: #f20b0b;
}

.picker-ball-blue {
    background: #1114e8;
}

.picker-ball-green {
    background: #0b7f0b;
}

.picker-opt {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0;
}

.picker-opt-clear,
.picker-opt-copy {
    appearance: none;
    min-width: 42px;
    height: auto;
    line-height: 14px;
    padding: 2px 8px;
    margin-left: 8px;
    color: #1a3d96;
    background: #fff;
    border: 1px solid #1a3d96;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    text-align: center;
}

.picker-opt .picker-opt-copy[data-v-1401ef5b],
.picker-opt .picker-opt-clear[data-v-1401ef5b],
.picker-opt-copy,
.picker-opt-clear {
    display: inline-block !important;
    width: auto !important;
    min-width: 42px !important;
    height: auto !important;
    line-height: 14px !important;
    margin: 0 0 0 8px !important;
    padding: 2px 8px !important;
    color: #1a3d96 !important;
    background: #fff !important;
    border: 1px solid #1a3d96 !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
}

.picker-rule {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px 12px;
    padding-top: 16px;
}

.picker-rule-item {
    min-height: auto;
    line-height: 14px;
    text-align: center;
    border: 1px solid #333;
    margin: 0;
    padding: 10px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.picker-rule-item.active,
.picker-rule-item-active {
    color: #fff;
    border-color: #1a3d96;
    background: #1a3d96;
}

.picker-rule-empty,
.picker-rule-empty.active {
    border: none;
    background: transparent;
    cursor: default;
}

.picker-line {
    height: 17px;
    box-sizing: border-box;
    border-bottom: 1px solid #999;
}

.main_contact {
    border: 1px solid #e6e6e6;
    padding: 44px 60px;
    min-height: 360px;
}

.main_contact .title {
    color: #1a3d96;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
}

.article_contact {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.contact {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

.contact img {
    width: 64px;
    height: 64px;
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #888;
    border: 1px solid #e6e6e6;
}

footer {
    height: 40px;
    line-height: 40px;
    margin-top: 70px;
    text-align: center;
    color: #848484;
    border-top: 5px solid #eee222;
    font-size: 14px;
}

.mobile-lottery-grid,
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 900px) {
    .page-width {
        max-width: 100vw;
        padding: 0 10px;
    }

    .logo-box {
        align-items: center;
    }

    .logo-img {
        width: 128px;
        height: 72px;
    }

    .switch_style {
        font-size: 13px;
        padding: 0 10px;
    }

    .daohang {
        overflow-x: auto;
    }

    .daohang a {
        min-width: 92px;
    }

    .frequency-item {
        font-size: 15px;
        padding: 8px 10px;
        margin: 0;
    }

    .carousel-container {
        height: 45vw;
        min-height: 160px;
        max-height: 260px;
    }

    .lotteryTitle {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 10px 14px;
    }

    .lotteryTitle-r {
        text-align: left;
    }

    .open_code_zone {
        padding: 22px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .open_code_zone_left-title {
        margin-bottom: 18px;
    }

    .open_code_zone_left-content {
        justify-content: center;
        flex-wrap: nowrap;
    }

    .open_code_zone_left-item-number {
        width: 11vw;
        height: 11vw;
        max-width: 48px;
        max-height: 48px;
        min-width: 34px;
        min-height: 34px;
        font-size: clamp(18px, 7vw, 31px);
    }

    .js-live-ball.demo-open-pending .demo-open-placeholder {
        width: 11vw;
        height: 11vw;
        max-width: 48px;
        max-height: 48px;
        min-width: 34px;
        min-height: 34px;
        font-size: clamp(18px, 7vw, 28px);
        line-height: normal;
    }

    .open_code_zone_left-item-zodiac {
        font-size: 15px;
        line-height: 26px;
    }

    .open_code_zone_left-item-plus {
        height: 40px;
        font-size: 24px;
    }

    .countdown {
        justify-content: center;
        margin-left: 0;
    }

    .countdown-item {
        width: 32px;
        height: 42px;
        line-height: 42px;
        font-size: 30px;
        margin-left: 6px;
    }

    .countdown-split {
        font-size: 30px;
    }

    .pc-chart-title-1 {
        padding-bottom: 30px;
    }

    .pc-chart-opt {
        top: 48px;
        left: 0;
        right: auto;
    }

    .trend-chart-stage {
        height: 360px;
        padding: 12px 10px;
    }

    .trend-bars {
        min-width: 520px;
    }

    .trend-bar-row {
        grid-template-columns: 50px minmax(0, 1fr) 34px;
        gap: 6px;
    }

    .scratch-hint {
        font-size: 24px;
    }

    .hisItem {
        display: grid;
        grid-template-columns: 1fr;
        padding: 12px 0;
    }

    .hisIssue,
    .hisTime,
    .hisCode,
    .hisPlay {
        width: 100%;
    }

    .hisTime {
        margin-top: 3px;
    }

    .hisCode-item-number {
        width: 10.5vw;
        height: 10.5vw;
        max-width: 42px;
        max-height: 42px;
        min-width: 30px;
        min-height: 30px;
        font-size: clamp(17px, 6vw, 26px);
    }

    .hisCode-item-zodiac {
        width: 10.5vw;
        max-width: 42px;
        font-size: 12px;
    }

    .video-layout,
    .picker-box {
        grid-template-columns: 1fr;
    }

    .video-stage,
    .video-stage iframe,
    .remote-live-video {
        min-height: 260px;
        height: 260px;
    }

    .trend-table {
        min-width: 760px;
    }

    .trend-scroll {
        overflow-x: auto;
    }

    .picker-rule {
        grid-template-columns: repeat(3, 1fr);
    }

    .main_contact {
        padding: 28px 18px;
    }

    .contact {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
        background: #fff;
        font-size: 12px;
    }

    body {
        padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    }

    .page-width {
        width: 100%;
        max-width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .logo-box {
        padding: 18px 10px 10px;
        align-items: flex-end;
    }

    .logo-img {
        width: 122px;
        height: 82px;
        object-fit: contain;
        object-position: left center;
    }

    .switch_style {
        height: 37px;
        line-height: 37px;
        padding: 0 12px;
        border-radius: 7px;
        background: #243f98;
        font-size: 17px;
        color: #fff;
        white-space: nowrap;
    }

    .daohang {
        display: none;
    }

    .daohang + div,
    .daohang + div + div {
        display: none;
    }

    .mobile-lottery-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 8px;
        padding: 0 8px 16px;
        border-bottom: 1px solid #e1e1e1;
        background: #fff;
    }

    .mobile-lottery-chip {
        height: 44px;
        line-height: 44px;
        border-radius: 5px;
        background: #dddada;
        color: #050505;
        text-align: center;
        font-size: 18px;
        font-weight: 600;
        overflow: hidden;
        white-space: nowrap;
    }

    .mobile-lottery-chip.active {
        color: #fff;
        background: #263f98;
    }

    .frequency-box {
        display: none;
    }

    .carousel-container {
        width: calc(100% - 16px);
        height: 160px;
        min-height: 160px;
        max-height: 160px;
        margin: 12px 8px 14px;
        overflow: hidden;
    }

    .carousel-slide img {
        object-fit: cover;
    }

    .open_zone {
        width: 100%;
        margin: 0;
        border-top: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8;
        box-shadow: none;
    }

    .lotteryTitle {
        min-height: 58px;
        margin: 0;
        padding: 8px 10px;
        border: 0;
        border-top: 1px solid #d6d6d6;
        border-bottom: 1px solid #d6d6d6;
        display: block;
        color: #243f98;
        text-align: center;
    }

    .lotteryTitle-l {
        font-size: 20px;
        line-height: 25px;
    }

    .lotteryTitle-r {
        margin-top: 3px;
        text-align: center;
        color: #111;
        font-size: 15px;
        line-height: 20px;
    }

    .lotteryTitle-r em,
    .lotteryTitle-r .js-next-time {
        color: #cc2029;
        font-style: normal;
    }

    .open_code_zone {
        padding: 10px 0 12px;
        min-height: 0;
        display: block;
    }

    .open_code_zone_left-title {
        margin: 0;
        padding: 0 10px 8px;
        display: flex;
        align-items: center;
        gap: 14px;
        font-size: 17px;
        line-height: 25px;
        color: #111;
        white-space: nowrap;
    }

    .open_code_zone_left-title-1,
    .open_code_zone_left-title-2 {
        margin: 0;
        font-size: 17px;
        font-weight: 400;
    }

    .open_code_zone_left-title-2 i {
        color: #d21d29;
        font-size: 18px;
    }

    .open_code_zone_left-content {
        position: relative;
        width: 100%;
        padding: 0 8px;
        display: block;
        overflow: visible;
    }

    .open-code-scratch {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 22px minmax(0, 1fr);
        gap: 5px;
        align-items: start;
        overflow: visible;
        touch-action: pan-y;
    }

    .open_code_zone_left-item {
        margin: 0;
        min-width: 0;
    }

    .open_code_zone_left-item-number {
        width: 100%;
        height: auto;
        min-width: 0;
        min-height: 0;
        max-width: none;
        max-height: none;
        aspect-ratio: 1 / 1;
        font-size: 32px;
        line-height: 1;
    }

    .open-plus {
        width: 22px;
    }

    .open_code_zone_left-item-plus {
        width: 22px;
        height: auto;
        aspect-ratio: 1 / 1;
        color: #c71928;
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
    }

    .open_code_zone_left-item-zodiac {
        width: 100%;
        height: 24px;
        line-height: 24px;
        font-size: 18px;
        font-weight: 700;
        color: #111;
    }

    .moni-open {
        position: absolute;
        right: 0;
        top: -42px;
        height: 33px;
        line-height: 33px;
        margin: 0;
        padding: 0 16px;
        border-radius: 20px 0 0 20px;
        background: #243f98;
        color: #fff;
        font-size: 17px;
        font-style: normal;
        z-index: 8;
    }

    .open_code_zone_right {
        display: block;
        padding: 12px 8px 0;
    }

    .countdown {
        justify-content: center;
        margin: 8px 0 12px;
        gap: 5px;
    }

    .countdown-item {
        width: 37px;
        height: 51px;
        line-height: 51px;
        margin: 0;
        border: 1px solid #cfcfcf;
        border-radius: 3px;
        background: #fff;
        color: #111;
        font-size: 36px;
        font-weight: 400;
    }

    .countdown-split {
        width: 10px;
        font-size: 34px;
        text-align: center;
    }

    .operate-row {
        display: grid;
        grid-template-columns: 1fr 1.2fr 1fr;
        gap: 10px;
        padding: 0 22px;
    }

    .operate-row .operate-btn-3.scratch-trigger,
    button.operate-btn-3.scratch-trigger,
    .operate-btn-3.scratch-trigger[data-v-e781b60e] {
        justify-content: center;
        color: #243f98;
        font-size: 17px;
    }

    .scratch-eye {
        width: 20px;
        height: 13px;
    }

    .operate-btn-1,
    .operate-btn-2 {
        min-height: 38px;
        line-height: 26px;
        padding: 5px 8px;
        margin: 0;
        border-radius: 4px;
        text-align: center;
        font-size: 17px;
    }

    .open_code_zone_right > .operate-btn-3:not(.scratch-trigger) {
        display: block;
        margin: 8px auto 0 !important;
        color: #111;
        text-align: center;
        font-size: 17px;
    }

    .scratch-mask {
        touch-action: none;
    }

    .scratch-hint {
        font-size: 24px;
    }

    .js-live-ball.demo-open-pending .demo-open-placeholder {
        width: 100%;
        height: auto;
        min-width: 0;
        min-height: 0;
        max-width: none;
        max-height: none;
        aspect-ratio: 1 / 1;
        font-size: 18px;
        line-height: 1.15;
        padding: 3px;
        text-align: center;
    }

    .chart-title {
        position: relative;
        height: 48px;
        line-height: 48px;
        margin: 12px 8px 8px;
        padding-left: 9px;
        border: 0;
        color: #111;
        font-size: 22px;
        font-weight: 700;
    }

    .chart-title:before {
        content: "";
        position: absolute;
        left: 0;
        top: 10px;
        width: 5px;
        height: 28px;
        background: #243f98;
    }

    .history-panel {
        margin-top: 0;
        border-top: 1px solid #e4e4e4;
    }

    .hisWrapper {
        border-top: 1px solid #dcdcdc;
    }

    .hisItem {
        display: block;
        min-height: 0;
        padding: 10px 8px;
        border-bottom: 1px solid #d5d5d5;
    }

    .hisIssue,
    .hisTime {
        width: 100%;
        text-align: left;
        font-size: 17px;
        line-height: 24px;
    }

    .hisIssue {
        color: #111;
    }

    .hisIssue i {
        color: #d21d29;
        font-size: 19px;
    }

    .hisTime {
        margin: 0 0 6px;
        color: #666;
    }

    .his-items {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 20px minmax(0, 1fr);
        gap: 5px;
        justify-content: stretch;
        align-items: start;
        padding: 4px 0 0;
    }

    .hisCode-item {
        min-width: 0;
    }

    .hisCode-item-number {
        width: 100%;
        height: auto;
        min-width: 0;
        min-height: 0;
        max-width: none;
        max-height: none;
        aspect-ratio: 1 / 1;
        margin: 0;
        font-size: 27px;
        line-height: 1;
    }

    .hisCode-item-plus {
        width: 20px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0;
        color: #c71928;
        font-size: 22px;
        font-weight: 700;
    }

    .hisCode-item-zodiac {
        width: 100%;
        max-width: none;
        height: 22px;
        line-height: 22px;
        color: #111;
        font-size: 15px;
        font-weight: 700;
    }

    .macaujc-pagination {
        justify-content: flex-end;
        padding: 18px 10px;
    }

    .macaujc-pagination .item,
    .macaujc-pagination .prev,
    .macaujc-pagination .next {
        min-width: 38px;
        height: 38px;
        line-height: 38px;
        margin-left: 8px;
        font-size: 16px;
    }

    .live-line-panel {
        margin: 10px 8px 12px;
        gap: 7px;
        font-size: 18px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .live-line-panel::-webkit-scrollbar {
        display: none;
    }

    .live-line-label {
        flex: 0 0 auto;
        font-weight: 400;
        color: #111;
        white-space: nowrap;
    }

    .switch_btn {
        flex: 0 0 auto;
        height: 35px;
        min-width: 76px;
        padding: 0 13px;
        border: 0;
        border-radius: 18px;
        background: #dedede;
        color: #111;
        font-size: 18px;
    }

    .switch_btn.btn_back {
        color: #fff;
        background: #243f98;
        border: 0;
    }

    .video-stage,
    .video-stage iframe,
    .remote-live-video {
        width: 100%;
        height: 220px;
        min-height: 220px;
        border-left: 0;
        border-right: 0;
    }

    .remote-live-fallback {
        left: 12px;
        right: 12px;
        bottom: 10px;
        gap: 8px;
        font-size: 11px;
        justify-content: center;
    }

    .live-offline-notice {
        max-width: 100%;
        padding: 0 24px;
        font-size: 14px;
        line-height: 22px;
        color: #fff;
    }

    .live-offline-notice .phone {
        color: #f52c2c;
    }

    .trend-lottery-tab {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 0 8px;
    }

    .lottery-tab-item {
        height: 44px;
        border-radius: 5px;
        background: #dddada;
        color: #111;
        font-size: 18px;
    }

    .lottery-tab-item.active {
        background: #263f98;
        color: #fff;
    }

    .chart-box {
        margin: 0;
        padding-bottom: 10px;
        border-bottom: 8px solid #f0f0f0;
    }

    .pc-chart-title-1 {
        padding-bottom: 0;
    }

    .pc-chart-opt {
        top: 18px;
        right: 10px;
        left: auto;
    }

    .pc-count {
        font-size: 17px;
        color: #111;
    }

    .pc-count input {
        width: 55px;
        height: 32px;
        border-color: #e1e1e1;
        border-radius: 6px;
        text-align: center;
        font-size: 16px;
    }

    .trend-chart-stage {
        height: auto;
        min-height: 300px;
        padding: 8px 10px 14px;
        border: 0;
    }

    .pc-horizontal-box {
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .trend-bars {
        min-width: 0;
        width: 100%;
    }

    .trend-bar-row {
        grid-template-columns: 54px minmax(0, 1fr) 38px;
        min-height: 25px;
        gap: 6px;
        font-size: 13px;
    }

    .trend-bar-label {
        color: #111;
    }

    .trend-bar-track {
        height: 12px;
        background: #e8ecf4;
    }

    .picker-box {
        display: block;
        padding: 0 8px;
    }

    .picker-content {
        min-height: 120px;
        padding: 8px;
    }

    .picker-item {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 26px;
    }

    .picker-rule {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding-top: 10px;
    }

    .picker-rule-item {
        min-height: 36px;
        line-height: 16px;
        padding: 9px 4px;
        font-size: 15px;
    }

    .picker-line {
        height: 11px;
    }

    .main_contact {
        margin: 0 8px;
        padding: 0;
        border: 0;
        min-height: 0;
    }

    .main_contact:before {
        content: "";
        display: block;
        height: 150px;
        margin-bottom: 10px;
        background: url("/templates/pc/macaujc_assets/img/macaujc1.jpg") center / cover no-repeat;
    }

    .main_contact .title {
        margin: 0;
        padding: 14px 8px;
        border-bottom: 1px solid #e6e6e6;
        color: #111;
        font-size: 18px;
    }

    .article_contact,
    .contact {
        display: block;
        margin: 0;
        padding: 14px 8px;
        border-bottom: 1px solid #e6e6e6;
        color: #111;
        font-size: 16px;
        line-height: 1.7;
    }

    .contact img {
        display: none;
    }

    footer {
        height: auto;
        line-height: 22px;
        margin: 28px 0 0;
        padding: 12px 0 16px;
        border-top: 5px solid #f1ed20;
        color: #8b8b8b;
        font-size: 15px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        height: calc(76px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        background: rgba(255, 255, 255, .98);
        border-top: 1px solid #e4e4e4;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .06);
    }

    .mobile-bottom-nav-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #070707;
        font-weight: 700;
    }

    .mobile-bottom-nav-item.is-active {
        color: #243f98;
    }

    .mobile-bottom-nav-item.is-active:before {
        content: "";
        position: absolute;
        top: 0;
        width: 70%;
        height: 4px;
        background: #243f98;
    }

    .mobile-bottom-nav-icon {
        height: 30px;
        line-height: 30px;
        font-size: 30px;
        font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    }

    .mobile-bottom-nav-name {
        font-size: 16px;
        line-height: 18px;
        white-space: nowrap;
    }
}

@media (max-width: 370px) {
    .mobile-lottery-chip {
        font-size: 16px;
    }

    .open_code_zone_left-item-number {
        font-size: 28px;
    }

    .hisCode-item-number {
        font-size: 24px;
    }

    .mobile-bottom-nav-name {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    body,
    #app,
    .page-width {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .daohang,
    .daohang[data-v-1f879c86],
    .daohangdiv,
    .daohangdiv[data-v-1f879c86] {
        display: none !important;
    }

    .daohang + div,
    .daohang + div + div {
        display: none !important;
        height: 0 !important;
    }

    .logo-box {
        width: 100% !important;
        padding: 18px 10px 8px !important;
        box-sizing: border-box !important;
    }

    .logo-img {
        width: 128px !important;
        height: 86px !important;
    }

    .switch_style {
        height: 34px !important;
        line-height: 34px !important;
        padding: 0 12px !important;
        font-size: 16px !important;
        border-radius: 7px !important;
    }

    .mobile-lottery-grid {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 9px 8px !important;
        padding: 0 8px 14px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .mobile-lottery-chip {
        display: block !important;
        min-width: 0 !important;
        height: 43px !important;
        line-height: 43px !important;
        font-size: 18px !important;
        border-radius: 5px !important;
    }

    .carousel-container,
    .carousel-container[data-v-9bd7682a] {
        width: calc(100% - 16px) !important;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        margin: 12px 8px !important;
    }

    .carousel-slide,
    .carousel-slide[data-v-9bd7682a],
    .carousel-slide img,
    .carousel-slide img[data-v-9bd7682a] {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .open_zone,
    .open_zone[data-v-e781b60e] {
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    .lotteryTitle,
    .lotteryTitle[data-v-e781b60e] {
        display: block !important;
        width: 100% !important;
        min-height: 58px !important;
        padding: 8px 10px !important;
        border: 1px solid #243f98 !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    .lotteryTitle-l,
    .lotteryTitle-l[data-v-e781b60e] {
        font-size: 20px !important;
        line-height: 24px !important;
    }

    .lotteryTitle-r,
    .lotteryTitle-r[data-v-e781b60e] {
        margin-top: 4px !important;
        font-size: 15px !important;
        line-height: 20px !important;
        text-align: center !important;
    }

    .open_code_zone,
    .open_code_zone[data-v-e781b60e] {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 10px 0 12px !important;
        overflow: hidden !important;
    }

    .open_code_zone_left,
    .open_code_zone_left[data-v-e781b60e],
    .open_code_zone_right,
    .open_code_zone_right[data-v-e781b60e] {
        width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 18px !important;
        margin: 0 0 8px !important;
        padding: 0 8px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .open_code_zone_left-title-1,
    .open_code_zone_left-title-1[data-v-e781b60e],
    .open_code_zone_left-title-2,
    .open_code_zone_left-title-2[data-v-e781b60e] {
        font-size: 17px !important;
        line-height: 24px !important;
        margin: 0 !important;
    }

    .open_code_zone_left-content,
    .open_code_zone_left-content[data-v-3ae51a5a] {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .open-code-scratch,
    .open-code-scratch[data-v-3ae51a5a] {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
        align-items: start !important;
        overflow: hidden !important;
    }

    .open_code_zone_left-item,
    .open_code_zone_left-item[data-v-3ae51a5a],
    .hisCode-item,
    .hisCode-item[data-v-c8d6ced2] {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .open_code_zone_left-item-number,
    .open_code_zone_left-item-number[data-v-3ae51a5a] {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
        font-size: clamp(22px, 7.2vw, 30px) !important;
        line-height: 1 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .open_code_zone_left-item-number span,
    .open_code_zone_left-item-number span[data-v-3ae51a5a],
    .hisCode-item-number span,
    .hisCode-item-number span[data-v-c8d6ced2] {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        letter-spacing: 0 !important;
        text-shadow: none !important;
        -webkit-text-stroke: 0 !important;
    }

    .open-plus,
    .open-plus[data-v-3ae51a5a] {
        width: 18px !important;
        min-width: 18px !important;
        overflow: visible !important;
    }

    .open_code_zone_left-item-plus,
    .open_code_zone_left-item-plus[data-v-3ae51a5a] {
        width: 18px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    .open_code_zone_left-item-zodiac,
    .open_code_zone_left-item-zodiac[data-v-3ae51a5a] {
        width: 100% !important;
        height: 22px !important;
        line-height: 22px !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        overflow: hidden !important;
    }

    .moni-open,
    .moni-open[data-v-3ae51a5a] {
        position: static !important;
        display: block !important;
        width: max-content !important;
        max-width: calc(100% - 16px) !important;
        height: 34px !important;
        line-height: 34px !important;
        margin: 10px auto 0 !important;
        padding: 0 18px !important;
        border-radius: 18px !important;
        font-size: 17px !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        width: 100% !important;
        justify-content: center !important;
        margin: 14px 0 10px !important;
        gap: 5px !important;
    }

    .countdown-item,
    .countdown-item[data-v-f877db46] {
        width: 37px !important;
        height: 50px !important;
        line-height: 50px !important;
        margin: 0 !important;
        font-size: 34px !important;
    }

    .operate-row {
        display: grid !important;
        grid-template-columns: 1fr 1.25fr 1fr !important;
        gap: 8px !important;
        padding: 0 22px !important;
    }

    .history-panel {
        width: 100% !important;
        margin-top: 10px !important;
        overflow: hidden !important;
    }

    .chart-title,
    .chart-title[data-v-a4d29032] {
        width: auto !important;
        height: 46px !important;
        line-height: 46px !important;
        margin: 10px 8px 8px !important;
        padding-left: 12px !important;
        font-size: 22px !important;
        border-bottom: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .hisWrapper,
    .hisWrapper[data-v-41052fbe] {
        width: 100% !important;
        overflow: hidden !important;
        border-top: 1px solid #dadada !important;
    }

    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 8px 8px 10px !important;
        border-bottom: 1px solid #d6d6d6 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe] {
        display: inline-block !important;
        width: auto !important;
        min-width: 0 !important;
        text-align: left !important;
        vertical-align: top !important;
        line-height: 24px !important;
        font-size: 16px !important;
        margin: 0 12px 6px 0 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe] {
        color: #d11f2c !important;
        font-size: 17px !important;
    }

    .hisTime,
    .hisTime[data-v-41052fbe] {
        color: #555 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
        align-items: start !important;
        justify-content: stretch !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .hisCode-item-number,
    .hisCode-item-number[data-v-c8d6ced2] {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-size: clamp(21px, 7vw, 28px) !important;
        line-height: 1 !important;
    }

    .hisCode-item-plus,
    .hisCode-item-plus[data-v-c8d6ced2] {
        width: 18px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    .hisCode-item-zodiac,
    .hisCode-item-zodiac[data-v-c8d6ced2] {
        width: 100% !important;
        max-width: none !important;
        height: 20px !important;
        line-height: 20px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        overflow: hidden !important;
    }

    .main_contact,
    .main_contact[data-v-088c2934] {
        width: auto !important;
        max-width: 100% !important;
        min-height: 0 !important;
        margin: 0 8px !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    .main_contact:before {
        display: none !important;
        content: none !important;
    }

    .main_contact .title,
    .main_contact .title[data-v-088c2934],
    .article_contact,
    .article_contact[data-v-088c2934],
    .contact,
    .contact[data-v-088c2934] {
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 14px 8px !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .mobile-bottom-nav {
        display: grid !important;
    }
}

/* Final mobile homepage match overrides. Kept at the end so older bundled Vue CSS cannot win. */
.draw-time-line,
.draw-date-line {
    color: #1a3d96;
    font-style: normal;
}

.draw-time-line .js-next-issue {
    color: #1a3d96;
    font-weight: 500;
}

.draw-date-line {
    margin-top: 4px;
}

.js-next-weekday {
    margin-left: 16px;
}

.scratch-cover-target {
    position: relative !important;
}

.scratch-cover-target.scratching .scratch-mask {
    display: block;
}

.scratch-cover-target.scratching .scratch-hint {
    display: flex;
}

.scratch-cover-target.scratched .scratch-hint {
    display: none;
}

@media (max-width: 768px) {
    .frequency-box,
    .frequency-box[data-v-2773aad0] {
        display: none !important;
    }

    .carousel-container,
    .carousel-container[data-v-9bd7682a] {
        width: calc(100% - 16px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 2.76 / 1 !important;
        margin: 10px 8px 8px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: #fff !important;
    }

    .carousel-slide,
    .carousel-slide[data-v-9bd7682a] {
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .carousel-slide img,
    .carousel-slide img[data-v-9bd7682a] {
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px !important;
        object-fit: cover !important;
        display: block !important;
    }

    .open_zone,
    .open_zone[data-v-e781b60e] {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .lotteryTitle,
    .lotteryTitle[data-v-e781b60e] {
        display: grid !important;
        grid-template-columns: 42% 58% !important;
        align-items: center !important;
        width: calc(100% - 16px) !important;
        min-height: 50px !important;
        margin: 0 8px 8px !important;
        padding: 5px 8px !important;
        border: 1px solid #1a3d96 !important;
        border-radius: 4px !important;
        color: #1a3d96 !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .lotteryTitle-l,
    .lotteryTitle-l[data-v-e781b60e] {
        font-size: clamp(24px, 6.9vw, 36px) !important;
        line-height: 1.08 !important;
        font-weight: 500 !important;
        color: #1a3d96 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .lotteryTitle-r,
    .lotteryTitle-r[data-v-e781b60e] {
        margin: 0 !important;
        text-align: left !important;
        color: #1a3d96 !important;
        font-size: clamp(14px, 4.3vw, 24px) !important;
        line-height: 1.28 !important;
        font-weight: 400 !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    .draw-time-line,
    .draw-date-line {
        white-space: nowrap !important;
        color: #1a3d96 !important;
        font-weight: 400 !important;
    }

    .draw-time-line .js-next-issue {
        color: #1a3d96 !important;
        font-weight: 400 !important;
    }

    .draw-date-line {
        margin-top: 2px !important;
    }

    .lotteryTitle-r em,
    .lotteryTitle-r .js-next-time {
        color: #1a3d96 !important;
        font-style: normal !important;
        font-size: inherit !important;
        font-weight: 400 !important;
    }

    .js-next-weekday {
        margin-left: 12px !important;
        color: #1a3d96 !important;
    }

    .open_code_zone,
    .open_code_zone[data-v-e781b60e] {
        padding: 0 0 10px !important;
    }

    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        gap: 18px !important;
        margin: 4px 0 8px !important;
    }

    .open_code_zone_left-title-1,
    .open_code_zone_left-title-1[data-v-e781b60e],
    .open_code_zone_left-title-2,
    .open_code_zone_left-title-2[data-v-e781b60e] {
        font-size: clamp(19px, 5.3vw, 27px) !important;
        line-height: 1.2 !important;
        font-weight: 400 !important;
    }

    .open-code-scratch,
    .open-code-scratch[data-v-3ae51a5a] {
        margin-bottom: 0 !important;
    }

    .scratch-mask,
    .scratch-mask[data-v-3ae51a5a] {
        background: transparent !important;
        z-index: 30 !important;
    }

    .scratch-hint,
    .scratch-hint[data-v-3ae51a5a] {
        z-index: 31 !important;
        font-size: clamp(24px, 8vw, 40px) !important;
        font-weight: 400 !important;
        color: rgba(255, 255, 255, .88) !important;
        text-shadow: 0 0 4px rgba(0, 0, 0, .18) !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: calc(100% - 92px) !important;
        margin: 12px auto 10px 8px !important;
        gap: 5px !important;
    }

    .countdown-item,
    .countdown-item[data-v-f877db46] {
        width: clamp(38px, 12.8vw, 62px) !important;
        height: clamp(50px, 16vw, 78px) !important;
        line-height: clamp(50px, 16vw, 78px) !important;
        border: 1px solid #bfc1c7 !important;
        border-radius: 4px !important;
        font-size: clamp(42px, 14.8vw, 72px) !important;
        font-weight: 400 !important;
        color: #000 !important;
        background: #fff !important;
    }

    .countdown-split,
    .countdown-split[data-v-f877db46] {
        font-size: clamp(38px, 11vw, 60px) !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        color: #000 !important;
    }

    .operate-row {
        position: absolute !important;
        right: 8px !important;
        top: auto !important;
        transform: translateY(calc(-100% - 14px)) !important;
        display: block !important;
        width: 80px !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    .operate-row .scratch-trigger,
    .operate-row .scratch-trigger[data-v-e781b60e] {
        display: inline-flex !important;
        pointer-events: auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 80px !important;
        color: #1a3d96 !important;
        font-size: clamp(16px, 5.2vw, 25px) !important;
        line-height: 1 !important;
        font-weight: 400 !important;
        gap: 3px !important;
        white-space: nowrap !important;
    }

    .scratch-eye {
        width: 22px !important;
        height: 15px !important;
        border-width: 2px !important;
        border-color: #1a3d96 !important;
    }

    .scratch-eye:after {
        width: 5px !important;
        height: 5px !important;
        background: #1a3d96 !important;
    }

    .operate-row .operate-btn-1,
    .operate-row .operate-btn-2,
    .open_code_zone_right > .operate-btn-3:not(.scratch-trigger) {
        display: none !important;
    }

    .moni-open,
    .moni-open[data-v-3ae51a5a] {
        display: none !important;
    }

    .history-panel {
        border-top: 1px solid #a8a8a8 !important;
        margin-top: 12px !important;
    }

    .hisItem.scratch-cover-target,
    .hisItem.scratch-cover-target[data-v-41052fbe] {
        position: relative !important;
    }
}

/* Final logo replacement overrides. */
.logo-link,
.logo-link[data-v-2519a953] {
    display: inline-flex !important;
    align-items: flex-end !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
}

.logo-img,
.logo-img[data-v-2519a953] {
    display: block !important;
    width: 300px !important;
    height: 126px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
}

@media (max-width: 768px) {
    .logo-box,
    .logo-box[data-v-2519a953] {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 12px 10px 8px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    .logo-link,
    .logo-link[data-v-2519a953] {
        max-width: calc(100% - 148px) !important;
    }

    .logo-img,
    .logo-img[data-v-2519a953] {
        width: clamp(205px, 42vw, 245px) !important;
        height: clamp(92px, 20vw, 112px) !important;
    }

    .switch_style,
    .switch_style[data-v-2519a953] {
        flex: 0 0 auto !important;
        margin-bottom: 2px !important;
    }
}

/* Absolute final mobile homepage corrections. Keep this block last. */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .open_zone,
    .open_zone[data-v-e781b60e] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow: hidden !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .lotteryTitle,
    .lotteryTitle[data-v-e781b60e] {
        order: 1 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
        align-items: center !important;
        width: calc(100% - 16px) !important;
        min-height: 50px !important;
        margin: 0 8px 7px !important;
        padding: 5px 8px !important;
        border: 1px solid #1a3d96 !important;
        border-radius: 3px !important;
        color: #1a3d96 !important;
        text-align: left !important;
        overflow: hidden !important;
    }

    .lotteryTitle-l,
    .lotteryTitle-l[data-v-e781b60e] {
        min-width: 0 !important;
        font-size: clamp(20px, 5.7vw, 27px) !important;
        line-height: 1.12 !important;
        font-weight: 500 !important;
        color: #1a3d96 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        letter-spacing: 0 !important;
    }

    .lotteryTitle-r,
    .lotteryTitle-r[data-v-e781b60e] {
        min-width: 0 !important;
        margin: 0 !important;
        color: #1a3d96 !important;
        font-size: clamp(13px, 3.55vw, 17px) !important;
        line-height: 1.38 !important;
        text-align: left !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }

    .draw-time-line,
    .draw-date-line {
        display: block !important;
        max-width: 100% !important;
        color: #1a3d96 !important;
        font-weight: 400 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .draw-time-line .js-next-issue {
        color: #1a3d96 !important;
        font-weight: 400 !important;
    }

    .lotteryTitle-r em,
    .lotteryTitle-r .js-next-time {
        color: #1a3d96 !important;
        font-style: normal !important;
        font-size: inherit !important;
        font-weight: 400 !important;
    }

    .js-next-weekday {
        margin-left: 10px !important;
        color: #1a3d96 !important;
    }

    .open_code_zone,
    .open_code_zone[data-v-e781b60e] {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 0 8px !important;
    }

    .open_code_zone_right,
    .open_code_zone_right[data-v-e781b60e] {
        order: 1 !important;
        display: block !important;
        position: relative !important;
        width: 100% !important;
        padding: 0 8px !important;
    }

    .open_code_zone_left,
    .open_code_zone_left[data-v-e781b60e] {
        order: 2 !important;
        display: block !important;
        width: 100% !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        width: calc(100% - 92px) !important;
        max-width: 650px !important;
        margin: 2px auto 8px 0 !important;
        padding-left: 10px !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .countdown-item,
    .countdown-item[data-v-f877db46] {
        width: clamp(35px, 10.9vw, 52px) !important;
        height: clamp(46px, 13.8vw, 64px) !important;
        line-height: clamp(46px, 13.8vw, 64px) !important;
        border: 1px solid #bfc1c7 !important;
        border-radius: 4px !important;
        background: #fff !important;
        color: #000 !important;
        font-size: clamp(37px, 12vw, 58px) !important;
        font-weight: 400 !important;
    }

    .countdown-split,
    .countdown-split[data-v-f877db46] {
        width: 10px !important;
        color: #000 !important;
        font-size: clamp(34px, 10vw, 50px) !important;
        line-height: 1 !important;
    }

    .operate-row {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: block !important;
        width: 78px !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    .operate-row .scratch-trigger,
    .operate-row .scratch-trigger[data-v-e781b60e] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 78px !important;
        min-height: 0 !important;
        height: auto !important;
        line-height: 1 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #1a3d96 !important;
        font-size: clamp(16px, 5vw, 22px) !important;
        font-weight: 400 !important;
        pointer-events: auto !important;
        white-space: nowrap !important;
    }

    .operate-row .operate-btn-1,
    .operate-row .operate-btn-2,
    .open_code_zone_right > .operate-btn-3:not(.scratch-trigger),
    .moni-open,
    .moni-open[data-v-3ae51a5a] {
        display: none !important;
    }

    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        margin: 0 0 7px !important;
        padding: 0 8px !important;
        gap: 14px !important;
    }

    .open_code_zone_left-title-1,
    .open_code_zone_left-title-1[data-v-e781b60e],
    .open_code_zone_left-title-2,
    .open_code_zone_left-title-2[data-v-e781b60e] {
        font-size: clamp(17px, 4.8vw, 22px) !important;
        line-height: 1.22 !important;
    }

    .open-code-scratch,
    .open-code-scratch[data-v-3ae51a5a],
    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) 18px minmax(0, 1fr) !important;
        gap: 4px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .open_code_zone_left-item-number,
    .open_code_zone_left-item-number[data-v-3ae51a5a] {
        font-size: clamp(21px, 7vw, 31px) !important;
    }

    .open_code_zone_left-item-zodiac,
    .open_code_zone_left-item-zodiac[data-v-3ae51a5a] {
        height: 21px !important;
        line-height: 21px !important;
        font-size: clamp(15px, 4.55vw, 20px) !important;
    }

    .history-panel {
        order: 4 !important;
        margin-top: 0 !important;
        border-top: 1px solid #a8a8a8 !important;
    }

    .hisItem,
    .hisItem[data-v-41052fbe] {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        row-gap: 5px !important;
        column-gap: 10px !important;
        padding: 8px 8px 9px !important;
        border-bottom: 1px solid #a8a8a8 !important;
    }

    .hisIssue,
    .hisIssue[data-v-41052fbe],
    .hisTime,
    .hisTime[data-v-41052fbe],
    .hisCodeRow,
    .hisCodeRow[data-v-41052fbe] {
        display: contents !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        grid-column: 1 !important;
        width: auto !important;
        flex: none !important;
        margin: 0 !important;
        color: #1a3d96 !important;
        font-size: clamp(17px, 5vw, 22px) !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        text-align: right !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe] {
        grid-column: 2 !important;
        color: #777 !important;
        font-size: clamp(17px, 5vw, 22px) !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: #d11f2c !important;
        font-size: inherit !important;
        font-style: normal !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-column: 2 !important;
    }

    .hisCode-item-number,
    .hisCode-item-number[data-v-c8d6ced2] {
        font-size: clamp(19px, 6.1vw, 28px) !important;
    }

    .hisCode-item-zodiac,
    .hisCode-item-zodiac[data-v-c8d6ced2] {
        height: 18px !important;
        line-height: 18px !important;
        font-size: clamp(14px, 4.4vw, 20px) !important;
    }

    .home-load-more-wrap {
        display: block !important;
        padding: 12px 0 28px !important;
        text-align: center !important;
    }

    .home-load-more {
        min-width: 0 !important;
        height: auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #1a3d96 !important;
        font-size: 16px !important;
        line-height: 28px !important;
    }
}

@media (max-width: 768px) {
    .open_code_zone_left-title,
    .open_code_zone_left-title[data-v-e781b60e] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .countdown,
    .countdown[data-v-f877db46] {
        padding-left: 0 !important;
    }

    .hisItem,
    .hisItem[data-v-41052fbe] {
        grid-template-columns: 68px minmax(0, 1fr) !important;
        column-gap: 8px !important;
        row-gap: 4px !important;
        padding: 7px 8px 8px !important;
    }

    .hisLabel,
    .hisLabel[data-v-41052fbe] {
        color: #1a3d96 !important;
        font-size: clamp(15px, 4.15vw, 18px) !important;
        font-weight: 700 !important;
        line-height: 1.34 !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .hisValue,
    .hisValue[data-v-41052fbe] {
        color: #777 !important;
        font-size: clamp(15px, 4.15vw, 18px) !important;
        font-weight: 400 !important;
        line-height: 1.34 !important;
        white-space: nowrap !important;
    }

    .hisIssue i,
    .hisIssue i[data-v-41052fbe],
    .hisValue i,
    .hisValue i[data-v-41052fbe] {
        color: #777 !important;
        font-size: inherit !important;
        font-weight: 400 !important;
    }

    .hisCode,
    .hisCode[data-v-41052fbe],
    .his-items,
    .his-items[data-v-41052fbe] {
        grid-template-columns: repeat(6, minmax(0, 1fr)) 16px minmax(0, 1fr) !important;
        gap: 3px !important;
        align-items: start !important;
    }

    .hisCode-item,
    .hisCode-item[data-v-c8d6ced2] {
        overflow: visible !important;
    }

    .hisCode-item-number,
    .hisCode-item-number[data-v-c8d6ced2] {
        margin: 0 0 4px !important;
        font-size: clamp(16px, 4.7vw, 20px) !important;
    }

    .hisCode-item-number span,
    .hisCode-item-number span[data-v-c8d6ced2] {
        font-size: inherit !important;
        line-height: 1 !important;
    }

    .hisCode-item-zodiac,
    .hisCode-item-zodiac[data-v-c8d6ced2] {
        height: 18px !important;
        line-height: 18px !important;
        font-size: clamp(13px, 3.8vw, 16px) !important;
        font-weight: 700 !important;
    }

    .hisCode-item-plus,
    .hisCode-item-plus[data-v-c8d6ced2] {
        width: 16px !important;
        margin: 0 !important;
        font-size: clamp(17px, 5vw, 21px) !important;
    }

    .scratch-trigger.is-active .scratch-eye:before {
        content: "";
        position: absolute;
        left: -3px;
        top: 50%;
        width: 24px;
        height: 3px;
        border-radius: 3px;
        background: #1a3d96;
        transform: rotate(-34deg);
        transform-origin: center;
    }

    .hisItem.scratch-blurred,
    .hisItem.scratch-blurred[data-v-41052fbe] {
        position: relative !important;
        overflow: hidden !important;
    }

    .hisItem.scratch-blurred > *,
    .hisItem.scratch-blurred[data-v-41052fbe] > * {
        filter: blur(4px) !important;
        opacity: .36 !important;
    }

    .hisItem.scratch-blurred:after,
    .hisItem.scratch-blurred[data-v-41052fbe]:after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 8 !important;
        pointer-events: none !important;
        background:
            linear-gradient(92deg, rgba(246, 244, 249, .95), rgba(220, 180, 208, .78) 48%, rgba(220, 220, 255, .86)) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

    .home-load-more-wrap {
        display: block !important;
        padding: 22px 0 140px !important;
        text-align: center !important;
    }

    .home-load-more {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 112px !important;
        height: 44px !important;
        padding: 0 20px !important;
        border: 0 !important;
        border-radius: 5px !important;
        background: #1f469c !important;
        color: #fff !important;
        font-size: 17px !important;
        line-height: 44px !important;
        font-weight: 400 !important;
    }
}

.carousel-container,
.carousel-container[data-v-9bd7682a] {
    position: relative !important;
    aspect-ratio: 1280 / 409 !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

.carousel-slide,
.carousel-slide[data-v-9bd7682a] {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    animation: macaujc-carousel-fade 16s infinite !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.carousel-slide:nth-child(1),
.carousel-slide[data-v-9bd7682a]:nth-child(1) {
    animation-delay: 0s !important;
}

.carousel-slide:nth-child(2),
.carousel-slide[data-v-9bd7682a]:nth-child(2) {
    animation-delay: 4s !important;
}

.carousel-slide:nth-child(3),
.carousel-slide[data-v-9bd7682a]:nth-child(3) {
    animation-delay: 8s !important;
}

.carousel-slide:nth-child(4),
.carousel-slide[data-v-9bd7682a]:nth-child(4) {
    animation-delay: 12s !important;
}

.carousel-slide img,
.carousel-slide img[data-v-9bd7682a] {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    display: block !important;
}

@keyframes macaujc-carousel-fade {
    0% { opacity: 0; }
    4% { opacity: 1; }
    24% { opacity: 1; }
    28% { opacity: 0; }
    100% { opacity: 0; }
}

/* macaujc-mobile-footer-final */
@media (max-width: 768px) {
    .page-width,
    .page-width[data-v-39e1935c],
    .page-width[data-v-41052fbe],
    .page-width[data-v-1401ef5b],
    .page-width[data-v-d35d6f7c],
    .page-width[data-v-088c2934] {
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box !important;
    }

    footer,
    footer[data-v-49a42f2c] {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 18px 12px calc(112px + env(safe-area-inset-bottom, 0px)) !important;
        border-top: 5px solid #eee222 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        color: #8b8b8b !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 22px !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .mobile-bottom-nav {
        z-index: 1000 !important;
    }
}

/* v88 final override: this block must stay at EOF so mobile legacy lottery rules cannot override it. */
@media (max-width: 768px) {
    .alt-open-balls,
    .notice-mobile-code .alt-open-balls {
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .alt-open-pk10,
    .notice-mobile-code .alt-open-pk10 {
        flex-wrap: wrap !important;
        gap: 5px 4px !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }

    .alt-open-pk10 .alt-ball {
        flex: 0 0 calc(10% - 4px) !important;
        min-width: 0 !important;
    }

    .alt-open-ssc,
    .notice-mobile-code .alt-open-ssc,
    .alt-open-pk28,
    .notice-mobile-code .alt-open-pk28 {
        gap: 7px !important;
        flex-wrap: nowrap !important;
    }

    .alt-open-pk10 .alt-ball-number,
    .alt-open-pk10 .alt-ball-number[data-v-3ae51a5a] {
        width: clamp(24px, 7.2vw, 34px) !important;
        height: clamp(24px, 7.2vw, 34px) !important;
        font-size: clamp(11px, 3.5vw, 15px) !important;
    }

    .alt-open-ssc .alt-ball-number,
    .alt-open-pk28 .alt-ball-number,
    .alt-open-pk28 .alt-ball-sum .alt-ball-number {
        width: clamp(34px, 10.4vw, 46px) !important;
        height: clamp(34px, 10.4vw, 46px) !important;
        font-size: clamp(18px, 5.6vw, 25px) !important;
    }

    .alt-ball-label {
        margin-top: 3px !important;
        font-size: clamp(9px, 2.8vw, 12px) !important;
        line-height: 1.1 !important;
    }

    .lottery-kind-pk10 .hisCode,
    .lottery-kind-ssc .hisCode,
    .lottery-kind-pk28 .hisCode,
    .lottery-kind-pk10 .his-items,
    .lottery-kind-ssc .his-items,
    .lottery-kind-pk28 .his-items {
        display: flex !important;
        flex-wrap: wrap !important;
        grid-column: 2 !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .lottery-kind-pk10 .alt-history-ball {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }

    .lottery-kind-ssc .alt-history-ball,
    .lottery-kind-pk28 .alt-history-ball {
        width: 22px !important;
        height: 22px !important;
        font-size: 12px !important;
    }

    .alt-history-sum[data-history-ball] {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 22px !important;
        color: #d80011 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    .lottery-kind-pk10 .alt-condition-row,
    .lottery-kind-ssc .alt-condition-row,
    .lottery-kind-pk28 .alt-condition-row {
        grid-column: 2 !important;
        justify-content: flex-start !important;
        margin: 2px 0 0 0 !important;
        gap: 3px !important;
        font-size: 10px !important;
    }
}
