/* 合作优秀创作者页 — 深色底 + 青色强调；塔尖首张 + 下方四列 */

.pcr-body {
  background: #0a0f1e;
  color: #c8d4e8;
  min-height: 50vh;
}

.pcr-main {
  padding: 36px 0 56px;
}

.pcr-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pcr-hero {
  text-align: center;
  margin-bottom: 32px;
}

.pcr-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #22d3ee;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.25);
}

.pcr-hero__sub {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(200, 212, 232, 0.72);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pcr-hero__cta {
  margin-top: 8px;
}

.pcr-btn-submit {
  display: inline-block;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #0a0f1e;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pcr-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.45);
}

.pcr-btn-submit--solid {
  color: #0a0f1e;
}

/* 塔尖：首张居中 */
.pcr-apex-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.pcr-card--apex {
  width: 100%;
  max-width: 400px;
}

.pcr-card--apex .pcr-card__visual {
  padding: 36px 24px;
}

.pcr-card--apex .pcr-card__avatar {
  width: 140px;
  height: 140px;
}

.pcr-card--apex .pcr-card__role {
  font-size: 17px;
}

/* 下方：固定四列（大屏），小屏递减 */
.pcr-grid-below {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pcr-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pcr-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.pcr-card__visual {
  background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcr-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(34, 211, 238, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pcr-card__body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pcr-card__role {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #22d3ee;
}

.pcr-card__name {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(200, 212, 232, 0.75);
}

.pcr-card__feats {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.pcr-card__feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.88);
  margin-bottom: 8px;
}

.pcr-card__feat:last-child {
  margin-bottom: 0;
}

.pcr-card__check {
  flex-shrink: 0;
  color: #22d3ee;
  font-weight: 700;
  font-size: 12px;
  margin-top: 2px;
}

.pcr-card__btn {
  display: inline-block;
  align-self: center;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #22d3ee;
  text-decoration: none;
  border: 1px solid rgba(34, 211, 238, 0.55);
  border-radius: 999px;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.pcr-card__btn:hover {
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
}

.pcr-empty {
  text-align: center;
  padding: 48px 16px;
  color: rgba(200, 212, 232, 0.45);
  font-size: 14px;
}

/* 投稿弹层 */
.pcr-modal[hidden] {
  display: none !important;
}

.pcr-modal:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.pcr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.pcr-modal__panel {
  position: relative;
  max-width: 480px;
  margin: 6vh auto 0;
  background: #111827;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.pcr-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.7);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}

.pcr-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.pcr-modal__title {
  margin: 0 0 8px;
  font-size: 18px;
  color: #22d3ee;
}

.pcr-modal__hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: rgba(200, 212, 232, 0.65);
  line-height: 1.5;
}

.pcr-modal__form .pcr-fld {
  display: block;
  margin-bottom: 12px;
}

.pcr-fld__l {
  display: block;
  font-size: 12px;
  color: rgba(200, 212, 232, 0.75);
  margin-bottom: 4px;
}

.pcr-fld__l em {
  color: #f87171;
  font-style: normal;
}

.pcr-modal__form input[type="text"],
.pcr-modal__form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(15, 23, 42, 0.9);
  color: #e2e8f0;
  font-size: 14px;
}

.pcr-modal__form textarea {
  resize: vertical;
  min-height: 72px;
}

.pcr-modal__err {
  color: #fca5a5;
  font-size: 13px;
  margin: 0 0 10px;
}

.pcr-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.pcr-body .ref-footer {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(34, 211, 238, 0.08);
}

.pcr-body .ref-top {
  border-bottom: 1px solid rgba(34, 211, 238, 0.06);
}

@media (max-width: 1100px) {
  .pcr-grid-below {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .pcr-grid-below {
    grid-template-columns: 1fr;
  }
}

/* 反垃圾：蜜罐字段对真实用户隐藏 */
.pcr-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  margin: 0;
  padding: 0;
  border: 0;
}

.pcr-captcha-q {
  margin: 0 0 10px;
  font-size: 13px;
  color: rgba(200, 212, 232, 0.85);
}
