/* Motor de idiomas: gate.css. Folha "Desbloquear <curso>" (engine/gate.js). Usa só os tokens do app (cor do curso). */
.modal.gate-sheet { text-align: left; padding-top: 30px; }
.gate-sheet .gate-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; }
.gate-sheet .gate-x:hover { background: var(--line); color: var(--ink); }
.gate-sheet .gate-x .ico { width: 20px; height: 20px; }
.gate-sheet .gate-art { display: block; width: 96px; height: 96px; margin: 0 0 6px -6px; }
.gate-sheet .eyebrow { color: var(--primary-ink); }
.gate-sheet h3 { padding-right: 40px; }
.gate-sheet p { margin-bottom: 18px; }
.gate-sheet .gate-buy { text-decoration: none; gap: 8px; }
.gate-sheet .gate-buy .ico { width: 20px; height: 20px; }
.gate-bundle { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 2px; color: var(--primary-ink); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.gate-bundle .ico { width: 18px; height: 18px; }
.gate-sheet .gate-have { margin-top: 12px; }
.gate-form { display: grid; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.gate-form[hidden] { display: none; }
.gate-lab { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.gate-in { width: 100%; min-height: 48px; padding: 0 14px; border: 2px solid var(--line-strong); border-radius: 12px; background: var(--card); color: var(--ink); font-size: 16px; box-sizing: border-box; }
.gate-in:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.gate-code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .18em; text-transform: uppercase; }
.gate-hint { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: -4px; }
.gate-sheet .gate-msg { min-height: 1.4em; margin: 0; font-size: 14.5px; color: var(--ink-2); }
.gate-sheet .gate-msg.bad { color: var(--bad); font-weight: 600; }
.gate-link { justify-self: center; border: 0; background: none; padding: 6px 8px; color: var(--primary-ink); font: inherit; font-size: 14.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
