/*!
 * post-show.css
 * 来源：resources/views/web/post/show.blade.php 的内联 <style>
 * 说明：仅为把样式从 HTML 里挪出来（避免慢网速下的样式错位 / FOUC），CSS 内容与原内联一致。
 */

.pd-page { background: #f5f7fa; padding: 16px 0 40px; }
.pd-page .container { width: min(1450px, calc(100% - 40px)); }
.pd-crumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #8a94a6; margin-bottom: 12px; }
.pd-crumb a { color: #8a94a6; }
.pd-crumb a:hover { color: #00b38a; }
.pd-crumb em { font-style: normal; color: #4b5563; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.pd-side { min-width: 0; }
.pd-card { background: #fff; border: 1px solid #edf0f4; border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .03); }
.pd-side > .pd-card:last-child { margin-bottom: 0; }
.pd-head { padding: 24px; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pd-cat { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; background: #e8f8f3; color: #00926f; font-size: 12px; font-weight: 600; }
.pd-badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 6px; background: #f2f5f9; color: #5b6678; font-size: 12px; }
.pd-badge-vip { background: #fff6e5; color: #b7791f; }
/* 置顶推荐：金色只用于会员/置顶/收益，普通徽章不抢视线 */
.pd-badge-top { background: #fdf6e8; color: #8a641f; font-weight: 600; }
.pd-badge-top i { color: #b8873b; }
.pd-title { margin: 0 0 14px; font-size: 26px; line-height: 1.45; font-weight: 700; color: #111827; word-break: break-word; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 16px; border-bottom: 1px dashed #eceff3; color: #8a94a6; font-size: 13px; }
.pd-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pd-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; }
.pd-avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block; }
.pd-author-info { flex: 1; min-width: 0; }
.pd-author-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #111827; }
.pd-author-name a { color: #111827; }
.pd-author-name a:hover { color: #00b38a; }
.pd-vip { color: #f0a020; font-size: 13px; }
.pd-author-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: #8a94a6; }
.pd-author-sub a { color: #5b6678; }
.pd-author-sub a:hover { color: #00b38a; }
.pd-dot { width: 3px; height: 3px; border-radius: 50%; background: #c9d0da; display: inline-block; }
.pd-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #eceff3; }
.pd-admin-tag { font-size: 12px; color: #5b6678; background: #f2f5f9; border-radius: 4px; padding: 3px 8px; }
.pd-admin-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 5px; border: 1px solid #dfe4ea; background: #fff; color: #4b5563; font-size: 12px; cursor: pointer; }
.pd-admin-btn:hover { border-color: #00b38a; color: #00b38a; }
.pd-admin-btn-danger { border-color: #f5c2c5; color: #d64545; }
.pd-admin-btn-danger:hover { background: #fff5f5; border-color: #e5484d; color: #e5484d; }
.pd-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f5; }
.pd-card-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 700; color: #111827; }
.pd-card-head h2 i { color: #00b38a; }
.pd-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #eef4ff; color: #3563c4; font-size: 12px; font-weight: 600; }
.pd-card-hint { font-size: 12px; color: #9aa3b2; }
/* 安全提醒条：独立醒目警示，置于标题卡之下（对齐 BDwork 详情页结构） */
.pd-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; margin-bottom: 14px; border: 1px solid #fde3e1; border-left: 4px solid #e5484d; border-radius: 10px; background: #fff5f4; }
.pd-alert > i { margin-top: 3px; color: #e5484d; font-size: 14px; flex: none; }
.pd-alert-body { font-size: 13px; line-height: 1.7; color: #8f2f2c; }
.pd-alert-body strong { color: #b42318; }
/* 审核状态提示条：审核中 / 审核失败的帖子，作者与管理员打开时都显示，避免误以为已对外发布 */
.pd-status-bar { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; margin-bottom: 14px; border: 1px solid #fbd9a8; border-left: 4px solid #d98324; border-radius: 10px; background: #fff8ec; }
.pd-status-bar > i { margin-top: 2px; color: #b06000; font-size: 14px; flex: none; }
.pd-status-bar-body { font-size: 13px; line-height: 1.7; color: #7a4a08; }
.pd-status-bar-body strong { color: #b06000; }
.pd-status-bar--rejected { border-color: #fde3e1; border-left-color: #e5484d; background: #fff5f4; }
.pd-status-bar--rejected > i { color: #e5484d; }
.pd-status-bar--rejected .pd-status-bar-body { color: #8f2f2c; }
.pd-status-bar--rejected .pd-status-bar-body strong { color: #b42318; }
/* 锚点快捷跳转：长页直达各内容区 */
.pd-anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-anchors a { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 14px; border: 1px solid #e3e8ef; border-radius: 15px; background: #fff; font-size: 13px; color: #475467; text-decoration: none; transition: border-color .18s, color .18s, background .18s; }
.pd-anchors a:hover { border-color: #00a37f; color: #00a37f; background: #f0faf8; }
.pd-anchors a i { font-size: 12px; color: #98a2b3; transition: color .18s; }
.pd-anchors a:hover i { color: #00a37f; }
.pd-card[id] { scroll-margin-top: 16px; }
.pd-contact-body { border-radius: 10px; }
/* 联系方式：文案居中在上，两个按钮横排居中在下 */
.pd-contact-lockrow { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 18px 16px; border: 1px dashed #dfe4ea; border-radius: 10px; background: #fafbfc; text-align: center; }
.pd-contact-lockinfo { display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* 置顶优惠标签：说清「不扣次数」，避免用户担心点了就扣额度 */
.pd-top-tip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 13px; background: #fdf6e8; color: #8a641f; font-size: 12px; font-weight: 600; }
.pd-top-tip i { font-size: 11px; color: #b8873b; }
.pd-cta-btn--primary em.is-top { color: #8a641f; font-weight: 600; }
.pd-contact-item { display: flex; flex-direction: column; gap: 4px; padding: 9px 12px; border: 1px solid #eef1f5; border-radius: 10px; background: #f7f9fb; }
.pd-contact-item span { font-size: 12px; color: #667085; }
.pd-contact-item strong { font-size: 15px; color: #111827; word-break: break-all; }
.pd-contact-note { margin: 12px 0 0; font-size: 12px; color: #667085; line-height: 1.7; }
.pd-lock-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #e8f8f3; color: #00b38a; font-size: 15px; flex: none; }
.pd-lock-text { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.pd-lock-text strong { font-size: 15px; color: #111827; }
.pd-lock-text span { font-size: 12.5px; color: #667085; line-height: 1.65; }
.pd-lock-login { margin-top: 2px; }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; text-decoration: none; }
.pd-btn-primary { background: #00b38a; color: #fff; }
.pd-btn-primary:hover { background: #009b78; color: #fff; }
.pd-btn-ghost { background: #fff; border-color: #dfe4ea; color: #4b5563; font-weight: 500; }
.pd-btn-ghost:hover { border-color: #00b38a; color: #00b38a; }
.pd-btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 6px; }
.pd-btn-block { width: 100%; }
.pd-btn-ghost.is-active { border-color: #f5c2c5; background: #fff5f5; color: #e5484d; }
.pd-danger { color: #e5484d; }
.pd-tip-link { color: #00a37f; font-weight: 600; }
.pd-tip-link:hover { color: #00926f; }
/* 合作信息：结构化字段网格，标签与值同一行，尽量省纵向空间 */
.pd-attrs { padding: 16px 20px 18px; }
.pd-attrs .pd-card-head { margin-bottom: 12px; padding-bottom: 10px; }
.pd-attr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.pd-attr-cell { display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 7px 10px; border: 1px solid #eef1f5; border-radius: 8px; background: #f8fafb; transition: border-color .18s, background .18s; }
.pd-attr-cell:hover { border-color: #cfe9e2; background: #f4fcf9; }
.pd-attr-label { flex: none; font-size: 11.5px; line-height: 1.5; color: #667085; }
.pd-attr-value { flex: 1; min-width: 0; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.55; color: #1d2939; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-attr-cell.is-empty .pd-attr-value { font-weight: 400; color: #98a2b3; }
.pd-attr-cell.is-expired { border-color: #f5d4d2; background: #fff8f7; }
.pd-attr-cell.is-expired .pd-attr-value { color: #b42318; }
.pd-detail-block + .pd-detail-block { margin-top: 22px; padding-top: 20px; border-top: 1px dashed #eef1f5; }
.pd-detail-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #111827; }
.pd-bar { display: inline-block; width: 3px; height: 14px; border-radius: 2px; background: #00b38a; }
.pd-rich { font-size: 14px; line-height: 1.9; color: #374151; word-break: break-word; }
.pd-rich img { max-width: 100%; height: auto; border-radius: 8px; }
/* 富文本兜底：用户粘贴的段落/表格/列表统一排版，宽表不许撑破卡片 */
.pd-rich p { margin: 0 0 10px; }
.pd-rich p:last-child { margin-bottom: 0; }
.pd-rich table { max-width: 100%; width: auto; border-collapse: collapse; margin: 10px 0; }
.pd-rich th, .pd-rich td { border: 1px solid #e9eef3; padding: 6px 10px; font-size: 13px; line-height: 1.6; }
.pd-rich th { background: #f7f9fb; font-weight: 600; color: #1d2939; }
.pd-rich ul, .pd-rich ol { margin: 0 0 10px; padding-left: 22px; }
.pd-rich li { margin: 3px 0; }
.pd-rich a { color: #00a37f; }
.pd-rich blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid #b9e3db; background: #f4fcf9; border-radius: 6px; color: #475467; }
.pd-detail-internal { background: #fffaf0; border: 1px solid #fdecc8; border-radius: 10px; padding: 16px; }
.pd-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.pd-gallery .image_wrap { position: relative; padding-top: 75%; overflow: hidden; border: 1px solid #eef1f5; border-radius: 8px; background: #f3f4f6; cursor: zoom-in; }
.pd-gallery .image_wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pd-gallery .image_wrap:hover img { transform: scale(1.04); }
.pd-comments .rpl-list { display: flex; flex-direction: column; }
.pd-comments .rpl-item { padding: 16px 0; border-bottom: 1px solid #f2f4f7; }
.pd-comments .rpl-item:last-child { border-bottom: none; padding-bottom: 0; }
.pd-comments .rpl-user-header { display: flex; gap: 12px; }
.pd-comments .rpl-user-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pd-comments .rpl-default-avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 600; }
.pd-comments .rpl-user-main { flex: 1; min-width: 0; }
.pd-comments .rpl-user-header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-comments .rpl-user-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; color: #111827; }
.pd-comments .rpl-user-name > a { overflow: hidden; max-width: 180px; text-overflow: ellipsis; white-space: nowrap; }
.pd-comments .rpl-auth-tag { padding: 2px 6px; border-radius: 4px; background: #e8f8f3; color: #00926f; font-size: 11px; font-weight: 400; }

/* 留言人会员身份徽章（与 /u/{id}、/member/list 的 .vip-tag 同名同款，改一处记得同步）
   level 1 标准 VIP / level 2 超级 SVIP / level 3 荣耀 SVIP */
.pd-comments .vip-tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  height: 18px;
  padding: 0 7px 0 6px;
  border: 1px solid #ecd9b4;
  border-radius: 100px;
  background: linear-gradient(135deg, #fdf8ee, #f9edd6);
  color: #8a641f;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1;
  white-space: nowrap;
}
.pd-comments .vip-tag i { color: #b8873b; font-size: 8.5px; }
.pd-comments .vip-tag.is-lv2 { border-color: #e2c58c; background: linear-gradient(135deg, #fbf0d8, #f3e0b7); color: #6f4c12; }
.pd-comments .vip-tag.is-lv2 i { color: #9c7420; }
.pd-comments .vip-tag.is-lv3 {
  border-color: #7a5416;
  background: linear-gradient(135deg, #6b4a12, #8a641f 58%, #6b4a12);
  color: #fff4dc;
  box-shadow: 0 2px 7px rgba(107, 74, 18, .26);
}
.pd-comments .vip-tag.is-lv3 i { color: #ffd98f; }
.pd-comments .rpl-time-info { font-size: 12px; color: #9aa3b2; white-space: nowrap; }
.pd-comments .rpl-company-info { margin-top: 4px; font-size: 12px; color: #8a94a6; }
.pd-comments .rpl-content { margin-top: 8px; padding-left: 52px; }
.pd-comments .rpl-text { font-size: 14px; line-height: 1.7; color: #4b5563; white-space: pre-wrap; word-break: break-word; }

/* 楼层下的「回复意向」：其他人给这条合作意向留的留言，缩进 + 浅底，和顶层留言区分开 */
.pd-comments .rpl-replies {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 10px 0 0;
  padding: 10px 12px;
  margin-left: 52px;
  border-radius: 10px;
  background: #f7f9fa;
}
.pd-comments .rpl-reply { display: flex; gap: 8px; padding: 8px 0; }
.pd-comments .rpl-reply + .rpl-reply { border-top: 1px dashed #e6ebf0; }
.pd-comments .rpl-reply-avatar { flex: none; }
.pd-comments .rpl-reply-avatar img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; }
.pd-comments .rpl-reply-avatar .rpl-default-avatar { width: 26px; height: 26px; font-size: 12px; }
.pd-comments .rpl-reply-main { flex: 1; min-width: 0; }
.pd-comments .rpl-reply-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pd-comments .rpl-reply-name { font-size: 13px; font-weight: 600; color: #111827; }
.pd-comments .rpl-reply-name:hover { color: #087e78; }
.pd-comments .rpl-reply-to { font-size: 12px; color: #8a94a6; }
.pd-comments .rpl-reply-to b { font-weight: 600; color: #087e78; }
.pd-comments .rpl-reply-time { margin-left: auto; font-size: 11.5px; color: #9aa3b2; white-space: nowrap; }
.pd-comments .rpl-reply-text { margin-top: 2px; font-size: 13px; line-height: 1.65; color: #4b5563; white-space: pre-wrap; word-break: break-word; }

/* 顶层留言的「回复这条意向」入口 */
.pd-comments .rpl-reply-bar { margin-top: 8px; padding-left: 52px; }
.pd-comments .rpl-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid #d6e7e2;
  border-radius: 100px;
  background: #f6fbf9;
  color: #05625d;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.pd-comments .rpl-reply-btn i { font-size: 11px; color: #0b8a83; }
.pd-comments .rpl-reply-btn:hover { border-color: #087e78; background: #eaf7f3; }
.pd-comments .rpl-reply-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: #d9efe8;
  color: #05625d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.pd-loading { padding: 16px 0; text-align: center; font-size: 13px; color: #9aa3b2; }
.pd-empty { padding: 32px 0 20px; text-align: center; color: #9aa3b2; }
.pd-empty i { font-size: 30px; color: #d5dbe3; }
.pd-empty p { margin: 8px 0 0; font-size: 13px; }
.pd-cta { border: none; background: linear-gradient(135deg, #00b38a 0%, #00c9a0 100%); color: #fff; }
.pd-cta-title { font-size: 17px; font-weight: 700; }
.pd-cta-desc { margin: 6px 0 16px; font-size: 13px; opacity: .9; }
.pd-cta .pd-btn-primary { background: #fff; color: #009b78; }
.pd-cta .pd-btn-primary:hover { background: #f0fffa; }
.pd-cta-list { display: flex; flex-direction: column; gap: 8px; }
.pd-cta-btn { display: flex; align-items: center; gap: 8px; width: 100%; height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 9px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer; text-align: left; transition: background .2s, transform .2s; }
.pd-cta-btn:hover { background: rgba(255, 255, 255, .28); transform: translateY(-1px); }
.pd-cta-btn i { width: 15px; text-align: center; opacity: .92; }
.pd-cta-btn em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 400; opacity: .82; white-space: nowrap; }
.pd-cta-btn--primary { background: #fff; border-color: transparent; color: #05625d; }
.pd-cta-btn--primary:hover { background: #f0fffa; }
.pd-cta-btn--primary i { opacity: 1; color: #0b8a83; }
.pd-cta-btn--primary em { color: #4b5563; opacity: 1; }
.pd-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pd-cta .pd-btn-ghost { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: #fff; }
.pd-cta .pd-btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.pd-cta .pd-btn-ghost.is-active { background: rgba(255, 255, 255, .92); color: #e5484d; border-color: transparent; }
.pd-side-title { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f5; font-size: 15px; font-weight: 700; color: #111827; }
.pd-publisher-head { display: flex; align-items: center; gap: 12px; }
.pd-publisher-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.pd-publisher-name { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.pd-publisher-name a { color: #111827; }
.pd-publisher-name a:hover { color: #00b38a; }
.pd-publisher-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; font-size: 12px; color: #00926f; }
.pd-publisher-list { list-style: none; margin: 14px 0 0; padding: 0; }
.pd-publisher-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; }
.pd-publisher-list li span { color: #8a94a6; flex: none; }
.pd-publisher-list li em { font-style: normal; color: #4b5563; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-publisher-list li em a { color: #4b5563; }
.pd-publisher-intro { margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: #f7f9fb; font-size: 13px; line-height: 1.7; color: #6b7280; }
.pd-assurance ul { list-style: none; margin: 0; padding: 0; }
.pd-assurance li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 13px; line-height: 1.6; color: #5b6678; }
.pd-assurance li i { margin-top: 3px; color: #00b38a; }
.pd-latest ul { list-style: none; margin: 0; padding: 0; }
.pd-latest li { padding: 9px 0; border-bottom: 1px dashed #f0f2f5; }
.pd-latest li:last-child { border-bottom: none; padding-bottom: 0; }
.pd-latest li a { display: block; font-size: 13px; line-height: 1.5; color: #374151; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pd-latest li a:hover { color: #00b38a; }
.pd-latest li span { display: block; margin-top: 4px; font-size: 12px; color: #9aa3b2; }
.pd-side-empty { font-size: 13px; color: #9aa3b2; }
.pd-qr { display: flex; align-items: center; gap: 12px; }
.pd-qr img { width: 76px; height: 76px; border-radius: 8px; object-fit: contain; background: #f7f9fb; }
.pd-qr div { display: flex; flex-direction: column; gap: 5px; }
.pd-qr strong { font-size: 13px; color: #111827; }
.pd-qr span { font-size: 12px; color: #8a94a6; }
.pd-apply-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid #e6f6f0; border-radius: 10px; background: #f4fcf9; }
.pd-apply-bar-text { display: flex; flex-direction: column; gap: 4px; }
.pd-apply-bar-text strong { font-size: 14px; color: #111827; }
.pd-apply-bar-text span { font-size: 12px; color: #8a94a6; }
.pd-apply-bar .pd-btn { flex: none; }
.pd-apply-bar .pd-btn[disabled] { background: #e5e7eb; color: #9aa3b2; cursor: not-allowed; }
.pd-apply-list { display: flex; flex-direction: column; }
.pd-apply-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f2f4f7; }
.pd-apply-item:last-child { border-bottom: none; padding-bottom: 0; }
.pd-apply-avatar img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.pd-apply-main { flex: 1; min-width: 0; }
.pd-apply-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-apply-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; color: #111827; }
.pd-apply-name a { color: #111827; }
.pd-apply-name a:hover { color: #00b38a; }
.pd-apply-time { font-size: 12px; color: #9aa3b2; white-space: nowrap; }
.pd-apply-status { padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 400; }
.pd-apply-status-0 { background: #fff7e6; color: #b7791f; }
.pd-apply-status-1 { background: #e8f8f3; color: #00926f; }
.pd-apply-status-2 { background: #f3f4f6; color: #8a94a6; }
.pd-apply-sub { margin-top: 5px; font-size: 12px; color: #8a94a6; }
.pd-apply-source { margin-left: 8px; padding: 1px 6px; border-radius: 4px; background: #eef4ff; color: #3563c4; }
.pd-apply-content { margin: 8px 0 0; padding: 8px 12px; border-radius: 6px; background: #f7f9fb; font-size: 13px; line-height: 1.7; color: #5b6678; }
.pd-apply-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; }
.pd-apply-citem { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.pd-apply-citem em { font-style: normal; font-size: 12px; color: #8a94a6; }
.pd-apply-citem strong { font-weight: 600; color: #111827; }
.pd-apply-contact-tip { font-size: 12px; color: #9aa3b2; }
.pd-apply-actions { display: flex; flex-direction: column; gap: 8px; flex: none; }

/* ==================== 发布者本人提示 ==================== */
.pd-coop { padding: 20px 24px 16px; }
.pd-coop .pd-card-head { margin-bottom: 14px; }
.pd-coop-self { padding: 14px 16px; border: 1px dashed #dfe4ea; border-radius: 10px; background: #fafbfc; font-size: 13px; line-height: 1.7; color: #667085; }
.pd-coop-self a { color: #067069; font-weight: 600; }

/* 申请留言弹窗 */
.coop-intent { padding: 2px; }
.pd-intent-options { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.pd-intent-option { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border: 1px solid #e9eef3; border-radius: 9px; background: #fbfcfd; font-size: 13.5px; line-height: 1.6; color: #344054; cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s; }
.pd-intent-option:hover { border-color: #b9e3db; background: #f3fbf9; }
.pd-intent-option input { margin: 3px 0 0; accent-color: #087e78; flex: none; }
.pd-intent-option:has(input:checked) { border-color: #087e78; background: #f0faf8; box-shadow: 0 0 0 3px rgba(8, 126, 120, .1); }

/* 额度用尽补充弹窗 */
.coop-more { padding: 2px; }
.coop-more__msg { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: #475467; }
.coop-more__msg b { color: #b42318; }
.coop-more__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding: 11px 12px; border: 1px solid #eef1f5; border-radius: 9px; background: #fafbfc; font-size: 13px; color: #344054; }
.coop-more__row i { width: 15px; margin-right: 5px; color: #b8873b; text-align: center; }
.coop-more__btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border: none; border-radius: 6px; background: #087e78; color: #fff; font-size: 12.5px; font-weight: 600; font-family: inherit; cursor: pointer; text-decoration: none; white-space: nowrap; }
.coop-more__btn:hover { background: #05625d; color: #fff; }
.coop-more__tip { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: #98a2b3; }

/* 立即沟通确认弹窗：明确告知要扣「今日私信次数」还是「联系卡」 */
.coop-chat { padding: 2px; }
.coop-chat__to { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: #344054; }
.coop-chat__to i { width: 16px; margin-right: 4px; color: #087e78; text-align: center; }
.coop-chat__to b { font-weight: 600; color: #101828; }
.coop-chat__cost { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #d9efe8; border-radius: 10px; background: #f4fcf9; }
.coop-chat__cost-main { display: flex; align-items: baseline; gap: 5px; font-size: 13px; color: #344054; }
.coop-chat__cost-main i { align-self: center; width: 15px; margin-right: 3px; color: #0b8a83; text-align: center; }
.coop-chat__cost-main b { font-size: 19px; font-weight: 700; line-height: 1; color: #067069; }
.coop-chat__cost-sub { flex: none; font-size: 12px; color: #667085; white-space: nowrap; }
.coop-chat__cost-sub b { font-weight: 600; color: #344054; }
.coop-chat__cost.is-card { border-color: #f0e2c6; background: #fdf9f0; }
.coop-chat__cost.is-card .coop-chat__cost-main i,
.coop-chat__cost.is-card .coop-chat__cost-main b { color: #8a641f; }
.coop-chat__cost.is-free { border-color: #e9eef3; background: #fafbfc; }
.coop-chat__cost.is-free .coop-chat__cost-main,
.coop-chat__cost.is-free .coop-chat__cost-main i { color: #067069; }
.coop-chat__tip { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: #667085; }

/* 查看前自动发送意向合作的结果条：成功给正反馈，失败如实说明但不阻断查看 */
.pd-auto-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; padding: 9px 12px; border-radius: 9px; font-size: 12.5px; line-height: 1.55; }
.pd-auto-note > i { flex: none; margin-top: 2px; font-size: 12px; }
.pd-auto-note b { font-weight: 600; }
.pd-auto-note em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; color: #7a8797; }
.pd-auto-note.is-ok { border: 1px solid #cfeae2; background: #f2fbf8; color: #05625d; }
.pd-auto-note.is-ok > i { color: #0b8a83; }
.pd-auto-note.is-warn { border: 1px solid #f3e3c4; background: #fdf9f0; color: #8a641f; }
.pd-auto-note.is-warn > i { color: #b8873b; }

/* 联系方式掩码预览：默认整块不渲染，连「手机 / 微信」等渠道名都不出现；
   点击「查看联系方式」后（body.is-revealed）才显示四项完整信息 */
.pd-contact-mask { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-contact-body.is-revealed .pd-contact-mask { display: grid; }
.pd-contact-mask .pd-contact-item strong { color: #c3cad4; letter-spacing: 3px; font-size: 15px; transition: color .2s; }
.pd-contact-mask .pd-contact-item span i { margin-right: 4px; color: #c3cad4; }
.pd-contact-mask .pd-contact-item.is-empty strong { color: #b6bfca; letter-spacing: normal; font-size: 14px; }
.pd-contact-body.is-revealed .pd-contact-mask .pd-contact-item { border-color: #d9efe8; background: #f4fcf9; }
.pd-contact-body.is-revealed .pd-contact-mask .pd-contact-item span { color: #067069; }
.pd-contact-body.is-revealed .pd-contact-mask .pd-contact-item span i { color: #0b8a83; }
.pd-contact-body.is-revealed .pd-contact-mask .pd-contact-item strong { color: #111827; letter-spacing: normal; font-size: 15px; }
.pd-contact-mask-flash { animation: pdMaskFlash .6s ease; }
@keyframes pdMaskFlash {
  0% { background: #e2f6f0; }
  100% { background: #f4fcf9; }
}

/* 联系方式操作区：右侧竖排两键，紧凑不占高 */
.pd-contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.pd-contact-actions .pd-btn { box-sizing: border-box; }
.pd-contact-actions .pd-btn-primary { height: 42px; min-width: 200px; padding: 0 26px; font-size: 14.5px; }
.pd-contact-actions .pd-btn-apply { height: 42px; padding: 0 22px; border-color: #a9dcd0; background: #effaf7; color: #05625d; font-size: 13.5px; font-weight: 600; }
.pd-contact-actions .pd-btn-apply i { color: #087e78; font-size: 12px; }
.pd-contact-actions .pd-btn-apply:hover { border-color: #087e78; background: #e0f5ef; color: #05625d; }

/* ==================== layer 弹窗统一皮肤（详情页所有弹窗） ==================== */
.pd-layer { border-radius: 12px !important; overflow: hidden; border: 0 !important; box-shadow: 0 12px 40px rgba(16, 24, 40, .18) !important; }
.pd-layer, .pd-layer * { box-sizing: border-box; }
.pd-layer .layui-layer-title { height: 48px; line-height: 48px; padding: 0 16px; background: #fff; border-bottom: 1px solid #eef1f5; font-size: 15px; font-weight: 700; color: #111827; }
.pd-layer .layui-layer-content { padding: 14px 16px 6px; max-height: min(62vh, 480px); overflow-y: auto; background: #fff; color: #344054; font-size: 13.5px; }
.pd-layer .layui-layer-btn { padding: 10px 16px 14px; border-top: 1px solid #f4f6f9; background: #fff; }
.pd-layer .layui-layer-btn a { height: 38px; line-height: 38px; padding: 0 22px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.pd-layer .layui-layer-btn .layui-layer-btn0 { background: #00b38a !important; border-color: #00b38a !important; color: #fff !important; }
.pd-layer .layui-layer-btn .layui-layer-btn1 { background: #fff !important; border: 1px solid #dfe4ea !important; color: #4b5563 !important; font-weight: 500 !important; }
.pd-layer .layui-layer-setwin .layui-layer-close1 { cursor: pointer; }
.pd-dialog { font-size: 13.5px; color: #344054; }
.pd-dialog__lead { margin: 0 0 12px; line-height: 1.7; }
@media (max-width: 480px) {
  .pd-layer .layui-layer-btn a { height: 40px; line-height: 40px; padding: 0 16px; font-size: 13.5px; }
  .pd-layer .layui-layer-title { font-size: 14.5px; }
}

/* 作者行右侧操作组 */
.pd-author-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.pd-author-actions .pd-btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 6px; }
.pd-author-actions .pd-btn-sm i { font-size: 12px; }

/* 移动端 / 窄屏吸底操作条 */
.pd-dock { display: none; }
@media (max-width: 1000px) {
  .pd-dock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid #eceff3; box-shadow: 0 -4px 16px rgba(16, 24, 40, .07); }
  .pd-dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: none; border-radius: 9px; color: #fff; font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; }
  .pd-dock__btn i { font-size: 13px; }
  .pd-dock__btn--view { background: linear-gradient(135deg, #087e78, #05625d); }
  .pd-dock__btn--apply { background: linear-gradient(135deg, #8f6119, #6f4a10); }
  .pd-dock__btn--chat { background: linear-gradient(135deg, #3457b2, #24408a); }
  .pd-page { padding-bottom: 86px; }
}
@media (max-width: 420px) {
  .pd-dock__btn { font-size: 12px; letter-spacing: -.2px; }
}
.image-preview-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(12, 16, 22, .92); align-items: center; justify-content: center; }
.image-preview-overlay.active { display: flex; }
.image-preview-container { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.image-preview-container img { max-width: 88vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.preview-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 20px; cursor: pointer; user-select: none; }
.preview-nav:hover { background: rgba(255, 255, 255, .26); }
.preview-prev { left: 24px; }
.preview-next { right: 24px; }
.preview-close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.preview-close:hover { background: rgba(255, 255, 255, .26); }
.preview-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; }
@media (max-width: 1240px) {
  .pd-page .container { width: 100%; max-width: 1450px; padding: 0 16px; box-sizing: border-box; }
}
@media (max-width: 1023px) {
  .pd-attr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr); }
  .pd-title { font-size: 22px; }
  .pd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pd-card { padding: 16px; }
  .pd-coop { padding: 16px; }
  .pd-head { padding: 18px 16px; }
  .pd-contact-actions .pd-btn-primary { height: 44px; min-width: 180px; flex: 1 1 100%; max-width: 340px; }
  .pd-contact-actions .pd-btn-apply { height: 44px; flex: 1 1 100%; max-width: 340px; }
  /* 联系方式手机端：文案与按钮整体居中，主/次按钮纵向铺满 */
  .pd-contact-lockrow { padding: 14px; gap: 10px; }
  .pd-contact-actions { gap: 8px; }
  .pd-contact-mask { grid-template-columns: minmax(0, 1fr); }
  .pd-attrs { padding: 14px 16px 16px; }
  /* 手机端单列，保证结构化字段完整可见，不被省略号截断 */
  .pd-attr-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-author { flex-wrap: wrap; }
  .pd-author-actions { width: calc(100% - 58px); margin-left: 58px; flex: none; }
  .pd-author-actions .pd-btn-sm { flex: 1; }
  .pd-meta { gap: 6px 12px; }
  .pd-comments .rpl-content { padding-left: 0; }
  /* 窄屏不再缩进，靠背景色区分层级 */
  .pd-comments .rpl-replies { margin-left: 0; padding: 8px 10px; }
  .pd-comments .rpl-reply-bar { padding-left: 0; }
  .pd-apply-bar { flex-direction: column; align-items: flex-start; }
  .pd-apply-item { flex-wrap: wrap; }
  .pd-apply-actions { flex-direction: row; }
  .preview-prev { left: 10px; }
  .preview-next { right: 10px; }
}
