/* Anatomy of a QUIC Connection - packet-dissector cursor.
   A crosshair dot inside a corner-bracket reticle (a capture selection box),
   trailing protocol tokens that drift along the wire direction like packets.
   Only activated by JS on fine pointers without reduced-motion. */

.h3wp-cursor-active {
    cursor: none;
}

#h3wp-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    pointer-events: none;
    z-index: 99999;
    border-radius: 1px;
    background: #22d3ee;
    box-shadow: 0 0 10px #22d3ee, 0 0 22px rgba(34, 211, 238, 0.5);
}

#h3wp-reticle {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.15s ease, height 0.15s ease;
}

#h3wp-reticle span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-color: rgba(34, 211, 238, 0.75);
    border-style: solid;
    border-width: 0;
    transition: border-color 0.15s ease;
}

#h3wp-reticle .rt-tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
#h3wp-reticle .rt-tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
#h3wp-reticle .rt-bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
#h3wp-reticle .rt-br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* Hovering an interactive target: the reticle locks gold, like the verdict */
#h3wp-reticle.rt-locked span { border-color: rgba(251, 191, 36, 0.9); }

.h3wp-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99997;
    overflow: hidden;
}

.h3wp-trail-token {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    font-size: 8px;
    font-family: ui-monospace, "Courier New", monospace;
    font-weight: bold;
    white-space: nowrap;
    user-select: none;
    text-shadow: 0 0 4px currentColor;
    transition: opacity 0.1s linear;
}
