@charset "UTF-8";
/*------------------------------------------------------------------
[Convention Schedule & Program Planner – WordPress Event Management Plugin Live Ticker Module Stylesheet]

Project:        Convention Schedule & Program Planner – WordPress Event Management
Version:        1.7.0
Author:         Evokaris
Primary use:    Event Management & Display

Table of Contents:

1. BASE COMPONENTS & SHARED ASSETS (Ticker Specific)
2. LIVE VIEW DESIGN (Layout & Containers)
3. TICKER ANIMATION LOGIC (Fades & Rotation)
4. STATUS INDICATORS (Badges & Countdowns)
5. FULLSCREEN BUTTON 
6. RESPONSIVE LOGIC (Mobile & Tablet Fixes)
7. VOLLBILD EXTRAS (Zoom Slider & Klick-Sperre)
8. CANCELLED TEXT - LIVE TICKER
9. CONTAINER QUERIES (Intelligente Sidebar-Anpassung)
10. KEYFRAME ANIMATIONS (Ticker Essentials)
-------------------------------------------------------------------*/


/* =========================================
   1. BASE COMPONENTS & SHARED ASSETS (Ticker Specific
   ========================================= */
   
html body .ec-event-calendar-app .ec-btn-fav-filter {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  cursor: pointer;
  font-weight: 700;
  border-radius: 4px;
  background-color: #fff;
  border: 2px solid var(--ec-primary);
  color: var(--ec-primary);
  white-space: nowrap;
}

/* Herz-Icon für den Favoriten-Button im Ticker.
   Mask-Pfad kommt aus ec-core.css, hier nur Größe und Farbe. */
html body .ec-event-calendar-app .ec-live-fav-toggle .ec-icon-heart {
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: var(--ec-primary);
}

/* Durchgestrichenes Herz für den Aktiv-Zustand ("Alle anzeigen").
   Maske, Größe und Farbe kommen aus ec-core.css (.ec-icon-svg.ec-icon-fav-alert).
   Hier steht nur die Ticker-Größe, weil ec-timetable.css .ec-btn-fav-filter
   .ec-icon-svg auf 18px setzt und auf Seiten mit Timetable UND Ticker sonst
   gewinnen würde. Die Farbe braucht keine eigene Regel: die Basis nutzt
   currentColor, und der aktive Button setzt color: #fff (Regel unten). */
html body .ec-event-calendar-app .ec-live-fav-toggle.ec-btn-fav-filter .ec-icon-svg.ec-icon-fav-alert {
  width: 24px;
  height: 24px;
}

/* Wenn der Button aktiv ist oder gehovert wird: Weißes Herz */
html body .ec-event-calendar-app .ec-live-fav-toggle:hover .ec-icon-heart,
html body .ec-event-calendar-app .ec-live-fav-toggle.active .ec-icon-heart {
  background-color: #fff;
}

/* Hover-Effekt für den Ticker-Button */
html body .ec-event-calendar-app .ec-btn-fav-filter:hover,
html body .ec-event-calendar-app .ec-live-fav-toggle.active {
  background-color: var(--ec-primary);
  color: #fff;
}

/* =========================================
   3. TICKER ANIMATION LOGIC (ROTATION)
   ========================================= */

html body .ec-event-calendar-app .ec-live-grid, 
html body .ec-event-calendar-app .ec-upcoming-grid {
  position: relative;
  overflow: hidden;
  transition: height 0.4s ease-in-out;
  display: block;
}

/* optional KOmmentar entfernen, dann ganze Zeile fett                              */
/* .ec-event-calendar-app .ec-upcoming-grid .ec-meta-row-bottom {                   */
/*        font-weight: 700; /* Macht die gesamte untere Meta-Zeile fett             */
/*         color: #333;                                                             */
/*  }   */


/* Zustand: Transparent (während des JS-gesteuerten Wechsels) */
html body .ec-event-calendar-app .ec-compact-row.ec-roll-transparent {
    opacity: 0;
    transform: translateY(5px);
}



/* Zustand: Komplett versteckt (Ticker-Kontrolle) */
html body .ec-event-calendar-app .ec-roll-hidden {
  display: none !important;
}

/* Freigabe des Preloads, wenn Ticker aktiv ist. */
html body .ec-event-calendar-app .ec-live-view-container[data-ticker-active=true] .ec-is-preloaded {
  display: flex;
}

/*  LIVE VIEW TICKER / ROTATION (ENDE) */


/* =========================================
   4. STATUS INDICATORS (BADGES & COUNTDOWNS)
   ========================================= */
   
