/* =====================================
MARK: Remote Control Animation
Scoped to .remote-control-wrapper so it doesn't
affect the rest of the page layout.
===================================== */

/* ---------- Ensure parent fills the animation-section height ---------- */
.animation-section .hidden-section {
    height: 100%;
}

/* ---------- WRAPPER (replaces old body styles) ---------- */
.remote-control-wrapper {
    /* colours: background and ropes/letters */
    --bg: var(--color-background, #000000);
    --ink: var(--color-text, #ffffff);

    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg);
    touch-action: none;
    cursor: crosshair;

    svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .rope {
        fill: none;
        stroke: var(--ink);
        stroke-width: 1.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* the letter gets a halo in the background colour, so ropes never run through it */
    .letter {
        fill: var(--ink);
        stroke: var(--bg);
        stroke-width: 7;
        stroke-linejoin: round;
        paint-order: stroke;
        font: bold 30px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        text-anchor: middle;
        dominant-baseline: central;
        user-select: none;
    }
}
