:root {
  --profile-accent: #8bc34a;
  --profile-bg: #2d3238;
  --profile-panel: #383c42;
  --profile-panel-alt: #42464d;
  --profile-border: rgba(255, 255, 255, 0.12);
  --profile-muted: #bcc0c7;
  --profile-header-height: 53px;
}

html,
body {
  background: var(--profile-bg);
}

.template-member-view .p-navSticky {
  height: var(--profile-header-height);
  flex-basis: var(--profile-header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--profile-bg);
}

.template-member-view .p-nav {
  height: var(--profile-header-height);
}

.template-member-view .p-nav-inner {
  width: min(1200px, calc(100% - 20px));
}

.template-member-view .p-navEl-link--logo img {
  width: 140px;
}

.template-member-view .p-navEl--headerAd {
  display: none;
}

.profilePage {
  flex: 1 0 auto;
  min-width: 0;
  background: var(--profile-bg);
  scroll-margin-top: calc(var(--profile-header-height) + 12px);
}

.profileShell {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  padding: 20px 0 40px;
}

.profileBreadcrumbs {
  display: flex;
  min-width: 0;
  margin: 0 0 14px;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  color: var(--profile-muted);
  font-size: 13px;
}

.profileBreadcrumbs li {
  display: flex;
  min-width: 0;
  align-items: center;
}

.profileBreadcrumbs li + li::before {
  content: "\203A";
  margin: 0 9px;
  color: #8c929a;
  font-size: 20px;
}

.profileBreadcrumbs a,
.profileBreadcrumbs span {
  color: var(--profile-muted);
}

.profileBreadcrumbs li:last-child span {
  color: #f1f2f3;
  font-weight: 600;
}

.memberHeader,
.profileBlock {
  overflow: hidden;
  border: 1px solid var(--profile-border);
  border-radius: 4px;
  background: var(--profile-panel);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.memberHeader-cover {
  position: relative;
  height: 92px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(105deg, rgba(139, 195, 74, 0.08), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 7px),
    #252a30;
}

.memberHeader-body {
  position: relative;
  display: grid;
  min-height: 104px;
  padding: 16px 18px 17px 132px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.profileAvatar {
  --avatar-bg: #303944;
  --avatar-fg: #c8d2dc;
  position: absolute;
  top: -66px;
  left: 18px;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 4px solid var(--profile-panel);
  border-radius: 4px;
  background: var(--avatar-bg);
  color: var(--avatar-fg);
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.38);
}

.profileAvatar.is-online::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--profile-panel);
  border-radius: 50%;
  background: var(--profile-accent);
}

