/* LDPlayer homepage changes requested on 2026-08-25. */
a.nav-pc-donwload-ldp[data-ldplayer-trial="true"] {
  width: 250px !important;
  min-width: 250px !important;
  height: 48px !important;
  margin-block: 8px !important;
  cursor: pointer !important;
}

a.nav-pc-donwload-ldp[data-ldplayer-trial="true"] > button {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

a.nav-pc-donwload-ldp[data-ldplayer-trial="true"] > button > img {
  width: 250px !important;
  height: 48px !important;
  max-width: none !important;
}

a.nav-pc-donwload-ldp[data-ldplayer-trial="true"] > button > span {
  width: 250px !important;
  height: 48px !important;
}

/* Restore the missing left-side carousel in the recent-hotspots section. */
.ldplayer-hotspot-carousel {
  position: relative !important;
  overflow: hidden !important;
  background: #e7e9ee !important;
}

.ldplayer-hotspot-slides,
.ldplayer-hotspot-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.ldplayer-hotspot-slide {
  display: none !important;
  color: #fff !important;
}

.ldplayer-hotspot-slide.is-active {
  display: block !important;
}

.ldplayer-hotspot-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.ldplayer-hotspot-caption {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding: 52px 20px 18px !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82)) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.ldplayer-hotspot-arrow {
  position: absolute !important;
  top: 50% !important;
  z-index: 3 !important;
  width: 38px !important;
  height: 54px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  color: #fff !important;
  font-size: 30px !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
}

.ldplayer-hotspot-arrow:hover {
  background: #ffd727 !important;
  color: #171717 !important;
}

.ldplayer-hotspot-prev {
  left: 10px !important;
}

.ldplayer-hotspot-next {
  right: 10px !important;
}

.ldplayer-hotspot-dots {
  position: absolute !important;
  right: 16px !important;
  bottom: 15px !important;
  z-index: 4 !important;
  display: flex !important;
  gap: 7px !important;
}

.ldplayer-hotspot-dot {
  width: 9px !important;
  height: 9px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  cursor: pointer !important;
}

.ldplayer-hotspot-dot.is-active {
  width: 24px !important;
  background: #ffd727 !important;
}

/* The feature tabs now sit on a light background; all labels stay readable. */
.ldplayer-performance-section {
  min-height: 0 !important;
  height: auto !important;
  padding: 42px 0 48px !important;
  background: #f3f4f7 !important;
  content-visibility: visible !important;
  contain-intrinsic-size: 0 !important;
}

.ldplayer-performance-section > picture,
.ldplayer-performance-screen {
  display: none !important;
}

.ldplayer-performance-tabs-wrap {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.ldplayer-performance-tabs {
  gap: 16px !important;
}

.ldplayer-performance-tab {
  filter: drop-shadow(0 8px 20px rgba(40, 44, 55, 0.08)) !important;
}

.ldplayer-performance-tab svg {
  color: #fff !important;
  opacity: 1 !important;
  transition: color 180ms ease, transform 180ms ease !important;
}

.ldplayer-performance-tab h2,
.ldplayer-performance-tab span {
  color: #171717 !important;
  opacity: 1 !important;
}

.ldplayer-performance-tab:hover svg,
.ldplayer-performance-tab[data-active="true"] svg {
  color: #ffd727 !important;
  transform: translateY(-2px) !important;
}

.ldplayer-performance-tab:hover h2,
.ldplayer-performance-tab:hover span,
.ldplayer-performance-tab[data-active="true"] h2,
.ldplayer-performance-tab[data-active="true"] span {
  color: #171717 !important;
}

[data-ldplayer-trial="true"] {
  cursor: pointer !important;
}

main [data-ldplayer-trial="true"].mt-8 > div { width: 350px !important; height: 100px !important; }
main [data-ldplayer-trial="true"].mt-8 > div > img { width: 350px !important; height: 100px !important; }
main [data-ldplayer-trial="true"].mt-8 span:first-of-type { font-size: 32px !important; line-height: 1.15 !important; }

main section.ldplayer-hero-flow {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
}

.ldplayer-hidden-link-row {
  display: none !important;
}

.ldplayer-trial-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(4px);
}

.ldplayer-trial-modal.is-open {
  display: flex;
}

.ldplayer-trial-card {
  position: relative;
  width: min(430px, calc(100vw - 32px));
  padding: 28px 28px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.ldplayer-trial-title {
  margin: 0 36px 18px;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.ldplayer-trial-qr {
  display: block;
  width: min(340px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.ldplayer-trial-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef4ff;
  color: #286fe8;
  font-size: 26px;
  line-height: 36px;
  cursor: pointer;
}

@media (max-width: 900px) {
  a.nav-pc-donwload-ldp[data-ldplayer-trial="true"] {
    width: 190px !important;
    min-width: 190px !important;
    height: 48px !important;
  }

  a.nav-pc-donwload-ldp[data-ldplayer-trial="true"] > button {
    padding: 0 !important;
    font-size: 16px !important;
  }

  a.nav-pc-donwload-ldp[data-ldplayer-trial="true"] > button > img,
  a.nav-pc-donwload-ldp[data-ldplayer-trial="true"] > button > span {
    width: 190px !important;
    height: 48px !important;
  }

  .ldplayer-performance-section {
    padding: 28px 0 32px !important;
  }

  .ldplayer-performance-tabs-wrap {
    overflow-x: auto !important;
  }
}

@media (max-width: 768px) {
  .ldplayer-trial-card {
    padding: 24px 18px 20px;
  }

  .ldplayer-trial-title {
    font-size: 21px;
  }
}
