@media (min-width: 991px) {
  .quickmenu {
    justify-content: center;
    gap: 20px;
    max-width: 640px;
    left: calc((100dvw - 640px) / 2);
    scale: 1.2;
    bottom: 16px !important;
    margin: 0 auto;
  }

  .tm_position {
    bottom: 68px;
    scale: 1.2;
  }
  body {
    padding: 0 0;
    font-size: 16px;
  }

  .func-wrap {
    max-width: 640px;
    margin: 0 auto;
  }

  .top-fix {
    max-width: 1160px;
    box-shadow: none;
  }

  .fix-adjust-type4 {
    padding-top: 204px !important;
  }

  .vs-menu-toggle,
  .vs-menu-toggle-x {
    right: 3.5%;
  }

  .limit-input {
    max-width: none;
  }

  .main-container {
    padding: 12px 0;
  }

  .background_img {
    display: none;
  }

  .main-item-group {
    width: 15%;
    max-width: 144px;
    display: flex;
    flex-direction: column;
  }

  .main-container {
    padding: 12px 2.5%;
  }

  .ticker {
    font-size: 16px;
  }

  .hc_top_banner {
    height: 120px;
  }

  .link_grad_rightcover {
    display: none;
  }

  .detail-container {
    width: 60%;
    margin-left: 20%;
  }

  li {
    font-size: 1rem;
    margin-bottom: 2px;
  }

  .text_contents p {
    font-size: 1rem;
  }

  .text_contents ol li {
    font-size: 1rem;
  }

  .transaction_table td,
  .transaction_table th {
    font-size: 1rem;
  }

  .rg-text-ps {
    font-size: 0.9rem;
  }

  .text_contents .level1 {
    font-size: 1.1rem;
  }

  .hc_link_item {
    font-size: 1.1rem;
  }

  .func-title {
    font-size: 1.3rem;
    height: 52px;
    line-height: 51px;
  }

  .back_btn {
    width: 48px;
    height: 48px;
    padding: 4px;
    margin-top: 8px;
    margin-left: 10px;
  }

  label {
    font-size: 1rem;
  }

  .balance_val {
    font-size: 1.2rem;
  }

  .spacer_10px {
    height: 24px;
  }

  .sns-section a {
    font-size: 1rem;
  }

  .licencetext a,
  .licencetext {
    font-size: 11px;
  }

  .main-item-text_c {
    font-size: 1.1rem;
  }

  .copyright-text {
    font-size: 0.8rem;
  }

  .mobile-menu-scription {
    font-size: 0.8rem;
  }

  .func-btn-wrap_new {
    margin-top: 20px;
  }

  .tm_title {
    font-size: 18px;
  }

  .game_title_wrap .game-item-text {
    font-size: 14px;
    padding-left: 4px;
  }
}

