/* Mobile dialogue route final pass. Keep this file after all shared overrides. */
html[data-hhgj-route="dialogue"] body #app .recent-games {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background:
    radial-gradient(circle at 50% 2.2rem, rgba(245, 201, 106, .14), transparent 2.45rem),
    linear-gradient(180deg, #080705 0%, #11100a 2.65rem, #090704 5.2rem, #050403 100%) !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .PulldownRefresh,
html[data-hhgj-route="dialogue"] body #app .recent-games .PulldownRefresh > div,
html[data-hhgj-route="dialogue"] body #app .recent-games .main_content,
html[data-hhgj-route="dialogue"] body #app .recent-games .gameliostss,
html[data-hhgj-route="dialogue"] body #app .recent-games .gameliostssinner,
html[data-hhgj-route="dialogue"] body #app .recent-games .accounts-scroll {
  background: transparent !important;
  background-image: none !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .accounts-scroll {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  min-height: calc(100dvh - 1.1rem) !important;
  min-height: calc(100vh - 1.1rem) !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 0 calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  overflow: visible !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .PulldownRefresh,
html[data-hhgj-route="dialogue"] body #app .recent-games .PulldownRefresh > div,
html[data-hhgj-route="dialogue"] body #app .recent-games .main_content,
html[data-hhgj-route="dialogue"] body #app .recent-games .gameliostss,
html[data-hhgj-route="dialogue"] body #app .recent-games .gameliostssinner {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .accounts-list {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-fallback-list {
  width: 100%;
}

html[data-hhgj-route="dialogue"] body #app .recent-games.hhgj-dialogue-ios-persistent-active {
  position: relative !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games.hhgj-dialogue-ios-persistent-active .accounts-scroll {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games.hhgj-dialogue-ios-persistent-active .PulldownRefresh,
html[data-hhgj-route="dialogue"] body #app .recent-games.hhgj-dialogue-ios-persistent-active .PulldownRefresh > div,
html[data-hhgj-route="dialogue"] body #app .recent-games.hhgj-dialogue-ios-persistent-active .main_content,
html[data-hhgj-route="dialogue"] body #app .recent-games.hhgj-dialogue-ios-persistent-active .gameliostss,
html[data-hhgj-route="dialogue"] body #app .recent-games.hhgj-dialogue-ios-persistent-active .gameliostssinner {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-ios-persistent-list {
  position: relative !important;
  z-index: 60 !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #050403 !important;
  transform: translateZ(0);
}

html[data-hhgj-route="dialogue"] body #app .hhgj-dialogue-emergency-page {
  box-sizing: border-box;
  width: 100%;
  min-height: calc(100vh - 1.3rem) !important;
  min-height: calc(100dvh - 1.3rem) !important;
}

html[data-hhgj-route="dialogue"] body #app .hhgj-dialogue-emergency-head {
  display: none !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-fallback-row {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 1.86667rem;
  padding: 0 .42rem;
  border-bottom: .02667rem solid rgba(177, 134, 45, .42);
  background:
    linear-gradient(90deg, rgba(70, 51, 20, .38), rgba(8, 7, 4, .96)),
    #0b0905;
  color: #fff3c6;
  cursor: pointer;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-fallback-icon {
  flex: 0 0 auto;
  width: 1.06667rem;
  height: 1.06667rem;
  margin-right: .35rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 .24rem rgba(245, 201, 106, .28);
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-fallback-main {
  min-width: 0;
  flex: 1 1 auto;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-fallback-title {
  display: flex;
  align-items: center;
  height: .64rem;
  font-size: .37333rem;
  font-weight: 900;
  line-height: .64rem;
  color: #fff5d2;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-fallback-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .34rem;
  height: .34rem;
  margin-left: .18rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff1ad, #c58a22);
  color: #241603;
  font-size: .22rem;
  font-weight: 900;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-fallback-desc {
  overflow: hidden;
  height: .54rem;
  font-size: .32rem;
  font-weight: 700;
  line-height: .54rem;
  color: #ddc783;
  white-space: nowrap;
  text-overflow: ellipsis;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .hhgj-dialogue-fallback-arrow {
  flex: 0 0 auto;
  margin-left: .24rem;
  color: #d9ac42;
  font-size: .48rem;
  font-weight: 800;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .head {
  overflow: visible !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .head::before,
html[data-hhgj-route="dialogue"] body #app .recent-games .head .head-text::before,
html[data-hhgj-route="dialogue"] body #app .recent-games .head .head-text::after {
  display: none !important;
  content: none !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .head::after {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 8 !important;
  display: block !important;
  height: 1px !important;
  content: "" !important;
  pointer-events: none !important;
  background: rgba(245, 201, 106, .28) !important;
}

html[data-hhgj-route="dialogue"] body #app .recent-games .head .head-text,
html[data-hhgj-route="dialogue"] body #app .recent-games .head .head-text * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
