* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, 'Microsoft YaHei', sans-serif;
  color: #243448;
  background: #f7f9fd;
}
a {
  text-decoration: none;
  color: inherit;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
}
.brand-panel {
  position: relative;
  padding: 52px 8%;
  background: linear-gradient(145deg, #eef5ff, #f8fbff);
  overflow: hidden;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 19px;
  font-weight: 600;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  margin-top: 5px;
  color: #8197b5;
}
.mark {
  background: #327df4;
  color: #fff;
  border-radius: 12px;
  font-size: 30px;
  padding: 2px 10px;
}
.intro {
  max-width: 480px;
  margin: 16vh auto 80px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: #90a7c5;
}
.intro h1 {
  font-size: clamp(32px, 3vw, 50px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 1px;
  margin: 22px 0;
}
.intro p {
  font-size: 15px;
  line-height: 2.1;
  color: #8394ac;
}
.window-art {
  width: 280px;
  height: 170px;
  border: 4px double #a6c6ee;
  display: flex;
  gap: 4px;
  padding: 5px;
  transform: perspective(700px) rotateY(-16deg);
  margin: 48px 0;
}
.window-art i {
  display: block;
  flex: 1;
  border: 1px solid #bad1ec;
  background: linear-gradient(135deg, #fff8, #bbd9ff42);
}
.window-art i:nth-child(2) {
  flex: 1.6;
}
.brand-footer {
  position: absolute;
  bottom: 32px;
  color: #92a4bb;
  font-size: 11px;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  background: white;
}
.login-card {
  width: 100%;
  max-width: 370px;
}
.tag {
  background: #edf4ff;
  color: #347bf2;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 20px;
}
.login-card h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 22px 0 12px;
}
.login-card > p {
  font-size: 13px;
  line-height: 1.9;
  color: #8590a0;
}
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  border-radius: 10px;
  background: #347df4;
  color: white;
  font-size: 14px;
  margin-top: 30px;
  box-shadow: 0 5px 15px #347df422;
}
.button:hover {
  background: #256de4;
}
.footnote {
  font-size: 11px !important;
  margin-top: 24px;
}
.panel-footer {
  position: absolute;
  bottom: 32px;
  font-size: 11px;
  letter-spacing: 3px;
  color: #a3aab5;
}
#error {
  color: #b6473e;
  background: #fff3f1;
  font-size: 13px;
  line-height: 1.8;
  padding: 12px 15px;
  border-radius: 8px;
  margin-top: 20px;
}
#binding {
  margin-top: 25px;
  padding: 24px;
  background: #f6f9fe;
  border: 1px solid #e2ebf8;
  border-radius: 12px;
}
.code-label {
  color: #8191a7;
  font-size: 11px;
}
#code {
  display: block;
  letter-spacing: 5px;
  color: #3075dc;
  font-size: 26px;
  margin: 16px 0;
}
.steps {
  font-size: 12px;
  line-height: 1.8;
  color: #72839a;
}
#status {
  font-size: 12px;
  color: #347bf2;
  margin-top: 20px;
}
#retry {
  background: #fff;
  border: 1px solid #d4dff0;
  border-radius: 8px;
  padding: 12px 20px;
  margin-top: 20px;
  color: #347bf2;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #8bb7ff;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .login-shell {
    grid-template-columns: 1fr;
  }
  .brand-panel {
    padding: 24px 7%;
  }
  .intro {
    display: none;
  }
  .brand-footer {
    display: none;
  }
  .login-panel {
    min-height: 75vh;
    padding: 36px;
  }
  .panel-footer {
    bottom: 16px;
  }
}
