:root {
  --xpte-login-ink: #16212a;
  --xpte-login-muted: #66737d;
  --xpte-login-soft: #f7f8f7;
  --xpte-login-line: rgba(216, 230, 228, 0.95);
  --xpte-login-brand: #159b82;
  --xpte-login-brand-strong: #08aa83;
}

#loginPanel.xpte-login-panel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
  overflow: auto;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 244, 234, 0.34), transparent 34%),
    radial-gradient(circle at 78% 10%, rgba(240, 244, 250, 0.78), transparent 38%),
    rgba(20, 28, 34, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#loginPanel.xpte-login-panel.open {
  display: grid;
}

#loginPanel .xpte-login-dialog {
  position: relative;
  width: min(1180px, calc(100vw - 48px));
  min-height: 720px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 42px;
  color: var(--xpte-login-ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.68), rgba(247, 248, 247, 0.48)),
    radial-gradient(circle at 18% 12%, rgba(255, 244, 234, 0.28), transparent 34%),
    radial-gradient(circle at 76% 18%, rgba(240, 244, 250, 0.52), transparent 38%),
    #f7f8f7;
  box-shadow: 0 36px 90px rgba(83, 99, 107, 0.22);
  overflow: hidden;
}

#loginPanel .xpte-login-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(216, 230, 228, 0.9);
  color: #6b7882;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(83, 99, 107, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 24px;
  line-height: 1;
  appearance: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.xpte-login-shell {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 72px;
  align-items: center;
  padding: 44px 70px 52px;
}

.xpte-login-shell::before,
.xpte-login-shell::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.xpte-login-shell::before {
  inset: -20% 36% -18% 18%;
  background: rgba(233, 244, 243, 0.36);
  filter: blur(78px);
}

.xpte-login-shell::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 33, 42, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 33, 42, 0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 78%, transparent);
  opacity: 0.35;
}

.xpte-login-hero,
.xpte-login-card {
  position: relative;
  z-index: 1;
}

.xpte-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 82px;
}

.xpte-login-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  background: rgba(244, 251, 248, 0.92);
}

.xpte-login-mark svg {
  width: 24px;
  height: 24px;
}