@media (min-width: 768px) {
  .mobile-adimg {
    display: none;
  }

  .mobile-adimg-portrait {
    display: block;
  }

  .mobile-fullpage {
    z-index: 999999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    max-width: 680px !important;
    min-width: 680px;
    height: auto;
    width: auto;
    padding: 0 0;
    box-shadow: 0 0 32px rgba(255, 255, 255, 1);
  }

  .modal_contents_responsive {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .age_close {
    margin: 20px 0;
  }

  .cs-modal_close_2 {
    background-color: rgb(199, 191, 199);
  }

  .mobile-ad-textwrap {
    padding: 50px 10px 0 10px;
    line-height: 1.25;
  }

  .ticker_cover_left,
  .ticker_cover_right {
    display: none;
  }

  .top-fix {
    box-shadow: none;
  }

  .contents-index-menu-wrap {
    overflow-x: hidden;
    align-items: center;
    padding: 0 3.5%;
    justify-content: center;
    gap: 20px;
    border-radius: 36px;
    width: 95%;
    margin: 0 auto;
  }
  .main-item-text {
    padding-bottom: 8px;
    font-size: 14px;
    width: 144px !important;
    text-align: center;
  }

  .la_exp_bar_wrap {
    width: 78%;
  }

  .tm_total_contents {
    justify-content: center;
  }

  .tm_total_con {
    width: calc(100% / 4 - (18px / 4));
  }

  .tm_filter_select {
    max-width: 160px;
  }

  .cert_icon_wrap_login img {
    max-width: 244px;
  }

  .slide-popup,
  .slide-popup-2,
  .slide-popup-3 {
    padding: 20px 15%;
    max-width: 991px;
    margin-left: calc((100% - 991px) / 2);
  }

  .ekyc_logo_wrap img {
    max-width: 420px;
  }
}

@media (min-width: 769px) {
  .quickmenu {
    justify-content: center;
    gap: 20px;
  }

  .vs-header {
    background-color: white;
  }

  .vs-menu-wrapper {
    width: 640px;
  }

  .vs-menu-wrapper .vs-menu-area {
    overflow-y: hidden;
  }

  .header-top .container,
  header .container {
    padding: 0 40px;
  }

  .header-logo {
    max-width: 160px;
  }

  .main-item-text_l {
    font-size: 18px !important;
  }

  .la_title,
  .la_exp_meter_val {
    scale: 1.2;
  }

  .la_exp_bar_index img {
    width: 48px;
    height: 48px;
  }

  .la_exp_bar_wrap {
    background-size: 12vw;
  }

  .mobile_tmbtn_xsmall {
    min-width: 108px;
  }

  .la_exp_meter_wrap img {
    width: 48px;
    height: 48px;
  }

  .h_scroll {
    gap: 12px;
  }

  .h_scroll .link_item_wrap {
    width: 20%;
    height: auto;
    aspect-ratio: 168 / 233;
    border-radius: 12px;
    min-width: 144px;
    max-width: 144px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--theme-color);
    gap: 8px;
  }

  .game_item_link {
    /* width: 100%; */
    height: auto;
    aspect-ratio: 168 / 219;
    border-radius: 12px;
    min-width: 144px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--theme-color);
    justify-content: center;
  }

  .footer-logo img {
    max-width: 128px;
  }

  footer {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    margin-top: 20px;
    padding: 20px 20% !important;
  }

  .footer_policy {
    margin-bottom: 30px;
  }

  .footer_policy a {
    font-size: 16px;
  }

  .sns-section {
    padding: 0 0%;
    max-width: 720px;
    margin: 0 auto;
  }

  .max_icon {
    top: 48px;
  }

  input#peso {
    background-size: 24px !important;
  }

  .eraser_icon {
    position: absolute;
    top: 44px;
    right: 2%;
  }

  .mobile-bottom-spacer {
    height: 80px;
  }

  .basic_info {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .ticker_action_position {
    padding: 0 0%;
    height: 32px;
    border-radius: 16px;
  }

  .large_hidden {
    display: none;
  }

  .sns-section img {
    max-width: 144px;
  }

  .pm-logo img {
    max-width: 96px;
  }

  /* .main_banner {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: black !important;
  } 

  .main_banner video {
    width: 50%;
  }

  .main_banner .sidect {
    width: 50%;
    aspect-ratio: 48/27;
    display: block;
  }

  .main_banner .sidect img {
    width: 100%;
  } */

  .user-info-top-wrap {
    align-items: center;
  }

  .mobile-menu-ul li a:hover {
    color: var(--secondary-color) !important;
  }

  .main-item:hover {
    transition: 0.2s;
    filter: brightness(1.1);
  }

  .footer_policy a:hover {
    color: var(--secondary-color) !important;
  }

  .tm-style {
    width: 32%;
    margin-right: 8px;
  }

  .h_scroll {
    /* justify-content: space-between; */
    /* justify-content: space-around; */
    /* justify-content: center; */
    /* gap: 8px; */
    /* gap:calc(100% - ( ((100% / 7) - 2px ) * 7  ) ); */
    justify-content: flex-start;
  }

  .referral_item {
    width: 18%;
  }

  .rewards_point {
    padding: 6px 24px;
  }

  .tab-btn-half {
    padding: 12px 12px;
    font-size: 16px;
  }

  .tm_style_2 {
    width: 48% !important;
    margin: 8px !important;
    padding: 16px !important;
    min-height: 128px !important;
  }

  .payment_btn_group_2 {
    padding: 0 15%;
  }

  .pay_type_wrap {
    justify-content: center;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto;
  }

  .pre-define-btn-wrap {
    max-width: 640px;
    margin: 0 auto;
  }

  .pay_com_icon,
  .pay_com_icon_ch {
    width: 19%;
    padding: 10px 20px;
  }

  .tm-style_2 {
    min-height: 128px !important;
  }

  .sigin_up_dealer {
    display: none;
  }

  .signup_wrap {
    height: 80px;
  }

  .signup_btn {
    min-width: 240px;
  }

  .signup_text {
    padding-top: 4px;
  }
}

@media (max-width: 768px) {
  .small_hidden {
    display: none;
  }

  .quickmenu {
    gap: 20px;
  }
}

@media (min-width: 847px) {
  .transaction_table {
    text-align: center;
    color: black;
    width: 100% !important;
    overflow-x: auto !important;

    table-layout: fixed;
    overflow-wrap: break-word;
  }

  .tm_extension {
    overflow-x: auto !important;
  }
}

@media (min-width: 576px) {
  .h_scroll::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  .h_scroll::-webkit-scrollbar-track {
    border-radius: 6px;
  }

  .h_scroll::-webkit-scrollbar-thumb {
    background: var(--lightblue_dark);
    border-radius: 6px;
  }

  .h_scroll::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
  }

  .quickmenu {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .quickmenu {
    gap: 0px;
  }
}

@media (max-width: 320px) {
  .quickmenu {
    left: 0;
  }
}
