/* =================== slide-viewer-main.css =================== */
/* 슬라이드 뷰어 콘텐츠 필수 스타일만 유지 (레이아웃은 Tailwind로 처리) */

/* =================== 디버그 숨김 =================== */
.debug-info, #debug-info {
    display: none !important;
    visibility: hidden !important;
}

/* =================== GIF 컨테이너 =================== */
.question-result-gif, #grade-result-gif {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 100px;
    height: 100px;
    z-index: 50;
    pointer-events: none;
}

.question-result-gif img, #grade-result-gif img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
    animation: fadeInScale 0.5s ease-out;
}

/* 일반 Multiple형은 좌측 상단 */
#grade-result-gif {
    top: 1rem;
    left: 1rem;
    right: auto;
}

/* =================== 애니메이션 =================== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes checkIn {
    from {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes pulseCorrect {
    0%, 100% { transform: scale(1.15); }
    50% { transform: scale(1.2); }
}

@keyframes pulseWrong {
    0%, 100% { transform: scale(1.15); }
    25%, 75% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
}
