/* 真好考付费领取弹窗：仅装饰已解锁内容的展示，不包含二维码或隐藏文案。 */

.zhk-pcp-overlay {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.zhk-pcp-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  outline: none;
  box-sizing: border-box;
}

.zhk-pcp-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  margin: 8px 8px 0 0;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: #1e88e5;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.zhk-pcp-close:focus {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}

.zhk-pcp-body {
  clear: both;
  padding: 8px 16px 20px;
  box-sizing: border-box;
}

.zhk-pcp-body .zhk-pcp-line4,
.article-content [data-zhk-pcp-line4],
.wp-posts-content [data-zhk-pcp-line4] {
  color: #1a1a1a !important;
  font-size: 16px;
  line-height: 1.8;
  margin: 6px 0;
  text-align: left;
}

body.zhk-pcp-lock {
  overflow: hidden;
}

@media (max-width: 767px) {
  .zhk-pcp-overlay {
    padding: 8px;
    align-items: flex-end;
  }
  .zhk-pcp-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 12px 12px 0 0;
  }
}
