/* Omnia pointer system: the compact dot-and-expand behaviour mirrors the
   reference interaction, while the violet signal ring belongs to Omnia's
   marketing / automation visual language. Native cursors remain the fallback
   until JavaScript has successfully initialized this layer. */
.omnia-cursor-layer {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  html.omnia-cursor-ready,
  html.omnia-cursor-ready body,
  html.omnia-cursor-ready body * {
    cursor: none !important;
  }

  html.omnia-cursor-ready body input:not([type="button"]):not([type="submit"]):not([type="reset"]),
  html.omnia-cursor-ready body textarea,
  html.omnia-cursor-ready body [contenteditable="true"] {
    cursor: text !important;
  }

  .omnia-cursor-layer {
    --omnia-cursor-press: 1;
    position: fixed;
    z-index: 2147483647;
    inset: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }

  .omnia-cursor-layer.is-visible { opacity: 1; }
  .omnia-cursor-layer.is-native { opacity: 0; }
  .omnia-cursor-layer.is-pressed { --omnia-cursor-press: .82; }

  .omnia-cursor-halo,
  .omnia-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, width, height;
  }

  .omnia-cursor-halo {
    display: grid;
    width: 30px;
    height: 30px;
    place-content: center;
    border: 1px solid rgba(200, 182, 255, .62);
    background: rgba(107, 38, 226, .045);
    box-shadow: inset 0 0 0 1px rgba(107, 38, 226, .16), 0 0 22px rgba(107, 38, 226, .18);
    color: #fff;
    backdrop-filter: blur(2px);
    transition: width .28s cubic-bezier(.22, 1, .36, 1), height .28s cubic-bezier(.22, 1, .36, 1), border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }

  .omnia-cursor-halo::before,
  .omnia-cursor-halo::after {
    position: absolute;
    top: 50%;
    width: 5px;
    height: 1px;
    background: #c8b6ff;
    content: "";
    opacity: .82;
    transform: translateY(-50%);
    transition: width .25s ease, opacity .2s ease;
  }

  .omnia-cursor-halo::before { left: -3px; }
  .omnia-cursor-halo::after { right: -3px; }

  .omnia-cursor-dot {
    width: 7px;
    height: 7px;
    background: #6b26e2;
    box-shadow: 0 0 0 2px rgba(200, 182, 255, .26), 0 0 16px rgba(107, 38, 226, .92);
    transition: width .18s ease, height .18s ease, background .18s ease;
  }

  .omnia-cursor-copy {
    display: grid;
    min-width: 84px;
    gap: 2px;
    opacity: 0;
    text-align: center;
    transform: translateY(5px);
    transition: opacity .16s ease, transform .2s ease;
  }

  .omnia-cursor-meta {
    color: #c8b6ff;
    font-family: Gilroy, Arial, sans-serif;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
  }

  .omnia-cursor-label {
    color: #fff;
    font-family: Bebasneue, "Bebas Neue", Impact, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: .9;
  }

  .omnia-cursor-layer.is-link .omnia-cursor-halo {
    width: 48px;
    height: 48px;
    border-color: rgba(200, 182, 255, .82);
    background: rgba(107, 38, 226, .12);
    box-shadow: inset 0 0 0 1px rgba(107, 38, 226, .24), 0 0 30px rgba(107, 38, 226, .26);
  }

  .omnia-cursor-layer.is-link .omnia-cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
  }

  .omnia-cursor-layer.is-labeled .omnia-cursor-halo {
    width: 96px;
    height: 96px;
    border-color: rgba(200, 182, 255, .92);
    background: rgba(17, 9, 29, .78);
    box-shadow: inset 0 0 0 1px rgba(107, 38, 226, .55), inset 0 0 32px rgba(107, 38, 226, .25), 0 0 42px rgba(107, 38, 226, .42);
    backdrop-filter: blur(8px);
  }

  .omnia-cursor-layer.is-labeled .omnia-cursor-halo::before,
  .omnia-cursor-layer.is-labeled .omnia-cursor-halo::after { width: 9px; }

  .omnia-cursor-layer.is-labeled .omnia-cursor-copy {
    opacity: 1;
    transform: translateY(0);
  }

  .omnia-cursor-layer.is-labeled .omnia-cursor-dot {
    width: 4px;
    height: 4px;
    opacity: .75;
  }
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  html.omnia-cursor-ready,
  html.omnia-cursor-ready body,
  html.omnia-cursor-ready body * { cursor: auto !important; }

  html.omnia-cursor-ready body a,
  html.omnia-cursor-ready body button,
  html.omnia-cursor-ready body [role="button"] { cursor: pointer !important; }

  .omnia-cursor-layer { display: none !important; }
}
