/* ============ 独立网页版增强样式 ============ */

/* ---------- 口令门槛 ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f6f4ff;
  background-image: radial-gradient(circle at 15% 0%, #ece6ff 0%, rgba(246, 244, 255, 0) 55%),
    radial-gradient(circle at 92% 6%, #fdeaf6 0%, rgba(246, 244, 255, 0) 45%);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.gate.is-gone {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.gate-card {
  width: 100%;
  max-width: 360px;
  padding: 30px 24px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(84, 64, 158, 0.12);
  text-align: center;
}

.gate-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #a49ac9;
  margin-bottom: 10px;
}

.gate-title {
  font-size: 20px;
  font-weight: 600;
  color: #262336;
  margin-bottom: 8px;
}

.gate-sub {
  font-size: 12.5px;
  line-height: 1.6;
  color: #8a83a3;
  margin-bottom: 20px;
}

.gate-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid #e6e1f5;
  border-radius: 14px;
  background: #faf9fe;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #262336;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease;
}

.gate-input:focus {
  border-color: #8f7bef;
  background: #fff;
}

.gate-input.shake {
  animation: gateShake 0.36s ease;
}

@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}

.gate-err {
  min-height: 18px;
  margin: 8px 0 4px;
  font-size: 12.5px;
  color: #e05a6b;
}

.gate-btn {
  width: 100%;
  margin-top: 6px;
}

.gate-foot {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #b3adc6;
}

/* ---------- 复制结果 ---------- */
.copy-btn {
  margin-top: 10px;
}

.copy-btn.is-done {
  color: #5a9d7d;
}

/* ---------- 页脚联系方式 ---------- */
.site-contact {
  margin: 18px auto 0;
  padding: 0 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7d76a0;
  text-align: center;
}

/* ---------- 微信提示 ---------- */
.wx-tip {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 900;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(38, 35, 54, 0.9);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(38, 35, 54, 0.22);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wx-tip.is-gone {
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
}

.wx-arrow {
  display: inline-block;
  margin-right: 6px;
  font-size: 14px;
  color: #c9b8ff;
}
