/* mb86.info desktop chrome matched to the MB66 header. VPS only. */
body.jun88-skin .j88-header {
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr);
    grid-template-rows: auto 52px;
    position: sticky;
    top: 0;
    z-index: 90;
    background: #fff5f6 !important;
    overflow: visible;
}

body.jun88-skin .mb66-header-video {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(100% - 52px);
    width: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #ffe3ea 0%, #fff 42%, #ffd5dc 100%);
}

body.jun88-skin .j88-header-inner {
    display: contents !important;
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
}

body.jun88-skin .j88-logo {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    height: 118px !important;
    align-self: center;
    padding-left: max(18px, calc((100vw - 1200px) / 2));
    background: none !important;
}

body.jun88-skin .j88-logo img {
    height: 74px !important;
    max-height: 74px !important;
    width: auto !important;
}

body.jun88-skin .j88-topbar {
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
    height: auto !important;
    min-height: 118px;
    background: transparent !important;
    background-color: transparent !important;
    padding: 16px 0 10px !important;
    box-sizing: border-box;
}

body.jun88-skin .j88-topbar .main-header {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 12px !important;
    padding-right: max(16px, calc((100vw - 1200px) / 2)) !important;
    box-sizing: border-box;
}

body.jun88-skin .j88-topbar .right { order: 1; }
body.jun88-skin .j88-topbar .left { order: 2; }

body.jun88-skin .j88-topbar .left,
body.jun88-skin .j88-topbar .right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto !important;
}

body.jun88-skin .j88-topbar .lang { display: none !important; }

body.jun88-skin .j88-topbar .logined-nav {
    gap: 18px !important;
}

body.jun88-skin .j88-topbar .logined-nav a {
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 0 !important;
}

body.jun88-skin .j88-topbar .logined-nav > li:nth-child(1) > a::before { content: "\f3cd"; }
body.jun88-skin .j88-topbar .logined-nav > li:nth-child(2) > a::before { content: "\f0c0"; }
body.jun88-skin .j88-topbar .logined-nav > li:nth-child(3) > a::before { content: "\f06b"; }
body.jun88-skin .j88-topbar .logined-nav > li:nth-child(4) > a::before { content: "\f02b"; }

body.jun88-skin .j88-topbar .left .logined-nav > li > a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
    color: #ff4d4f;
}

body.jun88-skin .j88-topbar .btn-big {
    height: 34px !important;
    min-width: 112px !important;
    padding: 0 14px !important;
    border-radius: 3px !important;
    border: 1px solid #ff4d4f !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

body.jun88-skin .j88-topbar .btn-big.login,
body.jun88-skin .j88-topbar .btn-big.trial,
body.jun88-skin .j88-topbar .btn-big.btn-logout {
    color: #ff4d4f !important;
    background: #fff !important;
    background-color: #fff !important;
}

body.jun88-skin .j88-topbar .btn-big.signup,
body.jun88-skin .j88-topbar .btn-big.login:hover,
body.jun88-skin .j88-topbar .btn-big.trial:hover {
    color: #fff !important;
    background: #ff4d4f !important;
    background-color: #ff4d4f !important;
    border-color: #ff4d4f !important;
}

body.jun88-skin .j88-topbar .btn-big.signup::after { display: none !important; }

body.jun88-skin .j88-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    z-index: 4;
    height: 52px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 max(8px, calc((100vw - 1200px) / 2)) !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    background: #fff !important;
    background-color: #fff !important;
    border-top: 1px solid #f6d0d4;
    box-shadow: 0 2px 6px rgba(160, 40, 50, 0.05);
}

