:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #172033;
  background: #eef4ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(88, 166, 255, 0.32), transparent 34rem),
    linear-gradient(135deg, #eef4ff 0%, #f9fbff 100%);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-wrap {
  width: min(100%, 430px);
}

.card {
  padding: 34px;
  border: 1px solid rgba(96, 130, 182, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(43, 74, 124, 0.16);
  backdrop-filter: blur(16px);
}

.intro-text {
  margin: 0 0 12px;
  color: #42506a;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.inside-card {
  margin-bottom: 16px;
}

.form {
  display: grid;
  gap: 14px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid #d8e1f2;
  border-radius: 14px;
  color: #172033;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #2f6fe4;
  box-shadow: 0 0 0 4px rgba(47, 111, 228, 0.13);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2f6fe4, #5d8cff);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(47, 111, 228, 0.25);
}

.success-box {
  margin: 0 0 28px;
  padding: 14px 16px;
  border: 1px solid #bde5c4;
  border-radius: 14px;
  background: #edf7ed;
  color: #1b6d2a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.radio-group {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #42506a;
  font-size: 13px;
  cursor: pointer;
}

.radio-group input {
  width: 14px;
  height: 14px;
  accent-color: #2f6fe4;
}

.hint-box {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e4ebf7;
}

.hint-toggle {
  width: 100%;
  background: #eef4ff;
  color: #2f6fe4;
}

.hint-toggle:hover {
  box-shadow: none;
}

.wechat-details {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #f7faff;
}

.wechat-details[hidden] {
  display: none;
}

.qr-code {
  width: 150px;
  height: 150px;
  display: block;
  border: 8px solid #fff;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(43, 74, 124, 0.13);
}

.save-tip {
  margin: 0;
  color: #2f6fe4;
  font-size: 13px;
  font-weight: 700;
}

.wechat-details p {
  margin: 0;
  color: #42506a;
}

@media (max-width: 480px) {
  .card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  h1 {
    font-size: 25px;
  }
}