.xpte-login-mark path {
  fill: none;
  stroke: var(--xpte-login-brand-strong);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.xpte-login-brand strong {
  display: block;
  font-size: 20px;
  line-height: 26px;
  color: #17242c;
}

.xpte-login-brand small,
.xpte-login-card-subtitle,
.xpte-login-copy {
  color: var(--xpte-login-muted);
}

.xpte-login-brand small {
  display: block;
  font-size: 12px;
  line-height: 16px;
}

.xpte-login-eyebrow {
  margin: 0 0 18px;
  color: #128a74;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.xpte-login-hero h2 {
  margin: 0;
  color: var(--xpte-login-ink);
  font-size: clamp(64px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.xpte-login-hero h2 span {
  display: inline;
}

.xpte-login-subtitle {
  margin: 22px 0 0;
  color: #1d2b34;
  font-size: clamp(28px, 2.3vw, 34px);
  font-weight: 900;
  line-height: 1.3;
}

.xpte-login-copy {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 30px;
}

.xpte-voice-preview {
  position: relative;
  width: min(640px, 100%);
  min-height: 250px;
  margin-top: 64px;
  padding: 30px 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 28px 58px rgba(83, 99, 107, 0.1);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.xpte-voice-preview > span {
  color: #586770;
  font-size: 14px;
  font-weight: 900;
}

.xpte-voice-preview > em {
  position: absolute;
  left: 36px;
  bottom: 28px;
  color: #7a858c;
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
}

.xpte-waveform {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  height: 96px;
  margin-top: 38px;
  padding-right: 0;
  overflow: hidden;
}

.xpte-waveform i {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 4px;
  width: 4px;
  border-radius: 999px;
  background: rgba(205, 212, 216, 0.38);
  transform-origin: center;
  animation: xpteWaveBreath 1.8s ease-in-out infinite;
}

.xpte-waveform::before,
.xpte-waveform::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.xpte-waveform::before {
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: rgba(20, 199, 165, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 18px rgba(20, 199, 165, 0.42),
    0 0 42px rgba(20, 199, 165, 0.18);
  animation: xpteWaveScan 2.9s ease-in-out infinite;
}

.xpte-waveform::after {
  left: -70px;
  width: 110px;
  background: linear-gradient(90deg, transparent, rgba(20, 199, 165, 0.16), transparent);
  filter: blur(8px);
  animation: xpteWaveGlow 2.9s ease-in-out infinite;
}

.xpte-waveform i:nth-child(-n + 16) {
  background: rgba(24, 168, 143, 0.82);
  box-shadow: 0 5px 9px rgba(24, 168, 143, 0.1);
}

.xpte-waveform i:nth-child(1) { height: 18px; }
.xpte-waveform i:nth-child(2) { height: 26px; animation-delay: -0.25s; }
.xpte-waveform i:nth-child(3) { height: 36px; animation-delay: -0.52s; }
.xpte-waveform i:nth-child(4) { height: 52px; animation-delay: -0.14s; }
.xpte-waveform i:nth-child(5) { height: 72px; animation-delay: -0.72s; }
.xpte-waveform i:nth-child(6) { height: 88px; animation-delay: -0.36s; }
.xpte-waveform i:nth-child(7) { height: 68px; animation-delay: -0.62s; }
.xpte-waveform i:nth-child(8) { height: 46px; animation-delay: -0.18s; }
.xpte-waveform i:nth-child(9) { height: 30px; animation-delay: -0.45s; }
.xpte-waveform i:nth-child(10) { height: 44px; animation-delay: -0.78s; }
.xpte-waveform i:nth-child(11) { height: 64px; animation-delay: -0.3s; }
.xpte-waveform i:nth-child(12) { height: 82px; animation-delay: -0.58s; }
.xpte-waveform i:nth-child(13) { height: 54px; }
.xpte-waveform i:nth-child(14) { height: 34px; }
.xpte-waveform i:nth-child(15) { height: 24px; }
.xpte-waveform i:nth-child(16) { height: 42px; }
.xpte-waveform i:nth-child(17) { height: 58px; }
.xpte-waveform i:nth-child(18) { height: 76px; }
.xpte-waveform i:nth-child(19) { height: 50px; }
.xpte-waveform i:nth-child(20) { height: 28px; }
.xpte-waveform i:nth-child(21) { height: 20px; }
.xpte-waveform i:nth-child(22) { height: 32px; }
.xpte-waveform i:nth-child(23) { height: 48px; animation-delay: -0.44s; }
.xpte-waveform i:nth-child(24) { height: 62px; animation-delay: -0.68s; }
.xpte-waveform i:nth-child(25) { height: 40px; animation-delay: -0.28s; }
.xpte-waveform i:nth-child(26) { height: 26px; animation-delay: -0.56s; }
.xpte-waveform i:nth-child(27) { height: 16px; animation-delay: -0.34s; }
.xpte-waveform i:nth-child(28) { height: 18px; animation-delay: -0.72s; }
.xpte-waveform i:nth-child(29) { height: 26px; animation-delay: -0.18s; }
.xpte-waveform i:nth-child(30) { height: 36px; animation-delay: -0.62s; }
.xpte-waveform i:nth-child(31) { height: 52px; animation-delay: -0.4s; }
.xpte-waveform i:nth-child(32) { height: 72px; animation-delay: -0.76s; }
.xpte-waveform i:nth-child(33) { height: 88px; animation-delay: -0.24s; }
.xpte-waveform i:nth-child(34) { height: 68px; animation-delay: -0.5s; }
.xpte-waveform i:nth-child(35) { height: 46px; animation-delay: -0.66s; }
.xpte-waveform i:nth-child(36) { height: 30px; animation-delay: -0.32s; }

.xpte-score-badge {
  position: absolute;
  top: 34px;
  right: 44px;
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 34px rgba(93, 106, 112, 0.12);
}

.xpte-score-badge::before,
.xpte-score-badge::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.xpte-score-badge::before {
  inset: -10px;
  border: 1px solid rgba(16, 196, 160, 0.42);
  border-top-color: rgba(16, 196, 160, 0.08);
  border-left-color: rgba(16, 196, 160, 0.08);
  border-radius: 42px;
  animation: xpteScoreScan 3.2s linear infinite;
}

.xpte-score-badge::after {
  top: 14px;
  right: 16px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #10c4a0;
  box-shadow: 0 0 0 8px rgba(16, 196, 160, 0.12), 0 0 22px rgba(16, 196, 160, 0.5);
  animation: xpteScorePulse 1.8s ease-in-out infinite;
}

.xpte-score-badge strong {
  margin-top: 18px;
  color: #109c82;
  font-size: 42px;
  line-height: 46px;
  font-weight: 950;
}

.xpte-score-badge small {
  margin-top: -22px;
  color: #56656f;
  font-size: 14px;
  font-weight: 900;
}

#loginPanel .xpte-login-card {
  width: 410px;
  min-height: 532px;
  padding: 46px 42px 30px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 34px 72px rgba(83, 99, 107, 0.14);
  backdrop-filter: blur(34px);
  -webkit-backdrop-filter: blur(34px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

#loginPanel .xpte-login-card h2 {
  margin: 0;
  color: var(--xpte-login-ink);
  font-size: 34px;
  line-height: 40px;
  font-weight: 950;
  letter-spacing: 0;
}

.xpte-mobile-brand {
  display: none;
}

.xpte-login-card-subtitle {
  margin: 8px 0 28px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 750;
}

#loginPanel .xpte-login-form,
#loginPanel .xpte-phone-card {
  display: block;
  margin: 0;
}

#loginPanel .xpte-phone-card {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--xpte-login-ink);
  text-align: left;
}

#loginPanel .xpte-phone-card > span {
  display: block;
  margin: 0 0 10px;
  color: #42515b;
  font-size: 13px;
  line-height: 18px;
  font-weight: 900;
}

#loginPanel .xpte-phone-card > span:not(:first-child) {
  margin-top: 20px;
}

#loginPanel .xpte-input-shell { position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 16px 34px rgba(43, 74, 68, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(188, 220, 215, 0.24);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

#loginPanel .xpte-input-shell svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--xpte-login-brand-strong);
}

