/* Local presentation for Luoboyun placements; text and links remain in the HTML. */
:where(.site-service-existing) {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #246651;
  border-radius: 1.5rem;
  background: linear-gradient(110deg, #102f2b, #101e2d);
  color: #e2e8f0;
  text-decoration: none;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
:where(.site-service-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  box-sizing: border-box;
  padding: .65rem 1rem;
  border-radius: .8rem;
  background: #065f46;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.site-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid #286453;
  border-inline-start: 3px solid #34d399;
  border-radius: 1.5rem;
  background: linear-gradient(110deg, #12332f, #101d2c 78%);
  box-shadow: 0 8px 24px rgb(2 6 23 / 16%);
  color: #e2e8f0;
  font-family: inherit;
  text-align: start;
  overflow-wrap: anywhere;
}
.site-service__body { min-width: 0; }
.site-service__heading { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.site-service__name { color: #f8fafc; font-size: 1.2rem; font-weight: 700; line-height: 1.4; }
.site-service__label { padding: .15rem .55rem; border: 1px solid #417265; border-radius: 999px; color: #b2ceca; font-size: .75rem; line-height: 1.5; }
.site-service__copy { margin: .5rem 0 0; color: #cbd5e1; font-size: 1rem; line-height: 1.7; }
.site-service__details { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .55rem; color: #6ee7b7; font-size: .875rem; line-height: 1.6; }
.site-service__action { display: flex; flex-direction: column; align-items: center; gap: .4rem; flex: 0 0 auto; max-width: 100%; }
.site-service__cta { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; box-sizing: border-box; width: 100%; padding: .75rem 1.2rem; border: 1px solid #6ee7b7; border-radius: .9rem; background: #34d399; color: #042f2e; font-size: .9375rem; line-height: 1.5; font-weight: 700; text-decoration: none; transition: background-color .15s; }
.site-service__cta:hover { background: #6ee7b7; }
.site-service__cta:focus-visible, .site-service-link:focus-visible, .site-service-existing:focus-visible { outline: 3px solid #f8fafc; outline-offset: 4px; }
.site-service__domain { color: #9cb9b8; font-size: .75rem; line-height: 1.5; }
.site-service-wrap { box-sizing: border-box; max-width: 1650px; margin: 0 auto; padding: 0 1.5rem 1rem; }
.site-service--tools { margin: 0 0 1.5rem; }
.site-service--legacy { margin-top: 2rem; }
@media (max-width: 760px) {
  .site-service { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.1rem; border-radius: 1.15rem; }
  .site-service__action { align-items: stretch; }
  .site-service__domain { text-align: center; }
  .site-service-wrap { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .site-service__cta { transition: none; } }

/* Compact Luoboyun entry in the existing hero action row. */
.site-service-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: .65rem;
  box-sizing: border-box;
  min-height: 2.875rem;
  max-width: 100%;
  padding: .6875rem 1rem;
  border: 1px solid #306b57;
  border-radius: 1rem;
  background: #0c2926;
  color: #86efac;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25rem;
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
  transition: background-color .15s, border-color .15s;
}
.site-service-quick:hover { background: #143c31; border-color: #4d9e78; }
.site-service-quick:focus-visible { outline: 3px solid #a7f3d0; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .site-service-quick { transition: none; } }

/* Mobile placements: keep the established desktop presentation unchanged. */
.site-service-mobile, .site-service-dock, .site-service-dock-space { display: none; }
@media (max-width: 767px) {
  .site-service-mobile {
    position: relative;
    z-index: 1;
    display: block;
    box-sizing: border-box;
    margin: 16px 16px 0;
    padding: 17px;
    border: 1px solid #3dbe94;
    border-radius: 20px;
    background: radial-gradient(ellipse at 100% 0, #206b514d, transparent 70%), linear-gradient(115deg, #0d352e, #0c2029);
    box-shadow: 0 8px 30px #0003;
    color: #f0fdf4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: start;
    overflow-wrap: anywhere;
  }
  .site-service-mobile__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; }
  .site-service-mobile__brand { display: inline-flex; align-items: center; gap: 7px; color: #d1fae5; font-weight: 700; }
  .site-service-mobile__brand svg { flex: 0 0 auto; width: 18px; height: 18px; color: #6ee7b7; }
  .site-service-mobile__label { margin-inline-start: auto; padding: 1px 7px; border: 1px solid #648d7f; border-radius: 5px; color: #c0ddd2; font-size: 11px; font-weight: 400; }
  .site-service-mobile__title { margin: 10px 0 5px; color: #f0fdf4; font-family: inherit; font-size: clamp(21px, 5.8vw, 27px); font-weight: 750; line-height: 1.4; letter-spacing: -.025em; }
  .site-service-mobile__title em { color: #8ff0bb; font-style: normal; white-space: nowrap; }
  .site-service-mobile__terms { margin: 0; color: #bfd6cd; font-size: 12px; line-height: 1.7; }
  .site-service-mobile__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin-top: 13px;
    padding: 11px 14px;
    border: 1px solid #b0f8d0;
    border-radius: 12px;
    background: #7cebb0;
    color: #062f25;
    font-family: inherit;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
    text-decoration: none;
    touch-action: manipulation;
  }
  .site-service-mobile__cta:hover, .site-service-dock__cta:hover { background: #a7f3d0; }
  .site-service-mobile__cta:focus-visible, .site-service-dock__cta:focus-visible, .site-service-dock__close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  .site-service-mobile ~ main [data-site-existing="heroAd"] { display: none; }
  .site-service-quick.site-service-quick { min-height: 48px; border-color: #6ee7b7; background: #34d399; color: #052e25; font-weight: 700; }
  .site-service-existing.site-service-existing, .site-service.site-service { border-color: #438e72; background: linear-gradient(115deg, #103e32, #101f30); }
  .site-service-link.site-service-link { min-height: 48px; border: 1px solid #6ee7b7; background: #34d399; color: #052e25; font-weight: 700; }
  .site-service-dock {
    position: fixed;
    z-index: 45;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 36px;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 12px max(10px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    border-top: 1px solid #5aa586;
    background: #0c2421;
    box-shadow: 0 -8px 28px #02061766;
    color: #f0fdf4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-align: start;
    overflow-wrap: anywhere;
  }
  .site-service-dock[hidden], .site-service-dock-space[hidden] { display: none; }
  .site-service-dock__brand { display: block; color: #bed5cb; font-size: 11px; line-height: 1.5; }
  .site-service-dock__offer { display: block; margin-top: 3px; font-size: 15px; font-weight: 700; line-height: 1.4; }
  .site-service-dock__terms { display: block; margin-top: 2px; color: #bfd6cd; font-size: 11px; line-height: 1.5; }
  .site-service-dock__cta { display: inline-flex; align-items: center; justify-content: center; gap: 5px; max-width: 132px; min-height: 46px; box-sizing: border-box; padding: 10px 13px; border: 1px solid #b0f8d0; border-radius: 11px; background: #7cebb0; color: #062f25; font-size: 14px; font-weight: 750; line-height: 1.4; text-align: center; text-decoration: none; touch-action: manipulation; }
  .site-service-dock__close { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin-inline: -4px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #c3d8cf; font-size: 26px; line-height: 1; cursor: pointer; touch-action: manipulation; }
  .site-service-dock__close:hover { background: #ffffff14; color: #fff; }
  .site-service-dock-space { display: block; height: var(--site-service-dock-height, 100px); }
}
@media print {
  .site-service-mobile, .site-service-dock, .site-service-dock-space { display: none !important; }
}


/* Let long translated headings wrap instead of shrinking the mobile viewport. */
@media (max-width: 767px) {
  .site-service-mobile ~ main { overflow-wrap: anywhere; }
  .site-service-mobile ~ main h2 { white-space: normal; }
}

/* Independent download and subscription actions in the recommended client cards. */
#recommended-downloads { scroll-margin-top: 120px; }
.download-shortcut { min-width: 0; display: flex; flex-direction: column; }
.download-shortcut__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px; margin-top: auto; }
.download-shortcut__download, .download-shortcut__nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid #ffffff26;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: normal;
  touch-action: manipulation;
}
.download-shortcut__download { background: #ffffff1a; color: #f8fafc; }
.download-shortcut__download:hover { background: #ffffff26; }
.download-shortcut__download i { flex: 0 0 auto; }
.download-shortcut__nodes { border-color: #6ee7b7; background: #34d399; color: #052e25; font-weight: 700; }
.download-shortcut__nodes:hover { background: #6ee7b7; }
.download-shortcut__download:focus-visible, .download-shortcut__nodes:focus-visible { outline: 3px solid #a7f3d0; outline-offset: 3px; }
@media (max-width: 359px) {
  .download-shortcut__actions { gap: 6px; }
  .download-shortcut__download, .download-shortcut__nodes { font-size: 11px; padding-inline: 4px; gap: 3px; }
}


@media (max-width: 767px) {
  .site-service-mobile__payment { margin: 5px 0 0; color: #bfd6cd; font-size: 12px; line-height: 1.75; }
}
