.wp-site-blocks footer .kon.hud.socket {
    height: 50px;
    overflow: visible;
    position: relative;
}
.wp-site-blocks footer .kon.engine.gui {
    position: absolute;
    bottom: 0px;
}
.wp-site-blocks footer .kon.car.hud {
    position: absolute;
    bottom: 60px;
}




.kon.header {
    z-index: 10;
}
/* --- HUD Moderno y Panel Vehículo --- */
#car-hud {
    background: rgba(20, 20, 30, 0.92);
    border-radius: 18px;
    box-shadow: 0 4px 24px #0008;
    padding: 24px 32px 20px 32px;
    color: #fff;
    font-family: system-ui, sans-serif;
    z-index: 1000;
    min-width: 260px;
    user-select: none;
    display: block;
}
#car-hud .tacho-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 8px;
}
#car-hud #hud-fuel {
    margin: 12px 0 0 0;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}
#car-hud #hud-gear {
    margin: 8px 0 0 0;
    font-weight: bold;
    font-size: 1.2em;
}
#car-hud #hud-clutch {
    margin: 8px 0 0 0;
    font-size: 1.1em;
    opacity: 0.85;
}
#car-hud .hud-title {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-align: center;
}
/* HUD y controles */
.kon.hud.socket {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.kon.car.hud {
    z-index: 9;
    display: flex;
    align-items: flex-end;
    gap: 48px;
    pointer-events: none;
}

.kon.engine.gui {
    z-index: 10;
    display: flex;
    gap: 16px;
    pointer-events: all;
}

.kon.engine.gui button {
    padding: 12px 18px;
    font-size: 18px;
    border-radius: 8px;
    background: #0a0;
    color: #fff;
    border: none;
    cursor: pointer;
}

.kon.engine.gui button.gear {
    font-size: 22px;
    background: #333;
}

.kon.gear.label {
    position: fixed;
    bottom: 0px;
    left: 30px;
    z-index: 10001;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 8px #000a;
}

.kon.hide {
    display: none;
}
body {
    transform:
        scale(1);
}
.kon.track.socket {
    position: absolute;
    z-index: -1;
    top:0px;
    transform-origin: calc(50vw - 0px) calc(50vh - 0px);
    transform:
        rotate(calc(calc(1deg*var(--camera-a,0)) - 90deg));
}
.kon.track.pivot {
    position: absolute;
    top:0px;
    transform:
        translateX(calc(1px*var(--camera-x,0)))
        translateY(calc(1px*var(--camera-y,0)));
}
.kon.car.body {
    position: absolute;
    top:20px;
    width: 100px;
    height: 100px;
    transform: rotate(-90deg);
    offset-path: path(var(--track-path));
    offset-distance: calc(1%*var(--car-progress,0) + 0%);
    offset-anchor: center;
}