/* PoBing V61.10.977 — unified community content and engagement typography contract.
   One scale across home / questions / discussions / dynamics / topics / circles / circle threads.
   Rich-text authors retain semantic H2/H3, emphasis, links, and intentional inline formatting.
   This file is loaded LAST after each page's legacy styles to avoid cascading regressions. */
.pb-community{
  --pb-content-page-title:28px;
  --pb-content-section-title:18px;
  --pb-content-card-title:17px;
  --pb-content-card-body:15px;
  --pb-content-comment-body:14px;
  --pb-content-detail-title:24px;
  --pb-content-detail-body:15px;
  --pb-content-rich-h2:20px;
  --pb-content-rich-h3:17px;
  --pb-content-meta:12px;
  --pb-content-title-color:#193c62;
  --pb-content-body-color:#385771;
  --pb-content-excerpt-color:var(--pb-content-body-color);
  --pb-content-action-size:13px;
  --pb-content-action-color:#557b9d;
  --pb-content-action-active:#0879e6;
}

/* Top-level page names; keep separate from post titles and sidebar headings. */
.pb-community .pb-community-hero h1,
.pb-community .pb-circle-directory-hero h1,
.pb-community .pb-circle-overview h1,
.pb-community .pb-circle-topic-directory h1 {
  font-size:var(--pb-content-page-title);
  line-height:1.4;
  font-weight:700;
  font-family:inherit;
  letter-spacing:normal;
  overflow-wrap:anywhere;
}

/* Section titles such as '最新交流', '圈内交流' and listing headings. */
.pb-community .pb-community-feed-title h2,
.pb-community .pb-questions-heading h2,
.pb-community .pb-topic-heading h2,
.pb-community .pb-circle-content-head h2,
.pb-community .pb-circle-section-title h2,
.pb-community .pb-circle-hot-topics-heading h2 {
  font-size:var(--pb-content-section-title);
  line-height:1.5;
  font-weight:700;
  font-family:inherit;
  letter-spacing:normal;
}

/* Titles of public discussion/question list entries, circle discussions and topic results. */
.pb-community .pb-community-card h3,
.pb-community .pb-questions-card h3,
.pb-community.pb-questions-page .pb-questions-card.pb-community-card h3,
.pb-community.pb-circles[data-circle-page="list"] .pb-circle-card-title h3,
.pb-community .pb-topic-post h3,
.pb-community .pb-circle-thread-card h3,
.pb-community .pb-circle-card-title h3,
.pb-community .pb-circle-topic-result h3,
.pb-community .pb-topic-card strong {
  font-size:var(--pb-content-card-title);
  line-height:1.55;
  font-weight:700;
  font-family:inherit;
  letter-spacing:normal;
  color:var(--pb-content-title-color);
  overflow-wrap:anywhere;
}

/* Short summaries: never change existing 2/3-line clamps or layout structure. */
.pb-community .pb-community-card .pb-community-card-text,
.pb-community .pb-questions-card .pb-community-card-text,
.pb-community.pb-questions-page .pb-questions-card.pb-community-card .pb-community-card-text,
.pb-community.pb-circles[data-circle-page="list"] .pb-circle-desc,
.pb-community .pb-topic-post .pb-list-row-main > p,
.pb-community .pb-topic-post > p,
.pb-community .pb-circle-thread-card-excerpt,
.pb-community .pb-circle-desc,
.pb-community .pb-circle-topic-result > p {
  font-size:var(--pb-content-card-body);
  line-height:1.8;
  color:var(--pb-content-excerpt-color);
  font-weight:400;
  font-family:inherit;
  letter-spacing:normal;
  overflow-wrap:anywhere;
}

/* Published article titles and full bodies (public posts and private-circle threads). */
.pb-community .pb-community-post-detail h1,
.pb-community.pb-circle-thread-view #circleThreadList > .pb-circle-thread > h3 {
  font-size:var(--pb-content-detail-title);
  line-height:1.5;
  font-weight:700;
  font-family:inherit;
  letter-spacing:normal;
  color:var(--pb-content-title-color);
  overflow-wrap:anywhere;
}
.pb-community .pb-community-post-detail .pb-community-detail-body,
.pb-community .pb-community-post-detail .pb-community-rich-content,
.pb-community.pb-circles .pb-circle-thread-text,
.pb-community.pb-circles .pb-circle-thread-text.pb-circle-rich-display {
  font-size:var(--pb-content-detail-body);
  line-height:1.8;
  color:var(--pb-content-body-color);
  font-weight:400;
  font-family:inherit;
  letter-spacing:normal;
  overflow-wrap:anywhere;
}
/* The editor should match the published full-body size, not the short excerpt size. */
.pb-community.pb-community-publish-page #communityRichBody,
.pb-community.pb-circle-compose-page .pb-circle-rich-body,
.pb-community.pb-circles .pb-circle-edit-rich-mount .pb-circle-rich-body {
  font-size:var(--pb-content-detail-body);
  line-height:1.8;
  font-weight:400;
  font-family:inherit;
}
.pb-community.pb-community-publish-page .pb-community-field > input[name="title"],
.pb-community.pb-circle-compose-page input[name="title"],
.pb-community.pb-circles .pb-circle-edit-thread-form input[name="title"] {
  font-size:16px;
  line-height:1.6;
  font-weight:400;
  font-family:inherit;
}