html body .ec-event-calendar-app .ec-blink {
  animation: ec-badge-blink 1.5s infinite ease-in-out;
}
   
html body .ec-event-calendar-app .ec-live-view-container {
  background: #fff;
  border: 1px solid var(--ec-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  will-change: height; /* Optimiert Performance auf Mobilgeräten */
  opacity: 1;
  min-height: 150px; /* Platzhalterhöhe für den Spinner */
  transition: opacity 0.4s ease-in-out, height 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  /*  transition: height 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); Alte Variante:  Verhindert abruptes Springen beim Scrollen */
}
/* 2. Nur die tatsächlichen Ticker-Inhalte (Grids) sind anfangs unsichtbar */
html body .ec-event-calendar-app .ec-live-view-container .ec-live-section,
html body .ec-event-calendar-app .ec-live-view-container .ec-upcoming-section {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
/* 3. Wenn initialisiert, blenden wir die Sektionen ein und den Loader aus */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-initialized .ec-live-section,
html body .ec-event-calendar-app .ec-live-view-container.ec-is-initialized .ec-upcoming-section {
    opacity: 1;
}
/* Wenn initialisiert, blenden wir die Sektionen ein und den Loader aus */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-initialized .ec-live-loader {
    display: none;
}
/* Klasse für das JS zum Einblenden */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-initialized {
    opacity: 1;
}
html body .ec-event-calendar-app .ec-live-section, .ec-event-calendar-app .ec-upcoming-section {
  padding: 15px;
}
/* Live Bereich (Aktuell laufend) */
html body .ec-event-calendar-app .ec-live-section {
  background-color: var(--ec-live-bg, #fff9f9);
  border-bottom: 1px dashed var(--ec-border);
}
/* Kommende Events (Upcoming) */
html body .ec-event-calendar-app .ec-upcoming-section {
  background-color: var(--ec-upcoming-bg, #ffffff);
}
html body .ec-event-calendar-app .ec-live-title, .ec-event-calendar-app .ec-upcoming-title {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #444;
  display: flex;
  align-items: center;
}

/* --- 3. TICKER ANIMATION & DESIGN (Consolidated) --- */

/* Basis-Zustand: Sichtbar & Gestylt */
html body .ec-event-calendar-app .ec-compact-row {
  /* Layout & Design */
  display: flex;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--ec-border);
  border-radius: 6px;
  margin-bottom: 12px;
  min-height: auto;
  height: auto;

  /* Animation Logic (500ms für Fade, 0.2s für Hover-Effekte) */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease-in-out, transform 500ms ease-in-out, background-color 0.2s, border-color 0.2s;
  will-change: opacity, transform;
}

/* Animations-Zustand: Transparent (wird vom JS gesteuert) */
html body .ec-event-calendar-app .ec-compact-row.ec-roll-transparent {
  opacity: 0;
  transform: translateY(5px);
}

html body .ec-event-calendar-app .ec-compact-row:hover {
  border-color: var(--ec-primary);
  filter: brightness(0.95);
}
html body .ec-event-calendar-app .ec-compact-row:active {
  transform: scale(0.99);
}
html body .ec-event-calendar-app .ec-compact-row:not([onclick]) {
  cursor: default;
}
html body .ec-event-calendar-app .ec-row-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  margin-right: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
html body .ec-event-calendar-app .ec-row-img img,
html body .ec-event-calendar-app .ec-row-img .ec-is-placeholder,
html body .ec-event-calendar-app .ec-row-img .ec-row-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
html body .ec-event-calendar-app .ec-row-body {
  flex-grow: 1;
  min-width: 0;
  position: relative; /* Wichtig fÃƒÂ¼r die Desktop-Ausrichtung des Countdowns */
}

/* Header global auf die rechte Seite */
html body .ec-event-calendar-app .ec-row-status-header {
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
  line-height: 1;
  z-index: 5;
}
html body .ec-event-calendar-app .ec-row-title {
  font-weight: 700;
  color: #222;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Info-Zeile (Meta) */
html body .ec-event-calendar-app .ec-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #333;
  margin-top: 4px;
}
html body .ec-event-calendar-app .ec-meta-sep {
  margin: 0 8px;
  color: var(--ec-border);
  font-weight: 300;
}
		

/* Veraltete Side-Spalte entfernen (da jetzt im Body integriert) */
html body .ec-event-calendar-app .ec-row-side {
  display: none;
}
/* Live Badge & Pulse Animation */
html body .ec-event-calendar-app .ec-badge-live {
  background: #d63638;
  color: #fff;
  border-radius: 4px;
  font-weight: 800;
  display: inline-block;
  text-transform: uppercase;
}
html body .ec-event-calendar-app .ec-pulse-dot {
  height: 10px;
  width: 10px;
  background-color: #d63638;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: ec-pulse-live 2s infinite;
}
html body .ec-event-calendar-app .ec-row-countdown {
  color: var(--ec-primary);
  display: inline-block;
  font-weight: 700;
}

/* Status-Meldungen & Leere Favoriten (Isolierte Flexbox) */
html body .ec-event-calendar-app .ec-empty-state, 
html body .ec-event-calendar-app .ec-live-view-container .ec-no-results {
  width: 100%;
  margin: 0;
}
html body .ec-event-calendar-app .ec-live-view-container .ec-no-results {
  display: none; /* JS toggelt dies hart zu block, stört aber nicht mehr das Design */
}
html body .ec-event-calendar-app .ec-live-view-container .ec-status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 35px 0;
  text-align: center;
}
html body .ec-event-calendar-app .ec-live-view-container .ec-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #b0b0b0; 
}
html body .ec-event-calendar-app .ec-live-view-container .ec-status-icon svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}
html body .ec-event-calendar-app .ec-live-view-container .ec-status-text {
  font-style: italic;
  font-size: 0.95rem;
  color: #888;
}

