@media (min-width: 1025px) {}

body {
  background: var(--bg);
  color: #fff
}

body.modal-open {
  overflow: hidden
}

body[data-profile-login] {
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

body[data-profile-login] footer.footer {
  margin-top: auto
}

#edit-profile-btn {
  color: #8a8a8a;
  cursor: pointer;
  font-size: 1.1em
}

#profile-files-grid {
  align-items: start;
  background: transparent;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(18.75rem, 1fr));
  justify-content: center;
  justify-items: center;
  margin: 0 auto;
  max-width: 84.375rem;
  min-height: 13.75rem;
  padding: 1.25rem 0;
  width: 100%
}

#profile-files-outer {
  display: block;
  margin: 4.0625rem auto 0 auto;
  max-width: 75rem;
  padding-bottom: 4rem;
  position: relative;
  width: 100%;
  z-index: 1
}

#profile-modal .modal-content {
  align-items: center;
  animation: none;
  background: #1a1d1e;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 auto;
  max-height: 90vh;
  max-width: 28rem;
  min-width: 20rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  position: relative;
  width: 90vw
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem
}

.admin-btn {
  background: var(--accent);
  border-radius: var(--ui-curve);
  border: 0.0625rem solid rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease
}

.admin-btn.danger {
  background: var(--danger);
  border-color: rgba(0, 0, 0, 0.2);
  color: #fff
}

.admin-btn.unban {
  background: var(--success);
  color: #fff !important
}

.admin-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-0.0625rem)
}

.admin-name {
  color: var(--accent);
  font-weight: 600
}

.admin-panel {
  display: none
}

.admin-section {
  font-optical-sizing: auto;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  width: 100%
}

.author-telegram-link,
.telegram-link {
  color: #7ecbff;
  text-decoration: none
}

.author-telegram-link:hover,
.telegram-link:hover {
  color: #3fa6ff;
  text-decoration: none
}

.avatar-box {
  align-items: center;
  background: transparent;
  border-radius: 0.875rem;
  display: flex;
  height: 5rem;
  justify-content: center;
  overflow: hidden;
  width: 5rem
}

.avatar-box img {
  border-radius: 0.875rem;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%
}

.ban-type {
  border-radius: 0.375rem;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.125rem 0.5rem
}

.ban-type.delete {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545
}

.ban-type.hidden {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107
}

.banned-date {
  color: rgba(255, 255, 255, 0.6);
  display: block;
  font-size: 0.85em;
  font-weight: 500;
  margin-top: 0.125rem
}

.banned-detail-item {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem
}

.banned-details-grid {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1rem
}

.banned-info-card {
  background: rgba(220, 53, 69, 0.06);
  border-radius: 0.75rem;
  border: 0.0625rem solid rgba(220, 53, 69, 0.15);
  margin-bottom: 0.5rem;
  padding: 1rem
}

.banned-status-header {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem
}

.banned-status-icon {
  flex-shrink: 0;
  font-size: 1.2em;
  margin-top: 0.125rem
}

.banned-status-text {
  flex: 1
}

.banned-title {
  color: #dc3545;
  display: block;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.2
}

.desktop-only {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 5rem;
  width: 100%
}

.desktop-only #edit-profile-btn {
  color: #8a8a8a;
  cursor: pointer;
  font-size: 1em
}

.desktop-only .profile-avatar {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem
}

.desktop-only .profile-avatar img {
  border-radius: 0.875rem;
  height: 6.25rem;
  object-fit: cover;
  width: 6.25rem
}

.desktop-only .profile-card {
  align-items: flex-start;
  background: var(--card-bg);
  border-radius: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 auto;
  max-width: 62.5rem;
  padding: 1.125rem 1.5rem;
  width: 100%
}

