[v-cloak] {
  display: none;
}

:root {
  --auth-blue: var(--color-primary, #165dff);
  --auth-blue-hover: #4080ff;
  --auth-blue-soft: #eef3ff;
  --auth-green: #34a853;
  --auth-text: #202124;
  --auth-muted: #5f6368;
  --auth-subtle: #9aa0a6;
  --auth-line: #e8edf5;
  --auth-bg: #f6f8fa;
  --auth-shadow: 0 18px 50px rgba(25, 43, 77, 0.10);
  --auth-shadow-soft: 0 8px 26px rgba(25, 43, 77, 0.07);
}

html,
body {
  min-height: 100%;
  background: var(--auth-bg);
}

body {
  min-height: 100vh;
  color: var(--auth-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(246, 248, 250, 0) 42%),
    var(--auth-bg);
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
button,
input {
  font: inherit;
}

body a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

#login {
  min-height: 100vh;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(232, 237, 245, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.auth-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 182px;
  object-fit: contain;
}

.auth-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.auth-nav a:hover {
  color: var(--auth-blue);
  background: rgba(22, 93, 255, 0.08);
}

.auth-nav .auth-nav-primary {
  color: #fff;
  background: var(--auth-blue);
  box-shadow: 0 8px 18px rgba(22, 93, 255, 0.22);
}

.auth-nav .auth-nav-primary:hover {
  color: #fff;
  background: var(--auth-blue-hover);
}

.auth-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 7vh, 86px) 0 40px;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 460px);
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
}

.auth-main.auth-main-no-promo {
  grid-template-columns: minmax(390px, 460px);
  justify-content: center;
}

.auth-config-error {
  width: min(520px, calc(100% - 36px));
  margin: 15vh auto 0;
  padding: 24px;
  color: #c62828;
  line-height: 1.7;
  text-align: center;
  background: #fff;
  border: 1px solid #f2c7c7;
  border-radius: 12px;
  box-shadow: var(--auth-shadow-soft);
}

.auth-showcase {
  min-width: 0;
  display: grid;
  gap: 26px;
}

.auth-eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(22, 93, 255, 0.16);
  border-radius: 8px;
  color: var(--auth-blue);
  background: rgba(22, 93, 255, 0.06);
  font-size: 12px;
  font-weight: 700;
}

.auth-copy {
  display: grid;
  gap: 16px;
}

.auth-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.8;
}

.auth-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.auth-feature {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--auth-shadow-soft);
}

.auth-feature strong {
  display: block;
  color: var(--auth-text);
  font-size: 18px;
  line-height: 1.2;
}

.auth-feature span {
  display: block;
  margin-top: 7px;
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.45;
}

.auth-preview {
  position: relative;
  max-width: 720px;
  min-height: 290px;
  padding: 18px;
  border: 1px solid rgba(223, 230, 243, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--auth-shadow);
  overflow: hidden;
}

.auth-preview-media {
  position: relative;
  overflow: hidden;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f4f7fb;
}

.auth-preview-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.auth-shield {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(22, 93, 255, 0.18));
}

.auth-card-stack {
  width: 100%;
  display: grid;
  gap: 12px;
}

.auth-panel {
  position: relative;
  width: 100%;
  padding: 34px;
  border: 1px solid rgba(223, 230, 243, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--auth-shadow);
}

.auth-panel-head {
  display: block;
  padding-right: 142px;
  margin-bottom: 26px;
}

.auth-panel-title {
  min-width: 0;
}

.auth-panel-title h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-panel-title p {
  margin: 8px 0 0;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.55;
}

.auth-panel-title a {
  color: var(--auth-blue);
  font-weight: 700;
}

.auth-language {
  position: absolute;
  top: 28px;
  right: 34px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  height: 30px;
  color: var(--auth-subtle);
  font-size: 12px;
  white-space: nowrap;
}

.auth-language button {
  color: var(--auth-muted);
  background: transparent;
  cursor: pointer;
}

.auth-language button.active {
  color: var(--auth-text);
  font-weight: 700;
}

.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: #f7f9fd;
  margin-bottom: 22px;
}

.auth-tabs.auth-tabs-single {
  grid-template-columns: 1fr;
}

