/* /Layout/MainLayout.razor.rz.scp.css */
.full-width-container[b-62qc70ys1s] {
    width: 100%; /* ครอบคลุมเต็มจอ */
    height: 100vh; /* ความสูงเต็มหน้าจอ */
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* ให้การคำนวณขนาดถูกต้อง */
}

@media (min-width: 600px) { /* สำหรับหน้าจอที่กว้างกว่า 600px */
    .full-width-container[b-62qc70ys1s] {
        width: 80%; /* แคบลงถ้าหน้าจอใหญ่ */
        margin: auto;
    }
}


.spinner[b-62qc70ys1s] {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin-b-62qc70ys1s 1s linear infinite;
}

@keyframes spin-b-62qc70ys1s {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loader-overlay[b-62qc70ys1s] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Winner ticker readability and one-shot celebration effect. */
.lxh-appbar .lxh-winner-ticker[b-62qc70ys1s] {
    font-family: "Kanit", "Noto Sans Thai", Tahoma, sans-serif !important;
}

.lxh-appbar .lxh-winner-ticker .lxh-ticker-viewport[b-62qc70ys1s] {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
}

.lxh-appbar .lxh-winner-ticker .lxh-ticker-track[b-62qc70ys1s] {
    color: #ffffff !important;
    font-family: "Kanit", "Noto Sans Thai", Tahoma, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 12, 55, .96) !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    filter: none !important;
}

.lxh-appbar .lxh-winner-ticker .lxh-ticker-live[b-62qc70ys1s],
.lxh-appbar .lxh-winner-ticker .lxh-ticker-live[b-62qc70ys1s]::after {
    font-family: "Kanit", "Noto Sans Thai", Tahoma, sans-serif !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.lxh-appbar .lxh-winner-ticker.lxh-winner-celebrate[b-62qc70ys1s] {
    animation: lxhWinnerBannerPop-b-62qc70ys1s .82s cubic-bezier(.2, .9, .24, 1.22) both !important;
}

.lxh-appbar .lxh-winner-ticker.lxh-winner-celebrate[b-62qc70ys1s]::after {
    animation: lxhWinnerBannerGlow-b-62qc70ys1s .95s ease-out both !important;
}

@keyframes lxhWinnerBannerPop-b-62qc70ys1s {
    0% {
        transform: scale(.90) translateY(-5px);
        filter: brightness(.82) drop-shadow(0 4px 8px rgba(0, 0, 0, .12));
    }
    42% {
        transform: scale(1.055) translateY(1px);
        filter: brightness(1.25) drop-shadow(0 0 18px rgba(255, 213, 75, .82));
    }
    68% {
        transform: scale(.985);
    }
    100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 9px 18px rgba(0, 0, 0, .17));
    }
}

@keyframes lxhWinnerBannerGlow-b-62qc70ys1s {
    0% {
        opacity: 0;
        height: 3px;
        box-shadow: 0 0 0 rgba(255, 222, 95, 0);
    }
    40% {
        opacity: 1;
        height: 3px;
        box-shadow: 0 0 20px rgba(255, 222, 95, .95);
    }
    100% {
        opacity: 1;
        height: 1px;
        box-shadow: 0 0 4px rgba(255, 222, 95, .28);
    }
}

@media (max-width: 430px) {
    .lxh-appbar .lxh-winner-ticker .lxh-ticker-track[b-62qc70ys1s] {
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        text-shadow: 0 1px 1px rgba(0, 12, 55, .98) !important;
    }

    .lxh-appbar .lxh-winner-ticker .lxh-ticker-viewport[b-62qc70ys1s] {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent) !important;
        mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lxh-appbar .lxh-winner-ticker.lxh-winner-celebrate[b-62qc70ys1s] {
        animation: none !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dljmavlxxp] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-dljmavlxxp] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-dljmavlxxp] {
    font-size: 1.1rem;
}

.bi[b-dljmavlxxp] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-dljmavlxxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-dljmavlxxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-dljmavlxxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-dljmavlxxp] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-dljmavlxxp] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-dljmavlxxp] {
        padding-bottom: 1rem;
    }

    .nav-item[b-dljmavlxxp]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-dljmavlxxp]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-dljmavlxxp]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-dljmavlxxp] {
        display: none;
    }

    .collapse[b-dljmavlxxp] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-dljmavlxxp] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Component/PromotionMultiOfferBoard.razor.rz.scp.css */
/* Scoped to PromotionMultiOfferBoard only. */

/* Separate each deposit/turnover promotion visually without touching missions or other pages. */
.lxmo-offer-list[b-77b5npz9fm] {
    display: grid;
    gap: 20px;
}

.lxmo-offer-list > .lxmo-offer-card[b-77b5npz9fm] {
    --promo-accent: #0b78ff;
    --promo-accent-soft: #eaf4ff;
    --promo-title: #084ca8;
    --promo-border: #a8ccff;
    position: relative;
    margin-bottom: 0 !important;
    border: 1px solid var(--promo-border) !important;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--promo-accent) 12%, transparent), transparent 34%),
        linear-gradient(155deg, #ffffff 0%, var(--promo-accent-soft) 100%) !important;
    box-shadow:
        0 15px 34px color-mix(in srgb, var(--promo-accent) 14%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .96) !important;
}

.lxmo-offer-list > .lxmo-offer-card[b-77b5npz9fm]::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 18px;
    bottom: 18px;
    left: 0;
    width: 5px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--promo-accent), color-mix(in srgb, var(--promo-accent) 58%, #ffffff));
    box-shadow: 0 0 16px color-mix(in srgb, var(--promo-accent) 42%, transparent);
    pointer-events: none;
}

.lxmo-offer-list > .lxmo-offer-card:nth-child(3n + 1)[b-77b5npz9fm] {
    --promo-accent: #0b78ff;
    --promo-accent-soft: #edf6ff;
    --promo-title: #0754bd;
    --promo-border: #a8ccff;
}

.lxmo-offer-list > .lxmo-offer-card:nth-child(3n + 2)[b-77b5npz9fm] {
    --promo-accent: #7a56e8;
    --promo-accent-soft: #f3efff;
    --promo-title: #5935bd;
    --promo-border: #cbbcff;
}

.lxmo-offer-list > .lxmo-offer-card:nth-child(3n)[b-77b5npz9fm] {
    --promo-accent: #0aa778;
    --promo-accent-soft: #ebfbf5;
    --promo-title: #087d5b;
    --promo-border: #a9e1ce;
}

.lxmo-offer-list > .lxmo-offer-card .lxmo-card-head h2[b-77b5npz9fm] {
    color: var(--promo-title);
}

.lxmo-offer-list > .lxmo-offer-card .lxmo-kicker[b-77b5npz9fm] {
    color: var(--promo-title);
    opacity: .78;
}

.lxmo-offer-list > .lxmo-offer-card .lxmo-bonus-pill[b-77b5npz9fm] {
    color: var(--promo-title);
    border: 1px solid color-mix(in srgb, var(--promo-accent) 24%, transparent);
    background: color-mix(in srgb, var(--promo-accent) 11%, #ffffff);
}

/* Highlight only the lottery-condition panel in deposit/turnover promotion cards. */
.lxmo-active-card > .lxmo-rule-panel[b-77b5npz9fm],
.lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule)[b-77b5npz9fm] {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 17px 22px;
    border: 1px solid #8fbaff;
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0, rgba(76, 151, 255, .15), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #edf5ff 100%);
    box-shadow:
        0 9px 22px rgba(18, 91, 203, .11),
        inset 0 1px 0 rgba(255, 255, 255, .9);
}

.lxmo-active-card > .lxmo-rule-panel[b-77b5npz9fm]::before,
.lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule)[b-77b5npz9fm]::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #0b78ff, #54b8ff);
    box-shadow: 0 0 14px rgba(11, 120, 255, .42);
}

.lxmo-active-card > .lxmo-rule-panel strong[b-77b5npz9fm],
.lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule) strong[b-77b5npz9fm] {
    color: #08285f;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .05px;
}

.lxmo-active-card > .lxmo-rule-panel span[b-77b5npz9fm],
.lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule) span[b-77b5npz9fm] {
    margin-top: 7px;
    color: #075bc7;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: .02px;
}

.lxmo-active-card > .lxmo-rule-panel small[b-77b5npz9fm],
.lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule) small[b-77b5npz9fm] {
    margin-top: 7px;
    color: #6c7f9c;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.45;
}