/* 1. Echter Mobile-Code (Smartphones unter 600px) */
@media (max-width: 600px) {
  html body .ec-event-calendar-app .ec-live-view-container .ec-status-container {
    flex-direction: row;
    padding: 20px 0;
  }
  html body .ec-event-calendar-app .ec-live-view-container .ec-status-icon {
    margin-bottom: 0;
    margin-right: 8px;
  }
  html body .ec-event-calendar-app .ec-live-view-container .ec-status-icon svg {
    width: 16px; 
    height: 16px;
  }
  html body .ec-event-calendar-app .ec-live-view-container .ec-status-text {
    font-size: 0.85rem;
  }
}

/* 2. Narrow-Code (Für schmale Sidebars auf dem Desktop via JS) */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-status-container {
  flex-direction: row;
  padding: 20px 0;
}
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-status-icon {
  margin-bottom: 0;
  margin-right: 8px;
}
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-status-icon svg {
  width: 16px; 
  height: 16px;
}
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-status-text {
  font-size: 0.85rem;
}
html body .ec-event-calendar-app .ec-live-grid, .ec-event-calendar-app .ec-upcoming-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}
html body .ec-event-calendar-app .ec-show-only-favs .ec-compact-row:not(.is-favorite) {
  display: none;
}
html body .ec-event-calendar-app .ec-row-img .ec-is-placeholder {
  opacity: 0.6;
  filter: grayscale(20%);
}
html body .ec-event-calendar-app .ec-row-img .ec-placeholder-icon {
  font-size: 1.5rem;
  opacity: 0.3;
}
html body .ec-event-calendar-app .ec-compact-row:hover .ec-is-placeholder {
  opacity: 0.9;
}

/* --- PRELOAD & DYNAMISCHE FARBEN  --- */

/* Preload Logic */
html body .ec-event-calendar-app .ec-is-preloaded {
  display: none;
}
html body .ec-event-calendar-app .ec-show-only-favs .ec-compact-row.is-favorite.ec-is-preloaded {
  display: flex;
}

/* Dynamische Akzentfarbe (Venue Color) */
html body .ec-event-calendar-app .ec-compact-row {
  /* Nutzt die Variable aus dem PHP fÃƒÂ¼r den linken Rand */
  border-left: 5px solid var(--ec-row-accent, var(--ec-primary));
  /* Nutzt die RGB-Variable aus PHP fÃƒÂ¼r den Hintergrund (mit 12% Transparenz) */
  /* Fallback (255, 255, 255) ist WeiÃƒÅ¸, falls keine Variable da ist */
  background-color: rgba(var(--ec-row-bg-rgb, 255, 255, 255), 0.12);
  /* Damit Text auf farbigem Grund lesbar bleibt */
  color: inherit;
}

/* Hover-Effekt angepasst auf die dynamische Farbe */
html body .ec-event-calendar-app .ec-compact-row:hover {
  border-color: var(--ec-row-accent, var(--ec-primary));
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Countdown nutzt jetzt ebenfalls die Orts-Farbe */
html body .ec-event-calendar-app .ec-row-countdown {
  color: var(--ec-row-accent, var(--ec-primary));
}

/* Datums-Trenner zwischen den Tagen */
html body .ec-event-calendar-app .ec-date-separator {
  width: 100%;
  padding: 0 10px 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--ec-border);
  margin-bottom: 10px;
  display: block;
  line-height: 1.2;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}


