/* Best for Babies — creative tools only (isolated from core quiz UI) */
.bc-stage {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, #fff7ed, #eff6ff 50%, #fdf2f8);
    border: 3px solid #fdba74;
    min-height: 280px;
    touch-action: none;
}
.bc-stage canvas { display: block; width: 100%; height: auto; max-height: 58vh; cursor: crosshair; }
.bc-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}
.bc-chip {
    border: 0;
    border-radius: 14px;
    padding: 0.45rem 0.8rem;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    background: #e0f2fe;
    color: #0369a1;
    box-shadow: 0 4px 0 rgba(14, 165, 233, 0.2);
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    touch-action: manipulation;
}
.bc-chip:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 6px 0 rgba(14, 165, 233, 0.25); }
.bc-chip:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(14, 165, 233, 0.2); }
.bc-chip.on { background: linear-gradient(135deg, #38bdf8, #6366f1); color: #fff; }
.bc-swatch {
    width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,.12); cursor: pointer;
    transition: transform 0.15s ease;
}
.bc-swatch:hover, .bc-swatch.on { transform: scale(1.15); box-shadow: 0 0 0 3px #0ea5e9; }
.bc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 0.55rem;
}
.bc-item {
    aspect-ratio: 1;
    border-radius: 16px;
    border: 3px solid #e2e8f0;
    background: #fff;
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    touch-action: manipulation;
    user-select: none;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.08);
}
.bc-item:hover { transform: translateY(-3px) scale(1.04); border-color: #38bdf8; }
.bc-item:active { transform: scale(0.96); }
.bc-item.ok { background: linear-gradient(135deg, #86efac, #22c55e); color: #fff; border-color: #16a34a; animation: babies-pop 0.35s ease; }
.bc-item.bad { background: linear-gradient(135deg, #fda4af, #f43f5e); color: #fff; border-color: #e11d48; animation: babies-shake 0.35s ease; }
.bc-item.selected { outline: 3px solid #0f172a; transform: scale(1.06); }
.bc-item.used { opacity: 0.35; pointer-events: none; }
.bc-bins {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
}
.bc-bin {
    min-height: 110px;
    border-radius: 18px;
    border: 3px dashed #94a3b8;
    background: rgba(255,255,255,0.75);
    padding: 0.5rem;
    text-align: center;
    font-weight: 800;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.bc-bin:hover { border-color: #38bdf8; background: #f0f9ff; transform: translateY(-2px); }
.bc-bin h4 { font-size: 0.95rem; margin: 0 0 0.35rem; }
.bc-bin .bc-drop { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; min-height: 48px; }
.bc-scene {
    min-height: 240px;
    border-radius: 20px;
    border: 3px solid #93c5fd;
    background: linear-gradient(180deg, #bae6fd, #fef9c3 70%, #86efac);
    position: relative;
    overflow: hidden;
    padding: 0.75rem;
}
.bc-scene-item {
    position: absolute;
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    cursor: grab;
    transition: transform 0.15s ease, filter 0.15s ease;
    user-select: none;
    touch-action: none;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,0.12));
}
.bc-scene-item:hover { transform: scale(1.12); }
.bc-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    margin-top: 0.75rem;
}
.bc-pop-stage {
    position: relative;
    height: min(52vh, 420px);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #7dd3fc, #fbcfe8 55%, #fef08a);
}
.bc-pop {
    position: absolute;
    border-radius: 50%;
    border: 0;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
    box-shadow: inset -6px -8px 14px rgba(255,255,255,0.35), 0 6px 0 rgba(0,0,0,0.12);
    animation: babies-float 2s ease-in-out infinite;
    transition: transform 0.12s ease;
}
.bc-pop:hover { transform: scale(1.12); }
.bc-sound-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.6rem;
}
.bc-sound-btn {
    min-height: 88px;
    border-radius: 18px;
    border: 0;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 0 rgba(0,0,0,0.15);
    transition: transform 0.15s ease, filter 0.15s ease;
    touch-action: manipulation;
}
.bc-sound-btn:hover { transform: translateY(-3px); filter: brightness(1.08); }
.bc-sound-btn:active { transform: translateY(2px); }
.bc-sound-btn.ok { outline: 3px solid #fff; box-shadow: 0 0 0 4px #22c55e, 0 5px 0 rgba(0,0,0,0.15); }
.bc-card-face {
    font-size: clamp(2.5rem, 12vw, 4rem);
    text-align: center;
    line-height: 1.1;
    margin: 0.5rem 0 1rem;
    animation: babies-bounce 1.6s ease-in-out infinite;
}
.bc-parts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
}
.bc-part {
    border: 0;
    border-radius: 14px;
    padding: 0.55rem 0.75rem;
    font-size: 1.35rem;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 0 rgba(15,23,42,0.1);
    transition: transform 0.15s ease;
    touch-action: manipulation;
}
.bc-part:hover { transform: translateY(-3px) scale(1.05); }
.bc-part.on { outline: 3px solid #6366f1; }
.bc-preview {
    min-height: 160px;
    border-radius: 20px;
    background: linear-gradient(145deg, #fdf2f8, #e0f2fe);
    border: 3px dashed #f9a8d4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: clamp(2rem, 8vw, 3.2rem);
    padding: 1rem;
    margin-bottom: 0.75rem;
}
.bc-input {
    border-radius: 14px !important;
    border: 3px solid #93c5fd !important;
    font-weight: 700;
    min-height: 48px;
    text-align: center;
}
.bc-story {
    background: #fffbeb;
    border-radius: 16px;
    border: 3px solid #fcd34d;
    padding: 1rem;
    font-weight: 700;
    min-height: 100px;
    font-size: 1.1rem;
}
.bc-family-tree {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}
.bc-family-card {
    background: #fff;
    border: 3px solid #fdba74;
    border-radius: 18px;
    padding: 0.75rem;
    text-align: center;
}
.bc-diary-card, .bc-reward-row {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.75rem;
    font-weight: 700;
}
.bc-vision-board {
    position: relative;
    min-height: 280px;
    border-radius: 20px;
    border: 3px dashed #c084fc;
    background:
        radial-gradient(circle at 20% 30%, rgba(253, 224, 71, 0.35), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.3), transparent 45%),
        linear-gradient(145deg, #fdf4ff, #eff6ff);
    overflow: hidden;
}
.bc-vision-sticker, .bc-vision-wish {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    padding: 0.35rem 0.55rem;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 0 rgba(0,0,0,.08);
    max-width: 42%;
    cursor: pointer;
}
.bc-vision-sticker { font-size: 1.8rem; background: transparent; box-shadow: none; padding: 0; }
.bc-star-jar {
    background: linear-gradient(180deg, #fef9c3, #fde68a);
    border: 3px solid #eab308;
    border-radius: 20px;
    padding: 0.85rem;
}
@media (max-width: 576px) {
    .bc-bins { grid-template-columns: 1fr 1fr; }
    .bc-item { min-height: 64px; }
    .bc-chip { width: auto; flex: 1 1 auto; text-align: center; }
}
