/* GreenTV member profile shell — cover hero + nav polish */

/* In-shell tab loading — swap pane without jumping to page top. */
.gtv-profile-pane-loading {
  opacity: 0.55;
  pointer-events: none;
  min-height: 120px;
  transition: opacity 0.15s ease;
}

.gtv-profile-nav-loading {
  opacity: 0.82;
  pointer-events: none;
}

/* Member area: hide primary site header, keep Latest marquee sub-header. */
.gtv-profile-shell .site-header .nav-main,
.gtv-members-directory-shell .site-header .nav-main {
  display: none !important;
}

.gtv-profile-shell .site-header .nav-sub,
.gtv-members-directory-shell .site-header .nav-sub {
  border-top: none;
}

.gtv-profile-shell .site-header,
.gtv-members-directory-shell .site-header {
  border-bottom: 1px solid rgba(197, 164, 110, 0.25);
}

.gtv-rewards-token {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.gtv-profile-shell #buddypress #item-header,
.gtv-profile-shell #buddypress #cover-image-container,
.gtv-profile-shell #buddypress #item-header-cover-image {
  display: none !important;
}

.gtv-profile-shell .gtv-mp-tab-head {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 177, 64, 0.25);
}

.gtv-profile-shell .gtv-mp-tab-head h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: #c5a46e;
}

.gtv-profile-shell .gtv-mp-tab-head .gtv-mp-muted {
  margin: 0;
  font-size: 14px;
  color: rgba(232, 255, 240, 0.72);
}

.gtv-profile-shell #buddypress #item-body > h2.bp-screen-title {
  display: none !important;
}

/* Primary member tabs (BP Nouveau uses #object-nav; legacy uses #item-nav). */
.gtv-profile-shell #buddypress #object-nav,
.gtv-profile-shell #buddypress #item-nav {
  margin: 0 0 18px;
  background: rgba(16, 31, 24, 0.95);
  border: 1px solid rgba(197, 164, 110, 0.35);
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.gtv-profile-shell #buddypress #object-nav.gtv-profile-nav-split {
  padding: 0;
}

.gtv-profile-nav-rows {
  display: flex;
  flex-direction: column;
}

.gtv-profile-shell #buddypress .gtv-profile-nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 6px 10px;
}

.gtv-profile-shell #buddypress .gtv-profile-nav-row--core {
  border-bottom: 1px solid rgba(0, 177, 64, 0.28);
}

.gtv-profile-shell #buddypress .gtv-profile-nav-row--actions {
  background: rgba(10, 22, 17, 0.72);
  border-radius: 0 0 9px 9px;
}

.gtv-profile-shell.gtv-profile-has-subnav #buddypress #object-nav.gtv-profile-nav-split .gtv-profile-nav-row--actions {
  border-radius: 0;
}

/* Core BP screens: attach secondary subnav to the primary tab bar. */
.gtv-profile-shell.gtv-profile-has-subnav #buddypress #object-nav,
.gtv-profile-shell.gtv-profile-has-subnav #buddypress #item-nav {
  margin-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.gtv-profile-shell.gtv-profile-has-subnav #buddypress #item-body > nav#subnav {
  display: block !important;
  margin: 0 0 18px;
  padding: 4px 10px 8px;
  background: rgba(12, 26, 20, 0.96);
  border: 1px solid rgba(197, 164, 110, 0.35);
  border-top: 1px solid rgba(0, 177, 64, 0.28);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* GreenTV custom tabs: no secondary subnav row. */
.gtv-profile-shell:not(.gtv-profile-has-subnav) #buddypress #item-body > nav#subnav {
  display: none !important;
}

.gtv-profile-shell #buddypress #object-nav a,
.gtv-profile-shell #buddypress #item-nav ul li a,
.gtv-profile-shell #buddypress #subnav a {
  color: #e8fff0 !important;
  border-radius: 6px;
  padding: 8px 12px !important;
  font-weight: 600;
}

.gtv-profile-shell #buddypress #object-nav .selected a,
.gtv-profile-shell #buddypress #object-nav .current a,
.gtv-profile-shell #buddypress #item-nav ul li.selected a,
.gtv-profile-shell #buddypress #item-nav ul li.current a,
.gtv-profile-shell #buddypress #subnav li.selected a,
.gtv-profile-shell #buddypress #subnav li.current a,
body.gtv-profile-shell #buddypress .buddypress-wrap .main-navs:not(.dir-navs) li.selected a,
body.gtv-profile-shell #buddypress .buddypress-wrap .main-navs:not(.dir-navs) li.current a,
body.gtv-profile-shell #buddypress .buddypress-wrap .bp-subnavs li.selected a,
body.gtv-profile-shell #buddypress .buddypress-wrap .bp-subnavs li.current a {
  background: rgba(0, 177, 64, 0.28) !important;
  color: #c5a46e !important;
}

.gtv-profile-shell #buddypress #object-nav li:not(.selected):not(.current) a:hover,
.gtv-profile-shell #buddypress #object-nav li:not(.selected):not(.current) a:focus,
.gtv-profile-shell #buddypress #item-nav li:not(.selected):not(.current) a:hover,
.gtv-profile-shell #buddypress #item-nav li:not(.selected):not(.current) a:focus,
.gtv-profile-shell #buddypress #subnav li:not(.selected):not(.current) a:hover,
.gtv-profile-shell #buddypress #subnav li:not(.selected):not(.current) a:focus,
body.gtv-profile-shell #buddypress .buddypress-wrap .bp-navs li:not(.selected):not(.current) a:hover,
body.gtv-profile-shell #buddypress .buddypress-wrap .bp-navs li:not(.selected):not(.current) a:focus {
  background: rgba(0, 177, 64, 0.22) !important;
  color: #fff8ea !important;
}

.gtv-profile-shell #buddypress #object-nav .selected a:hover,
.gtv-profile-shell #buddypress #object-nav .current a:hover,
.gtv-profile-shell #buddypress #item-nav li.selected a:hover,
.gtv-profile-shell #buddypress #item-nav li.current a:hover,
.gtv-profile-shell #buddypress #subnav li.selected a:hover,
.gtv-profile-shell #buddypress #subnav li.current a:hover,
body.gtv-profile-shell #buddypress .buddypress-wrap .bp-navs li.selected a:hover,
body.gtv-profile-shell #buddypress .buddypress-wrap .bp-navs li.current a:hover {
  background: rgba(0, 177, 64, 0.38) !important;
  color: #fff8ea !important;
}

