/* e_book PDF 플립북 뷰어 스킨 */
#bo_v_ebook { margin: 0 0 25px; }

.ebook_wrap {
    background: #2b2b2b;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* 툴바 */
.ebook_toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #1f1f1f;
    color: #fff;
}
.ebook_toolbar .ebk_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #3a3a3a;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}
.ebook_toolbar .ebk_btn:hover { background: #4a4a4a; }
.ebook_toolbar .ebk_dl { margin-left: auto; }
.ebook_toolbar .ebk_pageinfo { color: #ddd; font-size: 13px; }
.ebook_toolbar .ebk_pagenum {
    width: 44px;
    height: 30px;
    text-align: center;
    border: 1px solid #555;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font-size: 13px;
}

/* 무대 */
.ebook_stage {
    position: relative;
    min-height: 480px;
    padding: 18px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2b2b2b;
}
.ebook_flip { margin: 0 auto; }
.ebook_flip .stf__parent { margin: 0 auto; }

/* 상태/오류 메시지 */
.ebook_status {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
    font-size: 15px;
    background: rgba(0,0,0,0.25);
    text-align: center;
    padding: 20px;
}
.ebook_status.is-error { color: #ffb4b4; }

/* 전체화면 */
.ebook_wrap:fullscreen,
.ebook_wrap:-webkit-full-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.ebook_wrap:fullscreen .ebook_stage,
.ebook_wrap:-webkit-full-screen .ebook_stage {
    flex: 1;
    min-height: 0;
}

/* 모바일 */
@media (max-width: 768px) {
    .ebook_stage { min-height: 360px; padding: 10px 4px; }
    .ebook_toolbar { padding: 6px 8px; gap: 6px; }
    .ebook_toolbar .ebk_btn { min-width: 34px; height: 32px; padding: 0 8px; }
}
