/* Lückenübersicht und Markierung im Lexikon – 22.11.2026
   Gehoerte vorher in naturedex-melden.css; getrennt, damit jede Datei
   nur ihr eigenes Thema hat. */

/* Lückenübersicht (nur Founder) */
#ndluecken { display: grid; gap: var(--ds-space-3); font-size: 14px; }
.ndluecke-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: var(--ds-space-2); }
.ndluecke-zahl {
  display: grid;
  gap: 2px;
  padding: var(--ds-space-3);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface-sunken);
}
.ndluecke-zahl strong { font-size: 22px; line-height: 1; }
.ndluecke-zahl span { font-size: 11.5px; color: var(--ds-ink-muted); line-height: 1.3; }
.ndluecke-zahl.warnt { background: var(--ds-fill-caution); border-color: var(--ds-caution); }
.ndluecke-zahl.warnt strong { color: var(--ds-caution); }
.ndluecke-hinweis { margin: 0; font-size: 13px; color: var(--ds-ink-muted); line-height: 1.5; }
.ndluecke-liste summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.ndluecke-arten { display: grid; gap: 4px; max-height: 320px; overflow: auto; }
.ndluecke-art {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ds-space-2);
  min-height: 40px;
  padding: 8px 10px;
  text-align: left;
  font: inherit;
  font-size: 13.5px;
  color: var(--ds-ink);
  background: var(--ds-surface-sunken);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  cursor: pointer;
}
.ndluecke-art small { color: var(--ds-ink-muted); font-size: 11.5px; white-space: nowrap; }
body.n30-dark .ndluecke-zahl,
body.n30-dark .ndluecke-art { background: #1a3025; border-color: #33503c; color: #e9f3ec; }

/* Eigenes Foto hochladen */
.ndluecke-upload {
  display: grid;
  gap: 4px;
  margin: -2px 0 6px;
  padding: 8px 10px;
  border: 1px dashed var(--ds-line);
  border-radius: var(--ds-radius-control);
}
.ndluecke-upload.fertig { border-style: solid; border-color: var(--ds-positive); background: var(--ds-fill-positive); }
.ndluecke-datei { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ndluecke-dateilabel {
  display: inline-block;
  padding: 7px 12px;
  justify-self: start;
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-brand);
  border: 1px solid var(--ds-brand);
  border-radius: var(--ds-radius-pill);
  cursor: pointer;
}
.ndluecke-status { font-size: 11.5px; color: var(--ds-ink-muted); line-height: 1.4; }
body.n30-dark .ndluecke-dateilabel { color: #8fd6a4; border-color: #8fd6a4; }

/* Markierung im Lexikon – nur für Founder sichtbar.
   Sie sitzt oben links auf der Karte, damit sie die Fundstatus-Symbole
   oben rechts nicht verdeckt. */
#anidexGrid .animal-card { position: relative; }
#anidexGrid .nd-luecke-marke {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: var(--ds-radius-pill);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.3;
  pointer-events: none;
  background: #b4453f;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
#anidexGrid .nd-fehlen-merkmale .nd-luecke-marke { background: #8a6410; }
#anidexGrid .nd-fehlt-foto { outline: 2px solid #b4453f; outline-offset: -2px; border-radius: var(--ds-radius-card); }
#anidexGrid .nd-fehlen-merkmale { outline: 2px dashed #8a6410; outline-offset: -2px; border-radius: var(--ds-radius-card); }
