* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

html,
body {
  min-height: 100%;
}

body {
  overflow-x: hidden;
  color: #1f2d4d;
  background:
    radial-gradient(circle at top left, rgba(251, 171, 20, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(35, 123, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #f4f8ff 0%, #edf4ff 44%, #f9fbff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 2.4rem;
  height: 2.4rem;
  top: 0.5rem;
  left: -0.5rem;
  background: rgba(35, 123, 255, 0.16);
}

body::after {
  width: 2rem;
  height: 2rem;
  right: -0.2rem;
  top: 2.6rem;
  background: rgba(251, 171, 20, 0.18);
}

button,
input {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  background: none;
}

input::placeholder {
  color: #97a6c5;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.auth-screen {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0.9rem 0.38rem 0.6rem;
}

.auth-shell {
  width: 100%;
  max-width: 7.5rem;
  margin: 0 auto;
}

.auth-hero {
  text-align: center;
  padding: 0.12rem 0.12rem 0.42rem;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0.48rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(35, 123, 255, 0.14);
  color: #237bff;
  font-size: 0.2rem;
  letter-spacing: 0.04rem;
  box-shadow: 0 0.08rem 0.24rem rgba(35, 123, 255, 0.08);
}

.brand-logo {
  width: 2.3rem;
  margin: 0.36rem auto 0.24rem;
  display: block;
  filter: drop-shadow(0 0.16rem 0.32rem rgba(35, 123, 255, 0.16));
}

.auth-hero h1 {
  font-size: 0.54rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1c2c4a;
}

.auth-hero p {
  margin-top: 0.18rem;
  font-size: 0.24rem;
  line-height: 1.7;
  color: #7688aa;
}

.auth-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(204, 220, 247, 0.72);
  border-radius: 0.38rem;
  box-shadow: 0 0.24rem 0.5rem rgba(35, 123, 255, 0.12);
  padding: 0.32rem;
  backdrop-filter: blur(12px);
}

.auth-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.08rem;
  background: linear-gradient(90deg, #237bff 0%, #58a6ff 58%, #f7b33a 100%);
}

.auth-tabs {
  display: flex;
  gap: 0.14rem;
  padding: 0.08rem;
  margin-bottom: 0.28rem;
  border-radius: 0.28rem;
  background: #eef4ff;
}

.tab-pill {
  flex: 1;
  height: 0.72rem;
  border-radius: 0.22rem;
  color: #7d8cad;
  font-size: 0.24rem;
  font-weight: 600;
}

.tab-pill.active {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  color: #1f2d4d;
  box-shadow: 0 0.12rem 0.24rem rgba(35, 123, 255, 0.12);
}

.tab-pill.alt:active {
  opacity: 0.8;
}

.item {
  position: relative;
  margin-bottom: 0.2rem;
}

.item input {
  width: 100%;
  height: 0.94rem;
  border-radius: 0.26rem;
  background: #f8fbff;
  border: 1px solid #d7e6ff;
  color: #1f2d4d;
  font-size: 0.27rem;
  padding: 0 0.24rem 0 0.88rem;
  box-shadow: inset 0 0.03rem 0.06rem rgba(35, 123, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.item input:focus {
  border-color: #7fb4ff;
  background: #ffffff;
  box-shadow: 0 0 0 0.06rem rgba(35, 123, 255, 0.1);
}

.item input.name {
  background-image: url("../images/icon-phone.png");
  background-repeat: no-repeat;
  background-position: 0.26rem center;
  background-size: 0.34rem auto;
}

.item input.password {
  background-image: url("../images/icon-lock.png");
  background-repeat: no-repeat;
  background-position: 0.26rem center;
  background-size: 0.32rem auto;
}

.item input.vcode {
  background-image: url("../images/icon-verify.png");
  background-repeat: no-repeat;
  background-position: 0.26rem center;
  background-size: 0.34rem auto;
}

.code-item input {
  padding-right: 2.1rem;
}

.item span {
  position: absolute;
  top: 0.12rem;
  right: 0.12rem;
  min-width: 1.86rem;
  height: 0.7rem;
  border-radius: 0.22rem;
  background: linear-gradient(135deg, #237bff 0%, #59a5ff 100%);
  color: #ffffff;
  font-size: 0.22rem;
  line-height: 0.7rem;
  text-align: center;
  padding: 0 0.16rem;
  box-shadow: 0 0.14rem 0.3rem rgba(35, 123, 255, 0.22);
}

.item span.disabled {
  background: #a3b6d5;
  box-shadow: none;
}

.action-row {
  margin-top: 0.18rem;
}

.primary-btn,
.ghost-btn {
  width: 100%;
  height: 0.9rem;
  border-radius: 0.26rem;
  font-size: 0.29rem;
  font-weight: 600;
  letter-spacing: 0.03rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #237bff 0%, #5ba8ff 100%);
  box-shadow: 0 0.18rem 0.32rem rgba(35, 123, 255, 0.24);
}

.ghost-btn {
  color: #237bff;
  background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
  border: 1px solid rgba(35, 123, 255, 0.14);
  box-shadow: 0 0.12rem 0.24rem rgba(35, 123, 255, 0.08);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-0.02rem);
}

.primary-btn:active,
.ghost-btn:active {
  transform: translateY(0);
  opacity: 0.92;
}

.inline-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.18rem;
  margin-top: 0.24rem;
}

.inline-links.single {
  justify-content: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0.68rem;
  padding: 0 0.26rem;
  border-radius: 999px;
  font-size: 0.23rem;
  color: #237bff;
  background: rgba(35, 123, 255, 0.08);
}

.other-login {
  margin-top: 0.32rem;
  padding-top: 0.3rem;
  border-top: 1px solid rgba(213, 224, 245, 0.88);
}

.other-login p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #96a4bf;
  font-size: 0.21rem;
}

.other-login p::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(207, 219, 241, 0.96);
}

.other-login p span {
  position: relative;
  z-index: 1;
  padding: 0 0.18rem;
  background: rgba(255, 255, 255, 0.95);
}

.third ul {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 0.24rem;
}

.third li {
  width: 0.84rem;
  height: 0.84rem;
  border-radius: 0.24rem;
  background: linear-gradient(180deg, #f6f9ff 0%, #edf4ff 100%);
  box-shadow: 0 0.1rem 0.24rem rgba(35, 123, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.third li img {
  width: 0.42rem;
  height: 0.42rem;
}

#mpanel1,
#mpanel2 {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
}

.layui-m-layer {
  position: relative;
  z-index: 19891014;
}

.layui-m-layer * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.layui-m-layermain,
.layui-m-layershade {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.layui-m-layershade {
  background-color: rgba(9, 20, 45, 0.6);
  pointer-events: auto;
}

.layui-m-layermain {
  display: table;
  font-family: Helvetica, arial, sans-serif;
  pointer-events: none;
}

.layui-m-layermain .layui-m-layersection {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.layui-m-layerchild {
  position: relative;
  display: inline-block;
  text-align: left;
  background-color: #fff;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
}

@-webkit-keyframes layui-m-anim-scale {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes layui-m-anim-scale {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.layui-m-anim-scale {
  animation-name: layui-m-anim-scale;
  -webkit-animation-name: layui-m-anim-scale;
}

@-webkit-keyframes layui-m-anim-up {
  0% {
    opacity: 0;
    -webkit-transform: translateY(800px);
    transform: translateY(800px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes layui-m-anim-up {
  0% {
    opacity: 0;
    -webkit-transform: translateY(800px);
    transform: translateY(800px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.layui-m-anim-up {
  -webkit-animation-name: layui-m-anim-up;
  animation-name: layui-m-anim-up;
}

.layui-m-layer0 .layui-m-layerchild {
  width: 90%;
  max-width: 640px;
}

.layui-m-layer1 .layui-m-layerchild {
  border: none;
  border-radius: 0;
}

.layui-m-layer2 .layui-m-layerchild {
  width: auto;
  max-width: 260px;
  min-width: 40px;
  border: none;
  background: 0 0;
  box-shadow: none;
  color: #fff;
}

.layui-m-layerchild h3 {
  padding: 0 10px;
  height: 60px;
  line-height: 60px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 5px 5px 0 0;
  text-align: center;
}

.layui-m-layerbtn span,
.layui-m-layerchild h3 {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.layui-m-layercont {
  padding: 50px 30px;
  line-height: 22px;
  text-align: center;
}

.layui-m-layer1 .layui-m-layercont {
  padding: 0;
  text-align: left;
}

.layui-m-layer2 .layui-m-layercont {
  text-align: center;
  padding: 0;
  line-height: 0;
}

.layui-m-layer2 .layui-m-layercont i {
  width: 25px;
  height: 25px;
  margin-left: 8px;
  display: inline-block;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: layui-m-anim-loading 1.4s infinite ease-in-out;
  animation: layui-m-anim-loading 1.4s infinite ease-in-out;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.layui-m-layerbtn,
.layui-m-layerbtn span {
  position: relative;
  text-align: center;
  border-radius: 0 0 5px 5px;
}

.layui-m-layer2 .layui-m-layercont p {
  margin-top: 20px;
}

@-webkit-keyframes layui-m-anim-loading {
  0%,
  100%,
  80% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@keyframes layui-m-anim-loading {
  0%,
  100%,
  80% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

.layui-m-layer2 .layui-m-layercont i:first-child {
  margin-left: 0;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.layui-m-layer2 .layui-m-layercont i.layui-m-layerload {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.layui-m-layer2 .layui-m-layercont > div {
  line-height: 22px;
  padding-top: 7px;
  margin-bottom: 20px;
  font-size: 14px;
}

.layui-m-layerbtn {
  display: box;
  display: -moz-box;
  display: -webkit-box;
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 0;
  border-top: 1px solid #d0d0d0;
  background-color: #f2f2f2;
}

.layui-m-layerbtn span {
  display: block;
  -moz-box-flex: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  font-size: 14px;
  cursor: pointer;
}

.layui-m-layerbtn span[yes] {
  color: #237bff;
}

.layui-m-layerbtn span[no] {
  border-right: 1px solid #d0d0d0;
  border-radius: 0 0 0 5px;
}

.layui-m-layerbtn span:active {
  background-color: #f6f6f6;
}

body .layui-m-layer .layui-m-layer-msg {
  width: auto;
  max-width: 90%;
  margin: 0 auto;
  bottom: -150px;
  background-color: rgba(9, 20, 45, 0.82);
  color: #fff;
}

.layui-m-layer-msg .layui-m-layercont {
  padding: 10px 20px;
}

.auth-badge,
#loginDiv .auth-tabs .tab-pill.alt,
#loginDiv .inline-links,
#regDiv .auth-tabs .tab-pill.alt {
  display: none !important;
}

#loginDiv .auth-hero {
  padding-top: 0;
  padding-bottom: 0.18rem;
}

@media (max-width: 480px) {
  .auth-screen {
    padding: 0.58rem 0.26rem 0.42rem;
  }

  .brand-logo {
    width: 1.92rem;
    margin-top: 0.18rem;
  }

  .auth-hero {
    padding-bottom: 0.28rem;
  }

  .auth-hero h1 {
    font-size: 0.46rem;
  }

  .auth-hero p {
    margin-top: 0.14rem;
    font-size: 0.22rem;
    line-height: 1.6;
  }

  .auth-card {
    padding: 0.28rem 0.24rem;
  }

  .item input,
  .primary-btn,
  .ghost-btn {
    height: 0.86rem;
  }
}

@media (min-width: 900px) {
  body::before {
    width: 3.4rem;
    height: 3.4rem;
    top: 0.8rem;
    left: -0.8rem;
  }

  body::after {
    width: 3rem;
    height: 3rem;
    right: -0.5rem;
    top: 3.2rem;
  }

  .auth-screen {
    padding: 0.6rem;
  }

  .auth-shell {
    max-width: 11.6rem;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(4.5rem, 5rem);
    gap: 0.46rem;
    align-items: center;
  }

  .auth-hero {
    text-align: left;
    padding: 0.12rem 0 0.12rem 0.1rem;
  }

  .brand-logo {
    width: 2.52rem;
    margin: 0 0 0.28rem;
  }

  .auth-hero h1 {
    font-size: 0.66rem;
    line-height: 1.14;
  }

  .auth-hero p {
    max-width: 4.9rem;
    font-size: 0.22rem;
  }

  .auth-card {
    border-radius: 0.34rem;
    padding: 0.42rem;
    box-shadow: 0 0.3rem 0.6rem rgba(35, 123, 255, 0.14);
  }

  .auth-tabs {
    margin-bottom: 0.34rem;
  }

  .item {
    margin-bottom: 0.18rem;
  }

  .item input {
    height: 0.88rem;
    font-size: 0.24rem;
  }

  .primary-btn,
  .ghost-btn {
    height: 0.86rem;
    font-size: 0.26rem;
  }

  .inline-links {
    margin-top: 0.2rem;
  }
}
