/* 曜晟官网交付包补丁样式 — 仅保留必要的补丁 */

/* —— PC 版头视觉统一 —— */
@media (min-width: 1024px) {
  .yoursun-site-cta {
    min-height: 2.75rem;
    line-height: 1.4;
    box-shadow:
      0 10px 28px rgba(88, 28, 135, 0.28),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  }

  .yoursun-site-cta:hover {
    transform: translateY(-1px);
    box-shadow:
      0 14px 32px rgba(88, 28, 135, 0.36),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }
}

/* —— 底部 CTA 二维码图片可长按识别 —— */
.qr-code-image {
  -webkit-user-select: all;
  user-select: all;
}

/* —— 混天绫官网入口强调为文字链接 —— */
a[href="https://yoursun.cloud/"] {
  color: #fb923c !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
}

a[href="https://yoursun.cloud/"]:hover {
  color: #fdba74 !important;
}

/* —— 案例卡片详情入口降低白度 —— */
article[role="button"] span.mt-5.inline-flex {
  color: rgba(255, 255, 255, 0.34) !important;
}

article[role="button"]:hover span.mt-5.inline-flex {
  color: rgba(255, 255, 255, 0.48) !important;
}

/* —— 地图位置钉标：避开“环汇商业广场”文字 —— */
#yoursun-map-link {
  position: relative !important;
}

#yoursun-map-link::before {
  content: "";
  position: absolute;
  left: 55.5%;
  top: 31.5%;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #ff7a1a, #ffb45b);
  box-shadow:
    0 10px 22px rgba(249, 115, 22, 0.3),
    0 0 0 3px rgba(255, 255, 255, 0.88) inset;
  transform: translate(-50%, -100%) rotate(-45deg);
  pointer-events: none;
}

#yoursun-map-link::after {
  content: "";
  position: absolute;
  left: 55.5%;
  top: 31.5%;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 122, 26, 0.25);
  transform: translate(-50%, -23px);
  pointer-events: none;
}

/* —— 移动端菜单与跳转落点修正 —— */
@media (max-width: 1023px) {
  html {
    scroll-padding-top: 88px;
  }

  section[id] {
    scroll-margin-top: 88px;
  }

  .lg\:hidden.fixed.inset-0[class*="z-[999]"],
  .lg\:hidden.fixed.inset-0[class*="z-[9999]"] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
  }

  .yoursun-mobile-menu,
  .lg\:hidden.fixed.top-0.right-0.bottom-0[class*="z-[1000]"],
  .lg\:hidden.fixed.top-0.right-0.bottom-0[class*="z-[10000]"] {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
  }
}
