:root {
  --detail-paper: #f6f2e8;
  --detail-surface: #fffdf8;
  --detail-ink: #14231a;
  --detail-muted: #617067;
  --detail-line: #d9d3c5;
  --detail-green: #076143;
  --detail-green-deep: #043b2d;
  --detail-green-soft: #e5f0e8;
  --detail-red: #f25440;
  --detail-yellow: #f6bd29;
  --detail-danger: #a13328;
  --detail-font: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--detail-paper); color: var(--detail-ink); font-family: var(--detail-font); }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.community-post-wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.community-post-skip { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); border-radius: 7px; padding: 11px 14px; background: var(--detail-green); color: #fff; text-decoration: none; }
.community-post-skip:focus { transform: translateY(0); }

.community-post-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid var(--detail-line); background: rgba(246, 242, 232, .98); }
.community-post-header-inner { min-height: 82px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 26px; }
.community-post-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--detail-ink); text-decoration: none; white-space: nowrap; }
.community-post-brand > span { width: 44px; height: 44px; display: block; flex: 0 0 auto; border-radius: 14px; background: transparent url("/assets/renjian-tanhuo-brand-logo.png") center/contain no-repeat; color: transparent; font-size: 0; }
.community-post-brand strong { font-size: 19px; letter-spacing: -.04em; }
.community-post-menu-toggle { width: 42px; min-width: 42px; height: 42px; min-height: 42px; display: none; align-items: center; justify-content: center; border: 1px solid var(--detail-line); border-radius: 50%; padding: 0; background: var(--detail-surface); color: var(--detail-green); font-size: 20px; }
.community-post-header nav { display: flex; justify-content: center; gap: 2px; }
.community-post-header nav a { min-height: 82px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; padding: 3px 13px 0; color: #445148; font-size: 13px; font-weight: 800; text-decoration: none; }
.community-post-header nav a:hover, .community-post-header nav a[aria-current="page"] { border-color: var(--detail-red); color: var(--detail-green); }
.community-post-account { min-width: 92px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; color: var(--detail-ink); font-size: 12px; font-weight: 850; text-decoration: none; }
.community-post-header-actions { display: flex; align-items: center; gap: 8px; }
.community-post-account [data-account-avatar] { width: 42px; height: 42px; overflow: hidden; place-items: center; border-radius: 50%; background: #eadfcd; }
.community-post-account [data-account-avatar]:not([hidden]) { display: grid; }
.community-post-account img { width: 100%; height: 100%; object-fit: cover; }

.community-post-breadcrumb { min-height: 68px; display: flex; align-items: center; gap: 7px; color: var(--detail-muted); font-size: 12px; }
.community-post-breadcrumb a { color: var(--detail-green); font-weight: 800; text-decoration: none; }
.community-post-breadcrumb a:hover { text-decoration: underline; }

.community-post-loading { min-height: 420px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.community-post-loading i { color: var(--detail-green); font-size: 30px; animation: detail-spin .9s linear infinite; }
.community-post-loading strong, .community-post-loading span { display: block; }
.community-post-loading strong { font-size: 18px; }
.community-post-loading span { margin-top: 4px; color: var(--detail-muted); font-size: 12px; }
@keyframes detail-spin { to { transform: rotate(360deg); } }

.community-post-error { min-height: 420px; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 70px; border: 1px solid var(--detail-line); border-radius: 18px; padding: clamp(34px, 6vw, 70px); background: var(--detail-surface); box-shadow: 0 18px 44px rgba(28, 43, 32, .08); }
.community-post-error > i { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: #fce1da; color: var(--detail-red); font-size: 31px; }
.community-post-error h1 { margin: 10px 0 13px; font-size: clamp(31px, 5vw, 52px); letter-spacing: -.06em; }
.community-post-error p:not(.community-post-kicker) { color: var(--detail-muted); line-height: 1.75; }
.community-post-error div > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.community-post-error a, .community-post-error button { min-height: 46px; border: 1px solid var(--detail-green); border-radius: 8px; padding: 10px 17px; background: var(--detail-green); color: #fff; font-weight: 850; text-decoration: none; }
.community-post-error button { background: transparent; color: var(--detail-green); }

.community-post-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(285px, .5fr); gap: clamp(48px, 8vw, 110px); align-items: end; padding: 38px 0 70px; }
.community-post-kicker { margin: 0; color: var(--detail-red); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.community-post-intro h1 { max-width: 790px; margin: 15px 0 20px; font-size: clamp(45px, 6.2vw, 78px); line-height: .99; letter-spacing: -.075em; }
.community-post-body { max-width: 730px; margin: 0; color: #46574c; font-size: 16px; line-height: 1.9; white-space: pre-wrap; }
.community-post-author { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.community-post-author > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--detail-green); color: #fff; font-size: 18px; font-weight: 900; }
.community-post-author strong, .community-post-author small { display: block; }
.community-post-author strong { font-size: 14px; }
.community-post-author small { margin-top: 3px; color: var(--detail-muted); font-size: 11px; }
.community-post-facts { overflow: hidden; border: 1px solid var(--detail-line); border-radius: 16px; background: var(--detail-surface); box-shadow: 12px 12px 0 #e2d9c7; }
.community-post-facts > div { min-height: 91px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--detail-line); padding: 18px 20px; }
.community-post-facts > div:last-child { border-bottom: 0; }
.community-post-facts i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--detail-green-soft); color: var(--detail-green); font-size: 17px; }
.community-post-facts small, .community-post-facts strong { display: block; }
.community-post-facts small { margin-bottom: 4px; color: var(--detail-muted); font-size: 10px; }
.community-post-facts strong { font-size: 13px; line-height: 1.45; }
.community-post-facts b { color: var(--detail-green); font-size: 21px; }

.community-post-media-shell { border-block: 1px solid #1f5947; padding: 65px 0 72px; background: var(--detail-green-deep); color: #fff; }
.community-post-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 380px); gap: 40px; align-items: end; margin-bottom: 30px; }
.community-post-section-heading h2 { max-width: 700px; margin: 12px 0 0; font-size: clamp(30px, 4.5vw, 52px); line-height: 1.06; letter-spacing: -.065em; }
.community-post-section-heading > p { margin: 0; color: #c9d8cf; font-size: 12px; line-height: 1.75; }
.community-post-media { min-width: 0; }
.community-post-media-gallery { min-width: 0; display: grid; gap: 14px; }
.community-post-media-gallery > figure { overflow: hidden; margin: 0; border: 1px solid rgba(255, 255, 255, .24); border-radius: 14px; background: #0a2d24; }
.community-post-media-gallery > figure[hidden] { display: none; }
.community-post-media-gallery > figure > img, .community-post-deferred-video > img, .community-post-deferred-video > video { width: 100%; max-height: 720px; display: block; aspect-ratio: 16 / 10; background: #0b201b; object-fit: contain; }
.community-post-deferred-video > video[hidden] { display: none; }
.community-post-media-gallery figcaption { padding: 12px 15px; color: #d6e0da; font-size: 11px; }
.community-post-deferred-video { position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.community-post-video-uncovered { position: absolute; inset: 0; width: 100%; min-height: 420px; display: grid; align-content: end; justify-items: center; gap: 6px; padding: 22px; background: #0b201b; color: #d6e0da; font-size: 11px; font-weight: 850; text-align: center; pointer-events: none; }
.community-post-video-uncovered i { color: var(--detail-yellow); font-size: 34px; }
.community-post-deferred-video.has-poster .community-post-video-uncovered { display: none; }
.community-post-deferred-video.has-poster[data-poster-unavailable] > img { display: none; }
.community-post-deferred-video.has-poster[data-poster-unavailable] .community-post-video-uncovered { display: grid; }
.community-post-deferred-video > button { position: absolute; left: 50%; top: 50%; min-height: 44px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; padding: 10px 15px; transform: translate(-50%, -50%); background: rgba(5,29,21,.82); color: #fff; font-size: 11px; font-weight: 900; box-shadow: 0 8px 28px rgba(0,0,0,.26); }
.community-post-deferred-video > button:hover { background: #fff; color: var(--detail-green-deep); }
.community-post-deferred-video.is-playing > img, .community-post-deferred-video.is-playing > .community-post-video-uncovered, .community-post-deferred-video.is-playing > button { display: none; }
.community-post-deferred-video.is-playing.has-poster[data-poster-unavailable] > .community-post-video-uncovered { display: none; }
.community-post-media-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; }
.community-post-media-carousel-controls button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; background: transparent; color: #fff; }
.community-post-media-carousel-controls button:hover:not(:disabled) { background: #fff; color: var(--detail-green-deep); }
.community-post-media-carousel-controls button:disabled { opacity: .35; cursor: not-allowed; }
.community-post-media-carousel-controls span { min-width: 50px; color: #d6e0da; font-size: 11px; font-weight: 900; text-align: center; }
.community-post-media-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.community-post-media-thumbs button { width: 58px; height: 44px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.32); border-radius: 7px; padding: 0; background: #0b201b; color: #d6e0da; }
.community-post-media-thumbs button[data-active=""] { border-color: var(--detail-yellow); box-shadow: 0 0 0 2px rgba(255,197,49,.22); }
.community-post-media-thumbs img { width: 100%; height: 100%; display: block; object-fit: cover; }
.community-post-media-thumbs i { color: var(--detail-yellow); font-size: 19px; }

.community-post-engagement { padding: 48px 0; }
.community-post-engagement-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; border: 1px solid var(--detail-line); border-radius: 17px; padding: 27px 30px; background: var(--detail-surface); box-shadow: 0 14px 38px rgba(30, 44, 34, .07); }
.community-post-engagement h2 { margin: 9px 0 8px; font-size: clamp(24px, 3.3vw, 39px); letter-spacing: -.055em; }
.community-post-engagement-panel > div:first-child > p:last-child { margin: 0; color: var(--detail-muted); font-size: 11px; }
.community-post-action-row { display: flex; align-items: stretch; gap: 8px; }
.community-post-action-row button, .community-post-action-row a { min-width: 112px; min-height: 66px; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 6px; align-content: center; justify-content: center; border: 1px solid var(--detail-line); border-radius: 10px; padding: 8px 13px; background: var(--detail-paper); color: var(--detail-ink); text-decoration: none; }
.community-post-action-row i { grid-row: 1 / 3; align-self: center; color: var(--detail-green); font-size: 20px; }
.community-post-action-row span { font-size: 11px; font-weight: 850; }
.community-post-action-row b { color: var(--detail-green); font-size: 13px; }
.community-post-action-row button.is-liked { border-color: #e9a99e; background: #fff0ec; color: var(--detail-red); }
.community-post-action-row > #communityPostFavoriteHost { display: inline-flex; align-items: stretch; }
.community-post-action-row .community-post-favorite { display: flex; width: 100%; }
.community-post-action-row .community-post-favorite-button { width: 100%; min-width: 112px; min-height: 66px; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 6px; align-content: center; justify-content: center; border-color: var(--detail-line); border-radius: 10px; background: var(--detail-paper); color: var(--detail-ink); }
.community-post-action-row .community-post-favorite-button > i { grid-row: 1 / 3; align-self: center; color: var(--detail-green); font-size: 20px; }
.community-post-action-row .community-post-favorite.is-favorited .community-post-favorite-button { border-color: #8fb5a0; background: #edf6ef; color: var(--detail-green); }
.community-post-action-row .community-post-favorite-status { left: 0; right: auto; top: calc(100% + 3px); color: var(--detail-muted); font-size: 10px; font-weight: 700; }
.community-post-share-state { grid-column: 1 / -1; min-height: 18px; margin: -15px 0 0; color: var(--detail-muted); font-size: 11px; text-align: right; }
.community-post-share-state[data-state="error"] { color: var(--detail-danger); }
.community-post-share-state[data-state="success"] { color: var(--detail-green); }

.community-post-comments { scroll-margin-top: 90px; border-top: 1px solid var(--detail-line); padding: 68px 0 78px; background: #ece7dc; }
.community-post-comments-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: clamp(42px, 7vw, 88px); align-items: start; }
.community-post-comments h2 { max-width: 670px; margin: 12px 0 26px; font-size: clamp(31px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.065em; }
.community-post-comments ol { display: grid; gap: 9px; margin: 0; padding: 0; }
.community-post-comments li { display: grid; grid-template-columns: 38px 1fr; gap: 11px; border: 1px solid var(--detail-line); border-radius: 11px; padding: 15px; background: var(--detail-surface); list-style: none; }
.community-post-comments li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--detail-green-soft); color: var(--detail-green); font-weight: 900; }
.community-post-comments li strong { font-size: 12px; }
.community-post-comments li time { margin-left: 8px; color: var(--detail-muted); font-size: 10px; }
.community-post-comments li p { margin: 6px 0 0; color: #405047; font-size: 12px; line-height: 1.65; }
.community-post-comments li.community-post-comment-receipt { border-style: dashed; border-color: #90aa9b; background: #edf5ef; }
.community-post-comments li.community-post-comment-receipt small { display: block; margin-top: 5px; color: var(--detail-green); font-size: 10px; font-weight: 800; }
.community-post-comments .community-post-comment-empty { display: flex; align-items: center; gap: 8px; color: var(--detail-muted); }
.community-post-comments form { position: sticky; top: 104px; display: grid; gap: 9px; border: 1px solid var(--detail-green); border-radius: 15px; padding: 19px; background: var(--detail-green-deep); color: #fff; box-shadow: 10px 10px 0 #d8c76d; }
.community-post-comments form > div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .22); padding-bottom: 12px; }
.community-post-comments form > div i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--detail-yellow); color: #352e13; }
.community-post-comments form strong, .community-post-comments form small { display: block; }
.community-post-comments form strong { font-size: 12px; }
.community-post-comments form small { margin-top: 3px; color: #cad8cf; font-size: 10px; }
.community-post-comments label { margin-top: 4px; font-size: 12px; font-weight: 850; }
.community-post-comments textarea { width: 100%; min-height: 82px; max-height: 180px; resize: vertical; border: 1px solid rgba(255, 255, 255, .35); border-radius: 9px; padding: 10px 11px; background: #fff; color: var(--detail-ink); font-size: 13px; line-height: 1.55; }
.community-post-comments textarea:disabled { resize: none; background: #e5e9e5; color: #66736b; }
.community-post-comments form > p { min-height: 18px; margin: 0; color: #cad8cf; font-size: 10px; }
.community-post-comments form > button { min-height: 44px; border: 0; border-radius: 8px; background: var(--detail-red); color: #fff; font-weight: 900; }

.community-post-next { border-top: 1px solid var(--detail-line); padding: 44px 0; background: var(--detail-surface); }
.community-post-next > div { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.community-post-next h2 { margin: 7px 0 0; font-size: clamp(24px, 3.5vw, 38px); letter-spacing: -.055em; }
.community-post-next > div > div:last-child { display: flex; gap: 8px; }
.community-post-next a { min-height: 45px; display: inline-flex; align-items: center; border: 1px solid var(--detail-green); border-radius: 8px; padding: 10px 16px; color: var(--detail-green); font-size: 12px; font-weight: 900; text-decoration: none; }
.community-post-next a:last-child { background: var(--detail-green); color: #fff; }

.community-post-footer { padding: 45px 0 27px; background: var(--detail-green-deep); color: #fff; }
.community-post-footer .community-post-wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 60px; align-items: center; }
.community-post-footer .community-post-brand { color: #fff; }
.community-post-footer p { grid-column: 1; margin: 0; color: #d0ddd5; font-size: 12px; }
.community-post-footer nav { grid-column: 2; grid-row: 1 / 3; display: flex; flex-wrap: wrap; gap: 18px; }
.community-post-footer nav a { color: #e2ebe5; font-size: 11px; font-weight: 750; text-decoration: none; }
.community-post-footer > div > div { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 19px; color: #b9ccc1; }
.community-post-footer .site-footer-filing:empty { display: none; }

@media (max-width: 900px) {
  .community-post-header nav { display: none; }
  .community-post-header-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .community-post-menu-toggle { display: inline-flex; justify-self: end; }
  .community-post-header nav.is-open { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--detail-line); padding: 8px 0 12px; }
  .community-post-header nav.is-open a { min-height: 42px; justify-content: center; border-bottom-width: 2px; padding: 5px 8px 3px; text-align: center; }
  .community-post-intro { grid-template-columns: 1fr; align-items: start; }
  .community-post-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .community-post-facts > div { border-right: 1px solid var(--detail-line); border-bottom: 0; }
  .community-post-section-heading, .community-post-comments-grid { grid-template-columns: 1fr; }
  .community-post-comments form { position: static; }
  .community-post-engagement-panel { grid-template-columns: 1fr; }
  .community-post-share-state { margin-top: 0; text-align: left; }
}

@media (max-width: 720px) {
  .community-post-wrap { width: min(100% - 30px, 1180px); }
  .community-post-header-inner { min-height: 68px; }
  .community-post-brand > span { width: 38px; height: 38px; }
  .community-post-account { min-width: 76px; }
  .community-post-header-actions { gap: 3px; }
  .community-post-header nav.is-open { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-post-breadcrumb { min-height: 55px; }
  .community-post-intro { gap: 34px; padding: 26px 0 48px; }
  .community-post-intro h1 { font-size: clamp(40px, 13vw, 60px); }
  .community-post-body { font-size: 15px; line-height: 1.8; }
  .community-post-facts { display: block; box-shadow: 8px 8px 0 #e2d9c7; }
  .community-post-facts > div { min-height: 78px; border-right: 0; border-bottom: 1px solid var(--detail-line); }
  .community-post-media-shell { padding: 47px 0 52px; }
  .community-post-section-heading { gap: 14px; }
  .community-post-media-gallery > figure > img, .community-post-deferred-video > img, .community-post-deferred-video > video { aspect-ratio: 4 / 3; }
  .community-post-deferred-video, .community-post-video-uncovered { min-height: 260px; }
  .community-post-engagement { padding: 28px 0; }
  .community-post-engagement-panel { padding: 21px 18px; }
  .community-post-action-row { display: grid; grid-template-columns: repeat(2, 1fr); }
  .community-post-action-row button, .community-post-action-row a { min-width: 0; min-height: 60px; }
  .community-post-action-row .community-post-favorite-button { min-width: 0; min-height: 60px; }
  .community-post-action-row #communityPostShare { grid-column: 1 / -1; }
  .community-post-comments { padding: 48px 0 57px; }
  .community-post-comments-grid { gap: 34px; }
  .community-post-comments form { padding: 21px 18px; box-shadow: 8px 8px 0 #d8c76d; }
  .community-post-next > div { align-items: flex-start; flex-direction: column; }
  .community-post-next > div > div:last-child { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .community-post-next a { justify-content: center; }
  .community-post-footer .community-post-wrap { display: block; }
  .community-post-footer p { margin-top: 14px; }
  .community-post-footer nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .community-post-footer > div > div { margin-top: 28px; }
  .community-post-error { grid-template-columns: 1fr; padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .community-post-loading i { animation: none; }
}