.gtv-profile-hero {
  position: relative;
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(135deg, #0d3a1e 0%, #06150d 55%, #102a1f 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(197, 164, 110, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.gtv-profile-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 17, 11, 0.15) 0%, rgba(4, 17, 11, 0.82) 78%);
}

.gtv-profile-hero__edit-cover {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(197, 164, 110, 0.45);
  background: rgba(7, 18, 14, 0.88);
  color: #fff8ea !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.gtv-profile-hero__edit-cover:hover {
  background: rgba(0, 177, 64, 0.28);
  border-color: rgba(0, 255, 107, 0.45);
  color: #fff !important;
}

.gtv-profile-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 110px 22px 18px;
}

.gtv-profile-hero__avatar {
  position: relative;
  flex: 0 0 auto;
  margin-bottom: -8px;
}

.gtv-profile-hero__avatar img.avatar {
  border: 4px solid #c5a46e !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  background: #06150d;
}

.gtv-profile-hero__edit-avatar {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(197, 164, 110, 0.5);
  background: rgba(7, 18, 14, 0.92);
  color: #c5a46e !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.gtv-profile-hero__edit-avatar:hover {
  background: rgba(0, 177, 64, 0.35);
  color: #fff !important;
}

.gtv-profile-hero__name {
  margin: 0 0 4px;
  font-size: 1.65rem;
  line-height: 1.15;
  color: #fff8ea;
  font-weight: 700;
}

.gtv-profile-hero__username,
.gtv-profile-hero__since {
  color: rgba(232, 255, 240, 0.78);
  font-size: 0.92rem;
}

.gtv-profile-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.gtv-profile-stat {
  text-align: center;
  background: rgba(7, 18, 14, 0.82);
  border: 1px solid rgba(0, 177, 64, 0.35);
  border-radius: 8px;
  padding: 10px 8px;
}

.gtv-profile-stat .n {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #c5a46e;
  line-height: 1.2;
}

.gtv-profile-stat .l {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(232, 255, 240, 0.68);
}

.gtv-profile-stat--token .gtv-rewards-token--rank,
.gtv-profile-stat--token .gtv-rewards-token--stat {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 4px;
}

.gtv-profile-overview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gtv-profile-card {
  background: rgba(16, 31, 24, 0.92);
  border: 1px solid rgba(0, 177, 64, 0.35);
  border-radius: 10px;
  padding: 16px 18px;
}

.gtv-profile-card--full {
  grid-column: 1 / -1;
}

.gtv-profile-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #c5a46e;
}

.gtv-profile-rank-showcase {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gtv-profile-rank-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff8ea;
}

.gtv-rewards-token--lg {
  width: 88px;
  height: 88px;
}

.gtv-profile-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gtv-profile-quick-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(197, 164, 110, 0.4);
  background: rgba(7, 18, 14, 0.75);
  color: #fff8ea !important;
}

.gtv-profile-quick-link:hover {
  color: #c5a46e !important;
  border-color: #c5a46e;
}

.gtv-profile-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gtv-profile-badge-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(7, 18, 14, 0.85);
  border: 1px solid rgba(197, 164, 110, 0.35);
  font-size: 0.82rem;
  color: #e8fff0;
}

/* Members directory cards */
.gtv-members-directory-shell #buddypress ul#members-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gtv-members-directory-shell #buddypress ul#members-list li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px !important;
  border-radius: 10px;
  background: rgba(16, 31, 24, 0.92);
  border: 1px solid rgba(0, 177, 64, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.gtv-members-directory-shell #buddypress ul#members-list .item-avatar img {
  border: 2px solid #c5a46e;
  border-radius: 50%;
}

/* Member shell — forms, notices, BP screens on dark theme */
.gtv-profile-shell #buddypress #item-body {
  color: #e8fff0;
}

.gtv-profile-shell #buddypress #item-body label,
.gtv-profile-shell #buddypress #item-body .label,
.gtv-profile-shell #buddypress #item-body legend {
  color: #c5a46e !important;
}

.gtv-profile-shell #buddypress #item-body input[type="text"],
.gtv-profile-shell #buddypress #item-body input[type="url"],
.gtv-profile-shell #buddypress #item-body input[type="email"],
.gtv-profile-shell #buddypress #item-body input[type="number"],
.gtv-profile-shell #buddypress #item-body input[type="password"],
.gtv-profile-shell #buddypress #item-body input[type="search"],
.gtv-profile-shell #buddypress #item-body input[type="tel"],
.gtv-profile-shell #buddypress #item-body input[type="date"],
.gtv-profile-shell #buddypress #item-body textarea,
.gtv-profile-shell #buddypress #item-body select,
.gtv-profile-shell #buddypress #item-body .standard-form textarea,
.gtv-profile-shell #buddypress #item-body .standard-form select,
.gtv-profile-shell #buddypress #item-body .standard-form input[type="text"],
.gtv-profile-shell #buddypress #item-body .standard-form input[type="url"],
.gtv-profile-shell #buddypress #item-body .standard-form input[type="email"],
.gtv-profile-shell #buddypress #item-body .standard-form input[type="password"] {
  background: #f5fff8 !important;
  color: #04110b !important;
  border: 1px solid rgba(0, 177, 64, 0.45) !important;
  border-radius: 6px !important;
}

.gtv-profile-shell #buddypress #item-body input::placeholder,
.gtv-profile-shell #buddypress #item-body textarea::placeholder {
  color: rgba(13, 58, 30, 0.55) !important;
  opacity: 1 !important;
}

.gtv-profile-shell #buddypress #item-body input:focus,
.gtv-profile-shell #buddypress #item-body textarea:focus,
.gtv-profile-shell #buddypress #item-body select:focus {
  outline: 2px solid rgba(0, 177, 64, 0.45) !important;
  border-color: #00b140 !important;
  box-shadow: 0 0 0 2px rgba(0, 177, 64, 0.18) !important;
}

.gtv-profile-shell #buddypress #item-body .bp-feedback,
.gtv-profile-shell #buddypress #item-body .bp-messages {
  background: rgba(13, 111, 56, 0.38) !important;
  border: 1px solid rgba(0, 177, 64, 0.45) !important;
  color: #e8fff0 !important;
  border-radius: 8px !important;
}

.gtv-profile-shell #buddypress #item-body .bp-feedback p,
.gtv-profile-shell #buddypress #item-body .bp-feedback span,
.gtv-profile-shell #buddypress #item-body .bp-messages p {
  color: #e8fff0 !important;
}

