/* ===== 画廊 ===== */
.gallery-screen {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 35;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(8px);
}

.gallery-stats {
  text-align: center;
  color: var(--color-text-dim);
  font-size: 20px;
  padding: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px 30px;
  overflow-y: auto;
  flex: 1;
}

.gallery-card {
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-normal) ease;
}

.gallery-card.unlocked:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123, 104, 238, 0.3);
}

.gallery-card.locked {
  cursor: default;
  opacity: 0.5;
}

.gallery-thumb {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}

.gallery-thumb-locked {
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 45px;
  color: rgba(255, 255, 255, 0.15);
}

.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--color-text);
  font-size: 18px;
}
