/* G3M human check — the ム card (g3m-human-check.php, assets/js/human-check.js).
 * Mock-up: https://claude.ai/artifact/Huiw2ji9EMH8rEEprjK3hL (screen 1, four states). */
.g3m-hc { margin: 16px 0; }
.g3m-hc__card {
    display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; box-sizing: border-box;
    padding: 10px 16px; text-align: left; cursor: pointer;
    background: var(--wp--preset--color--card, #0b1120);
    border: 1px solid #3b6a8a; border-radius: 14px;
    color: var(--wp--preset--color--white, #e8eef5); font: inherit; font-size: 16px;
}
.g3m-hc__card:focus-visible { outline: 2px solid var(--wp--preset--color--cyan, #00e5dd); outline-offset: 2px; }
.g3m-hc__card:disabled { cursor: default; opacity: 1; }
.g3m-hc__mark {
    flex: none; width: 34px; height: 34px; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
    border: 2px solid #3b6a8a; border-radius: 8px; font-size: 18px; color: #9fb3c4;
}
.g3m-hc__words { display: flex; flex-direction: column; gap: 2px; }
.g3m-hc__title { font-weight: 600; }
.g3m-hc__note { font-size: 12px; line-height: 1.45; color: #9fb3c4; }
.g3m-hc__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.g3m-hc[data-state="checking"] .g3m-hc__card,
.g3m-hc[data-state="done"] .g3m-hc__card { border-color: var(--wp--preset--color--cyan, #00e5dd); }
.g3m-hc[data-state="checking"] .g3m-hc__mark {
    border-radius: 50%; border: 3px solid var(--wp--preset--color--border, #1e3a50);
    border-top-color: var(--wp--preset--color--cyan, #00e5dd); border-right-color: var(--wp--preset--color--cyan, #00e5dd);
    color: var(--wp--preset--color--cyan, #00e5dd); animation: g3m-hc-spin 1s linear infinite;
}
.g3m-hc[data-state="done"] .g3m-hc__mark {
    border-radius: 50%; border-color: var(--wp--preset--color--cyan, #00e5dd);
    background: var(--wp--preset--color--cyan, #00e5dd); color: #04121a;
}
/* Amber is a state colour (not a brand colour), the same one the returns form uses for a warning. */
.g3m-hc[data-state="failed"] .g3m-hc__card { border-color: #e8b04a; }
.g3m-hc[data-state="failed"] .g3m-hc__mark { border-color: #e8b04a; color: #e8b04a; }
.g3m-hc[data-state="failed"] .g3m-hc__note { color: #c9d6e1; }

@keyframes g3m-hc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .g3m-hc[data-state="checking"] .g3m-hc__mark { animation: none; }
}

/* ── Email confirmation in My Account (g3m-email-verify.php; mock-up screens 2 and 3) ── */
.g3m-ev {
    display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 24px; padding: 22px 18px;
    text-align: center; box-sizing: border-box;
    background: var(--wp--preset--color--card, #0b1120);
    border: 1px solid var(--wp--preset--color--cyan, #00e5dd); border-radius: 14px;
    color: var(--wp--preset--color--white, #e8eef5);
}
.g3m-ev--existing { background: #0d2a36; }
.g3m-ev__icon { color: var(--wp--preset--color--cyan, #00e5dd); }
/* The theme sets account headings in capitals with wide tracking; the mock-up's are in normal case. */
.g3m-ev .g3m-ev__title { margin: 0; font-size: 24px; line-height: 1.2; text-transform: none; letter-spacing: normal; }
.g3m-ev__text { margin: 0; max-width: 34em; color: #c9d6e1; line-height: 1.5; }
.g3m-ev__waiting {
    width: 100%; max-width: 30em; box-sizing: border-box; padding: 12px 14px; text-align: left;
    background: var(--wp--preset--color--bg, #060a10); border: 1px solid var(--wp--preset--color--border, #1e3a50); border-radius: 10px;
}
.g3m-ev__waiting p { margin: 0; line-height: 1.5; }
.g3m-ev__label { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #9fb3c4; }
.g3m-ev__small { margin: 0; font-size: 13px; line-height: 1.5; color: #9fb3c4; }
.g3m-ev__form { width: 100%; max-width: 30em; margin: 0; }
.g3m-ev__btn {
    width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer;
    background: var(--wp--preset--color--cyan, #00e5dd); color: #04121a; font: inherit; font-weight: 700; font-size: 15px;
    overflow-wrap: anywhere;
}
.g3m-ev__btn--ghost { background: transparent; color: var(--wp--preset--color--cyan, #00e5dd); border: 1px solid var(--wp--preset--color--cyan, #00e5dd); }
.g3m-ev__btn:focus-visible { outline: 2px solid var(--wp--preset--color--white, #e8eef5); outline-offset: 2px; }
.g3m-ev__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--wp--preset--color--cyan, #00e5dd); }
.g3m-ev__notice {
    margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; text-align: center; line-height: 1.5;
    background: var(--wp--preset--color--card, #0b1120); color: var(--wp--preset--color--white, #e8eef5);
    border: 1px solid var(--wp--preset--color--cyan, #00e5dd);
}
.g3m-ev__notice--bad { border-color: #e8b04a; }
