/* Profile page dark theme: keep content readable while preserving the BRGOL green accents. */
body.theme-black .brgol-profile-page {
  color: #e7f0fa;
  background: #091a2a;
  border-color: #294b68;
}

body.theme-black .profile-brgol-side,
body.theme-black .profile-brgol-main,
body.theme-black .profile-mini-panel {
  color: #e7f0fa;
  background: linear-gradient(155deg, #142f49, #10263c 72%);
  border-color: #315675;
  box-shadow: inset 0 1px #ffffff0d, 0 4px 14px #00000020;
}

body.theme-black .profile-team-card {
  color: #f2f7fc;
  background: linear-gradient(145deg, #173b5c, #102943);
  border: 1px solid #356184;
  border-radius: 9px;
  padding: 10px;
}

body.theme-black .profile-team-card span,
body.theme-black .profile-stat-grid strong,
body.theme-black .profile-active-list span,
body.theme-black .profile-skill-list span {
  color: #62dc8b;
}

body.theme-black .profile-stat-grid b,
body.theme-black .profile-records article {
  color: #d7e6f3;
  background: #102a42;
  border: 1px solid #315675;
}

body.theme-black .profile-records {
  overflow: hidden;
  background: #102a42;
  border: 1px solid #315675;
  border-radius: 9px;
}

body.theme-black .profile-records h3,
body.theme-black .profile-mini-panel h3,
body.theme-black .profile-post-heading h3 {
  color: #f0f6fc;
}

body.theme-black .profile-records article strong,
body.theme-black .profile-active-list article,
body.theme-black .profile-skill-list article,
body.theme-black .profile-history-panel article {
  color: #dce9f5;
}

body.theme-black .profile-records article b {
  color: #fff;
  background: #138e50;
}

body.theme-black .profile-main-head {
  border-color: #315675;
}

body.theme-black .brgol-avatar-frame {
  background-color: #0c2033;
  border: 1px solid #416381;
  box-shadow: 0 8px 24px #00000040;
  filter: brightness(1.4) contrast(1.03);
}

body.theme-black .profile-avatar-stack {
  z-index: 1;
}

body.theme-black .avatar-edit-trigger {
  z-index: 5;
}

body.theme-black .profile-player-core h2 {
  color: #f3f7fc;
  text-shadow: 0 2px 8px #0008;
}

body.theme-black .profile-level-line,
body.theme-black .profile-team-line,
body.theme-black .profile-level-line strong,
body.theme-black .profile-team-line span {
  color: #dce9f5;
}

body.theme-black .profile-view-count,
body.theme-black .profile-history-panel article span,
body.theme-black .profile-history-panel p {
  color: #a9c2d6;
}

body.theme-black .profile-post-box {
  color: #e4eef8;
  background: #102a42;
  border-color: #315675;
}

body.theme-black .profile-post-text {
  color: #e4eef8;
}

body.theme-black .profile-post-box textarea,
body.theme-black .profile-post-box input[type="file"] {
  color: #e4eef8;
  background: #0a2034;
  border: 1px solid #416381;
  border-radius: 7px;
}

body.theme-black .profile-active-list article,
body.theme-black .profile-skill-list article,
body.theme-black .profile-history-panel article {
  border-bottom-color: #2b4c67;
}

body.theme-black .profile-brgol-actions button:disabled {
  color: #b6c7d5;
  background: #38566b;
  box-shadow: none;
}

@media (max-width: 700px) {
  body.theme-black .profile-brgol-side,
  body.theme-black .profile-brgol-main {
    padding: 10px;
  }
}