.desktop-only .profile-info {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.desktop-only .profile-links {
  align-items: center;
  display: flex;
  gap: 1.125rem
}

.desktop-only .profile-links a {
  align-items: center;
  display: flex;
  height: 1.875rem;
  justify-content: center;
  width: 5.6875rem
}

.desktop-only .profile-links a img {
  display: block;
  height: 1.875rem;
  object-fit: contain;
  width: 5.6875rem
}

.desktop-only .profile-links img {
  align-items: center;
  display: flex;
  height: 1.875rem;
  justify-content: center;
  width: 5.6875rem
}

.desktop-only .profile-name {
  color: #fff;
  font-size: 2em;
  font-weight: 700
}

.desktop-only .profile-stats {
  color: #8f8f8f;
  font-size: 1.125rem;
  font-weight: 600
}

.detail-label {
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  font-size: 0.9em;
  font-weight: 600;
  min-width: 5.625rem
}

.detail-value {
  color: #fff;
  font-size: 0.9em;
  line-height: 1.4;
  word-break: break-word
}

.edit-link {
  color: #8f8f8f;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600
}

.filter-btn {
  align-items: center;
  background: transparent;
  border-radius: 0.5rem;
  border: none;
  color: #8f8f8f;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  font-weight: 500;
  gap: 0.5rem;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0.5rem 0.75rem;
  transition: all 0.18s ease;
  vertical-align: top
}

.filter-btn span {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle
}

.filter-btn.active {
  background: var(--accent);
  color: #fff
}

.filter-btn.active:hover {
  background: var(--accent);
  transform: scale(1.05)
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff
}

.filter-icon {
  display: block;
  flex-shrink: 0;
  height: 1.25rem;
  width: 1.25rem
}

.filters-container {
  -webkit-overflow-scrolling: touch;
  align-items: center;
  backdrop-filter: blur(6px);
  background: var(--card-bg);
  border-radius: 0.75rem;
  border: 0.0625rem solid #ffffff33;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.25rem auto;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.625rem 0.75rem;
  width: 100%
}

.filters-container .filter-btn.active:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05)
}

.hidden-input {
  display: none
}

.load-more-btn {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.5rem;
  border: none;
  color: #fff;
  cursor: pointer
}

.mobile-only {
  display: none
}

.modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.375rem;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  font-size: 1.5rem;
  height: 2rem;
  justify-content: center;
  padding: 0;
  position: static;
  transition: all 0.2s ease;
  width: 2rem;
  flex-shrink: 0;
  line-height: 1
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: scale(1.1)
}

.modal-header {
  align-items: center;
  background: #212426;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem 1rem 0 0;
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  position: relative;
  width: 100%;
  box-sizing: border-box
}

.modal-overlay {
  align-items: center;
  backdrop-filter: blur(0px);
  background: rgba(0, 0, 0, 0.0);
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  transition: background 220ms ease, backdrop-filter 220ms ease;
  width: 100%;
  z-index: 2000
}

.modal-overlay.show {
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.6);
  display: flex
}

.modal-title {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.pill {
  align-items: center;
  background: transparent;
  border-radius: 0;
  display: inline-flex;
  justify-content: center;
  padding: 0;
  text-decoration: none
}

.pill img {
  display: block;
  height: auto;
  object-fit: contain;
  width: auto
}

.pill.telegram {
  background: transparent
}

.pill.twitch {
  background: transparent
}

.pill:hover {
  background: transparent
}

.platform-badges {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem
}

.profile-avatar {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.875rem
}

.profile-avatar img {
  border-radius: 1rem;
  height: 7.5rem;
  object-fit: cover;
  width: 7.5rem
}

.profile-block.banned .platform-badges img,
.profile-card.banned .profile-links a img {
  display: inline-block;
  filter: none;
  opacity: 1
}

.profile-block.banned .username,
.profile-card.banned .profile-name {
  color: #ff4a4a;
  text-decoration-color: #ff4a4a;
  text-decoration: line-through
}

.profile-card {
  align-items: center;
  border: 0.0625rem solid #ffffff33;
  display: flex;
  gap: 2.5rem;
  justify-content: space-between
}

.profile-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  height: 0.0625rem;
  margin: 1.25rem -1.5rem 1.25rem -1.5rem;
  width: calc(100% + 3rem)
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1.125rem
}

.profile-links {
  align-items: center;
  display: flex;
  gap: 1.5rem
}

.profile-links a img {
  height: 2.5rem;
  transition: transform .2s;
  width: 2.5rem
}

.profile-links a img:hover {
  transform: scale(1.1)
}

.profile-main-content {
  align-items: center;
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  width: 100%
}

.profile-name {
  color: #fff;
  font-size: 2.2em;
  font-weight: 700;
  text-align: left
}

.profile-stats {
  align-items: center;
  color: #a0a0a0;
  display: flex;
  font-size: 1.25rem;
  font-weight: 600;
  gap: 0.5rem;
  margin-top: 0.625rem;
  white-space: nowrap
}

.profile-tab-btn {
  background: #232a36;
  border-radius: 0.375rem;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  font-weight: 500;
  padding: 0.6em 1.6em;
  text-decoration: none;
  transition: background 0.18s
}

.profile-tab-btn:focus {
  outline: none
}