.auth-tab {
  min-height: 40px;
  border-radius: 7px;
  color: var(--auth-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-tab.active {
  color: var(--auth-blue);
  background: #fff;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.10);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-method-switch {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid rgba(22, 93, 255, 0.14);
  border-radius: 999px;
  background: rgba(22, 93, 255, 0.045);
}

.auth-method-switch button {
  min-width: 52px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--auth-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.auth-method-switch button.active {
  color: var(--auth-blue);
  background: #fff;
  box-shadow: 0 4px 11px rgba(22, 93, 255, 0.13);
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field label {
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-field-head {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-label-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.auth-label-row .auth-link {
  font-size: 13px;
}

.auth-input-wrap {
  position: relative;
  height: 48px;
}

.auth-input-wrap .auth-el-input,
.auth-input-wrap .el-input {
  display: block;
  height: 48px;
}

.auth-el-input .el-input__inner {
  width: 100%;
  height: 48px;
  display: block;
  padding: 0 14px;
  border: 1px solid #dfe4ee;
  border-radius: 8px;
  outline: none;
  color: var(--auth-text);
  background: #fff;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-el-input .el-input__inner:focus {
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.11);
}

.auth-el-input .el-input__inner::placeholder {
  color: #a7adb7;
}

.auth-phone-control {
  position: relative;
  height: 48px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
}

.auth-country-picker {
  position: relative;
  z-index: 5;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 48px;
  min-width: 0;
}

.auth-country-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 1px solid #dfe4ee;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: var(--auth-muted);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  font-size: 14px;
  font-weight: 800;
  line-height: 48px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-country-trigger:hover,
.auth-country-trigger.is-open {
  color: var(--auth-blue);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(22, 93, 255, 0.16);
}

.auth-country-trigger i {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.auth-country-trigger.is-open i {
  transform: translateY(2px) rotate(225deg);
}

.auth-phone-control .auth-phone-input .el-input__inner {
  height: 48px;
  line-height: 48px;
  border-radius: 0 8px 8px 0;
}

.auth-phone-control .auth-phone-input {
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 48px;
  min-width: 0;
}

.auth-country-panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  width: 292px;
  padding: 6px 10px 10px;
  border: 1px solid rgba(223, 230, 243, 0.96);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--auth-shadow-soft);
}

.auth-country-search {
  margin: 0 0 8px;
}

.auth-country-search input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dfe4ee;
  border-radius: 8px;
  outline: none;
  color: var(--auth-text);
  background: #f7f9fd;
  font-size: 13px;
}

.auth-country-search input:focus {
  border-color: var(--auth-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.10);
}

.auth-country-list {
  max-height: 238px;
  overflow-y: auto;
  display: grid;
  gap: 2px;
  padding-right: 2px;
}

.auth-country-row {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--auth-muted);
  background: transparent;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.auth-country-row:hover {
  color: var(--auth-blue);
  background: var(--auth-blue-soft);
}

.auth-country-row.selected {
  color: var(--auth-blue);
  background: rgba(22, 93, 255, 0.08);
  font-weight: 800;
}

.auth-country-code {
  color: var(--auth-text);
  font-weight: 800;
}

.auth-country-name {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-country-empty {
  padding: 16px 0;
  color: var(--auth-subtle);
  font-size: 13px;
  text-align: center;
}

.auth-password-field .auth-el-input .el-input__inner {
  padding-right: 76px;
}

.auth-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  min-width: 58px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--auth-muted);
  background: #f4f7fb;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.auth-password-toggle:hover {
  color: var(--auth-blue);
  background: var(--auth-blue-soft);
}

.auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
}

.auth-code-button.el-button {
  width: 118px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(22, 93, 255, 0.24);
  border-radius: 8px;
  color: var(--auth-blue);
  background: var(--auth-blue-soft);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}

.auth-code-button.el-button:hover,
.auth-code-button.el-button:focus {
  color: var(--auth-blue);
  border-color: rgba(22, 93, 255, 0.32);
  background: #e7efff;
}

.auth-code-button.el-button.is-disabled,
.auth-code-button.el-button.is-disabled:hover {
  color: var(--auth-subtle);
  border-color: var(--auth-line);
  background: #f3f5f8;
  cursor: not-allowed;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
}

.auth-check {
  min-width: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.auth-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--auth-blue);
  flex-shrink: 0;
}

.auth-check a,
.auth-link {
  color: var(--auth-blue);
  font-weight: 700;
}

.auth-link {
  font-size: 13px;
  white-space: nowrap;
}

.auth-submit.el-button {
  width: 100%;
  height: 50px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--auth-blue);
  box-shadow: 0 10px 22px rgba(22, 93, 255, 0.22);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit.el-button:hover,
.auth-submit.el-button:focus {
  color: #fff;
  background: var(--auth-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(22, 93, 255, 0.28);
}

.auth-submit.el-button.is-disabled,
.auth-submit.el-button.is-loading {
  background: #c7cfdb;
  box-shadow: none;
  transform: none;
}

.auth-message {
  min-height: 8px;
  margin: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.auth-message.error {
  min-height: 36px;
  padding: 7px 12px 7px 40px;
  border: 1px solid rgba(248, 113, 113, 0.14);
  border-radius: 8px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  color: #f04438;
  background: #fdebed;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.auth-message.error::before {
  content: "!";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #f04438;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.auth-oauth {
  display: grid;
  gap: 12px;
}

.auth-oauth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--auth-subtle);
  font-size: 12px;
  font-weight: 700;
}

.auth-oauth-divider::before,
.auth-oauth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--auth-line);
}

.auth-oauth-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-oauth-item {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--auth-shadow-soft);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-oauth-item:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 93, 255, 0.28);
  box-shadow: 0 9px 20px rgba(22, 93, 255, 0.12);
}

