.elementor-1217 .elementor-element.elementor-element-b6e4017{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1217 .elementor-element.elementor-element-196c366{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1217 .elementor-element.elementor-element-b69b6f9 img{width:25%;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1217 .elementor-element.elementor-element-bac81b7{text-align:center;}.elementor-1217 .elementor-element.elementor-element-bac81b7 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:30px;font-weight:600;color:var( --e-global-color-nvtextcolor );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-1217 .elementor-element.elementor-element-8dfa541{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-8dfa541 a{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-e20bf5b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1217 .elementor-element.elementor-element-7279314{text-align:center;}.elementor-1217 .elementor-element.elementor-element-7279314 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:30px;font-weight:600;color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-ad63ad9{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-ad63ad9 a{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-f1514c9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1217 .elementor-element.elementor-element-e1c8255{text-align:center;}.elementor-1217 .elementor-element.elementor-element-e1c8255 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:30px;font-weight:600;color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-66405e2{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-66405e2 a{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-41192b8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1217 .elementor-element.elementor-element-1b840cb{text-align:center;}.elementor-1217 .elementor-element.elementor-element-1b840cb .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:30px;font-weight:600;color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-1d17ed9{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-1d17ed9 a{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-90103e1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1217 .elementor-element.elementor-element-4bc64c4{text-align:center;}.elementor-1217 .elementor-element.elementor-element-4bc64c4 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:30px;font-weight:600;color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-d256e6f{color:var( --e-global-color-nvtextcolor );}.elementor-1217 .elementor-element.elementor-element-d256e6f a{color:var( --e-global-color-nvtextcolor );}@media(max-width:1024px){.elementor-1217 .elementor-element.elementor-element-b69b6f9 img{width:25%;}.elementor-1217 .elementor-element.elementor-element-bac81b7 .elementor-heading-title{font-size:25px;}.elementor-1217 .elementor-element.elementor-element-7279314 .elementor-heading-title{font-size:25px;}.elementor-1217 .elementor-element.elementor-element-e1c8255 .elementor-heading-title{font-size:25px;}.elementor-1217 .elementor-element.elementor-element-1b840cb .elementor-heading-title{font-size:25px;}.elementor-1217 .elementor-element.elementor-element-4bc64c4 .elementor-heading-title{font-size:25px;}}@media(max-width:767px){.elementor-1217 .elementor-element.elementor-element-b69b6f9 img{width:35%;}.elementor-1217 .elementor-element.elementor-element-bac81b7 .elementor-heading-title{font-size:20px;}.elementor-1217 .elementor-element.elementor-element-7279314 .elementor-heading-title{font-size:20px;}.elementor-1217 .elementor-element.elementor-element-e1c8255 .elementor-heading-title{font-size:20px;}.elementor-1217 .elementor-element.elementor-element-1b840cb .elementor-heading-title{font-size:20px;}.elementor-1217 .elementor-element.elementor-element-4bc64c4 .elementor-heading-title{font-size:20px;}}/* Start custom CSS for html, class: .elementor-element-f59781e *//* =========================================================
   GLOBAL
========================================================= */

.game-lobby,
.game-lobby *{
  box-sizing:border-box;
}

.game-lobby{
  --game-green:#25b9ff;
  --game-green-dark:#0878b8;
  --game-bg:#06273a;
  --game-bg-2:#041b29;

  width:100%;
  margin:0;
  padding:0;

  background:transparent;

  color:#fff;

  font-family:
    "Kanit",
    "Noto Sans Thai",
    Arial,
    sans-serif;
}


/* =========================================================
   LAYOUT
========================================================= */

.game-lobby-layout{
  display:grid;

  grid-template-columns:
    220px minmax(0,1fr);

  width:100%;
}


/* =========================================================
   SIDE MENU
========================================================= */

.game-side-menu{
  padding:12px;

  display:flex;
  flex-direction:column;

  gap:10px;

  background:transparent;

  border-right:
    3px solid
    #27baff;
}


/* =========================================================
   MENU BUTTON
========================================================= */

.game-menu-btn{
  min-height:66px;

  padding:9px 12px;

  border:0;
  border-radius:15px;

  display:flex;
  align-items:center;

  gap:12px;

  background:#0b78b5;

  color:#fff;

  font-family:inherit;
  font-size:15px;
  font-weight:800;

  cursor:pointer;

  text-align:left;

  transition:
    background .2s ease,
    transform .2s ease;
}

.game-menu-btn span{
  font-size:25px;
}

.game-menu-btn:hover,
.game-menu-btn.active{
  background:#149fe8;
}

.game-menu-btn.active{
  box-shadow:
    inset 4px 0 0 #8edcff;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.game-mobile-menu{
  display:none;
}


/* =========================================================
   MAIN
========================================================= */

.game-main{
  min-width:0;

  padding:12px;
}


/* =========================================================
   NEWS
========================================================= */

.game-news{
  width:100%;

  height:40px;

  margin-bottom:12px;

  overflow:hidden;

  border-radius:7px;

  display:flex;
  align-items:center;

  background:#0b86c5;
}

.game-news-track{
  min-width:max-content;

  padding-left:100%;

  color:#fff;

  font-size:14px;
  font-weight:700;

  white-space:nowrap;

  animation:
    gameNewsRun 22s linear infinite;
}

@keyframes gameNewsRun{

  from{
    transform:translateX(0);
  }

  to{
    transform:translateX(-100%);
  }

}


/* =========================================================
   HERO
========================================================= */

.game-hero-slider{
  position:relative;

  width:100%;

  margin-bottom:10px;

  overflow:hidden;

  border-radius:11px;
}

.game-hero-track{
  display:flex;

  width:100%;

  transition:
    transform .6s
    cubic-bezier(.4,0,.2,1);
}

.game-hero-slide{
  flex:0 0 100%;

  display:block;
}

.game-hero-slide img{
  display:block;

  width:100%;

  aspect-ratio:1040 / 270;

  object-fit:cover;
}


/* =========================================================
   DOT
========================================================= */

.game-hero-dots{
  position:absolute;

  left:50%;
  bottom:12px;

  transform:translateX(-50%);

  display:flex;

  gap:8px;
}

.game-hero-dot{
  width:10px;
  height:10px;

  padding:0;

  border:0;
  border-radius:50%;

  background:#fff;

  opacity:.75;

  cursor:pointer;
}

.game-hero-dot.active{
  background:#000;

  opacity:1;
}


/* =========================================================
   PAGE
========================================================= */

.game-page{
  display:none;
}

.game-page.active{
  display:block;
}


/* =========================================================
   HEADING
========================================================= */

.game-heading{
  min-height:44px;

  margin-bottom:10px;

  padding:0 18px;

  display:flex;
  align-items:center;

  gap:8px;

  border-radius:8px;

  background:#0b86c5;

  color:#fff;

  font-size:20px;
  font-weight:900;
}

.game-heading span{
  font-size:21px;
}


/* =========================================================
   CARD
========================================================= */

.game-card{
  position:relative;

  display:block;

  min-width:0;

  overflow:hidden;

  border-radius:8px;

  background:transparent;

  color:#fff !important;

  text-decoration:none !important;

  box-shadow:
    0 0 0 2px
    rgba(0,160,65,.35);

  -webkit-tap-highlight-color:
    transparent;
}

.game-card img{
  display:block;

  width:100%;
  height:100%;

  object-fit:cover;
}

/* =========================================================
   GAME IMAGE FIT
   อิงสัดส่วนภาพตัวอย่าง 1140 x 720
   ยกเว้นหมวดกีฬา คงเดิม
========================================================= */

.game-card:not(.game-sport-card) img{
  object-fit:contain;
  object-position:center;
}

.game-name{
  position:absolute;

  left:0;
  right:0;
  bottom:0;

  z-index:3;

  padding:5px 8px;

  background:
    rgba(0,0,0,.62);

  color:#fff;

  font-size:12px;
  font-weight:800;
}


/* =========================================================
   PLAY BUTTON
========================================================= */

.game-play{
  position:absolute;

  left:50%;
  top:50%;

  z-index:10;

  min-width:86px;

  padding:9px 18px;

  transform:
    translate(-50%,-50%)
    scale(.85);

  border-radius:999px;

  background:#149fe8;

  color:#fff;

  font-size:14px;
  font-weight:900;

  text-align:center;

  opacity:0;

  pointer-events:none;

  transition:
    opacity .2s ease,
    transform .2s ease;
}


/* Desktop hover */

@media (hover:hover){

  .game-card:hover .game-play{
    opacity:1;

    transform:
      translate(-50%,-50%)
      scale(1);
  }

  .game-card:hover img{
    filter:brightness(.72);
  }

}


/* Mobile first touch */

.game-card.mobile-ready .game-play{
  opacity:1;

  transform:
    translate(-50%,-50%)
    scale(1);
}

.game-card.mobile-ready img{
  filter:brightness(.70);
}


/* =========================================================
   SLOT FEATURE
========================================================= */

.game-feature-layout{
  display:grid;

  grid-template-columns:
    2fr 4fr;

  gap:14px;
}

.game-feature-card{
  aspect-ratio:1140 / 720;
}

.game-feature-small-grid{
  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:12px;
}

.game-feature-small-grid .game-card{
  aspect-ratio:1140 / 720;
}


/* =========================================================
   NORMAL CATEGORY
   DESKTOP 6
========================================================= */

.game-small-grid{
  display:grid;

  grid-template-columns:
    repeat(6,minmax(0,1fr));

  gap:12px;
}

.game-small-grid .game-card{
  aspect-ratio:1140 / 720;
}


/* =========================================================
   SPORTS
   Desktop = 2
========================================================= */

.game-sport-grid{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:14px;
}

.game-sport-card{
  aspect-ratio:1040 / 240;
}



/* =========================================================
   HOME PAGE
========================================================= */

.game-home-category{
  width:100%;
  margin-top:18px;
}

@media screen and (min-width:768px){
  .game-home-category{
    margin-top:22px;
  }
}

@media screen and (max-width:767px){
  .game-home-category{
    margin-top:14px;
  }
}


/* =========================================================
   TABLET
========================================================= */

@media screen and
(min-width:768px) and
(max-width:1100px){

  .game-lobby-layout{
    grid-template-columns:
      170px minmax(0,1fr);
  }

  .game-side-menu{
    padding:9px;
  }

  .game-menu-btn{
    min-height:57px;

    padding:8px;

    gap:8px;

    font-size:13px;
  }

  .game-menu-btn span{
    font-size:21px;
  }


  .game-feature-layout{
    grid-template-columns:
      1.5fr 3fr;
  }

  .game-feature-small-grid{
    grid-template-columns:
      repeat(4,minmax(0,1fr));

    gap:8px;
  }


  .game-small-grid{
    grid-template-columns:
      repeat(4,minmax(0,1fr));

    gap:8px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and
(max-width:767px){

  .game-lobby-layout{
    display:block;
  }


  /* ซ่อนเมนูข้าง */

  .game-side-menu{
    display:none;
  }


  /* ===============================================
     MOBILE MENU ด้านบน
  =============================================== */

  .game-mobile-menu{
    position:relative;

    width:100%;

    padding:7px;

    display:flex;

    gap:6px;

    overflow-x:auto;
    overflow-y:hidden;

    background:transparent;

    scrollbar-width:none;

    -webkit-overflow-scrolling:touch;
  }

  .game-mobile-menu::-webkit-scrollbar{
    display:none;
  }

  .game-mobile-menu .game-menu-btn{
    flex:0 0 72px;

    min-height:72px;

    padding:5px;

    flex-direction:column;

    justify-content:center;

    gap:2px;

    border-radius:10px;

    font-size:11px;

    text-align:center;
  }

  .game-mobile-menu .game-menu-btn span{
    font-size:22px;
  }


  /* ===============================================
     MAIN
  =============================================== */

  .game-main{
    padding:6px;
  }


  /* ===============================================
     NEWS อยู่ใต้เมนู
  =============================================== */

  .game-news{
    height:35px;

    margin-bottom:7px;

    border-radius:6px;
  }

  .game-news-track{
    font-size:11px;

    animation-duration:18s;
  }


  /* ===============================================
     HERO
  =============================================== */

  .game-hero-slider{
    margin-bottom:8px;

    border-radius:8px;
  }

  .game-hero-slide img{
    aspect-ratio:
      1040 / 300;
  }

  .game-hero-dots{
    bottom:7px;
  }

  .game-hero-dot{
    width:7px;
    height:7px;
  }


  /* ===============================================
     HEADING
  =============================================== */

  .game-heading{
    min-height:39px;

    margin-bottom:7px;

    padding:0 12px;

    font-size:16px;

    border-radius:6px;
  }

  .game-heading span{
    font-size:17px;
  }


  /* ===============================================
     SLOT
     1 ใหญ่ + 2 ต่อแถว
  =============================================== */

  .game-feature-layout{
    display:block;
  }

  .game-feature-card{
    width:100%;

    margin-bottom:7px;

    aspect-ratio:1140 / 720;
  }


  .game-feature-small-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:7px;
  }

  .game-feature-small-grid .game-card{
    aspect-ratio:1140 / 720;
  }


  /* ===============================================
     CATEGORY
     2 ต่อแถว
  =============================================== */

  .game-small-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:7px;
  }

  .game-small-grid .game-card{
    aspect-ratio:1140 / 720;
  }


  /* ===============================================
     SPORT
     1 ต่อแถว
  =============================================== */

  .game-sport-grid{
    grid-template-columns:1fr;

    gap:8px;
  }

  .game-sport-card{
    aspect-ratio:1040 / 300;
  }


  .game-name{
    padding:4px 6px;

    font-size:10px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and
(max-width:380px){

  .game-mobile-menu .game-menu-btn{
    flex-basis:66px;

    min-height:66px;
  }

  .game-play{
    min-width:70px;

    padding:7px 13px;

    font-size:12px;
  }

}


/* =========================================================
   SLOT PAGE - FILL GRID UNDER LARGE IMAGE
   ปรับเฉพาะหมวดสล็อต
   โค้ด/รูป/หมวดอื่นคงเดิม
========================================================= */

/* Desktop:
   รวมรูปใหญ่ + รูปเล็กให้อยู่ใน Grid เดียวกัน
   รูปใหญ่กินพื้นที่ 2 คอลัมน์ x 2 แถว
   รูปเล็ก 4 รูปอยู่ด้านขวาต่อแถว
   เมื่อพ้นความสูงรูปใหญ่แล้ว รูปเล็กจะเรียงเต็มด้านล่างทั้งหมด
*/
.game-page[data-content="slot"] .game-feature-layout{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-auto-flow:row;
  gap:12px;
  align-items:stretch;
}

.game-page[data-content="slot"] .game-feature-card{
  grid-column:span 2;
  grid-row:span 2;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  margin:0;
}

.game-page[data-content="slot"] .game-feature-small-grid{
  display:contents;
}

.game-page[data-content="slot"] .game-feature-small-grid .game-card{
  width:100%;
  aspect-ratio:1140 / 720;
}


/* =========================================================
   TABLET
========================================================= */
@media screen
and (min-width:768px)
and (max-width:1100px){

  .game-page[data-content="slot"] .game-feature-layout{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
  }

  .game-page[data-content="slot"] .game-feature-card{
    grid-column:span 2;
    grid-row:span 2;
    aspect-ratio:auto;
  }

}


/* =========================================================
   MOBILE
   รูปใหญ่เต็มแถว
   รูปเล็ก 2 รูปต่อแถวต่อด้านล่าง
========================================================= */
@media screen
and (max-width:767px){

  .game-page[data-content="slot"] .game-feature-layout{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }

  .game-page[data-content="slot"] .game-feature-card{
    grid-column:1 / -1;
    grid-row:auto;
    width:100%;
    height:auto;
    aspect-ratio:1140 / 720;
    margin:0;
  }

  .game-page[data-content="slot"] .game-feature-small-grid{
    display:contents;
  }

  .game-page[data-content="slot"] .game-feature-small-grid .game-card{
    width:100%;
    aspect-ratio:1140 / 720;
  }

}/* End custom CSS */