.telegram-btn {
  align-items: center;
  border-radius: 0.625rem;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.625rem;
  height: 3.125rem;
  justify-content: center;
  max-width: 100%;
  transition: all 0.2s ease;
  user-select: none;
  width: 100%
}

.telegram-btn.link {
  background: linear-gradient(90deg, #27a7e7, #1b8dd6);
  color: #fff
}

.telegram-btn.link:hover {
  background: linear-gradient(90deg, #34b4f4, #1ea1f0)
}

.telegram-btn.unlink {
  background: #333;
  color: #fff;
  justify-content: space-between;
  padding: 0 1.125rem;
  position: relative
}

.telegram-btn.unlink:hover .telegram-unlink {
  color: #ff6666
}

.telegram-btn.unlink:hover::after {
  background: #181818;
  border-radius: 0.375rem;
  top: -2.5rem;
  color: #fff;
  content: "Отвязать Telegram";
  font-size: 0.8125rem;
  left: 50%;
  opacity: 0.9;
  padding: 0.25rem 0.625rem;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none
}

.telegram-icon {
  height: 1.375rem;
  width: 1.375rem
}

.telegram-name {
  color: #fff;
  font-weight: 500
}

.telegram-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  gap: 0.75rem
}

.telegram-status {
  font-size: 0.625rem;
  margin-left: 0;
  margin-top: 0.25rem;
  text-align: center
}

.telegram-unlink {
  color: #ff4a4a;
  font-size: 1.125rem;
  line-height: 1;
  transition: color 0.2s
}

.toggle-handle {
  background: #fff;
  border-radius: 50%;
  height: 1rem;
  left: 0.125rem;
  position: absolute;
  top: 0.125rem;
  transition: transform 0.3s ease;
  width: 1rem
}

.toggle-switch {
  background: #555;
  border-radius: 0.625rem;
  cursor: pointer;
  height: 1.25rem;
  position: relative;
  transition: background 0.3s ease;
  width: 2.5rem
}

.toggle-switch.active {
  background: var(--accent)
}

.toggle-switch.active .toggle-handle {
  transform: translateX(1.25rem)
}

.upload-area {
  background: rgba(68, 68, 68, 0.4);
  border-radius: 0.75rem;
  border: 0.125rem dashed rgba(255, 255, 255, 0.2);
  cursor: pointer;
  margin: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box
}

.upload-area.dragover {
  background: rgba(51, 51, 51, 0.6);
  border-color: var(--accent);
  transform: scale(1.02)
}

.upload-area:hover {
  background: rgba(51, 51, 51, 0.6);
  border-color: var(--accent)
}

.upload-formats {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-top: 0.5rem
}

.upload-icon {
  align-items: center;
  background: transparent;
  border-radius: 0.5rem;
  display: flex;
  font-size: 2rem;
  height: 4rem;
  justify-content: center;
  margin: 0 auto 1rem;
  width: 4rem
}

.upload-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.5rem
}

.username {
  color: #ebebeb;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1
}

@media (max-width: 1024px) {
  #profile-files-grid {
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    max-width: 100%
  }

  .profile-main-content {
    min-height: auto
  }
}