.auth-oauth-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.auth-qr-toggle {
  position: absolute;
  top: 72px;
  right: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  color: var(--auth-blue);
  background: var(--auth-blue-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.auth-qr-toggle-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  background:
    linear-gradient(var(--auth-blue), var(--auth-blue)) 0 0 / 5px 5px no-repeat,
    linear-gradient(var(--auth-blue), var(--auth-blue)) 7px 0 / 5px 5px no-repeat,
    linear-gradient(var(--auth-blue), var(--auth-blue)) 0 7px / 5px 5px no-repeat,
    linear-gradient(var(--auth-blue), var(--auth-blue)) 7px 7px / 5px 5px no-repeat;
}

.auth-qr-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 12px 0 4px;
}

.auth-qr-panel p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-qr-image {
  position: relative;
  width: 220px;
  height: 220px;
  padding: 10px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--auth-shadow-soft);
}

.auth-qr-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.auth-qr-expire {
  position: absolute;
  inset: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.auth-qr-expire .el-icon-refresh-right {
  font-size: 30px;
}

.auth-qr-select {
  display: grid;
  gap: 18px;
}

.auth-qr-select h3 {
  margin: 0;
  color: var(--auth-text);
  font-size: 18px;
  line-height: 1.35;
}

.auth-qr-back {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--auth-blue);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.auth-client-list {
  display: grid;
  gap: 12px;
}

.auth-help-card {
  padding: 16px 18px;
  border: 1px solid rgba(223, 230, 243, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--auth-shadow-soft);
}

.auth-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.auth-help-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--auth-text);
  font-size: 14px;
  font-weight: 800;
}

.auth-help-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--auth-blue);
  box-shadow: 0 0 0 5px var(--auth-blue-soft);
}

.auth-help-more {
  flex-shrink: 0;
  color: var(--auth-blue);
  font-size: 12px;
  font-weight: 700;
}

.auth-help-list {
  list-style: none;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.auth-help-item a {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  border-radius: 7px;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.4;
  transition: color 0.2s ease, background 0.2s ease;
}

.auth-help-item a:hover {
  color: var(--auth-blue);
  background: #f7f9fd;
}

.auth-help-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 7px;
  color: var(--auth-blue);
  background: var(--auth-blue-soft);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.auth-help-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-help-date {
  color: var(--auth-subtle);
  font-size: 12px;
  white-space: nowrap;
}

.auth-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0 18px 28px;
  color: var(--auth-subtle);
  font-size: 12px;
  flex-wrap: wrap;
}

.auth-footer a:hover {
  color: var(--auth-blue);
}

@media (max-width: 1024px) {
  .auth-main {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 36px;
    width: min(760px, calc(100% - 32px));
  }

  .auth-card-stack {
    order: 1;
  }

  .auth-showcase {
    order: 2;
    gap: 20px;
  }

  .auth-copy h1 {
    font-size: clamp(30px, 7vw, 44px);
  }

  .auth-preview {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .auth-topbar {
    height: 62px;
    padding: 0 16px;
  }

  .auth-logo img {
    height: 38px;
    max-width: 148px;
  }

  .auth-nav a:not(.auth-nav-primary) {
    display: none;
  }

  .auth-nav a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .auth-main {
    width: min(100% - 24px, 560px);
    display: block;
    padding: 24px 0 18px;
  }

  .auth-showcase {
    display: none;
  }

  .auth-panel {
    padding: 22px;
  }

  .auth-help-card {
    padding: 14px 16px;
    margin-top: 12px;
  }

  .auth-panel-head {
    padding-right: 128px;
    margin-bottom: 20px;
  }

  .auth-language {
    top: 18px;
    right: 22px;
  }

  .auth-qr-toggle {
    top: 58px;
    right: 22px;
  }

  .auth-row {
    display: grid;
    gap: 10px;
  }

  .auth-link {
    width: fit-content;
  }

  .auth-feature-strip {
    grid-template-columns: 1fr;
  }

  .auth-preview {
    padding: 12px;
  }

  .auth-shield {
    width: 86px;
    height: 86px;
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 420px) {
  .auth-panel {
    padding: 18px;
  }

  .auth-panel-head {
    padding-right: 118px;
  }

  .auth-language {
    top: 15px;
    right: 18px;
    gap: 6px;
  }

  .auth-panel-title h2 {
    font-size: 24px;
  }

  .auth-code-row {
    grid-template-columns: 1fr;
  }

  .auth-field-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .auth-method-switch {
    width: 100%;
  }

  .auth-method-switch button {
    flex: 1;
  }

  .auth-phone-control {
    height: 48px;
  }

  .auth-country-picker {
    width: 100%;
  }

  .auth-phone-control {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .auth-country-trigger {
    font-size: 13px;
  }

  .auth-country-panel {
    width: min(292px, calc(100vw - 60px));
  }

  .auth-code-button.el-button {
    width: 100%;
  }

  .auth-help-head {
    margin-bottom: 6px;
  }

  .auth-help-item a {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .auth-help-date {
    display: none;
  }
}
