/* OMG poster layout override: keep the original theme and only tune poster cards. */
html,
body,
#app {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.home .hotGame .gameListNew,
.home .ordinaryGame .gameListNew {
  align-items: stretch !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}

.home .hotGame .gameListNew {
  height: min(31.2vw, 134px) !important;
}

.home .ordinaryGame .gameListNew {
  height: min(25.6vw, 110px) !important;
}

.home .hotGame .gameListNew .gameItem {
  flex: 0 0 auto !important;
  min-width: min(46vw, 197px) !important;
  max-width: min(46vw, 197px) !important;
  width: min(46vw, 197px) !important;
  height: min(29.33vw, 126px) !important;
  margin-right: min(2.4vw, 10px) !important;
  border-radius: min(2.4vw, 10px) !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18) !important;
}

.home .ordinaryGame .gameListNew .gameItem {
  flex: 0 0 auto !important;
  min-width: min(44vw, 188px) !important;
  max-width: min(44vw, 188px) !important;
  width: min(44vw, 188px) !important;
  height: min(24.75vw, 106px) !important;
  margin-right: min(2.4vw, 10px) !important;
  border-radius: min(2.4vw, 10px) !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18) !important;
}

.home .hotGame .gameListNew .gameImg,
.home .ordinaryGame .gameListNew .gameImg {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  overflow: hidden !important;
  position: relative !important;
}

.home .hotGame .gameListNew img,
.home .ordinaryGame .gameListNew img,
.home .hotGame .gameListNew .van-image__img,
.home .ordinaryGame .gameListNew .van-image__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: inherit !important;
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.92) 0%, rgba(18, 28, 52, 0.96) 100%) !important;
}

.omg-hot-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px 8px !important;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0) 0%, rgba(5, 9, 20, 0.72) 62%, rgba(5, 9, 20, 0.9) 100%) !important;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
}

.omg-hot-overlay__badge {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(10, 16, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.omg-hot-overlay__title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.36);
  word-break: break-all;
}

.omg-hot-overlay__brand {
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.home .hotGame,
.home .ordinaryGame {
  margin-bottom: min(3.2vw, 14px) !important;
}

@media (max-width: 360px) {
  .home .hotGame .gameListNew .gameItem {
    min-width: 50vw !important;
    max-width: 50vw !important;
    width: 50vw !important;
    height: 31.9vw !important;
  }
}
