/* ========== 支付页样式 ========== */
/* ★ 注意：不再设置 body 字体，避免污染文章页侧边栏等全局元素 */
/* 支付页自带的字体由其独立页面继承浏览器默认，不影响博客主站 */
.pay-container {
  max-width: 480px;
  margin: 80px auto;
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.pay-icon { font-size: 56px; margin-bottom: 16px; }
.pay-title { font-size: 20px; font-weight: 700; color: #1f2937; margin: 0 0 12px; }
.pay-desc { font-size: 14px; color: #6b7280; line-height: 1.7; margin: 0 0 24px; }
.pay-price { font-size: 36px; font-weight: 800; color: #e4393c; margin: 20px 0; }
.pay-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s;
  box-sizing: border-box;
}
.pay-btn:hover { opacity: .88; }
.pay-btn-alipay { background: #1677ff; }
.pay-btn-wxpay { background: #07c160; }
.pay-tip { font-size: 12px; color: #9ca3af; margin-top: 20px; }

/* ========== 等待页 ========== */
.wait-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}
.spin {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top-color: #1677ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ========== 文章内部分收费块（样式对齐"部分加密"） ========== */
.pay-locked-block {
  position: relative;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f7fa;
  border: 2px dashed #d0d7e2;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}
.pay-locked-block .pay-locked-inner {
  display: none;  /* ★ 加密内容完全隐藏，跟"部分加密"一致 */
}
.pay-locked-block .pay-locked-mask {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 480px;
}
.pay-locked-block .plm-icon {
  font-size: 40px;
  margin-bottom: 12px;
  line-height: 1;
}
.pay-locked-block .plm-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
.pay-locked-block .plm-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 18px;
}
.pay-locked-block .plm-btn {
  display: inline-block;
  padding: 8px 22px;
  background: #206be7;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.pay-locked-block .plm-btn:hover {
  background: #1162e8;
  color: #fff;
}

/* ========== 已解锁的部分收费内容 ========== */
.pay-unlocked-block {
  margin: 20px 0;
  padding: 18px 20px;
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: 6px;
}