/* ====================================================================
   파일: site-detail-ajax.css
   담당: AJAX 상세보기 로딩·오류·숨김
   수정 안내: sites/docs/CSS_수정가이드.md 참고
   주의: 기존 규칙 순서 및 @media 구간을 변경하지 마세요.
   ==================================================================== */
.eh-ajax-slot[hidden]{display:none!important} .eh-detail-loading,.eh-detail-error{padding:24px;text-align:center;color:#555} .eh-detail-error{color:#c0392b} body.eh-modal-open{overflow:hidden} .eh-detail-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box} .eh-detail-modal__shade{position:absolute;inset:0;background:rgba(0,0,0,.56)} .eh-detail-modal__panel{position:relative;z-index:1;width:min(900px,100%);max-height:calc(100vh - 40px);background:#fff;border-radius:10px;box-shadow:0 15px 50px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden} .eh-detail-modal__head{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #ddd;background:#fff} .eh-detail-modal__close{font-size:28px;line-height:1;border:0;background:transparent;cursor:pointer;padding:0 5px} .eh-detail-modal__body{overflow:auto;min-height:100px;padding:14px} .eh-detail-modal__body .list_detail{display:block!important;position:relative;width:100%;box-sizing:border-box} @media(max-width:600px){.eh-detail-modal{padding:8px}.eh-detail-modal__panel{max-height:calc(100vh - 16px)}.eh-detail-modal__body{padding:8px}}

/* 108차: 상세보기 AJAX 중앙 로딩 상태 */
.eh-detail-loading{box-sizing:border-box;min-height:210px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px 16px;text-align:center;color:var(--eh-accent,#357fcb);font-size:14px;font-weight:400}
.eh-detail-loading strong{font-size:15px;font-weight:600;color:inherit}
.eh-detail-loading__hint{font-size:12px;font-weight:400;color:#777}
.eh-detail-loading__spinner{display:block;width:42px;height:42px;box-sizing:border-box;border:4px solid rgba(128,128,128,.18);border-top-color:currentColor;border-radius:50%;animation:eh-detail-spin .8s linear infinite}
@keyframes eh-detail-spin{to{transform:rotate(360deg)}}
.eh-detail-error{min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box}
.eh-detail-retry{cursor:pointer;border:1px solid currentColor;border-radius:7px;padding:8px 17px;background:transparent;color:inherit;font:inherit}
.eh-detail-retry:hover{background:rgba(128,128,128,.08)}
html[data-eh-theme="rose"] .eh-detail-loading{color:#a83d75}
html[data-eh-theme="clean"] .eh-detail-loading{color:#486f8b}
html[data-eh-theme="night"] .eh-detail-loading{color:#9bc5ff}
@media(prefers-reduced-motion:reduce){.eh-detail-loading__spinner{animation-duration:2s}}