@media (max-width: 480px) {
  body * {
    box-sizing: border-box
  }

  #profile-files-grid {
    gap: 1rem;
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0.625rem
  }

  #profile-files-grid,
  .profile-main-content #profile-files-grid {
    margin: 0 auto;
    max-width: 62.5rem;
    padding-left: 0;
    padding-right: 0
  }

  #profile-files-outer {
    padding: 0 0.75rem 4rem 0.75rem
  }

  .avatar-col {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    justify-content: center
  }

  .desktop-only {
    display: none
  }

  .desktop-only .profile-card,
  .filters-container,
  .profile-block {
    margin: 0 auto;
    max-width: 62.5rem;
    width: 100%
  }

  .filter-btn {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    font-size: 0;
    gap: 0.25rem;
    justify-content: center;
    padding: 0.375rem
  }

  .filter-btn span {
    display: none
  }

  .filter-btn.active {
    flex-direction: column;
    gap: 0.25rem
  }

  .filter-btn.active span {
    color: #e0e6ed;
    display: block;
    font-size: 0.625rem;
    line-height: 1;
    white-space: nowrap
  }

  .filter-btn.active:hover {
    background: var(--accent);
    transform: scale(1.05)
  }

  .filter-icon {
    height: 1.125rem;
    width: 1.125rem
  }

  .filters-container {
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.5rem 0.375rem;
    width: 100%
  }

  .filters-container .filter-btn {
    align-items: center;
    display: inline-flex;
    flex-direction: row;
    flex-shrink: 0;
    flex: 0 0 auto;
    gap: 0.375rem;
    height: 4rem;
    justify-content: center;
    padding: 1rem 1.25rem
  }

  .filters-container .filter-btn .filter-icon {
    height: 1.625rem;
    object-fit: contain;
    width: 1.625rem
  }

  .filters-container .filter-btn span {
    display: none;
    font-size: 0.8125rem;
    line-height: 1;
    transition: none
  }

  .filters-container .filter-btn.label-visible span {
    display: block
  }

  .filters-container::-webkit-scrollbar {
    height: 0.375rem
  }

  .filters-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.25rem
  }

  .mobile-only {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%
  }

  .platform-badges {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem
  }

  .platform-badges img {
    align-items: center;
    display: flex;
    height: 1.875rem;
    justify-content: center;
    width: 5.6875rem
  }

  .profile-block {
    background: #262626;
    border-radius: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 auto;
    max-width: 100%;
    padding: 1.25rem;
    width: calc(100% - 1.5rem)
  }

  .profile-main-wrapper {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 62.5rem;
    padding: 0 1rem;
    width: 100%
  }

  .profile-row {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 0.875rem;
    justify-content: flex-start
  }

  .profile-stats {
    font-size: 0.875rem;
    margin-top: 0.375rem
  }

  .username {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.375rem
  }

  @media (max-width: 480px) {

    #profile-files-grid,
    .profile-main-content #profile-files-grid {
      margin: 0 auto;
      max-width: 62.5rem;
      padding-left: 0;
      padding-right: 0
    }

    .desktop-only .profile-card,
    .filters-container,
    .profile-block {
      margin: 0 auto;
      max-width: 62.5rem;
      width: 100%
    }

    .filters-container {
      -webkit-overflow-scrolling: touch;
      display: flex;
      gap: 0.5rem;
      justify-content: flex-start;
      overflow-x: auto;
      padding: 0.5rem 0.375rem;
      width: 100%
    }

    .filters-container .filter-btn {
      flex: 0 0 auto;
      height: 3rem;
      padding: 0.75rem 0.875rem
    }

    .filters-container .filter-btn .filter-icon {
      height: 1.375rem;
      width: 1.375rem
    }

    .filters-container .filter-btn span {
      display: inline-block;
      font-size: 0.8125rem
    }

    .filters-container .filter-btn.label-visible span {
      display: block
    }

    .filters-container::-webkit-scrollbar {
      height: 0.375rem
    }

    .filters-container::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 0.25rem
    }

    .mobile-only {
      align-items: center;
      display: flex;
      justify-content: center;
      width: 100%
    }

    .platform-badges {
      align-items: center;
      display: flex;
      gap: 0.5rem;
      margin-top: 0.5rem
    }

    .platform-badges img {
      align-items: center;
      display: flex;
      height: 1.875rem;
      justify-content: center;
      width: 5.6875rem
    }

    .profile-block {
      background: #262626;
      border-radius: 0.875rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin: 0 auto;
      max-width: 100%;
      padding: 1.25rem;
      width: calc(100% - 1.5rem)
    }

    .profile-main-wrapper {
      box-sizing: border-box;
      margin: 0 auto;
      max-width: 62.5rem;
      padding: 0 1rem;
      width: 100%
    }

    .profile-row {
      align-items: center;
      display: flex;
      flex-direction: row;
      gap: 0.875rem;
      justify-content: flex-start
    }

    .profile-stats {
      font-size: 0.875rem;
      margin-top: 0.375rem
    }

    .username {
      font-size: 1.5rem;
      line-height: 1;
      margin-bottom: 0.375rem
    }
  }
}

