/* Beamer-Anzeige: bewusst nur Weiss und Schwarz, maximaler Kontrast. */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #ffffff;
  color: #000000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow: hidden;
  cursor: none;
}

/* --- Startoverlay ------------------------------------------------------- */
.starter {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #ffffff;
  z-index: 50;
  cursor: default;
}
.starter-box { text-align: center; max-width: 40rem; padding: 2rem; }
.starter-box h1 { font-size: 3rem; margin: 0 0 1rem; letter-spacing: 0.02em; }
.starter-box p { font-size: 1.25rem; line-height: 1.5; margin: 0 0 1.5rem; }
.starter-hint { font-size: 1rem; color: #555; }
#startBtn {
  font-size: 1.5rem;
  padding: 0.8rem 2.4rem;
  border: 3px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-weight: 700;
}
#startBtn:hover { background: #000; color: #fff; }

/* --- Tafel -------------------------------------------------------------- */
.board {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.5vh 4vw 1.5vh;
}

.heading {
  flex: 0 0 auto;
  margin: 0 0 2.5vh;
  text-align: center;
  font-size: 8vh;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}

.content {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 0 5vw;
  align-content: stretch;
}

/* Eintrag: Name links, Fassanzahl rechts, dazwischen Punktlinie. */
.entry {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: var(--entry-font, 4vh);
  line-height: 1.15;
  min-width: 0;
}
.entry .name {
  flex: 0 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.entry .leader {
  flex: 1 1 auto;
  border-bottom: 2px dotted #000;
  transform: translateY(-0.22em);
  min-width: 1.5em;
}
.entry .value {
  flex: 0 0 auto;
  font-weight: 800;
  white-space: nowrap;
}

/* Sachspenden: Name und Beschreibung untereinander. */
.entry.other { flex-direction: column; align-items: flex-start; gap: 0.1em; }
.entry.other .name { white-space: normal; }
.entry.other .desc {
  font-weight: 400;
  font-size: 0.72em;
  line-height: 1.2;
}

.empty {
  align-self: center;
  justify-self: center;
  font-size: 4vh;
  color: #444;
  text-align: center;
}

/* Seitenanzeige */
.pager {
  flex: 0 0 auto;
  height: 3vh;
  display: flex;
  gap: 0.9vh;
  justify-content: center;
  align-items: center;
}
.pager .dot {
  width: 1.1vh;
  height: 1.1vh;
  border-radius: 50%;
  border: 2px solid #000;
}
.pager .dot.active { background: #000; }

/* Seitenwechsel */
.content.fade { opacity: 0; transition: opacity 220ms ease; }
.content { transition: opacity 220ms ease; }

/* --- Feuer -------------------------------------------------------------- */
.fire {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
}
