.GalleryDetail_detailPage__n3MOA {
  padding: 24px 0;
  color: var(--text-primary);
}
.GalleryDetail_backLink__HLFye {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.GalleryDetail_backLink__HLFye:hover {
  color: var(--primary-color);
}
.GalleryDetail_header__aMODi {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .GalleryDetail_header__aMODi {
    flex-direction: column;
  }
}
.GalleryDetail_coverWrap__yeniG {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(var(--primary-rgb), 0.04);
  border: 1px solid var(--primary-alpha-12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
@media (max-width: 768px) {
  .GalleryDetail_coverWrap__yeniG {
    width: 100%;
  }
}
.GalleryDetail_coverImg__D3DLn {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.GalleryDetail_coverPassedBadge__JMAtP {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}
.GalleryDetail_coverPlaceholder__NG6Hx {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), rgba(var(--primary-rgb), 0.14));
  font-size: 2.5rem;
  opacity: 0.4;
}
.GalleryDetail_headerInfo__hrgOH {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.GalleryDetail_titleRow__EmyWW {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.GalleryDetail_title__p7rfe {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
  text-shadow: 0 0 12px rgba(var(--primary-rgb), calc(var(--text-glow-intensity, 1) * 0.35));
}
.GalleryDetail_description__FJdDF {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  text-shadow: 0 0 6px rgba(var(--primary-rgb), calc(var(--text-glow-intensity, 1) * 0.2));
}
.GalleryDetail_metaRow__Khni1 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.GalleryDetail_metaCount__21By6 {
  font-weight: 600;
  color: var(--primary-color);
  text-shadow: 0 0 6px rgba(var(--primary-rgb), calc(var(--text-glow-intensity, 1) * 0.25));
}
.GalleryDetail_metaCreator__ODBZY::before {
  content: '·';
  margin-right: 4px;
}
.GalleryDetail_tags__ZdLkK {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.GalleryDetail_tag__WljZJ {
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-alpha-15);
  background: var(--primary-alpha-8);
  color: var(--primary-light);
  font-size: 12px;
  line-height: 1.5;
}
.GalleryDetail_puzzleSection__Q3QEI {
  margin-top: 32px;
}
.GalleryDetail_puzzleSectionHeader__rqk7q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .GalleryDetail_puzzleSectionHeader__rqk7q {
    flex-direction: column;
    align-items: stretch;
  }
}
.GalleryDetail_puzzleToolbar__u5jMn {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: auto;
}
@media (max-width: 768px) {
  .GalleryDetail_puzzleToolbar__u5jMn {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }
}
.GalleryDetail_sortSelect__yaEJO {
  min-width: 170px;
  width: auto;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .GalleryDetail_sortSelect__yaEJO {
    width: 100%;
    min-width: 0;
  }
}
.GalleryDetail_filterEmpty__6uqcX {
  margin: 0;
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.GalleryDetail_puzzleSectionTitle__Pcr_x {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-shadow: 0 0 8px rgba(var(--primary-rgb), calc(var(--text-glow-intensity, 1) * 0.3));
}
.GalleryDetail_puzzleSectionCount__cR9yf {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.GalleryDetail_puzzleList__gSOQg {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.GalleryDetail_puzzleItem__4lqDe {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--primary-alpha-12);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.GalleryDetail_puzzleItem__4lqDe:hover {
  border-color: var(--primary-alpha-20);
  background: rgba(var(--primary-rgb), 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .GalleryDetail_puzzleItem__4lqDe {
    align-items: flex-start;
    gap: 4px 8px;
    padding: 8px 16px;
  }
}
.GalleryDetail_puzzleOrder__Ma_i_ {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary-alpha-8);
  border: 1px solid var(--primary-alpha-15);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
}
.GalleryDetail_puzzleInfo__UuMpN {
  flex: 1 1;
  min-width: 0;
}
.GalleryDetail_puzzleTitleRow__JQGh5 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 2px;
}
.GalleryDetail_puzzlePassedSlot__jtU_1 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
}
.GalleryDetail_puzzleTitle__vbmhw {
  flex: 1 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 6px rgba(var(--primary-rgb), calc(var(--text-glow-intensity, 1) * 0.2));
}
@media (max-width: 768px) {
  .GalleryDetail_puzzleTitle__vbmhw {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
  }
}
.GalleryDetail_puzzleMeta__15_0S {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.GalleryDetail_metaDot__ccxcc {
  color: var(--text-tertiary);
}
.GalleryDetail_puzzleTagsRow__OnnuN {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  min-width: 0;
  max-width: min(48%, 420px);
}
@media (max-width: 768px) {
  .GalleryDetail_puzzleTagsRow__OnnuN {
    flex: 1 1 100%;
    max-width: 100%;
    margin-left: 0;
    padding-left: 40px;
    justify-content: space-between;
  }
}
.GalleryDetail_puzzleRating__aYXs0 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 72px;
}
.GalleryDetail_puzzleTags__OPrtW {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1;
  min-width: 0;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .GalleryDetail_puzzleTags__OPrtW {
    justify-content: flex-start;
  }
}
.GalleryDetail_puzzleTag__kbvBd {
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-alpha-15);
  background: var(--primary-alpha-8);
  color: var(--primary-light);
  font-size: 12px;
  line-height: 1.5;
}
.GalleryDetail_loading__PGPmG {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 0;
  gap: 16px;
  color: var(--primary-color);
}
.GalleryDetail_loading__PGPmG svg {
  animation: GalleryDetail_spin__mU_9O 1s linear infinite;
}
@keyframes GalleryDetail_spin__mU_9O {
  to {
    transform: rotate(360deg);
  }
}
.GalleryDetail_error__fbx28 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 0;
  gap: 16px;
  color: var(--text-muted);
}
.GalleryDetail_error__fbx28 p {
  font-size: 18px;
}
@media (max-width: 768px) {
  .GalleryDetail_detailPage__n3MOA {
    padding: 16px 0;
  }
  .GalleryDetail_backLink__HLFye {
    margin-bottom: 16px;
  }
  .GalleryDetail_title__p7rfe {
    font-size: 20px;
  }
  .GalleryDetail_puzzleSectionTitle__Pcr_x {
    font-size: 16px;
    flex-wrap: wrap;
  }
  .GalleryDetail_puzzleOrder__Ma_i_ {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .GalleryDetail_puzzlePassedSlot__jtU_1 {
    margin-left: auto;
  }
  .GalleryDetail_puzzleMeta__15_0S {
    gap: 4px;
    font-size: 11px;
  }
}

