/* Game landing pages share the Tongyu homepage's background and typography. */
html {
  height: auto;
  min-height: 100%;
}
body.game-home {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  overflow: auto;
}
.game-home .video-wrap {
  position: fixed;
  inset: 0;
}
.game-home .video-wrap .mask {
  background: rgba(0, 0, 0, 0.48);
}
.game-home .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.game-home .header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.game-home .header .logo img {
  width: 48px !important;
  height: 48px;
  border-radius: 10px;
}
.game-home .header .list {
  padding: 0;
}
.game-home .header .list .item {
  margin: 0 0 0 26px;
}
.game-home .main-content {
  position: relative;
  inset: auto;
  z-index: 1;
  width: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 64px 7.625%;
}
.game-home .game-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  margin-bottom: 22px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.game-home .slogan {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.game-home .download-group {
  display: flex;
  align-items: center;
  gap: 32px;
}
.game-home .btn-wrap .btn:first-child {
  margin-bottom: 20px;
}
.game-home .btn[aria-disabled="true"] {
  cursor: default;
  opacity: 0.75;
}
.game-home [hidden] {
  display: none !important;
}
.game-home .ios-message {
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
}
.download-page .main-content {
  align-items: center;
  text-align: center;
}
.download-page .main-content .slogan {
  text-align: center;
}
.game-home .qr-code {
  width: 136px;
  margin: 0;
  flex-shrink: 0;
}
.game-home .qr-code .image {
  display: block;
  width: 136px;
  height: 136px;
  padding: 0;
  margin: 0;
}
.game-home .com-footer-wrap {
  position: relative;
  z-index: 1;
  bottom: auto;
  width: auto;
  padding: 24px 20px;
  background: transparent;
}
.game-home .com-footer .list {
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}
.game-home .com-footer .list .item {
  width: auto;
}
.game-home a:focus-visible {
  outline: 3px solid #fec139;
  outline-offset: 6px;
}
@media (max-width: 640px) {
  .game-home .header {
    padding: 22px 20px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .game-home .header .logo {
    font-size: 20px;
  }
  .game-home .header .list .item {
    margin: 0 20px 0 0;
  }
  .game-home .main-content {
    align-items: center;
    padding: 36px 20px;
    text-align: center;
  }
  .game-home .main-content .slogan {
    font-size: 36px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 26px;
  }
  .game-home .slogan span {
    font-size: 20px;
  }
  .game-home .download-group {
    flex-direction: column;
    gap: 28px;
  }
  .game-home .qr-code .text {
    margin-top: 8px;
  }
  .game-home .com-footer .info span {
    display: inline-block;
    margin: 0 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .game-home .video-wrap video {
    display: none;
  }
  .game-home .video-wrap img {
    animation: none;
  }
}
