/* Spiel 2 – Wer macht was im Bienenstock? */
.zg-play { background: var(--zg-cream-200); --zg-hud-bg: var(--zg-cream-200); }
.bs-scroll {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: calc(76px + env(safe-area-inset-top)) var(--zg-s4) calc(var(--zg-s6) + env(safe-area-inset-bottom));
  background-color: var(--zg-cream-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 L56 16 L56 48 L28 64 L0 48 L0 16 Z M28 64 L28 97' fill='none' stroke='%23D7B56D' stroke-opacity='.35' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 56px 97px;
}
.bs-wrap { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--zg-s4); }

.bs-card {
  background: var(--zg-cream-50); border-radius: var(--zg-radius-lg); box-shadow: var(--zg-shadow-card);
  padding: var(--zg-s5) var(--zg-s4); display: flex; flex-direction: column; gap: var(--zg-s4);
  animation: zg-pop 360ms var(--zg-ease-bounce);
}
.bs-q { display: flex; align-items: center; gap: var(--zg-s4); }
.bs-q__pic {
  flex: none; width: 84px; height: 84px; border-radius: 50%; background: var(--zg-gold-200);
  display: grid; place-items: center; box-shadow: inset 0 0 0 3px var(--zg-gold-400);
}
.bs-q__pic > svg { width: 62px; height: 62px; }
.bs-q__label { font-family: var(--zg-font-display); font-weight: 600; font-size: var(--zg-fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--zg-gold-700); }
.bs-q__text { font-size: clamp(1.25rem, 5vw, 1.6rem); color: var(--zg-green-900); margin-top: 2px; }
.bs-intro { font-size: var(--zg-fs-sm); color: var(--zg-ink-soft); }

/* Antwort: Bienen-Karten */
.bs-roles { display: grid; gap: var(--zg-s3); grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.bs-role {
  appearance: none; cursor: pointer; position: relative;
  border: 3px solid var(--zg-cream-200); background: #fff; border-radius: var(--zg-radius-md);
  padding: var(--zg-s3) var(--zg-s1) var(--zg-s3); min-height: 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--zg-s1);
  transition: transform var(--zg-dur) var(--zg-ease), border-color var(--zg-dur), box-shadow var(--zg-dur);
  touch-action: manipulation;
}
.bs-role:hover:not(:disabled) { border-color: var(--zg-gold-400); transform: translateY(-2px); }
.bs-role__bee { width: min(100%, 110px); aspect-ratio: 120 / 100; }
.bs-role__bee > svg { width: 100%; height: 100%; }
.bs-role__name { font-family: var(--zg-font-display); font-weight: 600; font-size: var(--zg-fs-md); color: var(--zg-green-900); line-height: 1.1; }
.bs-roles--2 .bs-role { min-height: 170px; }
.bs-roles--2 .bs-role__bee { width: min(100%, 140px); }

/* Antwort: Text-Karten */
.bs-opts { display: flex; flex-direction: column; gap: var(--zg-s3); }
.bs-opt {
  appearance: none; cursor: pointer; text-align: left; position: relative;
  display: flex; align-items: center; gap: var(--zg-s3);
  border: 3px solid var(--zg-cream-200); background: #fff; border-radius: var(--zg-radius-md);
  padding: var(--zg-s3) var(--zg-s4) var(--zg-s3) var(--zg-s3); min-height: 60px;
  font-size: var(--zg-fs-md); line-height: 1.3; color: var(--zg-ink);
  transition: transform var(--zg-dur) var(--zg-ease), border-color var(--zg-dur);
  touch-action: manipulation;
}
.bs-opt:hover:not(:disabled) { border-color: var(--zg-gold-400); }
.bs-opt__key { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--zg-gold-200); color: var(--zg-green-900); font-family: var(--zg-font-display); font-weight: 600; }

