/* U88 lobby guide: glue between the lobby layout and the guide copy.
   The lobby stylesheet sets the root font size to 100px, so everything here is in px. */

html{scroll-behavior:smooth}
body{margin:0}
[hidden]{display:none!important}
.seo-link-label,.g-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.g-skip{position:absolute;left:8px;top:-60px;z-index:10050;background:#18572d;color:#fff;padding:10px 16px;border-radius:6px;font:600 15px/1.2 Arial,sans-serif;text-decoration:none}
.g-skip:focus{top:8px}
a:focus-visible,button:focus-visible,[role=button]:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #edae16;outline-offset:2px}

/* divs that became real links keep the lobby look */
.lobby-d a.pointer-item,.lobby-d a.tab-header,.lobby-d a.btnJoin,.lobby-d a.btnLogin,.lobby-d a.promoDetailBtn,.lobby-m a.m-logo-link,.lobby-m a.promoDetailBtn{text-decoration:none;color:inherit}
.lobby-d a.btnJoin,.lobby-d a.btnLogin{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer}
.lobby-d a.btnLogin{color:#fff;margin-right:8px}
[data-go],[data-cta],[data-drawer],[data-mcode],[data-tab],[data-slide],.secondary-btn,.hotGamePlayBtn,.item-col .item{cursor:pointer}

/* ---- which lobby is on screen ---- */
@media (min-width:769px){.lobby-m{display:none!important}}
@media (max-width:768px){
  .lobby-d{display:none}
  body.m-fallback .lobby-d:not(.lobby-foot){display:block}
  body.m-fallback .lobby-d .navbar-container,body.m-fallback .lobby-d #desktopSideBanner{display:none!important}
  body.m-fallback .lobby-d .body-content-container{margin-top:0!important;min-height:0;padding-top:0!important}
  body.m-fallback .lobby-d .w-1100-container{width:calc(100% - 24px)!important;min-width:0!important}
  body.m-fallback .providerLandingIndexContainer{min-width:0!important;width:100%!important}
  body.m-fallback .providerLandingIndexContainer .top{height:auto!important;min-height:0}
  body.m-fallback .providerLandingIndexContainer .top img{width:100%;height:auto;display:block}
  body.m-fallback .providerLandingIndexContainer .slot-content{display:none}
  body.m-fallback .providerLandingIndexContainer .mid,body.m-fallback .providerLandingIndexContainer .bottom{width:100%!important;min-width:0!important;padding:0 10px;box-sizing:border-box}
  body.m-fallback .provider-box{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px;padding:10px 0;margin:0;width:100%!important;list-style:none;-webkit-overflow-scrolling:touch}
  body.m-fallback .provider-box>.tab-header{flex:0 0 92px!important;width:92px!important;height:46px!important;min-height:46px!important;margin:0!important}
  body.m-fallback .provider-box>.tab-header img{max-width:100%;max-height:100%;height:auto;width:auto}
  body.m-fallback .bottom .standard-tab{display:block!important;height:auto!important}
  body.m-fallback .bottom .tab-list{display:flex;overflow-x:auto;gap:6px;width:100%!important}
  body.m-fallback .bottom .tab-list .tab-header{flex:0 0 auto;font-size:13px!important;padding:8px 14px!important;min-width:0!important;width:auto!important;height:auto!important;line-height:1.2!important}
  body.m-fallback .bottom .game-search-container{display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;width:100%!important;padding:10px 0;position:static!important}
  body.m-fallback .bottom .gamefound{font-size:12px!important;flex:1 0 100%}
  body.m-fallback .bottom .gameSort,body.m-fallback .bottom .gameSearch{flex:1 1 140px;width:auto!important;margin:0!important;position:relative}
  body.m-fallback .bottom .gameSort select,body.m-fallback .bottom .gameSearch input{width:100%!important;height:40px!important;font-size:14px!important;box-sizing:border-box}
  body.m-fallback .bottom>.item-content{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:6px 0 16px;width:100%!important;margin:0!important}
  body.m-fallback .bottom>.item-content>.item-col{width:auto!important;margin:0!important;padding:0!important;max-width:none!important;flex:none!important}
  body.m-fallback .item-col .item-container,body.m-fallback .item-col .item,body.m-fallback .item-col .lazy-load-image-background,body.m-fallback .item-col .title-box{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0!important}
  body.m-fallback .item-col .lazy-load-image-background{display:block!important}
  body.m-fallback .item-col .title-box{justify-content:center;text-align:center;min-height:0!important}
  body.m-fallback .provider-box .tab-inner{width:100%!important;height:100%!important;display:flex;align-items:center;justify-content:center}
  body.m-fallback .provider-box .tab-inner img{width:auto!important;height:auto!important;max-width:84%!important;max-height:72%!important}
  .lobby-m.m-head #mobile-nav{top:0;left:0;right:0;z-index:950}
  .lobby-m.m-head{height:47px}
  body.m-fallback .item-col img{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:cover;display:block;border-radius:8px}
  body.m-fallback .item-col .title-box{font-size:12px!important;line-height:1.3!important;height:auto!important;padding:4px 2px!important;white-space:normal!important}
  body.m-fallback .item-col .item-btn{display:none!important}
  
  body.m-fallback .scr-container{width:100%!important;min-width:0!important;padding:10px;box-sizing:border-box}
  body.m-fallback .scr-container img{max-width:100%;height:auto}
  .lobby-m.m-bar{position:relative;z-index:900}
  body{padding-bottom:calc(58px + env(safe-area-inset-bottom))}
}

/* ---- sliders run on native scroll ---- */
.slick-slider .slick-list{flex:1 1 auto;min-width:0;width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.slick-slider .slick-list::-webkit-scrollbar{display:none}
.slick-slider .slick-track{display:flex!important;width:auto!important;transform:none!important;opacity:1!important}
.slick-slider .slick-slide{flex:0 0 auto;scroll-snap-align:start;float:none!important}
.carouselSliderSection .slick-slide,.mobileCarouselSliderSection .slick-slide{flex:0 0 100%;width:100%!important}
.hotGameContainer08 .slick-slide{flex:0 0 20%;width:20%!important}
.liveCasinoSliderContainer .slick-slide,.hotmatchContainer .slick-slide{flex:0 0 33.333%;width:33.333%!important}
.slick-slider .slick-dots{display:none!important}
@media (max-width:768px){
  .hotGameContainer08 .slick-slide{flex:0 0 50%;width:50%!important}
  .liveCasinoSliderContainer .slick-slide{flex:0 0 100%;width:100%!important}
}
.lobby-d .navSubmenu-container.is-open{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important}
.g-img-missing{visibility:hidden}

/* ---- mobile drawer and language picker ---- */
.m-drawer{position:fixed;inset:0;z-index:10010}
.m-drawer .mobile-sidebar{position:absolute!important;left:0;top:0;bottom:0;transform:none!important;z-index:2;overflow-y:auto;max-width:86vw}
.m-drawer-shade,.g-shade{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.g-shade{position:fixed;z-index:10020}
.g-modal{position:fixed;z-index:10021;left:50%;top:18vh;transform:translateX(-50%);width:min(420px,calc(100vw - 32px));background:#fff;color:#16201a;border-radius:12px;overflow:hidden;font:15px/1.5 Arial,"PingFang SC","Microsoft YaHei",sans-serif;box-shadow:0 18px 60px rgba(0,0,0,.3)}
.g-modal-h{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;background:#eef2ec}
.g-modal-h button{border:0;background:none;font:26px/1 Arial,sans-serif;width:40px;height:40px;cursor:pointer;color:#16201a}
.g-langs{display:grid;gap:10px;padding:18px}
.g-langs a{display:block;padding:13px 16px;border:1px solid #d5ddd1;border-radius:8px;color:#16201a;text-decoration:none;text-align:center;font-weight:600}
.g-langs a:hover{background:#18572d;border-color:#18572d;color:#fff}
.g-modal-open{overflow:hidden}

/* ---- the guide copy ---- */
.guide{background:#fff;color:#1b2420;font:17px/1.75 "Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;padding:44px 20px 36px;border-top:4px solid #18572d;text-align:left;position:relative;z-index:1}
.guide *{box-sizing:border-box}
.g-in{max-width:860px;margin:0 auto}
.guide h1{font-weight:700;font-size:32px;line-height:1.25;font-family:inherit;margin:14px 0 14px;color:#10391e;letter-spacing:-.2px}
.guide h2{font-weight:700;font-size:23px;line-height:1.3;font-family:inherit;margin:38px 0 10px;color:#10391e}
.guide h3{font-weight:700;font-size:18px;line-height:1.4;font-family:inherit;margin:22px 0 4px;color:#16201a}
.guide p{margin:0 0 14px;font-size:17px;line-height:1.75;color:#1b2420}
.guide ul{margin:0 0 16px;padding-left:22px}
.guide li{margin:0 0 6px;font-size:17px;line-height:1.65;list-style:disc}
.guide a{color:#0f6a35;text-underline-offset:3px}
.guide a:hover{color:#0a4a24}
.g-lede{font-size:19px!important;line-height:1.7!important;color:#16201a!important}
.g-meta{font-size:14px!important;color:#5b6a61!important;margin-bottom:22px!important}
.g-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;font-size:14px}
.g-crumbs li{list-style:none;margin:0;font-size:14px;color:#5b6a61}
.g-crumbs li+li::before{content:"/";margin-right:6px;color:#a3aea7}
.g-facts,.g-dir,.g-terms table{width:100%;border-collapse:collapse;margin:8px 0 22px;font-size:16px;background:#fff}
.g-facts th,.g-facts td,.g-dir th,.g-dir td,.g-terms th,.g-terms td{border:1px solid #dfe6dc;padding:10px 14px;text-align:left;vertical-align:top;font-size:16px;line-height:1.5;color:#1b2420}
.g-facts th{width:38%;background:#f3f7f1;font-weight:600}
.g-dir thead th,.g-terms tr:first-child td,.g-terms th{background:#18572d;color:#fff;font-weight:600}
.g-terms tr:first-child td *,.g-terms th *{color:#fff!important}
.g-terms p{margin-bottom:10px}
.g-dir td:last-child,.g-dir th:last-child{text-align:right;width:36%;font-variant-numeric:tabular-nums}
.g-dir tbody tr:nth-child(even) td{background:#f8faf7}
.g-chips,.g-cards{list-style:none!important;padding:0!important;display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 20px!important}
.g-chips li,.g-cards li{list-style:none!important;margin:0!important}
.g-chips a{display:inline-flex;gap:8px;align-items:center;padding:8px 13px;border:1px solid #d5ddd1;border-radius:999px;text-decoration:none;font-size:15px;line-height:1.2;color:#16201a;background:#fff}
.g-chips a:hover{border-color:#18572d;background:#f3f7f1}
.g-chips span{font-size:13px;color:#5b6a61;font-variant-numeric:tabular-nums}
.g-cards{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.g-cards a{display:block;padding:16px 18px;border:1px solid #d5ddd1;border-radius:10px;text-decoration:none;color:#16201a;background:#fff;height:100%}
.g-cards a:hover{border-color:#18572d;box-shadow:0 4px 14px rgba(24,87,45,.12)}
.g-cards strong{display:block;font-size:18px;color:#10391e}
.g-cards span{display:block;font-size:14px;color:#5b6a61;margin-top:2px}
.g-terms{overflow-x:auto;margin:6px 0 18px}
.g-terms img{max-width:100%;height:auto}
.g-note{font-size:15px!important;color:#4d5b53!important;background:#f3f7f1;border-left:4px solid #18572d;padding:12px 16px;border-radius:0 8px 8px 0}
.g-cta{margin:30px 0 18px!important}
.g-btn{display:inline-block;background:#18572d;color:#fff!important;text-decoration:none;font-weight:700;font-size:16px;padding:14px 26px;border-radius:8px}
.g-btn:hover{background:#0f3f20}
.g-disclosure{font-size:14px!important;line-height:1.6!important;color:#5b6a61!important;border-top:1px solid #dfe6dc;padding-top:16px;margin-top:26px!important}
.g-foot{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;margin-top:12px;color:#5b6a61}
.g-foot a{font-size:14px}
.g-foot a[aria-current]{font-weight:700;text-decoration:none;color:#16201a}
.g-empty{grid-column:1/-1;width:100%;text-align:center;padding:30px 10px;font:15px/1.5 Arial,sans-serif;color:#5b6a61}
.g-404{background:#f3f7f1}
.g-404 .g-btn{margin:0 6px 8px 0}
@media (max-width:768px){
  .guide{padding:28px 16px 26px;font-size:16px}
  .guide h1{font-size:25px}
  .guide h2{font-size:20px;margin-top:30px}
  .guide p,.guide li{font-size:16px}
  .g-lede{font-size:17px!important}
  .g-facts th,.g-facts td,.g-dir th,.g-dir td,.g-terms th,.g-terms td{padding:9px 10px;font-size:15px}
  .g-btn{display:block;text-align:center}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* mobile lobby: show which category is open (the snapshot only carries one "on" icon) */
.lobby-m [data-mcode]{opacity:.72;border-radius:10px;transition:opacity .15s}
.lobby-m [data-mcode].menu-selected{opacity:1;box-shadow:0 0 0 2px #2f8f3a}
