.gallery-back-btn {
  margin: 8px 0;
}

.explorer {
  width: 560px;
  margin: 0 auto;
  background: #ffe9f4;
  border: 2px solid #fff;
  box-shadow:
    inset -2px -2px 0 #b34280,
    inset 2px 2px 0 #ffffff,
    4px 4px 0 rgba(122, 20, 80, 0.35);
}

.explorer-titlebar {
  height: 24px;
  line-height: 24px;
  padding: 0 6px;
  font-size: 9px;
  color: #fff;
  background: linear-gradient(90deg, #d6478f 0%, #ff9ecb 60%, #ffd1ea 100%);
  border-bottom: 2px solid #b34280;
  text-shadow: 1px 1px 0 #7a1450;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.explorer-close {
  width: 16px;
  height: 16px;
  line-height: 14px;
  text-align: center;
  font-size: 9px;
  color: #7a1450;
  background: #ffd1ea;
  border: 2px solid #fff;
  box-shadow: inset -1px -1px 0 #b34280, inset 1px 1px 0 #ffffff;
  cursor: pointer;
}

.explorer-body {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 28px;
  background: #fff;
  min-height: 200px;
}

.explorer-item {
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.folder-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  line-height: 1;
}

.file-icon {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 2px solid #b34280;
  background: #ffe9f4;
  display: block;
}

.explorer-item:hover .folder-icon,
.explorer-item:hover .file-icon {
  outline: 2px dashed #d6478f;
}

.explorer-label {
  margin-top: 8px;
  font-size: 7px;
  color: #5a1f44;
  word-break: break-word;
  line-height: 1.4;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(122, 20, 80, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-window {
  background: #ffe9f4;
  border: 2px solid #fff;
  box-shadow:
    inset -2px -2px 0 #b34280,
    inset 2px 2px 0 #ffffff,
    6px 6px 0 rgba(122, 20, 80, 0.45);
  max-width: 95vw;
  max-height: 95vh;
}

.lightbox-body {
  padding: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-body img {
  max-width: 85vw;
  max-height: 85vh;
  display: block;
}
