.project-link-label {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .55em .7em;
  color: #fff;
  background: #6d18f5;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.project-link-label > span { font-size: 1.3em; }
.project-cursor {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .45em .65em;
  color: #fff;
  background: #6d18f5;
  font-size: clamp(24px, 2.083333vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform-origin: 20% 50%;
}
.project-cursor-word { display: inline-block; overflow: hidden; vertical-align: top; }
.project-cursor-word-inner { display: inline-block; }
.project-cursor-arrow { font-size: 1.3em; line-height: 1; }
[data-project-link] { display: block; }
[data-project-link]:focus-visible { outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  .project-cursor-enabled [data-project-link] { cursor: pointer; }
  .project-cursor-enabled [data-project-link] .project-link-label { opacity: 0; }
  .project-cursor-enabled [data-project-link]:focus-visible .project-link-label { opacity: 1; }
  /* The outgoing snapshot remains after the live hover module is disposed.
     Keep its fallback label hidden even when the enhancement class is removed. */
  .page-transition-outgoing .project-link-label,
  .page-transition-incoming .project-link-label { opacity: 0; }
}