/* Date Separator Logic */
html body .ec-event-calendar-app .ec-date-separator.ec-is-preloaded {
  display: none;
}

/* Im Favoriten-Modus wird der Trenner erst eingeblendet, wenn das JS ihn freigibt */
.ec-event-calendar-app .ec-show-only-favs .ec-date-separator {
  display: none;
}

html body .ec-event-calendar-app .ec-show-only-favs .ec-date-separator:not(.is-favorite) {
  display: none;
}
/* Trenner, die Favoriten enthalten, mÃƒÂ¼ssen im Favoriten-Modus sichtbar bleiben */
html body .ec-event-calendar-app .ec-show-only-favs .ec-date-separator.is-favorite {
  display: block;
}

/* Live Grid Meta */
html body .ec-event-calendar-app .ec-live-grid .ec-meta-time-live {
    display: inline-block;
    font-weight: 400;
    color: #333; 
    margin-right: 2px;
}

    /* Erzeugt den Trennstrich analog zu den kommenden Veranstaltungen */
    .ec-event-calendar-app .ec-live-grid .ec-meta-time-live::after {
        content: "|";
        display: inline-block;
        margin: 0 8px;
        color: var(--ec-border);
        font-weight: 300;
    }

    /* Verhindert, dass die Uhrzeit-Zeile unnötig umbricht */
html body .ec-event-calendar-app .ec-live-grid .ec-meta-row-top {
    display: inline;
}


/* RESPONSIVE LOGIK FÃƒÅ“R COUNTDOWN/BADGE POSITION */
/* --- Desktop-Variante (Ab 601px Breite) --- */

@media (min-width: 601px) {
    /* 1. Alten Trenner vor der Uhrzeit lÃ¶schen */
    html body .ec-event-calendar-app .ec-meta-row-bottom::before {
        content: none;
    }

/* 2.  Countdown (Rechts) braucht keinen Strich dahinter */
    html body .ec-event-calendar-app .ec-meta-time-live::after {
        content: "|";
        display: inline-block;
        margin: 0 8px;
        color: var(--ec-border);
        font-weight: 300;
    }

    /* 3. WICHTIG: Die mobilen Varianten auf Desktop "neutralisieren", 
       damit sie keinen Platz wegnehmen und keine Striche erzeugen. */
    html body .ec-event-calendar-app .ec-mobile-status-inline,
    html body .ec-event-calendar-app .ec-mobile-status-inline .ec-badge-live {
        display: none;
        content: none;
    }

    /* 4. Verhindert das Springen der Uhrzeitzeile */
    html body .ec-event-calendar-app .ec-meta-row-top {
        display: inline;
    }
	
  html body .ec-event-calendar-app .ec-desktop-only-status {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
  }
  html body .ec-event-calendar-app .ec-row-title {
    padding-right: 150px;
  }
  html body .ec-event-calendar-app .ec-badge-live {
    font-size: 0.85rem;
    padding: 4px 10px;
  }
  html body .ec-event-calendar-app .ec-row-countdown {
    font-size: 0.85rem;
  }
}

/* Versteckt den hässlichen Standard-Rahmen von Browsern bei fehlenden Bildern */
html body .ec-event-calendar-app .ec-row-img img:not([src]), 
html body .ec-event-calendar-app .ec-row-img img[src=""] {
    opacity: 0;
}

/* Verhindert das Aufblitzen des "Broken Image" Icons während des Umschaltens */
html body .ec-event-calendar-app .ec-row-img img:-moz-broken,
html body .ec-event-calendar-app .ec-row-img img:broken {
    visibility: hidden;
}


/* =========================================
   5. FULLSCREEN BUTTON 
   ========================================= */

html body .ec-event-calendar-app .ec-live-fullscreen-btn {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    margin-left: 10px;
}

