/* ============================================================
   MH6 HOME — Cat CAPTCHA parody
   Familiar challenge layout, intentionally not a real reCAPTCHA.
   ============================================================ */

.cat-captcha {
    width: min(100%, 330px);
    margin: 22px auto 18px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(127, 127, 127, 0.34);
    border-radius: 3px;
    background: #f9f9f9;
    color: #202124;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    font-family: Arial, Helvetica, sans-serif;
}

.cat-captcha-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 88px;
    padding: 16px 18px;
    background: #4a90e2;
    color: #fff;
    box-sizing: border-box;
}

.cat-captcha-header strong {
    margin: 2px 0;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 700;
}

.cat-captcha-small {
    font-size: 13px;
    line-height: 1.25;
}

.cat-captcha-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 3px;
    background: #fff;
}

.cat-choice {
    position: relative;
    aspect-ratio: 1 / 1;
    min-width: 0;
    padding: 0;
    border: 0;
    background: #e5e5e5;
    cursor: pointer;
    overflow: hidden;
}

.cat-choice img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform 100ms ease;
}

.cat-choice:hover img {
    transform: scale(1.025);
}

.cat-choice.selected::after {
    content: "✓";
    position: absolute;
    top: 7px;
    right: 7px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #4a90e2;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.cat-choice.selected img {
    transform: scale(0.92);
}

.cat-choice:focus-visible {
    outline: 3px solid #202124;
    outline-offset: -3px;
}

.cat-captcha-footer {
    min-height: 62px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
}

.cat-captcha-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #777;
    font-size: 10px;
    text-transform: lowercase;
}

.cat-captcha-checkmark {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 2px solid #9aa0a6;
    color: #9aa0a6;
    font-size: 18px;
    font-weight: 700;
}

.cat-captcha-verify {
    min-width: 92px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 2px;
    background: #4a90e2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.cat-captcha-verify:hover:not(:disabled) {
    background: #357abd;
}

.cat-captcha-verify:disabled {
    opacity: 0.5;
    cursor: default;
}

.cat-captcha-status {
    min-height: 0;
    padding: 0 12px;
    color: #188038;
    background: #f9f9f9;
    font-size: 11px;
    line-height: 1.4;
    text-align: right;
}

.cat-captcha-status:not(:empty) {
    padding-bottom: 10px;
}

.cat-captcha.verified .cat-captcha-header {
    background: #3c8c5a;
}

.cat-captcha.verified .cat-captcha-verify {
    background: #3c8c5a;
    opacity: 1;
}

/* Keep the parody visually separate from MH6's neumorphic controls. */
html[data-theme="dark"] .cat-captcha {
    border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 420px) {
    .cat-captcha {
        width: 100%;
    }

    .cat-captcha-header strong {
        font-size: 21px;
    }
}
\n\n/* Password stays locked until the cat challenge has been validated. */\n#password:disabled {\n    opacity: 0.48;\n    cursor: not-allowed;\n    user-select: none;\n}\n\n#toggle-password:disabled {\n    opacity: 0.32;\n    cursor: not-allowed;\n}\n\n/* Short verdict shown after the password is accepted, before entering MH6 Home. */\n.cat-verdict {\n    min-height: 290px;\n    display: grid;\n    place-items: center;\n    padding: 24px 8px;\n}\n\n.cat-verdict[hidden] {\n    display: none;\n}\n\n.cat-verdict-card {\n    width: min(100%, 360px);\n    text-align: center;\n    animation: cat-verdict-in 180ms ease-out both;\n}\n\n.cat-verdict-kicker {\n    display: block;\n    margin-bottom: 10px;\n    font-size: 0.72rem;\n    font-weight: 700;\n    letter-spacing: 0.12em;\n    text-transform: uppercase;\n    opacity: 0.52;\n}\n\n.cat-verdict-card strong {\n    display: block;\n    font-size: clamp(1.9rem, 7vw, 3rem);\n    line-height: 1.02;\n    letter-spacing: -0.04em;\n}\n\n.cat-verdict-sub {\n    display: block;\n    margin-top: 14px;\n    font-size: 0.9rem;\n    opacity: 0.58;\n}\n\n@keyframes cat-verdict-in {\n    from {\n        opacity: 0;\n        transform: translateY(8px) scale(0.985);\n    }\n    to {\n        opacity: 1;\n        transform: translateY(0) scale(1);\n    }\n}\n