.ai-block {
    background: #FFF;
    color: #222;
    margin-bottom: 1.7rem;
}

.ai-block .status-header {
    position: sticky;
    top: 0;
    background: #FFF;
    padding: 0 0 4px;
    z-index: 10;
}
.ai-block .status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #222;
    line-height: 1.6;
}
.ai-block .status .icon {
    width: 25px;
    height: 16px;
    background: url('/image/ico-ai.png') no-repeat center;
    background-size: 25px auto;
    vertical-align: middle;
    position: relative;
    top: -1px;  
}
.ai-block .ai-body {
    padding: 1rem 1.2rem;
    background: linear-gradient(
        90deg,
        #ECFEFF 0%,
        #E0EFFF 45%,
        #FAF0FF 100%
    );
    border-radius: 12px;
}
/* 단계별 숨김처리 */
.ai-block .hidden {
    display: none;
}
  
/* 스켈레톤 */
.ai-body .skeleton-line {
    height: 19.2px;
    background: linear-gradient(
        90deg, 
        rgba(200, 217, 242, 0.3) 25%,
        rgba(200, 217, 242, 0.9) 50%,
        rgba(200, 217, 242, 0.3) 75%
    );
    background-size: 400% 100%;
    animation: shimmer 2s infinite;
    border-radius: 10px;
    margin: 9px 0;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
  
/* 텍스트 등장 애니메이션 */
.ai-block .text-output {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    font-size: 1.188rem;
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: 1.6;
}
.ai-block .text-output.visible {
    opacity: 1;
    transform: translateY(0);
}

/* visible될 때 애니메이션 적용 */
.ai-block .text-output.visible {
    animation: fadeSlideReveal 0.5s ease-out forwards;
}
  
@keyframes fadeSlideReveal {
    0% {
        opacity: 0;
        transform: translateY(0);
        clip-path: inset(0 100% 0 0);
    }
    40% {
        opacity: 1;
        clip-path: inset(0 30% 0 0);
    }
    100% {
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}