.ft-ico { width: 18px; height: 18px; flex-shrink: 0; }

html.fest-an .el-logo-mark.ft-logo {
  background: radial-gradient(circle at 50% 30%, rgba(var(--fest-rgb), 0.95), rgba(var(--fest-rgb), 0.55) 60%, rgba(var(--fest-rgb), 0.35));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 6px 20px -6px rgba(var(--fest-rgb), 0.9);
  transition: background 0.6s, box-shadow 0.6s;
}
html.fest-an .topbar::after {
  background: linear-gradient(90deg, transparent, rgba(var(--fest-rgb), 0.85) 30%, rgba(var(--fest-rgb), 0.35) 70%, transparent);
  opacity: 0.9;
}

.ft-kerzen { display: inline-flex; align-items: flex-end; gap: 4px; margin-left: 10px; height: 18px; }
.ft-kerze { position: relative; width: 5px; height: 14px; border-radius: 2px 2px 1px 1px; background: #d6c6a8; }
.ft-kerze.an::before {
  content: ""; position: absolute; left: 50%; top: -8px; width: 6px; height: 7px; margin-left: -3px; border-radius: 50% 50% 45% 45%;
  background: radial-gradient(circle at 50% 70%, #fff6c9, #ffb340 60%, rgba(255, 120, 0, 0) 75%);
  animation: ftFlamme 1.6s ease-in-out infinite alternate;
}
@keyframes ftFlamme { from { transform: scale(1) translateY(0); } to { transform: scale(1.12, 0.92) translateY(1px); } }

.ft-karte-fx { position: absolute; left: 0; top: 0; pointer-events: none; }

.ft-uhr {
  position: absolute;
  top: calc(56px + var(--el-knopf-ueber, 0px));
  right: 12px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 24px);
  padding: 6px 12px 6px 7px;
  border-radius: 12px;
  border: 1px solid rgba(var(--fest-rgb, 255, 122, 26), 0.45);
  background: rgba(12, 14, 19, 0.86);
  color: #eceef3;
  font: 600 12px/1.15 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.8), 0 0 18px -8px rgba(var(--fest-rgb, 255, 122, 26), 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s;
  text-align: left;
}
.ft-uhr[hidden] { display: none !important; }
.ft-uhr:hover { transform: translateY(-1px); border-color: rgba(var(--fest-rgb, 255, 122, 26), 0.8); }
.ft-uhr:focus-visible { outline: 2px solid #8fb2ff; outline-offset: 2px; }
.ft-uhr-ico {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0; color: #fff;
  background: radial-gradient(circle at 50% 30%, rgba(var(--fest-rgb, 255, 122, 26), 0.75), rgba(var(--fest-rgb, 255, 122, 26), 0.25));
  box-shadow: 0 0 0 1px rgba(var(--fest-rgb, 255, 122, 26), 0.5) inset;
}
.ft-uhr-ico .ft-ico { width: 16px; height: 16px; }
.ft-uhr-text { display: grid; gap: 2px; min-width: 0; }
.ft-uhr-text b { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-uhr-text em { font-style: normal; font-family: "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, monospace; font-size: 11.5px; color: rgb(var(--fest-rgb, 255, 179, 92)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ft-uhr.laeuft .ft-uhr-ico { animation: ftPuls 2.4s ease-in-out infinite; }
.ft-uhr-suche {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px 3px 4px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); font-variant-numeric: tabular-nums;
}
.ft-uhr-suche svg { width: 16px; height: 16px; }
@keyframes ftPuls { 0%, 100% { box-shadow: 0 0 0 1px rgba(var(--fest-rgb), 0.5) inset, 0 0 0 0 rgba(var(--fest-rgb), 0.45); } 50% { box-shadow: 0 0 0 1px rgba(var(--fest-rgb), 0.5) inset, 0 0 0 6px rgba(var(--fest-rgb), 0); } }
html.el-karte-aus .ft-uhr, html.el-karte-aus .ft-durchsage, html.el-karte-aus .ft-zaehler { display: none !important; }

.ft-durchsage {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1001;
  width: min(560px, calc(100% - 24px));
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 40px 12px 13px;
  border-radius: 14px;
  background: rgba(9, 10, 14, 0.9);
  border: 1px solid rgba(var(--fest-rgb), 0.5);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.95), 0 0 30px -12px rgba(var(--fest-rgb), 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #e3e6ee;
  cursor: pointer;
  animation: ftEin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: opacity 0.35s, transform 0.35s;
}
.ft-durchsage.weg { opacity: 0; transform: translate(-50%, 10px); }
.ft-ds-funk {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; margin-top: 1px; padding: 3px 8px; border-radius: 7px;
  font: 600 11px/1.2 "Cascadia Mono", Consolas, ui-monospace, monospace; color: rgb(var(--fest-rgb));
  border: 1px solid rgba(var(--fest-rgb), 0.4); background: rgba(var(--fest-rgb), 0.1); white-space: nowrap;
}
.ft-ds-funk .ft-ico { width: 14px; height: 14px; }
.ft-ds-text { display: grid; gap: 2px; min-width: 0; }
.ft-ds-text b { font-size: 13.5px; color: #fff; }
.ft-ds-text p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.ft-ds-zu {
  position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 8px; background: transparent;
  color: #9097a7; font-size: 20px; line-height: 1; cursor: pointer;
}
.ft-ds-zu:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
@keyframes ftEin { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

.ft-strom {
  position: absolute; inset: 0; z-index: 1002; pointer-events: none; background: #020104;
  animation: ftStrom 2.7s linear forwards;
}
.ft-strom::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(255, 140, 40, 0.35), rgba(255, 140, 40, 0) 60%);
  opacity: 0; animation: ftStromGlut 2.7s ease-out forwards;
}
@keyframes ftStrom {
  0% { opacity: 0; } 4% { opacity: 0.94; } 7% { opacity: 0.25; } 10% { opacity: 0.96; } 16% { opacity: 0.5; } 19% { opacity: 0.97; }
  62% { opacity: 0.97; } 66% { opacity: 0.55; } 69% { opacity: 0.9; } 100% { opacity: 0; }
}
@keyframes ftStromGlut { 0%, 60% { opacity: 0; } 75% { opacity: 1; } 100% { opacity: 0; } }

.ft-zaehler {
  position: absolute; inset: 0; z-index: 1001; display: none; place-items: center; align-content: center; gap: 8px;
  pointer-events: none; text-align: center; color: #fff;
}
.ft-zaehler.an { display: grid; }
.ft-zaehler b {
  font: 800 clamp(84px, 16vw, 168px)/1 "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  text-shadow: 0 0 40px rgba(120, 160, 255, 0.75), 0 4px 30px rgba(0, 0, 0, 0.8);
}
.ft-zaehler.tick b { animation: ftTick 1s ease-out; }
.ft-zaehler.neujahr b { font-size: clamp(42px, 7vw, 84px); color: #ffe7a6; text-shadow: 0 0 40px rgba(255, 200, 90, 0.8), 0 4px 30px rgba(0, 0, 0, 0.8); animation: ftNeujahr 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ft-zaehler span { font-size: 15px; font-weight: 600; color: #e6e9f0; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
@keyframes ftTick { from { transform: scale(1.35); opacity: 0.2; } 30% { opacity: 1; } to { transform: scale(1); opacity: 0.9; } }
@keyframes ftNeujahr { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.leaflet-marker-icon.ft-fund-ico { background: none; border: 0; }
.ft-fund {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--fest-rgb, 255, 180, 90), 0.38), rgba(var(--fest-rgb, 255, 180, 90), 0) 68%);
  cursor: pointer; animation: ftSchweben 2.6s ease-in-out infinite; animation-delay: var(--v, 0s);
  -webkit-tap-highlight-color: transparent;
}
.ft-fund svg { width: 28px; height: 28px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.55)); transition: transform 0.18s; }
.ft-fund:hover svg { transform: scale(1.18) rotate(-6deg); }
.ft-fund:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.ft-fund::after {
  content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.35); opacity: 0;
  animation: ftFunkeln 3.2s ease-out infinite; animation-delay: var(--v, 0s);
}
.ft-fund.greift { pointer-events: none; }
.ft-fund.greift svg { transform: scale(1.25); }
.ft-fund.weg { animation: ftWeg 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; pointer-events: none; }
@keyframes ftSchweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes ftFunkeln { 0% { opacity: 0.7; transform: scale(0.7); } 60%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes ftWeg { to { transform: scale(1.8) translateY(-10px); opacity: 0; } }

.ft-fund-plus {
  position: absolute; z-index: 1001; pointer-events: none; transform: translate(-50%, -100%);
  animation: ftPlus 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.ft-fund-plus b {
  display: block; padding: 5px 10px; border-radius: 999px; white-space: nowrap; font: 800 13px/1.2 "Segoe UI", system-ui, sans-serif; color: #fff;
  background: rgba(10, 12, 16, 0.88); border: 1px solid rgba(var(--fest-rgb, 47, 212, 122), 0.6);
  box-shadow: 0 0 18px -4px rgba(var(--fest-rgb, 47, 212, 122), 0.8);
}
@keyframes ftPlus { 0% { opacity: 0; transform: translate(-50%, -60%) scale(0.8); } 15% { opacity: 1; transform: translate(-50%, -120%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -220%); } }

html #dropdownMenu .menu-promo-fest {
  contain: inline-size; min-width: 0;
  gap: 8px; color: #ffb35c; border-color: rgba(255, 179, 92, 0.32); background: rgba(255, 179, 92, 0.08);
}
html #dropdownMenu .menu-promo-fest:hover { background: rgba(255, 179, 92, 0.15); border-color: rgba(255, 179, 92, 0.55); }
html #dropdownMenu .menu-promo-fest .menu-promo-zusatz {
  color: #ffd9a8; background: rgba(255, 179, 92, 0.16); max-width: 52%; overflow: hidden; text-overflow: ellipsis;
}
html #dropdownMenu .menu-promo-fest .menu-promo-zusatz[hidden] { display: none; }
html #dropdownMenu .menu-promo-fest[style*="--fest"] { color: rgb(var(--fest-rgb)); border-color: rgba(var(--fest-rgb), 0.35); background: rgba(var(--fest-rgb), 0.08); }
html #dropdownMenu .menu-promo-fest[style*="--fest"]:hover { background: rgba(var(--fest-rgb), 0.15); border-color: rgba(var(--fest-rgb), 0.6); }
html #dropdownMenu .menu-promo-fest[style*="--fest"] .menu-promo-zusatz { color: #fff; background: rgba(var(--fest-rgb), 0.22); }
html #dropdownMenu .menu-promo-fest.laeuft .menu-promo-zusatz::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; vertical-align: 1px;
  background: #2fd47a; box-shadow: 0 0 8px #2fd47a;
}