@media (max-width: 768px) {
  .admin-actions {
    flex-direction: column
  }

  .admin-btn {
    justify-content: center;
    width: 100%
  }

  .banned-detail-item {
    flex-direction: column;
    gap: 0.25rem
  }

  .detail-label {
    min-width: auto
  }

  @media (max-width: 480px) {

    #profile-files-grid,
    .profile-main-content #profile-files-grid {
      margin: 0 auto !important;
      max-width: 62.5rem !important;
      padding-left: 0 !important;
      padding-right: 0 !important
    }

    .desktop-only .profile-card,
    .filters-container,
    .profile-block {
      margin: 0 auto;
      max-width: 62.5rem;
      width: 100%
    }

    .filters-container {
      -webkit-overflow-scrolling: touch;
      display: flex !important;
      gap: 0.5rem;
      justify-content: flex-start;
      overflow-x: auto;
      padding: 0.5rem 0.375rem;
      width: 100%
    }

    .filters-container .filter-btn {
      flex: 0 0 auto;
      height: 3rem;
      padding: 0.75rem 0.875rem
    }

    .filters-container .filter-btn .filter-icon {
      height: 1.375rem;
      width: 1.375rem
    }

    .filters-container .filter-btn span {
      display: inline-block !important;
      font-size: 0.8125rem
    }

    .filters-container .filter-btn.label-visible span {
      display: block
    }

    .filters-container::-webkit-scrollbar {
      height: 6px
    }

    .filters-container::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 4px
    }

    .mobile-only {
      align-items: center !important;
      display: block !important;
      display: flex !important;
      justify-content: center !important;
      width: 100%
    }

    .platform-badges {
      align-items: center;
      display: flex;
      gap: 8px;
      margin-top: 8px
    }

    .platform-badges img {
      align-items: center;
      display: flex;
      height: 30px;
      justify-content: center;
      width: 91px
    }

    .profile-block {
      background: #262626;
      border-radius: 14px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin: 0 auto;
      max-width: 100%;
      padding: 16px;
      padding: 20px;
      width: calc(100% - 24px)
    }

    .profile-main-wrapper {
      box-sizing: border-box;
      margin: 0 auto;
      max-width: 1000px;
      padding: 0 16px;
      width: 100%
    }

    .profile-row {
      align-items: center;
      display: flex;
      flex-direction: row;
      gap: 14px;
      justify-content: flex-start
    }

    .profile-stats {
      font-size: 14px;
      margin-top: 6px
    }

    .username {
      font-size: 24px;
      line-height: 1;
      margin-bottom: 6px
    }
  }
}

@media (max-width: 900px) {
  .admin-panel {
    display: none
  }

  @media (max-width: 480px) {

    #profile-files-grid,
    .profile-main-content #profile-files-grid {
      margin: 0 auto;
      max-width: 62.5rem;
      padding-left: 0;
      padding-right: 0
    }

    .desktop-only .profile-card,
    .filters-container,
    .profile-block {
      margin: 0 auto;
      max-width: 62.5rem;
      width: 100%
    }

    .filters-container {
      -webkit-overflow-scrolling: touch;
      display: flex;
      gap: 0.5rem;
      justify-content: flex-start;
      overflow-x: auto;
      padding: 0.5rem 0.375rem;
      width: 100%
    }

    .filters-container .filter-btn {
      flex: 0 0 auto;
      height: 3rem;
      padding: 0.75rem 0.875rem
    }

    .filters-container .filter-btn .filter-icon {
      height: 1.375rem;
      width: 1.375rem
    }

    .filters-container .filter-btn span {
      display: inline-block;
      font-size: 0.8125rem
    }

    .filters-container .filter-btn.label-visible span {
      display: block
    }

    .filters-container::-webkit-scrollbar {
      height: 0.375rem
    }

    .filters-container::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 0.25rem
    }

    .mobile-only {
      align-items: center;
      display: flex;
      justify-content: center;
      width: 100%
    }

    .platform-badges {
      align-items: center;
      display: flex;
      gap: 0.5rem;
      margin-top: 0.5rem
    }

    .platform-badges img {
      align-items: center;
      display: flex;
      height: 1.875rem;
      justify-content: center;
      width: 5.6875rem
    }

    .profile-block {
      background: #262626;
      border-radius: 0.875rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin: 0 auto;
      max-width: 100%;
      padding: 1.25rem;
      width: calc(100% - 1.5rem)
    }

    .profile-main-wrapper {
      box-sizing: border-box;
      margin: 0 auto;
      max-width: 62.5rem;
      padding: 0 1rem;
      width: 100%
    }

    .profile-row {
      align-items: center;
      display: flex;
      flex-direction: row;
      gap: 0.875rem;
      justify-content: flex-start
    }

    .profile-stats {
      font-size: 0.875rem;
      margin-top: 0.375rem
    }

    .username {
      font-size: 1.5rem;
      line-height: 1;
      margin-bottom: 0.375rem
    }
  }
}

