.dg5-member-page {
  padding: 18px 0 70px;
  color: #f2f2f5;
}

.dg5-member-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
}

.dg5-member-side,
.dg5-member-card {
  background: #25252d;
  border-radius: 5px;
}

.dg5-member-side {
  overflow: hidden;
}

.dg5-member-user {
  padding: 26px 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.dg5-member-user-top {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.dg5-member-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #30313a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ef4b83;
  font-size: 28px;
  flex: 0 0 auto;
}

.dg5-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dg5-member-user-name {
  min-width: 0;
  flex: 1;
}

.dg5-member-user-name strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dg5-member-user-name span {
  display: block;
  margin-top: 8px;
  color: #b9bac3;
  font-size: 14px;
}

.dg5-member-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.dg5-member-stats dl {
  margin: 0;
  padding: 14px 10px;
  background: #30313a;
  border-radius: 4px;
  text-align: center;
}

.dg5-member-stats dt {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dg5-member-stats dd {
  margin: 7px 0 0;
  color: #a9aab4;
  font-size: 13px;
}

.dg5-member-menu {
  padding: 12px 0;
}

.dg5-member-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 46px;
  padding: 0 24px;
  color: #d9d9df;
  font-size: 15px;
  text-decoration: none;
}

.dg5-member-menu a:hover,
.dg5-member-menu a.active {
  color: #fff;
  background: rgba(239,75,131,.14);
}

.dg5-member-menu a.active {
  box-shadow: inset 3px 0 0 #ef4b83;
}

.dg5-member-main {
  min-width: 0;
}

.dg5-member-card {
  padding: 26px 28px;
  min-height: 360px;
}

.dg5-member-card + .dg5-member-card {
  margin-top: 22px;
}

.dg5-member-title {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.dg5-member-title h1,
.dg5-member-title h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.dg5-member-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dg5-member-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}

.dg5-member-tabs a {
  position: relative;
  color: #dcdce4;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.dg5-member-tabs a.active,
.dg5-member-tabs a:hover {
  color: #ef4b83;
}

.dg5-member-tabs a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  background: #ef4b83;
}

.dg5-member-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.dg5-member-tools a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #d7d7df;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.dg5-member-tools a:hover {
  background: #30313a;
  color: #fff;
}

.dg5-member-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: #30313a;
  color: #e9e9ee;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.dg5-member-btn:hover,
.dg5-member-btn-primary {
  background: #ef4b83;
  color: #fff;
}

.dg5-member-info-list {
  padding-top: 2px;
}

.dg5-member-info-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  color: #e8e8ee;
  font-size: 16px;
  line-height: 1.6;
}

.dg5-member-info-row b {
  color: #fff;
  font-weight: 800;
}

.dg5-member-copy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dg5-member-copy input {
  width: min(520px, 100%);
  height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  background: #30313a;
  color: #d8d8df;
  padding: 0 10px;
  outline: none;
}

.dg5-member-copy button {
  height: 36px;
  border: 0;
  border-radius: 3px;
  background: #ef4b83;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
}

.dg5-member-form {
  max-width: 760px;
}

.dg5-member-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.dg5-member-row label {
  color: #d6d6de;
  font-size: 16px;
}

.dg5-member-row input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  background: #30313a;
  color: #fff;
  padding: 0 14px;
  outline: none;
}

.dg5-member-row input:focus {
  border-color: #ef4b83;
}

.dg5-member-empty,
.mac-ulog-loading {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4b83;
  font-size: 18px;
}

.dg5-member-record .no-data-wrap {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dg5-member-record .no-data {
  color: #ef4b83;
  font-size: 18px;
}

.dg5-member-record .data__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dg5-member-record .data__item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 110px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.dg5-member-record .data__img,
.dg5-member-record .data__thumb {
  display: block;
  width: 110px;
  height: 68px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.dg5-member-record .data__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dg5-member-record .data__title a {
  color: inherit;
  text-decoration: none;
}

.dg5-member-record .data__txt p {
  margin: 4px 0 0;
  color: #a9aab4;
  font-size: 14px;
}

.dg5-member-record .btn-del {
  background: #30313a;
  color: #fff;
  border-radius: 4px;
  padding: 8px 14px;
  text-decoration: none;
}

.dg5-member-record .btn-del:hover {
  background: #ef4b83;
}

.dg5-member-note {
  color: #bfc0ca;
  line-height: 1.9;
  font-size: 16px;
}

.dg5-member-auth-tip {
  min-height: 260px;
}

@media (max-width: 767px) {
  .dg5-member-page {
    padding: 14px 12px 76px;
  }

  .dg5-member-layout {
    display: block;
  }

  .dg5-member-side {
    margin-bottom: 14px;
  }

  .dg5-member-user {
    padding: 18px;
  }

  .dg5-member-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 8px;
    gap: 6px;
  }

  .dg5-member-menu a {
    height: 38px;
    justify-content: center;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 13px;
  }

  .dg5-member-menu a.active {
    box-shadow: none;
    background: #ef4b83;
  }

  .dg5-member-card {
    padding: 18px;
    min-height: 240px;
  }

  .dg5-member-title {
    margin-bottom: 16px;
  }

  .dg5-member-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dg5-member-title h1,
  .dg5-member-title h2 {
    font-size: 24px;
  }

  .dg5-member-tabs {
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .dg5-member-info-row {
    grid-template-columns: 92px minmax(0, 1fr);
    font-size: 14px;
  }

  .dg5-member-copy {
    display: block;
  }

  .dg5-member-copy button {
    margin-top: 8px;
  }

  .dg5-member-row {
    display: block;
  }

  .dg5-member-row label {
    display: block;
    margin-bottom: 8px;
  }

  .dg5-member-record .data__item {
    grid-template-columns: 24px 84px minmax(0,1fr);
  }

  .dg5-member-record .data__img,
  .dg5-member-record .data__thumb {
    width: 84px;
    height: 54px;
  }

  .dg5-member-record .data__del {
    grid-column: 2 / 4;
  }
}
