:root {
  color: #203039;
  background: #f2f7f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background: #f2f7f7;
}

.um-cap-gate {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 36px 24px;
  background: linear-gradient(135deg, #f4f8f8 0%, #edf5f4 100%);
}

.um-cap-gate-panel {
  width: min(100%, 560px);
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(24, 61, 61, .1);
}

.um-cap-gate-main { padding: 42px 48px; }

.um-cap-gate-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 99px;
  background: #eaf5f3;
  color: #0c8a82;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.um-cap-gate h1 {
  margin: 0;
  color: #203039;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.um-cap-gate-message {
  margin: 12px 0 22px;
  color: #708087;
  font-size: 14px;
  line-height: 1.75;
}

.um-cap-gate-message.is-error {
  margin-bottom: 20px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fff3f0;
  color: #bc503b;
  font-size: 13px;
  line-height: 1.6;
}

.um-cap-gate-field {
  display: block;
  color: #41535a;
  font-size: 13px;
  font-weight: 650;
}

.um-cap-gate-field span {
  display: block;
  margin-bottom: 8px;
}

.um-cap-gate input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 10px 13px;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: #f1f6f6;
  color: #203039;
  font: inherit;
  transition: box-shadow .16s, background .16s;
}

.um-cap-gate input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px #158d85, 0 0 0 5px rgba(21, 141, 133, .12);
}

.um-cap-gate-button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: #148982;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(20, 137, 130, .18);
  transition: background .16s, box-shadow .16s, transform .16s;
}

.um-cap-gate-button:hover {
  background: #0d756f;
  box-shadow: 0 9px 20px rgba(20, 137, 130, .24);
  transform: translateY(-1px);
}

.um-cap-gate-button:active { transform: translateY(0); }

.um-cap-wechat {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  padding: 20px 22px;
  border: 0;
  border-radius: 12px;
  background: #f3f9f8;
}

.um-cap-wechat-copy { flex: 1 1 auto; min-width: 0; }

.um-cap-wechat-label {
  display: block;
  margin-bottom: 5px;
  color: #13857d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.um-cap-wechat strong {
  display: block;
  color: #203b40;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.um-cap-wechat p {
  margin: 8px 0 0;
  color: #6b7d82;
  font-size: 13px;
  line-height: 1.65;
}

.um-cap-wechat b {
  display: block;
  margin-top: 8px;
  color: #325158;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.um-cap-wechat img {
  display: block;
  flex: 0 0 auto;
  width: 122px;
  height: 122px;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(24, 61, 61, .08);
}

@media (max-width: 560px) {
  .um-cap-gate { padding: 18px; }
  .um-cap-gate-panel { border-radius: 13px; }
  .um-cap-gate-main { padding: 30px 20px; }
  .um-cap-gate h1 { font-size: 24px; }
  .um-cap-gate-message { margin-bottom: 20px; }
  .um-cap-wechat { align-items: flex-start; gap: 14px; margin-top: 24px; padding: 16px; }
  .um-cap-wechat img { width: 96px; height: 96px; padding: 5px; }
  .um-cap-wechat strong { font-size: 15px; }
  .um-cap-wechat p,
  .um-cap-wechat b { font-size: 12px; }
}

@media (max-width: 380px) {
  .um-cap-gate { padding: 12px; }
  .um-cap-gate-main { padding: 26px 16px; }
  .um-cap-wechat { display: block; }
  .um-cap-wechat img { margin: 15px 0 0; }
}