@media (min-width: 1025px) {
  body[data-profile-login] #profile-files-grid.feed-grid {
    background: transparent;
    color: #fff;
    font-size: clamp(0.875rem, 1.2vw + 0.75rem, 1.125rem);
    margin: 0 auto;
    max-width: 62.5rem;
    min-height: 13.75rem;
    opacity: 1;
    scrollbar-color: unset;
    scrollbar-width: none;
    transform: translateY(0);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%
  }

  html body[data-profile-login] div#profile-files-grid.feed-grid {
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-auto-flow: row dense;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    margin: 0 auto;
    max-width: 84.375rem;
    width: 100%
  }

  #profile-files-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(18.75rem, 1fr));
    justify-content: center;
    max-width: 84.375rem
  }

  .filter-btn {
    font-size: 1rem
  }

  .filter-btn span {
    font-size: 1rem
  }

  .filter-btn.active {
    flex-direction: row
  }

  .filter-btn.active span {
    font-size: 1rem
  }

  .filters-container {
    justify-content: flex-start;
    margin: 1.25rem auto;
    max-width: 84.375rem
  }

  @media (max-width: 480px) {

    #profile-files-grid,
    .profile-main-content #profile-files-grid {
      margin: 0 auto;
      max-width: 62.5rem;
      padding-left: 0;
      padding-right: 0
    }

    .desktop-only .profile-card,
    .filters-container,
    .profile-block {
      margin: 0 auto;
      max-width: 62.5rem;
      width: 100%
    }

    .filters-container {
      -webkit-overflow-scrolling: touch;
      display: flex;
      gap: 0.5rem;
      justify-content: flex-start;
      overflow-x: auto;
      padding: 0.5rem 0.375rem;
      width: 100%
    }

    .filters-container .filter-btn {
      flex: 0 0 auto;
      height: 3rem;
      padding: 0.75rem 0.875rem
    }

    .filters-container .filter-btn .filter-icon {
      height: 1.375rem;
      width: 1.375rem
    }

    .filters-container .filter-btn span {
      display: inline-block;
      font-size: 0.8125rem
    }

    .filters-container .filter-btn.label-visible span {
      display: block
    }

    .filters-container::-webkit-scrollbar {
      height: 0.375rem
    }

    .filters-container::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 0.25rem
    }

    .mobile-only {
      align-items: center;
      display: flex;
      justify-content: center;
      width: 100%
    }

    .platform-badges {
      align-items: center;
      display: flex;
      gap: 0.5rem;
      margin-top: 0.5rem
    }

    .platform-badges img {
      align-items: center;
      display: flex;
      height: 1.875rem;
      justify-content: center;
      width: 5.6875rem
    }

    .profile-block {
      background: #262626;
      border-radius: 0.875rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin: 0 auto;
      max-width: 100%;
      padding: 1.25rem;
      width: calc(100% - 1.5rem)
    }

    .profile-main-wrapper {
      box-sizing: border-box;
      margin: 0 auto;
      max-width: 62.5rem;
      padding: 0 1rem;
      width: 100%
    }

    .profile-row {
      align-items: center;
      display: flex;
      flex-direction: row;
      gap: 0.875rem;
      justify-content: flex-start
    }

    .profile-stats {
      font-size: 0.875rem;
      margin-top: 0.375rem
    }

    .username {
      font-size: 1.5rem;
      line-height: 1;
      margin-bottom: 0.375rem
    }
  }
}

