/* ── BUS SHUFFLE: spielspezifisch ── */
main {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 40px;
}

/* HUD (ScoreBar) — über dem Spielfeld */
#scorebar {
  width: 100%;
  max-width: 1067px;
  display: flex;
  gap: 5px;
  padding: 0 8px;
  height: 40px;
  align-items: center;
  background: #1a2530;
  margin: 0;
  box-sizing: border-box;
  border-radius: 6px 6px 0 0;
}
.sb-box {
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 8px;
}
.sb-label {
  font-family: monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}
.sb-val {
  font-family: monospace;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
}

/* Leben-Anzeige (Box reserviert Platz für bis zu 5 Herzen) */
.sb-box-lives {
  min-width: 130px;
  flex: 0 0 auto;
}
.sb-lives {
  display: flex;
  gap: 4px;
  font-size: 18px;
  line-height: 1;
}
.sb-lives .heart { color: #ff4d6a; filter: drop-shadow(0 0 2px rgba(255,77,106,.6)); }
.sb-lives .heart.empty { color: rgba(255,255,255,.18); filter: none; }

/* Canvas-Wrap nimmt Spielfeld + Overlay */
.canvas-wrap {
  max-width: 1067px;
  width: 100%;
  border-top: none !important;
  border-radius: 0 0 6px 6px !important;
}

/* Spielfeld */
#game {
  position: relative;
  width: 100%;
  user-select: none;
}
#game > .bg {
  width: 100%;
  height: auto;
  display: block;
}

/* Auto-Wrap */
.car-wrap { position: absolute; z-index: 2; }
.car-wrap > img { width: 100%; height: auto; display: block; }
.car-wrap.clickable { cursor: pointer; }
.car-wrap.clickable:hover > img { filter: brightness(1.2); }

/* Sitze */
.seat {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seat-dot {
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  opacity: .75;
  transition: background .3s, opacity .3s;
}

/* Slots */
.slot {
  position: absolute;
  width: 7.6%;
  aspect-ratio: 127/140;
  top: 5.1%;
  z-index: 1;
}
.slot img.slot-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}
.slot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.slot.locked .slot-overlay {
  background: rgba(180, 20, 20, .55);
  border-radius: 12%;
}
.slot-overlay .icon {
  font-size: clamp(10px, 2vw, 20px);
}
.slot-overlay .label {
  font: bold clamp(6px, 1vw, 10px)/1.2 sans-serif;
  color: #ffaaaa;
  margin-top: 4%;
}

/* Passagiere */
.passenger { position: absolute; z-index: 6; }
.passenger img { width: 100%; height: auto; display: block; }