html body .ec-event-calendar-app .ec-live-fullscreen-btn .ec-icon-fullscreen-svg {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

/* Identisches Icon-Styling zum Fav-Button */
html body .ec-event-calendar-app .ec-live-fullscreen-btn .ec-icon-fullscreen-svg svg {
    stroke: var(--ec-primary);
    width: 20px;
    height: 20px;
}

html body .ec-event-calendar-app .ec-live-fullscreen-btn:hover .ec-icon-fullscreen-svg svg {
    stroke: #fff;
}

/* Verstecken im Vollbild */
:fullscreen .ec-event-calendar-app .ec-live-fullscreen-btn { display: none; }
:-webkit-full-screen .ec-event-calendar-app .ec-live-fullscreen-btn { display: none; }

:fullscreen { background-color: #03235a; overflow-y: auto; }

/* Filter Bar Logic */
html body .ec-event-calendar-app .ec-live-filter-bar:not(:has(button:not([style*="display: none"]))) {
    display: none;
}

/* Hier ist für :fullscreen Context */
:fullscreen .ec-event-calendar-app .ec-live-filter-bar:not(:has(.ec-live-fav-toggle)) {
    display: none;
}

/* Fallback für Safari/ältere Chrome Versionen */
:-webkit-full-screen .ec-event-calendar-app .ec-live-fullscreen-btn {
    display: none;
}

/* FULLSCREEN SCROLLBAR
   Erlaubt das Scrollen/Wischen im Vollbild, versteckt aber die Balken.
*/

/* 1. Standard für Firefox */
html body .ec-event-calendar-app .ec-fullscreen-active {
    scrollbar-width: none;
}

/* 2. Für Internet Explorer und Edge */
html body .ec-event-calendar-app .ec-fullscreen-active {
    -ms-overflow-style: none;
}

/* 3. Für Chrome, Safari und Opera */
html body .ec-event-calendar-app .ec-fullscreen-active::-webkit-scrollbar {
    display: none;
}

/* 4. Sicherstellen, dass der Body im Vollbild nicht starr fixiert ist */
html body .ec-event-calendar-app .ec-fullscreen-active body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Sanftes Scrollen auf iOS */
}

/* GESTEN-STEUERUNG (Wischen zum Blättern)
   Das Attribut wird von ec-live.js gesetzt – und NUR, wenn der Ticker
   tatsächlich rotiert. Bei statischer Anzeige bleibt alles unverändert.

   horizontal: Seite lässt sich über dem Ticker weiterhin normal scrollen,
               nur das seitliche Wischen wird ausgewertet.
   both:       ausschließlich im echten Vollbild, wo es keinen Seiten-Scroll
               gibt – dort ist auch hoch/runter wischen gefahrlos.
*/
html body .ec-event-calendar-app .ec-live-view-container[data-ec-gesture-axis="horizontal"] {
    touch-action: pan-y;
}

html body .ec-event-calendar-app .ec-live-view-container[data-ec-gesture-axis="both"] {
    touch-action: none;
}

/* WISCH-HINWEIS
   Wird von ec-live.js nur auf Touch-Geräten eingefügt und verschwindet
   dauerhaft, sobald einmal gewischt wurde. Rein dekorativ – die Pille darf
   Taps auf die Zeilen darunter nicht abfangen (pointer-events: none).
*/
html body .ec-event-calendar-app .ec-swipe-hint {
    /* Mittig über der gesamten Liste: unabhängig davon, ob "Laufende",
       "Kommende" oder beide Abschnitte angezeigt werden. */
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 90%;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px));
    transition: opacity 0.35s ease, transform 0.35s ease;
}

html body .ec-event-calendar-app .ec-swipe-hint.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

html body .ec-event-calendar-app .ec-swipe-hint-svg {
    width: 34px;
    height: 26px;
    flex: 0 0 auto;
    overflow: visible;
}

html body .ec-event-calendar-app .ec-swipe-hint-svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html body .ec-event-calendar-app .ec-swipe-hint-text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Bewegung: Hand wandert hin und her, die Pfeile blinken gegenphasig mit */
html body .ec-event-calendar-app .ec-swipe-hand {
    transform-box: fill-box;
    transform-origin: center;
    animation: ec-swipe-move 2s ease-in-out infinite;
}

html body .ec-event-calendar-app .ec-swipe-chevron-l {
    animation: ec-swipe-pulse-left 2s ease-in-out infinite;
}

html body .ec-event-calendar-app .ec-swipe-chevron-r {
    animation: ec-swipe-pulse-right 2s ease-in-out infinite;
}

@keyframes ec-swipe-move {
    0%, 100% { transform: translateX(-4px); }
    50%      { transform: translateX(4px); }
}

@keyframes ec-swipe-pulse-left {
    0%, 100% { opacity: 1; }
    40%, 60% { opacity: 0.25; }
}

@keyframes ec-swipe-pulse-right {
    0%, 100% { opacity: 0.25; }
    40%, 60% { opacity: 1; }
}

/* Barrierefreiheit: keine Dauerbewegung, wenn der Nutzer das abgestellt hat */
@media (prefers-reduced-motion: reduce) {
    html body .ec-event-calendar-app .ec-swipe-hand,
    html body .ec-event-calendar-app .ec-swipe-chevron-l,
    html body .ec-event-calendar-app .ec-swipe-chevron-r {
        animation: none;
    }
    html body .ec-event-calendar-app .ec-swipe-chevron-l,
    html body .ec-event-calendar-app .ec-swipe-chevron-r {
        opacity: 0.7;
    }
}