body.jun88-skin .j88-menu > li > .nav-item a {
    height: 52px !important;
    padding: 0 12px !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.jun88-skin .j88-menu > li > .nav-item a,
body.jun88-skin .j88-menu > li > .nav-item h3 {
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

body.jun88-skin .j88-menu > li:hover > .nav-item a,
body.jun88-skin .j88-menu > li:hover > .nav-item h3,
body.jun88-skin .j88-menu > li.is-open > .nav-item a,
body.jun88-skin .j88-menu > li.is-open > .nav-item h3,
body.jun88-skin .j88-menu > li.is-current > .nav-item a,
body.jun88-skin .j88-menu > li.is-current > .nav-item h3,
body.jun88-skin .j88-menu > li > .nav-item a:hover,
body.jun88-skin .j88-menu > li > .nav-item a:hover h3 {
    color: #ff4d4f !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.jun88-skin .j88-menu > li.is-current > .nav-item a {
    box-shadow: inset 0 -3px 0 #ff4d4f;
}

body.jun88-skin .j88-marquee {
    background: #fff !important;
    background-color: #fff !important;
    color: #333 !important;
    border-bottom: 1px solid #f3d5d8;
}

body.jun88-skin .j88-marquee-inner,
body.jun88-skin .j88-marquee-inner i,
body.jun88-skin .j88-marquee .j88-marquee-track,
body.jun88-skin .j88-marquee .j88-marquee-track span {
    color: #333 !important;
}

body.jun88-skin .j88-marquee-inner i { color: #ff4d4f !important; }

body.jun88-skin .main-home {
    background: #fff !important;
    background-image: none !important;
}

body.jun88-skin .main-home .home-title {
    height: auto !important;
    margin: 22px 0 16px !important;
    padding: 0 !important;
    justify-content: center !important;
    color: #ff4d4f !important;
    background: none !important;
    background-image: none !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body.jun88-skin .main-home .home-title img {
    display: none !important;
}

body.jun88-skin .j88-marquee-inner i { display: none !important; }
body.jun88-skin .j88-marquee-inner::before {
    content: "Tin tức mới nhất";
    color: #ff4d4f;
    font-weight: 700;
    margin-right: 18px;
    white-space: nowrap;
}

.mb66-wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.mb66-h {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    color: #ff0f00;
    font-size: 32px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: 0;
}
.mb66-h::before,
.mb66-h::after {
    content: "";
    display: block;
    width: 130px;
    height: 20px;
    background: url("https://8jvf.katawee.net/system-requirement/Web.PortalNew/UK262-01/a5b8dce9bf/images/862a1dcfe91c6db6c51b899f5730d527.png") center / contain no-repeat;
}
.mb66-h::after {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.PortalNew/UK262-01/a5b8dce9bf/images/546180a51a95aca05792ebd85381aef1.png");
}
.mb66-features { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 10px; }
.mb66-features div { flex: 1; text-align: center; color: #333; font-weight: 700; font-size: 15px; }
.mb66-features { margin: 20px 0; }
.mb66-features img { width: 120px; height: 120px; object-fit: contain; display: block; margin: 0 auto 8px; }

.mb66-amb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 51px;
    margin: 20px 0;
    padding: 33px 0 67px;
    border-radius: 20px;
    border: 1px solid #f00;
    background: #fff3f3;
    box-shadow: inset 0 0 7px 7px rgba(175, 175, 175, .25);
}
.mb66-amb-copy { width: 449px; text-align: center; }
.mb66-amb-kicker {
    margin: 0 0 7px;
    color: #ff0f00;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}
.mb66-amb img.portrait { width: 449px; height: 270px; display: block; object-fit: contain; }
.mb66-amb-sign { display: flex; align-items: center; justify-content: center; margin-top: 14px; }
.mb66-amb .name { margin: 0; color: #ff0f00; font-size: 36px; font-weight: 700; line-height: 40px; text-align: left; }
.mb66-amb .name span { display: block; }
.mb66-amb .name span:first-child { margin-bottom: 7px; color: #363636; font-size: 11px; font-weight: 500; line-height: 14px; }
.mb66-amb-sign img { width: 141px; height: 55px; margin-left: 24px; object-fit: contain; }
.mb66-amb video {
    width: 610px;
    height: 343px;
    flex: 0 0 610px;
    background: #111;
    border-radius: 10px;
    border: 3px solid #ffbcbc;
    object-fit: cover;
}

.mb66-fav { border: 0; padding: 0; background: transparent; }
.mb66-fav-grid { display: grid; grid-template-columns: repeat(8, 130px); justify-content: space-between; gap: 16px 0; margin: 20px 0 40px; }
.mb66-fav-grid a { display: block; }
.mb66-fav-grid img { width: 130px; height: 154px; object-fit: contain; display: block; }

.mb66-halls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.mb66-halls img { width: 100%; height: auto; display: block; }

.mb66-jackpot {
    position: relative;
    height: 432px;
    margin: 8px 0 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff url("https://8jvf.katawee.net/system-requirement/Web.PortalNew/UK262-01/a5b8dce9bf/images/3b648956efd5be3de5c18d7c3b3feb68.png") center top / 1200px 432px no-repeat;
}
.mb66-jack-side {
    position: absolute;
    top: 145px;
    width: 271px;
    height: 254px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}
.mb66-jack-side.left { left: 31px; }
.mb66-jack-side.right { right: 18px; }
.mb66-jack-side li {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 70px;
    border: 0;
    color: #494949;
    font-size: 11px;
    font-weight: 700;
}
.mb66-jack-side li > div {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
}
.mb66-jack-side img { width: 57px; height: 56px; object-fit: contain; }
.mb66-jack-side span { color: #780c0c; white-space: nowrap; }
.mb66-jack-mid {
    position: absolute;
    top: 241px;
    left: 25%;
    right: 25%;
    text-align: center;
}
.mb66-digits {
    display: flex;
    justify-content: space-evenly;
    gap: 5px;
    width: 500px;
    margin: 97px 0 0 63px;
    padding: 0;
    list-style: none;
}
.mb66-digits li {
    width: 36px;
    height: 61px;
    font-size: 54px;
    font-weight: 500;
    line-height: 61px;
    text-align: center;
    color: #222;
    text-shadow: 1px 1px 1px #f5d260;
}

.mb66-app {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 58px;
    margin: 20px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.mb66-app-copy { width: 586px; }
.mb66-app-copy > img { width: 220px; height: auto; }
.mb66-phones { width: 539px; height: auto; }
.mb66-app-title { margin-top: 8px; font-size: 32px; font-weight: 900; color: #ff0f00; line-height: 1.2; }
.mb66-app-title small { display: block; color: #666; font-size: 18px; font-weight: 600; margin-top: 6px; }
.mb66-app-btns { display: flex; gap: 12px; margin-top: 14px; }
.mb66-app-btns a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 140px; border: 1px solid #ff0f00; color: #ff0f00;
    border-radius: 24px; padding: 8px 18px; font-weight: 800;
}

body.jun88-skin .home-latest-bet-race { margin-top: 8px; }
body.jun88-skin .home-latest-bet-race .wrapper {
    width: min(1200px, calc(100% - 32px)) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}
body.jun88-skin .home-latest-bet-race .winner-list { width: 100%; border-collapse: collapse; background: #fff; }
body.jun88-skin .home-latest-bet-race .winner-list th { text-align: left; padding: 12px 10px; color: #888; font-weight: 600; border-bottom: 1px solid #f3d5d8; }
body.jun88-skin .home-latest-bet-race .winner-list td { padding: 12px 10px; border-bottom: 1px solid #f7ecee; color: #333; }
body.jun88-skin .home-latest-bet-race .winner-list td.win { color: #16a34a; font-weight: 700; }
body.jun88-skin .home-latest-bet-race .winner-list td.loss { color: #e11d48; font-weight: 700; }
body.jun88-skin .home-latest-bet-race .nrc-tabs-nav { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; }
body.jun88-skin .home-latest-bet-race .nrc-tabs-tab { border: 1px solid #ffb4b6; border-radius: 20px; padding: 8px 18px; color: #ff4d4f; }
body.jun88-skin .home-latest-bet-race .nrc-tabs-tab.active { background: #ff4d4f; color: #fff; }
body.jun88-skin #footer {
    background: #fff !important;
    background-image: none !important;
    color: #444 !important;
}
body.jun88-skin #footer .mb66-foot {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 10px;
}
body.jun88-skin #footer .mb66-foot-intro {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}
body.jun88-skin #footer .mb66-foot-intro img { width: 140px; height: auto; }
body.jun88-skin #footer .mb66-foot-intro p { margin: 0; line-height: 1.6; color: #555; }
body.jun88-skin #footer .mb66-foot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 220px;
    gap: 24px;
}
body.jun88-skin #footer .mb66-foot h3 {
    margin: 0 0 10px;
    color: #222;
    font-size: 16px;
}
body.jun88-skin #footer .mb66-foot a {
    display: block;
    color: #e23b3b !important;
    line-height: 1.9;
    text-decoration: none;
}
body.jun88-skin #footer .mb66-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    justify-content: center;
    align-items: center;
    padding: 22px 0 8px;
}
body.jun88-skin #footer .mb66-pay img { height: 34px; width: auto; }
body.jun88-skin #footer .mb66-copy {
    text-align: center;
    color: #888;
    padding: 8px 0 28px;
}

body.jun88-skin .j88-logo a {
    display: block;
    width: 185px;
    height: 60px;
    background: url("https://8jvf.katawee.net/system-requirement/Web.PortalNew/UK262-01/a5b8dce9bf/images/b317c689535a690f54789c4d22a9a7a4.png") center / contain no-repeat;
}
body.jun88-skin .j88-logo img { width: 185px !important; height: 60px !important; opacity: 0; }
body.jun88-skin .j88-menu { justify-content: space-between !important; }
body.jun88-skin .j88-menu > li { order: 50; }
body.jun88-skin .j88-menu > li.nav-home { order: 1; }
body.jun88-skin .j88-menu > li.nav-live { order: 2; }
body.jun88-skin .j88-menu > li.nav-egame { order: 3; }
body.jun88-skin .j88-menu > li.nav-mpg { order: 4; }
body.jun88-skin .j88-menu > li.nav-chess { order: 5; }
body.jun88-skin .j88-menu > li.nav-sports { order: 6; }
body.jun88-skin .j88-menu > li.nav-animal { order: 7; }
body.jun88-skin .j88-menu > li.nav-lottery { order: 8; }
body.jun88-skin .j88-menu > li:has(a[href="/Promotion"]):not(.nav-brand) { order: 9; }
body.jun88-skin .j88-menu > li:has(a[href="/myvip"]) { order: 10; }
body.jun88-skin .j88-menu > li.nav-brand { order: 11; }
body.jun88-skin .j88-menu > li.nav-esports,
body.jun88-skin .j88-menu > li:has(+ li.nav-brand) { display: none !important; }
body.jun88-skin .j88-menu > li > .nav-item h3 { text-transform: uppercase; }

@media (max-width: 1100px) {
    .mb66-halls { grid-template-columns: repeat(2, 1fr); }
    .mb66-fav-grid { grid-template-columns: repeat(4, 1fr); }
    .mb66-amb, .mb66-app { display: grid; grid-template-columns: 1fr; }
    .mb66-amb video, .mb66-amb img.portrait, .mb66-phones, .mb66-app-copy { width: 100%; height: auto; flex: none; }
    body.jun88-skin #footer .mb66-foot-grid,
    body.jun88-skin #footer .mb66-foot-intro { grid-template-columns: 1fr; }
}
