

.mk-compare {
    --split: 50%;
    cursor: ew-resize;
    touch-action: pan-y;
}

.mk-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mk-face--new {
    clip-path: inset(0 0 0 var(--split));
    background: var(--bg-deep);
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.mk-face--old {
    background: #d9d9d2;
    color: #111;
    font-family: 'Times New Roman', Times, serif;
    padding: 0.9em;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}

.old-top {
    text-align: center;
    border-bottom: 2px solid #7a7a70;
    padding-bottom: 0.4em;
}

.old-logo {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #123a8a;
}

.old-tagline {
    display: block;
    font-size: 0.75em;
    font-style: italic;
    color: #444;
}

.old-nav {
    display: flex;
    gap: 0.9em;
    font-size: 0.75em;
    color: #123a8a;
}

.old-nav span {
    text-decoration: underline;
}

.old-body {
    display: flex;
    gap: 0.8em;
    flex: 1;
}

.old-col {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 0.42em;
    color: #555;
}

.old-line {
    display: block;
    width: 100%;
    height: 0.4em;
    background: currentColor;
    opacity: 0.45;
}

.old-line--s { width: 65%; }

.old-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.old-box {
    height: 4em;
    border: 1px solid #9a9a90;
    background: repeating-linear-gradient(45deg, #c9c9c1 0 4px, #d6d6ce 4px 8px);
}

.old-counter {
    font-size: 0.7em;
    background: #000;
    color: #0f0;
    font-family: 'Courier New', monospace;
    padding: 0.15em 0.3em;
    text-align: center;
}

.new-nav {
    display: flex;
    align-items: center;
    gap: 0.8em;
    padding: 0.9em 1.2em;
    flex: none;
}

.new-nav .mk-logo { background: var(--color-cyan); }

.new-hero {
    flex: 1;
    padding: 0 1.2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6em;
}

.new-h1 {
    width: 78%;
    height: 1.1em;
    border-radius: 0.25em;
    background: currentColor;
    opacity: 0.9;
}

.new-h1--short { width: 52%; }

.new-sub {
    width: 62%;
    height: 0.45em;
    border-radius: 0.3em;
    background: currentColor;
    opacity: 0.3;
}

.new-cta {
    width: 8em;
    height: 1.9em;
    border-radius: 2em;
    background: var(--color-cyan);
    margin-top: 0.5em;
}

.new-slots {
    display: flex;
    gap: 0.6em;
    padding: 1.2em;
    flex: none;
}

.new-slot {
    flex: 1;
    height: 2.4em;
    border-radius: 0.4em;
    border: 1px solid rgba(78, 205, 196, 0.25);
    background: rgba(78, 205, 196, 0.06);
}

.new-slot--on {
    background: rgba(78, 205, 196, 0.55);
    border-color: rgba(78, 205, 196, 0.7);
}

.mk-tag {
    position: absolute;
    top: 0.8em;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25em 0.7em;
    border-radius: 2em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
    z-index: 3;
}

.mk-tag--old {
    left: 0.8em;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.mk-tag--new {
    right: 0.8em;
    background: rgba(78, 205, 196, 0.85);
    color: #0f0f0f;
}

.mk-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split);
    width: 2px;
    margin-left: -1px;
    background: var(--color-cyan);
    z-index: 4;
    cursor: ew-resize;
    touch-action: none;
}

.mk-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-cyan);
    color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mk-grip svg {
    width: 17px;
    height: 17px;
}

.mk-handle:hover .mk-grip,
.mk-handle:focus-visible .mk-grip,
.mk-compare.is-dragging .mk-grip {
    transform: translate(-50%, -50%) scale(1.14);
}

.mk-handle:focus-visible {
    outline: none;
}

.mk-handle:focus-visible .mk-grip {
    box-shadow: 0 0 0 3px var(--bg-deep), 0 0 0 5px var(--color-cyan);
}
