/* Sign-in page of the web version (layout only; colours, inputs and buttons come from style.css) */
body.loginPage { height: auto; min-height: 100dvh; overflow: auto; display: block; background: linear-gradient(160deg, var(--brand-50) 0%, var(--bg) 46%); }
.loginShell { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.loginCard { width: min(400px, 100%); padding: 28px 28px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); }
.loginBrand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.loginBrand strong { display: block; font-size: 14px; font-weight: 650; color: var(--text); }
.loginBrand small { display: block; color: var(--text-3); font-size: 11.5px; }
.loginMark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 16px; font-weight: 700; }
.loginCard h1 { margin: 0 0 4px; font-size: 20px; font-weight: 650; }
.loginCard .hint { margin: 0 0 4px; color: var(--text-2); font-size: 12.5px; }
.loginCard .message { min-height: 20px; margin: 12px 0 8px; font-size: 12.5px; }
.loginCard .message.error { color: var(--danger); }
.loginCard input { padding: 9px 11px; font-size: 13.5px; }
.loginCard .segmented button { min-height: 32px; font-size: 12.5px; }
.loginCard button.primary { min-height: 40px; font-size: 14px; }
.loginCard button.captchaImage { height: 40px; min-height: 40px; }
.smsTitle { margin: 6px 0 4px; font-size: 15px; font-weight: 650; }
.smsRow { display: flex; align-items: flex-end; gap: 8px; }
.smsRow .field { flex: 1; margin-bottom: 0; }
.smsRow button { min-height: 40px; white-space: nowrap; }
.smsBack { margin-top: 8px; min-height: 36px; }
.puzzleBox { margin: 10px 0 0; }
.puzzleStage { position: relative; width: 310px; max-width: 100%; margin: 0 auto; border-radius: 6px; overflow: hidden; user-select: none; touch-action: none; }
.puzzleStage img { display: block; width: 100%; height: auto; }
.puzzleStage .puzzlePiece { position: absolute; top: 0; left: 0; width: 15.16%; height: 100%; }
.puzzleTrack { position: relative; width: 310px; max-width: 100%; height: 38px; margin: 6px auto 0; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); color: var(--text-3); font-size: 12px; display: flex; align-items: center; justify-content: center; user-select: none; touch-action: none; }
.puzzleHandle { position: absolute; top: -1px; left: 0; width: 47px; height: 38px; min-height: 38px; padding: 0; border-radius: 6px; background: var(--brand); color: #fff; font-size: 16px; cursor: grab; touch-action: none; }
.loginNote { margin: 14px 0 0; color: var(--text-3); font-size: 11.5px; line-height: 1.6; }
.loginFoot { margin: 16px 0 0; color: var(--text-3); font-size: 11.5px; }
@media (max-width: 420px) { .loginCard { padding: 22px 18px 18px; } }