.gtv-profile-shell #buddypress #item-body .bp-feedback.error,
.gtv-profile-shell #buddypress #item-body .bp-feedback.err {
  background: rgba(90, 28, 28, 0.55) !important;
  border-color: rgba(220, 100, 100, 0.5) !important;
  color: #ffe8e8 !important;
}

.gtv-profile-shell #buddypress #item-body .bp-feedback.success,
.gtv-profile-shell #buddypress #item-body .bp-feedback.updated {
  background: rgba(13, 111, 56, 0.42) !important;
  border-color: rgba(0, 177, 64, 0.55) !important;
}

.gtv-profile-shell #buddypress #item-body .bp-feedback.loading {
  background: rgba(16, 31, 24, 0.92) !important;
  border-color: rgba(197, 164, 110, 0.35) !important;
}

.gtv-profile-shell #buddypress #item-body .standard-form,
.gtv-profile-shell #buddypress #item-body .profile-edit-form,
.gtv-profile-shell #buddypress #item-body .settings-screen {
  background: rgba(16, 31, 24, 0.92);
  border: 1px solid rgba(0, 177, 64, 0.35);
  border-radius: 10px;
  padding: 16px 18px;
}

.gtv-profile-shell #buddypress #item-body .standard-form p,
.gtv-profile-shell #buddypress #item-body .standard-form li,
.gtv-profile-shell #buddypress #item-body .standard-form .description,
.gtv-profile-shell #buddypress #item-body .profile-field-modified {
  color: rgba(232, 255, 240, 0.78) !important;
}

/* Profile edit — dark field sections */
.gtv-profile-shell #buddypress #item-body #profile-edit-form.profile-edit,
.gtv-profile-shell #buddypress #item-body form.profile-edit.standard-form {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
  padding: 16px 18px !important;
}

body.gtv-profile-shell #buddypress .buddypress-wrap .profile.edit .editfield,
.gtv-profile-shell #buddypress #item-body form.profile-edit .editfield,
.gtv-profile-shell #buddypress #item-body .profile.edit .editfield {
  background: rgba(7, 18, 14, 0.9) !important;
  border: 1px solid rgba(0, 177, 64, 0.32) !important;
  border-radius: 10px !important;
  margin: 14px 0 !important;
  padding: 14px 16px !important;
}

.gtv-profile-shell #buddypress #item-body .profile.edit .editfield fieldset,
.gtv-profile-shell #buddypress #item-body form.profile-edit .editfield fieldset {
  background: transparent !important;
  border: none !important;
}

.gtv-profile-shell #buddypress #item-body .profile-group-title.edit,
.gtv-profile-shell #buddypress #item-body .screen-heading.edit-profile-screen,
.gtv-profile-shell #buddypress #item-body .screen-heading.profile-settings-screen {
  color: #c5a46e !important;
}

.gtv-profile-shell #buddypress #item-body .profile.edit .editfield .description,
.gtv-profile-shell #buddypress #item-body .profile.edit label.xprofile-field-label {
  color: rgba(232, 255, 240, 0.78) !important;
}

/* Profile edit — overview quick links */
.gtv-mp-overview-edit {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 177, 64, 0.28);
  background: rgba(7, 18, 14, 0.9) !important;
  border: 1px solid rgba(0, 177, 64, 0.32) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
}

.gtv-mp-overview-edit-link {
  margin: 10px 0 0;
}

.gtv-mp-overview-edit-link a {
  color: #c5a46e !important;
  font-weight: 600;
}

.gtv-mp-overview-edit__help {
  margin: 0 0 12px;
  color: rgba(232, 255, 240, 0.72) !important;
  font-size: 0.9rem;
}

.gtv-mp-quick-link-editor {
  display: grid;
  gap: 10px;
}

.gtv-mp-quick-link-row {
  display: grid;
  grid-template-columns: auto 1fr 1.4fr;
  gap: 10px;
  align-items: center;
}

.gtv-mp-quick-link-row__show {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e8fff0 !important;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Profile visibility settings + field visibility toggles */
.gtv-profile-shell #buddypress #item-body .bp-help-text,
.gtv-profile-shell #buddypress #item-body .profile-visibility-info,
.gtv-profile-shell #buddypress #item-body .field-visibility-settings-toggle,
.gtv-profile-shell #buddypress #item-body .field-visibility-settings-notoggle,
.gtv-profile-shell #buddypress #item-body .field-visibility-settings-header,
.gtv-profile-shell #buddypress #item-body .field-visibility-settings legend {
  color: #e8fff0 !important;
}

.gtv-profile-shell #buddypress #item-body .field-visibility-settings {
  background: rgba(7, 18, 14, 0.88) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 8px !important;
  padding: 12px !important;
}

.gtv-profile-shell #buddypress #item-body .visibility-toggle-link,
.gtv-profile-shell #buddypress #item-body .field-visibility-settings-close {
  color: #c5a46e !important;
  background: transparent !important;
  border: 1px solid rgba(197, 164, 110, 0.4) !important;
  border-radius: 6px !important;
}

.gtv-profile-shell #buddypress #item-body .visibility-toggle-link:hover,
.gtv-profile-shell #buddypress #item-body .field-visibility-settings-close:hover {
  background: rgba(0, 177, 64, 0.18) !important;
  color: #fff8ea !important;
}

.gtv-profile-shell #buddypress #item-body #settings-form.standard-form {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
  padding: 16px 18px !important;
}

.gtv-profile-shell #buddypress #item-body table.profile-settings,
.gtv-profile-shell #buddypress #item-body .bp-tables-user.profile-settings {
  width: 100%;
  border-collapse: collapse;
  background: rgba(7, 18, 14, 0.9) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px !important;
}

.gtv-profile-shell #buddypress #item-body table.profile-settings th,
.gtv-profile-shell #buddypress #item-body table.profile-settings td,
.gtv-profile-shell #buddypress #item-body .bp-tables-user.profile-settings th,
.gtv-profile-shell #buddypress #item-body .bp-tables-user.profile-settings td {
  color: #e8fff0 !important;
  background: rgba(7, 18, 14, 0.82) !important;
  border-bottom: 1px solid rgba(0, 177, 64, 0.22) !important;
  padding: 12px 14px !important;
  vertical-align: middle;
}

.gtv-profile-shell #buddypress #item-body table.profile-settings thead th,
.gtv-profile-shell #buddypress #item-body .bp-tables-user.profile-settings thead th {
  color: #c5a46e !important;
  font-weight: 700;
  background: rgba(16, 31, 24, 0.98) !important;
}

