/* Crea Tu Joya — ventana «Guarda tu joya en tu cuenta». Negro, blanco y grises; 16 px en campos (sin zoom en iOS). */
.ctj-gate-open { overflow: hidden; }
.ctj-gate__back { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .55); font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.ctj-gate__box { position: relative; box-sizing: border-box; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px 24px 22px; background: #fff; color: #111; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.ctj-gate__box *, .ctj-gate__box *::before, .ctj-gate__box *::after { box-sizing: border-box; }
.ctj-gate__x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #111; font-size: 28px; line-height: 1; cursor: pointer; }
.ctj-gate__x:hover { background: #f2f2f2; }
.ctj-gate__title { margin: 0 40px 8px 0; font-size: 22px; line-height: 1.2; font-weight: 600; color: #111; }
.ctj-gate__lead { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: #595959; }
.ctj-gate__tabs { display: flex; gap: 6px; margin: 0 0 16px; padding: 4px; background: #f2f2f2; border-radius: 999px; }
.ctj-gate__tab { flex: 1; min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: #111; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ctj-gate__tab[aria-selected="true"] { background: #111; color: #fff; }
.ctj-gate__field { margin: 0 0 12px; }
.ctj-gate__field[hidden], .ctj-gate__hint[hidden], .ctj-gate__priv[hidden], .ctj-gate__lost[hidden] { display: none; }
.ctj-gate__field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #111; }
.ctj-gate__field input { width: 100%; min-height: 48px; padding: 10px 18px; border: 1px solid #767676; border-radius: 999px; background: #fff; color: #111; font: inherit; font-size: 16px; }
.ctj-gate__field input:focus-visible, .ctj-gate__go:focus-visible, .ctj-gate__tab:focus-visible, .ctj-gate__x:focus-visible, .ctj-gate__lost:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.ctj-gate__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ctj-gate__hint { margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: #595959; }
.ctj-gate__msg { min-height: 0; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #b3261e; }
.ctj-gate__msg:empty { display: none; }
.ctj-gate__go { display: block; width: 100%; min-height: 48px; padding: 0 22px; border: 2px solid #111; border-radius: 999px; background: #111; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.ctj-gate__go:hover { background: #fff; color: #111; }
.ctj-gate__go:disabled { opacity: .55; cursor: progress; }
.ctj-gate__lost { display: block; margin: 12px 0 0; padding: 10px 0; text-align: center; font-size: 14px; color: #111; text-decoration: underline; }
.ctj-gate__priv { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: #595959; text-align: center; }
.ctj-gate__priv a { color: #111; text-decoration: underline; }
.ctj-gate__toast { position: fixed; left: 50%; bottom: 24px; z-index: 100001; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 20px; transform: translateX(-50%); background: #111; color: #fff; border-radius: 999px; font: 600 14px/1.3 'Work Sans', system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ctj-gate__toast a { color: #fff; text-decoration: underline; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .ctj-gate__box { animation: ctj-gate-in .18s ease-out; } @keyframes ctj-gate-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }
