/* Brachos Bins */

.bb-setup {
  text-align: center;
  padding: 8px 0 24px;
}

.bb-setup-title {
  font-size: 26px;
  font-weight: 700;
  color: #19100c;
  margin: 0 0 16px;
}

.bb-setup-label {
  color: #6f6b6b;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 20px 0 8px;
}

.bb-choice-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bb-choice-btn {
  cursor: pointer;
  background: #fff;
  border: 2px solid #e0e0e0;
  color: #19100c;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  transition: border-color 0.2s, background-color 0.2s;
}

.bb-choice-btn.is-active {
  border-color: #f3724b;
  background: #fdece6;
}

.bb-begin-btn {
  cursor: pointer;
  background-color: #19100c;
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 28px;
  min-height: 44px;
  transition: background-color 0.2s;
}

.bb-begin-btn:hover {
  background-color: #f3724b;
}

.bb-loading {
  text-align: center;
  color: #6f6b6b;
  padding: 40px 0;
}

.bb-hud {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #19100c;
  margin-bottom: 16px;
  padding: 0 4px;
}

.bb-play-area {
  position: relative;
}

.bb-bins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.bb-bin {
  background: #fdf6f2;
  border: 2px dashed #e8c9bb;
  border-radius: 10px;
  min-height: 90px;
  padding: 8px;
  text-align: center;
}

.bb-bin-label {
  font-weight: 700;
  font-size: 13px;
  color: #19100c;
  margin-bottom: 6px;
}

.bb-bin-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.bb-bin-items .bb-food-card {
  position: relative;
  width: 44px;
  height: 44px;
  cursor: default;
  touch-action: auto;
}

.bb-bin-items .bb-food-scrim {
  display: none;
}

.bb-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 16px;
  background: #f7f7f7;
  border-radius: 10px;
  min-height: 100px;
}

.bb-food-card {
  position: relative;
  width: 120px;
  height: 120px;
  cursor: grab;
  touch-action: none;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  user-select: none;
}

.bb-food-card:active {
  cursor: grabbing;
}

.bb-food-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.bb-food-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 8px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  pointer-events: none;
}

.bb-food-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .bb-tray {
    gap: 10px;
    padding: 12px;
  }

  .bb-food-card {
    width: 96px;
    height: 96px;
  }
}

.bb-summary {
  text-align: center;
  padding: 24px 0;
}

.bb-summary h2 {
  font-size: 26px;
  color: #19100c;
  margin: 0 0 8px;
}

.bb-summary p {
  color: #6f6b6b;
  font-size: 15px;
  margin: 0;
}

.bb-hud {
  gap: 8px;
}