body.gtv-profile-shell #buddypress .buddypress-wrap #item-body table.profile-settings tbody tr,
body.gtv-profile-shell #buddypress .buddypress-wrap #item-body .bp-tables-user.profile-settings tbody tr,
body.gtv-profile-shell #buddypress .buddypress-wrap #item-body table.gtv-mp-privacy-settings__table tbody tr {
  background: rgba(7, 18, 14, 0.82) !important;
}

body.gtv-profile-shell #buddypress .buddypress-wrap #item-body table.profile-settings tbody tr:hover,
body.gtv-profile-shell #buddypress .buddypress-wrap #item-body table.profile-settings tbody tr:hover td,
body.gtv-profile-shell #buddypress .buddypress-wrap #item-body .bp-tables-user.profile-settings tbody tr:hover,
body.gtv-profile-shell #buddypress .buddypress-wrap #item-body .bp-tables-user.profile-settings tbody tr:hover td,
body.gtv-profile-shell #buddypress .buddypress-wrap #item-body table.gtv-mp-privacy-settings__table tbody tr:hover,
body.gtv-profile-shell #buddypress .buddypress-wrap #item-body table.gtv-mp-privacy-settings__table tbody tr:hover td {
  background: rgba(0, 177, 64, 0.22) !important;
  color: #fff8ea !important;
}

.gtv-profile-shell #buddypress #item-body select.bp-xprofile-visibility,
.gtv-profile-shell #buddypress #item-body .field-visibility select {
  background: #f5fff8 !important;
  color: #04110b !important;
  border: 1px solid rgba(0, 177, 64, 0.45) !important;
  border-radius: 6px !important;
  min-width: 160px;
  padding: 6px 10px !important;
}

.gtv-profile-shell #buddypress #item-body .field-visibility-settings-notoggle .current-visibility-level,
.gtv-profile-shell #buddypress #item-body .field-visibility-settings-toggle .current-visibility-level {
  color: #c5a46e !important;
}

/* Activity stream — override BP Nouveau light gray/white defaults */
.gtv-profile-shell #buddypress #item-body #activity-stream,
.gtv-profile-shell #buddypress #item-body .activity.single-user,
.gtv-profile-shell #buddypress #item-body .activity-list.bp-list {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Trim only BP's extra list wrapper padding (keeps card layout intact). */
.gtv-profile-shell #buddypress #item-body .activity-list,
.gtv-profile-shell #buddypress #item-body .activity-list.bp-list {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media screen and (min-width: 46.8em) {
  .gtv-profile-shell #buddypress #item-body .activity-list.bp-list {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-item,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-item,
.gtv-profile-shell #buddypress #item-body .activity-list > li {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  color: #e8fff0 !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-header,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-header p {
  color: #e8fff0 !important;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-header a,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-content a {
  color: #c5a46e !important;
}

body.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-item,
body.gtv-profile-shell #buddypress #item-body .activity-list.bp-list > li.activity-item {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-item,
.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-item {
  display: flex !important;
  align-items: stretch !important;
  gap: 20px !important;
  padding: 14px 16px !important;
  overflow: visible !important;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-avatar,
.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-avatar {
  flex: 0 0 auto;
  float: none !important;
  width: var(--gtv-activity-avatar-size, 148px) !important;
  min-width: var(--gtv-activity-avatar-size, 148px) !important;
  max-width: var(--gtv-activity-avatar-size, 148px) !important;
  height: var(--gtv-activity-avatar-size, 148px) !important;
  margin: 0 !important;
  position: relative;
  z-index: 3;
  display: block;
  align-self: stretch;
  overflow: hidden;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-avatar a,
.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-avatar a {
  display: block;
  width: 100% !important;
  height: 100% !important;
  line-height: 0;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-avatar img.avatar,
.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-avatar img.avatar,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-avatar img.gtv-activity-avatar-img,
.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-avatar img.gtv-activity-avatar-img {
  position: relative;
  z-index: 3;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  border: 3px solid #c5a46e !important;
  border-radius: 10px !important;
  background: #06150d !important;
  object-fit: cover !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

/* Privacy settings — broadcast section on profile visibility page */
.gtv-mp-privacy-settings {
  margin: 20px 0 8px;
  padding: 16px 18px;
  background: rgba(7, 18, 14, 0.9) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
}

.gtv-mp-privacy-settings__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #c5a46e !important;
}

.gtv-mp-privacy-settings__help {
  margin: 0 0 14px;
  color: rgba(232, 255, 240, 0.72) !important;
  font-size: 0.9rem;
}

.gtv-mp-privacy-row__help {
  margin: 6px 0 0;
  font-size: 0.82rem;
}

.gtv-mp-privacy-settings__rank-help {
  padding: 10px 12px;
  border-left: 3px solid rgba(0, 177, 64, 0.55);
  background: rgba(7, 18, 14, 0.55);
  border-radius: 0 8px 8px 0;
}

/* new_avatar activity cards — large visual profile photo */
.gtv-profile-shell #buddypress #item-body .bp-member-avatar-content {
  width: 152px;
  margin: 0 auto 10px;
}

.gtv-profile-shell #buddypress #item-body .bp-member-avatar-content.has-cover-image {
  width: 168px;
  margin-top: -88px;
}

.gtv-profile-shell #buddypress #item-body .bp-member-avatar-content img.profile-photo,
.gtv-profile-shell #buddypress #item-body .bp-member-avatar-content img.group-photo {
  width: 140px !important;
  height: 140px !important;
  max-width: none !important;
  border: 4px solid #c5a46e !important;
  border-radius: 12px !important;
  background: #06150d !important;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.gtv-profile-shell #buddypress #item-body .bp-member-short-description-title a,
.gtv-profile-shell #buddypress #item-body .bp-member-nickname a {
  color: #c5a46e !important;
}

.gtv-profile-shell #buddypress #item-body .bp-profile-button a.button,
.gtv-profile-shell #buddypress #item-body .bp-profile-button .button-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #00b140, #c5a46e) !important;
  border: none !important;
  color: #04110b !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.gtv-profile-shell #buddypress #item-body .bp-profile-button a.button:hover,
.gtv-profile-shell #buddypress #item-body .bp-profile-button a.button:focus,
.gtv-profile-shell #buddypress #item-body .bp-profile-button .button-primary:hover,
.gtv-profile-shell #buddypress #item-body .bp-profile-button .button-primary:focus {
  background: linear-gradient(90deg, #00c950, #d4b57e) !important;
  border: none !important;
  color: #04110b !important;
  transform: translateY(-1px);
}

