/* Dycode Threads — frontend styles */

/* Holders injected by PHP are settings carriers only… */
.dycode_threads_holder {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* …except in the standalone module, where the holder hosts the canvas. */
.dycode_threads {
    position: relative;
}

.dycode_threads .dyth-mode-standalone,
.dycode_threads .dyth-standalone-root {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: visible;
    pointer-events: none;
}

/* Host element that receives an inline (background) overlay */
.dyth-host {
    position: relative;
}

/* Overlays */
.dyth-overlay {
    position: absolute;
    pointer-events: none;
    overflow: hidden;
}

.dyth-overlay.dyth-fill {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Body-mounted border overlay, tracked per frame via transform */
.dyth-overlay.dyth-tracked {
    position: fixed;
    top: 0;
    left: 0;
    will-change: transform;
}

.dyth-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Hover trigger */
.dyth-overlay.dyth-hover {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.dyth-overlay.dyth-hover.dyth-on {
    opacity: 1;
}