/* Intentional headings embedded in rich text retain their semantic hierarchy. */
.pb-community #communityRichBody h2,
.pb-community .pb-community-rich-content h2,
.pb-community.pb-circles .pb-circle-rich-body h2,
.pb-community.pb-circles .pb-circle-rich-display h2 {
  font-size:var(--pb-content-rich-h2);
  line-height:1.5;
  color:#244765;
  font-weight:700;
}
.pb-community #communityRichBody h3,
.pb-community .pb-community-rich-content h3,
.pb-community.pb-circles .pb-circle-rich-body h3,
.pb-community.pb-circles .pb-circle-rich-display h3 {
  font-size:var(--pb-content-rich-h3);
  line-height:1.55;
  color:#244765;
  font-weight:700;
}

/* Circle detail legacy rules use an ID to target every h3 nested in a post.
   Override that overly-broad selector only for rich subheadings, not the article title. */
.pb-community.pb-circle-thread-view #circleThreadList > .pb-circle-thread .pb-circle-rich-display h2{
  font-size:var(--pb-content-rich-h2);line-height:1.5;font-weight:700;
}
.pb-community.pb-circle-thread-view #circleThreadList > .pb-circle-thread .pb-circle-rich-display h3{
  font-size:var(--pb-content-rich-h3);line-height:1.55;font-weight:700;
}

/* Dynamics have no mandatory title. Their feed text uses the full-body text scale. */
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .home-dynamics-text,
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .pb-dynamics-text-content,
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .pb-dynamics-text-toggle,
.pb-community.pb-dynamics-community-page #dashboardDynamicText {
  font-size:var(--pb-content-detail-body);
  line-height:1.8;
  color:var(--pb-content-body-color);
  font-weight:400;
  font-family:inherit;
  letter-spacing:normal;
}
/* More/less is an action, so it keeps a slightly stronger weight. */
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .pb-dynamics-text-toggle{font-weight:600}

/* Comments, answers and thread replies: same text size, distinct from metadata. */
.pb-community .pb-community-response-body,
.pb-community.pb-circles .pb-circle-comment,
.pb-community.pb-circles .pb-circle-comment-text {
  font-size:var(--pb-content-comment-body);
  line-height:1.8;
  letter-spacing:normal;
}

/* Date, authorship and interaction counts: secondary hierarchy, never enlarged as titles. */
.pb-community .pb-community-card-time,
.pb-community .pb-public-list-date,
.pb-community .pb-public-list-edited,
.pb-community .pb-community-detail-date,
.pb-community .pb-community-detail-edited,
.pb-community .pb-topic-post-top,
.pb-community .pb-topic-post-bottom,
.pb-community .pb-circle-thread-meta,
.pb-community .pb-circle-thread-card-foot,
.pb-community .pb-circle-topic-meta,
.pb-community .pb-circle-meta {
  font-size:var(--pb-content-meta);
  line-height:1.6;
  font-weight:400;
}

@media(max-width:600px){
  .pb-community{
    --pb-content-page-title:24px;
    --pb-content-section-title:18px;
    --pb-content-card-title:16px;
    --pb-content-detail-title:21px;
  }
  /* Keep all excerpts and full-body text at 15px on mobile as well. */
}


/* V61.10.977 — one interaction vocabulary for questions, public discussions,
   startup dynamics, circle discussion lists/details and their reply actions.
   This is a PRESENTATION-ONLY layer; selectors deliberately exclude primary CTA,
   follow, poll voting, pagination, and comment submit controls. */
.pb-community .pb-community-actions,
.pb-community .pb-community-response-actions,
.pb-community.pb-circles .pb-circle-thread-actions,
.pb-community.pb-circles .pb-circle-thread-card-stats,
.pb-community.pb-circles .pb-circle-comment-actions,
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .home-dynamics-actions {
  align-items:center;
  column-gap:14px;
  row-gap:8px;
}
/* Standard text actions: same size, palette, weight, rhythm and interaction.
   Use list-specific containers to avoid recoloring a post's own prose or tags. */
