/* Casino / slot lobby — bebe real_list cards, no wallet transfer block */

.zb-lobby.sub_content_arr {
  position: relative;
  overflow: visible;
  min-height: 0;
  width: auto;
  margin: 0;
  padding: 60px 10px 16px;
  box-sizing: border-box;
  clear: both;
}

.zb-lobby-title,
body.zb-shell .zb-lobby h2.zb-lobby-title,
body.bebe-pc .zb-lobby h2.zb-lobby-title,
body.bebe-mobile .zb-lobby h2.zb-lobby-title {
  position: absolute !important;
  left: 0;
  top: 0;
  right: 0;
  height: 50px !important;
  line-height: 50px !important;
  margin: 0 !important;
  padding-left: 15px !important;
  border-bottom: solid 1px #3a2d08 !important;
  text-align: left !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  color: #f2c927 !important;
  -webkit-text-fill-color: #f2c927 !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  animation: none !important;
  float: none !important;
  width: auto !important;
  display: block !important;
  text-shadow: none;
  z-index: 2;
}
.zb-lobby-title small,
body.zb-shell .zb-lobby h2.zb-lobby-title small,
body.bebe-pc .zb-lobby h2.zb-lobby-title small,
body.bebe-mobile .zb-lobby h2.zb-lobby-title small {
  font-weight: 100 !important;
  font-size: 20px !important;
  color: #b7b391 !important;
  -webkit-text-fill-color: #b7b391 !important;
  margin-left: 6px;
}

.zb-lobby .real_list {
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 11px 0;
}

.zb-lobby .real_list a {
  width: 100%;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: all 300ms;
  display: block;
  text-decoration: none !important;
}

.zb-lobby .real_list .border {
  padding: 2px;
  border-radius: 13px;
  background-size: 80rem 80rem;
  transition: all 300ms;
  overflow: hidden;
  background-image: linear-gradient(135deg, #f2c527 12.5%, transparent 25%, transparent 50%, #fff 62.5%, transparent 75%, transparent), linear-gradient(#fff, #fff);
  background-color: #fff;
}

.zb-lobby .real_list a:hover .border {
  animation: golden_effect_btn_play_game 4s linear infinite;
}

.zb-lobby .real_list img {
  width: 100%;
  height: auto;
  border-radius: 11px;
  display: block;
  filter: grayscale(0) brightness(1);
  transition: all 500ms;
  background: #111;
}

.zb-lobby .real_list a:hover img {
  filter: grayscale(1) brightness(0.3);
}

.zb-lobby .real_list .game_title {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 43%;
  transform: translateY(-50%);
  text-align: center;
  opacity: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  word-break: keep-all;
  pointer-events: none;
  text-shadow:
    0 0 5px #ffe04f,
    0 0 10px #c4960a,
    0 0 20px #c4960a;
  transition: opacity 500ms;
  z-index: 2;
}

.zb-lobby .real_list a:hover .game_title {
  opacity: 1;
}

.zb-lobby .zb-lobby-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px 10px;
  text-align: center;
  color: #b7b391;
  font-size: 14px;
}

@keyframes golden_effect_btn_play_game {
  0% { background-position: 0 0; }
  100% { background-position: 80rem 0; }
}

@media screen and (max-width: 1023px) {
  .zb-lobby.sub_content_arr {
    padding: 52px 4px 16px;
  }
  .zb-lobby-title,
  body.zb-shell .zb-lobby h2.zb-lobby-title,
  body.bebe-pc .zb-lobby h2.zb-lobby-title,
  body.bebe-mobile .zb-lobby h2.zb-lobby-title {
    font-size: 18px !important;
    height: 44px !important;
    line-height: 44px !important;
  }
  .zb-lobby-title small,
  body.zb-shell .zb-lobby h2.zb-lobby-title small,
  body.bebe-pc .zb-lobby h2.zb-lobby-title small,
  body.bebe-mobile .zb-lobby h2.zb-lobby-title small {
    font-size: 13px !important;
  }
  .zb-lobby .real_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .zb-lobby .real_list .game_title {
    font-size: 16px;
  }
}
