/* Author identity stays one ordinary link; follow/report buttons are siblings. */
a.community-author-link { text-decoration: none; color: inherit; }
:is(a.community-author-link,button.community-author-unavailable).author { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
a.community-author-link:focus-visible { outline: 2px solid #00aceb; outline-offset: 3px; border-radius: 6px; }
a.community-author-link:hover { text-decoration: none; }
a.community-author-link.community-author-name:hover { text-decoration: underline; text-underline-offset: 3px; }
button.community-author-unavailable { appearance:none; padding:0; margin:0; border:0; background:transparent; box-shadow:none; font:inherit; color:inherit; text-align:inherit; cursor:pointer; }
button.community-author-unavailable:focus-visible { outline:2px solid #00aceb; outline-offset:3px; border-radius:6px; }
.community-author-notice { width:min(360px,calc(100vw - 40px)); box-sizing:border-box; max-height:calc(100dvh - 40px); overflow:auto; padding:24px; border:1px solid #dce9f1; border-radius:18px; background:#fff; color:#23465d; font-family:inherit; }
.community-author-notice::backdrop { background:#17374c66; }
.community-author-notice h2 { margin:0 0 10px; font-size:18px; line-height:1.5; }
.community-author-notice p { margin:0 0 22px; font-size:14px; line-height:1.7; color:#637d90; }
.community-author-notice button { width:100%; min-height:44px; border:1px solid #c8e2ee; border-radius:10px; background:#eff9fd; color:#00698f; font:inherit; font-size:14px; cursor:pointer; }
.community-author-notice button:focus-visible { outline:2px solid #00aceb; outline-offset:3px; }
.community-author-basic { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.community-author-basic>div { min-width:0; }
.community-author-basic h2 { overflow-wrap:anywhere; margin-bottom:4px; }
.community-author-basic-avatar { position:relative; display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; border-radius:14px; overflow:hidden; color:#0078a4; background:#e5f7ff; font-size:22px; }
.community-author-basic-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.community-author-ip { color:#6a8294; font-size:12px; }
.community-author-login { display:flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:44px; width:100%; padding:10px; margin-bottom:10px; border-radius:10px; text-decoration:none; font-size:14px; }
.community-profile-return { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 12px; padding: 0 12px; border: 1px solid #bedce8; border-radius: 10px; background: #fff; color: #00698f; text-decoration: none; font-size: 13px; }
/* Grid rows must not stretch the avatar button down the entire desktop post. */
@media (min-width:769px) {
  body[data-page="forum"]:not(.mobile-page) :is(a,button).pcpost-avatar {
    display:inline-flex; align-items:center; justify-content:center; align-self:start;
    width:44px; height:44px; min-height:44px; border-radius:50%; cursor:pointer;
  }
  body[data-page="forum"]:not(.mobile-page) :is(a,button).pcpost-avatar:hover .avatar {
    box-shadow:0 0 0 3px rgba(0,172,235,.16) !important;
  }
  body[data-page="forum"]:not(.mobile-page) :is(a,button).community-author-name:hover,
  body[data-page="forum"]:not(.mobile-page) :is(a,button).author:hover>span:last-child:not(.avatar) {
    color:#007da8; text-decoration:underline; text-underline-offset:3px;
  }
}
/* Long author names share the first row with actions; category gets its own row. */
html body.mobile-page[data-page="forum"].forum-detail-state #post-list .post.is-deep-linked .post-top {
  display:grid !important; grid-template-columns:minmax(0,1fr) auto auto; gap:6px 8px !important; padding-right:0 !important;
}
html body.mobile-page[data-page="forum"].forum-detail-state #post-list .post-top .author { min-width:0; grid-column:1; grid-row:1; }
html body.mobile-page[data-page="forum"].forum-detail-state #post-list .post-top .forum-follow-btn { grid-column:2; grid-row:1; margin-left:0; }
html body.mobile-page[data-page="forum"].forum-detail-state #post-list .post-top .post-author-menu { grid-column:3; grid-row:1; }
html body.mobile-page[data-page="forum"].forum-detail-state #post-list .post-top .author .avatar { flex:0 0 32px; }
html body.mobile-page[data-page="forum"].forum-detail-state #post-list .post-top .author>span:last-child { min-width:0; overflow-wrap:anywhere; }
html body.mobile-page[data-page="forum"].forum-detail-state #post-list .post-top .tags { grid-column:1 / -1; grid-row:2; justify-content:flex-start; }
