/* Reading-led interaction polish. Existing layout and hero are untouched. */
body[data-ui-shell="community"] :is(.forum-page,.thread-page,.fs-page,.fr-page,.following-page){--reading-ease:cubic-bezier(.22,1,.36,1)}
.forum-page .forum-topic-open{display:inline;text-decoration:none}
.forum-page .forum-topic-open h3{text-wrap:pretty;text-decoration-line:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:.22em;transition:color .22s,text-decoration-color .22s}
.forum-page .forum-topic:focus-within .forum-topic-open h3{color:#94432f;text-decoration-color:#b7816366}
.forum-page :is(.forum-topic-author,.forum-topic-tags a){transition:color .2s}
.forum-page .forum-topic-tail :is(button,a){transition:color .2s,background .2s,transform .2s var(--reading-ease)}
.forum-page .forum-peek-button svg{transition:transform .3s var(--reading-ease)}
.forum-page .forum-peek-button[aria-expanded=true] svg{transform:rotate(-90deg)}
.forum-page .forum-fold{transition:grid-template-rows .32s var(--reading-ease),opacity .24s}
.thread-page :is(.thread-reactions button,.thread-reply-action,.reply-send,.thread-pagination button){transition:background .2s,color .2s,transform .22s var(--reading-ease),box-shadow .22s}
.thread-page :is(.thread-reactions button,.thread-reply-action,.reply-send,.thread-pagination button):not(:disabled):active,.forum-page .forum-topic-tail button:not(:disabled):active{transform:scale(.97)}
.thread-page .thread-body{overflow-wrap:anywhere}
.thread-page .thread-body a{text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:#b7816377;transition:color .2s,text-decoration-color .2s}
.thread-page .thread-body a:hover{text-decoration-color:currentColor;color:#984630}
.thread-page .thread-more[open] .thread-more-menu{animation:reading-menu-in .18s var(--reading-ease) both;transform-origin:top right}
.thread-page .reply-editor:focus-within{background:linear-gradient(120deg,#f2e5d544,transparent 75%)}
.thread-page .reply-editor :is(textarea,input){caret-color:#984630}
.thread-page .reply-editor :is(textarea,input)::placeholder{color:#9b8675}
body[data-ui-shell="community"] :is(.forum-page,.thread-page,.fs-page,.fr-page,.following-page) :is(a,button,summary):focus-visible{outline:2px solid #a95c4199;outline-offset:4px}
@media(hover:hover){.forum-page .forum-topic-open:hover h3{text-decoration-color:#b7816399;color:#94432f}.forum-page .forum-topic-author:hover{color:#94432f}.thread-page .thread-reply-action:hover svg{transform:translate(-2px,-1px)}}
@media(max-width:760px){.forum-page .forum-topic-tail :is(button,a){min-height:44px}.thread-page .thread-floor footer :is(button,summary){min-height:44px}.thread-page .reply-editor textarea{font-size:16px}.thread-page .thread-more-menu{max-width:calc(100vw - 40px)}.thread-page .thread-body a{overflow-wrap:anywhere}}
@keyframes reading-menu-in{from{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){body[data-ui-shell="community"] :is(.forum-page,.thread-page) :is(.forum-fold,.forum-peek-button svg,.thread-more-menu,.thread-reactions button,.thread-reply-action,.reply-send,.thread-pagination button,.forum-topic-tail button,.forum-topic-open h3){animation:none!important;transition:none!important}}
