/* Sign-in, create account, and choosing DM or Player. Built on the Modern theme. */
.login-page { display: block; min-height: 100vh; min-height: 100dvh; }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; align-content: center; justify-items: center; gap: 18px; padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.auth-brand { display: flex; align-items: center; gap: 12px; }
.auth-brand img { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }
.auth-brand .wordmark { font: 700 26px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.auth-card { width: min(380px, 100%); display: grid; gap: 14px; padding: 26px 24px 20px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); }
.auth-card.wide { width: min(620px, 100%); }
.auth-card h1 { margin: 0; font: 650 1.35rem var(--font); }
.auth-card label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 550; color: var(--text-2); }
.auth-card .input { font-size: 16px; padding: 10px 12px; }
.auth-card .btn.primary { min-height: 44px; font-size: 14.5px; }
.auth-err { margin: 0; color: var(--bad); font-size: 13px; }
.auth-alt { margin: 2px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.auth-alt a { color: var(--accent); }
.auth-note { width: min(620px, 100%); padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); color: var(--text); font-size: 13.5px; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .role-pick { grid-template-columns: 1fr; } }
.role-opt {
  position: relative; display: grid; justify-items: start; gap: 6px; text-align: left; padding: 18px 16px 16px; min-height: 150px;
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; font: inherit;
  transition: border-color .15s, background .15s, transform .1s;
}
.role-opt svg { color: var(--accent); margin-bottom: 4px; }
.role-opt b { font-size: 16px; font-weight: 650; }
.role-opt span { color: var(--text-2); font-size: 13px; line-height: 1.45; }
.role-opt:hover { border-color: var(--accent); background: var(--panel-3); }
.role-opt:active { transform: scale(.99); }
.role-opt.was { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.role-opt .last { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 99px; }
.role-opt:disabled { opacity: .6; cursor: progress; }

/* Fan Content Policy notice under the sign-in card */
.fcp { max-width: 440px; margin: 18px auto 0; font-size: 11.5px; line-height: 1.45; text-align: center; opacity: .6; }
.fcp a { color: inherit; }

/* Sign-up: terms box, email step */
.auth-card .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.auth-card .check input { margin-top: 3px; flex: none; }
.auth-card .check a { color: var(--accent); }
.auth-ok { margin: 0; padding: 9px 12px; border-radius: 9px; background: var(--accent-soft); color: var(--text); font-size: 13px; }
.verify-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#emailform { display: grid; gap: 10px; margin-top: 8px; }