#loginPanel .xpte-input-shell svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#loginPanel .xpte-input-shell input { flex: 1 1 auto; width: auto; min-width: 0;
  min-height: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--xpte-login-ink);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
}

#loginPanel .xpte-input-shell input::placeholder {
  color: #9aa5ab;
}

#loginPanel .xpte-code-row {
  display: block;
  margin: 0;
}

#loginPanel .xpte-code-button { position: relative; z-index: 2;
  flex: 0 0 auto;
  min-width: 90px;
  min-height: 36px;
  padding: 0;
  border: 0;
  color: #168b75;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer; pointer-events: auto; touch-action: manipulation;
  appearance: none;
  transition:
    transform 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

#loginPanel .xpte-code-button:disabled {
  color: #9aa5ab;
}

#loginPanel .xpte-phone-submit {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 20px;
  color: #159b82;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 38px rgba(43, 74, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(188, 220, 215, 0.24);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  appearance: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

#loginPanel .xpte-phone-submit svg {
  width: 22px;
  height: 22px;
  color: currentColor;
}

#loginPanel .xpte-phone-submit svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#loginPanel .xpte-phone-submit strong {
  font: inherit;
}

#loginPanel .xpte-phone-submit:hover,
#loginPanel .xpte-wechat-login:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 22px 44px rgba(43, 74, 68, 0.1),
    0 0 0 5px rgba(21, 155, 130, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(188, 220, 215, 0.2);
}

#loginPanel .xpte-phone-submit:active,
#loginPanel .xpte-wechat-login:active {
  transform: translateY(0) scale(0.985);
  box-shadow:
    0 10px 22px rgba(43, 74, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.xpte-login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 26px 0 16px;
  color: #8b969d;
  font-size: 13px;
}

.xpte-login-divider::before,
.xpte-login-divider::after {
  height: 1px;
  content: "";
  background: rgba(221, 228, 229, 0.86);
}

#loginPanel .xpte-wechat-login {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 20px;
  color: #07c160;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 38px rgba(43, 74, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(188, 220, 215, 0.24);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  cursor: pointer;
  appearance: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

#loginPanel .xpte-wechat-login svg {
  width: 24px;
  height: 24px;
}

#loginPanel .xpte-wechat-login path:first-child {
  fill: #07c160;
  stroke: none;
}

#loginPanel .xpte-wechat-login path:nth-child(2) {
  fill: #10d26f;
  stroke: none;
}

#loginPanel .xpte-wechat-login circle {
  fill: #fff;
  stroke: none;
}

#loginPanel .xpte-wechat-login strong {
  font-size: 15px;
  line-height: 22px;
  font-weight: 900;
}

#loginPanel #loginNote {
  display: none;
}

