/* =====================================================================
   LIQUID GLASS TOUCH CONTROLS
   ===================================================================== */
#joystick-zone {
    position: fixed;
    left: max(20px, var(--safe-left));
    bottom: max(22px, var(--safe-bottom));
    width: 132px;
    height: 132px;
    border-radius: 50%;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#joystick-base {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        circle at 35% 30%,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.07) 65%,
        rgba(255, 255, 255, 0.16) 100%
    );
    backdrop-filter: blur(18px) saturate(175%);
    -webkit-backdrop-filter: blur(18px) saturate(175%);
    border: 1.5px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 12px 32px rgba(8, 20, 48, 0.18),
        inset 0 2px 3px rgba(255, 255, 255, 0.55),
        inset 0 -2px 6px rgba(255, 255, 255, 0.12);
}

#joystick-knob {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    position: absolute;
    background: radial-gradient(
        circle at 32% 28%,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.44) 55%,
        rgba(255, 255, 255, 0.26) 100%
    );
    border: 1.5px solid rgba(255, 255, 255, 0.86);
    box-shadow:
        0 6px 18px rgba(8, 20, 48, 0.24),
        inset 0 2px 4px rgba(255, 255, 255, 0.95);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

#jump-btn {
    position: fixed;
    right: max(24px, var(--safe-right));
    bottom: max(28px, var(--safe-bottom));
    width: 82px;
    height: 82px;
    border-radius: 50%;
    pointer-events: auto;
}

#jump-btn svg {
    width: 34px;
    height: 34px;
}