.ft-panel { display: grid; gap: 22px; color: var(--text, #eceef3); font-size: 14px; line-height: 1.55; }
.ft-panel h3, .ft-panel h4, .ft-feier h2 { margin: 0; font-family: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif; letter-spacing: 0.005em; }
.ft-laden { padding: 30px 0; text-align: center; color: var(--text-muted, #9097a7); }
.ft-satz { margin: 0; color: var(--text-muted, #9097a7); font-size: 13.5px; }
.ft-leise { color: var(--text-muted, #9097a7); font-size: 12.5px; }
.ft-leer { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--border, rgba(255, 255, 255, 0.14)); color: var(--text-muted, #9097a7); }
.ft-zahl { font-family: "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.ft-etikett {
  font-family: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted, #9097a7);
}
.ft-abschnitt { display: grid; gap: 12px; }
.ft-abschnitt-kopf { display: grid; gap: 2px; }
.ft-abschnitt-kopf h4 { font-size: 22px; font-weight: 700; line-height: 1.15; display: flex; align-items: baseline; gap: 8px; }
.ft-abschnitt-kopf h4 .ft-zahl { font-size: 14px; font-family: inherit; }

.ft-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 14px; border-radius: 999px;
  font: 700 13px/1.2 "Segoe UI", system-ui, sans-serif; color: #fff; cursor: pointer;
  background: rgba(var(--fest-rgb, 255, 61, 82), 0.16); border: 1px solid rgba(var(--fest-rgb, 255, 61, 82), 0.6);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.ft-knopf:hover { background: rgba(var(--fest-rgb, 255, 61, 82), 0.26); transform: translateY(-1px); }
.ft-knopf:focus-visible, .ft-chip:focus-visible { outline: 2px solid #8fb2ff; outline-offset: 2px; }
.ft-knopf .ft-ico { width: 15px; height: 15px; }
.ft-knopf.gold {
  color: #1a1206; border: 0; background: linear-gradient(135deg, #ffe0a6, #f5b84b 60%, #e39b2a);
  box-shadow: 0 6px 16px -6px rgba(245, 184, 75, 0.7);
}
.ft-knopf.gold:hover { filter: brightness(1.06); }
.ft-knopf.klein { min-height: 30px; padding: 5px 11px; font-size: 12px; }

.ft-held {
  --fest: #ff3d52; --fest-rgb: 255, 61, 82;
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 18px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(var(--fest-rgb), 0.35);
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--fest-rgb), 0.16), rgba(var(--fest-rgb), 0.03) 55%, transparent), var(--bg-input, #141720);
}
.ft-held::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: rgb(var(--fest-rgb)); }
.ft-held-ico {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; color: #fff;
  background: radial-gradient(circle at 50% 30%, rgba(var(--fest-rgb), 0.9), rgba(var(--fest-rgb), 0.35));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 10px 28px -10px rgba(var(--fest-rgb), 0.95);
}
.ft-held-ico .ft-ico { width: 30px; height: 30px; }
.ft-held.laeuft .ft-held-ico { animation: ftPuls 2.6s ease-in-out infinite; }
.ft-held-text { display: grid; gap: 4px; min-width: 0; }
.ft-held-text h3 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; line-height: 1.05; }
.ft-held-text p { margin: 0; color: #c9cfdb; font-size: 14px; }
.ft-held-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ft-held-fenster { font: 600 12px/1.3 "Cascadia Mono", Consolas, ui-monospace, monospace; color: rgb(var(--fest-rgb)); }
.ft-live {
  display: inline-flex; align-items: center; gap: 6px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #8ff3c0;
}
.ft-live i { width: 7px; height: 7px; border-radius: 50%; background: #2fd47a; box-shadow: 0 0 10px #2fd47a; animation: ftBlink 1.6s ease-in-out infinite; }
@keyframes ftBlink { 50% { opacity: 0.35; } }
.ft-cd { display: grid; gap: 6px; justify-items: end; }
.ft-cd-titel { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted, #9097a7); }
.ft-cd-felder { display: flex; gap: 6px; }
.ft-cd-feld { min-width: 52px; padding: 6px 8px; border-radius: 10px; text-align: center; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.08); }
.ft-cd-feld b { display: block; font: 700 22px/1.1 "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, monospace; color: rgb(var(--fest-rgb)); font-variant-numeric: tabular-nums; }
.ft-cd-feld span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted, #9097a7); }

.ft-ziele { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ft-ziel {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 14px 14px 14px 17px; border-radius: 14px; overflow: hidden;
  background: var(--bg-input, #141720); border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}
.ft-ziel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgb(var(--fest-rgb)); }
.ft-ziel.fertig { border-color: rgba(47, 212, 122, 0.45); background: linear-gradient(180deg, rgba(47, 212, 122, 0.08), transparent 70%), var(--bg-input, #141720); }
.ft-ziel.fertig::before { background: #2fd47a; }
.ft-ziel p { margin: 0; color: #c3c9d5; font-size: 13.5px; }
.ft-ziel-kopf { display: flex; align-items: center; gap: 10px; }
.ft-ziel-kopf > .ft-ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: rgb(var(--fest-rgb)); background: rgba(var(--fest-rgb), 0.12); }
.ft-ziel-kopf div { display: grid; gap: 1px; }
.ft-ziel-kopf b { font-size: 15.5px; }
.ft-balken { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.ft-balken i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--fest-rgb), 0.7), rgb(var(--fest-rgb))); box-shadow: 0 0 12px rgba(var(--fest-rgb), 0.6); transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ft-ziel.fertig .ft-balken i { background: linear-gradient(90deg, #22b866, #2fd47a); box-shadow: 0 0 12px rgba(47, 212, 122, 0.6); }
.ft-ziel-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ft-ziel-fuss .ft-zahl { font-size: 13px; color: #fff; }
.ft-lohn { font: 600 12px/1.3 "Cascadia Mono", Consolas, ui-monospace, monospace; color: #4be196; }
.ft-funde { display: flex; flex-wrap: wrap; gap: 4px; }
.ft-funde i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); }
.ft-funde i svg { width: 22px; height: 22px; filter: grayscale(1) brightness(0.62); opacity: 0.6; transition: filter 0.3s, opacity 0.3s; }
.ft-funde i.ja { border-color: rgba(var(--fest-rgb), 0.45); background: rgba(var(--fest-rgb), 0.12); }
.ft-funde i.ja svg { filter: none; opacity: 1; }
.ft-inhalt { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 18px; }
.ft-inhalt li { position: relative; padding-left: 18px; color: #c9cfdb; font-size: 13.5px; }
.ft-inhalt li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--fest-rgb)); box-shadow: 0 0 8px rgba(var(--fest-rgb), 0.8); }
.ft-spitzen { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-spitzen span {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: #ffd9a8; background: rgba(255, 179, 92, 0.1); border: 1px solid rgba(255, 179, 92, 0.35);
}
.ft-spitzen .ft-ico { width: 14px; height: 14px; }

.ft-lv {
  --fest: #ff3d52; --fest-rgb: 255, 61, 82;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; overflow: hidden; background: #0b0c10;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 1);
}
.ft-lv-top {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), #0d0f15;
}
.ft-lv-logo {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; flex-shrink: 0;
  background: radial-gradient(circle at 50% 35%, rgba(var(--fest-rgb), 0.55), rgba(var(--fest-rgb), 0.15));
  box-shadow: inset 0 0 0 1px rgba(var(--fest-rgb), 0.55), 0 0 22px -6px rgba(var(--fest-rgb), 0.9);
  transition: background 0.6s, box-shadow 0.6s;
}
.ft-lv-name { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 18px; white-space: nowrap; color: #eceef3; }
.ft-lv-name em { font-style: normal; color: rgb(var(--fest-rgb)); transition: color 0.6s; }
.ft-lv-pille {
  font: 600 12px/1.2 "Cascadia Mono", Consolas, ui-monospace, monospace; padding: 4px 10px; border-radius: 999px; color: #d6dae3;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); font-variant-numeric: tabular-nums;
}
.ft-lv-fest {
  margin-left: auto; padding: 5px 11px; border-radius: 999px; white-space: nowrap;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgb(var(--fest-rgb)); border: 1px solid rgba(var(--fest-rgb), 0.45); background: rgba(var(--fest-rgb), 0.1);
}
.ft-lv-karte { position: relative; height: 380px; overflow: hidden; background: #0b0d12; }
.ft-lv-karte canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#ftLvFx { pointer-events: none; }
.ft-lv-funde { position: absolute; inset: 0; pointer-events: none; }
.ft-lv-fund { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; }
.ft-lv-fund.ft-fund { animation-name: ftSchwebenLv; }
.ft-lv-fund.weg { animation: ftWegLv 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes ftSchwebenLv { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 3px)); } }
@keyframes ftWegLv { to { transform: translate(-50%, -70%) scale(1.8); opacity: 0; } }
.ft-lv-suche {
  position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(9, 10, 14, 0.82); border: 1px solid rgba(var(--fest-rgb), 0.45); color: #fff;
}
.ft-lv-suche[hidden] { display: none; }
.ft-lv-zaehler {
  position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; text-align: center;
  font: 800 clamp(64px, 12vw, 112px)/1 "Barlow Condensed", "Arial Narrow", sans-serif; color: #fff; text-shadow: 0 0 40px rgba(120, 160, 255, 0.7);
}
.ft-lv-zaehler.an { display: grid; }
.ft-lv-zaehler.neujahr { font-size: clamp(34px, 6vw, 60px); color: #ffe7a6; text-shadow: 0 0 40px rgba(255, 200, 90, 0.8); }
.ft-lv-ds {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px;
  background: rgba(9, 10, 14, 0.86); border: 1px solid rgba(var(--fest-rgb), 0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ft-lv-ds p { margin: 0; font-size: 13px; line-height: 1.45; color: #e3e6ee; }
.ft-lv-steuer { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); background: #0d0f15; }
.ft-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 11px; border-radius: 999px; cursor: pointer;
  font: 600 12.5px/1.2 "Segoe UI", system-ui, sans-serif; color: #cfd4de; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.ft-chip .ft-ico { width: 15px; height: 15px; color: rgb(var(--fest-rgb)); }
.ft-chip:hover { border-color: rgba(var(--fest-rgb), 0.6); color: #fff; }
.ft-chip[aria-pressed="true"] { color: #fff; background: rgba(var(--fest-rgb), 0.18); border-color: rgba(var(--fest-rgb), 0.75); }
.ft-lv-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 0 12px 12px; background: #0d0f15; }

.ft-kalender { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ft-kal {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px 10px 14px;
  border-radius: 12px; background: var(--bg-input, #141720); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); overflow: hidden;
}
.ft-kal::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(var(--fest-rgb), 0.85); }
.ft-kal.laeuft { border-color: rgba(var(--fest-rgb), 0.5); background: linear-gradient(90deg, rgba(var(--fest-rgb), 0.12), transparent 60%), var(--bg-input, #141720); }
.ft-kal-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: rgb(var(--fest-rgb)); background: rgba(var(--fest-rgb), 0.12); }
.ft-kal-text { display: grid; gap: 1px; min-width: 0; }
.ft-kal-text b { font-size: 14.5px; }
.ft-kal-text span { font: 500 12px/1.4 "Cascadia Mono", Consolas, ui-monospace, monospace; color: #c7ccd6; }
.ft-kal-text small { font-size: 12px; color: var(--text-muted, #9097a7); }
.ft-kal-wann { font-size: 12.5px; font-weight: 700; color: #ffd9a8; white-space: nowrap; text-align: right; }
.ft-test { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 800; color: #c79bff; border: 1px solid rgba(199, 155, 255, 0.5); vertical-align: 1px; }

.ft-abzeichen { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ft-abz {
  display: grid; justify-items: center; gap: 4px; padding: 14px 10px 12px; border-radius: 14px; text-align: center;
  background: radial-gradient(100% 80% at 50% 0%, rgba(var(--fest-rgb), 0.16), transparent 70%), var(--bg-input, #141720);
  border: 1px solid rgba(var(--fest-rgb), 0.3);
}
.ft-abz-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; margin-bottom: 4px;
  background: radial-gradient(circle at 50% 30%, rgba(var(--fest-rgb), 0.95), rgba(var(--fest-rgb), 0.4));
  box-shadow: 0 0 0 3px rgba(var(--fest-rgb), 0.18), 0 8px 20px -8px rgba(var(--fest-rgb), 0.9);
}
.ft-abz-ico .ft-ico { width: 24px; height: 24px; }
.ft-abz b { font-size: 13.5px; line-height: 1.25; }
.ft-abz small { font-size: 11px; color: var(--text-muted, #9097a7); text-transform: uppercase; letter-spacing: 0.1em; }

.ft-set { margin-bottom: 0; }
.ft-set-kopf { display: flex; align-items: center; gap: 8px; padding: 12px 0 4px; font-size: 15px; }
.ft-set-kopf .pro-ico { width: 18px; height: 18px; color: #ffb35c; }
.ft-laut-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 8px; }
.ft-laut-zeile input[type=range] { flex: 1 1 160px; min-width: 120px; accent-color: #f5b84b; }
.ft-laut-zeile output { min-width: 46px; font: 600 12.5px/1 "Cascadia Mono", Consolas, ui-monospace, monospace; color: #ffd9a8; }
.ft-laut-zeile .ft-knopf { --fest-rgb: 245, 184, 75; }

.ft-feier {
  position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 16px; background: rgba(4, 5, 8, 0.72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: ftDa 0.25s ease-out; transition: opacity 0.25s;
}
.ft-feier.weg { opacity: 0; }
.ft-feier-box {
  --fest: #f5b84b; --fest-rgb: 245, 184, 75;
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-x: hidden; overflow-y: auto; display: grid; justify-items: center; gap: 10px;
  padding: 30px 24px 22px; border-radius: 20px; text-align: center; color: #eceef3;
  background: radial-gradient(120% 90% at 50% 0%, rgba(var(--fest-rgb), 0.24), rgba(var(--fest-rgb), 0.04) 60%), #10121a;
  border: 1px solid rgba(var(--fest-rgb), 0.5); box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 1), 0 0 60px -20px rgba(var(--fest-rgb), 0.8);
  animation: ftAuf 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ft-feier[style*="--fest"] .ft-feier-box { --fest: inherit; --fest-rgb: inherit; }
.ft-feier-fx { position: absolute; inset: 0; width: 100% !important; height: 100% !important; pointer-events: none; border-radius: inherit; }
.ft-feier-box > :not(canvas) { position: relative; }
.ft-feier-bild { display: grid; place-items: center; }
.ft-feier-fund {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--fest-rgb), 0.45), rgba(var(--fest-rgb), 0) 70%); animation: ftSchweben 2.4s ease-in-out infinite;
}
.ft-feier-fund svg { width: 62px; height: 62px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.ft-ansage-ico {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; color: #fff;
  background: radial-gradient(circle at 50% 30%, rgba(var(--fest-rgb), 0.95), rgba(var(--fest-rgb), 0.35));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 14px 34px -10px rgba(var(--fest-rgb), 0.95);
  animation: ftPuls 2.6s ease-in-out infinite;
}
.ft-ansage-ico .ft-ico { width: 38px; height: 38px; }
.ft-feier h2 { font-size: clamp(28px, 6vw, 36px); font-weight: 800; line-height: 1.05; }
.ft-feier p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #c9cfdb; }
.ft-feier-lohn { display: grid; gap: 6px; justify-items: center; margin-top: 2px; }
.ft-feier-lohn b { padding: 6px 14px; border-radius: 999px; font: 800 15px/1.3 "Segoe UI", system-ui, sans-serif; color: #fff; background: rgba(47, 212, 122, 0.14); border: 1px solid rgba(47, 212, 122, 0.5); }
.ft-feier-lohn span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: #e3e6ee; }
.ft-feier-lohn .ft-ico { width: 16px; height: 16px; color: rgb(var(--fest-rgb)); }
.ft-feier-lohn .ft-ansage-weg { padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.ft-feier-lohn .ft-ansage-weg b { padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: #fff; }
.ft-knopf.leise { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.16); color: #d6dae3; }
.ft-knopf.leise:hover { background: rgba(255, 255, 255, 0.1); }
.ft-feier-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
@keyframes ftDa { from { opacity: 0; } to { opacity: 1; } }
@keyframes ftAuf { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .ft-held { grid-template-columns: auto minmax(0, 1fr); }
  .ft-cd { grid-column: 1 / -1; justify-items: start; }
  .ft-lv-karte { height: 320px; }
  .ft-uhr { top: calc(52px + var(--el-knopf-ueber, 0px)); right: 10px; }
}
@media (max-width: 480px) {
  .ft-held { padding: 14px; gap: 12px; }
  .ft-held-ico { width: 46px; height: 46px; border-radius: 13px; }
  .ft-held-ico .ft-ico { width: 24px; height: 24px; }
  .ft-cd-feld { min-width: 46px; padding: 5px 6px; }
  .ft-cd-feld b { font-size: 19px; }
  .ft-lv-karte { height: 280px; }
  .ft-lv-pille { display: none; }
  .ft-kal { grid-template-columns: auto minmax(0, 1fr); }
  .ft-kal-wann { grid-column: 2; text-align: left; }
  .ft-durchsage { bottom: 16px; padding-right: 36px; }
  .ft-ds-funk span { display: none; }
  .ft-uhr { padding: 5px 9px 5px 5px; gap: 7px; }
  .ft-uhr-ico { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-kerze.an::before, .ft-uhr.laeuft .ft-uhr-ico, .ft-fund, .ft-fund::after, .ft-live i, .ft-held.laeuft .ft-held-ico,
  .ft-feier-fund, .ft-ansage-ico, .ft-lv-fund.ft-fund { animation: none; }
  .ft-strom { display: none; }
  .ft-durchsage, .ft-feier-box, .ft-feier { animation: none; }
}
html.el-sparsam .ft-fund::after, html.el-sparsam .ft-uhr.laeuft .ft-uhr-ico { animation: none; }