.xpte-login-agreement {
  margin: 12px 0 0;
  color: #7c878f;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  #loginPanel .xpte-login-close:hover {
    transform: translateY(-1px) rotate(90deg);
    border-color: rgba(145, 224, 208, 0.68);
    color: #159b82;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 32px rgba(43, 74, 68, 0.12);
  }

  #loginPanel .xpte-login-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.66);
    box-shadow:
      0 42px 84px rgba(83, 99, 107, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
  }

  .xpte-voice-preview {
    transition:
      transform 220ms ease,
      border-color 220ms ease,
      background 220ms ease,
      box-shadow 220ms ease;
  }

  .xpte-voice-preview:hover {
    transform: translateY(-4px) scale(1.004);
    border-color: rgba(180, 244, 232, 0.72);
    background: rgba(255, 255, 255, 0.56);
    box-shadow:
      0 34px 72px rgba(83, 99, 107, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .xpte-voice-preview:hover .xpte-waveform::before,
  .xpte-voice-preview:hover .xpte-waveform::after {
    animation-duration: 1.75s;
  }

  .xpte-score-badge {
    transition:
      transform 220ms ease,
      border-color 220ms ease,
      background 220ms ease,
      box-shadow 220ms ease;
  }

  .xpte-score-badge:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(181, 245, 232, 0.86);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 22px 42px rgba(93, 106, 112, 0.16);
  }

  #loginPanel .xpte-input-shell:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
      0 18px 36px rgba(43, 74, 68, 0.08),
      0 0 0 5px rgba(21, 155, 130, 0.035),
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      inset 0 -1px 0 rgba(188, 220, 215, 0.2);
  }

  #loginPanel .xpte-code-button:hover {
    transform: translateY(-1px);
    color: #0aa684;
  }
}

#loginPanel .xpte-input-shell:focus-within {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 0 6px rgba(21, 155, 130, 0.055),
    0 18px 36px rgba(43, 74, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(188, 220, 215, 0.18);
}

#loginPanel .xpte-phone-submit:focus-visible,
#loginPanel .xpte-wechat-login:focus-visible,
#loginPanel .xpte-code-button:focus-visible,
#loginPanel .xpte-login-close:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(21, 155, 130, 0.12),
    0 16px 34px rgba(43, 74, 68, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (max-width: 980px) {
  #loginPanel.xpte-login-panel {
    padding: 0;
    place-items: start center;
    background: rgba(255, 255, 255, 0.96);
  }

  #loginPanel .xpte-login-dialog {
    width: 100%;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 74% 28%, rgba(216, 255, 245, 0.58), transparent 38%),
      radial-gradient(circle at -10% 18%, rgba(255, 244, 234, 0.36), transparent 34%),
      #fbfffd;
    box-shadow: none;
  }

  #loginPanel .xpte-login-close {
    top: 18px;
    right: 22px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.48);
  }

  .xpte-login-shell {
    position: relative;
    display: block;
    width: 390px;
    height: 844px;
    min-height: 0;
    padding: 0;
    transform: scale(min(calc(100vw / 390), 1));
    transform-origin: top center;
  }

  .xpte-login-shell::before {
    inset: 18% -18% 18% 18%;
    background: rgba(216, 255, 245, 0.48);
    filter: blur(58px);
  }

  .xpte-login-shell::after {
    display: none;
  }

  .xpte-login-hero {
    position: absolute;
    inset: 0;
    display: block;
    width: 390px;
    height: 360px;
  }

  .xpte-login-brand {
    position: static;
    height: 0;
    margin: 0;
  }

  .xpte-login-brand small,
  .xpte-login-eyebrow,
  .xpte-login-copy,
  .xpte-voice-preview {
    display: none;
  }

  .xpte-login-brand .xpte-login-mark {
    position: absolute;
    top: 52px;
    right: 28px;
    display: grid;
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .xpte-login-brand strong {
    position: absolute;
    top: 118px;
    left: 28px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 850;
  }

  .xpte-login-hero h2 {
    position: absolute;
    top: 174px;
    left: 28px;
    width: 142px;
    height: 108px;
    margin: 0;
    white-space: normal;
    word-break: normal;
    color: #19222b;
    font-size: 54px;
    line-height: 54px;
    font-weight: 950;
  }

  .xpte-login-hero h2 span {
    display: block;
  }

  .xpte-login-subtitle {
    position: absolute;
    top: 294px;
    left: 28px;
    margin: 0;
    color: #5c6874;
    font-size: 14px;
    line-height: 20px;
  }

  #loginPanel .xpte-login-card {
    position: absolute;
    top: 484px;
    left: 28px;
    width: 334px;
    height: 214px;
    min-height: 214px;
    margin: 0;
    padding: 24px;
    transform: none;
    overflow: visible;
    border: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow:
      0 28px 56px rgba(8, 112, 92, 0.1),
      0 -12px 30px rgba(255, 255, 255, 0.38);
  }

  .xpte-mobile-brand,
  #loginPanel .xpte-login-card-subtitle {
    display: none;
  }

  #loginPanel .xpte-login-card h2 {
    font-size: 24px;
    line-height: 24px;
  }

  html body #loginPanel .xpte-login-card #loginTitle {
    margin-right: 0 !important;
    font-size: 24px !important;
    line-height: 24px !important;
  }

  #loginPanel .xpte-login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  #loginPanel .xpte-phone-card {
    display: contents;
  }

  #loginPanel .xpte-phone-card > span,
  #loginPanel .xpte-phone-card > .xpte-input-shell,
  #loginPanel .xpte-code-row,
  #loginPanel .xpte-phone-card > span:not(:first-child) {
    display: none;
  }

  #loginPanel .xpte-wechat-login {
    order: 1;
  }

  #loginPanel .xpte-phone-submit {
    order: 2;
  }

  #loginPanel .xpte-login-divider {
    display: none;
  }

  #loginPanel .xpte-phone-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    border-radius: 24px;
    color: #1c2a31;
    font-size: 15px;
  }

  .xpte-login-divider {
    margin: 18px 0 14px;
  }

  #loginPanel .xpte-wechat-login {
    min-height: 48px;
    border-color: rgba(255, 255, 255, 0.52);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.56);
    color: #1c2a31;
  }

  #loginPanel .xpte-wechat-login strong {
    font-size: 15px;
  }

  #loginPanel .xpte-wechat-login svg,
  #loginPanel .xpte-phone-submit svg {
    width: 22px;
    height: 22px;
  }

  #loginPanel #loginNote,
  .xpte-login-agreement {
    font-size: 11px;
  }

  .xpte-login-agreement {
    position: absolute;
    top: 236px;
    left: 0;
    width: 100%;
    margin: 0;
  }
}