.pb-community .pb-community-actions > :is(button,a),
.pb-community .pb-community-response-actions > button,
.pb-community.pb-circles .pb-circle-thread-actions > :is(button,.pb-circle-comment-count),
.pb-community.pb-circles .pb-circle-thread-card-stats > :is(button,span),
.pb-community.pb-circles .pb-circle-comment-actions > button,
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .home-dynamics-actions > button {
  box-sizing:border-box;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  padding:3px 0;
  min-height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--pb-content-action-color);
  font-family:inherit;
  font-size:var(--pb-content-action-size);
  font-weight:400;
  font-style:normal;
  line-height:1.55;
  letter-spacing:normal;
  text-decoration:none;
  white-space:nowrap;
}
.pb-community .pb-community-actions > :is(button,a),
.pb-community .pb-community-response-actions > button,
.pb-community.pb-circles .pb-circle-thread-actions > button,
.pb-community.pb-circles .pb-circle-thread-card-stats > button,
.pb-community.pb-circles .pb-circle-comment-actions > button,
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .home-dynamics-actions > button {cursor:pointer}
/* Dynamic page's historical typography carries !important; override only the
   engagement row instead of all dynamics buttons (follow/compose are distinct). */
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .home-dynamics-actions > button {
  font-size:var(--pb-content-action-size)!important;
}
.pb-community .pb-community-actions > :is(button,a):is(:hover,:focus-visible),
.pb-community .pb-community-response-actions > button:is(:hover,:focus-visible),
.pb-community.pb-circles .pb-circle-thread-actions > button:is(:hover,:focus-visible),
.pb-community.pb-circles .pb-circle-thread-card-stats > button:is(:hover,:focus-visible),
.pb-community.pb-circles .pb-circle-comment-actions > button:is(:hover,:focus-visible),
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .home-dynamics-actions > button:is(:hover,:focus-visible) {
  color:var(--pb-content-action-active);
  text-decoration:underline;
}
.pb-community .pb-community-actions > :is(button,a):focus-visible,
.pb-community .pb-community-response-actions > button:focus-visible,
.pb-community.pb-circles .pb-circle-thread-actions > button:focus-visible,
.pb-community.pb-circles .pb-circle-thread-card-stats > button:focus-visible,
.pb-community.pb-circles .pb-circle-comment-actions > button:focus-visible,
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .home-dynamics-actions > button:focus-visible {
  outline:2px solid var(--pb-content-action-active);
  outline-offset:3px;
  border-radius:3px;
}
.pb-community .pb-community-actions > .is-active,
.pb-community .pb-community-actions > [aria-pressed="true"],
.pb-community .pb-community-response-actions > .is-active,
.pb-community.pb-circles .pb-circle-thread-actions > :is(.is-liked,.is-saved,.is-active,[aria-pressed="true"]),
.pb-community.pb-circles .pb-circle-thread-card-stats > :is(.is-liked,.is-saved,.is-active,[aria-pressed="true"]),
.pb-community.pb-circles .pb-circle-comment-actions > :is(.is-active,[aria-pressed="true"]),
.pb-community.pb-dynamics-community-page #homeDynamicsFeed .home-dynamics-actions > :is(.is-active,[aria-pressed="true"]) {
  color:var(--pb-content-action-active);
  font-weight:600;
}
/* The old circle like button was a bordered pill; remove its visual box to
   match both the public community and startup dynamics action links. */
.pb-community.pb-circles .pb-circle-thread-actions > .pb-circle-like,
.pb-community.pb-circles .pb-circle-thread-card-stats > .pb-circle-like,
.pb-community.pb-circles .pb-circle-thread-actions > .pb-circle-like.is-liked,
.pb-community.pb-circles .pb-circle-thread-card-stats > .pb-circle-like.is-liked {
  border:0;
  background:transparent;
  border-radius:0;
  padding:3px 0;
  box-shadow:none;
}
/* Legacy circle 'helpful' states should share the same active weight/color. */
.pb-community.pb-circles .pb-circle-comment-actions > .pb-circle-comment-helpful.is-active {
  color:var(--pb-content-action-active);
  font-weight:600;
}
/* List synopsis remains distinct from its title, but is as legible as the
   dynamics body: 15px / #385771 / 1.8, also in topic and circle listings. */
.pb-community .pb-community-card .pb-community-card-text,
.pb-community.pb-questions-page .pb-questions-card .pb-community-card-text,
.pb-community .pb-topic-post .pb-list-row-main > p,
.pb-community.pb-circles .pb-circle-thread-card-excerpt,
.pb-community.pb-circles .pb-circle-desc,
.pb-community.pb-circles .pb-circle-topic-result > p {
  font-size:var(--pb-content-card-body);
  color:var(--pb-content-body-color);
  font-weight:400;
  line-height:1.8;
  letter-spacing:normal;
}
