@charset "UTF-8";
.block {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding: 0;
  overflow: hidden;
}
.block .left, .block .right {
  padding: 1rem;
}
.block .left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(18rem, 25%, 35%);
  background-color: #263037;
  border-right: 1px solid #303e51;
}
.block .left .user__avatar {
  position: relative;
  height: 16rem;
  overflow: hidden;
}
.block .left .user__avatar .avatar__img {
  width: 16rem;
  height: 16rem;
  border-radius: 0.5rem;
}
.block .left .user__avatar .buttons {
  display: none;
  pointer-events: auto;
}
.block .left .user__avatar:hover:has(.buttons:not([aria-disabled=true]))::before {
  content: "Change Avatar";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block .left .user__avatar:hover:has(.buttons:not([aria-disabled=true])) .buttons {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 0.5rem 0.5rem;
  overflow: hidden;
}
.block .left .user__avatar:hover:has(.buttons:not([aria-disabled=true])) .buttons form {
  width: 50%;
}
.block .left .user__avatar:hover:has(.buttons:not([aria-disabled=true])) .buttons button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  height: 100%;
}
.block .left .user__avatar:hover:has(.buttons:not([aria-disabled=true])) .buttons button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.block .left .forum--stats {
  margin-top: 1rem;
}
.block .left .forum--stats .stat {
  margin-top: 0.75rem;
}
.block .left .forum--stats .stat .label {
  display: inline-block;
  font-size: 0.9rem;
  color: #64748b;
  text-align: right;
}
.block .right {
  width: 100%;
}
.block .right .user__username {
  font-size: 2.5rem;
  font-weight: 400;
  color: white;
  width: clamp(18rem, 50%, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-wrap: nowrap;
}
.block .right .user__role {
  margin-top: 0.5rem;
}
.block .right .user__role .role {
  display: inline-block;
  border-radius: 0.5rem;
  font-weight: 400;
  border: 1px solid inherit;
  line-height: 1.6;
  padding: 2px 0.35rem;
  font-size: 80%;
  width: fit-content;
  text-transform: uppercase;
}
.block .right .user__content {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.block .right .user__content .content__buttons {
  width: 100%;
  border-bottom: 1px solid #303e51;
  padding: 0.5rem;
}
.block .right .user__content .content__buttons button {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: white;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.block .right .user__content .content__buttons button + button {
  margin-left: 0.5rem;
}
.block .right .user__content .content__buttons button.active {
  color: #7246f2;
}
.block .right .user__content .content__buttons button:hover {
  background-color: #263037;
}
.block .right .user__content .content__buttons button i {
  margin-right: 0.5rem;
}
.block .right .user__content .content__aboutme, .block .right .user__content .content__threads, .block .right .user__content .user__settings, .block .right .user__content .content__gallery {
  display: none;
  margin-top: 1rem;
  padding: 0.5rem;
  border: 1px solid #303e51;
  border-radius: 0.5rem;
  overflow-y: scroll;
  min-height: 15rem;
  max-height: 30rem;
}
.block .right .user__content .content__aboutme.active, .block .right .user__content .content__threads.active, .block .right .user__content .user__settings.active, .block .right .user__content .content__gallery.active {
  display: block;
}
.block .right .user__content .content__aboutme::-webkit-scrollbar, .block .right .user__content .content__threads::-webkit-scrollbar, .block .right .user__content .user__settings::-webkit-scrollbar, .block .right .user__content .content__gallery::-webkit-scrollbar {
  width: 6px;
}
.block .right .user__content .content__aboutme::-webkit-scrollbar-track, .block .right .user__content .content__threads::-webkit-scrollbar-track, .block .right .user__content .user__settings::-webkit-scrollbar-track, .block .right .user__content .content__gallery::-webkit-scrollbar-track {
  background: transparent;
}
.block .right .user__content .content__aboutme::-webkit-scrollbar-thumb, .block .right .user__content .content__threads::-webkit-scrollbar-thumb, .block .right .user__content .user__settings::-webkit-scrollbar-thumb, .block .right .user__content .content__gallery::-webkit-scrollbar-thumb {
  background-color: #303e51;
  border-radius: 3px;
}
.block .right .user__content .content__threads {
  container-type: size;
  container-name: threads;
}
.block .right .user__content .user__settings textarea {
  background-color: #263037;
  border: 1px solid #303e51;
  color: white;
  border-radius: 0.5rem;
  padding: 0.5rem;
  min-height: 15rem;
}
.block .right .user__content .content__gallery > .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 1rem;
}
.block .right .user__content .content__gallery > .gallery .gallery__item {
  width: 100%;
  height: 10rem;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
}
.block .right .user__content .content__gallery > .gallery .gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
    █▀ ▄▀▄ █▀▄ █ █ █▄ ▄█    ▀█▀ █▄█ █▀▄ ██▀ ▄▀▄ █▀▄    ▄▀▀ ▀█▀ ▀▄▀ █   ██▀ ▄▀▀ 
    █▀ ▀▄▀ █▀▄ ▀▄█ █ ▀ █     █  █ █ █▀▄ █▄▄ █▀█ █▄▀    ▄█▀  █   █  █▄▄ █▄▄ ▄█▀ 
*/
@container threads (max-width: 768px) {
  .thread__stats {
    display: none;
  }
  body .forum-thread .thread__body .thread__title {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  body .forum-thread .thread__body .thread__info .update {
    text-wrap: nowrap;
  }
  body .forum-thread .thread__updated {
    font-size: 75%;
  }
  body .forum-thread .thread__updated .date {
    text-wrap: nowrap;
  }
}
@media (max-width: 768px) {
  main div.block {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
  main div.block .left, main div.block .right {
    width: 100%;
    border: none;
    padding: 0.5rem;
  }
  main div.block .left {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #303e51;
    border-radius: 0.5rem 0.5rem 0 0;
    gap: 2rem;
  }
  main div.block .left .forum--stats {
    margin: 0;
  }
  main div.block .left .user__avatar {
    height: 10rem;
  }
  main div.block .left .user__avatar .avatar__img {
    width: 10rem;
    height: 10rem;
  }
  main div.block .left .user__avatar .buttons {
    height: 2rem;
  }
  main div.block .right .user {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  main div.block .right .user .user__role {
    margin: 0;
  }
  main div.block .right .user__content .content__buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    padding-bottom: 0.5rem;
  }
  main div.block .right .user__content .content__buttons button + button {
    margin: 0;
  }
  .content-wrapper .modal .modal-content {
    width: 90%;
  }
  .content-wrapper .modal .modal-content .header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .content-wrapper .modal .modal-content .crop-container .cropper-container {
    width: 100%;
    height: 25rem;
  }
}
.tags {
  padding-right: 0.5rem;
}
.tags .tag {
  display: inline-block;
  border-radius: 0.5rem;
  font-weight: 400;
  border: 1px solid inherit;
  line-height: 1.6;
  padding: 2px 0.35rem;
  font-size: 80%;
}
.tags .tag + .tag {
  margin-left: 0.25rem;
}

.forum-thread {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.forum-thread > * {
  padding: 0.5rem;
}
.forum-thread a {
  text-decoration: none;
  color: white;
}
.forum-thread a[title=Author] {
  color: #64748b;
}
.forum-thread:first-child {
  border-top: 1px solid #303e51;
}
.forum-thread + .forum-thread {
  border-top: 1px solid #303e51;
}
.forum-thread .thread__icon img {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
}
.forum-thread .thread__body {
  margin-right: auto;
}
.forum-thread .thread__body .thread__title {
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}
.forum-thread .thread__body .thread__title a {
  transition: all 0.25s ease;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.forum-thread .thread__body .thread__title a:hover {
  color: #7246f2;
}
.forum-thread .thread__body .thread__info {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.forum-thread .thread__stats .stat {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
}
.forum-thread .thread__stats .stat .label {
  color: #64748b;
  font-weight: 200;
}
.forum-thread .thread__updated {
  display: flex;
  flex-direction: column;
  justify-content: right;
  font-weight: 300;
  text-align: right;
  gap: 0.25rem;
  width: clamp(120px, 25%, 200px);
}
.forum-thread .thread__updated .username {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*
    ▀█▀ █▄█ █▀▄ ██▀ ▄▀▄ █▀▄    ▄▀▀ ▀█▀ ▀▄▀ █   ██▀ ▄▀▀    ▄▀▄ █ █ ██▀ █▀▄ █▀▄ █ █▀▄ ██▀ 
     █  █ █ █▀▄ █▄▄ █▀█ █▄▀    ▄█▀  █   █  █▄▄ █▄▄ ▄█▀    ▀▄▀ ▀▄▀ █▄▄ █▀▄ █▀▄ █ █▄▀ █▄▄ 
*/
.forum-thread:first-child {
  border-top: none !important;
}

/*
█ █▄ ▄█ ▄▀▄ ▄▀  ██▀    ▄▀  ▄▀▄ █   █   ██▀ █▀▄ ▀▄▀    █ █ █ ██▀ █   █ 
█ █ ▀ █ █▀█ ▀▄█ █▄▄    ▀▄█ █▀█ █▄▄ █▄▄ █▄▄ █▀▄  █     ▀▄▀ █ █▄▄ ▀▄▀▄▀ 
*/
body:has(.gallery-viewer.active) {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.gallery-viewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}
.gallery-viewer__header {
  display: flex;
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
}
.gallery-viewer__header span, .gallery-viewer__header button {
  display: flex;
  align-items: center;
  height: 2.5rem;
}
.gallery-viewer__header button {
  width: 2.5rem;
  text-align: center;
  margin-left: 1.5rem;
}
.gallery-viewer__header #image-name {
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: auto;
}
.gallery-viewer__header #close-gallery-viewer {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gallery-viewer__header #close-gallery-viewer:hover {
  color: #7246f2;
}
.gallery-viewer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  width: 100%;
  max-height: 80%;
}
.gallery-viewer__main .nav-arrow {
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
}
.gallery-viewer__main .nav-arrow:hover {
  color: rgba(255, 255, 255, 0.5);
}
.gallery-viewer__main .nav-arrow#prev-image {
  margin-left: 2rem;
}
.gallery-viewer__main .nav-arrow#next-image {
  margin-right: 2rem;
}
.gallery-viewer__main #main-image {
  max-width: 80%;
  max-height: 80%;
  transition: transform 0.3s;
}
.gallery-viewer__thumbnails {
  display: flex;
  overflow-x: auto;
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
}
.gallery-viewer__thumbnails::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.gallery-viewer__thumbnails::-webkit-scrollbar-track {
  background: transparent;
}
.gallery-viewer__thumbnails::-webkit-scrollbar-thumb {
  background-color: #303e51;
  border-radius: 3px;
}
.gallery-viewer__thumbnails .thumbnail {
  width: auto;
  height: 5rem;
  margin-right: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s, border 0.3s;
  border: 0.25rem solid transparent;
}
.gallery-viewer__thumbnails .thumbnail:hover {
  transform: scale(1.1);
  border-color: #7246f2;
}
.gallery-viewer__thumbnails .thumbnail.selected {
  transform: scale(1.1);
  border-color: white;
}

#gallery-viewer.active {
  display: flex;
}

.user__settings form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.user__settings form .form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.user__settings form .form-group h3 {
  font-size: 1.5rem;
  color: #64748b;
}
.user__settings form .form-group label {
  font-size: 0.9rem;
  color: #64748b;
}
.user__settings form .form-group input {
  padding: 0.5rem;
  border: 1px solid #303e51;
  border-radius: 0.5rem;
  background-color: #263037;
  color: rgba(255, 255, 255, 0.6);
}
.user__settings form button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #7246f2;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}
.user__settings form button:hover {
  background-color: rgb(77.6818181818, 22.3484848485, 238.6515151515);
}

#about-me-form {
  margin-top: 1rem;
}
#about-me-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #303e51;
  border-radius: 0.5rem;
  background-color: #263037;
  color: rgba(255, 255, 255, 0.6);
  resize: vertical;
}
#about-me-form button {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #7246f2;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}
#about-me-form button:hover {
  background-color: rgb(77.6818181818, 22.3484848485, 238.6515151515);
}