.memberHeader-nameRow {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.memberHeader-name {
  margin: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.memberHeader-name.is-staff {
  color: #f0a2a2;
}

.memberBanner {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 1px 7px;
  border: 1px solid rgba(217, 83, 79, 0.68);
  border-radius: 2px;
  background: #a94442;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.memberHeader-title,
.memberHeader-meta {
  color: var(--profile-muted);
  font-size: 13px;
}

.memberHeader-title {
  margin-top: 5px;
}

.memberHeader-meta {
  display: flex;
  margin-top: 10px;
  gap: 7px 14px;
  flex-wrap: wrap;
}

.memberHeader-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.memberHeader-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.profileButton {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: #4a4f57;
  color: #f1f2f3;
  font-size: 12px;
  font-weight: 600;
}

.profileButton:hover {
  border-color: rgba(115, 189, 247, 0.55);
  background: #515761;
  color: #fff;
}

.profileTabs {
  display: flex;
  min-width: 0;
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid var(--profile-border);
  border-radius: 4px;
  background: #33383f;
  scrollbar-width: thin;
}

.profileTab {
  position: relative;
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  padding: 0 15px;
  color: #c9cdd2;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.profileTab:hover {
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

.profileTab.is-active {
  color: #fff;
}


.profileTab .mdi-glyph {
  margin-right: 6px;
  font-size: 15px;
  opacity: 0.85;
}
.profileTab.is-locked {
  color: #8b9098;
  cursor: default;
}
.profileTab.is-locked:hover {
  background: transparent;
  color: #8b9098;
}
.profileTab.is-locked .mdi-glyph {
  color: #79bdf3;
  opacity: 1;
}
.profileLayout.is-guest {
  grid-template-columns: minmax(0, 1fr);
}
.profileGuestGate {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.profileGuestGate .blockMessage { margin: 0; }
.profileGuestGate-copy { min-width: 0; }
.profileGuestGate-copy strong { display:block; margin:0 0 4px; color:#fff; font-size:15px; font-weight:700; }
.profileGuestGate-copy p { margin:0; color:#c9cdd2; font-size:13px; line-height:1.55; }
.profileGuestGate-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.profileGuestGate .button--primary { width:auto; min-width:118px; padding:0 16px; text-decoration:none; }
.profileGuestGate-register { min-height:36px; padding:0 14px; font-size:13px; }
.profileGuestGate.is-pulse .blockMessage { box-shadow: 0 0 0 2px rgba(115, 189, 247, 0.45); }

.profileTab.is-active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  background: var(--profile-accent);
}

.profileLayout {
  display: grid;
  min-width: 0;
  margin-top: 12px;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 12px;
}

.profileBlock-header {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--profile-border);
  background: #42474e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.profileBlock-body {
  padding: 14px;
}

.profileActivity {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
}

.profileActivity + .profileActivity {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profileActivity-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 3px;
  background: var(--avatar-bg, #303944);
  color: var(--avatar-fg, #c8d2dc);
  font-size: 21px;
}

.profileActivity-title {
  display: block;
  color: #79bdf3;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.profileActivity-title:hover {
  color: #aad9fb;
}

.profileActivity-text {
  margin: 4px 0 0;
  color: #e5e7e9;
  font-size: 13px;
  line-height: 1.5;
}

.profileActivity-meta,
.profilePrivacy {
  color: var(--profile-muted);
  font-size: 12px;
}

.profileActivity-meta {
  margin-top: 6px;
}

.profilePrivacy {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
}

.profileStats {
  margin: 0;
}

.profileStats-row {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--profile-muted);
  font-size: 13px;
}

.profileStats-row + .profileStats-row {
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.profileStats dt,
.profileStats dd {
  margin: 0;
}

.profileStats dd {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

/* Reputation value on the profile matches the green number shown in threads. */
.profileStats dd.profileRep {
  color: #8bc34a;
  font-weight: 700;
}

.profileAboutText {
  margin: 0;
  color: #d7dadd;
  font-size: 13px;
  line-height: 1.55;
}

.profilePanel[hidden] {
  display: none;
}

.profileFooter {
  margin-top: 24px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #969ca4;
  font-size: 12px;
  text-align: center;
}

@media (min-width: 1201px) {
  .template-member-view .p-nav-list > li:not(.p-navEl--logo):not(.p-navEl--headerAd) {
    display: none;
  }

  .template-member-view .p-navEl--headerAd {
    display: flex;
    min-width: 0;
    margin-left: clamp(45px, 19vw, 250px);
    align-items: center;
  }

  .template-member-view .p-navEl--headerAd a {
    display: inline-flex;
    max-width: 350px;
    overflow: hidden;
    align-items: center;
    gap: 5px;
    color: #c4c8ce;
    font-size: 12px;
    font-weight: 600;
    line-height: var(--profile-header-height);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .template-member-view .p-navEl-headerAdLead {
    color: #9ccc65;
  }

  .template-member-view .p-navEl-headerAdDivider {
    color: #788173;
  }
}

@media (max-width: 900px) {
  .profileShell {
    width: calc(100% - 20px);
    padding-top: 12px;
  }

  .profileLayout {
    grid-template-columns: minmax(0, 1fr);
  }

  .memberHeader-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .memberHeader-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .memberHeader-cover {
    height: 76px;
  }

  .memberHeader-body {
    min-height: 0;
    padding: 48px 12px 14px;
  }

  .profileAvatar {
    top: -48px;
    left: 12px;
    width: 82px;
    height: 82px;
    font-size: 42px;
  }

  .memberHeader-name {
    font-size: 22px;
  }

  .profileTab {
    min-height: 40px;
    padding-inline: 12px;
  }
}


/* Winter/Verified patch (20260920-8) */
.memberBanner.memberBanner--green { border-color:rgba(46,125,50,0.68); background:#2e7d32; }
.vendor-badge, .verified-badge { display:none; }
.profileStats .postbitTelegram,.memberHeader-meta .telegramSupportLink{font-size:16px}