@media (min-width: 1200px) {
  html body[data-profile-login] div#profile-files-grid.feed-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr)
  }

  @media (max-width: 480px) {

    #profile-files-grid,
    .profile-main-content #profile-files-grid {
      margin: 0 auto;
      max-width: 62.5rem;
      padding-left: 0;
      padding-right: 0
    }

    .desktop-only .profile-card,
    .filters-container,
    .profile-block {
      margin: 0 auto;
      max-width: 62.5rem;
      width: 100%
    }

    .filters-container {
      -webkit-overflow-scrolling: touch;
      display: flex;
      gap: 0.5rem;
      justify-content: flex-start;
      overflow-x: auto;
      padding: 0.5rem 0.375rem;
      width: 100%
    }

    .filters-container .filter-btn {
      flex: 0 0 auto;
      height: 3rem;
      padding: 0.75rem 0.875rem
    }

    .filters-container .filter-btn .filter-icon {
      height: 1.375rem;
      width: 1.375rem
    }

    .filters-container .filter-btn span {
      display: inline-block;
      font-size: 0.8125rem
    }

    .filters-container .filter-btn.label-visible span {
      display: block
    }

    .filters-container::-webkit-scrollbar {
      height: 0.375rem
    }

    .filters-container::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 0.25rem
    }

    .mobile-only {
      align-items: center;
      display: flex;
      justify-content: center;
      width: 100%
    }

    .platform-badges {
      align-items: center;
      display: flex;
      gap: 0.5rem;
      margin-top: 0.5rem
    }

    .platform-badges img {
      align-items: center;
      display: flex;
      height: 1.875rem;
      justify-content: center;
      width: 5.6875rem
    }

    .profile-block {
      background: #262626;
      border-radius: 0.875rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin: 0 auto;
      max-width: 100%;
      padding: 1.25rem;
      width: calc(100% - 1.5rem)
    }

    .profile-main-wrapper {
      box-sizing: border-box;
      margin: 0 auto;
      max-width: 62.5rem;
      padding: 0 1rem;
      width: 100%
    }

    .profile-row {
      align-items: center;
      display: flex;
      flex-direction: row;
      gap: 0.875rem;
      justify-content: flex-start
    }

    .profile-stats {
      font-size: 0.875rem;
      margin-top: 0.375rem
    }

    .username {
      font-size: 1.5rem;
      line-height: 1;
      margin-bottom: 0.375rem
    }
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  #profile-files-grid {
    box-sizing: border-box;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.625rem), 1fr));
    max-width: 100%;
    padding: 0;
    width: 100%
  }

  #profile-files-outer {
    box-sizing: border-box;
    margin: 4.0625rem auto 0 auto;
    max-width: 100%;
    padding: 0 0.75rem 4rem 0.75rem;
    width: 100%
  }

  .desktop-only {
    display: block
  }

  .desktop-only .profile-avatar {
    order: 2
  }

  .desktop-only .profile-card {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.125rem 1.5rem
  }

  .desktop-only .profile-info {
    flex: 1;
    order: 1
  }

  .desktop-only .profile-main-content {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%
  }

  .filters-container {
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: flex-start;
    margin: 1.25rem auto;
    max-width: 100%;
    overflow-x: auto;
    padding: 0.75rem 1rem;
    width: 100%
  }

  .mobile-only {
    display: none
  }

  .profile-block {
    box-sizing: border-box;
    max-width: 100%;
    padding: 0 0.75rem;
    width: 100%
  }

  .profile-main-content {
    align-items: start;
    box-sizing: border-box;
    column-gap: 1.25rem;
    display: grid;
    gap: 0;
    grid-template-columns: 1fr auto 1fr;
    justify-items: center;
    max-width: 100%;
    min-height: auto;
    padding: 0;
    position: relative;
    width: 100%
  }

  .profile-main-content .feed-grid {
    align-items: start;
    box-sizing: border-box;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.625rem), 1fr));
    justify-items: center;
    margin: 1.25rem auto 0 auto;
    max-width: 100%;
    padding: 0;
    width: 100%
  }

  .profile-main-content .profile-block .profile-row {
    align-items: center;
    border: 0.0625rem solid blue;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr auto auto 2.5rem
  }

  .profile-main-content .profile-block .profile-row .avatar-box {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0
  }

  .profile-row .avatar-spacer {
    background: transparent;
    display: block;
    max-width: 2.5rem;
    min-width: 2.5rem;
    width: 2.5rem
  }

  .profile-row>.avatar-box {
    grid-column: 3;
    justify-self: start;
    margin-right: 0
  }

  .profile-row>div:nth-child(2) {
    grid-column: 1
  }

  .profile-row>div:nth-child(3) {
    grid-column: 2;
    justify-self: end
  }

  @media (max-width: 480px) {

    #profile-files-grid,
    .profile-main-content #profile-files-grid {
      margin: 0 auto;
      max-width: 62.5rem;
      padding-left: 0;
      padding-right: 0
    }

    .desktop-only .profile-card,
    .filters-container,
    .profile-block {
      margin: 0 auto;
      max-width: 62.5rem;
      width: 100%
    }

    .filters-container {
      -webkit-overflow-scrolling: touch;
      display: flex;
      gap: 0.5rem;
      justify-content: flex-start;
      overflow-x: auto;
      padding: 0.5rem 0.375rem;
      width: 100%
    }

    .filters-container .filter-btn {
      flex: 0 0 auto;
      height: 3rem;
      padding: 0.75rem 0.875rem
    }

    .filters-container .filter-btn .filter-icon {
      height: 1.375rem;
      width: 1.375rem
    }

    .filters-container .filter-btn span {
      display: inline-block;
      font-size: 0.8125rem
    }

    .filters-container .filter-btn.label-visible span {
      display: block
    }

    .filters-container::-webkit-scrollbar {
      height: 0.375rem
    }

    .filters-container::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 0.25rem
    }

    .mobile-only {
      align-items: center;
      display: flex;
      justify-content: center;
      width: 100%
    }

    .platform-badges {
      align-items: center;
      display: flex;
      gap: 0.5rem;
      margin-top: 0.5rem
    }

    .platform-badges img {
      align-items: center;
      display: flex;
      height: 1.875rem;
      justify-content: center;
      width: 5.6875rem
    }

    .profile-block {
      background: #262626;
      border-radius: 0.875rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin: 0 auto;
      max-width: 100%;
      padding: 1.25rem;
      width: calc(100% - 1.5rem)
    }

    .profile-main-wrapper {
      box-sizing: border-box;
      margin: 0 auto;
      max-width: 62.5rem;
      padding: 0 1rem;
      width: 100%
    }

    .profile-row {
      align-items: center;
      display: flex;
      flex-direction: row;
      gap: 0.875rem;
      justify-content: flex-start
    }

    .profile-stats {
      font-size: 0.875rem;
      margin-top: 0.375rem
    }

    .username {
      font-size: 1.5rem;
      line-height: 1;
      margin-bottom: 0.375rem
    }
  }
}

