/* --- BỐ CỤC XƯỞNG VẼ --- */
.painter-arena {
    height: 220px;
    background: linear-gradient(180deg, #ffe082 0%, #ffb300 100%);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
    position: relative; 
    overflow: hidden;
}

/* Khung toan vẽ (Canvas) */
.easel-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140px; height: 100px;
    background-color: #ffffff;
    border: 6px solid #8d6e63; /* Khung gỗ */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: easel-float 3s ease-in-out infinite alternate;
}

/* Chân giá đỡ (giả lập) */
.easel-bg::after {
    content: '';
    position: absolute;
    bottom: -30px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 30px;
    border-left: 6px solid #8d6e63;
    border-right: 6px solid #8d6e63;
    z-index: 1;
}

@keyframes easel-float {
    0% { transform: translate(-50%, -45%); }
    100% { transform: translate(-50%, -55%); }
}

.tool-icon {
    font-size: 3rem;
    animation: draw-motion 2s ease-in-out infinite;
}

@keyframes draw-motion {
    0% { transform: rotate(0) scale(1); }
    50% { transform: rotate(15deg) scale(1.2); }
    100% { transform: rotate(0) scale(1); }
}

/* Nhân vật Họa sĩ */
.artist-char {
    position: absolute;
    bottom: 40px;
    left: 15%;
    font-size: 4rem;
    z-index: 5;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.4));
}

/* Nhảy mừng */
.happy-jump {
    animation: build-jump 0.8s ease-out forwards !important;
}
@keyframes build-jump {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.1); }
    100% { transform: translateY(0) scale(1); }
}

/* Rung lắc khi sai */
.shake-error { animation: shake-char 0.4s !important; }
@keyframes shake-char {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}

.min-h-75 { min-height: 85px; }