/* OPTIMIERUNG FÜR FLÜSSIGEN VOLLBILD-ZOOM */
html body .ec-event-calendar-app .ec-live-view-container, 
html body .ec-event-calendar-app .ec-live-grid, 
html body .ec-event-calendar-app .ec-upcoming-grid,
html body .ec-event-calendar-app .ec-compact-row {
    /* Verhindert Ruckeln während des Zooms/Resizes */
    will-change: transform, opacity, height;
    /* Sorgt dafür, dass die Grafikkarte beim Skalieren hilft */
    transform: translateZ(0); 
    backface-visibility: hidden;
}

/* Deaktiviert Transitionen kurzzeitig, wenn der Vollbild-Wechsel stattfindet 
   (wird über die JS-Klasse gesteuert) */
html body .ec-event-calendar-app .ec-fullscreen-active .ec-live-grid,
html body .ec-event-calendar-app .ec-fullscreen-active .ec-upcoming-grid {
    transition: none;
}


/* Blendet Cursor aus, wenn Ticker-Buttons versteckt werden */
.ec-live-view-container:has(.ec-live-fullscreen-btn.ec-ui-hidden) {
    cursor: none;
}

/* =========================================
   7. VOLLBILD EXTRAS (Zoom Slider & Klick-Sperre)
   ========================================= */

/* A) Klick-Sperre im Vollbild */
html.ec-fullscreen-active .ec-live-grid .ec-compact-row,
html.ec-fullscreen-active .ec-upcoming-grid .ec-compact-row {
    pointer-events: none; /* Verhindert Klicks */
    cursor: default;      /* Zeigt normalen Mauszeiger statt Hand */
}

/* B) Zoom Slider & Reset Pill Design */
html body .ec-zoom-overlay {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647; /* Muss über allem liegen */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto; /* WICHTIG: Slider muss bedienbar bleiben! */
    user-select: none;
    -webkit-user-select: none;
}

html body .ec-zoom-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Reset-Pille zentriert über dem Slider */
html body .ec-zoom-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    min-height: 40px;
    box-sizing: border-box;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    outline: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
}

html body .ec-zoom-reset-btn.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

html body .ec-zoom-reset-btn.is-active:hover {
    background: rgba(45, 45, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

html body .ec-zoom-reset-btn.is-active:active {
    transform: scale(0.95);
}

html body .ec-zoom-reset-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    opacity: 0.9;
}

/* Haupt-Leiste mit Slider */
html body .ec-zoom-bar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 12px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html body .ec-zoom-label {
    font-weight: bold;
    min-width: 45px;
    text-align: right;
}

/* Slider Input Styling */
html body .ec-zoom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 200px;
    height: 6px;
    background: #555;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

html body .ec-zoom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--ec-primary, #f76b15);
    border-radius: 50%;
    border: 2px solid #fff;
    transition: transform 0.1s;
}

