#path-watermark-root {
  --path-watermark-radius: 999px;
  --path-watermark-bg-top: rgba(20, 20, 20, 0.94);
  --path-watermark-bg-bottom: rgba(0, 0, 0, 0.9);
  --path-watermark-text: rgba(248, 250, 252, 0.96);
  --path-watermark-copy: rgba(255, 255, 255, 0.64);
  --path-watermark-border: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.14)
  );
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 2147483646;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: var(--path-watermark-radius);
  background: linear-gradient(180deg, var(--path-watermark-bg-top), var(--path-watermark-bg-bottom));
  color: var(--path-watermark-text);
  text-decoration: none;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  opacity: 0.98;
  transition:
    width 280ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    background 240ms ease;
}

#path-watermark-root::before,
#path-watermark-root::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

#path-watermark-root::before {
  padding: 1px;
  background: var(--path-watermark-border);
  background-size: 200% 200%;
  opacity: 0.7;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition:
    opacity 200ms ease,
    filter 220ms ease;
}

#path-watermark-root::after {
  inset: 4px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 72%);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 220ms ease;
}

#path-watermark-root:hover,
#path-watermark-root:focus-visible {
  width: 176px;
  padding: 0 16px;
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

#path-watermark-root:hover::before,
#path-watermark-root:focus-visible::before {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.16));
  animation: path-watermark-border-shift 1.9s linear infinite;
}

#path-watermark-root:hover::after,
#path-watermark-root:focus-visible::after {
  opacity: 1;
}

#path-watermark-root:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

#path-watermark-root .path-watermark__state {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  font-family:
    "Inter",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 200ms ease;
}

#path-watermark-root .path-watermark__state--compact {
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translateX(0) scale(1);
  justify-content: center;
}

#path-watermark-root .path-watermark__state--expanded {
  position: absolute;
  left: 16px;
  right: 16px;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(12px) scale(0.98);
}

#path-watermark-root:hover .path-watermark__state--compact,
#path-watermark-root:focus-visible .path-watermark__state--compact {
  opacity: 0;
  transform: translateX(-8px) scale(0.94);
  filter: blur(4px);
}

#path-watermark-root:hover .path-watermark__state--expanded,
#path-watermark-root:focus-visible .path-watermark__state--expanded {
  opacity: 1;
  transform: translateX(0) scale(1);
}

#path-watermark-root .path-watermark__copy {
  color: var(--path-watermark-copy);
  font-weight: 600;
  letter-spacing: 0.08em;
}

#path-watermark-root .path-watermark__icon-image {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

@keyframes path-watermark-border-shift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #path-watermark-root,
  #path-watermark-root::before,
  #path-watermark-root::after,
  #path-watermark-root .path-watermark__state {
    animation: none !important;
    transition-duration: 1ms !important;
  }
}
