.tgames-support-popover {
  position: fixed;
  z-index: 1000000;
  display: none;
  box-sizing: border-box;
  padding: 18px;
  color: #172033;
  background: #ffffff;
  border: 1px solid #d9deea;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(14, 24, 45, 0.2);
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

._nav-bar__nav_ul2__2jAev > ._nav-bar__nav_item__11Zax:nth-child(2),
._nav-bar__nav_ul2__2jAev > ._nav-bar__nav_item__11Zax:nth-child(3),
.sidebar__floatMenu__EMITZ > .sidebar__item__3ZxEn:nth-child(2),
.sidebar__floatMenu__EMITZ > .sidebar__item__3ZxEn:nth-child(3) {
  display: none !important;
}

.tgames-support-popover.is-visible {
  display: block;
}

.tgames-support-label {
  margin: 0 32px 8px 0;
  color: #68738a;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
}

.tgames-support-email {
  display: block;
  margin-bottom: 14px;
  color: #1557b0;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.tgames-support-email:hover,
.tgames-support-email:focus {
  color: #0b3d82;
  text-decoration: underline;
}

.tgames-support-copy {
  min-width: 104px;
  height: 34px;
  padding: 0 14px;
  color: #ffffff;
  background: #1557b0;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.tgames-support-copy:hover,
.tgames-support-copy:focus {
  background: #0b3d82;
}

.tgames-support-close {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #68738a;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 24px;
  line-height: 30px;
}

[data-tgames-support='true'] {
  cursor: pointer;
}

@media (min-width: 768px) {
  /* The category tabs navigate on click; their vendor hover panels are not
     part of this site's desktop navigation. */
  .navStyles__navbox__2Mgk6 {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .sponsor__item__14Sa8 {
    cursor: default !important;
  }
}

/* Requested PC cleanup. The app section remains available; only its two
   visible URL anchors are hidden on the home route by site-custom.js. */
.style__logbox__1U__O {
  display: none !important;
}

/* Keep the four service cards stable after their English copy is shortened. */
#ob_service .service__content__32sig p {
  min-height: 42px;
  max-height: 42px;
  overflow: hidden;
  line-height: 21px;
}

/* The sponsor block is hidden by route-aware JS only on registration. */
.styles__sponsor__iVADu[data-tgames-hidden='true'] {
  display: none !important;
}

/* Remove the vendor-inserted permanent URL label beside the mobile logo. */
.permanent-url {
  display: none !important;
}

@media (min-width: 768px) {
  .styles__sponsorBox__ePs6n {
    display: none !important;
  }

  .tgames-auth-brand {
    display: inline-block;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .appbox {
    display: none !important;
  }

  .van-tabbar-item[data-tgames-promotions-hidden='true'] {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .tgames-support-popover {
    padding: 16px;
  }

  .tgames-support-email {
    font-size: 15px;
  }

  /* Mobile login: replace the decorative logo image with plain text. */
  .entry_entryMain__2anz2.entry_loginAnimated__1Gwda::before {
    content: 'infinityplay' !important;
    width: 100px !important;
    height: 100px !important;
    color: #ffffff !important;
    background: none !important;
    background-image: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 100px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Mobile login: remove the image below the form. */
  .login_formContainer__2zhUW::after {
    display: none !important;
    background: none !important;
    background-image: none !important;
  }

  /* Home announcement: keep the notice text and icon, remove the right image. */
  .gonggao > img:last-of-type {
    display: none !important;
  }
}