@media (max-width: 650px) {
    .lxmo-offer-list[b-77b5npz9fm] {
        gap: 16px;
    }

    .lxmo-offer-list > .lxmo-offer-card[b-77b5npz9fm]::before {
        top: 14px;
        bottom: 14px;
        width: 4px;
    }

    .lxmo-active-card > .lxmo-rule-panel[b-77b5npz9fm],
    .lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule)[b-77b5npz9fm] {
        padding: 15px 14px 14px 18px;
        border-radius: 15px;
    }

    .lxmo-active-card > .lxmo-rule-panel strong[b-77b5npz9fm],
    .lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule) strong[b-77b5npz9fm] {
        font-size: 16px;
    }

    .lxmo-active-card > .lxmo-rule-panel span[b-77b5npz9fm],
    .lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule) span[b-77b5npz9fm] {
        font-size: 14.5px;
        line-height: 1.65;
    }

    .lxmo-active-card > .lxmo-rule-panel small[b-77b5npz9fm],
    .lxmo-offer-card > .lxmo-rule-panel:not(.mission-rule) small[b-77b5npz9fm] {
        font-size: 12px;
    }
}
/* /Pages/Members/AffiliateIncome.razor.rz.scp.css */
/* Scoped to /Members/Affiliate income amounts only. */
.income-summary[b-a1m17g5p3m] {
    background: linear-gradient(135deg, #d5e7dc 0%, #c7ddcf 52%, #bdd7c8 100%) !important;
    border: 1px solid #88b99a !important;
    box-shadow:
        0 10px 24px rgba(42, 91, 61, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.70) !important;
}

.income-summary[b-a1m17g5p3m]  .summary-label,
.daily-breakdown .daily-label[b-a1m17g5p3m] {
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.income-summary[b-a1m17g5p3m]  .summary-value,
.daily-breakdown .daily-value[b-a1m17g5p3m] {
    width: 100%;
    min-width: 0;
    font-family: inherit;
    font-size: clamp(12px, 2.7vw, 14px) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.45px !important;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    -webkit-text-stroke: 0.28px currentColor;
    text-rendering: optimizeLegibility;
}

@media (max-width: 480px) {
    .income-summary[b-a1m17g5p3m]  .summary-label,
    .daily-breakdown .daily-label[b-a1m17g5p3m] {
        font-size: 12px !important;
    }

    .income-summary[b-a1m17g5p3m]  .summary-value,
    .daily-breakdown .daily-value[b-a1m17g5p3m] {
        font-size: clamp(12px, 2.7vw, 14px) !important;
        letter-spacing: -0.55px !important;
        -webkit-text-stroke: 0.32px currentColor;
    }
}

@media (max-width: 360px) {
    .income-summary[b-a1m17g5p3m]  .summary-label,
    .daily-breakdown .daily-label[b-a1m17g5p3m] {
        font-size: 11px !important;
    }

    .income-summary[b-a1m17g5p3m]  .summary-value,
    .daily-breakdown .daily-value[b-a1m17g5p3m] {
        font-size: 13px !important;
        letter-spacing: -0.65px !important;
    }
}
/* /Pages/Members/AffiliateOverAll.razor.rz.scp.css */
/* Keep the commission-rate board as the final section on /Members/Affiliate. */
.affiliate-overview[b-cg3r5d2fkc]  .affiliate-rate-board {
    order: 99;
}
/* /Pages/Members/LaoLottoBet.razor.rz.scp.css */
/* intentionally empty: Lao page styles are scoped inside LaoLottoBet.razor to avoid stale isolated CSS from older patches */
/* /Pages/Members/LuckyBuySelect_2NumberEntry.razor.rz.scp.css */
.grid-container2[b-x4ggi8bz3p],
.grid-containerpc2[b-x4ggi8bz3p] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.grid-item[b-x4ggi8bz3p],
.grid-itempc[b-x4ggi8bz3p] {
    text-align: center;
}
/* /Pages/Members/LuckyBuySelect_3NumberEntry.razor.rz.scp.css */
/* กำหนดการจัดเรียงเป็น grid */
body[b-6rhb3sxmld] {
}

.grid-container3[b-6rhb3sxmld] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.grid-containerpc3[b-6rhb3sxmld] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

@media (min-width: 768px) {
    .grid-container3[b-6rhb3sxmld] {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 6px;
    }
    .grid-containerpc3[b-6rhb3sxmld] {
        grid-template-columns: repeat(10, 1fr);
    }
}


.grid-item[b-6rhb3sxmld] {
    text-align: center;
}


.grid-itempc[b-6rhb3sxmld] {
    text-align: center;
}
/* /Pages/Members/LuckyBuySelect_RunNumberEntry.razor.rz.scp.css */
body[b-azbnbbcu99] {
}
.grid-containerRun[b-azbnbbcu99] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}


@media (min-width: 768px) {
    .grid-containerRun[b-azbnbbcu99] {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 6px;
    }

}


/* กำหนดรูปแบบปุ่ม */
.grid-item[b-azbnbbcu99] {
    text-align: center;
}

/* กำหนดการตกแต่งสำหรับปุ่มในแต่ละกริด */
.grid-itempc[b-azbnbbcu99] {
    text-align: center;
}
/* /Pages/Members/Lucky_ShootingNumber.razor.rz.scp.css */
body[b-lkkpq5k02w] {
}
/* ป้องกันไม่ให้ตารางย่อ */
.custom-table[b-lkkpq5k02w] {
    width: 100%; /* ขยายให้เต็มหน้าจอ */
    table-layout: fixed; /* ให้คอลัมน์มีขนาดคงที่ */
    overflow-x: auto; /* ถ้าข้อมูลเกินขนาด จะเลื่อนขวาได้ */
}

    /* ป้องกันการแยกแถวใหม่ในมือถือ */
    .custom-table th[b-lkkpq5k02w], .custom-table td[b-lkkpq5k02w] {
        white-space: nowrap; /* ป้องกันการตัดบรรทัดใหม่ */
        padding: 8px; /* เพิ่มพื้นที่ในเซลล์ */
    }

/* ปรับขนาดฟอนต์สำหรับหน้าจอเล็ก */
@media (max-width: 768px) {
    .custom-table[b-lkkpq5k02w] {
        font-size: 14px; /* ลดขนาดฟอนต์ */
    }
}



.paging-controls[b-lkkpq5k02w] {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

    .paging-controls button[b-lkkpq5k02w] {
        margin: 0 5px;
        padding: 5px 10px;
        cursor: pointer;
    }

    .paging-controls .active[b-lkkpq5k02w] {
        background-color: #007bff;
        color: white;
    }

    .paging-controls button:disabled[b-lkkpq5k02w] {
        background-color: #e0e0e0;
        cursor: not-allowed;
    }

    .paging-controls button[b-lkkpq5k02w] {
        font-size: 14px;
    }
/* /Pages/Members/PressNumberEntry.razor.rz.scp.css */
body[b-946lgebs5b] {
}
/*.text-slide {
    position: absolute;
    white-space: nowrap;*/ /* ทำให้ข้อความไม่ตัดบรรทัด */
    /*animation: slide-out 3s linear infinite;
}

@keyframes slide-out {
    0% {
        transform: translateX(100%);*/ /* เริ่มข้อความจากด้านใน */
    /*}

    100% {
        transform: translateX(-100%);*/ /* เลื่อนไปจนถึงด้านนอก */
    /*}
}*/
/* /Pages/Members/ThaiLottoBet.razor.rz.scp.css */
.thai-buy-page[b-59p7qxxdq1],
    .thai-buy-page *[b-59p7qxxdq1] {
        box-sizing: border-box;
        font-family: inherit !important;
    }

    .thai-buy-page[b-59p7qxxdq1] {
        min-height: 100vh;
        padding: 0 0 calc(170px + env(safe-area-inset-bottom));
        color: #10203d;
        background: linear-gradient(180deg, #0b55d8 0%, #155edc 34%, #071b46 100%);
        overflow-x: hidden;
    }

    .thai-buy-shell[b-59p7qxxdq1] {
        width: 100%;
        max-width: 580px;
        min-height: 100vh;
        margin: 0 auto;
        background: #f4f7ff;
        box-shadow: 0 16px 48px rgba(0, 0, 0, .24);
    }

    .buy-header[b-59p7qxxdq1] {
        min-height: 82px;
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        gap: 10px;
        align-items: center;
        padding: 14px 14px 12px;
        color: #fff;
        background: radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .28), transparent 34%), linear-gradient(135deg, #073ea8, #1470f4);
    }

    .buy-back-btn[b-59p7qxxdq1],
    .buy-help-btn[b-59p7qxxdq1] {
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: rgba(255, 255, 255, .16);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
        cursor: pointer;
    }

    .buy-back-btn[b-59p7qxxdq1] {
        font-size: 34px;
        line-height: 1;
    }

    .buy-help-btn[b-59p7qxxdq1] {
        font-size: 20px;
        font-weight: 900;
    }

    .buy-title-wrap[b-59p7qxxdq1] {
        min-width: 0;
    }

    .buy-title[b-59p7qxxdq1] {
        font-size: 24px;
        line-height: 1.1;
        font-weight: 900;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .buy-subtitle[b-59p7qxxdq1] {
        margin-top: 4px;
        color: rgba(255,255,255,.82);
        font-size: 13px;
        font-weight: 650;
    }

    .round-info-card[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 14px;
        background: transparent;
    }

    .time-box[b-59p7qxxdq1] {
        min-width: 0;
        min-height: 112px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 14px 14px;
        border-radius: 22px;
        border: 1px solid #dfe8f6;
        box-shadow: 0 10px 28px rgba(17, 43, 93, .08);
    }

    .time-box.bet-time[b-59p7qxxdq1] {
        color: #fff;
        background: linear-gradient(135deg, #ff5f43, #ff8b19);
        border-color: transparent;
    }

    .time-box.result-time[b-59p7qxxdq1] {
        color: #12315d;
        background: #fff;
    }

    .time-box span[b-59p7qxxdq1],
    .time-box em[b-59p7qxxdq1] {
        display: block;
        font-size: 12px;
        line-height: 1.35;
        font-style: normal;
        font-weight: 750;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-word;
    }

    .time-box.bet-time span[b-59p7qxxdq1],
    .time-box.bet-time em[b-59p7qxxdq1] {
        color: rgba(255,255,255,.95);
    }

    .time-box.result-time span[b-59p7qxxdq1],
    .time-box.result-time em[b-59p7qxxdq1] {
        color: #6c7d95;
    }

    .time-box b[b-59p7qxxdq1] {
        display: block;
        margin: 4px 0 6px;
        font-size: 21px;
        line-height: 1.16;
        font-weight: 950;
        letter-spacing: -.2px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-word;
    }

    .time-box.result-time b[b-59p7qxxdq1] {
        color: #12315d;
    }

    .safe-note[b-59p7qxxdq1],
    .message-bar[b-59p7qxxdq1] {
        margin: 12px 14px 0;
        padding: 12px 14px;
        border-radius: 18px;
        background: #fff7dd;
        border: 1px solid #ffe19a;
        color: #7a5010;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.45;
    }

    .safe-note b[b-59p7qxxdq1],
    .safe-note span[b-59p7qxxdq1] {
        display: block;
    }

    .safe-note span[b-59p7qxxdq1] {
        margin-top: 4px;
        color: #8a661b;
        font-size: 12px;
    }

    .main-tabs-card[b-59p7qxxdq1],
    .content-card[b-59p7qxxdq1] {
        margin: 12px 14px 0;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 10px 28px rgba(17, 43, 93, .08);
        border: 1px solid rgba(13, 82, 170, .08);
        overflow: hidden;
    }

    .main-tabs[b-59p7qxxdq1],
    .sub-tabs[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 6px;
        background: #edf4ff;
    }

    .main-tabs button[b-59p7qxxdq1],
    .sub-tabs button[b-59p7qxxdq1] {
        min-width: 0;
        min-height: 38px;
        border: 0;
        border-radius: 15px;
        color: #345170;
        background: transparent;
        font-size: 13px;
        font-weight: 850;
        cursor: pointer;
    }

    .main-tabs button.active[b-59p7qxxdq1],
    .sub-tabs button.active[b-59p7qxxdq1] {
        color: #fff;
        background: linear-gradient(135deg, #0d55d6, #1685ff);
        box-shadow: 0 8px 18px rgba(13, 91, 214, .26);
    }

    .section-head[b-59p7qxxdq1],
    .panel-header-row[b-59p7qxxdq1] {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 14px 8px;
    }

    .section-head b[b-59p7qxxdq1],
    .panel-header-row b[b-59p7qxxdq1] {
        display: block;
        font-size: 16px;
        font-weight: 950;
        color: #112b59;
    }

    .section-head span[b-59p7qxxdq1],
    .panel-header-row span[b-59p7qxxdq1] {
        display: block;
        margin-top: 3px;
        color: #71829b;
        font-size: 12px;
        font-weight: 650;
        line-height: 1.35;
    }

    .section-head em[b-59p7qxxdq1] {
        flex: 0 0 auto;
        padding: 7px 10px;
        border-radius: 999px;
        color: #0953bf;
        background: #eaf3ff;
        font-style: normal;
        font-size: 12px;
        font-weight: 900;
    }

    .type-scroll[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        padding: 8px 14px 14px;
    }

    .type-card[b-59p7qxxdq1] {
        position: relative;
        min-height: 110px;
        border: 1px solid #dce8f7;
        border-radius: 20px;
        background: linear-gradient(180deg, #ffffff, #f8fbff);
        color: #172b4d;
        padding: 12px 6px 10px;
        text-align: center;
        cursor: pointer;
        overflow: hidden;
    }

    .type-card.active[b-59p7qxxdq1] {
        border-color: #1268e8;
        background: linear-gradient(180deg, #eaf4ff, #ffffff);
        box-shadow: 0 8px 18px rgba(18, 104, 232, .18);
    }

    .type-code[b-59p7qxxdq1] {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        margin: 0 auto 8px;
        border-radius: 50%;
        color: #fff;
        background: #1359d1;
        font-size: 16px;
        font-weight: 950;
    }

    .type-code.green[b-59p7qxxdq1] { background: #139d6b; }
    .type-code.gold[b-59p7qxxdq1] { background: #bf7b05; }
    .type-code.purple[b-59p7qxxdq1] { background: #7a48d9; }
    .type-code.red[b-59p7qxxdq1] { background: #de3848; }

    .type-name[b-59p7qxxdq1] {
        display: block;
        min-height: 32px;
        color: #152b51;
        font-size: 12px;
        line-height: 1.25;
        font-weight: 900;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .type-card em[b-59p7qxxdq1] {
        display: block;
        margin-top: 4px;
        color: #7b8ca3;
        font-size: 11px;
        font-style: normal;
        font-weight: 800;
    }

    .tab-body[b-59p7qxxdq1] {
        padding-bottom: 14px;
    }

    .mini-link[b-59p7qxxdq1] {
        flex: 0 0 auto;
        border: 0;
        border-radius: 999px;
        padding: 8px 12px;
        color: #0d58d6;
        background: #edf5ff;
        font-size: 12px;
        font-weight: 900;
        cursor: pointer;
    }

    .prefix-panel[b-59p7qxxdq1],
    .number-panel[b-59p7qxxdq1] {
        margin: 8px 14px 0;
        padding: 12px;
        border-radius: 20px;
        background: #f5f8fd;
        border: 1px solid #e0e9f5;
    }

    .prefix-title[b-59p7qxxdq1],
    .number-panel-title[b-59p7qxxdq1] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        color: #42536c;
        font-size: 12px;
        font-weight: 850;
    }

    .prefix-title b[b-59p7qxxdq1],
    .number-panel-title b[b-59p7qxxdq1] {
        color: #0d56d6;
        font-size: 12px;
        font-weight: 950;
        white-space: nowrap;
    }

    .prefix-grid[b-59p7qxxdq1] {
        display: grid;
        gap: 8px;
    }

    .prefix-grid.three-prefix[b-59p7qxxdq1],
    .prefix-grid.two-prefix[b-59p7qxxdq1] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .prefix-btn[b-59p7qxxdq1],
    .number-btn[b-59p7qxxdq1] {
        border: 1px solid #d6e2f1;
        border-radius: 14px;
        background: #fff;
        color: #173153;
        font-weight: 900;
        cursor: pointer;
    }

    .prefix-btn[b-59p7qxxdq1] {
        min-height: 40px;
        font-size: 13px;
    }

    .prefix-btn.active[b-59p7qxxdq1],
    .number-btn.active[b-59p7qxxdq1] {
        color: #fff;
        border-color: #0e62e6;
        background: linear-gradient(135deg, #0e56d6, #1487ff);
        box-shadow: 0 7px 16px rgba(14, 98, 230, .22);
    }

    .number-grid[b-59p7qxxdq1] {
        display: grid;
        gap: 7px;
    }

    .number-grid.three-grid[b-59p7qxxdq1] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .number-grid.two-grid[b-59p7qxxdq1],
    .number-grid.run-grid[b-59p7qxxdq1] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .number-btn[b-59p7qxxdq1] {
        min-height: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 14px;
        line-height: 1.1;
    }

    .number-main[b-59p7qxxdq1] {
        display: block;
        font-weight: 950;
    }

    .limit-badge[b-59p7qxxdq1] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        padding: 2px 5px;
        border-radius: 999px;
        font-size: 9px;
        line-height: 1.15;
        font-weight: 900;
        white-space: nowrap;
    }

    .limit-badge.warning[b-59p7qxxdq1] {
        color: #92400e;
        background: #fff3cd;
        border: 1px solid #ffd37a;
    }

    .limit-badge.full[b-59p7qxxdq1] {
        color: #b91c1c;
        background: #ffe3e3;
        border: 1px solid #ffb7b7;
    }

    .number-btn.limit-warning[b-59p7qxxdq1] {
        border-color: #f59e0b;
        background: #fff8e6;
        color: #6b3f00;
        box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .15);
    }

    .number-btn.limit-full[b-59p7qxxdq1] {
        border-color: #ef4444;
        background: #fff0f0;
        color: #991b1b;
        box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .15);
    }

    .random-btn[b-59p7qxxdq1] {
        width: calc(100% - 28px);
        min-height: 46px;
        margin: 12px 14px 0;
        border: 0;
        border-radius: 16px;
        color: #0d55d6;
        background: #eaf3ff;
        font-size: 14px;
        font-weight: 950;
        cursor: pointer;
    }

    .manual-body[b-59p7qxxdq1] {
        padding-bottom: 18px;
    }

    .manual-display[b-59p7qxxdq1] {
        min-height: 76px;
        display: grid;
        place-items: center;
        margin: 8px 14px 12px;
        border-radius: 22px;
        color: #0d55d6;
        background: linear-gradient(180deg, #edf6ff, #ffffff);
        border: 1px solid #d8e8fb;
        font-size: 36px;
        letter-spacing: 8px;
        font-weight: 950;
    }

    .keypad-grid[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 0 14px;
    }

    .keypad-grid button[b-59p7qxxdq1] {
        min-height: 58px;
        border: 0;
        border-radius: 20px;
        color: #102c55;
        background: #fff;
        box-shadow: 0 8px 18px rgba(16, 44, 85, .08);
        font-size: 22px;
        font-weight: 950;
        cursor: pointer;
    }

    .keypad-grid button.soft[b-59p7qxxdq1] {
        color: #0d55d6;
        background: #eaf3ff;
        font-size: 16px;
    }

    .keypad-grid button.danger[b-59p7qxxdq1] {
        color: #cf2736;
        background: #fff0f2;
        font-size: 16px;
    }

    .detail-card[b-59p7qxxdq1] {
        padding: 14px;
    }

    .detail-row[b-59p7qxxdq1] {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px dashed #dfe8f5;
        color: #62728a;
        font-size: 14px;
        font-weight: 750;
    }

    .detail-row b[b-59p7qxxdq1] {
        color: #132b50;
        font-weight: 950;
        text-align: right;
    }

    .detail-note[b-59p7qxxdq1] {
        margin-top: 12px;
        padding: 12px;
        border-radius: 16px;
        background: #edf5ff;
        color: #315a87;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.55;
    }

    .safe-bottom-space[b-59p7qxxdq1] {
        height: 170px;
    }

    .buy-footer[b-59p7qxxdq1] {
        position: fixed;
        left: 50%;
        bottom: calc(72px + env(safe-area-inset-bottom));
        z-index: 1000;
        width: min(calc(100% - 10px), 580px);
        transform: translateX(-50%);
        padding: 10px;
        border-radius: 22px 22px 0 0;
        background: rgba(255, 255, 255, .98);
        border: 1px solid rgba(16, 44, 85, .08);
        box-shadow: 0 -10px 28px rgba(7, 23, 61, .12);
        backdrop-filter: blur(10px);
    }

    .footer-summary[b-59p7qxxdq1] {
        width: 100%;
        display: block;
        border: 0;
        border-radius: 18px;
        padding: 10px 12px;
        text-align: left;
        color: #122b50;
        background: #f3f7ff;
        cursor: pointer;
    }

    .footer-summary span[b-59p7qxxdq1],
    .footer-summary em[b-59p7qxxdq1],
    .footer-summary b[b-59p7qxxdq1] {
        display: block;
    }

    .footer-summary span[b-59p7qxxdq1] {
        color: #6c7d95;
        font-size: 12px;
        font-weight: 750;
    }

    .footer-summary b[b-59p7qxxdq1] {
        margin-top: 2px;
        font-size: 15px;
        font-weight: 950;
    }

    .footer-summary em[b-59p7qxxdq1] {
        margin-top: 2px;
        color: #0e58d6;
        font-size: 12px;
        font-style: normal;
        font-weight: 800;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .footer-actions[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: .62fr .78fr .78fr 1.22fr;
        gap: 8px;
        margin-top: 8px;
    }

    .footer-actions button[b-59p7qxxdq1] {
        min-height: 44px;
        border-radius: 16px;
        font-size: 12px;
        font-weight: 950;
        cursor: pointer;
        white-space: nowrap;
    }

    .clear-footer-btn[b-59p7qxxdq1] {
        border: 1px solid #ffd4d9;
        color: #d7283a;
        background: #fff5f6;
    }

    .clear-footer-btn:disabled[b-59p7qxxdq1],
    .rebet-clear-btn:disabled[b-59p7qxxdq1],
    .sheet-clear-btn:disabled[b-59p7qxxdq1] {
        opacity: .48;
        cursor: not-allowed;
    }

    .rebet-footer-btn[b-59p7qxxdq1],
    .price-footer-btn[b-59p7qxxdq1] {
        border: 1px solid #cfe0f7;
        color: #0f57c8;
        background: #fff;
    }

    .submit-footer-btn[b-59p7qxxdq1],
    .sheet-submit-btn[b-59p7qxxdq1] {
        border: 0;
        color: #fff;
        background: linear-gradient(135deg, #0d55d6, #16a1ff);
        box-shadow: 0 8px 18px rgba(13, 85, 214, .28);
    }

    .submit-footer-btn:disabled[b-59p7qxxdq1],
    .sheet-submit-btn:disabled[b-59p7qxxdq1] {
        opacity: .55;
        box-shadow: none;
        cursor: not-allowed;
    }


    .confirm-page[b-59p7qxxdq1] {
        position: fixed;
        inset: 0;
        z-index: 1250;
        overflow: auto;
        padding: 12px 10px calc(18px + env(safe-area-inset-bottom));
        background: #f4f7ff;
    }

    .confirm-shell[b-59p7qxxdq1] {
        width: min(100%, 580px);
        min-height: 100%;
        margin: 0 auto;
        padding-bottom: 18px;
    }

    .confirm-head[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
        margin-bottom: 12px;
        padding: 12px;
        border-radius: 24px;
        color: #fff;
        background: linear-gradient(135deg, #073ea8, #1470f4);
        box-shadow: 0 12px 30px rgba(7, 62, 168, .18);
    }

    .confirm-back[b-59p7qxxdq1] {
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: rgba(255, 255, 255, .16);
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
    }

    .confirm-head b[b-59p7qxxdq1],
    .confirm-head span[b-59p7qxxdq1] {
        display: block;
    }

    .confirm-head b[b-59p7qxxdq1] {
        font-size: 22px;
        line-height: 1.1;
        font-weight: 950;
    }

    .confirm-head span[b-59p7qxxdq1] {
        margin-top: 4px;
        color: rgba(255,255,255,.78);
        font-size: 12px;
        font-weight: 750;
    }

    .confirm-round-card[b-59p7qxxdq1],
    .confirm-total-card[b-59p7qxxdq1],
    .confirm-list-card[b-59p7qxxdq1],
    .confirm-note[b-59p7qxxdq1],
    .confirm-message[b-59p7qxxdq1] {
        margin-top: 12px;
        border-radius: 22px;
        background: #fff;
        border: 1px solid rgba(13, 82, 170, .08);
        box-shadow: 0 10px 28px rgba(17, 43, 93, .08);
    }

    .confirm-round-card[b-59p7qxxdq1],
    .confirm-total-card[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 14px;
    }

    .confirm-round-card span[b-59p7qxxdq1],
    .confirm-total-card span[b-59p7qxxdq1] {
        display: block;
        color: #6c7d95;
        font-size: 12px;
        font-weight: 750;
    }

    .confirm-round-card b[b-59p7qxxdq1],
    .confirm-total-card b[b-59p7qxxdq1] {
        display: block;
        margin-top: 4px;
        color: #122b50;
        font-size: 16px;
        font-weight: 950;
    }

    .confirm-total-card[b-59p7qxxdq1] {
        background: linear-gradient(135deg, #0d55d6, #16a1ff);
    }

    .confirm-total-card span[b-59p7qxxdq1],
    .confirm-total-card b[b-59p7qxxdq1] {
        color: #fff;
    }

    .confirm-total-card b[b-59p7qxxdq1] {
        font-size: 22px;
    }

    .confirm-message[b-59p7qxxdq1] {
        padding: 12px 14px;
        color: #b72230;
        background: #fff0f2;
        border-color: #ffd6dc;
        font-size: 13px;
        font-weight: 850;
    }

    .confirm-list-card[b-59p7qxxdq1] {
        padding: 12px;
    }

    .confirm-list-head[b-59p7qxxdq1] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 10px;
    }

    .confirm-list-head b[b-59p7qxxdq1] {
        color: #112b59;
        font-size: 17px;
        font-weight: 950;
    }

    .confirm-list-head span[b-59p7qxxdq1] {
        color: #0e58d6;
        font-size: 12px;
        font-weight: 900;
    }

    .confirm-group-title[b-59p7qxxdq1] {
        margin: 12px 2px 8px;
        color: #0e58d6;
        font-size: 13px;
        font-weight: 950;
    }

    .confirm-row[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 74px minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        margin-top: 8px;
        padding: 8px;
        border: 1px solid #e0e9f5;
        border-radius: 18px;
        background: #f8fbff;
    }

    .confirm-number[b-59p7qxxdq1] {
        min-height: 44px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        color: #fff;
        background: linear-gradient(135deg, #0d55d6, #1685ff);
        font-size: 18px;
        font-weight: 950;
    }

    .confirm-info b[b-59p7qxxdq1],
    .confirm-info span[b-59p7qxxdq1] {
        display: block;
    }

    .confirm-info b[b-59p7qxxdq1] {
        color: #132b50;
        font-size: 14px;
        font-weight: 950;
    }

    .confirm-info span[b-59p7qxxdq1] {
        margin-top: 3px;
        color: #6c7d95;
        font-size: 11px;
        font-weight: 800;
    }

    .confirm-amount[b-59p7qxxdq1] {
        color: #122b50;
        font-size: 15px;
        font-weight: 950;
        white-space: nowrap;
    }

    .confirm-note[b-59p7qxxdq1] {
        padding: 12px 14px;
        color: #7a5010;
        background: #fff8e5;
        border-color: #ffe2a8;
        font-size: 13px;
        line-height: 1.45;
        font-weight: 800;
    }

    .confirm-actions[b-59p7qxxdq1] {
        position: sticky;
        bottom: 0;
        display: grid;
        grid-template-columns: .85fr 1.45fr;
        gap: 10px;
        margin-top: 12px;
        padding: 10px 0;
        background: linear-gradient(180deg, rgba(244,247,255,0), #f4f7ff 24%);
    }

    .confirm-actions button[b-59p7qxxdq1] {
        min-height: 50px;
        border-radius: 18px;
        font-size: 14px;
        font-weight: 950;
        cursor: pointer;
    }

    .confirm-edit-btn[b-59p7qxxdq1] {
        border: 1px solid #cfe0f7;
        color: #0f57c8;
        background: #fff;
    }

    .confirm-submit-btn[b-59p7qxxdq1] {
        border: 0;
        color: #fff;
        background: linear-gradient(135deg, #0d55d6, #16a1ff);
        box-shadow: 0 8px 18px rgba(13, 85, 214, .28);
    }

    .confirm-actions button:disabled[b-59p7qxxdq1] {
        opacity: .55;
        cursor: not-allowed;
        box-shadow: none;
    }

    .sheet-overlay[b-59p7qxxdq1] {
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(3, 12, 36, .54);
        backdrop-filter: blur(3px);
    }

    .bottom-sheet[b-59p7qxxdq1] {
        position: fixed;
        left: 50%;
        bottom: 0;
        z-index: 1100;
        width: min(100%, 580px);
        max-height: min(82vh, 720px);
        transform: translateX(-50%);
        overflow: auto;
        padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
        border-radius: 26px 26px 0 0;
        background: #fff;
        box-shadow: 0 -18px 52px rgba(0, 0, 0, .28);
    }

    .rebet-sheet[b-59p7qxxdq1] {
        height: min(88vh, 820px);
        max-height: min(88vh, 820px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding-top: 10px;
    }

    .rebet-sheet[b-59p7qxxdq1]::before {
        content: "";
        width: 56px;
        height: 6px;
        margin: 0 auto 10px;
        border-radius: 999px;
        background: #d7e2f1;
        flex: 0 0 auto;
    }

    .sheet-head[b-59p7qxxdq1] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .rebet-sheet .sheet-head[b-59p7qxxdq1] {
        flex: 0 0 auto;
        margin-bottom: 10px;
        padding-bottom: 4px;
    }

    .sheet-head b[b-59p7qxxdq1],
    .sheet-head span[b-59p7qxxdq1] {
        display: block;
    }

    .sheet-head b[b-59p7qxxdq1] {
        color: #112b59;
        font-size: 18px;
        font-weight: 950;
    }

    .sheet-head span[b-59p7qxxdq1] {
        margin-top: 3px;
        color: #6c7d95;
        font-size: 12px;
        font-weight: 700;
    }

    .sheet-head-actions[b-59p7qxxdq1] {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
    }

    .sheet-head .sheet-close-btn[b-59p7qxxdq1],
    .sheet-head > button[b-59p7qxxdq1] {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 50%;
        color: #223a5f;
        background: #f0f4fb;
        font-size: 24px;
        font-weight: 900;
        cursor: pointer;
    }

    .sheet-clear-btn[b-59p7qxxdq1] {
        width: auto;
        height: 38px;
        border: 1px solid #ffd4d9;
        border-radius: 999px;
        padding: 0 12px;
        color: #d7283a;
        background: #fff5f6;
        font-size: 12px;
        font-weight: 950;
        cursor: pointer;
    }

    .sheet-limit-alert[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        margin: 0 0 12px;
        padding: 12px;
        border-radius: 18px;
        color: #991b1b;
        background: linear-gradient(180deg, #fff1f2, #fff7f7);
        border: 1px solid #fecaca;
        box-shadow: 0 8px 18px rgba(239, 68, 68, .10);
    }

    .sheet-limit-alert-icon[b-59p7qxxdq1] {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        background: #ef4444;
        font-size: 20px;
        font-weight: 950;
    }

    .sheet-limit-alert b[b-59p7qxxdq1],
    .sheet-limit-alert span[b-59p7qxxdq1] {
        display: block;
    }

    .sheet-limit-alert b[b-59p7qxxdq1] {
        font-size: 14px;
        font-weight: 950;
        line-height: 1.2;
    }

    .sheet-limit-alert span[b-59p7qxxdq1] {
        margin-top: 3px;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.35;
        word-break: break-word;
    }

    .slip-list[b-59p7qxxdq1] {
        display: grid;
        gap: 12px;
    }

    .slip-group-card[b-59p7qxxdq1] {
        display: grid;
        gap: 8px;
        padding: 10px;
        border: 1px solid #dce8f7;
        border-radius: 20px;
        background: #f7faff;
    }

    .slip-group-head[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
        gap: 10px;
        align-items: end;
    }

    .slip-group-head b[b-59p7qxxdq1],
    .slip-group-head span[b-59p7qxxdq1],
    .slip-group-price-all label[b-59p7qxxdq1] {
        display: block;
    }

    .slip-group-head b[b-59p7qxxdq1] {
        color: #0e58d6;
        font-size: 14px;
        font-weight: 950;
    }

    .slip-group-head span[b-59p7qxxdq1] {
        margin-top: 3px;
        color: #6c7d95;
        font-size: 12px;
        font-weight: 750;
    }

    .slip-group-price-all label[b-59p7qxxdq1] {
        margin-bottom: 4px;
        color: #586b84;
        font-size: 11px;
        font-weight: 850;
    }

    .slip-group-price-all > div[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 74px;
        gap: 6px;
    }

    .slip-group-price-all input[b-59p7qxxdq1] {
        width: 100%;
        height: 38px;
        border: 1px solid #d6e2f1;
        border-radius: 14px;
        padding: 0 10px;
        color: #122b50;
        background: #fff;
        font-size: 14px;
        font-weight: 900;
        outline: none;
    }

    .slip-group-price-all button[b-59p7qxxdq1],
    .slip-group-quick button[b-59p7qxxdq1] {
        border: 0;
        border-radius: 14px;
        color: #fff;
        background: linear-gradient(135deg, #0d55d6, #1685ff);
        font-size: 12px;
        font-weight: 950;
        cursor: pointer;
    }

    .slip-group-quick[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .slip-group-quick button[b-59p7qxxdq1] {
        min-height: 34px;
        color: #0d55d6;
        background: #eaf3ff;
    }

    .slip-group-title[b-59p7qxxdq1] {
        margin: 8px 2px 0;
        color: #0e58d6;
        font-size: 13px;
        font-weight: 950;
    }

    .slip-row[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr) 42px;
        gap: 8px;
        align-items: center;
        padding: 8px;
        border: 1px solid #e0e9f5;
        border-radius: 18px;
        background: #fff;
    }

    .slip-number[b-59p7qxxdq1] {
        min-height: 42px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        color: #fff;
        background: linear-gradient(135deg, #0d55d6, #1685ff);
        font-size: 18px;
        font-weight: 950;
    }

    .slip-price[b-59p7qxxdq1] {
        min-width: 0;
    }

    .slip-price span[b-59p7qxxdq1] {
        display: block;
        margin-bottom: 3px;
        color: #6d7b91;
        font-size: 11px;
        font-weight: 800;
    }

    .slip-price input[b-59p7qxxdq1],
    .price-input[b-59p7qxxdq1] {
        width: 100%;
        height: 40px;
        border: 1px solid #d6e2f1;
        border-radius: 14px;
        padding: 0 12px;
        color: #122b50;
        background: #fff;
        font-size: 15px;
        font-weight: 850;
        outline: none;
    }

    .delete-slip-btn[b-59p7qxxdq1] {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 14px;
        color: #d7283a;
        background: #fff0f2;
        font-size: 22px;
        font-weight: 950;
        cursor: pointer;
    }

    .sheet-total-row[b-59p7qxxdq1] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 14px;
        padding: 14px;
        border-radius: 18px;
        color: #52647c;
        background: #f1f6ff;
        font-size: 14px;
        font-weight: 800;
    }

    .sheet-total-row b[b-59p7qxxdq1] {
        color: #0d55d6;
        font-size: 20px;
        font-weight: 950;
    }

    .sheet-submit-btn[b-59p7qxxdq1] {
        width: 100%;
        min-height: 50px;
        margin-top: 12px;
        border-radius: 18px;
        font-size: 15px;
        font-weight: 950;
        cursor: pointer;
    }

    .sheet-empty[b-59p7qxxdq1] {
        padding: 26px 12px;
        border-radius: 18px;
        color: #6c7d95;
        background: #f5f8fd;
        text-align: center;
        font-size: 14px;
        font-weight: 750;
    }

    .rebet-toolbar[b-59p7qxxdq1] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 12px;
        padding: 10px 12px;
        border-radius: 16px;
        background: #f3f7ff;
        flex: 0 0 auto;
    }

    .rebet-chip[b-59p7qxxdq1] {
        flex: 0 0 auto;
        padding: 7px 12px;
        border-radius: 999px;
        color: #0d58d6;
        background: #eaf3ff;
        font-size: 12px;
        font-weight: 950;
    }

    .rebet-toolbar span[b-59p7qxxdq1] {
        min-width: 0;
        color: #667992;
        font-size: 12px;
        font-weight: 750;
        text-align: right;
    }

    .rebet-list[b-59p7qxxdq1] {
        display: grid;
        gap: 12px;
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow: auto;
        padding-right: 3px;
        padding-bottom: 92px;
    }

    .rebet-card[b-59p7qxxdq1] {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        border: 1px solid #dce8f7;
        border-radius: 22px;
        padding: 14px;
        background: linear-gradient(180deg, #ffffff, #f8fbff);
        text-align: left;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(16, 44, 85, .05);
    }

    .rebet-card.selected[b-59p7qxxdq1] {
        border-color: #1268ff;
        background: linear-gradient(180deg, #f5f9ff, #ffffff);
        box-shadow: 0 10px 26px rgba(18, 104, 255, .16);
    }

    .rebet-card-left[b-59p7qxxdq1] {
        min-width: 0;
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .rebet-radio[b-59p7qxxdq1] {
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border-radius: 50%;
        border: 2px solid #aab8cc;
        color: #fff;
        background: #fff;
        font-size: 20px;
        font-weight: 950;
    }

    .rebet-card.selected .rebet-radio[b-59p7qxxdq1] {
        border-color: #1268ff;
        background: linear-gradient(135deg, #0d55d6, #1685ff);
    }

    .rebet-main[b-59p7qxxdq1] {
        min-width: 0;
    }

    .rebet-topline[b-59p7qxxdq1] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .rebet-topline b[b-59p7qxxdq1] {
        color: #132b50;
        font-size: 16px;
        font-weight: 950;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rebet-topline span[b-59p7qxxdq1] {
        flex: 0 0 auto;
        color: #6c7d95;
        font-size: 11px;
        font-weight: 850;
    }

    .rebet-date[b-59p7qxxdq1] {
        margin-top: 4px;
        color: #72829a;
        font-size: 12px;
        font-weight: 750;
    }

    .rebet-preview[b-59p7qxxdq1] {
        margin-top: 5px;
        color: #5d708b;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .rebet-preview-btn[b-59p7qxxdq1] {
        width: fit-content;
        margin-top: 8px;
        padding: 6px 10px;
        border-radius: 999px;
        color: #0d58d6;
        background: #eef5ff;
        font-size: 12px;
        font-weight: 900;
    }

    .rebet-card-right[b-59p7qxxdq1] {
        flex: 0 0 auto;
        min-width: 86px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }

    .rebet-card-right small[b-59p7qxxdq1] {
        color: #7a8ba1;
        font-size: 11px;
        font-weight: 850;
    }

    .rebet-card-right em[b-59p7qxxdq1] {
        color: #0d55d6;
        font-style: normal;
        font-size: 20px;
        font-weight: 950;
        line-height: 1.05;
    }

    .rebet-card-right span[b-59p7qxxdq1] {
        color: #7a8ba1;
        font-size: 11px;
        font-weight: 800;
    }

    .rebet-actions[b-59p7qxxdq1] {
        position: sticky;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: .72fr .72fr 1.35fr;
        gap: 10px;
        flex: 0 0 auto;
        padding: 12px 0 0;
        background: linear-gradient(180deg, rgba(255,255,255,.72), #fff 36%);
    }

    .rebet-actions button[b-59p7qxxdq1] {
        min-height: 54px;
        border: 0;
        border-radius: 18px;
        font-size: 14px;
        font-weight: 950;
        cursor: pointer;
    }

    .rebet-cancel-btn[b-59p7qxxdq1] {
        color: #68778f;
        background: #eef2f7;
    }

    .rebet-clear-btn[b-59p7qxxdq1] {
        color: #d7283a;
        background: #fff0f2;
    }

    .rebet-add-btn[b-59p7qxxdq1] {
        color: #fff;
        background: linear-gradient(135deg, #0d55d6, #0e78ff);
        box-shadow: 0 10px 22px rgba(13, 85, 214, .25);
    }

    .rebet-add-btn:disabled[b-59p7qxxdq1],
    .rebet-clear-btn:disabled[b-59p7qxxdq1] {
        opacity: .52;
        box-shadow: none;
        cursor: not-allowed;
    }

    .price-input[b-59p7qxxdq1] {
        height: 52px;
        margin-bottom: 12px;
        font-size: 20px;
        text-align: center;
    }

    .quick-price-grid[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .quick-price-grid button[b-59p7qxxdq1] {
        min-height: 46px;
        border: 1px solid #d6e2f1;
        border-radius: 16px;
        color: #0d55d6;
        background: #f3f8ff;
        font-size: 15px;
        font-weight: 950;
        cursor: pointer;
    }

    @media (max-width: 430px) {
        .confirm-page[b-59p7qxxdq1] {
            padding: 8px 8px calc(14px + env(safe-area-inset-bottom));
        }

        .confirm-row[b-59p7qxxdq1] {
            grid-template-columns: 64px minmax(0, 1fr) auto;
        }

        .confirm-number[b-59p7qxxdq1] {
            font-size: 16px;
        }

        .buy-title[b-59p7qxxdq1] {
            font-size: 21px;
        }

        .time-box[b-59p7qxxdq1] {
            min-height: 108px;
        }

        .time-box b[b-59p7qxxdq1] {
            font-size: 18px;
            line-height: 1.16;
        }

        .time-box em[b-59p7qxxdq1] {
            font-size: 11px;
        }

        .type-scroll[b-59p7qxxdq1] {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 8px;
        }

        .number-grid.three-grid[b-59p7qxxdq1] {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        .footer-actions[b-59p7qxxdq1] {
            grid-template-columns: .58fr .74fr .82fr 1.22fr;
            gap: 6px;
        }

        .footer-actions button[b-59p7qxxdq1] {
            font-size: 12px;
        }
    }

    @media (max-width: 430px) {
        .rebet-sheet[b-59p7qxxdq1] {
            height: min(90vh, 860px);
            max-height: min(90vh, 860px);
            width: 100%;
        }

        .rebet-toolbar[b-59p7qxxdq1] {
            align-items: flex-start;
            flex-direction: column;
        }

        .rebet-toolbar span[b-59p7qxxdq1] {
            text-align: left;
        }

        .rebet-card[b-59p7qxxdq1] {
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 8px;
            padding: 12px;
        }

        .rebet-radio[b-59p7qxxdq1] {
            width: 40px;
            height: 40px;
        }

        .rebet-topline b[b-59p7qxxdq1] {
            font-size: 15px;
        }

        .rebet-card-right[b-59p7qxxdq1] {
            min-width: 74px;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
            gap: 2px;
        }

        .rebet-card-right em[b-59p7qxxdq1] {
            font-size: 18px;
        }

        .rebet-actions button[b-59p7qxxdq1] {
            min-height: 52px;
            font-size: 15px;
        }
    }

    @media (max-width: 430px) {
        .slip-group-head[b-59p7qxxdq1] {
            grid-template-columns: 1fr;
            align-items: stretch;
        }

        .slip-group-price-all > div[b-59p7qxxdq1] {
            grid-template-columns: minmax(0, 1fr) 88px;
        }
    }

    @media (max-width: 360px) {
        .round-info-card[b-59p7qxxdq1] {
            grid-template-columns: 1fr;
        }

        .number-grid.three-grid[b-59p7qxxdq1],
        .number-grid.two-grid[b-59p7qxxdq1],
        .number-grid.run-grid[b-59p7qxxdq1],
        .prefix-grid.three-prefix[b-59p7qxxdq1],
        .prefix-grid.two-prefix[b-59p7qxxdq1] {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        .footer-actions[b-59p7qxxdq1] {
            grid-template-columns: 1fr 1fr;
        }

        .submit-footer-btn[b-59p7qxxdq1] {
            grid-column: 1 / -1;
        }
    }


    /* Thai Lotto: compact footer + Yiki-style price/submit page */
    .thai-compact-footer[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        padding: 12px 12px 14px;
        border-radius: 22px;
    }

    .thai-compact-summary[b-59p7qxxdq1] {
        min-width: 0;
        padding: 8px 12px;
        background: transparent;
    }

    .thai-compact-actions[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: auto auto;
        gap: 8px;
        margin-top: 0;
    }

    .thai-compact-actions button[b-59p7qxxdq1] {
        min-width: 100px;
        min-height: 50px;
        border-radius: 17px;
        padding: 0 14px;
        font-size: 14px;
    }

    .thai-compact-actions .rebet-footer-btn[b-59p7qxxdq1] {
        border-color: #ff8a22;
        color: #ef6b00;
        background: #fff;
    }

    .thai-compact-actions .price-footer-btn[b-59p7qxxdq1] {
        border: 0;
        color: #13223c;
        background: #ffc107;
        box-shadow: 0 8px 18px rgba(190, 132, 0, .28);
    }

    .thai-compact-actions .price-footer-btn:disabled[b-59p7qxxdq1] {
        opacity: .55;
        box-shadow: none;
        cursor: not-allowed;
    }

    .thai-price-page[b-59p7qxxdq1] {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: calc(72px + env(safe-area-inset-bottom));
        z-index: 950;
        overflow: auto;
        padding: 10px 0 18px;
        background: linear-gradient(180deg, #0b55d8 0%, #155edc 34%, #071b46 100%);
    }

    .thai-price-shell[b-59p7qxxdq1] {
        width: min(100%, 580px);
        min-height: auto;
        margin: 0 auto;
        padding: 0 0 18px;
    }

    .thai-yiki-summary-card[b-59p7qxxdq1] {
        margin: 0 auto;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(7, 23, 61, .16);
        border: 1px solid rgba(13, 82, 170, .08);
        overflow: hidden;
    }

    .thai-yiki-head-row[b-59p7qxxdq1] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 18px;
        color: #5a6678;
        background: #fbfcff;
        border-bottom: 1px solid #edf2f8;
        font-size: 17px;
        font-weight: 700;
    }

    .thai-yiki-head-row b[b-59p7qxxdq1] {
        color: #263043;
        font-weight: 950;
        white-space: nowrap;
    }

    .thai-price-message[b-59p7qxxdq1] {
        margin: 12px 18px 0;
        padding: 10px 12px;
        border-radius: 14px;
        color: #991b1b;
        background: #fff1f2;
        border: 1px solid #fecaca;
        font-size: 13px;
        font-weight: 850;
        line-height: 1.4;
    }

    .thai-price-group[b-59p7qxxdq1] {
        padding: 14px 18px 0;
    }

    .thai-price-group-top[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 165px minmax(0, 1fr);
        gap: 0;
        align-items: center;
        margin-bottom: 8px;
    }

    .thai-price-group-top b[b-59p7qxxdq1] {
        color: #00008b;
        font-size: 18px;
        font-weight: 950;
    }

    .thai-price-group-top input[b-59p7qxxdq1] {
        width: 100%;
        height: 46px;
        border: 1px solid #cfd5dc;
        border-radius: 0 8px 8px 0;
        padding: 0 10px;
        color: #273449;
        background: #fff;
        font-size: 16px;
        font-weight: 750;
        outline: none;
    }

    .thai-price-group-top button[b-59p7qxxdq1] {
        height: 46px;
        border: 1px solid #0d55d6;
        border-radius: 0 8px 8px 0;
        color: #fff;
        background: #0d55d6;
        font-size: 13px;
        font-weight: 950;
        cursor: pointer;
    }

    .thai-table-scroll[b-59p7qxxdq1] {
        width: 100%;
        overflow-x: visible;
        -webkit-overflow-scrolling: auto;
    }

    .thai-yiki-table[b-59p7qxxdq1] {
        width: 100%;
        min-width: 0;
        border-collapse: collapse;
        table-layout: fixed;
        color: #06172c;
        font-size: 15px;
    }

    .thai-yiki-table th[b-59p7qxxdq1] {
        height: 30px;
        padding: 4px 3px;
        color: #4c5667;
        background: #d5d5d5;
        border: 1px solid #edf5f7;
        text-align: left;
        font-weight: 750;
    }

    .thai-yiki-table td[b-59p7qxxdq1] {
        height: 38px;
        padding: 3px 4px;
        background: #fff;
        border: 1px solid #e7fbff;
        vertical-align: middle;
        font-weight: 700;
        overflow: hidden;
    }

    .thai-yiki-table th[b-59p7qxxdq1],
    .thai-yiki-table td[b-59p7qxxdq1] {
        white-space: nowrap;
    }

    .thai-yiki-table th:nth-child(1)[b-59p7qxxdq1],
    .thai-yiki-table td:nth-child(1)[b-59p7qxxdq1] { width: 9%; text-align: center; }
    .thai-yiki-table th:nth-child(2)[b-59p7qxxdq1],
    .thai-yiki-table td:nth-child(2)[b-59p7qxxdq1] { width: 17%; }
    .thai-yiki-table th:nth-child(3)[b-59p7qxxdq1],
    .thai-yiki-table td:nth-child(3)[b-59p7qxxdq1] { width: 15%; }
    .thai-yiki-table th:nth-child(4)[b-59p7qxxdq1],
    .thai-yiki-table td:nth-child(4)[b-59p7qxxdq1] { width: 22%; }
    .thai-yiki-table th:nth-child(5)[b-59p7qxxdq1],
    .thai-yiki-table td:nth-child(5)[b-59p7qxxdq1] { width: 27%; }
    .thai-yiki-table th:nth-child(6)[b-59p7qxxdq1],
    .thai-yiki-table td:nth-child(6)[b-59p7qxxdq1] { width: 10%; text-align: center; }

    .thai-yiki-table td.num[b-59p7qxxdq1] {
        color: #001a9f;
        font-weight: 950;
    }

    .thai-yiki-table td.win[b-59p7qxxdq1] {
        color: #00101f;
        font-weight: 950;
    }

    .amount-cell-input[b-59p7qxxdq1] {
        width: 100%;
        height: 32px;
        border: 1px solid #bfc6cf;
        padding: 0 4px;
        color: #000;
        background: #fff;
        font-size: 15px;
        font-weight: 800;
        outline: none;
        min-width: 0;
    }

    .delete-row-btn[b-59p7qxxdq1] {
        width: 30px;
        height: 30px;
        border: 0;
        border-radius: 50%;
        color: #fff;
        background: #e51022;
        font-size: 25px;
        line-height: 26px;
        font-weight: 950;
        cursor: pointer;
    }

    .thai-yiki-actions-row[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 18px 18px 0;
    }

    .thai-yiki-actions-row button[b-59p7qxxdq1] {
        min-height: 56px;
        border-radius: 14px;
        font-size: 16px;
        font-weight: 950;
        cursor: pointer;
    }

    .copy-dup-btn[b-59p7qxxdq1] {
        border: 1px solid #ffb24c;
        color: #9b6200;
        background: #fffaf2;
    }

    .delete-all-btn[b-59p7qxxdq1] {
        border: 1px solid #ff96a0;
        color: #e33a2e;
        background: #fff7f8;
    }

    .thai-yiki-actions-row button:disabled[b-59p7qxxdq1] {
        opacity: .55;
        cursor: not-allowed;
    }

    .thai-price-all-box[b-59p7qxxdq1] {
        padding: 14px 18px 0;
    }

    .thai-price-all-box label[b-59p7qxxdq1] {
        display: block;
        margin-bottom: 8px;
        color: #172850;
        font-size: 16px;
        font-weight: 950;
    }

    .thai-price-input-wrap[b-59p7qxxdq1] {
        height: 54px;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 46px;
        align-items: center;
        border: 1px solid #cfdbe9;
        border-radius: 999px;
        background: #fff;
        overflow: hidden;
    }

    .thai-price-input-wrap span[b-59p7qxxdq1] {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        margin-left: 12px;
        border-radius: 50%;
        color: #0d55d6;
        background: #eaf3ff;
        font-weight: 950;
    }

    .thai-price-input-wrap input[b-59p7qxxdq1] {
        width: 100%;
        height: 100%;
        border: 0;
        outline: none;
        color: #10203d;
        background: transparent;
        font-size: 17px;
        font-weight: 850;
    }

    .thai-price-input-wrap em[b-59p7qxxdq1] {
        color: #172850;
        font-style: normal;
        font-size: 16px;
        font-weight: 950;
    }

    .thai-quick-price-grid[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 12px 18px 0;
    }

    .thai-quick-price-grid button[b-59p7qxxdq1] {
        min-height: 50px;
        border: 1px solid #1d5cff;
        border-radius: 10px;
        color: #0b49b9;
        background: #fff;
        font-size: 21px;
        font-weight: 950;
        cursor: pointer;
    }

    .thai-total-strip[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin: 16px 18px 0;
        padding: 14px 8px;
        border-radius: 18px;
        background: #f0f5fc;
    }

    .thai-total-strip > div[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        column-gap: 8px;
        align-items: center;
        padding: 0 8px;
    }

    .thai-total-strip > div + div[b-59p7qxxdq1] {
        border-left: 2px solid #dce5f1;
    }

    .total-icon[b-59p7qxxdq1] {
        grid-row: span 2;
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        font-size: 17px;
        font-weight: 950;
    }

    .total-icon.wallet[b-59p7qxxdq1] {
        color: #ff5d24;
        background: #ffe8ec;
    }

    .total-icon.cart[b-59p7qxxdq1] {
        color: #ff5d24;
        background: #eaf3ff;
    }

    .thai-total-strip p[b-59p7qxxdq1] {
        margin: 0;
        color: #344561;
        font-size: 13px;
        font-weight: 950;
    }

    .thai-total-strip b[b-59p7qxxdq1] {
        color: #182337;
        font-size: 23px;
        line-height: 1.05;
        font-weight: 950;
    }

    .thai-total-strip small[b-59p7qxxdq1] {
        color: #7f8b9f;
        font-size: 13px;
        font-weight: 850;
    }

    .thai-send-slip-btn[b-59p7qxxdq1] {
        width: calc(100% - 36px);
        min-height: 60px;
        margin: 16px 18px 0;
        border: 0;
        border-radius: 13px;
        color: #fff;
        background: linear-gradient(180deg, #1063ff, #003dcc);
        box-shadow: 0 10px 22px rgba(0, 61, 204, .26);
        font-size: 24px;
        font-weight: 950;
        cursor: pointer;
    }

    .thai-send-slip-btn:disabled[b-59p7qxxdq1] {
        opacity: .55;
        box-shadow: none;
        cursor: not-allowed;
    }

    .thai-edit-slip-btn[b-59p7qxxdq1] {
        width: calc(100% - 36px);
        min-height: 46px;
        margin: 10px 18px 18px;
        border: 1px solid #d5e2f2;
        border-radius: 13px;
        color: #31527b;
        background: #fff;
        font-size: 15px;
        font-weight: 900;
        cursor: pointer;
    }

    .thai-final-confirm-actions[b-59p7qxxdq1] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin: 16px 18px 18px;
    }

    .thai-final-confirm-actions button[b-59p7qxxdq1] {
        min-height: 58px;
        border-radius: 13px;
        font-size: 22px;
        font-weight: 900;
        cursor: pointer;
    }

    .thai-final-cancel-btn[b-59p7qxxdq1] {
        border: 1px solid #d5e2f2;
        color: #172033;
        background: #fff;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
    }

    .thai-final-submit-btn[b-59p7qxxdq1] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 0;
        color: #fff;
        background: linear-gradient(180deg, #1063ff, #003dcc);
        box-shadow: 0 10px 22px rgba(0, 61, 204, .26);
    }

    .thai-final-submit-btn span[b-59p7qxxdq1] {
        color: #ff6d25;
        font-size: 16px;
        line-height: 1;
    }

    .thai-final-confirm-actions button:disabled[b-59p7qxxdq1] {
        opacity: .55;
        box-shadow: none;
        cursor: not-allowed;
    }

    @media (max-width: 430px) {
        .thai-compact-footer[b-59p7qxxdq1] {
            width: min(calc(100% - 12px), 580px);
            grid-template-columns: minmax(0, 1fr) auto;
            padding: 10px 12px 12px;
        }

        .thai-compact-actions button[b-59p7qxxdq1] {
            min-width: 92px;
            min-height: 50px;
            padding: 0 12px;
            font-size: 14px;
        }

        .thai-yiki-summary-card[b-59p7qxxdq1] {
            border-radius: 20px 20px 0 0;
        }

        .thai-price-group[b-59p7qxxdq1] {
            padding-left: 18px;
            padding-right: 18px;
        }

        .thai-price-group-top[b-59p7qxxdq1] {
            grid-template-columns: 176px minmax(0, 1fr);
        }

        .thai-price-group-top b[b-59p7qxxdq1] {
            font-size: 18px;
        }

        .thai-yiki-table[b-59p7qxxdq1] {
            min-width: 0;
            font-size: 14px;
        }

        .thai-yiki-table th[b-59p7qxxdq1],
        .thai-yiki-table td[b-59p7qxxdq1] {
            padding-left: 3px;
            padding-right: 3px;
        }

        .amount-cell-input[b-59p7qxxdq1] {
            font-size: 14px;
            padding-left: 3px;
            padding-right: 3px;
        }

        .delete-row-btn[b-59p7qxxdq1] {
            width: 28px;
            height: 28px;
            font-size: 23px;
            line-height: 24px;
        }

        .thai-yiki-actions-row button[b-59p7qxxdq1] {
            font-size: 15px;
        }

        .thai-total-strip b[b-59p7qxxdq1] {
            font-size: 22px;
        }

        .thai-final-confirm-actions button[b-59p7qxxdq1] {
            font-size: 20px;
        }
    }

    @media (max-width: 360px) {
        .thai-compact-footer[b-59p7qxxdq1] {
            grid-template-columns: 1fr;
        }

        .thai-compact-actions[b-59p7qxxdq1] {
            grid-template-columns: 1fr 1fr;
        }

        .thai-compact-actions button[b-59p7qxxdq1] {
            width: 100%;
        }

        .thai-price-group-top[b-59p7qxxdq1] {
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .thai-price-group-top input[b-59p7qxxdq1],
        .thai-price-group-top button[b-59p7qxxdq1] {
            border: 1px solid #cfd5dc;
            border-radius: 10px;
        }


        .thai-yiki-table[b-59p7qxxdq1] {
            font-size: 12px;
        }

        .thai-yiki-table th[b-59p7qxxdq1] {
            font-size: 11px;
            font-weight: 850;
        }

        .thai-yiki-table td.num[b-59p7qxxdq1],
        .thai-yiki-table td.win[b-59p7qxxdq1],
        .amount-cell-input[b-59p7qxxdq1] {
            font-size: 13px;
        }

        .delete-row-btn[b-59p7qxxdq1] {
            width: 24px;
            height: 24px;
            font-size: 20px;
            line-height: 20px;
        }

        .thai-yiki-actions-row[b-59p7qxxdq1],
        .thai-total-strip[b-59p7qxxdq1] {
            grid-template-columns: 1fr;
        }

        .thai-total-strip > div + div[b-59p7qxxdq1] {
            margin-top: 12px;
            padding-top: 12px;
            border-left: 0;
            border-top: 2px solid #dce5f1;
        }
    }


    /* Thai Lotto: make bet selection font/layout closer to Yiki screen */
    .thai-buy-page[b-59p7qxxdq1],
    .thai-buy-page *[b-59p7qxxdq1] {
        font-family: "Kanit", "Prompt", "Noto Sans Thai", "Tahoma", sans-serif !important;
        letter-spacing: 0 !important;
    }

    .thai-buy-page .main-tabs[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs[b-59p7qxxdq1] {
        background: #fff !important;
        padding: 0 12px !important;
        gap: 18px !important;
        border-radius: 0 !important;
    }

    .thai-buy-page .main-tabs button[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs button[b-59p7qxxdq1] {
        min-height: 50px !important;
        border-radius: 0 !important;
        border: 0 !important;
        border-bottom: 3px solid transparent !important;
        color: #263348 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 19px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
    }

    .thai-buy-page .main-tabs button.active[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs button.active[b-59p7qxxdq1] {
        color: #123ac7 !important;
        background: transparent !important;
        border-bottom-color: #644cf6 !important;
    }

    .thai-buy-page .section-head[b-59p7qxxdq1] {
        display: none !important;
    }

    .thai-buy-page .type-scroll[b-59p7qxxdq1] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
        padding: 8px 12px 6px !important;
        background: #fff !important;
    }

    .thai-buy-page .type-card[b-59p7qxxdq1] {
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        padding: 0 6px !important;
        border-radius: 5px !important;
        border: 1px solid #333 !important;
        color: #000 !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: 0 !important;
    }

    .thai-buy-page .type-card.active[b-59p7qxxdq1] {
        color: #fff !important;
        border-color: #1f8f1f !important;
        background: #21931f !important;
        box-shadow: none !important;
    }

    .thai-buy-page .type-code[b-59p7qxxdq1] {
        display: none !important;
    }

    .thai-buy-page .type-name[b-59p7qxxdq1] {
        display: inline !important;
        min-height: 0 !important;
        color: inherit !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    .thai-buy-page .type-card em[b-59p7qxxdq1] {
        display: inline !important;
        margin: 0 !important;
        color: #6988ff !important;
        font-size: 13px !important;
        line-height: 1 !important;
        font-style: normal !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    .thai-buy-page .type-card.active em[b-59p7qxxdq1],
    .thai-buy-page .type-card.active .type-name[b-59p7qxxdq1] {
        color: #fff !important;
    }

    .thai-buy-page .content-card[b-59p7qxxdq1] {
        margin: 0 12px !important;
        border-radius: 0 !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .thai-buy-page .tab-body[b-59p7qxxdq1] {
        padding: 0 0 96px !important;
        background: #fff !important;
    }

    .thai-buy-page .panel-header-row[b-59p7qxxdq1] {
        padding: 10px 0 4px !important;
    }

    .thai-buy-page .panel-header-row b[b-59p7qxxdq1],
    .thai-buy-page .prefix-title span[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title span[b-59p7qxxdq1] {
        color: #24314a !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }

    .thai-buy-page .panel-header-row span[b-59p7qxxdq1],
    .thai-buy-page .mini-link[b-59p7qxxdq1],
    .thai-buy-page .prefix-title b[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title b[b-59p7qxxdq1] {
        display: none !important;
    }

    .thai-buy-page .prefix-panel[b-59p7qxxdq1],
    .thai-buy-page .number-panel[b-59p7qxxdq1] {
        margin: 10px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
    }

    .thai-buy-page .prefix-title[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title[b-59p7qxxdq1] {
        display: block !important;
        margin: 0 0 6px !important;
        color: #24314a !important;
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    .thai-buy-page .prefix-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid[b-59p7qxxdq1] {
        gap: 2px !important;
    }

    .thai-buy-page .prefix-grid.three-prefix[b-59p7qxxdq1],
    .thai-buy-page .prefix-grid.two-prefix[b-59p7qxxdq1],
    .thai-buy-page .number-grid.three-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid.two-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid.run-grid[b-59p7qxxdq1] {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    .thai-buy-page .prefix-btn[b-59p7qxxdq1],
    .thai-buy-page .number-btn[b-59p7qxxdq1] {
        min-height: 44px !important;
        border-radius: 0 !important;
        border: 1px solid #cfcfcf !important;
        color: #000 !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    .thai-buy-page .number-main[b-59p7qxxdq1] {
        color: #000 !important;
        font-size: 18px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
    }

    .thai-buy-page .prefix-btn.active[b-59p7qxxdq1],
    .thai-buy-page .number-btn.active[b-59p7qxxdq1] {
        color: #fff !important;
        border-color: #21931f !important;
        background: #21931f !important;
        box-shadow: none !important;
    }

    .thai-buy-page .number-btn.active .number-main[b-59p7qxxdq1] {
        color: #fff !important;
    }

    .thai-buy-page .random-btn[b-59p7qxxdq1] {
        border-radius: 5px !important;
        background: #f5f5f5 !important;
        color: #123ac7 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    .thai-buy-page .thai-compact-summary span[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-summary b[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-summary em[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-actions button[b-59p7qxxdq1] {
        font-family: "Kanit", "Prompt", "Noto Sans Thai", "Tahoma", sans-serif !important;
        font-weight: 700 !important;
    }

    @media (max-width: 430px) {
        .thai-buy-page .content-card[b-59p7qxxdq1] {
            margin-left: 12px !important;
            margin-right: 12px !important;
        }

        .thai-buy-page .type-scroll[b-59p7qxxdq1] {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        }

        .thai-buy-page .type-name[b-59p7qxxdq1] {
            font-size: 14px !important;
        }

        .thai-buy-page .type-card em[b-59p7qxxdq1] {
            font-size: 12px !important;
        }

        .thai-buy-page .prefix-grid.three-prefix[b-59p7qxxdq1],
        .thai-buy-page .prefix-grid.two-prefix[b-59p7qxxdq1],
        .thai-buy-page .number-grid.three-grid[b-59p7qxxdq1],
        .thai-buy-page .number-grid.two-grid[b-59p7qxxdq1],
        .thai-buy-page .number-grid.run-grid[b-59p7qxxdq1] {
            grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        }
    }



    /* ===== 2026-06-23: make Thai bottom white footer frame shorter ===== */
    .thai-compact-footer[b-59p7qxxdq1] {
        gap: 8px !important;
        padding: 8px 10px 10px !important;
        border-radius: 18px !important;
    }

    .thai-compact-summary[b-59p7qxxdq1] {
        padding: 4px 8px !important;
    }

    .thai-compact-summary span[b-59p7qxxdq1] {
        font-size: 11px !important;
        line-height: 1.05 !important;
        margin-bottom: 2px !important;
    }

    .thai-compact-summary b[b-59p7qxxdq1] {
        font-size: 14px !important;
        line-height: 1.08 !important;
        margin-bottom: 2px !important;
    }

    .thai-compact-summary em[b-59p7qxxdq1] {
        font-size: 11px !important;
        line-height: 1.08 !important;
    }

    .thai-compact-actions[b-59p7qxxdq1] {
        gap: 6px !important;
    }

    .thai-compact-actions button[b-59p7qxxdq1] {
        min-width: 90px !important;
        min-height: 42px !important;
        border-radius: 14px !important;
        padding: 0 10px !important;
        font-size: 13px !important;
    }

    @media (max-width: 430px) {
        .thai-compact-footer[b-59p7qxxdq1] {
            padding: 7px 8px 9px !important;
            gap: 6px !important;
            border-radius: 16px !important;
        }

        .thai-compact-summary[b-59p7qxxdq1] {
            padding: 3px 6px !important;
        }

        .thai-compact-actions[b-59p7qxxdq1] {
            gap: 5px !important;
        }

        .thai-compact-actions button[b-59p7qxxdq1] {
            min-width: 84px !important;
            min-height: 38px !important;
            border-radius: 12px !important;
            padding: 0 8px !important;
            font-size: 12px !important;
        }
    }


    /* ===== FIX 2026-06-26: Thai government page - stable Yiki-like layout, no narrow blue shell ===== */
    .thai-buy-page[b-59p7qxxdq1] {
        min-height: calc(100vh - 70px) !important;
        padding: 12px 12px calc(138px + env(safe-area-inset-bottom)) !important;
        color: #0f172a !important;
        background: radial-gradient(circle at 82% 12%, rgba(96, 165, 250, .32), transparent 28%), linear-gradient(180deg, #062b83 0%, #0641c7 42%, #062c85 76%, #071944 100%) !important;
        overflow-x: hidden !important;
    }

    .thai-buy-page[b-59p7qxxdq1],
    .thai-buy-page button[b-59p7qxxdq1],
    .thai-buy-page input[b-59p7qxxdq1],
    .thai-buy-page textarea[b-59p7qxxdq1],
    .thai-buy-page select[b-59p7qxxdq1] {
        font-family: "Kanit", "Prompt", "Noto Sans Thai", Tahoma, sans-serif !important;
        letter-spacing: 0 !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .thai-buy-shell[b-59p7qxxdq1] {
        width: 100% !important;
        max-width: 980px !important;
        min-height: auto !important;
        margin: 0 auto !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .thai-buy-page .buy-header[b-59p7qxxdq1],
    .thai-buy-page .round-info-card[b-59p7qxxdq1],
    .thai-buy-page .main-tabs-card[b-59p7qxxdq1],
    .thai-buy-page .content-card[b-59p7qxxdq1] {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 22px !important;
        border: 1px solid rgba(226, 232, 240, .92) !important;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .18) !important;
        overflow: hidden !important;
    }

    .thai-buy-page .buy-header[b-59p7qxxdq1] {
        min-height: 72px !important;
        display: grid !important;
        grid-template-columns: 46px minmax(0, 1fr) 46px !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
        padding: 13px !important;
        color: #0f172a !important;
        background: rgba(255, 255, 255, .97) !important;
    }

    .thai-buy-page .buy-back-btn[b-59p7qxxdq1],
    .thai-buy-page .buy-help-btn[b-59p7qxxdq1] {
        width: 42px !important;
        height: 42px !important;
        border: 0 !important;
        border-radius: 14px !important;
        background: #eff6ff !important;
        color: #1d4ed8 !important;
        box-shadow: none !important;
    }

    .thai-buy-page .buy-title[b-59p7qxxdq1] {
        color: #0f172a !important;
        font-size: 20px !important;
        line-height: 1.15 !important;
        font-weight: 650 !important;
    }

    .thai-buy-page .buy-subtitle[b-59p7qxxdq1] {
        color: #64748b !important;
        font-size: 13px !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .round-info-card[b-59p7qxxdq1] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
        padding: 10px !important;
        background: rgba(255, 255, 255, .13) !important;
        border-color: rgba(255, 255, 255, .18) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16) !important;
    }

    .thai-buy-page .time-box[b-59p7qxxdq1] {
        min-height: 104px !important;
        border-radius: 18px !important;
        padding: 12px 10px !important;
        text-align: center !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .thai-buy-page .time-box.bet-time[b-59p7qxxdq1] {
        background: linear-gradient(135deg, #ef4444, #f97316) !important;
        color: #fff !important;
    }

    .thai-buy-page .time-box.result-time[b-59p7qxxdq1] {
        background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
        color: #fff !important;
    }

    .thai-buy-page .time-box span[b-59p7qxxdq1],
    .thai-buy-page .time-box em[b-59p7qxxdq1] {
        color: rgba(255, 255, 255, .88) !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        font-style: normal !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .time-box b[b-59p7qxxdq1] {
        display: block !important;
        margin: 4px 0 !important;
        color: #fff !important;
        font-size: clamp(18px, 2.4vw, 25px) !important;
        line-height: 1.05 !important;
        font-weight: 650 !important;
        white-space: nowrap !important;
    }

    .thai-buy-page .main-tabs-card[b-59p7qxxdq1],
    .thai-buy-page .content-card[b-59p7qxxdq1] {
        margin-bottom: 12px !important;
        background: rgba(255, 255, 255, .98) !important;
        color: #0f172a !important;
    }

    .thai-buy-page .main-tabs[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs[b-59p7qxxdq1] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border-radius: 0 !important;
    }

    .thai-buy-page .main-tabs button[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs button[b-59p7qxxdq1] {
        min-height: 54px !important;
        border: 0 !important;
        border-radius: 0 !important;
        border-bottom: 3px solid transparent !important;
        background: #fff !important;
        color: #334155 !important;
        box-shadow: none !important;
        font-size: 18px !important;
        line-height: 1.1 !important;
        font-weight: 650 !important;
    }

    .thai-buy-page .main-tabs button.active[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs button.active[b-59p7qxxdq1] {
        color: #1d4ed8 !important;
        background: #eff6ff !important;
        border-bottom-color: #1d4ed8 !important;
    }

    .thai-buy-page .section-head[b-59p7qxxdq1],
    .thai-buy-page .panel-header-row[b-59p7qxxdq1],
    .thai-buy-page .prefix-title[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title[b-59p7qxxdq1] {
        padding: 12px 12px 8px !important;
        margin: 0 !important;
        color: #0f172a !important;
    }

    .thai-buy-page .section-head b[b-59p7qxxdq1],
    .thai-buy-page .panel-header-row b[b-59p7qxxdq1],
    .thai-buy-page .prefix-title span[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title span[b-59p7qxxdq1] {
        color: #08275e !important;
        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 650 !important;
    }

    .thai-buy-page .section-head span[b-59p7qxxdq1],
    .thai-buy-page .panel-header-row span[b-59p7qxxdq1],
    .thai-buy-page .prefix-title b[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title b[b-59p7qxxdq1],
    .thai-buy-page .section-head em[b-59p7qxxdq1] {
        color: #72819b !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .type-scroll[b-59p7qxxdq1] {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 0 12px 12px !important;
        overflow: visible !important;
        background: #fff !important;
    }

    .thai-buy-page .type-card[b-59p7qxxdq1] {
        min-width: 0 !important;
        min-height: 64px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 3px !important;
        padding: 9px 10px !important;
        border: 1px solid #d7e5ff !important;
        border-radius: 12px !important;
        background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%) !important;
        color: #09275d !important;
        box-shadow: 0 6px 18px rgba(10, 58, 140, .06) !important;
    }

    .thai-buy-page .type-card.active[b-59p7qxxdq1] {
        background: #0b5cff !important;
        border-color: #0b5cff !important;
        color: #fff !important;
        box-shadow: 0 8px 18px rgba(11, 92, 255, .22) !important;
    }

    .thai-buy-page .type-code[b-59p7qxxdq1] {
        display: none !important;
    }

    .thai-buy-page .type-name[b-59p7qxxdq1] {
        color: inherit !important;
        font-size: 15px !important;
        line-height: 1.15 !important;
        font-weight: 650 !important;
        white-space: nowrap !important;
    }

    .thai-buy-page .type-card em[b-59p7qxxdq1] {
        margin: 0 !important;
        color: #72819b !important;
        font-size: 12px !important;
        line-height: 1.15 !important;
        font-style: normal !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .type-card.active em[b-59p7qxxdq1] {
        color: rgba(255, 255, 255, .88) !important;
    }

    .thai-buy-page .tab-body[b-59p7qxxdq1],
    .thai-buy-page .prefix-panel[b-59p7qxxdq1],
    .thai-buy-page .number-panel[b-59p7qxxdq1] {
        padding: 0 12px 12px !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .thai-buy-page .prefix-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid[b-59p7qxxdq1] {
        display: grid !important;
        gap: 6px !important;
    }

    .thai-buy-page .prefix-grid.three-prefix[b-59p7qxxdq1],
    .thai-buy-page .prefix-grid.two-prefix[b-59p7qxxdq1],
    .thai-buy-page .number-grid.three-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid.two-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid.run-grid[b-59p7qxxdq1] {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    .thai-buy-page .prefix-btn[b-59p7qxxdq1],
    .thai-buy-page .number-btn[b-59p7qxxdq1],
    .thai-buy-page .keypad-grid button[b-59p7qxxdq1] {
        min-height: 38px !important;
        border: 1px solid #0b63ff !important;
        border-radius: 8px !important;
        background: #fff !important;
        color: #0b5cff !important;
        box-shadow: none !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 650 !important;
    }

    .thai-buy-page .number-main[b-59p7qxxdq1] {
        color: inherit !important;
        font-size: 15px !important;
        font-weight: 650 !important;
    }

    .thai-buy-page .prefix-btn.active[b-59p7qxxdq1],
    .thai-buy-page .number-btn.active[b-59p7qxxdq1],
    .thai-buy-page .keypad-grid button:active[b-59p7qxxdq1] {
        background: #0b5cff !important;
        border-color: #0b5cff !important;
        color: #fff !important;
        box-shadow: 0 5px 12px rgba(11, 92, 255, .2) !important;
    }

    .thai-buy-page .number-btn.active .number-main[b-59p7qxxdq1] {
        color: #fff !important;
    }

    .thai-buy-page .random-btn[b-59p7qxxdq1],
    .thai-buy-page .mini-link[b-59p7qxxdq1] {
        border-radius: 12px !important;
        border: 1px solid #cfe0ff !important;
        background: #eef5ff !important;
        color: #0b5cff !important;
        font-size: 13px !important;
        font-weight: 650 !important;
        box-shadow: none !important;
    }

    .thai-buy-page .buy-footer[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-footer[b-59p7qxxdq1] {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        bottom: 78px !important;
        width: calc(100% - 24px) !important;
        max-width: 980px !important;
        min-height: 74px !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        border-radius: 22px !important;
        border: 1px solid rgba(226, 232, 240, .92) !important;
        background: rgba(255, 255, 255, .98) !important;
        color: #0f172a !important;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .24) !important;
        z-index: 900 !important;
    }

    .thai-buy-page .footer-summary[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-summary[b-59p7qxxdq1] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        text-align: left !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .thai-buy-page .footer-summary span[b-59p7qxxdq1],
    .thai-buy-page .footer-summary em[b-59p7qxxdq1] {
        display: block !important;
        color: #64748b !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-style: normal !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .footer-summary b[b-59p7qxxdq1] {
        display: block !important;
        color: #0f172a !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
        font-weight: 650 !important;
    }

    .thai-buy-page .footer-actions[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-actions[b-59p7qxxdq1] {
        flex: 0 0 auto !important;
        display: flex !important;
        gap: 8px !important;
    }

    .thai-buy-page .footer-actions button[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-actions button[b-59p7qxxdq1] {
        min-width: 96px !important;
        min-height: 44px !important;
        border-radius: 16px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
        font-weight: 650 !important;
    }

    .thai-buy-page .rebet-footer-btn[b-59p7qxxdq1] {
        border: 1px solid #f59e0b !important;
        background: #fff !important;
        color: #ea580c !important;
    }

    .thai-buy-page .price-footer-btn[b-59p7qxxdq1] {
        border: 0 !important;
        background: linear-gradient(135deg, #facc15, #f59e0b) !important;
        color: #111827 !important;
    }

    @media (max-width: 720px) {
        .thai-buy-page[b-59p7qxxdq1] {
            padding-left: 8px !important;
            padding-right: 8px !important;
        }

        .thai-buy-page .thai-buy-shell[b-59p7qxxdq1] {
            max-width: none !important;
        }

        .thai-buy-page .type-scroll[b-59p7qxxdq1] {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        .thai-buy-page .round-info-card[b-59p7qxxdq1] {
            gap: 8px !important;
            padding: 8px !important;
        }

        .thai-buy-page .time-box[b-59p7qxxdq1] {
            min-height: 96px !important;
            padding: 10px 8px !important;
        }

        .thai-buy-page .buy-footer[b-59p7qxxdq1],
        .thai-buy-page .thai-compact-footer[b-59p7qxxdq1] {
            width: calc(100% - 16px) !important;
            bottom: 76px !important;
            padding: 8px !important;
            gap: 7px !important;
        }

        .thai-buy-page .footer-actions button[b-59p7qxxdq1],
        .thai-buy-page .thai-compact-actions button[b-59p7qxxdq1] {
            min-width: 82px !important;
            min-height: 40px !important;
            padding: 0 8px !important;
            font-size: 12px !important;
        }
    }



    /* ===== PATCH 2026-06-26: Thai government style like Lao mockup - CSS only, no behavior changes ===== */
    .thai-buy-page[b-59p7qxxdq1] {
        min-height: 100vh !important;
        padding: 18px 18px calc(150px + env(safe-area-inset-bottom)) !important;
        background:
            radial-gradient(circle at 82% 8%, rgba(72, 153, 255, .42), transparent 30%),
            linear-gradient(180deg, #0a3aa0 0%, #0752dc 44%, #07339a 72%, #061d60 100%) !important;
        color: #071d49 !important;
        overflow-x: hidden !important;
    }

    .thai-buy-page[b-59p7qxxdq1],
    .thai-buy-page button[b-59p7qxxdq1],
    .thai-buy-page input[b-59p7qxxdq1],
    .thai-buy-page textarea[b-59p7qxxdq1],
    .thai-buy-page select[b-59p7qxxdq1] {
        font-family: "Kanit", "Prompt", "Noto Sans Thai", Tahoma, sans-serif !important;
        letter-spacing: 0 !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .thai-buy-shell[b-59p7qxxdq1] {
        width: 100% !important;
        max-width: 980px !important;
        min-height: auto !important;
        margin: 0 auto !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Header: keep the existing back/help buttons, only restyle them */
    .thai-buy-page .buy-header[b-59p7qxxdq1] {
        min-height: 76px !important;
        display: grid !important;
        grid-template-columns: 56px minmax(0, 1fr) 56px !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        color: #fff !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .thai-buy-page .buy-back-btn[b-59p7qxxdq1],
    .thai-buy-page .buy-help-btn[b-59p7qxxdq1] {
        width: 54px !important;
        height: 54px !important;
        border: 1px solid rgba(255, 255, 255, .22) !important;
        border-radius: 18px !important;
        color: #fff !important;
        background: rgba(255, 255, 255, .15) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.12) !important;
        backdrop-filter: blur(8px) !important;
        cursor: pointer !important;
    }

    .thai-buy-page .buy-back-btn[b-59p7qxxdq1] {
        font-size: 38px !important;
        line-height: 46px !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .buy-help-btn[b-59p7qxxdq1] {
        font-size: 20px !important;
        line-height: 1 !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .buy-title-wrap[b-59p7qxxdq1] {
        min-width: 0 !important;
    }

    .thai-buy-page .buy-title[b-59p7qxxdq1] {
        color: #fff !important;
        font-size: clamp(30px, 5vw, 42px) !important;
        line-height: 1.05 !important;
        font-weight: 600 !important;
        text-shadow: 0 7px 20px rgba(0,0,0,.18) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .thai-buy-page .buy-subtitle[b-59p7qxxdq1] {
        margin-top: 5px !important;
        color: rgba(255,255,255,.88) !important;
        font-size: 15px !important;
        font-weight: 400 !important;
    }

    /* Time cards */
    .thai-buy-page .round-info-card[b-59p7qxxdq1] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .thai-buy-page .time-box[b-59p7qxxdq1] {
        min-height: 142px !important;
        justify-content: center !important;
        padding: 24px 26px !important;
        border-radius: 28px !important;
        border: 1px solid rgba(255,255,255,.86) !important;
        background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
        color: #071d49 !important;
        text-align: left !important;
        box-shadow: 0 16px 34px rgba(2, 18, 64, .22) !important;
    }

    .thai-buy-page .time-box.bet-time[b-59p7qxxdq1],
    .thai-buy-page .time-box.result-time[b-59p7qxxdq1] {
        background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
        color: #071d49 !important;
        border-color: rgba(255,255,255,.86) !important;
    }

    .thai-buy-page .time-box span[b-59p7qxxdq1],
    .thai-buy-page .time-box em[b-59p7qxxdq1],
    .thai-buy-page .time-box.bet-time span[b-59p7qxxdq1],
    .thai-buy-page .time-box.bet-time em[b-59p7qxxdq1],
    .thai-buy-page .time-box.result-time span[b-59p7qxxdq1],
    .thai-buy-page .time-box.result-time em[b-59p7qxxdq1] {
        color: #6f7d90 !important;
        font-size: 17px !important;
        line-height: 1.22 !important;
        font-style: normal !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .time-box b[b-59p7qxxdq1] {
        display: block !important;
        margin: 10px 0 8px !important;
        color: #145fe7 !important;
        font-size: clamp(30px, 4.5vw, 42px) !important;
        line-height: 1 !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
    }

    .thai-buy-page .time-box.result-time b[b-59p7qxxdq1] {
        color: #f97316 !important;
    }

    /* Tabs */
    .thai-buy-page .main-tabs-card[b-59p7qxxdq1],
    .thai-buy-page .content-card[b-59p7qxxdq1] {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 18px !important;
        border-radius: 30px !important;
        border: 1px solid rgba(255,255,255,.88) !important;
        background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,251,255,.99)) !important;
        box-shadow: 0 18px 38px rgba(2, 18, 64, .20) !important;
        overflow: hidden !important;
    }

    .thai-buy-page .main-tabs[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs[b-59p7qxxdq1] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 !important;
        padding: 14px !important;
        border-radius: 30px !important;
        background: rgba(255,255,255,.88) !important;
    }

    .thai-buy-page .main-tabs button[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs button[b-59p7qxxdq1] {
        min-height: 74px !important;
        border: 0 !important;
        border-radius: 24px !important;
        background: transparent !important;
        color: #071d49 !important;
        box-shadow: none !important;
        font-size: 25px !important;
        line-height: 1 !important;
        font-weight: 400 !important;
        cursor: pointer !important;
    }

    .thai-buy-page .main-tabs button.active[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs button.active[b-59p7qxxdq1] {
        color: #fff !important;
        background: linear-gradient(135deg, #1063ff 0%, #0fb4ff 100%) !important;
        border: 0 !important;
        box-shadow: 0 12px 28px rgba(14, 112, 255, .30) !important;
    }

    .thai-buy-page .main-tabs button span[b-59p7qxxdq1],
    .thai-buy-page .sub-tabs button span[b-59p7qxxdq1] {
        font-size: .84em !important;
        font-weight: 300 !important;
    }

    /* Content cards */
    .thai-buy-page .content-card[b-59p7qxxdq1] {
        position: relative !important;
        padding: 0 !important;
    }

    .thai-buy-page .content-card[b-59p7qxxdq1]::before {
        content: "" !important;
        position: absolute !important;
        left: 28px !important;
        right: 28px !important;
        top: 0 !important;
        height: 5px !important;
        border-radius: 999px !important;
        background: linear-gradient(90deg, #1268ff, #21c1ff 70%, #f59e0b) !important;
        pointer-events: none !important;
    }

    .thai-buy-page .section-head[b-59p7qxxdq1],
    .thai-buy-page .panel-header-row[b-59p7qxxdq1] {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 14px !important;
        padding: 42px 28px 20px !important;
        margin: 0 !important;
        color: #071d49 !important;
    }

    .thai-buy-page .section-head b[b-59p7qxxdq1],
    .thai-buy-page .panel-header-row b[b-59p7qxxdq1] {
        display: block !important;
        color: #071d49 !important;
        font-size: clamp(24px, 3.5vw, 34px) !important;
        line-height: 1.15 !important;
        font-weight: 500 !important;
    }

    .thai-buy-page .section-head span[b-59p7qxxdq1],
    .thai-buy-page .panel-header-row span[b-59p7qxxdq1] {
        display: block !important;
        margin-top: 10px !important;
        color: #6b7280 !important;
        font-size: 18px !important;
        line-height: 1.35 !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .section-head em[b-59p7qxxdq1] {
        flex: 0 0 auto !important;
        padding: 10px 16px !important;
        border-radius: 999px !important;
        color: #1d4ed8 !important;
        background: #eaf3ff !important;
        font-size: 15px !important;
        font-style: normal !important;
        font-weight: 300 !important;
    }

    /* Bet type cards */
    .thai-buy-page .type-scroll[b-59p7qxxdq1] {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
        padding: 0 28px 28px !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .thai-buy-page .type-card[b-59p7qxxdq1] {
        min-width: 0 !important;
        min-height: 112px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 18px 10px !important;
        border: 1px solid #b7c0cd !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        color: #071d49 !important;
        text-align: center !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    .thai-buy-page .type-card.active[b-59p7qxxdq1] {
        background: #1400b8 !important;
        border-color: #1400b8 !important;
        color: #fff !important;
        box-shadow: 0 10px 22px rgba(20, 0, 184, .22) !important;
    }

    .thai-buy-page .type-code[b-59p7qxxdq1] {
        display: none !important;
    }

    .thai-buy-page .type-name[b-59p7qxxdq1] {
        min-height: auto !important;
        color: inherit !important;
        font-size: clamp(22px, 3vw, 28px) !important;
        line-height: 1.08 !important;
        font-weight: 400 !important;
        white-space: normal !important;
    }

    .thai-buy-page .type-card em[b-59p7qxxdq1] {
        display: block !important;
        margin: 0 !important;
        color: #4776ff !important;
        font-size: 18px !important;
        line-height: 1.1 !important;
        font-style: normal !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .type-card.active em[b-59p7qxxdq1] {
        color: rgba(255,255,255,.92) !important;
    }

    /* Panel */
    .thai-buy-page .tab-body[b-59p7qxxdq1],
    .thai-buy-page .prefix-panel[b-59p7qxxdq1],
    .thai-buy-page .number-panel[b-59p7qxxdq1] {
        padding: 0 28px 28px !important;
        margin: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .thai-buy-page .prefix-panel[b-59p7qxxdq1],
    .thai-buy-page .number-panel[b-59p7qxxdq1] {
        padding-top: 0 !important;
    }

    .thai-buy-page .prefix-title[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title[b-59p7qxxdq1] {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
        color: #071d49 !important;
        font-size: 18px !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .prefix-title span[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title span[b-59p7qxxdq1],
    .thai-buy-page .prefix-title b[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title b[b-59p7qxxdq1] {
        color: #071d49 !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .prefix-title b[b-59p7qxxdq1],
    .thai-buy-page .number-panel-title b[b-59p7qxxdq1] {
        color: #2563eb !important;
    }

    .thai-buy-page .prefix-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid[b-59p7qxxdq1] {
        display: grid !important;
        gap: 12px !important;
    }

    .thai-buy-page .prefix-grid.three-prefix[b-59p7qxxdq1],
    .thai-buy-page .prefix-grid.two-prefix[b-59p7qxxdq1],
    .thai-buy-page .number-grid.three-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid.two-grid[b-59p7qxxdq1],
    .thai-buy-page .number-grid.run-grid[b-59p7qxxdq1] {
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    }

    .thai-buy-page .prefix-btn[b-59p7qxxdq1],
    .thai-buy-page .number-btn[b-59p7qxxdq1],
    .thai-buy-page .keypad-grid button[b-59p7qxxdq1] {
        min-height: 64px !important;
        border: 1px solid #cfd8e6 !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        color: #0f2348 !important;
        box-shadow: none !important;
        font-size: 20px !important;
        line-height: 1 !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .number-main[b-59p7qxxdq1] {
        color: inherit !important;
        font-size: 20px !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .prefix-btn.active[b-59p7qxxdq1],
    .thai-buy-page .number-btn.active[b-59p7qxxdq1],
    .thai-buy-page .keypad-grid button:active[b-59p7qxxdq1] {
        background: #1400b8 !important;
        border-color: #1400b8 !important;
        color: #fff !important;
        box-shadow: 0 9px 18px rgba(20, 0, 184, .20) !important;
    }

    .thai-buy-page .number-btn.active .number-main[b-59p7qxxdq1] {
        color: #fff !important;
    }

    .thai-buy-page .limit-badge[b-59p7qxxdq1] {
        font-size: 11px !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .mini-link[b-59p7qxxdq1],
    .thai-buy-page .random-btn[b-59p7qxxdq1] {
        min-height: 48px !important;
        border: 1px solid #d5e4ff !important;
        border-radius: 18px !important;
        background: #eef5ff !important;
        color: #2563eb !important;
        font-size: 16px !important;
        font-weight: 300 !important;
        box-shadow: none !important;
    }

    .thai-buy-page .manual-display[b-59p7qxxdq1] {
        min-height: 86px !important;
        margin: 0 28px 20px !important;
        border-radius: 22px !important;
        color: #145fe7 !important;
        background: #f4f8ff !important;
        border: 1px solid #d9e6fa !important;
        font-size: 42px !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .keypad-grid[b-59p7qxxdq1] {
        gap: 12px !important;
        padding: 0 28px 28px !important;
    }

    .thai-buy-page .message-bar[b-59p7qxxdq1],
    .thai-buy-page .safe-note[b-59p7qxxdq1] {
        margin: 0 0 18px !important;
        border-radius: 20px !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .safe-bottom-space[b-59p7qxxdq1] {
        height: 150px !important;
    }

    /* Footer */
    .thai-buy-page .buy-footer[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-footer[b-59p7qxxdq1] {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        bottom: 78px !important;
        width: min(calc(100% - 36px), 980px) !important;
        min-height: 94px !important;
        transform: translateX(-50%) !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 16px !important;
        padding: 16px 18px !important;
        border-radius: 28px !important;
        border: 1px solid rgba(255,255,255,.86) !important;
        background: rgba(255,255,255,.98) !important;
        color: #071d49 !important;
        box-shadow: 0 -14px 34px rgba(2, 18, 64, .28) !important;
        z-index: 900 !important;
        backdrop-filter: blur(12px) !important;
    }

    .thai-buy-page .footer-summary[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-summary[b-59p7qxxdq1] {
        width: 100% !important;
        min-width: 0 !important;
        display: block !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-align: left !important;
    }

    .thai-buy-page .footer-summary span[b-59p7qxxdq1],
    .thai-buy-page .footer-summary em[b-59p7qxxdq1] {
        display: block !important;
        color: #71829b !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
        font-style: normal !important;
        font-weight: 300 !important;
    }

    .thai-buy-page .footer-summary b[b-59p7qxxdq1] {
        display: block !important;
        margin: 6px 0 4px !important;
        color: #071d49 !important;
        font-size: 20px !important;
        line-height: 1.15 !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .footer-actions[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-actions[b-59p7qxxdq1] {
        display: flex !important;
        flex: 0 0 auto !important;
        gap: 14px !important;
        margin: 0 !important;
    }

    .thai-buy-page .footer-actions button[b-59p7qxxdq1],
    .thai-buy-page .thai-compact-actions button[b-59p7qxxdq1] {
        min-width: 170px !important;
        min-height: 62px !important;
        border-radius: 20px !important;
        padding: 0 22px !important;
        font-size: 20px !important;
        line-height: 1 !important;
        font-weight: 400 !important;
        white-space: nowrap !important;
    }

    .thai-buy-page .rebet-footer-btn[b-59p7qxxdq1] {
        border: 1px solid #145fe7 !important;
        background: #ffffff !important;
        color: #145fe7 !important;
    }

    .thai-buy-page .price-footer-btn[b-59p7qxxdq1] {
        border: 0 !important;
        background: linear-gradient(135deg, #1268ff 0%, #12b8ff 100%) !important;
        color: #fff !important;
        box-shadow: 0 12px 28px rgba(18,104,255,.30) !important;
    }

    .thai-buy-page .detail-card[b-59p7qxxdq1],
    .thai-buy-page .detail-note[b-59p7qxxdq1],
    .thai-buy-page .detail-row[b-59p7qxxdq1] {
        font-weight: 300 !important;
    }

    @media (max-width: 860px) {
        .thai-buy-page[b-59p7qxxdq1] {
            padding: 12px 8px calc(142px + env(safe-area-inset-bottom)) !important;
        }

        .thai-buy-page .buy-header[b-59p7qxxdq1] {
            grid-template-columns: 50px minmax(0, 1fr) 50px !important;
            min-height: 64px !important;
            margin-bottom: 12px !important;
        }

        .thai-buy-page .buy-back-btn[b-59p7qxxdq1],
        .thai-buy-page .buy-help-btn[b-59p7qxxdq1] {
            width: 48px !important;
            height: 48px !important;
            border-radius: 16px !important;
        }

        .thai-buy-page .buy-title[b-59p7qxxdq1] {
            font-size: 30px !important;
        }

        .thai-buy-page .buy-subtitle[b-59p7qxxdq1] {
            font-size: 13px !important;
        }

        .thai-buy-page .round-info-card[b-59p7qxxdq1] {
            gap: 10px !important;
            margin-bottom: 12px !important;
        }

        .thai-buy-page .time-box[b-59p7qxxdq1] {
            min-height: 112px !important;
            padding: 16px 14px !important;
            border-radius: 22px !important;
        }

        .thai-buy-page .time-box span[b-59p7qxxdq1],
        .thai-buy-page .time-box em[b-59p7qxxdq1] {
            font-size: 13px !important;
        }

        .thai-buy-page .time-box b[b-59p7qxxdq1] {
            font-size: 26px !important;
        }

        .thai-buy-page .main-tabs-card[b-59p7qxxdq1],
        .thai-buy-page .content-card[b-59p7qxxdq1] {
            margin-bottom: 12px !important;
            border-radius: 24px !important;
        }

        .thai-buy-page .main-tabs[b-59p7qxxdq1],
        .thai-buy-page .sub-tabs[b-59p7qxxdq1] {
            padding: 10px !important;
        }

        .thai-buy-page .main-tabs button[b-59p7qxxdq1],
        .thai-buy-page .sub-tabs button[b-59p7qxxdq1] {
            min-height: 58px !important;
            border-radius: 18px !important;
            font-size: 20px !important;
        }

        .thai-buy-page .section-head[b-59p7qxxdq1],
        .thai-buy-page .panel-header-row[b-59p7qxxdq1] {
            padding: 28px 18px 16px !important;
        }

        .thai-buy-page .section-head b[b-59p7qxxdq1],
        .thai-buy-page .panel-header-row b[b-59p7qxxdq1] {
            font-size: 24px !important;
        }

        .thai-buy-page .section-head span[b-59p7qxxdq1],
        .thai-buy-page .panel-header-row span[b-59p7qxxdq1] {
            font-size: 14px !important;
        }

        .thai-buy-page .type-scroll[b-59p7qxxdq1] {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 8px !important;
            padding: 0 18px 18px !important;
        }

        .thai-buy-page .type-card[b-59p7qxxdq1] {
            min-height: 72px !important;
            border-radius: 7px !important;
            gap: 4px !important;
            padding: 12px 6px !important;
        }

        .thai-buy-page .type-name[b-59p7qxxdq1] {
            font-size: 18px !important;
        }

        .thai-buy-page .type-card em[b-59p7qxxdq1] {
            font-size: 13px !important;
        }

        .thai-buy-page .tab-body[b-59p7qxxdq1],
        .thai-buy-page .prefix-panel[b-59p7qxxdq1],
        .thai-buy-page .number-panel[b-59p7qxxdq1] {
            padding: 0 18px 18px !important;
        }

        .thai-buy-page .prefix-grid.three-prefix[b-59p7qxxdq1],
        .thai-buy-page .prefix-grid.two-prefix[b-59p7qxxdq1],
        .thai-buy-page .number-grid.three-grid[b-59p7qxxdq1],
        .thai-buy-page .number-grid.two-grid[b-59p7qxxdq1],
        .thai-buy-page .number-grid.run-grid[b-59p7qxxdq1] {
            grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        }

        .thai-buy-page .prefix-btn[b-59p7qxxdq1],
        .thai-buy-page .number-btn[b-59p7qxxdq1],
        .thai-buy-page .keypad-grid button[b-59p7qxxdq1] {
            min-height: 50px !important;
            font-size: 17px !important;
        }

        .thai-buy-page .number-main[b-59p7qxxdq1] {
            font-size: 17px !important;
        }

        .thai-buy-page .buy-footer[b-59p7qxxdq1],
        .thai-buy-page .thai-compact-footer[b-59p7qxxdq1] {
            width: calc(100% - 16px) !important;
            bottom: 76px !important;
            min-height: 78px !important;
            grid-template-columns: minmax(0, 1fr) auto !important;
            gap: 8px !important;
            padding: 10px 12px !important;
            border-radius: 20px !important;
        }

        .thai-buy-page .footer-summary span[b-59p7qxxdq1],
        .thai-buy-page .footer-summary em[b-59p7qxxdq1] {
            font-size: 12px !important;
        }

        .thai-buy-page .footer-summary b[b-59p7qxxdq1] {
            font-size: 16px !important;
        }

        .thai-buy-page .footer-actions[b-59p7qxxdq1],
        .thai-buy-page .thai-compact-actions[b-59p7qxxdq1] {
            gap: 8px !important;
        }

        .thai-buy-page .footer-actions button[b-59p7qxxdq1],
        .thai-buy-page .thai-compact-actions button[b-59p7qxxdq1] {
            min-width: 94px !important;
            min-height: 48px !important;
            border-radius: 16px !important;
            padding: 0 10px !important;
            font-size: 14px !important;
        }
    }

    @media (max-width: 430px) {
        .thai-buy-page .buy-title[b-59p7qxxdq1] {
            font-size: 25px !important;
        }

        .thai-buy-page .buy-subtitle[b-59p7qxxdq1] {
            font-size: 12px !important;
        }

        .thai-buy-page .time-box[b-59p7qxxdq1] {
            min-height: 104px !important;
            padding: 13px 10px !important;
        }

        .thai-buy-page .time-box b[b-59p7qxxdq1] {
            font-size: 22px !important;
        }

        .thai-buy-page .type-scroll[b-59p7qxxdq1] {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }

        .thai-buy-page .prefix-btn[b-59p7qxxdq1],
        .thai-buy-page .number-btn[b-59p7qxxdq1],
        .thai-buy-page .keypad-grid button[b-59p7qxxdq1] {
            min-height: 46px !important;
            font-size: 15px !important;
        }

        .thai-buy-page .number-main[b-59p7qxxdq1] {
            font-size: 15px !important;
        }

        .thai-buy-page .footer-actions button[b-59p7qxxdq1],
        .thai-buy-page .thai-compact-actions button[b-59p7qxxdq1] {
            min-width: 82px !important;
            min-height: 44px !important;
            font-size: 13px !important;
        }
    }

/* PATCH SAFETY: All CSS moved to ThaiLottoBet.razor.css so Blazor CSS isolation scopes it to this page only. */

/* PATCH 2026-06-26: Thai lotto compact betting-type cards like Lao page.
   Style only. Scoped by Blazor CSS isolation. Does not change logic/HTML/API. */
.thai-buy-page .content-card .type-scroll[b-59p7qxxdq1] {
    gap: 8px !important;
    padding-bottom: 14px !important;
}

.thai-buy-page .content-card .type-card[b-59p7qxxdq1] {
    min-height: 56px !important;
    height: 56px !important;
    padding: 7px 6px !important;
    gap: 1px !important;
    border-radius: 7px !important;
    align-content: center !important;
    justify-content: center !important;
}

.thai-buy-page .content-card .type-card .type-name[b-59p7qxxdq1],
.thai-buy-page .content-card .type-card span:not(.type-icon)[b-59p7qxxdq1] {
    font-size: 16px !important;
    line-height: 1.05 !important;
    font-weight: 400 !important;
}

.thai-buy-page .content-card .type-card em[b-59p7qxxdq1] {
    font-size: 12px !important;
    line-height: 1.05 !important;
    font-weight: 300 !important;
}

.thai-buy-page .content-card .type-card.active .type-name[b-59p7qxxdq1],
.thai-buy-page .content-card .type-card.active span:not(.type-icon)[b-59p7qxxdq1],
.thai-buy-page .content-card .type-card.active em[b-59p7qxxdq1] {
    font-weight: 400 !important;
}

@media (max-width: 860px) {
    .thai-buy-page .content-card .type-scroll[b-59p7qxxdq1] {
        gap: 8px !important;
        padding: 0 18px 14px !important;
    }

    .thai-buy-page .content-card .type-card[b-59p7qxxdq1] {
        min-height: 56px !important;
        height: 56px !important;
        padding: 7px 6px !important;
        gap: 1px !important;
        border-radius: 7px !important;
    }

    .thai-buy-page .content-card .type-name[b-59p7qxxdq1],
    .thai-buy-page .content-card .type-card span:not(.type-icon)[b-59p7qxxdq1] {
        font-size: 16px !important;
        line-height: 1.05 !important;
    }

    .thai-buy-page .content-card .type-card em[b-59p7qxxdq1] {
        font-size: 12px !important;
        line-height: 1.05 !important;
    }
}

@media (max-width: 430px) {
    .thai-buy-page .content-card .type-card[b-59p7qxxdq1] {
        min-height: 54px !important;
        height: 54px !important;
        padding: 6px 5px !important;
    }

    .thai-buy-page .content-card .type-name[b-59p7qxxdq1],
    .thai-buy-page .content-card .type-card span:not(.type-icon)[b-59p7qxxdq1] {
        font-size: 15px !important;
    }

    .thai-buy-page .content-card .type-card em[b-59p7qxxdq1] {
        font-size: 11.5px !important;
    }
}

/**/
/* =========================================================
   2026-06-26: Thai Lotto top UI size match Lao Lotto
   �ҧ���� ThaiLottoBet.razor.css ��ҹ��
   ��Ѻ੾�С��ͧ���� + ���� ᷧ���/��������´
   ========================================================= */

.thai-buy-page .round-info-card[b-59p7qxxdq1] {
    gap: 10px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.thai-buy-page .time-box[b-59p7qxxdq1] {
    min-height: unset !important;
    height: auto !important;
    padding: 12px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid rgba(207, 224, 248, .9) !important;
    box-shadow: 0 10px 22px rgba(2, 22, 70, .14) !important;
    text-align: left !important;
}

    .thai-buy-page .time-box.bet-time[b-59p7qxxdq1],
    .thai-buy-page .time-box.result-time[b-59p7qxxdq1] {
        background: rgba(255, 255, 255, .96) !important;
        border-color: rgba(207, 224, 248, .9) !important;
    }

        .thai-buy-page .time-box span[b-59p7qxxdq1],
        .thai-buy-page .time-box em[b-59p7qxxdq1],
        .thai-buy-page .time-box.bet-time span[b-59p7qxxdq1],
        .thai-buy-page .time-box.bet-time em[b-59p7qxxdq1],
        .thai-buy-page .time-box.result-time span[b-59p7qxxdq1],
        .thai-buy-page .time-box.result-time em[b-59p7qxxdq1] {
            display: block !important;
            color: #64748b !important;
            font-size: 12px !important;
            line-height: 1.1 !important;
            font-style: normal !important;
            font-weight: 500 !important;
        }

    .thai-buy-page .time-box b[b-59p7qxxdq1] {
        display: block !important;
        margin: 4px 0 4px !important;
        color: #0d63f3 !important;
        font-size: 20px !important;
        line-height: 1.15 !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }

    .thai-buy-page .time-box.result-time b[b-59p7qxxdq1] {
        color: #f97316 !important;
    }

/* ���� ᷧ��� / ��������´ ��颹Ҵ����͹������ */
.thai-buy-page .main-tabs-card[b-59p7qxxdq1] {
    margin: 10px 0 10px !important;
    padding: 8px !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid rgba(207, 224, 248, .92) !important;
    box-shadow: 0 10px 24px rgba(2, 22, 70, .12) !important;
    overflow: hidden !important;
}

.thai-buy-page .main-tabs[b-59p7qxxdq1] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

    .thai-buy-page .main-tabs button[b-59p7qxxdq1] {
        min-height: 50px !important;
        border: 0 !important;
        border-radius: 18px !important;
        color: #122b50 !important;
        background: #f3f7ff !important;
        box-shadow: none !important;
        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 600 !important;
        cursor: pointer !important;
    }

        .thai-buy-page .main-tabs button.active[b-59p7qxxdq1] {
            color: #fff !important;
            background: linear-gradient(135deg, #0d63f3, #09a4ff) !important;
            box-shadow: 0 10px 22px rgba(13, 99, 243, .28) !important;
        }

        .thai-buy-page .main-tabs button span[b-59p7qxxdq1] {
            font-size: 14px !important;
            font-weight: 500 !important;
        }

/* ��Ͷ�ͨ���� */
@media (max-width: 430px) {
    .thai-buy-page .round-info-card[b-59p7qxxdq1] {
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    .thai-buy-page .time-box[b-59p7qxxdq1] {
        min-height: unset !important;
        padding: 12px 10px !important;
        border-radius: 20px !important;
    }

        .thai-buy-page .time-box span[b-59p7qxxdq1],
        .thai-buy-page .time-box em[b-59p7qxxdq1] {
            font-size: 11px !important;
        }

        .thai-buy-page .time-box b[b-59p7qxxdq1] {
            font-size: 17px !important;
            line-height: 1.15 !important;
        }

    .thai-buy-page .main-tabs-card[b-59p7qxxdq1] {
        margin-bottom: 10px !important;
        padding: 8px !important;
        border-radius: 24px !important;
    }

    .thai-buy-page .main-tabs button[b-59p7qxxdq1] {
        min-height: 50px !important;
        border-radius: 18px !important;
        font-size: 14px !important;
    }
}
/* =========================================================
   PATCH: Thai Lotto one-layer tabs + Lao-like compact type grid
   �ҧ���� ThaiLottoBet.razor.css
   ========================================================= */

/* tab ���ش ����� ���͡�ҡἧ / ���Ţ */
.thai-buy-page .thai-entry-tabs-card[b-59p7qxxdq1] {
    margin: 10px 0 10px !important;
    padding: 8px !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid rgba(207, 224, 248, .92) !important;
    box-shadow: 0 10px 24px rgba(2, 22, 70, .12) !important;
}

    .thai-buy-page .thai-entry-tabs-card .main-tabs[b-59p7qxxdq1] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

        .thai-buy-page .thai-entry-tabs-card .main-tabs button[b-59p7qxxdq1] {
            min-height: 50px !important;
            border: 0 !important;
            border-radius: 18px !important;
            background: #f3f7ff !important;
            color: #122b50 !important;
            font-size: 14px !important;
            line-height: 1 !important;
            font-weight: 500 !important;
            box-shadow: none !important;
        }

            .thai-buy-page .thai-entry-tabs-card .main-tabs button.active[b-59p7qxxdq1] {
                color: #fff !important;
                background: linear-gradient(135deg, #0d63f3, #09a4ff) !important;
                box-shadow: 0 10px 22px rgba(13, 99, 243, .28) !important;
            }

            .thai-buy-page .thai-entry-tabs-card .main-tabs button span[b-59p7qxxdq1] {
                font-size: 14px !important;
                font-weight: 400 !important;
            }

/* ���ͧ���͡������ᷧẺ compact ����͹������ */
.thai-buy-page .thai-type-select-card[b-59p7qxxdq1] {
    padding: 0 !important;
    margin-bottom: 10px !important;
}

.thai-buy-page .thai-type-head[b-59p7qxxdq1] {
    padding: 18px 16px 10px !important;
}

    .thai-buy-page .thai-type-head b[b-59p7qxxdq1] {
        font-size: 17px !important;
        font-weight: 500 !important;
    }

    .thai-buy-page .thai-type-head span[b-59p7qxxdq1] {
        margin-top: 4px !important;
        font-size: 12px !important;
        font-weight: 300 !important;
    }

.thai-buy-page .thai-type-grid-compact[b-59p7qxxdq1] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 12px 12px !important;
}

    .thai-buy-page .thai-type-grid-compact .type-card[b-59p7qxxdq1] {
        min-width: 0 !important;
        min-height: 58px !important;
        height: 58px !important;
        padding: 8px 9px !important;
        border-radius: 14px !important;
        border: 1px solid rgba(199, 213, 235, .95) !important;
        background: #fff !important;
        color: #122b50 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 4px !important;
        text-align: left !important;
        box-shadow: 0 6px 14px rgba(2, 22, 70, .07) !important;
    }

        .thai-buy-page .thai-type-grid-compact .type-card.active[b-59p7qxxdq1] {
            color: #fff !important;
            background: linear-gradient(135deg, #0d63f3, #09a4ff) !important;
            border-color: transparent !important;
            box-shadow: 0 10px 22px rgba(13, 99, 243, .25) !important;
        }

    .thai-buy-page .thai-type-grid-compact .type-top[b-59p7qxxdq1] {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        min-width: 0 !important;
    }

    .thai-buy-page .thai-type-grid-compact .type-icon[b-59p7qxxdq1] {
        flex: 0 0 auto !important;
        min-width: 24px !important;
        height: 24px !important;
        padding: 0 5px !important;
        border-radius: 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #eaf3ff !important;
        color: #0d63f3 !important;
        font-size: 11px !important;
        line-height: 1 !important;
        font-weight: 500 !important;
    }

    .thai-buy-page .thai-type-grid-compact .type-card.active .type-icon[b-59p7qxxdq1] {
        background: rgba(255,255,255,.22) !important;
        color: #fff !important;
    }

    .thai-buy-page .thai-type-grid-compact .type-name[b-59p7qxxdq1] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        color: inherit !important;
        font-size: 14px !important;
        line-height: 1.05 !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .thai-buy-page .thai-type-grid-compact .type-meta[b-59p7qxxdq1] {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        color: inherit !important;
        opacity: .78 !important;
    }

        .thai-buy-page .thai-type-grid-compact .type-meta span[b-59p7qxxdq1],
        .thai-buy-page .thai-type-grid-compact .type-meta em[b-59p7qxxdq1] {
            color: inherit !important;
            font-size: 11px !important;
            line-height: 1 !important;
            font-style: normal !important;
            font-weight: 300 !important;
        }

/* ���ͧἧ�Ţ/���Ţ ���Դ��� */
.thai-buy-page .thai-entry-card[b-59p7qxxdq1] {
    margin-top: 0 !important;
}

@media (max-width: 430px) {
    .thai-buy-page .thai-type-grid-compact[b-59p7qxxdq1] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        padding: 0 10px 10px !important;
    }

        .thai-buy-page .thai-type-grid-compact .type-card[b-59p7qxxdq1] {
            height: 56px !important;
            min-height: 56px !important;
            padding: 7px 8px !important;
            border-radius: 13px !important;
        }

        .thai-buy-page .thai-type-grid-compact .type-name[b-59p7qxxdq1] {
            font-size: 13px !important;
        }

        .thai-buy-page .thai-type-grid-compact .type-meta span[b-59p7qxxdq1],
        .thai-buy-page .thai-type-grid-compact .type-meta em[b-59p7qxxdq1] {
            font-size: 10.5px !important;
        }
}
/* =========================================================
   2026-06-26: Thai Lotto type selector -> Lao compact grid style
   �ҧ���� ThaiLottoBet.razor.css
   ����¹੾�С��ͧ "���͡������ᷧ"
   ========================================================= */

.thai-buy-page .thai-type-select-card[b-59p7qxxdq1] {
    position: relative !important;
    margin: 12px 14px 12px !important;
    padding: 0 !important;
    border-radius: 24px !important;
    background: #fff !important;
    border: 1px solid rgba(207, 224, 248, .92) !important;
    box-shadow: 0 10px 24px rgba(2, 22, 70, .12) !important;
    overflow: hidden !important;
}

    .thai-buy-page .thai-type-select-card[b-59p7qxxdq1]::before {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: 5px !important;
        background: linear-gradient(90deg, #ff9f1c, #ffb703) !important;
    }

    .thai-buy-page .thai-type-select-card .section-head[b-59p7qxxdq1],
    .thai-buy-page .thai-type-select-card .thai-type-head[b-59p7qxxdq1] {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 18px 16px 12px !important;
        margin: 0 !important;
        background: transparent !important;
    }

        .thai-buy-page .thai-type-select-card .section-head b[b-59p7qxxdq1],
        .thai-buy-page .thai-type-select-card .thai-type-head b[b-59p7qxxdq1] {
            display: block !important;
            color: #10203d !important;
            font-size: 20px !important;
            line-height: 1.15 !important;
            font-weight: 700 !important;
        }

        .thai-buy-page .thai-type-select-card .section-head span[b-59p7qxxdq1],
        .thai-buy-page .thai-type-select-card .thai-type-head span[b-59p7qxxdq1] {
            display: block !important;
            margin-top: 8px !important;
            color: #7a8797 !important;
            font-size: 13px !important;
            line-height: 1.35 !important;
            font-weight: 400 !important;
        }

.thai-buy-page .thai-type-grid-compact[b-59p7qxxdq1] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 4px 16px 18px !important;
    background: transparent !important;
}

    .thai-buy-page .thai-type-grid-compact .type-card[b-59p7qxxdq1] {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 56px !important;
        height: 56px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 6px 8px !important;
        border-radius: 5px !important;
        border: 1px solid #7b7f89 !important;
        background: #fff !important;
        color: #111827 !important;
        box-shadow: none !important;
        text-align: center !important;
        cursor: pointer !important;
        overflow: hidden !important;
    }

        .thai-buy-page .thai-type-grid-compact .type-card.active[b-59p7qxxdq1] {
            border-color: #1306b5 !important;
            background: #1306b5 !important;
            color: #fff !important;
            box-shadow: none !important;
        }

    .thai-buy-page .thai-type-grid-compact .type-top[b-59p7qxxdq1] {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .thai-buy-page .thai-type-grid-compact .type-icon[b-59p7qxxdq1] {
        display: none !important;
    }

    .thai-buy-page .thai-type-grid-compact .type-name[b-59p7qxxdq1] {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        color: inherit !important;
        font-size: 17px !important;
        line-height: 1.05 !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .thai-buy-page .thai-type-grid-compact .type-meta[b-59p7qxxdq1] {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        color: inherit !important;
        opacity: 1 !important;
    }

        .thai-buy-page .thai-type-grid-compact .type-meta > span[b-59p7qxxdq1] {
            display: none !important;
        }

        .thai-buy-page .thai-type-grid-compact .type-meta em[b-59p7qxxdq1] {
            display: block !important;
            margin: 0 !important;
            color: #6b7cff !important;
            font-size: 13px !important;
            line-height: 1.05 !important;
            font-style: normal !important;
            font-weight: 500 !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

    .thai-buy-page .thai-type-grid-compact .type-card.active .type-name[b-59p7qxxdq1],
    .thai-buy-page .thai-type-grid-compact .type-card.active .type-meta[b-59p7qxxdq1],
    .thai-buy-page .thai-type-grid-compact .type-card.active .type-meta em[b-59p7qxxdq1] {
        color: #fff !important;
    }

.thai-buy-page .thai-entry-card[b-59p7qxxdq1] {
    margin-top: 12px !important;
}

@media (max-width: 430px) {
    .thai-buy-page .thai-type-select-card[b-59p7qxxdq1] {
        margin: 12px 14px 12px !important;
        border-radius: 24px !important;
    }

        .thai-buy-page .thai-type-select-card .section-head[b-59p7qxxdq1],
        .thai-buy-page .thai-type-select-card .thai-type-head[b-59p7qxxdq1] {
            padding: 18px 16px 12px !important;
        }

            .thai-buy-page .thai-type-select-card .section-head b[b-59p7qxxdq1],
            .thai-buy-page .thai-type-select-card .thai-type-head b[b-59p7qxxdq1] {
                font-size: 20px !important;
            }

            .thai-buy-page .thai-type-select-card .section-head span[b-59p7qxxdq1],
            .thai-buy-page .thai-type-select-card .thai-type-head span[b-59p7qxxdq1] {
                font-size: 13px !important;
            }

    .thai-buy-page .thai-type-grid-compact[b-59p7qxxdq1] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
        padding: 4px 16px 18px !important;
    }

        .thai-buy-page .thai-type-grid-compact .type-card[b-59p7qxxdq1] {
            height: 56px !important;
            min-height: 56px !important;
            padding: 6px 5px !important;
        }

        .thai-buy-page .thai-type-grid-compact .type-name[b-59p7qxxdq1] {
            font-size: 16px !important;
        }

        .thai-buy-page .thai-type-grid-compact .type-meta em[b-59p7qxxdq1] {
            font-size: 12px !important;
        }
}

@media (max-width: 360px) {
    .thai-buy-page .thai-type-grid-compact[b-59p7qxxdq1] {
        gap: 6px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

        .thai-buy-page .thai-type-grid-compact .type-name[b-59p7qxxdq1] {
            font-size: 14px !important;
        }

        .thai-buy-page .thai-type-grid-compact .type-meta em[b-59p7qxxdq1] {
            font-size: 11px !important;
        }
}
/* =========================================================
   FIX: ����ͺ���͡������ᷧ ���ҧ��ҡ�ͺ��/��ͺ��ҧ
   �ҧ�����ش ThaiLottoBet.razor.css
   ========================================================= */

/* ��ͺ�� + ��ͺ���͡������ + ��ͺ���͡�Ţ �颹Ҵ���ǡѹ */
.thai-buy-page .main-tabs-card[b-59p7qxxdq1],
.thai-buy-page .thai-entry-tabs-card[b-59p7qxxdq1],
.thai-buy-page .content-card.thai-type-select-card[b-59p7qxxdq1],
.thai-buy-page .content-card.thai-entry-card[b-59p7qxxdq1],
.thai-buy-page .thai-type-select-card[b-59p7qxxdq1],
.thai-buy-page .thai-entry-card[b-59p7qxxdq1] {
    width: auto !important;
    max-width: none !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
    box-sizing: border-box !important;
}

/* ���к���ҧ */
.thai-buy-page .thai-entry-tabs-card[b-59p7qxxdq1] {
    margin-top: 12px !important;
    margin-bottom: 14px !important;
}

.thai-buy-page .thai-type-select-card[b-59p7qxxdq1] {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

.thai-buy-page .thai-entry-card[b-59p7qxxdq1] {
    margin-top: 0 !important;
}

    /* �������մ�ҹ���ͧ���С�ͺ��������ͺ */
    .thai-buy-page .thai-type-select-card[b-59p7qxxdq1]::before,
    .thai-buy-page .thai-entry-card[b-59p7qxxdq1]::before {
        width: 100% !important;
    }

/* �Ѵ padding ��ҧ㹡��ͧ���͡������ ����������Դ�ͺ */
.thai-buy-page .thai-type-grid-compact[b-59p7qxxdq1] {
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

/* ��Ͷ�� */
@media (max-width: 430px) {
    .thai-buy-page .main-tabs-card[b-59p7qxxdq1],
    .thai-buy-page .thai-entry-tabs-card[b-59p7qxxdq1],
    .thai-buy-page .content-card.thai-type-select-card[b-59p7qxxdq1],
    .thai-buy-page .content-card.thai-entry-card[b-59p7qxxdq1],
    .thai-buy-page .thai-type-select-card[b-59p7qxxdq1],
    .thai-buy-page .thai-entry-card[b-59p7qxxdq1] {
        width: auto !important;
        max-width: none !important;
        margin-left: 14px !important;
        margin-right: 14px !important;
    }

    .thai-buy-page .thai-type-grid-compact[b-59p7qxxdq1] {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}/* =========================================================
   FIX: Ŵ������ҧ���ͧ��¡�ë��� �Ѻ������ҧ
   �ҧ���� ThaiLottoBet.razor.css
   ========================================================= */

.thai-buy-page .buy-footer[b-59p7qxxdq1] {
    bottom: calc(60px + env(safe-area-inset-bottom)) !important;
    padding: 8px 10px !important;
    border-radius: 20px 20px 0 0 !important;
}

/* Ŵ�����٧���ͧ��Ǵ�ҹ��ҧ���Դ�֧ */
.thai-buy-page .thai-compact-footer[b-59p7qxxdq1] {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-radius: 20px 20px 0 0 !important;
}

/* Ŵ��ͧ��ҧ�ѹ footer �ѹ˹�� */
.thai-buy-page[b-59p7qxxdq1] {
    padding-bottom: calc(135px + env(safe-area-inset-bottom)) !important;
}

.thai-buy-page .safe-bottom-space[b-59p7qxxdq1] {
    height: 120px !important;
}

@media (max-width: 430px) {
    .thai-buy-page .buy-footer[b-59p7qxxdq1] {
        bottom: calc(54px + env(safe-area-inset-bottom)) !important;
    }

    .thai-buy-page[b-59p7qxxdq1] {
        padding-bottom: calc(130px + env(safe-area-inset-bottom)) !important;
    }

    .thai-buy-page .safe-bottom-space[b-59p7qxxdq1] {
        height: 115px !important;
    }
}

/* =========================================================
   FIX: ˹������Ҥ���������繾����ѧ�ç�˹��������ҧ
   �ҧ���� ThaiLottoBet.razor.css
   ========================================================= */

.thai-buy-page .thai-price-page[b-59p7qxxdq1] {
    bottom: 0 !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
    background: #f4f7ff !important;
}

/* �����ͧ���˹������Ҥ���������ҧ�ҡ������ҧ�Թ� */
.thai-buy-page .thai-price-shell[b-59p7qxxdq1] {
    padding-bottom: 0 !important;
}

/* ���ͧ��ػ��ҹ� Ŵ��ͧ��ҧ��ҧ */
.thai-buy-page .thai-yiki-summary-card[b-59p7qxxdq1] {
    margin-bottom: 0 !important;
}

/* �ѹ������Ѻ�������ҧ��ҧ�Թ */
.thai-buy-page .thai-edit-slip-btn[b-59p7qxxdq1] {
    margin-bottom: 8px !important;
}
/* =========================================================
   FIX: Thai price page font size + thinner weight
   �ҧ�����ش ThaiLottoBet.razor.css
   ��Ѻ੾��˹������Ҥ�/����
   ========================================================= */

/* ��Ǣ�ͻ����� �� 3 ��Ǻ� */
.thai-buy-page .thai-price-group-top b[b-59p7qxxdq1] {
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* ��ͧ��͡�ҤҴ�ҹ���ͧ���л����� */
.thai-buy-page .thai-price-group-top input[b-59p7qxxdq1] {
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* ���ҧ�� */
.thai-buy-page .thai-yiki-table[b-59p7qxxdq1] {
    font-size: 16px !important;
    font-weight: 400 !important;
}

    .thai-buy-page .thai-yiki-table th[b-59p7qxxdq1] {
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    .thai-buy-page .thai-yiki-table td[b-59p7qxxdq1] {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

        /* �Ţ / ���� / �١�ҧ��� ����ѧ�蹹Դ˹��� �����˹��Թ */
        .thai-buy-page .thai-yiki-table td.num[b-59p7qxxdq1],
        .thai-buy-page .thai-yiki-table td.win[b-59p7qxxdq1] {
            font-size: 16px !important;
            font-weight: 600 !important;
        }

/* ��ͧ�ӹǹ�Թ㹵��ҧ */
.thai-buy-page .amount-cell-input[b-59p7qxxdq1] {
    height: 34px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* ����ź�� */
.thai-buy-page .delete-row-btn[b-59p7qxxdq1] {
    font-size: 20px !important;
    font-weight: 500 !important;
}

/* ���� �Ѵ�Ţ��ӷ����� / ź������ */
.thai-buy-page .thai-yiki-actions-row button[b-59p7qxxdq1] {
    min-height: 52px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* ��Ǣ�� ����Ҥ���ҡѹ������ */
.thai-buy-page .thai-price-all-box label[b-59p7qxxdq1] {
    font-size: 17px !important;
    font-weight: 500 !important;
}

/* ��ͧ����Ҥ���ҡѹ������ */
.thai-buy-page .thai-price-input-wrap input[b-59p7qxxdq1] {
    font-size: 16px !important;
    font-weight: 400 !important;
}

.thai-buy-page .thai-price-input-wrap em[b-59p7qxxdq1] {
    font-size: 15px !important;
    font-weight: 500 !important;
}

.thai-buy-page .thai-price-input-wrap span[b-59p7qxxdq1] {
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* �����Ҥ� 1 5 10 20 50 100 */
.thai-buy-page .thai-quick-price-grid button[b-59p7qxxdq1] {
    min-height: 48px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* ���ͧ�ôԵ / �ʹ������� */
.thai-buy-page .thai-total-strip p[b-59p7qxxdq1],
.thai-buy-page .thai-total-strip small[b-59p7qxxdq1] {
    font-size: 16px !important;
    font-weight: 400 !important;
}

.thai-buy-page .thai-total-strip b[b-59p7qxxdq1] {
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* �������� */
.thai-buy-page .thai-send-slip-btn[b-59p7qxxdq1] {
    min-height: 58px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* ������Ѻ����� */
.thai-buy-page .thai-edit-slip-btn[b-59p7qxxdq1] {
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* ��Ͷ�� */
@media (max-width: 430px) {
    .thai-buy-page .thai-price-group-top b[b-59p7qxxdq1] {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .thai-yiki-table[b-59p7qxxdq1] {
        font-size: 13px !important;
    }

        .thai-buy-page .thai-yiki-table th[b-59p7qxxdq1],
        .thai-buy-page .thai-yiki-table td[b-59p7qxxdq1] {
            font-size: 13px !important;
        }

            .thai-buy-page .thai-yiki-table td.num[b-59p7qxxdq1],
            .thai-buy-page .thai-yiki-table td.win[b-59p7qxxdq1] {
                font-size: 13px !important;
                font-weight: 400 !important;
            }

    .thai-buy-page .amount-cell-input[b-59p7qxxdq1] {
        font-size: 13px !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .thai-price-all-box label[b-59p7qxxdq1] {
        font-size: 13px !important;
    }

    .thai-buy-page .thai-quick-price-grid button[b-59p7qxxdq1] {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .thai-total-strip b[b-59p7qxxdq1] {
        font-size: 16px !important;
        font-weight: 500 !important;
    }

    .thai-buy-page .thai-send-slip-btn[b-59p7qxxdq1] {
        font-size: 16px !important;
        font-weight: 500 !important;
    }
}

/* =========================================================
   Thai Lotto Rebet Popup: ��Ѻ font + ����˹�
   ˹�����͡����͹��ѧ
   �ҧ�����ش ThaiLottoBet.razor.css
   ========================================================= */

/* ��� popup */
.thai-buy-page .rebet-sheet[b-59p7qxxdq1],
.thai-buy-page .rebet-sheet *[b-59p7qxxdq1] {
    letter-spacing: 0 !important;
}

    /* ��Ǣ��: ���͡����͹��ѧ */
    .thai-buy-page .rebet-sheet .sheet-head b[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .summary-title-row h3[b-59p7qxxdq1] {
        font-size: 24px !important;
        line-height: 1.15 !important;
        font-weight: 600 !important;
        color: #10203d !important;
    }

    /* ��͸Ժ������Ǣ�� */
    .thai-buy-page .rebet-sheet .sheet-head span[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .summary-title-row p[b-59p7qxxdq1] {
        font-size: 13px !important;
        line-height: 1.35 !important;
        font-weight: 400 !important;
        color: #64748b !important;
    }

    /* ���� X */
    .thai-buy-page .rebet-sheet .sheet-close-btn[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .close-btn[b-59p7qxxdq1] {
        font-size: 20px !important;
        font-weight: 500 !important;
    }

    /* ᶺ ����� 10 ������ش */
    .thai-buy-page .rebet-sheet .rebet-chip[b-59p7qxxdq1] {
        font-size: 12px !important;
        font-weight: 500 !important;
    }

    /* ��ͤ��� ���͡ 1 �� ���ǡ������¹�� */
    .thai-buy-page .rebet-sheet .rebet-toolbar span[b-59p7qxxdq1] {
        font-size: 12px !important;
        font-weight: 400 !important;
        color: #64748b !important;
    }

    /* ������ */
    .thai-buy-page .rebet-sheet .rebet-card[b-59p7qxxdq1] {
        padding: 13px !important;
    }

    /* ǧ�����꡶١ */
    .thai-buy-page .rebet-sheet .rebet-radio[b-59p7qxxdq1] {
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    /* �� #35 */
    .thai-buy-page .rebet-sheet .rebet-topline b[b-59p7qxxdq1] {
        font-size: 17px !important;
        line-height: 1.15 !important;
        font-weight: 600 !important;
        color: #10203d !important;
    }

    /* 6 ��¡�� */
    .thai-buy-page .rebet-sheet .rebet-topline span[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .rebet-topline em[b-59p7qxxdq1] {
        font-size: 12px !important;
        font-weight: 500 !important;
        color: #64748b !important;
    }

    /* ��ͤ��� ���������͹��ѧ */
    .thai-buy-page .rebet-sheet .rebet-date[b-59p7qxxdq1] {
        font-size: 12px !important;
        line-height: 1.25 !important;
        font-weight: 400 !important;
        color: #64748b !important;
    }

    /* �Ţ������ҧ �� 855 3 ��Ǻ�... */
    .thai-buy-page .rebet-sheet .rebet-preview[b-59p7qxxdq1] {
        font-size: 12px !important;
        line-height: 1.35 !important;
        font-weight: 500 !important;
        color: #475569 !important;
    }

    /* ���� ���Ţ��� */
    .thai-buy-page .rebet-sheet .rebet-preview-btn[b-59p7qxxdq1] {
        font-size: 12px !important;
        font-weight: 500 !important;
    }

    /* ����� �ʹ��� / �ҷ */
    .thai-buy-page .rebet-sheet .rebet-card-right small[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .rebet-card-right span[b-59p7qxxdq1] {
        font-size: 11px !important;
        line-height: 1.15 !important;
        font-weight: 400 !important;
        color: #64748b !important;
    }

    /* �ӹǹ�Թ 60 / 20 / 30 */
    .thai-buy-page .rebet-sheet .rebet-card-right em[b-59p7qxxdq1] {
        font-size: 22px !important;
        line-height: 1.05 !important;
        font-weight: 600 !important;
        color: #0d63f3 !important;
    }

    /* ������ҧ ¡��ԡ / ������ / �����¹�� */
    .thai-buy-page .rebet-sheet .rebet-actions button[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .rebet-bottom-actions button[b-59p7qxxdq1] {
        min-height: 54px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
    }

/* ��Ͷ�� */
@media (max-width: 430px) {
    .thai-buy-page .rebet-sheet .sheet-head b[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .summary-title-row h3[b-59p7qxxdq1] {
        font-size: 23px !important;
        font-weight: 600 !important;
    }

    .thai-buy-page .rebet-sheet .sheet-head span[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .summary-title-row p[b-59p7qxxdq1] {
        font-size: 12.5px !important;
        font-weight: 400 !important;
    }

    .thai-buy-page .rebet-sheet .rebet-topline b[b-59p7qxxdq1] {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .thai-buy-page .rebet-sheet .rebet-date[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .rebet-preview[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .rebet-topline span[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .rebet-topline em[b-59p7qxxdq1] {
        font-size: 11.5px !important;
    }

    .thai-buy-page .rebet-sheet .rebet-card-right em[b-59p7qxxdq1] {
        font-size: 21px !important;
        font-weight: 600 !important;
    }

    .thai-buy-page .rebet-sheet .rebet-actions button[b-59p7qxxdq1],
    .thai-buy-page .rebet-sheet .rebet-bottom-actions button[b-59p7qxxdq1] {
        font-size: 15px !important;
        font-weight: 500 !important;
    }
}
