.switch-mount {
    position: absolute;
    top: 50%;
    left: 14%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
}

.switch-frame {
    width: 112px;
    height: 164px;
    background: linear-gradient(145deg, #232832 0%, #12151b 100%);
    border-radius: 14px;
    padding: 18px;
    position: relative;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border: 1px solid #323946;
    box-shadow: -10px 14px 28px rgba(0, 0, 0, 0.9), -3px 4px 0 #0b0d11, -6px 8px 0 #07080b;
    transition: transform 0.2s ease, border-color 0.3s ease;
    animation: pulseSwitch 2.4s infinite ease-in-out;
}
.switch-frame:hover { transform: scale(1.04); border-color: var(--neon); }
.switch-frame:active { transform: scale(0.96); }

body.lights-on .switch-frame {
    animation: none;
    border-color: rgba(57, 255, 20, 0.65);
    box-shadow: -10px 14px 28px rgba(0, 0, 0, 0.85), -3px 4px 0 #0b0d11, 0 0 26px rgba(57, 255, 20, 0.25);
}

@keyframes pulseSwitch {
    0%, 100% { box-shadow: -10px 14px 28px rgba(0,0,0,0.9), -3px 4px 0 #0b0d11, 0 0 12px rgba(57,255,20,0.12); }
    50%      { box-shadow: -10px 14px 28px rgba(0,0,0,0.9), -3px 4px 0 #0b0d11, 0 0 28px rgba(57,255,20,0.45); }
}

.screw {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, #4b5563 20%, #161920 90%);
    pointer-events: none;
}
.screw.top-left { top: 8px; left: 8px; }
.screw.top-right { top: 8px; right: 8px; }
.screw.bottom-left { bottom: 8px; left: 8px; }
.screw.bottom-right { bottom: 8px; right: 8px; }

.rocker-well {
    width: 100%;
    height: 100%;
    background: #090b0e;
    border-radius: 8px;
    padding: 5px;
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.95);
    perspective: 350px;
    pointer-events: none;
}

.rocker-3d {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(180deg, #1b1f27 0%, #2a303c 50%, #15181f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    transform: rotateX(-16deg);
    box-shadow: 0 -8px 12px rgba(0, 0, 0, 0.8), inset 0 -3px 6px rgba(255, 255, 255, 0.12);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

body.lights-on .rocker-3d {
    transform: rotateX(16deg);
    background: linear-gradient(180deg, #2d3442 0%, #1e232c 55%, #12151b 100%);
    box-shadow: 0 9px 14px rgba(0, 0, 0, 0.85), inset 0 3px 6px rgba(255, 255, 255, 0.16);
}

.rocker-mark { font-size: 0.75rem; font-weight: 800; color: #525b6d; }
body.lights-on .rocker-mark.on { color: var(--neon); text-shadow: 0 0 8px var(--neon); }

.rocker-led { width: 18px; height: 4px; border-radius: 2px; background: #232833; }
body.lights-on .rocker-led { background: var(--neon); box-shadow: 0 0 12px var(--neon); }

.switch-hint {
    margin-top: 14px;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--neon);
    text-shadow: 0 0 8px var(--neon-glow);
    pointer-events: none;
}
body.lights-on .switch-hint { opacity: 0.45; color: var(--text-muted); text-shadow: none; }