body.gtv-profile-shell #buddypress #item-body .activity-list .activity-item .activity-content,
body.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-item .activity-content,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-content {
  flex: 1 1 auto;
  min-width: 0;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #e8fff0 !important;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-inner,
.gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-inner {
  background: rgba(7, 18, 14, 0.82) !important;
  border: 1px solid rgba(0, 177, 64, 0.22) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-inner,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-inner p,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-content blockquote,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-content .activity-inner * {
  color: #e8fff0 !important;
}

.gtv-profile-shell #buddypress #item-body .activity-list .activity-header .time-since,
.gtv-profile-shell #buddypress #item-body .activity-list .activity-header .time-since a {
  color: rgba(232, 255, 240, 0.62) !important;
}

.gtv-profile-shell #buddypress #item-body .activity-list .load-more,
.gtv-profile-shell #buddypress #item-body .activity-list .load-newest,
.gtv-profile-shell #buddypress #item-body .activity-list .load-more a,
.gtv-profile-shell #buddypress #item-body .activity-list .load-newest a {
  background: rgba(7, 18, 14, 0.85) !important;
  border: 1px solid rgba(197, 164, 110, 0.35) !important;
  color: #c5a46e !important;
  border-radius: 8px !important;
}

.gtv-profile-shell #buddypress #item-body .activity-meta.action,
.gtv-profile-shell #buddypress #item-body .activity-comments .activity-meta.action {
  background: rgba(7, 18, 14, 0.85) !important;
  border: 1px solid rgba(0, 177, 64, 0.3) !important;
  border-radius: 8px !important;
}

.gtv-profile-shell #buddypress #item-body .activity-meta.action .button,
.gtv-profile-shell #buddypress #item-body .activity-meta.action a.button,
.gtv-profile-shell #buddypress #item-body .activity-meta.action .generic-button .button,
.gtv-profile-shell #buddypress #item-body .acomment-reply,
.gtv-profile-shell #buddypress #item-body .fav,
.gtv-profile-shell #buddypress #item-body .unfav {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #c5a46e !important;
  font-weight: 600 !important;
  min-width: 2rem;
  min-height: 2rem;
}

.gtv-profile-shell #buddypress #item-body .activity-meta.action .button::before,
.gtv-profile-shell #buddypress #item-body .activity-meta.action .icons::before {
  color: #00b140 !important;
  font-family: dashicons !important;
}

.gtv-profile-shell #buddypress #item-body .activity-meta.action .button:hover,
.gtv-profile-shell #buddypress #item-body .activity-meta.action .button:focus {
  background: rgba(0, 177, 64, 0.12) !important;
  color: #fff8ea !important;
}

.gtv-profile-shell #buddypress #item-body .activity-comments {
  background: rgba(7, 18, 14, 0.72) !important;
  border-top: 1px solid rgba(0, 177, 64, 0.25) !important;
  border-radius: 0 0 10px 10px !important;
  margin: 10px 0 0 !important;
  padding-top: 10px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gtv-profile-shell #buddypress #item-body .activity-comments > ul,
.gtv-profile-shell #buddypress #item-body .activity-comments li {
  background: transparent !important;
  color: #e8fff0 !important;
}

.gtv-profile-shell #buddypress #item-body .ac-form {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 8px !important;
  padding: 10px !important;
}

.gtv-profile-shell #buddypress #item-body .activity-update-form .activity-form,
.gtv-profile-shell #buddypress #item-body #whats-new-form {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
}

.gtv-profile-shell #buddypress #item-body #subnav-filters,
.gtv-profile-shell #buddypress #item-body .subnav-filters {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
  color: #e8fff0 !important;
  padding: 10px 14px !important;
  margin-bottom: 16px !important;
}

.gtv-profile-shell #buddypress #item-body #subnav-filters .subnav-search,
.gtv-profile-shell #buddypress #item-body .subnav-filters .subnav-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 2px 4px;
}

.gtv-profile-shell #buddypress #item-body #activity-rss-feed a::before {
  color: #c5a46e !important;
}

.gtv-profile-shell #buddypress #item-body #comp-filters,
.gtv-profile-shell #buddypress #item-body .component-filters {
  padding: 2px 4px;
}

.gtv-profile-shell #buddypress #item-body .select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 177, 64, 0.45) !important;
  background: rgba(7, 18, 14, 0.88) !important;
  border-radius: 8px !important;
  padding: 4px 10px 4px 10px !important;
  min-width: 168px;
}

.gtv-profile-shell #buddypress #item-body .select-wrap select {
  background: transparent !important;
  color: #e8fff0 !important;
  border: none !important;
  box-shadow: none !important;
  appearance: auto;
  padding: 4px 0 !important;
}

.gtv-profile-shell #buddypress #item-body .select-wrap .select-arrow {
  display: none !important;
}

/* Amplify — viral share strip */
.gtv-amplify {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gtv-amplify--toolbar {
  flex: 1 1 280px;
  min-width: 0;
  padding: 4px 6px;
  border-left: 1px solid rgba(0, 177, 64, 0.28);
  padding-left: 12px;
}

.gtv-amplify__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5a46e;
  white-space: nowrap;
}

.gtv-amplify__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b140;
  box-shadow: 0 0 0 4px rgba(0, 177, 64, 0.18);
  animation: gtv-amplify-pulse 2s ease-in-out infinite;
}

@keyframes gtv-amplify-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}

.gtv-amplify__icons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gtv-profile-shell #buddypress #item-body .gtv-amplify a.gtv-amplify__btn,
.gtv-profile-shell #buddypress #item-body .gtv-amplify button.gtv-amplify__btn,
.gtv-profile-shell #buddypress .gtv-amplify__btn,
body.gtv-profile-shell #buddypress .gtv-amplify__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(197, 164, 110, 0.35) !important;
  background: rgba(7, 18, 14, 0.9) !important;
  background-color: rgba(7, 18, 14, 0.9) !important;
  box-shadow: none !important;
  color: #e8fff0 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.gtv-profile-shell #buddypress .gtv-amplify__btn:hover,
.gtv-profile-shell #buddypress .gtv-amplify__btn:focus {
  transform: translateY(-1px);
  border-color: #c5a46e !important;
  background: rgba(13, 111, 56, 0.45) !important;
  background-color: rgba(13, 111, 56, 0.45) !important;
  color: #fff8ea !important;
}

