/* Targeted sticky CTA (Figma 1799:14242 and siblings): a 146px pink planet with
   a dashed orbit and a yellow moon, the label on its rim, the x outside it.
   Layout uses rem; the curved label uses SVG user units to scale only once. */
.pl-sticky-cta {
  --pl-sticky-cta-bottom: 1.78125rem;
  position: fixed;
  right: 1.78125rem;
  bottom: max(var(--pl-sticky-cta-bottom), var(--pl-sticky-cta-cookie-bottom, 0px));
  z-index: 60;
  width: 11.4375rem;
  height: 9.0625rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity .25s ease, transform .25s ease, bottom .25s ease, visibility 0s linear .25s;
}
.pl-sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .25s ease, bottom .25s ease, visibility 0s;
}
.pl-sticky-cta-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #78716c;
  stroke-width: 0.9;
  stroke-dasharray: 4 3;
  pointer-events: none;
}
.pl-sticky-cta-orbit {
  transform-origin: 50% 50%;
  transition: transform .2s ease;
}
.pl-sticky-cta-orbit-front { z-index: 2; }
.pl-sticky-cta-moon { fill: #ffff78; stroke: #78716c; stroke-width: 0.92; stroke-dasharray: none; }
.pl-sticky-cta-button {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 1.19375rem;
  box-sizing: border-box;
  width: 9.125rem;
  height: 9.125rem;
  border: 0.0625rem solid #000;
  border-radius: 50%;
  background: #ffe5e5;
  box-shadow: 0.083rem 0.229rem 0 #000, inset 0.678125rem -0.6885rem 0 rgba(0, 0, 0, .11);
  color: #000;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}
.pl-sticky-cta-button:focus-visible {
  box-shadow: 0.146rem 0.292rem 0 #000, inset 0.678125rem -0.6885rem 0 rgba(0, 0, 0, .11);
}
/* Hover states from Wedian's supplied recording. Keep the close control still
   and independent, and avoid sticky hover effects on touchscreens. */
@media (hover: hover) and (pointer: fine) {
  .pl-sticky-cta-button:hover { transform: rotate(-15deg); }
  .pl-sticky-cta-button:hover .pl-sticky-cta-rim { fill: #3acba0; }
  .pl-sticky-cta:has(.pl-sticky-cta-button:hover) .pl-sticky-cta-orbit {
    transform: rotate(15deg);
  }
}
.pl-sticky-cta-rim {
  position: absolute;
  inset: -0.0625rem;
  width: calc(100% + 0.125rem);
  height: calc(100% + 0.125rem);
  overflow: visible;
  /* SVG user units scale once through the 146px viewBox. rem here would
     incorrectly enlarge the glyphs a second time on wide-screen layouts. */
  font: 600 14px 'Poppins', sans-serif;
  fill: #000;
  transition: fill .2s ease;
}
.pl-sticky-cta-button:focus-visible .pl-sticky-cta-rim { fill: #3acba0; }
.pl-sticky-cta-title {
  position: absolute;
  top: 5.7625rem;
  left: 50%;
  width: 5.754625rem;
  translate: -50% -50%;
  font: 500 0.75rem/1.13 'Poppins', sans-serif;
  text-align: center;
}
.pl-sticky-cta-catalog .pl-sticky-cta-title { top: 4.95rem; width: 6.129375rem; }
.pl-sticky-cta-risky .pl-sticky-cta-title { top: 5.77875rem; width: 6.0106875rem; }
.pl-sticky-cta-inspector .pl-sticky-cta-title { top: 6.21625rem; width: 6.23875rem; }
.pl-sticky-cta-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* The x sits outside the planet, top right (Figma: 12px icon at 172, 11). */
.pl-sticky-cta-close {
  position: absolute;
  z-index: 3;
  top: 0.3125rem;
  left: 10.375rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 62.4375rem;
  background: transparent;
  color: #78716c;
  cursor: pointer;
  pointer-events: auto;
}
.pl-sticky-cta-close svg { width: 0.75rem; height: 0.75rem; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; }
.pl-sticky-cta-close::before { content: ""; position: absolute; inset: -0.5rem; }
.pl-sticky-cta-close:hover { background: rgba(255, 255, 255, .7); color: #000; }
.pl-sticky-cta-button:focus-visible { outline: 0.125rem solid #000; outline-offset: 0.1875rem; }
.pl-sticky-cta-close:focus-visible { outline: 0.125rem solid #000; outline-offset: 0.125rem; color: #000; }

@media (max-width: 1024px) {
  .pl-sticky-cta { --pl-sticky-cta-bottom: 1rem; right: 1rem; }
}
@media (max-width: 640px) {
  .pl-sticky-cta { --pl-sticky-cta-bottom: 0.75rem; right: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-sticky-cta, .pl-sticky-cta-button, .pl-sticky-cta-orbit, .pl-sticky-cta-rim { transition: none !important; }
  .pl-sticky-cta, .pl-sticky-cta-button:hover,
  .pl-sticky-cta:has(.pl-sticky-cta-button:hover) .pl-sticky-cta-orbit { transform: none; }
}
