#memeCaptchaModal{position:fixed;inset:0;z-index:25000;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;background:rgba(15,22,38,.56);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#memeCaptchaModal[hidden]{display:none!important}
html:root body #memeCaptchaModal .meme-captcha-box{position:relative;width:min(420px,100%);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:22px;border:1px solid var(--border,#ccd2df);border-radius:20px;background:var(--surface,#fff);color:var(--text,#333c55);box-shadow:0 20px 70px rgba(0,0,0,.22);font-family:inherit}
#memeCaptchaModal h2{margin:0 40px 8px 0;font-size:19px;line-height:1.6;color:inherit}
#memeCaptchaModal .meme-captcha-close{position:absolute;top:14px;right:14px;width:32px;height:32px;padding:7px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border,#ccd2df);border-radius:9px;background:var(--soft,#eef1f8);color:inherit;cursor:pointer}
#memeCaptchaModal .meme-captcha-close svg{width:18px;height:18px}
#memeCaptchaQuestion{font-size:17px;line-height:1.7;margin:4px 0 14px;font-weight:600;overflow-wrap:anywhere}
#memeCaptchaGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#memeCaptchaGrid button{display:block;position:relative;aspect-ratio:1;border:2px solid var(--border,#ccd2df);border-radius:12px;background:var(--soft,#eef1f8);color:inherit;overflow:hidden;padding:4px;cursor:pointer;touch-action:manipulation}
#memeCaptchaGrid button:disabled{cursor:default;opacity:.75}
#memeCaptchaGrid[aria-busy="true"] button:disabled{cursor:wait}
#memeCaptchaGrid button:not(:disabled):hover,#memeCaptchaGrid button:focus-visible{border-color:var(--primary,#657eae);outline:2px solid var(--primary-light,#a6b9d9);outline-offset:2px}
#memeCaptchaGrid button.selected{border-color:var(--primary,#657eae);box-shadow:0 0 0 2px var(--primary-light,#a6b9d9)}
#memeCaptchaGrid img{display:block;width:100%;height:100%;object-fit:contain;opacity:1;pointer-events:none}
#memeCaptchaMessage{font-size:13px;line-height:1.7;color:var(--muted,#69768e);min-height:22px;margin:12px 0 0}
#memeCaptchaModal .meme-captcha-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:10px}
#memeCaptchaModal .meme-captcha-actions button{padding:8px 13px;border:1px solid var(--border,#ccd2df);border-radius:9px;background:var(--soft,#eef1f8);color:inherit;font:inherit;font-size:13px;cursor:pointer}
#memeCaptchaModal button:focus-visible{outline:2px solid var(--primary,#657eae);outline-offset:3px}
@media(max-width:380px){html:root body #memeCaptchaModal .meme-captcha-box{padding:18px}#memeCaptchaGrid{gap:8px}}

#memeCaptchaExpiry{display:inline-block;margin-left:10px;font-size:12px;font-weight:400;white-space:nowrap;color:var(--muted,#69768e)}
#memeCaptchaExpiry[hidden]{display:none!important}
