.fd-wrap { --fdF: #f5c451; --fdRGB: 245, 196, 81; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fd-wrap * { box-sizing: border-box; }

.fd-info {
  font-size: 12.5px; line-height: 1.5; color: var(--text-muted);
  background: rgba(91, 140, 255, 0.07); border: 1px solid rgba(91, 140, 255, 0.28);
  border-radius: 10px; padding: 9px 12px;
}

.fd-band {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase; color: rgba(var(--fdRGB), 0.95);
  border: 1px solid rgba(var(--fdRGB), 0.32); border-radius: 999px; padding: 3px 11px;
  background: rgba(var(--fdRGB), 0.08);
}
.fd-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.fd-kopf small { color: var(--text-muted); font-size: 11.5px; }

.fd-karte {
  --fdA: #8a90a0; --fdARGB: 138, 144, 160;
  position: relative; overflow: hidden; border-radius: 13px; padding: 12px 13px 12px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--bg-input);
  border: 1px solid var(--border); min-width: 0;
}
.fd-karte::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fdA); }
.fd-karte.fd-gruen { --fdA: #2fd47a; --fdARGB: 47, 212, 122; }
.fd-karte.fd-gelb { --fdA: #f5b443; --fdARGB: 245, 180, 67; }
.fd-karte.fd-rot { --fdA: #ff5a6b; --fdARGB: 255, 90, 107; }
.fd-karte.fd-gold { --fdA: #f5c451; --fdARGB: 245, 196, 81; }
.fd-karte.fd-blau { --fdA: #5b8cff; --fdARGB: 91, 140, 255; }
.fd-karte.fd-hervor { box-shadow: 0 0 0 1px rgba(var(--fdARGB), 0.35), 0 10px 28px -14px rgba(var(--fdARGB), 0.55); }
.fd-karte.fd-gepusht { border-color: rgba(210, 153, 34, 0.55); }

.fd-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }

.fd-vk { display: flex; gap: 11px; align-items: flex-start; min-width: 0; }
.fd-logo {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; object-fit: cover;
  border: 1px solid var(--border); background: var(--bg-dark, #07080b);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.fd-mitte { flex: 1; min-width: 0; }
.fd-name { font-weight: 800; font-size: 14px; line-height: 1.3; color: var(--text); overflow-wrap: anywhere; }
.fd-tag {
  font-family: ui-monospace, Consolas, monospace; font-size: 11px; font-weight: 700; color: #8fb0ff;
  background: rgba(91, 140, 255, 0.14); border-radius: 5px; padding: 1px 5px; margin-right: 5px;
}
.fd-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.5; overflow-wrap: anywhere; }
.fd-text { font-size: 12px; color: var(--text-muted); margin-top: 5px; line-height: 1.45; overflow-wrap: anywhere; }

.fd-pille {
  display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.8px;
  text-transform: uppercase; border-radius: 999px; padding: 2px 8px; vertical-align: 1px; white-space: nowrap;
  color: var(--fdP, #8a90a0); background: rgba(var(--fdPR, 138, 144, 160), 0.14);
  border: 1px solid rgba(var(--fdPR, 138, 144, 160), 0.3);
}
.fd-pille.fd-p-gruen { --fdP: #2fd47a; --fdPR: 47, 212, 122; }
.fd-pille.fd-p-gelb { --fdP: #f5b443; --fdPR: 245, 180, 67; }
.fd-pille.fd-p-rot { --fdP: #ff6b7a; --fdPR: 255, 90, 107; }
.fd-pille.fd-p-blau { --fdP: #8fb0ff; --fdPR: 91, 140, 255; }
.fd-pille.fd-p-gold { --fdP: #f5c451; --fdPR: 245, 196, 81; }

.fd-ampel { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
.fd-ampel i { width: 9px; height: 9px; border-radius: 50%; background: #5a6070; display: inline-block; flex-shrink: 0; }
.fd-ampel.fd-a-gruen i { background: #2fd47a; box-shadow: 0 0 7px rgba(47, 212, 122, 0.7); }
.fd-ampel.fd-a-gelb i { background: #f5b443; box-shadow: 0 0 7px rgba(245, 180, 67, 0.6); }
.fd-ampel.fd-a-rot i { background: #ff5a6b; }

.fd-gruende { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.fd-chip {
  font-size: 10.5px; font-weight: 600; color: #cfd3dd; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}

.fd-knoepfe { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.fd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; cursor: pointer;
  font-weight: 800; font-size: 12.5px; padding: 8px 13px; line-height: 1.2; white-space: nowrap;
  border: 1px solid var(--border); background: var(--bg-input); color: var(--text);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease; font-family: inherit;
}
.fd-btn:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.24); }
.fd-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.fd-btn.fd-gold {
  border-color: transparent; color: #2a1f04;
  background: linear-gradient(135deg, #ffe7a3, #f5c451 55%, #d9a22c);
  box-shadow: 0 6px 18px rgba(245, 196, 81, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.fd-btn.fd-gold:hover:not(:disabled) { box-shadow: 0 10px 24px rgba(245, 196, 81, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.fd-btn.fd-gruen { color: #7ff0b0; background: rgba(47, 212, 122, 0.12); border-color: rgba(47, 212, 122, 0.38); }
.fd-btn.fd-rot { color: #ff8a96; background: rgba(255, 90, 107, 0.1); border-color: rgba(255, 90, 107, 0.35); }
.fd-btn.fd-blau { color: #a9c1ff; background: rgba(91, 140, 255, 0.12); border-color: rgba(91, 140, 255, 0.38); }
.fd-btn.fd-voll { width: 100%; }
.fd-btn.fd-klein { padding: 6px 10px; font-size: 11.5px; }

.fd-schalter {
  display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none;
  background: var(--bg-input); border: 1px solid var(--border); border-radius: 11px; padding: 10px 12px;
}
.fd-schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fd-knauf {
  position: relative; width: 40px; height: 22px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.14); transition: background 0.2s ease;
}
.fd-knauf::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: #d9dce3; transition: transform 0.28s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.2s ease;
}
.fd-schalter input:checked + .fd-knauf {
  background: linear-gradient(135deg, #2fd47a, #1fae61); border-color: transparent;
  box-shadow: 0 0 12px rgba(47, 212, 122, 0.45);
}
.fd-schalter input:checked + .fd-knauf::after { transform: translateX(18px); background: #fff; }
.fd-schalter input:focus-visible + .fd-knauf { outline: 2px solid #5b8cff; outline-offset: 2px; }
.fd-schalter b { display: block; font-size: 13px; color: var(--text); }
.fd-schalter span.fd-klar { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

.fd-leiste { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-feld {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px;
  color: var(--text); font-size: 13px; outline: none; font-family: inherit; min-width: 0;
  transition: border-color 0.15s ease;
}
.fd-feld:focus { border-color: rgba(var(--fdRGB), 0.6); }
.fd-leiste .fd-suche { flex: 1 1 200px; }
.fd-leiste select.fd-feld { flex: 0 0 auto; cursor: pointer; }
textarea.fd-feld { width: 100%; resize: vertical; min-height: 78px; line-height: 1.45; }
.fd-label { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 0.2px; }

.fd-liste { display: flex; flex-direction: column; gap: 8px; }
.fd-zeile { display: flex; gap: 11px; align-items: center; min-width: 0; }
.fd-zeile .fd-mitte { flex: 1; }
.fd-zeile .fd-aktion { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fd-sperre { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.fd-leer { text-align: center; color: var(--text-muted); font-size: 13px; padding: 16px 8px; }
.fd-mehr { font-size: 11.5px; color: var(--text-muted); text-align: center; }

.fd-ms { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.fd-ms-zeile {
  display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); min-width: 0;
}
.fd-ms-zeile.fd-erreicht { background: rgba(47, 212, 122, 0.08); border-color: rgba(47, 212, 122, 0.28); }
.fd-ms-zeile.fd-vorher { opacity: 0.6; }
.fd-ms-ico { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.fd-ms-text { flex: 1; min-width: 0; }
.fd-ms-text b { display: block; font-size: 12.5px; color: var(--text); }
.fd-ms-text small { display: block; font-size: 11px; color: var(--text-muted); }
.fd-ms-lohn { font-size: 11px; font-weight: 700; color: #f5c451; white-space: nowrap; text-align: right; }

.fd-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 7px; margin-top: 9px; }
.fd-kachel { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 9px; padding: 7px 8px; min-width: 0; }
.fd-kachel small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-muted); }
.fd-kachel b { display: block; font-size: 15px; font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; margin-top: 2px; overflow-wrap: anywhere; }

.fd-tresor {
  position: relative; overflow: hidden; border-radius: 15px; padding: 16px 15px; text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, rgba(245, 196, 81, 0.16) 0%, #14120c 52%, #0a0b12 100%);
  border: 1px solid rgba(245, 196, 81, 0.45); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(245, 196, 81, 0.18);
}
.fd-tresor .fd-summe {
  font-weight: 900; font-size: clamp(20px, 5.6vw, 28px); letter-spacing: -0.3px; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #c99a2e 0%, #f5c451 38%, #fff6d8 50%, #f5c451 62%, #c99a2e 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fdSchimmer 5.5s linear infinite; margin: 6px 0 10px;
}
@keyframes fdSchimmer { 0% { background-position: -220% 0; } 100% { background-position: 220% 0; } }
.fd-tresor small { display: block; font-size: 11.5px; color: var(--text-muted); margin-bottom: 10px; }

.fd-check { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.fd-check div { font-size: 12.5px; color: var(--text-muted); display: flex; gap: 8px; align-items: baseline; }
.fd-check div.fd-ok { color: var(--text); }
.fd-check div b { flex-shrink: 0; width: 16px; text-align: center; }

.fd-verlauf summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--text-muted); padding: 4px 0; }
.fd-verlauf ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fd-verlauf li { font-size: 12px; color: var(--text-muted); overflow-wrap: anywhere; }

#finderHinweis {
  position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 8600;
  width: min(560px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px;
  background: rgba(14, 16, 22, 0.96); color: #eceef3; border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px; padding: 11px 13px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
html.el-pro #elHinweisStapel > #finderHinweis.el-hinweisleiste { order: 5; --el-ton: #f5c451; padding: 10px 12px 10px 16px !important; gap: 11px !important; }
#finderHinweis .fd-h-ico { font-size: 24px; line-height: 1; flex-shrink: 0; }
#finderHinweis .fd-h-text { flex: 1; min-width: 0; }
#finderHinweis .fd-h-text b { display: block; font-size: 13.5px; font-weight: 800; }
#finderHinweis .fd-h-text span { display: block; font-size: 11.5px; color: #aeb3c0; line-height: 1.4; margin-top: 1px; }
#finderHinweis .fd-h-zu {
  background: rgba(255, 255, 255, 0.08); color: #cfd3dd; border: none; width: 26px; height: 26px; border-radius: 50%;
  font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#finderHinweis .fd-h-zu:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.fd-menu-zahl {
  display: inline-block; min-width: 16px; text-align: center; background: #f5c451; color: #2a1f04;
  border-radius: 10px; font-size: 9.5px; font-weight: 900; padding: 1px 5px; margin-left: 4px; vertical-align: 1px;
}

@media (max-width: 600px) {
  .fd-raster { grid-template-columns: 1fr; }
  .fd-zeile { flex-wrap: wrap; }
  .fd-zeile .fd-aktion { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  .fd-zeile .fd-aktion .fd-btn { flex: 0 0 auto; }
  .fd-leiste select.fd-feld { flex: 1 1 100%; }
  .fd-knoepfe .fd-btn { flex: 1 1 auto; }
  #finderHinweis { top: 64px; padding: 10px 11px; gap: 9px; }
  #finderHinweis .fd-h-ico { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .fd-tresor .fd-summe { animation: none; color: #f5c451; -webkit-text-fill-color: #f5c451; }
  .fd-knauf::after, .fd-btn { transition: none; }
}
