h2.page-header {
  margin: 10px 0 25px 0;
  padding-bottom: 15px;
}
.user-baseinfo {
  margin-bottom: 25px;
}
.user-baseinfo table tr td {
  color: #999;
}
@media (min-width: 992px) {
  .user-center .avatar-text,
  .user-center .avatar-img {
    height: 150px;
    width: 150px;
    border-radius: 150px;
    line-height: 150px;
    font-size: 70px;
  }
  .user-center .avatar-img {
    font-size: 0;
  }
  .user-center .avatar-img img {
    height: 150px;
    width: 150px;
    border-radius: 150px;
  }
  /* 侧栏加宽，两列子菜单更舒适 */
  .row > .col-md-3:has(#sidebar-nav) {
    width: 360px;
  }
  .row > .col-md-3:has(#sidebar-nav) + .col-md-9 {
    width: calc(100% - 360px);
  }
  .sidenav {
    position: sticky;
    top: 70px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
}
/* 侧栏：字号加大、两列子菜单、选中态 */
.sidenav {
  padding: 12px 0 10px 0;
  margin-bottom: 10px;
}
.sidenav .list-group {
  margin-bottom: 0;
}
.sidenav .list-group-heading.sidenav-title {
  margin: 0 0 8px 14px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.sidenav-group {
  margin: 0 0 4px 0;
  border: 0;
}
.sidenav-group > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  padding: 8px 12px 6px 14px;
  outline: none;
}
.sidenav-group > summary::-webkit-details-marker {
  display: none;
}
.sidenav-group > summary::after {
  content: "\f107";
  font-family: FontAwesome;
  float: right;
  margin-right: 4px;
  color: #bbb;
}
.sidenav-group[open] > summary::after {
  content: "\f106";
}
.sidenav-group > summary:hover {
  color: #333;
}
.sidenav-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 8px 4px;
}
.sidenav-grid > .list-group-item {
  width: 50%;
  box-sizing: border-box;
  margin: 0;
  border-left-width: 0 !important;
}
.sidenav .list-group .list-group-item > a {
  padding: 8px 6px 8px 10px;
  font-size: 14px;
  line-height: 1.35;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidenav .list-group .list-group-item:hover {
  background-color: transparent;
  border-left-color: transparent;
}
.sidenav .list-group .list-group-item:hover > a {
  background-color: rgba(0, 123, 255, 0.06);
  color: var(--color-primary, #007bff);
}
.sidenav .list-group .list-group-item.active {
  background-color: transparent;
  border-left-color: transparent;
}
.sidenav .list-group .list-group-item.active > a {
  background-color: rgba(0, 123, 255, 0.12);
  color: var(--color-primary, #007bff);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--color-primary, #007bff);
}
.sidebar-toggle {
  display: none;
}

/* 会员中心筛选下拉：避免 input-sm 高度/内边距裁切中文 */
.member-filter.select-fix,
.myactivity-filter {
  margin-bottom: 14px;
}
.member-filter .form-control,
.myactivity-filter .form-control {
  display: inline-block;
  width: auto;
  min-width: 140px;
  height: 34px;
  padding: 6px 28px 6px 12px;
  font-size: 13px;
  line-height: 1.42857143;
  vertical-align: middle;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  .sidenav {
    position: fixed;
    top: 50px;
    z-index: 1029;
    height: calc(100vh - 50px);
    max-height: none;
    padding: 12px 0 20px 0;
    min-width: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 320px;
    left: -320px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .sidebar-toggle {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 70px;
    border-radius: 50%;
    background: #eee;
    font-size: 22px;
    padding: 10px;
    line-height: 30px;
    height: 50px;
    width: 50px;
    text-align: center;
    z-index: 999999;
  }
}
body.sidebar-open .sidenav {
  left: 0;
  width: 320px;
  box-shadow: 0 6px 27px rgba(0, 0, 0, 0.075);
}
body.sidebar-open .sidebar-toggle i:before {
  content: "\f00d";
}


/* community design system */
.user-center .panel {
  border-radius: var(--radius-lg);
  border-color: var(--color-line);
  box-shadow: var(--shadow-card);
}
.user-center .page-header {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-ink);
  border-bottom-color: var(--color-line);
}
.sidenav .list-group-item {
  border-radius: var(--radius-sm) !important;
  transition: background-color var(--duration) var(--ease);
}
