body {
  background: #0b0b0b;
  color: #fff;
}

.edits-header {
  padding: 160px 6vw 40px;
  text-align: center;
}

.edits-header h1 {
  font-size: 3rem;
  letter-spacing: 4px;
  font-weight: 500;
}

.edits-meta {
  margin-top: 12px;
  color: #8a8a8a;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

#editsGallery {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 5vw 120px;
}

#imageCount {
  text-align: center;
  color: #8a8a8a;
  letter-spacing: 2px;
  font-size: 0.75rem;
}

.fj-row {
  display: flex;
  justify-content: center;

  gap: 18px;
  margin-bottom: 18px;
}

.fj-row img {
  display: block;
  border-radius: 18px;
  object-fit: contain;

  background: #111;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.fj-row img:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
  z-index: 2;
}

@media (max-width: 768px) {
  #editsGallery {
    padding: 30px 10px 90px;
  }

  .fj-row {
    gap: 10px;
    margin-bottom: 10px;
  }
}

.edits-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 20000;
}

.edits-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}

.edits-close {
  position: absolute;
  top: 26px;
  right: 36px;
  font-size: 32px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.edits-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 44px;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: white;
  padding: 18px 22px;
  border-radius: 50%;
  cursor: pointer;
}

.edits-prev {
  left: 30px;
}

.edits-next {
  right: 30px;
}

.edits-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

#editsGallery {
  max-width: 1500px;
  margin: auto;
  padding: 60px 5vw 120px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

@media (max-width: 1400px) {
  #editsGallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  #editsGallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  #editsGallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

.edit-folder {
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.edit-thumb {
  position: relative;
  aspect-ratio: 2 / 3;

  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

@media (max-width: 520px) {
  #editsGallery {
    gap: 16px;
  }

  .edit-title .title {
    font-size: 0.75rem;
  }

  .view-text {
    font-size: 0.55rem;
  }
}

.edit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.edit-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.2),
    transparent
  );
  transition: opacity 0.35s ease;
}

.edit-title {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.title {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.view-text {
  font-size: 0.75rem;
  letter-spacing: 2px;
  opacity: 0.7;
}

.edit-folder:hover {
  transform: none;
}

.edit-folder:hover .edit-thumb {
  transform: scale(1.06);
  filter: brightness(0.75);
}

.edit-folder:hover .edit-overlay {
  opacity: 0.95;
}

.edits-controls {
  max-width: 1700px;
  margin: 20px auto 10px;
  padding: 0 5vw;
  display: flex;
  gap: 12px;
  align-items: center;
}

.edits-controls input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: #111;
  color: white;
}

.edits-controls select,
#toggleView {
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: #111;
  color: white;
  cursor: pointer;
}

.list-view {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}

.list-view .edit-folder {
  width: 100%;
  height: 90px;
  border-radius: 16px;
  background: #0f0f0f;
  overflow: hidden;
}

.list-view .edit-thumb {
  display: flex;
  align-items: center;
  height: 100%;
  aspect-ratio: auto;
}

.list-view .edit-thumb img {
  width: 140px;
  height: 100%;
  object-fit: cover;
}

.list-view .edit-overlay {
  display: none;
}

.list-view .edit-title {
  position: relative;
  bottom: auto;
  left: auto;
  padding: 0 18px;
}

.list-view .title {
  font-size: 1rem;
}

.list-view .view-text {
  font-size: 0.75rem;
  opacity: 0.6;
}

.list-view .edit-folder:hover {
  transform: none;
}

.list-view .edit-folder:hover img {
  transform: none;
}

.list-view {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}

.folder-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #121212;
  padding: 16px 18px;
  border-radius: 18px;
  transition: 0.25s ease;
  cursor: pointer;
}

.folder-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.folder-icon {
  width: 46px;
  height: 46px;
  background: #1c1c1c;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #8ab4ff;
}

.folder-name {
  font-size: 1rem;
}

.folder-count {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 3px;
}

.folder-arrow {
  opacity: 0.5;
  transition: 0.25s;
}

.folder-row:hover {
  background: #1a1a1a;
  transform: translateX(6px);
}

.folder-row:hover .folder-arrow {
  transform: translateX(6px);
  opacity: 1;
}

.view-toggle.list .toggle-slider {
  transform: translateX(44px);
}

.actor-category {
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.actor-thumb {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  overflow: hidden;
}

.actor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.actor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0)
  );
}

.actor-info {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
}

.actor-title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.actor-meta {
  margin-top: 4px;
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  color: #bdbdbd;
}

.actor-category:hover {
  transform: translateY(-10px) scale(1.02);
}

.actor-category:hover img {
  transform: scale(1.12);
}

#gallery {
  gap: 28px;
}

@media (max-width: 520px) {
  .actor-title {
    font-size: 0.75rem;
    letter-spacing: 0px;
  }
  .actor-meta {
    font-size: 0.55rem;
  }
}
.folder-creator {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.75;
}

.creator-icon {
  margin-left: 6px;
  opacity: 0.7;
  transition: 0.2s;
}

.creator-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.creator-icon.twitter {
  color: #1da1f2;
}
.creator-icon.instagram {
  color: #e1306c;
}
