.kids-header {
    background: var(--gradient-brand);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;

    .brand {
        font-size: 1.4rem;
        font-weight: 700;
    }
}

.kids-content {
    padding: 32px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.kids-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: var(--primary);
}

.kids-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 1.1rem;
}

.theme-picker,
.cached-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    list-style: none;
}

.theme-picker li,
.cached-grid li {
    display: contents;
}

.theme-emoji {
    font-size: 2.8rem;
    display: block;
    line-height: 1;
}

.cached-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 48px;
    margin-bottom: 8px;
    color: var(--primary);
}

.cached-btn {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;

    img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        display: block;
    }
}

.cached-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    padding: 10px 12px;
    text-transform: capitalize;
}

.kids-timer-display {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
}

.timer-block-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 30, 0.96);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.timer-block-box {
    background: var(--surface);
    border-radius: 28px;
    padding: 48px 40px;
    max-width: 400px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);

    h2 {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 12px;
    }

    p {
        color: var(--text-muted);
        font-size: 1.1rem;
        line-height: 1.6;
    }

    button {
        margin-top: 1rem;
        transition: background 0.2s, color 0.2s, scale 0.2s;

        &:hover {
            background: var(--primary-dark);
            color: #fff;
            scale: 1.05;
        }
    }
}

.timer-block-emoji {
    font-size: 4rem;
    display: grid;
    gap: 2rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .theme-picker {
        grid-template-columns: repeat(2, 1fr);
    }

    .kids-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .kids-content {
        padding: 20px 12px;
    }
}
