/* Elite Chaos Christmas Theme V1
   Loaded ONLY when body has .ec-christmas-active.
   Weihnachtsmodus AUS: keine Auswirkung auf die normale schwarz/rot/weiße Webseite. */

body.ec-christmas-active {
  --v50-red:#b00018;
  --v50-line:#6e0b18;
  --v50-panel:rgba(4,5,7,.95);
  --pink:#b00018;
  --violet:#aeb5bc;
  --line:#5d111a;
  --panel:#050608;
  --muted:#9da4aa;
  color:#c8cdd1;
  background:
    radial-gradient(circle at 50% 5%,rgba(170,180,190,.12),transparent 30rem),
    radial-gradient(circle at 10% 50%,rgba(125,0,18,.12),transparent 27rem),
    radial-gradient(circle at 90% 60%,rgba(115,0,15,.10),transparent 28rem),
    #020304 !important;
}

/* Schwarz + Rot + Silber: kein weißes Weihnachtstheme. */
body.ec-christmas-active .site-header,
body.ec-christmas-active .v50-bg,
body.ec-christmas-active .v50-shell {
  background-color:#030405 !important;
}
body.ec-christmas-active .site-header {
  border-bottom-color:rgba(185,0,28,.42) !important;
  box-shadow:0 8px 30px rgba(0,0,0,.74),0 1px 0 rgba(190,198,205,.10);
}
body.ec-christmas-active .v50-bg {
  background:
    radial-gradient(circle at 50% 10%,rgba(178,186,194,.08),transparent 29%),
    radial-gradient(circle at 49% 72%,rgba(120,0,18,.09),transparent 38%),
    #020304 !important;
}
body.ec-christmas-active .v50-red-haze {
  filter:saturate(.9) brightness(.72) !important;
  opacity:.34 !important;
}

body.ec-christmas-active :is(
  .v50-nav,.v50-player,.v50-card,.v50-hero,.v50-bottom-banner,.v50-footer,
  .v50-access-card,.v50-welcome,.v73-weather-card,.v50-radio-de-standalone,
  .v50-side-card,.v50-panel,.card,.panel,.feature-card
) {
  border-color:rgba(168,176,184,.34) !important;
  background:linear-gradient(145deg,rgba(6,7,9,.96),rgba(12,4,6,.94)) !important;
  box-shadow:0 0 0 1px rgba(190,198,205,.035),0 14px 38px rgba(0,0,0,.52),inset 0 0 32px rgba(110,0,15,.035);
}

