.comment-label-small { display: none; }
.nav-tab[data-view="commentInbox"] { white-space: normal; }
.comment-unread-badge { position: absolute; top: 3px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #b83240; color: #fff; font-size: 10px; line-height: 17px; text-align: center; font-weight: 650; }
.comment-alert { grid-column: 2; display: flex; align-items: center; justify-content: flex-start; min-width: 0; gap: 12px; padding: 14px 16px; border: 1px solid #c5ded9; border-left: 3px solid #36796d; border-radius: 6px; background: #edf6f3; color: #254f47; text-align: left; }
.comment-alert > span { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 6px 18px; min-width: 0; }
.comment-alert strong { font-size: 14px; overflow-wrap: anywhere; }
.comment-alert small { font-size: 12px; font-weight: 400; }
.comment-alert .lucide { flex-shrink: 0; }
.comment-inbox-list { display: flex; flex-direction: column; margin-top: 20px; }
.comment-inbox-item { width: 100%; display: grid; grid-template-columns: 38px minmax(0, 1fr) 20px; gap: 14px; padding: 20px 12px; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; font-weight: 400; align-items: start; }
.comment-inbox-item:hover { background: var(--panel-strong); }
.comment-inbox-item.is-unread { border-left: 3px solid #36796d; padding-left: 9px; background: #eff6f3; }
.comment-inbox-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; color: #36796d; background: #ddece5; }
.comment-inbox-content { display: grid; gap: 7px; min-width: 0; }
.comment-inbox-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.comment-inbox-heading strong { font-size: 15px; overflow-wrap: anywhere; }
.comment-read-state, .comment-inbox-content time { color: var(--muted); font-size: 12px; }
.is-unread .comment-read-state { color: #267061; font-weight: 600; }
.comment-inbox-preview { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.comment-inbox-context { color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#commentInboxMore { margin-top: 18px; }
.rank-comment { scroll-margin-block: 90px; transition: background-color .3s, box-shadow .3s; }
.rank-comment.comment-located { background: #fff2c9; box-shadow: inset 3px 0 #c19b39; padding-inline: 12px; outline: none; }
.rank-comment:focus-visible { outline: 2px solid #36796d; outline-offset: 4px; }
@media (max-width: 760px) {
  .comment-label-wide { display: none; }
  .comment-label-small { display: inline; }
  .section-tabs { gap: 2px; padding-inline: 4px; }
  .nav-tab { padding-inline: 2px; }
  .comment-unread-badge { right: max(1px, calc(50% - 24px)); top: 1px; }
  .comment-inbox-item { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 9px; padding-block: 16px; }
  .comment-inbox-icon { width: 30px; height: 30px; }
  .comment-inbox-icon .lucide { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .rank-comment { transition: none; }
}
