.pre-nursery-lab {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pn-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(135deg, #4338CA 0%, #7C3AED 60%, #EC4899 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.pn-hero-text {
    position: relative;
    z-index: 2;
}

.pn-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pn-hero h1 {
    font-size: 32px;
    margin: 12px 0 8px;
}

.pn-hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pn-hero-cloud,
.pn-hero-stars {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(60px);
}

.pn-hero-character {
    position: absolute;
    bottom: 12px;
    right: 24px;
    font-size: 72px;
    opacity: 0.25;
}

.pn-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.pn-hero-stat {
    flex: 1;
    min-width: 120px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.15);
}

.pn-hero-stat span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.75;
    letter-spacing: .08em;
}

.pn-hero-stat strong {
    font-size: 20px;
}

.pn-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.pn-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pn-btn.primary {
    background: #FFF;
    color: #4C1D95;
}

.pn-btn.secondary {
    background: #EEF2FF;
    color: #312E81;
}

.pn-btn.ghost {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pn-btn:hover {
    transform: translateY(-1px);
}

.pn-info-grid {
    display: grid;
    gap: 16px;
}

.pn-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.pn-info-card h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.pn-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.pn-info-card li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.pn-info-card li::before {
    content: '★';
    color: #F97316;
    font-size: 12px;
    line-height: 20px;
}

.pn-info-card.tips li::before {
    content: '♡';
    color: #EC4899;
}

.pn-card-grid .pn-card-list {
    display: grid;
    gap: 16px;
}

.pn-mini-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pn-card-tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.15);
    color: #4C1D95;
    font-size: 12px;
}

.pn-card-meta {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #475569;
}

.pn-card-meta span + span {
    margin-top: 4px;
}

.pn-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pn-eyebrow {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    color: #6366F1;
    margin-bottom: 6px;
}

.pn-game-section {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.pn-game-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.pn-game-board {
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 20px;
    background: #F8FAFC;
}

.pn-game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: #F1F5F9;
}

.pn-score-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.pn-score-widget span {
    font-size: 13px;
    color: #475569;
}

.pn-score-widget strong {
    font-size: 20px;
    color: #0F172A;
}

.pn-feedback {
    min-height: 24px;
    font-weight: 600;
    margin-top: 12px;
    color: #0EA5E9;
}

.pn-instruction {
    font-size: 14px;
    color: #475569;
}

.color-match-target {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    border: 2px dashed rgba(99, 102, 241, 0.4);
    margin: 12px 0 20px;
}

.color-match-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
}

.color-chip {
    border: none;
    border-radius: 14px;
    padding: 12px;
    font-weight: 600;
    color: #0F172A;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    cursor: pointer;
}

.color-chip:focus {
    outline: 2px solid #0EA5E9;
}

.shape-bank {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.shape-token {
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    padding: 10px 16px;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
}

.shape-token.active {
    background: #EEF2FF;
    border-color: #6366F1;
}

.shape-dropzones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.shape-drop {
    border: 2px dashed rgba(148, 163, 184, 0.6);
    border-radius: 18px;
    padding: 24px 12px;
    background: #fff;
    cursor: pointer;
}

.shape-drop.filled {
    border-style: solid;
    border-color: #34D399;
    background: rgba(16, 185, 129, 0.08);
}

.counting-display {
    min-height: 120px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    font-size: 32px;
}

.counting-display span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FBBF24;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.counting-options {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.alphabet-card {
    text-align: center;
    border-radius: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #FDE68A, #FDBA74);
    color: #7C2D12;
}

.alphabet-prompt {
    font-size: 40px;
    font-weight: 700;
}

.alphabet-options {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.alphabet-chip {
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    cursor: pointer;
}

.animal-board .animal-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.animal-chip {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 14px;
    background: #fff;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.animal-label {
    font-weight: 600;
}

.animal-clue {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.storybook-board {
    background: linear-gradient(135deg, #E0F2FE, #F0ABFC);
    color: #0F172A;
}

.storybook-illustration {
    height: 180px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.1);
    margin-bottom: 16px;
}

.storybook-text {
    font-size: 18px;
    font-weight: 600;
    min-height: 60px;
}

.storybook-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.pn-note {
    font-size: 14px;
    color: #475569;
}

.dressup-board {
    background: linear-gradient(135deg, #DBEAFE, #FEF3C7);
}

.dressup-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 240px;
}

.avatar-base {
    position: relative;
    width: 150px;
    height: 220px;
}

.avatar-face {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-left: -40px;
    border-radius: 50%;
    background: #FDE68A;
}

.avatar-hair {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 110px;
    height: 60px;
    margin-left: -55px;
    border-radius: 50px;
    background: #4C1D95;
}

.avatar-top {
    position: absolute;
    top: 110px;
    left: 50%;
    width: 120px;
    height: 70px;
    margin-left: -60px;
    border-radius: 40px 40px 20px 20px;
    background: #EC4899;
}

.avatar-bottom {
    position: absolute;
    top: 170px;
    left: 50%;
    width: 110px;
    height: 60px;
    margin-left: -55px;
    border-radius: 20px;
    background: #0EA5E9;
}

.avatar-accessory {
    position: absolute;
}

.avatar-accessory.hat {
    top: 0;
    left: 50%;
    width: 90px;
    height: 40px;
    margin-left: -45px;
    border-radius: 20px 20px 10px 10px;
    background: #FBBF24;
}

.avatar-accessory.bag {
    top: 150px;
    left: calc(50% + 50px);
    width: 30px;
    height: 50px;
    border-radius: 12px;
    background: #A855F7;
}

.avatar-accessory.hidden {
    display: none;
}

.dressup-controls .control-group {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.swatch-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    cursor: pointer;
}

.accessory-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .pn-hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .pn-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pn-card-grid .pn-card-list {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .pn-game-layout {
        flex-direction: row;
        align-items: stretch;
    }

    .pn-game-board {
        flex: 1 1 65%;
    }

    .pn-game-sidebar {
        flex: 1 1 35%;
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .pn-hero {
        padding: 24px;
    }

    .pn-hero h1 {
        font-size: 26px;
    }

    .pn-game-section {
        padding: 16px;
    }

    .pn-game-board {
        padding: 16px;
    }
}















