/* Webcam Hochfirst – gemeinsam für /webcam/ und /webcam/embed */

/* Die Kamera liefert beide Objektive übereinander (oben Startplatz, unten Panorama), je 16:9 */
.cam-view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c1a2e; }
.cam-view img { position: absolute; left: 0; width: 100%; height: 200%; max-width: none; object-fit: cover;
                transition: opacity .25s ease; }
.cam-view[data-part="top"] img    { top: 0; }
.cam-view[data-part="bottom"] img { top: -100%; }
.cam-view.loading img { opacity: .55; }

.cam-strip { scroll-snap-type: x proximity; scrollbar-width: thin; }
.cam-thumb { scroll-snap-align: center; flex: 0 0 auto; width: 132px; }
.cam-thumb .cam-view { border-radius: 8px; outline: 2px solid transparent; outline-offset: 2px; }
.cam-thumb[aria-current="true"] .cam-view { outline-color: var(--sun); }
.cam-thumb[aria-current="true"] span { color: var(--sky-deep); font-weight: 700; }

.cam-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
            font-size: 12px; font-weight: 700; letter-spacing: .5px; backdrop-filter: blur(6px); }
.cam-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cam-pill.live .cam-dot { animation: cam-pulse 2s ease-in-out infinite; }
@keyframes cam-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.cam-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; min-width: 36px;
           padding: 0 12px; border-radius: 10px; border: 1px solid #bae6fd; background: #fff; color: var(--sky-deep);
           font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.cam-btn:hover:not(:disabled) { background: #f0f9ff; border-color: #7dd3fc; }
.cam-btn:disabled { opacity: .4; cursor: default; }
.cam-btn:focus-visible, .cam-thumb:focus-visible { outline: 2px solid var(--sky-mid); outline-offset: 2px; }
.cam-tab[aria-selected="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }

/* Ein-/Ausblenden über das hidden-Attribut: unabhängig davon, wie Tailwind eingebunden ist */
.cam-widget [hidden] { display: none !important; }
