/* Telas de entrar / criar conta. */
body.rk-view-auth { min-height: 100vh; }
.rk-au { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

/* Lado visual */
.rk-au__art { position: relative; overflow: hidden; background: #050505; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(24px, 4vh, 48px); padding: clamp(32px, 5vw, 72px); isolation: isolate; border-right: 1px solid var(--rk-line); }
.rk-au__art::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .07; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 80%); }
.rk-au__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rk-acc); }
.rk-au__glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: 30%; top: -10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 52, 0, .35), transparent 65%); filter: blur(10px); }
/* As capas ficam no fluxo, acima do texto, e encolhem em telas baixas para nunca cobrir a chamada. */
.rk-au__stack { position: relative; flex: none; align-self: center; width: min(86%, 520px, calc((100vh - 360px) * 1.33)); min-width: 200px; aspect-ratio: 16 / 12; margin-top: 2vh; }
.rk-au__card { position: absolute; width: 74%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08); animation: rk-float 7s ease-in-out infinite; }
.rk-au__card--0 { left: 0; top: 0; transform: rotate(-6deg); }
.rk-au__card--1 { right: 0; top: 22%; transform: rotate(4deg); animation-delay: -2.3s; z-index: 2; }
.rk-au__card--2 { left: 10%; bottom: 0; transform: rotate(-1deg); animation-delay: -4.6s; z-index: 3; }
@keyframes rk-float { 50% { translate: 0 -10px; } }
.rk-au__copy { position: relative; z-index: 4; max-width: 480px; }
.rk-au__copy h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.rk-au__copy ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; color: #c4c4c8; font-weight: 600; font-size: 15px; }
.rk-au__copy li { display: flex; align-items: center; gap: 10px; }
.rk-au__copy li .rk-ico { width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: rgba(255, 52, 0, .14); color: var(--rk-acc); }

/* Formulário */
.rk-au__main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px 24px; background: var(--rk-bg); }
.rk-au__box { width: 100%; max-width: 420px; }
.rk-au__logo { height: 24px; width: auto; margin-bottom: 34px; }
.rk-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: #141415; border: 1px solid var(--rk-line); margin-bottom: 30px; }
.rk-seg a { text-align: center; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--rk-mute); transition: .15s; }
.rk-seg a.is-on { background: #fff; color: #0a0a0a; }
.rk-seg a:not(.is-on):hover { color: #fff; }
.rk-au__title { font-size: clamp(26px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.rk-au__sub { margin: 8px 0 24px; color: var(--rk-mute); }
.rk-au__form { display: grid; gap: 16px; }
.rk-au__alt { margin: 22px 0 0; text-align: center; color: var(--rk-mute); font-size: 14px; }
.rk-au__alt a, .rk-field__top a { color: var(--rk-acc2); font-weight: 700; }
.rk-au__foot { margin: 40px 0 0; font-size: 12px; color: var(--rk-dim); }
.rk-field__top { display: flex; justify-content: space-between; align-items: baseline; }
.rk-field__top a { font-size: 13px; }
.rk-btn--block { width: 100%; height: 52px; font-size: 16px; margin-top: 4px; }
.rk-pass { position: relative; display: block; }
.rk-pass input { padding-right: 84px; }
.rk-pass__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255, 255, 255, .06); color: var(--rk-mute); font: 700 12px/1 var(--rk-b); padding: 8px 10px; border-radius: 7px; cursor: pointer; }
.rk-pass__eye:hover { color: #fff; }
.rk-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.rk-meter i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); transition: background .2s; }
.rk-meter[data-s="1"] i:nth-child(1) { background: #ef4444; }
.rk-meter[data-s="2"] i:nth-child(-n+2) { background: #f59e0b; }
.rk-meter[data-s="3"] i { background: var(--rk-ok); }
.rk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rk-alert { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--rk-line); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.rk-alert--bad { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .4); color: #fca5a5; }

@media (max-width: 900px) {
	.rk-au { grid-template-columns: 1fr; }
	.rk-au__art { min-height: 0; height: 210px; padding: 24px 20px; border-right: 0; border-bottom: 1px solid var(--rk-line); justify-content: flex-end; }
	.rk-au__copy ul, .rk-au__copy .rk-eyebrow { display: none; }
	.rk-au__copy h2 { font-size: 22px; max-width: 58%; text-shadow: 0 2px 16px #050505; }
	.rk-au__stack { position: absolute; top: 16px; right: -30px; width: 240px; min-width: 0; margin: 0; opacity: .5; }
	.rk-au__main { justify-content: flex-start; padding-top: 30px; }
	.rk-au__logo { display: none; }
}
@media (max-width: 420px) {
	.rk-au__art { height: 180px; }
	.rk-au__stack { width: 200px; right: -40px; }
}
