.member-all {
  outline: none;
  box-sizing: border-box;
}

.member-body {
  font-family: "Source Sans Pro", sans-serif;
  background-color: #373e57;
  color: #e2e2e2;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  width: 100%;border:1px solid #4a4945;
}


.main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: #181818;
}

.main-container {
  flex-grow: 1;
  overflow: auto;
}

.profile {
  position: relative;
  height: 30vh;
  min-height: 250px;
  max-height: 350px;
  z-index: 1;
}

.profile-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}
.profile:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(50px);
  opacity: 0.7;
}

.profile-menu {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  background: #1e1e1e;
  border-radius: 0 0 4px 4px;
  z-index: 1;
  height: 60px; /* ensure it has height */
  align-items: center;
}

.profile-menu-link {
  padding: 20px 16px;
  color: #ccc;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.profile-menu-link:first-child {
  margin-left: 190px; /* make room for avatar */
}
.profile-menu-link.active {font-weight:bold;}
.profile-menu-link.active,
.profile-menu-link:hover {
  color: #fff;
  background-color: #2c2c2c;
  border-bottom: 3px solid #1488fa;text-decoration:none;
}

.profile-avatar {
  position: absolute;
  bottom: 10px; /* lift avatar above menu bar */
  left: 24px;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.profile-avatar * {
  pointer-events: auto; /* allow image/name interactions */
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #151728;
}

.profile-name {
  margin-left: 24px;
  font-size: 2rem;
  color: #fff;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
}

.timeline {
  display: flex;
  padding-top: 20px;
  position: relative;
  z-index: 2;
}
.timeline-left {
  width: 310px;
  flex-shrink: 0;
}
.timeline-right {
  flex-grow: 1;
  padding-left: 20px;
}
.member-container {
  display: flex;
  gap: 12px; /* space between the two divs */
  flex-wrap: wrap; /* allows stacking on smaller screens */
  margin-bottom:20px;
}

.member-left, .member-right {
  flex: 1 1 300px; /* grow, shrink, base width */
  color: white;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .timeline {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .timeline-right {
    padding-left: 0;
    margin-bottom: 20px;
  }
  .timeline-left {
    width: 100%;
  }
  .member-left, .member-right {
    flex: 1 1 100%;
  }
}

.member-box {
  background-color: #2c2c2c;
  border-radius: 4px;
}

.intro {
  padding: 4px;
}
.intro-title {
  font-family: "DM Sans", sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  padding:20px;
}
.intro-menu {
  background-color: #8f98a9;
  box-shadow: -8px 0 0 0 #8f98a9, 8px 0 0 0 #8f98a9;
  width: 5px;
  height: 5px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  margin-left: auto;
  margin-right: 8px;
}
.showonline {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}
.info {
  font-size: 13px;
}
.info-item {
  display: flex;
  color: #e2e2e2;padding:2px;border:1px solid #4a4945;
}

.info-item a {
  margin-left: 6px;
  color: #6cb1e1;
  text-decoration: none;
}
.info-item svg {
  width: 16px;
  margin-right: 10px;
}
.info-item:nth-child(odd) {
  background-color: #232323;
}
.info-item:nth-child(even) {
  background-color: #363636;
}

.event {
  position: relative;
  margin-top: 20px;
  padding: 10px;
}

.event-wrapper {
  position: relative;
}

.event-img {
  max-width: 100%;
  display: block;
  padding-bottom: 12px;
}

.event-date {
  position: absolute;
  left: 20px;
  top: 15px;
}

.event-month {
  background-color: #1687fa;
  padding: 7px 20px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  color: #fff;
  text-align: center;
  border-radius: 4px 4px 0 0;
}

.event-day {
  width: 100%;
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 6px 0;
  text-align: center;
}

.event-title {
  color: #c3c5d5;
  margin-bottom: 5px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  padding: 0 14px;
}

.event-subtitle {
  color: #8d8d8d;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 0 14px;
}

.pages {
  margin-top: 20px;
  padding: 20px;
}

.user {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.user + .user {
  margin-top: 18px;
}

.user-img {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  margin-right: 15px;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 700px) {
  .profile-avatar {
    top: -25px;
    left: 50%;
    transform: translatex(-50%);
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .profile-img {
    height: 100px;
    width: 100px;
  }

  .profile-name {
    margin: 5px 0;
  }

  .profile-menu {
    padding-left: 0;
    width: 100%;
    overflow: auto;
    justify-content: center;
  }

  .profile-menu-link {
    padding: 16px;
    font-size: 15px;
  }
}
.submission-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #4a4945;
    padding: 0;
  }
.submission-item:nth-child(odd) {
  background-color: #363636; 
}

.submission-item:nth-child(even) {
  background-color: #2c2c2c; 
}
  .submission-item > div {
    padding: 2px 2px;
    box-sizing: border-box;
  }

  /* Columns widths */
.col-caticon {
  flex: 0 0 36px;   /* 32px img + 2px left + 2px right padding */
  min-width: 36px;
  text-align: center;
  padding: 2px;margin-right:4px;
}
  .col-caticon img{
  border:1px solid #000;width:32px;height:32px;
  }
  .col-name {
    flex: 1 1 200px;
    min-width: 150px;
    text-align: left;
  }
.greydate{color:#cbcbcb;}.greydate a{color:#e3c6a6;}
.greycat {color:#dcdada;}
  .submission-item .name a {
    font-size:14px;
    font-weight:bold;
    text-decoration: none;
  }

  .submission-item .name a:hover {
    text-decoration: underline;
  }
.user-comment {
  border-bottom: 1px solid #444;
  padding: 8px 0;
}
.comment-title a {
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}
.comment-title a:hover {
  text-decoration: underline;
}
.comment-date {
  font-size: 13px;
  color: #aaa;
}
.comment-body {margin-top:6px;padding:0;
  font-size: 14px;
  color: #ddd;
}
.comrbutton {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
border: 0px; 
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
background: transparent;
color: #ccc;
font-family:  arial,helvetica,sans-serif;
font-size: 12px;
font-weight: bold;
padding: 2px 6px;
text-decoration: none;
cursor: pointer;
    }

/* friends box */
.friends-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
  overflow: hidden;
}
.borderbox {
  text-align: center;
  display: inline-block;
  margin: 2px;
  box-sizing: border-box;
}
.child {
  border: 1px solid #000;
  display: block;
  margin: auto;
}
.child img {
  border: 1px solid #000;
  display: block;
  margin: 0 auto;
}
.child img:hover, .child:hover {
  border: 1px solid #ffd800;
}
/* tooltip minimal */
#tooltip-fake {
  position: absolute;
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
/* paginations for subs */
.pagination {
    margin-top: 8px;margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.pagination a {
    background-color: #1f1f1f;
    color: #ccc;
    border: 1px solid #4a4945;
}

.pagination a:hover {
    background-color: #111;
    color: #fff;
    transform: scale(1.05);
    border-color: #1488fa;
}

.pagination .current {
    background-color: #111;
    color: #fff;
    font-weight: bold;
    border: 1px solid #1488fa;
    cursor: default;
}

.pagination span {
    color: #666;
    padding: 6px 10px;
    user-select: none;
}
/* reactions */
.reaction-btn img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, filter 0.2s ease;
  vertical-align: middle;
}

.reaction-btn:hover img {
  transform: scale(1.3);
  filter: brightness(1.2);
}

.reaction-btn.active img {
  transform: scale(1.3);
  filter: drop-shadow(0 0 5px #0096ff);
}
.float-right{float:right;}
/* profile buttons menu */
.btn-group .buttonm {
  width:100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)); 
  border: 0px;border-radius:0px;
  color: #60adde;
  padding: 4px 10px;margin-bottom:6px;
  text-align: left;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
  display: block;transition:0s;font-weight:0;
}
.btn-group a:hover, .btn-group a{text-decoration:none;font-weight:0;}
.btn-group .buttonm:not(:last-child) {
  border-bottom: none; 
}
.btn-group .buttonm:hover {
  background: linear-gradient(to right, rgba(50, 50, 50, 1), rgba(0, 0, 0, 0));
}
/* favs sys */
.fav-thumb {
    float: left;
    margin-right: 6px;
}
.fav-cover-img {
    max-width: 120px;
    height: auto;
    border-radius: 6px;border:1px solid #4a4945;
}
.fav-cover-img:hover {
border:1px solid #fadc14;
}

::-webkit-scrollbar {
  width: 10px;
  border-radius: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.01);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.11);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.1);
}