.gtv-profile-shell #buddypress .gtv-amplify__btn--pulse {
  border-color: rgba(0, 177, 64, 0.65) !important;
  background: linear-gradient(90deg, rgba(0, 177, 64, 0.35), rgba(197, 164, 110, 0.28)) !important;
  padding: 0 12px;
}

.gtv-amplify__btn--pulse .gtv-amplify__text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gtv-amplify__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15em;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.gtv-amplify__btn--facebook .gtv-amplify__icon {
  font-size: 13px;
  text-transform: lowercase;
}

.gtv-amplify__btn--linkedin .gtv-amplify__icon {
  font-size: 9px;
  letter-spacing: -0.05em;
}

.gtv-amplify__btn--whatsapp .gtv-amplify__icon,
.gtv-amplify__btn--telegram .gtv-amplify__icon,
.gtv-amplify__btn--bluesky .gtv-amplify__icon {
  font-size: 9px;
}

.gtv-amplify__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.gtv-amplify-item-wrap {
  width: 100%;
  margin-top: 8px;
  padding: 8px 0 10px 10px;
  border-top: 1px dashed rgba(0, 177, 64, 0.28);
}

.gtv-amplify-item-wrap .gtv-amplify {
  justify-content: flex-start;
}

.gtv-amplify-item-wrap .gtv-amplify__label {
  font-size: 9px;
}

.gtv-amplify-item-wrap .gtv-amplify__btn {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
}

.gtv-amplify__btn.is-copied {
  border-color: #00b140;
  background: rgba(0, 177, 64, 0.28);
}

.gtv-profile-shell #buddypress #item-body .standard-form .button,
.gtv-profile-shell #buddypress #item-body .standard-form button[type="submit"],
.gtv-profile-shell #buddypress #item-body .standard-form input[type="submit"],
.gtv-profile-shell #buddypress #item-body #aw-whats-new-submit,
.gtv-profile-shell #buddypress #item-body .activity-update-form input[type="submit"] {
  background: linear-gradient(90deg, #00b140, #c5a46e) !important;
  color: #04110b !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}

.gtv-profile-shell #buddypress #item-body .standard-form .button:hover,
.gtv-profile-shell #buddypress #item-body .standard-form button[type="submit"]:hover,
.gtv-profile-shell #buddypress #item-body .standard-form input[type="submit"]:hover,
.gtv-profile-shell #buddypress #item-body #aw-whats-new-submit:hover {
  opacity: 0.92;
}

/* Profile → View — member dossier */
.gtv-profile-shell #buddypress #item-body .profile.public {
  background: transparent !important;
}

.gtv-profile-view-page #buddypress #item-body .screen-heading.view-profile-screen {
  display: none !important;
}

.gtv-profile-view {
  background: linear-gradient(180deg, rgba(7, 18, 14, 0.96) 0%, rgba(12, 26, 20, 0.92) 100%);
  border: 1px solid rgba(0, 177, 64, 0.35);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.gtv-profile-view__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 177, 64, 0.14) 0%, rgba(197, 164, 110, 0.1) 55%, rgba(7, 18, 14, 0.9) 100%);
  border: 1px solid rgba(197, 164, 110, 0.35);
  position: relative;
  overflow: hidden;
}

.gtv-profile-view__header::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00b140, #c5a46e);
}

.gtv-profile-view__eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00b140;
}

.gtv-profile-view__title {
  margin: 0;
  font-size: 1.45rem;
  color: #fff8ea;
  line-height: 1.2;
}

.gtv-profile-view__subtitle {
  margin: 6px 0 0;
  color: rgba(232, 255, 240, 0.72);
  font-size: 0.92rem;
}

.gtv-profile-view__header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.gtv-profile-view__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  background: linear-gradient(90deg, #00b140, #c5a46e);
  color: #04110b !important;
  border: none;
}

.gtv-profile-view__btn--ghost {
  background: rgba(7, 18, 14, 0.88);
  border: 1px solid rgba(197, 164, 110, 0.45);
  color: #fff8ea !important;
}

.gtv-profile-view__btn:hover,
.gtv-profile-view__btn:focus {
  opacity: 0.92;
  transform: translateY(-1px);
}

.gtv-profile-view__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.gtv-profile-view__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(16, 31, 24, 0.92);
  border: 1px solid rgba(0, 177, 64, 0.32);
}

.gtv-profile-view__stat .gtv-rewards-token--stat,
.gtv-profile-view__stat .gtv-rewards-token--rank {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.gtv-profile-view__stat-n {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #c5a46e;
  line-height: 1.2;
}

.gtv-profile-view__stat-l {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(232, 255, 240, 0.65);
}

.gtv-profile-view__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 14px;
}

.gtv-profile-view__card {
  background: rgba(16, 31, 24, 0.92);
  border: 1px solid rgba(0, 177, 64, 0.32);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.gtv-profile-view__card--highlight {
  border-color: rgba(197, 164, 110, 0.4);
  box-shadow: inset 0 0 0 1px rgba(0, 177, 64, 0.12);
}

.gtv-profile-view__card h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 177, 64, 0.22);
  font-size: 1rem;
  color: #c5a46e;
}

.gtv-profile-view__bio {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #e8fff0;
}

.gtv-profile-view__facts {
  margin: 0;
}

.gtv-profile-view__fact {
  display: grid;
  grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);
  gap: 10px 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 177, 64, 0.14);
}

.gtv-profile-view__fact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gtv-profile-view__fact dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(197, 164, 110, 0.9);
}

.gtv-profile-view__fact dd {
  margin: 0;
  color: #e8fff0;
  line-height: 1.5;
  word-break: break-word;
}

.gtv-profile-view__fact dd a {
  color: #c5a46e !important;
}

.gtv-profile-view__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gtv-profile-view__tag,
.gtv-profile-view__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(7, 18, 14, 0.88);
  border: 1px solid rgba(0, 177, 64, 0.35);
  color: #e8fff0;
}

.gtv-profile-view__pill--live {
  border-color: rgba(0, 177, 64, 0.55);
  background: rgba(0, 177, 64, 0.18);
  color: #fff8ea;
}

.gtv-profile-view__progress {
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(7, 18, 14, 0.9);
  border: 1px solid rgba(0, 177, 64, 0.28);
  overflow: hidden;
}

.gtv-profile-view__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00b140, #c5a46e);
}

.gtv-profile-view__progress-meta {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: rgba(232, 255, 240, 0.68);
}

.gtv-profile-view__nav-links {
  display: grid;
  gap: 8px;
}

