#puzzle-container[data-type="matching"] .puzzle-item {
    width: 80px;
    height: 80px;
    background: #f8d7da;
    text-align: center;
    line-height: 80px;
    border: 2px solid #d81b60;
    border-radius: 5px;
    cursor: move;
}
#puzzle-container[data-type="matching"] .puzzle-target {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 2px dashed #d81b60;
    border-radius: 5px;
}
#puzzle-container[data-type="matching"] .puzzle-target.matched {
    background: #d4edda;
    border-style: solid;
}
#puzzle-container[data-type="memory"] {
    display: grid;
    grid-template-columns: repeat(2, 80px);
    gap: 10px;
}
#puzzle-container[data-type="memory"] .memory-card {
    width: 80px;
    height: 80px;
    background: #f8d7da;
    text-align: center;
    line-height: 80px;
    border: 2px solid #d81b60;
    border-radius: 5px;
    cursor: pointer;
}
#puzzle-container[data-type="memory"] .memory-card.flipped {
    background: #fff;
}
#puzzle-container[data-type="memory"] .memory-card.matched {
    background: #d4edda;
}
#puzzle-container[data-type="jigsaw"] {
    position: relative;
    width: 160px;
    height: 160px;
}
#puzzle-container[data-type="jigsaw"] .jigsaw-piece {
    width: 80px;
    height: 80px;
    background: #f8d7da;
    border: 1px solid #d81b60;
    position: absolute;
    cursor: move;
}
#puzzle-container[data-type="jigsaw"] .jigsaw-piece:nth-child(1) { top: 0; left: 0; }
#puzzle-container[data-type="jigsaw"] .jigsaw-piece:nth-child(2) { top: 0; left: 80px; }
#puzzle-container[data-type="jigsaw"] .jigsaw-piece:nth-child(3) { top: 80px; left: 0; }
#puzzle-container[data-type="jigsaw"] .jigsaw-piece:nth-child(4) { top: 80px; left: 80px; }

#ai-recommendations {
    margin: 20px 0;
}
#ai-buttons button {
    margin-right: 10px;
}
#ai-response {
    margin-top: 10px;
    padding: 10px;
    background: #f8d7da;
    border-radius: 5px;
}
#ai-budget-input {
    margin-top: 10px;
}
#ai-budget-input input {
    padding: 5px;
    margin-right: 10px;
}