/* Native pointer is preserved. This halo appears only on linked editorial imagery. */
.bc-cursor-halo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity .16s ease;
}

.bc-cursor-halo--visible { opacity: 1; }

.bc-cursor-halo__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  border: 1px solid #ffffffd9;
  border-radius: 50%;
  background: #99f8ff30;
  box-shadow: 0 0 0 1px #0a29447a, 0 8px 30px #01040720;
  transform: translate(-50%, -50%) scale(.92);
  transition: transform .18s var(--bc-ease, cubic-bezier(.23, 1, .32, 1));
}

.bc-cursor-halo--visible .bc-cursor-halo__ring { transform: translate(-50%, -50%) scale(1); }
.bc-cursor-halo--pressed .bc-cursor-halo__ring { transform: translate(-50%, -50%) scale(.9); }

.bc-cursor-halo__label {
  position: absolute;
  top: 21px;
  left: 50%;
  padding: 3px 5px;
  background: #0a2944d9;
  color: #fff;
  font: 700 9px/1 var(--font-sans, sans-serif);
  letter-spacing: .08em;
  transform: translateX(-50%);
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .bc-cursor-fill {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }

  .bc-cursor-fill::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: var(--bc-fill-y, 50%);
    left: var(--bc-fill-x, 50%);
    width: max(320px, calc(100% + 160px));
    aspect-ratio: 1;
    border-radius: 50%;
    background: #99f8ff55;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.12);
    transition: opacity .16s ease, transform .24s var(--bc-ease, cubic-bezier(.23, 1, .32, 1));
  }

  .bc-cursor-fill:hover::before,
  .bc-cursor-fill:focus-visible::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .bc-cursor-fill:active::before { transform: translate(-50%, -50%) scale(.92); }
  .bc-cursor-fill > * { position: relative; z-index: 1; }
}

@media (prefers-reduced-motion: reduce), (prefers-contrast: more), (forced-colors: active) {
  .bc-cursor-halo { display: none !important; }
  .bc-cursor-fill::before { display: none !important; }
}
