.kk-compare {
    --kk-compare-blue: var(--brand, #95b3c4);
    --kk-compare-ink: var(--ink, #3e3e3e);
    --kk-compare-position: 50%;
    --kk-compare-gutter: clamp(12px, 3vw, 28px);
    --kk-compare-space: clamp(12px, 2.4vw, 24px);
    width: 100%;
    min-width: 0;
    color: var(--kk-compare-ink);
    font-family: inherit;
}
.kk-article-content .kk-compare, .kk-compare { margin: 16px 0; }
.kk-compare *, .kk-compare *::before, .kk-compare *::after { box-sizing: border-box; }
.kk-compare__stage { position: relative; isolation: isolate; background: #fff; }
.kk-compare__layer { position: relative; padding: var(--kk-compare-gutter); background: #fff; }
.kk-compare__layer--redesign { background: var(--kk-compare-blue); }
.kk-compare__paper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--kk-compare-space);
    background: #fff;
}
.kk-compare .kk-compare__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    cursor: inherit;
    pointer-events: none;
    user-select: none;
}
.kk-compare__fallback-label { display: block; margin-top: 12px; font-size: 14px; text-align: left; }
.kk-compare__divider, .kk-compare__range, .kk-compare__pill { display: none; }
.kk-compare.is-ready .kk-compare__stage { width: 100%; aspect-ratio: var(--kk-compare-ratio, 16 / 9); min-height: 220px; overflow: hidden; }
.kk-compare.is-ready .kk-compare__layer { position: absolute; inset: 0; padding-bottom: 64px; }
.kk-compare.is-ready .kk-compare__paper { width: 100%; height: 100%; }
.kk-compare.is-ready .kk-compare__image { width: 100%; height: 100%; }
.kk-compare.is-ready .kk-compare__layer--original { z-index: 0; }
.kk-compare.is-ready .kk-compare__layer--redesign { z-index: 1; clip-path: inset(0 calc(100% - var(--kk-compare-position)) 0 0); }
.kk-compare.is-ready .kk-compare__fallback-label { display: none; }
.kk-compare.is-ready .kk-compare__divider {
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: var(--kk-compare-position);
    width: 2px;
    background: var(--kk-compare-ink);
    transform: translateX(-1px);
    pointer-events: none;
}
.kk-compare[data-kk-compare-edge] .kk-compare__divider { visibility: hidden; }
.kk-compare__handle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--kk-compare-ink);
    border-radius: 50%;
}
.kk-compare.is-ready .kk-compare__range {
    display: block;
    position: absolute;
    z-index: 4;
    top: 0;
    left: -22px;
    width: calc(100% + 44px);
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: ew-resize;
    touch-action: pan-y;
}
.kk-compare__range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 44px; height: 44px; }
.kk-compare__range::-moz-range-thumb { width: 44px; height: 44px; border: 0; }
.kk-compare.is-ready .kk-compare__stage:focus-within { outline: 3px solid var(--kk-compare-ink); outline-offset: 3px; }
.kk-compare.is-ready .kk-compare__pill {
    display: block;
    position: absolute;
    z-index: 3;
    bottom: 16px;
    padding: 8px 14px;
    border: 1px solid var(--kk-compare-blue);
    border-radius: 999px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    background: #fff;
    color: var(--kk-compare-ink);
}
.kk-compare__pill--redesign { left: var(--kk-compare-gutter); }
.kk-compare__pill--original { right: var(--kk-compare-gutter); }
.kk-compare__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.kk-compare-editor__fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 20px; border: 1px solid #ececec; background: #fff; }
.kk-compare-editor__field strong { display: block; margin-bottom: 12px; }
.kk-compare-editor__field img { display: block; max-width: 100%; max-height: 140px; object-fit: contain; margin-bottom: 12px; }
.kk-compare-editor__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kk-compare-editor__help { margin: 12px 0; font-size: 13px; }
@media (max-width: 480px) {
    .kk-compare.is-ready .kk-compare__layer { padding-bottom: 56px; }
    .kk-compare.is-ready .kk-compare__pill { bottom: 10px; font-size: 12px; padding: 6px 11px; }
    .kk-compare-editor__fields { grid-template-columns: 1fr; }
}
@media print {
    .kk-compare.is-ready .kk-compare__stage { aspect-ratio: auto; overflow: visible; }
    .kk-compare.is-ready .kk-compare__layer { position: relative; clip-path: none; padding-bottom: var(--kk-compare-gutter); }
    .kk-compare.is-ready .kk-compare__image { height: auto; }
    .kk-compare.is-ready .kk-compare__range, .kk-compare.is-ready .kk-compare__divider, .kk-compare.is-ready .kk-compare__pill { display: none; }
    .kk-compare.is-ready .kk-compare__fallback-label { display: block; }
}