.gtv-profile-view__nav-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  color: #fff8ea !important;
  background: rgba(7, 18, 14, 0.82);
  border: 1px solid rgba(0, 177, 64, 0.28);
}

.gtv-profile-view__nav-links a:hover {
  border-color: #c5a46e;
  color: #c5a46e !important;
}

.gtv-profile-view__badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.gtv-profile-view__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(7, 18, 14, 0.88);
  border: 1px solid rgba(197, 164, 110, 0.3);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gtv-profile-view__badge:hover {
  transform: translateY(-2px);
  border-color: #c5a46e;
}

.gtv-profile-view__badge strong {
  font-size: 0.82rem;
  color: #fff8ea;
}

.gtv-profile-view__badge span {
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(232, 255, 240, 0.62);
}

.gtv-profile-view__card--milestones {
  margin-top: 4px;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .gtv-profile-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 88px;
  }

  .gtv-profile-overview__grid {
    grid-template-columns: 1fr;
  }

  .gtv-profile-stats {
    grid-template-columns: 1fr;
  }

  .gtv-profile-shell #buddypress #item-body .activity-list .activity-avatar,
  .gtv-profile-shell #buddypress #item-body .activity-list.bp-list .activity-avatar {
    width: var(--gtv-activity-avatar-size, 120px) !important;
    min-width: var(--gtv-activity-avatar-size, 120px) !important;
    max-width: var(--gtv-activity-avatar-size, 120px) !important;
    height: var(--gtv-activity-avatar-size, 120px) !important;
  }

  .gtv-mp-quick-link-row {
    grid-template-columns: 1fr;
  }

  .gtv-profile-shell #buddypress #item-body .bp-member-avatar-content img.profile-photo,
  .gtv-profile-shell #buddypress #item-body .bp-member-avatar-content img.group-photo {
    width: 120px !important;
    height: 120px !important;
  }

  .gtv-profile-view__header {
    flex-direction: column;
  }

  .gtv-profile-view__stats {
    grid-template-columns: 1fr;
  }

  .gtv-profile-view__grid {
    grid-template-columns: 1fr;
  }

  .gtv-profile-view__fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* BuddyPress notifications — inbox (unread) + archive (read) */
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body #notifications-user-list,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .notifications.dir-list {
  background: transparent !important;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body table.notifications.bp-tables-user,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body #notifications-bulk-management {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body table.notifications.bp-tables-user th,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body table.notifications.bp-tables-user td {
  color: #e8fff0 !important;
  background: rgba(7, 18, 14, 0.82) !important;
  border-bottom: 1px solid rgba(0, 177, 64, 0.22) !important;
  padding: 12px 14px !important;
  vertical-align: middle;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body table.notifications.bp-tables-user thead th {
  color: #c5a46e !important;
  background: rgba(16, 31, 24, 0.98) !important;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body table.notifications.bp-tables-user tbody tr:hover,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body table.notifications.bp-tables-user tbody tr:hover td {
  background: rgba(0, 177, 64, 0.22) !important;
  color: #fff8ea !important;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .notification-description,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .notification-description a,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .notification-since,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .notification-actions a {
  color: #e8fff0 !important;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .notification-description a:hover,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .notification-actions a:hover {
  color: #c5a46e !important;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body #subnav-filters,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .subnav-filters {
  background: rgba(16, 31, 24, 0.88) !important;
  border: 1px solid rgba(0, 177, 64, 0.3) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  margin-bottom: 14px !important;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body #notification-bulk-manage,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body #notification-select {
  background: #f5fff8 !important;
  color: #04110b !important;
  border: 1px solid rgba(0, 177, 64, 0.45) !important;
  border-radius: 6px !important;
}

.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .bp-pagination,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .bp-pagination .pag-count,
.gtv-profile-shell.gtv-profile-component-notifications #buddypress #item-body .bp-pagination-links a {
  color: #e8fff0 !important;
}

/* Better Messages — profile inbox (greentvio bp-better-messages) */
.gtv-profile-shell.gtv-profile-component-bp-messages #buddypress #item-body,
.gtv-profile-shell.gtv-profile-component-bp_better_messages_tab #buddypress #item-body,
.gtv-profile-shell.gtv-profile-component-messages #buddypress #item-body {
  background: transparent !important;
}

.gtv-profile-shell.bm-messages-dark #buddypress #item-body .bp-messages-wrap,
.gtv-profile-shell.bm-messages-dark #buddypress #item-body .bp-messages-wrap-main,
.gtv-profile-shell.bm-messages-dark #buddypress #item-body .bp-messages-single-thread-wrap,
.gtv-profile-shell.bm-messages-dark #buddypress #item-body .bp-better-messages-list {
  background: rgba(8, 18, 14, 0.96) !important;
}

.gtv-profile-shell #buddypress #item-body .bp-messages-wrap-main,
.gtv-profile-shell #buddypress #item-body .bp-messages-single-thread-wrap {
  border-radius: 10px !important;
  overflow: hidden;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
}

.gtv-profile-shell.bm-messages-dark #buddypress #item-body .bp-messages-wrap .chat-header,
.gtv-profile-shell.bm-messages-dark #buddypress #item-body .bp-messages-wrap .threads-list,
.gtv-profile-shell.bm-messages-dark #buddypress #item-body .bp-messages-wrap .bm-messages-list,
.gtv-profile-shell.bm-messages-dark #buddypress #item-body .bp-messages-wrap .bm-reply {
  background: transparent !important;
}

