.klp-reader {
    --klp-blue: #173b5e;
    width: 100%;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 18px;
    border-radius: 14px;
    background: #f3f6f8;
    box-sizing: border-box;
}
.klp-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    min-height: 520px;
    overflow: hidden;
    outline: none;
}
.klp-page {
    display: none;
    width: min(45%, 470px);
    margin: 0;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.16));
}
.klp-page.is-visible { display: block; }
.klp-page img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 74vh;
    object-fit: contain;
    background: #fff;
}
.klp-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.klp-controls button {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--klp-blue);
    font-size: 24px;
    cursor: pointer;
}
.klp-controls button:disabled { opacity: .38; cursor: default; }
.klp-counter { min-width: 92px; text-align: center; font-weight: 700; }
.klp-finish { text-align: center; margin: 18px 0 2px; }
.klp-finish-button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 7px;
    color: #fff !important;
    background: #1778d3;
    font-weight: 700;
    text-decoration: none !important;
}
.klp-reader:fullscreen {
    max-width: none;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #e9eef2;
}
.klp-reader:fullscreen .klp-stage { flex: 1; }
@media (max-width: 767px) {
    .klp-reader { padding: 10px; margin: 1rem auto; }
    .klp-stage { min-height: 420px; }
    .klp-page { width: 100%; max-width: 620px; }
    .klp-page img { max-height: 72vh; }
}
