/*
 * Tour-Viewer: Rand-Bedienung statt 3-Punkte-Menü (nur Touren ab 1.10.2026).
 * docs/tasks/2026-11-07-viewer-3-punkte-menue-ersetzen.md
 */

/* 3-Punkte-Symbol ausblenden, wenn das Menü keine Inhalte mehr hat */
#viewtour_body .side-menu-toggle.svc-empty a.toggle-sidemenu { display: none !important; }

#viewtour_body .viewer-edge-controls {
    position: fixed;
    left: 14px;
    top: 98px;
    z-index: 999; /* unter geöffneten Info-Fenstern (1000) */
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#viewtour_body .viewer-edge-controls.with-menu { top: 152px; }

#viewtour_body .vec-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(27, 26, 24, .72);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font: 700 18px/1 Arial, sans-serif;
    transition: background-color .15s ease;
}
#viewtour_body .vec-btn:hover { background: #A8553B; color: #fff; }
#viewtour_body a.vec-btn { text-decoration: none; }
#viewtour_body .vec-btn .fa { font-size: 16px; }
#viewtour_body .vec-btn:focus-visible { outline: 3px solid #E2C58A; outline-offset: 2px; }
#viewtour_body .vec-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ▶ wenn die Drehung steht, ❚❚ während sie läuft */
#viewtour_body .vec-btn .vec-icon-pause,
#viewtour_body .vec-btn.is-rotating .vec-icon-play { display: none; }
#viewtour_body .vec-btn.is-rotating .vec-icon-pause { display: block; }

/* Musik: .play = läuft (bestehende .pauseAudio-Logik) */
#viewtour_body .vec-sound .vec-icon-on,
#viewtour_body .vec-sound.play .vec-icon-off { display: none; }
#viewtour_body .vec-sound.play .vec-icon-on { display: inline; }

/* Datenschutz klein unten rechts, über der Teilen/VR-Leiste */
#viewtour_body .viewer-privacy-link {
    position: fixed;
    right: 10px;
    bottom: 38px;
    z-index: 999; /* unter geöffneten Info-Fenstern (1000) */
    padding: 2px 6px;
    border: 0;
    border-radius: 4px;
    background: rgba(27, 26, 24, .45);
    color: #fff;
    font: 400 11px/16px Arial, sans-serif;
    cursor: pointer;
}
#viewtour_body .viewer-privacy-link:hover { background: #A8553B; }
#viewtour_body .viewer-privacy-link:focus-visible { outline: 2px solid #E2C58A; outline-offset: 2px; }
