/* Quiet reading layout for one community post, with uncapped paginated replies. */
.post-detail{--post-line:var(--border,#303034);--post-soft:var(--surface-2,#202023);--post-accent:var(--accent,#c1ff35);min-width:0;min-height:65vh;padding:0 3px 35px;color:var(--text)}
.post-detail svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body.ui-polished .post-detail button{box-shadow:none!important;translate:none}
.post-detail button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.post-detail button:disabled{opacity:.45;cursor:default}
.post-detail button:focus-visible,.post-detail textarea:focus-visible{outline:2px solid var(--post-accent);outline-offset:3px}
.post-detail-nav{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;margin:0 0 27px}
body .post-detail-nav .strategy-back{display:flex;align-items:center;gap:7px;min-height:44px;padding:9px 13px 9px 10px;font-size:13px}
.post-detail-nav h1{font-size:12px;font-weight:500;color:var(--muted);margin:0 5px 0 0}
.post-detail-article>header{display:flex;align-items:center;gap:11px}
.post-detail-avatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;overflow:hidden;color:var(--post-accent);background:var(--accent-soft);border:1px solid var(--post-line);font-size:16px;font-weight:600}
.post-detail-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.post-detail-article>header>div{display:grid;gap:6px;min-width:0;flex:1}
.post-detail-article>header b{font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.post-detail-article time{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.5}
.post-detail-featured{align-self:flex-start;font-size:10px;color:var(--post-accent);padding:4px 8px;border:1px solid var(--post-line);border-radius:8px;background:var(--accent-soft)}
.post-detail-body{font-size:15px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin:24px 1px 20px;letter-spacing:.01em}
.post-detail-article>footer{display:flex;gap:12px;margin:0 0 5px;padding-bottom:17px;border-bottom:1px solid var(--post-line)}
body .post-detail-article>footer button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 13px;border:1px solid var(--post-line);border-radius:13px;background:transparent;color:var(--muted);font-size:12px}
.post-detail-article>footer button svg{width:17px;height:17px;stroke-width:1.5}
body .post-detail-article>footer button.liked{background:var(--accent-soft);color:var(--post-accent)}
.post-detail-article>footer button.liked svg{fill:currentColor;stroke-width:0}
.post-detail-likes,.post-detail-comments{padding:20px 1px 22px;border-bottom:1px solid var(--post-line)}
.post-detail-likes>header,.post-detail-comments>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 15px}
.post-detail h2{font-size:14px;font-weight:600;line-height:1.5;margin:0}
.post-detail h2>span{display:inline-block;font-size:11px;font-weight:500;color:var(--muted);margin-left:5px;font-variant-numeric:tabular-nums}
.post-detail-comments>header>small{color:var(--muted);font-size:10px}
.post-detail-liker-names{font-size:12px;line-height:1.95;color:var(--post-accent);overflow-wrap:anywhere;margin:0;white-space:normal}
.post-detail-liker-names b{font-weight:500}
.post-detail-liker-names>span{color:var(--muted);margin-left:5px;font-size:11px}
.post-detail-quiet{font-size:12px;line-height:1.8;color:var(--muted);margin:0}
.post-detail-comment{display:flex;gap:10px;padding:15px 0;border-bottom:1px solid var(--post-line)}
.post-detail-comment:first-child{padding-top:3px}
.post-detail-comment:last-child{padding-bottom:0;border-bottom:0}
.post-detail-comment>.post-detail-avatar{flex-basis:31px;width:31px;height:31px;border-radius:10px;font-size:12px}
.post-detail-comment>div{flex:1;min-width:0}
.post-detail-comment header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;line-height:1.65;min-height:20px}
.post-detail-comment b{font-size:12px;font-weight:600;overflow-wrap:anywhere}
.post-detail-comment time{flex-shrink:0;font-size:9px;color:var(--muted);font-variant-numeric:tabular-nums}
.post-detail-comment p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;margin:7px 0 0;color:var(--text)}
body .post-detail-comment [data-post-detail-delete]{display:block;min-height:32px;border:0;background:none;color:var(--muted);font-size:10px;padding:8px 2px 0;border-radius:7px}
body .post-detail-more{display:block;min-height:42px;margin:10px auto 0;padding:10px 13px;border:0;border-radius:11px;background:none;color:var(--post-accent);font-size:12px}
.post-detail [hidden]{display:none!important}
.post-detail-status{font-size:11px;line-height:1.8;overflow-wrap:anywhere;color:var(--muted);margin:12px 0 0}
.post-detail-status:empty{display:none}
body .post-detail-status button{border:0;background:none;color:var(--post-accent);min-height:32px;padding:6px 8px;font-size:11px;border-radius:8px}
.post-detail-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 14px;color:var(--muted)}
.post-detail-empty>svg{width:29px;height:29px;opacity:.6;margin-bottom:15px}
.post-detail-empty h2{font-size:14px;color:var(--text)}
.post-detail-empty p{font-size:12px;line-height:1.8;margin:9px 0 0;overflow-wrap:anywhere}
.post-detail-spinner{display:block;width:16px;height:16px;border:1.5px solid var(--post-line);border-top-color:var(--post-accent);border-radius:50%;animation:post-detail-spin .8s linear infinite}
@keyframes post-detail-spin{to{transform:rotate(360deg)}}
#post-detail-comment-form{margin-top:23px}
#post-detail-comment-form>label{display:block;font-size:12px;font-weight:600;margin-bottom:11px}
body #post-detail-comment-form textarea{display:block;width:100%;box-sizing:border-box;background:var(--post-soft);color:var(--text);font:inherit;font-size:14px;line-height:1.7;min-height:104px;max-height:300px;resize:vertical;border:1px solid var(--post-line);border-radius:15px;padding:12px 13px}
#post-detail-comment-form textarea::placeholder{color:var(--muted)}
#post-detail-comment-form>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}
#post-detail-draft-count{color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}
body #post-detail-comment-form button[type="submit"]{display:flex;align-items:center;gap:7px;min-height:40px;padding:10px 14px;border:0;border-radius:12px;background:var(--post-accent);color:#12160c;font-size:12px;font-weight:600}
#post-detail-comment-form button[type="submit"] svg{width:15px;height:15px}
.post-detail-delete-sheet h2{margin:8px 0 13px;font-size:21px;font-weight:600;padding-right:24px}
.post-detail-delete-sheet>p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 17px}
body .community-likers-link{display:inline;border:0;border-radius:0;background:none;color:inherit;font:inherit;line-height:inherit;text-align:left;padding:0;margin:0;box-shadow:none!important;translate:none;cursor:pointer;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent}
.community-likers-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
:root[data-theme="light"] .post-detail{--post-line:#e1e7f0;--post-soft:#f0f4fa;--post-accent:#3478ed}
[data-theme="light"] .post-detail-body{color:#354459}
[data-theme="light"] #post-detail-comment-form button[type="submit"]{color:#fff}
@media(max-width:360px){.post-detail{padding-inline:1px}.post-detail-body{font-size:14px}.post-detail-comment header{gap:6px}.post-detail-comment time{font-size:8px}.post-detail-nav{margin-bottom:23px}.post-detail-liker-names{font-size:11px}}
@media(min-width:700px){.post-detail{max-width:700px;margin-inline:auto}.post-detail-body{font-size:16px}}
@media(prefers-reduced-motion:reduce){.post-detail-spinner{animation:none}.post-detail button{transition:none!important}}

/* Profile pins remain subtle and distinct from editorial featured posts. */
.community-post>header>.community-post-time{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 7px;flex-shrink:0;max-width:48%;margin-left:auto;text-align:right;line-height:1.4}
.community-post-time time{white-space:nowrap}
.community-pin-label{display:inline-flex;align-items:center;white-space:nowrap;font-size:10px;font-weight:500;line-height:1.4;padding:3px 6px;border-radius:5px;background:rgba(94,159,255,.1);color:#82b4ff}
body .community-post footer .community-pin-action{color:#82b4ff}
body .community-post footer .community-pin-action:disabled{opacity:.45;cursor:default}
.post-detail-post-time{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
:root[data-theme="light"] .community-pin-label{background:#edf4ff;color:#3478ed}
:root[data-theme="light"] .community-post footer .community-pin-action{color:#3478ed}
