.scene {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.npc-bubble {
    background-color: #f1f8e9;
    border: 3px solid #8bc34a;
    border-radius: 20px 20px 20px 0;
    padding: 15px 20px;
    text-align: left;
    position: relative;
    box-shadow: 0 5px 0 #c5e1a5;
}

.npc-bubble p { margin: 5px 0; }

.player-bubble {
    background-color: #e3f2fd;
    border: 3px solid #2196f3;
    border-radius: 20px 20px 0 20px;
    padding: 15px 20px;
    align-self: flex-end;
    width: 85%;
    box-shadow: 0 5px 0 #bbdefb;
    box-sizing: border-box;
}

.answer-slots {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-height: 55px;
    background: rgba(255,255,255,0.5);
    padding: 10px;
    border-radius: 10px;
}

.slot-item {
    background: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 0 #1565C0;
    user-select: none;
    animation: popIn 0.2s ease;
}

.slot-item:active {
    transform: translateY(4px);
    box-shadow: none;
}

.inventory {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px;
    background: #eeeeee;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px dashed #bdbdbd;
}

.inv-item {
    padding: 12px 20px;
    background: white;
    border: 3px solid #9e9e9e;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.1s;
    user-select: none;
    box-shadow: 0 4px 0 #9e9e9e;
}

.inv-item:hover { transform: translateY(-2px); }
.inv-item:active { transform: translateY(4px); box-shadow: none; }

.inv-item.hidden {
    visibility: hidden;
}

.submit-btn {
    width: 100%;
    font-size: 22px;
    height: 60px;
    background-color: #E91E63;
    box-shadow: 0 5px 0 #C2185B;
}

.submit-btn:hover { box-shadow: 0 7px 0 #C2185B; }
.submit-btn:active { box-shadow: 0 2px 0 #C2185B; }

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.nav-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #9e9e9e;
    color: white;
    border-radius: 10px;
    font-family: cursive;
    transition: opacity 0.2s;
}

.nav-btn:hover { opacity: 0.8; }