.gtv-profile-shell #buddypress #object-nav a .count,
.gtv-profile-shell #buddypress #object-nav a .bp-better-messages-unread {
  background: #00b140 !important;
  color: #04110b !important;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Friends — my friends, requests, friendship actions */
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .members.friends,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body [data-bp-list="friendship_requests"] {
  background: transparent !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body #members-list,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body #friend-list,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body ul.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body #members-list > li,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body #friend-list > li,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body ul.item-list > li {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  color: #e8fff0 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body #members-list > li:hover,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body #friend-list > li:hover,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body ul.item-list > li:hover {
  background: rgba(0, 177, 64, 0.18) !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .item-title a,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .list-title a,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .item-meta,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .activity {
  color: #e8fff0 !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .item-title a:hover,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .list-title a:hover {
  color: #c5a46e !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .item-avatar img,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .item-avatar img.avatar {
  border-radius: 8px !important;
  border: 2px solid rgba(197, 164, 110, 0.55) !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .friendship-button,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .generic-button a,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .button {
  background: rgba(0, 177, 64, 0.22) !important;
  border: 1px solid rgba(0, 177, 64, 0.5) !important;
  color: #e8fff0 !important;
  border-radius: 6px !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .friendship-button:hover,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .generic-button a:hover,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .button:hover {
  background: rgba(0, 177, 64, 0.38) !important;
  color: #fff8ea !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body h2.screen-heading,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .screen-heading {
  color: #c5a46e !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body #subnav-filters,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .subnav-filters {
  background: rgba(16, 31, 24, 0.88) !important;
  border: 1px solid rgba(0, 177, 64, 0.3) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  margin-bottom: 14px !important;
}

/* Groups — my groups + invites */
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .groups.mygroups,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body [data-bp-list="group_invites"] {
  background: transparent !important;
}

.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body #groups-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body #groups-list > li {
  background: rgba(16, 31, 24, 0.92) !important;
  border: 1px solid rgba(0, 177, 64, 0.35) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  color: #e8fff0 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
}

.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body #groups-list > li:hover {
  background: rgba(0, 177, 64, 0.18) !important;
}

.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .groups-title a,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .item-meta,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .group-details,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .last-activity {
  color: #e8fff0 !important;
}

.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .groups-title a:hover {
  color: #c5a46e !important;
}

.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .item-avatar img,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .item-avatar img.avatar {
  border-radius: 8px !important;
  border: 2px solid rgba(197, 164, 110, 0.55) !important;
}

.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .generic-button a,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .button {
  background: rgba(0, 177, 64, 0.22) !important;
  border: 1px solid rgba(0, 177, 64, 0.5) !important;
  color: #e8fff0 !important;
  border-radius: 6px !important;
}

.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body #subnav-filters,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .subnav-filters {
  background: rgba(16, 31, 24, 0.88) !important;
  border: 1px solid rgba(0, 177, 64, 0.3) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  margin-bottom: 14px !important;
}

.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .bp-pagination,
.gtv-profile-shell.gtv-profile-component-friends #buddypress #item-body .bp-pagination-links a,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .bp-pagination,
.gtv-profile-shell.gtv-profile-component-groups #buddypress #item-body .bp-pagination-links a {
  color: #e8fff0 !important;
}
/* Cover image + avatar change screens (BuddyPress Plupload UI) */
.gtv-profile-shell #buddypress .profile.change-cover-image,
.gtv-profile-shell #buddypress .profile.change-avatar,
.gtv-profile-shell #buddypress #gtv-cover-upload,
.gtv-profile-shell #buddypress #gtv-avatar-upload {
  background: linear-gradient(180deg, rgba(7, 18, 14, 0.96), rgba(10, 22, 17, 0.94));
  border: 1px solid rgba(0, 177, 64, 0.3);
  border-radius: 14px;
  padding: 18px 20px 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  scroll-margin-top: 96px;
}

.gtv-profile-shell #buddypress .gtv-upload-panel-focus {
  outline: 2px solid rgba(0, 255, 107, 0.55);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 177, 64, 0.18), 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: outline-color 0.3s ease, box-shadow 0.3s ease;
}

.gtv-profile-shell #buddypress .screen-heading.change-cover-image-screen,
.gtv-profile-shell #buddypress .screen-heading.change-avatar-screen {
  margin: 0 0 12px;
  color: #c5a46e !important;
  font-size: 1.2rem;
}

.gtv-profile-shell #buddypress .bp-cover-image,
.gtv-profile-shell #buddypress .bp-avatar,
.gtv-profile-shell #buddypress .bp-cover-image-manage,
.gtv-profile-shell #buddypress .bp-avatar-status,
.gtv-profile-shell #buddypress .bp-cover-image-status {
  color: #e8fff0;
}

.gtv-profile-shell #buddypress #bp-upload-ui,
.gtv-profile-shell #buddypress .drag-drop,
.gtv-profile-shell #buddypress #drag-drop-area {
  border: 2px dashed rgba(0, 177, 64, 0.45) !important;
  border-radius: 14px !important;
  background: rgba(5, 14, 10, 0.88) !important;
  color: #e8fff0 !important;
  min-height: 180px;
  padding: 28px 20px !important;
  text-align: center;
}

.gtv-profile-shell #buddypress #drag-drop-area.drag-over,
.gtv-profile-shell #buddypress .drag-drop.drag-over {
  border-color: rgba(0, 255, 107, 0.65) !important;
  background: rgba(0, 177, 64, 0.12) !important;
}

.gtv-profile-shell #buddypress .drag-drop-inside,
.gtv-profile-shell #buddypress .drag-drop-info,
.gtv-profile-shell #buddypress .drag-drop-buttons {
  color: rgba(232, 255, 240, 0.88) !important;
}

.gtv-profile-shell #buddypress .drag-drop-info {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
}

.gtv-profile-shell #buddypress #bp-browse-button,
.gtv-profile-shell #buddypress .bp-cover-image .button,
.gtv-profile-shell #buddypress .bp-avatar .button,
.gtv-profile-shell #buddypress #bp-delete-cover-image,
.gtv-profile-shell #buddypress #bp-delete-avatar,
.gtv-profile-shell #buddypress .bp-cover-image-manage .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 177, 64, 0.4) !important;
  background: linear-gradient(135deg, #1a6b36, #2d9e6b) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.gtv-profile-shell #buddypress #bp-browse-button:hover,
.gtv-profile-shell #buddypress .bp-cover-image .button:hover,
.gtv-profile-shell #buddypress #bp-delete-cover-image:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.gtv-profile-shell #buddypress #bp-delete-cover-image,
.gtv-profile-shell #buddypress #bp-delete-avatar {
  background: rgba(8, 18, 14, 0.95) !important;
  border-color: rgba(197, 164, 110, 0.45) !important;
  color: #fff8ea !important;
  margin-top: 12px;
}

.gtv-profile-shell #buddypress #bp-delete-cover-image-container p,
.gtv-profile-shell #buddypress .bp-cover-image-status p,
.gtv-profile-shell #buddypress .bp-avatar-status p,
.gtv-profile-shell #buddypress #bp-cover-image-feedback {
  color: rgba(232, 255, 240, 0.86) !important;
  background: rgba(0, 177, 64, 0.1);
  border: 1px solid rgba(0, 177, 64, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
}

.gtv-profile-shell #buddypress .bp-uploader-progress,
.gtv-profile-shell #buddypress .bp-progress {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.gtv-profile-shell #buddypress .bp-progress .bp-bar {
  background: linear-gradient(90deg, #00b140, #00ff6b) !important;
  height: 8px;
}