/* Zustände (immer mit Symbol, nicht nur Farbe) */
.bs-mark { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; display: none; place-items: center; color: #fff; }
.bs-mark svg { width: 18px; height: 18px; }
.is-correct { border-color: var(--zg-success) !important; background: var(--zg-success-bg) !important; }
.is-correct .bs-mark { display: grid; background: var(--zg-success); }
.is-wrong { opacity: .55; border-style: dashed !important; border-color: #C9B48A !important; }
.is-wrong .bs-mark { display: grid; background: #9A8A6A; }
.bs-opt .bs-mark { position: static; margin-left: auto; flex: none; }
.bs-role:disabled, .bs-opt:disabled { cursor: default; }

/* Rückmeldung */
.bs-feedback { animation: zg-pop 300ms var(--zg-ease-bounce); display: flex; flex-direction: column; gap: var(--zg-s3); }
.bs-feedback .zg-feedback strong { font-family: var(--zg-font-display); }
.bs-next { align-self: stretch; }

/* Zuordnen */
.bs-pool { display: flex; flex-wrap: wrap; gap: var(--zg-s2); justify-content: center; min-height: 52px; }
.bs-task {
  appearance: none; cursor: pointer; border: 3px solid var(--zg-gold-400); background: #fff; color: var(--zg-ink);
  border-radius: var(--zg-radius-pill); padding: 8px 16px; min-height: 48px; font-size: var(--zg-fs-sm); font-weight: 700; line-height: 1.2;
  box-shadow: 0 3px 0 rgba(138, 106, 40, .25); touch-action: manipulation;
  transition: transform 160ms var(--zg-ease), background 160ms, border-color 160ms;
}
.bs-task[aria-pressed="true"] { background: var(--zg-honey-300); border-color: var(--zg-green-900); transform: translateY(-3px) scale(1.03); box-shadow: 0 6px 0 rgba(29, 65, 30, .35); }
.bs-task.is-dragging { opacity: .35; }
.bs-ghost { position: fixed; z-index: 100; pointer-events: none; transform: translate(-50%, -50%) rotate(-3deg); }
.bs-bins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--zg-s2); }
.bs-bin {
  appearance: none; cursor: pointer; border: 3px dashed var(--zg-gold-400); background: var(--zg-cream-100);
  border-radius: var(--zg-radius-md); padding: var(--zg-s2) var(--zg-s1); min-height: 160px;
  display: flex; flex-direction: column; align-items: center; gap: var(--zg-s1); touch-action: manipulation;
  transition: border-color 160ms, background 160ms, transform 160ms;
}
.bs-bin.is-ready { border-style: solid; border-color: var(--zg-green-700); background: #fff; animation: zg-pulse 1.4s infinite; }
.bs-bin.is-over { background: var(--zg-gold-200); transform: scale(1.03); }
.bs-bin__bee { width: 74px; aspect-ratio: 120 / 100; }
.bs-bin__bee > svg { width: 100%; height: 100%; }
.bs-bin__name { font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); font-size: var(--zg-fs-sm); }
.bs-bin__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.bs-bin__list li { background: var(--zg-success-bg); border-radius: 10px; font-size: 13px; line-height: 1.2; padding: 4px 6px 4px 22px; position: relative; text-align: left; color: #1F5326; animation: zg-pop 300ms var(--zg-ease-bounce); }
.bs-bin__list li::before { content: "✓"; position: absolute; left: 7px; top: 3px; font-weight: 700; }

/* Reihenfolge */
.bs-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--zg-s2); counter-reset: step; }
.bs-slot { display: flex; align-items: center; gap: var(--zg-s3); min-height: 48px; border-radius: var(--zg-radius-sm); border: 2px dashed var(--zg-gold-400); padding: 6px var(--zg-s3); color: var(--zg-ink-soft); font-size: var(--zg-fs-sm); }
.bs-slot__n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--zg-cream-200); font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); }
.bs-slot.is-filled { border-style: solid; border-color: var(--zg-success); background: var(--zg-success-bg); color: #1F5326; font-weight: 700; animation: zg-pop 300ms var(--zg-ease-bounce); }
.bs-slot.is-filled .bs-slot__n { background: var(--zg-success); color: #fff; }
.bs-age { display: flex; justify-content: space-between; font-size: var(--zg-fs-xs); color: var(--zg-gold-700); font-weight: 700; padding: 0 4px; }

@media (max-width: 380px) {
  .bs-card { padding: var(--zg-s4) var(--zg-s3); }
  .bs-q { gap: var(--zg-s3); }
  .bs-q__pic { width: 64px; height: 64px; }
  .bs-q__pic > svg { width: 46px; height: 46px; }
  .bs-roles { gap: var(--zg-s2); }
  .bs-role { min-height: 120px; }
  .bs-role__name { font-size: var(--zg-fs-sm); }
  .bs-bin__bee { width: 58px; }
  .bs-bin__name { font-size: 14px; }
  .bs-bin__list li { font-size: 12px; padding-left: 18px; }
}