@media (min-width: 901px) {
  body[data-profile-login] #profile-files-grid.feed-grid {
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch
  }

  .admin-panel {
    background: var(--card-bg);
    border-radius: 0.75rem;
    display: block;
    left: 1.5rem;
    padding: 0.75rem;
    position: fixed;
    top: 7.5rem;
    width: 16.25rem;
    z-index: 1000
  }

  .admin-panel-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem
  }

  .admin-panel-title {
    color: #fff;
    display: none;
    font-weight: 700;
    margin-bottom: 0.5rem
  }

  .desktop-only {
    position: relative
  }

  .filters-container {
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    margin: 1.25rem auto;
    max-width: 100%;
    overflow-x: auto;
    padding: 0.3125rem;
    width: 100%
  }

  .filters-container .filter-btn {
    flex: 0 0 auto;
    font-size: 1.0625rem;
    height: 3.25rem;
    padding: 0.75rem 1.125rem
  }

  @media (max-width: 480px) {

    #profile-files-grid,
    .profile-main-content #profile-files-grid {
      margin: 0 auto;
      max-width: 62.5rem;
      padding-left: 0;
      padding-right: 0
    }

    .desktop-only .profile-card,
    .filters-container,
    .profile-block {
      margin: 0 auto;
      max-width: 62.5rem;
      width: 100%
    }

    .filters-container {
      -webkit-overflow-scrolling: touch;
      display: flex;
      gap: 0.5rem;
      justify-content: flex-start;
      overflow-x: auto;
      padding: 0.5rem 0.375rem;
      width: 100%
    }

    .filters-container .filter-btn {
      flex: 0 0 auto;
      height: 3rem;
      padding: 0.75rem 0.875rem
    }

    .filters-container .filter-btn .filter-icon {
      height: 1.375rem;
      width: 1.375rem
    }

    .filters-container .filter-btn span {
      display: inline-block;
      font-size: 0.8125rem
    }

    .filters-container .filter-btn.label-visible span {
      display: block
    }

    .filters-container::-webkit-scrollbar {
      height: 0.375rem
    }

    .filters-container::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 0.25rem
    }

    .mobile-only {
      align-items: center;
      display: flex;
      justify-content: center;
      width: 100%
    }

    .platform-badges {
      align-items: center;
      display: flex;
      gap: 0.5rem;
      margin-top: 0.5rem
    }

    .platform-badges img {
      align-items: center;
      display: flex;
      height: 1.875rem;
      justify-content: center;
      width: 5.6875rem
    }

    .profile-block {
      background: #262626;
      border-radius: 0.875rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin: 0 auto;
      max-width: 100%;
      padding: 1.25rem;
      width: calc(100% - 1.5rem)
    }

    .profile-main-wrapper {
      box-sizing: border-box;
      margin: 0 auto;
      max-width: 62.5rem;
      padding: 0 1rem;
      width: 100%
    }

    .profile-row {
      align-items: center;
      display: flex;
      flex-direction: row;
      gap: 0.875rem;
      justify-content: flex-start
    }

    .profile-stats {
      font-size: 0.875rem;
      margin-top: 0.375rem
    }

    .username {
      font-size: 1.5rem;
      line-height: 1;
      margin-bottom: 0.375rem
    }
  }
}