@keyframes xpteScoreScan {
  to {
    transform: rotate(1turn);
  }
}

@keyframes xpteScorePulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.68;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes xpteWaveBreath {
  0%,
  100% {
    transform: scaleY(0.72);
    opacity: 0.58;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes xpteWaveScan {
  0%,
  100% {
    transform: translateX(36px) scaleY(0.74);
    opacity: 0;
  }

  12%,
  82% {
    opacity: 1;
  }

  50% {
    transform: translateX(426px) scaleY(1);
    opacity: 1;
  }
}

@keyframes xpteWaveGlow {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0;
  }

  16%,
  78% {
    opacity: 1;
  }

  50% {
    transform: translateX(456px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xpte-waveform::before,
  .xpte-waveform::after,
  .xpte-waveform i,
  .xpte-score-badge::before,
  .xpte-score-badge::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

  #loginPanel .xpte-login-close,
  #loginPanel .xpte-login-card,
  #loginPanel .xpte-input-shell,
  #loginPanel .xpte-code-button,
  #loginPanel .xpte-phone-submit,
  #loginPanel .xpte-wechat-login,
  .xpte-voice-preview,
  .xpte-score-badge {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 420px) {
  .xpte-login-shell {
    padding-right: 0;
    padding-left: 0;
  }

  #loginPanel .xpte-login-card {
    top: 484px;
  }
}

@media (max-width: 980px) {
  #loginPanel.xpte-login-panel {
    place-items: center;
  }

  #loginPanel .xpte-login-dialog {
    display: grid;
    place-items: center;
  }

  .xpte-login-shell {
    display: flex;
    width: min(100%, 430px);
    height: auto;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 72px 28px 42px;
    transform: none;
    transform-origin: center;
    flex-direction: column;
    justify-content: center;
  }

  .xpte-login-hero {
    position: static;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .xpte-login-brand {
    position: static;
    display: flex;
    height: auto;
    margin: 0;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .xpte-login-brand > div {
    display: none;
  }

  .xpte-login-brand .xpte-login-mark {
    position: static;
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }

  .xpte-login-brand strong {
    position: static;
    font-size: 20px;
    line-height: 24px;
  }

  .xpte-login-hero h2 {
    position: static;
    width: auto;
    height: auto;
    margin-top: 14px;
    font-size: 42px;
    line-height: 46px;
    text-align: center;
  }

  .xpte-login-hero h2 span {
    display: inline;
  }

  .xpte-login-subtitle {
    position: static;
    margin-top: 10px;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
  }

  .xpte-voice-preview {
    display: block;
    width: min(100%, 306px);
    min-height: 76px;
    margin-top: 22px;
    padding: 14px 18px 12px;
    border: 0;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow:
      0 22px 48px rgba(8, 112, 92, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      inset 0 -1px 0 rgba(188, 220, 215, 0.2);
    backdrop-filter: blur(24px) saturate(1.16);
    -webkit-backdrop-filter: blur(24px) saturate(1.16);
  }

  .xpte-voice-preview > span,
  .xpte-voice-preview > em {
    display: none;
  }

  .xpte-waveform {
    height: 48px;
    margin-top: 0;
    gap: 6px;
  }

  .xpte-waveform i {
    flex-basis: 3px;
    width: 3px;
  }

  .xpte-waveform i:nth-child(n + 25) {
    display: none;
  }

  .xpte-waveform::before {
    animation-duration: 2.65s;
  }

  .xpte-waveform::after {
    width: 76px;
    animation-duration: 2.65s;
  }

  .xpte-score-badge {
    top: 50%;
    right: 12px;
    width: 58px;
    height: 58px;
    transform: translateY(-50%);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow:
      0 14px 28px rgba(93, 106, 112, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }

  .xpte-score-badge::before {
    inset: -5px;
    border-radius: 24px;
  }

  .xpte-score-badge::after {
    top: 8px;
    right: 9px;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 5px rgba(16, 196, 160, 0.12), 0 0 16px rgba(16, 196, 160, 0.45);
  }

  .xpte-score-badge strong {
    margin-top: 8px;
    font-size: 24px;
    line-height: 28px;
  }

  .xpte-score-badge small {
    margin-top: -12px;
    font-size: 10px;
    line-height: 12px;
  }

  #loginPanel .xpte-login-card {
    position: static;
    width: min(100%, 334px);
    height: auto;
    min-height: 0;
    margin: 24px auto 0;
    padding: 24px 24px 28px;
    overflow: visible;
    transform: none;
  }

  #loginPanel .xpte-login-card h2,
  html body #loginPanel .xpte-login-card #loginTitle {
    display: none;
    width: 100%;
    text-align: center;
  }

  #loginPanel .xpte-login-form {
    gap: 12px;
    margin-top: 0;
  }

  #loginPanel .xpte-phone-submit,
  #loginPanel .xpte-wechat-login {
    min-height: 52px;
  }

  .xpte-login-agreement {
    position: static;
    width: 100%;
    margin-top: 18px;
    text-align: center;
  }

  #loginPanel.xpte-phone-mode .xpte-login-card {
    width: min(100%, 350px);
    padding: 24px 24px 26px;
  }

  #loginPanel.xpte-phone-mode .xpte-login-form {
    gap: 10px;
  }

  #loginPanel.xpte-phone-mode .xpte-phone-card {
    display: grid;
    gap: 9px;
  }

  #loginPanel.xpte-phone-mode .xpte-phone-card > span {
    display: block;
    margin: 0 2px -1px;
    color: #52616b;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-align: left;
  }

  #loginPanel.xpte-phone-mode .xpte-phone-card > .xpte-input-shell,
  #loginPanel.xpte-phone-mode .xpte-code-row {
    display: block;
  }

  #loginPanel.xpte-phone-mode .xpte-input-shell,
  #loginPanel.xpte-phone-mode .xpte-code-row .xpte-input-shell {
    min-height: 50px;
    border: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow:
      0 16px 34px rgba(43, 74, 68, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(188, 220, 215, 0.22);
  }

  #loginPanel.xpte-phone-mode .xpte-code-row .xpte-input-shell {
    display: flex;
  }

  #loginPanel.xpte-phone-mode .xpte-code-button { position: relative; z-index: 2;
    flex: 0 0 auto;
    padding: 0 2px 0 10px;
    border: 0;
    background: transparent;
    color: #13977f;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap; pointer-events: auto; touch-action: manipulation;
  }

  #loginPanel.xpte-phone-mode .xpte-phone-submit {
    margin-top: 2px;
  }

  #loginPanel.xpte-phone-mode .xpte-wechat-login {
    display: none;
  }

  #loginPanel.xpte-phone-mode .xpte-login-agreement {
    margin-top: 14px;
  }
}