#charCount {
  font-size: 80%;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.form-group input {
  font-family: "Readex Pro", sans-serif;
  width: 100%;
  background: #1b2327;
  border: 0;
  height: 2rem;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: #7246f2;
  font-weight: 500;
  font-size: 1rem;
}
.form-group input:focus {
  outline: none;
  box-shadow: 0px 2px 0px 0px #7246f2;
}
.form-group textarea {
  font-family: "Readex Pro", sans-serif;
  width: 100%;
  background: #1b2327;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: #7246f2;
  font-weight: 500;
  font-size: 1rem;
  resize: vertical;
}
.form-group textarea:focus {
  outline: none;
  box-shadow: 0px 2px 0px 0px #7246f2;
}
.form-group textarea::-webkit-scrollbar {
  width: 6px;
}
.form-group textarea::-webkit-scrollbar-track {
  background: transparent;
}
.form-group textarea::-webkit-scrollbar-thumb {
  background-color: #303e51;
  border-radius: 3px;
}

.auth-error span::before {
  content: "❌";
  color: crimson;
}
.auth-error.active span::before {
  content: "✓";
  color: #00ff00;
}

.error {
  color: red;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-content {
  background-color: #263037;
  margin: 15% auto;
  padding: 0.5rem;
  border: 1px solid #303e51;
  border-radius: 0.5rem;
  width: 80%;
  max-width: 500px;
}
.modal .modal-content .header {
  margin-bottom: 0.5rem;
}
.modal .modal-content .header .close {
  color: white;
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: all 0.25s ease;
}
.modal .modal-content .header .close:hover, .modal .modal-content .header .close:focus {
  color: #7246f2;
  text-decoration: none;
  cursor: pointer;
}
.modal .modal-content .header h2 {
  color: white;
  font-size: 1.5rem;
}
.modal .modal-content .crop-container {
  width: 100%;
  height: 300px;
}
.modal .modal-content .crop-container img {
  max-width: 100%;
}
.modal .modal-content button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  border: 1px solid #303e51;
}
.modal .modal-content button:hover {
  background-color: #7246f2;
}

/*# sourceMappingURL=user.css.map */
