/* Профили: аватарки и карточка студента */

.av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-right: 9px;
  font-size: 11px;
  font-weight: 700;
  color: hsl(var(--h) 55% 38%);
  background: hsl(var(--h) 70% 92%);
  vertical-align: middle;
  flex: none;
}

.meb {
  padding: 2px !important;
  border-radius: 50% !important;
  width: 34px;
  height: 34px;
  overflow: hidden;
}

.meb img,
.meb .av {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border-radius: 50%;
  object-fit: cover;
}

.av {
  overflow: hidden;
}

.av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

td.n[data-pr] {
  cursor: pointer;
}

td.n[data-pr]:hover {
  color: var(--acc);
}

#dlgMe,
#dlgPr {
  width: min(440px, 94vw);
  padding: 16px;
}

.pf-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 10px;
}

.pf-av {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font:
    800 28px Inter,
    system-ui;
  color: #fff;
  box-shadow:
    0 0 0 3px var(--card),
    0 0 0 5px var(--pc, var(--acc));
}

.pf-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.pf-l {
  display: block;
  font-size: 12px;
  color: var(--mut);
  margin: 10px 0 4px;
}

.pf-ro {
  font-weight: 600;
  padding: 2px 0;
}

.pf-in {
  width: 100%;
  font: inherit;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--tx);
}

.pf-cols {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pf-cols button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  padding: 0;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--bd);
}

.pf-cols button.on {
  box-shadow: 0 0 0 2px var(--tx);
}

.pr-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 6px 0 12px;
  position: relative;
}

.pr-hero::before {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: -56px;
  height: 110px;
  background: linear-gradient(
    135deg,
    var(--pc, var(--acc)),
    color-mix(in srgb, var(--pc, var(--acc)) 40%, var(--g2, #1fb3a6))
  );
  opacity: 0.25;
  z-index: -1;
}

.pr-hero .pf-av {
  width: 96px;
  height: 96px;
  font-size: 32px;
  margin-bottom: 6px;
}

.pr-name {
  font-size: 20px;
  font-weight: 700;
}

.pr-nick {
  color: var(--pc, var(--acc));
  font-weight: 600;
}

.pr-bio {
  font-size: 14px;
  color: var(--mut);
  max-width: 300px;
}

.pr-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.pr-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--we);
}

.pr-tags .st {
  background: #f5b301;
  color: #fff;
}

.pr-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.pr-stats div {
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 10px 4px;
  text-align: center;
}

.pr-stats b {
  display: block;
  font-size: 19px;
}

.pr-stats small {
  font-size: 11px;
  color: var(--mut);
}

.pr-stats .h b {
  color: var(--no);
}

.pr-lh {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 14px 2px 6px;
}

.pr-lh small {
  color: var(--mut);
  font-size: 12px;
}

.pr-list {
  max-height: 38vh;
  overflow: auto;
  border: 1px solid var(--bd);
  border-radius: 14px;
}

.pr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--bd);
  font-size: 14px;
}

.pr-row:last-child {
  border-bottom: 0;
}

.pr-d {
  font-weight: 700;
  min-width: 62px;
}

.pr-d small {
  font-weight: 500;
  color: var(--mut);
  margin-left: 4px;
  font-size: 11px;
}

.pr-s {
  flex: 1;
  color: var(--tx);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-row .lg {
  min-width: 26px;
  height: 22px;
  font-size: 12px;
}