html body .ec-zoom-range::-webkit-slider-thumb:hover { transform: scale(1.2); }
html body .ec-zoom-range::-moz-range-thumb { width: 20px; height: 20px; background: var(--ec-primary, #f76b15); border: 2px solid #fff; border-radius: 50%; }

/* UI-Ausblend-Logik nach Inaktivität (Ticker Fullscreen Button) */
html body .ec-event-calendar-app .ec-live-fullscreen-btn.ec-ui-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}


/* ============================================================
   8. CANCELLED TEXT - LIVE TICKER
   ============================================================ */

/* 1. Roter Prefix Text vor dem Titel */
html body .ec-event-calendar-app .ec-compact-row .ec-cancelled-text {
    color: #d63638;
    font-weight: 900;
    text-transform: uppercase;
    margin-right: 4px;
}

/* 2. Graufilter auf die Inhalte (aber NICHT auf den Text-Wrapper, um das Rot zu schützen) */
html body .ec-event-calendar-app .ec-compact-row.ec-is-cancelled .ec-compact-image,
html body .ec-event-calendar-app .ec-compact-row.ec-is-cancelled .ec-compact-meta-top,
html body .ec-event-calendar-app .ec-compact-row.ec-is-cancelled .ec-compact-meta-bottom,
html body .ec-event-calendar-app .ec-compact-row.ec-is-cancelled .ec-compact-countdown,
html body .ec-event-calendar-app .ec-compact-row.ec-is-cancelled .ec-compact-actions {
    filter: grayscale(100%) opacity(0.6);
}

/* 3. Den eigentlichen Event-Titel abdunkeln (Das Cancelled-Prefix bleibt rot) */
html body .ec-event-calendar-app .ec-compact-row.ec-is-cancelled .ec-compact-title a,
html body .ec-event-calendar-app .ec-compact-row.ec-is-cancelled .ec-compact-title {
    color: #666;
}


/* =========================================
   9. MOBILE RESPONSIVE LOGIC
   ========================================= */

/* --- A. Desktop Fixes (min-width: 800px) --- */
@media (min-width: 800px) {
html body .ec-event-calendar-app .ec-live-filter-bar {
    position: absolute;
    top: 2px;
    right: 15px;
    height: 42px;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 10;
  }
  /* Falls die Bar leer ist, darf sie auch keine Maus-Events abfangen */
html body .ec-event-calendar-app .ec-live-filter-bar:empty {
      display: none;
  }
  .ec-event-calendar-app .ec-live-title, .ec-event-calendar-app .ec-upcoming-title {
    padding-right: 210px;
  }
  .ec-event-calendar-app .ec-live-view-container {
    padding-top: 0;
  }
}

/* --- B. Tablet/Mobile Mix (max-width: 799px) --- */
@media (max-width: 799px) {
html body .ec-event-calendar-app .ec-live-filter-bar {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;    
    justify-content: center;
    background: var(--ec-bg-light);
    border-bottom: 1px solid var(--ec-border);
    padding: 12px;
  }
  html body .ec-event-calendar-app .ec-live-fav-toggle,
  html body .ec-event-calendar-app .ec-live-fullscreen-btn {
    flex: 1 1 auto; 
    margin: 0;
  }
  .ec-event-calendar-app .ec-live-fav-toggle {
    width: 100%;
  }
}

/* --- C. Compact Mobile (max-width: 600px) --- */
@media (max-width: 600px) {
	/* Desktop-Status sofort hart ausblenden gegen das Flackern */
   html body .ec-event-calendar-app .ec-desktop-only-status { display: none; }
/* Reset alter Trenner vor der Uhrzeit */
html body .ec-event-calendar-app .ec-meta-row-bottom::before {
        content: none;
    }

/* Top Row standardmäßig unsichtbar */
html body .ec-event-calendar-app .ec-meta-row-top {
        display: none; 
    }

/* Einblenden wenn Inhalt da ist */
    html body .ec-event-calendar-app .ec-meta-row-top:not(.ec-is-empty) {
        display: inline-block;
        margin-right: 8px;
    }

/* Striche entfernen */
    html body .ec-event-calendar-app .ec-meta-row-top:not(.ec-is-empty)::after {
        content: none;
        display: none;
    }
    html body .ec-event-calendar-app .ec-live-grid .ec-meta-time-live::after {
        content: none;
        display: none;
    }

/* Textfluss */
    html body .ec-event-calendar-app .ec-row-meta {
        display: block;
        margin-top: 2px;
        line-height: 1.4;
    }
	
    /* Trenner innerhalb der zweiten Zeile im Textfluss halten */
  html body .ec-event-calendar-app .ec-meta-sep {
    display: inline;
    margin: 0 4px;
  }

    /* Status-Badge Integration (klein in der Zeile) */
  html body .ec-event-calendar-app .ec-mobile-status-inline {
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
  }

    /* Badge-GrÃƒÂ¶ÃƒÅ¸e (9px) fÃƒÂ¼r die Textzeile optimiert */
  html body .ec-event-calendar-app .ec-mobile-status-inline .ec-badge-live {
    margin-right: 8px;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 9px;
    padding: 1px 4px;
    position: relative;
    top: -3px;
  }

    /* Zeit & Countdown bÃƒÂ¼ndig im Textfluss halten */
  html body .ec-event-calendar-app .ec-row-countdown,
  html body .ec-event-calendar-app .ec-meta-time-live {
    font-size: 0.85rem;
	letter-spacing: 0.02em;
    display: inline;
  }
	html body .ec-event-calendar-app .ec-live-grid .ec-meta-time-live,
    html body .ec-event-calendar-app .ec-upcoming-grid .ec-meta-time-live {
        display: inline;
        color: #d63638;
        font-weight: 700;
        font-size: 0.85rem;
    }
}

/* =========================================
   9. RESPONSIVE SIDEBAR LOGIC (JS-Based)
   greift, wenn JS die Klasse .ec-is-narrow setzt (< 280px)
   ========================================= */

/* Basis-Sicherheit für Page Builder */
/* Hier behalten wir bei Width, um Flex-Collapse in Buildern zu verhindern */
html body .ec-event-calendar-app .ec-live-view-container {
    width: 100%; 
    max-width: 100%;
    box-sizing: border-box;
}

/* --------------------------------------------------------
   A) FILTER LEISTE (Buttons) - 1:1 Mobile Optik
   -------------------------------------------------------- */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-live-filter-bar {
    position: relative;
    top: auto;
    right: auto;
    height: auto;
    z-index: 1;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background-color: var(--ec-bg-light, #fff8f0);
    border-bottom: 1px solid var(--ec-border, #eee);
    border-radius: 0;
    padding: 12px;
    margin: 0;
}

html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-live-fav-toggle {
    width: 100%;
    flex: 1 1 100%;
    margin: 0;
    display: inline-flex;
    justify-content: center;
    height: 42px;
}

html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-live-fullscreen-btn {
    flex: 1 1 auto;
}

html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-live-filter-bar .ec-btn-text {
    display: inline; 
}

html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-live-filter-bar .ec-btn-fav-filter .ec-icon-svg {
    margin-right: 8px; 
}

/* --------------------------------------------------------
   B) TITEL (Laufende / Kommende)
   -------------------------------------------------------- */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-live-title,
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-upcoming-title {
    padding-right: 0;
    display: block; 
    width: 100%;
    hyphens: auto;
    word-wrap: break-word;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-top: 5px;
}

html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-pulse-dot {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    margin-bottom: 3px;
}

/* --------------------------------------------------------
   C) INHALT (ROW) - Bild weg, Text Platz geben
   -------------------------------------------------------- */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-compact-row .ec-row-img {
    display: none;
}

html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-compact-row .ec-row-title {
    padding-right: 0;
    font-size: 0.95rem; 
    white-space: normal;
    word-break: normal;
    margin-bottom: 2px;
}

/* Desktop-Badge verstecken */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-compact-row .ec-desktop-only-status {
    display: none;
}

/* --------------------------------------------------------
   D) LIVE STATUS (Pulsierender Punkt + Rote Uhrzeit)
   -------------------------------------------------------- */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-compact-row .ec-meta-row-top {
    display: block; 
    width: 100%;
    margin-top: 3px;
    margin-bottom: 2px;
    line-height: 1.2;
}

html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-compact-row .ec-mobile-status-inline {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

/* Transformation LIVE-TEXT -> ROTER PUNKT */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-compact-row .ec-mobile-status-inline .ec-badge-live {
    font-size: 0;
    color: transparent;
    padding: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d63638;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
    margin: 0;
    animation: ec-pulse-live 2s infinite ease-in-out;
    box-shadow: 0 0 0 0 rgba(214, 54, 56, 0.7);
}

/* Uhrzeit Rot & Fett */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-live-grid .ec-meta-time-live,
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-upcoming-grid .ec-meta-time-live {
    display: inline-block;
    color: #d63638;
    font-weight: 700;
    font-size: 0.85rem;
    vertical-align: middle;
}

/* --------------------------------------------------------
   E) METADATEN (Uhrzeit | Ort | Sprecher)
   -------------------------------------------------------- */

/* 1. Die Zeile wieder als FLIESS-TEXT definieren (wie Mobile) */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-row-meta {
    display: block;
    margin-top: 2px;
    line-height: 1.4;
}

/* 2. Trennzeichen WIEDER SICHTBAR machen & INLINE setzen */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-meta-sep {
    display: inline;
    width: auto;
    height: auto;
    font-size: inherit;
    color: var(--ec-border, #ccc);
    margin: 0 4px;
    content: "|";
}

/* 3. Störende Pseudo-Elemente entfernen */
/* Pseudo-Elemente sind tricky, hier hilft html body oft nicht allein, 
   aber meist reicht es aus. */
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-row-countdown::after,
html body .ec-event-calendar-app .ec-live-view-container.ec-is-narrow .ec-meta-time-live::after {
    content: none;
    display: none;
}
/* =========================================
   10. KEYFRAME ANIMATIONS
   ========================================= */

/* Pulsierender Punkt fÃƒÂ¼r Live-Events */
@keyframes ec-pulse-live {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(214, 54, 56, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(214, 54, 56, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(214, 54, 56, 0); }
}

/* Sanftes Blinken fÃƒÂ¼r das Live-Badge (Dimmer-Effekt) */
@keyframes ec-badge-blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; } 
    100% { opacity: 1; }
}

/* Fade-In fÃƒÂ¼r Modals und Popups */
@keyframes ec-fade-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* UI-Ausblend-Logik nach Inaktivität (Ticker Fullscreen Button) */
html body .ec-event-calendar-app .ec-live-fullscreen-btn.ec-ui-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}