:root {
  --community-paper: #f6f2e8;
  --community-paper-strong: #fffdf8;
  --community-ink: #16231b;
  --community-muted: #617066;
  --community-faint: #8e988f;
  --community-line: #d9d4c8;
  --community-soft-line: #e9e3d6;
  --community-green: #075f42;
  --community-green-deep: #043a2c;
  --community-green-soft: #e5f0e7;
  --community-red: #f25440;
  --community-red-deep: #d83d2b;
  --community-yellow: #f7bd27;
  --community-yellow-soft: #fff2c7;
  --community-danger: #a13328;
  --community-radius: 18px;
  --community-radius-sm: 10px;
  --community-shadow: 0 18px 42px rgba(30, 45, 33, .09);
  --community-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(--community-paper); color: var(--community-ink); font-family: var(--community-font); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.community-wrap { width: min(1220px, calc(100% - 56px)); margin-inline: auto; }
.community-skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); border-radius: 8px; padding: 11px 14px; background: var(--community-green); color: #fff; font-size: 13px; font-weight: 900; text-decoration: none; transition: transform .16s ease; }
.community-skip-link:focus { transform: translateY(0); }

.community-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid var(--community-line); background: rgba(246, 242, 232, .98); }
.community-header-inner { min-height: 90px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 25px; }
.community-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--community-ink); font-size: 20px; font-weight: 950; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.community-brand-mark { 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; letter-spacing: 0; }
.community-navigation { display: flex; align-items: stretch; justify-content: center; gap: 2px; min-width: 0; }
.community-navigation a { position: relative; min-height: 90px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; color: #425148; font-size: 13px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.community-navigation a:hover { color: var(--community-green); }
.community-navigation a[aria-current="page"] { color: var(--community-green); }
.community-navigation a[aria-current="page"]::after { position: absolute; right: 13px; bottom: 18px; left: 13px; height: 3px; content: ""; background: var(--community-red); }
.community-account-entry { min-width: 104px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--community-ink); font-size: 12px; font-weight: 900; text-decoration: none; }
.community-account-entry.is-authenticated { min-width: 44px; width: 44px; height: 44px; }
.community-header-actions { display: flex; align-items: center; gap: 8px; }
.community-account-avatar { width: 44px; height: 44px; overflow: hidden; display: grid; place-items: center; border: 0; border-radius: 50%; background: #e6decf; color: var(--community-green); }
.community-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.community-menu-toggle { width: 42px; height: 42px; display: none; place-items: center; border: 1px solid var(--community-line); border-radius: 50%; background: var(--community-paper-strong); color: var(--community-ink); font-size: 20px; }

.city-hub-subnav { position: sticky; z-index: 24; top: 90px; border-bottom: 1px solid var(--community-line); background: #fffdf8; box-shadow: 0 8px 24px rgba(30, 45, 33, .05); }
.city-hub-subnav-inner { min-height: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.city-hub-subnav a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 9px; align-items: center; border-right: 1px solid var(--community-soft-line); padding: 8px 18px; color: #445248; text-decoration: none; }
.city-hub-subnav a:first-child { border-left: 1px solid var(--community-soft-line); }
.city-hub-subnav a > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--community-green-soft); color: var(--community-green); font-size: 16px; }
.city-hub-subnav a span, .city-hub-subnav a strong, .city-hub-subnav a small { display: block; min-width: 0; }
.city-hub-subnav a strong { font-size: 13px; }
.city-hub-subnav a small { margin-top: 2px; color: var(--community-muted); font-size: 10px; line-height: 1.25; }
.city-hub-subnav a:hover, .city-hub-subnav a[aria-current="page"] { background: var(--community-green-deep); color: #fff; }
.city-hub-subnav a:hover > i, .city-hub-subnav a[aria-current="page"] > i { background: var(--community-yellow); color: #3d3213; }
.city-hub-subnav a:hover small, .city-hub-subnav a[aria-current="page"] small { color: #d5e1d8; }
[data-city-hub-view="records"] [data-city-hub-section="contribute"],
[data-city-hub-view="records"] [data-city-hub-section="history"],
[data-city-hub-view="contribute"] [data-city-hub-section="records"],
[data-city-hub-view="contribute"] [data-city-hub-section="history"],
[data-city-hub-view="history"] [data-city-hub-section="records"],
[data-city-hub-view="history"] [data-city-hub-section="contribute"] { display: none !important; }
[data-city-hub-view="contribute"] .community-comment-rules { border-top: 1px solid var(--community-line); }
[data-city-hub-view="history"] .community-comment-rules { display: none !important; }

.community-hero { overflow: hidden; border-bottom: 1px solid var(--community-line); background: #eee9dc; }
.community-hero-grid { min-height: 470px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(370px, .86fr); align-items: center; gap: clamp(38px, 5vw, 78px); padding: 48px 0 46px; }
.community-hero-copy { max-width: 650px; }
.community-eyebrow, .community-section-kicker { margin: 0; color: var(--community-red); font-size: 12px; font-weight: 950; letter-spacing: .07em; }
.community-eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.community-hero h1 { max-width: 650px; margin: 14px 0 17px; font-size: clamp(42px, 4.25vw, 60px); line-height: 1.04; letter-spacing: -.065em; text-wrap: balance; }
.community-hero h1 span { color: var(--community-red); }
.community-hero-lead { max-width: 600px; margin: 0; color: #4e5d52; font-size: 15px; line-height: 1.75; }
.community-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.community-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 9px; padding: 10px 17px; color: var(--community-ink); font-size: 13px; font-weight: 950; line-height: 1; text-decoration: none; transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease; }
.community-button:hover:not(:disabled) { transform: translateY(-2px); }
.community-button:disabled { opacity: .57; }
.community-button-primary { background: var(--community-red); color: #fff; }
.community-button-primary:hover:not(:disabled) { background: var(--community-red-deep); }
.community-button-outline { border-color: #7d8b80; background: transparent; }
.community-button-outline:hover:not(:disabled) { border-color: var(--community-green); background: var(--community-green-soft); color: var(--community-green); }
.community-post-card h3 a { color: inherit; text-decoration: none; }
.community-post-card h3 a:hover { color: var(--community-green); text-decoration: underline; text-underline-offset: 4px; }
.community-detail-link { text-decoration: none; }
.community-promise-list { display: flex; flex-wrap: wrap; gap: 8px 19px; margin: 23px 0 0; padding: 0; }
.community-promise-list li { min-width: 155px; display: grid; grid-template-columns: 25px 1fr; gap: 7px; align-items: center; list-style: none; }
.community-promise-list i { color: var(--community-green); font-size: 20px; }
.community-promise-list strong, .community-promise-list small { display: block; }
.community-promise-list strong { font-size: 12px; }
.community-promise-list small { margin-top: 2px; color: var(--community-muted); font-size: 10px; line-height: 1.35; }

.community-hero-visual { position: relative; overflow: hidden; min-height: 348px; padding: 32px 34px 27px; border: 1px solid #1b6950; border-radius: 18px; background: var(--community-green-deep); color: #fff; box-shadow: 13px 13px 0 #d4c56c; }
.community-visual-corner { position: absolute; width: 78px; height: 78px; border: 1px solid rgba(255, 255, 255, .22); }
.community-visual-corner-top { top: -43px; right: -42px; border-radius: 50%; background: var(--community-yellow); }
.community-visual-corner-bottom { right: 45px; bottom: -55px; border-radius: 50%; background: var(--community-red); }
.community-visual-heading { position: relative; z-index: 1; max-width: 360px; }
.community-visual-heading span { display: inline-flex; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; padding: 5px 9px; color: #ecf3eb; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.community-visual-heading strong { display: block; margin-top: 13px; font-size: 24px; line-height: 1.28; letter-spacing: -.045em; }
.community-visual-steps { position: relative; z-index: 1; display: grid; gap: 0; margin: 18px 0 10px; padding: 0; }
.community-visual-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; min-height: 50px; border-top: 1px solid rgba(255, 255, 255, .2); list-style: none; }
.community-visual-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.community-visual-steps > li > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--community-yellow); color: #3b3214; font-size: 9px; font-weight: 950; }
.community-visual-steps strong, .community-visual-steps small { display: block; }
.community-visual-steps strong { font-size: 12px; }
.community-visual-steps small { margin-top: 2px; color: #cfddcf; font-size: 10px; }
.community-visual-note { position: relative; z-index: 1; display: grid; grid-template-columns: 17px 1fr; gap: 7px; margin-top: 15px; color: #c9d8cc; font-size: 10px; line-height: 1.5; }
.community-visual-note i { color: var(--community-yellow); font-size: 16px; }
.community-visual-note p { margin: 0; }

.community-intro { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.65fr); gap: 28px; align-items: center; padding: 34px 0 32px; }
.community-intro h2, .community-section-heading h2, .community-login-gate h2, .community-submission-header h2, .community-comment-rules h2 { margin: 9px 0 0; font-size: clamp(29px, 3.1vw, 43px); line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.community-value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.community-value-grid article { min-height: 0; display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "icon title" "icon copy"; column-gap: 12px; align-content: center; padding: 16px; border: 1px solid var(--community-line); border-radius: var(--community-radius-sm); background: var(--community-paper-strong); box-shadow: 0 10px 26px rgba(31, 45, 33, .05); }
.community-value-grid article:first-child { border-color: #d9a727; background: var(--community-yellow); }
.community-value-grid i { grid-area: icon; align-self: start; color: var(--community-green); font-size: 25px; }
.community-value-grid h3 { grid-area: title; margin: 0 0 4px; font-size: 16px; letter-spacing: -.04em; }
.community-value-grid p { grid-area: copy; margin: 0; color: var(--community-muted); font-size: 11px; line-height: 1.55; }
.community-value-grid article:first-child p { color: #514619; }

.community-feed-section { border-top: 1px solid var(--community-line); border-bottom: 1px solid var(--community-line); padding: 68px 0 76px; background: var(--community-paper-strong); }
.community-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 46px; align-items: end; }
.community-section-heading > p { max-width: 450px; margin: 0 0 4px; color: var(--community-muted); font-size: 13px; line-height: 1.7; }
.community-feed-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 29px; padding-bottom: 16px; border-bottom: 1px solid var(--community-soft-line); }
.community-city-filter, .community-source-filter { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--community-line); border-radius: 8px; padding: 4px 7px 4px 11px; background: #fffefa; color: var(--community-muted); font-size: 10px; font-weight: 900; }
.community-city-filter select, .community-source-filter select { min-height: 27px; border: 0; background: transparent; color: var(--community-ink); font-size: 11px; font-weight: 900; }
.community-city-filter select:disabled { color: #8a8d85; cursor: not-allowed; }
.community-filter, .community-feed-refresh { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--community-line); border-radius: 999px; padding: 7px 13px; background: #fffefa; color: #455348; font-size: 11px; font-weight: 900; }
.community-filter:hover:not(:disabled), .community-filter.is-active, .community-feed-refresh:hover { border-color: var(--community-green); background: var(--community-green); color: #fff; }
.community-filter:disabled { border-color: #dfded7; background: #f3f1ea; color: #8a8d85; opacity: .72; }
.community-feed-refresh { margin-left: auto; border-radius: 8px; }
.community-feed-status { min-height: 43px; display: flex; align-items: center; gap: 8px; margin: 13px 0 14px; color: var(--community-muted); font-size: 12px; }
.community-feed-status i { color: var(--community-green); font-size: 17px; }
.community-feed-status[data-state="loading"] .ri-loader-4-line { animation: community-spin .8s linear infinite; }
.community-feed-status[data-state="error"] { color: var(--community-danger); }
.community-feed-status[data-state="error"] i { color: var(--community-red); }
.community-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
.community-post-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--community-line); border-radius: 15px; background: #fffefa; box-shadow: 0 11px 27px rgba(35, 47, 36, .055); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.community-post-card:hover { border-color: #9aab9e; transform: translateY(-3px); box-shadow: var(--community-shadow); }
.community-post-card[data-community-card-open] { cursor: pointer; }
.community-post-card[data-community-card-open]:focus-visible { outline: 3px solid rgba(0, 103, 72, .28); outline-offset: 4px; border-color: var(--community-green); box-shadow: var(--community-shadow); }
.community-post-card[data-community-card-open] .community-card-media, .community-post-card[data-community-card-open] .community-comment-thread { cursor: auto; }
.community-card-media { position: relative; min-height: 0; margin-top: 14px; overflow: hidden; border-radius: 10px; background: #dcd7c8; }
.community-card-media-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: #fffefa; }
.community-card-media-grid[data-count="1"] { grid-template-columns: 1fr; }
.community-card-media-grid[data-count="2"], .community-card-media-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.community-card-media-grid > img, .community-card-media-grid > video, .community-card-media-grid > .community-card-video-preview { width: 100%; height: 100%; min-height: 0; aspect-ratio: 1 / 1; background: #dcd7c8; object-fit: cover; }
.community-card-media-grid[data-count="1"] > img, .community-card-media-grid[data-count="1"][data-kind="video"] > .community-card-video-preview { aspect-ratio: 4 / 3; }
.community-card-video-preview { position: relative; display: grid; place-items: center; overflow: hidden; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: none; }
.community-card-video-preview > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.community-card-video-uncovered { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; align-content: end; justify-items: center; gap: 5px; padding: 12px 12px 42px; background: #173e32; color: #d6e8dc; font-size: 10px; font-weight: 850; line-height: 1.35; text-align: center; pointer-events: none; }
.community-card-video-uncovered i { color: var(--community-yellow); font-size: 25px; }
.community-card-video-preview.has-poster .community-card-video-uncovered { display: none; }
.community-card-video-preview.has-poster[data-poster-unavailable] > img { display: none; }
.community-card-video-preview.has-poster[data-poster-unavailable] .community-card-video-uncovered { display: grid; }
.community-card-video-play { position: absolute; left: 50%; top: 50%; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; transform: translate(-50%, -50%); background: rgba(6,29,21,.76); color: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.28); }
.community-card-video-preview:hover .community-card-video-play, .community-card-video-preview:focus-visible .community-card-video-play { background: #fff; color: var(--community-green-deep); }
.community-card-video-preview:focus-visible { outline: 3px solid var(--community-yellow); outline-offset: -3px; }
.community-card-media-more { position: absolute; right: 8px; bottom: 8px; z-index: 2; min-width: 32px; min-height: 28px; display: grid; place-items: center; border-radius: 999px; padding: 4px 8px; background: rgba(6,29,21,.84); color: #fff; font-size: 10px; font-weight: 900; }
.community-card-media-placeholder { width: 100%; min-height: 226px; display: grid; place-items: center; align-content: center; gap: 7px; background: #eae3d2; color: var(--community-muted); font-size: 11px; }
.community-card-media-placeholder i { color: var(--community-green); font-size: 29px; }
.community-media-label { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid rgba(255, 255, 255, .76); border-radius: 999px; padding: 5px 8px; background: rgba(17, 35, 27, .82); color: #fff; font-size: 10px; font-weight: 900; }
.community-card-body { flex: 1; display: flex; flex-direction: column; padding: 17px 17px 14px; }
.community-card-topline { min-height: 22px; display: flex; align-items: start; justify-content: space-between; gap: 8px; color: var(--community-muted); font-size: 10px; font-weight: 850; }
.community-priority-tag, .community-type-tag, .community-candidate-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 4px 7px; font-size: 9px; font-weight: 950; white-space: nowrap; }
.community-priority-tag { background: var(--community-yellow-soft); color: #69520a; }
.community-type-tag { border: 1px solid #d9d5ca; color: #566358; }
.community-card-body h3 { margin: 10px 0 7px; font-size: 20px; line-height: 1.24; letter-spacing: -.055em; }
.community-card-body > p { margin: 0; color: var(--community-ink); font-size: 13px; line-height: 1.72; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-card-author { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; margin-bottom: 12px; }
.community-author-avatar, .community-comment-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #dce9df; color: var(--community-green); font-size: 12px; font-weight: 950; }
.community-card-author strong, .community-card-author small { display: block; }
.community-card-author strong { color: #253b2e; font-size: 12px; }
.community-card-author small { margin-top: 2px; color: var(--community-faint); font-size: 10px; }
.community-card-caption { min-height: 0 !important; }
.community-engagement-rail { min-height: 50px; display: flex; align-items: center; gap: 3px; margin-top: 14px; border-top: 1px solid var(--community-soft-line); padding-top: 9px; }
.community-reach-note { display: inline-flex; align-items: center; gap: 4px; margin-right: auto; color: var(--community-faint); font-size: 10px; font-weight: 750; white-space: nowrap; }
.community-reach-note i { color: var(--community-green); font-size: 15px; }
.community-rail-button { min-width: 46px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 999px; padding: 8px 10px; background: transparent; color: #4f5e53; font-size: 12px; font-weight: 900; transition: background .16s ease, color .16s ease, transform .16s ease; }
.community-rail-button i { font-size: 21px; font-weight: 400; }
.community-rail-button:hover:not(:disabled) { background: var(--community-green-soft); color: var(--community-green); transform: translateY(-1px); }
.community-rail-button.is-liked { background: #fbe8e4; color: var(--community-red-deep); }
.community-rail-button:disabled { opacity: .52; cursor: wait; }
.community-engagement-rail .community-post-favorite { display: inline-flex; flex: 0 0 auto; }
.community-engagement-rail .community-favorite-button { min-width: 42px; min-height: 42px; border: 0; border-radius: 999px; padding: 8px 10px; background: transparent; color: #4f5e53; }
.community-engagement-rail .community-favorite-button > i { font-size: 20px; }
.community-engagement-rail .community-post-favorite.is-favorited .community-favorite-button { background: #e7f2e9; color: var(--community-green); }
.community-engagement-rail .community-post-favorite-status { left: auto; right: 0; top: calc(100% + 2px); }
.community-card-detail-link { min-height: 36px; display: inline-flex; align-items: center; gap: 3px; margin-left: 3px; border-radius: 7px; padding: 7px 4px 7px 8px; color: var(--community-green); font-size: 10px; font-weight: 900; text-decoration: none; }
.community-card-detail-link:hover { background: var(--community-green-soft); }
.community-card-detail-link i { font-size: 15px; }
.community-candidate-tag { margin-left: auto; background: #e5f0e7; color: var(--community-green); }

.community-comment-thread-anchor { display: none; }
.community-comment-thread { margin-top: 10px; border: 1px solid var(--community-line); border-radius: 11px; padding: 13px; background: #f8f6ef; box-shadow: 0 12px 24px rgba(35, 47, 36, .07); }
.community-comment-thread[hidden] { display: none; }
/* Desktop replies float beside the comment trigger; cards never grow to fit a thread. */
.community-comment-thread.is-popover { position: fixed; z-index: 110; width: min(368px, calc(100vw - 24px)); max-height: min(520px, calc(100dvh - 24px)); display: grid; grid-template-rows: auto auto minmax(92px, 1fr) auto; gap: 0; overflow: hidden; margin: 0; background: var(--community-paper-strong); box-shadow: 0 16px 40px rgba(22, 38, 29, .18); }
.community-comment-thread.is-popover[data-popover-placement="top"] { box-shadow: 0 -12px 36px rgba(22, 38, 29, .16); }
.community-comment-thread-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.community-comment-thread-header span { display: block; color: var(--community-red); font-size: 9px; font-weight: 950; letter-spacing: .08em; }
.community-comment-thread-header h4 { margin: 3px 0 0; font-size: 13px; line-height: 1.4; letter-spacing: -.025em; }
.community-comment-thread-header button { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--community-line); border-radius: 50%; background: #fffefa; color: var(--community-ink); font-size: 16px; }
.community-comment-thread-header button:hover { border-color: var(--community-green); color: var(--community-green); }
.community-feed-empty { min-height: 255px; display: grid; place-items: center; align-content: center; gap: 10px; border: 1px dashed #c6c1b4; border-radius: 14px; padding: 28px; text-align: center; }
.community-feed-empty > i { color: var(--community-green); font-size: 32px; }
.community-feed-empty h3 { margin: 0; font-size: 18px; }
.community-feed-empty p { max-width: 435px; margin: 0 0 4px; color: var(--community-muted); font-size: 12px; line-height: 1.6; }
.community-feed-pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; border-top: 1px solid var(--community-soft-line); padding-top: 20px; }
.community-feed-pagination[hidden] { display: none !important; }
.community-feed-pagination > p { margin: 0; color: var(--community-muted); font-size: 11px; font-weight: 800; }
.community-feed-pagination-controls, .community-feed-page-buttons { display: flex; align-items: center; gap: 7px; }
.community-feed-pagination button { min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--community-line); border-radius: 8px; padding: 7px 10px; background: #fffefa; color: var(--community-green); font-size: 11px; font-weight: 900; }
.community-feed-pagination button:hover:not(:disabled), .community-feed-pagination button[aria-current="page"] { border-color: var(--community-green); background: var(--community-green); color: #fff; }
.community-feed-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.community-feed-page-ellipsis { min-width: 22px; color: var(--community-muted); text-align: center; }

.community-submission-section { padding: 62px 0; background: #eee9dd; }
.community-session-state { min-height: 176px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 17px; align-items: center; border: 1px solid var(--community-line); border-radius: var(--community-radius); padding: 31px 38px; background: var(--community-paper-strong); box-shadow: var(--community-shadow); }
.community-session-state > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--community-green-soft); color: var(--community-green); font-size: 22px; }
.community-session-state > i.ri-loader-4-line { animation: community-spin 1s linear infinite; }
.community-session-state h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -.055em; }
.community-session-state p { max-width: 700px; margin: 8px 0 0; color: var(--community-muted); font-size: 12px; line-height: 1.7; }
.community-session-state-error { border-color: #dec7c0; background: #fff8f5; }
.community-session-state-error > i { background: #fde8e2; color: var(--community-danger); }
.community-session-state-restricted { border-color: #c8d8cf; background: #f2f8f2; }
.community-session-state-restricted > i { background: var(--community-green); color: #fff; }
.community-session-state-restricted .community-section-kicker { color: var(--community-green); }
.community-session-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 9px; }
.community-session-actions .community-button { white-space: nowrap; }
.community-login-gate { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 35px; align-items: center; padding: 38px 42px; border: 1px solid #1b7153; border-radius: var(--community-radius); background: var(--community-green-deep); color: #fff; box-shadow: var(--community-shadow); }
.community-login-gate .community-section-kicker { color: var(--community-yellow); }
.community-login-gate h2 { max-width: 790px; }
.community-login-gate p:not(.community-section-kicker) { max-width: 720px; margin: 13px 0 0; color: #ccdbd0; font-size: 13px; line-height: 1.7; }
.community-login-gate .community-button-primary { background: var(--community-yellow); color: #3b3014; }
.community-login-gate .community-button-primary:hover { background: #e0a811; }
.community-submission-workspace { width: min(100%, 1120px); overflow: hidden; margin-inline: auto; border: 1px solid var(--community-line); border-radius: var(--community-radius); background: var(--community-paper-strong); box-shadow: var(--community-shadow); }
.community-submission-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 44px 27px; border-bottom: 1px solid var(--community-line); }
.community-submission-header h2 { font-size: clamp(27px, 2.5vw, 36px); }
.community-submission-header p:not(.community-section-kicker) { max-width: 780px; margin: 10px 0 0; color: var(--community-muted); font-size: 12px; line-height: 1.65; }
.community-city-availability { grid-column: 1 / -1; display: flex; align-items: center; min-height: 39px; margin: -2px 0 2px; border-left: 3px solid var(--community-yellow); border-radius: 0 7px 7px 0; padding: 8px 11px; background: #fff7d9; color: #66521b; font-size: 11px; font-weight: 800; line-height: 1.5; }
.community-city-availability[data-state="enabled"] { border-left-color: var(--community-green); background: var(--community-green-soft); color: var(--community-green); }
.community-city-availability[data-state="unavailable"] { border-left-color: var(--community-danger); background: #f8e8e3; color: var(--community-danger); }
.community-submission-layout { display: block; }
.community-submit-panel { max-width: 960px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-inline: auto; padding: 30px 36px 36px; }
.community-form-section { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 1px solid #ded8ca; border-radius: 16px; padding: 23px; background: #fffefa; box-shadow: 0 9px 24px rgba(26, 52, 39, .045); }
.community-location-card { background: #f7faf5; }
.community-story-card { background: #fffdf8; }
.community-media-card { background: #faf7ef; }
.community-form-heading, .community-field-wide, .community-title-field, .community-media-picker, .community-file-drop, .community-selected-media, .community-consent, .community-submit-state, .community-submit-button { grid-column: 1 / -1; }
.community-form-heading { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 3px; }
.community-form-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--community-green-soft); color: var(--community-green); font-size: 18px; }
.community-form-heading h3 { margin: 0; font-size: 21px; letter-spacing: -.05em; }
.community-form-heading p { margin: 3px 0 0; color: var(--community-muted); font-size: 11px; }
.community-locate-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #8eaa96; border-radius: 999px; padding: 8px 13px; background: #fff; color: var(--community-green); font-size: 11px; font-weight: 900; cursor: pointer; }
.community-locate-button:hover { border-color: var(--community-green); background: var(--community-green); color: #fff; }
.community-locate-button[aria-busy="true"] i { animation: community-spin 1s linear infinite; }
.community-location-summary { grid-column: 1 / -1; min-height: 78px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid #d7ddd5; border-radius: 13px; padding: 14px 15px; background: #fffefa; }
.community-location-summary[data-state="located"] { border-color: #9fc0aa; background: #eaf4eb; }
.community-location-summary[data-state="manual"] { border-color: #d8c98e; background: #fff9e4; }
.community-location-summary-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e7efe8; color: var(--community-green); font-size: 18px; }
.community-location-summary[data-state="located"] .community-location-summary-icon { background: var(--community-green); color: #fff; }
.community-location-summary strong, .community-location-summary span { display: block; }
.community-location-summary strong { color: var(--community-ink); font-size: 13px; }
.community-location-summary span { margin-top: 3px; color: var(--community-muted); font-size: 11px; line-height: 1.5; }
.community-manual-location-button, .community-manual-location-heading button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-bottom: 1px solid currentColor; padding: 5px 2px; background: transparent; color: var(--community-green); font-size: 10px; font-weight: 900; cursor: pointer; }
.community-manual-location-button:hover, .community-manual-location-heading button:hover { color: var(--community-red); }
.community-manual-location { grid-column: 1 / -1; display: grid; gap: 15px; border: 1px solid #d9d4c8; border-radius: 13px; padding: 17px; background: #fffefa; }
.community-manual-location[hidden] { display: none !important; }
.community-manual-location-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--community-line); }
.community-manual-location-heading strong, .community-manual-location-heading span { display: block; }
.community-manual-location-heading strong { font-size: 13px; }
.community-manual-location-heading span { margin-top: 3px; color: var(--community-muted); font-size: 10px; }
.community-field { display: grid; gap: 6px; color: #435147; font-size: 11px; font-weight: 900; }
.community-field input, .community-field textarea, .community-field select { width: 100%; border: 1px solid #cfc9bc; border-radius: 10px; padding: 11px 12px; background: #fffefa; color: var(--community-ink); font-size: 13px; font-weight: 650; outline: 0; }
.community-field input { min-height: 43px; }
.community-field select { min-height: 43px; }
.community-field textarea { min-height: 117px; resize: vertical; line-height: 1.55; }
.community-field input:focus, .community-field textarea:focus, .community-field select:focus { border-color: var(--community-green); box-shadow: 0 0 0 3px rgba(7, 95, 66, .13); }
.community-media-picker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin: 0; padding: 0; border: 0; }
.community-media-picker strong { color: #435147; font-size: 12px; font-weight: 900; }
.community-media-picker p { margin: 0; color: var(--community-muted); font-size: 10px; line-height: 1.5; }
.community-file-drop { min-height: 103px; display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px dashed #9eaa9d; border-radius: 10px; padding: 16px; background: #f6f7f1; cursor: pointer; }
.community-file-drop:hover { border-color: var(--community-green); background: #eef6ee; }
.community-file-drop:focus-within { outline: 3px solid var(--community-red); outline-offset: 3px; border-color: var(--community-green); }
.community-file-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.community-file-icon { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 50%; background: var(--community-green); color: #fff; font-size: 20px; }
.community-file-drop strong, .community-file-drop small { display: block; }
.community-file-drop strong { overflow: hidden; color: #334438; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.community-file-drop small { margin-top: 5px; color: var(--community-muted); font-size: 10px; line-height: 1.5; }
.community-title-field small { display: block; margin-top: 6px; color: var(--community-muted); font-size: 10px; font-weight: 500; }
.community-selected-media { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.community-selected-media figure { position: relative; overflow: hidden; margin: 0; border: 1px solid var(--community-line); border-radius: 8px; background: #ece8db; }
.community-selected-media img, .community-selected-media video { width: 100%; aspect-ratio: 1 / 1; display: block; object-fit: cover; }
.community-selected-media figcaption { position: absolute; right: 4px; bottom: 4px; left: 4px; overflow: hidden; border-radius: 4px; padding: 3px 5px; background: rgba(16, 43, 33, .86); color: #fff; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.community-consent { display: grid; grid-template-columns: 18px 1fr; gap: 7px; align-items: start; color: #59665c; font-size: 11px; line-height: 1.55; }
.community-consent input { width: 16px; height: 16px; accent-color: var(--community-green); }
.community-submit-state { min-height: 19px; margin: 0; color: var(--community-muted); font-size: 11px; }
.community-submit-state[data-state="loading"] { color: var(--community-green); }
.community-submit-state[data-state="error"] { color: var(--community-danger); font-weight: 850; }
.community-submit-state[data-state="success"] { color: var(--community-green); font-weight: 850; }
.community-submit-button { min-height: 50px; }
.community-draft-context { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; border: 1px solid #b5d2bd; border-left: 4px solid var(--community-green); border-radius: 10px; padding: 11px 13px; background: #edf7ee; color: var(--community-green); font-size: 12px; font-weight: 800; line-height: 1.55; }
.community-draft-context[hidden] { display: none !important; }
.community-draft-context > i { font-size: 18px; }
.community-saved-media { grid-column: 1 / -1; display: grid; gap: 11px; border: 1px solid #d9d4c8; border-radius: 11px; padding: 13px; background: #fffefa; }
.community-saved-media[hidden], .community-draft-recovery[hidden] { display: none !important; }
.community-saved-media-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #435147; font-size: 12px; }
.community-saved-media-heading strong { color: var(--community-ink); font-size: 13px; }
.community-saved-media-heading span { color: var(--community-muted); font-size: 11px; }
.community-saved-media-list { display: grid; gap: 9px; }
.community-saved-media-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: start; }
.community-saved-media .private-media-preview { min-width: 0; display: grid; gap: 7px; border: 1px solid var(--community-line); border-radius: 9px; padding: 8px; background: #fbfaf5; }
.community-saved-media .private-media-toggle { width: 100%; min-height: 53px; display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 9px; align-items: center; border: 0; border-radius: 7px; padding: 8px 10px; background: var(--community-green-deep); color: #fff; text-align: left; }
.community-saved-media .private-media-toggle:hover { background: var(--community-green); }
.community-saved-media .private-media-toggle > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--community-yellow); color: #3d3213; font-size: 15px; }
.community-saved-media .private-media-toggle b, .community-saved-media .private-media-toggle small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-saved-media .private-media-toggle b { font-size: 11px; }
.community-saved-media .private-media-toggle small { margin-top: 2px; color: #d1ddd5; font-size: 10px; }
.community-saved-media .private-media-stage { overflow: hidden; border: 1px solid #294c3f; border-radius: 8px; background: #102c23; }
.community-saved-media .private-media-stage img, .community-saved-media .private-media-stage video { width: 100%; max-height: 360px; display: block; object-fit: contain; background: #102c23; }
.community-saved-media-item > button { min-height: 40px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #d8a29a; border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--community-danger); font-size: 11px; font-weight: 850; }
.community-saved-media-item > button:hover { background: #f9e6e1; }
.community-saved-media-empty { margin: 0; color: var(--community-muted); font-size: 11px; line-height: 1.6; }
.community-draft-recovery { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px dashed #c7ad56; border-radius: 10px; padding: 12px 13px; background: #fff9e3; color: #5d4b13; }
.community-draft-recovery strong { display: block; font-size: 12px; }
.community-draft-recovery strong i { margin-right: 4px; }
.community-draft-recovery p { max-width: 580px; margin: 3px 0 0; font-size: 11px; line-height: 1.55; }
.community-draft-recovery .community-button { flex: 0 0 auto; min-height: 40px; }
.community-draft-action-row { grid-column: 1 / -1; display: flex; align-items: stretch; gap: 10px; }
.community-draft-action-row .community-button { flex: 1 1 0; min-height: 50px; justify-content: center; }
.community-history-section { min-height: 620px; padding: 54px 0 72px; background: #eee9dd; }
.community-history-section .community-session-state { width: min(100%, 1120px); margin-inline: auto; }
.community-history-login { width: min(100%, 960px); min-height: 280px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-inline: auto; border: 1px solid #1b7153; border-radius: var(--community-radius); padding: 42px; background: var(--community-green-deep); color: #fff; box-shadow: var(--community-shadow); }
.community-history-login > i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--community-yellow); color: #3d3213; font-size: 27px; }
.community-history-login h1 { margin: 7px 0 10px; font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -.055em; }
.community-history-login p:not(.community-section-kicker) { max-width: 620px; margin: 0; color: #cfddd3; font-size: 13px; line-height: 1.75; }
.community-history-login .community-section-kicker { color: var(--community-yellow); }
.community-history-login .community-button { background: var(--community-yellow); color: #3d3213; white-space: nowrap; }
.community-history-workspace { overflow: hidden; border: 1px solid var(--community-line); border-radius: var(--community-radius); background: var(--community-paper-strong); box-shadow: var(--community-shadow); }
.community-history-header { min-height: 168px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px 38px 30px; border-bottom: 1px solid var(--community-line); }
.community-history-header h1 { margin: 7px 0 8px; font-size: clamp(32px, 4vw, 48px); line-height: 1.04; letter-spacing: -.06em; }
.community-history-header p:not(.community-section-kicker) { max-width: 720px; margin: 0; color: var(--community-muted); font-size: 13px; line-height: 1.7; }
.community-history-header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.community-refresh-mine { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #8b9a8f; border-radius: 9px; padding: 10px 16px; background: #fffefa; color: var(--community-green); font-size: 12px; font-weight: 900; }
.community-refresh-mine:hover { border-color: var(--community-green); background: var(--community-green-soft); }
.community-history-toolbar { padding: 22px 38px 19px; border-bottom: 1px solid var(--community-line); background: #f7f4eb; }
.community-history-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.community-history-filters button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #c9c4b8; border-radius: 999px; padding: 9px 15px; background: var(--community-paper-strong); color: #46544b; font-size: 12px; font-weight: 900; }
.community-history-filters button:hover { border-color: var(--community-green); color: var(--community-green); }
.community-history-filters button[aria-pressed="true"] { border-color: var(--community-green); background: var(--community-green); color: #fff; }
.community-history-filters button span { min-width: 23px; min-height: 23px; display: inline-grid; place-items: center; border-radius: 999px; padding: 2px 7px; background: #ece9df; color: #526057; font-size: 11px; line-height: 1; }
.community-history-filters button[aria-pressed="true"] span { background: #fff; color: var(--community-green); }
.community-my-posts-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.community-sync-dot { display: inline-flex; align-items: center; min-height: 30px; border-radius: 999px; padding: 5px 10px; background: #e3ede5; color: var(--community-green); font-size: 11px; font-weight: 900; white-space: nowrap; }
.community-sync-dot[data-state="loading"] { background: #fff0c8; color: #705505; }
.community-sync-dot[data-state="error"] { background: #f7e2dd; color: var(--community-danger); }
.community-my-posts-note { margin: 0; color: var(--community-muted); font-size: 12px; line-height: 1.6; }
.community-my-post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 28px 38px 34px; }
.community-my-post { min-width: 0; min-height: 208px; display: grid; grid-template-columns: 96px minmax(0, 1fr); overflow: hidden; border: 1px solid #d8d3c7; border-left: 4px solid #9da69d; border-radius: 13px; padding: 0; background: #fffefa; color: inherit; font: inherit; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.community-my-post:hover { transform: translateY(-2px); border-color: #93a397; box-shadow: 0 12px 26px rgba(16, 43, 33, .09); }
.community-my-post[data-status="pending"] { border-left-color: var(--community-yellow); }
.community-my-post[data-status="approved"] { border-left-color: var(--community-green); }
.community-my-post[data-status="rejected"] { border-left-color: var(--community-red); }
.community-my-post-media { display: grid; place-items: center; background: var(--community-green-deep); color: var(--community-yellow); font-size: 31px; }
.community-my-post[data-status="pending"] .community-my-post-media { background: #725f20; color: #fff8df; }
.community-my-post[data-status="rejected"] .community-my-post-media { background: #7c342c; color: #fff; }
.community-my-post-content { min-width: 0; display: flex; flex-direction: column; padding: 17px 18px 15px; }
.community-my-post-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--community-faint); font-size: 11px; line-height: 1.35; }
.community-my-post-top time { white-space: nowrap; }
.community-status-chip { min-height: 26px; display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; background: #efede4; color: #536054; font-size: 11px; font-weight: 900; line-height: 1; }
.community-status-chip[data-tone="pending"] { background: var(--community-yellow-soft); color: #71590d; }
.community-status-chip[data-tone="approved"] { background: #e1f0e5; color: var(--community-green); }
.community-status-chip[data-tone="rejected"] { background: #f9e3de; color: var(--community-danger); }
.community-my-post-title { display: block; overflow: hidden; margin-top: 12px; color: var(--community-ink); font-size: 18px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.community-my-post-excerpt { display: -webkit-box; overflow: hidden; margin-top: 6px; color: var(--community-muted); font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.community-my-post-status-detail { display: -webkit-box; overflow: hidden; margin-top: 9px; color: #58665d; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.community-my-post-status-detail i { margin-right: 4px; color: var(--community-danger); }
.community-my-post[data-status="rejected"] .community-my-post-status-detail { color: #7c493e; }
.community-my-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-top: auto; padding-top: 13px; color: #68756b; font-size: 11px; }
.community-my-post-meta > span { min-width: 0; display: inline-flex; align-items: center; gap: 4px; }
.community-my-post-ready-note { display: flex; align-items: center; gap: 4px; margin-top: 8px; color: #79602a; font-size: 10px; line-height: 1.45; }
.community-my-post-ready-note i { color: var(--community-yellow); }
.community-my-post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 11px; }
.community-my-post-actions button { min-height: 31px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid #b7c7bb; border-radius: 7px; padding: 6px 9px; background: #fffefa; color: var(--community-green); font-size: 10px; font-weight: 900; }
.community-my-post-actions button:hover:not(:disabled) { border-color: var(--community-green); background: var(--community-green-soft); }
.community-my-post-actions button[data-community-submit-draft] { border-color: var(--community-green); background: var(--community-green); color: #fff; }
.community-my-post-actions button[data-community-submit-draft]:hover:not(:disabled) { background: var(--community-green-deep); }
.community-my-post-actions .community-my-post-open { margin-right: auto; }
.community-my-posts-empty, .community-my-posts-error { min-height: 260px; display: grid; place-items: center; align-content: center; gap: 9px; margin: 28px 38px 34px; border: 1px dashed #bfc8c0; border-radius: 14px; padding: 32px 22px; background: #f8f6ef; color: var(--community-muted); text-align: center; }
.community-my-post-list > .community-my-posts-error { grid-column: 1 / -1; margin: 0; }
.community-my-posts-empty > i, .community-my-posts-error > i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--community-green-soft); color: var(--community-green); font-size: 25px; }
.community-my-posts-empty h2 { margin: 3px 0 0; color: var(--community-ink); font-size: 22px; letter-spacing: -.04em; }
.community-my-posts-empty p, .community-my-posts-error p { max-width: 500px; margin: 0; font-size: 12px; line-height: 1.7; }
.community-my-posts-empty .community-button { margin-top: 5px; }
.community-my-posts-error { color: var(--community-danger); }
.community-my-posts-error > i { background: #f7e2dd; color: var(--community-danger); }
.community-my-posts-error button { min-height: 44px; border: 1px solid var(--community-green); border-radius: 9px; padding: 9px 15px; background: #fff; color: var(--community-green); font-size: 12px; font-weight: 900; }
.community-my-posts-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; border-top: 1px solid var(--community-line); padding: 20px 38px 24px; color: var(--community-muted); font-size: 11px; }
.community-my-posts-pagination[hidden] { display: none !important; }
.community-my-posts-pagination button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid #c7cfc7; border-radius: 9px; padding: 9px 12px; background: #fffefa; color: var(--community-green); font-size: 11px; font-weight: 900; }
.community-my-posts-pagination button:hover:not(:disabled), .community-my-posts-pagination button[aria-current="page"] { border-color: var(--community-green); background: var(--community-green); color: #fff; }
.community-my-posts-pagination button:disabled { opacity: .42; cursor: not-allowed; }
.community-mine-page-buttons { display: flex; align-items: center; justify-content: center; gap: 6px; }
.community-mine-page-buttons > span { min-width: 22px; color: var(--community-muted); text-align: center; }
.community-own-post-dialog { width: min(860px, calc(100% - 32px)); max-height: min(88dvh, 860px); overflow: hidden; border: 0; border-radius: 18px; padding: 0; background: transparent; box-shadow: 0 28px 80px rgba(8, 35, 25, .3); }
.community-own-post-dialog:not([open]) { display: none; }
.community-own-post-dialog::backdrop { background: rgba(7, 30, 22, .68); }
.community-own-post-dialog-shell { max-height: min(88dvh, 860px); display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border-top: 5px solid var(--community-red); border-radius: 18px; background: var(--community-paper-strong); }
.community-own-post-dialog-shell > header { position: relative; z-index: 2; display: flex; align-items: start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--community-line); padding: 22px 26px 19px; background: var(--community-paper-strong); }
.community-own-post-dialog-shell h2 { max-width: 620px; margin: 4px 0 0; font-size: clamp(23px, 3.2vw, 34px); line-height: 1.12; letter-spacing: -.045em; }
.community-own-post-dialog-close { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #c9d0c8; border-radius: 50%; background: #fff; color: var(--community-ink); font-size: 22px; }
.community-own-post-dialog-close:hover { border-color: var(--community-green); color: var(--community-green); }
.community-own-post-dialog-body { overflow: auto; padding: 24px 26px 30px; scrollbar-width: thin; }
.community-own-post-dialog-loading, .community-own-post-dialog-error, .community-own-post-media-empty { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--community-muted); text-align: center; }
.community-own-post-dialog-loading i { color: var(--community-green); font-size: 31px; animation: community-spin .9s linear infinite; }
.community-own-post-dialog-error i, .community-own-post-media-empty i { color: var(--community-red); font-size: 32px; }
.community-own-post-dialog-error p, .community-own-post-dialog-loading p, .community-own-post-media-empty p { max-width: 460px; margin: 0; font-size: 12px; line-height: 1.7; }
.community-own-post-dialog-error button { min-height: 44px; border: 1px solid var(--community-green); border-radius: 8px; padding: 9px 13px; background: #fff; color: var(--community-green); font-weight: 900; }
.community-public-post-dialog { width: min(960px, calc(100% - 32px)); max-height: min(90dvh, 820px); overflow: hidden; border: 0; border-radius: 20px; padding: 0; background: transparent; box-shadow: 0 28px 80px rgba(8, 35, 25, .34); }
.community-public-post-dialog:not([open]) { display: none; }
.community-public-post-dialog::backdrop { background: rgba(7, 30, 22, .7); }
.community-public-post-dialog-shell { position: relative; max-height: min(90dvh, 820px); overflow: hidden; border-top: 5px solid var(--community-red); border-radius: 20px; background: var(--community-paper-strong); }
.community-public-post-dialog-close { position: absolute; z-index: 3; top: 16px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(18, 41, 28, .18); border-radius: 50%; background: #fffefa; color: var(--community-ink); box-shadow: 0 8px 22px rgba(9, 34, 24, .14); font-size: 22px; }
.community-public-post-dialog-close:hover { border-color: var(--community-green); color: var(--community-green); }
.community-public-post-dialog-body { max-height: calc(min(90dvh, 820px) - 5px); overflow: auto; scrollbar-width: thin; }
.community-public-post-dialog-loading, .community-public-post-dialog-error { min-height: 420px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 46px; color: var(--community-muted); text-align: center; }
.community-public-post-dialog-loading i { color: var(--community-green); font-size: 34px; animation: community-spin .9s linear infinite; }
.community-public-post-dialog-loading p, .community-public-post-dialog-error p { max-width: 510px; margin: 0; font-size: 12px; line-height: 1.75; }
.community-public-post-dialog-error i { color: var(--community-red); font-size: 36px; }
.community-public-post-dialog-error h2 { margin: 2px 0 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; }
.community-public-post-dialog-error button { min-height: 42px; margin-top: 6px; border: 1px solid var(--community-green); border-radius: 8px; padding: 9px 15px; background: var(--community-green); color: #fff; font-weight: 900; }
.community-public-post-detail { min-height: 570px; display: grid; grid-template-columns: minmax(340px, .95fr) minmax(0, 1.05fr); }
.community-public-post-media { position: relative; min-width: 0; display: grid; align-content: center; padding: 18px; background: var(--community-green-deep); color: #fff; }
.community-public-post-media-stage { min-height: 420px; display: grid; align-items: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; background: #082c22; }
.community-public-post-media-stage figure { margin: 0; }
.community-public-post-media-stage figure[hidden] { display: none; }
.community-public-post-media-stage img, .community-public-post-media-stage video { width: 100%; max-height: 550px; aspect-ratio: 4 / 5; background: #08251d; object-fit: contain; }
.community-public-deferred-video { position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.community-public-deferred-video > img { width: 100%; max-height: 550px; display: block; aspect-ratio: 4 / 5; object-fit: contain; }
.community-public-deferred-video > video[hidden] { display: none; }
.community-public-video-uncovered { position: absolute; inset: 0; width: 100%; min-height: 420px; display: grid; align-content: end; justify-items: center; gap: 6px; padding: 22px; background: #08251d; color: #d4e0d8; font-size: 11px; font-weight: 850; text-align: center; pointer-events: none; }
.community-public-video-uncovered i { color: var(--community-yellow); font-size: 33px; }
.community-public-deferred-video.has-poster .community-public-video-uncovered { display: none; }
.community-public-deferred-video.has-poster[data-poster-unavailable] > img { display: none; }
.community-public-deferred-video.has-poster[data-poster-unavailable] .community-public-video-uncovered { display: grid; }
.community-public-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-public-deferred-video > button:hover { background: #fff; color: var(--community-green-deep); }
.community-public-deferred-video.is-playing > img, .community-public-deferred-video.is-playing > .community-public-video-uncovered, .community-public-deferred-video.is-playing > button { display: none; }
.community-public-deferred-video.is-playing.has-poster[data-poster-unavailable] > .community-public-video-uncovered { display: none; }
.community-public-post-media-stage figcaption { padding: 10px 12px; color: #d4e0d8; font-size: 10px; }
.community-public-post-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.community-public-post-carousel-controls button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%; background: transparent; color: #fff; }
.community-public-post-carousel-controls button:hover:not(:disabled) { background: #fff; color: var(--community-green-deep); }
.community-public-post-carousel-controls button:disabled { opacity: .35; cursor: not-allowed; }
.community-public-post-carousel-controls span { min-width: 48px; color: #d4e0d8; font-size: 11px; font-weight: 900; text-align: center; }
.community-public-post-media-empty { min-height: 410px; display: grid; place-items: center; align-content: center; gap: 8px; color: #d4e0d8; text-align: center; }
.community-public-post-media-empty i { color: var(--community-yellow); font-size: 34px; }
.community-public-post-media-empty p { max-width: 270px; margin: 0; font-size: 11px; line-height: 1.7; }
.community-public-post-copy { min-width: 0; display: flex; flex-direction: column; padding: 42px 42px 34px; }
.community-public-post-copy header { padding-right: 34px; }
.community-public-post-copy h2 { margin: 9px 0 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.06; letter-spacing: -.06em; }
.community-public-post-author { display: flex; align-items: center; gap: 11px; margin-top: 24px; }
.community-public-post-author > span { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--community-green-soft); color: var(--community-green); font-size: 15px; font-weight: 950; }
.community-public-post-author strong, .community-public-post-author small { display: block; }
.community-public-post-author strong { font-size: 12px; }
.community-public-post-author small { margin-top: 3px; color: var(--community-muted); font-size: 10px; }
.community-public-post-location { display: grid; grid-template-columns: 19px 1fr; gap: 7px; margin: 20px 0 0; color: #3f5045; font-size: 11px; line-height: 1.65; }
.community-public-post-location i { color: var(--community-green); font-size: 18px; }
.community-public-post-body { max-height: 205px; overflow: auto; margin: 18px 0 0; color: #304238; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-public-post-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto 0 0; border: 1px solid var(--community-line); border-radius: 11px; background: var(--community-paper); }
.community-public-post-metrics > div { padding: 12px 13px; border-right: 1px solid var(--community-line); }
.community-public-post-metrics > div:last-child { border-right: 0; }
.community-public-post-metrics dt { color: var(--community-muted); font-size: 9px; }
.community-public-post-metrics dd { margin: 4px 0 0; color: var(--community-green); font-size: 17px; font-weight: 950; }
.community-public-post-review { display: grid; grid-template-columns: 18px 1fr; gap: 7px; margin: 14px 0 0; color: var(--community-muted); font-size: 10px; line-height: 1.55; }
.community-public-post-review i { color: var(--community-green); font-size: 17px; }
.community-public-post-actions { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 15px; }
.community-public-post-actions button { min-height: 42px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--community-green); border-radius: 8px; padding: 9px 14px; background: var(--community-green); color: #fff; font-size: 11px; font-weight: 900; }
.community-public-post-actions button:hover:not(:disabled) { background: var(--community-green-deep); }
.community-public-post-actions .community-post-favorite { display: inline-flex; }
.community-public-post-actions .community-public-post-favorite-button { min-height: 42px; border-color: var(--community-line); background: #fffefa; color: var(--community-green); }
.community-public-post-actions .community-post-favorite.is-favorited .community-public-post-favorite-button { border-color: var(--community-green); background: #eaf4eb; color: var(--community-green); }
.community-public-post-comment-link { min-height: 42px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--community-line); border-radius: 8px; padding: 9px 14px; color: var(--community-green); font-size: 11px; font-weight: 900; text-decoration: none; }
.community-public-post-comment-link:hover { border-color: var(--community-green); background: var(--community-green-soft); }
.community-public-post-actions span { color: var(--community-muted); font-size: 10px; }
.community-public-post-actions span[data-state="success"] { color: var(--community-green); }
.community-public-post-actions span[data-state="error"] { color: var(--community-danger); }
.community-own-post-detail { display: grid; gap: 22px; }
.community-own-post-detail-status { min-height: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; border-radius: 10px; padding: 8px 11px; background: #f5f2e9; color: var(--community-muted); font-size: 12px; }
.community-own-post-detail .private-media-preview-list { display: grid; gap: 10px; }
.community-own-post-detail .private-media-preview { min-width: 0; display: grid; gap: 8px; overflow: hidden; border: 1px solid var(--community-line); border-radius: 12px; padding: 10px; background: #fbfaf5; }
.community-own-post-detail .private-media-toggle { width: 100%; min-height: 72px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; align-items: center; border: 0; border-radius: 9px; padding: 11px 13px; background: var(--community-green-deep); color: #fff; text-align: left; text-decoration: none; }
.community-own-post-detail .private-media-toggle:hover { background: var(--community-green); }
.community-own-post-detail .private-media-toggle > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--community-yellow); color: #3d3213; font-size: 19px; }
.community-own-post-detail .private-media-toggle > span, .community-own-post-detail .private-media-toggle b, .community-own-post-detail .private-media-toggle small { display: block; min-width: 0; }
.community-own-post-detail .private-media-toggle b { font-size: 13px; }
.community-own-post-detail .private-media-toggle small { margin-top: 3px; color: #d1ddd5; font-size: 11px; font-weight: 650; line-height: 1.45; }
.community-own-post-detail .private-media-toggle[aria-expanded="true"] { min-height: 52px; background: var(--community-green-soft); color: var(--community-green); }
.community-own-post-detail .private-media-toggle[aria-expanded="true"] > i { background: var(--community-green); color: #fff; }
.community-own-post-detail .private-media-toggle[aria-expanded="true"] small { color: var(--community-muted); }
.community-own-post-detail .private-media-preview > small { padding-inline: 3px; color: var(--community-muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.community-own-post-detail .private-media-stage { overflow: hidden; border: 1px solid #294c3f; border-radius: 10px; background: #102c23; }
.community-own-post-detail .private-media-stage img, .community-own-post-detail .private-media-stage video { width: 100%; max-height: 520px; object-fit: contain; background: #102c23; }
.community-own-post-detail .private-media-empty { display: block; border: 1px dashed var(--community-line); border-radius: 10px; padding: 24px; color: var(--community-muted); font-size: 12px; font-style: normal; text-align: center; }
.community-own-post-detail section { border-top: 1px solid var(--community-line); padding-top: 19px; }
.community-own-post-detail h3 { margin: 0 0 9px; font-size: 15px; }
.community-own-post-body, .community-own-post-review p { margin: 0; color: #47564b; font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-own-post-detail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; margin: 0; border: 1px solid var(--community-line); border-radius: 11px; background: #f7f5ed; }
.community-own-post-detail dl > div { min-width: 0; padding: 15px 16px; border-bottom: 1px solid var(--community-line); }
.community-own-post-detail dl > div:nth-child(odd) { border-right: 1px solid var(--community-line); }
.community-own-post-detail dl > div:nth-last-child(-n + 2) { border-bottom: 0; }
.community-own-post-detail dt { color: var(--community-faint); font-size: 11px; font-weight: 900; }
.community-own-post-detail dd { margin: 6px 0 0; overflow-wrap: anywhere; color: var(--community-ink); font-size: 13px; line-height: 1.55; }
.community-own-post-review { border: 1px solid #e7c36d; border-left: 4px solid var(--community-yellow); border-radius: 10px; padding: 16px !important; background: #fff8df; }
.community-own-post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; border-top: 1px solid var(--community-line); padding-top: 19px; }
.community-own-post-actions .community-button { min-height: 42px; }
.community-own-post-actions p { width: 100%; margin: 2px 0 0; color: #76602a; font-size: 11px; line-height: 1.55; }
.community-own-post-actions p i { margin-right: 4px; color: var(--community-yellow); }

.community-comment-rules { padding: 0; border-top: 1px solid var(--community-line); background: #f8f4e8; }
.community-comment-rules-inner { display: grid; grid-template-columns: 55px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 55px 0; }
.community-comment-rules-inner > i { color: var(--community-green); font-size: 43px; }
.community-comment-rules-inner small { display: block; margin-top: 9px; color: #69736c; font-size: 11px; letter-spacing: .02em; }
.community-comment-rules h2 { margin-top: 5px; font-size: clamp(25px, 2.7vw, 38px); }
.community-comment-rules p:not(.community-section-kicker) { max-width: 760px; margin: 10px 0 0; color: var(--community-muted); font-size: 12px; line-height: 1.75; }

.community-footer { border-top: 4px solid var(--community-green); background: var(--community-green-deep); color: #fff; }
.community-footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(100px, .55fr)); gap: 36px; padding: 46px 0 34px; }
.community-footer-brand { color: #fff; }
.community-footer-brand .community-brand-mark { background: transparent url("/assets/renjian-tanhuo-brand-logo.png") center/contain no-repeat; }
.community-footer section > p { max-width: 320px; margin: 12px 0 0; color: #cad8cf; font-size: 12px; line-height: 1.55; }
.community-footer nav { display: grid; align-content: start; gap: 9px; }
.community-footer nav h2 { margin: 0 0 4px; color: #fff; font-size: 13px; }
.community-footer nav a { color: #cbd9d0; font-size: 11px; font-weight: 700; text-decoration: none; }
.community-footer nav a:hover { color: var(--community-yellow); text-decoration: underline; text-underline-offset: 3px; }
.community-footer-bottom { min-height: 59px; display: flex; align-items: center; gap: 18px; border-top: 1px solid rgba(255, 255, 255, .22); color: #cbd8cf; font-size: 10px; }
.community-footer-bottom a { margin-left: auto; color: #cbd8cf; text-decoration: none; }
.community-footer-bottom a:hover { color: #fff; }

.community-comment-status { min-height: 18px; margin: 8px 0 2px; color: var(--community-muted); font-size: 10px; }
.community-comment-status[data-state="loading"] { color: var(--community-green); }
.community-comment-status[data-state="error"] { color: var(--community-danger); }
.community-comment-list { display: grid; gap: 0; max-height: 220px; overflow: auto; margin: 0; padding: 0; border-top: 1px solid var(--community-soft-line); border-bottom: 1px solid var(--community-soft-line); scrollbar-width: thin; }
.community-comment-list li { display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 9px; padding: 11px 0; border-bottom: 1px solid var(--community-soft-line); list-style: none; }
.community-comment-list li:last-child { border: 0; }
.community-comment-list strong { font-size: 11px; }
.community-comment-list time { margin-left: 7px; color: var(--community-faint); font-size: 9px; }
.community-comment-list p { margin: 4px 0 0; color: #526056; font-size: 11px; line-height: 1.55; white-space: pre-wrap; }
.community-comment-list .community-comments-empty { min-height: 94px; display: grid; grid-template-columns: 1fr; place-items: center; align-content: center; gap: 5px; border: 0; color: var(--community-muted); text-align: center; }
.community-comments-empty i { color: var(--community-green); font-size: 23px; }
.community-comments-empty p { margin: 0; }
.community-comment-form { display: grid; gap: 5px; margin-top: 10px; }
.community-comment-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.community-comment-form textarea { width: 100%; min-height: 44px; max-height: 112px; border: 1px solid #cdc8bc; border-radius: 9px; padding: 9px 10px; background: #fffefa; color: var(--community-ink); font-size: 12px; line-height: 1.45; resize: vertical; }
.community-comment-form textarea:focus { outline: 0; border-color: var(--community-green); box-shadow: 0 0 0 3px rgba(7, 95, 66, .13); }
.community-comment-form textarea:disabled { background: #efede6; color: var(--community-faint); }
.community-comment-composer button, .community-comment-composer a { min-width: 60px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--community-green); border-radius: 9px; padding: 8px 10px; background: var(--community-green); color: #fff; font-size: 11px; font-weight: 950; text-decoration: none; }
.community-comment-composer a { min-width: 94px; background: transparent; color: var(--community-green); }
.community-comment-composer button:hover:not(:disabled) { background: var(--community-green-deep); }
.community-comment-composer a:hover { background: var(--community-green-soft); }
.community-comment-guidance, .community-comment-submit-state { min-height: 15px; margin: 0; color: var(--community-muted); font-size: 9px; line-height: 1.45; }
.community-comment-submit-state[data-state="error"] { color: var(--community-danger); }
.community-comment-submit-state[data-state="success"] { color: var(--community-green); }
.community-notice { position: fixed; z-index: 70; right: 20px; bottom: 20px; width: min(390px, calc(100% - 40px)); transform: translateY(18px); opacity: 0; border: 1px solid var(--community-green); border-left: 5px solid var(--community-green); border-radius: 7px; padding: 12px 13px; background: var(--community-paper-strong); color: var(--community-ink); box-shadow: var(--community-shadow); font-size: 12px; font-weight: 800; pointer-events: none; transition: opacity .16s ease, transform .16s ease; }
.community-notice.is-visible { transform: translateY(0); opacity: 1; }
.community-notice[data-state="error"] { border-color: #dfa196; border-left-color: var(--community-red); color: var(--community-danger); }

.community-header a:focus-visible, .community-header button:focus-visible, .city-hub-subnav a:focus-visible, .community-hero a:focus-visible, .community-hero button:focus-visible, .community-feed-section button:focus-visible, .community-feed-section select:focus-visible, .community-submission-section input:focus-visible, .community-submission-section textarea:focus-visible, .community-submission-section button:focus-visible, .community-submission-section a:focus-visible, .community-history-section button:focus-visible, .community-history-section a:focus-visible, .community-own-post-dialog button:focus-visible, .community-public-post-dialog button:focus-visible, .community-comment-rules a:focus-visible, .community-footer a:focus-visible, .community-comment-thread button:focus-visible, .community-comment-thread a:focus-visible, .community-comment-thread textarea:focus-visible { outline: 3px solid var(--community-red); outline-offset: 3px; }
@keyframes community-spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .community-header-inner { gap: 11px; }
  .community-navigation a { padding-inline: 8px; font-size: 12px; }
  .community-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: 38px; }
  .community-intro { gap: 34px; }
  .community-value-grid article { padding: 15px; }
}

@media (max-width: 920px) {
  .community-header-inner { grid-template-columns: auto 1fr auto auto; min-height: 70px; }
  .community-menu-toggle { display: grid; grid-column: 3; }
  .community-navigation { display: none; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); order: 4; padding-bottom: 10px; }
  .community-navigation.is-open { display: grid; }
  .community-navigation a { min-height: 39px; padding: 0 4px; font-size: 11px; }
  .community-navigation a[aria-current="page"]::after { right: 4px; bottom: 0; left: 4px; }
  .community-header-actions { grid-column: 4; }
  .city-hub-subnav { top: 70px; }
  .community-hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 46px 0; }
  .community-hero-visual { max-width: 640px; width: 100%; min-height: 0; }
  .community-intro { grid-template-columns: 1fr; gap: 20px; padding: 30px 0; }
  .community-section-heading { grid-template-columns: 1fr; gap: 14px; }
  .community-section-heading > p { max-width: 600px; }
  .community-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-card-media-placeholder { min-height: 240px; }
  .community-public-post-copy { padding-inline: 32px; }
  .community-submission-header { align-items: start; flex-direction: column; }
  .community-history-header { align-items: flex-start; flex-direction: column; gap: 20px; }
  .community-history-header-actions { width: 100%; }
  .community-history-header-actions > * { flex: 1; }
  .community-my-post-list { grid-template-columns: 1fr; }
  .community-footer-top { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(130px, .7fr)); }
  .community-footer-top > section { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .community-wrap { width: min(100% - 28px, 620px); }
  .community-header-inner { min-height: 65px; }
  .community-brand { gap: 8px; font-size: 16px; }
  .community-brand-mark { width: 38px; height: 38px; }
  .community-account-entry { min-width: 76px; font-size: 10px; }
  .community-header-actions { gap: 3px; }
  .community-account-entry.is-authenticated { min-width: 39px; width: 39px; height: 39px; }
  .community-account-avatar { width: 39px; height: 39px; }
  .city-hub-subnav { top: 65px; overflow: visible; }
  .city-hub-subnav-inner { width: 100%; min-width: 0; min-height: 52px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: 0; }
  .city-hub-subnav a { min-width: 0; min-height: 52px; grid-template-columns: 1fr; gap: 2px; justify-items: center; padding: 5px; text-align: center; }
  .city-hub-subnav a:first-child { border-left: 0; }
  .city-hub-subnav a > i { width: 27px; height: 27px; font-size: 14px; }
  .city-hub-subnav a strong { overflow: hidden; max-width: 100%; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .city-hub-subnav a small { display: none; }
  .community-hero-grid { min-height: 0; padding: 36px 0 40px; }
  .community-hero h1 { margin: 12px 0 15px; font-size: clamp(35px, 10.5vw, 47px); line-height: 1.06; letter-spacing: -.055em; }
  .community-hero-lead { font-size: 14px; line-height: 1.7; }
  .community-hero-actions { margin-top: 22px; }
  .community-hero-actions .community-button { flex: 1; min-width: 152px; }
  .community-promise-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .community-promise-list li { min-width: 0; }
  .community-hero-visual { min-height: 0; padding: 29px 23px 26px; border-radius: 14px; box-shadow: 9px 9px 0 #d4c56c; }
  .community-visual-heading strong { font-size: 24px; }
  .community-visual-note { font-size: 9px; }
  .community-intro { padding: 26px 0; }
  .community-intro h2, .community-section-heading h2, .community-login-gate h2, .community-submission-header h2, .community-comment-rules h2 { font-size: clamp(27px, 8vw, 37px); }
  .community-value-grid { grid-template-columns: 1fr; }
  .community-value-grid article { min-height: 0; padding: 15px; }
  .community-value-grid h3 { margin-top: 0; }
  .community-feed-section { padding: 55px 0 61px; }
  .community-feed-toolbar { align-items: stretch; }
  .community-city-filter, .community-source-filter { width: 100%; justify-content: space-between; }
  .community-city-filter select, .community-source-filter select { flex: 1; }
  .community-filter { flex: 1 0 auto; }
  .community-feed-refresh { margin-left: 0; }
  .community-post-grid { grid-template-columns: 1fr; }
  .community-feed-pagination { align-items: stretch; flex-direction: column; gap: 12px; }
  .community-feed-pagination-controls { justify-content: space-between; }
  .community-feed-pagination-controls > button span { display: none; }
  .community-feed-page-buttons { flex: 1; justify-content: center; }
  .community-public-post-dialog { width: min(100% - 20px, 620px); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .community-public-post-dialog-shell { max-height: calc(100dvh - 20px); border-radius: 16px; }
  .community-public-post-dialog-body { max-height: calc(100dvh - 25px); }
  .community-public-post-detail { min-height: 0; grid-template-columns: 1fr; }
  .community-public-post-media { min-height: 250px; padding: 13px; }
  .community-public-post-media-stage { min-height: 230px; }
  .community-public-post-media-stage img, .community-public-post-media-stage video { max-height: 300px; aspect-ratio: 4 / 3; }
  .community-public-post-copy { padding: 27px 20px 24px; }
  .community-public-post-copy header { padding-right: 38px; }
  .community-public-post-copy h2 { font-size: clamp(29px, 9vw, 38px); }
  .community-public-post-body { max-height: none; }
  .community-public-post-dialog-loading, .community-public-post-dialog-error { min-height: 360px; padding: 32px 22px; }
  .community-card-media-placeholder { min-height: 225px; }
  body.community-comment-sheet-open { overflow: hidden; }
  body.community-comment-sheet-open::before { position: fixed; z-index: 89; inset: 0; content: ""; background: rgba(5, 35, 26, .58); }
  .community-comment-thread.is-sheet.is-open { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; width: 100%; max-height: min(78dvh, 680px); overflow: auto; margin: 0; border: 0; border-top: 4px solid var(--community-red); border-radius: 18px 18px 0 0; padding: 18px 17px calc(18px + env(safe-area-inset-bottom)); background: var(--community-paper-strong); box-shadow: 0 -18px 44px rgba(13, 35, 25, .26); }
  .community-comment-thread-header h4 { max-width: 260px; font-size: 17px; }
  .community-comment-list { max-height: 34dvh; }
  .community-comment-form { position: sticky; bottom: 0; margin-inline: -2px; padding-top: 10px; background: var(--community-paper-strong); }
  .community-comment-composer { grid-template-columns: minmax(0, 1fr) auto; }
  .community-comment-composer button, .community-comment-composer a { min-height: 46px; }
  .community-submission-section { padding: 55px 0; }
  .community-history-section { min-height: 500px; padding: 40px 0 52px; }
  .community-session-state { grid-template-columns: 1fr; gap: 13px; justify-items: start; min-height: 0; padding: 27px 22px; border-radius: 13px; }
  .community-session-actions { width: 100%; justify-content: stretch; }
  .community-session-actions .community-button { flex: 1 1 160px; }
  .community-login-gate { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px; border-radius: 13px; }
  .community-login-gate .community-button { width: 100%; }
  .community-submission-workspace { border-radius: 13px; }
  .community-submission-header { gap: 16px; padding: 25px 21px 21px; }
  .community-submission-header .community-button { width: 100%; }
  .community-submit-panel { grid-template-columns: 1fr; padding: 24px 21px; }
  .community-field, .community-field-wide { grid-column: 1; }
  .community-history-login { min-height: 0; grid-template-columns: 50px minmax(0, 1fr); gap: 17px; padding: 28px 22px; border-radius: 13px; }
  .community-history-login > i { width: 48px; height: 48px; font-size: 23px; }
  .community-history-login .community-button { grid-column: 1 / -1; width: 100%; }
  .community-history-workspace { border-radius: 13px; }
  .community-history-header { min-height: 0; padding: 27px 22px 24px; }
  .community-history-header-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .community-history-toolbar { padding: 18px 22px 16px; }
  .community-history-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -22px; padding: 0 22px 7px; scrollbar-width: thin; }
  .community-history-filters button { flex: 0 0 auto; }
  .community-my-posts-summary { align-items: start; flex-direction: column; }
  .community-my-post-list { gap: 13px; padding: 22px; }
  .community-my-post { min-height: 196px; }
  .community-my-posts-empty, .community-my-posts-error { min-height: 220px; margin: 22px; }
  .community-my-posts-pagination { flex-wrap: wrap; padding: 18px 22px 22px; }
  .community-own-post-dialog { width: min(100% - 20px, 720px); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .community-own-post-dialog-shell { max-height: calc(100dvh - 20px); border-radius: 16px; }
  .community-own-post-dialog-shell > header { padding: 18px 18px 15px; }
  .community-own-post-dialog-body { padding: 19px 18px 24px; }
  .community-comment-rules-inner { grid-template-columns: 1fr; gap: 13px; padding: 41px 0; }
  .community-comment-rules-inner > i { font-size: 36px; }
  .community-comment-rules-inner .community-button { width: 100%; }
  .community-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 19px; padding: 34px 0 29px; }
  .community-footer-top > section { grid-column: 1 / -1; }
  .community-footer-bottom { align-items: start; flex-wrap: wrap; gap: 7px 14px; padding: 16px 0; }
  .community-footer-bottom a { margin-left: 0; }
  .community-notice { right: 14px; bottom: 14px; width: calc(100% - 28px); }
}

@media (max-width: 430px) {
  .community-header-inner { gap: 7px; }
  .community-brand { font-size: 14px; }
  .community-menu-toggle { width: 38px; height: 38px; }
  .community-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-account-entry { min-width: 67px; }
  .community-hero-actions { display: grid; grid-template-columns: 1fr; }
  .community-hero-actions .community-button { width: 100%; }
  .community-engagement-rail { flex-wrap: wrap; }
  .community-reach-note { flex: 1 0 calc(100% - 110px); }
  .community-card-detail-link { order: 4; margin-left: 0; }
  .community-feed-pagination-controls { gap: 4px; }
  .community-feed-pagination button { min-width: 35px; padding-inline: 8px; }
  .community-feed-page-buttons { gap: 4px; }
  .community-candidate-tag { width: 100%; margin-left: 0; justify-content: center; }
  .community-media-picker label { flex: 1; min-width: 0; }
  .community-selected-media { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .community-history-header-actions { grid-template-columns: 1fr; }
  .community-history-header-actions > * { width: 100%; }
  .community-my-post { min-height: 0; grid-template-columns: 66px minmax(0, 1fr); }
  .community-my-post-media { font-size: 25px; }
  .community-my-post-content { padding: 15px 14px 13px; }
  .community-my-post-top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .community-my-post-top time { white-space: normal; }
  .community-my-post-title { font-size: 16px; white-space: normal; }
  .community-my-post-meta .community-my-post-open { width: 100%; margin-left: 0; padding-top: 4px; }
  .community-my-posts-pagination { align-items: stretch; flex-direction: column; }
  .community-mine-page-buttons { order: 1; flex-wrap: wrap; }
  .community-my-posts-pagination > button { width: 100%; }
  .community-my-posts-pagination > span { order: -1; text-align: center; }
  .community-own-post-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .community-own-post-dialog-shell { height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .community-own-post-dialog-shell > header { padding: 15px 14px 13px; }
  .community-own-post-dialog-shell h2 { font-size: 23px; }
  .community-own-post-dialog-body { padding: 17px 14px calc(22px + env(safe-area-inset-bottom)); }
  .community-own-post-detail .private-media-toggle { min-height: 66px; padding: 9px 10px; }
  .community-own-post-detail dl { grid-template-columns: 1fr; }
  .community-own-post-detail dl > div, .community-own-post-detail dl > div:nth-child(odd), .community-own-post-detail dl > div:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--community-line); }
  .community-own-post-detail dl > div:last-child { border-bottom: 0; }
  .community-footer-top { grid-template-columns: 1fr; }
  .community-footer-top > section { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.community-location-fields { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.community-location-detail-fields { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem; }
.community-location-detail-fields.community-location-detail-single { grid-template-columns: 1fr; }
.community-global-display-notice { display: flex; gap: .65rem; margin: .9rem 0; padding: .8rem 1rem; border: 1px solid #d9cba6; background: #fff8df; color: #3f3a2d; line-height: 1.6; }
.community-global-display-notice[hidden] { display: none !important; }

/* Reading starts with the feed; detailed contribution guidance belongs beside the form. */
body[data-page="community"][data-city-hub-view="records"] .community-feed-section { border-top: 0; padding-block: 32px 56px; }
.community-records-heading { grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.community-records-heading h1 { margin: 8px 0 10px; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.community-records-description { margin: 0; color: var(--community-muted); font-size: 13px; line-height: 1.6; }
.community-records-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.community-records-actions .community-feed-refresh { margin-left: 0; min-height: 44px; }
.community-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.community-contribution-guide { border-top: 1px solid var(--community-line); }
.community-contribution-guide > summary { padding-block: 20px; color: var(--community-green); font-size: 14px; font-weight: 800; cursor: pointer; }
.community-contribution-guide > summary:focus-visible { outline: 3px solid var(--community-red); outline-offset: 2px; }
.community-contribution-guide .community-hero h2 { margin: 12px 0 16px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.community-contribution-guide .community-hero h2 span { color: var(--community-red); }
.community-login-gate h1, .community-submission-header h1 { margin: 9px 0 0; font-size: clamp(27px, 3vw, 36px); line-height: 1.15; letter-spacing: -.035em; }

@media (max-width: 760px) {
  body[data-page="community"][data-city-hub-view="records"] .community-feed-section { padding-block: 22px 42px; }
  .community-records-heading { grid-template-columns: 1fr; gap: 14px; }
  .community-records-heading h1 { margin-block: 6px 8px; font-size: 28px; }
  .community-records-actions { justify-content: space-between; }
  .community-records-actions .community-button { min-height: 44px; }
  .community-feed-toolbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; padding-bottom: 12px; }
  .community-feed-toolbar .community-city-filter { grid-column: span 2; display: grid; min-width: 0; gap: 4px; padding: 8px; }
  .community-city-filter > select, .community-city-filter .form-city-control__input { width: 100%; min-width: 0; }
  .community-feed-toolbar .community-filter { min-width: 0; min-height: 44px; padding: 7px 3px; font-size: 11px; }
  .community-feed-status { min-height: 32px; margin-block: 8px 12px; }
  .community-empty-actions { align-items: stretch; flex-direction: column; }
  .community-draft-action-row { flex-direction: column; }
  .community-draft-action-row .community-button { width: 100%; }
}
@media (max-width: 680px) {
  .community-location-fields, .community-location-detail-fields, .community-form-section { grid-template-columns: 1fr; }
  .community-form-heading { grid-template-columns: 38px 1fr; }
  .community-form-heading .community-locate-button { grid-column: 1 / -1; width: 100%; }
  .community-location-summary { grid-template-columns: 36px minmax(0, 1fr); }
  .community-manual-location-button { grid-column: 1 / -1; width: 100%; border: 1px solid #9fafa4; border-radius: 9px; }
  .community-manual-location { padding: 14px; }
  .community-draft-recovery { align-items: stretch; flex-direction: column; }
  .community-draft-recovery .community-button { width: 100%; }
  .community-saved-media-item { grid-template-columns: 1fr; }
  .community-saved-media-item > button { justify-content: center; }
}


/* Focus contribution on the story; keep location and review controls in reach. */
body[data-page="community"] .community-submission-section { padding-block: 32px; }
body[data-page="community"] .community-submission-header { padding: 24px 30px; gap: 18px; }
.community-submission-header .community-section-kicker { display: none; }
.community-submit-panel { gap: 22px; padding: 24px 30px 30px; }
.community-form-section { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 12px; }
.community-form-section + .community-form-section { padding-top: 22px; border-top: 1px solid var(--community-line); }
.community-form-heading h3 { font-size: 18px; letter-spacing: -.02em; }
.community-form-heading p,.community-field,.community-location-summary span,.community-manual-location-heading span,.community-media-picker p,.community-file-drop small,.community-consent,.community-submit-state { font-size: 13px; line-height: 1.6; }
.community-field :is(input,textarea,select) { font-size: 16px; }
.community-location-summary { min-height: 60px; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--community-green-soft); }
.community-location-summary[data-state="idle"] .community-location-summary-icon,
.community-location-summary[data-state="idle"] #communityLocationSummaryText { display: none; }
.community-location-summary[data-state="idle"] { grid-template-columns: minmax(0,1fr) auto; }
.community-locate-button,.community-manual-location-button,.community-manual-location-heading button { min-height: 44px; font-size: 13px; }
.community-manual-location { padding: 14px 0 0; border: 0; border-top: 1px solid var(--community-line); border-radius: 0; background: transparent; }
.community-history-header { min-height: 0; padding: 24px 30px; gap: 20px; }
.community-history-header h1 { font-size: clamp(28px,3.5vw,36px); }
.community-history-header .community-section-kicker { display: none; }
.community-my-posts-empty { min-height: 210px; margin: 24px 30px; }
.community-my-posts-empty p,.community-my-posts-error p { font-size: 14px; }
.community-my-post-list[hidden],.community-history-toolbar[hidden],.community-history-filters[hidden],.community-my-posts-summary[hidden],#communityHistoryContribute[hidden] { display: none !important; }
@media (max-width: 680px) {
  body[data-page="community"] .community-submission-section { padding-block: 24px; }
  body[data-page="community"] .community-submission-header { padding: 18px; align-items: center; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .community-submission-header h1 { margin-top: 0; font-size: 26px; }
  .community-submission-header p:not(.community-section-kicker) { margin-top: 7px; font-size: 13px; }
  .community-submission-header .community-button { width: auto; min-height: 44px; }
  .community-submit-panel { padding: 20px 18px 24px; gap: 20px; }
  .community-form-heading { gap: 9px; }
  .community-form-heading .community-locate-button { width: auto; justify-self: start; }
  .community-location-summary { grid-template-columns: 30px minmax(0,1fr); gap: 8px; }
  .community-location-summary[data-state="idle"] { grid-template-columns: minmax(0,1fr) auto; }
  .community-location-summary[data-state="idle"] .community-manual-location-button { grid-column: auto; width: auto; border: 0; }
  .community-history-section { min-height: 0; padding-block: 24px 36px; }
  .community-history-header { padding: 20px 18px; gap: 14px; }
  .community-history-header-actions { display: flex; width: auto; flex-wrap: wrap; }
  .community-history-header-actions > * { flex: 0 0 auto; width: auto; }
  .community-history-toolbar { padding: 16px 18px; }
  .community-history-filters { flex-wrap: wrap; gap: 7px; overflow: visible; margin: 0; padding: 0; }
  .community-history-filters button { padding-inline: 11px; gap: 5px; }
  .community-my-posts-empty { min-height: 200px; margin: 18px; padding: 24px 16px; }
  .community-my-posts-empty h2 { font-size: 21px; }
}
