/* RG Personal 0.10.9 — UsersWP public Comments tab only.
   No wpDiscuz comments, other UsersWP tabs, or Bricks global styles affected. */
body.rg-public-profile-page .rg-profile-comments-view {
  --rg-pc-border: var(--rg-profile-border, #ecdff0);
  --rg-pc-ink: var(--rg-profile-ink, #302538);
  --rg-pc-muted: var(--rg-profile-muted, #786581);
  --rg-pc-purple: var(--rg-profile-accent, #9341b2);
  --rg-pc-surface: #fbf6fc;
  display: block;
  width: 100%;
  min-width: 0;
  color: var(--rg-pc-ink);
}
body.rg-public-profile-page .rg-profile-comments-view__heading {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.35;
  color: var(--rg-pc-ink);
}
body.rg-public-profile-page .rg-profile-comments-view__items {
  display: grid;
  gap: 14px;
  min-width: 0;
}
body.rg-public-profile-page .rg-profile-comments-view__card {
  min-width: 0;
  overflow: visible;
  border: 1px solid var(--rg-pc-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 11px rgba(82, 37, 96, .035);
}
body.rg-public-profile-page .rg-profile-comments-view__card-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border-left: 3px solid #b46ac8;
  border-bottom: 1px solid var(--rg-pc-border);
  background: var(--rg-pc-surface);
  border-radius: 14px 14px 0 0;
}
body.rg-public-profile-page .rg-profile-comments-view__avatar {
  display: flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #fae7ff, #dcbff1);
  box-shadow: 0 2px 7px rgba(72, 39, 87, .12);
}
body.rg-public-profile-page .rg-profile-comments-view__avatar img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 50%;
  margin: 0 !important;
}
body.rg-public-profile-page .rg-profile-comments-view__initial {
  color: #844095;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
}
body.rg-public-profile-page .rg-profile-comments-view__identity {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 5px;
}
body.rg-public-profile-page .rg-profile-comments-view__author-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  min-width: 0;
}
body.rg-public-profile-page .rg-profile-comments-view__author {
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
  color: var(--rg-pc-purple);
  text-decoration: none;
  overflow-wrap: anywhere;
}
body.rg-public-profile-page a.rg-profile-comments-view__author:hover,
body.rg-public-profile-page a.rg-profile-comments-view__author:focus-visible {
  color: #762b94;
  text-decoration: underline;
}
body.rg-public-profile-page .rg-profile-comments-view__author--plain {
  color: var(--rg-pc-ink);
}
body.rg-public-profile-page .rg-profile-comments-view__time {
  display: block;
  color: var(--rg-pc-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
}
body.rg-public-profile-page .rg-profile-comments-view__card-content {
  padding: 13px 16px 15px;
  min-width: 0;
}
body.rg-public-profile-page .rg-profile-comments-view__post {
  display: inline-block;
  margin: 0 0 9px;
  color: var(--rg-pc-purple);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}
body.rg-public-profile-page .rg-profile-comments-view__post:hover {
  text-decoration: underline;
}
body.rg-public-profile-page .rg-profile-comments-view__message,
body.rg-public-profile-page .rg-profile-comments-view__message :is(p, li) {
  color: var(--rg-pc-ink);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: normal;
}
body.rg-public-profile-page .rg-profile-comments-view__message > :first-child { margin-top: 0; }
body.rg-public-profile-page .rg-profile-comments-view__message > :last-child { margin-bottom: 0; }
body.rg-public-profile-page .rg-profile-comments-view__card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 9px 15px;
  border-top: 1px solid var(--rg-pc-border);
  background: #fdf9fd;
  border-radius: 0 0 14px 14px;
}
body.rg-public-profile-page .rg-profile-comments-view__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 7px 11px;
  border: 1px solid #ead5f0;
  border-radius: 9px;
  background: #f7edfa;
  color: #8c3da5;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
body.rg-public-profile-page .rg-profile-comments-view__go:hover { background: #f0ddf5; color: #712b90; }
body.rg-public-profile-page .rg-profile-comments-view :is(a,button):focus-visible {
  outline: 2px solid #9854b3;
  outline-offset: 2px;
}
body.rg-public-profile-page .rg-profile-comments-view__empty {
  margin: 0;
  padding: 18px;
  color: var(--rg-pc-muted);
  border: 1px solid var(--rg-pc-border);
  border-radius: 12px;
  background: #fff;
}
/* Reuse the public GamiPress rank label; the badge is not a link. */
body.rg-public-profile-page .rg-profile-comments-view__rank .rgp-public-rank {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
body.rg-public-profile-page .rg-profile-comments-view__rank .rgp-public-rank__trigger {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #ead3f2;
  border-radius: 999px;
  background: #f8eefb;
  color: #9746b2;
  cursor: help;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}
body.rg-public-profile-page .rg-profile-comments-view__rank .rgp-public-rank__tooltip {
  position: absolute;
  z-index: 15;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  white-space: nowrap;
  max-width: min(220px, 80vw);
  padding: 7px 10px;
  background: #fff;
  border: 1px solid var(--rg-pc-border);
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(70, 30, 90, .12);
  color: #7d379b;
  font-size: 12px;
  font-weight: 700;
}
body.rg-public-profile-page .rg-profile-comments-view__rank .rgp-public-rank:hover .rgp-public-rank__tooltip,
body.rg-public-profile-page .rg-profile-comments-view__rank .rgp-public-rank:focus-within .rgp-public-rank__tooltip { display: block; }
/* Our own pagination markup, not UsersWP/bootstrap .pagination or generic li. */
body.rg-public-profile-page .rg-profile-comments-view__pagination { margin: 20px 0 0; }
body.rg-public-profile-page .rg-profile-comments-view__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
body.rg-public-profile-page .rg-profile-comments-view__page {
  display: block;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.rg-public-profile-page .rg-profile-comments-view__page::marker { content: ''; }
body.rg-public-profile-page .rg-profile-comments-view__page .page-numbers {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--rg-pc-border);
  border-radius: 10px;
  background: #fff;
  color: var(--rg-pc-purple);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 1px 5px rgba(71, 34, 88, .04);
}
body.rg-public-profile-page .rg-profile-comments-view__page a.page-numbers:hover {
  background: #f8ecfb;
  border-color: #deb9eb;
}
body.rg-public-profile-page .rg-profile-comments-view__page .page-numbers.current,
body.rg-public-profile-page .rg-profile-comments-view__page .page-numbers[aria-current="page"] {
  background: #9d49b6;
  border-color: #9d49b6;
  color: #fff;
}
body.rg-public-profile-page .rg-profile-comments-view__page .page-numbers.dots {
  border-color: transparent;
  box-shadow: none;
  background: none;
  color: var(--rg-pc-muted);
}
@media (max-width: 767px) {
  body.rg-public-profile-page .rg-profile-comments-view__items { gap: 11px; }
  body.rg-public-profile-page .rg-profile-comments-view__card { border-radius: 12px; }
  body.rg-public-profile-page .rg-profile-comments-view__card-header { padding: 11px 12px; gap: 10px; }
  body.rg-public-profile-page .rg-profile-comments-view__avatar { width: 42px; height: 42px; flex-basis: 42px; }
  body.rg-public-profile-page .rg-profile-comments-view__card-content { padding: 12px; }
  body.rg-public-profile-page .rg-profile-comments-view__card-footer { padding: 8px 11px; }
  body.rg-public-profile-page .rg-profile-comments-view__heading { font-size: 18px; }
  body.rg-public-profile-page .rg-profile-comments-view__pages { gap: 6px; }
  body.rg-public-profile-page .rg-profile-comments-view__page .page-numbers { min-width: 40px; min-height: 40px; }
}
