@charset "UTF-8";
/* @view-transition {
    navigation: auto;
} */

.autocomplete-list {
    position: absolute;
    top: 100%; /* input 바로 아래 */
    left: 0;
    right: 0;
    margin-top: 4px; /* 약간 간격 */
    border: 1px solid #ddd;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
}

.autocomplete-list.hidden {
    display: none;
}

.autocomplete-list li {
    padding: 8px 12px;
    cursor: pointer;
}

.autocomplete-list li:hover {
    background: #f2f2f2;
}

.autocomplete-list li.active {
  background-color: #eee;
}

.detail_summary.w_1 {
    width: 100%;
    padding-bottom: 24px;
    border-bottom: 1px solid #888;
}

/* 요약 내부 */
.summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary pre {
    font-family: inherit;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 16px 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.ty_B {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ty_B dt {
    float: left;
    font-size: 14px;
    color: #888;
    font-weight: 600;
}

.ty_B dd {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .ty_B {
        flex-direction: column;
        gap: 6px;
    }
}

.table_datail_B {
    width: 100%;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 50%, #f2f2f2 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
    border-radius: 4px;
    display: inline-block;
    color: transparent !important;
    cursor: default;
    user-select: none;
}

.skeleton-text {
    width: 90%;
    height: 1.2rem;
    margin: 0 auto 5px;
}

.skeleton-double {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}
.skeleton-title {
    height: 1.5rem;
    width: 70%;
    margin-bottom: 12px;
}

/* 이미지 태그 전용 스켈레톤 */
img.skeleton {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4; /* 이북 커버 비율에 맞춰 조절 */
    object-fit: cover;
    background-color: #f2f2f2; /* 이미지 로드 전 배경색 */
}

/* 제목 스켈레톤 (텍스트가 없는 상태에서 높이 확보) */
h2 .skeleton-text {
    display: inline-block;
    height: 1.2rem;
    width: 80%;
}
