/* Marktereignisse (web/marktereignisse.js): Banner im Kopf, Seite /ereignisse, Verwaltung. */
.ereignisbanner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; padding: 8px 12px;
  background: #f3d36b; color: #2b2100; font-size: 14px; font-weight: 700; min-width: 0;
  box-shadow: inset 2px 2px 0 #ffef9e, inset -2px -2px 0 #b8952b;
}
.ereignisbanner[hidden] { display: none; }
.ereignisbanner[data-art="kommend"] { background: #d9e6f5; color: #102540; box-shadow: inset 2px 2px 0 #f2f7fd, inset -2px -2px 0 #8aa2bf; }
.ereignisbanner-text { flex: 1 1 16rem; min-width: 0; overflow-wrap: anywhere; }
.ereignisbanner .textbutton { flex: none; font-weight: 700; }
/* Begruessung mit Startguthaben (web/begruessung.js): gleiche Leiste wie das Ereignisbanner, gruen. */
.begruessung {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; padding: 8px 12px;
  background: #b8e07a; color: #14300a; font-size: 14px; min-width: 0;
  box-shadow: inset 2px 2px 0 #dcf5b4, inset -2px -2px 0 #6f9a35;
}
.begruessung[hidden] { display: none; }
.begruessung-text { flex: 1 1 16rem; min-width: 0; overflow-wrap: anywhere; }
.begruessung .textbutton { flex: none; font-weight: 700; }
.begruessung-zu { flex: none; min-width: 32px; min-height: 32px; padding: 0 8px; font-size: 18px; font-weight: 700; line-height: 1; }

.ereignisse { display: grid; gap: 18px; min-width: 0; }
.ereignisse .work-section, .ereignis-verwaltung { min-width: 0; }
.ereignis-karte { padding: 12px 14px; margin: 8px 0; background: #ececec; color: #1e1e1e; min-width: 0;
  box-shadow: inset 3px 3px 0 #ffffff, inset -3px -3px 0 #9a9a9a; }
.ereignis-karte .work-note { color: #3a3a3a; }
.ereignis-karte[data-status="aktiv"] { background: #f7e7a8; }
.ereignis-karte[data-status="ausgesetzt"], .ereignis-karte[data-status="ausgefallen"] { opacity: .75; }
.ereignis-kartenkopf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ereignis-kartenkopf h3 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.ereignis-wirkung { margin: 6px 0; font-size: 16px; overflow-wrap: anywhere; }
.ereignis-chip { font-size: 12px; font-weight: 700; padding: 2px 8px; background: #e8e8e8; color: #303030; }
.ereignis-chip[data-status="aktiv"] { background: #7ed321; color: #10300a; }
.ereignis-chip[data-status="angekuendigt"], .ereignis-chip[data-status="geplant"] { background: #d9e6f5; color: #102540; }
.ereignis-chip.gross { background: #6a4fa3; color: #fff; }
.ereignis-balken { height: 14px; margin-top: 8px; background: #2b2b2b; box-shadow: 0 0 0 2px var(--edge, #373737), inset 0 2px 0 #111; overflow: hidden; }
.ereignis-balken span { display: block; height: 100%; width: 0; background: #e8b923; box-shadow: inset 0 2px 0 #ffe27a, inset 0 -3px 0 #a07a0a; }
.ereignis-regeln { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ereignis-verlauf td { vertical-align: top; }
.ereignis-aktionen { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.ereignis-aktionen label { display: grid; gap: 4px; min-width: 0; }
.ereignis-aktionen select { max-width: 100%; }
