/* Ereignisse mit Ort, Randpfeile, Meldungen, Kamera-Sprung (Doku/22_EREIGNISSE_ORT.md, EREIGNISSE-ORT). Wird von ui/ereignis-ort.js per <link> geladen, solange index.html die Datei nicht einbindet. */
/* .toasts steht bei left: 50 % und schrumpft auf die halbe Bildschirmbreite: Die Meldung mit Ort braucht eine feste Breite, align-items: center hält sie mittig */
#ui .toast.eo-ort { pointer-events: auto; cursor: pointer; box-sizing: border-box; width: min(calc(100vw - 24px), 440px); max-width: none; border-radius: 18px; padding: 6px 8px 6px 12px; flex-wrap: nowrap; white-space: normal; line-height: 1.25; }
#ui .toast.eo-ort > span:not(.ico) { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
#ui .toast .eo-hinsehen { flex: none; min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #2B2A33; font-weight: 800; font-size: 13px; }
#ui .toast .eo-hinsehen .btn-label { color: inherit; }
#ui .evc-hinsehen { margin-top: 6px; min-height: 44px; }
#ui .btn-block.eo-zweit { margin-top: 8px; min-height: 44px; }
#ui .layer > .eo-pfeile { position: absolute; inset: 0; pointer-events: none; }
#ui .eo-pfeil { position: absolute; left: 0; top: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: none; align-items: center; justify-content: center; pointer-events: auto; cursor: pointer; background: #2B2A33; color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .45); animation: eoPuls 1.2s ease-in-out infinite; }
#ui .eo-pfeil.gefahr { background: #E5484D; } #ui .eo-pfeil.warn { background: #D9941F; } #ui .eo-pfeil.erfolg { background: #2E8A45; } #ui .eo-pfeil.hinweis { background: #2C86BF; }
#ui .eo-p-dreh { position: absolute; inset: -5px; display: flex; align-items: center; justify-content: flex-end; color: inherit; pointer-events: none; }
#ui .eo-p-dreh svg { width: 54px; height: 54px; flex: none; }
#ui .eo-p-ic { position: relative; display: flex; pointer-events: none; }
#ui .eo-p-ic .ic, #ui .eo-p-ic svg { color: #fff; }
@keyframes eoPuls { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .6), 0 2px 10px rgba(0, 0, 0, .45); } 50% { box-shadow: 0 0 0 11px rgba(229, 72, 77, 0), 0 2px 10px rgba(0, 0, 0, .45); } }
#ui .eo-hinweise { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; pointer-events: none; }
#ui .eo-hinweise.hidden { display: none; }
#ui .eo-chip { pointer-events: auto; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 4px 12px; border: 0; border-radius: 14px; background: rgba(43, 42, 51, .92); color: #fff; font-weight: 700; font-size: 13px; text-align: left; box-shadow: var(--shadow); cursor: pointer; }
#ui .eo-chip.gefahr { background: #C93B40; } #ui .eo-chip.warn { background: #B97D14; } #ui .eo-chip.zurueck { background: var(--primary); }
#ui .eo-chip .ic, #ui .eo-chip svg { color: #fff; flex: none; }
#ui .eo-c-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
#ui .eo-c-los { flex: none; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #2B2A33; font-weight: 800; font-size: 12px; }
#ui .eo-knopf { position: relative; flex: none; width: 44px; height: 44px; min-height: 44px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); color: var(--ink, #2B2A33); }
#ui .eo-knopf.hidden { display: none; }
#ui .eo-zahl { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #E5484D; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
#ui .eo-zahl.hidden { display: none; }
#ui .eo-liste { display: flex; flex-direction: column; gap: 8px; }
#ui .eo-leer { color: var(--ink2); padding: 8px 4px; }
#ui .eo-zeile { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .72); border-left: 4px solid #3FA7E0; cursor: pointer; min-width: 0; }
#ui .eo-zeile.gefahr { border-left-color: #E5484D; } #ui .eo-zeile.warn { border-left-color: #F2B134; } #ui .eo-zeile.erfolg { border-left-color: #3FAE5A; }
#ui .eo-z-ic { flex: none; display: flex; color: var(--ink2); }
#ui .eo-z-main { flex: 1 1 auto; min-width: 0; }
#ui .eo-z-text { font-weight: 800; font-size: 14px; overflow-wrap: anywhere; }
#ui .eo-z-ort { font-size: 13px; color: var(--ink2); overflow-wrap: anywhere; }
#ui .eo-z-zeit { font-size: 12px; color: var(--ink2); opacity: .85; }
#ui .eo-z-btn { flex: none; min-height: 44px; }
#ui .wm-sprung-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
#ui .wm-sprung { flex: none; min-height: 44px; background: rgba(247, 242, 234, .96); box-shadow: var(--shadow); }
#ui .wm-sprung.on { background: #E5484D; color: #fff; animation: eoPuls 1.2s ease-in-out infinite; }
#ui .wm-sprung.on .ic, #ui .wm-sprung.on svg { color: #fff; }
#ui .wm-sprung-text { flex: 1 1 auto; min-width: 0; padding: 4px 10px; border-radius: 10px; background: rgba(43, 42, 51, .86); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
#ui .wm-sprung-text.hidden { display: none; }
#ui .wm-full.wm-globus .wm-sprung-row { display: none; }
#ui .wm-ev { cursor: pointer; }
#ui .wm-ev .kern { fill: #3FA7E0; stroke: #fff; stroke-width: 2; }
#ui .wm-ev.gefahr .kern { fill: #E5484D; } #ui .wm-ev.warn .kern { fill: #F2B134; } #ui .wm-ev.erfolg .kern { fill: #3FAE5A; }
#ui .wm-ev .puls { fill: none; stroke: #3FA7E0; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: eoRing 1.3s ease-out infinite; }
#ui .wm-ev.gefahr .puls { stroke: #E5484D; } #ui .wm-ev.warn .puls { stroke: #F2B134; } #ui .wm-ev.erfolg .puls { stroke: #3FAE5A; }
#ui .wm-ev .zeichen { fill: #fff; font-size: 15px; font-weight: 900; pointer-events: none; }
#ui .wm-ev .treffer { fill: transparent; pointer-events: all; }
@keyframes eoRing { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
@media (max-width: 374px) { #ui .wm-sprung-text { font-size: 11px; padding: 3px 8px; } #ui .eo-z-btn { padding: 0 10px; } }