body.ec-christmas-active :is(
  .brand span,.v50-label,.v50-nav span,.v50-live-line span,
  .v50-player-status,.v50-meta strong,.v74-rating-status,.v50-footer .v50-label,
  .eyebrow,.kicker,.section-label
) {
  color:#bd001c !important;
  text-shadow:0 0 10px rgba(190,0,30,.28);
}
body.ec-christmas-active :is(h1,h2,h3,.v50-title,.v50-card h3,.brand,.main-nav a) {
  color:#c5cbd0 !important;
  text-shadow:0 0 12px rgba(170,180,188,.08);
}
body.ec-christmas-active .main-nav a:hover { color:#df001f !important; }

body.ec-christmas-active .v50-nav a,
body.ec-christmas-active :is(.v50-button,.v50-player-icon,.v50-social a,.v50-cta-actions a,button) {
  border-color:rgba(174,181,188,.34) !important;
}
body.ec-christmas-active .v50-nav a:hover,
body.ec-christmas-active :is(.v50-button,.v50-player-icon,.v50-social a,.v50-cta-actions a,button):hover {
  border-color:#c7cdd1 !important;
  box-shadow:0 0 18px rgba(190,0,28,.22),0 0 8px rgba(180,188,194,.12) !important;
}
body.ec-christmas-active :is(.v50-button,.v50-cta-actions a,.v50-wish-form button,.btn-primary) {
  background:linear-gradient(135deg,#330008,#870014 52%,#bfc5ca) !important;
  border-color:#9e0017 !important;
  color:#d3d7da !important;
}
body.ec-christmas-active :is(input,textarea,select,.v50-wish-form input,.v50-wish-form textarea) {
  border-color:rgba(170,178,185,.36) !important;
  background:rgba(2,3,4,.96) !important;
  color:#c7ccd0 !important;
}
body.ec-christmas-active :is(input,textarea,select):focus {
  outline:none;
  border-color:#b8001b !important;
  box-shadow:0 0 0 2px rgba(184,0,27,.11),0 0 18px rgba(170,178,185,.10);
}

/* Augen und Live-Akzente: rot mit silbernem Kern. */
body.ec-christmas-active :is(.v55-eye,.v50-eye,.v50-radio-de-eye) {
  background:radial-gradient(circle,#d8dde0 0 6%,#c4001d 18%,#850014 46%,transparent 72%) !important;
  box-shadow:0 0 5px #bfc5ca,0 0 12px #ba001b,0 0 24px #720010 !important;
}
body.ec-christmas-active .v50-onair,
body.ec-christmas-active .v74-live-badge {
  border-color:#a90019 !important;
  color:#c7ccd0 !important;
  background:rgba(36,0,7,.82) !important;
  box-shadow:0 0 22px rgba(176,0,26,.23) !important;
}
body.ec-christmas-active .v50-player-status i,
body.ec-christmas-active .v50-radio-de-dot {
  background:#b6001b !important;
  box-shadow:0 0 13px #8e0015 !important;
}
body.ec-christmas-active :is(.v50-header img,.v55-skull img,.v50-skull img) {
  filter:saturate(.84) contrast(1.07) brightness(.88) !important;
}

/* Admin-Link bleibt auch bei dichtem Schneefall klar sichtbar. */
body.ec-christmas-active .main-nav a[href^="/admin"] {
  position:relative;
  z-index:10020;
  color:#d3d8dc !important;
  border:1px solid #b3001a !important;
  background:linear-gradient(135deg,#160004,#65000f 55%,#1b1e21) !important;
  box-shadow:0 0 10px rgba(190,0,28,.55),0 0 18px rgba(190,197,203,.18) !important;
  font-weight:800;
}

/* ---------- WEIHNACHTS-OVERLAY ---------- */
.ec-christmas-layer {
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:9998;
  isolation:isolate;
}

/* kühler, halbtransparenter Frost am Rand */
.ec-christmas-frost {
  position:absolute;
  inset:0;
  opacity:.46;
  background:
    radial-gradient(ellipse at 0 0,rgba(190,198,204,.22) 0 7%,transparent 25%),
    radial-gradient(ellipse at 100% 0,rgba(175,184,191,.20) 0 7%,transparent 24%),
    radial-gradient(ellipse at 0 100%,rgba(166,175,182,.16) 0 8%,transparent 27%),
    radial-gradient(ellipse at 100% 100%,rgba(182,190,197,.17) 0 8%,transparent 27%);
  filter:blur(1.2px);
}
.ec-christmas-frost::before,
.ec-christmas-frost::after {
  content:'';
  position:absolute;
  inset:-2%;
  opacity:.22;
  background:
    repeating-linear-gradient(58deg,transparent 0 34px,rgba(190,198,204,.20) 35px 36px,transparent 37px 69px),
    repeating-linear-gradient(122deg,transparent 0 41px,rgba(160,170,178,.15) 42px 43px,transparent 44px 78px);
  mask-image:linear-gradient(to bottom,black 0 13%,transparent 30% 70%,black 88% 100%);
}
.ec-christmas-frost::after { transform:rotate(180deg); opacity:.13; }

/* fallender silberner Schnee */
.ec-snowflake {
  --x:50vw;
  --size:7px;
  --dur:14s;
  --delay:0s;
  --drift:40px;
  position:absolute;
  left:var(--x);
  top:-8vh;
  width:var(--size);
  height:var(--size);
  border-radius:50%;
  background:#bfc5ca;
  opacity:0;
  box-shadow:0 0 5px rgba(190,198,204,.45);
  animation:ecSnowFall var(--dur) linear var(--delay) infinite;
  will-change:transform,opacity;
}
.ec-snowflake.is-crystal {
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.ec-snowflake.is-crystal::before,
.ec-snowflake.is-crystal::after {
  content:'';
  position:absolute;
  left:50%; top:50%;
  width:140%; height:1px;
  background:#bbc1c6;
  transform:translate(-50%,-50%) rotate(45deg);
  box-shadow:0 0 5px rgba(185,193,199,.35);
}
.ec-snowflake.is-crystal::after { transform:translate(-50%,-50%) rotate(-45deg); }

/* größere Eiskristalle tauchen nur zeitweise an den Bildschirmrändern auf */
.ec-ice-crystal {
  --cx:8vw;
  --cy:18vh;
  --cs:78px;
  --delay:0s;
  position:absolute;
  left:var(--cx); top:var(--cy);
  width:var(--cs); height:var(--cs);
  opacity:0;
  transform:translate(-50%,-50%) rotate(0deg) scale(.72);
  animation:ecIceCrystal 13s ease-in-out var(--delay) infinite;
  filter:drop-shadow(0 0 8px rgba(182,190,197,.22));
}
.ec-ice-crystal::before,
.ec-ice-crystal::after {
  content:'';
  position:absolute;
  left:50%; top:50%;
  width:100%; height:2px;
  background:linear-gradient(90deg,transparent,#7e878f 20%,#c3c9ce 50%,#7e878f 80%,transparent);
  transform:translate(-50%,-50%);
  box-shadow:0 -10px 0 -0.6px rgba(152,162,170,.35),0 10px 0 -0.6px rgba(152,162,170,.35);
}
.ec-ice-crystal::after { transform:translate(-50%,-50%) rotate(60deg); }
.ec-ice-crystal i,
.ec-ice-crystal b {
  position:absolute; inset:0;
  display:block;
}
.ec-ice-crystal i::before,
.ec-ice-crystal b::before {
  content:''; position:absolute; left:50%; top:50%; width:100%; height:2px;
  background:linear-gradient(90deg,transparent,#778089 20%,#bfc5ca 50%,#778089 80%,transparent);
  transform:translate(-50%,-50%) rotate(120deg);
}
.ec-ice-crystal b::before { transform:translate(-50%,-50%) rotate(30deg); opacity:.55; }

/* Weihnachtsmann + Schlitten + Rentier-Silhouette, nur Code/SVG, kein Bildasset. */
.ec-santa-flight {
  --dur:28s;
  --delay:-10s;
  position:absolute;
  width:min(36vw,560px);
  min-width:300px;
  right:-44vw;
  bottom:-24vh;
  opacity:0;
  filter:drop-shadow(0 0 8px rgba(177,0,26,.34)) drop-shadow(0 0 5px rgba(180,188,194,.13));
  animation:ecSantaFlight var(--dur) linear var(--delay) infinite;
  will-change:transform,opacity;
}
.ec-santa-flight svg { width:100%; height:auto; overflow:visible; }
.ec-santa-flight .santa-sil { fill:#090a0b; stroke:#aeb5bb; stroke-width:2; }
.ec-santa-flight .santa-red { fill:#52000d; stroke:#b5001a; stroke-width:2; }
.ec-santa-flight .santa-line { fill:none; stroke:#8c949a; stroke-width:2; stroke-linecap:round; }

/* ganz dezente rote Weihnachtsglut, damit Rot im Theme lebt */
.ec-christmas-red-glow {
  position:absolute;
  inset:0;
  opacity:.16;
  background:
    radial-gradient(circle at 18% 22%,rgba(170,0,24,.32),transparent 18rem),
    radial-gradient(circle at 82% 72%,rgba(125,0,18,.28),transparent 21rem);
  animation:ecChristmasGlow 8s ease-in-out infinite alternate;
}

@keyframes ecSnowFall {
  0% { transform:translate3d(0,-8vh,0) rotate(0deg); opacity:0; }
  7% { opacity:.72; }
  50% { transform:translate3d(calc(var(--drift) * .55),52vh,0) rotate(180deg); opacity:.68; }
  100% { transform:translate3d(var(--drift),116vh,0) rotate(360deg); opacity:0; }
}
@keyframes ecIceCrystal {
  0%,55%,100% { opacity:0; transform:translate(-50%,-50%) rotate(0deg) scale(.72); }
  62% { opacity:.12; }
  72%,84% { opacity:.43; transform:translate(-50%,-50%) rotate(22deg) scale(1); }
  92% { opacity:.08; transform:translate(-50%,-50%) rotate(35deg) scale(1.08); }
}
@keyframes ecSantaFlight {
  0% { transform:translate3d(0,0,0) rotate(-9deg) scale(.86); opacity:0; }
  6% { opacity:.42; }
  18% { opacity:.62; }
  74% { opacity:.56; }
  92% { opacity:.28; }
  100% { transform:translate3d(-150vw,-112vh,0) rotate(-16deg) scale(1.02); opacity:0; }
}
@keyframes ecChristmasGlow { from{opacity:.10} to{opacity:.22} }

@media (max-width:900px) {
  .ec-santa-flight { width:420px; min-width:260px; opacity:.8; }
  .ec-christmas-frost { opacity:.34; }
  .ec-ice-crystal:nth-of-type(n+5) { display:none; }
}
@media (max-width:640px) {
  .ec-snowflake:nth-of-type(3n) { display:none; }
  .ec-santa-flight { width:330px; min-width:250px; }
  .ec-christmas-frost { opacity:.26; }
}
@media (prefers-reduced-motion:reduce) {
  .ec-santa-flight { display:none !important; }
  .ec-snowflake,.ec-ice-crystal,.ec-christmas-red-glow { animation:none !important; }
  .ec-snowflake { opacity:.22; transform:none; top:var(--y,10vh); }
}

/* ===== V97 Adventskranz + Leistungsstufen ===== */
.ec-advent-wreath{position:fixed;right:18px;bottom:86px;width:250px;height:150px;z-index:9050;pointer-events:none;filter:drop-shadow(0 10px 20px rgba(0,0,0,.7));transform-origin:bottom right}
.ec-advent-ring{position:absolute;left:26px;right:26px;bottom:8px;height:72px;border-radius:50%;border:18px solid #687077;box-shadow:inset 0 0 18px rgba(255,255,255,.22),0 0 22px rgba(180,190,200,.18)}
.ec-advent-ring::before,.ec-advent-ring::after{content:"";position:absolute;inset:-10px;border-radius:50%;border:3px dotted rgba(210,220,225,.34);transform:rotate(9deg)}
.ec-advent-ring::after{inset:3px;transform:rotate(-13deg);opacity:.55}
.ec-advent-candle{position:absolute;bottom:48px;width:31px;height:72px;border-radius:8px 8px 5px 5px;background:linear-gradient(90deg,#6f0010,#d5102f 45%,#850015);border:1px solid rgba(255,255,255,.26);box-shadow:inset 5px 0 8px rgba(255,255,255,.12),0 7px 12px rgba(0,0,0,.55)}
.ec-advent-candle.c1{left:43px}.ec-advent-candle.c2{left:89px}.ec-advent-candle.c3{right:89px}.ec-advent-candle.c4{right:43px}
.ec-advent-candle::after{content:"";position:absolute;left:50%;top:-8px;width:2px;height:10px;background:#222;transform:translateX(-50%)}
.ec-advent-flame{position:absolute;left:50%;top:-34px;width:18px;height:31px;border-radius:55% 45% 55% 45%;transform:translateX(-50%) rotate(8deg) scale(.1);opacity:0;background:radial-gradient(circle at 50% 68%,#fffbd0 0 16%,#ffe562 17% 43%,#ff9a16 44% 70%,rgba(255,40,0,.15) 71%);filter:drop-shadow(0 0 8px #ffd84c) drop-shadow(0 0 18px rgba(255,70,0,.72));transition:.35s ease}
.ec-advent-candle.is-lit .ec-advent-flame{opacity:1;transform:translateX(-50%) rotate(8deg) scale(1);animation:ecAdventFlame 1.35s ease-in-out infinite alternate}
.ec-advent-label{position:absolute;left:0;right:0;bottom:-18px;text-align:center;font-size:12px;font-weight:800;letter-spacing:.12em;color:#dce2e7;text-shadow:0 2px 6px #000}
@keyframes ecAdventFlame{from{transform:translateX(-50%) rotate(5deg) scale(.94)}to{transform:translateX(-50%) rotate(11deg) scale(1.08)}}
body.ec-effects-medium .ec-advent-wreath{transform:scale(.9)}
body.ec-effects-reduced .ec-advent-wreath{transform:scale(.78)}
body.ec-effects-medium .ec-snowflake:nth-of-type(3n),body.ec-effects-medium .ec-ice-crystal:nth-of-type(even){display:none}
body.ec-effects-reduced .ec-snowflake:nth-of-type(2n),body.ec-effects-reduced .ec-snowflake:nth-of-type(3n),body.ec-effects-reduced .ec-ice-crystal:nth-of-type(n+3){display:none}
@media(max-width:760px){.ec-advent-wreath{right:8px;bottom:76px;transform:scale(.72)}}

/* ===== V98 Weihnachtsoptik aus den bereitgestellten Referenzbildern ===== */
/* Kristallrahmen: echte, unregelmäßige Froststruktur statt geometrischer CSS-Sterne. */
.ec-ice-reference-frame{
  position:absolute;inset:-1.5%;pointer-events:none;opacity:.64;
  background:url('../img/seasonal/ice-crystal-frame.png') center/100% 100% no-repeat;
  mix-blend-mode:screen;filter:contrast(1.08) brightness(1.08) drop-shadow(0 0 10px rgba(205,225,240,.18));
  animation:ecIceFrameBreathe 12s ease-in-out infinite alternate;
}
@keyframes ecIceFrameBreathe{from{opacity:.48;transform:scale(1.015)}to{opacity:.72;transform:scale(1.035)}}

/* Alte konstruierten Eiskristalle werden in V98 nicht mehr verwendet. */
.ec-ice-crystal{display:none!important}

/* Weihnachtsmann/Rentiere: Silhouette aus der Nutzer-Vorlage. */
.ec-santa-flight{
  --dur:36s;--delay:-8s;position:absolute;width:min(48vw,760px);aspect-ratio:972/437;
  right:-55vw;bottom:-30vh;opacity:0;background:url('../img/seasonal/santa-reindeer-silhouette.png') center/contain no-repeat;
  filter:drop-shadow(0 0 8px rgba(210,220,228,.20)) drop-shadow(0 0 14px rgba(150,0,22,.18));
  animation:ecSantaReferenceFlight var(--dur) linear var(--delay) infinite;will-change:transform,opacity;
}
.ec-santa-flight.flight-2{bottom:-8vh;width:min(39vw,650px);animation-name:ecSantaReferenceFlightMid}
.ec-santa-flight.flight-3{bottom:-38vh;width:min(43vw,700px);animation-name:ecSantaReferenceFlightHigh}
@keyframes ecSantaReferenceFlight{
  0%{transform:translate3d(0,0,0) rotate(-7deg) scale(.82);opacity:0}8%{opacity:.42}35%{opacity:.58}76%{opacity:.50}94%{opacity:.18}100%{transform:translate3d(-155vw,-116vh,0) rotate(-12deg) scale(1.03);opacity:0}}
@keyframes ecSantaReferenceFlightMid{
  0%{transform:translate3d(0,0,0) rotate(-5deg) scale(.72);opacity:0}9%{opacity:.34}40%{opacity:.48}82%{opacity:.38}100%{transform:translate3d(-150vw,-78vh,0) rotate(-9deg) scale(.92);opacity:0}}
@keyframes ecSantaReferenceFlightHigh{
  0%{transform:translate3d(0,0,0) rotate(-9deg) scale(.78);opacity:0}10%{opacity:.30}44%{opacity:.44}86%{opacity:.30}100%{transform:translate3d(-160vw,-132vh,0) rotate(-15deg) scale(.98);opacity:0}}

/* Adventskranz: Nutzerfoto als Grundlage. */
.ec-advent-wreath{position:fixed;right:18px;bottom:84px;width:280px;height:250px;z-index:9050;pointer-events:none;filter:drop-shadow(0 12px 22px rgba(0,0,0,.78));transform-origin:bottom right}
.ec-advent-photo{position:absolute;inset:0;border-radius:16px;background:url('../img/seasonal/advent-wreath.webp') center 57%/cover no-repeat;border:1px solid rgba(190,198,205,.34);box-shadow:inset 0 0 35px rgba(0,0,0,.26),0 0 22px rgba(160,0,20,.14)}
.ec-advent-photo::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(to top,rgba(0,0,0,.25),transparent 38%,rgba(0,0,0,.05));}
.ec-advent-photo-flame{position:absolute;width:16px;height:30px;border-radius:58% 42% 58% 42%;opacity:0;transform:translate(-50%,-50%) rotate(5deg) scale(.1);background:radial-gradient(circle at 50% 68%,#fffbd0 0 14%,#ffe25c 16% 40%,#ff9418 43% 68%,rgba(255,45,0,.15) 70%);filter:drop-shadow(0 0 8px #ffd84c) drop-shadow(0 0 17px rgba(255,80,0,.8));transition:.3s ease}
/* Positionen auf dem bereitgestellten Kranzfoto */
.ec-advent-photo-flame.f1{left:30.7%;top:21.5%}.ec-advent-photo-flame.f2{left:22.2%;top:17.8%}.ec-advent-photo-flame.f3{left:71.8%;top:19.2%}.ec-advent-photo-flame.f4{left:78.4%;top:35.5%}
.ec-advent-photo-flame.is-lit{opacity:1;transform:translate(-50%,-50%) rotate(6deg) scale(1);animation:ecAdventPhotoFlame 1.15s ease-in-out infinite alternate}
@keyframes ecAdventPhotoFlame{from{transform:translate(-50%,-50%) rotate(3deg) scale(.92)}to{transform:translate(-50%,-50%) rotate(10deg) scale(1.08)}}
.ec-advent-label{position:absolute;left:14px;bottom:12px;padding:6px 10px;border-radius:8px;background:rgba(0,0,0,.66);border:1px solid rgba(190,198,205,.26);font-size:11px;font-weight:900;letter-spacing:.14em;color:#d8dde1;text-shadow:0 2px 5px #000}
/* V97-Kranzformen deaktivieren */
.ec-advent-ring,.ec-advent-candle{display:none!important}
body.ec-effects-medium .ec-advent-wreath{transform:scale(.9)}body.ec-effects-reduced .ec-advent-wreath{transform:scale(.78)}
@media(max-width:760px){.ec-advent-wreath{right:8px;bottom:74px;transform:scale(.66)}.ec-ice-reference-frame{opacity:.46}.ec-santa-flight{width:440px}}
@media(prefers-reduced-motion:reduce){.ec-santa-flight{display:none!important}.ec-ice-reference-frame{animation:none!important;opacity:.48}}

/* ===== V100 Weihnachts-Feinschliff =====
   Adventskranz im freien Bereich der Player-Karte, ohne Foto-Hintergrund.
   Weihnachtsmann/Rentiere fliegen natürlich wellenförmig von links unten nach rechts oben. */
body.ec-christmas-active .v50-player{position:relative}

.ec-advent-wreath{
  position:absolute!important;
  left:24px!important;
  right:auto!important;
  bottom:16px!important;
  width:220px!important;
  height:170px!important;
  z-index:24!important;
  pointer-events:none!important;
  transform:none!important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.78))!important;
}
.ec-advent-photo{
  position:absolute!important;
  inset:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:url('../img/seasonal/advent-wreath-cutout.png') center bottom/contain no-repeat!important;
}
.ec-advent-photo::after{display:none!important}
.ec-advent-label{display:none!important}

/* Die Flammen sitzen auf den vier Kerzen des freigestellten Kranzes. */
.ec-advent-photo-flame{
  width:13px!important;
  height:24px!important;
  z-index:3!important;
  background:radial-gradient(circle at 50% 70%,#fffde2 0 13%,#ffe56a 15% 40%,#ff9d1b 43% 68%,rgba(255,45,0,.08) 71%)!important;
  filter:drop-shadow(0 0 7px #fff6a8) drop-shadow(0 0 15px rgba(255,135,20,.86))!important;
}
.ec-advent-photo-flame.f1{left:31.0%!important;top:18.5%!important}
.ec-advent-photo-flame.f2{left:22.7%!important;top:14.2%!important}
.ec-advent-photo-flame.f3{left:70.9%!important;top:14.8%!important}
.ec-advent-photo-flame.f4{left:78.0%!important;top:25.0%!important}

/* Natürlicher, leicht wellenförmiger Flug statt einer geraden Diagonale. */
.ec-santa-flight{
  left:-52vw!important;
  right:auto!important;
  bottom:-24vh!important;
  width:min(44vw,720px)!important;
  opacity:0;
  filter:grayscale(.15) brightness(.72) contrast(1.15) drop-shadow(0 0 10px rgba(220,230,235,.16))!important;
  animation-name:ecSantaWaveFlight!important;
  animation-timing-function:linear!important;
}
.ec-santa-flight.flight-2{bottom:-8vh!important;width:min(38vw,620px)!important;animation-name:ecSantaWaveFlightMid!important}
.ec-santa-flight.flight-3{bottom:-34vh!important;width:min(41vw,675px)!important;animation-name:ecSantaWaveFlightHigh!important}

@keyframes ecSantaWaveFlight{
  0%{transform:translate3d(0,0,0) rotate(-8deg) scale(.78);opacity:0}
  8%{opacity:.28}
  18%{transform:translate3d(34vw,-19vh,0) rotate(-4deg) scale(.82);opacity:.42}
  34%{transform:translate3d(63vw,-42vh,0) rotate(-9deg) scale(.88);opacity:.48}
  48%{transform:translate3d(89vw,-36vh,0) rotate(-3deg) scale(.92);opacity:.46}
  64%{transform:translate3d(116vw,-68vh,0) rotate(-8deg) scale(.98);opacity:.43}
  80%{transform:translate3d(145vw,-62vh,0) rotate(-4deg) scale(1.02);opacity:.34}
  94%{opacity:.16}
  100%{transform:translate3d(177vw,-112vh,0) rotate(-7deg) scale(1.08);opacity:0}
}
@keyframes ecSantaWaveFlightMid{
  0%{transform:translate3d(0,0,0) rotate(-7deg) scale(.70);opacity:0}
  9%{opacity:.24}
  25%{transform:translate3d(43vw,-27vh,0) rotate(-3deg) scale(.77);opacity:.38}
  43%{transform:translate3d(78vw,-52vh,0) rotate(-8deg) scale(.84);opacity:.43}
  60%{transform:translate3d(109vw,-47vh,0) rotate(-2deg) scale(.90);opacity:.40}
  79%{transform:translate3d(143vw,-78vh,0) rotate(-7deg) scale(.97);opacity:.28}
  100%{transform:translate3d(176vw,-105vh,0) rotate(-5deg) scale(1.03);opacity:0}
}
@keyframes ecSantaWaveFlightHigh{
  0%{transform:translate3d(0,0,0) rotate(-9deg) scale(.73);opacity:0}
  10%{opacity:.20}
  28%{transform:translate3d(48vw,-34vh,0) rotate(-4deg) scale(.80);opacity:.34}
  47%{transform:translate3d(84vw,-61vh,0) rotate(-10deg) scale(.88);opacity:.39}
  65%{transform:translate3d(119vw,-55vh,0) rotate(-4deg) scale(.94);opacity:.34}
  84%{transform:translate3d(151vw,-92vh,0) rotate(-8deg) scale(1);opacity:.23}
  100%{transform:translate3d(181vw,-126vh,0) rotate(-6deg) scale(1.05);opacity:0}
}

@media(max-width:1150px){
  .ec-advent-wreath{width:175px!important;height:138px!important;left:14px!important;bottom:12px!important}
}
@media(max-width:800px){
  .ec-advent-wreath{
    position:relative!important;
    left:auto!important;bottom:auto!important;
    width:min(280px,82vw)!important;height:205px!important;
    margin:10px auto 0!important;
    grid-column:1/-1!important;
  }
  .ec-santa-flight{width:430px!important}
}

/* ===== V102 Weihnachts-Korrektur =====
   - Adventskranz exakt EINMAL im freien Bereich von "Jetzt Radio hören"
   - Weihnachtsmann/Rentiere sichtbar farbig, aber transparent
   - Flug von links unten nach rechts oben in natürlichen Wellen
*/
body.ec-christmas-active .v50-player{position:relative!important;overflow:hidden}

/* Nur der im Player eingesetzte Kranz darf sichtbar sein. */
body.ec-christmas-active > .ec-advent-wreath,
.ec-christmas-layer > .ec-advent-wreath{display:none!important}

body.ec-christmas-active .v50-player > .ec-advent-wreath{
  display:block!important;
  position:absolute!important;
  left:57%!important;
  right:auto!important;
  bottom:10px!important;
  width:255px!important;
  height:165px!important;
  margin:0!important;
  z-index:18!important;
  transform:translateX(-50%)!important;
  pointer-events:none!important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.82))!important;
}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo{
  inset:0!important;
  background:url('../img/seasonal/advent-wreath-cutout.png') center bottom/contain no-repeat!important;
  border:0!important;
  box-shadow:none!important;
}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo::after{display:none!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-label{display:none!important}

/* Flammen gut sichtbar auf den Kerzen des freigestellten Kranzes. */
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame{
  width:15px!important;
  height:28px!important;
  z-index:5!important;
  background:radial-gradient(circle at 50% 70%,#fffbdc 0 14%,#ffe65d 16% 40%,#ff9c19 43% 68%,rgba(255,45,0,.12) 72%)!important;
  filter:drop-shadow(0 0 7px #fff4a0) drop-shadow(0 0 17px rgba(255,130,15,.95))!important;
}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f1{left:31.0%!important;top:18.5%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f2{left:22.7%!important;top:14.2%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f3{left:70.9%!important;top:14.8%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f4{left:78.0%!important;top:25.0%!important}

/* Weihnachtsmann/Rentiere: vorhandene freigestellte Silhouette wird als Maske genutzt.
   Dadurch bekommt sie echte Weihnachtsfarben, ohne ein neues Bild zu erzeugen. */
.ec-santa-flight{
  background:none!important;
  -webkit-mask:url('../img/seasonal/santa-reindeer-silhouette.png') center/contain no-repeat;
  mask:url('../img/seasonal/santa-reindeer-silhouette.png') center/contain no-repeat;
  background-image:linear-gradient(92deg,
    rgba(152,18,25,.88) 0 23%,
    rgba(210,42,38,.86) 24% 36%,
    rgba(190,133,42,.82) 37% 47%,
    rgba(128,80,43,.82) 48% 78%,
    rgba(211,154,54,.84) 79% 100%)!important;
  opacity:0;
  mix-blend-mode:screen;
  filter:drop-shadow(0 0 7px rgba(220,55,45,.22)) drop-shadow(0 0 12px rgba(210,165,70,.16))!important;
}
.ec-santa-flight.flight-1{width:min(45vw,720px)!important;bottom:-18vh!important}
.ec-santa-flight.flight-2{width:min(39vw,640px)!important;bottom:-2vh!important}
.ec-santa-flight.flight-3{width:min(42vw,685px)!important;bottom:-28vh!important}

@keyframes ecSantaWaveFlight{
  0%{transform:translate3d(0,0,0) rotate(-7deg) scale(.78);opacity:0}
  7%{opacity:.20}
  18%{transform:translate3d(32vw,-18vh,0) rotate(-3deg) scale(.82);opacity:.34}
  32%{transform:translate3d(57vw,-40vh,0) rotate(-8deg) scale(.87);opacity:.42}
  46%{transform:translate3d(82vw,-34vh,0) rotate(-2deg) scale(.91);opacity:.40}
  61%{transform:translate3d(108vw,-62vh,0) rotate(-7deg) scale(.96);opacity:.43}
  75%{transform:translate3d(134vw,-56vh,0) rotate(-3deg) scale(1.00);opacity:.36}
  89%{transform:translate3d(158vw,-84vh,0) rotate(-7deg) scale(1.05);opacity:.22}
  100%{transform:translate3d(181vw,-108vh,0) rotate(-5deg) scale(1.08);opacity:0}
}
@keyframes ecSantaWaveFlightMid{
  0%{transform:translate3d(0,0,0) rotate(-6deg) scale(.70);opacity:0}
  8%{opacity:.18}
  23%{transform:translate3d(38vw,-24vh,0) rotate(-2deg) scale(.76);opacity:.31}
  40%{transform:translate3d(72vw,-49vh,0) rotate(-7deg) scale(.83);opacity:.39}
  56%{transform:translate3d(101vw,-43vh,0) rotate(-2deg) scale(.89);opacity:.37}
  73%{transform:translate3d(132vw,-69vh,0) rotate(-7deg) scale(.95);opacity:.33}
  88%{transform:translate3d(158vw,-79vh,0) rotate(-3deg) scale(1.00);opacity:.20}
  100%{transform:translate3d(180vw,-101vh,0) rotate(-5deg) scale(1.04);opacity:0}
}
@keyframes ecSantaWaveFlightHigh{
  0%{transform:translate3d(0,0,0) rotate(-8deg) scale(.73);opacity:0}
  9%{opacity:.17}
  26%{transform:translate3d(44vw,-31vh,0) rotate(-3deg) scale(.79);opacity:.30}
  44%{transform:translate3d(78vw,-57vh,0) rotate(-8deg) scale(.86);opacity:.37}
  60%{transform:translate3d(109vw,-51vh,0) rotate(-3deg) scale(.92);opacity:.35}
  77%{transform:translate3d(140vw,-78vh,0) rotate(-7deg) scale(.98);opacity:.29}
  91%{transform:translate3d(163vw,-91vh,0) rotate(-4deg) scale(1.03);opacity:.17}
  100%{transform:translate3d(183vw,-122vh,0) rotate(-5deg) scale(1.06);opacity:0}
}

@media(max-width:1150px){
  body.ec-christmas-active .v50-player > .ec-advent-wreath{left:55%!important;width:210px!important;height:145px!important;bottom:8px!important}
}
@media(max-width:900px){
  body.ec-christmas-active .v50-player > .ec-advent-wreath{
    position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;
    width:min(290px,80vw)!important;height:195px!important;margin:12px auto 0!important;grid-column:1/-1!important;
  }
  .ec-santa-flight{width:430px!important}
}

/* ===== V104: Adventsflammen exakt auf die Dochte =====
   Der Kranz wird mit background-size:contain in einem breiten Player-Container dargestellt.
   Deshalb werden die X-Positionen auf die tatsächlich sichtbare quadratische Kranzfläche korrigiert.
*/
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame{
  width:11px!important;
  height:21px!important;
  transform-origin:50% 82%!important;
  filter:drop-shadow(0 0 5px rgba(255,244,160,.95)) drop-shadow(0 0 10px rgba(255,130,15,.72))!important;
}
/* Kerze 1 links hinten, Kerze 2 links vorne, Kerze 3 rechts hinten, Kerze 4 rechts vorne */
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f1{left:32.4%!important;top:7.0%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f2{left:37.1%!important;top:11.5%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f3{left:63.9%!important;top:7.2%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f4{left:68.4%!important;top:17.7%!important}

/* ===== V105: grosser schwarzer Adventskranz + dichter Schnee ===== */
body.ec-christmas-active .v50-player > .ec-advent-wreath{
  width:min(34vw,520px)!important;height:min(29vw,430px)!important;left:52%!important;bottom:3%!important;
  transform:translateX(-10%)!important;z-index:4!important;opacity:.96!important;
}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo{
  background:url('../img/seasonal/advent-black-gold.jpg') center 58%/cover no-repeat!important;
  border-radius:20px!important;box-shadow:0 0 28px rgba(210,220,230,.18)!important;
  filter:saturate(.95) contrast(1.08) brightness(.82)!important;
}
body.ec-christmas-active .ec-advent-photo-flame{width:16px!important;height:32px!important;margin:0!important;transform:translate(-50%,-92%)!important;z-index:8!important}
body.ec-christmas-active .ec-advent-photo-flame.f1{left:18.7%!important;top:45.0%!important}
body.ec-christmas-active .ec-advent-photo-flame.f2{left:44.2%!important;top:31.2%!important}
body.ec-christmas-active .ec-advent-photo-flame.f3{left:69.4%!important;top:41.0%!important}
body.ec-christmas-active .ec-advent-photo-flame.f4{left:46.5%!important;top:51.8%!important}
body.ec-christmas-active .ec-advent-photo-flame.is-lit{opacity:1!important;filter:drop-shadow(0 0 5px #fff3a0) drop-shadow(0 0 12px #ff9d00)!important}
@media(max-width:900px){body.ec-christmas-active .v50-player > .ec-advent-wreath{width:290px!important;height:240px!important;left:50%!important;bottom:1%!important;opacity:.9!important}}
\n\n/* ===== V106: schwarzer Adventsbereich kompakter + Originalflammen entfernt ===== */
body.ec-christmas-active .v50-player > .ec-advent-wreath{
  width:205px!important;height:348px!important;left:56%!important;bottom:8px!important;
  transform:translateX(-50%)!important;opacity:.96!important;z-index:6!important;
}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo{
  background:url('../img/seasonal/advent-black-gold-unlit-crop.jpg') center/100% 100% no-repeat!important;
  border-radius:16px!important;box-shadow:0 0 18px rgba(190,200,210,.13)!important;
  filter:saturate(.92) contrast(1.08) brightness(.78)!important;
}
/* Kleine dunkle Masken beseitigen auch letzte Lichtreste der Foto-Flammen. */
body.ec-christmas-active .ec-advent-extinguish{
  position:absolute;z-index:4;width:28px;height:52px;border-radius:50%;pointer-events:none;
  background:radial-gradient(ellipse at 50% 58%,rgba(0,0,0,.98) 0 34%,rgba(0,0,0,.83) 52%,rgba(0,0,0,0) 76%);
  filter:blur(2px);mix-blend-mode:multiply;transform:translate(-50%,-50%);
}
/* Bild nach Crop: L/R hinten, Mitte hinten, Mitte vorne */
body.ec-christmas-active .ec-advent-extinguish.e1{left:18.6%!important;top:38.2%!important}
body.ec-christmas-active .ec-advent-extinguish.e2{left:44.2%!important;top:29.1%!important}
body.ec-christmas-active .ec-advent-extinguish.e3{left:69.5%!important;top:35.8%!important}
body.ec-christmas-active .ec-advent-extinguish.e4{left:46.9%!important;top:42.7%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame{
  width:12px!important;height:24px!important;z-index:9!important;margin:0!important;
  transform:translate(-50%,-82%)!important;
  background:radial-gradient(circle at 50% 70%,#fffde8 0 14%,#ffe56b 16% 40%,#ff9e1e 43% 67%,rgba(255,55,0,.10) 71%)!important;
  filter:drop-shadow(0 0 5px rgba(255,247,180,.98)) drop-shadow(0 0 11px rgba(255,145,20,.78))!important;
}
/* Exakt auf den vier Dochten */
body.ec-christmas-active .ec-advent-photo-flame.f1{left:18.6%!important;top:38.0%!important}
body.ec-christmas-active .ec-advent-photo-flame.f2{left:44.2%!important;top:28.8%!important}
body.ec-christmas-active .ec-advent-photo-flame.f3{left:69.5%!important;top:35.5%!important}
body.ec-christmas-active .ec-advent-photo-flame.f4{left:46.9%!important;top:42.4%!important}
@media(max-width:1150px){body.ec-christmas-active .v50-player > .ec-advent-wreath{width:180px!important;height:305px!important;left:57%!important}}
@media(max-width:900px){body.ec-christmas-active .v50-player > .ec-advent-wreath{position:relative!important;width:175px!important;height:297px!important;left:auto!important;bottom:auto!important;transform:none!important;margin:10px auto 0!important}}

/* ===== V109: Adventsflammen final exakt auf den vier Dochten =====
   Nur Positionskorrektur. Die bestehende Adventslogik in christmas-mode.js bleibt unverändert:
   1. Advent = 1 Kerze, 2. Advent = 2, 3. Advent = 3, 4. Advent = 4.
*/
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame{
  width:12px!important;
  height:24px!important;
  transform:translate(-50%,-100%)!important;
  transform-origin:50% 100%!important;
  margin:0!important;
  z-index:10!important;
}
/* Dochtkoordinaten des aktuell verwendeten advent-black-gold-unlit-crop.jpg */
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f1{left:18.9%!important;top:42.3%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f2{left:45.1%!important;top:32.2%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f3{left:69.6%!important;top:40.0%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.f4{left:46.4%!important;top:46.1%!important}
body.ec-christmas-active .v50-player > .ec-advent-wreath .ec-advent-photo-flame.is-lit{
  opacity:1!important;
  animation:ecAdventFlameV109 1.15s ease-in-out infinite alternate!important;
}
@keyframes ecAdventFlameV109{
  from{transform:translate(-50%,-100%) rotate(-3deg) scale(.94)}
  to{transform:translate(-50%,-100%) rotate(5deg) scale(1.06)}
}

/* V114 strict Christmas palette: Schwarz / Rot / Silber */
body.ec-christmas-active{--ec-theme-bg:#020304;--ec-theme-a:#b4001b;--ec-theme-b:#b9c0c8;--ec-theme-text:#d4d8dd!important;color:var(--ec-theme-text)!important}
body.ec-christmas-active :is(.glass-card,.ecms-card,.card,.panel,.button,.main-nav a,input,textarea,select){border-color:var(--ec-theme-a)!important}
body.ec-christmas-active :is(.button,.main-nav a,.eyebrow,h1,h2,h3,.section-title,.card-title){color:var(--ec-theme-b)!important;text-shadow:0 0 8px rgba(190,200,210,.35)!important}

/* V115: große, gut lesbare Event-Überschrift */
.ec-christmas-title{position:fixed;top:78px;left:50%;transform:translateX(-50%);z-index:9200;pointer-events:none;width:min(94vw,1200px);text-align:center;font-family:"Segoe Script","Brush Script MT","Lucida Handwriting",cursive;font-size:clamp(38px,5.1vw,76px);font-weight:700;line-height:1.08;letter-spacing:.05em;color:#e7edf2;text-shadow:0 2px 0 #660010,0 0 10px #c8d0d8,0 0 24px rgba(190,0,28,.72),0 0 42px rgba(230,236,242,.25)}
@media(max-width:760px){.ec-christmas-title{top:62px;font-size:clamp(30px,8.8vw,46px);letter-spacing:.03em;width:92vw}}
