.site-v2:has(.v2-auth-page) { min-width: 1280px; background: var(--color-page); }
.site-v2:has(.v2-auth-page) #main-content { min-height: 1080px; }
.v2-auth-page { position: relative; width: 100%; height: 1080px; padding-top: 99px; background: var(--color-page); }
.v2-auth-logo-link { position: absolute; top: 32px; left: calc(50% - 600px); display: block; width: 141px; height: 32px; z-index: 10; transition: opacity .2s; }
.v2-auth-logo-link:hover { opacity: .85; }
.v2-auth-logo-link img { display: block; width: 141px; height: 32px; }
.v2-auth-card { width: 1200px; height: 881px; margin: 0 auto; display: flex; border: 1px solid var(--color-border); border-radius: 18px; background: #feffff; box-shadow: var(--shadow-auth-card); overflow: hidden; }
.v2-auth-card__visual, .v2-auth-card__panel { flex: 0 0 600px; width: 600px; height: 879px; }
.v2-auth-card__visual { margin: -1px 0 -1px -1px; height: 881px; }
.v2-auth-card__visual img { display: block; width: 600px; height: 881px; object-fit: cover; }
.v2-auth-card__panel { display: flex; align-items: center; justify-content: center; padding-top: 0; }
.v2-auth-flow, .v2-auth-result { width: 600px; padding: 0 50px; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.v2-auth-heading { width: 500px; height: 78px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 12px; }
.v2-auth-heading--center { align-items: center; text-align: center; }
.v2-auth-heading h1 { margin: 0; color: var(--color-text-primary); font-size: 28px; line-height: 42px; font-weight: var(--font-weight-medium); }
.v2-auth-heading p { margin: 0; color: var(--color-text-secondary); font-size: 16px; line-height: 24px; letter-spacing: 0; }
.v2-auth-tabs { width: 500px; height: 30px; display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.v2-auth-tab { position: relative; height: 30px; padding: 0; border: 0; color: var(--color-text-secondary); background: transparent; font-size: 16px; line-height: 24px; font-weight: var(--font-weight-medium); cursor: pointer; }
.v2-auth-tab.is-active { color: var(--color-text-primary); }
.v2-auth-tab.is-active::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; background: var(--color-brand); }
.v2-auth-mode-panels { width: 500px; }
.v2-auth-form { width: 500px; display: none; flex-direction: column; gap: 44px; }
.v2-auth-form.is-active { display: flex; }
.v2-auth-fields { width: 500px; display: flex; flex-direction: column; gap: 24px; }
.v2-auth-row { width: 500px; height: 24px; display: flex; align-items: center; justify-content: space-between; }
.v2-auth-link, .v2-auth-actions a { color: var(--color-brand); }
.v2-auth-actions { width: 500px; min-height: 89px; display: flex; flex-direction: column; gap: 18px; }
.v2-auth-actions .v2-button { width: 500px; height: 47px; min-height: 47px; padding: 0 14px; border-radius: 10px; font-size: 16px; line-height: 24px; font-weight: 400; }
.v2-auth-actions .v2-button.is-loading { opacity: .78; cursor: wait; }
.v2-auth-actions p { min-height: 24px; margin: 0; color: var(--color-text-secondary); font-size: 16px; line-height: 24px; text-align: center; }
.v2-auth-actions p a { font-weight: var(--font-weight-medium); }
.v2-auth-flow--login { height: 543px; }
.v2-auth-flow--register { gap: 44px; }
.v2-auth-flow--reset-account { height: 326px; }
.v2-auth-flow--reset-verify { height: 421px; }
.v2-auth-flow--reset-password { height: 465px; }
.v2-auth-password-rule { height: 20px; margin: 0; color: var(--color-text-secondary); font-size: 13px; line-height: 20px; white-space: nowrap; }
.v2-auth-result { gap: 44px; }
.v2-auth-result__icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--color-brand); background: var(--color-success-soft); font-size: 32px; line-height: 48px; font-weight: var(--font-weight-medium); }
.v2-auth-result__icon img { display: block; width: 72px; height: 72px; }
.v2-auth-result--success .v2-auth-result__icon { background: transparent; }
.v2-auth-result--failure .v2-auth-result__icon { color: var(--color-danger); background: var(--color-danger-soft); }
.v2-auth-result--processing .v2-auth-result__icon { color: var(--color-text-secondary); background: var(--color-surface-muted); }
.v2-auth-result--success .v2-auth-heading { height: auto; min-height: 78px; }
.v2-auth-result--success .v2-auth-heading p { max-width: 506px; white-space: normal; }
